repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
vercel/next.js
5dad2d4f2cb9a8b6bc4b6968fea326bd41219140
7903a5745158671f7943214838ee541adfc7f6a0
Turbopack: avoid negative uppers and follower and use retry loop instead (#79451) ### Why? Multiple graph modifications can happen concurrently. Each modification only locks one or two tasks in the graph at a single step, but a full graph modification could affect many tasks in graph. So modifications are executed st...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/operation/aggregation_update.rs", "patch": "@@ -4,8 +4,12 @@ use std::{\n hash::Hash,\n mem::take,\n num::NonZeroU32,\n+ ops::ControlFlow,\n+ thread::yield_now,\n+ time::{Duration, Instant},\n };\n \n+use anyhow::Result;\n use ...
2025-05-21T22:39:25
electron/electron
eba9d3fc79ce636bacffa6ebf5ed69e674b0a2e9
1941c88442b61f3e83125f197becc83cf6975a9c
fix: ensure v8 pointer compression + sandbox is enabled on 64bit native modules (#34844) * fix: ensure v8 pointer compression + sandbox is enabled on 64bit native modules * build: rely on config.gypi to enable pointer compression
[ { "path": "patches/node/.patches", "patch": "@@ -45,3 +45,4 @@ fix_add_v8_enable_reverse_jsargs_defines_in_common_gypi.patch\n json_parse_errors_made_user-friendly.patch\n build_define_libcpp_abi_namespace_as_cr_to_align_with_chromium.patch\n support_v8_sandboxed_pointers.patch\n+build_ensure_v8_pointer_com...
2022-07-08T08:06:06
nodejs/node
5905596719efc7d419b5743056f364d4d6089626
bae14b7914624630c3e451def82a8f56c6402534
test: fix incorrect test fixture This commit updates a test runner fixture that includes a failing child test. However, the nested test is created using the top level test() function instead t.test(). This commit updates the fixture to use t.test(), while preserving the expected failure. Refs: https://github.com/node...
[ { "path": "test/fixtures/test-runner/output/default_output.js", "patch": "@@ -9,7 +9,9 @@ const test = require('node:test');\n test('should pass', () => {});\n test('should fail', () => { throw new Error('fail'); });\n test('should skip', { skip: true }, () => {});\n-test('parent', () => {\n- test('should ...
2024-03-22T00:54:57
golang/go
80bf7d83edbb48e2411d755f0636565467bb5a56
1a93e4a2cf43b0ded141d33620966bb252cac1bd
go/types, types2: remove superfluous assertion (fix build) Remove an assertion that was overly restrictive and hard to get correct under all circumstances (i.e., in the presence of incorrect) code. This matches the code for *Named types in that specific switch. Fixes #71284. Change-Id: Ifccf8b73dc70cac9cb1c8b24946d1...
[ { "path": "src/cmd/compile/internal/types2/typexpr.go", "patch": "@@ -423,11 +423,6 @@ func setDefType(def *TypeName, typ Type) {\n \tif def != nil {\n \t\tswitch t := def.typ.(type) {\n \t\tcase *Alias:\n-\t\t\t// t.fromRHS should always be set, either to an invalid type\n-\t\t\t// in the beginning, or to ...
2025-01-17T00:08:26
facebook/react
8e37df6dab0d44ac8f1ea452afc70708b7851387
e81063e5ef9b42074159d2474b27147caf7f0ce5
[be] Hook type inference should only happen at LoadGlobal --- #1254 added inference for hooks loaded from globals. This is the only time we need to generate a type equation assigning `lval` to a resolved`Hook` type. @gsathya Would love to get your feedback here on the change. From my understanding, this change ...
[ { "path": "compiler/forget/src/TypeInference/InferTypes.ts", "patch": "@@ -144,17 +144,14 @@ function* generateInstructionTypes(\n }\n \n case \"CallExpression\": {\n- const hook =\n- value.callee.identifier.name !== null\n- ? env.getHookDeclaration(value.callee.identifier.name)...
2023-03-30T19:03:09
vercel/next.js
2b1d7d39ccde90f18becd13d4d16758c7c4a625b
7e44fe350e9c2e6b0c41e67e82e319a01e7ece97
fix: remove redundant performance.measure usage (#79475) `performance.measure` here is causing problems but I also do not see the point of keeping it, so this PR deletes it. Closes NDX-1050 Fixes https://github.com/vercel/next.js/issues/79188
[ { "path": "packages/next/src/lib/require-instrumentation-client.ts", "patch": "@@ -9,13 +9,7 @@ if (process.env.NODE_ENV === 'development') {\n const startTime = performance.now()\n module.exports = require('private-next-instrumentation-client')\n const endTime = performance.now()\n-\n const duratio...
2025-05-21T21:12:45
electron/electron
1941c88442b61f3e83125f197becc83cf6975a9c
e83c3ec74442f0533e2d66c53fa84a075ebc20ae
fix: `setRepresentedFilename` with non-default `titlebarStyle` (#34834) fix: setRepresentedFilename with non-default titlebarStyle
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -1150,6 +1150,8 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n \n void NativeWindowMac::SetRepresentedFilename(const std::string& filename) {\n [window_ setRepresentedFilename:base::SysUTF8ToNSString(filename)];\n+ if (buttons_proxy...
2022-07-08T06:33:42
golang/go
0b632d26b99e3924aea14574e422065e13f2a1c5
6a4effa08ba5c7b182d319a2a8ddd782274c2f74
cmd/internal/obj/wasm, runtime: detect wasmexport call before runtime initialization If a wasmexport function is called from the host before initializing the Go Wasm module, currently it will likely fail with a bounds error, because the uninitialized SP is 0, and any SP decrement will make it out of bounds. As at lea...
[ { "path": "src/cmd/internal/obj/wasm/wasmobj.go", "patch": "@@ -129,6 +129,7 @@ var (\n \tmorestackNoCtxt *obj.LSym\n \tsigpanic *obj.LSym\n \twasm_pc_f_loop_export *obj.LSym\n+\truntimeNotInitialized *obj.LSym\n )\n \n const (\n@@ -149,6 +150,7 @@ func instinit(ctxt *obj.Link) {\n \tmore...
2025-01-16T18:56:15
nodejs/node
f6996ee150c0d35c9bad613d2206c6e1bb25896a
0d4bc4c40ee4edf1b9cc0bc7d51add5f1f6ad21e
deps: V8: backport c4be0a97f981 Original commit message: Fix build with gcc12 - A number of erroneous flags have been added to BUILD.gn - wasm-init-expr.cc is creating an 8 byte buffer witch may be much smaller than max size_t output. We also need to make room for the `f` character and the te...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.14',\n+ 'v8_embedder_string': '-node.15',\n \n ##### V8 defaults for Node.js #####\n...
2024-03-21T20:13:03
facebook/react
73deff0d5162160c0aafa5cd0b87e11143fe9938
2d51251e608b7b1a8baf79ae6bdba81ed8e1939a
Refactor DOMProperty and CSSProperty (#26513) This is a step towards getting rid of the meta programming in DOMProperty and CSSProperty. This moves isAttributeNameSafe and isUnitlessNumber to a separate shared modules. isUnitlessNumber is now a single switch instead of meta-programming. There is a slight beha...
[ { "path": "packages/react-dom-bindings/src/client/CSSPropertyOperations.js", "patch": "@@ -9,7 +9,7 @@ import {shorthandToLonghand} from './CSSShorthandProperty';\n \n import hyphenateStyleName from '../shared/hyphenateStyleName';\n import warnValidStyle from '../shared/warnValidStyle';\n-import {isUnitless...
2023-03-30T18:30:57
vercel/next.js
7e44fe350e9c2e6b0c41e67e82e319a01e7ece97
ca6280dcd96ba1eb720b0d87e4925a69cfb58ee9
disallow unstable_rootParams in client components (#79471) unstable_rootParams is a server component API and should not be allowed to be accessed from client components. This change adds a compiler error if this import is detected within the client module graph.
[ { "path": "crates/next-custom-transforms/src/transforms/react_server_components.rs", "patch": "@@ -640,7 +640,7 @@ impl ReactServerComponentValidator {\n invalid_client_imports: vec![Atom::from(\"server-only\"), Atom::from(\"next/headers\")],\n \n invalid_client_lib_apis_mapping: FxH...
2025-05-21T20:49:58
electron/electron
7ec88584b50f74b3d596448976781e91ea052e47
47d8d4cc5c0b945d52cc7c4b21c6cfe749b3df57
fix: WCO pressed background state updates (#34771)
[ { "path": "shell/browser/native_window_views_win.cc", "patch": "@@ -11,6 +11,7 @@\n #include \"shell/browser/browser.h\"\n #include \"shell/browser/native_window_views.h\"\n #include \"shell/browser/ui/views/root_view.h\"\n+#include \"shell/browser/ui/views/win_frame_view.h\"\n #include \"shell/common/elect...
2022-07-07T15:17:20
golang/go
6a4effa08ba5c7b182d319a2a8ddd782274c2f74
139d6eedae38f9e8bc81bb2c8c5c2c75d12853ab
crypto/x509: avoid panic when parsing partial PKCS#1 private keys These keys are off-spec, but have historically been accepted by ParsePKCS1PrivateKey. Thanks to Philippe Antoine (Catena cyber) for reporting this issue. Fixes #71216 Fixes CVE-2025-22865 Change-Id: I6a6a46564156fa32e29e8d6acbec3fbac47c7352 Reviewed-...
[ { "path": "src/crypto/x509/pkcs1.go", "patch": "@@ -72,7 +72,9 @@ func ParsePKCS1PrivateKey(der []byte) (*rsa.PrivateKey, error) {\n \t}\n \n \tif priv.N.Sign() <= 0 || priv.D.Sign() <= 0 || priv.P.Sign() <= 0 || priv.Q.Sign() <= 0 ||\n-\t\tpriv.Dp.Sign() <= 0 || priv.Dq.Sign() <= 0 || priv.Qinv.Sign() <= 0...
2025-01-09T15:03:08
nodejs/node
0d4bc4c40ee4edf1b9cc0bc7d51add5f1f6ad21e
305375ac16bf1b8227a3b72e72ff54dca73cb42c
deps: V8: cherry-pick f8d5e576b814 Original commit message: Fix build with older versions of GCC. This ports the change from bazel on v8: https://crrev.com/c/3368869 Compilation errors started showing after this CL: https://crrev.com/c/5199515 Change-Id: I8c161a0d9ad5c04d452c444ef4feafae2ef...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.13',\n+ 'v8_embedder_string': '-node.14',\n \n ##### V8 defaults for Node.js #####\n...
2024-03-21T20:07:54
rust-lang/rust
c45a51397c09a371b13627f28ab75016f8832b32
838db2538201a845a3694c99d9114a1acebd6e28
Fix ICE in const eval when using packed SIMD with non-power-of-two length Packed SIMD types with non-power-of-two element counts use BackendRepr::Memory instead of BackendRepr::SimdVector. The check_simd_ptr_alignment function now handles both cases to prevent ICEs when evaluating SIMD intrinsics in const contexts.
[ { "path": "compiler/rustc_const_eval/src/interpret/intrinsics/simd.rs", "patch": "@@ -2,7 +2,6 @@ use either::Either;\n use rustc_abi::{BackendRepr, Endian};\n use rustc_apfloat::ieee::{Double, Half, Quad, Single};\n use rustc_apfloat::{Float, Round};\n-use rustc_data_structures::assert_matches;\n use rustc...
2026-01-25T12:40:10
facebook/react
0ffc7f632b5cdc2d4ede97b6f8ff55e02183bdf9
29a3be78bd80372f882ce9d39b12241a97c3d268
Update useMemoCache test to confirm that cache persists across errors (#26510) ## Summary Updates the `useMemoCache()` tests to validate that the memo cache persists when a component does a setState during render or throws during render. Forget's compilation output follows the general pattern used in this test a...
[ { "path": "packages/react-reconciler/src/__tests__/useMemoCache-test.js", "patch": "@@ -74,31 +74,37 @@ describe('useMemoCache()', () => {\n let setX;\n let forceUpdate;\n function Component(props) {\n- const cache = useMemoCache(4);\n+ const cache = useMemoCache(5);\n \n // x is...
2023-03-30T14:47:22
vercel/next.js
ed0980415318c1fa313a739580ab4f528a6e0878
72f5429fe068a034763a50c2152eabf14d0166cd
Docs: Fix broken link (#79456)
[ { "path": "docs/01-app/03-building-your-application/02-data-fetching/01-fetching.mdx", "patch": "@@ -238,4 +238,4 @@ export const getPost = cache(async (id) => {\n \n ### Revalidating cached data\n \n-Learn more about revalidating cached data with [Incremental Static Regeneration](/docs/app/building-your-ap...
2025-05-21T14:48:37
golang/go
139d6eedae38f9e8bc81bb2c8c5c2c75d12853ab
2b2314e9f6103de322b2e247387c8b01fd0cd5a4
cmd/go: restore netrc preferences for GOAUTH and fix domain lookup Store netrc lines into the credential map backward so that earlier lines take priority over later lines. This matches Go 1.23 netrc lookup which stopped at the first match it found. Additionally, this fixes a security issue related to domain parsing wh...
[ { "path": "src/cmd/go/internal/auth/auth.go", "patch": "@@ -12,7 +12,6 @@ import (\n \t\"log\"\n \t\"net/http\"\n \t\"os\"\n-\t\"path\"\n \t\"path/filepath\"\n \t\"slices\"\n \t\"strings\"\n@@ -73,7 +72,12 @@ func runGoAuth(client *http.Client, res *http.Response, url string) {\n \t\t\tif err != nil {\n \t\...
2025-01-08T20:38:32
nodejs/node
305375ac16bf1b8227a3b72e72ff54dca73cb42c
f4a0a3b04b92596fd2cf40e1d9c5a003e81c77b8
doc: fix `--env-file` docs for valid quotes for defining values PR-URL: https://github.com/nodejs/node/pull/52157 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -699,7 +699,7 @@ Any text after a `#` is treated as a comment:\n PORT=3000 # This is also a comment\n ```\n \n-Values can start and end with the following quotes: `\\`, `\"` or `'`.\n+Values can start and end with the following quotes: `` ` ``, `\"` or `'`.\n They ar...
2024-03-23T19:33:07
facebook/react
4c2fc01900f50b5b1081a2fb8609ea2668bc05b6
f0aafa1a7e3338871f60ac3ea8c1c92b8671520c
Generate safe javascript url instead of throwing with disableJavaScriptURLs is on (#26507) We currently throw an error when disableJavaScriptURLs is on and trigger an error boundary. I kind of thought that's what would happen with CSP or Trusted Types anyway. However, that's not what happens. Instead, in those envi...
[ { "path": "packages/react-dom-bindings/src/client/DOMPropertyOperations.js", "patch": "@@ -17,7 +17,6 @@ import {\n } from '../shared/DOMProperty';\n import sanitizeURL from '../shared/sanitizeURL';\n import {\n- disableJavaScriptURLs,\n enableTrustedTypesIntegration,\n enableCustomElementPropertySuppo...
2023-03-30T03:39:02
electron/electron
98cd16d336f512406eee3565be1cead86514db7b
e5db178ab6ced4bd2fb315457dc1e3cabf9d379f
chore: fix typos (#34731)
[ { "path": "docs/api/environment-variables.md", "patch": "@@ -139,8 +139,7 @@ green and non-draggable regions will be colored red to aid debugging.\n \n ### `ELECTRON_DEBUG_NOTIFICATIONS`\n \n-Adds extra logs to [`Notification`](./notification.md) lifecycles on macOS to aid in debugging. Extra logging will b...
2022-07-05T15:49:56
vercel/next.js
646b4c3c60695c16aa47f2e1b3688fb0df7dbeb8
f4406d8c58c6d1caf7a9c547c53c278a214c7ea2
[Segment Cache] Fix: Skew during dynamic prefetch (#79416) Fixes a bug that occurred when prefetching a Link to a dynamic page on a different deployment. I didn't catch this earlier during dogfooding because the app we were testing it on was using skew protection. It also only applies to non-PPR/static routes. This p...
[ { "path": ".gitignore", "patch": "@@ -33,6 +33,7 @@ coverage\n # test output\n test/**/out/*\n test/**/next-env.d.ts\n+test/**/.next*\n .DS_Store\n /e2e-tests\n test/tmp/**", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "packages/next/src/client/components/segment-c...
2025-05-21T14:31:08
golang/go
2b2314e9f6103de322b2e247387c8b01fd0cd5a4
6783377295e0878aa3ad821eefe3d7879064df6d
crypto/x509: properly check for IPv6 hosts in URIs When checking URI constraints, use netip.ParseAddr, which understands zones, unlike net.ParseIP which chokes on them. This prevents zone IDs from mistakenly satisfying URI constraints. Thanks to Juho Forsén of Mattermost for reporting this issue. Fixes #71156 Fixes ...
[ { "path": "src/crypto/x509/name_constraints_test.go", "patch": "@@ -1607,6 +1607,23 @@ var nameConstraintsTests = []nameConstraintsTest{\n \t\tleaf: leafSpec{sans: []string{\"dns:.example.com\"}},\n \t\texpectedError: \"cannot parse dnsName \\\".example.com\\\"\",\n \t},\n+\t// #86: URIs with IPv6 ...
2024-12-09T19:31:22
nodejs/node
04319228e0c496861b00011a01387ca9c3fec9c9
d1d5da22e4e699a8e32f3fa2a28f53a296eaec40
src: fix move after use reported by coverity - Fix move after use reported by coverity in node_contextify.cc Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: https://github.com/nodejs/node/pull/52141 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth....
[ { "path": "src/node_contextify.cc", "patch": "@@ -1472,7 +1472,7 @@ void ContextifyContext::ContainsModuleSyntax(\n ContextifyContext::CompileFunctionAndCacheResult(env,\n context,\n &source,\n- ...
2024-03-18T20:04:29
facebook/react
85de6fde515148babd36eae2b7384ad8e62b732a
5cbe6258bc436b1683080a6d978c27849f1d9a22
Refactor DOM special cases per tags including controlled fields (#26501) I use a shared helper when setting properties into a helper whether it's initial or update. I moved the special cases per tag to commit phase so we can check it only once. This also effectively inlines getHostProps which can be done in a si...
[ { "path": "packages/react-dom-bindings/src/client/ReactDOMComponent.js", "patch": "@@ -7,6 +7,8 @@\n * @flow\n */\n \n+import type {InputWithWrapperState} from './ReactDOMInput';\n+\n import {\n registrationNameDependencies,\n possibleRegistrationNames,\n@@ -25,7 +27,6 @@ import {\n } from './DOMPrope...
2023-03-29T02:40:03
electron/electron
c885f9063bda5032fe430bbee724f77b66ce034a
c3920c5c02a6875b444a7c4017ba85145b658fec
docs: document the removal of IA32 Linux support (#34787) * docs: document the removal of IA32 Linux support Chromium had dropped support for IA32 Linux, so the Chromium 102.0.4999.0 upgrade PR, https://github.com/electron/electron/pull/33731, had introduced the commit, https://github.com/electron/electron/pull/...
[ { "path": "docs/breaking-changes.md", "patch": "@@ -98,7 +98,10 @@ is the origin that is checking for device permission.\n \n ## Planned Breaking API Changes (19.0)\n \n-None\n+### Removed: IA32 Linux binaries\n+\n+This is a result of Chromium 102.0.4999.0 dropping support for IA32 Linux.\n+This concludes t...
2022-06-30T16:23:03
vercel/next.js
f4406d8c58c6d1caf7a9c547c53c278a214c7ea2
ddb727a4c0974008ba52ab9be9a2e24ba54c47be
docs: `htmlLimitedBots` config value should be a RegExp (#79454) Closes: https://linear.app/vercel/issue/DOC-4697/htmllimitedbots-value Also fixes `Behavior` sub heading
[ { "path": "docs/01-app/05-api-reference/04-functions/generate-metadata.mdx", "patch": "@@ -1152,7 +1152,7 @@ ReactDOM.prefetchDNS(href: string)\n > - These methods are currently only supported in Client Components, which are still Server Side Rendered on initial page load.\n > - Next.js in-built features su...
2025-05-21T14:27:41
golang/go
6783377295e0878aa3ad821eefe3d7879064df6d
368a9ec99834652ca3f7d8fe24862a7581e12358
net/http: persist header stripping across repeated redirects When an HTTP redirect changes the host of a request, we drop sensitive headers such as Authorization from the redirected request. Fix a bug where a chain of redirects could result in sensitive headers being sent to the wrong host: 1. request to a.tld with...
[ { "path": "src/net/http/client.go", "patch": "@@ -610,8 +610,9 @@ func (c *Client) do(req *Request) (retres *Response, reterr error) {\n \t\treqBodyClosed = false // have we closed the current req.Body?\n \n \t\t// Redirect behavior:\n-\t\tredirectMethod string\n-\t\tincludeBody = true\n+\t\tredirectMeth...
2024-11-22T20:34:11
facebook/react
e0180ce86a112fe5e16b7fe6cb434750dac3c992
ec0abcd64308b1268bceb205cbdb833114863c71
[lambdas] Track ReactiveScopeDepenency of ComputedLoad Fixes an issue where we did not track mutations to captured computed loads in lambdas.
[ { "path": "compiler/forget/src/Inference/AnalyseFunctions.ts", "patch": "@@ -62,6 +62,12 @@ export default function analyseFunctions(func: HIRFunction): void {\n );\n break;\n }\n+ case \"ComputedLoad\": {\n+ // The path is set to an empty string as the path doesn...
2023-03-28T15:29:31
nodejs/node
6dd1c75f4a7f08fa8a652ae1094fec6b82a17637
0a252c23d904111a92000e7c183584ee21c7d213
crypto: fix `input` validation in `crypto.hash` PR-URL: https://github.com/nodejs/node/pull/52070 Refs: https://github.com/nodejs/node/pull/51044/files#r1522362983 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/internal/crypto/hash.js", "patch": "@@ -52,7 +52,6 @@ const {\n validateEncoding,\n validateString,\n validateUint32,\n- validateBuffer,\n } = require('internal/validators');\n \n const {\n@@ -196,8 +195,8 @@ async function asyncDigest(algorithm, data) {\n \n function hash(algorithm, i...
2024-03-21T11:12:31
electron/electron
1f814eacb2875c17d6ef6d0f702fc1c4003bcde6
ad2b1fee59c2e4352b0c5664f72c0067a2ef4d7f
build: fix release_dependency_versions workflow (#34573) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
[ { "path": ".github/workflows/release_dependency_versions.yml", "patch": "@@ -10,7 +10,7 @@ env:\n jobs:\n check_tag:\n runs-on: ubuntu-latest\n- id: check_tag\n+ steps:\n - uses: actions/checkout@v3\n - name: Check Tag\n run: |", "additions": 1, "deletions": 1, "languag...
2022-06-29T12:55:59
vercel/next.js
ddb727a4c0974008ba52ab9be9a2e24ba54c47be
f71cc1553390217e0de81eee29959ead8f0bb6b1
Turbopack Build: Fix css-modules test (#79441) ## What? The setup already works but the test fails because the urls are relative with Turbopack. I've updated the test.
[ { "path": "test/integration/css/test/css-modules.test.js", "patch": "@@ -153,20 +153,26 @@ describe('should handle unresolved files gracefully', () => {\n encoding: 'utf8',\n })\n .filter((f) => f.endsWith('.css'))\n+ // Ensure the loop is more deterministic\n+ ...
2025-05-21T14:08:43
facebook/react
8faf751937e9672fb69dac8143dbfb0929caf77e
8342a09927b18725e1dd2a78b9a78b439528a7d1
Codemod some expiration tests to waitForExpired (#26491) Continuing my journey to migrate all the Scheduler flush* methods to async versions of the same helpers. `unstable_flushExpired` is a rarely used helper that is only meant to be used to test a very particular implementation detail (update starvation preven...
[ { "path": "packages/internal-test-utils/ReactInternalTestUtils.js", "patch": "@@ -29,24 +29,23 @@ async function waitForMicrotasks() {\n });\n }\n \n-export async function waitFor(expectedLog) {\n+export async function waitFor(expectedLog, options) {\n assertYieldsWereCleared(SchedulerMock);\n \n // C...
2023-03-27T19:52:25
golang/go
bd80d8956f3062d2b2bff2d7da6b879dfa909f12
4fa61d6f9c9c7c3a5e74472f1cfb9c12eed1a368
cmd/go/internal/modfetch: do not trust server to send all tags in shallow fetch Newer git versions (at least git 2.47.1) do not send all the matching tags for a shallow fetch of a specific hash anymore. The go command assumes that git servers do this. Since that assumption is broken, use the local copy of the remote r...
[ { "path": "src/cmd/go/internal/modfetch/codehost/git.go", "patch": "@@ -649,7 +649,21 @@ func (r *gitRepo) statLocal(ctx context.Context, version, rev string) (*RevInfo,\n \t\t\t}\n \t\t}\n \t}\n-\tsort.Strings(info.Tags)\n+\n+\t// Git 2.47.1 does not send the tags during shallow clone anymore\n+\t// (perha...
2025-01-14T04:00:14
nodejs/node
0a252c23d904111a92000e7c183584ee21c7d213
4fe87357f36386c9ce810c8dc5544fe5ff41cb43
lib: fix type error for _refreshLine PR-URL: https://github.com/nodejs/node/pull/52133 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/internal/readline/interface.js", "patch": "@@ -685,7 +685,7 @@ class Interface extends InterfaceConstructor {\n this.cursor,\n this.line.length);\n this.cursor = this.cursor - completeOn.length + prefix.length...
2024-03-21T10:48:17
electron/electron
ad2b1fee59c2e4352b0c5664f72c0067a2ef4d7f
35ff95d3c71849ac97ced178a2330b9d4651f250
fix: re-enable HKDF crypto functionality (#34767) * fix: re-enable HKDF crypto functionality * chore: update patches Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
[ { "path": "patches/node/fix_crypto_tests_to_run_with_bssl.patch", "patch": "@@ -537,6 +537,19 @@ index af2146982c7a3bf7bd7527f44e4b17a3b605026e..f6b91f675cfea367c608892dee078b56\n \n // Non-XOF hash functions should accept valid outputLength options as well.\n assert.strictEqual(crypto.createHash('sh...
2022-06-29T12:53:57
vercel/next.js
8751df4ee3d78a5ba53ae2ab7103da02d2637a06
6b1e48080e896e0d44a05fe009cb79d2d3f91774
[Segment Cache] Fix: Ensure server references can be prerendered (#79448)
[ { "path": ".changeset/spotty-hotels-train.md", "patch": "@@ -0,0 +1,5 @@\n+---\n+\"next\": patch\n+---\n+\n+[Segment Cache] Fix: Ensure server references can be prerendered", "additions": 5, "deletions": 0, "language": "Markdown" }, { "path": "packages/next/src/server/app-render/app-rend...
2025-05-21T12:40:02
golang/go
4fa61d6f9c9c7c3a5e74472f1cfb9c12eed1a368
c5e205e928bd4b70c90698b5ca1dd583a8036864
cmd/api: report error in test instead of crashing https://ci.chromium.org/ui/inv/build-8725798219051312433/test-results?sortby=&groupby= shows a mysterious failure with this stack: === RUN BenchmarkAll BenchmarkAll panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmenta...
[ { "path": "src/cmd/api/api_test.go", "patch": "@@ -57,7 +57,10 @@ func TestGolden(t *testing.T) {\n \t\t// TODO(gri) remove extra pkg directory eventually\n \t\tgoldenFile := filepath.Join(\"testdata\", \"src\", \"pkg\", fi.Name(), \"golden.txt\")\n \t\tw := NewWalker(nil, \"testdata/src/pkg\")\n-\t\tpkg, _...
2025-01-14T13:22:08
nodejs/node
4fe87357f36386c9ce810c8dc5544fe5ff41cb43
f05b241f07e049156e9a075ad30466a84c806388
doc: fix typos in maintaining-dependencies.md fix typo: informations -> information information has no plural PR-URL: https://github.com/nodejs/node/pull/52160 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: ...
[ { "path": "doc/contributing/maintaining/maintaining-dependencies.md", "patch": "@@ -205,7 +205,7 @@ a C port of High Dynamic Range (HDR) Histogram.\n The [icu](http://site.icu-project.org) is widely used set of C/C++\n and Java libraries providing Unicode and Globalization\n support for software application...
2024-03-21T09:27:57
facebook/react
afea1d0c536e0336735b0ea5c74f635527b65785
768f965de2d4c6be7f688562ef02382478c82e5b
[flow] make Flow suppressions explicit on the error (#26487) Added an explicit type to all $FlowFixMe suppressions to reduce over-suppressions of new errors that might be caused on the same lines. Also removes suppressions that aren't used (e.g. in a `@noflow` file as they're purely misleading) Test Plan: yar...
[ { "path": "packages/internal-test-utils/internalAct.js", "patch": "@@ -35,7 +35,7 @@ export async function act<T>(scope: () => Thenable<T>): Thenable<T> {\n );\n }\n \n- // $FlowFixMe: Flow doesn't know about global Jest object\n+ // $FlowFixMe[cannot-resolve-name]: Flow doesn't know about global Je...
2023-03-27T11:43:04
electron/electron
35ff95d3c71849ac97ced178a2330b9d4651f250
6257e0c348ed3e30b8b7799475adeb6019138f95
fix: `<datalist>` bounds vertical cutoff (#34759)
[ { "path": "shell/browser/ui/views/autofill_popup_view.cc", "patch": "@@ -174,7 +174,7 @@ void AutofillPopupView::DrawAutofillEntry(gfx::Canvas* canvas,\n const int text_align =\n is_rtl ? gfx::Canvas::TEXT_ALIGN_RIGHT : gfx::Canvas::TEXT_ALIGN_LEFT;\n gfx::Rect value_rect = entry_rect;\n- value_r...
2022-06-29T08:14:03
golang/go
befc43655b6d93f0be883222fbb3fde5768892c1
c83f2ca4b3964917adc3b06f661785cc6b53792d
testing/fstest: fix function name and comment Change-Id: I17bc68a2e3a96d0dc3d9ddcad40149df37fc4839 Reviewed-on: https://go-review.googlesource.com/c/go/+/642198 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.i...
[ { "path": "src/testing/fstest/testfs.go", "patch": "@@ -570,7 +570,7 @@ func (t *fsTester) checkFileRead(file, desc string, data1, data2 []byte) {\n \t}\n }\n \n-// checkBadPath checks that various invalid forms of file's name cannot be opened using t.fsys.Open.\n+// checkOpen validates file opening behavio...
2025-01-13T17:11:22
facebook/react
768f965de2d4c6be7f688562ef02382478c82e5b
d12bdcda69afd219f4d91cbd60d6fae2a375d35b
Suspensily committing a prerendered tree (#26434) Prerendering a tree (i.e. with Offscreen) should not suspend the commit phase, because the content is not yet visible. However, when revealing a prerendered tree, we should suspend the commit phase if resources in the prerendered tree haven't finished loading yet. ...
[ { "path": "packages/react-dom-bindings/src/client/ReactDOMHostConfig.js", "patch": "@@ -1788,7 +1788,7 @@ type StyleTagResource = TResource<'style', null>;\n type StyleResource = StyleTagResource | StylesheetResource;\n type ScriptResource = TResource<'script', null>;\n type VoidResource = TResource<'void',...
2023-03-27T03:48:37
nodejs/node
f9755f6f79d3cf2f7ad835037a024534b904f2f3
61e5de12689dcaa168f5348f5529e0642663ceae
test_runner: emit diagnostics when watch mode drains PR-URL: https://github.com/nodejs/node/pull/52130 Fixes: https://github.com/nodejs/node/issues/51253 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/internal/test_runner/harness.js", "patch": "@@ -184,21 +184,26 @@ function setup(root) {\n __proto__: null,\n allowTestsToRun: false,\n bootstrapComplete: false,\n+ watching: false,\n coverage: FunctionPrototypeBind(collectCoverage, null, root, coverage),\n- counters: {\...
2024-03-19T21:55:25
rust-lang/rust
cbcd8694c6e549c658901f010644fddcb7ffbce8
a72f68e80154a208b85a3b80cea744b84b7b5d18
Remove x86_64 assembly test for is_ascii The SSE2 helper function is not inlined across crate boundaries, so we cannot verify the codegen in an assembly test. The fix is still verified by the absence of performance regression.
[ { "path": "tests/assembly-llvm/slice-is-ascii.rs", "patch": "@@ -1,32 +1,12 @@\n-//@ revisions: X86_64 LA64\n+//@ revisions: LA64\n //@ assembly-output: emit-asm\n //@ compile-flags: -C opt-level=3\n //\n-//@ [X86_64] only-x86_64\n-//@ [X86_64] compile-flags: -C target-cpu=znver4\n-//@ [X86_64] compile-flag...
2026-01-25T08:44:04
electron/electron
44b9ee51f45466603728721d23fb4dd95061c142
07294cbf15a94a6150877b67178911273cb022cf
fix: resolve symlinks when computing relative asar paths for integrity (#34776)
[ { "path": "shell/common/asar/archive_mac.mm", "patch": "@@ -11,6 +11,7 @@\n #include <iomanip>\n #include <string>\n \n+#include \"base/files/file_util.h\"\n #include \"base/logging.h\"\n #include \"base/mac/bundle_locations.h\"\n #include \"base/mac/foundation_util.h\"\n@@ -21,7 +22,8 @@\n namespace asar {...
2022-06-28T23:02:00
facebook/react
d12bdcda69afd219f4d91cbd60d6fae2a375d35b
73b6435ca4e0c3ae3aac8126509a82420a84f0d7
Fix Flow types of useEffectEvent (#26468) ## Summary Just copied the types over from the internal types. Type error was hidden by overly broad FlowFixMe. With `$FlowFixMe[not-a-function]` we would've seen the actual issue: ``` Cannot return `dispatcher.useEffectEvent(...)` because `T` [1] is incompatible with ...
[ { "path": "packages/react-reconciler/src/ReactInternalTypes.js", "patch": "@@ -383,9 +383,7 @@ export type Dispatcher = {\n create: () => (() => void) | void,\n deps: Array<mixed> | void | null,\n ): void,\n- useEffectEvent?: <Args, Return, F: (...Array<Args>) => Return>(\n- callback: F,\n- )...
2023-03-25T19:24:00
golang/go
c83f2ca4b3964917adc3b06f661785cc6b53792d
6da16013ba4444e0d71540f68279f0283a92d05d
cmd/dist: ignore packages with no Go files in BenchmarkAll This case recently started happening on the builders. The synctest experiment was recently enabled for some targets (CL 642422). This caused the list of standard packages to include testing/synctest. However, BenchmarkAll tests for all configurations; some did...
[ { "path": "src/cmd/api/api_test.go", "patch": "@@ -201,7 +201,10 @@ func BenchmarkAll(b *testing.B) {\n \t\tfor _, context := range contexts {\n \t\t\tw := NewWalker(context, filepath.Join(testenv.GOROOT(b), \"src\"))\n \t\t\tfor _, name := range w.stdPackages {\n-\t\t\t\tpkg, _ := w.import_(name)\n+\t\t\t\...
2025-01-14T14:58:32
rust-lang/rust
9e80b1ba7e751a8e16ce2ef1286278b3e66f728b
5a07626f4b8802d2baa260b76b2e1d0714674efe
Fix broken WASIp1 reference link
[ { "path": "src/doc/rustc/src/platform-support/wasm32-wasip1.md", "patch": "@@ -20,7 +20,7 @@ focused on the Component Model-based definition of WASI. At this point the\n `wasm32-wasip1` Rust target is intended for historical compatibility with\n [WASIp1] set of syscalls.\n \n-[WASIp1]: https://github.com/We...
2026-01-25T08:24:08
nodejs/node
5276c0d5d456c4739f0041cd363df24413de72e9
707155424bffb59881861669813c4520bff2cec2
test_runner: add suite() This commit adds a suite() function to the test runner and makes describe() an alias for it. This matches the it() alias for test(). Fixes: https://github.com/nodejs/node/issues/51430 PR-URL: https://github.com/nodejs/node/pull/52127 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: M...
[ { "path": "doc/api/test.md", "patch": "@@ -128,8 +128,8 @@ test('top level test', async (t) => {\n > between each subtest execution.\n \n In this example, `await` is used to ensure that both subtests have completed.\n-This is necessary because parent tests do not wait for their subtests to\n-complete, unlik...
2024-03-19T15:38:17
electron/electron
704b2199b3457f01611795eb3d36b4cb85ff5641
f1087cc830872365c7e9dade7b44de099853b08c
build: fix building with enable_basic_printing false (#34711) * build: fix building with enable_basic_printing false * temp flags for ci builds * fix other systems * disable cups * disable print preview * revert changes * merge with printing.patch
[ { "path": "patches/chromium/printing.patch", "patch": "@@ -10,6 +10,29 @@ majority of changes originally come from these PRs:\n \n This patch also fixes callback for manual user cancellation and success.\n \n+diff --git a/BUILD.gn b/BUILD.gn\n+index c46cbf1bec22c36b97fde5601ca9b2966ee80933..edf371d10bcac60d...
2022-06-28T14:34:00
golang/go
6da16013ba4444e0d71540f68279f0283a92d05d
de9fdc7b7154a1ddd73cb44292cdd65f4f56029a
cmd/go: check go version when parsing go.mod fails Fixes #70979 Change-Id: I6597fe178eed34702eea6cba4eec5174c9203458 Reviewed-on: https://go-review.googlesource.com/c/go/+/639115 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@golang.org>...
[ { "path": "src/cmd/go/internal/modload/modfile.go", "patch": "@@ -44,6 +44,17 @@ func ReadModFile(gomod string, fix modfile.VersionFixer) (data []byte, f *modfil\n \n \tf, err = modfile.Parse(gomod, data, fix)\n \tif err != nil {\n+\t\tf, laxErr := modfile.ParseLax(gomod, data, fix)\n+\t\tif laxErr == nil {...
2024-12-28T16:19:23
facebook/react
73b6435ca4e0c3ae3aac8126509a82420a84f0d7
175962c10c53e5adfcfc02a3d6cc3f487d5a78a0
[Float][Fiber] Implement waitForCommitToBeReady for stylesheet resources (#26450) Before a commit is finished if any new stylesheet resources are going to mount and we are capable of delaying the commit we will do the following 1. Wait for all preloads for newly created stylesheet resources to load 2. Once all pr...
[ { "path": "packages/react-dom-bindings/src/client/ReactDOMComponentTree.js", "patch": "@@ -7,7 +7,6 @@\n * @flow\n */\n \n-import type {HoistableRoot, RootResources} from './ReactDOMFloatClient';\n import type {Fiber} from 'react-reconciler/src/ReactInternalTypes';\n import type {ReactScopeInstance} from ...
2023-03-25T02:17:38
nodejs/node
4e278f0253aae908e56c084637d2ec2a04a2e202
978d5a26c90461015c791df189935955b9a2fbfd
build: speed up compilation of some V8 files This introduces a special target to compile some of the 'v8_initializers' files with "-O1" instead of "-O3" to avoid huge compilation times with GCC versions <13. PR-URL: https://github.com/nodejs/node/pull/52083 Fixes: https://github.com/nodejs/node/issues/52068 Reviewed-...
[ { "path": "tools/v8_gypfiles/v8.gyp", "patch": "@@ -253,12 +253,41 @@\n '<(V8_ROOT)/src/init/setup-isolate-full.cc',\n ],\n }, # v8_init\n+ {\n+ # This target is used to work around a GCC issue that causes the\n+ # compilation to take several minutes when using -O2 or -O3.\n+...
2024-03-14T10:11:43
vercel/next.js
5136f8ecfd06f638325a2f45656744cbebd3fe97
6440778d60690fe74a564de47f54d9496ea3fead
[dynamicIO] Avoid timeout errors with dynamic params in `"use cache"` (#78882)
[ { "path": ".changeset/tricky-planes-worry.md", "patch": "@@ -0,0 +1,5 @@\n+---\n+\"next\": patch\n+---\n+\n+[dynamicIO] Avoid timeout errors with dynamic params in `\"use cache\"`", "additions": 5, "deletions": 0, "language": "Markdown" }, { "path": ".vscode/settings.json", "patch": ...
2025-05-20T21:15:55
golang/go
17ed2159583289d77c994d479c24f7e7c2837332
c53307c3fdf1126eb6cdb1f09f4f9b83759be705
go/types, types2: don't panic when instantiating generic alias with wrong number of type arguments The existing code assumed the type argument count check in Checker.instance couldn't fail for generic alias types (matching the code for generic signatures), but it actually can. Adjust the code accordingly and document...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -142,6 +142,9 @@ func (check *Checker) instantiateSignature(pos syntax.Pos, expr syntax.Expr, typ\n \t\t}()\n \t}\n \n+\t// For signatures, Checker.instance will always succeed because the type argument\n+\t// count is correct at this point (...
2025-01-09T23:01:03
facebook/react
175962c10c53e5adfcfc02a3d6cc3f487d5a78a0
3fcf209ea40536032c1eab792a8387e66c649f79
Fix remaining CommonJS imports after Rollup upgrade (#26473) Follow-up to https://github.com/facebook/react/pull/26442. It looks like we missed a few cases where we default import a CommonJS module, which leads to Rollup adding `.default` access, e.g. `require('webpack/lib/Template').default` in the output. To...
[ { "path": "scripts/rollup/build.js", "patch": "@@ -182,12 +182,16 @@ let getRollupInteropValue = id => {\n // Specifying `interop: 'default'` instead will have Rollup use the imported variable as-is,\n // without adding a `.default` to the reference.\n const modulesWithCommonJsExports = [\n- 'JSRes...
2023-03-25T00:05:23
nodejs/node
978d5a26c90461015c791df189935955b9a2fbfd
be75821a12bf24ef11571ffee660d429965df190
test: reduce flakiness of test-runner-output.mjs This commit is similar to #51952. When the system is under load it is possible for these timeout tests to become flaky. We work around that by using a much longer setTimeout() in the test so that it is not racing against the test's timeout. But, we have to unref() such ...
[ { "path": "test/fixtures/test-runner/output/lcov_reporter.snapshot", "patch": "@@ -81,24 +81,26 @@ FN:310,anonymous_77\n FN:313,anonymous_78\n FN:318,anonymous_79\n FN:319,anonymous_80\n-FN:324,anonymous_81\n-FN:329,anonymous_82\n-FN:330,anonymous_83\n+FN:320,anonymous_81\n+FN:327,anonymous_82\n+FN:328,anon...
2024-03-19T07:38:45
vercel/next.js
e675d2ba99f3fcca2928dacee22e16c46df9ed28
deb49c4cd76e3850c620cb71a8011936adb53a11
docs: fix spacing in installation instructions (#79257) This PR fixes a minor spacing issue in the "Run the development server" section of the installation guide. No functionality is affected. --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/01-app/01-getting-started/01-installation.mdx", "patch": "@@ -226,7 +226,7 @@ export default function Page() {\n \n 1. Run `npm run dev` to start the development server.\n 2. Visit `http://localhost:3000` to view your application.\n-3. Edit the<AppOnly>`app/page.tsx`</AppOnly> <PagesOnly>`pa...
2025-05-20T17:59:53
golang/go
c53307c3fdf1126eb6cdb1f09f4f9b83759be705
47a56b2b6d2cca56384810027964968667b86fdc
spec: fix grammar issue Change-Id: If4d3b3965762c8979d304a82493c9eb1068ee13c Reviewed-on: https://go-review.googlesource.com/c/go/+/642037 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Bypass: Robert Griesemer <gri@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Robert Griesemer <gr...
[ { "path": "doc/go_spec.html", "patch": "@@ -8514,7 +8514,7 @@ <h3 id=\"Package_unsafe\">Package <code>unsafe</code></h3>\n <p>\n The functions <code>Alignof</code> and <code>Sizeof</code> take an expression <code>x</code>\n of any type and return the alignment or size, respectively, of a hypothetical variab...
2025-01-10T15:00:24
nodejs/node
6f4d6011ea1b448cf21f5d363c44e4a4c56ca34c
8a191e4e6a39e579157550adaef351867e177fc6
test_runner: skip each hooks for skipped tests When a test is skipped, the corresponding beforeEach and afterEach hooks should also be skipped. Fixes: https://github.com/nodejs/node/issues/52112 PR-URL: https://github.com/nodejs/node/pull/52115 Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Chemi Atlow <c...
[ { "path": "lib/internal/test_runner/test.js", "patch": "@@ -662,7 +662,7 @@ class Test extends AsyncResource {\n }\n };\n const afterEach = runOnce(async () => {\n- if (this.parent?.hooks.afterEach.length > 0) {\n+ if (this.parent?.hooks.afterEach.length > 0 && !this.skipped) {\n ...
2024-03-18T16:29:36
facebook/react
909c6dacfde06b87fa22f2e8506c47124cf982b5
9c54b29b44d24f8f8090da9c7ebf569747a444df
Update Rollup to 3.x (#26442) <!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please make sure the fol...
[ { "path": "package.json", "patch": "@@ -36,10 +36,10 @@\n \"@babel/preset-flow\": \"^7.10.4\",\n \"@babel/preset-react\": \"^7.10.4\",\n \"@babel/traverse\": \"^7.11.0\",\n- \"@rollup/plugin-babel\": \"^5.3.1\",\n- \"@rollup/plugin-commonjs\": \"^22.0.1\",\n- \"@rollup/plugin-node-resol...
2023-03-24T18:08:41
vercel/next.js
dd7fed079cee6861172e749b3a31c257ab206406
e06d2d8705179171439ce7ca6dea91645378b08b
Fork the globset strategy for turbopack (#79333) ## What After discussion with [upstream](https://github.com/BurntSushi/ripgrep/issues/3049) it was determined that upstreaming a function like `can_skip_directory` wasn't aligned. It turns out the needs of ripgrep and ours are somewhat divergent. Instead they encourag...
[ { "path": "Cargo.lock", "patch": "@@ -9736,6 +9736,7 @@ dependencies = [\n \"notify\",\n \"parking_lot\",\n \"rayon\",\n+ \"regex\",\n \"rstest\",\n \"rustc-hash 2.1.1\",\n \"serde\",", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "crates/next-core/src/next_se...
2025-05-20T17:08:39
golang/go
47a56b2b6d2cca56384810027964968667b86fdc
7bb192a1c56e2961b3eeffb8250615e395c903d4
encoding/json: add cases to TestUnmarshal for fatal syntactic errors The presence of a syntax error in the input immediately unmarshaling before unmarshaling into the underlying value. Otherwise, semantic errors are generally lazily reported and allow unmarshaling to continue on. Change-Id: Icf1cfc684e415312d9c8bf739...
[ { "path": "src/encoding/json/decode_test.go", "patch": "@@ -1170,6 +1170,23 @@ var unmarshalTests = []struct {\n \t\t\tN Number `json:\",string\"`\n \t\t}{\"5\"},\n \t},\n+\n+\t// Verify that syntactic errors are immediately fatal,\n+\t// while semantic errors are lazily reported\n+\t// (i.e., allow process...
2025-01-11T20:48:33
facebook/react
0ee5e482a2ef03b332ca5a6df93c839aa95e584a
ef83c02d3cbd9736132a420259103067da93283a
Optional computed member expressions are not supported (add validation) We don't propagate the `optional` flag through to codegen, so let's error on this for now
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -1744,6 +1744,13 @@ function lowerMemberExpression(\n },\n };\n }\n+ if (t.isOptionalMemberExpression(expr)) {\n+ builder.errors.push({\n+ reason: `(BuildHIR::lowerMemberExpression) Handle computed OptionalMemberE...
2023-03-23T16:01:21
electron/electron
e86d1cba75be6e5134a3190432b4aae6b19134e8
032e1d9befad640ee6edc276cec1ebd1e84bc73f
chore: bump chromium to 105.0.5129.0 (main) (#34403) * chore: bump chromium in DEPS to 104.0.5096.0 * 3651284: Use the entry settings object for window.open navigation https://chromium-review.googlesource.com/c/chromium/src/+/3651284 * 3644598: Make RenderFrameHost used for notification permission decision ...
[ { "path": "DEPS", "patch": "@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'\n \n vars = {\n 'chromium_version':\n- '104.0.5073.0',\n+ '105.0.5129.0',\n 'node_version':\n 'v16.15.1',\n 'nan_version':", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "build/...
2022-06-27T20:50:08
nodejs/node
39f1b899cd536de4d4c9bbf56f24927d8d06999a
5f7fad26050cd574431e3018a557bc6eae5ff716
fs: fix edge case in readFileSync utf8 fast path Fix a file permissions regression when `fs.readFileSync()` is called in append mode on a file that does not already exist introduced by the fast path for utf8 encoding. PR-URL: https://github.com/nodejs/node/pull/52101 Fixes: https://github.com/nodejs/node/issues/52079...
[ { "path": "src/node_file.cc", "patch": "@@ -2402,7 +2402,7 @@ static void ReadFileUtf8(const FunctionCallbackInfo<Value>& args) {\n if (CheckOpenPermissions(env, path, flags).IsNothing()) return;\n \n FS_SYNC_TRACE_BEGIN(open);\n- file = uv_fs_open(nullptr, &req, *path, flags, O_RDONLY, nullptr);...
2024-03-18T12:51:51
vercel/next.js
e06d2d8705179171439ce7ca6dea91645378b08b
2d48158402645f2eb6d4e1ecccfdbcf47b2fe1c6
Turbopack build: Fix production-browser-sourcemaps test (#79374) ## What? The test assumes that the sourcemap files live at a certain place and match the js filename. In Turbopack they don't because they're content hashed. This fixes the tests by reading the sourcemap path and reading using that path instead.
[ { "path": "test/integration/production-browser-sourcemaps/test/index.test.js", "patch": "@@ -1,41 +1,26 @@\n /* eslint-env jest */\n import fs from 'fs-extra'\n-import { join } from 'path'\n-import { nextBuild, getPageFileFromBuildManifest } from 'next-test-utils'\n+import { dirname, join } from 'path'\n+im...
2025-05-20T16:47:04
golang/go
7bb192a1c56e2961b3eeffb8250615e395c903d4
44a6f817ea0fbeb3ba4aa398794c4e80dba13b1e
encoding/json: always check resulting Go value for unmarshaling Even if an error occurs during unmarshal, check the resulting Go value. The documented API specifies no guarantees on how much of a Go value will be populated when an error occurs and the "json" package is technically not bounded by the Go compatibility a...
[ { "path": "src/encoding/json/decode_test.go", "patch": "@@ -458,10 +458,10 @@ var unmarshalTests = []struct {\n \n \t// Z has a \"-\" tag.\n \t{CaseName: Name(\"\"), in: `{\"Y\": 1, \"Z\": 2}`, ptr: new(T), out: T{Y: 1}},\n-\t{CaseName: Name(\"\"), in: `{\"Y\": 1, \"Z\": 2}`, ptr: new(T), err: fmt.Errorf(\"...
2025-01-10T19:49:07
facebook/react
8ef22a2a90206eed7c67b5b78be39b4e542b3fff
501fbd8ed8f036c6e0ec29290a391c5a3b375b5f
[hir] todo tests for lambda capture --- (I'm not sure if these are already known issues. I found them while playing around with lambda captures. They are also reproducible on main / stable) I have some limited understanding of lambda captures after reading Sathya's posts -- please correct if/where this is incor...
[ { "path": "compiler/forget/src/__tests__/fixtures/compiler/_bug.lambda-capture-returned-alias.expect.md", "patch": "@@ -0,0 +1,77 @@\n+\n+## Input\n+\n+```javascript\n+// Here, element should not be memoized independently of aliasedElement, since\n+// it is captured by fn.\n+// AnalyzeFunctions currently do...
2023-03-22T19:58:07
electron/electron
3b881e4a132742b30e2f7a61203c1bfec5b81364
106aa0e9228250015eef99eaa9063bafa9fc187b
fix: WCO respects maximizable/closable/minimizable (#34677)
[ { "path": "shell/browser/native_window_views.cc", "patch": "@@ -876,6 +876,11 @@ bool NativeWindowViews::IsMovable() {\n void NativeWindowViews::SetMinimizable(bool minimizable) {\n #if BUILDFLAG(IS_WIN)\n FlipWindowStyle(GetAcceleratedWidget(), minimizable, WS_MINIMIZEBOX);\n+ if (titlebar_overlay_enabl...
2022-06-23T17:08:32
nodejs/node
5f7fad26050cd574431e3018a557bc6eae5ff716
80f86e5d02cd2b489710e718582bc5dbacdba8a5
module: support require()ing synchronous ESM graphs This patch adds `require()` support for synchronous ESM graphs under the flag `--experimental-require-module` This is based on the the following design aspect of ESM: - The resolution can be synchronous (up to the host) - The evaluation of a synchronous graph (with...
[ { "path": "doc/api/cli.md", "patch": "@@ -877,6 +877,18 @@ added: v11.8.0\n \n Use the specified file as a security policy.\n \n+### `--experimental-require-module`\n+\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+> Stability: 1.1 - Active Developement\n+\n+Supports loading a synchronous ES module graph in `req...
2024-03-11T17:50:24
facebook/react
241101c08a0821ec700ac9470854bfa9a193cda4
a7191d4e3b67f6b16644d52cb18cb6bc7a4518d8
[builtins] Fix effects: capture -> read, store -> mutate --- I didn't properly understand Capture and Store effects previously, just correcting those mistakes! These functions are all synchronously mutative, so they should use Read / Mutate, not Capture + Store
[ { "path": "compiler/forget/src/HIR/ObjectShape.ts", "patch": "@@ -86,7 +86,7 @@ addShape(BUILTIN_SHAPES, ArrayShapeId, [\n positionalParams: [Effect.Read],\n restParam: null,\n returnType: null,\n- calleeEffect: Effect.Capture,\n+ calleeEffect: Effect.Read,\n }),\n ],\n [...
2023-03-22T19:50:40
vercel/next.js
2d48158402645f2eb6d4e1ecccfdbcf47b2fe1c6
fb0968777419873d0b2c9c9063f9c22d04705505
Turbopack build: Fix NODE_ENV test (#79377) ## What? This test was checking for an arbitrary value, it wasn't clear to me why this particular value given it's not in the source code. I've changed it to an application-level check instead of checking the Next.js internals.
[ { "path": "test/integration/non-standard-node-env-warning/pages/index.js", "patch": "@@ -1 +1,7 @@\n-export default () => 'hi'\n+export default function Page() {\n+ if (process.env.NODE_ENV === 'production') {\n+ return <h1>Hello Production</h1>\n+ } else {\n+ return <h1>Hello Other</h1>\n+ }\n+}",...
2025-05-20T16:40:38
golang/go
44a6f817ea0fbeb3ba4aa398794c4e80dba13b1e
19e923182e590ae6568c2c714f20f32512aeb3e3
cmd/compile: fix write barrier coalescing We can't coalesce a non-WB store with a subsequent Move, as the result of the store might be the source of the move. There's a simple codegen test. Not sure how we might do a real test, as all the repro's I've come up with are very expensive and unreliable. Fixes #71228 Cha...
[ { "path": "src/cmd/compile/internal/ssa/writebarrier.go", "patch": "@@ -252,6 +252,7 @@ func writebarrier(f *Func) {\n \t\tvar start, end int\n \t\tvar nonPtrStores int\n \t\tvalues := b.Values\n+\t\thasMove := false\n \tFindSeq:\n \t\tfor i := len(values) - 1; i >= 0; i-- {\n \t\t\tw := values[i]\n@@ -263,...
2025-01-11T01:33:26
electron/electron
11924bdbb271a1db97d4fe4666935bca435ceb0d
cd19a741b1a1cbd0ab7560314f1a77bed922bddb
chore: modernize ListValue usage in dict_util.mm and related files (#34661) * chore: modernize ListValue usage in dict_util.mm and related files * use base::Value::{Dict,List} instead of raw base::Value * fix compile * fix build * fix build again
[ { "path": "shell/browser/api/electron_api_app.cc", "patch": "@@ -706,13 +706,13 @@ void App::OnWillFinishLaunching() {\n Emit(\"will-finish-launching\");\n }\n \n-void App::OnFinishLaunching(const base::DictionaryValue& launch_info) {\n+void App::OnFinishLaunching(base::Value::Dict launch_info) {\n #if BU...
2022-06-23T06:28:41
facebook/react
f77099b6f1ccc658eff3467c6b9337e1b77ec854
51a7c45f8799cab903693fcfdd305ce84ba15273
Remove layout effect warning on the server (#26395) ## Overview This PR unfortunately removes the warning emitted when using layout effects on the server: > useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch b...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js", "patch": "@@ -1607,13 +1607,7 @@ describe('ReactDOMServerSelectiveHydration', () => {\n );\n }\n \n- let finalHTML;\n- expect(() => {\n- finalHTML = ReactDOMServer.renderToString(<App />);\n-...
2023-03-22T17:33:48
nodejs/node
63391e749d572ab0e0b998f35cb9c0daaed0fc44
454d0806a1f2e2aa5c327cff57c1dff7c43fc21b
stream: add `new` when constructing `ERR_MULTIPLE_CALLBACK` commit c71e548b65d912a976b65ea10ad6ee7d66b6e997 changed NodeError from a function to a class, and missed a spot where `ERR_MULTIPLE_CALLBACK` was being instantiated. This commit fixes that by adding the new keyword to that instance. Co-authored-by: Luigi Pin...
[ { "path": "lib/internal/streams/writable.js", "patch": "@@ -876,7 +876,7 @@ function needFinish(state) {\n \n function onFinish(stream, state, err) {\n if ((state[kState] & kPrefinished) !== 0) {\n- errorOrDestroy(stream, err ?? ERR_MULTIPLE_CALLBACK());\n+ errorOrDestroy(stream, err ?? new ERR_MULT...
2024-03-18T09:33:04
vercel/next.js
fb0968777419873d0b2c9c9063f9c22d04705505
1ae1b9ba23ff5521ccc8991f3eea6d5c62695671
[release] fix: use correct step id when publishing (#79408) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Cont...
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -603,7 +603,7 @@ jobs:\n \n # New release process\n - name: Publish to NPM\n- id: publish-packages\n+ id: changesets\n if: ${{ env.__NEW_RELEASE == 'true' }}\n uses: changesets/action@v1\n with...
2025-05-20T16:15:16
golang/go
932ec2be8d01e553a768df3709182abf2b579097
d0c9142ce3b6fac83dadcc76ecfb85311431e743
crypto/rsa: fix GenerateKey flakes for toy-sized keys Could have fixed this some other ways, including inside the FIPS 140-3 module, but this is small and self-contained, clearly not affecting production non-toy key sizes. This late in the freeze, a surgical fix felt best. Fixes #71185 Change-Id: I6a6a465641357c9d6b...
[ { "path": "src/crypto/rsa/rsa.go", "patch": "@@ -327,6 +327,21 @@ func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) {\n \t}\n \n \tk, err := rsa.GenerateKey(random, bits)\n+\tif bits < 256 && err != nil {\n+\t\t// Toy-sized keys have a non-negligible chance of hitting two hard\n+\t\t// failu...
2025-01-09T14:12:49
rust-lang/rust
a06fdc18062bb7d9e51384eb92da393ee1aa28ad
021fc25b7a48f6051bee1e1f06c7a277e4de1cc9
Fix 'the the' typo in library/core/src/array/iter.rs
[ { "path": "library/core/src/array/iter.rs", "patch": "@@ -66,7 +66,7 @@ impl<T, const N: usize> IntoIterator for [T; N] {\n // FIXME: If normal `transmute` ever gets smart enough to allow this\n // directly, use it instead of `transmute_unchecked`.\n let data: [MaybeUninit<T>; N] = u...
2026-01-24T22:07:57
electron/electron
218797eb61375a18b6126dfc9f511759585da84d
e410109a3d12e5b305f87e6e13967f2e3f88f3f5
fix: allow macOS debug builds to be built (#34536) Extending the `testing` GN profile with the arguments documented to allow breakpoint debugging (https://www.electronjs.org/docs/latest/development/debugging#breakpoint-debugging) doesn't quite work on macOS: ```sh is_debug = true symbol_level = 2 forbid_non_c...
[ { "path": "chromium_src/BUILD.gn", "patch": "@@ -92,6 +92,7 @@ static_library(\"chrome\") {\n \"//chrome/browser/media/webrtc/system_media_capture_permissions_stats_mac.h\",\n \"//chrome/browser/media/webrtc/system_media_capture_permissions_stats_mac.mm\",\n \"//chrome/browser/media/webrtc...
2022-06-22T08:18:12
facebook/react
51a7c45f8799cab903693fcfdd305ce84ba15273
afb3d51dc6310f0dbeffdd303eb3c6895e6f7db0
Bugfix: SuspenseList incorrectly forces a fallback (#26453) Fixes a bug in SuspenseList that @kassens found when deploying React to Meta. In some scenarios, SuspenseList would force the fallback of a deeply nested Suspense boundary into fallback mode, which should never happen under any circumstances — SuspenseList...
[ { "path": "packages/react-reconciler/src/ReactFiberBeginWork.js", "patch": "@@ -2167,6 +2167,8 @@ function shouldRemainOnFallback(\n // If we're already showing a fallback, there are cases where we need to\n // remain on that fallback regardless of whether the content has resolved.\n // For example, S...
2023-03-22T17:33:02
nodejs/node
40ef2da8d64cd8172eda750edb893f03dc4c8c7f
4f68c7c1c9373257a1c429fba8d4dc730ff3e32d
events: remove abort listener from signal in `on` the `abortHandler` function is declared within the scope of the `events.on` function so cannot be removed by the caller which can lead to a memory leak adding the abort listener using the `addAbortListener` helper returns a disposable that can be used to clean up the l...
[ { "path": "lib/events.js", "patch": "@@ -1167,14 +1167,8 @@ function on(emitter, event, options = kEmptyObject) {\n addEventListener(emitter, closeEvents[i], closeHandler);\n }\n }\n- if (signal) {\n- kResistStopPropagation ??= require('internal/event_target').kResistStopPropagation;\n- e...
2024-03-15T15:10:59
vercel/next.js
1ae1b9ba23ff5521ccc8991f3eea6d5c62695671
cd2ab0d6c0eb6a623516002c12aa80bc3c7a36e4
Turbopack Build: Fix next/dynamic test (#79407) Alternative solution for #79406, see the extensive description over there Fixes PACK-4514 --------- Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
[ { "path": "crates/next-api/src/loadable_manifest.rs", "patch": "@@ -1,8 +1,7 @@\n use anyhow::Result;\n use next_core::{next_manifests::LoadableManifest, util::NextRuntime};\n use rustc_hash::FxHashMap;\n-use turbo_rcstr::RcStr;\n-use turbo_tasks::{ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc};\n+use t...
2025-05-20T15:00:13
rust-lang/rust
cc299873b9cbc16392d3b19bdb64d059ef41d4f0
dc57e57f747a1a5ce13c7674f56bce5864c9f9e1
fix: `test_attr_in_doctest` FP on `test_harness`
[ { "path": "clippy_lints/src/doc/mod.rs", "patch": "@@ -1016,6 +1016,7 @@ struct CodeTags {\n no_run: bool,\n ignore: bool,\n compile_fail: bool,\n+ test_harness: bool,\n \n rust: bool,\n }\n@@ -1026,6 +1027,7 @@ impl Default for CodeTags {\n no_run: false,\n ignore...
2026-01-24T21:29:16
golang/go
d0c9142ce3b6fac83dadcc76ecfb85311431e743
c7c4420ae4b0e82b26606776fbd0e4fea97d37c9
runtime/pprof: hide map runtime frames from heap profiles Heap profiles hide "runtime" frames like runtime.mapassign. This broke in 1.24 because the map implementation moved to internal/runtime/maps, and runtime/pprof only considered literal "runtime." when looking for runtime frames. It would be nice to use cmd/inte...
[ { "path": "src/runtime/pprof/pprof.go", "patch": "@@ -555,7 +555,7 @@ func printStackRecord(w io.Writer, stk []uintptr, allFrames bool) {\n \t\tif name == \"\" {\n \t\t\tshow = true\n \t\t\tfmt.Fprintf(w, \"#\\t%#x\\n\", frame.PC)\n-\t\t} else if name != \"runtime.goexit\" && (show || !strings.HasPrefix(nam...
2025-01-09T17:22:53
electron/electron
bf52318c76ac110e9a916ca553394c2c15a6381c
73c85410c56f0a4024fd0fd1ee6aa5360c30621a
fix: modernize ListValue in net converters (#34657)
[ { "path": "shell/common/gin_converters/net_converter.cc", "patch": "@@ -153,20 +153,20 @@ v8::Local<v8::Value> Converter<net::CertPrincipal>::ToV8(\n v8::Local<v8::Value> Converter<net::HttpResponseHeaders*>::ToV8(\n v8::Isolate* isolate,\n net::HttpResponseHeaders* headers) {\n- base::DictionaryVa...
2022-06-22T08:14:57
facebook/react
afb3d51dc6310f0dbeffdd303eb3c6895e6f7db0
8e17bfd144f1794398b2cb37ccfbd2cfcb844566
Fix enableClientRenderFallbackOnTextMismatch flag (#26457) With this flag off, we don't throw and therefore don't patch up the tree when suppression is off. Haven't tested. --------- Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
[ { "path": "packages/react-dom-bindings/src/client/ReactDOMComponent.js", "patch": "@@ -1440,7 +1440,7 @@ export function diffHydratedProperties(\n shouldWarnDev,\n );\n }\n- if (!isConcurrentMode) {\n+ if (!isConcurrentMode || !enableClientRenderFallbackOnTextMismatch) {\n ...
2023-03-22T17:12:41
nodejs/node
9a1e01c4ce868865da34024b0f49a0b7c709bd35
d60a871db218bb98b265c20f29c221a24763845c
util: support array of formats in util.styleText PR-URL: https://github.com/nodejs/node/pull/52040 Fixes: https://github.com/nodejs/node/issues/52035 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
[ { "path": "doc/api/util.md", "patch": "@@ -1800,7 +1800,8 @@ console.log(util.stripVTControlCharacters('\\u001B[4mvalue\\u001B[0m'));\n added: v21.7.0\n -->\n \n-* `format` {string} A text format defined in `util.inspect.colors`.\n+* `format` {string | Array} A text format or an Array\n+ of text formats de...
2024-03-15T10:42:21
rust-lang/rust
e4d146e0c315328f53edd1140e74a4ba84e6689a
dc57e57f747a1a5ce13c7674f56bce5864c9f9e1
fix: `doc_markdown` add PowerShell to whitelist
[ { "path": "book/src/lint_configuration.md", "patch": "@@ -575,7 +575,7 @@ default configuration of Clippy. By default, any configuration will replace the\n * `doc-valid-idents = [\"ClipPy\"]` would replace the default list with `[\"ClipPy\"]`.\n * `doc-valid-idents = [\"ClipPy\", \"..\"]` would append `Clip...
2026-01-24T21:19:56
vercel/next.js
f3d3809f7db309e578fbbd93fa9879df12e0f36d
4f2b2de0d75a552a56f1df36f466bbb8ae936e73
fix: rspack framework and lib cacheGroups (#79172) This pull request updates the Webpack configuration in `webpack-config.ts` to add specific cache group settings for Rspack builds. The changes aim to improve the chunking strategy by introducing new cache groups for `framework` and `lib` when Rspack is used. ### Chan...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1931,3 +1931,7 @@ export function collectMeta({\n \n return meta\n }\n+\n+export const RSPACK_DEFAULT_LAYERS_REGEX = new RegExp(\n+ `^(|${[WEBPACK_LAYERS.pagesDirBrowser, WEBPACK_LAYERS.pagesDirEdge, WEBPACK_LAYERS.pagesDirNode].join('|')})$`\n+...
2025-05-20T03:18:56
golang/go
c7c4420ae4b0e82b26606776fbd0e4fea97d37c9
c6ab13fc43477d36158aecd85680301094a84488
cmd/go: clarify GODEBUG in go help environment Fixes #37004 Fixes #50444 Change-Id: I7dd5a8c9bd0a2122ff38508cf509369d6d8ad599 Reviewed-on: https://go-review.googlesource.com/c/go/+/632177 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gservicea...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2338,8 +2338,9 @@\n //\t\texternal go command build cache.\n //\t\tSee 'go doc cmd/go/internal/cacheprog'.\n //\tGODEBUG\n-//\t\tEnable various debugging facilities. See https://go.dev/doc/godebug\n-//\t\tfor details.\n+//\t\tEnable various debugging faciliti...
2024-11-28T16:10:52
electron/electron
530a022b0548eb50acde87b5d18b5cff8eb7bbca
f3f327823e577c5869b78c806f99644e9dabfb29
fix: window button visibility fullscreen interaction (#34530)
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -1517,12 +1517,15 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n \n void NativeWindowMac::SetWindowButtonVisibility(bool visible) {\n window_button_visibility_ = visible;\n- // The visibility of window buttons are managed by |button...
2022-06-21T07:35:53
facebook/react
ffb6733eefc23e62c1fb94ce7fc442f87255ebd7
0018cf2246998218b3399ec1d422f9cd53bf1312
fix docs link for useSyncExternalStore (#26452) ## Summary Update readme to new documentation links to [`React.useSyncExternalStore`](https://react.dev/reference/react/useSyncExternalStore ## How did you test this change? This is just a documentation change, so we don't need to test it Co-authored-by: 田源 ...
[ { "path": "packages/use-subscription/README.md", "patch": "@@ -2,7 +2,7 @@\n \n React Hook for subscribing to external data sources.\n \n-**You may now migrate to [`use-sync-external-store`](https://www.npmjs.com/package/use-sync-external-store) directly instead, which has the same API as [`React.useSyncExt...
2023-03-22T01:39:05
rust-lang/rust
a72f68e80154a208b85a3b80cea744b84b7b5d18
a18e6d9d1473d9b25581dd04bef6c7577999631c
Fix is_ascii performance on x86_64 with explicit SSE2 intrinsics Use explicit SSE2 intrinsics to avoid LLVM's broken AVX-512 auto-vectorization which generates ~31 kshiftrd instructions. Performance - AVX-512: 34-48x faster - SSE2: 1.5-2x faster Improves on earlier pr
[ { "path": "library/core/src/slice/ascii.rs", "patch": "@@ -460,56 +460,37 @@ const fn is_ascii(s: &[u8]) -> bool {\n )\n }\n \n-/// Chunk size for vectorized ASCII checking (two 16-byte SSE registers).\n+/// Chunk size for SSE2 vectorized ASCII checking (4x 16-byte loads).\n #[cfg(all(target_arch = \"x8...
2026-01-24T19:05:01
nodejs/node
20525f14b94867cf5d5e2292fb3b8e1462055a74
639c09600418c42ff91979d60392d02c269c4dab
lib: fix listen with handle in cluster worker PR-URL: https://github.com/nodejs/node/pull/52056 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "lib/net.js", "patch": "@@ -2002,7 +2002,7 @@ Server.prototype.listen = function(...args) {\n if (options instanceof TCP) {\n this._handle = options;\n this[async_id_symbol] = this._handle.getAsyncId();\n- listenInCluster(this, null, -1, -1, backlogFromArgs);\n+ listenInCluster(thi...
2024-03-14T14:54:31
vercel/next.js
685a68716f78d9720044d064e94a615eaa59acb2
94b246469e6af89d7f509b7a5c3381452543d0f9
Always show warning if fetch cache limit hit (#79384) We previously weren't showing any indication when we weren't setting to the runtime cache in production due to the size limit being hit which can make debugging cache misses very tricky so this ensures we always show the warning not just in dev mode. x-ref: [slack...
[ { "path": "packages/next/src/server/lib/incremental-cache/index.ts", "patch": "@@ -571,11 +571,12 @@ export class IncrementalCache implements IncrementalCacheType {\n !this.hasCustomCacheHandler &&\n itemSize > 2 * 1024 * 1024\n ) {\n+ const warningText = `Failed to set Next.js data cac...
2025-05-19T19:29:15
golang/go
f5a89dff67ae00bfc70fbfccc1b1cc044e565b50
4225c6cb372e0fea7586dd646e991faa5df20671
crypto: fix fips140=only detection of SHA-3 Both fips140only and the service indicator checks in crypto/internal/fips140/... expect to type assert to crypto/internal/fips140/{sha256,sha512,sha3}.Digest. However, crypto/sha3 returns a wrapper concrete type around sha3.Digest. Add a new fips140hash.Unwrap function to ...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -23,6 +23,7 @@ import (\n \t\"crypto/internal/boring\"\n \t\"crypto/internal/boring/bbig\"\n \t\"crypto/internal/fips140/ecdsa\"\n+\t\"crypto/internal/fips140hash\"\n \t\"crypto/internal/fips140only\"\n \t\"crypto/internal/randutil\"\n \t\"crypto/sha512\"\...
2025-01-06T17:52:35
facebook/react
ef34ca6cb044bca24890464e52a2e04b1984ba1b
bf1db812a8c1131c21ebe64643e6f4298a8a9295
Model other assignment variants as values The previous PR only updated simple assignment expressions (where the lvalue is an identifier), this PR extends the same idea to all assignment variants. Note that there is one case that doesn't work yet, which is complex destructuring assignment as a value: ```javascrip...
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -2029,13 +2029,20 @@ function lowerAssignment(\n });\n return { kind: \"UnsupportedNode\", node: lvalueNode, loc };\n }\n- return {\n- kind: \"PropertyStore\",\n- object,\n- property: ...
2023-03-21T17:01:09