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 | f4ff1a28e714a2d013615a142257523ea9da17cf | 73fa712108dcd7b1a103291650087f561be613b4 | Fix for destructuring with partial context variables | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts",
"patch": "@@ -3434,7 +3434,12 @@ function lowerAssignment(\n */\n const forceTemporaries =\n kind === InstructionKind.Reassign &&\n- elements.some((element) => !element.isIdentifier());\n+ (elemen... | 2024-03-22T21:32:50 |
nodejs/node | 4a0ec20a35aff521c3a08e42b3905012a6566c00 | 4f14eb15454b9f6ae7f0145947debd2c79a2a84f | lib: respect terminal capabilities on styleText
This PR changes styleText API to respect terminal
capabilities and environment variables such as
NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR.
PR-URL: https://github.com/nodejs/node/pull/54389
Fixes: https://github.com/nodejs/node/issues/54365
Reviewed-By: Moshe Atlow... | [
{
"path": "doc/api/util.md",
"patch": "@@ -1802,32 +1802,63 @@ console.log(util.stripVTControlCharacters('\\u001B[4mvalue\\u001B[0m'));\n // Prints \"value\"\n ```\n \n-## `util.styleText(format, text)`\n+## `util.styleText(format, text[, options])`\n \n > Stability: 1.1 - Active development\n \n <!-- YAML\... | 2024-08-28T18:00:11 |
vercel/next.js | 993e4d39299687d2a36701fae56e81e8413a5531 | 7351d9245055bc8babca01ae14e21831b78d3604 | Fix: the unexpected clearing of symbolic link directories (#82191)
When I was using the standalone build, the second build would delete the
contents of local packages. As a result, developers had to delete the
cache of local empty directories and re-download the packages. I added a
condition for recursive deletion to ... | [
{
"path": ".changeset/lemon-islands-care.md",
"patch": "@@ -0,0 +1,5 @@\n+---\n+'next': patch\n+---\n+\n+Fix the unexpected clearing of symbolic link directories",
"additions": 5,
"deletions": 0,
"language": "Markdown"
},
{
"path": "packages/next/src/lib/recursive-delete.ts",
"patch"... | 2025-07-30T19:34:43 |
golang/go | df9888ea4e97feb755e452609be5078686370995 | 24ea1aa25c954bbbe9968d735795a649833b0b1c | runtime: prevent unnecessary zeroing of large objects with pointers
CL 614257 refactored mallocgc but lost an optimization: if a span for a
large object is already backed by memory fresh from the OS (and thus
zeroed), we don't need to zero it. CL 614257 unconditionally zeroed
spans for large objects that contain point... | [
{
"path": "src/runtime/malloc.go",
"patch": "@@ -1548,12 +1548,13 @@ func mallocgcLarge(size uintptr, typ *_type, needzero bool) (unsafe.Pointer, uin\n \tsize = span.elemsize\n \tx := unsafe.Pointer(span.base())\n \n-\t// Ensure that the stores above that initialize x to\n-\t// type-safe memory and set the ... | 2025-03-21T16:26:15 |
rust-lang/rust | 0b0d40d5f3ab401604d138fdf2cc4785a3ecc6bc | e68fc280c21da48381fa99f1dc0962625841a60c | libm: Improve debug output for `Status` | [
{
"path": "library/compiler-builtins/libm/src/math/support/env.rs",
"patch": "@@ -49,10 +49,14 @@ pub enum Round {\n }\n \n /// IEEE 754 exception status flags.\n-#[derive(Clone, Copy, Debug, PartialEq, Eq)]\n+#[derive(Clone, Copy, PartialEq, Eq)]\n pub struct Status(u8);\n \n impl Status {\n+ /* Note th... | 2026-02-07T13:06:05 |
electron/electron | 33e66b5cd02d2b258b956022c482024c74c13b4b | 2affecd4dd26b9f0cf2644ec115635559f920480 | fix: ensure windows respect fullscreenability with different resizability values (#39620)
* fix: ensure child windows respect fullscreenability/resizability when parent is fullscreen
* test: add an extra resize test | [
{
"path": "shell/browser/native_window_mac.mm",
"patch": "@@ -830,23 +830,19 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) {\n ScopedDisableResize disable_resize;\n SetStyleMask(resizable, NSWindowStyleMaskResizable);\n \n+ bool was_fullscreenable = IsFullScreenable();... | 2023-08-24T20:54:08 |
facebook/react | d7d82e7bee33dbfbc4ef5aedcced57fa628b8b2a | 4575c8a5f6cb2bc006d586a1a0c025d677a62c99 | Correct eslint-plugin-react-compiler dependencies
Correct eslint-plugin-react-compiler dependencies
- The eslint plugin doesn't actually depend on the babel plugin as it compiles
in the dependencies. - `zod` and `zod-validation-error` were missing, but
required to run the plugin. - Update to the `hermes-parser` d... | [
{
"path": "compiler/packages/eslint-plugin-react-compiler/package.json",
"patch": "@@ -9,8 +9,9 @@\n \"dependencies\": {\n \"@babel/core\": \"^7.19.1\",\n \"@babel/plugin-proposal-private-methods\": \"^7.18.6\",\n- \"babel-plugin-react-forget\": \"*\",\n- \"hermes-parser\": \"^0.19.1\"\n+ ... | 2024-03-22T21:03:30 |
nodejs/node | 0b3ae01131126cc057242c7762c1b44dcef9b823 | 342b501cb0ceed7aeaadba09a13024cbab5f24c2 | test: fix embedding test for Windows
PR-URL: https://github.com/nodejs/node/pull/53659
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: ... | [
{
"path": "test/embedding/test-embedding.js",
"patch": "@@ -10,6 +10,7 @@ const {\n } = require('../common/child_process');\n const path = require('path');\n const fs = require('fs');\n+const os = require('os');\n \n tmpdir.refresh();\n common.allowGlobals(global.require);\n@@ -152,12 +153,6 @@ for (const e... | 2024-08-27T21:30:50 |
vercel/next.js | 4e355ccbb712a958183bcd1250529c00482e8201 | 2b84bc2553f8fcbe931bde2a197bd0a273cb5254 | Turbopack: Use a BTreeMap in InvalidatorMap to avoid many `O(n)` traversals when finding child paths (#82133)
This fixes an `O(n)` iteration of the invalidators (which can be quite large) in `invalidate_path_and_children_execute`.
It requires the nightly `btree_cursors` API. It's possible to implement this without th... | [
{
"path": "turbopack/crates/turbo-tasks-fs/src/invalidator_map.rs",
"patch": "@@ -1,4 +1,5 @@\n use std::{\n+ collections::BTreeMap,\n path::PathBuf,\n sync::{LockResult, Mutex, MutexGuard},\n };\n@@ -16,18 +17,18 @@ pub enum WriteContent {\n Link(ReadRef<LinkContent>),\n }\n \n-type InnerMap... | 2025-07-30T18:01:21 |
rust-lang/rust | 0b477792235b917a1d2b01b59a68ed8ec3405729 | 47f2bf6d65ebd04016d3ac1aac52a94457afc733 | Fix rustc test suite | [
{
"path": "scripts/test_rustc_tests.sh",
"patch": "@@ -59,6 +59,7 @@ rm tests/ui/asm/x86_64/goto.rs # inline asm labels not supported\n rm tests/ui/asm/label-operand.rs # same\n rm tests/ui/asm/may_unwind.rs # asm unwinding not supported\n rm tests/ui/asm/aarch64/may_unwind.rs # same\n+rm tests/ui/asm/x86_6... | 2026-02-13T11:18:20 |
golang/go | 24ea1aa25c954bbbe9968d735795a649833b0b1c | 693d8d920c57489f427c22162986bd6cef2550ae | runtime: only update freeIndexForScan outside of the mark phase
Currently, it's possible for asynchronous preemption to observe a
partially initialized object. The sequence of events goes like this:
- The GC is in the mark phase.
- Thread T1 is allocating object O1.
- Thread T1 zeroes the allocation, runs the publicat... | [
{
"path": "src/runtime/malloc.go",
"patch": "@@ -1196,23 +1196,23 @@ func mallocgcTiny(size uintptr, typ *_type) (unsafe.Pointer, uintptr) {\n \t// the garbage collector could follow a pointer to x,\n \t// but see uninitialized memory or stale heap bits.\n \tpublicationBarrier()\n-\t// As x and the heap bit... | 2025-05-13T20:09:57 |
electron/electron | a8999bc529390e7a9a2515bfa23445b34b10860a | 522bba3dc6b4893fdcf4d1a978fec0204b50d63b | fix: ensure `BrowserView` bounds are always relative to window (#39605)
fix: ensure BrowserView bounds are always relative to window | [
{
"path": "shell/browser/api/electron_api_base_window.cc",
"patch": "@@ -768,10 +768,20 @@ void BaseWindow::AddBrowserView(gin::Handle<BrowserView> browser_view) {\n browser_view->SetOwnerWindow(nullptr);\n }\n \n+ // If the user set the BrowserView's bounds before adding it to the window,\n+ ... | 2023-08-23T13:55:31 |
nodejs/node | 342b501cb0ceed7aeaadba09a13024cbab5f24c2 | ebaabf6a0afb5a8b470e19e53c2abbd412abc4cd | doc: fix information about including coverage files
PR-URL: https://github.com/nodejs/node/pull/54527
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/test.md",
"patch": "@@ -474,7 +474,8 @@ command-line flag, code coverage is collected and statistics are reported once\n all tests have completed. If the [`NODE_V8_COVERAGE`][] environment variable is\n used to specify a code coverage directory, the generated V8 coverage files are\n writt... | 2024-08-27T19:11:04 |
facebook/react | 4575c8a5f6cb2bc006d586a1a0c025d677a62c99 | fb0f7e5c39c01ee726205746439ecd7a1ceedb75 | Detect hoisting where the reference is a reassignment
Our logic to detect hoisting relies on Babel's `isReferencedIdentifier()` to
determine whether a reference to an identifier is a reference or a declaration.
The idea is that we want to find references to variables that may be hoistable,
before the declaration —... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts",
"patch": "@@ -366,7 +366,12 @@ function lowerStatement(\n ArrowFunctionExpression: withFunctionContext,\n ObjectMethod: withFunctionContext,\n Identifier(id: NodePath<t.Identifier>) {\n- if ... | 2024-03-22T20:49:50 |
rust-lang/rust | a18724523c95dd00b078a9e0224ead248b29d74e | 47611e16044c68ef27bac31c35fda2ba1dc20b73 | nix-dev-shell: fix a typo | [
{
"path": "src/tools/nix-dev-shell/envrc-flake",
"patch": "@@ -1,5 +1,5 @@\n # If you want to use this as an .envrc file to create a shell with necessary components \n-# to develop rustc, use the following command in the root of the rusr checkout:\n+# to develop rustc, use the following command in the root ... | 2026-02-13T09:54:34 |
golang/go | 4f1146e6614676126d3810ea319e3f658d4f8116 | c8bf388bad9bf350b513c562bba22868bc976247 | testing: use a pattern to match the elapsed time in TestTRun
Fixes #73723
Fixes #73737
Fixes #73739
Change-Id: I1ebd3614614285c3e660d48241389bb0f896be23
Reviewed-on: https://go-review.googlesource.com/c/go/+/674355
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: ... | [
{
"path": "src/testing/sub_test.go",
"patch": "@@ -505,8 +505,8 @@ func TestTRun(t *T) {\n \t\tdesc: \"buffered output gets flushed at test end\",\n \t\tok: false,\n \t\toutput: `\n---- FAIL: buffered output gets flushed at test end (0.00s)\n- --- FAIL: buffered output gets flushed at test end/#00 (0.0... | 2025-05-20T07:46:53 |
vercel/next.js | 355831afbda41e65a106eed328b4a3bf4af5be3c | aae25a1deafa061523e66f7e91c69ff2d944e449 | docs: fix typo in docs (#82186)
### What?
This pull request just fix typo in documentation.
---------
Co-authored-by: Joseph <joseph.chamochumbi@vercel.com> | [
{
"path": "docs/01-app/01-getting-started/07-fetching-data.mdx",
"patch": "@@ -106,7 +106,7 @@ There are two ways to fetch data in Client Components, using:\n You can use React's [`use` hook](https://react.dev/reference/react/use) to [stream](#streaming) data from the server to client. Start by fetching dat... | 2025-07-30T10:03:04 |
nodejs/node | ebaabf6a0afb5a8b470e19e53c2abbd412abc4cd | d813634424fb9afeed0feae2e9d99ac7daab5af9 | deps: backport ICU-22787 to fix ClangCL on Windows
- Floating patch for ICU 75.x
ICU Bug: https://unicode-org.atlassian.net/browse/ICU-22787
Backport of: https://github.com/unicode-org/icu/pull/3023
PR-URL: https://github.com/nodejs/node/pull/54502
Reviewed-By: Steven R Loomis <srl295@gmail.com>
Reviewed-By: Richard... | [
{
"path": "tools/icu/patches/75/source/common/unicode/platform.h",
"patch": "@@ -0,0 +1,849 @@\n+// © 2016 and later: Unicode, Inc. and others.\n+// License & terms of use: http://www.unicode.org/copyright.html\n+/*\n+******************************************************************************\n+*\n+* C... | 2024-08-27T18:44:05 |
facebook/react | f09e1599d631051a559974578a6d4c06effd95eb | 5c65b27587c0507d66a84e055de948fc62d471d4 | Fix test after merge conflict (#28616)
Something went wrong when rebasing #28491 and renaming the hook. | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMForm-test.js",
"patch": "@@ -1324,7 +1324,7 @@ describe('ReactDOMForm', () => {\n \n let dispatch;\n function App() {\n- const [state, _dispatch, isPending] = useFormState(action, 0);\n+ const [state, _dispatch, isPending] = useActionStat... | 2024-03-22T18:05:55 |
rust-lang/rust | f63007cd3b264c231c929d70175b7a7ea5ea6c5d | 47611e16044c68ef27bac31c35fda2ba1dc20b73 | fix missleading error for tuple ctor | [
{
"path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs",
"patch": "@@ -2465,7 +2465,13 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n let parent_did = tcx.parent(*def_id);\n (tcx.adt_def(parent_did), fn_args, parent_did)\n }\n- _ => return non... | 2026-02-13T09:54:04 |
vercel/next.js | 7e4c74b9f59550f974f9240e5b4a8b72e67997fd | ad4fd37d373c125456a323a1e533c147c2e02e13 | Turbopack: Make the "non-recursive" logic for the fs watcher a runtime flag instead of a build-time one (#82031)
We use different modes on macos/windows and linux for watching files for performance reasons: https://github.com/vercel/turborepo/pull/4100
Now with `TURBO_TASKS_FORCE_WATCH_MODE=recursive` or `TURBO_TASKS... | [
{
"path": "turbopack/crates/turbo-tasks-fs/src/lib.rs",
"patch": "@@ -255,9 +255,10 @@ impl DiskFileSystemInner {\n let invalidator = turbo_tasks::get_invalidator();\n self.invalidator_map\n .insert(path_to_key(path), invalidator, None);\n- #[cfg(not(any(target_os = \"maco... | 2025-07-30T07:47:59 |
golang/go | c8bf388bad9bf350b513c562bba22868bc976247 | 524946d2475d0b541ba84396f759b9e4c7aa4a98 | cmd/compile: align stack-allocated backing stores higher than required
Because that's what mallocgc did and some user code came to rely on it.
Fixes #73199
Change-Id: I45ca00d2ea448e6729ef9ac4cec3c1eb0ceccc89
Reviewed-on: https://go-review.googlesource.com/c/go/+/666116
Reviewed-by: t hepudds <thepudds1460@gmail.com... | [
{
"path": "src/cmd/compile/internal/walk/builtin.go",
"patch": "@@ -600,11 +600,23 @@ func walkMakeSlice(n *ir.MakeExpr, init *ir.Nodes) ir.Node {\n \t\t\tlenCap.Body.Append(mkcall(\"panicmakeslicecap\", nil, &lenCap.Body))\n \t\t\tnif.Body.Append(lenCap)\n \n-\t\t\tt := types.NewArray(t.Elem(), K) ... | 2025-04-17T05:48:06 |
electron/electron | ddc7e3ebb3c34357d4999174d692e18124cb7798 | 2481f94b4efe262c9ae2f5f16cd0845eeb6c4efd | fix: assert module in the renderer process (#39540) | [
{
"path": "patches/node/.patches",
"patch": "@@ -41,3 +41,4 @@ fix_ftbfs_werror_wextra-semi.patch\n fix_isurl_implementation.patch\n ci_ensure_node_tests_set_electron_run_as_node.patch\n chore_update_fixtures_errors_force_colors_snapshot.patch\n+fix_assert_module_in_the_renderer_process.patch",
"additio... | 2023-08-23T09:38:47 |
nodejs/node | a7271ab47db932e67f1d2917fe926997bbb7238a | 589a60e3acafae0eff9a5a06eea6742a6e0c4fcf | lib: fix emit warning for debuglog.time when disabled
PR-URL: https://github.com/nodejs/node/pull/54275
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> | [
{
"path": "lib/internal/util/debuglog.js",
"patch": "@@ -133,6 +133,7 @@ function pad(value) {\n const kNone = 1 << 0;\n const kSkipLog = 1 << 1;\n const kSkipTrace = 1 << 2;\n+const kShouldSkipAll = kSkipLog | kSkipTrace;\n \n const kSecond = 1000;\n const kMinute = 60 * kSecond;\n@@ -377,8 +378,6 @@ funct... | 2024-08-27T16:20:35 |
facebook/react | 5c65b27587c0507d66a84e055de948fc62d471d4 | fabd6d3a64aa20aca940142a29a14a82d1cefd31 | Add `React.useActionState` (#28491)
## Overview
_Depends on https://github.com/facebook/react/pull/28514_
This PR adds a new React hook called `useActionState` to replace and
improve the ReactDOM `useFormState` hook.
## Motivation
This hook intends to fix some of the confusion and limitations of the
`use... | [
{
"path": "packages/react-debug-tools/src/ReactDebugHooks.js",
"patch": "@@ -106,6 +106,10 @@ function getPrimitiveStackCache(): Map<string, Array<any>> {\n // This type check is for Flow only.\n Dispatcher.useFormState((s: mixed, p: mixed) => s, null);\n }\n+ if (typeof Dispatche... | 2024-03-22T17:03:44 |
vercel/next.js | 9c120306afd437b6640c9b9964abcfffbf459f52 | 1b2e69fdd09b00f1fd503a6450e5aefe1db519f9 | Fix RSC hash validation for middleware external rewrites (#82176) | [
{
"path": "packages/next/src/server/web/adapter.ts",
"patch": "@@ -19,6 +19,7 @@ import {\n FLIGHT_HEADERS,\n NEXT_REWRITTEN_PATH_HEADER,\n NEXT_REWRITTEN_QUERY_HEADER,\n+ NEXT_RSC_UNION_QUERY,\n RSC_HEADER,\n } from '../../client/components/app-router-headers'\n import { ensureInstrumentationRegis... | 2025-07-30T00:55:39 |
golang/go | 524946d2475d0b541ba84396f759b9e4c7aa4a98 | ce88e341b90a0878385535bcb54206ec97bcc518 | cmd/compile: don't preload registers if destination already scheduled
In regalloc, we allocate some values to registers before loop entry,
so that they don't need to be loaded (from spill locations) during
the loop.
But it is pointless if we've already regalloc'd the loop body.
Whatever restores we needed for the bod... | [
{
"path": "src/cmd/compile/internal/ssa/layout.go",
"patch": "@@ -15,7 +15,7 @@ func layout(f *Func) {\n // imposed by the linear-scan algorithm.\n func layoutRegallocOrder(f *Func) []*Block {\n \t// remnant of an experiment; perhaps there will be another.\n-\treturn layoutOrder(f)\n+\treturn f.Blocks\n }\n... | 2025-05-14T00:53:45 |
nodejs/node | eb7e18fe9446666d5b81e59167817becc8554a77 | ba07067b92b4649f24f96b3b9b35d3aaba3c5e0e | test_runner: always make spec the default reporter
This is a breaking change. Prior to this commit, the test_runner
defaulted to the spec reporter if using a TTY, and the TAP
reporter otherwise. This commit makes spec the default reporter
unconditionally. TAP output is still available via the
--test-reporter=tap CLI f... | [
{
"path": "doc/api/test.md",
"patch": "@@ -1000,12 +1000,13 @@ flags for the test runner to use a specific reporter.\n \n The following built-reporters are supported:\n \n+* `spec`\n+ The `spec` reporter outputs the test results in a human-readable format. This\n+ is the default reporter.\n+\n * `tap`\n ... | 2024-08-27T15:22:16 |
electron/electron | 2481f94b4efe262c9ae2f5f16cd0845eeb6c4efd | e1d63794e5ce74006188ed2b7f1c35b5793caf36 | fix: instantiate tab video tracks from BrowserCaptureMediaStreamTrack (#39074)
return BrowserCaptureMediaStreamTrack instead of MediaStreamTrack | [
{
"path": "shell/browser/electron_browser_context.cc",
"patch": "@@ -580,7 +580,7 @@ void ElectronBrowserContext::DisplayMediaDeviceChosen(\n blink::MediaStreamDevice video_device(request.video_type, id, name);\n video_device.display_media_info = DesktopMediaIDToDisplayMediaInformation(\n ... | 2023-08-23T08:49:24 |
vercel/next.js | 42bcacd9a1127bac3b018e134312e60d25117cbf | 10e0798fc9a43dc34f8d49c6b805d8a54af6d91b | Remove useMDXComponents argument (#80871)
### What?
Fix the signatures of `useMDXComponents`.
### Why?
The `useMDXComponents` function is always called without any arguments.
It’s also always supposed to be a named export, not a default export.
It’s also called during render. Defining React components during render... | [
{
"path": "docs/01-app/02-guides/mdx.mdx",
"patch": "@@ -77,18 +77,18 @@ Create an `mdx-components.tsx` (or `.js`) file in the root of your project to de\n ```tsx filename=\"mdx-components.tsx\" switcher\n import type { MDXComponents } from 'mdx/types'\n \n-export function useMDXComponents(components: MDXCo... | 2025-07-29T20:45:08 |
golang/go | ce88e341b90a0878385535bcb54206ec97bcc518 | 3baf53aec6c2209562495d4ac1dc035c2881f6eb | cmd/compile: allocate backing store for append on the stack
When appending, if the backing store doesn't escape and a
constant-sized backing store is big enough, use a constant-sized
stack-allocated backing store instead of allocating it from the heap.
cmd/go is <0.1% bigger.
As an example of how this helps, if you ... | [
{
"path": "src/cmd/compile/internal/escape/call.go",
"patch": "@@ -159,6 +159,14 @@ func (e *escape) call(ks []hole, call ir.Node) {\n \t\t}\n \t\te.discard(call.RType)\n \n+\t\t// Model the new backing store that might be allocated by append.\n+\t\t// Its address flows to the result.\n+\t\t// Users of esca... | 2025-04-09T21:38:03 |
facebook/react | f6472522da8a756e300ca6914d081b8ea82f4646 | e047db8d037f63884a41575ea733c27fe8bd1f14 | [repro] Fixture for incorrect lowering for break (label within loop)
---
unlabeled breaks must goto the nearest iteration or switch boundary (not labeled
block)
---
Sprout fails with the following:
```
FAIL: bug-unlabeled-break-within-label-loop
>> Unexpected error during test:
Found differences in eva... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-unlabeled-break-within-label-loop.expect.md",
"patch": "@@ -0,0 +1,62 @@\n+\n+## Input\n+\n+```javascript\n+function useHook(end) {\n+ const log = [];\n+ for (let i = 0; i < end + 1; i++) {\n+ log.push(`${i} @A`)... | 2024-03-22T20:14:35 |
electron/electron | e1d63794e5ce74006188ed2b7f1c35b5793caf36 | bfa58df7c97a7d2e191a5d7ac5ea1891e95f9907 | fix: `chrome.tabs` 'url' and 'title' are privileged information (#39595)
fix: tabs url and title are privileged information | [
{
"path": "shell/browser/extensions/api/tabs/tabs_api.cc",
"patch": "@@ -301,6 +301,7 @@ ExtensionFunction::ResponseAction TabsQueryFunction::Run() {\n \n tabs::Tab tab;\n tab.id = contents->ID();\n+ tab.title = base::UTF16ToUTF8(wc->GetTitle());\n tab.url = wc->GetLastCommittedURL().spec();\... | 2023-08-22T12:56:58 |
vercel/next.js | 9da129108d8b7b6294dd3338075a2bda5006169c | 14be7505c61dc9c1631dc0b1da2d444b15ca5e82 | Turbopack: Fix accidental doctest in globset module license (#82127)
The code block syntax in a documentation comment is interpreted as a doctest: https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html
Tested with:
```
cargo test -p turbo-tasks-fs
``` | [
{
"path": "turbopack/crates/turbo-tasks-fs/src/globset.rs",
"patch": "@@ -2,18 +2,17 @@\n /// After discussing upstreaming our usecase with the authors of `globset`, we decided that a\n /// fork was appropriate given our divergent usecases. See discussion https://github.com/BurntSushi/ripgrep/issues/3049\n ... | 2025-07-29T17:37:45 |
rust-lang/rust | 94db326f2597590ebeac26cde82ddb7f2921da46 | 5fdff787e6ef7cd4458f81e69cbb4d2a39439a98 | Remove unnecessary closure.
The comments that says it's necessary is wrong. | [
{
"path": "compiler/rustc_interface/src/passes.rs",
"patch": "@@ -10,7 +10,6 @@ use rustc_attr_parsing::{AttributeParser, Early, ShouldEmit};\n use rustc_codegen_ssa::traits::CodegenBackend;\n use rustc_codegen_ssa::{CodegenResults, CrateInfo};\n use rustc_data_structures::indexmap::IndexMap;\n-use rustc_da... | 2026-02-13T07:15:08 |
golang/go | 498899e20549a9e30f7641fc3a3592f89a933a95 | 2cde950049dd46cae3ae91cde3e270825793ba0f | math: fix portable FMA implementation when x*y ~ 0, x*y < 0 and z = 0
Adding zero usually does not change the original value.
However, there is an exception with negative zero. (e.g. (-0) + (+0) = (+0))
This applies when x * y is negative and underflows.
Fixes #73757
Change-Id: Ib7b54bdacd1dcfe3d392802ea35cdb4e989f9... | [
{
"path": "src/math/all_test.go",
"patch": "@@ -2126,6 +2126,11 @@ var fmaC = []struct{ x, y, z, want float64 }{\n \t// Issue #61130\n \t{-1, 1, 1, 0},\n \t{1, 1, -1, 0},\n+\n+\t// Issue #73757\n+\t{0x1p-1022, -0x1p-1022, 0, Copysign(0, -1)},\n+\t{Copysign(0, -1), 1, 0, 0},\n+\t{1, Copysign(0, -1), 0, 0},\n... | 2025-05-18T17:28:09 |
facebook/react | fee786a057774ab687aff765345dd86fce534ab2 | 72e02a8350309c6228ec1d9f21a5b09b84456fb8 | [Fizz] Recover from errors thrown by progressive enhancement form generation (#28611)
This a follow up to #28564. It's alternative to #28609 which takes
#28610 into account.
It used to be possible to return JSX from an action with
`useActionState`.
```js
async function action(errors, payload) {
"use server... | [
{
"path": "packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js",
"patch": "@@ -1045,14 +1045,43 @@ function pushAdditionalFormField(\n \n function pushAdditionalFormFields(\n target: Array<Chunk | PrecomputedChunk>,\n- formData: null | FormData,\n+ formData: void | null | FormData,\n ) {\n- if... | 2024-03-21T23:51:38 |
electron/electron | 3a91d1f1e18177ceadc02580722a1349c5b18357 | 09190085c0d1d6acdbb83833afab8c1fe8177ba0 | fix: dangling raw_ptr in ElectronBrowserMainParts dtor (#39539)
* fix: dangling raw_ptr in ElectronBrowserMainParts dtor
* fixup! fix: dangling raw_ptr in ElectronBrowserMainParts dtor
Browser::WhenReady() holds a reference to JsEnv isolate so must come after | [
{
"path": "shell/browser/electron_browser_main_parts.cc",
"patch": "@@ -204,11 +204,11 @@ ElectronBrowserMainParts* ElectronBrowserMainParts::self_ = nullptr;\n \n ElectronBrowserMainParts::ElectronBrowserMainParts()\n : fake_browser_process_(std::make_unique<BrowserProcessImpl>()),\n- browser_(std... | 2023-08-21T08:29:25 |
vercel/next.js | 14be7505c61dc9c1631dc0b1da2d444b15ca5e82 | 541902e380dbe79cfa3fa16b0faf31e1df02dc3c | Revert "Fix tracing of server actions imported by client components (#78968) (#82161)
It seems these additional fs operations/transforms on client components
while tracing dependencies is causing a big perf hit which is not worth
the edge case of catching fs dependencies in server actions from client
components.
A wo... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -2036,7 +2036,6 @@ export default async function getBaseWebpackConfig(\n appDirEnabled: hasAppDir,\n traceIgnores: [],\n compilerType,\n- swcLoaderConfig: swcDefaultLoader,\n }\n ... | 2025-07-29T17:37:17 |
rust-lang/rust | 4c10efb939ee78bb10a2b8833746c554478d64f9 | 47611e16044c68ef27bac31c35fda2ba1dc20b73 | Replace "bug" with "issue" in triagebot ping messages | [
{
"path": "triagebot.toml",
"patch": "@@ -76,9 +76,9 @@ add-labels = [\"beta-nominated\"]\n \n [ping.windows]\n message = \"\"\"\\\n-Hey Windows Group! This bug has been identified as a good \"Windows candidate\".\n+Hey Windows Group! This issue has been identified as a good \"Windows candidate\".\n In case... | 2026-02-13T06:55:58 |
golang/go | 2cde950049dd46cae3ae91cde3e270825793ba0f | fd6afa352d0dfc86a158a6ef011454891593d065 | runtime: disable TestSegv in race mode
This was just enabled in CL 643897. It seems to work fine on Linux, but
there are traceback issues on Darwin. We could disable just on Darwin,
but I'm not sure SIGSEGV inside of TSAN is something we care to support.
Fixes #73784.
Cq-Include-Trybots: luci.golang.try:gotip-darwin... | [
{
"path": "src/runtime/crash_cgo_test.go",
"patch": "@@ -659,8 +659,8 @@ func TestSegv(t *testing.T) {\n \tcase \"plan9\", \"windows\":\n \t\tt.Skipf(\"no signals on %s\", runtime.GOOS)\n \t}\n-\tif asan.Enabled || msan.Enabled {\n-\t\tt.Skip(\"skipping test on ASAN/MSAN: triggers SIGSEGV in sanitizer runti... | 2025-05-19T20:20:47 |
facebook/react | e047db8d037f63884a41575ea733c27fe8bd1f14 | 3a6a2e7e4a807003bc42e103d157ae783602c362 | [repro] Repro for control flow bug in PropagateScopeDependency
---
Thanks to @josephsavona for finding this bug. This is another example of why we
really want hir-everywhere.
Forget output currently nullthrows because we believe `obj.a` is run
unconditionally in source (missing the break/returns out of this sco... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-reduce-reactive-deps-break-in-scope.expect.md",
"patch": "@@ -0,0 +1,63 @@\n+\n+## Input\n+\n+```javascript\n+function useFoo({ obj, objIsNull }) {\n+ const x = [];\n+ b0: {\n+ if (objIsNull) {\n+ break b0;\... | 2024-03-21T21:44:13 |
electron/electron | 9937a2bbe8dd6cc01ff3dd0ce32268e33c0ec1de | 95bf9d8adb33bc2aaf988977b18663f9a770ef77 | fix: explorer restart does not recreated thumbnail toolbar buttons (#39551)
fix: explorer restart does not recreated thumbnail toolbar buttons. | [
{
"path": "shell/browser/native_window_views.cc",
"patch": "@@ -254,6 +254,10 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,\n \n if (title_bar_style_ != TitleBarStyle::kNormal)\n set_has_frame(false);\n+\n+ // If the taskbar is re-created after we start up, we have to... | 2023-08-21T00:43:49 |
vercel/next.js | 541902e380dbe79cfa3fa16b0faf31e1df02dc3c | e5c1dff8262b4d7dcef5bda0af9d9171196457bd | Ensure setAssetPrefix updates config instance (#82160)
This ensures we update `nextConfig.assetPrefix` instead of `renderOpts`
as we aren't relying on `renderOpts` for these values anymore.
Closes: https://github.com/vercel/next.js/issues/82150 | [
{
"path": "packages/next/src/server/base-server.ts",
"patch": "@@ -1652,7 +1652,7 @@ export default abstract class Server<\n ): Promise<void>\n \n public setAssetPrefix(prefix?: string): void {\n- this.renderOpts.assetPrefix = prefix ? prefix.replace(/\\/$/, '') : ''\n+ this.nextConfig.assetPrefix... | 2025-07-29T17:12:49 |
nodejs/node | 5e6aab0ecad6394e538e06357d6e16e155951a8b | 6bf7b6e342f97cf48319e0bc251200fabe132c21 | module: use amaro default transform values
PR-URL: https://github.com/nodejs/node/pull/54517
Fixes: https://github.com/nodejs/node/issues/54514
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it> | [
{
"path": "lib/internal/modules/helpers.js",
"patch": "@@ -360,10 +360,6 @@ function stripTypeScriptTypes(source, filename) {\n mode: typeScriptParsingMode,\n sourceMap: sourceMapEnabled,\n filename,\n- // Transform option is only applied in transform mode.\n- transform: {\n- verbatim... | 2024-08-23T08:00:39 |
golang/go | 177d5eb630ab25916b6c44a6fa89ab371433f9fa | 3602cec3af6083d095729f3db8493a226b9273c3 | net/http: clarify ServeMux.Handler behavior
Explain that ServeMux.Handler doesn't populate the request with
matches.
Fixes #69623.
Change-Id: If625b3f8e8f4e54b05e1d9a86e8c471045e77763
Reviewed-on: https://go-review.googlesource.com/c/go/+/674095
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Chressie Himpe... | [
{
"path": "src/net/http/server.go",
"patch": "@@ -836,6 +836,7 @@ var copyBufPool = sync.Pool{New: func() any { return new([copyBufPoolSize]byte)\n func getCopyBuf() []byte {\n \treturn copyBufPool.Get().(*[copyBufPoolSize]byte)[:]\n }\n+\n func putCopyBuf(b []byte) {\n \tif len(b) != copyBufPoolSize {\n \t... | 2025-05-19T13:20:04 |
facebook/react | 3a6a2e7e4a807003bc42e103d157ae783602c362 | f18a01bf59be6107daa817432f20b9e912e84d35 | Repro for "context variables are always mutable" error w callbacks
I haven't debugged to understand exactly why this pattern fails, but there are a
few instances of this internally. It's especially weird because
```javascript
// @enableAssumeHooksFollowRulesOfReact
@enableTransitivelyFreezeFunctionExpressions
... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-multiple-calls-to-hoisted-callback-from-other-callback.expect.md",
"patch": "@@ -0,0 +1,46 @@\n+\n+## Input\n+\n+```javascript\n+// @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressi... | 2024-03-22T04:40:02 |
vercel/next.js | 5321ba84c30aac57c55e39ed13b2f6356db20cd7 | c9e5069ee1924b3ddd2282b065e64092751e1b88 | [segment explorer] normalize path when running inside monorepo (#82146)
When you running `pnpm next <project path>` from the monorepo root with turbopack and the `<project path>` is not same as your root directory, this lead the unrelated paths outside of the next.js project are also included into the segment explorer... | [
{
"path": "packages/next/src/server/app-render/app-render.tsx",
"patch": "@@ -4145,9 +4145,9 @@ const getGlobalErrorStyles = async (\n }\n if (ctx.renderOpts.dev) {\n const dir =\n- process.env.NEXT_RUNTIME === 'edge'\n- ? process.env.__NEXT_EDGE_PROJECT_DIR!\n- : ctx.renderOpts.d... | 2025-07-29T16:13:31 |
nodejs/node | dd8eeec3f036549f1d8ed3c8b648b80795a48099 | 74ea78ddc605554319fe242e45523a65b102d80d | buffer: truncate instead of throw when writing beyond buffer
Fixes: https://github.com/nodejs/node/issues/54523
Fixes: https://github.com/nodejs/node/issues/54518
PR-URL: https://github.com/nodejs/node/pull/54524
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Re... | [
{
"path": "lib/internal/buffer.js",
"patch": "@@ -1040,7 +1040,7 @@ function addBufferPrototypeMethods(proto) {\n if (offset < 0 || offset > this.byteLength) {\n throw new ERR_BUFFER_OUT_OF_BOUNDS('offset');\n }\n- if (length < 0 || length > this.byteLength - offset) {\n+ if (length < 0)... | 2024-08-27T08:48:52 |
electron/electron | 95bf9d8adb33bc2aaf988977b18663f9a770ef77 | c75e193a3e4683b1d55e56152dcef92e93d5eb56 | fix: `chrome://gpu` failing to load (#39556)
fix: chrome://gpu failing to load | [
{
"path": "electron_paks.gni",
"patch": "@@ -61,6 +61,7 @@ template(\"electron_extra_paks\") {\n \"$root_gen_dir/content/browser/tracing/tracing_resources.pak\",\n \"$root_gen_dir/content/browser/webrtc/resources/webrtc_internals_resources.pak\",\n \"$root_gen_dir/content/content_resources... | 2023-08-21T00:41:00 |
golang/go | 3602cec3af6083d095729f3db8493a226b9273c3 | d52679006c8e08875fac92aca1f723fce488d0d2 | net/http: fix ServeMux.Handler on trailing-slash redirect
When a match involves a trailing-slash redirect, ServeMux.Handler now
returns the pattern that matched.
Fixes #73688.
Change-Id: I682d9cc9a3628bed8bf21139b98369ffa6c53792
Reviewed-on: https://go-review.googlesource.com/c/go/+/673815
Reviewed-by: Filippo Vals... | [
{
"path": "src/net/http/serve_test.go",
"patch": "@@ -391,6 +391,19 @@ func TestServeMuxHandler(t *testing.T) {\n \t}\n }\n \n+// Issue 73688\n+func TestServeMuxHandlerTrailingSlash(t *testing.T) {\n+\tsetParallel(t)\n+\tmux := NewServeMux()\n+\tconst original = \"/{x}/\"\n+\tmux.Handle(original, NotFoundHa... | 2025-05-17T23:36:06 |
facebook/react | 231f29f6f3ef5c8612cfbb050695d7a1e96ebd78 | 21bb8f9e75be24a7730c890409a53bc2120eef68 | Fix using context variable as JSX element tag
Updates the lowering for JSX element tag names to check if the identifier is a
context or local variable and use the appropriate instruction kind. | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts",
"patch": "@@ -2916,8 +2916,9 @@ function lowerJsxElementName(\n if (exprPath.isJSXIdentifier()) {\n const tag: string = exprPath.node.name;\n if (tag.match(/^[A-Z]/)) {\n+ const kind = getLoadKind(builder, exprPath);... | 2024-03-22T00:12:08 |
vercel/next.js | c9e5069ee1924b3ddd2282b065e64092751e1b88 | 8d937e712bccf79fe25a7c7aad05d39bf81b3c45 | Fix i18n fallback: false collision (#82136)
This fixes a case with i18n in pages router with deeply nested mixed
`fallback: false` and `fallback: 'blocking'` routes where the internal
`NoFallbackError` would be bubbled outside of the server handler causing
the invariant to leak instead of rendering the 404 page like e... | [
{
"path": "packages/next/src/server/lib/i18n-provider.ts",
"patch": "@@ -118,8 +118,8 @@ export class I18NProvider {\n // query and strip it from the pathname.\n if (analysis.detectedLocale) {\n if (analysis.detectedLocale !== detectedLocale) {\n- throw new Error(\n- ... | 2025-07-29T15:54:13 |
nodejs/node | c00ea01f2bbee0427d38ba4573dae310394f42fe | b39fad6052b17b5c211c675111da0a6846134c3a | buffer: allow invalid encoding in from
Looks like a bug to me but the change should probably
done in a semver majpr.
PR-URL: https://github.com/nodejs/node/pull/54533
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yueson... | [
{
"path": "lib/buffer.js",
"patch": "@@ -476,7 +476,7 @@ function createFromString(string, ops, length = ops.byteLength(string)) {\n \n function fromString(string, encoding) {\n let ops;\n- if (!encoding || encoding === 'utf8') {\n+ if (!encoding || encoding === 'utf8' || typeof encoding !== 'string') {... | 2024-08-27T04:01:30 |
golang/go | d52679006c8e08875fac92aca1f723fce488d0d2 | 972639fc4cf257f04f9690e63bea7cd729b3edd2 | cmd/compile: fold negation into addition/subtraction on mipsx
Fold negation into addition/subtraction and avoid double negation.
file before after Δ %
addr2line 3742022 3741986 -36 -0.001%
asm 6668616 6668628 +12 +0.000%
buildid 3583786 3583630 -156 -0.004%
cgo 6... | [
{
"path": "src/cmd/compile/internal/ssa/_gen/MIPS.rules",
"patch": "@@ -614,11 +614,14 @@\n \n // generic simplifications\n (ADD x (NEG y)) => (SUB x y)\n+(SUB x (NEG y)) => (ADD x y)\n (SUB x x) => (MOVWconst [0])\n (SUB (MOVWconst [0]) x) => (NEG x)\n (AND x x) => x\n (OR x x) => x\n (XOR x x) => (MOVWco... | 2025-05-16T16:27:37 |
electron/electron | c75e193a3e4683b1d55e56152dcef92e93d5eb56 | 0621f3929693530076b75befbdaa83755f6cd4fa | fix: use tiled edges to calculate frame inset sizes in Linux (#39523)
Adapt to the window frame size calculation changes in CL 3970920 by
setting the inset sizes to 0 for tiled edges. | [
{
"path": "shell/browser/ui/views/client_frame_view_linux.cc",
"patch": "@@ -150,7 +150,13 @@ void ClientFrameViewLinux::Init(NativeWindowViews* window,\n }\n \n gfx::Insets ClientFrameViewLinux::GetBorderDecorationInsets() const {\n- return frame_provider_->GetFrameThicknessDip();\n+ const auto insets = ... | 2023-08-17T18:26:49 |
nodejs/node | 4f1c27af8c09c45ac7dcb7c48146aa9392cebde8 | 4ce986468c98098ddf08b34570c949c0d089e344 | src: handle errors correctly in webstorage
PR-URL: https://github.com/nodejs/node/pull/54544
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | [
{
"path": "src/node_webstorage.cc",
"patch": "@@ -24,12 +24,16 @@ using v8::IndexedPropertyHandlerConfiguration;\n using v8::Integer;\n using v8::Intercepted;\n using v8::Isolate;\n+using v8::JustVoid;\n using v8::Local;\n using v8::Map;\n using v8::Maybe;\n using v8::MaybeLocal;\n using v8::Name;\n using v... | 2024-08-26T17:20:09 |
facebook/react | 21bb8f9e75be24a7730c890409a53bc2120eef68 | 0e72e2a00e9644801fa2fab2142e60f7076bfc0c | Repro for inconsistent context/local variable reference
We currently assume JSX element tags are always locals, and need to check which
load kind to use. Fixed in the next PR. | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-context-variable-as-jsx-element-tag.expect.md",
"patch": "@@ -0,0 +1,29 @@\n+\n+## Input\n+\n+```javascript\n+function Component(props) {\n+ let Component = Foo;\n+\n+ Component = useMemo(() => {\n+ return... | 2024-03-22T00:12:08 |
vercel/next.js | 9484919a6278d03174cf3f675711e6e3afc0f487 | 0bcb25fcdb331320806361d568813c74cc1b5718 | [CacheComponents] Use fallback params when validating dynamic routes in dev (#82069)
When validating a dynamic route in dev with Cache Components we must not
use more params than would be know at build time because we want to
ensure dev acts as an appropriate debug environment for build validation
issues. Any time a v... | [
{
"path": "packages/next/src/server/app-render/app-render.tsx",
"patch": "@@ -195,6 +195,7 @@ import {\n import { isReactLargeShellError } from './react-large-shell-error'\n import type { GlobalErrorComponent } from '../../client/components/builtin/global-error'\n import { normalizeConventionFilePath } from... | 2025-07-28T23:13:20 |
golang/go | 972639fc4cf257f04f9690e63bea7cd729b3edd2 | 11c86ddcb898f4c2c5fa548d46821ab76ea2d0fd | go/token: add FileSet.AddExistingFiles
+ test, doc, relnote
Fixes #73205
Change-Id: Id3a4cc6290c55ffa518ad174a02ccca85e8636f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/672875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@g... | [
{
"path": "api/next/73205.txt",
"patch": "@@ -0,0 +1 @@\n+pkg go/token, method (*FileSet) AddExistingFiles(...*File) #73205",
"additions": 1,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "doc/next/6-stdlib/99-minor/go/token/73205.md",
"patch": "@@ -0,0 +1,4 @@\n+The new [Fil... | 2025-05-14T19:22:36 |
nodejs/node | 4ce986468c98098ddf08b34570c949c0d089e344 | eab97b54d4bc7d7a15d26a40cc2c66f032972954 | src: handle errors correctly in `permission.cc`
Return an empty `MaybeLocal` to indicate that an exception is pending.
PR-URL: https://github.com/nodejs/node/pull/54541
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>... | [
{
"path": "src/permission/permission.cc",
"patch": "@@ -18,6 +18,8 @@ namespace node {\n using v8::Context;\n using v8::FunctionCallbackInfo;\n using v8::Local;\n+using v8::MaybeLocal;\n+using v8::NewStringType;\n using v8::Object;\n using v8::String;\n using v8::Value;\n@@ -105,46 +107,43 @@ Permission::Pe... | 2024-08-24T14:45:11 |
vercel/next.js | 0bcb25fcdb331320806361d568813c74cc1b5718 | 08cdc9ad5a9bf678cb2e40d48a891de0d0522c4f | [turbopack] Improve our `const` compatible hash routine performance (#82088)
The explicit operators can apparently not be folded by the compiler.
This is the const compatible way to take a slice and convert a slice to an array... sigh.
https://godbolt.org/z/Wedn7hWvb shows the 3 possible implementations.
The `std`... | [
{
"path": "turbopack/crates/turbo-rcstr/src/dynamic.rs",
"patch": "@@ -172,24 +172,31 @@ const fn multiply_mix(x: u64, y: u64) -> u64 {\n }\n }\n \n-// Const compatible helper function to read a u64 from a byte array at a given offset\n-const fn read_u64_le(bytes: &[u8], offset: usize) -> u64 {\n- (b... | 2025-07-28T22:23:43 |
electron/electron | 0621f3929693530076b75befbdaa83755f6cd4fa | aeb89b143b5c61f52d8852ab247297ea2b2045b5 | test: enable `parallel/test-debugger-random-port-with-inspect-port` (#39533)
test: enable parallel/test-debugger-random-port-with-inspect-port | [
{
"path": "patches/node/fix_account_for_debugger_agent_race_condition.patch",
"patch": "@@ -21,6 +21,18 @@ index eab99c9b0e2fb387ef9a716396e41c7fc93e93bc..ef8b20a60df88a0a412c309f597e1b1f\n await cli.waitForPrompt();\n await cli.command('sb(\"alive.js\", 3)');\n await cli.waitFor(/break/);\n+... | 2023-08-17T16:16:14 |
facebook/react | d31e10b406163928589649466a3b0f76ae45c5cc | 4bc676d3dbd78f5c4c3f9be7f86c3b084a268ac9 | Fix for type aliases in function inferring as function deps | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts",
"patch": "@@ -3982,6 +3982,18 @@ function gatherCapturedDeps(\n }\n \n fn.traverse({\n+ TypeAnnotation(path) {\n+ path.skip();\n+ },\n+ TSTypeAnnotation(path) {\n+ path.skip();\n+ },\n+ TypeAlias(path) ... | 2024-03-21T21:11:05 |
nodejs/node | eab97b54d4bc7d7a15d26a40cc2c66f032972954 | 8f1fa03c130828d7ccb6e445274653496c94edd7 | src: return `v8::Object` from error constructors
It's more specific than `v8::Value`.
PR-URL: https://github.com/nodejs/node/pull/54541
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mohammed Keyvanzade... | [
{
"path": "src/node_errors.h",
"patch": "@@ -113,7 +113,7 @@ void OOMErrorHandler(const char* location, const v8::OOMDetails& details);\n \n #define V(code, type) \\\n template <typename... Args> \\\n... | 2024-08-24T14:33:04 |
electron/electron | 213388cd8738bcac2c99a4d20179d6d1cf89d067 | 8374b9c2ad23187c614a2305c3f5cc6e52a14c0c | refactor: prefer Sorted variant of MakeFixedFlatSet() (#39537)
perf: prefer Sorted variant of MakeFixedFlatSet()
https://chromium-review.googlesource.com/c/chromium/src/+/4660000
says that the sorted version is simpler at compile time because it
can skip MakeFixedFlatSet()'s compile-time dynamic sorting. | [
{
"path": "shell/app/node_main.cc",
"patch": "@@ -54,13 +54,14 @@ namespace {\n // See https://nodejs.org/api/cli.html#cli_options\n void ExitIfContainsDisallowedFlags(const std::vector<std::string>& argv) {\n // Options that are unilaterally disallowed.\n- static constexpr auto disallowed = base::MakeFi... | 2023-08-17T13:58:04 |
facebook/react | 4bc676d3dbd78f5c4c3f9be7f86c3b084a268ac9 | 241b35463c662a9da230b511dc161fd9aa943634 | Repro for undefined "hoisted" variable from type alias
We inadvertently think the type annotation on the function expression param is
an identifier and create a LoadLocal for it, which fails. This happens to trip
up on the InferReferenceEffects initialization check, which we had assumed would
only fire for invalid... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.type-alias-used-as-annotation_.flow.expect.md",
"patch": "@@ -0,0 +1,30 @@\n+\n+## Input\n+\n+```javascript\n+// @flow @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressions\n+type Bar = s... | 2024-03-21T21:11:04 |
golang/go | 11c86ddcb898f4c2c5fa548d46821ab76ea2d0fd | bc5aa2f7d3e1deb5468432230c438a8a9e8de316 | runtime: check for gsignal in asancall/msancall/racecall
asancall and msancall are reachable from the signal handler, where we
are running on gsignal. Currently, these calls will use the g0 stack in
this case, but if the interrupted code was running on g0 this will
corrupt the stack and likely cause a crash.
As far a... | [
{
"path": "src/runtime/asan_amd64.s",
"patch": "@@ -100,7 +100,12 @@ TEXT\tasancall<>(SB), NOSPLIT, $0-0\n \tJE\tcall\t// no g; still on a system stack\n \n \tMOVQ\tg_m(R14), R13\n-\t// Switch to g0 stack.\n+\n+\t// Switch to g0 stack if we aren't already on g0 or gsignal.\n+\tMOVQ\tm_gsignal(R13), R10\n+\t... | 2025-01-22T19:13:33 |
nodejs/node | 8f1fa03c130828d7ccb6e445274653496c94edd7 | 05bd3cfc73c0200a905d78c62a80edd85ba879e1 | src: use better return types in KVStore
- Use `v8::Maybe<void>` instead of `v8::Maybe<bool>` and handle error
from `AssignFromObject`.
- An empty `v8::Maybe` is supposed to be returned when an exception is
pending. Use `std::optional` instead to indicate a missing value in
`Get(key)`.
PR-URL: https://github.com... | [
{
"path": "src/inspector_profiler.cc",
"patch": "@@ -472,7 +472,7 @@ void StartProfilers(Environment* env) {\n }, env);\n \n std::string coverage_str =\n- env->env_vars()->Get(\"NODE_V8_COVERAGE\").FromMaybe(std::string());\n+ env->env_vars()->Get(\"NODE_V8_COVERAGE\").value_or(std::string());... | 2024-08-24T12:51:26 |
vercel/next.js | 08cdc9ad5a9bf678cb2e40d48a891de0d0522c4f | c49b7b11e85d64e5cefa79dc3372437fab451e4f | [turbopack] Documentation fixes for rcstr! and a tiny improvement to `hash` (#82084)
Fix safety comment and hash implementation in turbo-rcstr
Noticed this while porting https://github.com/vercel/next.js/pull/81994 to swc | [
{
"path": "turbopack/crates/turbo-rcstr/src/dynamic.rs",
"patch": "@@ -93,7 +93,7 @@ pub(crate) fn new_static_atom(string: &'static PrehashedString) -> RcStr {\n // Tag it as a static pointer\n entry = ((entry as usize) | STATIC_TAG as usize) as *mut PrehashedString;\n let ptr: NonNull<Prehashed... | 2025-07-28T22:19:04 |
facebook/react | 241b35463c662a9da230b511dc161fd9aa943634 | 1cf8d9bc8b8ce905ce55043707fffb0b0c504e4f | Fix PruneMaybeThrows to update phi operand predecessor ids
When PruneMaybeThrows removes maybe-throw terminals, it's possible that the
block in question reassigned a value s.t. it appears as a later phi operand.
That phi has to be rewritten to reflect the updated predecessor block.
Here we track these rewrites (t... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/Optimization/PruneMaybeThrows.ts",
"patch": "@@ -5,7 +5,10 @@\n * LICENSE file in the root directory of this source tree.\n */\n \n+import { CompilerError } from \"..\";\n import {\n+ BlockId,\n+ GeneratedSource,\n GotoVariant,\n HIRFunction... | 2024-03-21T21:11:04 |
electron/electron | dd8df3b0c47102fe5686f516c80e698ab555a6f9 | b04ce6a5c867aae4931517923c535388679994ad | fix: destruction order of js env fields (#39521)
isolate_ depends on isolate_holder_ and so must be destroyed first. | [
{
"path": "shell/browser/javascript_environment.cc",
"patch": "@@ -104,9 +104,10 @@ gin::IsolateHolder CreateIsolateHolder(v8::Isolate* isolate) {\n \n JavascriptEnvironment::JavascriptEnvironment(uv_loop_t* event_loop,\n bool setup_wasm_streaming)\n- : isolat... | 2023-08-17T04:06:24 |
nodejs/node | 05bd3cfc73c0200a905d78c62a80edd85ba879e1 | c6a72f2de44936aa3c5d8420c1758180e7fae1c2 | test: force spec reporter in test-runner-watch-mode.mjs
In the CI this test generates TAP output that can confuse the
Python test runner. Avoid the problem by not outputting TAP at
from the spawned child process.
Fixes: https://github.com/nodejs/node/issues/54535
PR-URL: https://github.com/nodejs/node/pull/54538
Revi... | [
{
"path": "test/parallel/test-runner-watch-mode.mjs",
"patch": "@@ -41,7 +41,8 @@ async function testWatch({ fileToUpdate, file, action = 'update' }) {\n const ran1 = util.createDeferredPromise();\n const ran2 = util.createDeferredPromise();\n const child = spawn(process.execPath,\n- ... | 2024-08-26T12:39:36 |
golang/go | bc5aa2f7d3e1deb5468432230c438a8a9e8de316 | 2c929d6f4c8fcd1021dc3cd57b2eedff5ae9a592 | go/types, types2: improve error message for init without body
Change-Id: I8a684965e88e0e33a6ff33a16e08d136e3267f7e
Reviewed-on: https://go-review.googlesource.com/c/go/+/663636
TryBot-Bypass: Mark Freeman <mark@golang.org>
Auto-Submit: Mark Freeman <mark@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com> | [
{
"path": "src/cmd/compile/internal/types2/resolver.go",
"patch": "@@ -436,10 +436,8 @@ func (check *Checker) collectObjects() {\n \t\t\t\t\tif name == \"init\" {\n \t\t\t\t\t\tobj.parent = pkg.scope\n \t\t\t\t\t\tcheck.recordDef(s.Name, obj)\n-\t\t\t\t\t\t// init functions must have a body\n \t\t\t\t\t\tif... | 2025-04-04T17:44:38 |
vercel/next.js | c49b7b11e85d64e5cefa79dc3372437fab451e4f | 5c25087d57a919f3eb363f21cf4235918fd76167 | fix(next/image): improve and simplify detect-content-type (#82118)
Add support for detecting more src image formats via magic number. The
src image formats are handled as follows:
- `image/jxl` - serve as is (since safari can render it)
- `image/heic` - serve as is (since safari can render it)
- `image/jp2` - serve a... | [
{
"path": "packages/next/src/server/image-optimizer.ts",
"patch": "@@ -36,15 +36,19 @@ const AVIF = 'image/avif'\n const WEBP = 'image/webp'\n const PNG = 'image/png'\n const JPEG = 'image/jpeg'\n+const JXL = 'image/jxl'\n+const JP2 = 'image/jp2'\n+const HEIC = 'image/heic'\n const GIF = 'image/gif'\n const... | 2025-07-28T20:20:55 |
facebook/react | 72e02a8350309c6228ec1d9f21a5b09b84456fb8 | c47fee55d9886b2d9746a4b71c48bbd8b8ac9d3a | [Flight Reply] Don't allow Symbols to be passed to a reply (#28610)
As mentioned in #28609 there's a potential security risk if you allow a
passed value to the server to spoof Elements because it allows a hacker
to POST cross origin. This is only an issue if your framework allows
this which it shouldn't but it seem... | [
{
"path": "packages/react-client/src/ReactFlightReplyClient.js",
"patch": "@@ -105,10 +105,6 @@ function serializeTemporaryReferenceID(id: number): string {\n return '$T' + id.toString(16);\n }\n \n-function serializeSymbolReference(name: string): string {\n- return '$S' + name;\n-}\n-\n function seriali... | 2024-03-21T20:53:02 |
rust-lang/rust | 7d7b3816607c3f0c5afd4562bb3efca8b6eea777 | 47611e16044c68ef27bac31c35fda2ba1dc20b73 | Fix ICE in borrowck when recovering `fn_sig` for `-> _` | [
{
"path": "compiler/rustc_hir_analysis/src/collect.rs",
"patch": "@@ -1138,13 +1138,65 @@ fn recover_infer_ret_ty<'tcx>(\n );\n }\n let guar = diag.emit();\n- ty::Binder::dummy(tcx.mk_fn_sig(\n+\n+ // If we return a dummy binder here, we can ICE later in borrowck when it encounters\n+ ... | 2026-02-08T07:42:28 |
nodejs/node | 43f699d4d2799cfc17cbcad5770e1889075d5dbe | 52322aa42a43cb820432946e7997d070de078a10 | benchmark: fix benchmark for file path and URL conversion
PR-URL: https://github.com/nodejs/node/pull/54190
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> | [
{
"path": "benchmark/url/whatwg-url-to-and-from-path.js",
"patch": "@@ -3,28 +3,46 @@ const common = require('../common.js');\n const { fileURLToPath, pathToFileURL } = require('node:url');\n const isWindows = process.platform === 'win32';\n \n-const bench = common.createBenchmark(main, {\n- input: isWindo... | 2024-08-25T13:41:13 |
golang/go | 5afada035ced1f89267d3177a9fb75fab4df81ff | a74ae952826fd65006a8190c50bbbee4c4869cf9 | go/ast: add PreorderStack, a variant of Inspect that builds a stack
+ doc, test, relnote
Fixes #73319
Change-Id: Ib7c9d0d7107cd62dc7f09120dfb475c4a469ddc9
Reviewed-on: https://go-review.googlesource.com/c/go/+/672696
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-pr... | [
{
"path": "api/next/73319.txt",
"patch": "@@ -0,0 +1 @@\n+pkg go/ast, func PreorderStack(Node, []Node, func(Node, []Node) bool) #73319",
"additions": 1,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "doc/next/6-stdlib/99-minor/go/ast/73319.md",
"patch": "@@ -0,0 +1,4 @@\n+The... | 2025-05-14T20:15:40 |
vercel/next.js | 5c25087d57a919f3eb363f21cf4235918fd76167 | 92d1f0d915b4ea2f97dcace7133f1eaacc3db616 | Fix validateRSCRequestHeaders incorrect redirect (#82119)
Found during dogfooding on Vercel that sometimes the RSC validation
fails incorrectly. The root cause was that headers like
`Next-Router-Prefetch` were absent from the header and transferred to
request meta. Eventually we should improve how we retrieve these fi... | [
{
"path": "packages/next/src/server/base-server.ts",
"patch": "@@ -2013,9 +2013,18 @@ export default abstract class Server<\n isRSCRequest\n ) {\n const headers = req.headers\n+\n+ const isPrefetchRSCRequest =\n+ headers[NEXT_ROUTER_PREFETCH_HEADER.toLowerCase()] ||\n+ get... | 2025-07-28T19:18:20 |
electron/electron | 9d6d606192b1be9d82175ed7d61091856a362f10 | 1eb398b328d304f227deef0e89ca0be7b9e20755 | build: fixup libcxx zip (#39536) | [
{
"path": "build/zip_libcxx.py",
"patch": "@@ -30,8 +30,8 @@ def get_object_files(base_path, archive_name):\n def main(argv):\n dist_zip, = argv\n out_dir = os.path.dirname(dist_zip)\n- base_path_libcxx = os.path.join(out_dir, 'obj/third_party/libc++')\n- base_path_libcxxabi = os.path.join(out_dir, 'o... | 2023-08-16T18:05:39 |
facebook/react | c47fee55d9886b2d9746a4b71c48bbd8b8ac9d3a | 7263b4f80a52036060257cc9a0e388351a05f231 | [Fizz][Legacy] use static markup mode for renderToStaticNodeStream (#28606)
Since it was first implemented renderToStaticNodeStream never correctly
set the renderer state to mark the output as static markup which means
it was functionally the same as renderToNodeStream. This change fixes
this oversight. While we ar... | [
{
"path": "packages/react-dom/src/__tests__/ReactServerRendering-test.js",
"patch": "@@ -609,6 +609,41 @@ describe('ReactDOMServer', () => {\n expect(response.read()).toBeNull();\n });\n });\n+\n+ it('should refer users to new apis when using suspense', async () => {\n+ let resolve... | 2024-03-21T18:03:09 |
nodejs/node | 52322aa42a43cb820432946e7997d070de078a10 | 7fea0108d57224c9aafbdf7c72d31f4b9da95c43 | net: validate host name for server listen
Fixes: https://github.com/nodejs/node/issues/54441
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/54470
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jake Yueso... | [
{
"path": "lib/net.js",
"patch": "@@ -35,6 +35,8 @@ const {\n NumberParseInt,\n ObjectDefineProperty,\n ObjectSetPrototypeOf,\n+ RegExp,\n+ RegExpPrototypeExec,\n Symbol,\n SymbolAsyncDispose,\n SymbolDispose,\n@@ -143,6 +145,8 @@ const { kTimeout } = require('internal/timers');\n const DEFAUL... | 2024-08-25T12:36:40 |
vercel/next.js | 6b12c60c61ee80cb0443ccd20de82ca9b4422ddd | 742a2c78dfe7c90f1dccc3608933b28e64cd0249 | fix(next/image): fix image-optimizer.ts headers (#82114)
The headers were forwarded to the serverless function for "internal"
images but not "external" images.
This changes the behavior to be the same for both such that neither
receive headers. | [
{
"path": "packages/next/src/server/image-optimizer.ts",
"patch": "@@ -634,7 +634,6 @@ export async function fetchInternalImage(\n const mocked = createRequestResponseMocks({\n url: href,\n method: _req.method || 'GET',\n- headers: _req.headers,\n socket: _req.socket,\n })\n "... | 2025-07-28T13:06:33 |
golang/go | 198c3cb785282ee4c199680ec2d05381805a6f66 | da9c5b142c855496222f0ab167c3f1d9e98403c4 | std: pass bytes.Buffer and strings.Builder by pointer
This CL fixes a number of (all true positive) findings of vet's
copylock analyzer patched to treat the Bu{ff,uild}er types
as non-copyable after first use.
This does require imposing an additional indirection
between noder.writer and Encoder since the field is
emb... | [
{
"path": "src/bytes/buffer_test.go",
"patch": "@@ -354,7 +354,7 @@ func TestWriteAppend(t *testing.T) {\n \t\tgot.Write(b)\n \t}\n \tif !Equal(got.Bytes(), want) {\n-\t\tt.Fatalf(\"Bytes() = %q, want %q\", got, want)\n+\t\tt.Fatalf(\"Bytes() = %q, want %q\", &got, want)\n \t}\n \n \t// With a sufficiently ... | 2024-12-11T20:42:06 |
electron/electron | 1eb398b328d304f227deef0e89ca0be7b9e20755 | f7a7085019bf757700df3c2f8714e0de356203cd | fix: crash when calling `BrowserWindow.moveTop()` on modal children (#39499)
fix: crash when calling moveTop() on modal children | [
{
"path": "shell/browser/native_window_mac.mm",
"patch": "@@ -812,7 +812,7 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) {\n if (!webrtc::GetWindowOwnerPid(window_id))\n return false;\n \n- if (!parent()) {\n+ if (!parent() || is_modal()) {\n [window_ orderWindo... | 2023-08-16T11:28:29 |
facebook/react | 1cf8d9bc8b8ce905ce55043707fffb0b0c504e4f | 14d54869ed934d20912fd65f12017a2b03d71008 | Repro for missing predecessor with try/catch
Found when running the compiler on a large swath of internal code.
PruneMaybeThrows rewrites terminals, but the logic to update subsequent phis was
incorrectly dropping phis rather than rewriting them. Fixed in the next PR. | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.repro-preds-undefined.expect.md",
"patch": "@@ -0,0 +1,28 @@\n+\n+## Input\n+\n+```javascript\n+// @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressions\n+function useSupportsTouchEvent()... | 2024-03-20T21:07:28 |
nodejs/node | 7fea0108d57224c9aafbdf7c72d31f4b9da95c43 | c3fe2d60bdda943d5fcb96fe0df80f99c82f584b | sqlite: return results with null prototype
These objects are dictionaries, and a query can return columns with
special names like `__proto__` (which would be ignored without this
change).
Also construct the object by passing vectors of properties for better
performance and improve error handling by using `MaybeLocal`... | [
{
"path": "src/node_sqlite.cc",
"patch": "@@ -25,6 +25,10 @@ using v8::FunctionTemplate;\n using v8::Integer;\n using v8::Isolate;\n using v8::Local;\n+using v8::LocalVector;\n+using v8::MaybeLocal;\n+using v8::Name;\n+using v8::Null;\n using v8::Number;\n using v8::Object;\n using v8::String;\n@@ -405,7 +4... | 2024-08-25T10:43:17 |
rust-lang/rust | e098327271327f86fb6aac22e64136f4a3268d31 | bb8b30a5fce59f5d3d17a8f010601c59f0f19d79 | Don't ICE on layout error in vtable computation | [
{
"path": "compiler/rustc_middle/src/ty/vtable.rs",
"patch": "@@ -99,9 +99,10 @@ pub(super) fn vtable_allocation_provider<'tcx>(\n // This confirms that the layout computation for &dyn Trait has an accurate sizing.\n assert!(vtable_entries.len() >= vtable_min_entries(tcx, poly_trait_ref));\n \n- ... | 2026-02-10T14:10:04 |
vercel/next.js | 29ae22be86bfb2a13bc5c3f5a3d0348398615657 | 14c5d673283d19a92186459d6cfec332e19bf2d8 | fix(Rspack): use loaderContext.utils.contextify to replace ModuleFilenameHelpers.createFilename (#82104)
Co-authored-by: Sebastian Sebbie Silbermann <sebastian.silbermann@vercel.com> | [
{
"path": "packages/next/src/build/webpack/loaders/next-flight-loader/index.ts",
"patch": "@@ -1,8 +1,9 @@\n-import type {\n- javascript,\n- LoaderContext,\n- NormalModule,\n- webpack,\n+import {\n+ ModuleFilenameHelpers,\n+ type javascript,\n+ type LoaderContext,\n+ type NormalModule,\n+ type webp... | 2025-07-28T11:23:12 |
electron/electron | f7a7085019bf757700df3c2f8714e0de356203cd | 0c45d160d669356c70bb0df50ebbd250fc6fd562 | docs: fix typo in open-url API docs (#39513)
* Fix typo in open-url API docs
* Update app.md | [
{
"path": "docs/api/app.md",
"patch": "@@ -128,9 +128,8 @@ Emitted when the user wants to open a URL with the application. Your application\n set `NSPrincipalClass` to `AtomApplication`.\n \n As with the `open-file` event, be sure to register a listener for the `open-url`\n-event early in your application s... | 2023-08-16T10:26:02 |
golang/go | 42f9ee904caf6681ee32e7b048f15ab7cddf3eb3 | 6425749695130f2032ac9cfdf5407b6a322534db | text/template: limit expression parenthesis nesting
Deeply nested parenthesized expressions could cause a stack
overflow during parsing. This change introduces a depth limit
(maxStackDepth) tracked in Tree.stackDepth to prevent this.
Additionally, this commit clarifies the security model in
the package documentation,... | [
{
"path": "src/text/template/doc.go",
"patch": "@@ -15,6 +15,11 @@ Execution of the template walks the structure and sets the cursor, represented\n by a period '.' and called \"dot\", to the value at the current location in the\n structure as execution proceeds.\n \n+The security model used by this package ... | 2025-05-14T18:16:54 |
facebook/react | 14d54869ed934d20912fd65f12017a2b03d71008 | 4daa4eceb7577918fb07eea8b03dcd70cfa84e81 | [patch][codegen] don't reuse babel nodes in codegen for dependencies
---
Reusing optionalMemberExpression nodes recently led to a bug when compiling
Forget playground.
```js
// the two a?.b's here should be different nodes!
if (a?.b !== $[0]) {
// ...
$[0] = a?.b;
}
```
Forget playground uses `babe... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/CodegenReactiveFunction.ts",
"patch": "@@ -370,7 +370,6 @@ function codegenReactiveScope(\n const outputComments: Array<string> = [];\n for (const dep of scope.dependencies) {\n const index = cx.nextCacheIndex;\n- const dep... | 2024-03-20T23:29:02 |
nodejs/node | 6d654ddd0065b75a8b1173f71fcc5a1005a98208 | 4e68b541fd7ccd9fe1328d5b4dc93a3689aa505d | timers: fix validation
PR-URL: https://github.com/nodejs/node/pull/54404
Reviewed-By: Claudio Wunder <cwunder@gnome.org> | [
{
"path": "doc/api/timers.md",
"patch": "@@ -532,9 +532,8 @@ added:\n An experimental API defined by the [Scheduling APIs][] draft specification\n being developed as a standard Web Platform API.\n \n-Calling `timersPromises.scheduler.wait(delay, options)` is roughly equivalent\n-to calling `timersPromises.s... | 2024-08-25T07:30:10 |
vercel/next.js | 14c5d673283d19a92186459d6cfec332e19bf2d8 | c081cf7c88c25bc581e5e67baf31c9afce2b31de | docs: Update styling example links (#82111)
Fixes: https://github.com/vercel/next.js/issues/82098 | [
{
"path": "docs/01-app/02-guides/css-in-js.mdx",
"patch": "@@ -126,7 +126,7 @@ export default function RootLayout({ children }) {\n }\n ```\n \n-[View an example here](https://github.com/vercel/app-playground/tree/main/app/styling/styled-jsx).\n+[View an example here](https://github.com/vercel/next.js/tree/... | 2025-07-28T11:00:04 |
electron/electron | 1d20ec5b990085fb38cc0494435cd6f57e0e8b3e | 22c359ac4f2c3bfa3c0c4b03543007dc6c5942da | ci: fix @electron/github-app-auth CLI usage (#39507) | [
{
"path": ".github/workflows/branch-created.yml",
"patch": "@@ -64,7 +64,7 @@ jobs:\n env:\n RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}\n run: |\n- TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org electron)\n+ ... | 2023-08-15T18:41:29 |
golang/go | 6425749695130f2032ac9cfdf5407b6a322534db | 8798f9e7a4929bafb570da29d342104c8cb32f9b | cmd/distpack: remove more tools from packaged distribution
The "doc", "fix", and "covdata" tools invoked by the go command are not
needed for builds. Instead of invoking them directly using the installed
binary in the tool directory, use "go tool" to run them, building them
if needed. We can then stop distributing tho... | [
{
"path": "src/cmd/distpack/pack.go",
"patch": "@@ -169,7 +169,8 @@ func main() {\n \t\t\t}\n \t\t\t// Inside pkg/tool/$GOOS_$GOARCH, discard helper tools, and tools not needed for builds.\n \t\t\tswitch strings.TrimSuffix(path.Base(name), \".exe\") {\n-\t\t\tcase \"addr2line\", \"api\", \"buildid\", \"dist... | 2025-05-15T19:30:57 |
facebook/react | 4daa4eceb7577918fb07eea8b03dcd70cfa84e81 | 63bb781781ef1b4b08ee169b43f08dece4232a39 | [validation] More detailed error diagnostics for validatePreserveExistingMemo
---
This should make it easier to grep through error diagnostics to understand state
of the codebase:
- no matching dependences -> likely that source is ignoring eslint failures
- differences in ref.current access -> non-backwards co... | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/Validation/ValidatePreservedManualMemoization.ts",
"patch": "@@ -102,10 +102,41 @@ function prettyPrintScopeDependency(val: ReactiveScopeDependency): string {\n return `${rootStr}${val.path.length > 0 ? \".\" : \"\"}${val.path.join(\".\")}`;\n }\n... | 2024-03-20T20:05:24 |
nodejs/node | 4e68b541fd7ccd9fe1328d5b4dc93a3689aa505d | c062b5242a7d3f91f7aed77dcfc90b7fc3a372aa | test: fix improper path to URL conversion
PR-URL: https://github.com/nodejs/node/pull/54509
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/fixtures/permission/fs-read.js",
"patch": "@@ -5,10 +5,11 @@ const common = require('../../common');\n const assert = require('assert');\n const fs = require('fs');\n const path = require('path');\n+const { pathToFileURL } = require('url');\n \n const blockedFile = process.env.BLOCKEDFILE;\n... | 2024-08-24T20:10:11 |
rust-lang/rust | 6afebcc4dd5f4e4b3a7d117aa7dcdd38f560d5af | 08a4ce529f4ea17ad1c0fa2e39ca1f5e7cd047b6 | Fix feature gating for new `try bikeshed` expressions | [
{
"path": "compiler/rustc_ast_passes/src/feature_gate.rs",
"patch": "@@ -330,15 +330,11 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {\n fn visit_expr(&mut self, e: &'a ast::Expr) {\n match e.kind {\n ast::ExprKind::TryBlock(_, None) => {\n+ // `try { ... }` is... | 2026-02-12T06:19:26 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.