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
electron/electron
42087e306c31044d22cd39b48ffb76487c315978
2ea569e0d271bdd1b4e5b629133aec703ad8a3b2
fix: add language to html in quick-start.md (#41225) Add language to html in quick-start.md We must define language in HTML for different reasons (accessibility++)
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -126,7 +126,7 @@ folder of your project:\n \n ```html\n <!DOCTYPE html>\n-<html>\n+<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->\n@@ -420,9 +420,8 @@ window.addEventList...
2024-02-08T01:27:50
vercel/next.js
e539ca1e48dd0e09bbd67fd1b809707ba5863b1e
6472fb5c2cd4f36012e2026ff6876ad4205cc01e
build: error on different root folder (#83416)
[ { "path": "packages/next/errors.json", "patch": "@@ -798,5 +798,6 @@\n \"797\": \"Failed to transpile \\\"%s\\\".\",\n \"798\": \"expected a result to be returned\",\n \"799\": \"expected a page response, got %s\",\n- \"800\": \"`experimental.rdcForNavigations` is enabled, but `experimental.ppr` is n...
2025-09-04T13:14:00
facebook/react
5c420e3824859b33321b4bc9ce3119806fac56c2
8b01a2e0bf17adc6bb7b81d1d0063c7efe9ea8b1
[compiler] Debug tool to emit change detection code rather than memoization Summary: The essential assumption of the compiler is that if the inputs to a computation have not changed, then the output should not change either--computation that the compiler optimizes is idempotent. This is, of course, known to be false ...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts", "patch": "@@ -149,7 +149,8 @@ function* runWithEnvironment(\n \n if (\n !env.config.enablePreserveExistingManualUseMemo &&\n- !env.config.disableMemoizationForDebugging\n+ !env.config.disableMemoizationForDebug...
2024-05-31T21:05:58
nodejs/node
069ec1b983f65b1003a19e82612f7db402213cbe
58a8eb4e1c722d319dc4f2325d9c7b9da2bd587f
doc: consolidate history table of CustomEvent PR-URL: https://github.com/nodejs/node/pull/55758 Fixes: https://github.com/nodejs/node/issues/55733 Refs: https://github.com/nodejs/node/issues/55733 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
[ { "path": "doc/api/events.md", "patch": "@@ -2427,11 +2427,17 @@ added:\n - v18.7.0\n - v16.17.0\n changes:\n+ - version: v23.0.0\n+ pr-url: https://github.com/nodejs/node/pull/52723\n+ description: No longer experimental.\n - version:\n - v22.1.0\n - v20.13.0\n pr-url: https://gith...
2024-11-09T02:47:32
golang/go
8131635e5a9c7ae2fd2c083bed9e841d27226500
67c1704444ba9661699a80d0ea0a2df20b4107e2
runtime: run TestSignalDuringExec in its own process group TestSignalDuringExec sends a SIGWINCH to the whole process group. However, it may execute concurrently with other copies of the runtime tests, especially through `go tool dist`, and gdb version <12.1 has a bug in non-interactive mode where recieving a SIGWINCH...
[ { "path": "src/runtime/runtime-gdb_test.go", "patch": "@@ -78,6 +78,9 @@ func checkGdbVersion(t *testing.T) {\n \tif major < 10 {\n \t\tt.Skipf(\"skipping: gdb version %d.%d too old\", major, minor)\n \t}\n+\tif major < 12 || (major == 12 && minor < 1) {\n+\t\tt.Logf(\"gdb version <12.1 is known to crash du...
2025-07-09T15:50:06
rust-lang/rust
a561a4b8e19ec1ba334c1433827b27208953d3d2
fbd6934114e905d3cc61adbbd7e4a355eac5d0d7
Errors on illegal SV init
[ { "path": "compiler/rustc_hir_typeck/src/callee.rs", "patch": "@@ -99,6 +99,15 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n _ => { /* cannot have a non-rust abi */ }\n }\n \n+ if self.is_scalable_vector_ctor(autoderef.final_ty()) {\n+ let mut err = self.dcx().create_err(error...
2026-02-04T12:30:32
vercel/next.js
dd31b3d6a27a60917ff9c2cb7877ba53e6ea77cf
7e0fc3b2713df41f7b77945f64e3fb7b4c390a38
Tests: Don't use next/dist for test/e2e/streaming-ssr (#83262) ## What? This test incorrectly using internals instead of the public api. Switched it to using the custom server api.
[ { "path": "test/e2e/streaming-ssr/custom-server/server.js", "patch": "@@ -1,43 +1,31 @@\n-const NextServer = require('next/dist/server/next-server').default\n-const defaultNextConfig =\n- require('next/dist/server/config-shared').defaultConfig\n+const next = require('next')\n const http = require('http')\n...
2025-09-04T09:55:25
electron/electron
2ea569e0d271bdd1b4e5b629133aec703ad8a3b2
4367c5ad9e44ec6f4464cdd7a08a0e447203d21b
docs: fix docs/api/base-window.md (#41240) * docs: fix docs/api/base-window.md * Update docs/api/base-window.md Co-authored-by: David Sanders <dsanders11@ucsbalum.com> --------- Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
[ { "path": "docs/api/base-window.md", "patch": "@@ -345,6 +345,10 @@ A `Integer` property representing the unique ID of the window. Each ID is unique\n \n A `View` property for the content view of the window.\n \n+#### `win.tabbingIdentifier` _macOS_ _Readonly_\n+\n+A `string` (optional) property that is equ...
2024-02-08T01:13:48
facebook/react
8b01a2e0bf17adc6bb7b81d1d0063c7efe9ea8b1
28fe581bac10ca91b0d12d95beb034cfe790f3d0
[compiler] Option to always take the non-memo branch Summary: This adds a debugging mode to the compiler that simply adds a `|| true` to the guard on all memoization blocks, which results in the generated code never using memoized values and always recomputing them. This is designed as a validation tool for the compil...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts", "patch": "@@ -147,7 +147,10 @@ function* runWithEnvironment(\n validateContextVariableLValues(hir);\n validateUseMemo(hir);\n \n- if (!env.config.enablePreserveExistingManualUseMemo) {\n+ if (\n+ !env.config.enabl...
2024-05-31T21:04:54
nodejs/node
e0ef622c54e49f9d3ae1be2f4631154d90272915
37c941be052a8b98eb6066cc38f8e30603e4c5d8
fs: fix bufferSize option for opendir recursive The bufferSize option was not respected in recursive mode. This PR implements a naive solution to fix this issue until a better implementation can be designed. Fixes: https://github.com/nodejs/node/issues/48820 PR-URL: https://github.com/nodejs/node/pull/55744 Reviewed-...
[ { "path": "lib/internal/fs/dir.js", "patch": "@@ -164,12 +164,16 @@ class Dir {\n return;\n }\n \n- const result = handle.read(\n+ // Fully read the directory and buffer the entries.\n+ // This is a naive solution and for very large sub-directories\n+ // it can even block the event loo...
2024-11-08T16:03:55
golang/go
54c9d776302d53ab1907645cb67fa4a948e1500c
fca43a8436f2dbec981fb002c6ba31fe9ff89dd6
cmd/go: disable support for multiple vcs in one module Removes the somewhat redundant vcs.FromDir, "allowNesting" argument, which was always enabled, and disallow multiple VCS metadata folders being present in a single directory. This makes VCS injection attacks much more difficult. Also adds a GODEBUG, allowmultiple...
[ { "path": "doc/godebug.md", "patch": "@@ -189,6 +189,11 @@ crypto/x509.CreateCertificate. The setting `x509sha256skid=0` reverts to SHA-1.\n Go 1.25 corrected the semantics of contention reports for runtime-internal locks,\n and so removed the [`runtimecontentionstacks` setting](/pkg/runtime#hdr-Environment...
2025-06-09T18:23:46
rust-lang/rust
d778d122faf5672b3bc1c4619c7218f63b504b9f
c8d56aa26a0061c02aa23f337041c7cf72ccccde
fix: generate method assist uses enclosing impl block instead of first found
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_function.rs", "patch": "@@ -146,10 +146,19 @@ fn gen_method(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {\n if !is_editable_crate(target_module.krate(ctx.db()), ctx.db()) {\n return None;\n }\n+ //Ch...
2026-02-20T13:31:22
facebook/react
28fe581bac10ca91b0d12d95beb034cfe790f3d0
8bc81ca90fb0afb3fe4a28d8931733a3e6fef994
[compiler] Option for preserving calls to useMemo/useCallback Summary: This adds a compiler option to not drop existing manual memoization and leaving useMemo/useCallback in the generated source. Why do we need this, given that we also have options to validate or ensure that existing memoization is preserved? It's bec...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts", "patch": "@@ -147,8 +147,10 @@ function* runWithEnvironment(\n validateContextVariableLValues(hir);\n validateUseMemo(hir);\n \n- dropManualMemoization(hir);\n- yield log({ kind: \"hir\", name: \"DropManualMemoizatio...
2024-05-31T21:02:12
nodejs/node
e0145b4c38ab11841a25e36683df6fead869eb52
6f12f1e500cd6d9f824aa80c46386e1805d3aa63
tools: fix c-ares updater script for Node.js 18 GitHub Actions is by default running the tools updater workflow with Node.js 18. Avoid use of `import.meta.dirname`, which wasn't backported to Node.js 18. PR-URL: https://github.com/nodejs/node/pull/55717 Refs: https://github.com/nodejs/node/pull/55445 Reviewed-By: Mar...
[ { "path": "tools/dep_updaters/update-c-ares.mjs", "patch": "@@ -1,8 +1,9 @@\n // Synchronize the sources for our c-ares gyp file from c-ares' Makefiles.\n import { readFileSync, writeFileSync } from 'node:fs';\n import { join } from 'node:path';\n+import { fileURLToPath } from 'node:url';\n \n-const srcroot...
2024-11-06T15:50:12
golang/go
86b5ba731044dcbb0400f03293989796ed5807fe
ef46e1b164e4a530c278434a9aaa2b23ce9a9d12
internal/trace: only test for sync preemption if async preemption is off Currently, the test change made for the fix to #68090 is flaky. This is because the sync-point-only goroutine that we expect to be sync preempted might only ever get async preempted in some circumstances. This change adds a variant to all trace ...
[ { "path": "src/internal/trace/trace_test.go", "patch": "@@ -23,7 +23,7 @@ import (\n )\n \n func TestTraceAnnotations(t *testing.T) {\n-\ttestTraceProg(t, \"annotations.go\", func(t *testing.T, tb, _ []byte, _ bool) {\n+\ttestTraceProg(t, \"annotations.go\", func(t *testing.T, tb, _ []byte, _ string) {\n \t...
2025-07-07T17:19:17
facebook/react
6d3110b4d95a8594b0cbe437c9d71d3e2f2ba2d4
63d673c67656390d776bfa082c6ab49f0c636582
Don't allow blank issues (#29691) We're getting a ton of issues filed using the blank template, for example these airline support tickets: https://github.com/facebook/react/issues/29678 I think someone somewhere is linking to our issues with pre-filled content. This fixes it by forcing a template to be used.
[ { "path": ".github/ISSUE_TEMPLATE/config.yml", "patch": "@@ -1,3 +1,4 @@\n+blank_issues_enabled: false\n contact_links:\n - name: 📃 Documentation Issue\n url: https://github.com/reactjs/react.dev/issues/new/choose", "additions": 1, "deletions": 0, "language": "YAML" } ]
2024-05-31T16:05:32
vercel/next.js
7e0fc3b2713df41f7b77945f64e3fb7b4c390a38
f2e3357b5b772da64da37a83b5be7c9195df07eb
Turbopack: refactor segment config parsing (#83297) Closes PACK-5382 Previously, Turbopack validated every single module for route segment config, leading to false positives (on non-page files) and worse build performance. There were also three separate implementations of this logic. Now, all of these cases are fata...
[ { "path": "crates/next-api/src/app.rs", "patch": "@@ -1,7 +1,6 @@\n use anyhow::{Context, Result, bail};\n use next_core::{\n all_assets_from_entries,\n- app_segment_config::NextSegmentConfig,\n app_structure::{\n AppPageLoaderTree, CollectedRootParams, Entrypoint as AppEntrypoint,\n ...
2025-09-04T08:58:23
nodejs/node
c185e1162385ecd23ae2eea2fd38510ad0b6a673
98e5693cd460f675c18d8817b3fbd314089033c6
util: do not catch on circular `@@toStringTag` errors PR-URL: https://github.com/nodejs/node/pull/55544 Fixes: https://github.com/nodejs/node/issues/55539 Reviewed-By: James M Snell <jasnell@gmail.com> Co-Authored-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -1072,6 +1072,7 @@ function formatRaw(ctx, value, recurseTimes, typedArray) {\n ArrayPrototypePushApply(output, protoProps);\n }\n } catch (err) {\n+ if (!isStackOverflowError(err)) throw err;\n const constructorName = StringPrototype...
2024-11-06T09:57:15
golang/go
ef46e1b164e4a530c278434a9aaa2b23ce9a9d12
75b43f9a97ada1f0fce7a5775d4ab373bd0dad9c
cmd/internal/doc: fix GOROOT skew and path joining bugs Use the goCmd() function to get the go command to invoke, so that when GOROOT is set, the go command that's invoked uses the same GOROOT. Otherwise there will be skew between the go command and the tools and runtime. Also use the environment when determining GOPR...
[ { "path": "src/cmd/internal/doc/main.go", "patch": "@@ -15,6 +15,7 @@ import (\n \t\"io\"\n \t\"log\"\n \t\"net\"\n+\t\"net/url\"\n \t\"os\"\n \t\"os/exec\"\n \t\"os/signal\"\n@@ -214,7 +215,10 @@ func doPkgsite(urlPath string) error {\n \t\treturn fmt.Errorf(\"failed to find port for documentation server: ...
2025-07-01T21:16:53
electron/electron
5686f88bd298ea682d4eae576a6f84cc7844bd22
768ece6b54f78e65efbea2c3fd39eea30e48332b
refactor: KeyWeakMap cleanup (#41242) * refactor: make KeyWeakMap::KeyObject private * perf: avoid redundant map lookup * refactor: remove unused KeyWeakMap::Has() * refactor: make KeyWeakMap dtor nonvirtual no inheritance used, so no need for virtual dtor? * chore: fix KeyWeakMap code comment * ref...
[ { "path": "shell/common/gin_helper/trackable_object.h", "patch": "@@ -107,7 +107,7 @@ class TrackableObject : public TrackableObjectBase, public EventEmitter<T> {\n \n // Removes this instance from the weak map.\n void RemoveFromWeakMap() {\n- if (weak_map_ && weak_map_->Has(weak_map_id()))\n+ if ...
2024-02-06T15:18:05
vercel/next.js
f2e3357b5b772da64da37a83b5be7c9195df07eb
607cce95f9419c3925016a8153abde93e23808a2
update `.node-version` to v20 (#83413) <!-- 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 Contributors ### Improvi...
[ { "path": ".node-version", "patch": "@@ -1 +1 @@\n-v18\n+v20", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2025-09-04T08:57:21
facebook/react
8fd963a1e5ec89459cac27fb1d9ad193a0604110
aa3d6c0840357eb469df9bd1c20b201197ce3bdc
Fix Missing `key` Validation in `React.Children` (#29675) ## Summary In https://github.com/facebook/react/pull/29088, the validation logic for `React.Children` inspected whether `mappedChild` — the return value of the map callback — has a valid `key`. However, this deviates from existing behavior which only warn...
[ { "path": "packages/react/src/ReactChildren.js", "patch": "@@ -229,11 +229,21 @@ function mapIntoArray(\n childKey,\n );\n if (__DEV__) {\n- if (nameSoFar !== '' && mappedChild.key == null) {\n- // We need to validate that this child should have had a key befo...
2024-05-31T01:02:47
nodejs/node
98e5693cd460f675c18d8817b3fbd314089033c6
ccac4ee19d508abaf38bbabb87288ddeec7fcc21
doc: clarity to available addon options bullet pointed addon optons; wording clarity; fixes typo PR-URL: https://github.com/nodejs/node/pull/55715 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
[ { "path": "doc/api/addons.md", "patch": "@@ -8,20 +8,25 @@ _Addons_ are dynamically-linked shared objects written in C++. The\n [`require()`][require] function can load addons as ordinary Node.js modules.\n Addons provide an interface between JavaScript and C/C++ libraries.\n \n-There are three options for ...
2024-11-06T07:55:49
golang/go
33fb4819f59d16c483be6cf2016f79eef3543691
a995269a9383d90a3bdd029989bafc8fc3b19dc3
cmd/compile/internal/ssa: skip EndSequence entries in TestStmtLines The TestStmtLines test has been accessing a nil pointer when it tries to look up LineEntry.File.Name on a line entry with EndSequence set to true. The doc for EndSequence specifies that if EndSequence is set, only it and the Address field are meaningf...
[ { "path": "src/cmd/compile/internal/ssa/stmtlines_test.go", "patch": "@@ -120,6 +120,11 @@ func TestStmtLines(t *testing.T) {\n \t\t\t\tbreak\n \t\t\t}\n \t\t\tmust(err)\n+\t\t\tif le.EndSequence {\n+\t\t\t\t// When EndSequence is true only\n+\t\t\t\t// le.Address is meaningful, skip.\n+\t\t\t\tcontinue\n+\...
2025-07-04T10:45:42
electron/electron
08236f7a9e9d664513e2b76b54b9bea003101e5d
5dfa9e33172d994c2f2a98a00312134cbc703d6b
refactor: remove deprecated BrowserContext::ResourceContext (#41221) * refactor: remove ResourceContext* arg from GetNSSCertDatabaseForResourceContext() * refactor: remove ResourceContext* arg from CertificateManagerModel::GetCertDBOnIOThread() * refactor: remove BrowserContext* arg from CertificateManagerModel:...
[ { "path": "shell/browser/api/electron_api_app.cc", "patch": "@@ -1228,13 +1228,10 @@ void App::ImportCertificate(gin_helper::ErrorThrower thrower,\n return;\n }\n \n- auto* browser_context = ElectronBrowserContext::From(\"\", false);\n if (!certificate_manager_model_) {\n- CertificateManagerMode...
2024-02-06T00:12:34
facebook/react
9710853baf9649fed556dc0e9d39765649675b7b
9d4fba078812de0363fe9514b943650fa479e8af
[Flight] Try/Catch Eval (#29671) Follow up to https://github.com/facebook/react/pull/29632. It's possible for `eval` to throw such as if we're in a CSP environment. This is non-essential debug information. We can still proceed to create a fake stack entry. It'll still have the right name. It just won't have the ...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -1648,7 +1648,7 @@ const taskCache: null | WeakMap<\n ConsoleTask,\n > = supportsCreateTask ? new WeakMap() : null;\n \n-type FakeFunction<T> = (FakeFunction<T>) => T;\n+type FakeFunction<T> = (() => T) => T;\n const fakeFunctionCach...
2024-05-30T19:00:55
nodejs/node
4da8d110f3930e6f97c203e6a3d031cb583f4ca0
ecc62381a883ecacbcd076473132192014d6f7d7
assert: fix `deepStrictEqual` on errors when `cause` is not undefined PR-URL: https://github.com/nodejs/node/pull/55406 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Ruben Bridgewater ...
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -15,6 +15,8 @@ const {\n StringPrototypeSplit,\n } = primordials;\n \n+const { isError } = require('internal/util');\n+\n const { inspect } = require('internal/util/inspect');\n const colors = require('internal/util/colors');\n const { valid...
2024-11-05T23:45:05
golang/go
a995269a9383d90a3bdd029989bafc8fc3b19dc3
6c3b5a2798c83d583cb37dba9f39c47300d19f1f
sort: clarify Less doc clarifies the requirements for Less Fixes https://github.com/golang/go/issues/73420 Change-Id: I7d49b10fad78c618d946b3bb161ce19680ede47a GitHub-Last-Rev: 7a49ad81923048bfc99b265dd89f012eefcf5699 GitHub-Pull-Request: golang/go#74333 Reviewed-on: https://go-review.googlesource.com/c/go/+/683275 ...
[ { "path": "src/sort/sort.go", "patch": "@@ -26,13 +26,15 @@ type Interface interface {\n \t// Sort may place equal elements in any order in the final result,\n \t// while Stable preserves the original input order of equal elements.\n \t//\n-\t// Less must describe a transitive ordering:\n+\t// Less must des...
2025-07-06T18:41:28
electron/electron
5dfa9e33172d994c2f2a98a00312134cbc703d6b
fb888a6989dacfd6be3fe1a2b1cfffd0de81246a
fix: `original-fs` import replacement (#41209) fix: original-fs import replacement
[ { "path": "patches/node/build_add_gn_build_files.patch", "patch": "@@ -2312,10 +2312,10 @@ index 0000000000000000000000000000000000000000..7848ddb1841b6d4f36e9376c73564eb4\n + f.write('\\n')\n diff --git a/tools/generate_original_fs.py b/tools/generate_original_fs.py\n new file mode 100644\n-index 000000...
2024-02-05T08:51:04
facebook/react
9d4fba078812de0363fe9514b943650fa479e8af
fb61a1b515c5ea0e31b0dac19184454a79c4baf1
[Flight] Eval Fake Server Component Functions to Recreate Native Stacks (#29632) We have three kinds of stacks that we send in the RSC protocol: - The stack trace where a replayed `console.log` was called on the server. - The JSX callsite that created a Server Component which then later called another component....
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -67,8 +67,11 @@ import {\n REACT_ELEMENT_TYPE,\n REACT_POSTPONE_TYPE,\n ASYNC_ITERATOR,\n+ REACT_FRAGMENT_TYPE,\n } from 'shared/ReactSymbols';\n \n+import getComponentNameFromType from 'shared/getComponentNameFromType';\n+\n ex...
2024-05-30T16:00:46
nodejs/node
7f68e5466a9c443d3b19a0a0749debe493a8af34
25f84747305787126126d4ce1ad682382efcef04
path,win: fix bug in resolve and normalize Fixes: https://github.com/nodejs/node/issues/54025 PR-URL: https://github.com/nodejs/node/pull/55623 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/path.js", "patch": "@@ -268,10 +268,16 @@ const win32 = {\n j++;\n }\n if (j === len || j !== last) {\n- // We matched a UNC root\n- device =\n- `\\\\\\\\${firstPart}\\\\${StringPrototypeSlice(path, las...
2024-11-05T23:21:54
electron/electron
fb888a6989dacfd6be3fe1a2b1cfffd0de81246a
398ca2a0190d6c86d908a71c887260bf13ef5e2b
fix: crash problem with message_port close event (#41201) When worker_thread shutdown, it will destory context and close message_port. In this case, it should not dispatch close event. Because it forbid script running during NotifyContextDestroyed in ContextLifecycleNotifier. Now chromium has implemented close_eve...
[ { "path": "patches/chromium/.patches", "patch": "@@ -47,7 +47,6 @@ feat_add_support_for_overriding_the_base_spellchecker_download_url.patch\n feat_enable_offscreen_rendering_with_viz_compositor.patch\n gpu_notify_when_dxdiag_request_fails.patch\n feat_allow_embedders_to_add_observers_on_created_hunspell.pat...
2024-02-05T07:38:30
facebook/react
fb61a1b515c5ea0e31b0dac19184454a79c4baf1
5bd403122645ef0f0924ac5466f56e670a8f5b8d
fix[ReactDebugHooks/find-primitive-index]: remove some assumptions (#29652) Partially reverts https://github.com/facebook/react/pull/28593. While rolling out RDT 5.2.0, I've observed some issues on React Native side: hooks inspection for some complex hook trees, like in AnimatedView, were broken. After some debug...
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -868,7 +868,12 @@ function findCommonAncestorIndex(rootStack: any, hookStack: any) {\n }\n \n function isReactWrapper(functionName: any, wrapperName: string) {\n- return parseHookName(functionName) === wrapperName;\n+ const hookNa...
2024-05-30T15:11:56
vercel/next.js
fc6e3dbc5b8528fdf27478f1bacff769af8115b0
ce359e0065206ae8b2b2139bfd4b55cb273d0a3a
Update next-response.mdx (#83302) This PR aims to fix a typo in documentation Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/01-app/03-api-reference/04-functions/next-response.mdx", "patch": "@@ -58,7 +58,7 @@ Given a cookie name, delete the cookie from the response.\n ```ts\n // Given incoming request /home\n let response = NextResponse.next()\n-// Returns true for deleted, false is nothing is deleted\n+// Return...
2025-09-03T23:31:27
nodejs/node
25f84747305787126126d4ce1ad682382efcef04
e53fe03a181f89d205f373b94c818139b52e1943
doc: update `--max-semi-space-size` description PR-URL: https://github.com/nodejs/node/pull/55495 Fixes: https://github.com/nodejs/node/issues/55487 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -3541,8 +3541,12 @@ an increase of 1 MiB to semi-space applies to each of the three individual\n semi-spaces and causes the heap size to increase by 3 MiB. The throughput\n improvement depends on your workload (see [#42511][]).\n \n-The default value is 16 MiB for 64...
2024-11-05T23:14:15
electron/electron
398ca2a0190d6c86d908a71c887260bf13ef5e2b
dac29f99492fda71dc79e1ee8874bee36a3b2ae6
fix: make sure invalid URL loads promises are fulfilled. (#41194) * fix: make sure invalid URL loads promisses are fulfilled. * fixup! fix: make sure invalid URL loads promisses are fulfilled.
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -366,11 +366,6 @@ WebContents.prototype.loadURL = function (url, options) {\n resolveAndCleanup();\n }\n };\n- const failListener = (event: Electron.Event, errorCode: number, errorDescription: string, validatedURL: string, isMain...
2024-02-05T07:36:51
facebook/react
72644ef2f2ec7a274f79f6b32320d62757521329
51dd09631ac0c7824fec55f38462846b6fe41d06
Fix `key` Warning for Flattened Positional Children (#29662) ## Summary https://github.com/facebook/react/pull/29088 introduced a regression triggering this warning when rendering flattened positional children: > Each child in a list should have a unique "key" prop. The specific scenario that triggers this i...
[ { "path": "packages/react/src/__tests__/ReactChildren-test.js", "patch": "@@ -868,6 +868,45 @@ describe('ReactChildren', () => {\n ]);\n });\n \n+ it('should warn for flattened children lists', async () => {\n+ function ComponentRenderingFlattenedChildren({children}) {\n+ return <div>{React.C...
2024-05-30T14:25:48
golang/go
72c39ef83470334b1e592312d30ebef9a1e8ddda
1ee72a15a3e893c82cc7108c49f141e824f941c2
[dev.simd] cmd/compile: fix the "always panic" code to actually panic without this change, the intrinsics of non-constant immediates just substitute a zero, which is wrong. Change-Id: I2c39ebedcfb0d0d6c072f4434f393027c6f3f033 Reviewed-on: https://go-review.googlesource.com/c/go/+/685575 Reviewed-by: Junyang Shao <sha...
[ { "path": "src/cmd/compile/internal/ssagen/intrinsics.go", "patch": "@@ -1636,7 +1636,7 @@ func opLen4(op ssa.Op, t *types.Type) func(s *state, n *ir.CallExpr, args []*ssa\n \n func plainPanicSimdImm(s *state) {\n \tcmp := s.newValue0(ssa.OpConstBool, types.Types[types.TBOOL])\n-\tcmp.AuxInt = 1\n+\tcmp.Aux...
2025-07-02T18:28:10
vercel/next.js
ce359e0065206ae8b2b2139bfd4b55cb273d0a3a
c181f356a1c1df42d830e6c12b3742383a033c3e
Fixed broken link in backend-for-frontend.mdx (#83310) Broken link to API Routes in Pages Router Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/01-app/02-guides/backend-for-frontend.mdx", "patch": "@@ -28,7 +28,7 @@ To implement this pattern, use:\n \n - [Route Handlers](/docs/app/api-reference/file-conventions/route)\n - [`middleware`](/docs/app/api-reference/file-conventions/middleware)\n-- In Pages Router, [API Routes](/pages/bui...
2025-09-03T23:25:35
nodejs/node
d35cde624f5001e5c09b0bb75b3d34b94a859e4e
bdc266269cec8832bc39b098830ff0065a76a532
util: add sourcemap support to getCallSites PR-URL: https://github.com/nodejs/node/pull/55589 Fixes: https://github.com/nodejs/node/issues/55109 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -3899,7 +3899,7 @@ The `util.getCallSite` API has been removed. Please use [`util.getCallSites()`][\n [`url.parse()`]: url.md#urlparseurlstring-parsequerystring-slashesdenotehost\n [`url.resolve()`]: url.md#urlresolvefrom-to\n [`util._extend()`]: util.md#uti...
2024-11-04T16:06:47
facebook/react
867edc6576956f577718540c504a10bcfe2aad77
320da675705e8700bc1377a5fa22b4cdf1e52704
compiler: ValidateNoRefInRender detects writes of refs Improves ValidateNoRefAccessInRender, detecting modifications of refs during render. Fixes #29161 ghstack-source-id: 99078b3cea5b2d9019dbf77ede9c2e4cd9fbfd27 Pull Request resolved: https://github.com/facebook/react/pull/29170
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccesInRender.ts", "patch": "@@ -10,6 +10,7 @@ import {\n HIRFunction,\n IdentifierId,\n Place,\n+ SourceLocation,\n isRefValueType,\n isUseRefType,\n } from \"../HIR\";\n@@ -117,7 +118,12 @@ function validateNoR...
2024-05-29T14:56:27
electron/electron
2ebaebb603620f18ba231bda684f9af392c76923
9bfa16ad7f118e755d340779958bcb5f2a9950b2
refactor: replace use of deprecated `base::JSONWriter::WriteJson()` (#41215) * refactor: use base::WriteJson() in ListValueToNSArray() refactor: use base::WriteJson() in DictionaryValueToNSDictionary() * refactor: use base::WriteJson() in Debugger::SendCommand() * refactor: use base::WriteJson() in ScriptingE...
[ { "path": "shell/browser/api/electron_api_debugger.cc", "patch": "@@ -159,8 +159,7 @@ v8::Local<v8::Promise> Debugger::SendCommand(gin::Arguments* args) {\n request.Set(\"sessionId\", session_id);\n }\n \n- std::string json_args;\n- base::JSONWriter::Write(request, &json_args);\n+ const auto json_a...
2024-02-02T18:25:58
golang/go
6c3b5a2798c83d583cb37dba9f39c47300d19f1f
dd687c386016445b2f4abc2a958963dd2056d95f
runtime: correct vdsoSP on S390X It should get the caller's SP. The current code gets the address of the first parameter, which is one word above the caller's SP. There is a slot for saving the LR at 0(SP) in the caller's frame. Fixes #62086 (for s390x). Change-Id: Ie8cbfabc8161b98658c884a32e0af72df189ea56 Reviewed-...
[ { "path": "src/runtime/sys_linux_s390x.s", "patch": "@@ -226,7 +226,7 @@ TEXT runtime·walltime(SB),NOSPLIT,$32-12\n \tMOVD\tR4, 24(R15)\n \n \tMOVD\tR14, R8 \t\t// Backup return address\n-\tMOVD\t$sec+0(FP), R4 \t// return parameter caller\n+\tMOVD\t$ret-8(FP), R4 \t// caller's SP\n \n \tMOVD\tR8, m_vdsoPC(...
2025-07-03T03:26:44
nodejs/node
bdc266269cec8832bc39b098830ff0065a76a532
32ff100bfa0c0f4ff72fd2228bc64b1d7ec62557
sqlite: improve error handling using MaybeLocal As per James' suggestion, consistently use MaybeLocal and avoid Check() and ToLocalChecked() entirely. Refs: https://github.com/nodejs/node/pull/54687 PR-URL: https://github.com/nodejs/node/pull/55571 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "src/node_sqlite.cc", "patch": "@@ -56,40 +56,56 @@ using v8::Value;\n } \\\n } while (0)\n \n-inline Local<Object> CreateSQLiteError(Isolate* isolate, const char* message) {\n- Local<String> js_msg = String::NewFromUt...
2024-11-04T12:51:19
vercel/next.js
7861621f588865544276d4ba7444ee7148419f6b
c2d3e65482f036616504e67a81455437c73bb5d6
test: Refactor edge-runtime-dynamic-code test (#83390) This test is about `eval` But it also used a non-static middleware `matchers` config, which is going to break once we are more strict about this and throw a build error.
[ { "path": "test/integration/edge-runtime-dynamic-code/lib/utils.js", "patch": "@@ -1,11 +1,3 @@\n-export const useCases = {\n- eval: 'using-eval',\n- noEval: 'not-using-eval',\n- wasmCompile: 'using-webassembly-compile',\n- wasmInstanciate: 'using-webassembly-instantiate',\n- wasmBufferInstanciate: 'us...
2025-09-03T21:22:16
rust-lang/rust
96e7213d310861698667e36b5568147c9217c84e
11953d71f5e18701e6a9f7c10f3bb612422e726b
Fix rustc test suite
[ { "path": "scripts/setup_rust_fork.sh", "patch": "@@ -63,18 +63,18 @@ index 2e16f2cf27..3ac3df99a8 100644\n # Note that RUSTFLAGS_BOOTSTRAP should always be added to the end of\n # RUSTFLAGS, since that causes RUSTFLAGS_BOOTSTRAP to override RUSTFLAGS.\n diff --git a/src/bootstrap/src/core...
2026-02-20T11:01:07
golang/go
dd687c386016445b2f4abc2a958963dd2056d95f
b3251514531123d7fd007682389bce7428d159a0
hash: document that Clone may only return ErrUnsupported or a nil error Updates #69521 Change-Id: I6a6a6964ce384a80c4c89efe67c260dc6e9ed6c8 Reviewed-on: https://go-review.googlesource.com/c/go/+/685235 Auto-Submit: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts....
[ { "path": "src/hash/hash.go", "patch": "@@ -64,7 +64,8 @@ type Hash64 interface {\n // unless GOFIPS140=v1.0.0 is set.\n //\n // If a hash can only determine at runtime if it can be cloned (e.g. if it wraps\n-// another hash), it may return an error wrapping [errors.ErrUnsupported].\n+// another hash), Clon...
2025-07-01T09:51:37
facebook/react
38e3b23483bf7a612391cd617a8926aa1f3cf52e
afb2c39ec36d40fff362be465e2a310661469630
Tweak error message for "Should have a queue" (#29626)
[ { "path": "packages/react-reconciler/src/ReactFiberHooks.js", "patch": "@@ -1260,7 +1260,8 @@ function updateReducerImpl<S, A>(\n \n if (queue === null) {\n throw new Error(\n- 'Should have a queue. This is likely a bug in React. Please file an issue.',\n+ 'Should have a queue. You are likel...
2024-05-29T15:41:10
nodejs/node
794cb51112f81281c11a1787194012d2e798c391
8dd0819ff38bb0bafac0957f7dbb35fe4ae662de
tools: fix root certificate updater Determine the NSS version from actual Firefox releases, instead of attempting to parse a wiki page (which is sensitive to formatting changes and relies on the page being up to date). PR-URL: https://github.com/nodejs/node/pull/55681 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> R...
[ { "path": "tools/dep_updaters/update-root-certs.mjs", "patch": "@@ -8,109 +8,78 @@ import { pipeline } from 'node:stream/promises';\n import { fileURLToPath } from 'node:url';\n import { parseArgs } from 'node:util';\n \n-// Constants for NSS release metadata.\n-const kNSSVersion = 'version';\n-const kNSSDa...
2024-11-01T16:36:45
rust-lang/rust
87b3f55b16011d5f85895373c6bead55b5810f08
2a2a8aea584e45e877fdfe8fc4c905028acebd84
fix src/tools
[ { "path": "clippy_lints/src/attrs/inline_always.rs", "patch": "@@ -1,6 +1,6 @@\n use super::INLINE_ALWAYS;\n use clippy_utils::diagnostics::span_lint;\n-use rustc_hir::attrs::{AttributeKind, InlineAttr};\n+use rustc_hir::attrs::InlineAttr;\n use rustc_hir::{Attribute, find_attr};\n use rustc_lint::LateConte...
2026-02-18T13:28:07
golang/go
b3251514531123d7fd007682389bce7428d159a0
15d9fe43d648764d41a88c75889c84df5e580930
cmd/cgo/internal/testsanitizers: skip asan tests when FIPS140 mode is on Executing "GODEBUG=fips140=on go test -run TestASAN ./cmd/cgo/internal/testsanitizers" fails because FIPS 140 mode is incompatible with ASAN. Change-Id: I1a489f3398bbabf597fe7ffc0982c86c3b86e07e Reviewed-on: https://go-review.googlesource.com/c/...
[ { "path": "src/cmd/cgo/internal/testsanitizers/asan_test.go", "patch": "@@ -8,6 +8,7 @@ package sanitizers_test\n \n import (\n \t\"bytes\"\n+\t\"crypto/fips140\"\n \t\"fmt\"\n \t\"internal/platform\"\n \t\"internal/testenv\"\n@@ -157,6 +158,10 @@ func mustHaveASAN(t *testing.T) *config {\n \t\tt.Skipf(\"sk...
2025-07-02T14:11:37
facebook/react
afb2c39ec36d40fff362be465e2a310661469630
c272789ce54ab2db3fb1af53c54631a7246b31bc
compiler: fixtures for fast-refresh mode (w todos) ghstack-source-id: 65dd14fe9b37328bd60fe791b23dde54da10b285 Pull Request resolved: https://github.com/facebook/react/pull/29175
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/CodegenReactiveFunction.ts", "patch": "@@ -81,18 +81,21 @@ export function codegenFunction(\n );\n \n /**\n- * Hot-module reloading reuses component instances at runtime even as the source of the component changes.\n+ * Fast...
2024-05-20T17:20:04
vercel/next.js
c2d3e65482f036616504e67a81455437c73bb5d6
51350aa130891943a3b5572061e24d6617fcf4ea
[test] Do not use sandboxes for hydration error tests (#83398) The sandboxes used in the `Error overlay for hydration errors in App router` test suite frequently lead to timeout errors in CI ([DD](https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest%20%40git.repository.id%3A%22github.com%2Fvercel%2Fnext.js%2...
[ { "path": "test/development/acceptance-app/fixtures/hydration-errors/app/(default)/bad-nesting/page.tsx", "patch": "@@ -0,0 +1,17 @@\n+'use client'\n+\n+export default function Page() {\n+ return (\n+ <p>\n+ <span>\n+ <span>\n+ <span>\n+ <span>\n+ <p>hello wo...
2025-09-03T21:07:34
nodejs/node
c2ff449e3f8fd39796cdb8d9496c47854ea1921d
c1b3531680ab41f87d869e362c80396ab9088299
crypto: fix `RSA_PKCS1_PADDING` error message The ability to revert the fix for CVE-2023-46809 was only added to Node.js 18.x, 20.x and 21.x as, per policy, security reverts are only added to the existing supported release lines at the time of the fix. The error message thrown when `RSA_PKCS1_PADDING` is used on `mai...
[ { "path": "src/crypto/crypto_cipher.cc", "patch": "@@ -1092,8 +1092,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo<Value>& args) {\n if (rsa_pkcs1_implicit_rejection <= 0) {\n return THROW_ERR_INVALID_ARG_VALUE(\n env,\n- \"RSA_PKCS1_PADDING is no longer supported ...
2024-11-03T01:01:48
electron/electron
bccb7b572a76a0c7f99dbdcfdb6fa76feca36da9
12870cafb7cca63c0a97a0f158f9eae6015a3dc0
chore: bump chromium to 123.0.6272.0 (main) (#41130) * chore: bump chromium in DEPS to 123.0.6265.0 * chore: bump chromium in DEPS to 123.0.6266.0 * chore: update feat_ensure_mas_builds_of_the_same_application_can_use_safestorage.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5232280 ...
[ { "path": "DEPS", "patch": "@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'\n \n vars = {\n 'chromium_version':\n- '123.0.6264.0',\n+ '123.0.6272.0',\n 'node_version':\n 'v20.11.0',\n 'nan_version':", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "chromi...
2024-01-31T23:04:13
golang/go
6e95fd96cc4514bb6fb39db85bb2164d717cb4da
7755a05209177e6f2d494a08a9b98b9b31d6ee8f
crypto/ecdsa: fix crypto/x509 godoc links Change-Id: I6a6a6964c0e8269305804dc2bb57f13f94f08ed5 Reviewed-on: https://go-review.googlesource.com/c/go/+/685236 Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Res...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -48,9 +48,9 @@ type PublicKey struct {\n \t// invalidate internal optimizations; moreover, [big.Int] methods are not\n \t// suitable for operating on cryptographic values. To encode and decode\n \t// PublicKey values, use [PublicKey.Bytes] and [ParseUncomp...
2025-07-01T09:55:48
facebook/react
49ed6f0740f9d47777faafd92046f7f044cf3e5e
e2e12f33517e528bc955fe3f0098d6765f4648af
compiler: Allow global mutation in jsx props Fixes https://x.com/raibima/status/1794395807216738792 The issue is that if you pass a global-modifying function as prop to JSX, we currently report that it's invalid to modify a global during rendering. The problem is that we don't really know when/if the child component ...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Inference/InferReferenceEffects.ts", "patch": "@@ -1103,13 +1103,56 @@ function inferBlock(\n break;\n }\n case \"JsxExpression\": {\n- valueKind = {\n+ if (instrValue.tag.kind === \"Identifier\") {\n+ st...
2024-05-25T21:03:52
vercel/next.js
3efa21aad6c8f727da8d528a67a0b10765ead685
80dec3066f853fdcc6e00e66ef1661468991adff
Turbopack: Skip manifest loading in server when using route modules (#82903) ## What? When using Turbopack we'd try to load these files even when they don't exist, which adds latency because of the retrying. This PR ensures the files are skipped from loading where possible, which moves the place where it starts loadi...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1164,6 +1164,7 @@ export async function isPageStatic({\n isAppPath: pageType === 'app',\n isDev: false,\n sriEnabled,\n+ needsManifestsForLegacyReasons: true,\n })\n }\n \n@@ -1436,6 +1437,7 @@ e...
2025-09-03T18:08:29
rust-lang/rust
8e7bc3c7d1689e17319b2d6fdc1220c373de7596
df23df54a6c4ad486b0231fd3dc2ea7a65f20989
fix src/tools
[ { "path": "compiler/rustc_hir/src/attrs/data_structures.rs", "patch": "@@ -1233,9 +1233,6 @@ pub enum AttributeKind {\n /// Represents `#[rustc_diagnostic_item]`\n RustcDiagnosticItem(Symbol),\n \n- /// Represents `#[rustc_diagnostic_item]`\n- RustcDiagnosticItem(Symbol),\n-\n /// Represen...
2026-02-18T13:28:07
nodejs/node
e124b0ff7d926c14575fda90a2bfc4852670f81b
7f6ea837887a259571f4d2b8c2adcd7e688887f0
doc: broken `PerformanceObserver` code sample The code sample at the top of the "Performance measurements API" section of the docs does not run. The code in question: ```js const { PerformanceObserver, performance } = require('node:perf_hooks'); const obs = new PerformanceObserver((items) => { console.log(items.g...
[ { "path": "doc/api/perf_hooks.md", "patch": "@@ -22,18 +22,18 @@ const { PerformanceObserver, performance } = require('node:perf_hooks');\n \n const obs = new PerformanceObserver((items) => {\n console.log(items.getEntries()[0].duration);\n- performance.clearMarks();\n });\n obs.observe({ type: 'measure'...
2024-11-02T17:05:24
electron/electron
12870cafb7cca63c0a97a0f158f9eae6015a3dc0
e4d5dc138fd909de288fde82ee5d03106fe092f2
fix: move nut-js to optional spec deps (#41199)
[ { "path": "spec/package.json", "patch": "@@ -11,7 +11,6 @@\n \"@electron-ci/is-valid-window\": \"file:./is-valid-window\",\n \"@electron-ci/uv-dlopen\": \"file:./fixtures/native-addon/uv-dlopen/\",\n \"@marshallofsound/mocha-appveyor-reporter\": \"^0.4.3\",\n- \"@nut-tree/nut-js\": \"^3.1.2\"...
2024-01-31T18:35:09
golang/go
d168ad18e15c4e052260bb8c3446c90ab46fdde0
27ad1f50135c6de20c2afd593cdd17f47c2388e0
slices: update TestIssue68488 to avoid false positives Fixes #74387 Even tho we are abusing unsafe.SliceData a bit here it's probably fine; in case this test fail, it means some memory alias is happening which is not good for GC purposes. We don't care about false keep alives for stack locations tho. Change-Id: I94...
[ { "path": "src/slices/slices_test.go", "patch": "@@ -1454,13 +1454,16 @@ func TestRepeatPanics(t *testing.T) {\n \t}\n }\n \n+var leak *int\n+\n func TestIssue68488(t *testing.T) {\n \ts := make([]int, 3)\n \tclone := Clone(s[1:1])\n \tswitch unsafe.SliceData(clone) {\n \tcase &s[0], &s[1], &s[2]:\n \t\tt.E...
2025-06-28T00:20:22
vercel/next.js
458605e68d30a6d4c8624af76d632bc63a9381cd
933463cb7872ce7076d34fe05c27f8f15007273b
fix: ensure onRequestError is invoked when otel enabled (#83343) Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next/src/build/templates/app-page.ts", "patch": "@@ -1407,8 +1407,7 @@ export async function handler(\n )\n }\n } catch (err) {\n- // if we aren't wrapped by base-server handle here\n- if (!activeSpan && !(err instanceof NoFallbackError)) {\n+ if (!(err instanceof No...
2025-09-03T16:33:35
facebook/react
3b29ed16386c1afb2e76c3db0d576184154ec141
b44263addb4c4f74cb6520c5f652b35bda24a015
Fix "findNodeHandle inside its render()" False Positive Warning (#29627) This was missed in https://github.com/facebook/react/pull/29038 when unifying the "owner" abstractions, causing `findNodeHandle` to warn even outside of `render()` invocations.
[ { "path": "packages/react-native-renderer/src/ReactNativePublicCompat.js", "patch": "@@ -90,7 +90,7 @@ export function findHostInstance_DEPRECATED<TElementType: ElementType>(\n export function findNodeHandle(componentOrHandle: any): ?number {\n if (__DEV__) {\n const owner = currentOwner;\n- if (ow...
2024-05-29T03:36:41
rust-lang/rust
a81565667cffff4e48b946abb5316d7e498262be
e63814d6d197a14bc9f31eea6f9e94a746bdd50a
fix: handle core panics in all format lints `core::panic` was missing in the formatting arg lints
[ { "path": "clippy_utils/src/macros.rs", "patch": "@@ -19,6 +19,7 @@ const FORMAT_MACRO_DIAG_ITEMS: &[Symbol] = &[\n sym::assert_eq_macro,\n sym::assert_macro,\n sym::assert_ne_macro,\n+ sym::core_panic_macro,\n sym::debug_assert_eq_macro,\n sym::debug_assert_macro,\n sym::debug_as...
2026-02-20T08:56:31
nodejs/node
df4a0c996d374ed3ea168303e36271539ee44a74
7b01758ded981fc0d95aa719b221aaa4e255421b
typings: fix `ModulesBinding` types PR-URL: https://github.com/nodejs/node/pull/55549 Refs: https://github.com/nodejs/node/pull/55412/files#r1817708918 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
[ { "path": "typings/internalBinding/modules.d.ts", "patch": "@@ -9,7 +9,7 @@ export type PackageConfig = {\n export type DeserializedPackageConfig = {\n data: PackageConfig,\n exists: boolean,\n- path: URL['pathname'],\n+ path: string,\n }\n export type SerializedPackageConfig = [\n PackageConfig['na...
2024-11-02T16:36:49
electron/electron
e4d5dc138fd909de288fde82ee5d03106fe092f2
6df34436171f5b0fad1fd343de08621ce3a8b669
fix: `select-usb-device` should respect `filters` option (#41166) fix: select-usb-device should respect filters option
[ { "path": "shell/browser/usb/usb_chooser_controller.cc", "patch": "@@ -120,6 +120,14 @@ void UsbChooserController::GotUsbDeviceList(\n auto* rfh = content::RenderFrameHost::FromID(render_frame_host_id_);\n v8::Isolate* isolate = JavascriptEnvironment::GetIsolate();\n v8::HandleScope scope(isolat...
2024-01-31T14:53:30
golang/go
27ad1f50135c6de20c2afd593cdd17f47c2388e0
86fca3dcb63157b8e45e565e821e7fb098fcf368
internal/abi: fix comment on NonEmptyInterface Change-Id: Ia3f4e844049caf11ae67d1bd6dd48350f51c532f Reviewed-on: https://go-review.googlesource.com/c/go/+/684375 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Keith Ra...
[ { "path": "src/internal/abi/iface.go", "patch": "@@ -26,7 +26,7 @@ type EmptyInterface struct {\n \tData unsafe.Pointer\n }\n \n-// EmptyInterface describes the layout of an interface that contains any methods.\n+// NonEmptyInterface describes the layout of an interface that contains any methods.\n type Non...
2025-06-26T21:36:14
vercel/next.js
933463cb7872ce7076d34fe05c27f8f15007273b
93e1a4c71ea471aa10cacaa1a2e3724155f6cd9c
[test] Move error-overlay-layout to e2e tests (#83372)
[ { "path": "packages/next/src/next-devtools/dev-overlay/components/errors/error-overlay-layout/error-overlay-layout.test.tsx", "patch": "@@ -1,127 +0,0 @@\n-/**\n- * @jest-environment jsdom\n- */\n-/* eslint-disable import/no-extraneous-dependencies */\n-import { render, screen, fireEvent, act } from '@testi...
2025-09-03T15:43:37
facebook/react
9d530e94c40a9adf3fbf24390ee09f10dc5dcc2d
c998bb1ed4b3285398c9c7797135d3f060243c6a
[compiler:babel] Don't read config files when not running as part of user's pipeline When the user app has a babel.config file that is missing the compiler, strange things happen as babel does some strange merging of options from the user's config and in various callsites like in our eslint rule and healthcheck script...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Babel/RunReactCompilerBabelPlugin.ts", "patch": "@@ -36,6 +36,8 @@ export function runBabelPluginReactCompiler(\n \"babel-plugin-fbt-runtime\",\n ],\n sourceType: \"module\",\n+ configFile: false,\n+ babelrc: false,\n });\n ...
2024-05-29T02:41:01
nodejs/node
7b01758ded981fc0d95aa719b221aaa4e255421b
68dc15e400d1d85772aefc6ad1f0d3ca9c7a734e
Revert "fs,win: fix bug in paths with trailing slashes" This reverts commit 00b2f07f9ddeb8ffd2fb2108b0ed9ffa81ea000d. PR-URL: https://github.com/nodejs/node/pull/55527 Fixes: https://github.com/nodejs/node/issues/17801 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol...
[ { "path": "lib/fs.js", "patch": "@@ -385,11 +385,7 @@ function readFile(path, options, callback) {\n const req = new FSReqCallback();\n req.context = context;\n req.oncomplete = readFileAfterOpen;\n- binding.open(\n- getValidatedPath(path, 'path', { expectFile: true, syscall: 'read' }),\n- flag...
2024-11-02T16:24:29
golang/go
0710cce6eb0d75db1fc6c45807773f40edb14d73
59846af331228b28e69326412011b26b62f0c74d
[dev.simd] runtime: remove write barrier in xRegRestore Currently, there's a write barrier in xRegRestore when it assigns pp.xRegs.cache = gp.xRegs.state. This is bad because that gets called on the asyncPreempt return path, where we have really limited stack space, and we don't currently account for this write barrie...
[ { "path": "src/runtime/mkpreempt.go", "patch": "@@ -160,7 +160,7 @@ func writeXRegs(arch string, l *layout) {\n \tfmt.Fprintf(g.w, `\n package runtime\n \n-type xRegState struct {\n+type xRegs struct {\n `)\n \tpos := 0\n \tfor _, reg := range l.regs {", "additions": 1, "deletions": 1, "language...
2025-06-30T20:42:19
electron/electron
6df34436171f5b0fad1fd343de08621ce3a8b669
85bebfb18073d623f1963f8c5a6d9b24295d691d
fix: validate `printToPDF` `margins` against `pageSize` (#41157) fix: validate margins against pageSize
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -220,6 +220,16 @@ function parsePageSize (pageSize: string | ElectronInternal.PageSize) {\n let pendingPromise: Promise<any> | undefined;\n WebContents.prototype.printToPDF = async function (options) {\n const margins = checkType(options.margins ??...
2024-01-31T09:48:41
vercel/next.js
93e1a4c71ea471aa10cacaa1a2e3724155f6cd9c
b5fa24b7662d9cc23e95015cddfecb680908f7bf
tests: migrate on-reuqest-error tests to new model (#83383)
[ { "path": "test/e2e/on-request-error/basic/app/app-route/edge/route.js", "patch": "@@ -1,6 +1,8 @@\n-export function GET() {\n+import { connection } from 'next/server'\n+\n+export async function GET() {\n+ await connection()\n throw new Error('route-edge-error')\n }\n \n-export const dynamic = 'force-dyn...
2025-09-03T14:47:47
facebook/react
c998bb1ed4b3285398c9c7797135d3f060243c6a
61aa159086b1a4f1dda987fc4b40e6396d05c5cd
[compiler] Run prettier, fix snap After this is merged, I'll add it to .git-blame-ignore-revs. I can't do it now as the hash will change after ghstack lands this stack. ghstack-source-id: 054ca869b7839c589524c47d1962262f6b50f8ed Pull Request resolved: https://github.com/facebook/react/pull/29214
[ { "path": "compiler/apps/playground/colors.js", "patch": "@@ -5,7 +5,6 @@\n * LICENSE file in the root directory of this source tree.\n */\n \n-\n /**\n * Sync from <https://github.com/reactjs/reactjs.org/blob/main/beta/colors.js>.\n */", "additions": 0, "deletions": 1, "language": "JavaScri...
2024-05-29T02:41:00
nodejs/node
68dc15e400d1d85772aefc6ad1f0d3ca9c7a734e
9a16fdea34316831cfcc26be41c7c8c918630de8
util: fix util.getCallSites plurality `util.getCallSite` returns an array of call site objects. Rename the function to reflect that it returns a given count of frames captured as an array of call site object. Renames the first parameter `frames` to be `frameCount` to indicate that it specifies the count of returned c...
[ { "path": "benchmark/util/get-callsite.js", "patch": "@@ -1,15 +1,15 @@\n 'use strict';\n \n const common = require('../common');\n-const { getCallSite } = require('node:util');\n+const { getCallSites } = require('node:util');\n const assert = require('node:assert');\n \n const bench = common.createBenchmar...
2024-11-02T15:24:56
golang/go
e46d586eddfdd2186d77a5e996bbd6415cfcf2f5
479b51ee1f78a884a45b517c1e993d91c9774e29
cmd/compile/internal/escape: add debug hash for literal allocation optimizations Several CLs earlier in this stack added optimizations to reduce user allocations by recognizing and taking advantage of literals, including CL 649555, CL 649079, and CL 649035. This CL adds debug hashing of those changes, which enables u...
[ { "path": "src/cmd/compile/internal/base/debug.go", "patch": "@@ -40,6 +40,7 @@ type DebugFlags struct {\n \tInlFuncsWithClosures int `help:\"allow functions with closures to be inlined\" concurrent:\"ok\"`\n \tInlStaticInit int `help:\"allow static initialization of inlined calls\" concurren...
2025-06-28T20:53:37
electron/electron
0e0a0bf724064400c117ba68e761818fd5b2ad30
08615b2d4e6498cb0a110bd4d80d76066f85d860
fix: avoid potential `CHECK()` failure in `DictionaryToRect()` (#41160) refactor: use gfx::Rect::Contains() instead of reinventing the wheel perf: use base::Value::FindInt() to avoid redundant map lookups
[ { "path": "shell/browser/ui/inspectable_web_contents.cc", "patch": "@@ -15,6 +15,7 @@\n #include \"base/json/string_escape.h\"\n #include \"base/memory/raw_ptr.h\"\n #include \"base/metrics/histogram.h\"\n+#include \"base/ranges/algorithm.h\"\n #include \"base/stl_util.h\"\n #include \"base/strings/pattern....
2024-01-30T20:48:47
vercel/next.js
c316c79aefc7835a785e65d9a9e38f5da916c1fb
96c7f240ee7e02c74e283becebbc0a7d12269f36
[Cache Components] Fix revalidation of prerendered route handlers (#83375) When a prerendered and deployed route handler is revalidated, we can not rely on having a cache handler that does in-memory caching. So we need to provide a prerender resume data cache (RDC) instead, to ensure that the revalidation doesn't fail...
[ { "path": "packages/next/src/server/route-modules/app-route/module.ts", "patch": "@@ -84,6 +84,7 @@ import { INFINITE_CACHE } from '../../../lib/constants'\n import { executeRevalidates } from '../../revalidation-utils'\n import { trackPendingModules } from '../../app-render/module-loading/track-module-load...
2025-09-03T13:29:11
facebook/react
61aa159086b1a4f1dda987fc4b40e6396d05c5cd
a9a01068084550c0c71d8da222eb67eb7024c5b3
[compiler] Fix up prettier Our prettier setup is all messed up after the merge, so this PR should fix things ghstack-source-id: f825460ea6637138db6ba08fd6136fac3f7aa001 Pull Request resolved: https://github.com/facebook/react/pull/29213
[ { "path": ".github/workflows/compiler-typescript.yml", "patch": "@@ -24,6 +24,25 @@ jobs:\n run: echo \"matrix=$(find packages -mindepth 1 -maxdepth 1 -type d | sed 's!packages/!!g' | tr '\\n' ',' | sed s/.$// | jq -Rsc '. / \",\" - [\"\"]')\" >> $GITHUB_OUTPUT\n \n # Hardcoded to improve parallel...
2024-05-29T02:41:00
nodejs/node
10cce655cac552c2babbb63083dfe54e6ba7f05f
81859cf01f7c0d644a80ec7bdd90f672b3d5444b
assert: fix the string length check for printing the simple diff PR-URL: https://github.com/nodejs/node/pull/55474 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -134,7 +134,14 @@ function getStackedDiff(actual, expected) {\n }\n \n function getSimpleDiff(originalActual, actual, originalExpected, expected) {\n- const stringsLen = actual.length + expected.length;\n+ let stringsLen = actual.length + ex...
2024-11-02T15:12:12
electron/electron
90c7d6c82383c237977d33ae3da5eeafa93aefc3
6786fde576276b8915a4e486ff0c35a3bc1036c0
fix: `shouldPrintBackgrounds` -> `printBackground` in `webContents.printToPDF` (#41161) fix: shouldPrintBackgrounds -> printBackground
[ { "path": "shell/browser/api/electron_api_web_contents.cc", "patch": "@@ -3149,7 +3149,7 @@ v8::Local<v8::Promise> WebContents::PrintToPDF(const base::Value& settings) {\n auto landscape = settings.GetDict().FindBool(\"landscape\");\n auto display_header_footer =\n settings.GetDict().FindBool(\"di...
2024-01-30T20:47:55
golang/go
479b51ee1f78a884a45b517c1e993d91c9774e29
8002d283e8dc3d02f087a3885894c2c29fac93fa
cmd/compile/internal/escape: stop disabling literal allocation optimizations when coverage is enabled CL 649079 and CL 649035 updated escape analysis to rewrite certain expressions in OMAKE and OCONVIFACE nodes as optimizations to reduce user allocations. Part of the change in CL 649079 disabled those optimzations wh...
[ { "path": "src/cmd/compile/internal/escape/escape.go", "patch": "@@ -534,10 +534,6 @@ func (b *batch) rewriteWithLiterals(n ir.Node, fn *ir.Func) {\n \tif n.Op() != ir.OMAKESLICE && n.Op() != ir.OCONVIFACE {\n \t\treturn\n \t}\n-\tif base.Flag.Cfg.CoverageInfo != nil {\n-\t\t// Avoid altering coverage resul...
2025-06-27T22:46:27
vercel/next.js
6ffc0c704e00bda4000711658eb50fa92d4202d2
d373280a90504c09c8cc74f447ae938d4b7cc95c
fix: shrink bottom stack container height (#83377)
[ { "path": "packages/next/src/next-devtools/dev-overlay/components/errors/error-overlay-bottom-stack/index.tsx", "patch": "@@ -66,7 +66,8 @@ export const styles = `\n place-items: center center;\n width: 100%;\n position: fixed;\n- overflow: hidden;\n+ height: 0;\n+ overflow: visible;\n ...
2025-09-03T11:44:51
facebook/react
bd4bb32fe708bace6fa927834220f571ff583f39
46339720d75337ae1d1e113fd56ac99e7fd1a0b3
compiler: fix for calls on builtin jsx/function types When I added new builtin types for jsx and functions, i forget to add a shape definition. This meant that attempting to accesss a property or method on these types would cause an internal error with an unresolved shape. That wasn't obvious because we rarely call me...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/HIR/ObjectShape.ts", "patch": "@@ -431,6 +431,9 @@ addObject(BUILTIN_SHAPES, BuiltInMixedReadonlyId, [\n [\"*\", { kind: \"Object\", shapeId: BuiltInMixedReadonlyId }],\n ]);\n \n+addObject(BUILTIN_SHAPES, BuiltInJsxId, []);\n+addObject(BUILTIN_...
2024-05-28T22:09:34
nodejs/node
824c149e79af858be99f35a748a949995daba75b
a53c0cc7fcb51cffeb8058b26d9123b6c61ef157
doc: improve c++ embedder API doc normalise the headers, fixup bullet points and expand `node::IsolateData` scope for clarity. PR-URL: https://github.com/nodejs/node/pull/55597 Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/embedding.md", "patch": "@@ -23,7 +23,7 @@ a Node.js-specific environment.\n \n The full code can be found [in the Node.js source tree][embedtest.cc].\n \n-### Setting up per-process state\n+### Setting up a per-process state\n \n Node.js requires some per-process state management in orde...
2024-11-01T03:43:53
electron/electron
fc917985ae8165e0cbcc11b3bebbcc995b1bd271
ffec3127d55a31c6735b4364fec5250dbbc5ac64
fix: ensure `WebContents` before checking draggable region (#41154) fix: ensure WebContents before checking draggable region
[ { "path": "shell/browser/api/electron_api_web_contents_view.cc", "patch": "@@ -81,11 +81,14 @@ void WebContentsView::SetBackgroundColor(std::optional<WrappedSkColor> color) {\n }\n \n int WebContentsView::NonClientHitTest(const gfx::Point& point) {\n- gfx::Point local_point(point);\n- views::View::Convert...
2024-01-30T10:53:19
golang/go
8002d283e8dc3d02f087a3885894c2c29fac93fa
fdd7713fe5a7bc054fe08f79a1877f90c7188e53
crypto/tls: update bogo version This commit updates the pinned revision of BoringSSL that's used for the BoGo integration test. Doing this requires a few categories of config changes: * ignoring a few new tests for features crypto/tls doesn't implement * ignoring a few new tests that require further investigation/...
[ { "path": "src/crypto/tls/bogo_config.json", "patch": "@@ -74,6 +74,9 @@\n \"BadRSAClientKeyExchange-5\": \"crypto/tls doesn't check the version number in the premaster secret - see processClientKeyExchange comment\",\n \"SupportTicketsWithSessionID\": \"We don't support session ID resumptio...
2025-06-23T19:48:57
vercel/next.js
886f543a27c66824e995df4fee4d1f679a0f109d
caffa0d866773a03346b484336a582ba53b27f02
fix(ppr): fix prerender info matching for rewritten paths (#83359) ## What? Fixed prerender info matching for rewritten paths in App Router by using `resolvedPathname` instead of `parsedUrl.pathname` in the app-page template. ## Why? Previously, the app-page template used `parsedUrl.pathname` to match against `prer...
[ { "path": "packages/next/src/build/templates/app-page.ts", "patch": "@@ -89,6 +89,7 @@ import * as entryBase from '../../server/app-render/entry-base' with { 'turbopac\n import { RedirectStatusCode } from '../../client/components/redirect-status-code'\n import { InvariantError } from '../../shared/lib/invar...
2025-09-03T11:04:39
rust-lang/rust
4da823ba4be74cdd840c6db854ee57cc0c864d31
fbd6934114e905d3cc61adbbd7e4a355eac5d0d7
Do not enable split debuginfo for windows-gnu Because rustc doesn't handle split debuginfo for these targets, enabling that option causes them to be missing some of the debuginfo.
[ { "path": "bootstrap.example.toml", "patch": "@@ -1008,9 +1008,10 @@\n # its historical default, but when compiling the compiler itself, we skip it by\n # default since we know it's safe to do so in that case.\n #\n-# On Windows platforms, packed debuginfo is the only supported option,\n-# producing a `.pdb...
2026-02-19T21:11:58
facebook/react
46339720d75337ae1d1e113fd56ac99e7fd1a0b3
97722ca3d4675d544eb3753438aac70f01bbbf1f
compiler: error on reassigning to const We currently don't report an error if the code attempts to reassign a const. Our thinking has been that we're not trying to catch all possible mistakes you could make in JavaScript — that's what ESLint, TypeScript, and Flow are for — and that we want to focus on React errors. Ho...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/HIR/BuildHIR.ts", "patch": "@@ -3336,6 +3336,20 @@ function lowerIdentifierForAssignment(\n });\n return null;\n }\n+ } else if (\n+ binding.bindingKind === \"const\" &&\n+ kind === InstructionKind.Reassign\n+ ) {\n+ bui...
2024-05-28T19:12:15
nodejs/node
a53c0cc7fcb51cffeb8058b26d9123b6c61ef157
e2bd64ddfe76a2c1d531c92eb713cf013d267f3b
src: fix dns crash when failed to create NodeAresTask PR-URL: https://github.com/nodejs/node/pull/55521 Fixes: https://github.com/nodejs/node/issues/52439 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "src/cares_wrap.cc", "patch": "@@ -145,14 +145,10 @@ void ares_sockstate_cb(void* data, ares_socket_t sock, int read, int write) {\n ares_poll_cb);\n \n } else {\n- /* read == 0 and write == 0 this is c-ares's way of notifying us that */\n- /* the socket is now closed. We...
2024-11-01T03:28:03
golang/go
fdd7713fe5a7bc054fe08f79a1877f90c7188e53
740857f529ce4074c7f9aa1d6f38db8c4a00246c
internal/goexperiment: fix godoc formatting In internal/goexperiment fix godoc formatting (list indent, add godoc links). In internal/buildcfg fix godoc for Experiment.baseline. Change-Id: I30eaba60cbf3978a375b50dda19dbb2830903bdb Reviewed-on: https://go-review.googlesource.com/c/go/+/595915 Reviewed-by: Austin Clem...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -25,7 +25,7 @@ type ExperimentFlags struct {\n // (This is not necessarily the set of experiments the compiler itself\n // was built with.)\n //\n-// experimentBaseline specifies the experiment flags that are enabled by\n+// Experiment.baseline specifie...
2024-06-30T22:49:11
electron/electron
de76fc01ec9891d5918424982512d4648a725027
2571396584b698ab30181e62cd444e29ac51dbee
chore: fix outdated osk patch on main branch (#41152)
[ { "path": "patches/chromium/fix_on-screen-keyboard_hides_on_input_blur_in_webview.patch", "patch": "@@ -9,10 +9,10 @@ focus node change via TextInputManager.\n chromium-bug: https://crbug.com/1369605\n \n diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_h...
2024-01-29T06:35:33
vercel/next.js
10e70b613b94e3251091caf700c0dc198fd0dc45
295c5162711498ddffbb08edbacf52860d30d35a
Turbopack: Implement `TaskInput` for `ReadRef`, use a `ReadRef` input for `AssetIdent::new` (#83356) @lukesandberg and I noticed this opportunity. ### Hypothesis `AssetIdent::new` is a dummy constructor function used for caching value with unique `Vc`s. It is called frequently. The `AssetIdent` struct is large and c...
[ { "path": "turbopack/crates/turbo-tasks-macros/src/value_macro.rs", "patch": "@@ -207,7 +207,7 @@ impl Parse for ValueArguments {\n }\n \n pub fn value(args: TokenStream, input: TokenStream) -> TokenStream {\n- let mut item = parse_macro_input!(input as Item);\n+ let item = parse_macro_input!(input as...
2025-09-03T00:36:55
facebook/react
163122766b6008e992898b00f1fe3b104ed78737
2787eebe52864356252a280fd811cd9d52807a82
Fix: Use action implementation at time of dispatch (#29618) Fixes the behavior of actions that are queued by useActionState to use the action function that was current at the time it was dispatched, not at the time it eventually executes. The conceptual model is that the action is immediately dispatched, as if i...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMForm-test.js", "patch": "@@ -1097,7 +1097,7 @@ describe('ReactDOMForm', () => {\n });\n \n // @gate enableAsyncActions\n- test('queues multiple actions and runs them in order', async () => {\n+ test('useActionState: queues multiple actions and runs t...
2024-05-28T19:08:59
nodejs/node
f67e45e0702baef1ee1253042e48fcb7b806d3b3
d080f0db1f7d05bbf058425485f14c29f471a7ba
http2: fix client async storage persistence Create and store an AsyncResource for each stream, following a similar approach as used in HttpAgent. Fixes: https://github.com/nodejs/node/issues/55376 PR-URL: https://github.com/nodejs/node/pull/55460 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Bel...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -60,6 +60,8 @@ const {\n owner_symbol,\n },\n } = require('internal/async_hooks');\n+const { AsyncResource } = require('async_hooks');\n+\n const {\n AbortError,\n aggregateTwoErrors,\n@@ -241,6 +243,7 @@ const kPendingRequestCalls = Symbol('kPe...
2024-10-31T17:08:45
electron/electron
2571396584b698ab30181e62cd444e29ac51dbee
8104c7908a2e281cdb2e380dd2ec49c3ead7fa3e
fix: update osk patch to fix more corner cases (#41131) This is a follow up to https://github.com/electron/electron/pull/35921 that, it fixes more corner cases that on-screen-keyboard does not hide for webviews. This change has been applied in Teams for quite a while and should be reliable enough to introduce to...
[ { "path": "patches/chromium/fix_on-screen-keyboard_hides_on_input_blur_in_webview.patch", "patch": "@@ -3,47 +3,89 @@ From: Kyrylo Hrechykhin <khrechykhin@microsoft.com>\n Date: Thu, 6 Oct 2022 18:30:53 +0200\n Subject: fix: on-screen-keyboard hides on input blur in webview\n \n-Changes introduced by this p...
2024-01-29T01:42:59
vercel/next.js
a9d62b0d8ef862aaaed21b09fa004cbcf795ca0f
f49402c7ff0286f5ca6c23c8ff712fc7f1845c53
fix(turbopack): Pass correct browserslist to `styled-jsx` (#83334) ### What? Pass the correct browserslist query to `lightningcss` in `styled-jsx`. ### Why? To fix an issue with `styled-jsx`. #### Testing instruction: 1. `git clone https://github.com/kdy1/repro-next-styled-jsx-526 ~/projects/repro-next-styled-jsx...
[ { "path": "crates/next-api/src/project.rs", "patch": "@@ -997,6 +997,7 @@ impl Project {\n format!(\"/ROOT/{}\", self.project_path().await?.path).into(),\n this.define_env.nodejs(),\n self.current_node_js_version(),\n+ this.browserslist_query.clone(),\n ...
2025-09-02T17:56:18
facebook/react
681a4aa81022d4053f990d905d6453c73d2ee644
4ec6a6f71475a6f2fee39a0e604ddbbd2f124164
Throw if React and React DOM versions don't match (#29236) Throw an error during module initialization if the version of the "react-dom" package does not match the version of "react". We used to be more relaxed about this, because the "react" package changed so infrequently. However, we now have many more feature...
[ { "path": "packages/react-dom/src/client/ReactDOMClient.js", "patch": "@@ -19,6 +19,9 @@ import ReactVersion from 'shared/ReactVersion';\n import {getClosestInstanceFromNode} from 'react-dom-bindings/src/client/ReactDOMComponentTree';\n import Internals from 'shared/ReactDOMSharedInternals';\n \n+import {en...
2024-05-28T18:06:30