repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
04f147b0245ac22fc983ddc7d9d0efd3ec69ee38
1263efdfca224682300498cf8594e3d96b93fa47
test: fix invalid common.mustSucceed() usage By its own nature, the function returned by `common.mustSucceed()` cannot be used as a listener for `'error'` events. Write errors like `read ECONNRESET` or `write EPIPE`, should be ignored because the socket might be closed by the other peer while the request is sent. Re...
[ { "path": "test/parallel/test-http-server-headers-timeout-delayed-headers.js", "patch": "@@ -38,16 +38,18 @@ server.listen(0, common.mustCall(() => {\n response += chunk;\n }));\n \n- const errOrEnd = common.mustSucceed(function(err) {\n+ client.on('error', () => {\n+ // Ignore errors like 'write...
2025-01-27T10:09:37
vercel/next.js
f53da7131335f49a4edfa21611d161e79990a99b
047e641442a6043294fecc65b857470e387db0ea
perf: Use a more aggressive retry loop for `recursiveDelete` (#84444) **Update:** This also fixes a bug pointed out by Graphite where the deletion function could hang forever because the `t` variable used for tracking attempts wasn't properly incremented. --- https://vercel.slack.com/archives/C04KC8A53T7/p1759360239...
[ { "path": "packages/next/src/lib/recursive-delete.ts", "patch": "@@ -4,7 +4,30 @@ import { join, isAbsolute, dirname } from 'path'\n import isError from './is-error'\n import { wait } from './wait'\n \n-const unlinkPath = async (p: string, isDir = false, t = 1): Promise<void> => {\n+// We use an exponential...
2025-10-02T20:08:46
electron/electron
a0a13ad623d2f0beae8b2574a22cf012100e6b6b
b35adaee2d521af5e34a6fea7897ac53c3752799
build: fix macOS tests on GHA (#42524) * build: use --frozen-lockfile * build: don't include src/electron in src artifacts * Use mac intel runner for mac-x64 tests * test: debug mac tests not exiting * skip navigator.serial tests on GHA * TCC magic * Fix release notes tests needing ELECTRON_GITHUB_TO...
[ { "path": ".github/actions/checkout/action.yml", "patch": "@@ -16,7 +16,7 @@ runs:\n shell: bash\n run: |\n cd src/electron\n- node script/yarn install\n+ node script/yarn install --frozen-lockfile\n - name: Get Depot Tools\n shell: bash\n run: |", "additions": 1, "...
2024-06-17T23:33:44
golang/go
77f911e31c243a8302c086d64dbef340b0c999b8
786be1d2bff0192288dfc2832e5012ad6b0816be
internal/trace: emit final sync event for generation in Go 1.26+ CL 693398 returned the error from reading a generation immediately, but this is wrong -- a Sync event must be emitted to indicate the end of the trace before reporting the error. This caused TestCrashWhileTracing to fail because that test has a high like...
[ { "path": "src/internal/trace/reader.go", "patch": "@@ -31,6 +31,7 @@ type Reader struct {\n \tcpuSamples []cpuSample\n \torder ordering\n \tsyncs int\n+\treadGenErr error\n \tdone bool\n \n \t// Spill state.\n@@ -153,9 +154,18 @@ func (r *Reader) ReadEvent() (e Event, err error) {\n \t\tif ...
2025-08-15T23:30:08
nodejs/node
1263efdfca224682300498cf8594e3d96b93fa47
0aa5874098fb05c04963b160d617d21af4cf3b42
test: use strict mode in global setters test test-global-setters.js was added in https://github.com/nodejs/node/pull/26882 and hasn't been modified since. It appears that it avoids strict mode so that unscoped identifiers are treated as globals, but that's true in strict mode too. (In sloppy mode, an assignment to an ...
[ { "path": "test/parallel/test-global-setters.js", "patch": "@@ -1,4 +1,10 @@\n-/* eslint-disable strict */\n+// When setters and getters were added for global.process and global.Buffer to\n+// create a deprecation path for them in ESM, this test was added to make sure\n+// the setters and getters behaved as...
2025-01-27T00:02:05
facebook/react
e8df0cf9f7c7f641192f19841db9bf34b6a0abf7
66968535c6e997405a1b1e6e491a48e25843d95f
Switch to binding the console with badging instead of calling it directly (#30461) This is a major nit but this avoids an extra stack frame when we're replaying logs. Normally the `printToConsole` frame doesn't show up because it'd be ignore listed. <img width="421" alt="Screenshot 2024-07-25 at 11 49 39 AM" ...
[ { "path": "packages/react-client/src/ReactClientConsoleConfigBrowser.js", "patch": "@@ -20,21 +20,22 @@ const badgeStyle =\n const resetStyle = '';\n const pad = ' ';\n \n-export function printToConsole(\n+const bind = Function.prototype.bind;\n+\n+export function bindToConsole(\n methodName: string,\n ...
2024-07-25T16:32:16
vercel/next.js
047e641442a6043294fecc65b857470e387db0ea
90e580b2c8922d1bcc07e2f658b7845c37c359e5
[segment cache]: fix trailingSlash handling with output: export (#84465) When `output: export`, `experimental.clientSegmentCache`, and `trailingSlash: true` were all enabled, clicking links would update the URL but fail to render the page content. The issue was in how segment cache URLs were being constructed for stat...
[ { "path": "packages/next/src/client/components/segment-cache-impl/cache.ts", "patch": "@@ -2203,7 +2203,7 @@ function addSegmentPathToUrlInOutputExportMode(\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWit...
2025-10-02T18:25:11
electron/electron
b35adaee2d521af5e34a6fea7897ac53c3752799
1a4d58a9fba2f721a1e6dff3d76ca0d4cfa66286
build: fix clang format location helper (#42527)
[ { "path": "script/lib/util.py", "patch": "@@ -4,6 +4,7 @@\n import errno\n import json\n import os\n+import platform\n import shutil\n import subprocess\n import sys\n@@ -184,13 +185,16 @@ def get_electron_exec():\n \n def get_buildtools_executable(name):\n buildtools = os.path.realpath(os.path.join(ELECT...
2024-06-17T17:47:59
golang/go
4a7fde922ff12dce9d4e00f1b1e658fa907e488d
cb814bd5bc3f0575e8d0e26370c05456770cb3da
internal/trace: add end-of-generation signal to trace This change takes the EvEndOfGeneration event and promotes it to a real event that appears in the trace. This allows the trace parser to unambiguously identify truncated traces vs. broken traces. It also makes a lot of the logic around parsing simpler, because the...
[ { "path": "src/internal/trace/batch.go", "patch": "@@ -44,6 +44,10 @@ func (b *batch) isSyncBatch(ver version.Version) bool {\n \t\t\t(tracev2.EventType(b.data[0]) == tracev2.EvSync && ver >= version.Go125))\n }\n \n+func (b *batch) isEndOfGeneration() bool {\n+\treturn b.exp == tracev2.NoExperiment && len(...
2025-08-05T21:37:07
nodejs/node
6d22fceb3651ba837e58806ad1cc3c40974abcb7
43daa9b217934f2cd01d328a8e5563a64d96cdd3
tools: update inspector_protocol roller Fix the inspector_protocol/roll.py to fit node source directory structure. `roll.py` reads the `deps/v8/thrid_party/inspector_protocol/README.v8` to get the revision of the inspector_protocol that V8 depends on, and updates the local version to match. V8's copy of inspector_pr...
[ { "path": "tools/inspector_protocol/roll.py", "patch": "@@ -18,23 +18,22 @@\n 'code_generator.py',\n 'concatenate_protocols.py',\n 'convert_protocol_to_json.py',\n- 'encoding/encoding.h',\n- 'encoding/encoding.cc',\n- 'encoding/encoding_test.cc',\n+ 'crdtp/*',\n 'inspector_protoc...
2025-01-15T10:11:02
rust-lang/rust
882ae150e93f7c1aef17018a64540fa8b5bec943
25396cf54981afd1fa5a7406658b45033106a0d3
Work around a false `err.emit();` type error in rust-analyzer
[ { "path": "compiler/rustc_interface/src/util.rs", "patch": "@@ -300,7 +300,7 @@ internal compiler error: query cycle handler thread panicked, aborting process\";\n diag.help(\n \"try lowering `-Z threads` or checking the operating system's resource limits\",\n ...
2026-02-27T01:39:20
facebook/react
e5d22459ffd094ffd71c3e8857b62b3c6754c58d
4b62400765b6412dd074526687ef447550b687d1
[Flight] Include environment name both in the virtual URL and findSourceMapURL (#30452) This way you can use the environment to know where to look for the source map in case you have multiple server environments. This becomes part of the public protocol since it's part of what you'll parse out of the `rsc://React...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -232,7 +232,10 @@ Chunk.prototype.then = function <T>(\n }\n };\n \n-export type FindSourceMapURLCallback = (fileName: string) => null | string;\n+export type FindSourceMapURLCallback = (\n+ fileName: string,\n+ environmentName: st...
2024-07-25T15:14:24
vercel/next.js
dbbda2fea3fe44003e946db9ddc845871aa36d0b
c9c628561131bac0ec3820292fb679b768683ebd
[Cache Components] Fix caching in `generateMetadata`/`generateViewport` (#84228) When using `'use cache'` in `generateMetadata` or `generateViewport`, the caching did not work correctly, because we didn't apply the same special handling for the `params` and `searchParams` props that we do for layout and page component...
[ { "path": "packages/next/src/lib/client-and-server-references.ts", "patch": "@@ -1,4 +1,7 @@\n-import { extractInfoFromServerReferenceId } from '../shared/lib/server-reference-info'\n+import {\n+ extractInfoFromServerReferenceId,\n+ type ServerReferenceInfo,\n+} from '../shared/lib/server-reference-info'\...
2025-10-02T15:33:11
golang/go
cb814bd5bc3f0575e8d0e26370c05456770cb3da
78a3968c2c9f2d6e8eb6dc263b4a2517c72d71be
net: skip TestIPv4WriteMsgUDPAddrPort on plan9 This test uses method (*UDPConn).WriteMsgUDPAddrPort, which is not supported on Plan 9. The test needs to be skipped, like for example TestAllocs which is already skipped for the same reason. Fixes #75017 Change-Id: Iaa0e6ecdba0938736d8f675fcac43c46db34cb5d Reviewed-on:...
[ { "path": "src/net/udpsock_test.go", "patch": "@@ -710,6 +710,11 @@ func TestIPv6WriteMsgUDPAddrPortTargetAddrIPVersion(t *testing.T) {\n // WriteMsgUDPAddrPort accepts IPv4 and IPv4-mapped IPv6 destination addresses,\n // and rejects IPv6 destination addresses on a \"udp4\" connection.\n func TestIPv4Write...
2025-08-14T15:25:56
rust-lang/rust
9092262255e1c79b473e91fb43e45eaaa005ec8d
b3869b94cd1ed4bfa2eb28f301535d5e9599c713
fix: mem::conjure_zst panic message to use any::type_name instead of stringify!
[ { "path": "library/core/src/mem/mod.rs", "patch": "@@ -1488,12 +1488,13 @@ pub macro offset_of($Container:ty, $($fields:expr)+ $(,)?) {\n ///\n /// [inhabited]: https://doc.rust-lang.org/reference/glossary.html#inhabited\n #[unstable(feature = \"mem_conjure_zst\", issue = \"95383\")]\n+#[rustc_const_unstabl...
2026-02-25T03:28:52
facebook/react
e4b4aac2a01b53f8151ca85148873096368a7de2
76002254b7e3270da199eec1e6f9a0577b988a36
Fix existing usage of names/type in build command (#30450) https://github.com/facebook/react/pull/30422 broke existing build shortcuts. Revert the usage of `names` (`_`) and `type` args. `yarn build-for-devtools` / `yarn build-for-devtools-dev` / `yarn build-for-devtools-prod` should all work again. Moved t...
[ { "path": "scripts/rollup/build-all-release-channels.js", "patch": "@@ -80,16 +80,12 @@ const argv = yargs.wrap(yargs.terminalWidth()).options({\n type: 'choices',\n choices: ['circleci', 'github'],\n },\n- bundle: {\n- describe: 'Build the given bundle type.',\n+ type: {\n+ describe: `Bui...
2024-07-25T11:44:57
nodejs/node
43daa9b217934f2cd01d328a8e5563a64d96cdd3
e1e1ada807051ea9088e8542c0753c3c5b9cd21b
doc: fix styles of the expandable TOC PR-URL: https://github.com/nodejs/node/pull/56755 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Claudio Wunder <cwunder@gnome.org> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api_assets/style.css", "patch": "@@ -570,40 +570,28 @@ hr {\n }\n \n .toc ul {\n- margin: 0\n+ margin: 0;\n }\n-\n-.toc li a::before {\n- content: \"■\";\n- color: var(--color-text-primary);\n- padding-right: 1em;\n- font-size: 0.9em;\n+.toc>ul:first-child {\n+ margin-left: 1rem;\n+}\n...
2025-01-26T22:24:29
vercel/next.js
c9c628561131bac0ec3820292fb679b768683ebd
c4e1f61baf986b8fa8f381f191067a5d7491bb64
[ci]: split clientSegmentCache test runners off from experimental (#84440) We are preparing to enable `clientSegmentCache` by default on canary. To prepare, this splits it into a separate CI runner and adds a failing test manifest so we can incrementally migrate / fix failing tests before stable release.
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -992,6 +992,73 @@ jobs:\n stepName: 'test-experimental-prod-${{ matrix.group }}'\n secrets: inherit\n \n+ test-client-segment-cache-integration:\n+ name: test clientSegmentCache integration\n+ needs: ['optimize-ci', 'changes', '...
2025-10-02T15:27:26
golang/go
78a3968c2c9f2d6e8eb6dc263b4a2517c72d71be
ab8121a407280bf39bdd401699476feb39ccd0f7
runtime/metrics: add metric for current Go-owned thread count Fixes #15490. Change-Id: I6ce9edc46398030ff639e22d4ca4adebccdfe1b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/690399 Auto-Submit: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gservic...
[ { "path": "src/runtime/metrics.go", "patch": "@@ -532,6 +532,13 @@ func initMetrics() {\n \t\t\t\tsched.stwTotalTimeOther.write(out)\n \t\t\t},\n \t\t},\n+\t\t\"/sched/threads/total:threads\": {\n+\t\t\tdeps: makeStatDepSet(schedStatsDep),\n+\t\t\tcompute: func(in *statAggregate, out *metricValue) {\n+\t\t\...
2025-07-24T21:38:37
facebook/react
76002254b7e3270da199eec1e6f9a0577b988a36
933b737f64808559272c822b80699f4db84773a4
Fix resolving of references to deduped props in lazy elements (#30441) When a model references a deduped object of a blocked element that has subsequently been turned into a lazy element, we need to wait for the lazy element's chunk to resolve before resolving the reference. Without the fix, the new test failed w...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -827,7 +827,7 @@ function getChunk(response: Response, id: number): SomeChunk<any> {\n }\n \n function waitForReference<T>(\n- referencedChunk: PendingChunk<T> | BlockedChunk<T>,\n+ referencedChunk: SomeChunk<T>,\n parentObject: Ob...
2024-07-24T23:34:41
nodejs/node
7119303a811b7f8ab5bebdaa8df4cc81f002dede
59b3a8b21be9f206bf319cea50a6718c2230d09b
module: fix bad `require.resolve` with option paths for `.` and `..` this change fixes `require.resolve` used with the `paths` option not considering `.` and `..` as relative Fixes: https://github.com/nodejs/node/issues/47000 PR-URL: https://github.com/nodejs/node/pull/56735 Reviewed-By: Yagiz Nizipli <yagiz@nizipli....
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -722,18 +722,8 @@ Module._findPath = function(request, paths, isMain, conditions = getCjsCondition\n )\n ));\n \n- const isRelative = StringPrototypeCharCodeAt(request, 0) === CHAR_DOT &&\n- (\n- request.length === 1 ||\n- ...
2025-01-25T23:32:13
vercel/next.js
9ba29b4125bf368f92d36b34a5a34aa8dce0a8ce
2330e144ff88fe557b24a9320770ad808041d99f
Revert "Revert "Revert "Revert "Add a --webpack flag and default --turbopack to true (#84216)"""" (#84394) Reverts vercel/next.js#84389 Attempt number 3, #84374 fixed propagation of bundler environment variables to vercel cli operations, to ensure the test configuration is respected. [Deployment Tests Run 1](https:...
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -502,6 +502,7 @@ jobs:\n \n export NEXT_TEST_MODE=start\n export NEXT_TEST_WASM=true\n+ export IS_WEBPACK_TEST=1\n node run-tests.js \\\n test/production/pages-dir/production/test/index.test.ts \\\n ...
2025-10-02T00:04:17
rust-lang/rust
2d411a0faad447b5bfc968b954fd3e9c10596325
e8e3544a71f23606c85e8586e37bd98389bc1ebe
fixup span in obligation cause
[ { "path": "compiler/rustc_trait_selection/src/solve.rs", "patch": "@@ -57,7 +57,7 @@ fn try_eagerly_normalize_alias<'a, 'tcx>(\n let obligation = Obligation::new(\n tcx,\n // we ignore the error anyway\n- ObligationCause::dummy(),\n+ ObligationCause::dummy_with_span(span),\...
2026-02-05T10:35:47
golang/go
bca3e98b8aa4f754ea3604b62ef42f64dec88800
052fcde9fdd1655f823e810a284c651b3481a433
cmd/go: test barrier actions Add a barrier action between test run action and it's dependencies. Run will depend on this barrier action, and the barrier action will depend on: 1. The run action's dependencies 2. The previous barrier action This will force internal/work to schedule test run actions in-order, preventin...
[ { "path": "src/cmd/go/internal/test/test.go", "patch": "@@ -1044,11 +1044,36 @@ func runTest(ctx context.Context, cmd *base.Command, args []string) {\n \t\tprints = append(prints, printTest)\n \t}\n \n-\t// Order runs for coordinating start JSON prints.\n+\t// Order runs for coordinating start JSON prints v...
2025-08-13T20:06:31
electron/electron
a371c2cd542a6ee7ea24cdaf3da5468ba3f9b5ea
6bf83b389bd752ae6e357cada84ed89e7beac0ba
build: fix GHA arm tests (#42514)
[ { "path": ".github/workflows/build.yml", "patch": "@@ -159,7 +159,7 @@ jobs:\n build-runs-on: aks-linux-large\n test-runs-on: aks-linux-arm-medium\n build-container: '{\"image\":\"ghcr.io/electron/build:${{ inputs.build-image-sha }}\",\"options\":\"--user root\",\"volumes\":[\"/mnt/cross-i...
2024-06-16T17:59:51
nodejs/node
da1ca7db756c0db8a894f3b22a4d067701dc3c04
bade7a1866618b9e46358b839fe5fdf16b1db2be
doc: fix typo in example code for util.styleText Code shows how to style `errorMessage`, but then only logs out `successMessage` twice. This might trip people up when copying the code. PR-URL: https://github.com/nodejs/node/pull/56720 Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Richard La...
[ { "path": "doc/api/util.md", "patch": "@@ -1972,7 +1972,7 @@ const errorMessage = styleText(\n // Validate if process.stderr has TTY\n { stream: stderr },\n );\n-console.error(successMessage);\n+console.error(errorMessage);\n ```\n \n ```cjs", "additions": 1, "deletions": 1, "language": "Mar...
2025-01-25T11:02:31
facebook/react
91e4f0712ec6da30b01054cab439d985798a9ebb
c0b76a68318687bf5260d623c7b70a8156be21d9
[compiler] Repro for outlining bug in funcexprs I discovered this compiler crash while trying to do an internal sync of the compiler. Any kind of outlining appears to crash the babel plugin when the component is a function expression. ghstack-source-id: 4f717674af91d4d4b730e64cbd7a144b9faab13e Pull Request resolved: ...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.bug-outlining-in-func-expr.expect.md", "patch": "@@ -0,0 +1,24 @@\n+\n+## Input\n+\n+```javascript\n+const Component2 = props => {\n+ return (\n+ <ul>\n+ {props.items.map(item => (\n+ <li key={item...
2024-07-24T19:57:03
vercel/next.js
7a49afcf8af542fed04946ce5632c27304bc3f8b
c201b3d38781af4567510ecc0a9986f2630439f2
Turbopack: don't fail for parse errors in tracing (#84408) Turns string decode and parse errors into warnings for extensionless files when in tracing mode. A `require(dynamic)` inside of node_modules can easily end up pulling in extensionless files such as binary files, or `LICENSE`, which would fail the build.
[ { "path": "crates/next-core/src/segment_config.rs", "patch": "@@ -395,6 +395,7 @@ pub async fn parse_segment_config_from_source(\n EcmascriptModuleAssetType::Ecmascript\n },\n EcmascriptInputTransforms::empty(),\n+ false,\n )\n .await?;\n ", "additions": 1, ...
2025-10-01T21:20:55
electron/electron
6bf83b389bd752ae6e357cada84ed89e7beac0ba
2c985366c8bb22fd15e6ad4a596c3a1060f6af08
build: add GN check step (#42508) * build: add GN check step * Remove extra loggin * Fix BUILD_TOOLS_SHA * Fix concurrency group naming
[ { "path": ".github/workflows/build.yml", "patch": "@@ -97,7 +97,7 @@ jobs:\n - /mnt/cross-instance-cache:/mnt/cross-instance-cache\n - /var/run/sas:/var/run/sas\n env:\n- GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'\n+ GCLIENT_EXTRA_ARGS: '--cus...
2024-06-14T20:29:11
nodejs/node
bade7a1866618b9e46358b839fe5fdf16b1db2be
176002400886bc7f438236c727a61831efd5e565
src: fix build with GCC 15 Added cstdint to worker_inspector as on more recent version of gcc the build was failing due to changes to libstdc++ and the removal of transitive includes. PR-URL: https://github.com/nodejs/node/pull/56740 Fixes: https://github.com/nodejs/node/issues/56731 Reviewed-By: Antoine du Hamel <du...
[ { "path": "src/inspector/worker_inspector.h", "patch": "@@ -5,6 +5,7 @@\n #error(\"This header can only be used when inspector is enabled\")\n #endif\n \n+#include <cstdint>\n #include <memory>\n #include <string>\n #include <unordered_map>", "additions": 1, "deletions": 0, "language": "C/C++ He...
2025-01-25T09:34:54
golang/go
a8564bd412d4495a6048f981d30d4d7abb1e45a7
924fe98902cdebf20825ab5d1e4edfc0fed2966f
runtime: make all synctest bubble violations fatal panics Unblocking a bubbled goroutine from outside the bubble is an error and panics. Currently, some of those panics are regular panics and some are fatal. We use fatal panics in cases where its difficult to panic without leaving something in an inconsistent state. ...
[ { "path": "src/internal/synctest/synctest_test.go", "patch": "@@ -383,57 +383,59 @@ func TestChannelMovedOutOfBubble(t *testing.T) {\n \tfor _, test := range []struct {\n \t\tdesc string\n \t\tf func(chan struct{})\n-\t\twantPanic string\n+\t\twantFatal string\n \t}{{\n \t\tdesc: \"receive\",\n...
2025-08-14T17:27:54
facebook/react
ab2135c708b4da306c4c6c9958ce704bc14af460
e902c45caf7ca67810d3e53748a549bdcc36063b
[BE] enable prettier for flow fixtures (#30426) Since switching to `hermes-parser`, we can parse all flow syntax and no longer need to exclude these fixtures from prettier.
[ { "path": ".prettierignore", "patch": "@@ -18,7 +18,6 @@ packages/react-devtools-timeline/static\n # react compiler\n compiler/**/dist\n compiler/**/__tests__/fixtures/**/*.expect.md\n-compiler/**/__tests__/fixtures/**/*.flow.js\n compiler/**/.next\n \n # contains invalid graphql`...` which results in a pro...
2024-07-24T14:59:40
vercel/next.js
bee4f0ee3f087dfe3b4a075b6607d8ca1e05e9c8
afaf42b95c4425a9c95cb69136ef67b9ba412929
Bump to swc v44 (#84420) <!-- 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 ### Improving Documentati...
[ { "path": "Cargo.lock", "patch": "@@ -597,9 +597,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"40.0.0\"\n+version = \"42.0.0\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"60c146e22990eb01e6675c558e17cffbe44bf6061ab4f3c2f14c6f9fd9bade...
2025-10-01T19:59:11
electron/electron
2c985366c8bb22fd15e6ad4a596c3a1060f6af08
429d50bb1850ad34b86f02f7641fb889c1320bae
build: fix dubious ownership error in version bumper spec (#42509)
[ { "path": ".github/workflows/pipeline-segment-electron-test.yml", "patch": "@@ -112,6 +112,7 @@ jobs:\n chown :builduser .. && chmod g+w ..\n chown -R :builduser . && chmod -R g+w .\n chmod 4755 ../out/Default/chrome-sandbox\n+ runuser -u builduser -- git config --glob...
2024-06-14T18:47:58
nodejs/node
176002400886bc7f438236c727a61831efd5e565
687be594bb45a5baed588067c3d7f1159f1ea62f
src: fix to generate path from wchar_t via wstring Take a similar approach to node_file and allow the creation of paths code point must be specified to convert from wchar_t to utf8. PR-URL: https://github.com/nodejs/node/pull/56696 Fixes: https://github.com/nodejs/node/issues/56650 Refs: https://github.com/nodejs/nod...
[ { "path": "src/node_file.cc", "patch": "@@ -3146,21 +3146,8 @@ static void GetFormatOfExtensionlessFile(\n }\n \n #ifdef _WIN32\n-std::wstring ConvertToWideString(const std::string& str) {\n- int size_needed = MultiByteToWideChar(\n- CP_UTF8, 0, &str[0], static_cast<int>(str.size()), nullptr, 0);\n- ...
2025-01-22T11:24:38
golang/go
9783f86bc8953c3d93853b2382a4de011c5e26a7
a4ad41708d8303a561ed072596222aae990f8dbd
[dev.simd] cmd/compile: accounts rematerialize ops's output reginfo This CL implements the check for rematerializeable value's output regspec at its remateralization site. It has some potential problems, please see the TODO in regalloc.go. Fixes #70451. Change-Id: Ib624b967031776851136554719e939e9bf116b7c Reviewed-o...
[ { "path": "src/cmd/compile/internal/ssa/func.go", "patch": "@@ -102,6 +102,7 @@ func (c *Config) NewFunc(fe Frontend, cache *Cache) *Func {\n \t\tNamedValues: make(map[LocalSlot][]*Value),\n \t\tCanonicalLocalSlots: make(map[LocalSlot]*LocalSlot),\n \t\tCanonicalLocalSplits: make(map[LocalSlotSpli...
2025-08-12T16:53:44
facebook/react
b943feba35476196fa674de276f2b87624086896
c08b51600796706d59c51cddd372720e07c6b24b
[compiler] Stop relying on identifier mutable ranges after constructing scopes Addresses discussion at https://github.com/facebook/react/pull/30399#discussion_r1684693021. Once we've constructed scopes it's invalid to use identifier mutable ranges. The only places we can do this which i can find are ValidateMemoizedEf...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/HIR/BuildReactiveScopeTerminalsHIR.ts", "patch": "@@ -9,7 +9,6 @@ import {\n GotoVariant,\n HIRFunction,\n InstructionId,\n- makeInstructionId,\n ReactiveScope,\n ReactiveScopeTerminal,\n ScopeId,\n@@ -19,7 +18,6 @@ import {\n markP...
2024-07-24T00:14:23
vercel/next.js
b00043645367450df1bdc9bc4bb94e19916e52e1
79706a33e85986fef33a60c1701373f60008746b
Docs/project structure polish (#84386) PR title - docs: polish Project Structure page (grammar, consistency, clarity) PR description - 1) Fixes an Oxford comma in the routing files description for consistency. 2) Normalizes heading capitalization to sentence case. 3) Corrects “Files conventions” → “File conventions”....
[ { "path": "docs/01-app/01-getting-started/02-project-structure.mdx", "patch": "@@ -52,7 +52,7 @@ Top-level files are used to configure your application, manage dependencies, run\n \n ### Routing Files\n \n-Add `page` to expose a route, `layout` for shared UI such as header, nav, or footer, `loading` for ske...
2025-10-01T19:28:20
electron/electron
c2c3673e8aa923baa2a390d293fbd4ee985eba51
c1094013ebcbf65df840914e26d56d099dc0d51e
build: fix linux tests (#42496) * build: use runuser for electron spec runner * chown * run tests in priv * fixed * build: setup testing on arm for GHA * no build-tools for test * start xvfb for the right user * no more gn-build-type * debug env * ue xvfb-run * use 8 core for node tests ...
[ { "path": ".github/workflows/build.yml", "patch": "@@ -114,6 +114,7 @@ jobs:\n build-runs-on: aks-linux-large\n test-runs-on: aks-linux-medium\n build-container: '{\"image\":\"ghcr.io/electron/build:${{ inputs.build-image-sha }}\",\"options\":\"--user root\",\"volumes\":[\"/mnt/cross-insta...
2024-06-14T15:57:28
facebook/react
f987f1a05737dae85350f0d24937f95b26494f58
ca5fef0f4a7b5dfc48fe560206f7b1d3621966ac
[compiler] Maintain RPO and unique instruction ids when constructing scope terminals Later passes may rely on HIR invariants such as blocks being in RPO or instructions having unique, ascending InstructionIds. However, BuildReactiveScopeTerminalsHIR doesn't currently gurantee this. This PR updates that pass to first ...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/HIR/AssertTerminalBlocksExist.ts", "patch": "@@ -39,6 +39,7 @@ export function assertTerminalPredsExist(fn: HIRFunction): void {\n [...eachTerminalSuccessor(predBlock.terminal)].includes(block.id),\n {\n reason: 'Terminal...
2024-07-23T01:07:52
nodejs/node
687be594bb45a5baed588067c3d7f1159f1ea62f
97a3a8204c7c0eb35fc6c11274a7aee5d2ea3ddc
test: add test that uses multibyte for path and resolves modules PR-URL: https://github.com/nodejs/node/pull/56696 Fixes: https://github.com/nodejs/node/issues/56650 Refs: https://github.com/nodejs/node/pull/56657 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By...
[ { "path": "test/fixtures/copy/utf/新建文件夹/experimental.json", "patch": "@@ -0,0 +1,3 @@\n+{\n+ \"ofLife\": 42\n+}", "additions": 3, "deletions": 0, "language": "JSON" }, { "path": "test/parallel/test-module-create-require-multibyte.js", "patch": "@@ -0,0 +1,24 @@\n+'use strict';\n+\n+...
2025-01-22T11:21:46
rust-lang/rust
2fa37e7b3498a9cb46004fae5fd9d6d40835ad28
bbdc754c53a66e5239001cd0cd376247f0b69f71
aarch64: fix UB in non-power-of-two reads and writes
[ { "path": "library/stdarch/crates/core_arch/src/macros.rs", "patch": "@@ -237,12 +237,12 @@ macro_rules! deinterleaving_load {\n ($elem:ty, $lanes:literal, 2, $ptr:expr) => {{\n use $crate::core_arch::macros::deinterleave_mask;\n use $crate::core_arch::simd::Simd;\n- use $crate::{...
2026-02-26T12:00:21
electron/electron
ad8e89de011ada816b6a81d4cd519097445fb0d9
b7aad14e8d1c147866f158165c46b6b247527e99
build: fix v8 toolchain for macOS x64 (#42492) build: do better
[ { "path": ".github/actions/build-electron/action.yml", "patch": "@@ -30,7 +30,7 @@ runs:\n shell: bash\n if: ${{ inputs.target-arch == 'x64' && inputs.target-platform == 'macos' }}\n run: |\n- GN_APPENDED_ARGS=\"$GN_EXTRA_ARGS v8_snapshot_toolchain='//build/toolchain/mac:clang_x64'\...
2024-06-13T22:14:57
vercel/next.js
8e93b202e0ef7d3215f1a6b9a7b253bc611ebed0
962c2c37c2da4666358afb09322cc39ae39aee8f
Development: Skip route matching when there is an existing match (#84227) ## What? Adds a fast path when there is an existing match already from matching earlier in the request lifecycle. This works for the majority of cases except for Parallel Routes as it will end up finding the wrong bundle path. That is fundament...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -2558,11 +2558,30 @@ export default abstract class Server<\n i18n: this.i18nProvider?.fromRequest(req, pathname),\n }\n \n+ const existingMatch = getRequestMeta(ctx.req, 'match')\n+\n+ let fastPath = true\n+ // when a speci...
2025-10-01T18:02:28
facebook/react
7c7087811eaf7db5e783c35527be73bfb35b599e
da4abf0047cf6dc6d9bff505bd93815264c8c3b7
[compiler] printTerminal always prints instruction id Doing some debugging I noticed that a few of the newer terminals kinds weren't printing the instruction id. ghstack-source-id: e0e4c96aeefdfe09d3be1527fd7103b4e506eb8e Pull Request resolved: https://github.com/facebook/react/pull/30397
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts", "patch": "@@ -276,27 +276,29 @@ export function printTerminal(terminal: Terminal): Array<string> | string {\n break;\n }\n case 'unsupported': {\n- value = `Unsupported`;\n+ value = `[${terminal.id}] Unsup...
2024-07-23T01:07:49
electron/electron
4701795dc0f59f03970a3f2622058faf0020f3c1
cfdc623c4d47fa5e8a12968ee100199cfb33442a
build: fix datetime module for Linux Publish (#42489)
[ { "path": "script/release/uploaders/upload.py", "patch": "@@ -48,7 +48,7 @@ def main():\n if args.verbose:\n enable_verbose_mode()\n if args.upload_to_storage:\n- utcnow = datetime.datetime.now(datetime.UTC)\n+ utcnow = datetime.datetime.utcnow()\n args.upload_timestamp = utcnow.strftime('...
2024-06-13T21:36:45
rust-lang/rust
f0336511fa7bc27e05fbab5c851b8cf592844132
f02672cb8bffef88934d31d9044257a4d11e5d1f
remove debug requirement from hooks
[ { "path": "compiler/rustc_middle/src/hooks/mod.rs", "patch": "@@ -35,8 +35,10 @@ macro_rules! declare_hooks {\n \n impl Default for Providers {\n fn default() -> Self {\n+ #[allow(unused)]\n Providers {\n- $($name: |_, $($arg,)*| default_...
2026-01-27T15:09:52
nodejs/node
4a5d2c7538b412eea84a0f41544784b1b8ed7c8c
f07300cfa32c197684fe44d39965770b2fcfc23d
module: integrate TypeScript into compile cache This integrates TypeScript into the compile cache by caching the transpilation (either type-stripping or transforming) output in addition to the V8 code cache that's generated from the transpilation output. Locally this speeds up loading with type stripping of `benchmar...
[ { "path": "lib/internal/modules/typescript.js", "patch": "@@ -22,6 +22,11 @@ const {\n const { getOptionValue } = require('internal/options');\n const assert = require('internal/assert');\n const { Buffer } = require('buffer');\n+const {\n+ getCompileCacheEntry,\n+ saveCompileCacheEntry,\n+ cachedCodeTyp...
2025-01-25T02:30:27
facebook/react
da4abf0047cf6dc6d9bff505bd93815264c8c3b7
e2cac6753340f950c592d97184e8c0bdd9d3a475
[Fiber] Call life-cycles with a react-stack-bottom-frame stack frame (#30429) Stacked on #30427. Most hooks and such are called inside renders which already have these on the stack but life-cycles that call out on them are useful to cut off too. Typically we don't create JSX in here so they wouldn't be part of...
[ { "path": "packages/react-devtools-shared/src/__tests__/console-test.js", "patch": "@@ -254,12 +254,12 @@ describe('console', () => {\n </Intermediate>\n );\n const Child = ({children}) => {\n- React.useLayoutEffect(() => {\n+ React.useLayoutEffect(function Child_useLayoutEffect() {\...
2024-07-23T22:49:42
vercel/next.js
962c2c37c2da4666358afb09322cc39ae39aee8f
f230aa3b611ca0ba169792c7859eba9965b2c0da
fix: next rspack binding NextExternalsPlugin (#84303) 1. Added functionality to change the package name in the rspack release CI. 2. Fixed a bug in the get_resolve method of the NextExternalsPlugin. 3. Prepared the @next/rspack-core for the 1.0.0 version release.
[ { "path": ".github/workflows/release-next-rspack.yml", "patch": "@@ -8,6 +8,11 @@ on:\n required: false\n default: false\n type: boolean\n+ npm-name:\n+ description: 'NPM package name to publish'\n+ required: false\n+ default: '@next/rspack-core'\n+ t...
2025-10-01T17:31:16
golang/go
ca66f907dd44d57c93b2dc5ecafcb8addf2b23c3
4b1800e47632d52006e3080580e4e60792389759
cmd/compile: use generated loops instead of DUFFCOPY on amd64 This reverts commit 4e182db5fc876564a4f87a0602c58ea0ddc6e37c (CL 695196), which is itself a revert of ec9e1176c3209cf92e73e3deb2d8073fab5ea4d6 (CL 678620). So this CL is exactly the same as CL 678620, but with a regalloc fix (CL 696035) submitted first. C...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -142,45 +142,6 @@ func memIdx(a *obj.Addr, v *ssa.Value) {\n \ta.Index = i\n }\n \n-// DUFFZERO consists of repeated blocks of 4 MOVUPSs + LEAQ,\n-// See runtime/mkduff.go.\n-const (\n-\tdzBlocks = 16 // number of MOV/ADD blocks\n-\tdzBlockL...
2025-08-13T16:41:17
electron/electron
15c404a3c812a94cd0b7202eec35f0a35a5ea230
0affad3be668fab7e236a1407aefebb8c9b63de3
docs: fix the Apple HIG link for Dock context menu (#42450) Fix the Apple human interface guidelines link for Dock context menu The link seems to have changed. This is the up to date link.
[ { "path": "docs/api/dock.md", "patch": "@@ -80,4 +80,4 @@ Returns `Menu | null` - The application's [dock menu][dock-menu].\n \n Sets the `image` associated with this dock icon.\n \n-[dock-menu]: https://developer.apple.com/macos/human-interface-guidelines/menus/dock-menus/\n+[dock-menu]: https://developer....
2024-06-13T20:24:05
nodejs/node
761de815c5cce3fb67f0d14ecabc5397497285ff
c752615e2bbea73ec59de0439c997d334577fdae
test: move crypto related common utilities in common/crypto Since `common/crypto` already exists, it makes sense to keep crypto-related utilities there. The only exception being common.hasCrypto which is needed up front to determine if tests should be skipped. Eliminate the redundant check in hasFipsCrypto and just u...
[ { "path": "test/addons/openssl-providers/providers.cjs", "patch": "@@ -1,11 +1,14 @@\n 'use strict';\n \n const common = require('../../common');\n-if (!common.hasCrypto)\n+if (!common.hasCrypto) {\n common.skip('missing crypto');\n+}\n+const { hasOpenSSL3 } = require('../../common/crypto');\n \n-if (!com...
2025-01-25T00:58:32
facebook/react
e2cac6753340f950c592d97184e8c0bdd9d3a475
942eb80381b96f8410eab1bef1c539bed1ab0eb1
[Flight] Prefix owner stacks added to the console.log with the current stack (#30427) The current stack is available in the native UI but that's hidden by default so you don't see the actual current component on the stack. This is unlike the native async stacks UI where they're all together. So we prefix the st...
[ { "path": "packages/react-devtools-shared/src/__tests__/componentStacks-test.js", "patch": "@@ -56,13 +56,13 @@ describe('component stack', () => {\n \n expect(mockError).toHaveBeenCalledWith(\n 'Test error.',\n- (supportsOwnerStacks ? '' : '\\n in Child (at **)') +\n+ '\\n in Chil...
2024-07-23T20:48:32
vercel/next.js
2c69ddeadfd3ceba178e0cae085445c10fb24d55
bc2fa389b11263ecb6beccfd97a8b4fe2e3dad0f
Update otel test assertions and pages span_name (#84393) This updates our otel tests to remove extra span assertions from `next start` with edge runtime that can cause confusion and fixes a couple span_names for pages handlers. x-ref: https://github.com/vercel/next.js/pull/75416#discussion_r2393016147
[ { "path": "packages/next/src/server/route-modules/pages/pages-handler.ts", "patch": "@@ -400,7 +400,7 @@ export const getHandler = ({\n })\n span.updateName(name)\n } else {\n- span.updateName(`${method} ${req.url}`)\n+ ...
2025-10-01T01:06:11
golang/go
4b1800e47632d52006e3080580e4e60792389759
af8870708bbaf15956a27cbab15582b4c666855e
encoding/json/v2: cleanup error constructors There is no need to explicitly pass in the options since this contained within the Encoder or Decoder struct ever since https://github.com/go-json-experiment/json/pull/163. Thus, remove it as an argument and fetch it from the coder. This only modifies code that is compile...
[ { "path": "src/encoding/json/v2/arshal_default.go", "patch": "@@ -128,7 +128,7 @@ func makeBoolArshaler(t reflect.Type) *arshaler {\n \tfncs.marshal = func(enc *jsontext.Encoder, va addressableValue, mo *jsonopts.Struct) error {\n \t\txe := export.Encoder(enc)\n \t\tif mo.Format != \"\" && mo.FormatDepth ==...
2025-07-24T22:07:39
electron/electron
30885e5f9f7564f05f9d01c69c73b9b7c28a36bb
75d0e725be490bf0a8643c6fe23ed7b542db4911
build: add Linux GHA test step (#42460) * build: add Linux GHA test step * Switch to medium AKS runners * Add missing BUILD_TYPE to restore-artifact * Fix untar to current dir * Remove known hosts logic * Add missing Node.js headers step * Fix for active SSH sessions * Fix storing artifacts * B...
[ { "path": ".github/workflows/linux-pipeline.yml", "patch": "@@ -66,7 +66,7 @@ jobs:\n strategy:\n fail-fast: false\n matrix:\n- build-arch: [ arm64 ] # x64, arm \n+ build-arch: [ x64 ] # arm64, arm \n env: \n TARGET_ARCH: ${{ matrix.build-arch }}\n runs-on: aks-li...
2024-06-13T19:14:33
nodejs/node
19fabc0e3175d73e5b4c8acab66dd5424372ff55
1921371349c15d31b0b6884225a2093f0925a3d7
util: inspect: do not crash on an Error stack that contains a Symbol See #56570 PR-URL: https://github.com/nodejs/node/pull/56573 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewat...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -1287,8 +1287,14 @@ function identicalSequenceRange(a, b) {\n return { len: 0, offset: 0 };\n }\n \n-function getStackString(error) {\n- return error.stack ? String(error.stack) : ErrorPrototypeToString(error);\n+function getStackString(ctx, error) {...
2025-01-12T21:04:40
facebook/react
08b4ee83cce726998bb5845898a24bd280033d4e
fc74a3a3e6a3ec8340a6202f8d07bb422240836d
[compiler] Add babel-plugin-idx to snap To surface any potential conflicts with this plugin, let's install it into snap so we can surface any runtime errors after compilation ghstack-source-id: 545eee6fb7f6401e919422581cf64070da581d50 Pull Request resolved: https://github.com/facebook/react/pull/30434
[ { "path": "compiler/packages/snap/package.json", "patch": "@@ -24,6 +24,7 @@\n \"@babel/preset-typescript\": \"^7.18.6\",\n \"@parcel/watcher\": \"^2.1.0\",\n \"@testing-library/react\": \"^13.4.0\",\n+ \"babel-plugin-idx\": \"^3.0.3\",\n \"babel-plugin-syntax-hermes-parser\": \"^0.15.1\"...
2024-07-23T19:46:56
vercel/next.js
315c8ebaad92ca51931e6b892b3a26eb677feaa7
efa1ad49e829312e86ae94288e89cb054795c126
Turbopack: skip invalidating a task on cell/output change when the dependency is outdated (#84376) ### What? Fixes some cases of double invalidation of tasks. The concrete example here was tailwind executing twice on HMR changes. The problem was that tailwind has a glob dependency and a file dependency on files. Tha...
[ { "path": "test/e2e/app-dir/no-double-tailwind-execution/app/globals.css", "patch": "@@ -0,0 +1 @@\n+@import 'tailwindcss';", "additions": 1, "deletions": 0, "language": "CSS" }, { "path": "test/e2e/app-dir/no-double-tailwind-execution/app/layout.tsx", "patch": "@@ -0,0 +1,10 @@\n+im...
2025-09-30T17:54:08
electron/electron
75d0e725be490bf0a8643c6fe23ed7b542db4911
42266546ebbaf5f5c8d29029097418c0956e641c
build: fix conditional for sas token (#42481)
[ { "path": ".github/actions/checkout/action.yml", "patch": "@@ -39,12 +39,12 @@ runs:\n node src/electron/script/generate-deps-hash.js && cat src/electron/.depshash-target\n echo \"DEPSHASH=v1-src-cache-$(shasum src/electron/.depshash | cut -f1 -d' ')\" >> $GITHUB_ENV\n - name: Generate SAS Key...
2024-06-13T14:43:06
golang/go
af8870708bbaf15956a27cbab15582b4c666855e
0a75e5a07b858cbe6216c99fa12d582d063499d9
encoding/json/v2: fix incorrect marshaling of NaN in float64 any There is a fast-path optimization for marshaling an any type that should be semantically identical to when the optimization is not active (i.e., optimizeCommon is false). Unfortunately, the optimization accidentally allows NaN, which this change fixes. ...
[ { "path": "src/encoding/json/v2/arshal_any.go", "patch": "@@ -8,6 +8,7 @@ package json\n \n import (\n \t\"cmp\"\n+\t\"math\"\n \t\"reflect\"\n \t\"strconv\"\n \n@@ -35,20 +36,23 @@ func marshalValueAny(enc *jsontext.Encoder, val any, mo *jsonopts.Struct) error\n \tcase string:\n \t\treturn enc.WriteToken(j...
2025-08-12T08:56:43
nodejs/node
869d0cbca3b0b5e594b3254869a34d549664e089
a9546024975d0bfb0a8ae47da323b10fb5cbb88b
test: fix localization data for ICU 74.2 PR-URL: https://github.com/nodejs/node/pull/56661 Refs: https://github.com/nodejs/node/pull/55618 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Ruben Bridgewater <ruben@b...
[ { "path": "test/fixtures/icu/localizationData-v74.2.json", "patch": "@@ -20,14 +20,14 @@\n \"dateTimeFormats\": {\n \"en\": \"7/25/1980, 1:35:33 AM\",\n \"zh\": \"1980/7/25 01:35:33\",\n- \"hi\": \"25/7/1980, 1:35:33 am\",\n+ \"hi\": \"25/7/1980, पू 1:35:33\",\n \"es\": \"25/7/1980, 1:35...
2025-01-23T22:14:10
facebook/react
50640a1b884c8ab656c1cb0626bbbf5f39a574b7
9cc0f6e68de2b83b11d1fb2b514d2f508c2da6f7
[compiler][repro] Test fixture for fbt whitespace bug ghstack-source-id: 749feb2cb8026858b4c01a7405272a56c7bc382b Pull Request resolved: https://github.com/facebook/react/pull/30394
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/bug-fbt-preserve-whitespace-param.expect.md", "patch": "@@ -0,0 +1,100 @@\n+\n+## Input\n+\n+```javascript\n+import fbt from 'fbt';\n+\n+/**\n+ * Currently fails with the following:\n+ * Found differences in evaluat...
2024-07-23T18:17:57
vercel/next.js
9a76ce433b9915bd6030f2001cf43ec3aeee3074
4802b9839efdbb10008c11a398169ba6c4997749
Revert "Revert "Add a --webpack flag and default --turbopack to true (#84216)"" (#84351) Reverts vercel/next.js#84348 which itself reverted #84216. In the 2nd attempt to make --turbopack a default behavior. * adjust the Generate Pull Request States action to specify `--webpack` * set the `IS_WEBPACK_TEST` flag in t...
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -502,6 +502,7 @@ jobs:\n \n export NEXT_TEST_MODE=start\n export NEXT_TEST_WASM=true\n+ export IS_WEBPACK_TEST=1\n node run-tests.js \\\n test/production/pages-dir/production/test/index.test.ts \\\n ...
2025-09-30T15:23:10
electron/electron
2afe657873e39d5fa56fcde5b4558dd4412e21ff
1d2f2eb113c691622c233438de6ecdcae30e1a93
build: cleanup to macos pipeline (#42445) * build: cleanup to macos pipeline * Fix generated artifact key finding * Fix cache restore key * Switch ref to main * Use artifacts for build artifact persisting * Fix TARGET_ARCH env var in test * Remove npm install
[ { "path": ".github/workflows/macos-pipeline.yml", "patch": "@@ -44,7 +44,8 @@ env:\n # Disable pre-compiled headers to reduce out size - only useful for rebuilds\n GN_BUILDFLAG_ARGS: 'enable_precompiled_headers = false'\n GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'\n-...
2024-06-12T19:58:47
golang/go
0a75e5a07b858cbe6216c99fa12d582d063499d9
de9b6f98759f718fb48ecef22c2275ac98f1871d
encoding/json/v2: fix wrong type with cyclic marshal error in map[string]any The type reported in a ErrCycle is the wrong type due to a typo. This discrepency was detected by setting optimizeCommon to false and running the tests. This only modifies code that is compiled in under goexperiment.jsonv2. Change-Id: I6826...
[ { "path": "src/encoding/json/v2/arshal_any.go", "patch": "@@ -104,7 +104,7 @@ func marshalObjectAny(enc *jsontext.Encoder, obj map[string]any, mo *jsonopts.St\n \tif xe.Tokens.Depth() > startDetectingCyclesAfter {\n \t\tv := reflect.ValueOf(obj)\n \t\tif err := visitPointer(&xe.SeenPointers, v); err != nil ...
2025-08-12T08:45:44
nodejs/node
a9546024975d0bfb0a8ae47da323b10fb5cbb88b
3d861c493bb8ac3222837c22672d37a18b5f62ca
tools: fix tools-deps-update PR-URL: https://github.com/nodejs/node/pull/56684 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
[ { "path": ".github/workflows/tools.yml", "patch": "@@ -284,6 +284,10 @@ jobs:\n tail -n1 temp-output | grep \"NEW_VERSION=\" >> \"$GITHUB_ENV\" || true\n rm temp-output\n steps:\n+ - name: Setup Git config\n+ run: |\n+ git config --global user.name \"Nod...
2025-01-23T19:24:38
vercel/next.js
4802b9839efdbb10008c11a398169ba6c4997749
b6834b1bfefb158256db08dafeb73b386072b32f
Turbopack: Add docs for debugIds option (#84375) ## What? Adds documentation for #84319.
[ { "path": "docs/01-app/03-api-reference/05-config/01-next-config-js/turbopack.mdx", "patch": "@@ -44,12 +44,13 @@ module.exports = nextConfig\n \n The following options are available for the `turbopack` configuration:\n \n-| Option | Description ...
2025-09-30T15:22:26
facebook/react
70484844bfd47382ad0011e0066ccf25d1a84464
f83615ad30aec0f8dcec37fc8424bdf2f7ecb3d4
[BE] switch to hermes parser for prettier (#30421) This will allow us to parse new flow syntax since the `flow` parser is no longer updated. I had to exclude some files and have them fall back to `flow` parser since they contain invalid graphql syntax that makes the plugin crash.
[ { "path": ".prettierignore", "patch": "@@ -21,11 +21,22 @@ compiler/**/__tests__/fixtures/**/*.expect.md\n compiler/**/__tests__/fixtures/**/*.flow.js\n compiler/**/.next\n \n+# contains invalid graphql`...` which results in a promise rejection error from `yarn prettier-all`.\n+compiler/packages/babel-plugi...
2024-07-22T23:16:13
golang/go
674c5f0edd82b5d1dd5cb44eb4b85830245c151e
9bbea0f21a4539ea365d4804131b17d3b963c4f7
os/exec: fix incorrect expansion of ".." in LookPath on plan9 The correction in CL 685755 is incomplete for plan9, where path search is performed even on file strings containing "/". By applying filepath.Clean to the argument of validateLookPath, we can check for bogus file strings containing ".." where the later call...
[ { "path": "src/os/exec/lp_plan9.go", "patch": "@@ -36,7 +36,7 @@ func findExecutable(file string) error {\n // As of Go 1.19, LookPath will instead return that path along with an error satisfying\n // [errors.Is](err, [ErrDot]). See the package documentation for more details.\n func LookPath(file string) (s...
2025-08-07T10:15:23
electron/electron
7a6a2a51e046ce8cd118c85a0e988100fa238a9d
6caf9f06f3fe3a93d63ab3b4a02f3feb6c1810ff
docs: fix info admonitions in security.md (#42451)
[ { "path": "docs/tutorial/security.md", "patch": "@@ -246,7 +246,7 @@ and prevent the use of Node primitives `contextIsolation` **must** also be used.\n :::info\n For more information on what `contextIsolation` is and how to enable it please\n see our dedicated [Context Isolation](context-isolation.md) docum...
2024-06-12T16:38:21
rust-lang/rust
55225173f206c0b49f008066afd2cf4625bdacf1
dcb8800b2d15ebecea4baf56a14f0b9f4c3bf9a7
Fix `infinite_loop` wrong suggestion inside conditional branches
[ { "path": "clippy_lints/src/loops/infinite_loop.rs", "patch": "@@ -1,5 +1,5 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n-use clippy_utils::{fn_def_id, is_from_proc_macro, is_lint_allowed};\n+use clippy_utils::{RequiresSemi, fn_def_id, is_from_proc_macro, is_lint_allowed, is_never_expr};\n use h...
2026-02-23T03:54:00
nodejs/node
3d861c493bb8ac3222837c22672d37a18b5f62ca
a1c9c1a2dd739db69f2de97875ad9ee8347ec160
doc: fix inconsistencies in `WeakSet` and `WeakMap` comparison details PR-URL: https://github.com/nodejs/node/pull/56683 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@g...
[ { "path": "doc/api/assert.md", "patch": "@@ -909,11 +909,12 @@ weakSet2.add(obj);\n \n // Comparing different instances fails, even with same contents\n assert.deepStrictEqual(weakSet1, weakSet2);\n-// AssertionError: Expected inputs to be strictly deep-equal:\n+// AssertionError: Values have same structure...
2025-01-23T19:24:28
facebook/react
f83615ad30aec0f8dcec37fc8424bdf2f7ecb3d4
43dac1ee8d658d28af914f76c12ecc42865c3dd5
Reverse engineer original stack frames when virtual frames are re-serialized (#30416) Stacked on #30410. If we've parsed another RSC stream on the server from a different RSC server, while using `findSourceMapURL`, the Flight Client ends up adding a `rsc://React/` prefix and a numeric suffix to the URL. It's a vi...
[ { "path": "packages/react-client/src/__tests__/ReactFlight-test.js", "patch": "@@ -143,7 +143,14 @@ describe('ReactFlight', () => {\n this.props.expectedMessage,\n );\n expect(this.state.error.digest).toBe('a dev digest');\n- expect(this.state.error.environmentName)....
2024-07-22T22:50:14
rust-lang/rust
a5789d0a028b451f4bf85769f2acca86fb7e95e4
859951e3c7c9d0322c39bad49221937455bdffcd
Fix ICE in `try_to_raw_bytes` when array elements have mismatched scalar sizes
[ { "path": "compiler/rustc_middle/src/ty/consts/valtree.rs", "patch": "@@ -136,19 +136,24 @@ impl<'tcx> Value<'tcx> {\n ty::Ref(_, inner_ty, _) => match inner_ty.kind() {\n // `&str` can be interpreted as raw bytes\n ty::Str => {}\n- // `&[u8]` can b...
2026-02-18T10:33:49
electron/electron
6caf9f06f3fe3a93d63ab3b4a02f3feb6c1810ff
4aa9070e6c291c9148cd170befc82e8fb953bd2a
fix: don't observe WebUSB for in-memory partitions (#42443)
[ { "path": "shell/browser/hid/electron_hid_delegate.cc", "patch": "@@ -46,8 +46,8 @@ class ElectronHidDelegate::ContextObservation\n ContextObservation(ElectronHidDelegate* parent,\n content::BrowserContext* browser_context)\n : parent_(parent), browser_context_(browser_context) ...
2024-06-12T15:59:04
golang/go
9bbea0f21a4539ea365d4804131b17d3b963c4f7
08eef97500bd814a1dc83596a45837e6c7a7d43c
cmd/compile: during regalloc, fixedreg values are always available It is ok to clobber registers that have a copy of a fixedreg value, as that value is always available in its original location later if we need it. (See 14 lines below the change.) This CL will fix the regalloc infinite loop that CL 678620 introduced....
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -2476,7 +2476,7 @@ func (e *edgeState) processDest(loc Location, vid ID, splice **Value, pos src.XP\n \t}\n \n \t// Check if we're allowed to clobber the destination location.\n-\tif len(e.cache[occupant.vid]) == 1 && !e.s.values[occupant.vi...
2025-08-13T21:01:30
nodejs/node
905e4b43e58a7443fc9cb6ae6f99623422a0e997
d9786109b2a0982677135f0c146f6b591a0e4961
module: use more defensive code when handling SWC errors PR-URL: https://github.com/nodejs/node/pull/56646 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/modules/typescript.js", "patch": "@@ -1,5 +1,8 @@\n 'use strict';\n \n+const {\n+ ObjectPrototypeHasOwnProperty,\n+} = primordials;\n const {\n validateBoolean,\n validateOneOf,\n@@ -12,7 +15,6 @@ const { assertTypeScript,\n isUnderNodeModules,\n kEmptyObject } =...
2025-01-23T15:17:31
vercel/next.js
624a01400906c55015fa20d2f730f4b108a2b675
fe357ef2abce84862eb15cf30efa50f7bcbffbc2
[turbopack] Add support for debug_ids (#84319) ## What? Add a new feature to turbopack for generating debug_ids based on the [TC39 Debug ID proposal](https://github.com/tc39/ecma426/blob/main/proposals/debug-id.md) If a user sets `turbopack.debugIds = true` then we will * register the debug id with the global `_debu...
[ { "path": "Cargo.lock", "patch": "@@ -9564,8 +9564,10 @@ dependencies = [\n \"turbo-tasks-hash\",\n \"turbo-tasks-testing\",\n \"turbo-unix-path\",\n+ \"twox-hash 2.1.0\",\n \"url\",\n \"urlencoding\",\n+ \"uuid\",\n ]\n \n [[package]]\n@@ -10223,9 +10225,9 @@ checksum = \"711b9620af191e0cdc7468a8d14e7...
2025-09-30T12:07:38
electron/electron
4aa9070e6c291c9148cd170befc82e8fb953bd2a
ea219dd7022ae88091ae7373b13af9ac7b772697
fix: missing `fetch`-dependent interfaces in Node.js (#42419) fix: missing fetch-dependent interfaces in Node.js
[ { "path": "lib/node/init.ts", "patch": "@@ -3,8 +3,11 @@ import { wrapFsWithAsar } from './asar-fs-wrapper';\n wrapFsWithAsar(require('fs'));\n \n // See ElectronRendererClient::DidCreateScriptContext.\n-if ((globalThis as any).blinkFetch) {\n- globalThis.fetch = (globalThis as any).blinkFetch;\n+if ((glob...
2024-06-11T21:59:53
facebook/react
43dac1ee8d658d28af914f76c12ecc42865c3dd5
b7e7f1a3fab87e8fc19e86a8088a9e0fe4710973
[DevTools] Implement Owner Stacks (#30417) Stacked on #30410. Use "owner stacks" as the appended component stack if it is available on the Fiber. This will only be available if the enableOwnerStacks flag is on. Otherwise it fallback to parent stacks. In prod, there's no owner so it's never added there. I was ...
[ { "path": "packages/react-devtools-extensions/package.json", "patch": "@@ -67,6 +67,6 @@\n \"workerize-loader\": \"^2.0.2\"\n },\n \"dependencies\": {\n- \"web-ext\": \"^4\"\n+ \"web-ext\": \"^8\"\n }\n }", "additions": 1, "deletions": 1, "language": "JSON" }, { "path": "...
2024-07-22T22:49:44
golang/go
e001300cf21bad54afb5052e9ff823f8c1cbd407
d5dea86993e1bc07bb9a49d2930655050da006d7
[dev.simd] cmd/compile: fix LoadReg so it is aware of register target SIMD code generation created interesting new type/register combintations. Change-Id: I9c9a73bf51f6cb54551db1fdc88f9dd1eef7ab26 Reviewed-on: https://go-review.googlesource.com/c/go/+/695895 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-acc...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -47,8 +47,8 @@ func isFPReg(r int16) bool {\n \treturn x86.REG_X0 <= r && r <= x86.REG_Z31\n }\n \n-// loadByType returns the load instruction of the given type.\n-func loadByType(t *types.Type) obj.As {\n+// loadByTypeAndReg returns the load i...
2025-08-13T16:44:01
nodejs/node
9ec7bed7b9343fbdc7f7270d8c08c9fb0dca453f
01dd7c4f6450ac5f092f98a5a85f00d0a7f489b2
module: fixing url change in load sync hook chain Fixes: https://github.com/nodejs/node/issues/56376 PR-URL: https://github.com/nodejs/node/pull/56402 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Mat...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -1144,7 +1144,7 @@ function getDefaultLoad(url, filename) {\n return function defaultLoad(urlFromHook, context) {\n // If the url is the same as the original one, save the conversion.\n const isLoadingOriginalModule = (urlFromHook === ur...
2024-12-29T20:36:54
vercel/next.js
fe357ef2abce84862eb15cf30efa50f7bcbffbc2
9c6eb1457ef4e108be79edb70d05d0e0f0351451
Turbopack: remove canary version check for turbopackPersistentCachingForDev (#84277) <!-- 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 yo...
[ { "path": "packages/next/src/server/config.test.ts", "patch": "@@ -133,20 +133,6 @@ describe('loadConfig', () => {\n )\n })\n \n- it('errors when using persistentCachingForDev if not in canary', async () => {\n- await expect(\n- loadConfig(PHASE_PRODUCTION_BUILD, __dirname, {\n- ...
2025-09-30T10:27:14
facebook/react
d7c4334ce91726ddff4b6ba84ff6bd81eb3a91d5
d025ddd3b954dfc52ad7e6a036913946a8ca2644
Add _debugStack and _debugTask under enableObjectFiber flag (#30337)
[ { "path": "packages/react-reconciler/src/ReactFiber.js", "patch": "@@ -296,11 +296,15 @@ function createFiberImplObject(\n }\n \n if (__DEV__) {\n+ // This isn't directly used but is handy for debugging internals:\n fiber._debugInfo = null;\n fiber._debugOwner = null;\n+ if (enableOwnerSta...
2024-07-22T18:10:08
electron/electron
f35a75508685fa7ffaa3ad54d5b3547ebbefe6dc
f2481ed44f269478f34452493f736eb000efbe67
fix: bad js-flags shouldn't crash the app (#42414) * fix: bad js-flags shouldn't crash the app * Update shell/browser/javascript_environment.cc Co-authored-by: Robo <hop2deep@gmail.com> --------- Co-authored-by: Robo <hop2deep@gmail.com>
[ { "path": "shell/browser/javascript_environment.cc", "patch": "@@ -124,13 +124,10 @@ JavascriptEnvironment::~JavascriptEnvironment() {\n v8::Isolate* JavascriptEnvironment::Initialize(uv_loop_t* event_loop,\n bool setup_wasm_streaming) {\n auto* cmd = base::C...
2024-06-11T13:32:16
golang/go
d5dea86993e1bc07bb9a49d2930655050da006d7
08ab8e24a310944768717356e188a14c46c7447b
[dev.simd] cmd/compile: fix isIntrinsic for methods; fix fp <-> gp moves also includes a handy debugging hook for the inliner. Change-Id: I23d0619506219d21db78c6c801612ff058562142 Reviewed-on: https://go-review.googlesource.com/c/go/+/694118 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gservic...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -43,6 +43,10 @@ func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {\n \t}\n }\n \n+func isFPReg(r int16) bool {\n+\treturn x86.REG_X0 <= r && r <= x86.REG_Z31\n+}\n+\n // loadByType returns the load instruction of the given type.\n func loadByTy...
2025-08-07T20:44:50
nodejs/node
8306457110ebba648de5979136c39f7abba46ea9
1b693fa03a0d36bc1dc9ec8d95060e3e5ceeee7b
path: fix path traversal in normalize() on Windows Without this patch, on Windows, normalizing a relative path might result in a path that Windows considers absolute. In rare cases, this might lead to path traversal vulnerabilities in user code. We attempt to detect those cases and return a relative path instead. Co...
[ { "path": "lib/path.js", "patch": "@@ -26,6 +26,7 @@ const {\n ArrayPrototypeSlice,\n FunctionPrototypeBind,\n StringPrototypeCharCodeAt,\n+ StringPrototypeIncludes,\n StringPrototypeIndexOf,\n StringPrototypeLastIndexOf,\n StringPrototypeRepeat,\n@@ -414,6 +415,23 @@ const win32 = {\n if (...
2025-01-20T14:40:16
vercel/next.js
031b8fb86270bf1bd3a892d9216bfec43f2c48cf
d300ee9930d2e2d28f5c4dce1dc7e4fe5a62d78e
Turbopack: only replace edge dynamic calls in dev (#84354) This replacement should only happen in dev, it's really only to be able to have nicer error messages. This previously failed the deployment tests. Related: https://github.com/vercel/next.js/issues/40625 Closes PACK-5591
[ { "path": "crates/next-core/src/next_server/transforms.rs", "patch": "@@ -174,14 +174,18 @@ pub async fn get_next_server_transforms_rules(\n }\n \n if let NextRuntime::Edge = next_runtime {\n- rules.push(get_middleware_dynamic_assert_rule(mdx_rs));\n+ let mode = *mode.await?;\n+\n+ ...
2025-09-29T23:47:25
electron/electron
c4abaec56ac91a53341bc486dcd05f733348326e
92de23bb3c2dd882497a91354e8073ea210ffb48
build: fix upload script defaults (#42430)
[ { "path": "script/lib/util.py", "patch": "@@ -158,7 +158,7 @@ def azput(prefix, key_prefix, files):\n print(output)\n \n def get_out_dir():\n- out_dir = 'Debug'\n+ out_dir = 'Default'\n override = os.environ.get('ELECTRON_OUT_DIR')\n if override is not None:\n out_dir = override", "additions...
2024-06-10T21:58:29
facebook/react
06763852ded5c85d3f6b7a47f77a59d9336d45d7
b15c1983dcf96f19400b0ca7337be1e1fb1a8717
[Flight] Parse Stack on the Server and Transfer Structured Stack (#30410) Stacked on #30401. Previously we were transferring the original V8 stack trace string to the client and then parsing it there. However, really the server is the one that knows what format it is and it should be able to vary by server envir...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -12,6 +12,7 @@ import type {\n ReactDebugInfo,\n ReactComponentInfo,\n ReactAsyncInfo,\n+ ReactStackTrace,\n } from 'shared/ReactTypes';\n import type {LazyComponent} from 'react/src/ReactLazy';\n \n@@ -624,7 +625,7 @@ function ...
2024-07-22T15:18:55
golang/go
08eef97500bd814a1dc83596a45837e6c7a7d43c
2fe5d51d0494d3241a8006d797d02510b030c0e3
runtime/trace: fix documentation typo Change-Id: I3d8dc20536c7a1fb4b1d895fcf989f86bf45f499 GitHub-Last-Rev: 234aea60e25b01e84abdf485cebbd0da5f392fed GitHub-Pull-Request: golang/go#74991 Reviewed-on: https://go-review.googlesource.com/c/go/+/695535 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gs...
[ { "path": "src/runtime/trace/flightrecorder.go", "patch": "@@ -158,7 +158,7 @@ type FlightRecorderConfig struct {\n \t//\n \t// The flight recorder will strive to promptly discard events older than the minimum age,\n \t// but older events may appear in the window snapshot. The age setting will always be\n-\...
2025-08-13T06:37:55
nodejs/node
1b693fa03a0d36bc1dc9ec8d95060e3e5ceeee7b
23c2d33592e72f7ba9bb5d30fe3181714bb508d1
src: fix HTTP2 mem leak on premature close and ERR_PROTO This commit fixes a memory leak when the socket is suddenly closed by the peer (without GOAWAY notification) and when invalid header (by nghttp2) is identified and the connection is terminated by peer. Refs: https://hackerone.com/reports/2841362 PR-URL: https:/...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -614,11 +614,20 @@ function onFrameError(id, type, code) {\n return;\n debugSessionObj(session, 'error sending frame type %d on stream %d, code: %d',\n type, id, code);\n- const emitter = session[kState].streams.get(id) || session...
2024-12-17T19:58:03
vercel/next.js
3f75ff69cb1cc2a0314795b0fce8cd0a8dd4a837
c1967707aba2bba32a04d806474e69b077e0592a
Use Array.from to avoid @ts-ignore when copying i18n.locales (#82148) ### What? Replaces: ```ts // @ts-ignore locales are readonly const locales: string[] = i18n.locales; ``` with: ```ts const locales = Array.from(i18n.locales); ``` ### Why? Avoids suppressing TypeScript errors via @ts-ignore. Array.from safely creat...
[ { "path": "examples/i18n-routing/middleware.ts", "patch": "@@ -11,8 +11,7 @@ function getLocale(request: NextRequest): string | undefined {\n const negotiatorHeaders: Record<string, string> = {};\n request.headers.forEach((value, key) => (negotiatorHeaders[key] = value));\n \n- // @ts-ignore locales ar...
2025-09-29T22:13:41
facebook/react
b15c1983dcf96f19400b0ca7337be1e1fb1a8717
792f1921145e51bd06b836ffa0a16ecc39c8ee82
[Flight] Normalize Stack Using Fake Evals (#30401) Stacked on https://github.com/facebook/react/pull/30400 and https://github.com/facebook/react/pull/30369 Previously we were using fake evals to recreate a stack for console replaying and thrown errors. However, for owner stacks we just used the raw string that c...
[ { "path": "packages/react-client/src/ReactFlightClient.js", "patch": "@@ -689,11 +689,21 @@ function createElement(\n value: null,\n });\n if (enableOwnerStacks) {\n+ let normalizedStackTrace: null | Error = null;\n+ if (stack !== null) {\n+ // We create a fake stack and then ...
2024-07-22T15:03:15
golang/go
2fe5d51d0494d3241a8006d797d02510b030c0e3
9fcb87c352b398aa650310160346c8d9bfcdcc45
internal/trace: fix wrong scope for Event.Range or EvGCSweepActive Change-Id: I6a6a69643e804c75914e6eedd32463cb825ab69f Reviewed-on: https://go-review.googlesource.com/c/go/+/694695 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scop...
[ { "path": "src/internal/trace/event.go", "patch": "@@ -489,7 +489,6 @@ func (e Event) Range() Range {\n \t\t} else {\n \t\t\tr.Scope.id = int64(e.Proc())\n \t\t}\n-\t\tr.Scope.id = int64(e.Proc())\n \tcase tracev2.EvGCMarkAssistBegin, tracev2.EvGCMarkAssistActive, tracev2.EvGCMarkAssistEnd:\n \t\tr.Name = \...
2025-07-02T19:49:45
electron/electron
92de23bb3c2dd882497a91354e8073ea210ffb48
ff4494c18fff3fbe01a52373f97172636308cf7d
build: initial Linux pipeline checkout (#42429) * build: create config for GHA build linux * build: restructure linux pipeline files * build (do not merge): don't run CircleCI or Appveyor * build: run on push * build: add checkout step * build: fix .yml syntax * Remove Azure CLI install * Revert "...
[ { "path": ".github/workflows/linux-build.yml", "patch": "@@ -0,0 +1,17 @@\n+name: Build Linux\n+\n+on:\n+ workflow_dispatch:\n+ # push:\n+ # pull_request:\n+\n+jobs:\n+ build:\n+ uses: electron/electron/.github/workflows/linux-pipeline.yml@main\n+ with:\n+ is-release: false\n+ gn-config:...
2024-06-10T19:39:34
facebook/react
f603426f917314561c4289734f39b972be3814af
fac78affb0dd64537e6154cb36bc6f50f57eb049
[Flight] Consistently flag debugOwner field (#30400) This is available outside `enableOwnerStack` but we weren't consistently using it and so it has different hidden classes.
[ { "path": "packages/react-server/src/ReactFlightServer.js", "patch": "@@ -618,7 +618,7 @@ function serializeThenable(\n task.keyPath, // the server component sequence continues through Promise-as-a-child.\n task.implicitSlot,\n request.abortableTasks,\n- __DEV__ && enableOwnerStacks ? task.de...
2024-07-20T01:13:03
golang/go
08ab8e24a310944768717356e188a14c46c7447b
702ee2d51ed0522e3942d0dd2819e2c8cb8a10f2
[dev.simd] cmd/compile: generated code from 'fix generated rules for shifts' this code is generated by simdgen CL 695455 Change-Id: I5afdc209a50b49d68e120130e0578e4666bf8749 Reviewed-on: https://go-review.googlesource.com/c/go/+/695475 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccou...
[ { "path": "src/cmd/compile/internal/ssa/_gen/simdAMD64.rules", "patch": "@@ -1444,42 +1444,33 @@\n (SetLoUint32x16 x y) => (VINSERTI64X4512 [0] x y)\n (SetLoUint64x4 x y) => (VINSERTI128256 [0] x y)\n (SetLoUint64x8 x y) => (VINSERTI64X4512 [0] x y)\n-(ShiftAllLeftInt16x8 x (MOVQconst [c])) => (VPSLLW128con...
2025-08-12T21:01:55