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
nodejs/node
e9cd4766e39d96693320be9ce0a1044c450e8675
2bfc9e467cb05578efa4d3db497f368fb144e5fc
test: fix test-tls-client-auth test for OpenSSL32 Refs: https://github.com/nodejs/node/issues/53382 Refs: https://github.com/nodejs/node/pull/53384 Same change as in 53384 where OpenSSL32 returns a slightly different error but for a different test. Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: https://...
[ { "path": "test/parallel/test-tls-client-auth.js", "patch": "@@ -79,8 +79,10 @@ connect({\n }, function(err, pair, cleanup) {\n assert.strictEqual(pair.server.err.code,\n 'ERR_SSL_PEER_DID_NOT_RETURN_A_CERTIFICATE');\n+ const expectedErr = common.hasOpenSSL(3, 2) ?\n+ 'ERR_SSL_SSL...
2024-08-28T14:58:09
golang/go
bb0c14b895d90bb5941e0463ba6c3564fc504e4f
3be537e663c39ead4c82ca4047d248ff66e132c3
os: don't fallback to the Stat slow path if file doesn't exist on Windows os.Stat and os.Lstat first try stating the file without opening it. If that fails, then they open the file and try again, operations that tends to be slow. There is no point in trying the slow path if the file doesn't exist, we should just retur...
[ { "path": "src/os/stat_test.go", "patch": "@@ -361,3 +361,18 @@ func TestClosedStat(t *testing.T) {\n \t\tt.Errorf(\"error from Stat on closed file did not match ErrClosed: %q, type %T\", err, err)\n \t}\n }\n+\n+func TestStatNotExist(t *testing.T) {\n+\tt.Parallel()\n+\tname := filepath.Join(t.TempDir(), \...
2025-05-13T15:26:06
electron/electron
e14964ccd014e595da4cbaf8c73f0999948c6042
33000c4b42157f06fc78ef83300dcaec61a69fbe
feat: add setter and getter apis to specify udp port range for webrtc (#39046) * feat:Add setter and getter apis to specify udp port range for webrtc (issue#9042) * lint error fix for PR#39046 * feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for codereview * fix l...
[ { "path": "docs/api/web-contents.md", "patch": "@@ -2069,6 +2069,24 @@ Setting the WebRTC IP handling policy allows you to control which IPs are\n exposed via WebRTC. See [BrowserLeaks](https://browserleaks.com/webrtc) for\n more details.\n \n+#### `contents.getWebRTCUDPPortRange()`\n+\n+Returns `Object`:\n...
2023-08-24T21:21:22
facebook/react
fbd68eef7f8fad5dd1fdceb0fb79162c3d972e59
48ecaf92d51813a1b1f1bcba1cdcbf48a501f2c6
Fix for invalid mutable range in phi with backedge Fixes the repro added in 947832009997bf9149e88e583c46cc39f6a6136c - previously when computing mutable ranges of phis, we didn't check that all operands had been visited. This meant that a backedge could allow a phi's mutable range to start at 0. Then in PropagateS...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Inference/InferMutableLifetimes.ts", "patch": "@@ -5,7 +5,6 @@\n * LICENSE file in the root directory of this source tree.\n */\n \n-import { CompilerError } from \"../CompilerError\";\n import {\n Effect,\n HIRFunction,\n@@ -102,22 +101,30 @@...
2024-03-26T04:36:33
nodejs/node
2bfc9e467cb05578efa4d3db497f368fb144e5fc
d96739cf6296ef365c8f38615d0a42197694f739
test: update TLS test for OpenSSL 3.2 Update `parallel/test-tls-set-sigalgs` to account for error code changes in OpenSSL 3.2 and later. PR-URL: https://github.com/nodejs/node/pull/54612 Refs: https://github.com/nodejs/node/pull/53384 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca...
[ { "path": "test/parallel/test-tls-set-sigalgs.js", "patch": "@@ -63,10 +63,12 @@ test('RSA-PSS+SHA256:RSA-PSS+SHA512:ECDSA+SHA256',\n ['RSA-PSS+SHA256', 'ECDSA+SHA256']);\n \n // Do not have shared sigalgs.\n+const handshakeErr = common.hasOpenSSL(3, 2) ?\n+ 'ERR_SSL_SSL/TLS_ALERT_HANDSHAKE_FAILURE' :...
2024-08-30T15:40:08
golang/go
3be537e663c39ead4c82ca4047d248ff66e132c3
a197a471b9c67af4881e0d9c48e4bd3cff4992c2
net: use closesocket when closing socket os.File's on Windows The WSASocket documentation states that the returned socket must be closed by calling closesocket instead of CloseHandle. The different File methods on the net package return an os.File that is not aware that it should use closesocket. Ideally, os.NewFile s...
[ { "path": "src/internal/poll/fd_windows.go", "patch": "@@ -318,7 +318,7 @@ type FD struct {\n \t// message based socket connection.\n \tZeroReadIsEOF bool\n \n-\t// Whether this is a file rather than a network socket.\n+\t// Whether the handle is owned by os.File.\n \tisFile bool\n \n \t// The kind of this ...
2025-05-13T11:31:22
electron/electron
33e66b5cd02d2b258b956022c482024c74c13b4b
2affecd4dd26b9f0cf2644ec115635559f920480
fix: ensure windows respect fullscreenability with different resizability values (#39620) * fix: ensure child windows respect fullscreenability/resizability when parent is fullscreen * test: add an extra resize test
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -830,23 +830,19 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) {\n ScopedDisableResize disable_resize;\n SetStyleMask(resizable, NSWindowStyleMaskResizable);\n \n+ bool was_fullscreenable = IsFullScreenable();...
2023-08-24T20:54:08
facebook/react
67e6fa6d17b52e0f7d759e6079b49b9b164cf9ba
d3037405c4c9ce8158ef9017e960ec97fb089df4
Test for suspending with modern strict mode (#28513) ## Overview Adds a test to show the cause of an infinite loop in Relay related to [these effects in Relay](https://github.com/facebook/relay/blob/448aa67d2a11e7d45cd7b4492b9f599b498cb39e/packages/react-relay/relay-hooks/useLazyLoadQueryNode.js#L77-L104) and `u...
[ { "path": "packages/react-reconciler/src/__tests__/StrictEffectsMode-test.js", "patch": "@@ -772,4 +772,177 @@ describe('StrictEffectsMode', () => {\n 'useEffect unmount',\n ]);\n });\n+\n+ // @gate __DEV__\n+ it('should double invoke effects after a re-suspend', async () => {\n+ // Not usi...
2024-03-26T04:02:16
vercel/next.js
b8eba4f7038cfb9e66b8b18def445d377b00defe
b07bf2a0f7681080fd827c2cf408b2e0adff019d
Mark bun builtin modules as external (fixes #75220) (#77616) Fixes https://github.com/vercel/next.js/issues/75220 This marks Bun's builtin modules as external, following the same pattern as for Node. - `"bun:ffi"` - `"bun:jsc"` - `"bun:sqlite"` - `"bun:test"` - `"bun:wrap"` - `"bun"` I have not manually tested this...
[ { "path": "packages/next/src/build/handle-externals.ts", "patch": "@@ -188,6 +188,11 @@ export function makeExternalHandler({\n return `commonjs ${request}`\n }\n \n+ // Handle Bun builtins as external modules\n+ if (request === 'bun' || request.startsWith('bun:')) {\n+ return...
2025-08-01T09:15:57
nodejs/node
d2479fa020866f038785fb7373baf2621d7cc1c5
89667876245bfb8db7aebbd3f6f04abacadf051d
vm: return all own names and symbols in property enumerator interceptor Property enumerator methods like `Object.getOwnPropertyNames`, `Object.getOwnPropertySymbols`, and `Object.keys` all invokes the named property enumerator interceptor. V8 will filter the result based on the invoked enumerator variant. Fix the enum...
[ { "path": "src/node_contextify.cc", "patch": "@@ -769,19 +769,25 @@ Intercepted ContextifyContext::PropertyDeleterCallback(\n // static\n void ContextifyContext::PropertyEnumeratorCallback(\n const PropertyCallbackInfo<Array>& args) {\n+ // Named enumerator will be invoked on Object.keys,\n+ // Object...
2024-08-30T11:22:58
electron/electron
a8999bc529390e7a9a2515bfa23445b34b10860a
522bba3dc6b4893fdcf4d1a978fec0204b50d63b
fix: ensure `BrowserView` bounds are always relative to window (#39605) fix: ensure BrowserView bounds are always relative to window
[ { "path": "shell/browser/api/electron_api_base_window.cc", "patch": "@@ -768,10 +768,20 @@ void BaseWindow::AddBrowserView(gin::Handle<BrowserView> browser_view) {\n browser_view->SetOwnerWindow(nullptr);\n }\n \n+ // If the user set the BrowserView's bounds before adding it to the window,\n+ ...
2023-08-23T13:55:31
golang/go
c31a5c571f32f350a0a1b30f2b0e85576096e14c
de86d02c32f6690391ed79b99d0f763bb06606d5
cmd/compile: fold negation into addition/subtraction on loong64 This change also avoid double negation, and add loong64 codegen for arithmetic tests. Reduce the number of go toolchain instructions on loong64 as follows. file before after Δ % addr2line 279972 279896 -76 -0.0271% as...
[ { "path": "src/cmd/compile/internal/ssa/_gen/LOONG64.rules", "patch": "@@ -776,12 +776,22 @@\n \n // generic simplifications\n (ADDV x (NEGV y)) => (SUBV x y)\n+(SUBV x (NEGV y)) => (ADDV x y)\n (SUBV x x) => (MOVVconst [0])\n (SUBV (MOVVconst [0]) x) => (NEGV x)\n (AND x x) => x\n (OR x x) => x\n (XOR x x...
2025-05-14T06:35:41
facebook/react
d3037405c4c9ce8158ef9017e960ec97fb089df4
5a75f9e78544fa6d052aff7fe99607e48f35b979
Test showing mismatches after suspending force fallbacks to be shown (#28299) While investigating https://github.com/facebook/react/issues/28285 I found a possible bug in handling Suspense and mismatches. As the tests show, if the first sibling in a boundary suspends, and the second has a mismatch, we will NOT show...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js", "patch": "@@ -366,6 +366,775 @@ describe('ReactDOMServerPartialHydration', () => {\n }\n });\n \n+ it('does not show a fallback if mismatch is after suspending', async () => {\n+ // We can't use the toErr...
2024-03-26T00:33:31
nodejs/node
89667876245bfb8db7aebbd3f6f04abacadf051d
01f751b529d126529f1d2019f0dcb13b8e54b787
test: run V8 Fast API tests in release mode too Only keep the call count assertions under `common.isDebug`. PR-URL: https://github.com/nodejs/node/pull/54570 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: ...
[ { "path": "doc/contributing/adding-v8-fast-api.md", "patch": "@@ -173,25 +173,24 @@ A typical function that communicates between JavaScript and C++ is as follows.\n // We could also require a function that uses the internal binding internally.\n const { divide } = internalBinding('custom_namespace');\n ...
2024-08-30T10:25:01
golang/go
ac341b8e6bc1eb99ddd62c3dea293e41bc582c10
12e11e75235a7df2f118becac997a0aca3bb73b0
cmd/go/internal/pkg: fail on bad filenames Unhidden filenames with forbidden characters in subdirectories now correctly fail the build instead of silently being skipped. Previously this behavior would only trigger on files in the root of the embedded directory. Fixes #54003 Change-Id: I52967d90d6b7929e4ae474b78d3f887...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -2227,12 +2227,20 @@ func resolveEmbed(pkgdir string, patterns []string) (files []string, pmap map[st\n \t\t\t\t\trel := filepath.ToSlash(str.TrimFilePathPrefix(path, pkgdir))\n \t\t\t\t\tname := d.Name()\n \t\t\t\t\tif path != file && (isBadEmbedNam...
2025-05-06T19:16:03
electron/electron
ddc7e3ebb3c34357d4999174d692e18124cb7798
2481f94b4efe262c9ae2f5f16cd0845eeb6c4efd
fix: assert module in the renderer process (#39540)
[ { "path": "patches/node/.patches", "patch": "@@ -41,3 +41,4 @@ fix_ftbfs_werror_wextra-semi.patch\n fix_isurl_implementation.patch\n ci_ensure_node_tests_set_electron_run_as_node.patch\n chore_update_fixtures_errors_force_colors_snapshot.patch\n+fix_assert_module_in_the_renderer_process.patch", "additio...
2023-08-23T09:38:47
facebook/react
29ab0f835e199d8f943b8a68634533c24fe74324
e6ce5e49229ac410b35809a37b209ef3bd747202
Repro for scopes from AnalyzeFunction influencing outer compilation We share identifiers between outer functions and inner function expressions, which means that scopes inferred during AnalyzeFunctions can be retained on Identifiers in the outer function. If InferReactiveScopeVariables doesn't happen to visit an i...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/repro-mutable-range-shared-inner-outer-function.expect.md", "patch": "@@ -0,0 +1,75 @@\n+\n+## Input\n+\n+```javascript\n+// @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressions\n+let cond = t...
2024-03-25T22:31:22
vercel/next.js
1c5f64b99329b88638b27c14b3984a74450724ea
4b0f74651e0d2b1b939fac8705c8122c292e0afc
[Cache Components] Runtime prefetching (#81088) Initial implementation of runtime prefetching. A "runtime prefetch" is a more complete version of a static prefetch (i.e. the one that a link does by default), rendered on demand, and not cached server-side. It will render the server part of the page dynamically, allowi...
[ { "path": "packages/next/errors.json", "patch": "@@ -764,5 +764,11 @@\n \"763\": \"\\\\`unstable_rootParams\\\\` must not be used within a client component. Next.js should be preventing it from being included in client components statically, but did not in this case.\",\n \"764\": \"Missing workStore in...
2025-07-31T21:07:06
nodejs/node
321a14b36d6b3304aedfd183e12ddba35dc704bd
9cbef482df41f4f313f4dc183bc5931c2cd83a00
doc: fix typo in styleText description PR-URL: https://github.com/nodejs/node/pull/54616 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/util.md", "patch": "@@ -1825,8 +1825,8 @@ changes:\n * `stream` {Stream} A stream that will be validated if it can be colored. **Default:** `process.stdout`.\n \n This function returns a formatted text considering the `format` passed\n-for printing in a terminal, it is aware of the term...
2024-08-29T19:42:53
golang/go
12e11e75235a7df2f118becac997a0aca3bb73b0
a24f4db2a2bd3e897d466a11d269ac7e618a6f8a
cmd/go: fix not print GCCGO when it's not the default Fixes #69994 Change-Id: I2a23e5998b7421fd5ae0fdb68303d3244361b341 Reviewed-on: https://go-review.googlesource.com/c/go/+/671635 Reviewed-by: Michael Matloob <matloob@golang.org> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: Sean Liao <sean@liao.de...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -142,7 +142,7 @@ func MkEnv() []cfg.EnvVar {\n \tif work.GccgoBin != \"\" {\n \t\tenv = append(env, cfg.EnvVar{Name: \"GCCGO\", Value: work.GccgoBin, Changed: true})\n \t} else {\n-\t\tenv = append(env, cfg.EnvVar{Name: \"GCCGO\", Value: work.Gccgo...
2025-05-10T17:09:16
electron/electron
2481f94b4efe262c9ae2f5f16cd0845eeb6c4efd
e1d63794e5ce74006188ed2b7f1c35b5793caf36
fix: instantiate tab video tracks from BrowserCaptureMediaStreamTrack (#39074) return BrowserCaptureMediaStreamTrack instead of MediaStreamTrack
[ { "path": "shell/browser/electron_browser_context.cc", "patch": "@@ -580,7 +580,7 @@ void ElectronBrowserContext::DisplayMediaDeviceChosen(\n blink::MediaStreamDevice video_device(request.video_type, id, name);\n video_device.display_media_info = DesktopMediaIDToDisplayMediaInformation(\n ...
2023-08-23T08:49:24
facebook/react
50cdf158d81a799763818308baf86c7db17d0931
b35be36fb4a3fb3713ecb252f20ca1050a29122f
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /fixtures/flight (#28618) Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack/webpack-dev-middleware/releases">w...
[ { "path": "fixtures/flight/package.json", "patch": "@@ -59,7 +59,7 @@\n \"terser-webpack-plugin\": \"^5.2.5\",\n \"undici\": \"^5.20.0\",\n \"webpack\": \"^5.64.4\",\n- \"webpack-dev-middleware\": \"^5.3.1\",\n+ \"webpack-dev-middleware\": \"^5.3.4\",\n \"webpack-hot-middleware\": \"^2...
2024-03-25T17:37:11
vercel/next.js
c6cefce4cb01d20ae5e21986e809e8595d405c21
e2b6a50aec59c42b2c0450a899005d5dbd5cb932
fix(Turbopack): Fix duplicated layout rendering in edge cases (#81948) ## Fix module reference handling in app_structure.rs creating duplicated layouts ### What? Fixed a bug in the `check_and_update_module_references` function by making the code always overrides the `not-found`, `unauthorized`, etc files at the top l...
[ { "path": "crates/next-core/src/app_structure.rs", "patch": "@@ -923,18 +923,31 @@ async fn directory_tree_to_loader_tree(\n /// set.\n /// * `file_path` - The file path to the default page if neither the current module nor the parent\n /// module is set.\n+/// * `is_first_layer_group_route` - If true, ...
2025-07-31T17:04:35
nodejs/node
d98cfcc5816189507722c47ad69bda45c5072d4b
dcf50f15bc7e49637b79876440b6fcdf827aebcc
vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY This implements a flavor of vm.createContext() and friends that creates a context without contextifying its global object. This is suitable when users want to freeze the context (impossible when the global is contextified i.e. has interceptors installed) ...
[ { "path": "doc/api/vm.md", "patch": "@@ -229,6 +229,9 @@ overhead.\n <!-- YAML\n added: v0.3.1\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/54394\n+ description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.\n - version: v14.6.0\n ...
2024-08-29T09:05:03
golang/go
adcad7bea9f6933a219c7b05d8173cf8a4586092
14fc54fc5735163abf7694b4efa2b7998c6696e2
os: don't follow symlinks on Windows when O_CREATE|O_EXCL Match standard Unix behavior: Symlinks are not followed when O_CREATE|O_EXCL is passed to open. Thanks to Junyoung Park and Dong-uk Kim of KAIST Hacking Lab for discovering this issue. Fixes #73702 Fixes CVE-2025-0913 Change-Id: Ieb46a6780c5e9a6090b09cd34290...
[ { "path": "src/internal/syscall/windows/at_windows.go", "patch": "@@ -94,6 +94,7 @@ func Openat(dirfd syscall.Handle, name string, flag uint64, perm uint32) (_ sysc\n \tswitch {\n \tcase flag&(syscall.O_CREAT|syscall.O_EXCL) == (syscall.O_CREAT | syscall.O_EXCL):\n \t\tdisposition = FILE_CREATE\n+\t\toption...
2025-05-13T22:35:19
electron/electron
e1d63794e5ce74006188ed2b7f1c35b5793caf36
bfa58df7c97a7d2e191a5d7ac5ea1891e95f9907
fix: `chrome.tabs` 'url' and 'title' are privileged information (#39595) fix: tabs url and title are privileged information
[ { "path": "shell/browser/extensions/api/tabs/tabs_api.cc", "patch": "@@ -301,6 +301,7 @@ ExtensionFunction::ResponseAction TabsQueryFunction::Run() {\n \n tabs::Tab tab;\n tab.id = contents->ID();\n+ tab.title = base::UTF16ToUTF8(wc->GetTitle());\n tab.url = wc->GetLastCommittedURL().spec();\...
2023-08-22T12:56:58
facebook/react
b35be36fb4a3fb3713ecb252f20ca1050a29122f
527ed72bfd9f5c0045da468ad01db968a9961ad7
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 (#28621) Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack/webpack-dev-middleware/releases">webpack-dev-middlewar...
[ { "path": "yarn.lock", "patch": "@@ -15791,9 +15791,9 @@ webpack-cli@^5.1.1:\n webpack-merge \"^5.7.3\"\n \n webpack-dev-middleware@^5.3.1:\n- version \"5.3.3\"\n- resolved \"https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f...
2024-03-25T17:36:03
vercel/next.js
e2b6a50aec59c42b2c0450a899005d5dbd5cb932
2bb227ebee5609809eb5a7e9ad00b900f458128d
Turbopack: fix dev test manifest (#82241) <!-- 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 ### Impr...
[ { "path": "test/turbopack-dev-tests-manifest.json", "patch": "@@ -12043,11 +12043,10 @@\n \"react-compiler default should render\",\n \"react-compiler default should show an experimental warning\",\n \"react-compiler default should work with a library that uses the react-server condition\"...
2025-07-31T12:27:23
nodejs/node
7616855b2a90e03310ef8431274ffa37d78abe68
29cf6235673bac7aa85072c15cca2df8018422ce
src: disable fast methods for `buffer.write` It should resolve the regressions while we work on fixing them. Refs: https://github.com/nodejs/node/issues/54521 PR-URL: https://github.com/nodejs/node/pull/54565 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-...
[ { "path": "src/node_buffer.cc", "patch": "@@ -1554,21 +1554,9 @@ void Initialize(Local<Object> target,\n SetMethod(context, target, \"hexWrite\", StringWrite<HEX>);\n SetMethod(context, target, \"ucs2Write\", StringWrite<UCS2>);\n \n- SetFastMethod(context,\n- target,\n- \...
2024-08-29T07:06:40
golang/go
9856afa77042d901288845f31c79885ba68da464
5bbac667c5c7bd1bde1750586c92f5932134c871
cmd/internal/script: fix copying directory when symlink fails The change fixes `linkOrCopy` to work on systems wihtout symlinks, when copying directories. This was originally noticed on Windows systems when the user did not have admin privs. Fixes #73692 Change-Id: I8ca66d65e99433ad38e70314abfabafd43794b79 Reviewed-...
[ { "path": "src/cmd/internal/script/scripttest/setup.go", "patch": "@@ -114,6 +114,16 @@ func linkOrCopy(t *testing.T, src, dst string) {\n \tif err == nil {\n \t\treturn\n \t}\n+\tfi, err := os.Stat(src)\n+\tif err != nil {\n+\t\tt.Fatalf(\"copying %s to %s: %v\", src, dst, err)\n+\t}\n+\tif fi.IsDir() {\n+...
2025-05-13T16:41:36
electron/electron
3a91d1f1e18177ceadc02580722a1349c5b18357
09190085c0d1d6acdbb83833afab8c1fe8177ba0
fix: dangling raw_ptr in ElectronBrowserMainParts dtor (#39539) * fix: dangling raw_ptr in ElectronBrowserMainParts dtor * fixup! fix: dangling raw_ptr in ElectronBrowserMainParts dtor Browser::WhenReady() holds a reference to JsEnv isolate so must come after
[ { "path": "shell/browser/electron_browser_main_parts.cc", "patch": "@@ -204,11 +204,11 @@ ElectronBrowserMainParts* ElectronBrowserMainParts::self_ = nullptr;\n \n ElectronBrowserMainParts::ElectronBrowserMainParts()\n : fake_browser_process_(std::make_unique<BrowserProcessImpl>()),\n- browser_(std...
2023-08-21T08:29:25
facebook/react
e373190faf3b994707f09488c1a7832f4a91e15a
0711ff17638ed41f9cdea712a19b92f01aeda38f
Guard against legacy context not being supported in DevTools fixture (#28596)
[ { "path": "packages/react-devtools-shell/src/app/InspectableElements/Contexts.js", "patch": "@@ -273,15 +273,46 @@ class ModernClassContextConsumerWithUpdates extends Component<any> {\n }\n }\n \n+type LegacyContextState = {\n+ supportsLegacyContext: boolean,\n+};\n+class LegacyContext extends React.Comp...
2024-03-25T13:30:08
vercel/next.js
2bb227ebee5609809eb5a7e9ad00b900f458128d
189f971fe8a2ad30dbb9f74e2472fe8748c28e00
fix: turbopack loader ipc field mapping (#82112) Co-authored-by: Dario Lehmhus <dario.lehmhus@ffw.com>
[ { "path": "test/development/app-dir/turbopack-loader-file-dependencies/app/layout.tsx", "patch": "@@ -0,0 +1,8 @@\n+import { ReactNode } from 'react'\n+export default function Root({ children }: { children: ReactNode }) {\n+ return (\n+ <html>\n+ <body>{children}</body>\n+ </html>\n+ )\n+}", ...
2025-07-31T12:24:18
nodejs/node
99b491c595b16964004b1e532a57455fc8ced193
75741a19524c3cf3a9671ee227e806cf842e9a86
doc: fix module compile cache description PR-URL: https://github.com/nodejs/node/pull/54625 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
[ { "path": "doc/api/module.md", "patch": "@@ -182,7 +182,7 @@ directory will be recreated the next time the same directory is used for for com\n storage. To avoid filling up the disk with stale cache, it is recommended to use a directory\n under the [`os.tmpdir()`][]. If the compile cache is enabled by a cal...
2024-08-29T04:36:46
golang/go
5bbac667c5c7bd1bde1750586c92f5932134c871
c62099cfac6b0fd46efbdab7205bb17597096472
runtime: increase freebsd/amd64 pointer size from 48 to 57 bits Because freebsd is now enabling la57 by default. Fixes #49405 Change-Id: I30f7bac8b8a9baa85e0c097e06072c19ad474e5a Reviewed-on: https://go-review.googlesource.com/c/go/+/670715 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@...
[ { "path": "src/runtime/tagptr_64bit.go", "patch": "@@ -34,13 +34,16 @@ const (\n \t// We use one bit to distinguish between the two ranges.\n \taixAddrBits = 57\n \n+\t// Later versions of FreeBSD enable amd64's la57 by default.\n+\tfreebsdAmd64AddrBits = 57\n+\n \t// riscv64 SV57 mode gives 56 bits of user...
2025-05-07T21:34:30
electron/electron
9937a2bbe8dd6cc01ff3dd0ce32268e33c0ec1de
95bf9d8adb33bc2aaf988977b18663f9a770ef77
fix: explorer restart does not recreated thumbnail toolbar buttons (#39551) fix: explorer restart does not recreated thumbnail toolbar buttons.
[ { "path": "shell/browser/native_window_views.cc", "patch": "@@ -254,6 +254,10 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,\n \n if (title_bar_style_ != TitleBarStyle::kNormal)\n set_has_frame(false);\n+\n+ // If the taskbar is re-created after we start up, we have to...
2023-08-21T00:43:49
facebook/react
2ce112dbf2442c87f89b649e31dd132c170d64fd
db7e7c7fae69e54fee8751b10790827e2dea0ac2
Repro for missing dep with while/if using externally declared "index" variable What happens here is that the phi node for `i` has its mutable range set to start at 0, because it has a back edge and we haven't initialized the mutable ranges of all its operands yet when we iterate the operands and set range.start = ...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-repro-missing-dependency-if-within-while.expect.md", "patch": "@@ -0,0 +1,79 @@\n+\n+## Input\n+\n+```javascript\n+const someGlobal = true;\n+export default function Component(props) {\n+ const { b } = props;\n+ con...
2024-03-23T04:49:39
vercel/next.js
6b5fe4637d2001a4cefa6bff179c7f970c7fe748
ccde68ff349dd4bc4acee60f097032afc1b4a5bd
Fix: Don't bail out of prefetch if head is missing (#82216) This fixes an edge case where a Link is prefetched with prefetch={true}, and the target page has a dynamic head, but the head is not fully prefetched. If all the segment data for the target page was already cached, the prefetch scheduler would bail out and sk...
[ { "path": "packages/next/src/client/components/segment-cache-impl/cache.ts", "patch": "@@ -109,6 +109,9 @@ type RouteCacheEntryShared = {\n // received a response from the server.\n couldBeIntercepted: boolean\n \n+ // See comment in scheduler.ts for context\n+ TODO_metadataStatus: EntryStatus.Empty |...
2025-07-31T03:29:03
nodejs/node
ff5ef7083dc23969219bdb7e412ffd5388783a25
4a0ec20a35aff521c3a08e42b3905012a6566c00
src: add JS APIs for compile cache and NODE_DISABLE_COMPILE_CACHE This patch adds the following API for tools to enable compile cache dynamically and query its status. - module.enableCompileCache(cacheDir) - module.getCompileCacheDir() In addition this adds a NODE_DISABLE_COMPILE_CACHE environment variable to disabl...
[ { "path": "doc/api/cli.md", "patch": "@@ -2841,25 +2841,8 @@ added: v22.1.0\n \n > Stability: 1.1 - Active Development\n \n-When set, whenever Node.js compiles a CommonJS or a ECMAScript Module,\n-it will use on-disk [V8 code cache][] persisted in the specified directory\n-to speed up the compilation. This ...
2024-08-28T23:22:57
golang/go
9e026bf9cc1dcb6ef24d26398182a22d9d6cd2d2
c44c4de51b68a88e2b8e4a0ae102f941155522d0
testing: add Output Output is a method on T, B and F. It provides an io.Writer that writes to the same test output stream as TB.Log. The new output writer is used to refactor the implementation of Log. It maintains the formatting provided by Log while making call site information optional. Additionally, it provides bu...
[ { "path": "api/next/59928.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg testing, method (*B) Output() io.Writer #59928\n+pkg testing, method (*F) Output() io.Writer #59928\n+pkg testing, method (*T) Output() io.Writer #59928", "additions": 3, "deletions": 0, "language": "Plain Text" }, { "path":...
2025-05-13T21:30:35
electron/electron
95bf9d8adb33bc2aaf988977b18663f9a770ef77
c75e193a3e4683b1d55e56152dcef92e93d5eb56
fix: `chrome://gpu` failing to load (#39556) fix: chrome://gpu failing to load
[ { "path": "electron_paks.gni", "patch": "@@ -61,6 +61,7 @@ template(\"electron_extra_paks\") {\n \"$root_gen_dir/content/browser/tracing/tracing_resources.pak\",\n \"$root_gen_dir/content/browser/webrtc/resources/webrtc_internals_resources.pak\",\n \"$root_gen_dir/content/content_resources...
2023-08-21T00:41:00
facebook/react
200d2c379dd3acb024ec0b2ef9d649bb1d149bdd
f4ff1a28e714a2d013615a142257523ea9da17cf
Fix for loops with value block index initial value
[ { "path": "compiler/packages/babel-plugin-react-forget/src/SSA/LeaveSSA.ts", "patch": "@@ -23,6 +23,7 @@ import {\n eachInstructionValueOperand,\n eachPatternOperand,\n eachTerminalOperand,\n+ eachTerminalSuccessor,\n terminalFallthrough,\n } from \"../HIR/visitors\";\n \n@@ -340,8 +341,14 @@ expor...
2024-03-22T21:51:36
vercel/next.js
eabcc9efae27ec75c0c785480d401438f24e1f34
0899283aee33271d9b1c9cf3c6c212922030100f
fix: display multiple lockfile warn if neither `outputFileTracingRoot` or `turbopack.root` option is provided (#82164) > Better to be reviewed with "Hide whitespace". This PR fixed a bug where `findRootDir()` was called and displayed multiple lockfile warnings even if the app had `turbopack.root`, as there was no `ou...
[ { "path": "packages/next/src/lib/find-root.ts", "patch": "@@ -40,14 +40,25 @@ export function findRootDir(cwd: string) {\n .map((str) => '\\n * ' + str)\n .join('')\n \n- Log.warnOnce(\n- `Warning: Next.js inferred your workspace root, but it may not be correct.\\n` +\n- ` We de...
2025-07-30T21:26:00
nodejs/node
4a0ec20a35aff521c3a08e42b3905012a6566c00
4f14eb15454b9f6ae7f0145947debd2c79a2a84f
lib: respect terminal capabilities on styleText This PR changes styleText API to respect terminal capabilities and environment variables such as NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR. PR-URL: https://github.com/nodejs/node/pull/54389 Fixes: https://github.com/nodejs/node/issues/54365 Reviewed-By: Moshe Atlow...
[ { "path": "doc/api/util.md", "patch": "@@ -1802,32 +1802,63 @@ console.log(util.stripVTControlCharacters('\\u001B[4mvalue\\u001B[0m'));\n // Prints \"value\"\n ```\n \n-## `util.styleText(format, text)`\n+## `util.styleText(format, text[, options])`\n \n > Stability: 1.1 - Active development\n \n <!-- YAML\...
2024-08-28T18:00:11
golang/go
9bba799955e68972041c4f340ee4ea2d267e5c0e
76f63ee890170f4884f4d213e8150d39d6758ad3
crypto/x509: decouple key usage and policy validation Disabling key usage validation (by passing ExtKeyUsageAny) unintentionally disabled policy validation. This change decouples these two checks, preventing the user from unintentionally disabling policy validation. Thanks to Krzysztof Skrzętnicki (@Tener) of Telepor...
[ { "path": "src/crypto/x509/verify.go", "patch": "@@ -841,31 +841,45 @@ func (c *Certificate) Verify(opts VerifyOptions) (chains [][]*Certificate, err e\n \t\t}\n \t}\n \n-\tif len(opts.KeyUsages) == 0 {\n-\t\topts.KeyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}\n+\tchains = make([][]*Certificate, 0, len(ca...
2025-05-06T16:27:10
electron/electron
c75e193a3e4683b1d55e56152dcef92e93d5eb56
0621f3929693530076b75befbdaa83755f6cd4fa
fix: use tiled edges to calculate frame inset sizes in Linux (#39523) Adapt to the window frame size calculation changes in CL 3970920 by setting the inset sizes to 0 for tiled edges.
[ { "path": "shell/browser/ui/views/client_frame_view_linux.cc", "patch": "@@ -150,7 +150,13 @@ void ClientFrameViewLinux::Init(NativeWindowViews* window,\n }\n \n gfx::Insets ClientFrameViewLinux::GetBorderDecorationInsets() const {\n- return frame_provider_->GetFrameThicknessDip();\n+ const auto insets = ...
2023-08-17T18:26:49
facebook/react
f4ff1a28e714a2d013615a142257523ea9da17cf
73fa712108dcd7b1a103291650087f561be613b4
Fix for destructuring with partial context variables
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -3434,7 +3434,12 @@ function lowerAssignment(\n */\n const forceTemporaries =\n kind === InstructionKind.Reassign &&\n- elements.some((element) => !element.isIdentifier());\n+ (elemen...
2024-03-22T21:32:50
vercel/next.js
d0b0cf0fbe121f68c20e3884e3b261edab456d0a
993e4d39299687d2a36701fae56e81e8413a5531
Grammar fix on forms.mdx (#82209) grammar nit: "an API" is singular Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/02-pages/02-guides/forms.mdx", "patch": "@@ -8,7 +8,7 @@ Forms enable you to create and update data in web applications. Next.js provides\n \n ## Server Forms\n \n-To handle form submissions on the server, create an API endpoint securely mutate data.\n+To handle form submissions on the serve...
2025-07-30T20:21:46
golang/go
4aeb9ba0deac4eced472a8fc7869a14fb9340d04
a632009c4a0b0826871baae7e7ce7804b4089d93
runtime/pprof: return errors from writing profiles Fixes #73107 Change-Id: I41f3e1bd1fdaca2f0e94151b2320bd569e258a51 Reviewed-on: https://go-review.googlesource.com/c/go/+/671576 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Rev...
[ { "path": "src/runtime/pprof/pprof.go", "patch": "@@ -446,8 +446,7 @@ func printCountCycleProfile(w io.Writer, countName, cycleName string, records []\n \t\tlocs = b.appendLocsForStack(locs[:0], expandedStack[:n])\n \t\tb.pbSample(values, locs, nil)\n \t}\n-\tb.build()\n-\treturn nil\n+\treturn b.build()\n ...
2025-05-11T20:55:57
nodejs/node
0b3ae01131126cc057242c7762c1b44dcef9b823
342b501cb0ceed7aeaadba09a13024cbab5f24c2
test: fix embedding test for Windows PR-URL: https://github.com/nodejs/node/pull/53659 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: ...
[ { "path": "test/embedding/test-embedding.js", "patch": "@@ -10,6 +10,7 @@ const {\n } = require('../common/child_process');\n const path = require('path');\n const fs = require('fs');\n+const os = require('os');\n \n tmpdir.refresh();\n common.allowGlobals(global.require);\n@@ -152,12 +153,6 @@ for (const e...
2024-08-27T21:30:50
electron/electron
0621f3929693530076b75befbdaa83755f6cd4fa
aeb89b143b5c61f52d8852ab247297ea2b2045b5
test: enable `parallel/test-debugger-random-port-with-inspect-port` (#39533) test: enable parallel/test-debugger-random-port-with-inspect-port
[ { "path": "patches/node/fix_account_for_debugger_agent_race_condition.patch", "patch": "@@ -21,6 +21,18 @@ index eab99c9b0e2fb387ef9a716396e41c7fc93e93bc..ef8b20a60df88a0a412c309f597e1b1f\n await cli.waitForPrompt();\n await cli.command('sb(\"alive.js\", 3)');\n await cli.waitFor(/break/);\n+...
2023-08-17T16:16:14
facebook/react
d7d82e7bee33dbfbc4ef5aedcced57fa628b8b2a
4575c8a5f6cb2bc006d586a1a0c025d677a62c99
Correct eslint-plugin-react-compiler dependencies Correct eslint-plugin-react-compiler dependencies - The eslint plugin doesn't actually depend on the babel plugin as it compiles in the dependencies. - `zod` and `zod-validation-error` were missing, but required to run the plugin. - Update to the `hermes-parser` d...
[ { "path": "compiler/packages/eslint-plugin-react-compiler/package.json", "patch": "@@ -9,8 +9,9 @@\n \"dependencies\": {\n \"@babel/core\": \"^7.19.1\",\n \"@babel/plugin-proposal-private-methods\": \"^7.18.6\",\n- \"babel-plugin-react-forget\": \"*\",\n- \"hermes-parser\": \"^0.19.1\"\n+ ...
2024-03-22T21:03:30
vercel/next.js
993e4d39299687d2a36701fae56e81e8413a5531
7351d9245055bc8babca01ae14e21831b78d3604
Fix: the unexpected clearing of symbolic link directories (#82191) When I was using the standalone build, the second build would delete the contents of local packages. As a result, developers had to delete the cache of local empty directories and re-download the packages. I added a condition for recursive deletion to ...
[ { "path": ".changeset/lemon-islands-care.md", "patch": "@@ -0,0 +1,5 @@\n+---\n+'next': patch\n+---\n+\n+Fix the unexpected clearing of symbolic link directories", "additions": 5, "deletions": 0, "language": "Markdown" }, { "path": "packages/next/src/lib/recursive-delete.ts", "patch"...
2025-07-30T19:34:43
golang/go
a632009c4a0b0826871baae7e7ce7804b4089d93
698f86139bf72bcf7cbf08accc1c34394cb57acb
cmd/go: support -json flag in go version It supports features described in the issue: * add -json flag for 'go version -m' to print json encoding of runtime/debug.BuildSetting to standard output. * report an error when specifying -json flag without -m. * print build settings on seperated line for each binary Fixes...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1967,7 +1967,7 @@\n //\n // Usage:\n //\n-//\tgo version [-m] [-v] [file ...]\n+//\tgo version [-m] [-v] [-json] [file ...]\n //\n // Version prints the build information for Go binary files.\n //\n@@ -1986,6 +1986,9 @@\n // information consists of multiple l...
2024-10-14T11:11:53
nodejs/node
342b501cb0ceed7aeaadba09a13024cbab5f24c2
ebaabf6a0afb5a8b470e19e53c2abbd412abc4cd
doc: fix information about including coverage files PR-URL: https://github.com/nodejs/node/pull/54527 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/test.md", "patch": "@@ -474,7 +474,8 @@ command-line flag, code coverage is collected and statistics are reported once\n all tests have completed. If the [`NODE_V8_COVERAGE`][] environment variable is\n used to specify a code coverage directory, the generated V8 coverage files are\n writt...
2024-08-27T19:11:04
electron/electron
213388cd8738bcac2c99a4d20179d6d1cf89d067
8374b9c2ad23187c614a2305c3f5cc6e52a14c0c
refactor: prefer Sorted variant of MakeFixedFlatSet() (#39537) perf: prefer Sorted variant of MakeFixedFlatSet() https://chromium-review.googlesource.com/c/chromium/src/+/4660000 says that the sorted version is simpler at compile time because it can skip MakeFixedFlatSet()'s compile-time dynamic sorting.
[ { "path": "shell/app/node_main.cc", "patch": "@@ -54,13 +54,14 @@ namespace {\n // See https://nodejs.org/api/cli.html#cli_options\n void ExitIfContainsDisallowedFlags(const std::vector<std::string>& argv) {\n // Options that are unilaterally disallowed.\n- static constexpr auto disallowed = base::MakeFi...
2023-08-17T13:58:04
rust-lang/rust
8c26adcab0d57791c2af752fd1c0973860bc38f5
70c6d5a4476db95a94e417694f3535388ef613ed
libm: Add an optimization for `floor` ceil seems to optimize better, but this gets closer to the pre-fix codegen.
[ { "path": "library/compiler-builtins/libm/src/math/generic/floor.rs", "patch": "@@ -26,7 +26,6 @@ pub fn floor_status<F: Float>(x: F) -> FpResult<F> {\n return FpResult::ok(x);\n }\n \n- let status;\n let res = if e >= 0 {\n // |x| >= 1.0\n let m = F::SIG_MASK >> e.unsigne...
2026-02-07T15:26:48
facebook/react
4575c8a5f6cb2bc006d586a1a0c025d677a62c99
fb0f7e5c39c01ee726205746439ecd7a1ceedb75
Detect hoisting where the reference is a reassignment Our logic to detect hoisting relies on Babel's `isReferencedIdentifier()` to determine whether a reference to an identifier is a reference or a declaration. The idea is that we want to find references to variables that may be hoistable, before the declaration —...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -366,7 +366,12 @@ function lowerStatement(\n ArrowFunctionExpression: withFunctionContext,\n ObjectMethod: withFunctionContext,\n Identifier(id: NodePath<t.Identifier>) {\n- if ...
2024-03-22T20:49:50
vercel/next.js
4e355ccbb712a958183bcd1250529c00482e8201
2b84bc2553f8fcbe931bde2a197bd0a273cb5254
Turbopack: Use a BTreeMap in InvalidatorMap to avoid many `O(n)` traversals when finding child paths (#82133) This fixes an `O(n)` iteration of the invalidators (which can be quite large) in `invalidate_path_and_children_execute`. It requires the nightly `btree_cursors` API. It's possible to implement this without th...
[ { "path": "turbopack/crates/turbo-tasks-fs/src/invalidator_map.rs", "patch": "@@ -1,4 +1,5 @@\n use std::{\n+ collections::BTreeMap,\n path::PathBuf,\n sync::{LockResult, Mutex, MutexGuard},\n };\n@@ -16,18 +17,18 @@ pub enum WriteContent {\n Link(ReadRef<LinkContent>),\n }\n \n-type InnerMap...
2025-07-30T18:01:21
golang/go
698f86139bf72bcf7cbf08accc1c34394cb57acb
8d189f188e225e4919b34c0c097e75dfda255949
crypto: limit md5 or sha256 blocks processed at once in assembly This change limits the amount of data that can be hashed at once - the assembly routines are not preemptible and can result in large latency outliers when part of a larger system. Benchmarks for sha256 (on an arm64 M1): name old speed ...
[ { "path": "src/crypto/internal/fips140/sha256/sha256.go", "patch": "@@ -21,6 +21,11 @@ const size224 = 28\n // The block size of SHA-256 and SHA-224 in bytes.\n const blockSize = 64\n \n+// The maximum number of bytes that can be passed to block(). The limit exists\n+// because implementations that rely on ...
2025-05-13T00:45:25
rust-lang/rust
70c6d5a4476db95a94e417694f3535388ef613ed
0b0d40d5f3ab401604d138fdf2cc4785a3ecc6bc
libm: Fix `_status` status outputs on null-mantissa inputs Values like 0.5 that have an exponent but not a mantissa are currently being reported as OK rather than INEXACT for ceil, floor, and trunc. Fix this and clean up the test cases. This tries to keep the algorithm diff as simple as possible, which introduces som...
[ { "path": "library/compiler-builtins/libm/src/math/generic/ceil.rs", "patch": "@@ -46,7 +46,7 @@ pub fn ceil_status<F: Float>(x: F) -> FpResult<F> {\n F::from_bits(ix)\n } else {\n // |x| < 1.0, raise an inexact exception since truncation will happen (unless x == 0).\n- if ix & F:...
2026-02-07T13:06:05
electron/electron
dd8df3b0c47102fe5686f516c80e698ab555a6f9
b04ce6a5c867aae4931517923c535388679994ad
fix: destruction order of js env fields (#39521) isolate_ depends on isolate_holder_ and so must be destroyed first.
[ { "path": "shell/browser/javascript_environment.cc", "patch": "@@ -104,9 +104,10 @@ gin::IsolateHolder CreateIsolateHolder(v8::Isolate* isolate) {\n \n JavascriptEnvironment::JavascriptEnvironment(uv_loop_t* event_loop,\n bool setup_wasm_streaming)\n- : isolat...
2023-08-17T04:06:24
facebook/react
f09e1599d631051a559974578a6d4c06effd95eb
5c65b27587c0507d66a84e055de948fc62d471d4
Fix test after merge conflict (#28616) Something went wrong when rebasing #28491 and renaming the hook.
[ { "path": "packages/react-dom/src/__tests__/ReactDOMForm-test.js", "patch": "@@ -1324,7 +1324,7 @@ describe('ReactDOMForm', () => {\n \n let dispatch;\n function App() {\n- const [state, _dispatch, isPending] = useFormState(action, 0);\n+ const [state, _dispatch, isPending] = useActionStat...
2024-03-22T18:05:55
vercel/next.js
355831afbda41e65a106eed328b4a3bf4af5be3c
aae25a1deafa061523e66f7e91c69ff2d944e449
docs: fix typo in docs (#82186) ### What? This pull request just fix typo in documentation. --------- Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
[ { "path": "docs/01-app/01-getting-started/07-fetching-data.mdx", "patch": "@@ -106,7 +106,7 @@ There are two ways to fetch data in Client Components, using:\n You can use React's [`use` hook](https://react.dev/reference/react/use) to [stream](#streaming) data from the server to client. Start by fetching dat...
2025-07-30T10:03:04
golang/go
8d189f188e225e4919b34c0c097e75dfda255949
a2fbb50322e716f75e9c4707afd2de725a95e14b
testing: add Output Output is a method on T, B and F. It provides an io.Writer that writes to the same test output stream as TB.Log. The new output writer is used to refactor the implementation of Log. It maintains the formatting provided by Log while making call site information optional. Additionally, it provides bu...
[ { "path": "api/next/59928.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg testing, method (*B) Output() io.Writer #59928\n+pkg testing, method (*F) Output() io.Writer #59928\n+pkg testing, method (*T) Output() io.Writer #59928", "additions": 3, "deletions": 0, "language": "Plain Text" }, { "path":...
2025-05-12T19:23:41
rust-lang/rust
0b0d40d5f3ab401604d138fdf2cc4785a3ecc6bc
e68fc280c21da48381fa99f1dc0962625841a60c
libm: Improve debug output for `Status`
[ { "path": "library/compiler-builtins/libm/src/math/support/env.rs", "patch": "@@ -49,10 +49,14 @@ pub enum Round {\n }\n \n /// IEEE 754 exception status flags.\n-#[derive(Clone, Copy, Debug, PartialEq, Eq)]\n+#[derive(Clone, Copy, PartialEq, Eq)]\n pub struct Status(u8);\n \n impl Status {\n+ /* Note th...
2026-02-07T13:06:05
nodejs/node
ebaabf6a0afb5a8b470e19e53c2abbd412abc4cd
d813634424fb9afeed0feae2e9d99ac7daab5af9
deps: backport ICU-22787 to fix ClangCL on Windows - Floating patch for ICU 75.x ICU Bug: https://unicode-org.atlassian.net/browse/ICU-22787 Backport of: https://github.com/unicode-org/icu/pull/3023 PR-URL: https://github.com/nodejs/node/pull/54502 Reviewed-By: Steven R Loomis <srl295@gmail.com> Reviewed-By: Richard...
[ { "path": "tools/icu/patches/75/source/common/unicode/platform.h", "patch": "@@ -0,0 +1,849 @@\n+// © 2016 and later: Unicode, Inc. and others.\n+// License & terms of use: http://www.unicode.org/copyright.html\n+/*\n+******************************************************************************\n+*\n+* C...
2024-08-27T18:44:05
electron/electron
9d6d606192b1be9d82175ed7d61091856a362f10
1eb398b328d304f227deef0e89ca0be7b9e20755
build: fixup libcxx zip (#39536)
[ { "path": "build/zip_libcxx.py", "patch": "@@ -30,8 +30,8 @@ def get_object_files(base_path, archive_name):\n def main(argv):\n dist_zip, = argv\n out_dir = os.path.dirname(dist_zip)\n- base_path_libcxx = os.path.join(out_dir, 'obj/third_party/libc++')\n- base_path_libcxxabi = os.path.join(out_dir, 'o...
2023-08-16T18:05:39
facebook/react
5c65b27587c0507d66a84e055de948fc62d471d4
fabd6d3a64aa20aca940142a29a14a82d1cefd31
Add `React.useActionState` (#28491) ## Overview _Depends on https://github.com/facebook/react/pull/28514_ This PR adds a new React hook called `useActionState` to replace and improve the ReactDOM `useFormState` hook. ## Motivation This hook intends to fix some of the confusion and limitations of the `use...
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -106,6 +106,10 @@ function getPrimitiveStackCache(): Map<string, Array<any>> {\n // This type check is for Flow only.\n Dispatcher.useFormState((s: mixed, p: mixed) => s, null);\n }\n+ if (typeof Dispatche...
2024-03-22T17:03:44
golang/go
a2fbb50322e716f75e9c4707afd2de725a95e14b
1e436ba668f5988ca8fbeb68734800b9dcf33dbc
cmd/link: ignore mapping symbols on riscv64 Specified in RISC-V ELF psABI[1], mapping symbols are symbols starting with "$d" or "$x" with STT_NOTYPE, STB_LOCAL and zero sizes, indicating boundaries between code and data in the same section. Let's simply ignore them as they're only markers instead of real symbols. Thi...
[ { "path": "src/cmd/link/internal/loadelf/ldelf.go", "patch": "@@ -602,6 +602,14 @@ func Load(l *loader.Loader, arch *sys.Arch, localSymVersion int, f *bio.Reader,\n \t\t\t\t\t// See https://sourceware.org/bugzilla/show_bug.cgi?id=21809\n \t\t\t\t\tcontinue\n \t\t\t\t}\n+\n+\t\t\t\tif arch.Family == sys.RISC...
2025-05-09T15:09:39
rust-lang/rust
0b477792235b917a1d2b01b59a68ed8ec3405729
47f2bf6d65ebd04016d3ac1aac52a94457afc733
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -59,6 +59,7 @@ rm tests/ui/asm/x86_64/goto.rs # inline asm labels not supported\n rm tests/ui/asm/label-operand.rs # same\n rm tests/ui/asm/may_unwind.rs # asm unwinding not supported\n rm tests/ui/asm/aarch64/may_unwind.rs # same\n+rm tests/ui/asm/x86_6...
2026-02-13T11:18:20
nodejs/node
a7271ab47db932e67f1d2917fe926997bbb7238a
589a60e3acafae0eff9a5a06eea6742a6e0c4fcf
lib: fix emit warning for debuglog.time when disabled PR-URL: https://github.com/nodejs/node/pull/54275 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
[ { "path": "lib/internal/util/debuglog.js", "patch": "@@ -133,6 +133,7 @@ function pad(value) {\n const kNone = 1 << 0;\n const kSkipLog = 1 << 1;\n const kSkipTrace = 1 << 2;\n+const kShouldSkipAll = kSkipLog | kSkipTrace;\n \n const kSecond = 1000;\n const kMinute = 60 * kSecond;\n@@ -377,8 +378,6 @@ funct...
2024-08-27T16:20:35
electron/electron
1eb398b328d304f227deef0e89ca0be7b9e20755
f7a7085019bf757700df3c2f8714e0de356203cd
fix: crash when calling `BrowserWindow.moveTop()` on modal children (#39499) fix: crash when calling moveTop() on modal children
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -812,7 +812,7 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) {\n if (!webrtc::GetWindowOwnerPid(window_id))\n return false;\n \n- if (!parent()) {\n+ if (!parent() || is_modal()) {\n [window_ orderWindo...
2023-08-16T11:28:29
facebook/react
f6472522da8a756e300ca6914d081b8ea82f4646
e047db8d037f63884a41575ea733c27fe8bd1f14
[repro] Fixture for incorrect lowering for break (label within loop) --- unlabeled breaks must goto the nearest iteration or switch boundary (not labeled block) --- Sprout fails with the following: ``` FAIL: bug-unlabeled-break-within-label-loop >> Unexpected error during test: Found differences in eva...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-unlabeled-break-within-label-loop.expect.md", "patch": "@@ -0,0 +1,62 @@\n+\n+## Input\n+\n+```javascript\n+function useHook(end) {\n+ const log = [];\n+ for (let i = 0; i < end + 1; i++) {\n+ log.push(`${i} @A`)...
2024-03-22T20:14:35
vercel/next.js
7e4c74b9f59550f974f9240e5b4a8b72e67997fd
ad4fd37d373c125456a323a1e533c147c2e02e13
Turbopack: Make the "non-recursive" logic for the fs watcher a runtime flag instead of a build-time one (#82031) We use different modes on macos/windows and linux for watching files for performance reasons: https://github.com/vercel/turborepo/pull/4100 Now with `TURBO_TASKS_FORCE_WATCH_MODE=recursive` or `TURBO_TASKS...
[ { "path": "turbopack/crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -255,9 +255,10 @@ impl DiskFileSystemInner {\n let invalidator = turbo_tasks::get_invalidator();\n self.invalidator_map\n .insert(path_to_key(path), invalidator, None);\n- #[cfg(not(any(target_os = \"maco...
2025-07-30T07:47:59
golang/go
ef58ec2b5a35f7b11a5bc0632cb156c5bcf56632
ac992f2614ee3abef8eb01ed8b7d5b4024cda48f
text/template: clone options when cloning templates Fixes #43022 Change-Id: I727b86ea0ebfff06f82c909457479c2afb9106dc Reviewed-on: https://go-review.googlesource.com/c/go/+/671615 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI...
[ { "path": "src/text/template/multi_test.go", "patch": "@@ -210,6 +210,7 @@ const (\n \tcloneText2 = `{{define \"b\"}}b{{end}}`\n \tcloneText3 = `{{define \"c\"}}root{{end}}`\n \tcloneText4 = `{{define \"c\"}}clone{{end}}`\n+\tcloneText5 = `{{define \"e\"}}{{.Foo}}{{end}}`\n )\n \n func TestClone(t *testing....
2025-05-10T11:18:32
nodejs/node
eb7e18fe9446666d5b81e59167817becc8554a77
ba07067b92b4649f24f96b3b9b35d3aaba3c5e0e
test_runner: always make spec the default reporter This is a breaking change. Prior to this commit, the test_runner defaulted to the spec reporter if using a TTY, and the TAP reporter otherwise. This commit makes spec the default reporter unconditionally. TAP output is still available via the --test-reporter=tap CLI f...
[ { "path": "doc/api/test.md", "patch": "@@ -1000,12 +1000,13 @@ flags for the test runner to use a specific reporter.\n \n The following built-reporters are supported:\n \n+* `spec`\n+ The `spec` reporter outputs the test results in a human-readable format. This\n+ is the default reporter.\n+\n * `tap`\n ...
2024-08-27T15:22:16
rust-lang/rust
a18724523c95dd00b078a9e0224ead248b29d74e
47611e16044c68ef27bac31c35fda2ba1dc20b73
nix-dev-shell: fix a typo
[ { "path": "src/tools/nix-dev-shell/envrc-flake", "patch": "@@ -1,5 +1,5 @@\n # If you want to use this as an .envrc file to create a shell with necessary components \n-# to develop rustc, use the following command in the root of the rusr checkout:\n+# to develop rustc, use the following command in the root ...
2026-02-13T09:54:34
electron/electron
f7a7085019bf757700df3c2f8714e0de356203cd
0c45d160d669356c70bb0df50ebbd250fc6fd562
docs: fix typo in open-url API docs (#39513) * Fix typo in open-url API docs * Update app.md
[ { "path": "docs/api/app.md", "patch": "@@ -128,9 +128,8 @@ Emitted when the user wants to open a URL with the application. Your application\n set `NSPrincipalClass` to `AtomApplication`.\n \n As with the `open-file` event, be sure to register a listener for the `open-url`\n-event early in your application s...
2023-08-16T10:26:02
facebook/react
fee786a057774ab687aff765345dd86fce534ab2
72e02a8350309c6228ec1d9f21a5b09b84456fb8
[Fizz] Recover from errors thrown by progressive enhancement form generation (#28611) This a follow up to #28564. It's alternative to #28609 which takes #28610 into account. It used to be possible to return JSX from an action with `useActionState`. ```js async function action(errors, payload) { "use server...
[ { "path": "packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js", "patch": "@@ -1045,14 +1045,43 @@ function pushAdditionalFormField(\n \n function pushAdditionalFormFields(\n target: Array<Chunk | PrecomputedChunk>,\n- formData: null | FormData,\n+ formData: void | null | FormData,\n ) {\n- if...
2024-03-21T23:51:38
golang/go
ac992f2614ee3abef8eb01ed8b7d5b4024cda48f
8cfcad8da82a01296cfcdb8c6ab7b0b726534e21
testing: limit TempDir name length Fixes #71742 Change-Id: Ibef8f7f0a36b25f181062c4d2f84279a97e467a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/671577 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael ...
[ { "path": "src/testing/testing.go", "patch": "@@ -1244,6 +1244,11 @@ func (c *common) TempDir() string {\n \tif nonExistent {\n \t\tc.Helper()\n \n+\t\tpattern := c.Name()\n+\t\t// Limit length of file names on disk.\n+\t\t// Invalid runes from slicing are dropped by strings.Map below.\n+\t\tpattern = patte...
2025-05-11T21:36:58
vercel/next.js
9c120306afd437b6640c9b9964abcfffbf459f52
1b2e69fdd09b00f1fd503a6450e5aefe1db519f9
Fix RSC hash validation for middleware external rewrites (#82176)
[ { "path": "packages/next/src/server/web/adapter.ts", "patch": "@@ -19,6 +19,7 @@ import {\n FLIGHT_HEADERS,\n NEXT_REWRITTEN_PATH_HEADER,\n NEXT_REWRITTEN_QUERY_HEADER,\n+ NEXT_RSC_UNION_QUERY,\n RSC_HEADER,\n } from '../../client/components/app-router-headers'\n import { ensureInstrumentationRegis...
2025-07-30T00:55:39
rust-lang/rust
f63007cd3b264c231c929d70175b7a7ea5ea6c5d
47611e16044c68ef27bac31c35fda2ba1dc20b73
fix missleading error for tuple ctor
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs", "patch": "@@ -2465,7 +2465,13 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n let parent_did = tcx.parent(*def_id);\n (tcx.adt_def(parent_did), fn_args, parent_did)\n }\n- _ => return non...
2026-02-13T09:54:04
electron/electron
1d20ec5b990085fb38cc0494435cd6f57e0e8b3e
22c359ac4f2c3bfa3c0c4b03543007dc6c5942da
ci: fix @electron/github-app-auth CLI usage (#39507)
[ { "path": ".github/workflows/branch-created.yml", "patch": "@@ -64,7 +64,7 @@ jobs:\n env:\n RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}\n run: |\n- TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org electron)\n+ ...
2023-08-15T18:41:29
facebook/react
e047db8d037f63884a41575ea733c27fe8bd1f14
3a6a2e7e4a807003bc42e103d157ae783602c362
[repro] Repro for control flow bug in PropagateScopeDependency --- Thanks to @josephsavona for finding this bug. This is another example of why we really want hir-everywhere. Forget output currently nullthrows because we believe `obj.a` is run unconditionally in source (missing the break/returns out of this sco...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-reduce-reactive-deps-break-in-scope.expect.md", "patch": "@@ -0,0 +1,63 @@\n+\n+## Input\n+\n+```javascript\n+function useFoo({ obj, objIsNull }) {\n+ const x = [];\n+ b0: {\n+ if (objIsNull) {\n+ break b0;\...
2024-03-21T21:44:13
golang/go
8cfcad8da82a01296cfcdb8c6ab7b0b726534e21
18431a1c8f7d19410fcd3fe6638cfe1cd4bd7179
net: don't test with leading 0 in ipv4 addresses Updates #30999 Fixes #73378 Change-Id: I6a96581e78678518473626aa5d108428cfad6619 Reviewed-on: https://go-review.googlesource.com/c/go/+/671795 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccou...
[ { "path": "src/net/external_test.go", "patch": "@@ -90,7 +90,6 @@ var (\n \t\t\"www.google.com:80\",\n \t\t\"%d.%d.%d.%d:http\",\n \t\t\"www.google.com:http\",\n-\t\t\"%03d.%03d.%03d.%03d:0080\",\n \t\t\"[::ffff:%d.%d.%d.%d]:80\",\n \t\t\"[::ffff:%02x%02x:%02x%02x]:80\",\n \t\t\"[0:0:0:0:0000:ffff:%d.%d.%d....
2025-05-11T20:22:47
vercel/next.js
42bcacd9a1127bac3b018e134312e60d25117cbf
10e0798fc9a43dc34f8d49c6b805d8a54af6d91b
Remove useMDXComponents argument (#80871) ### What? Fix the signatures of `useMDXComponents`. ### Why? The `useMDXComponents` function is always called without any arguments. It’s also always supposed to be a named export, not a default export. It’s also called during render. Defining React components during render...
[ { "path": "docs/01-app/02-guides/mdx.mdx", "patch": "@@ -77,18 +77,18 @@ Create an `mdx-components.tsx` (or `.js`) file in the root of your project to de\n ```tsx filename=\"mdx-components.tsx\" switcher\n import type { MDXComponents } from 'mdx/types'\n \n-export function useMDXComponents(components: MDXCo...
2025-07-29T20:45:08
facebook/react
3a6a2e7e4a807003bc42e103d157ae783602c362
f18a01bf59be6107daa817432f20b9e912e84d35
Repro for "context variables are always mutable" error w callbacks I haven't debugged to understand exactly why this pattern fails, but there are a few instances of this internally. It's especially weird because ```javascript // @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressions ...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-multiple-calls-to-hoisted-callback-from-other-callback.expect.md", "patch": "@@ -0,0 +1,46 @@\n+\n+## Input\n+\n+```javascript\n+// @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressi...
2024-03-22T04:40:02
golang/go
18431a1c8f7d19410fcd3fe6638cfe1cd4bd7179
41bd52b3fa2ac77e0180f29777309f65fda9fad0
net: fix deadlock in lookupProtocol on Windows If the context expires before acquireThread(ctx) succeeds, then the goroutine can block like: net.lookupProtocol.func1() src/net/lookup_windows.go:58 +0x105 created by net.lookupProtocol in goroutine 2834 src/net/lookup_windows.go:56 +0xda We saw this in our UTs with ...
[ { "path": "src/net/lookup_windows.go", "patch": "@@ -52,7 +52,7 @@ func lookupProtocol(ctx context.Context, name string) (int, error) {\n \t\tproto int\n \t\terr error\n \t}\n-\tch := make(chan result) // unbuffered\n+\tch := make(chan result, 1) // buffer so that next goroutine never blocks\n \tgo func()...
2025-04-17T06:55:10
vercel/next.js
9da129108d8b7b6294dd3338075a2bda5006169c
14be7505c61dc9c1631dc0b1da2d444b15ca5e82
Turbopack: Fix accidental doctest in globset module license (#82127) The code block syntax in a documentation comment is interpreted as a doctest: https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html Tested with: ``` cargo test -p turbo-tasks-fs ```
[ { "path": "turbopack/crates/turbo-tasks-fs/src/globset.rs", "patch": "@@ -2,18 +2,17 @@\n /// After discussing upstreaming our usecase with the authors of `globset`, we decided that a\n /// fork was appropriate given our divergent usecases. See discussion https://github.com/BurntSushi/ripgrep/issues/3049\n ...
2025-07-29T17:37:45
nodejs/node
5e6aab0ecad6394e538e06357d6e16e155951a8b
6bf7b6e342f97cf48319e0bc251200fabe132c21
module: use amaro default transform values PR-URL: https://github.com/nodejs/node/pull/54517 Fixes: https://github.com/nodejs/node/issues/54514 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
[ { "path": "lib/internal/modules/helpers.js", "patch": "@@ -360,10 +360,6 @@ function stripTypeScriptTypes(source, filename) {\n mode: typeScriptParsingMode,\n sourceMap: sourceMapEnabled,\n filename,\n- // Transform option is only applied in transform mode.\n- transform: {\n- verbatim...
2024-08-23T08:00:39
facebook/react
231f29f6f3ef5c8612cfbb050695d7a1e96ebd78
21bb8f9e75be24a7730c890409a53bc2120eef68
Fix using context variable as JSX element tag Updates the lowering for JSX element tag names to check if the identifier is a context or local variable and use the appropriate instruction kind.
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -2916,8 +2916,9 @@ function lowerJsxElementName(\n if (exprPath.isJSXIdentifier()) {\n const tag: string = exprPath.node.name;\n if (tag.match(/^[A-Z]/)) {\n+ const kind = getLoadKind(builder, exprPath);...
2024-03-22T00:12:08
electron/electron
c3036d455741b693b6cc70b2fd037af9401d97e9
bee5d94886c91f7d5ca3e1cab9a4d2cdfac8d268
chore: bump chromium to 117.0.5938.0 (main) (#39375) * chore: bump chromium in DEPS to 117.0.5929.0 * chore: bump chromium in DEPS to 117.0.5931.0 * chore: bump chromium in DEPS to 117.0.5932.0 * chore: update patches * 4728317: Prevent PrintRenderFrameHelper from printing when already printing | https:/...
[ { "path": ".circleci/config/base.yml", "patch": "@@ -1432,6 +1432,8 @@ commands:\n - src/build/linux\n - src/buildtools/third_party/libc++\n - src/buildtools/third_party/libc++abi\n+ - src/third_party/libc++\n+ ...
2023-08-15T15:49:41
golang/go
41bd52b3fa2ac77e0180f29777309f65fda9fad0
176a2154aa185c6ab15d88f32d9c28dd3b5e5dd8
os: remove NewFile socket detection on Windows NewFile was recently updated (in CL 668195) to detect whether the handle is a socket or not. This special case is not really necessary, given that socket handles can be used as if they were normal file handles on all functions supported by os.File (see https://learn.micro...
[ { "path": "src/os/file_windows.go", "patch": "@@ -82,49 +82,14 @@ func newConsoleFile(h syscall.Handle, name string) *File {\n \treturn newFile(h, name, \"console\", false)\n }\n \n-var wsaLoaded atomic.Bool\n-\n-// isWSALoaded returns true if the ws2_32.dll module is loaded.\n-func isWSALoaded() bool {\n-\...
2025-05-09T14:55:00
vercel/next.js
14be7505c61dc9c1631dc0b1da2d444b15ca5e82
541902e380dbe79cfa3fa16b0faf31e1df02dc3c
Revert "Fix tracing of server actions imported by client components (#78968) (#82161) It seems these additional fs operations/transforms on client components while tracing dependencies is causing a big perf hit which is not worth the edge case of catching fs dependencies in server actions from client components. A wo...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -2036,7 +2036,6 @@ export default async function getBaseWebpackConfig(\n appDirEnabled: hasAppDir,\n traceIgnores: [],\n compilerType,\n- swcLoaderConfig: swcDefaultLoader,\n }\n ...
2025-07-29T17:37:17
nodejs/node
dd8eeec3f036549f1d8ed3c8b648b80795a48099
74ea78ddc605554319fe242e45523a65b102d80d
buffer: truncate instead of throw when writing beyond buffer Fixes: https://github.com/nodejs/node/issues/54523 Fixes: https://github.com/nodejs/node/issues/54518 PR-URL: https://github.com/nodejs/node/pull/54524 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Re...
[ { "path": "lib/internal/buffer.js", "patch": "@@ -1040,7 +1040,7 @@ function addBufferPrototypeMethods(proto) {\n if (offset < 0 || offset > this.byteLength) {\n throw new ERR_BUFFER_OUT_OF_BOUNDS('offset');\n }\n- if (length < 0 || length > this.byteLength - offset) {\n+ if (length < 0)...
2024-08-27T08:48:52
rust-lang/rust
94db326f2597590ebeac26cde82ddb7f2921da46
5fdff787e6ef7cd4458f81e69cbb4d2a39439a98
Remove unnecessary closure. The comments that says it's necessary is wrong.
[ { "path": "compiler/rustc_interface/src/passes.rs", "patch": "@@ -10,7 +10,6 @@ use rustc_attr_parsing::{AttributeParser, Early, ShouldEmit};\n use rustc_codegen_ssa::traits::CodegenBackend;\n use rustc_codegen_ssa::{CodegenResults, CrateInfo};\n use rustc_data_structures::indexmap::IndexMap;\n-use rustc_da...
2026-02-13T07:15:08
electron/electron
127584dc377e19c4605a9be51a8e262f9e1a2fdf
8e3dcc8b179c0cd38dbd367b123e31af0ba3cfb9
feat: add a 'title' parameter to `openDevTools()` (#39047) * [Feature Request]: Add a parameter to openDevTools() that sets the DevTools window title bar * all titles->title * add GetDevToolsTitle(),update docs * fix:lint error * fix:lint error * add setDevToolTitle * lint errror * lint errror ...
[ { "path": "docs/api/web-contents.md", "patch": "@@ -1777,6 +1777,7 @@ app.whenReady().then(() => {\n In `undocked` mode it's possible to dock back. In `detach` mode it's not.\n * `activate` boolean (optional) - Whether to bring the opened devtools window\n to the foreground. The default is `true`....
2023-08-15T05:32:53
facebook/react
21bb8f9e75be24a7730c890409a53bc2120eef68
0e72e2a00e9644801fa2fab2142e60f7076bfc0c
Repro for inconsistent context/local variable reference We currently assume JSX element tags are always locals, and need to check which load kind to use. Fixed in the next PR.
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-context-variable-as-jsx-element-tag.expect.md", "patch": "@@ -0,0 +1,29 @@\n+\n+## Input\n+\n+```javascript\n+function Component(props) {\n+ let Component = Foo;\n+\n+ Component = useMemo(() => {\n+ return...
2024-03-22T00:12:08
golang/go
176a2154aa185c6ab15d88f32d9c28dd3b5e5dd8
e513cd4e409f1d42df02a42b43eceb87473b229a
cmd/link: use >4GB base address for 64-bit PE binaries Windows prefers 64-bit binaries to be loaded at an address above 4GB. Having a preferred base address below this boundary triggers a compatibility mode in Address Space Layout Randomization (ASLR) on recent versions of Windows that reduces the number of locations...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -894,10 +894,15 @@ func windynrelocsym(ctxt *Link, rel *loader.SymbolBuilder, s loader.Sym) error {\n \t\t\t\trel.AddUint8(0x90)\n \t\t\t\trel.AddUint8(0x90)\n \t\t\tcase sys.AMD64:\n+\t\t\t\t// The relocation symbol might be at an absolute offset\n...
2025-05-09T15:42:48