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
269edb88b28b7394335fb504d9924acd35d4ef38
35b2c28178bf4f79898d11dce0bc2a7ce675f670
Add jsx-runtime.react-server.js to file allowlist (#28301) https://github.com/facebook/react/pull/28217 doesn't work without this since it's not included in the files list. See https://github.com/dai-shi/waku/pull/467#issuecomment-1936965080. This should fix that.
[ { "path": "packages/react/package.json", "patch": "@@ -15,6 +15,7 @@\n \"cjs/\",\n \"umd/\",\n \"jsx-runtime.js\",\n+ \"jsx-runtime.react-server.js\",\n \"jsx-dev-runtime.js\",\n \"react.react-server.js\"\n ],", "additions": 1, "deletions": 0, "language": "JSON" } ]
2024-02-11T03:19:30
vercel/next.js
c278c8792f78daf2fe6c18d985f1e82ffdce93a8
04f77423296506747f94eab8b62c8e93c667c6f5
Turbopack: make invalidation from chunking context more granular (#81457) ### What? More granular invalidation to improve incremental builds with Skew Protections (modifies chunking context as it includes `chunk_suffix_path`).
[ { "path": "turbopack/crates/turbopack-browser/src/chunking_context.rs", "patch": "@@ -282,36 +282,6 @@ impl BrowserChunkingContext {\n }\n }\n \n-impl BrowserChunkingContext {\n- /// Returns the kind of runtime to include in output chunks.\n- ///\n- /// This is defined directly on `BrowserChunk...
2025-07-10T06:47:41
golang/go
702f164ed1a4a64cfa60e10723b9b7344bd3f601
fca5832607d7c1afa20b82ca00ba4a27e28c0d0a
cmd/vet: add hostport analyzer + test, release note Fixes #28308 Change-Id: I190e2fe513eeb6b90b0398841f67bf52510b5f59 Reviewed-on: https://go-review.googlesource.com/c/go/+/667596 Auto-Submit: Alan Donovan <adonovan@google.com> Commit-Queue: Alan Donovan <adonovan@google.com> Reviewed-by: Jonathan Amsterdam <jba@goo...
[ { "path": "doc/next/3-tools.md", "patch": "@@ -26,10 +26,17 @@ specifying the command's current version.\n \n ### Vet {#vet}\n \n+The `go vet` command includes new analyzers:\n+\n <!-- go.dev/issue/18022 -->\n \n-The `go vet` command now includes the\n-[waitgroup](https://pkg.go.dev/golang.org/x/tools/go/an...
2025-04-23T18:23:45
electron/electron
905aad9cb6007c2e0ff4897ec64f0c9967f63ee2
4c89061e0e79ccd8574c058e30d9b694f22ced1b
chore: type check JS in docs (#38423) * build(deps): update @electron/lint-roller * chore: type check JS in docs * docs: add @ts-check and @ts-expect-error to code blocks * chore: fix type check errors in docs * chore: add ts-type to blocks
[ { "path": "docs/api/app.md", "patch": "@@ -971,7 +971,7 @@ app.setJumpList([\n title: 'Tool A',\n program: process.execPath,\n args: '--run-tool-a',\n- icon: process.execPath,\n+ iconPath: process.execPath,\n iconIndex: 0,\n description: 'Runs Tool A'\n ...
2023-06-05T07:26:26
facebook/react
8a3def923bf88d23cc705a55416cd955e3dc169a
11a5254b9c1f18107a6e8ed77fa695a96aa2f5c0
Fixed sprout test failure
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/no-flow-bailout-unrelated.expect.md", "patch": "@@ -39,4 +39,4 @@ export const FIXTURE_ENTRYPOINT = {\n ```\n \n ### Eval output\n-(kind: ok) null\n+(kind: ok) null\n\\ No newline at end of file", "additions": 1...
2024-02-10T00:48:13
nodejs/node
47b877993f73ac28467e004ce7533eb6a707ec58
1fb23f189797822f354c951c8e5afdff4b9b0b71
child_process: fix incomplete prototype pollution hardening Prior pull request (#48726) hardened against prototype pollution vulnerabilities but effectively missed some use-cases which opened a window for prototype pollution for some child_process functions such as spawn(), spawnSync(), and execFileSync(). PR-URL: ht...
[ { "path": "lib/child_process.js", "patch": "@@ -568,6 +568,7 @@ function normalizeSpawnArguments(file, args, options) {\n else\n validateObject(options, 'options');\n \n+ options = { __proto__: null, ...options };\n let cwd = options.cwd;\n \n // Validate the cwd, if present.", "additions": 1...
2024-07-21T21:27:04
vercel/next.js
04f77423296506747f94eab8b62c8e93c667c6f5
45c48f2944a049770659f47e4abdaef04d36b797
docs: PPR requires canary (#81294) Fixes: https://github.com/vercel/next.js/issues/81292
[ { "path": "docs/01-app/03-api-reference/05-config/01-next-config-js/ppr.mdx", "patch": "@@ -1,7 +1,7 @@\n ---\n title: ppr\n description: Learn how to enable Partial Prerendering in Next.js.\n-version: experimental\n+version: canary\n related:\n title: Learn more about Partial Prerendering\n links:", ...
2025-07-10T06:26:37
golang/go
93e4e26d5b909c3dbeeb638534461155f06ecf5c
489917fc400ee25d34dfb06306da3b3cef126963
runtime: fix typos in comments Change-Id: Id169b68cc93bb6eb4cdca384efaaf971fcfa32b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/666316 Reviewed-by: abner chenc <chenguoqi@loongson.cn> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gser...
[ { "path": "src/runtime/mkduff.go", "patch": "@@ -179,8 +179,8 @@ func copyARM64(w io.Writer) {\n \n func zeroLOONG64(w io.Writer) {\n \t// R0: always zero\n-\t// R19 (aka REGRT1): ptr to memory to be zeroed\n-\t// On return, R19 points to the last zeroed dword.\n+\t// R20: ptr to memory to be zeroed\n+\t// ...
2025-04-17T12:21:29
electron/electron
4c89061e0e79ccd8574c058e30d9b694f22ced1b
8fdd7de3d27d159479b653c932feb0950b79738a
docs: fix SerialPort typing (#38544)
[ { "path": "docs/api/structures/serial-port.md", "patch": "@@ -2,9 +2,9 @@\n \n * `portId` string - Unique identifier for the port.\n * `portName` string - Name of the port.\n-* `displayName` string - A string suitable for display to the user for describing this device.\n-* `vendorId` string - Optional USB v...
2023-06-05T06:58:30
facebook/react
966932c525f1aeaa30bec7381e2899de9a6c074b
c10d711309922b170100f0fcf4cf8167ab4dcba2
fix again :(
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/no-flow-bailout-unrelated.expect.md", "patch": "@@ -9,54 +9,31 @@ function useX() {}\n function Foo(props) {\n // $FlowFixMe[incompatible-type]\n useX();\n- const x = new Foo(...props.foo, null, ...[props.bar]);\n- ...
2024-02-09T23:17:55
nodejs/node
52ba14405bed0759f992b4c34f8cef4659e39cb3
acd1d22ff8fdbefddfa4f13cd80e00a8f0857674
tools: fix `SLACK_TITLE` in invalid commit workflow PR-URL: https://github.com/nodejs/node/pull/53912 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": ".github/workflows/notify-on-push.yml", "patch": "@@ -60,7 +60,7 @@ jobs:\n env:\n SLACK_COLOR: '#DE512A'\n SLACK_ICON: https://github.com/nodejs.png?size=48\n- SLACK_TITLE: Invalid commit was pushed to ${{ github.repository.default_branch }}\n+ SLACK_...
2024-07-21T19:43:40
golang/go
8a85a2e70a97773ac96e899df7411eda4f5da2cb
7d0cb2a2adec493b8ad9d79ef35354c8e20f0213
runtime, internal/runtime/maps: speed-up empty/zero map lookups This lets the inliner do a better job optimizing the mapKeyError call. goos: linux goarch: amd64 pkg: runtime cpu: AMD Ryzen 5 4600G with Radeon Graphics │ /tmp/before2 │ /tmp/after3 │ ...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -2359,8 +2359,8 @@ var blockedLinknames = map[string][]string{\n \t\"crypto/internal/sysrand.fatal\": {\"crypto/internal/sysrand\"},\n \t\"crypto/rand.fatal\": {\"crypto/rand\"},\n \t\"internal/runtime/maps.errNilAs...
2025-04-07T13:21:16
vercel/next.js
45c48f2944a049770659f47e4abdaef04d36b797
c6e23a6bb3947486e0df44fb661cb9ea2dc243cd
Turbopack: improve fuzz testing to handle more cases (#81204) ### What? * Improve fuzz testing to test tasks becoming active and inactive. * Improve the verify_aggregation_graph feature to panic to allow running it during fuzz testing
[ { "path": "turbopack/crates/turbo-tasks-backend/fuzz/src/graph.rs", "patch": "@@ -1,12 +1,24 @@\n+use std::sync::Arc;\n+\n use anyhow::Result;\n use arbitrary::Arbitrary;\n use once_cell::sync::Lazy;\n use serde::{Deserialize, Serialize};\n-use turbo_tasks::{self, NonLocalValue, TurboTasks, Vc, trace::Trace...
2025-07-10T06:15:40
electron/electron
d818f35ad4ec44c83f21dd3656ef1072e196c34f
9ffffdb6ef202bd93be496b53fdd4156dd3504ce
build: fix doc-only early exit on Appveyor (#38547)
[ { "path": "appveyor-woa.yml", "patch": "@@ -68,9 +68,11 @@ for:\n node script/yarn.js install --frozen-lockfile\n node script/doc-only-change.js --prNumber=$env:APPVEYOR_PULL_REQUEST_NUMBER\n if ($LASTEXITCODE -eq 0) {\n- Write-warning \"Skipping build for doc only c...
2023-06-01T14:40:35
rust-lang/rust
389294dcde4f50e9c910e5da6aca0582ced13796
15e0ce9d69340dc83fd8a37ba2c1596354bea6bc
Fix documentation for `indexing_slicing` Replace typo'd name with link to the lint.
[ { "path": "clippy_lints/src/indexing_slicing.rs", "patch": "@@ -44,7 +44,7 @@ declare_clippy_lint! {\n /// Checks for usage of indexing or slicing that may panic at runtime.\n ///\n /// This lint does not report on indexing or slicing operations\n- /// that always panic, clippy's `out_of_boun...
2026-02-09T12:35:09
facebook/react
c10d711309922b170100f0fcf4cf8167ab4dcba2
8c7685ed40a421652a2189e8b72c6a64fbd70ddf
Further test fix
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/no-flow-bailout-unrelated.expect.md", "patch": "@@ -4,6 +4,8 @@\n ```javascript\n // @enableFlowSuppressions\n \n+function useX() {}\n+\n function Foo(props) {\n // $FlowFixMe[incompatible-type]\n useX();\n@@ -28,6 +3...
2024-02-09T23:09:26
nodejs/node
acd1d22ff8fdbefddfa4f13cd80e00a8f0857674
036ff03691874eea8141200953b062a6843102d6
doc: add info about prefix-only modules to `module.builtinModules` PR-URL: https://github.com/nodejs/node/pull/53954 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/module.md", "patch": "@@ -28,6 +28,8 @@ added:\n A list of the names of all modules provided by Node.js. Can be used to verify\n if a module is maintained by a third party or not.\n \n+Note: the list doesn't contain [prefix-only modules][] like `node:test`.\n+\n `module` in this context i...
2024-07-21T17:51:20
golang/go
7a177114df3e26f4362378e907a869c4fbbf38b7
7ce45a014c52375d6a3da577828c9f035a72857a
runtime: commit to spinbitmutex GOEXPERIMENT Use the "spinbit" mutex implementation always (including on platforms that need to emulate atomic.Xchg8), and delete the prior "tristate" implementations. The exception is GOARCH=wasm, where the Go runtime does not use multiple threads. For #68578 Change-Id: Ifc29bbfa050...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -67,8 +67,6 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {\n \t\tregabiSupported = true\n \t}\n \n-\thaveThreads := goarch != \"wasm\"\n-\n \t// Older versions (anything before V16) of dsymutil don't handle\n \t// the ...
2025-03-14T19:38:34
vercel/next.js
2f43b359dfc0f3afb6fbab03867d3f8a2fa4ea66
1781abd7d4a7e48e1fbd1b121d79ae26f8935645
fix(turbopack-tests): Ignore or clean up empty snapshot test directories, fix non-nextest execution testing (#81479) This PR fixes two bugs I ran into while trying to add a test case. ## Empty Snapshot Tests With No Input Git tracks files, not directories, so it doesn't track or delete empty directories. This can le...
[ { "path": "turbopack/crates/turbopack-tests/tests/execution.rs", "patch": "@@ -5,7 +5,7 @@\n \n mod util;\n \n-use std::path::PathBuf;\n+use std::{env, path::PathBuf, sync::Once};\n \n use anyhow::{Context, Result};\n use dunce::canonicalize;\n@@ -170,7 +170,8 @@ fn get_messages(js_results: JsResult) -> Vec...
2025-07-10T05:05:52
electron/electron
9ffffdb6ef202bd93be496b53fdd4156dd3504ce
c14f7b7d0babba14390da10b4066061fc7da3e25
docs: fix performance tutorial (#38469) * docs: fixed "Analyze runtime performance" link * docs: added missing list item
[ { "path": "docs/tutorial/performance.md", "patch": "@@ -54,7 +54,7 @@ at once, consider the [Chrome Tracing](https://www.chromium.org/developers/how-t\n \n ### Recommended Reading\n \n-* [Get Started With Analyzing Runtime Performance][chrome-devtools-tutorial]\n+* [Analyze runtime performance][chrome-devto...
2023-05-31T19:56:06
facebook/react
8c7685ed40a421652a2189e8b72c6a64fbd70ddf
48024b76bbb29028ea94f816efb5b69eeb01e948
Fix breakages and add fixture entrypoint
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Suppression.ts", "patch": "@@ -13,6 +13,7 @@ import {\n CompilerSuggestionOperation,\n ErrorSeverity,\n } from \"../CompilerError\";\n+import { assertExhaustive } from \"../Utils/utils\";\n \n /**\n * Captures the start and end range...
2024-02-09T23:00:05
golang/go
7ce45a014c52375d6a3da577828c9f035a72857a
95611c0eb4436102ab0dad3a705acff5f5eb7aca
runtime: fix test of when a mutex is contended This is used only in tests that verify reports of runtime-internal mutex contention. For #66999 For #70602 Change-Id: I72cb1302d8ea0524f1182ec892f5c9a1923cddba Reviewed-on: https://go-review.googlesource.com/c/go/+/667095 Reviewed-by: Michael Knyszek <mknyszek@google.co...
[ { "path": "src/runtime/lock_spinbit.go", "patch": "@@ -143,7 +143,7 @@ func mutexPreferLowLatency(l *mutex) bool {\n }\n \n func mutexContended(l *mutex) bool {\n-\treturn atomic.Loaduintptr(&l.key) > mutexLocked\n+\treturn atomic.Loaduintptr(&l.key)&^mutexMMask != 0\n }\n \n func lock(l *mutex) {", "ad...
2025-04-08T18:34:56
nodejs/node
036ff03691874eea8141200953b062a6843102d6
d0a6b605fba6cd69a82e6f12ff0363eef8fe1ee9
test: reduce flakiness of `test-assert-esm-cjs-message-verify` PR-URL: https://github.com/nodejs/node/pull/53967 Fixes: https://github.com/nodejs/node/issues/53962 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Marco Ippolito <marcoippolito54...
[ { "path": "test/parallel/test-assert-esm-cjs-message-verify.js", "patch": "@@ -1,51 +1,31 @@\n 'use strict';\n \n const { spawnPromisified } = require('../common');\n-const tmpdir = require('../common/tmpdir');\n-const assert = require('assert');\n-const { writeFileSync, unlink } = require('fs');\n-const { ...
2024-07-21T17:34:38
vercel/next.js
1781abd7d4a7e48e1fbd1b121d79ae26f8935645
b49ed9087df94b7b8f3b4bd6fd80731feb3db9bd
fix(packages/next-bundle-analyzer): file extension of webpack bundle analyzer report (#81372) ### Issue When `analyzerMode` is selected as `json`, the bundle analyzer still emits a `.html` file. ### Fix Added a check for `analyzerMode` === `json` to determine file extension. --------- Co-authored-by: graphite-app...
[ { "path": "packages/next-bundle-analyzer/index.js", "patch": "@@ -5,6 +5,8 @@ module.exports =\n return nextConfig\n }\n \n+ const extension = analyzerMode === 'json' ? '.json' : '.html'\n+\n return Object.assign({}, nextConfig, {\n webpack(config, options) {\n const { BundleA...
2025-07-10T04:37:39
rust-lang/rust
0cf7b94bf52f45996776d8b27708516928b12e0d
3f3d11c6edb1acf939e480359df124cdd5a44d5f
fix Nix setup description
[ { "path": "src/doc/rustc-dev-guide/src/building/suggested.md", "patch": "@@ -426,7 +426,7 @@ You can then use that rust2 folder as a separate workspace for modifying and bui\n \n Several nix configurations are defined in `src/tools/nix-dev-shell`.\n \n-If you're using direnv, you can create a symbol link to...
2025-11-13T14:44:20
facebook/react
48024b76bbb29028ea94f816efb5b69eeb01e948
19476aa5f6f448a97733dc95739b4873a8f8ab12
Fix lints
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts", "patch": "@@ -199,7 +199,7 @@ export function compileProgram(\n const suppressions = findProgramSuppressions(\n pass.comments,\n options.eslintSuppressionRules ?? DEFAULT_ESLINT_SUPPRESSIONS,\n- options.flowSuppr...
2024-02-09T22:50:06
vercel/next.js
639c731600746c9be4543c9662b540e7d5ef0fb0
4e51eb2140119bf29d953f30aadec578abf72076
Update image.mdx (#81454) fix: Input image name and output image name is different and causes confusion. --------- Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
[ { "path": "docs/01-app/03-api-reference/02-components/image.mdx", "patch": "@@ -412,10 +412,10 @@ When providing the `src` prop to the `<Image>` component, both the `srcset` and\n ```html filename=\"output.html\"\n <img\n srcset=\"\n- /_next/image?url=%2Fme.jpg&w=640&q=75 1x,\n- /_next/image?url=%2F...
2025-07-09T18:41:14
nodejs/node
bc677d19377f3dc8e6c4203d4dd84cbbaaea6093
befbe69a0d3617c5e3a71abce5c396a8de453eaa
doc,tools: enforce use of `node:` prefix PR-URL: https://github.com/nodejs/node/pull/53950 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Mohammed Keyvanzad...
[ { "path": "doc/api/async_hooks.md", "patch": "@@ -704,7 +704,7 @@ import {\n executionAsyncId,\n executionAsyncResource,\n createHook,\n-} from 'async_hooks';\n+} from 'node:async_hooks';\n const sym = Symbol('state'); // Private symbol to avoid pollution\n \n createHook({", "additions": 1, "d...
2024-07-21T15:44:27
golang/go
04a9b16f3d69aa66f3aaab44dcd322e4a02a82aa
c0245b31fb157590b69245f7dff27f0605b73138
cmd/compile/internal/escape: avoid reading ir.Node during inner loop of walkOne Broadly speaking, escape analysis has two main phases. First, it traverses the AST while building a data-flow graph of locations and edges. Second, during "solve", it repeatedly walks the data-flow graph while carefully propagating informa...
[ { "path": "src/cmd/compile/internal/escape/graph.go", "patch": "@@ -75,6 +75,8 @@ type location struct {\n \tcaptured bool // has a closure captured this variable?\n \treassigned bool // has this variable been reassigned?\n \taddrtaken bool // has this variable's address been taken?\n+\tparam bool /...
2025-03-12T18:45:17
facebook/react
24ed13e1f04ccc843f559948137405a7191b4b13
fea7b5ac0d04d9749acf3fe1f0134cfb56a1648e
Update error message and comments
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/ComputeUnconditionalBlocks.ts", "patch": "@@ -23,7 +23,7 @@ export function computeUnconditionalBlocks(fn: HIRFunction): Set<BlockId> {\n while (current !== null && current !== exit) {\n CompilerError.invariant(!unconditionalBlocks.has(cur...
2024-02-14T00:45:18
vercel/next.js
8f014afff307d22e1d2b2c844b3ed940e645c6db
747ef2babe269885621d552fe980f7f6838aea6b
Consolidate dynamic IO errors test suites into a single fixture (#81451) Previously, we had separate fixtures for each test case because it's complicated to assert on build errors when multiple pages have errors. This meant that running those tests, and especially updating their snapshots, took forever because each te...
[ { "path": "test/e2e/app-dir/dynamic-io-errors/dynamic-io-errors.platform-dynamic.test.ts", "patch": "@@ -1,172 +0,0 @@\n-import { isNextDev, nextTestSetup } from 'e2e-utils'\n-import { assertNoErrorToast } from 'next-test-utils'\n-import { getPrerenderOutput } from './utils'\n-\n-describe.each(\n- isNextDe...
2025-07-09T18:09:38
nodejs/node
50d09bc5f63552ebc26f2edb283cf34e523334a6
cf8e5356d9fbbdca40d9b9fe062b3c292b7e91e3
test: deflake test-blob-file-backed Avoid race conditions by using a different file for each subtest. Fixes: https://github.com/nodejs/node/issues/51860 PR-URL: https://github.com/nodejs/node/pull/53920 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
[ { "path": "test/parallel/test-blob-file-backed.js", "patch": "@@ -21,13 +21,17 @@ const tmpdir = require('../common/tmpdir');\n const testfile = tmpdir.resolve('test-file-backed-blob.txt');\n const testfile2 = tmpdir.resolve('test-file-backed-blob2.txt');\n const testfile3 = tmpdir.resolve('test-file-backed...
2024-07-20T13:16:23
rust-lang/rust
ae24fdaccc71600ec540ff018208c5d592ad016a
5ad44f28c67818641f40b78167c92a9ebb1311c4
fix: Fix `set_top_subtree_delimiter_span` using wrong index for close span
[ { "path": "src/tools/rust-analyzer/crates/tt/src/storage.rs", "patch": "@@ -488,7 +488,7 @@ impl TopSubtree {\n unreachable!()\n };\n *open_span = S::new(span.open.range, 0);\n- *close_span = S::new(span.close.range, 0);\n+ *close_span = S::new(s...
2026-02-09T11:45:01
golang/go
ad0434200c4b17c339852c8c0ec0c0212f8563d9
a4d0269a4f74e8a66ee7487491857e1a1c582231
fs: clarify documentation for ReadDir method The fs.ReadDir method behaves the same way as os.ReadDir, in that when n <= 0, ReadDir returns all DirEntry values remaining in the dictionary. Update the comment to reflect that only remaining DirEntry values are returned (not all entries), for subsequent calls. Fixes #6...
[ { "path": "src/io/fs/fs.go", "patch": "@@ -129,7 +129,7 @@ type ReadDirFile interface {\n \t// At the end of a directory, the error is io.EOF.\n \t// (ReadDir must return io.EOF itself, not an error wrapping io.EOF.)\n \t//\n-\t// If n <= 0, ReadDir returns all the DirEntry values from the directory\n+\t// ...
2025-04-05T20:56:42
facebook/react
69247869734374dd3f66076228f78df8ee0ca238
19b4abed69643be0c6410c6d4a4fdb23c276ef0e
[be] Change validate functions to not return unnecessary Result These validations needs to be able to transitively check for violations within function expressions, without immediately erroring. So the inner "-Impl" helpers return a Result. But the outer, exported validate functions don't need to return a Result, ...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Pipeline.ts", "patch": "@@ -175,11 +175,11 @@ function* runWithEnvironment(\n }\n \n if (env.config.validateRefAccessDuringRender) {\n- validateNoRefAccessInRender(hir).unwrap();\n+ validateNoRefAccessInRender(hir);\n }\n \n ...
2024-02-14T00:45:17
vercel/next.js
af6fc0ab691a724007583a9f3fb4c320da96d1a7
6560ec279aaca9734df0f430800489319e1684b2
Turbopack: handle all side effects and improve pattern (#81455) Avoid the `let _ = task().resolve().await?` pattern. Instead use the `task().as_side_effect().await?` pattern. This is much better, because the compiler will yell at you if you miss out the `as_side_effect()` or the `await?` due to `must_use`. In the old...
[ { "path": "crates/napi/src/next_api/project.rs", "patch": "@@ -947,10 +947,10 @@ pub async fn all_entrypoints_write_to_disk_operation(\n project: ResolvedVc<ProjectContainer>,\n app_dir_only: bool,\n ) -> Result<Vc<Entrypoints>> {\n- let _ = project\n+ project\n .project()\n .e...
2025-07-09T15:20:34
nodejs/node
cf8e5356d9fbbdca40d9b9fe062b3c292b7e91e3
6fc0218e3ea13c91f0fe388ee33af5a73f776252
lib: improve error message when index not found on cjs PR-URL: https://github.com/nodejs/node/pull/53859 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
[ { "path": "src/node_file.cc", "patch": "@@ -3185,6 +3185,8 @@ void BindingData::LegacyMainResolve(const FunctionCallbackInfo<Value>& args) {\n return;\n }\n \n+ std::string package_initial_file = \"\";\n+\n ada::result<ada::url_aggregator> file_path_url;\n std::optional<std::string> initial_file_...
2024-07-20T00:22:24
rust-lang/rust
8cd47adab253c6ec0eea949563215fa7fdbc7241
3d0989266de7d312a17ffac4e8251eb7a710358f
libm: Fix tests for lgamma The tests were using `rug::ln_gamma` as a reference for `libm::lgamma`, which actually computes the natural logarithm *of the absolute value* of the Gamma function. This changes the range of inputs used for the icount-benchmarks of these functions, which causes false regressions in [1]. [1...
[ { "path": "library/compiler-builtins/libm-test/src/domain.rs", "patch": "@@ -207,7 +207,7 @@ impl<F: Float, I: Int> EitherPrim<Domain<F>, Domain<I>> {\n .into_prim_float()];\n \n /// Domain for `loggamma`\n- const LGAMMA: [Self; 1] = Self::STRICTLY_POSITIVE;\n+ const LGAMMA: [Self; 1] = Self::...
2026-02-09T10:32:04
golang/go
a4d0269a4f74e8a66ee7487491857e1a1c582231
7f516a31b021f15c1053c3ebed1fe1aa644d60e3
math/big: use clearer loop bounds check elimination Checking that the lengths are equal and panicking teaches the compiler that it can assume “i in range for z” implies “i in range for x”, letting us simplify the actual loops a bit. It also turns up a few places in math/big that were playing maybe a little too fast a...
[ { "path": "src/math/big/arith.go", "patch": "@@ -26,17 +26,13 @@ const (\n \t_M = _B - 1 // digit mask\n )\n \n-// Many of the loops in this file are of the form\n-// for i := 0; i < len(z) && i < len(x) && i < len(y); i++\n-// i < len(z) is the real condition.\n-// However, checking i < len(x) && ...
2025-04-11T12:54:58
facebook/react
19b4abed69643be0c6410c6d4a4fdb23c276ef0e
bde30f02840ad49119c2433d54ad352e95f53420
[be] Remove unused validateRefAccessDuringRenderFunctionExpressions flag I had split this up from the main validation since function validation was less precise; now that previous PRs fix the false positives we can remove this extra flag.
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/Environment.ts", "patch": "@@ -172,14 +172,6 @@ const EnvironmentConfigSchema = z.object({\n // Validate that ref values (`ref.current`) are not accessed during render.\n validateRefAccessDuringRender: z.boolean().default(false),\n \n- /**\...
2024-02-14T00:45:17
electron/electron
c14f7b7d0babba14390da10b4066061fc7da3e25
74b8133a9341eefeddbc3245ad8bd6bed71f547a
refactor: remove unused switches (#38497) * refactor: remove unused declaration of electron::kSHA1Certificate usage removed in 13a1d79 * refactor: remove unused declaration of electron::kSHA1MajorDescription usage removed in 13a1d79 * refactor: remove unused declaration of electron::kSHA1MinorDescription ...
[ { "path": "shell/common/electron_constants.cc", "patch": "@@ -9,22 +9,6 @@ namespace electron {\n const char kBrowserForward[] = \"browser-forward\";\n const char kBrowserBackward[] = \"browser-backward\";\n \n-const char kSHA1Certificate[] = \"SHA-1 Certificate\";\n-const char kSHA1MajorDescription[] =\n- ...
2023-05-31T19:55:21
nodejs/node
45ff44b9878ee73be2d1e18263198f1243b858e4
cd39578e53d6502de03f15620d15835b86954ac8
2024-07-19, Version 22.5.1 (Current) Notable changes: This release fixes a regression introduced in Node.js 22.5.0. The problem is known to display the following symptoms: - Crash with ``` FATAL ERROR: v8::Object::GetCreationContextChecked No creation context available ``` - npm errors with `npm error Exit handler ...
[ { "path": "CHANGELOG.md", "patch": "@@ -38,7 +38,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.5.0\">22.5.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.5.1\">22.5.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V22.md#22.5.0\">2...
2024-07-19T00:54:47
golang/go
b44b360dd40a537e953225d70ca96361e2c57600
930cf59ba8091bfd56c71357085bc7de74daf421
math/big: add more complete tests and benchmarks of assembly Also fix a few real but currently harmless bugs from CL 664895. There were a few places that were still wrong if z != x or if a != 0. Change-Id: Id8971e2505523bc4708780c82bf998a546f4f081 Reviewed-on: https://go-review.googlesource.com/c/go/+/664897 LUCI-Try...
[ { "path": "src/math/big/arith_amd64.s", "patch": "@@ -430,7 +430,7 @@ adx:\n \tMOVQ y+48(FP), R8\n \tMOVQ m+72(FP), DX\n \tMOVQ $0, BX // i = 0\n-\tMOVQ $0, CX // carry\n+\tMOVQ a+80(FP), CX // carry\n \tCMPQ R11, $8\n \tJAE adx_loop_header\n \tCMPQ BX, R11\n@@ -446,7 +446,7 @@ adx_loop:\n \tMULXQ (R...
2025-03-30T20:56:29
facebook/react
5f1b8fd57f672601fc11a44f537aaeec2b793c03
6dae958eab3b19a6d89ea13242b87ac8cad81e97
Improve validateNoRefAccessInRender Rewrites the validation to not rely on the mutable range of functions to determine whether they are called or not, since the range can be extended for other reasons (they happen to reference a mutable value that is mutated later, even though the function isn't called during rend...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Pipeline.ts", "patch": "@@ -180,7 +180,7 @@ function* runWithEnvironment(\n }\n \n if (env.config.validateRefAccessDuringRender) {\n- validateNoRefAccessInRender(hir);\n+ validateNoRefAccessInRender(hir).unwrap();\n }\n \n i...
2024-02-14T00:45:15
vercel/next.js
6560ec279aaca9734df0f430800489319e1684b2
8b390602489f12d7ad597939fb8851ef357c7b7c
Turbopack: fix unused export removal with mixed reexport and locals (#81422) We had this reference which caused all locals to be used: ``` node_modules/@react-spring/core/dist/react-spring-core.esm.js [app-client] (ecmascript) <module evaluation> -> node_modules/@react-spring/core/dist/react-spring-core.esm.js [ap...
[ { "path": "turbopack/crates/turbopack-ecmascript/src/references/esm/base.rs", "patch": "@@ -559,8 +559,12 @@ impl EsmAssetReference {\n ));\n }\n \n- if merged_index.is_some() && this.export_name == Some(ModulePart::Evaluation) {\n- ...
2025-07-09T15:06:53
electron/electron
57147d1b8d1352e8f49d6086b9957869d0d1e75a
67f273a6d69eb43fda8a520d5c9bba375a6bcdab
fix: `navigator.connection` not working as intended (#38491) * fix: navigator.connection not working as intended * chore: make network quality methods private
[ { "path": "shell/browser/browser_process_impl.cc", "patch": "@@ -25,6 +25,8 @@\n #include \"components/proxy_config/proxy_config_dictionary.h\"\n #include \"components/proxy_config/proxy_config_pref_names.h\"\n #include \"content/public/browser/child_process_security_policy.h\"\n+#include \"content/public/b...
2023-05-31T15:06:25
nodejs/node
7fe67b707861c742e0ea984b93e6bba8101abd56
86f79e6e7c80d39d4e2c8a92d1d612b3130cd9c0
doc,tty: add documentation for ReadStream and WriteStream Co-authored-by: Qingyu Deng <i@ayase-lab.com> PR-URL: https://github.com/nodejs/node/pull/53567 Fixes: https://github.com/nodejs/node/issues/37780 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Claudio...
[ { "path": "doc/api/tty.md", "patch": "@@ -98,6 +98,33 @@ Represents the writable side of a TTY. In normal circumstances,\n `tty.WriteStream` instances created for a Node.js process and there\n should be no reason to create additional instances.\n \n+### `new tty.ReadStream(fd[, options])`\n+\n+<!-- YAML\n+a...
2024-07-19T10:53:24
rust-lang/rust
eb2ba7d6b9429297c582fed42fd5da5e5a51cd8f
930ecbcdf8905c5c8549056c73fcabdd8d6e1b3d
fix ICE in supertrait_vtable_slot when supertrait has missing generics
[ { "path": "compiler/rustc_trait_selection/src/traits/vtable.rs", "patch": "@@ -434,7 +434,16 @@ pub(crate) fn supertrait_vtable_slot<'tcx>(\n }\n };\n \n- prepare_vtable_segments(tcx, source_principal, vtable_segment_callback).unwrap()\n+ prepare_vtable_segments(tcx, source_principal, vtab...
2026-02-09T09:18:24
golang/go
930cf59ba8091bfd56c71357085bc7de74daf421
28fd9fa8a6de5f5e75a3ca2eeaa55b5ae4a2722b
regexp/syntax: recognize category aliases like \p{Letter} The Unicode specification defines aliases for some of the general category names. For example the category "L" has alias "Letter". The regexp package supports \p{L} but not \p{Letter}, because there was nothing in the Unicode tables that lets regexp know about...
[ { "path": "doc/next/6-stdlib/99-minor/regexp/syntax/70781.md", "patch": "@@ -0,0 +1,4 @@\n+The `\\p{name}` and `\\P{name}` character class syntaxes now accept the names\n+Any, ASCII, Assigned, Cn, and LC, as well as Unicode category aliases like `\\p{Letter}` for `\\pL`.\n+Following [Unicode TR18](https://u...
2025-01-08T16:27:07
facebook/react
f7f05501e07bbd693637f50c635a15a492a7d0e8
a107ba81ed08e25696cb17a015b6c6f8bac606b0
Support destructuring assignment of context variables Fixes T178003134. Previously we did not check whether values reassigned during a destructuring assignment were context variables. This would either miscompile, or as of my fix earlier in #2579, would fail validation. Specifically, this happened on AssignmentEpr...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -134,7 +134,8 @@ export function lower(\n param.node.loc ?? GeneratedSource,\n InstructionKind.Let,\n param,\n- place\n+ place,\n+ \"Assignment\"\n );\n } else if ...
2024-02-14T00:45:14
vercel/next.js
8b390602489f12d7ad597939fb8851ef357c7b7c
6c112f67f2162cdfcf19b306e8e591adfdd2a38a
Turbopack: fix duplicate externals modules (#81306) Don't attatch the resolve request's affecting sources to the external module itself. This list wasn't part of the module ident and would lead to duplicate modules.
[ { "path": "turbopack/crates/turbopack-core/src/resolve/mod.rs", "patch": "@@ -76,7 +76,6 @@ pub enum ModuleResolveResultItem {\n /// uri, path, reference, etc.\n name: RcStr,\n ty: ExternalType,\n- traced: Option<ResolvedVc<ModuleResolveResult>>,\n },\n /// A module co...
2025-07-09T14:04:42
electron/electron
40e724e5ddd92879a73fd3eb53af2b128947e9d6
13f9e2db40df5537c13ee72a92fad13a0c09b730
fix: DCHECK minimizing parent window with non-modal child (#38460)
[ { "path": "shell/browser/native_window.h", "patch": "@@ -149,6 +149,9 @@ class NativeWindow : public base::SupportsUserData,\n virtual std::string GetAlwaysOnTopLevel() = 0;\n virtual void SetActive(bool is_key) = 0;\n virtual bool IsActive() const = 0;\n+ virtual void RemoveChildWindow(NativeWindow*...
2023-05-31T09:57:44
rust-lang/rust
51affa03942074a84ccce448ea6b7b9e02a4f4a6
2b1dc3144bd38e3f655bcc991b685d824f4176f6
add tests for s390x-unknown-none-softfloat tests will check: - correct emit of assembly for softfloat target - incompatible set features will emit warnings/errors - incompatible target tripples in crates will not link
[ { "path": "tests/assembly-llvm/s390x-softfloat-abi.rs", "patch": "@@ -0,0 +1,64 @@\n+//@ add-minicore\n+//@ revisions: enable-softfloat disable-softfloat\n+//@ assembly-output: emit-asm\n+//@ compile-flags: -Copt-level=3 --crate-type=lib\n+//@[enable-softfloat] compile-flags: --target=s390x-unknown-none-sof...
2026-01-22T12:50:54
nodejs/node
014dad5953a632f44e668f9527f546c6e1bb8b86
bcec922e3e9579d7f58f2c19fc82eb238f87a34c
deps: fix include_dirs of nbytes PR-URL: https://github.com/nodejs/node/pull/53862 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "deps/nbytes/nbytes.gyp", "patch": "@@ -6,9 +6,9 @@\n {\n 'target_name': 'nbytes',\n 'type': 'static_library',\n- 'include_dirs': ['src', 'include'],\n+ 'include_dirs': ['include'],\n 'direct_dependent_settings': {\n- 'include_dirs': ['src', 'include'],\n+ ...
2024-07-18T07:39:34
golang/go
28fd9fa8a6de5f5e75a3ca2eeaa55b5ae4a2722b
252c939445b6b03c5c82b54f7657c5d984ce6348
unicode: add CategoryAliases, Cn, LC CategoryAliases is for regexp to use, for things like \p{Letter} as an alias for \p{L}. Cn and LC are special-case categories that were never implemented but should have been. These changes were generated by the updated generator in CL 641395. Fixes #70780. Change-Id: Ibba20ff76...
[ { "path": "api/next/70780.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg unicode, var CategoryAliases map[string]string #70780\n+pkg unicode, var Cn *RangeTable #70780\n+pkg unicode, var LC *RangeTable #70780", "additions": 3, "deletions": 0, "language": "Plain Text" }, { "path": "doc/next/6-stdl...
2025-01-08T16:21:30
facebook/react
a107ba81ed08e25696cb17a015b6c6f8bac606b0
5dd55e881b374a5a0b8c5c962c08bee194297f15
[BE] Remove navigator; edit sprout fixtures --- I recall adding the navigator override because some React library file had done an unconditional access, but this doesn't seem to be the case anymore. Regardless, newer versions of nodejs comes with a global `navigator` [see thread](https://github.com/nodejs/node/i...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/hoisting-computed-member-expression.expect.md", "patch": "@@ -2,17 +2,21 @@\n ## Input\n \n ```javascript\n+import { Stringify } from \"shared-runtime\";\n+\n function hoisting() {\n- function onClick(x) {\n- return x...
2024-02-13T00:12:01
electron/electron
56138d879e57d5d5fce55ecbe3f8d3a8ed08e7f8
ddcec84ace5f9f3d4bf705c5bd963abc415160d3
fix: Windows FrameView always appearing inactive (#38468)
[ { "path": "shell/browser/ui/win/electron_desktop_window_tree_host_win.cc", "patch": "@@ -37,14 +37,6 @@ bool ElectronDesktopWindowTreeHostWin::PreHandleMSG(UINT message,\n return native_window_view_->PreHandleMSG(message, w_param, l_param, result);\n }\n \n-bool ElectronDesktopWindowTreeHostWin::ShouldPai...
2023-05-28T22:39:13
nodejs/node
fcda2844e6c7547e4fb4bbcb9cd63689bf721c1f
770ef3d0619a94b768f3d7f3064aa66f4a410eff
doc: fix release date for 22.5.0 The release has been postponed and I forgot to update the date in the `CHANGELOG_V22.md`. PR-URL: https://github.com/nodejs/node/pull/53889 Refs: https://github.com/nodejs/node/pull/53826 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "doc/changelogs/CHANGELOG_V22.md", "patch": "@@ -45,7 +45,7 @@\n \n <a id=\"22.5.0\"></a>\n \n-## 2024-07-16, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95\n+## 2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95\n \n ### Notable Changes\n ", "additions": 1, "de...
2024-07-17T17:19:02
vercel/next.js
4d3a02d86f7163cc6a7a7b3a6366c11e12d6c78d
11cbba8bd5967ce605ce351956fca4d50b0ead99
Allow server functions to be used as client component props in `'use cache'` (#81431) When passing server actions or nested `'use cache'` functions inside of cached components as props to client components, we need to make sure that those are registered as server references, even when restoring the parent component fr...
[ { "path": "crates/next-custom-transforms/src/transforms/server_actions.rs", "patch": "@@ -352,12 +352,6 @@ impl<C: Comments> ServerActions<C> {\n id\n }\n \n- fn gen_ref_ident(&mut self) -> Atom {\n- let id: Atom = format!(\"$$RSC_SERVER_REF_{0}\", self.reference_index).into();\n- ...
2025-07-09T13:41:15
facebook/react
06e410ec608820b65d81536bb4630228b4e04d48
374fd68a50f00237555cdeb60ad01cba171328f9
Move modern strict to experimental (#28152) Turn this on Edited: ope, nvm <details> Looks like there's still an outstanding issue with this. The original PR turned off a strict effects test, which causes a stray `componentWillUnmount` to fire. https://github.com/facebook/react/commit/5d1ce651393524639a3b4...
[ { "path": "packages/react-reconciler/src/ReactFiberWorkLoop.js", "patch": "@@ -3792,12 +3792,9 @@ function commitDoubleInvokeEffectsInDEV(\n hasPassiveEffects: boolean,\n ) {\n if (__DEV__) {\n- if (useModernStrictMode) {\n+ if (useModernStrictMode && root.tag !== LegacyRoot) {\n let doubleI...
2024-02-09T21:59:47
electron/electron
ddcec84ace5f9f3d4bf705c5bd963abc415160d3
185180a8e24c70ace61b8e690f55ee2aea4ddc56
chore: bump chromium to 116.0.5791.0 (main) (#38448) * chore: bump chromium in DEPS to 116.0.5791.0 * 4504298: Relax checks in BlobDataBuilder::AppendBlob. https://chromium-review.googlesource.com/c/chromium/src/+/4504298 * chore: fixup patch indices --------- Co-authored-by: electron-roller[bot] <84116...
[ { "path": "DEPS", "patch": "@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'\n \n vars = {\n 'chromium_version':\n- '115.0.5790.0',\n+ '116.0.5791.0',\n 'node_version':\n 'v18.16.0',\n 'nan_version':", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "patche...
2023-05-25T14:10:08
nodejs/node
770ef3d0619a94b768f3d7f3064aa66f4a410eff
589b67aa1748974b24df4b4b7281e0cce4e915c7
doc: fix casing of GitHub handle for two collaborators PR-URL: https://github.com/nodejs/node/pull/53857 Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Uli...
[ { "path": "README.md", "patch": "@@ -170,7 +170,7 @@ For information about the governance of the Node.js project, see\n **Benjamin Gruenbaum** <<benjamingr@gmail.com>>\n * [BridgeAR](https://github.com/BridgeAR) -\n **Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)\n-* [GeoffreyBooth](https://gith...
2024-07-17T17:07:41
vercel/next.js
b77eb3e127986b47cab9eced2253f00de12a5a14
25781670de462dec915af465da6d623aefbf8397
Turbopack: fix hanging problem due to stale tasks (#81413) ### What? When tasks become dirty they eventually need to be scheduled again when needed. To do that we maintain "activeness" of tasks. And we also maintain "dirtyness" of subgraphs, to allow for strongly consistency of a subgraph. But all that is a bit mor...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/operation/aggregation_update.rs", "patch": "@@ -1224,22 +1224,18 @@ impl AggregationUpdateQueue {\n ctx.schedule(task_id);\n }\n }\n- let aggregation_number = get_aggregation_number(&task);\n- if is...
2025-07-09T06:19:21
golang/go
0e17905793cb5e0acc323a0cdf3733199d93976a
c889004615b40535ebd5054cbcf2deebdb3a299a
encoding/json: add json/v2 with GOEXPERIMENT=jsonv2 guard This imports the proposed new v2 JSON API implemented in github.com/go-json-experiment/json as of commit d3c622f1b874954c355e60c8e6b6baa5f60d2fed. When GOEXPERIMENT=jsonv2 is set, the encoding/json/v2 and encoding/jsontext packages are visible, the encoding/js...
[ { "path": "src/encoding/json/bench_test.go", "patch": "@@ -8,6 +8,8 @@\n // We benchmark converting between the JSON form\n // and in-memory data structures.\n \n+//go:build !goexperiment.jsonv2\n+\n package json\n \n import (", "additions": 2, "deletions": 0, "language": "Go" }, { "path...
2025-04-11T21:19:51
facebook/react
d4cdaf252337027615812a01c366c7ae0265ea95
6da1912eed161c766689eb4bde336b9854e912e7
Fix assignment expression with context variables Fixes the one case discovered in the previous PR; for AssignmentExpression we correctly lowered the store instruction to a local/context, but then always used a `LoadLocal` to read the result back. The load instruction appears like it might be dangling - i think wh...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -1869,6 +1869,7 @@ function lowerExpression(\n type: null,\n loc: exprLoc,\n });\n+ return { kind: \"LoadLocal\", place: identifier, loc: exprLoc };\n } else...
2024-02-09T22:25:33
rust-lang/rust
f394d1e6c617439e027fe2fae2b9d581709639db
36058bfc0fc4439c6ce2a741e4c896a0e61dbb6d
Fix lockfile
[ { "path": "src/tools/rust-analyzer/Cargo.lock", "patch": "@@ -3754,15 +3754,3 @@ dependencies = [\n \"memchr\",\n \"time\",\n ]\n-\n-[[patch.unused]]\n-name = \"salsa\"\n-version = \"0.25.2\"\n-\n-[[patch.unused]]\n-name = \"salsa-macro-rules\"\n-version = \"0.25.2\"\n-\n-[[patch.unused]]\n-name = \"salsa...
2026-02-09T05:21:53
electron/electron
82af000a371eb74cddc16ed4ef025b7481c54c50
1c075e5ea0416d6f0a030d42350c7be91e389a5c
chore: cleanup eslint suppressions (#38417) * chore: cleanup eslint suppressions * address feedback * revert script/lib/azput.js * revert spec/fixtures/apps/remote-control/main.js * address feedback * revert typings/internal-ambient.d.ts
[ { "path": "lib/asar/fs-wrapper.ts", "patch": "@@ -574,7 +574,6 @@ export const wrapFsWithAsar = (fs: Record<string, any>) => {\n };\n \n const { readFile: readFilePromise } = fs.promises;\n- // eslint-disable-next-line @typescript-eslint/no-unused-vars\n fs.promises.readFile = function (pathArgument:...
2023-05-25T01:09:17
nodejs/node
aca49fc7d16ae87876fec6285b658868e04b1cf7
05ca03569e22f82d5a20428119cfc6b17fcaf36d
src: fix env-file flag to ignore spaces before quotes Fix to ignore spaces between '=' and quoted string in env file Fixes: https://github.com/nodejs/node/issues/53461 Signed-off-by: Mohit Malhotra <dev.mohitmalhotra@gmail.com> PR-URL: https://github.com/nodejs/node/pull/53786 Reviewed-By: Yagiz Nizipli <yagiz@nizip...
[ { "path": "src/node_dotenv.cc", "patch": "@@ -129,6 +129,7 @@ void Dotenv::ParseContent(const std::string_view input) {\n key = content.substr(0, equal);\n content.remove_prefix(equal + 1);\n key = trim_spaces(key);\n+ content = trim_spaces(content);\n \n if (key.empty()) {\n break;...
2024-07-17T09:22:42
vercel/next.js
37ab1aac4983f85d8bd94c6cb1a2f4ef9d6b7678
203adbd5d054609812d1f3666184875dcca13f3a
update: add nebrelbug to labeler.json (#81437)
[ { "path": ".github/labeler.json", "patch": "@@ -59,6 +59,7 @@\n { \"type\": \"user\", \"pattern\": \"ijjk\" },\n { \"type\": \"user\", \"pattern\": \"lazarv\" },\n { \"type\": \"user\", \"pattern\": \"lubieowoce\" },\n+ { \"type\": \"user\", \"pattern\": \"nebrelbug\" },\n { \"t...
2025-07-09T02:04:49
golang/go
b89988c5ca47a6a2022db689fa882134397d0f32
05ed8a00e07e93fd40cf8269bdf16d6d2b34740d
internal/poll: remove outdated tests TestFileFdsAreInitialised and TestSerialFdsAreInitialised were added to ensure handles passed to os.NewFile were not added to the runtime poller. This used to be problematic because the poller could crash if an external I/O event was received (see #21172). This is not an issue any...
[ { "path": "src/internal/poll/fd_windows_test.go", "patch": "@@ -20,77 +20,6 @@ func init() {\n \tpoll.InitWSA()\n }\n \n-// checkFileIsNotPartOfNetpoll verifies that f is not managed by netpoll.\n-func checkFileIsNotPartOfNetpoll(t *testing.T, f *os.File) {\n-\tt.Helper()\n-\tsc, err := f.SyscallConn()\n-\t...
2025-04-14T09:22:04
facebook/react
374fd68a50f00237555cdeb60ad01cba171328f9
d27c1ac1128327280607389c187e7db8dab06f84
fix: define IS_ACT_ENVIRONMENT global for tests with concurrent mode and synchronous act (#28296)
[ { "path": "packages/react-devtools-shared/src/__tests__/FastRefreshDevToolsIntegration-test.js", "patch": "@@ -20,6 +20,8 @@ describe('Fast Refresh', () => {\n let withErrorsOrWarningsIgnored;\n \n beforeEach(() => {\n+ global.IS_REACT_ACT_ENVIRONMENT = true;\n+\n exportsObj = undefined;\n \n ...
2024-02-09T19:03:40
rust-lang/rust
81fb703664280626c03428c384695d766be10031
c69e1a04db484db8974904e6f8eb1e8df21a39ba
Fix copy-paste bug: use sub_trace.cause instead of sup_trace.cause in report_sub_sup_conflict In `report_sub_sup_conflict`, when calling `values_str` for `sub_trace.values`, the code was incorrectly passing `sup_trace.cause` instead of `sub_trace.cause`. This is a copy-paste error from the preceding line which correct...
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/infer/region.rs", "patch": "@@ -1020,7 +1020,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n && let Some((sup_expected, sup_found)) =\n self.values_str(sup_trace.values, &sup_trace.cause, err.long_ty_path())\n ...
2026-02-08T03:44:50
nodejs/node
0b1ff6965e3bb3cedfe3563f4ddefc33e7fa69d2
f09063752b6e290f5cc32069e7fd4e89a3860015
src: fix potential segmentation fault in SQLite The Local<Value> returned from ColumnToValue() and ColumnNameToValue() may be empty (if a JavaScript exception is pending), in which case a segmentation fault may occur at the call sites, which do not check if the Local<Value> is empty. Fix this bug returning early if an...
[ { "path": "src/node_sqlite.cc", "patch": "@@ -441,7 +441,9 @@ void StatementSync::All(const FunctionCallbackInfo<Value>& args) {\n \n for (int i = 0; i < num_cols; ++i) {\n Local<Value> key = stmt->ColumnNameToValue(i);\n+ if (key.IsEmpty()) return;\n Local<Value> val = stmt->ColumnToVa...
2024-07-16T22:00:48
electron/electron
c4c17d75346c7187ae2b286c3ad7cd2d6d15e6ce
a043a60b89deda3b6342f08f9ad6b3de9d01a950
build: fix build with "enable_pdf_viewer=false" (#38421) * build: fix build with "enable_pdf_viewer=false" * fixup! build: fix build with "enable_pdf_viewer=false"
[ { "path": "BUILD.gn", "patch": "@@ -773,6 +773,8 @@ source_set(\"electron_lib\") {\n sources += [\n \"shell/browser/electron_pdf_web_contents_helper_client.cc\",\n \"shell/browser/electron_pdf_web_contents_helper_client.h\",\n+ \"shell/browser/extensions/api/pdf_viewer_private/pdf_viewe...
2023-05-24T18:37:07
vercel/next.js
a546b131ed5bf8c1d50f79dea0a93c8c6e5b58a0
94f8aecf2622d778b097780eec0992104f709528
fix: referencing unavailable __dirname (#81436) Patch missing __dirname usage for storybook css injection
[ { "path": "packages/next/.storybook/main.ts", "patch": "@@ -1,5 +1,7 @@\n import type { StorybookConfig } from '@storybook/react-webpack5'\n import { join, dirname, resolve } from 'path'\n+import { fileURLToPath } from 'url'\n+\n /**\n * This function is used to resolve the absolute path of a package.\n *...
2025-07-09T00:49:13
golang/go
05ed8a00e07e93fd40cf8269bdf16d6d2b34740d
7b263895f7dbe81ddd7c0fc399e6a9ae6fe2f5bf
internal/runtime/maps: prune tombstones in maps before growing Before growing, if there are lots of tombstones try to remove them. If we can remove enough, we can continue at the given size for a while longer. Fixes #70886 Change-Id: I71e0d873ae118bb35798314ec25e78eaa5340d73 Reviewed-on: https://go-review.googlesour...
[ { "path": "src/internal/runtime/maps/group.go", "patch": "@@ -106,6 +106,12 @@ func bitsetShiftOutLowest(b bitset) bitset {\n \treturn b >> 8\n }\n \n+// count returns the number of bits set in b.\n+func (b bitset) count() int {\n+\t// Note: works for both bitset representations (AMD64 and generic)\n+\tretu...
2025-01-07T05:53:22
facebook/react
36b078cc7a50ad0cd66e7f6b4b8e4a1295e47f67
ba5e6a8329c7194a2c573c037a37f24ce45ee58f
unify feature flags between fb and oss for React Native renderer (#28269) # Affected flags: ### alwaysThrottleRetries In RN OSS changed from `true` to `false`. This is what FB build uses. This flag was a root cause for big perf regression internally. ### enableDeferRootSchedulingToMicrotask In RN OSS buil...
[ { "path": "packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js", "patch": "@@ -22,7 +22,6 @@ import typeof * as DynamicFlagsType from 'ReactNativeInternalFeatureFlags';\n \n export const alwaysThrottleRetries = __VARIANT__;\n export const enableDeferRootSchedulingToMicrotask = __VARIANT__;\n-export...
2024-02-09T09:46:42
nodejs/node
f09063752b6e290f5cc32069e7fd4e89a3860015
ac75b2eb19f007cb3b3c136f2883562f78b50b66
test_runner: consolidate option parsing This commit consolidates all option parsing for the test runner in the parseCommandLine() internal helper function. The exception is a couple of temporary flags used for feature gating which will eventually become no-ops. This consolidation is prep work for supporting running te...
[ { "path": "lib/internal/main/test_runner.js", "patch": "@@ -1,34 +1,31 @@\n 'use strict';\n \n-const {\n- NumberParseInt,\n- RegExpPrototypeExec,\n- StringPrototypeSplit,\n-} = primordials;\n-\n const {\n prepareMainThreadExecution,\n markBootstrapComplete,\n } = require('internal/process/pre_executi...
2024-07-16T21:05:46
electron/electron
16cd486356ec2883b36095da3e147788b71fddd5
f07b040cb998a6126979cec9d562acbac5a23c4c
fix: `MediaDevices` missing `DisplayMediaInformation` (#38390) fix: MediaDevices missing DisplayMediaInformation
[ { "path": "shell/browser/electron_browser_context.cc", "patch": "@@ -56,6 +56,7 @@\n #include \"shell/common/gin_helper/error_thrower.h\"\n #include \"shell/common/options_switches.h\"\n #include \"shell/common/thread_restrictions.h\"\n+#include \"third_party/blink/public/mojom/media/capture_handle_config.m...
2023-05-24T15:17:08
vercel/next.js
94f8aecf2622d778b097780eec0992104f709528
697fc32efb3c2cc8a76c94d607d63eafa2ad2784
feat: forward browser errors/logs to terminal (#80909) Closes NEXT-4534 This PR introduces the ability for next.js to forward logs, errors, and unhandled rejections from the browser to the terminal the dev server is running in (behind an experimental flag) # Explanation The 2 main components of this pr are the clie...
[ { "path": "packages/next/package.json", "patch": "@@ -309,6 +309,7 @@\n \"react-refresh\": \"0.12.0\",\n \"recast\": \"0.23.11\",\n \"regenerator-runtime\": \"0.13.4\",\n+ \"safe-stable-stringify\": \"2.5.0\",\n \"sass-loader\": \"15.0.0\",\n \"schema-utils2\": \"npm:schema-utils@2.7....
2025-07-08T23:40:01
golang/go
7b263895f7dbe81ddd7c0fc399e6a9ae6fe2f5bf
3cefe69c5a5ad687f220696d4f8a2fe4d59241dd
database/sql: wake cleaner if maxIdleTime set to less than maxLifetime The existing implementation wouldn't wake the connection cleaner if maxIdleTime was set to a value less than maxLifetime while an existing connection was open - resulting in idle connections not being discarded until after the first maxLifetime had...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -1050,7 +1050,7 @@ func (db *DB) SetConnMaxLifetime(d time.Duration) {\n \t}\n \tdb.mu.Lock()\n \t// Wake cleaner up when lifetime is shortened.\n-\tif d > 0 && d < db.maxLifetime && db.cleanerCh != nil {\n+\tif d > 0 && d < db.shortestIdleTimeLocked() && db...
2023-03-09T11:16:56
facebook/react
e41ee9ea70f8998144fdd959ac11fd7a40e4ee20
cd63ef79218a1d53c8739da75b154014f3b7cc73
Throw a better error when Lazy/Promise is used in React.Children (#28280) We could in theory actually support this case by throwing a Promise when it's used inside a render. Allowing it to be synchronously unwrapped. However, it's a bit sketchy because we officially only support this in the render's child position ...
[ { "path": "packages/react/src/ReactChildren.js", "patch": "@@ -13,6 +13,7 @@ import isArray from 'shared/isArray';\n import {\n getIteratorFn,\n REACT_ELEMENT_TYPE,\n+ REACT_LAZY_TYPE,\n REACT_PORTAL_TYPE,\n } from 'shared/ReactSymbols';\n import {checkKeyStringCoercion} from 'shared/CheckStringCoerc...
2024-02-08T22:10:19
nodejs/node
3a5b5428c6509f91306e10486f1e56e3b1e80195
362afa52ebe462a39874915e5e70d261db153c58
build: disable test-asan workflow It is running on ubuntu-20.04, which will inevitably be removed from GitHub actions at some point. Attempts to upgrade it to ubuntu-22.04 and ubuntu-24.04 have failed. It is now blocking V8 updates because of errors that happen only with the `test-asan` job. Refs: https://github.com...
[ { "path": ".github/workflows/test-asan.yml", "patch": "@@ -38,7 +38,7 @@ permissions:\n \n jobs:\n test-asan:\n- if: github.event.pull_request.draft == false\n+ if: false # Temporarily disabled. References: https://github.com/nodejs/node/pull/52374, https://github.com/nodejs/node/pull/53651#issueco...
2024-07-16T13:29:10
electron/electron
b6c80ba6461ace7dd458d11cd61d5f63776a034a
30e992dec4ca1c7b33c2bda1b4353072a9621aa7
fix: `dangling_raw_ptr` warning in `electron_api_web_contents` (#38403) fix: dangling_raw_ptr warning in electron_api_web_contents
[ { "path": "shell/browser/api/electron_api_web_contents.h", "patch": "@@ -773,9 +773,6 @@ class WebContents : public ExclusiveAccessContext,\n // Whether the guest view has been attached.\n bool attached_ = false;\n \n- // The zoom controller for this webContents.\n- raw_ptr<WebContentsZoomController> ...
2023-05-24T01:52:07
vercel/next.js
2503c19dd068a99c82ec02691b22c323a884614f
d9a774117cfef44c173c961c5e1699734eb7f62a
[segment explorer] capture defined boundaries (#81232) Capture defined boundaries (not-found / error / loading) and used to filter which one is available for boundary triggers The trie will now hold all the defined boundaries, but what's different from the existing rendered boundaries is: Here's the difference o...
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -507,6 +507,7 @@ export default function OuterLayoutRouter({\n forbidden,\n unauthorized,\n gracefullyDegrade,\n+ segmentViewBoundaries,\n }: {\n parallelRouterKey: string\n error: ErrorComponent | undefined\n@@ -519,...
2025-07-08T20:13:03
facebook/react
cd63ef79218a1d53c8739da75b154014f3b7cc73
04b59928d867dae1639f12f19700347d8f5d4cac
Add simulateEventDispatch to test ReactDOMEventListener (#28079) ## Overview For events, the browser will yield to microtasks between calling event handers, allowing time to flush work inbetween. For example, in the browser, this code will log the flushes between events: ```js <body onclick="console.log('body...
[ { "path": "packages/internal-test-utils/ReactInternalTestUtils.js", "patch": "@@ -9,6 +9,7 @@ import * as SchedulerMock from 'scheduler/unstable_mock';\n import {diff} from 'jest-diff';\n import {equals} from '@jest/expect-utils';\n import enqueueTask from './enqueueTask';\n+import simulateBrowserEventDispa...
2024-02-08T21:06:03
nodejs/node
3a43e55a0011e1e841ff8a6aee7c69084f9559d7
953abf4887a1183e80f84ebe8d856e6410618829
src: update outdated references to spec sections The exact section has changed in recent versions of ECMA-262, so fix the section number and explicitly mark the edition of the standard to avoid having to update it in the future. PR-URL: https://github.com/nodejs/node/pull/53832 Reviewed-By: James M Snell <jasnell@gma...
[ { "path": "src/util-inl.h", "patch": "@@ -501,7 +501,7 @@ void ArrayBufferViewContents<T, S>::ReadValue(v8::Local<v8::Value> buf) {\n }\n }\n \n-// ECMA262 20.1.2.5\n+// ECMA-262, 15th edition, 21.1.2.5. Number.isSafeInteger\n inline bool IsSafeJsInt(v8::Local<v8::Value> v) {\n if (!v->IsNumber()) retur...
2024-07-15T20:01:14
vercel/next.js
bdb87a1851bbf62778f422002aca45fbb0e9566e
b81f9892b3f5216e8c40a413f840f6ce8e00f1f4
chore: update rspack to 1.4.5 (#81216) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improvi...
[ { "path": "package.json", "patch": "@@ -116,7 +116,7 @@\n \"@next/third-parties\": \"workspace:*\",\n \"@opentelemetry/api\": \"1.4.1\",\n \"@picocss/pico\": \"1.5.10\",\n- \"@rspack/core\": \"1.3.12\",\n+ \"@rspack/core\": \"1.4.5\",\n \"@rspack/plugin-react-refresh\": \"1.2.0\",\n ...
2025-07-08T17:57:38
facebook/react
b229f540e2da91370611945f9875e00a96196df6
37d901e2b81e12d40df7012c6f8681b8272d2555
[Flight] Emit debug info for a Server Component (#28272) This adds a new DEV-only row type `D` for DebugInfo. If we see this in prod, that's an error. It can contain extra debug information about the Server Components (or Promises) that were compiled away during the server render. It's DEV-only since this can conta...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -76,53 +76,63 @@ const RESOLVED_MODULE = 'resolved_module';\n const INITIALIZED = 'fulfilled';\n const ERRORED = 'rejected';\n \n+// Dev-only\n+type ReactDebugInfo = Array<{+name?: string}>;\n+\n type PendingChunk<T> = {\n status: 'p...
2024-02-08T16:01:32
electron/electron
30e992dec4ca1c7b33c2bda1b4353072a9621aa7
e7b8bb4766da58fa693ec3e82c0af9b0a3406c9d
chore: bump chromium to 115.0.5786.0 (main) (#38301) * chore: bump chromium in DEPS to 115.0.5772.0 * chore: update disable_color_correct_rendering.patch no manual changes; patch succeeded with fuzz 2. * chore: update chromium/build_libc_as_static_library.patch no manual changes; patch succeeded with fuzz ...
[ { "path": "BUILD.gn", "patch": "@@ -555,6 +555,7 @@ source_set(\"electron_lib\") {\n }\n \n frameworks = [\n+ \"AuthenticationServices.framework\",\n \"AVFoundation.framework\",\n \"Carbon.framework\",\n \"LocalAuthentication.framework\",", "additions": 1, "deletions":...
2023-05-23T19:58:58
nodejs/node
034a2409bf3209624ff94b979bc2f35ca785f829
6ba0af135402bf32896a37fd6617015a811c9b34
test_runner: remove plan option from run() This commit removes the plan option to run(). I believe it was added by mistake. It is not documented, untested, and a test plan does not make sense in the context of run(). This commit also fixes a minor formatting issue in a related fixture. Refs: https://github.com/nodej...
[ { "path": "lib/internal/test_runner/runner.js", "patch": "@@ -483,7 +483,6 @@ function run(options = kEmptyObject) {\n watch,\n setup,\n only,\n- plan,\n } = options;\n \n if (files != null) {\n@@ -552,7 +551,7 @@ function run(options = kEmptyObject) {\n });\n }\n \n- const root = ...
2024-07-15T17:10:01
vercel/next.js
71c87179a8494ba42a11b66579149f6bdf52c457
bab62242883150c5267fae8a2c42535374c11911
refactor(turbopack/napi): Add a NextTurbopackContext type, rename VcArc to DetachedVc (#80881) - Introduce `NextTurbopackContext` for use later in https://github.com/vercel/next.js/pull/81272 . In this PR, it's just a thin single-field wrapper, but we add callbacks to it in the next PR. - Wrap all the places we pass a...
[ { "path": "crates/napi/src/next_api/endpoint.rs", "patch": "@@ -15,7 +15,7 @@ use turbo_tasks::{Completion, Effects, OperationVc, ReadRef, Vc};\n use turbopack_core::{diagnostics::PlainDiagnostic, error::PrettyPrintError, issue::PlainIssue};\n \n use super::utils::{\n- NapiDiagnostic, NapiIssue, RootTask...
2025-07-08T17:12:18
golang/go
5ab9d9660412be2887ae5adba6198f029bcbb4a9
5715d735590cf545f03b34e58ade83b919e53fba
crypto/tls: fix a testing deadlock that occurs on a TLS protocol error A Go routine was, on an error, returning without sending a message on its signaling channel, so the main program was blocking forever waiting for a message that was never sent. Found while breaking crypto/tls. Change-Id: Id0b3c070a27cabd852f74e86b...
[ { "path": "src/crypto/tls/handshake_server_test.go", "patch": "@@ -236,7 +236,6 @@ func TestRenegotiationExtension(t *testing.T) {\n \t\tn, err := c.Read(buf)\n \t\tif err != nil {\n \t\t\tt.Errorf(\"Server read returned error: %s\", err)\n-\t\t\treturn\n \t\t}\n \t\tc.Close()\n \t\tbufChan <- buf[:n]", ...
2022-06-03T02:22:50
facebook/react
f0cffef0a22f8c1b78d656001af6b12432821f7c
af6e837b60fcdf1ae77e119f63afc4a6cff41459
Fix hook pattern matching for custom hooks
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/Environment.ts", "patch": "@@ -476,7 +476,7 @@ export class Environment {\n let resolvedGlobal: Global | null = this.#globals.get(resolvedName) ?? null;\n if (resolvedGlobal === null) {\n // Hack, since we don't track module level ...
2024-02-08T01:34:10
electron/electron
395abf56204ab8feabb0e3616cf6c9f2516d9188
508d7c13536d4dfb04e47d2dc0e1fd93cb483fdc
fix: linker error missing `uv__strtok` (#38382) fix: linker error missing uv__strtok This symbol is referenced inside what seems to be dead code in `uv__search_path` in third_party/electron_node/deps/uv/src/unix/core.c When compiling in LTO mode, the reference is removed, but not during a non-LTO build.
[ { "path": "patches/node/build_add_gn_build_files.patch", "patch": "@@ -1012,10 +1012,10 @@ index 0000000000000000000000000000000000000000..bfbd4e656db1a6c73048443f96f1d576\n +}\n diff --git a/deps/uv/BUILD.gn b/deps/uv/BUILD.gn\n new file mode 100644\n-index 0000000000000000000000000000000000000000..d6bed57...
2023-05-22T11:00:45
nodejs/node
4b4a9319d99897ea4d43823a0ce166dbf165a2b2
86415e4688f466c67878d525db4ebc545492bcd7
test_runner: fix escaping in snapshot tests Snapshotted values are escaped after serialization. This happens when serializing a value for comparison when snapshots already exist, and also when updating them. That is, snapshots are escaped in the internal storage, but when written to disk, one "level" of escaping is re...
[ { "path": "lib/internal/test_runner/snapshot.js", "patch": "@@ -146,7 +146,9 @@ class SnapshotManager {\n );\n }\n \n- this.snapshots = context.exports;\n+ for (const key in context.exports) {\n+ this.snapshots[key] = templateEscape(context.exports[key]);\n+ }\n thi...
2024-07-15T14:55:43
vercel/next.js
7a09a67d3287220d651e569755d2bbf40bb39aeb
9170aca93ad678abc573a6b71fb775e8ebb4c8d6
Fix auth preflight check when triggering Front sync (#81166)
[ { "path": ".github/workflows/test_e2e_deploy_release.yml", "patch": "@@ -110,6 +110,10 @@ jobs:\n - id: test-result\n name: Set test result variable\n run: echo 'immediately-close=${{ needs.test-deploy.result != 'success' && 'true' || 'false' }}' >> \"$GITHUB_OUTPUT\"\n+ - name: C...
2025-07-08T16:55:49
golang/go
2cb9e7f68f90ea9119fd4172fc61630279d79d67
5413abc44025f281f2a7ea37b3e0043591dbed3e
crypto/cipher: use AEAD.NonceSize to make nonce in the example The existing example uses hard-coded constant to make nonce buffer. Using AEAD.NonceSize makes it a more portable and appropriate example. Fixes: #48372 Change-Id: I7c7a38ed48aff46ca11ef4f5654c778eac13dde6 GitHub-Last-Rev: 03ccbb16df4ca9cbd4a014836aee0f5...
[ { "path": "src/crypto/cipher/example_test.go", "patch": "@@ -29,14 +29,14 @@ func ExampleNewGCM_encrypt() {\n \t\tpanic(err.Error())\n \t}\n \n-\t// Never use more than 2^32 random nonces with a given key because of the risk of a repeat.\n-\tnonce := make([]byte, 12)\n-\tif _, err := io.ReadFull(rand.Reader...
2021-09-14T04:47:41
facebook/react
37d901e2b81e12d40df7012c6f8681b8272d2555
5c08662301d99d1305e164c701fe8e4da1bc526c
Remove __self and __source location from elements (#28265) Along with all the places using it like the `_debugSource` on Fiber. This still lets them be passed into `createElement` (and JSX dev runtime) since those can still be used in existing already compiled code and we don't want that to start spreading to DOM a...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -475,18 +475,6 @@ function createElement(\n writable: true,\n value: true, // This element has already been validated on the server.\n });\n- Object.defineProperty(element, '_self', {\n- configurable: false,\n- ...
2024-02-07T21:38:00
electron/electron
e138f5f915653966c3ec5779c9e4952cc08401bb
a22635bd9f664be51083947781844ce066ff5599
docs: fix typing of message box type value (#38336) * docs: fix typing of dialog type value * test: add smoke tests * test: update test
[ { "path": "docs/api/dialog.md", "patch": "@@ -223,10 +223,10 @@ expanding and collapsing the dialog.\n * `browserWindow` [BrowserWindow](browser-window.md) (optional)\n * `options` Object\n * `message` string - Content of the message box.\n- * `type` string (optional) - Can be `\"none\"`, `\"info\"`, `\"...
2023-05-17T17:33:30