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
facebook/react
88df88f9441e0f83917e60e04d4f75118c1adec5
db50164dbac39d7421c936689a5c026e9fd2f034
fix: devtools cannot be closed correctly (#25510) <!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, plea...
[ { "path": "packages/react-devtools-shared/src/__tests__/bridge-test.js", "patch": "@@ -21,6 +21,8 @@ describe('Bridge', () => {\n send: jest.fn(),\n };\n const bridge = new Bridge(wall);\n+ const shutdownCallback = jest.fn();\n+ bridge.addListener('shutdown', shutdownCallback);\n \n ...
2023-06-13T09:04:38
vercel/next.js
614329711ea861001e905b3c5f97d8a2ab9b3379
7bb72e508572237fe0d4aac5418546d4b4b3a363
Use new `browserWithResponse()` method in `empty-fallback-shells` tests (#80406) In e2e tests, we sometimes want to assert on the response headers and on the rendered HTML within the same test. For the former, we usually use `next.fetch()`, but this doesn't allow us to use the Playwright browser API to assert on the r...
[ { "path": "test/e2e/app-dir/empty-fallback-shells/app/with-cached-io/last-modified.jsx", "patch": "@@ -1,9 +1,12 @@\n+import { getSentinelValue } from './sentinel'\n+\n export async function LastModified({ params }) {\n const { slug } = await params\n \n return (\n- <p data-testid={`page-${slug}`}>\n...
2025-06-11T10:28:22
electron/electron
b9464d89b8dedc86e9f9c04d400349c193be27ba
67a0c702fad7d61598b5b4bd31076a66f2954631
fix: remove undocumented feature and flaky test for webview resize event (#36154)
[ { "path": "lib/renderer/web-view/web-view-impl.ts", "patch": "@@ -24,7 +24,6 @@ export class WebViewImpl {\n public guestInstanceId?: number\n public hasFocus = false\n public internalInstanceId?: number;\n- public resizeObserver?: ResizeObserver;\n public viewInstanceId: number\n \n // on* Event...
2022-10-27T23:44:53
golang/go
cc16fb52e6f1eafaee468f8563525ec391e016f5
1e92ff11f5fa9d495c05414591516402a202539c
cmd/compile: ensure we don't reuse temporary register Before this CL, we could use the same register for both a temporary register and for moving a value in the output register out of the way. Fixes #71857 Change-Id: Iefbfd9d4139136174570d8aadf8a0fb391791ea9 Reviewed-on: https://go-review.googlesource.com/c/go/+/651...
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -1677,6 +1677,7 @@ func (s *regAllocState) regalloc(f *Func) {\n \t\t\t\t}\n \t\t\t\ttmpReg = s.allocReg(m, &tmpVal)\n \t\t\t\ts.nospill |= regMask(1) << tmpReg\n+\t\t\t\ts.tmpused |= regMask(1) << tmpReg\n \t\t\t}\n \n \t\t\t// Now that all...
2025-02-23T18:34:00
facebook/react
db50164dbac39d7421c936689a5c026e9fd2f034
ce6842d8f528977119b80d969306c8475099f66e
[Flight] Optimize Large Strings by Not Escaping Them (#26932) This introduces a Text row (T) which is essentially a string blob and refactors the parsing to now happen at the binary level. ``` RowID + ":" + "T" + ByteLengthInHex + "," + Text ``` Today, we encode all row data in JSON, which conveniently never ...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -52,6 +52,14 @@ export type JSONValue =\n | {+[key: string]: JSONValue}\n | $ReadOnlyArray<JSONValue>;\n \n+const ROW_ID = 0;\n+const ROW_TAG = 1;\n+const ROW_LENGTH = 2;\n+const ROW_CHUNK_BY_NEWLINE = 3;\n+const ROW_CHUNK_BY_LENGT...
2023-06-13T02:16:47
vercel/next.js
9499a50f064925b48dc98895d001dde5ac0d3305
624df11aedfc6282f349d8d687b2ee980f7e643e
Turbopack: include obsolete entries in computation (#80362) ### What? We didn't include already removed entries in the usage computation. So a meta file was incorrectly marked as unused and was removed.
[ { "path": "turbopack/crates/turbo-persistence-tools/src/main.rs", "patch": "@@ -39,7 +39,7 @@ fn main() -> Result<()> {\n {\n println!(\n \" SST {sequence_number:08}.sst: {min_hash:016x} - {max_hash:016x} (p = 1/{})\",\n- u64::MAX / (max_hash - min_hash)\n...
2025-06-10T22:58:46
rust-lang/rust
daaff44cbc25c35fbe59878bef315252fbba8a62
9cdcd0c3fa2ec52547d196101d350c5f2e50ead6
Fix tidy formatting manually for E0423.md
[ { "path": "compiler/rustc_error_codes/src/error_codes/E0423.md", "patch": "@@ -45,15 +45,13 @@ fn h1() -> i32 {\n }\n ```\n \n-\n-\n ### Enum types used as values\n \n Enums are types and cannot be used directly as values.\n \n ```compile_fail,E0423\n-fn main() {\n+fn main(){\n let x = Option::<i32>;\n-...
2026-01-31T05:16:58
electron/electron
67a0c702fad7d61598b5b4bd31076a66f2954631
ea6f873f979f9dea98006288ab143330beecffa8
build: prefix version in uploader script (#36169) build: prefix v in uploader script
[ { "path": "script/release/uploaders/upload.py", "patch": "@@ -23,7 +23,7 @@\n SRC_DIR, ELECTRON_DIR, TS_NODE\n \n \n-ELECTRON_VERSION = get_electron_version()\n+ELECTRON_VERSION = 'v' + get_electron_version()\n \n PROJECT_NAME = get_electron_branding()['project_name']\n PRODUCT_NAME = g...
2022-10-27T19:02:18
golang/go
973a9eb8bf883b3856d94624138ecfe30cac3ea0
434de2f8e9d3837711e0f853a2873cbb83325019
net: properly wrap context cancellation errors and return DNSErrors consistently Fixes #71939 Change-Id: Id7cd720fcca2812ffca2b1b20fe923914422d994 GitHub-Last-Rev: 4671f338c91b5826c669fbd113c176e22f5020e5 GitHub-Pull-Request: golang/go#71941 Reviewed-on: https://go-review.googlesource.com/c/go/+/652275 Commit-Queue: ...
[ { "path": "src/net/cgo_unix.go", "patch": "@@ -47,11 +47,7 @@ func (eai addrinfoErrno) isAddrinfoErrno() {}\n func doBlockingWithCtx[T any](ctx context.Context, lookupName string, blocking func() (T, error)) (T, error) {\n \tif err := acquireThread(ctx); err != nil {\n \t\tvar zero T\n-\t\treturn zero, &DNS...
2025-02-25T08:23:26
facebook/react
a21660de006416018d1fc799be92540417fcb8bb
a8fff7cc5c67f4f8f5fbd9171081be6ef3949158
Fix calculation of nested function dependencies We were incorrectly calculating the dependencies of nested lambdas, because the "component" scope was incorrectly set to the next closest parent rather than outermost React function (component/hook) being compiled.
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -2344,7 +2344,7 @@ function lowerFunctionExpression(\n if (expr.isFunctionExpression()) {\n name = expr.get(\"id\")?.node?.name ?? null;\n }\n- const componentScope: Scope = expr.scope.parent.getFunctio...
2023-06-14T21:04:26
rust-lang/rust
1ba6684e1611d6e2fa6e3258e7d3b6dc300863cb
c3eb3fd6df785bc5c9db7d5c5c94357189d43663
hexagon: Make `fma` label local to avoid symbol collision The `fma:` label in dffma.s was being exported as a global symbol causing a "symbol 'fma' is already defined" error when linking with libm's `fma` function. Unfortunately rust-lang/compiler-builtins#682 removed `.global fma` but didn't address the implicit glo...
[ { "path": "library/compiler-builtins/compiler-builtins/src/hexagon/dffma.s", "patch": "@@ -7,7 +7,7 @@\n .p2align 5\n __hexagon_fmadf4:\n __hexagon_fmadf5:\n-fma:\n+.Lfma:\n {\n p0 = dfclass(r1:0,#2)\n p0 = dfclass(r3:2,#2)\n@@ -400,15 +400,15 @@ fma:\n r3:2 = insert(r11:10,#63,#0)\n r1 -= asl(r28...
2026-01-31T02:26:52
vercel/next.js
624df11aedfc6282f349d8d687b2ee980f7e643e
cd156f92329f17d0ddb70054ee13d6456c6e81fa
fix(next-swc-wasm): Only enable turbo-rcstr's napi feature when building the next-swc-napi crate/package (#80390) Fixes https://vercel.slack.com/archives/C04KC8A53T7/p1749584921462879 ``` pnpm swc-build-wasm ```
[ { "path": "Cargo.toml", "patch": "@@ -250,7 +250,7 @@ next-custom-transforms = { path = \"crates/next-custom-transforms\" }\n # Turbopack\n auto-hash-map = { path = \"turbopack/crates/turbo-tasks-auto-hash-map\" }\n turbo-prehash = { path = \"turbopack/crates/turbo-prehash\" }\n-turbo-rcstr = { path = \"tur...
2025-06-10T22:31:43
golang/go
434de2f8e9d3837711e0f853a2873cbb83325019
bdef1778311c19c997d4fb14a4374bd712014d13
spec: remove notion of core types This CL removes the notion of core types from the spec. Instead of referring to core types, each section that did so before is reverted to approx. the pre-generics (1.17) prose, and additional paragraphs cover the type parameter cases as needed. The hope is that this makes it easier...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Language version go1.25 (Feb 3, 2025)\",\n+\t\"Subtitle\": \"Language version go1.25 (Feb 25, 2025)\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1856,110 +1856,1...
2025-01-30T23:11:19
facebook/react
21a161fa37dce969c58ae17f67f2856d06514892
910045696bb5f693acb77890e6750c5e4659b420
refactor[renderer]: expose getInspectorDataForInstance in rendererConfig (#26913) ## Summary This is required for the case when we have an instance and want to get inspector data for it. Such case occurs when RN's application being debugged via React DevTools. React DevTools sends instance to RN, which then gets...
[ { "path": "packages/react-native-renderer/src/ReactFabric.js", "patch": "@@ -137,6 +137,7 @@ injectIntoDevTools({\n version: ReactVersion,\n rendererPackageName: 'react-native-renderer',\n rendererConfig: {\n+ getInspectorDataForInstance,\n getInspectorDataForViewTag: getInspectorDataForViewTag...
2023-06-09T09:55:34
vercel/next.js
cd156f92329f17d0ddb70054ee13d6456c6e81fa
81d4a8bd5ca5ad451c7f831bcd50167aee8835f2
Discard `Infinity` expiration for implicit tags (#80387) When a cache handler returns `Infinity` from its `getExpiration` method, it signals to Next.js that soft/implicit tags are supposed to be passed into the `get` method instead to be checked for expiration. Documenting this in the `CacheHandlerV2` interface, and a...
[ { "path": "packages/next/src/server/use-cache/use-cache-wrapper.ts", "patch": "@@ -867,10 +867,17 @@ export function cache(\n workUnitStore.implicitTags.expirationsByCacheKind.get(kind)\n \n if (lazyExpiration) {\n- if (isResolvedLazyResult(lazyExpiration)) {\n- ...
2025-06-10T22:24:52
nodejs/node
dcd8b82e15980077941d53560b266c5ed53fb9f0
29884d1d5c5fde35dec29f842834c766d5aee059
path: fix toNamespacedPath on Windows PR-URL: https://github.com/nodejs/node/pull/52915 Fixes: https://github.com/nodejs/node/issues/30224 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/path.js", "patch": "@@ -647,7 +647,7 @@ const win32 = {\n return `\\\\\\\\?\\\\${resolvedPath}`;\n }\n \n- return path;\n+ return resolvedPath;\n },\n \n /**", "additions": 1, "deletions": 1, "language": "JavaScript" }, { "path": "test/parallel/test-pat...
2024-05-13T13:43:16
electron/electron
ea6f873f979f9dea98006288ab143330beecffa8
07530f8e37060fc58991224e7d027614bffb4721
chore: bump chromium to 109.0.5382.0 (main) (#36057) * chore: bump chromium in DEPS to 109.0.5364.0 * chore: update patches * chore: bump chromium in DEPS to 109.0.5366.0 * chore: update patches * i3940364: Change PermissionType::WINDOW_PLACEMENT to WINDOW_MANAGEMENT https://chromium-review.googlesource...
[ { "path": "BUILD.gn", "patch": "@@ -663,6 +663,8 @@ source_set(\"electron_lib\") {\n if (enable_plugins) {\n deps += [ \"chromium_src:plugins\" ]\n sources += [\n+ \"shell/common/plugin_info.cc\",\n+ \"shell/common/plugin_info.h\",\n \"shell/renderer/pepper_helper.cc\",\n \"s...
2022-10-27T16:37:04
golang/go
bdef1778311c19c997d4fb14a4374bd712014d13
2f036e1475f9d794451927d90c07d9f8c258db77
go/parser: require label after goto Fixes #70957 Change-Id: Ied7cf29ea3e02bb71ddce8a19ddd381ce5991ed1 GitHub-Last-Rev: 310bd1537b7a36758f3fbf8db476fa68e1a11599 GitHub-Pull-Request: golang/go#70958 Reviewed-on: https://go-review.googlesource.com/c/go/+/638395 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-acc...
[ { "path": "src/cmd/compile/internal/syntax/testdata/issue70957.go", "patch": "@@ -0,0 +1,9 @@\n+// Copyright 2024 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+package p\n+\n+func f() { goto /* ERROR synt...
2025-01-07T18:28:10
vercel/next.js
81d4a8bd5ca5ad451c7f831bcd50167aee8835f2
ea691aa555db0eeff30f2269fbcf45db4a1715a6
[dev-overlay] Move app/pages related features closers together (#80280) pages/ and app/ now have a designated "setup" file. Makes it easier to spot their differences. The error handling would ideally be the same between App and Pages router but it's unlikely we'll have time porting the new App Router goodies with r...
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -1,8 +1,7 @@\n // imports polyfill from `@next/polyfill-module` after build.\n import '../build/polyfills/polyfill-module'\n \n-import './components/globals/patch-console'\n-import './components/globals/handle-global-errors'\n+import './compon...
2025-06-10T20:20:25
electron/electron
07530f8e37060fc58991224e7d027614bffb4721
260678bd0c4e3b917790b44929ad0d34a5078a0c
test: fix flake in will-navigate test (#36153)
[ { "path": "spec/api-browser-window-spec.ts", "patch": "@@ -567,6 +567,10 @@ describe('BrowserWindow module', () => {\n targetId: iframeTarget.targetId,\n flatten: true\n });\n+ let willNavigateEmitted = false;\n+ w.webContents.on('will-navigate', () => {\n...
2022-10-27T13:29:19
nodejs/node
ac5f8f0516dd933485b1c654bfc1cb5ba2da06bb
78dbda1bd3399a1dcb454773ed518a94f05b329f
src: fix Worker termination in `inspector.waitForDebugger` Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: https://github.com/nodejs/node/pull/52527 Fixes: https://github.com/nodejs/node/issues/52467 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed...
[ { "path": "src/env.cc", "patch": "@@ -1110,6 +1110,13 @@ void Environment::InitializeCompileCache() {\n void Environment::ExitEnv(StopFlags::Flags flags) {\n // Should not access non-thread-safe methods here.\n set_stopping(true);\n+\n+#if HAVE_INSPECTOR\n+ if (inspector_agent_) {\n+ inspector_agent...
2024-05-13T05:08:57
golang/go
c2ae5c7443fc8bda1d2b06390d4b439e81fb4b09
6adf08f747aff60810e754ca74e1bef381cbae86
cmd/compile, runtime: use PC of deferreturn for panic transfer this removes the old conditional-on-register-value handshake from the deferproc/deferprocstack logic. The "line" for the recovery-exit frame itself (not the defers that it runs) is the closing brace of the function. Reduces code size slightly (e.g. go co...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -1441,24 +1441,7 @@ var nefJumps = [2][2]ssagen.IndexJump{\n \n func ssaGenBlock(s *ssagen.State, b, next *ssa.Block) {\n \tswitch b.Kind {\n-\tcase ssa.BlockPlain:\n-\t\tif b.Succs[0].Block() != next {\n-\t\t\tp := s.Prog(obj.AJMP)\n-\t\t\tp.T...
2025-02-19T21:47:31
rust-lang/rust
f7931c805097f97c9586f0ce49d01ff4adfc972c
36e2b8a3a7aad93f8a92db6d254b746aa94ed6da
Remove some unnecessary `try`-related type annotations I left a few, like ```rust let result: Result<_, ModError<'_>> = try { ``` where it felt like seeing it might still be useful for the reader. Feel free to push back on any of these changes if you think seeing the type would be better.
[ { "path": "compiler/rustc_borrowck/src/nll.rs", "patch": "@@ -230,13 +230,13 @@ pub(super) fn dump_nll_mir<'tcx>(\n dumper.dump_mir(body);\n \n // Also dump the region constraint graph as a graphviz file.\n- let _: io::Result<()> = try {\n+ let _ = try {\n let mut file = dumper.create_...
2026-01-31T02:21:19
facebook/react
166f47a41e1396fcedf1eb7d324a30d414fc99f8
8192cd253d340554d151f853ed80626ce63dbca2
[snap] Fix snap ignored paths
[ { "path": "compiler/forget/packages/snap/src/compiler-worker.ts", "patch": "@@ -13,7 +13,7 @@ const originalConsoleError = console.error;\n // Try to avoid clearing the entire require cache, which (as of this PR)\n // contains ~1250 files. This assumes that no dependencies have global caches\n // that may n...
2023-06-08T18:32:22
vercel/next.js
f63088d2d1aacc23b0ea0baf4a50f55c71916231
a0d671c146cadbb8653cc851b255935a9e1edcc0
docs: Middleware fetching is not cached (#80378) Closes: https://linear.app/vercel/issue/DOC-4751/docs-missing-middleware-caching-information-also-ts-types-issue Fixes: https://github.com/vercel/next.js/issues/77900 Note that the TypeScript (should the TS plugin detect fetch `options.next` used in middleware and erro...
[ { "path": "docs/01-app/03-building-your-application/01-routing/14-middleware.mdx", "patch": "@@ -20,6 +20,8 @@ Middleware is _not_ a good fit for:\n - Slow data fetching\n - Session management\n \n+Using fetch with `options.cache`, `options.next.revalidate`, or `options.next.tags`, has no effect in Middlewa...
2025-06-10T17:58:20
electron/electron
02ad8fcd5fe5fd047daf5cdfe76c82ecc41ba724
ff4816367e6d4b8ed128400135e71859c45187ea
docs: correcting main example in WebRequest documentation (#36113) Correcting main example The entry `*://electron.github.io` is invalid and produces an exception. i.e. > UnhandledPromiseRejectionWarning: TypeError: Invalid url pattern *://electron.github.io: Empty path. Setting a valid path to resolve this i...
[ { "path": "docs/api/web-request.md", "patch": "@@ -28,7 +28,7 @@ const { session } = require('electron')\n \n // Modify the user agent for all requests to the following urls.\n const filter = {\n- urls: ['https://*.github.com/*', '*://electron.github.io']\n+ urls: ['https://*.github.com/*', '*://electron....
2022-10-27T07:18:07
nodejs/node
291c1211f2dd0194e31535b8d1679f7d8c1b0418
91d30f35c4e080dd385617dd6f490321ec61ac35
test: add `Debugger.setInstrumentationBreakpoint` known issue PR-URL: https://github.com/nodejs/node/pull/31137 Refs: https://github.com/nodejs/node/issues/31138 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/common/index.js", "patch": "@@ -603,7 +603,8 @@ function printSkipMessage(msg) {\n \n function skip(msg) {\n printSkipMessage(msg);\n- process.exit(0);\n+ // In known_issues test, skipping should produce a non-zero exit code.\n+ process.exit(require.main?.filename.startsWith(path.resolv...
2024-05-12T20:33:07
golang/go
549a88fa53c4d7d5ad702cdc90b3f0c763deb12e
d45d502fbb989e140c979b16837b1c2126dd18ab
go/types, types2: better error messages for calls Provide the exact error cause instead of reporting a missing core type. For #70128. Change-Id: I34bd401115742883cb6aef7997477473b2464abb Reviewed-on: https://go-review.googlesource.com/c/go/+/651256 Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert G...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -242,10 +242,16 @@ func (check *Checker) callExpr(x *operand, call *syntax.CallExpr) exprKind {\n \t// signature may be generic\n \tcgocall := x.mode == cgofunc\n \n-\t// a type parameter may be \"called\" if all types have the same signature...
2025-02-21T00:23:11
rust-lang/rust
5cb916370bf2b770b15ee9b915fbe8f99b36890e
c57471edbd7e3bb181d5efc9543555d769a6df95
Fix typo in debugging.md
[ { "path": "src/doc/rustc-dev-guide/src/autodiff/debugging.md", "patch": "@@ -16,7 +16,7 @@ Before generating the llvm-ir, keep in mind two techniques that can help ensure\n ## 1) Generate an llvm-ir reproducer\n \n ```sh\n-RUSTFLAGS=\"-Z autodiff=Enable,PrintModbefore\" cargo +enzyme build --release &> out....
2026-01-31T02:02:48
facebook/react
8192cd253d340554d151f853ed80626ce63dbca2
5673672ff9fd8ab69b3ed4d5a083357471cfaa35
Fix missing memoization of scope-less variable being reassigned
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/ReactiveScopes/PropagateScopeDependencies.ts", "patch": "@@ -419,15 +419,12 @@ class Context {\n * current one as a {@link ReactiveScope.reassignments}\n */\n visitReassignment(place: Place): void {\n- const declaration = this.#dec...
2023-06-08T02:15:59
vercel/next.js
6599f1dc14c30bb6cdf14930a39a367cea78dc93
94979526298bc818c412ba18b25159d2a20b004a
provide declarations for server-only/client-only (#80361) We implement the behavior of `import 'server-only'` and `import 'client-only'` on the compiler level and thus don't require having them installed as dependencies. By default it works fine with typescript, because (surprisingly) TSC *doesn't check side-effecting...
[ { "path": "packages/next/types/global.d.ts", "patch": "@@ -43,6 +43,30 @@ declare module '*.module.scss' {\n export default classes\n }\n \n+// We implement the behavior of `import 'server-only'` and `import 'client-only'` on the compiler level\n+// and thus don't require having them installed as dependen...
2025-06-10T16:35:13
electron/electron
ff4816367e6d4b8ed128400135e71859c45187ea
ff3289d260abadb5d1ac57a1e7daf5e511fda0be
refactor: handle uncaught promise error (#35484)
[ { "path": "lib/renderer/web-view/web-view-attributes.ts", "patch": "@@ -186,7 +186,10 @@ export class SrcAttribute extends WebViewAttribute {\n opts.userAgent = useragent;\n }\n \n- (this.webViewImpl.webviewNode as Electron.WebviewTag).loadURL(this.getValue(), opts);\n+ (this.webViewImpl.web...
2022-10-27T07:16:26
nodejs/node
c8a4f702655031736b15891a07816c13670a99e8
c7d53f0169aba592d61b1f2d13c39e5dd4817c7e
assert: add deep equal check for more Error type PR-URL: https://github.com/nodejs/node/pull/51805 Fixes: https://github.com/nodejs/node/issues/51793 Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -555,6 +555,9 @@ An alias of [`assert.ok()`][].\n <!-- YAML\n added: v0.1.21\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/51805\n+ description: Error cause and errors properties are now compared as well.\n - version: v...
2024-05-12T19:46:13
golang/go
d45d502fbb989e140c979b16837b1c2126dd18ab
bdcd6d1b653dd7a5b3eb9a053623f85433ff9e6b
go/types, types2: better error messages for for-range clauses Provide the exact error cause instead of reporting a missing core type. For #70128. Change-Id: I835698fa1f22382711bd54b974d2c87ee17e9065 Reviewed-on: https://go-review.googlesource.com/c/go/+/651215 Reviewed-by: Robert Griesemer <gri@google.com> Reviewed-...
[ { "path": "src/cmd/compile/internal/types2/compilersupport.go", "patch": "@@ -32,7 +32,7 @@ func CoreType(t Type) Type {\n // RangeKeyVal returns the key and value types for a range over typ.\n // It panics if range over typ is invalid.\n func RangeKeyVal(typ Type) (Type, Type) {\n-\tkey, val, _, ok := rang...
2025-02-20T23:01:36
rust-lang/rust
f7ffe3139006ea4d6fdf99c160a8b62b373922e9
a293cc4af8b26701c42738381c0c6f9d2ba881e0
Update cargo submodule also fixed tests/run-make-cargo/apple-slow-tls/rmake.rs accordingly for the new `-Zjson-target-spec` requirement
[ { "path": "src/tools/cargo", "patch": "@@ -1 +1 @@\n-Subproject commit efcd9f58636c1990393d495159045d9c35e43b8f\n+Subproject commit fe2f314aef06e688a9517da1ac0577bb1854d01f", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "tests/run-make-cargo/apple-slow-tls/rmake.rs"...
2026-01-27T22:06:12
facebook/react
910045696bb5f693acb77890e6750c5e4659b420
e6fae308e9300ca545003ac147cc7e4e541f561c
Fix:- Fixed dev tools inspect mode on Shadow dom (#26888) Fixes #26200 ### PR explanation I tried to induce the change by the `event.composed` to check whether the event was created in a ShadowRoot, And replaced `pointerOver` with `pointerMove`, pointerOver event did not fired correctly Before PR:- ht...
[ { "path": "packages/react-devtools-shared/src/backend/views/Highlighter/index.js", "patch": "@@ -46,7 +46,7 @@ export default function setupHighlighter(\n window.addEventListener('mouseover', onMouseEvent, true);\n window.addEventListener('mouseup', onMouseEvent, true);\n window.addEventLi...
2023-06-07T15:38:38
vercel/next.js
94979526298bc818c412ba18b25159d2a20b004a
cf0ad333c3799dd0ab6e121d8893b6928bada51e
Docs: broken links in caching (#80369) Fixes a couple of broken links in caching.
[ { "path": "docs/01-app/04-deep-dive/caching.mdx", "patch": "@@ -126,7 +126,7 @@ Next.js has a built-in Data Cache that **persists** the result of data fetches a\n \n You can use the [`cache`](#fetch-optionscache) and [`next.revalidate`](#fetch-optionsnextrevalidate) options of `fetch` to configure the cachi...
2025-06-10T15:49:11
electron/electron
625b4619d61619b4d327dd58be3a2cf9b348ffa3
a75e8e051e4854bd65721f82ec1acc7c51764f30
fix: resolve loadURL properly for in-page navigations (#36129)
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -450,12 +450,14 @@ WebContents.prototype.loadURL = function (url, options) {\n const removeListeners = () => {\n this.removeListener('did-finish-load', finishListener);\n this.removeListener('did-fail-load', failListener);\n+ thi...
2022-10-26T20:57:39
nodejs/node
c7d53f0169aba592d61b1f2d13c39e5dd4817c7e
11c90c15fb9f8da535bdd4feb823e01f1585b2a9
bootstrap: print `--help` message using `console.log` PR-URL: https://github.com/nodejs/node/pull/51463 Fixes: https://github.com/nodejs/node/issues/51448 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "lib/internal/main/print_help.js", "patch": "@@ -202,6 +202,7 @@ function format(\n \n function print(stream) {\n const { options, aliases } = getCLIOptionsInfo();\n+ const console = require('internal/console/global');\n \n // Use 75 % of the available width, and at least 70 characters.\n c...
2024-05-12T19:43:13
golang/go
bdcd6d1b653dd7a5b3eb9a053623f85433ff9e6b
f77bba43aa223fc86fd223f3ea4ef60db8e0c583
strconv: use builtin min function in commonPrefixLenIgnoreCase To make code a bit simpler. Change-Id: I33b3e04bc810a4838584c477854ef612b355579a GitHub-Last-Rev: 6d5bbc2a2877193e1319b9e626f408eda399666e GitHub-Pull-Request: golang/go#71927 Reviewed-on: https://go-review.googlesource.com/c/go/+/651975 Reviewed-by: Ian ...
[ { "path": "src/strconv/atof.go", "patch": "@@ -18,10 +18,7 @@ var optimize = true // set to false to force slow-path conversions for testing\n // prefix of s and prefix, with the character case of s ignored.\n // The prefix argument must be all lower-case.\n func commonPrefixLenIgnoreCase(s, prefix string) ...
2025-02-24T13:05:31
facebook/react
4e22fa6451060476ca3cef40631573d8496b49d9
5ebb7f1a8e7b72626ae430da9bdb7b4f8d6ab71d
Try to fix test262 in ci
[ { "path": "compiler/.github/workflows/test262.yml", "patch": "@@ -22,7 +22,7 @@ jobs:\n working-directory: forget\n - id: test262\n name: Run test262\n- run: echo results=\"$(yarn run --silent test262:ci)\" >> $GITHUB_OUTPUT\n+ run: echo results=$(yarn --silent workspace ...
2023-06-06T19:25:20
vercel/next.js
cf0ad333c3799dd0ab6e121d8893b6928bada51e
c151f8968184e4fcc9b11dd6be414dfc46d77dd8
[dev-overlay] Fix outstanding a11y issues reported by Axe (#80290) Adds labels to buttons that had no discernible text. The automated tests via `test-storybook` seem to ignore `parameters.a11y.config.rules` so we can't leverage `test-storybook` in CI. I can't even use `parameters.a11y.test`. We need `parameters...
[ { "path": "packages/next/.storybook/preview.tsx", "patch": "@@ -18,6 +18,26 @@ const preview: Preview = {\n parameters: {\n a11y: {\n element: 'nextjs-portal',\n+ config: {\n+ standards: {\n+ ariaAttrs: {\n+ 'aria-modal': {\n+ global: true,\n+ ...
2025-06-10T15:38:19
electron/electron
a75e8e051e4854bd65721f82ec1acc7c51764f30
09302a2fc6a4cf45e5a36165b8b3f22b8209525f
docs: document that when `invoke` rejects, it gives a different Error (#36127)
[ { "path": "docs/api/ipc-renderer.md", "patch": "@@ -96,14 +96,6 @@ Algorithm][SCA], just like [`window.postMessage`][], so prototype chains will no\n included. Sending Functions, Promises, Symbols, WeakMaps, or WeakSets will\n throw an exception.\n \n-> **NOTE:** Sending non-standard JavaScript types such a...
2022-10-26T20:56:41
rust-lang/rust
5f76adf7b368b4bec6fb3771fe645ab762ef8236
6ea1809c5e3511f38de6acbc6a32cbd7c28881da
fix adk installer link
[ { "path": "src/doc/rustc-dev-guide/src/profiling/wpa-profiling.md", "patch": "@@ -22,8 +22,8 @@ specifically designed to make analyzing rustc easier.\n \n You can install WPR and WPA as part of the Windows Performance Toolkit which itself is an option as\n part of downloading the Windows Assessment and Depl...
2026-01-30T22:37:52
nodejs/node
2b57e47d420e9e942e27ca4bdb7b55728046c2b7
d4e365f60605fbd81ecaa90aa88446ccb1cdbdd7
crypto: fix duplicated switch-case return values PR-URL: https://github.com/nodejs/node/pull/49030 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/internal/crypto/util.js", "patch": "@@ -510,10 +510,14 @@ function getUsagesUnion(usageSet, ...usages) {\n \n function getBlockSize(name) {\n switch (name) {\n- case 'SHA-1': return 512;\n- case 'SHA-256': return 512;\n- case 'SHA-384': return 1024;\n- case 'SHA-512': return 102...
2024-05-12T19:17:14
facebook/react
39d837d9185fa2543c5fd2dff0a9e97176aae49b
66ca1c75cb6d205b88f7761d432a84710f0b1683
Update fixtures from workspace rebase I updated these yesterday, looks like they got added back in the workspace PR. Rebases are hard, all good!
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/_bug.capturing-reference-changes-type.expect.md", "patch": "@@ -1,41 +0,0 @@\n-\n-## Input\n-\n-```javascript\n-function component(a) {\n- let x = { a };\n- let y = 1;\n- (function () {\n- y = x;\n- })();\n-...
2023-06-05T18:16:14
vercel/next.js
69374fbbda17164ad98b6e47585d80fa05c76dd2
bbaa16473723f3f2de8c97e0ad0dd4b0fab52e32
[test] Fix crashes in Dev Overlay Stories (#80292) A bit annoying that Storybook marks required props as optional. Makes it hard to keep those working during refactor.
[ { "path": "packages/next/.storybook/test-runner.ts", "patch": "@@ -15,6 +15,9 @@ const config: TestRunnerConfig = {\n detailedReportOptions: {\n html: true,\n },\n+ // Verbose prints additional logs in the terminal on passing tests taking up space\n+ // that's needed by failed ...
2025-06-10T13:19:50
electron/electron
ad289d120f18a8a72e811b3312b849ac1537d319
85b193178f35ebd80dc0a2521621146b9449fd16
docs: fixed MenuItem documentation to use the same formatting for all role options (#36112) Fixed MenuItem documentation Some of the items in the list of possible roles were formatted differently, which made it harder to read. Sorry if this was intended, but I found it easier to read with them all formatted the sa...
[ { "path": "docs/api/menu-item.md", "patch": "@@ -14,7 +14,7 @@ See [`Menu`](menu.md) for examples.\n * `menuItem` MenuItem\n * `browserWindow` [BrowserWindow](browser-window.md) | undefined - This will not be defined if no window is open.\n * `event` [KeyboardEvent](structures/keyboard-event.md)...
2022-10-24T18:51:50
nodejs/node
6ddf590ed1b45b5529af7a29e9329743bfe7bf02
e2697c1a642347f0fe0b1639ce76bf9b6166d785
src: use `S_ISDIR` to check if the file is a directory PR-URL: https://github.com/nodejs/node/pull/52164 Fixes: https://github.com/nodejs/node/issues/52159 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/node_file.cc", "patch": "@@ -1054,7 +1054,7 @@ static void InternalModuleStat(const FunctionCallbackInfo<Value>& args) {\n int rc = uv_fs_stat(env->event_loop(), &req, *path, nullptr);\n if (rc == 0) {\n const uv_stat_t* const s = static_cast<const uv_stat_t*>(req.ptr);\n- rc = !!(...
2024-05-12T18:07:46
rust-lang/rust
c99fca1f2d247f46f6a9082a9b482b16a86077e9
b6e4f13583eeb3ea5e7a8ec84d99407c9f1695a3
feat: fallback let postfix completions in condition Easy to input other patterns, or bind variable in let-chain Example --- ```rust fn main() { let bar = 2; if bar.$0 } ``` **Before this PR** No complete 'let' **After this PR** ```rust fn main() { let bar = 2; if let $1 = bar } ```
[ { "path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/postfix.rs", "patch": "@@ -151,6 +151,10 @@ pub(crate) fn complete_postfix(\n .add_to(acc, ctx.db);\n }\n },\n+ _ if is_in_cond => {\n+ postfix_snippet(\"let\", ...
2026-01-30T21:46:06
vercel/next.js
a075f9ce17125c0c599a543a8c2316cb1d635bb5
270744b7a0ecbf0ff94d0c62cd3a6b5e975d052a
[test] Fix Dev Overlay Storybook (#80288) Broke in https://github.com/vercel/next.js/pull/79699
[ { "path": "packages/next/.storybook/preview.tsx", "patch": "@@ -1,4 +1,18 @@\n import type { Preview } from '@storybook/react'\n+import { useInsertionEffect } from 'react'\n+\n+function CreatePortalNode() {\n+ useInsertionEffect(() => {\n+ const portalNode = document.createElement('nextjs-portal')\n+ ...
2025-06-10T10:38:03
electron/electron
0158077bec9a136f0eb71f61a57fa56ee59674ec
7921fec7612c0565c4cc4076ae9e83568c39269a
test: disable flaky linux arm/arm64 crash test case (#36094) test: disable failing linux arm/arm64 crash test case
[ { "path": "spec/crash-spec.ts", "patch": "@@ -31,6 +31,22 @@ const runFixtureAndEnsureCleanExit = (args: string[]) => {\n });\n };\n \n+const shouldRunCase = (crashCase: string) => {\n+ switch (crashCase) {\n+ // TODO(jkleinsc) fix this flaky test on Windows 32-bit\n+ case 'quit-on-crashed-event': ...
2022-10-20T22:06:06
facebook/react
66ca1c75cb6d205b88f7761d432a84710f0b1683
ad32811b649985322528483596a2cbb88451b080
Fix dropped constant declaration bug
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/Optimization/ConstantPropagation.ts", "patch": "@@ -81,6 +81,23 @@ export function constantPropagation(fn: HIRFunction): void {\n }\n \n function applyConstantPropagation(fn: HIRFunction): boolean {\n+ // Track the set of identifiers which a...
2023-06-05T18:08:29
nodejs/node
d9b61dbe8916fe987f409b9f865789f48f499adb
261e88e269f6ddf285d05671a0cba7c2ed93e38a
test: fix broken env fuzzer by initializing process Signed-off-by: Adam Korczynski <adam@adalogics.com> PR-URL: https://github.com/nodejs/node/pull/51080 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "test/fuzzers/fuzz_env.cc", "patch": "@@ -44,6 +44,7 @@ extern \"C\" int LLVMFuzzerInitialize(int* argc, char*** argv) {\n platform.reset(\n new node::NodePlatform(kV8ThreadPoolSize, tracing_controller));\n v8::V8::InitializePlatform(platform.get());\n+ cppgc::InitializeProcess(platform->...
2024-05-12T17:27:34
golang/go
f77bba43aa223fc86fd223f3ea4ef60db8e0c583
dceee2e983f5dab65c3905ecf40e70e15cf41b7d
net: accept a valid IP address in LookupMX Fixes #56025 Change-Id: I202fdd0e11afeb22c5bc22d91fe4bfea8987e727 Reviewed-on: https://go-review.googlesource.com/c/go/+/651056 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org...
[ { "path": "doc/next/6-stdlib/99-minor/net/56025.md", "patch": "@@ -0,0 +1,5 @@\n+[LookupMX] and [(*Resolver).LookupMX] now return DNS names that look\n+like valid IP address, as well as valid domain names.\n+Previously if a name server returned an IP address as a DNS name,\n+LookupMX would discard it, as re...
2025-02-20T20:12:35
facebook/react
b160ee85223e80941c2361f28c417df349e7484e
6d1d05ff91507ea844f332f65f5bc15cc8e10655
[tests] Tests and patch for context variables --- - [patch] Find context variables within FunctionDeclarations (previously missing) - [todo] Need to fix non-allocating values / variables being DCE'd One approach is to label everything referenced by a lambda as context variables. I couldn't come up with other ...
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/HIR/FindContextIdentifiers.ts", "patch": "@@ -6,7 +6,9 @@ import { GeneratedSource } from \"./HIR\";\n type FindContextIdentifierState = {\n inLambda: number;\n currentLambda: Array<\n- NodePath<t.FunctionExpression> | NodePath<t.Arrow...
2023-06-05T19:04:46
vercel/next.js
cf1f47a5d174538866b1afd384b24e14dae9c5ca
c2da6c12e772e94bb1a94f1e810a95598c00d615
[dev-overlay] fix duplicate re-render of errors (#80322) ### What When there's a same error throwing constantly, we should avoid unnecessary re-renders on the exact same error. In dev overlay we already have strategies that can dedupe the error. And we noticed the error is shown correctly but just the dialog got re...
[ { "path": "packages/next/src/client/components/react-dev-overlay/shared.ts", "patch": "@@ -232,8 +232,13 @@ export function useErrorOverlayReducer(\n getOwnerStack(event.error) !== getOwnerStack(pendingEvent.error)\n )\n })\n- pendingEvents.push(pendingEvent)\n- return pendingEvents\...
2025-06-10T09:42:20
nodejs/node
261e88e269f6ddf285d05671a0cba7c2ed93e38a
06619aa05858253715ce83d01f94ed3e3660a1f4
stream: use `ByteLengthQueuingStrategy` when not in `objectMode` Fixes: https://github.com/nodejs/node/issues/46347 PR-URL: https://github.com/nodejs/node/pull/48847 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "lib/internal/webstreams/adapters.js", "patch": "@@ -31,6 +31,7 @@ const {\n \n const {\n CountQueuingStrategy,\n+ ByteLengthQueuingStrategy,\n } = require('internal/webstreams/queuingstrategies');\n \n const {\n@@ -452,11 +453,7 @@ function newReadableStreamFromStreamReadable(streamReadable, o...
2024-05-12T17:24:43
electron/electron
da0fd286b44846da0e8207691a3df081051d7b5c
44c40efecf3cf7b960964c8bbecc0d4de4a26a0e
feat: UtilityProcess API (#34980) * chore: initial scaffolding * chore: implement interface and docs * chore: address code style review * fix: cleanup of utility process on shutdown * chore: simplify NodeBindings::CreateEnvironment * chore: rename disableLibraryValidation => allowLoadingUnsignedLibrarie...
[ { "path": "BUILD.gn", "patch": "@@ -202,13 +202,23 @@ webpack_build(\"electron_isolated_renderer_bundle\") {\n out_file = \"$target_gen_dir/js2c/isolated_bundle.js\"\n }\n \n+webpack_build(\"electron_utility_bundle\") {\n+ deps = [ \":build_electron_definitions\" ]\n+\n+ inputs = auto_filenames.utility_...
2022-10-20T05:49:49
golang/go
fda918389947d32e854ddfc8c972b88bd31369c4
e382bf5b322c9814e910212ebd19907b68606c49
syscall: allow \x00-prefixed unix abstract socket to use full path length Fixes #70893 Change-Id: Ia0aaa497dad335fe962d52d3f115d26e8046e36f GitHub-Last-Rev: 7dd663678d8aecdfac94541a570dfbd1aa2577e7 GitHub-Pull-Request: golang/go#71851 Reviewed-on: https://go-review.googlesource.com/c/go/+/650875 Reviewed-by: Ian Lanc...
[ { "path": "src/net/unixsock_linux_test.go", "patch": "@@ -49,6 +49,23 @@ func TestUnixAutobindClose(t *testing.T) {\n \tln.Close()\n }\n \n+func TestUnixAbstractLongNameNulStart(t *testing.T) {\n+\t// Create an abstract socket name that starts with a null byte (\"\\x00\")\n+\t// whose length is the maximum ...
2025-02-22T23:02:57
facebook/react
5ba0a03e00f3bc1f1225989cd168d037d74a194f
a65e9cd1f13aed33c12c5ea20ee21cacd414ac22
[config] Clean up codegen imports and gating - Gating checks for debugging / profiling can be moved to within the instrumentation or makeReadOnly functions. This simplifies codegen and reduces code bloat. - Warn if importing conflicting identifiers - Aggregate imports from the same source
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/Entrypoint/Instrumentation.ts", "patch": "@@ -11,18 +11,13 @@ import * as t from \"@babel/types\";\n export function addInstrumentForget(\n fn: NodePath<t.FunctionDeclaration>,\n fnName: string,\n- gatingIdentifierName: string,\n instr...
2023-06-05T18:46:59
rust-lang/rust
d299dce03a37d01b4e25b9033de7ab2e9112a7b4
ff4db77564dbf7c94cdda67dba687c244b888d1e
Fix the name of failing UI tests
[ { "path": "tests/failing-ui-tests.txt", "patch": "@@ -89,11 +89,11 @@ tests/ui/thir-print/offset_of.rs\n tests/ui/iterators/rangefrom-overflow-debug.rs\n tests/ui/iterators/rangefrom-overflow-overflow-checks.rs\n tests/ui/iterators/iter-filter-count-debug-check.rs\n-tests/ui/eii/codegen_single_crate.rs\n-te...
2026-01-28T22:27:55
vercel/next.js
e5d296c4d9b29e77324470e3161ad4bd8a121ec5
16933e9edca38648927e82091c4f83fe7b79dae1
fix(turbopack): Restore `sources` field in the source map (#80337) ### What? Restore the `sources` field by picking up https://github.com/kdy1/rust-sourcemap/commit/27e1bf8b92498425fbc6e2f31d2f755b6ae94f19 ### Why? It's expected to be exist
[ { "path": "Cargo.lock", "patch": "@@ -6683,7 +6683,7 @@ dependencies = [\n [[package]]\n name = \"sourcemap\"\n version = \"9.2.2\"\n-source = \"git+https://github.com/kdy1/rust-sourcemap?branch=main#804d663521d6109b3746d800918d483b97e8e108\"\n+source = \"git+https://github.com/kdy1/rust-sourcemap?branch=ma...
2025-06-10T04:26:01
nodejs/node
dde29657658a8e78aa09bb7bbaaf6ba25008359d
06cde5c902b1bfed5bf94eee325db7b8eff83896
util: fix `%s` format behavior with `Symbol.toPrimitive` This commit ensures `console.log("%s", obj)` correctly invokes `obj[Symbol.toPrimitive]` for string conversion, fixing unexpected object display issue. PR-URL: https://github.com/nodejs/node/pull/50992 Fixes: https://github.com/nodejs/node/issues/50909 Reviewed...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -87,6 +87,7 @@ const {\n SymbolIterator,\n SymbolPrototypeToString,\n SymbolPrototypeValueOf,\n+ SymbolToPrimitive,\n SymbolToStringTag,\n TypedArrayPrototypeGetLength,\n TypedArrayPrototypeGetSymbolToStringTag,\n@@ -2103,6 +2104,11 @@ func...
2024-03-18T06:54:58
electron/electron
44c40efecf3cf7b960964c8bbecc0d4de4a26a0e
8bd66026a89c817eef9dcb8f3aa2654d9f0c1636
refactor: migrate from asar to @electron/asar (#36070) * refactor: migrate from asar to @electron/asar * fix: update asar require calls
[ { "path": "package.json", "patch": "@@ -5,6 +5,7 @@\n \"description\": \"Build cross platform desktop apps with JavaScript, HTML, and CSS\",\n \"devDependencies\": {\n \"@azure/storage-blob\": \"^12.9.0\",\n+ \"@electron/asar\": \"^3.2.1\",\n \"@electron/docs-parser\": \"^0.12.4\",\n \"@e...
2022-10-19T20:39:31
golang/go
fba83cdfc6c4818af5b773afa39e457d16a6db7a
a65078204c3c170514af58d325b3197c91be281c
cmd/compile/internal/ssa: correct MOVDnop handling for arm64 The extension-removing rules for ARM64 were moved to late lower in CL 568616. This means that the late lower pass can now generate MOVDreg, however the rules that potentially eliminate MOVDreg only exist in the earlier pass. Fix this by duplicating the MOVDr...
[ { "path": "src/cmd/compile/internal/ssa/_gen/ARM64latelower.rules", "patch": "@@ -85,3 +85,11 @@\n (MOVWUreg x:(MOVBUreg _)) => (MOVDreg x)\n (MOVWUreg x:(MOVHUreg _)) => (MOVDreg x)\n (MOVWUreg x:(MOVWUreg _)) => (MOVDreg x)\n+\n+// if a register move has only 1 use, just use the same register without emit...
2024-09-04T14:01:52
rust-lang/rust
ff4db77564dbf7c94cdda67dba687c244b888d1e
ee9967bac019659ce17292fa5162da9b638464ed
Fix spelling mistake
[ { "path": "src/intrinsic/mod.rs", "patch": "@@ -618,15 +618,15 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc\n let fn_ptr = func.get_address(None);\n let fn_ty = fn_ptr.get_type();\n \n- let mut llargs = vec![];\n+ let mut call_args = vec![...
2026-01-28T22:14:27
facebook/react
a65e9cd1f13aed33c12c5ea20ee21cacd414ac22
40d1459115f53c4a94201abebe082de1ad2e39ec
[devx] emit calls to `makeReadOnly` for debugging --- Emit calls to makeReadOnly for memoized values. ```js function MyComponent() { let x; if (c_0) { x = // ... (recompute x) $[0] = __DEV__ ? makeReadOnly(x, "MyComponent") : x; } else { x = $[0] } } ``` - import source / specifier should be...
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts", "patch": "@@ -12,10 +12,10 @@ import {\n CompilerErrorDetail,\n ErrorSeverity,\n } from \"../CompilerError\";\n-import { compileFn } from \"./Pipeline\";\n import { GeneratedSource } from \"../HIR\";\n import { add...
2023-06-05T18:46:58
vercel/next.js
16933e9edca38648927e82091c4f83fe7b79dae1
4250c5b318be660a94ce58252ab9dcb68a992741
perf(turbopack): Optimize `Rope` correctly (#80335) ### What? Utilize _cheap clone_ of `bytes::Bytes`. I made an error in the previous pull request. ### Why? - In the name of the performance. - `bytes::Bytes` is cheap to clone.
[ { "path": "turbopack/crates/turbo-tasks-fs/src/rope.rs", "patch": "@@ -550,6 +550,10 @@ impl InnerRope {\n return data.into_iter().next().unwrap().into_bytes(len);\n }\n Err(data) => {\n+ // If we have a single element, we can return it ...
2025-06-10T04:25:03
nodejs/node
56b316294d85e9fc7340cbaf9b09b347d0bdd4d4
49e2c690ae2c9adb2a3b4cd429796f1a55f8fe7d
src: allow preventing debug signal handler start PR-URL: https://github.com/nodejs/node/pull/46681 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/env-inl.h", "patch": "@@ -691,6 +691,10 @@ inline bool Environment::no_global_search_paths() const {\n !options_->global_search_paths;\n }\n \n+inline bool Environment::should_start_debug_signal_handler() const {\n+ return (flags_ & EnvironmentFlags::kNoStartDebugSignalHandler) == 0...
2024-05-12T10:26:55
electron/electron
dde513b0d38e3e90ff03761b0b912f60a1fad94e
a8d89b3d5267030ea52de0b47dd49408aa2f43c0
fix: printToPDF default margins (#36060) printToPDF default margins The document printToPDF has a 1cm margin and this default value has been added in the code.
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -177,10 +177,10 @@ WebContents.prototype.printToPDF = async function (options) {\n scale: 1.0,\n paperWidth: 8.5,\n paperHeight: 11.0,\n- marginTop: 0.0,\n- marginBottom: 0.0,\n- marginLeft: 0.0,\n- marginRight: 0.0,\n+ mar...
2022-10-19T08:16:28
facebook/react
3744930728bfe6a08c382b25834e258bc44bc07f
1e0eb25cd07ef8a1aef6cf6acba04e2a0439e834
Fix last(?) order of evaluation bug Not to get ahead of myself (sorry i had to), but i think this is the last order of evaluation bug. At least it's the last one we know of[1]. Per the previous PR, the issue is that constant propagation can copy the last value of a sequence expression to where the sequence is used...
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -1171,7 +1171,7 @@ function lowerExpression(\n const continuationBlock = builder.reserve(builder.currentBlockKind());\n const place = buildTemporaryPlace(builder, exprLoc);\n \n- const sequenceBlock = builder.enter(\"value\", (_)...
2023-06-05T01:41:27
rust-lang/rust
ee9967bac019659ce17292fa5162da9b638464ed
bd71a5f4b0e38ea80ed3f0a0df33440b93d88312
Fix clippy warning
[ { "path": "build_system/src/test.rs", "patch": "@@ -679,10 +679,10 @@ fn test_projects(env: &Env, args: &TestArg) -> Result<(), String> {\n create_dir(projects_path)?;\n \n let nb_parts = args.nb_parts.unwrap_or(0);\n- if nb_parts > 0 {\n+ if let Some(count) = projects.len().checked_div(nb_par...
2026-01-28T22:11:05
golang/go
e7cd4979bec709b6d9c7428912e66348405e2a51
282a14ec617ea663740026687d0ec5130066d75c
cmd: initial compiler+linker support for DWARF5 .debug_addr This patch rolls the main .debug_info DWARF section from version 4 to version 5, and also introduces machinery in the Go compiler and linker for taking advantage of the DWARF5 ".debug_addr" section for subprogram DIE "high" and "low" PC attributes. All functi...
[ { "path": "src/cmd/compile/internal/gc/compile.go", "patch": "@@ -114,6 +114,8 @@ func prepareFunc(fn *ir.Func) {\n \tir.CurFunc = fn\n \twalk.Walk(fn)\n \tir.CurFunc = nil // enforce no further uses of CurFunc\n+\n+\tbase.Ctxt.DwTextCount++\n }\n \n // compileFunctions compiles all functions in compilequeu...
2024-12-11T18:15:27
nodejs/node
49e2c690ae2c9adb2a3b4cd429796f1a55f8fe7d
ca2f874fe30ee76d799e62a1d9bdd885cee46711
build: enable building with shared uvwasi lib Fixes: https://github.com/nodejs/node/issues/35339 Co-authored-by: Pooja D P <Pooja.D.P@ibm.com> Co-authored-by: Teutates <103068388+Teutates@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pu...
[ { "path": "configure.py", "patch": "@@ -382,6 +382,28 @@\n dest='shared_openssl_libpath',\n help='a directory to search for the shared OpenSSL DLLs')\n \n+shared_optgroup.add_argument('--shared-uvwasi',\n+ action='store_true',\n+ dest='shared_uvwasi',\n+ default=None,\n+ help='link to a ...
2020-11-25T06:49:21
electron/electron
a8d89b3d5267030ea52de0b47dd49408aa2f43c0
b13606e55d1b98ad1a3c3d6b24ba207ce872cf36
fix: headless job tracking in printToPDF (#36046)
[ { "path": "shell/browser/printing/print_view_manager_electron.cc", "patch": "@@ -126,6 +126,7 @@ void PrintViewManagerElectron::PrintToPdf(\n \n printing_rfh_ = rfh;\n print_pages_params->pages = absl::get<printing::PageRanges>(parsed_ranges);\n+ headless_jobs_.emplace_back(print_pages_params->params->...
2022-10-18T13:46:19
rust-lang/rust
02e10b2d90c8d4f0cb3f0f2b4a6a8a3283efa9c3
6147a3fc88f9920a2569adf7b6f4e8b63cd887c1
fix issues and ui tests, address reviews
[ { "path": "compiler/rustc_const_eval/src/check_consts/check.rs", "patch": "@@ -774,8 +774,8 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {\n \n // Attempting to call a trait method?\n if let Some(trait_did) = tcx.trait_of_assoc(callee) {\n- // We can't...
2026-01-26T18:00:58
vercel/next.js
4250c5b318be660a94ce58252ab9dcb68a992741
9be85fadc2010d6f7685c0fa7d41c700c58962c2
feat(turbopack): Invalidate the persistent cache upon panic (#80225) This is intended as a band-aid "fix" for persistent caching where issues stick around after restarts of the development server. It builds on top of the same codepath we're using for the explicit cache clearing button in the devtools. As part of this...
[ { "path": "crates/napi/src/lib.rs", "patch": "@@ -72,7 +72,7 @@ fn init() {\n use std::panic::{set_hook, take_hook};\n \n use tokio::runtime::Builder;\n- use turbo_tasks::handle_panic;\n+ use turbo_tasks::panic_hooks::handle_panic;\n use turbo_tasks_malloc::TurboMalloc;\n \n let prev_h...
2025-06-10T04:10:39
facebook/react
1e0eb25cd07ef8a1aef6cf6acba04e2a0439e834
cd115ec128a80a69c4aac253c853d12026f1ea61
Use sequence terminal, fix most remaining order-of-evaluation bugs Changes the lowering for sequence expressions to use the new terminal. When converting to a ReactiveFunction, we convert these terminals into ReactiveSequenceValues, which nests the instructions and preserves order of evaluation in the output. Th...
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -1168,23 +1168,48 @@ function lowerExpression(\n const expr = exprPath as NodePath<t.SequenceExpression>;\n const exprLoc = expr.node.loc ?? GeneratedSource;\n \n- let last: Place | null = null;\n- for (const item of expr.ge...
2023-06-05T01:26:01
golang/go
282a14ec617ea663740026687d0ec5130066d75c
31b800abe6a599f001a545d98437b9d821cef5c2
cmd/internal/objabi,cmd/link/internal/sym: add SDWARFADDR symbol type Add a new symbol type: SDWARFADDR. This kind of symbol stores content to be added to the DWARF .debug_addr section (new with DWARF5). At the moment these symbols are created only in the linker, but it's not hard to imagine other implementations in w...
[ { "path": "src/cmd/internal/objabi/symkind.go", "patch": "@@ -70,6 +70,7 @@ const (\n \tSDWARFRANGE\n \tSDWARFLOC\n \tSDWARFLINES\n+\tSDWARFADDR\n \t// Coverage instrumentation counter for libfuzzer.\n \tSLIBFUZZER_8BIT_COUNTER\n \t// Coverage instrumentation counter, aux variable for cmd/cover", "addit...
2024-12-06T00:01:22
nodejs/node
ca2f874fe30ee76d799e62a1d9bdd885cee46711
f3f1aec0962f988c9c04931e58fe95802f426207
doc: document pipeline with `end` option There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: https://github.com/nodejs/node/pull/40886 Refs: https://github.com/nodejs/node/issues/34805#issuecomment-1345655205 Fixes: https://github.com/nodejs/node/issues/45821 PR-U...
[ { "path": "doc/api/stream.md", "patch": "@@ -65,6 +65,15 @@ or `require('node:stream').promises`.\n \n <!-- YAML\n added: v15.0.0\n+changes:\n+ - version:\n+ - v18.0.0\n+ - v17.2.0\n+ - v16.14.0\n+ pr-url: https://github.com/nodejs/node/pull/40886\n+ description: Add the `end` option, ...
2023-07-30T16:12:50
electron/electron
23d4a252c69f68c576933d745a95b70bad2946df
f2c341b655406434b5a44bc8b1e2418d664c319b
chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) * hore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView The draggable regions implementation is related to WebView, so InspectableWebContentsView is a more appro...
[ { "path": "filenames.gni", "patch": "@@ -494,6 +494,7 @@ filenames = {\n \"shell/browser/ui/inspectable_web_contents.cc\",\n \"shell/browser/ui/inspectable_web_contents.h\",\n \"shell/browser/ui/inspectable_web_contents_delegate.h\",\n+ \"shell/browser/ui/inspectable_web_contents_view.cc\",\n...
2022-10-17T15:10:07
facebook/react
cd115ec128a80a69c4aac253c853d12026f1ea61
e410815aeb10bbef6406e09cf0783187fae34d2f
Scaffold for sequence terminal I realized that we can use our value block system to fix _most_ of the remaining order-of-evaluation issues we had with sequence expressions. This PR adds a new SequenceTerminal to HIR; there is already a ReactiveFunction equivalent (ReactiveSequenceValue) that the next PR will conve...
[ { "path": "compiler/forget/src/HIR/HIR.ts", "patch": "@@ -279,7 +279,8 @@ export type Terminal =\n | LogicalTerminal\n | TernaryTerminal\n | OptionalTerminal\n- | LabelTerminal;\n+ | LabelTerminal\n+ | SequenceTerminal;\n \n function _staticInvariantTerminalHasLocation(\n terminal: Terminal\n@@ -...
2023-06-05T01:25:59
vercel/next.js
3e0c228f6aa1da7e30f60a343462ab618170e15b
d69496704a433acefb7784b2c5e0897ac75a1c21
[test] separate tracing error test from action test suite (#80324)
[ { "path": "test/e2e/app-dir/actions/app-action.test.ts", "patch": "@@ -10,7 +10,7 @@ import {\n import type { Request, Response } from 'playwright'\n import fs from 'fs-extra'\n import nodeFs from 'fs'\n-import path, { join } from 'path'\n+import { join } from 'path'\n import { outdent } from 'outdent'\n \n...
2025-06-09T21:12:06
golang/go
31b800abe6a599f001a545d98437b9d821cef5c2
767e7680ec7ed541ccc2e1f32d04b077f5422d25
cmd/internal/objabi: add new R_DWTXTADDR_* relocation types Add a set of new relocations to be used when the compiler is writing debug information using DWARF version 5. No changes in compiler or linker functionality, this patch just adds the relocations themselves and some helper functions; uses will appear in a late...
[ { "path": "src/cmd/internal/objabi/reloctype.go", "patch": "@@ -391,6 +391,22 @@ const (\n \t// just used in the linker to order the inittask records appropriately.\n \tR_INITORDER\n \n+\t// The R_DWTXTADDR_* family of relocations are effectively\n+\t// references to the .debug_addr entry for a given TEXT s...
2024-11-26T22:08:01
nodejs/node
12232946c0ced32c88409ae60fdefe6c4762c4f8
aba4a00c8d20135ad8d071991bd8bff06d4e136c
repl: fix disruptive autocomplete without inspector Fix an issue where the autocomplete wrongly autocompletes a value from a correct value to an undefined value when `node` is built without an inspector by disabling the preview view. fixes: https://github.com/nodejs/node/issues/40635 PR-URL: https://github.com/nodejs...
[ { "path": "lib/internal/repl/utils.js", "patch": "@@ -365,7 +365,7 @@ function setupPreview(repl, contextSymbol, bufferSymbol, active) {\n \n const showPreview = (showCompletion = true) => {\n // Prevent duplicated previews after a refresh.\n- if (inputPreview !== null || !repl.isCompletionEnabled)...
2024-05-12T09:15:25
facebook/react
e410815aeb10bbef6406e09cf0783187fae34d2f
084edadaa1fe173d2c89e022c570e0b1bcdc405e
Infer more primitive types Handles three more cases: * Template literals * deletion (property/computed) * type casts Only the latter has an observable impact, though i added tests for deletion just in case and found a bug. For type casts, they're reasonably common internally for fixmes, so this PR will help...
[ { "path": "compiler/forget/src/Inference/InferReferenceEffects.ts", "patch": "@@ -837,7 +837,8 @@ function inferBlock(\n state.reference(instrValue.object, Effect.Mutate);\n state.reference(instrValue.property, Effect.Read);\n state.initialize(instrValue, ValueKind.Immutable);\n- ...
2023-06-05T00:27:24
golang/go
f062d7b10b276c1b698819f492e4b4754e160ee3
e15d14873f3e73fa82d1e3242113182035c135ba
cmd/go: look at runes, not bytes, when printing env vars For #58508 Fixes #71863 Change-Id: Ib1ebaf751bcc6900da6ffd01a9462dd237e2c89a Reviewed-on: https://go-review.googlesource.com/c/go/+/651295 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <i...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -522,51 +522,56 @@ func PrintEnv(w io.Writer, env []cfg.EnvVar, onlyChanged bool) {\n \t}\n }\n \n+// isWindowsUnquotableRune reports whether r can't be quoted in a\n+// Windows \"set\" command.\n+// These runes will be replaced by the Unicode repl...
2025-02-21T06:20:38
vercel/next.js
f607d0cf976d6cbe654dd3b7914113701d5a93f9
1d70e57826823a8355f44798b2985e62b4006ffa
[turbopack] Remove the final uses of `Value<..>` and delete the type (#80144) Remove the final uses of `Value<..>` and destroy it. ### Why? The `Value<>` type is confusing and error prone, lets destroy it! As discussed over slack, turbo_tasks::Value type always implements is_resolved as true and is_transient as fals...
[ { "path": "crates/next-api/src/pages.rs", "patch": "@@ -29,8 +29,8 @@ use serde::{Deserialize, Serialize};\n use tracing::Instrument;\n use turbo_rcstr::{RcStr, rcstr};\n use turbo_tasks::{\n- Completion, FxIndexMap, NonLocalValue, ResolvedVc, TaskInput, Value, ValueToString, Vc,\n- fxindexmap, fxinde...
2025-06-09T00:36:10
rust-lang/rust
85f2923dc53811317f460fdac5c20d602dcb23d8
7d2eec25387c3b6369f0060e853c09c7dba05abb
fix: Fix diagnostics being leaked when diagnostics panic
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs", "patch": "@@ -289,34 +289,40 @@ pub(crate) fn fetch_native_diagnostics(\n let mut diagnostics = subscriptions[slice]\n .iter()\n .copied()\n- .filter_map(|file_id| {\n- let line_index = snapsho...
2026-01-30T15:00:31
facebook/react
084edadaa1fe173d2c89e022c570e0b1bcdc405e
e41a8d6a1ea481be0fd1b4b3cbe4930919525546
Distinguish error fixtures for invalid code Renames some error fixtures for clarity, "error.invalid-*" are fixtures that are expected to fail for invalid input, where other "error.*" fixtures are basically todos. While i was here i clarified the error messages for invalid useMemo callbacks, and changes the error s...
[ { "path": "compiler/forget/src/Inference/InlineUseMemo.ts", "patch": "@@ -100,15 +100,15 @@ export function inlineUseMemo(fn: HIRFunction): void {\n }\n \n if (body.loweredFunc.params.length > 0) {\n- CompilerError.invariant(\n- \"Did not expect any argume...
2023-06-04T18:41:42
nodejs/node
aba4a00c8d20135ad8d071991bd8bff06d4e136c
c75675c72674d70fd1b3296e2b582cd086b72a05
src: make sure pass the `argv` to worker threads PR-URL: https://github.com/nodejs/node/pull/52827 Fixes: https://github.com/nodejs/node/issues/52825 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
[ { "path": "src/node_worker.cc", "patch": "@@ -569,26 +569,30 @@ void Worker::New(const FunctionCallbackInfo<Value>& args) {\n }\n }\n #endif // NODE_WITHOUT_NODE_OPTIONS\n- }\n \n- if (args[2]->IsArray()) {\n- Local<Array> array = args[2].As<Array>();\n // The first argument is reserved ...
2024-05-12T07:46:28
electron/electron
f2c341b655406434b5a44bc8b1e2418d664c319b
bcafe8f65462202715af92d9c43be182ba3999bb
chore: bump chromium to 108.0.5355.0 (main) (#35900) * chore: bump chromium in DEPS to 108.0.5339.0 * chore: bump chromium in DEPS to 108.0.5341.0 * chore: sync patch to unrelated upstream code shear patches/chromium/network_service_allow_remote_certificate_verification_logic.patch Xref: https://chromium-r...
[ { "path": "BUILD.gn", "patch": "@@ -490,13 +490,6 @@ source_set(\"electron_lib\") {\n ]\n }\n \n- if (is_linux) {\n- deps += [\n- \"//components/crash/content/browser\",\n- \"//ui/gtk:gtk_config\",\n- ]\n- }\n-\n if (is_mac) {\n deps += [\n \"//components/remote_cocoa/app...
2022-10-17T14:22:24
golang/go
d93f6df0cc4f33127ef76fa994edd54d7726d0a9
e1e65ae3ee5f977c31f3651233cc7ff2a0b579ca
reflect: correctly handle method values in Seq Currently method values aren't correctly handled in Seq because we call canRangeFunc on the reciever type, not the method value type, when we're handling a method value. reflect.Value.Type has the logic to obtain the method value type from the Value. This change slightly...
[ { "path": "src/reflect/iter.go", "patch": "@@ -27,7 +27,7 @@ func rangeNum[T int8 | int16 | int32 | int64 | int |\n // Uint, Uint8, Uint16, Uint32, Uint64, Uintptr,\n // Array, Chan, Map, Slice, or String.\n func (v Value) Seq() iter.Seq[Value] {\n-\tif canRangeFunc(v.typ()) {\n+\tif canRangeFunc(v.abiType(...
2025-02-21T15:53:51
rust-lang/rust
bae7a199f1cd87052396f65b59b51946eae29db1
9928723bffc9b3dae673462a78b97077a0bde200
Address review comments and fix tests
[ { "path": "library/alloc/src/collections/binary_heap/mod.rs", "patch": "@@ -656,22 +656,23 @@ impl<T: Ord, A: Allocator> BinaryHeap<T, A> {\n /// # Examples\n ///\n /// ```\n+ /// #![feature(binary_heap_pop_if)]\n /// use std::collections::BinaryHeap;\n /// let mut heap = BinaryHeap::...
2026-01-30T14:55:34
vercel/next.js
1d70e57826823a8355f44798b2985e62b4006ffa
a01169523a3abc6c192a377e2e7ddcffef459f17
[turbopack] Remove uses of `Value<..>` instead make the payloads impl Taskinput (#80142) Remove uses of `Value<..>` instead make the payloads impl Taskinput ### Why? The Value<> type is confusing and error prone, lets destroy it! As discussed over slack, turbo_tasks::Value type always implements is_resolved as true...
[ { "path": "turbopack/crates/turbopack-browser/src/ecmascript/evaluate/chunk.rs", "patch": "@@ -228,7 +228,7 @@ impl EcmascriptBrowserEvaluateChunk {\n .await?,\n );\n \n- Ok(AssetIdent::new(Value::new(ident)))\n+ Ok(AssetIdent::new(ident))\n }\n \n #[turbo_tasks...
2025-06-08T23:36:59
facebook/react
e41a8d6a1ea481be0fd1b4b3cbe4930919525546
2ae3592d29caf9aca2cff36e6089c1dfb92dfa4e
Validate destructuring assignment to globals Fixes one more category of bug. For assignment expressions, we validating against redeclaring a global variable when the assignment target was an identifier, but not when the global was reassigned via destructuring. This PR adds a `lowerIdentifierForAssignment()` helper...
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -2439,6 +2439,41 @@ function getLoadKind(\n return isContext ? \"LoadContext\" : \"LoadLocal\";\n }\n \n+function lowerIdentifierForAssignment(\n+ builder: HIRBuilder,\n+ loc: SourceLocation,\n+ kind: InstructionKind,\n+ path: NodePath<t.Id...
2023-06-04T18:29:55
nodejs/node
cd155d64540967a3ba2515a9d976428d387642ff
17b5d0bf85dca22b790ba4fffa4a60c52e365e8b
stream: fix util.inspect for compression/decompressionStream PR-URL: https://github.com/nodejs/node/pull/52283 Fixes: https://github.com/nodejs/node/issues/52263 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: ...
[ { "path": "lib/internal/webstreams/compression.js", "patch": "@@ -78,7 +78,7 @@ class CompressionStream {\n }\n \n [kInspect](depth, options) {\n- customInspect(depth, options, 'CompressionStream', {\n+ return customInspect(depth, options, 'CompressionStream', {\n readable: this.#transform.r...
2024-05-12T07:38:40
electron/electron
d8d5d4a4a18796d2ec78e2ffa75d6f5908372c26
295c5331eeb2cce40419b6a54875fba88d61422d
docs: update VS Code debugger types to remove "pwa-" prefix (#36042)
[ { "path": "docs/tutorial/tutorial-2-first-app.md", "patch": "@@ -369,12 +369,12 @@ run. Create a launch.json configuration in a new `.vscode` folder in your projec\n \"name\": \"Renderer\",\n \"port\": 9222,\n \"request\": \"attach\",\n- \"type\": \"pwa-chrome\",\n+ \"type\": \"c...
2022-10-17T11:35:36
golang/go
e1f02e9ae5efc45a8428e97e0c05fd85a5cbcec4
af00524a6c1660e6a66fd975921df40ac1c3a415
doc: add a disclamer for the TLS handshake timeouts TL;DR bug in godebug.md Relates to #71257. Since post-quantum TLS algorithms are enabled by default, we should warn about the possible bugs with legacy servers (see https://tldr.fail/) Change-Id: I06a5d8a927497ea2141007b14a90af27e0891720 GitHub-Last-Rev: 476e6462dfc...
[ { "path": "doc/godebug.md", "patch": "@@ -217,6 +217,8 @@ field by default.\n Go 1.24 enabled the post-quantum key exchange mechanism\n X25519MLKEM768 by default. The default can be reverted using the\n [`tlsmlkem` setting](/pkg/crypto/tls/#Config.CurvePreferences).\n+This can be useful when dealing with bu...
2025-02-20T22:33:45