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
85c0f7aef3da4a12bc1e8f9f9de6ce2d18f6d3de
e28700930d58fa1b8d0d50976ede57ee9432b60c
lib: fixup more incorrect ERR_INVALID_ARG_VALUE uses PR-URL: https://github.com/nodejs/node/pull/57177 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi...
[ { "path": "lib/internal/fs/recursive_watch.js", "patch": "@@ -68,7 +68,7 @@ class FSWatcher extends EventEmitter {\n if (encoding != null) {\n // This is required since on macOS and Windows it throws ERR_INVALID_ARG_VALUE\n if (typeof encoding !== 'string') {\n- throw new ERR_INVALID_...
2025-02-23T00:01:09
golang/go
5dcedd65504cc9cadc9a5ea8bc3af51a26eec704
d3be949ada01d7827f8edc87665fef5268634cb3
runtime: lock mheap_.speciallock when allocating synctest specials Avoid racing use of mheap_.specialBubbleAlloc. Fixes #75134 Change-Id: I0c9140c18d2bca1e1c3387cd81230f0e8c9ac23e Reviewed-on: https://go-review.googlesource.com/c/go/+/699255 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go L...
[ { "path": "src/internal/synctest/synctest_test.go", "patch": "@@ -779,6 +779,28 @@ func TestWaitGroupHeapAllocated(t *testing.T) {\n \t})\n }\n \n+// Issue #75134: Many racing bubble associations.\n+func TestWaitGroupManyBubbles(t *testing.T) {\n+\tvar wg sync.WaitGroup\n+\tfor range 100 {\n+\t\twg.Go(func(...
2025-08-26T20:26:57
vercel/next.js
9864120483fcf26555b7c408cf1aad0ba7b9d1ec
4ee2f4ad8711401c51e51d0f941b1aeb803b537e
Turbopack: process task result as part of the task completion (#84638) ### What? * Set the task output when finishing the task * Remove setting task as initial dirty in the normal execution * Fix race condition when setting output and invalidating dependents
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/mod.rs", "patch": "@@ -52,7 +52,7 @@ use crate::{\n AggregatedDataUpdate, AggregationUpdateJob, AggregationUpdateQueue,\n CleanupOldEdgesOperation, ConnectChildOperation, ExecuteContext, ExecuteContextImpl,\n Ope...
2025-10-15T07:07:26
electron/electron
a68a33f036ad782165140ab36d9054a03a2d194a
791e6df82a691b0282d64bfa582e2cd853b5f155
docs: fix broken link in bug report template (#43105) chore: fix broken link in bug report template
[ { "path": ".github/ISSUE_TEMPLATE/bug_report.yml", "patch": "@@ -20,8 +20,8 @@ body:\n description: |\n What version of Electron are you using?\n \n- Note: Please only report issues for [currently supported versions of Electron](https://www.electronjs.org/docs/latest/tutorial/support#currentl...
2024-07-31T15:45:07
rust-lang/rust
fd8bb2167640600d59ac9199a4ddeb1a2edf7f4f
e492d022858076a414ad42139e05cb43e0d238b6
fix: `question_mark` suggestion caused error
[ { "path": "clippy_lints/src/question_mark.rs", "patch": "@@ -501,7 +501,8 @@ fn check_if_let_some_or_err_and_early_return<'tcx>(cx: &LateContext<'tcx>, expr:\n \n let mut applicability = Applicability::MachineApplicable;\n let receiver_str = snippet_with_applicability(cx, let_expr.span, \".....
2026-03-01T16:34:09
nodejs/node
e28700930d58fa1b8d0d50976ede57ee9432b60c
22ac5976a837e4caab7c3c8f92b211fe2ba29076
lib: fixup incorrect argument order in assertEncoding PR-URL: https://github.com/nodejs/node/pull/57177 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luig...
[ { "path": "lib/internal/fs/utils.js", "patch": "@@ -153,7 +153,7 @@ function lazyLoadFs() {\n function assertEncoding(encoding) {\n if (encoding && !Buffer.isEncoding(encoding)) {\n const reason = 'is invalid encoding';\n- throw new ERR_INVALID_ARG_VALUE(encoding, 'encoding', reason);\n+ throw n...
2025-02-22T23:07:27
golang/go
d3be949ada01d7827f8edc87665fef5268634cb3
836fa745188fddf49070d010161e30f360862e57
runtime: don't negate eventfd errno The Linux syscall package does this for us. Fixes #75337. Change-Id: I6a6a636c9bb5fe25fdc6f80dc8b538ebed60d00b Reviewed-on: https://go-review.googlesource.com/c/go/+/701796 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-a...
[ { "path": "src/runtime/netpoll_epoll.go", "patch": "@@ -27,7 +27,7 @@ func netpollinit() {\n \t}\n \tefd, errno := linux.Eventfd(0, linux.EFD_CLOEXEC|linux.EFD_NONBLOCK)\n \tif errno != 0 {\n-\t\tprintln(\"runtime: eventfd failed with\", -errno)\n+\t\tprintln(\"runtime: eventfd failed with\", errno)\n \t\tt...
2025-09-09T20:47:15
electron/electron
ed3242adc1ac2cd1e549a9a8a528b59add6764af
87fb2ad70cf778752aadc5496f534b7a0793da61
fix: vibrant view is inserted into Views API hierarchy (#43078) * fix: vibrant view is inserted into Views API hierarchy (#42263) * Update shell/browser/native_window_mac.mm Co-authored-by: Charles Kerr <charles@charleskerr.com> --------- Co-authored-by: Hans Halverson <hans_halverson@alumni.brown.edu> Co...
[ { "path": "shell/browser/native_window_mac.h", "patch": "@@ -12,6 +12,7 @@\n #include <string>\n #include <vector>\n \n+#include \"base/memory/raw_ptr.h\"\n #include \"electron/shell/common/api/api.mojom.h\"\n #include \"shell/browser/native_window.h\"\n #include \"third_party/skia/include/core/SkRegion.h\"...
2024-07-30T23:21:20
nodejs/node
992036ec32589f61ae94fd59885535a75507f2ed
8c2df73db6ec419b4736cfa7c734a58a7f28f22e
doc: fix typo in Windows building instructions PR-URL: https://github.com/nodejs/node/pull/57158 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
[ { "path": "BUILDING.md", "patch": "@@ -728,7 +728,7 @@ easily. These files will install the following\n To install Node.js prerequisites from Powershell Terminal:\n \n ```powershell\n-winget configure .\\configurations\\configuration.dsc.yaml\n+winget configure .\\.configurations\\configuration.dsc.yaml\n `...
2025-02-24T09:29:17
vercel/next.js
1bd1a33e04f94e673a9bb2f9fbce4f14ea8ed0c5
7e45ab1a47fccaf038247dcf91dbd5545685f0eb
Bump eslint-plugin-react to 7.37.0 (#84876) The version of `eslint-config-next`'s dependency `eslint-plugin-react` is `^7.37.0`, but the repo is `7.35.0`. This difference caused an ESLint error when developing `eslint-config-next`. x-ref: https://github.com/vercel/next.js/actions/runs/18512010193/job/52754871898?pr=8...
[ { "path": "package.json", "patch": "@@ -199,7 +199,7 @@\n \"eslint-plugin-jest\": \"27.6.3\",\n \"eslint-plugin-jsdoc\": \"48.0.4\",\n \"eslint-plugin-mdx\": \"3.1.5\",\n- \"eslint-plugin-react\": \"7.35.0\",\n+ \"eslint-plugin-react\": \"7.37.0\",\n \"eslint-plugin-react-hooks\": \"0....
2025-10-14T23:04:36
golang/go
836fa745188fddf49070d010161e30f360862e57
ce391744828cb1e0dbd44ffb2622521a15db5b5d
syscall: optimise cgo clearenv For programs with very large environments, calling unsetenv(3) for each environment variable can be very expensive because of CGo overhead, but clearenv(3) is much faster. The only thing we have to track is whether GODEBUG is being unset by the operation, which can be done very quickly w...
[ { "path": "src/runtime/cgo/clearenv.go", "patch": "@@ -0,0 +1,15 @@\n+// Copyright 2025 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+//go:build linux\n+\n+package cgo\n+\n+import _ \"unsafe\" // for go:l...
2025-09-09T12:18:49
electron/electron
87fb2ad70cf778752aadc5496f534b7a0793da61
1bcc566ad898d97ec13623bdf01d7bf4f770a714
build: fixup ffmpeg release on x64 macOS (#43093) chore: fixup arch on x64 macOS ffmpeg
[ { "path": ".github/actions/build-electron/action.yml", "patch": "@@ -36,7 +36,7 @@ runs:\n shell: bash\n if: ${{ inputs.target-arch == 'x64' && inputs.target-platform == 'macos' }}\n run: |\n- GN_APPENDED_ARGS=\"$GN_EXTRA_ARGS v8_snapshot_toolchain=\\\"//build/toolchain/mac:clang_x6...
2024-07-30T20:35:11
facebook/react
e44685e4f196f9e19c3729ab2b3772a40428ac1e
dcae56f8b72f625d8affe5729ca9991b31a492ac
[DevTools] Use Owner Stacks to Implement View Source of a Server Component (#30798) We don't have the source location of Server Components on the client because we don't want to eagerly do the throw trick for all Server Components just in case. Unfortunately Node.js doesn't expose V8's API to get a source location ...
[ { "path": "packages/react-devtools-shared/src/backend/fiber/DevToolsFiberComponentStack.js", "patch": "@@ -108,6 +108,23 @@ export function getStackByFiberInDevAndProd(\n }\n }\n \n+export function getSourceLocationByFiber(\n+ workTagMap: WorkTagMap,\n+ fiber: Fiber,\n+ currentDispatcherRef: CurrentDis...
2024-08-27T00:50:43
vercel/next.js
299fe7409eacaeeffaa6aa280114495bea7c1643
d540fbd3e604d1838722542acd9b518ac6688b73
[turbopack] Remove the implementation of `TaskInput` from `AutoSet` (#84867) TaskInputs should have deterministic serialization and that isn't really possible with `AutoSet` This was only used as part of the `CapturedIssues` api, so that is modified to wrap the autoset in a `cell` instead of an `Arc`. Originally the...
[ { "path": "crates/next-api/src/operation.rs", "patch": "@@ -38,7 +38,7 @@ async fn entrypoints_without_collectibles_operation(\n ) -> Result<Vc<Entrypoints>> {\n let _ = entrypoints.resolve_strongly_consistent().await?;\n let _ = entrypoints.take_collectibles::<Box<dyn Diagnostic>>();\n- let _ = ...
2025-10-14T19:41:05
golang/go
ce391744828cb1e0dbd44ffb2622521a15db5b5d
5d9d0513dcb96409a2625c51431c584c0a12f212
crypto/rsa: check PrivateKey.D for consistency with Dp and Dq This unfortunately nearly doubles the runtime of NewPrivateKeyWithPrecomputation. It would be nice to find an alternative way to check it. fips140: off goos: darwin goarch: arm64 pkg: crypto/rsa cpu: Apple M2 │ 6aeb841faf │ ...
[ { "path": "doc/next/6-stdlib/99-minor/crypto/rsa/74115.md", "patch": "@@ -1,2 +1,5 @@\n If [PrivateKey] fields are modified after calling [PrivateKey.Precompute],\n [PrivateKey.Validate] now fails.\n+\n+[PrivateKey.D] is now checked for consistency with precomputed values, even if\n+it is not used.", "a...
2025-07-11T12:28:30
nodejs/node
4466e0754010062344f32f7816e1b2f2944ecad9
4e1f0ccb4d309bf9a4374b894555d54d0317d578
doc: fix web.libera.chat link in pull-requests.md The old link wasn't prefilling the channel name for me, and this is the format suggested in the docs:<https://libera.chat/guides/webchat#kiwiirc> It works, too! PR-URL: https://github.com/nodejs/node/pull/57076 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-...
[ { "path": "doc/contributing/pull-requests.md", "patch": "@@ -53,7 +53,7 @@ help, questions, and discussions.\n development of Node.js core specifically.\n \n Node.js also has an unofficial IRC channel:\n-[#Node.js](https://web.libera.chat/?channels=node.js).\n+[#Node.js](https://web.libera.chat/#node.js).\n...
2025-02-23T19:32:19
electron/electron
47dde3b6e23bba1b76387d4478e6d36483116fee
1a6e6518440cb3cf325b4648e2dfef8f9e68053f
chore: remove unused class `electron::ObjectLifeMonitor` (#43089) * chore: remove unused electron::ObjectLifeMonitor The last users were removed in June 2020 e1e73fa5f (#24115) and May 2020 9d7ba982 (#23592). * fixup! chore: remove unused electron::ObjectLifeMonitor fix: oops
[ { "path": "filenames.gni", "patch": "@@ -562,8 +562,6 @@ filenames = {\n \"shell/common/api/electron_bindings.cc\",\n \"shell/common/api/electron_bindings.h\",\n \"shell/common/api/features.cc\",\n- \"shell/common/api/object_life_monitor.cc\",\n- \"shell/common/api/object_life_monitor.h\",...
2024-07-30T13:25:28
facebook/react
4f546740788ae95ced0338a9cbafc50124b47194
c9c170b63b086964272ea2632551b1f108c6fd56
[compiler] Infer phi types, extend mutable ranges to account for Store effects Redo of an earlier (pre-OSS) PR to infer types of phi nodes. There are a few pieces to this: 1. Update InferTypes to infer the type of `phi.id.type`, not the unused `phi.type`. 2. Update the algorithm to verify that all the phi types are a...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Inference/InferMutableRanges.ts", "patch": "@@ -50,8 +50,38 @@ export function inferMutableRanges(ir: HIRFunction): void {\n // Re-infer mutable ranges for all values\n inferMutableLifetimes(ir, true);\n \n- // Re-infer mutable ranges for ali...
2024-08-23T00:26:48
vercel/next.js
17c99ca4e5356bc4ca8947757d77d0810acb338c
81b35a698cc4bb3ff85a886c52b098792dd09028
[turbopack] fix typo in docs (#84868) https://github.com/vercel/next.js/pull/84837 merged a bit too quickly
[ { "path": "docs/01-app/03-api-reference/08-turbopack.mdx", "patch": "@@ -134,7 +134,7 @@ This can lead to subtle rendering changes when adopting Turbopack, if applicatio\n \n ### Bundle Sizes\n \n-From our testing on production applications, we observed that Turbopack generally produces bundles that are sim...
2025-10-14T17:45:46
golang/go
968a5107a938f9cb20413ad455986a61553c075b
645ee444929ecb7bbfb95cc8bda193e4b3cb3c43
crypto/internal/fips140: update frozen module version to "v1.0.0" We are re-sealing the .zip file anyway for another reason, might as well take the opportunity to fix the "v1.0" mistake. Change-Id: I6a6a69646b3188984c865031ff9393ccaaaa9479 Reviewed-on: https://go-review.googlesource.com/c/go/+/701518 Reviewed-by: Dan...
[ { "path": "src/crypto/internal/cryptotest/hash.go", "patch": "@@ -20,7 +20,7 @@ type MakeHash func() hash.Hash\n // TestHash performs a set of tests on hash.Hash implementations, checking the\n // documented requirements of Write, Sum, Reset, Size, and BlockSize.\n func TestHash(t *testing.T, mh MakeHash) {...
2025-09-07T14:37:40
nodejs/node
4e1f0ccb4d309bf9a4374b894555d54d0317d578
7174ec9c760442c39961e0d9f1db648bd430ad9b
src: fix crash when lazy getter is invoked in a vm context V8 should invoke native functions in their creation context, preventing dynamic context by the caller. However, the lazy getter has no JavaScript function representation and has no creation context. It is not invoked in the original creation context. Fix the n...
[ { "path": "src/node_errors.h", "patch": "@@ -84,6 +84,7 @@ void OOMErrorHandler(const char* location, const v8::OOMDetails& details);\n V(ERR_INVALID_ARG_TYPE, TypeError) \\\n V(ERR_INVALID_FILE_URL_HOST, TypeError) \\\n V(...
2025-02-23T14:40:33
electron/electron
1a6e6518440cb3cf325b4648e2dfef8f9e68053f
d09a2e513c6a64c96bf0e60699e88dfe7b17791d
test: fixup flaky visibility test (#43064)
[ { "path": "spec/api-web-contents-view-spec.ts", "patch": "@@ -3,7 +3,7 @@ import { BaseWindow, BrowserWindow, View, WebContentsView, webContents, screen }\n import { once } from 'node:events';\n \n import { closeAllWindows } from './lib/window-helpers';\n-import { defer, ifdescribe } from './lib/spec-helper...
2024-07-30T13:14:45
facebook/react
ee7f6757c446c4e79ecc7e2bc22b8c9b712834b7
b57d282369b3b3232d8fed537f5aaf0156430d63
Fix: Synchronous popstate transitions (#30759) This is a refactor of the fix in #27505. When a transition update is scheduled by a popstate event, (i.e. a back/ forward navigation) we attempt to render it synchronously even though it's a transition, since it's likely the previous page's data is cached. In #275...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js", "patch": "@@ -744,7 +744,7 @@ describe('ReactDOMFiberAsync', () => {\n // Because it suspended, it remains on the current path\n expect(div.textContent).toBe('/path/a');\n });\n- assertLog(['Suspend! [/path/b]']);\n+...
2024-08-23T16:30:08
vercel/next.js
def2220ff5164a0b9cb5ab9e07e796f48f5c5531
f77473c01c90fa084ac8ce17a188e44d83e9076c
Add codemod for Middleware API to Proxy API (#84824) Stacked on https://github.com/vercel/next.js/pull/84764 ### Test Plan Tested on local fixtures as well.
[ { "path": "packages/next-codemod/transforms/__testfixtures__/middleware-to-proxy/next-config-basic.input.ts", "patch": "@@ -0,0 +1,12 @@\n+import type { NextConfig } from 'next'\n+\n+const nextConfig: NextConfig = {\n+ experimental: {\n+ middlewarePrefetch: 'strict',\n+ middlewareClientMaxBodySize: '...
2025-10-14T17:19:02
golang/go
a67977da5e26e0c328488fe05bdd200903e58e99
a5fa5ea51cd8fd9bcb8230d2accf9d55826f76b3
cmd/compile/internal/inline: ignore superfluous slicing When slicing, ignore expressions which could be elided, as in slicing starting at 0 or ending at len(v). Fixes #75278 Change-Id: I9c18e29c3d4da9bef89bd25bb261d3cb60e66392 Reviewed-on: https://go-review.googlesource.com/c/go/+/701216 LUCI-TryBot-Result: Go LUCI ...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -738,6 +738,17 @@ opSwitch:\n \t\tif n.X.Op() == ir.OINDEX && isIndexingCoverageCounter(n.X) {\n \t\t\treturn false\n \t\t}\n+\n+\tcase ir.OSLICE, ir.OSLICEARR, ir.OSLICESTR, ir.OSLICE3, ir.OSLICE3ARR:\n+\t\tn := n.(*ir.SliceExpr)\n+\n+\t\t// ...
2025-09-06T01:13:03
nodejs/node
ba8fbf34f46dab885cf4bf3602e784c063be2ef3
90ab559f4df36dbb0b2be0f55b18ad192289645e
test: simplify test-http2-client-promisify-connect-error There is no need to try to create a TCP connection that fails due to a missing listening server. Also, the port used for the connection might be used by another process when the connection is made. PR-URL: https://github.com/nodejs/node/pull/57144 Reviewed-By: ...
[ { "path": "test/parallel/test-http2-client-promisify-connect-error.js", "patch": "@@ -8,14 +8,15 @@ const assert = require('assert');\n const http2 = require('http2');\n const util = require('util');\n \n-const server = http2.createServer();\n+const connect = util.promisify(http2.connect);\n \n-server.liste...
2025-02-22T09:25:11
electron/electron
d09a2e513c6a64c96bf0e60699e88dfe7b17791d
7e9eb9e3f1ea4ee73c01e1d1860e2069ee0034d0
fix: `showInactive` window not showing (#43079) fix: showInactive window not showing Refs https://github.com/electron/electron/pull/42226 and https://github.com/electron/electron/pull/43033
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -466,7 +466,7 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) {\n if (parent())\n InternalSetParentWindow(parent(), true);\n \n- [window_ orderFrontKeepWindowKeyState];\n+ [window_ orderFrontRegardless];\n }...
2024-07-30T10:37:27
facebook/react
36c04348d7c6179bac4e7f27af823a67289432f9
97e2ce6a003db070d1d14ca25ac4b30e1df4a8ce
[DevTools] Make Functions Clickable to Jump to Definition (#30769) Currently you can jump to definition of a function by right clicking through the context menu. However, it's pretty difficult to discover. This makes the functions clickable to jump to definition - like links. This uses the same styling as we do f...
[ { "path": "packages/react-devtools-shared/src/__tests__/inspectedElement-test.js", "patch": "@@ -697,8 +697,8 @@ describe('InspectedElement', () => {\n expect(inspectedElement.props).toMatchInlineSnapshot(`\n {\n \"anonymous_fn\": Dehydrated {\n- \"preview_short\": ƒ () {},\n- ...
2024-08-22T16:35:49
vercel/next.js
f77473c01c90fa084ac8ce17a188e44d83e9076c
7ee397e9e862c2cc99db06c0be85e14c74e27ab0
warnOnce for Middleware deprecation (#84862) <!-- 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 ### I...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1203,7 +1203,7 @@ export default async function build(\n `Both \"${MIDDLEWARE_FILENAME}\" and \"${PROXY_FILENAME}\" files are detected. Please use \"${PROXY_FILENAME}\" instead.`\n )\n }\n- Log.warn(\n+ L...
2025-10-14T16:39:04
golang/go
a5fa5ea51cd8fd9bcb8230d2accf9d55826f76b3
4c63d798cb947a3cdd5a5b68f254a73d83eb288f
cmd/compile/internal/ssa: expand runtime.memequal for length {3,5,6,7} This CL slightly speeds up strings.HasPrefix when testing constant prefixes of length {3,5,6,7}. goos: linux goarch: amd64 cpu: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz │ old │ new │ ...
[ { "path": "src/cmd/compile/internal/ssa/_gen/generic.rules", "patch": "@@ -2084,7 +2084,7 @@\n (NilCheck ptr:(NilCheck _ _) _ ) => ptr\n \n // for late-expanded calls, recognize memequal applied to a single constant byte\n-// Support is limited by 1, 2, 4, 8 byte sizes\n+// Support is limited by [1-8] byte ...
2025-09-04T01:08:14
nodejs/node
90ab559f4df36dbb0b2be0f55b18ad192289645e
9e6a62f211273300ab31a2b26e37312156741ba5
typings: fix `ImportModuleDynamicallyCallback` return type PR-URL: https://github.com/nodejs/node/pull/57160 Refs: https://github.com/nodejs/node/pull/56919/files#r1955336054 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell ...
[ { "path": "lib/internal/modules/esm/loader.js", "patch": "@@ -323,7 +323,7 @@ class ModuleLoader {\n * @param {string} source Source code. TODO(joyeecheung): pass the raw buffer.\n * @param {string} isMain Whether this module is a main module.\n * @param {CJSModule|undefined} parent Parent module, ...
2025-02-21T17:06:34
rust-lang/rust
747aa5beec13a622ac570e9cab2ee0040f94a097
ad7acd5c0371592bba2e48f1f1110793440877d4
Fix: use `FnAbi::Rust` for tuple struct/enum constructors and align `is_rust()` with rustc
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/lower.rs", "patch": "@@ -2468,7 +2468,7 @@ fn fn_sig_for_struct_constructor(\n let inputs_and_output =\n Tys::new_from_iter(DbInterner::new_no_crate(db), params.chain(Some(ret.as_ref())));\n StoredEarlyBinder::bind(StoredPolyFnSig::new(Bin...
2026-03-01T11:09:21
facebook/react
97e2ce6a003db070d1d14ca25ac4b30e1df4a8ce
e483df4658473ca9c917a42be4869d445be00807
[Flight] Enable Server Action Source Maps in flight-esm Fixture (#30763) Stacked on #30758 and #30755. This is copy paste from #30755 into the ESM package. We use the `webpack-sources` package for the source map utility but it's not actually dependent on Webpack itself. Could probably inline it in the build.
[ { "path": "fixtures/flight-esm/package.json", "patch": "@@ -13,14 +13,15 @@\n \"prompts\": \"^2.4.2\",\n \"react\": \"experimental\",\n \"react-dom\": \"experimental\",\n- \"undici\": \"^5.20.0\"\n+ \"undici\": \"^5.20.0\",\n+ \"webpack-sources\": \"^3.2.0\"\n },\n \"scripts\": {\n ...
2024-08-22T16:35:16
golang/go
4c63d798cb947a3cdd5a5b68f254a73d83eb288f
bdd51e785580ce86142e662425982a2673e7c9c6
cmd/compile: improve stp merging for non-sequent cases Original algorithm merges stores with the first mergeable store in the chain, but it misses some cases. Additional reordering stores in increasing order of memory access in the chain allows merging in these cases. Fixes #71987 There are the results of sweet benc...
[ { "path": "src/cmd/compile/internal/ssa/pair.go", "patch": "@@ -212,6 +212,12 @@ func pairStores(f *Func) {\n \tlast := f.Cache.allocBoolSlice(f.NumValues())\n \tdefer f.Cache.freeBoolSlice(last)\n \n+\ttype stChainElem struct {\n+\t\tv *Value\n+\t\ti int // Index in chain (0 == last store)\n+\t}\n+\tvar or...
2025-08-21T15:00:57
vercel/next.js
27821674a6d239b5159bdb285d4633c8435c3568
051351309f13215d80fb6aacab3bf6c7b0de5b03
improve next config schema validation errors (#84847)
[ { "path": "packages/next/src/server/config.ts", "patch": "@@ -22,7 +22,7 @@ import { loadWebpackHook } from './config-utils'\n import { imageConfigDefault } from '../shared/lib/image-config'\n import type { ImageConfig } from '../shared/lib/image-config'\n import { loadEnvConfig, updateInitialEnv } from '@n...
2025-10-14T15:45:11
electron/electron
e70ce89235825d19bf1bca5a054d311231925b21
92496c1930e35de04725a61e60817704832372b2
chore: more iwyu (#43063) * chore: iwyu shell/browser/electron_pdf_document_helper_client.h * chore: iwyu shell/browser/hid/electron_hid_delegate.h * chore: iwyu content/public/browser/web_contents.h * chore: iwyu shell/browser/usb/electron_usb_delegate.h * chore: iwyu shell/browser/browser_observer.h *...
[ { "path": "shell/app/electron_content_client.h", "patch": "@@ -8,7 +8,6 @@\n #include <string_view>\n #include <vector>\n \n-#include \"base/files/file_path.h\"\n #include \"content/public/common/content_client.h\"\n \n namespace electron {", "additions": 0, "deletions": 1, "language": "C/C++ He...
2024-07-29T17:42:57
nodejs/node
8fc919d3cb29a9a4664260bafe8b213efa810271
772c609eb49420aa67aa594dc9bef3b6abbda0f0
test: improve error output of test-http2-client-promisify-connect-error PR-URL: https://github.com/nodejs/node/pull/57135 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-http2-client-promisify-connect-error.js", "patch": "@@ -12,13 +12,10 @@ const server = http2.createServer();\n \n server.listen(0, common.mustCall(() => {\n const port = server.address().port;\n- server.close(() => {\n+ server.close(common.mustCall(() => {\n const conne...
2025-02-21T11:39:44
rust-lang/rust
5ade46246e89e7c4bc574d971e9b0a525f16d943
765fd2d8c77a570e7069d9f30bb6d3d8fe437f9e
Move `DiagArgMap` to `rustc_error_messages`
[ { "path": "compiler/rustc_error_messages/src/lib.rs", "patch": "@@ -13,6 +13,7 @@ pub use unic_langid::{LanguageIdentifier, langid};\n \n mod diagnostic_impls;\n pub use diagnostic_impls::DiagArgFromDisplay;\n+use rustc_data_structures::fx::FxIndexMap;\n \n pub fn register_functions<R, M>(bundle: &mut fluen...
2026-02-28T18:30:55
facebook/react
e483df4658473ca9c917a42be4869d445be00807
7a3fcc9898d57a723613814bd19ec1d60805e5c8
[Flight ESM] Wire up Source Maps in the flight-esm fixture (#30758) Same as #29708 but for the flight-esm fixture.
[ { "path": "fixtures/flight-esm/server/global.js", "patch": "@@ -131,6 +131,45 @@ app.use(\n express.static('node_modules/react-server-dom-esm/esm')\n );\n \n+if (process.env.NODE_ENV === 'development') {\n+ app.get('/source-maps', async function (req, res, next) {\n+ // Proxy the request to the region...
2024-08-22T16:34:48
golang/go
3b3b16957cd466baef3af92383de324230ad993c
e3223518b860132e3711602485922a8fa3805224
Revert "cmd/go: use os.Rename to move files on Windows" This reverts CL 691255. Reason for revert: SetNamedSecurityInfo sometimes fails when the path contains symbolic links. Fixes #74864 Change-Id: Iaf1a5692b35d58c523fd513f27bad9a2e7a334cb Reviewed-on: https://go-review.googlesource.com/c/go/+/702155 LUCI-TryBot-R...
[ { "path": "src/cmd/go/internal/work/shell.go", "patch": "@@ -132,11 +132,47 @@ func (sh *Shell) moveOrCopyFile(dst, src string, perm fs.FileMode, force bool) e\n \t\treturn sh.CopyFile(dst, src, perm, force)\n \t}\n \n-\tif err := sh.move(src, dst, perm); err == nil {\n-\t\tif cfg.BuildX {\n-\t\t\tsh.ShowCm...
2025-09-09T16:02:28
vercel/next.js
051351309f13215d80fb6aacab3bf6c7b0de5b03
7336c550033789e5969d3150b5587f56201e1408
Fix build compile mode if pages dir does not exist in Next.js 16 (#84783) ## Fixing a bug ### What? Fixes `next build --experimental-build-mode=compile` for standalone output when there is no pages directory (app-dir only projects) in Next 16. ### Why? When building a Next.js 16 application with: - `output: 'stand...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -765,17 +765,22 @@ async function writeStandaloneDirectory(\n )\n }\n \n- await recursiveCopy(\n- path.join(distDir, SERVER_DIRECTORY, 'pages'),\n- path.join(\n- distDir,\n- STANDALONE_DIRECTORY,\n-...
2025-10-14T15:32:45
facebook/react
0ef00b3e17447ae94dc5701a5ad410c137680d86
f7bb717e9e9f876c6a466a5f6d31004c7f7590c5
[compiler] Transitively freezing functions marks values as frozen, not effects The fixture from the previous PR was getting inconsistent behavior because of the following: 1. Create an object in a useMemo 2. Create a callback in a useCallback, where the callback captures the object from (1) into a local object, then p...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Inference/InferReferenceEffects.ts", "patch": "@@ -453,6 +453,37 @@ class InferenceState {\n }\n }\n \n+ freezeValues(values: Set<InstructionValue>, reason: Set<ValueReason>): void {\n+ for (const value of values) {\n+ this.#values....
2024-08-21T21:07:12
nodejs/node
8d10bc7b09efa49e17df17afabfd75462c231058
d601c7d1048931156999d809407ab1036a7077fd
module: improve error message from asynchronicity in require(esm) - Improve the error message that shows up when there is a race from doing require(esm) and import(esm) at the same time. - Improve error message of ERR_REQUIRE_ASYNC_MODULE by showing parent and target file names, if available. Drive-by: split the ...
[ { "path": "lib/internal/errors.js", "patch": "@@ -1656,9 +1656,18 @@ E('ERR_QUIC_ENDPOINT_CLOSED', 'QUIC endpoint closed: %s (%d)', Error);\n E('ERR_QUIC_OPEN_STREAM_FAILED', 'Failed to open QUIC stream', Error);\n E('ERR_QUIC_TRANSPORT_ERROR', 'A QUIC transport error occurred. %d [%s]', Error);\n E('ERR_QU...
2025-02-17T18:44:50
golang/go
af03343f934b50f64389aa4222a2a111a125f69f
6447ff409ac7e2a621bc8ca5c44b2eaed751fbaa
cmd/compile: fix bounds check report For constant-index, variable length situations. Inadvertant shadowing of the yVal variable. Oops. Fixes #75327 Change-Id: I3403066fc39b7664222a3098cf0f22b5761ea66a Reviewed-on: https://go-review.googlesource.com/c/go/+/702015 Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -1306,7 +1306,7 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\t\t}\n \t\tcase ssa.OpAMD64LoweredPanicBoundsCR:\n \t\t\tyIsReg = true\n-\t\t\tyVal := int(v.Args[0].Reg() - x86.REG_AX)\n+\t\t\tyVal = int(v.Args[0].Reg() - x86.REG_AX)\...
2025-09-09T05:04:40
facebook/react
f7bb717e9e9f876c6a466a5f6d31004c7f7590c5
eb3ad065a10e542eb501bcb7dba7f9617e8c363e
[compiler] Repro for missing memoization due to inferred mutation This fixture bails out on ValidatePreserveExistingMemo but would ideally memoize since the original memoization is safe. It's trivial to make it pass by commenting out the commented line (`LogEvent.log(() => object)`). I would expect the compiler to inf...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Validation/ValidatePreservedManualMemoization.ts", "patch": "@@ -23,7 +23,7 @@ import {\n ScopeId,\n SourceLocation,\n } from '../HIR';\n-import {printManualMemoDependency} from '../HIR/PrintHIR';\n+import {printIdentifier, printManualMemoDepe...
2024-08-21T21:07:11
vercel/next.js
f06d951d6addca43cf47c43c61f368221c889e28
ef16156880a1c6c300b5680fe3a0d096bf31f2cb
[Cache Components] Dev - restart render on cache miss (#84088) This PR replaces the previous approach to the dev-time cache warmup. On full-page requests, we 1. We attempt an initial RSC render. It uses a RequestStore, but includes a `cacheSignal` and a `prerenderResumeDataCache` to be filled 1. if there's no cache mi...
[ { "path": "packages/next/errors.json", "patch": "@@ -872,5 +872,7 @@\n \"871\": \"Image with src \\\"%s\\\" is using a query string which is not configured in images.localPatterns.\\\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns\",\n \"872\": \"updateTag can only be...
2025-10-14T14:33:05
vercel/next.js
e30082161443d774b18182256bc980f3ee4fbaac
de2b47f8bee1e8e0866b33d3f8cf202ebfc8dfaa
[mcp] capture next config schema errors (#84832)
[ { "path": "packages/next/src/server/config.ts", "patch": "@@ -46,6 +46,7 @@ import { interopDefault } from '../lib/interop-default'\n import { djb2Hash } from '../shared/lib/hash'\n import type { NextAdapter } from '../build/adapter/build-complete'\n import { HardDeprecatedConfigError } from '../shared/lib/...
2025-10-13T22:08:03
facebook/react
dd9117e3134f24d1aa39e405a95ab54188a017dd
dc32c7f35ed6699e302dc7dbae17804555c669c6
[Flight] Source Map Actions in Reference Node Loader Transforms (#30755) Follow up to #30741. This is just for the reference Webpack implementation. If there is a source map associated with a Node ESM loader, we generate new source map entries for every `registerServerReference` call. To avoid messing too mu...
[ { "path": "fixtures/flight/package.json", "patch": "@@ -49,6 +49,7 @@\n \"react-dev-utils\": \"^12.0.1\",\n \"react-dom\": \"experimental\",\n \"react-refresh\": \"^0.11.0\",\n+ \"react-server-dom-webpack\": \"experimental\",\n \"resolve\": \"^1.20.0\",\n \"resolve-url-loader\": \"^4....
2024-08-21T13:52:17
vercel/next.js
53e104259d39abfc1455cea245c97bba2fe328f1
632fa5cd72a011532480ba3689acaf322e173060
Revert "Fix flakey overlay feedback test" (#84819)
[ { "path": "test/development/error-overlay/index.test.tsx", "patch": "@@ -1,5 +1,5 @@\n import { nextTestSetup } from 'e2e-utils'\n-import { assertHasRedbox, retry } from 'next-test-utils'\n+import { assertHasRedbox } from 'next-test-utils'\n \n describe('DevErrorOverlay', () => {\n const { next } = nextTe...
2025-10-13T15:19:48
nodejs/node
867a754acd672a5d5a191d07d03a2a79a72459c9
03fdde505e633381a82aa5b8b8d6fe331fa75bb6
doc: fix 'introduced_in' version in typescript module PR-URL: https://github.com/nodejs/node/pull/57109 Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/typescript.md", "patch": "@@ -10,7 +10,7 @@ changes:\n description: Added `--experimental-transform-types` flag.\n -->\n \n-<!--introduced_in=v23.6.0-->\n+<!--introduced_in=v22.6.0-->\n \n > Stability: 1.1 - Active development\n ", "additions": 1, "deletions": 1, "language...
2025-02-20T03:40:16
nodejs/node
15fec136e892ab0c2f25d2146c875705dfaf3800
1dc882d6a09481a1981ba7f1c566096a428eda02
cli: allow --cpu-prof* in NODE_OPTIONS Fixes: https://github.com/nodejs/node/issues/56944 PR-URL: https://github.com/nodejs/node/pull/57018 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -3176,6 +3176,10 @@ one is included in the list below.\n * `--allow-wasi`\n * `--allow-worker`\n * `--conditions`, `-C`\n+* `--cpu-prof-dir`\n+* `--cpu-prof-interval`\n+* `--cpu-prof-name`\n+* `--cpu-prof`\n * `--diagnostic-dir`\n * `--disable-proto`\n * `--disable-s...
2025-02-20T10:11:01
vercel/next.js
632fa5cd72a011532480ba3689acaf322e173060
90bc934b52c23a6a579c8225e481a4f5ce99e5ce
fix missing flight-router-state-tree header normalization (#84718) When we pass the flight-router-state-tree header to the server, we should pass it through the normalizer to ensure we remove things that are client-specific (eg removing "refresh" markers and URLs, which are only used on the client)
[ { "path": "packages/next/src/client/components/segment-cache-impl/cache.ts", "patch": "@@ -71,7 +71,10 @@ import type {\n FlightRouterState,\n NavigationFlightResponse,\n } from '../../../shared/lib/app-router-types'\n-import { normalizeFlightData } from '../../flight-data-helpers'\n+import {\n+ normal...
2025-10-13T15:12:25
nodejs/node
baa60ce03c699a84c8c99560ef78f6eea4099bdd
a724a9e8dd4c91c1a45521c962b8df8edfe21b13
test_runner: allow special characters in snapshot keys Fixes: https://github.com/nodejs/node/issues/56836 PR-URL: https://github.com/nodejs/node/pull/57017 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
[ { "path": "lib/internal/test_runner/snapshot.js", "patch": "@@ -77,7 +77,7 @@ class SnapshotFile {\n }\n \n setSnapshot(id, value) {\n- this.snapshots[templateEscape(id)] = value;\n+ this.snapshots[escapeSnapshotKey(id)] = value;\n }\n \n nextId(name) {\n@@ -290,6 +290,13 @@ function validateF...
2025-02-19T06:34:08
vercel/next.js
7abd8089a700aea9467e6d7986924648bdc4b822
04c7cef99b9effee8a92563b0f70db45621632ae
Turbopack: use the same serialization method for lookup as for storing (#84765) ### What? This makes sure to use the same method for serializing CachedTaskType for storing and lookup. Before that we instantiated the serialization twice and that caused some weird behavior on linux. Before this fix I was seeing that s...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/kv_backing_storage.rs", "patch": "@@ -357,8 +357,12 @@ impl<T: KeyValueDatabase + Send + Sync + 'static> BackingStorageSealed\n \n let mut task_type_bytes = Vec::new();\n for (task_type, task_id) in u...
2025-10-13T11:21:33
nodejs/node
7a6b12895eb7580bdc2efae07be164decfd63a49
0192a7d05b6c885f9d2d370c14113957be007bee
doc: fix link and history of `SourceMap` sections PR-URL: https://github.com/nodejs/node/pull/57098 Fixes: https://github.com/nodejs/node/issues/57094 Refs: https://github.com/nodejs/node/pull/48461 Refs: https://github.com/nodejs/node/pull/47790 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Jacob Smi...
[ { "path": "doc/api/module.md", "patch": "@@ -1664,6 +1664,13 @@ added:\n \n #### `new SourceMap(payload[, { lineLengths }])`\n \n+<!-- YAML\n+changes:\n+ - version: v20.5.0\n+ pr-url: https://github.com/nodejs/node/pull/48461\n+ description: Add support for `lineLengths`.\n+-->\n+\n * `payload` {Obje...
2025-02-18T19:26:40
nodejs/node
ea2004a2acd3c2ad19d83944dd7e523fb7039803
ecf803daca529d583d19db355e164f6c78806796
module: allow omitting context in synchronous next hooks This aligns the behavior of synchronous hooks with asynchronous hooks by allowing omission of the context parameter in the invocation of next hooks. The contexts are merged along the chain. PR-URL: https://github.com/nodejs/node/pull/57056 Fixes: https://github...
[ { "path": "lib/internal/modules/customization_hooks.js", "patch": "@@ -4,6 +4,7 @@ const {\n ArrayPrototypeFindIndex,\n ArrayPrototypePush,\n ArrayPrototypeSplice,\n+ ObjectAssign,\n ObjectFreeze,\n StringPrototypeStartsWith,\n Symbol,\n@@ -162,19 +163,31 @@ function convertURLToCJSFilename(url...
2025-02-18T15:28:59
nodejs/node
ecf803daca529d583d19db355e164f6c78806796
6fe0723e40c298a862737604e08870a6671bc811
doc: disambiguate pseudo-code statement the statement `set Y to be the file system root` can be wrongly interpreted as the file system root being updated to match Y, removing the `be` term removes this potential interpretation PR-URL: https://github.com/nodejs/node/pull/57092 Reviewed-By: James M Snell <jasnell@gmail...
[ { "path": "doc/api/modules.md", "patch": "@@ -346,7 +346,7 @@ require(X) from module at path Y\n a. return the core module\n b. STOP\n 2. If X begins with '/'\n- a. set Y to be the file system root\n+ a. set Y to the file system root\n 3. If X begins with './' or '/' or '../'\n a. LOAD_AS_FILE(...
2025-02-18T13:13:29
vercel/next.js
04c7cef99b9effee8a92563b0f70db45621632ae
cf76c5b72d3f0f870e8163d5cee635a8564d1bd4
[docs] fix(with-supabase): Update README env variables (#84745) Closes #84734 Fixes environmental variable names in `with-supabase` example README to match the actual `.env.example` file. Updates `NEXT_PUBLIC_SUPABASE_ANON_KEY` to `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY` in two locations. --------- Co-author...
[ { "path": "examples/with-supabase/.env.example", "patch": "@@ -1,4 +1,4 @@\n # Update these with your Supabase details from your project settings > API\n # https://app.supabase.com/project/_/settings/api\n NEXT_PUBLIC_SUPABASE_URL=your-project-url\n-NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY=your-anon-key...
2025-10-13T11:07:28
golang/go
b915e14490e1c3ac5a84c274bfab647e1cb105a7
06e791c0cdef1a0d35ed553875c51c85716b0f57
cmd/compile: consolidate logic for rewriting fixed loads Many CLs have worked with this bit of code, extending the cases more and more for various fixed addresses and constants. But, I find that it's getting duplicitive, and I don't find the current setup very clear that something like isFixed32 _only_ works for a spe...
[ { "path": "src/cmd/compile/internal/ssa/_gen/generic.rules", "patch": "@@ -2757,37 +2757,15 @@\n (RotateLeft(64|32|16|8) (RotateLeft(64|32|16|8) x c) d) && c.Type.Size() == 2 && d.Type.Size() == 2 => (RotateLeft(64|32|16|8) x (Add16 <c.Type> c d))\n (RotateLeft(64|32|16|8) (RotateLeft(64|32|16|8) x c) d) &&...
2025-09-05T20:08:21
facebook/react
85180b8cf84274795986c8f2c8473f8816db8b7b
4c2dfb3126f87fc270ad8a07d6180744d25cc585
[Fizz][Static] when aborting a prerender halt unfinished boundaries instead of erroring (#30732) When we introduced prerendering for flight we modeled an abort of a flight prerender as having unfinished rows. This is similar to how postpone was already implemented when you postponed from "within" a prerender using ...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js", "patch": "@@ -7746,6 +7746,112 @@ describe('ReactDOMFizzServer', () => {\n );\n });\n \n+ // @gate enableHalt\n+ it('can resume a prerender that was aborted', async () => {\n+ const promise = new Promise(r => {});\n+\n+ l...
2024-08-20T20:30:51
nodejs/node
4afc136efaf7ecd4cefced53b48d0b542893db4d
11e753536e379d6f8ce34e3baf0572012e22ad9d
src: improve error handling in node_blob PR-URL: https://github.com/nodejs/node/pull/57078 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "src/node_blob.cc", "patch": "@@ -30,8 +30,10 @@ using v8::HandleScope;\n using v8::Int32;\n using v8::Isolate;\n using v8::Local;\n+using v8::NewStringType;\n using v8::Object;\n using v8::ObjectTemplate;\n+using v8::SnapshotCreator;\n using v8::String;\n using v8::Uint32;\n using v8::Undefined;\...
2025-02-15T20:46:06
vercel/next.js
bb964e4d5c2269af10dc4a92e026bb2d7aba3e76
51f561bfc56d7af62a5802910d8e42206ae4bb74
fix: release next-rspack ci (#84673) should use `secrets.NPM_TOKEN_ELEVATED` to `env.NPM_TOKEN`
[ { "path": ".github/workflows/release-next-rspack.yml", "patch": "@@ -118,7 +118,7 @@ jobs:\n run: |\n echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" >> ~/.npmrc\n env:\n- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n+ NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}\n \...
2025-10-11T07:00:52
facebook/react
a960b92cb93e7d006e5e8de850f9b8b51f655c90
0fa9476b9b9b7e284fb6ebe7e1c46a6a6ae85f27
[Flight] model halting as never delivered chunks (#30740) stacked on: #30731 We've refined the model of halting a prerender. Now when you abort during a prerender we simply omit the rows that would complete the flight render. This is analagous to prerendering in Fizz where you must resume the prerender to actual...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -46,7 +46,6 @@ import {\n enableRefAsProp,\n enableFlightReadableStream,\n enableOwnerStacks,\n- enableHalt,\n } from 'shared/ReactFeatureFlags';\n \n import {\n@@ -1997,20 +1996,6 @@ function resolvePostponeDev(\n }\n }\n \n-...
2024-08-20T02:34:20
golang/go
cf42b785b701e48260e1b4785e270fe81e2e1bb2
5e6296f3f8a5fd8c07a0602435eae681002e09ad
cmd/cgo: run recordTypes for each of the debugs at the end of Translate Save the debug information in a slice and then process all of them at the end of the loop. For #75167 Change-Id: I6a6a6964dffa784b0aa776334562333ecf247023 Reviewed-on: https://go-review.googlesource.com/c/go/+/699019 LUCI-TryBot-Result: Go LUCI ...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -192,9 +192,7 @@ func (p *Package) Translate(f *File) {\n \t\tcref.Name.C = cname(cref.Name.Go)\n \t}\n \n-\tvar conv typeConv\n-\tconv.Init(p.PtrSize, p.IntSize)\n-\n+\tvar debugs []*debug // debug data from iterations of gccDebug\n \tft := fileTypedefs{typedefs...
2025-08-25T21:16:05
nodejs/node
11e753536e379d6f8ce34e3baf0572012e22ad9d
714ced18efe5a4a3f4673722c1de7ef1920aa01e
src: improve error handling in multiple files PR-URL: https://github.com/nodejs/node/pull/56962 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "src/node_i18n.cc", "patch": "@@ -104,14 +104,15 @@ namespace {\n \n template <typename T>\n MaybeLocal<Object> ToBufferEndian(Environment* env, MaybeStackBuffer<T>* buf) {\n- MaybeLocal<Object> ret = Buffer::New(env, buf);\n- if (ret.IsEmpty())\n- return ret;\n+ Local<Object> ret;\n+ if (!...
2025-02-08T17:55:45
vercel/next.js
4614b00f924062a4a75c0f45a3878bfed2ce5a92
37f4c793c96bb730fa1d06e4e393e78028f08dcb
Add 16.0.0-beta.0 to next/third-parties peerDeps (#84741) Installing `@next/third-parties` warns about peerDeps `next@16.0.0-beta.0` ``` Results: 0 errors 41 unmodified 0 skipped 0 ok Time elapsed: 2.276seconds ✔ Codemods have been applied successfully. ⚠ Found 1 dependency that seem incompatible with the upgraded p...
[ { "path": "packages/third-parties/package.json", "patch": "@@ -32,7 +32,7 @@\n \"typescript\": \"5.9.2\"\n },\n \"peerDependencies\": {\n- \"next\": \"^13.0.0 || ^14.0.0 || ^15.0.0\",\n+ \"next\": \"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0-beta.0\",\n \"react\": \"^18.2.0 || 19.0.0-rc-de68...
2025-10-10T19:58:38
facebook/react
9d082b550086e6be5f54872d518efa14303491db
d2413bf377e7f73661b0700aeb95d07fb2911efc
[Flight] model halted references explicitly (#30731) using infinitely suspending promises isn't right because this will parse as a promise which is only appropriate if the value we're halting at is a promise. Instead we need to have a special marker type that says this reference will never resolve. Additionally fli...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -46,6 +46,7 @@ import {\n enableRefAsProp,\n enableFlightReadableStream,\n enableOwnerStacks,\n+ enableHalt,\n } from 'shared/ReactFeatureFlags';\n \n import {\n@@ -1986,6 +1987,20 @@ function resolvePostponeDev(\n }\n }\n \n+...
2024-08-19T18:24:41
nodejs/node
666e773f22303db262903efd22a7bd72370d8eb8
f1b951fd2248c9f44b730345e1681f18903aa747
doc: fix wrong articles used to address modules PR-URL: https://github.com/nodejs/node/pull/57090 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/modules.md", "patch": "@@ -253,7 +253,7 @@ This property is experimental and can change in the future. It should only be us\n by tools converting ES modules into CommonJS modules, following existing ecosystem\n conventions. Code authored directly in CommonJS should avoid depending on it.\...
2025-02-17T11:50:49
golang/go
5e6296f3f8a5fd8c07a0602435eae681002e09ad
ea00650784bc2909580c7decf729f668349aa939
archive/tar: optimize nanosecond parsing in parsePAXTime Modified parsePAXTime to use a byte array for nanosecond parsing, providing a more straightforward implementation with better performance when handling decimal fraction part. Here are benchmark results: goos: darwin goarch: amd64 pkg: archive/tar cpu: Intel(R) C...
[ { "path": "src/archive/tar/strconv.go", "patch": "@@ -213,15 +213,17 @@ func parsePAXTime(s string) (time.Time, error) {\n \t}\n \n \t// Parse the nanoseconds.\n-\tif strings.Trim(sn, \"0123456789\") != \"\" {\n-\t\treturn time.Time{}, ErrHeader\n-\t}\n-\tif len(sn) < maxNanoSecondDigits {\n-\t\tsn += strin...
2025-09-08T16:19:34
vercel/next.js
37f4c793c96bb730fa1d06e4e393e78028f08dcb
537f8c78903990aba7eaf636b3460a6f1e05a33c
[turbopack] Fix a few references to caching configuration as it is no longer canary guarded (#84761)
[ { "path": "docs/01-app/03-api-reference/05-config/01-next-config-js/turbopackFileSystemCache.mdx", "patch": "@@ -2,16 +2,13 @@\n title: Turbopack FileSystem Caching\n nav_title: turbopackFileSystemCache\n description: Learn how to enable FileSystem Caching for Turbopack builds\n-version: canary\n ---\n \n #...
2025-10-10T19:46:14
facebook/react
d2413bf377e7f73661b0700aeb95d07fb2911efc
6ebfd5b0829c3e7a977ef4d9a0bd96436c681251
[compiler] Validate against JSX in try statements Per comments on the new validation pass, this disallows creating JSX (expression/fragment) within a try statement. Developers sometimes use this pattern thinking that they can catch errors during the rendering of the element, without realizing that rendering is lazy. T...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts", "patch": "@@ -105,6 +105,7 @@ import {outlineFunctions} from '../Optimization/OutlineFunctions';\n import {propagatePhiTypes} from '../TypeInference/PropagatePhiTypes';\n import {lowerContextAccess} from '../Optimization/L...
2024-08-17T00:05:29
nodejs/node
f1b951fd2248c9f44b730345e1681f18903aa747
610e4747283a5bb0e8a05ff07cc38dd5f028976f
doc: update `module.builtinModules` sentence updates the sentence saying that `module.builtinModule` only contains the modules that can be loaded without `node:` (since v23.5.0 also prefix-only modules are included in the list) PR-URL: https://github.com/nodejs/node/pull/57089 Refs: https://github.com/nodejs/node/pul...
[ { "path": "doc/api/modules.md", "patch": "@@ -516,9 +516,11 @@ by that name.\n \n Some built-in modules are always preferentially loaded if their identifier is\n passed to `require()`. For instance, `require('http')` will always\n-return the built-in HTTP module, even if there is a file by that name. The li...
2025-02-16T22:31:15
vercel/next.js
ee152079617926ca1e09c26e86d14e8f8fcfbf21
bc51d9bb6a6cbcb50a302e4dcc1c8f653bcc86b4
[turbopack] tweak the doc on the inner graph optimization (#84752) This optimization is enabled by default and we already link to the docs so referencing the configuration option is more misleading than helpful. Fixes https://github.com/vercel/feedback/issues/111264
[ { "path": "docs/01-app/03-api-reference/08-turbopack.mdx", "patch": "@@ -134,7 +134,7 @@ This can lead to subtle rendering changes when adopting Turbopack, if applicatio\n \n ### Bundle Sizes\n \n-Turbopack does not yet have an equivalent to the [Inner Graph Optimization](https://webpack.js.org/configuratio...
2025-10-10T16:52:35
golang/go
ea00650784bc2909580c7decf729f668349aa939
4cc7cc74c3d8fe7aba458824b0fce6e72ceee048
debug/pe: permit symbols with no name They are reportedly generated by llvm-mingw clang21. Fixes #75219 Change-Id: I7fa7e13039bc7eee826cc19826985ca0e357a9ff Reviewed-on: https://go-review.googlesource.com/c/go/+/700137 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-...
[ { "path": "src/debug/pe/symbol.go", "patch": "@@ -98,7 +98,12 @@ func readCOFFSymbols(fh *FileHeader, r io.ReadSeeker) ([]COFFSymbol, error) {\n // isSymNameOffset checks symbol name if it is encoded as offset into string table.\n func isSymNameOffset(name [8]byte) (bool, uint32) {\n \tif name[0] == 0 && na...
2025-09-01T16:18:08
electron/electron
92496c1930e35de04725a61e60817704832372b2
42862347218b61b01c4891036d84ecda0b6a86d6
chore: bump chromium to 129.0.6616.0 (main) (#43012) * chore: bump chromium in DEPS to 128.0.6613.0 * chore: 5725076: Update EventType names | https://chromium-review.googlesource.com/c/chromium/src/+/5725076 * chore: export patches * chore: 5725076: Update EventType names | https://chromium-review.googlesour...
[ { "path": "DEPS", "patch": "@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'\n \n vars = {\n 'chromium_version':\n- '128.0.6611.0',\n+ '129.0.6616.0',\n 'node_version':\n 'v20.16.0',\n 'nan_version':", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "filena...
2024-07-29T13:37:35
facebook/react
6ebfd5b0829c3e7a977ef4d9a0bd96436c681251
7954db9398b9afa962167577a6c6940be3856c39
[Flight] Source Map Server Actions to their Server Location (#30741) This uses a similar technique to what we use to generate fake stack frames for server components. This generates an eval:ed wrapper function around the Server Reference proxy we create on the client. This wrapper function gets the original `name` ...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -13,6 +13,7 @@ import type {\n ReactComponentInfo,\n ReactAsyncInfo,\n ReactStackTrace,\n+ ReactCallSite,\n } from 'shared/ReactTypes';\n import type {LazyComponent} from 'react/src/ReactLazy';\n \n@@ -59,7 +60,7 @@ import {\n ...
2024-08-18T16:31:45
nodejs/node
b6cd6b7e31301ea190dac45f876bc7da4e87f8a1
69fdce2c7f1bd1c93ec793784dfcfd4ac4f62053
doc: `modules.md`: fix `distance` definition It's somewhat esoteric at best to define distance in terms of squared length! PR-URL: https://github.com/nodejs/node/pull/57046 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Chengzhong Wu <legend...
[ { "path": "doc/api/modules.md", "patch": "@@ -217,7 +217,7 @@ With the following ES Modules:\n \n ```mjs\n // distance.mjs\n-export function distance(a, b) { return (b.x - a.x) ** 2 + (b.y - a.y) ** 2; }\n+export function distance(a, b) { return Math.sqrt((b.x - a.x) ** 2 + (b.y - a.y) ** 2); }\n ```\n \n `...
2025-02-16T18:26:30
golang/go
ff45d5d53cd942cfeab6c47b8414502e6dce4870
861c90c907db1129dcd1540eecd3c66b6309db7a
encoding/json/internal/jsonflags: fix comment with wrong field name Flags struct has field Values but in the comments use Value. Fix it to correct name Values. Change-Id: Ib47e62538599a788c69fda27a7e2a97b8cf73263 Reviewed-on: https://go-review.googlesource.com/c/go/+/701415 Reviewed-by: Joseph Tsai <joetsai@digital-s...
[ { "path": "src/encoding/json/internal/jsonflags/flags.go", "patch": "@@ -169,8 +169,8 @@ func (dst *Flags) Join(src Flags) {\n \t// Copy over all source presence bits over to the destination (using OR),\n \t// then invert the source presence bits to clear out source value (using AND-NOT),\n \t// then copy o...
2025-09-06T14:51:37
electron/electron
42862347218b61b01c4891036d84ecda0b6a86d6
55e7a47d709ce711e0d9d91b9c8f9d6c4972a839
fix: redirect webview navigation methods (#42981)
[ { "path": "lib/browser/guest-view-manager.ts", "patch": "@@ -2,7 +2,7 @@ import { webContents } from 'electron/main';\n import { ipcMainInternal } from '@electron/internal/browser/ipc-main-internal';\n import * as ipcMainUtils from '@electron/internal/browser/ipc-main-internal-utils';\n import { parseWebVie...
2024-07-29T11:00:51
vercel/next.js
bc51d9bb6a6cbcb50a302e4dcc1c8f653bcc86b4
a89f854f3eb13814930943e53f4afbd721fd3fac
[Cache Components] Allow hiding logs after abort (#84579) When Next.js prerenders with Cache Components enabled it will abort prerenders before they have completed. It is common for user code to log in a catch block and with this new prerendering behavior these logs will trigger frequently for cases where the rejectio...
[ { "path": "packages/next/errors.json", "patch": "@@ -871,5 +871,6 @@\n \"870\": \"refresh can only be called from within a Server Action. See more info here: https://nextjs.org/docs/app/api-reference/functions/refresh\",\n \"871\": \"Image with src \\\"%s\\\" is using a query string which is not configu...
2025-10-10T16:13:19
facebook/react
7954db9398b9afa962167577a6c6940be3856c39
177b2419b2d8a3d14c3f3304bb7e300985d6f377
[Fizz] handle throwing after abort during render (#30730) It is possible to throw after aborting during a render and we were not properly tracking this. We use an AbortSigil to mark whether a rendering task needs to abort but the throw interrupts that and we end up handling an error on the error pathway instead. ...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js", "patch": "@@ -8377,6 +8377,48 @@ describe('ReactDOMFizzServer', () => {\n );\n });\n \n+ it('can support throwing after aborting during a render', async () => {\n+ function App() {\n+ return (\n+ <div>\n+ ...
2024-08-17T01:29:18
nodejs/node
69fdce2c7f1bd1c93ec793784dfcfd4ac4f62053
e892e79f17a1381a067f5738ac3619809a9d8012
doc: fix wrong verb form PR-URL: https://github.com/nodejs/node/pull/57091 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/modules.md", "patch": "@@ -208,7 +208,7 @@ regarding which files are parsed as ECMAScript modules.\n 3. The file has a `.js` extension, the closest `package.json` does not contain\n `\"type\": \"commonjs\"`, and the module contains ES module syntax.\n \n-If the ES Module being load...
2025-02-16T15:28:33
golang/go
832c1f76dc665f0e211eec12dd77c17fa2ceedd7
0b323350a5a4e996e8bd3312837a8e53735107c1
[dev.simd] cmd/compile: enhance prove to deal with double-offset IsInBounds checks For chunked iterations (useful for, but not exclusive to, SIMD calculations) it is common to see the combination of ``` for ; i <= len(m)-4; i += 4 { ``` and ``` r0, r1, r2, r3 := m[i], m[i+1], m[i+2], m[i+3] `` Prove did not handle th...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -2174,6 +2174,65 @@ func unsignedSubUnderflows(a, b uint64) bool {\n \treturn a < b\n }\n \n+// checkForChunkedIndexBounds looks for index expressions of the form\n+// A[i+delta] where delta < K and i <= len(A)-K. That is, this is a chunked\n+...
2025-09-03T17:09:32
rust-lang/rust
2c6ec51564e3051a4df44310b27fb51333408a72
c2c6f74fd2216a63c7d180d5dda4c825d503c2fa
Update `__rust_[rd]ealloc` to take `NonNull<u8>` instead of `*mut u8` Passing null to it is [already UB](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=8dcd25a549c11de72adc94a668277779) anyway.
[ { "path": "library/alloc/src/alloc.rs", "patch": "@@ -22,11 +22,16 @@ unsafe extern \"Rust\" {\n #[rustc_deallocator]\n #[rustc_nounwind]\n #[rustc_std_internal_symbol]\n- fn __rust_dealloc(ptr: *mut u8, size: usize, align: Alignment);\n+ fn __rust_dealloc(ptr: NonNull<u8>, size: usize, al...
2026-03-01T07:04:31
electron/electron
55e7a47d709ce711e0d9d91b9c8f9d6c4972a839
8db1563d730c8f6a5ca38ad167c670195c553d26
fix: always terminate active Node Streams (#43056) `.destroy()` is an important method in the lifecycle of a Node.js Readable stream. It is typically called to reclaim the resources (e.g., close file descriptor). The only situations where calling it manually isn't necessary are when the following events are emitte...
[ { "path": "shell/browser/net/node_stream_loader.cc", "patch": "@@ -43,7 +43,7 @@ NodeStreamLoader::~NodeStreamLoader() {\n }\n \n // Destroy the stream if not already ended\n- if (!ended_) {\n+ if (!destroyed_) {\n node::MakeCallback(isolate_, emitter_.Get(isolate_), \"destroy\", 0, nullptr,\n ...
2024-07-27T17:25:43
vercel/next.js
48e84aacd3cd61e7c45d9a2eeee4cf3287ed7f59
f766f9b03f38ce4a625c0b3904e573d74ba0418a
Version gate migration docs link (#84740) Currently, it always logs 15 migration docs when upgrading, so version gate it. ``` Results: 0 errors 41 unmodified 0 skipped 0 ok Time elapsed: 2.276seconds ✔ Codemods have been applied successfully. Please review the local changes and read the Next.js 15 migration guide t...
[ { "path": "packages/next-codemod/bin/upgrade.ts", "patch": "@@ -4,6 +4,7 @@ import fs from 'fs'\n import {\n satisfies as satisfiesVersionRange,\n compare as compareVersions,\n+ major,\n } from 'semver'\n import { execSync } from 'child_process'\n import path from 'path'\n@@ -60,20 +61,22 @@ async func...
2025-10-10T13:50:18
facebook/react
13ddf1084b4304a60059e3b96fc3c039d23e9432
a58276cbc3a70ba99572eeb9c2f7b4a54ca44b1e
[DevTools] Find owners from the parent path that matches the Fiber or ReactComponentInfo (#30717) This enables finding Server Components on the owner path. Server Components aren't stateful so there's not actually one specific owner that it necessarily matches. So it can't be a global look up. E.g. the same Server ...
[ { "path": "packages/react-devtools-shared/src/__tests__/inspectedElement-test.js", "patch": "@@ -2893,26 +2893,29 @@ describe('InspectedElement', () => {\n `);\n \n const inspectedElement = await inspectElementAtIndex(4);\n- expect(inspectedElement.owners).toMatchInlineSnapshot(`\n- [\n- ...
2024-08-16T23:52:11
nodejs/node
e892e79f17a1381a067f5738ac3619809a9d8012
1d8593e3b1876d05d69ec5cdf4c8990f24aac892
doc: fix transpiler loader hooks documentation The loader hooks examples have been broken for a while: 1. The nextLoad() hook cannot be used on a .coffee file that ends up going to the default load step without an explict format, which would cause a ERR_UNKNOWN_FILE_EXTENSION. Mention adding a package.json w...
[ { "path": "doc/api/module.md", "patch": "@@ -1164,7 +1164,11 @@ changes:\n Node.js default `load` hook after the last user-supplied `load` hook\n * `url` {string}\n * `context` {Object|undefined} When omitted, defaults are provided. When provided, defaults are\n- merged in with preference to the pr...
2025-02-16T12:48:56
rust-lang/rust
f5d3b158b927f3d0221cedeaf1722fde2f8f6d6c
d6eefce00d307fbc7d939671e390abb5beed24e6
Don’t report missing fields in struct exprs with syntax errors. This prevents spurious errors when a field is intended to be present but a preceding syntax error caused it not to be parsed. For example, StructName { foo: 1 bar: 2 } will not successfully parse a field `bar`, and we will report the syntax error bu...
[ { "path": "compiler/rustc_hir_typeck/src/expr.rs", "patch": "@@ -2202,7 +2202,16 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n };\n self.typeck_results.borrow_mut().fru_field_types_mut().insert(expr.hir_id, fru_tys);\n }\n- rustc_hir::StructTailExpr::None | ru...
2026-03-01T02:11:11
golang/go
861c90c907db1129dcd1540eecd3c66b6309db7a
57769b5532e96a8f6b705035a39ee056a22e04c3
net/http: pool transport gzip readers goos: linux goarch: amd64 pkg: net/http │ HEAD~1 │ HEAD │ │ sec/op │ sec/op vs base │ ClientGzip-8 621.0µ ± 2% 616.3µ ± 10% ~ (p=0.971 n=10) │ HEAD~1 │ HEAD ...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -12,6 +12,7 @@ import (\n \t\"compress/gzip\"\n \t\"compress/zlib\"\n \t\"context\"\n+\tcrand \"crypto/rand\"\n \t\"crypto/tls\"\n \t\"crypto/x509\"\n \t\"encoding/json\"\n@@ -5281,8 +5282,8 @@ func benchmarkClientServerParallel(b *testing.B, parallelism ...
2025-09-03T10:09:08
vercel/next.js
8367664b827c75d9b8faf96ed10ea9b058974829
cd293963abb8ef181d6ed37780319f50e0f7e3a0
[next-codemod] fix: Set codemod version to the first introduced version (#84726) <!-- 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...
[ { "path": "packages/next-codemod/lib/utils.ts", "patch": "@@ -35,6 +35,11 @@ export function onCancel() {\n process.exit(1)\n }\n \n+/**\n+ * When adding a new codemod, ensure to set the target canary version\n+ * instead of the stable version. This is for `@next/codemod upgrade`\n+ * to correctly pick up...
2025-10-10T03:22:50
electron/electron
8db1563d730c8f6a5ca38ad167c670195c553d26
b3d52c01e88417136487600eb21f3e108f1952aa
fix: remove InspectableWebContentsViewMac (#43033) * Revert "refactor: remove InspectableWebContentsViewMac in favor of the Views version (#41326)" This reverts commit e67ab9a93dadccecff30de50ab4555191c30b6c4. * build: fix gn check * chore: implement setCornerRadii in inspectable_web_contents_view_mac Co-a...
[ { "path": "filenames.gni", "patch": "@@ -159,8 +159,12 @@ filenames = {\n \"shell/browser/osr/osr_web_contents_view_mac.mm\",\n \"shell/browser/relauncher_mac.cc\",\n \"shell/browser/ui/certificate_trust_mac.mm\",\n+ \"shell/browser/ui/cocoa/delayed_native_view_host.h\",\n+ \"shell/browser...
2024-07-27T16:44:22
facebook/react
34edf3b68471e87d4a92f98a10f7c6c727c948f8
e9a869fbb59a634fb9a39c9480ffa34970f35858
[compiler] Surface unused opt out directives in eslint This PR updates the eslint plugin to report unused opt out directives. One of the downsides of the opt out directive is that it opts the component/hook out of compilation forever, even if the underlying issue was fixed in product code or fixed in the compiler. gh...
[ { "path": "compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts", "patch": "@@ -215,6 +215,65 @@ const tests: CompilerTestCases = {\n },\n ],\n },\n+ {\n+ name: \"'use no forget' does not disable eslint rule\",\n+ code: normalizeIndent`\n+ ...
2024-08-16T21:39:51
nodejs/node
1d8593e3b1876d05d69ec5cdf4c8990f24aac892
d3841517e980d8b6c64dd6be3de4472c986d7866
src: fix accessing empty string PR-URL: https://github.com/nodejs/node/pull/57014 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonza...
[ { "path": "src/node_dotenv.cc", "patch": "@@ -156,7 +156,7 @@ void Dotenv::ParseContent(const std::string_view input) {\n key = trim_spaces(key);\n \n // If the value is not present (e.g. KEY=) set is to an empty string\n- if (content.front() == '\\n') {\n+ if (content.empty() || content.front...
2025-02-16T06:45:40
rust-lang/rust
0bb020ace98e58ac2147a3fc43f8d9a610c39c24
1d113d2f3068f6cadf0fe799307d7a06d771d866
Make `const_lit_matches_ty` check literal suffixes for exact type match
[ { "path": "compiler/rustc_middle/src/ty/consts/lit.rs", "patch": "@@ -1,4 +1,4 @@\n-use rustc_ast::LitKind;\n+use rustc_ast::{LitFloatType, LitIntType, LitKind};\n use rustc_hir;\n use rustc_macros::HashStable;\n \n@@ -44,10 +44,17 @@ pub fn const_lit_matches_ty<'tcx>(\n {\n true\n ...
2026-02-22T10:45:25
golang/go
57769b5532e96a8f6b705035a39ee056a22e04c3
a6144613d3b601be1db6aa2fdaa79c954fdfe02c
os: reject OpenDir of a non-directory file in Plan 9 Check that the path argument to OpenDir in Plan 9 is a directory, and return error syscall.ENOTDIR if it is not. Fixes #75196 Change-Id: I3bec6b6b40a38c21264b5d22ff3e7dfbf8c1c6d7 Reviewed-on: https://go-review.googlesource.com/c/go/+/700855 Reviewed-by: Damien Nei...
[ { "path": "src/os/file_plan9.go", "patch": "@@ -135,7 +135,20 @@ func openFileNolog(name string, flag int, perm FileMode) (*File, error) {\n }\n \n func openDirNolog(name string) (*File, error) {\n-\treturn openFileNolog(name, O_RDONLY, 0)\n+\tf, e := openFileNolog(name, O_RDONLY, 0)\n+\tif e != nil {\n+\t\...
2025-09-04T10:42:56
vercel/next.js
f09567eafde22ed29949a1da3548e0fee3e21082
8f731e666f87d110538a10d95fbd04cdef553b9e
[turbopack] Emit a warning when there are too many matches from a FileSourceReference (#84701) Previously we would `eprintln!` in this case, but that is missing key source information that would help with debugging. Example warning (i hacked the limit to be lower to make this less tedious to repro): ![image.png](ht...
[ { "path": "crates/next-api/src/module_graph.rs", "patch": "@@ -490,7 +490,7 @@ impl Issue for CssGlobalImportIssue {\n }\n \n fn severity(&self) -> IssueSeverity {\n- IssueSeverity::Fatal\n+ IssueSeverity::Error\n }\n \n #[turbo_tasks::function]", "additions": 1, "delet...
2025-10-10T02:26:02
facebook/react
e9a869fbb59a634fb9a39c9480ffa34970f35858
7b41cdc093c7a28a089e2c402cbe98cac68de509
[compiler] Run compiler pipeline on 'use no forget' This PR updates the babel plugin to continue the compilation pipeline as normal on components/hooks that have been opted out using a directive. Instead, we no longer emit the compiled function when the directive is present. Previously, we would skip over the entire ...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts", "patch": "@@ -165,6 +165,12 @@ export type LoggerEvent =\n fnLoc: t.SourceLocation | null;\n detail: Omit<Omit<CompilerErrorDetailOptions, 'severity'>, 'suggestions'>;\n }\n+ | {\n+ kind: 'CompileSkip'...
2024-08-16T21:39:50
nodejs/node
409e28d5aa5285aba9ee613d7a727fdd2bb15f81
61a57f7761ef9828d1bace81238657c361e2baaa
fs: handle UV_ENOTDIR in `fs.statSync` with `throwIfNoEntry` provided Fixes: https://github.com/nodejs/node/issues/56993 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> PR-URL: https://github.com/nodejs/node/pull/56996 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Anna Henningsen <anna@addalea...
[ { "path": "src/node_file.cc", "patch": "@@ -1088,6 +1088,10 @@ constexpr bool is_uv_error_except_no_entry(int result) {\n return result < 0 && result != UV_ENOENT;\n }\n \n+constexpr bool is_uv_error_except_no_entry_dir(int result) {\n+ return result < 0 && !(result == UV_ENOENT || result == UV_ENOTDIR);...
2025-02-10T17:14:36
electron/electron
b3d52c01e88417136487600eb21f3e108f1952aa
77ba40bc01a206b5c3bac27cd6143adabd46d437
chore: bump node to v20.16.0 (main) (#43029) * chore: bump node in DEPS to v20.16.0 * test: skip unstable shadow realm gc tests https://github.com/nodejs/node/pull/52855 * test: extend env for `test-node-output-errors` https://github.com/nodejs/node/pull/53535 * src: fix typo in env.cc https://github...
[ { "path": "DEPS", "patch": "@@ -4,7 +4,7 @@ vars = {\n 'chromium_version':\n '128.0.6611.0',\n 'node_version':\n- 'v20.15.1',\n+ 'v20.16.0',\n 'nan_version':\n 'e14bdcd1f72d62bca1d541b66da43130384ec213',\n 'squirrel.mac_version':", "additions": 1, "deletions": 1, "language"...
2024-07-26T16:52:05