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
electron/electron
18475818486be806e891e8e6cb13b83c620ec0aa
2f23bdb19ea76029907ae247cc8eb47114df1d0c
fix: crash on WebWorker destruction (#35422)
[ { "path": "patches/node/feat_add_uv_loop_interrupt_on_io_change_option_to_uv_loop_configure.patch", "patch": "@@ -136,7 +136,7 @@ index 7cd3a2a954ff7d70e6ba7a6f7538648841bc54b2..f89b7158218be60ac10e61484a2d5e5e\n \n \n diff --git a/deps/uv/src/unix/loop.c b/deps/uv/src/unix/loop.c\n-index a88e71c339351f2e...
2022-08-29T13:45:48
nodejs/node
231548b5cf23a1e7a25d0c323bc5b485e10cbcea
ff826069a89f3ab883f38ae08ce629d139d7c3b6
lib: enforce ASCII order in error code imports PR-URL: https://github.com/nodejs/node/pull/52625 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
[ { "path": "lib/.eslintrc.yaml", "patch": "@@ -185,6 +185,7 @@ rules:\n - groups: [['&&', '||']]\n \n # Custom rules in tools/eslint-rules\n+ node-core/alphabetize-errors: error\n node-core/alphabetize-primordials: error\n node-core/avoid-prototype-pollution: error\n node-core/lowercase-name-for...
2024-04-23T17:05:38
golang/go
30f515898c9852f0529fe42b46c8b89d00e14949
b941d2b6d8bd9663abec7761de366b09a2be7445
make.bat,race.bat: simplify --dist-tool handling make.bat accepts the --dist-tool flag on multiple flag positions and also allows omitting the trailing dash. Doing so adds complexity and is not aligned with the make.bash and make.rc behavior. Remove that flexibility to simplify the code and make it more consistent. Th...
[ { "path": "src/make.bat", "patch": "@@ -101,14 +101,14 @@ call .\\env.bat\n del env.bat\r\n if x%vflag==x-v echo.\r\n \r\n-if x%1==x-dist-tool goto copydist\r\n-if x%2==x-dist-tool goto copydist\r\n-if x%3==x-dist-tool goto copydist\r\n-if x%4==x-dist-tool goto copydist\r\n-if x%1==x--dist-tool goto copydis...
2025-02-11T18:23:11
facebook/react
2aa3a284810424bee7064fa0748c260f8121bb5e
5b9992075c7127ff4e2b5361dd57b732f86b97ad
test case for debugger stmt in reactive scope
[ { "path": "compiler/forget/src/__tests__/fixtures/compiler/debugger-memoized.expect.md", "patch": "@@ -0,0 +1,36 @@\n+\n+## Input\n+\n+```javascript\n+function Component(props) {\n+ const x = [];\n+ debugger;\n+ x.push(props.value);\n+ return x;\n+}\n+\n+```\n+\n+## Code\n+\n+```javascript\n+import { un...
2023-04-26T18:34:46
vercel/next.js
504bfbd253a749fbc3077b045c03bd0d64d9cdd7
1aba8edea26e1dd651e4746b3e043a7c8061f58e
fix(turbopack): keep the original sourcemap of styles after source transform (#79700) ## Why The original sourcemap be lost after source transform. For example, a`xyz.sass` file processed by sass-loader, return a `xyz.sass.css`, the output css chunk only contains the sourcemap of `xyz.sass.css` produced by lightningcs...
[ { "path": "test/e2e/app-dir/scss/compilation-and-prefixing/compilation-and-prefixing.test.ts", "patch": "@@ -87,25 +87,45 @@ describe.each([\n if (process.env.IS_TURBOPACK_TEST) {\n if (dependencies.sass) {\n expect(sourceMapContentParsed).toMatchInlineSnapshot(`\n- ...
2025-06-03T05:05:16
electron/electron
4744674e933ebbd294878b60c93732500fd4217a
f6bbad287a7b15a760a018b85a3bb667d384e3c0
fix: crash when switching origins with emulation settings set (#35466)
[ { "path": "patches/chromium/.patches", "patch": "@@ -117,3 +117,4 @@ add_maximized_parameter_to_linuxui_getwindowframeprovider.patch\n revert_spellcheck_fully_launch_spell_check_delayed_initialization.patch\n add_electron_deps_to_license_credits_file.patch\n feat_add_set_can_resize_mutator.patch\n+fix_rever...
2022-08-29T12:53:24
nodejs/node
6f738b3a1ab6529d4e64447d24dc85f73d304ac4
9fe0e46807d413c4fd73ab4caf7a81745368371c
tools: fix invalid escape sequence in mkssldef Use a raw string for the regex. PR-URL: https://github.com/nodejs/node/pull/52624 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: James M Sne...
[ { "path": "tools/mkssldef.py", "patch": "@@ -26,7 +26,7 @@\n \n for filename in filenames:\n for line in open(filename).readlines():\n- name, _, _, meta, _ = re.split('\\s+', line)\n+ name, _, _, meta, _ = re.split(r'\\s+', line)\n if any(p.match(name) for p in excludes): continue\n ...
2024-04-23T13:04:51
golang/go
8c6fec6d25e7c83780d8b020e3e4f81051645d65
34e8541d24b5b6624ccc252125f832c1ea0bfa00
runtime: update HACKING.md with execution traces and debuglog Change-Id: Iedd3c6f292ad76f57c6c04beafd655e2e4d83043 Reviewed-on: https://go-review.googlesource.com/c/go/+/646017 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-...
[ { "path": "src/runtime/HACKING.md", "patch": "@@ -330,3 +330,69 @@ transitive calls) to prevent stack growth.\n The conversion from pointer to uintptr must appear in the argument list of any\n call to this function. This directive is used for some low-level system call\n implementations.\n+\n+Execution trac...
2025-02-01T05:51:33
facebook/react
8e7b68506f0b490c7eca3ee886bfd1ff7991d07c
1f51b10ac9762550574485028a4081902d6bd034
You get a debugger and you get a debugger and you get a Adds support for DebuggerStatement.
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -866,9 +866,22 @@ function lowerStatement(\n );\n return;\n }\n+ case \"DebuggerStatement\": {\n+ const stmt = stmtPath as NodePath<t.DebuggerStatement>;\n+ const loc = stmt.node.loc ?? GeneratedSource;\n+ builde...
2023-04-26T18:27:37
vercel/next.js
f30797f8fb682ff7777018ddab077647f844d9d0
29e0b965a3820f73f9a98a1358598562865e8350
fix(napi): Use strong consistency for the entire project_trace_source function (#79917) This function does a few more `Vc` reads than just looking up the source map, so it's better to move the entire thing inside one strongly-consistent operation. This was an attempt to fix a loop (tracing an error -> react fast refr...
[ { "path": "crates/napi/src/next_api/project.rs", "patch": "@@ -1,4 +1,4 @@\n-use std::{io::Write, path::PathBuf, sync::Arc, thread, time::Duration};\n+use std::{borrow::Cow, io::Write, path::PathBuf, sync::Arc, thread, time::Duration};\n \n use anyhow::{Context, Result, anyhow, bail};\n use napi::{\n@@ -24,...
2025-06-03T01:02:21
electron/electron
f65b05b8cc91e745c60a7cffd7d0c13d186970ba
8128fa6d8586048d6fff2a40c710c8d6c279b640
fix: pass rfh instances through to the permission helper (#35419) * fix: pass rfh instances through to the permission helper * refactor: use WeakDocumentPtr instead of frame node id * fix: handle missing initiator document * fix: dispatch openExternal event for top level webview navs still
[ { "path": "docs/api/session.md", "patch": "@@ -635,7 +635,7 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => {\n * `notifications` - Request notification creation and the ability to display them in the user's system tray.\n * `midi` - Request MIDI access in the `webmidi` AP...
2022-08-26T10:31:33
nodejs/node
0d6ac38b1305b3800dc17fab3ee5b614ced4b077
4728eb0f024f49c0ec9fea563c62186652213e8b
deps: V8: revert CL 5331688 On Windows debug builds, it is not allowed to dereference empty iterators. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/5331688 PR-URL: https://github.com/nodejs/node/pull/52465 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotm...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.8',\n+ 'v8_embedder_string': '-node.9',\n \n ##### V8 defaults for Node.js #####\n "...
2024-04-21T12:06:27
rust-lang/rust
52d4ef12a88ce0ead3cc5ac96b6778e3a33b3583
dd5539251c3a5eb6ad33b036d79b3f47238cb1ab
fix(parser): Disallow CR in frontmatter T-lang came back on the stabilization PR asking for CR to be disallowed to leave room for all stray CRs to be rejected in the future. At that point, the test can remain but the implementation can be removed. If that plan does not go through, we'll need to re-evaluate - whether ...
[ { "path": "compiler/rustc_parse/messages.ftl", "patch": "@@ -98,6 +98,8 @@ parse_bare_cr = {$double_quotes ->\n }\n .escape = escape the character\n \n+parse_bare_cr_in_frontmatter = bare CR not allowed in frontmatter\n+\n parse_bare_cr_in_raw_string = bare CR not allowed in raw string\n \n parse_bi...
2025-12-09T21:54:26
facebook/react
1f51b10ac9762550574485028a4081902d6bd034
2cb1c723051378a3e94bec445f135a457d93f04f
Fix unused logical/condition via ExpressionStatement instr Uses the new ExpressionStatement instruction to ensure that logical and conditional expressions are never pruned. This addresses an issue where we were unable to construct a ReactiveFunction for unused logical/conditional bc there wasn't a single Identifie...
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -674,7 +674,24 @@ function lowerStatement(\n case \"ExpressionStatement\": {\n const stmt = stmtPath as NodePath<t.ExpressionStatement>;\n const expression = stmt.get(\"expression\");\n- lowerExpressionToTemporary(builder, ex...
2023-04-26T18:27:36
golang/go
49eba8b15bcfc07eb272f23f1b6810d37e6fe342
659b895067400e1db64c57712729623970149e99
internal/trace: interpret string ID arguments for experimental events Currently one of the reasons experimental events are tricky to use is because: - There's no way to take advantage of the existing infrastructure, like strings and stacks, and - There's no way to attach arbitrary data to an event (except through ...
[ { "path": "src/cmd/trace/gen.go", "patch": "@@ -282,11 +282,11 @@ func (g *globalMetricGenerator) GlobalMetric(ctx *traceContext, ev *trace.Event)\n \tm := ev.Metric()\n \tswitch m.Name {\n \tcase \"/memory/classes/heap/objects:bytes\":\n-\t\tctx.HeapAlloc(ctx.elapsed(ev.Time()), m.Value.Uint64())\n+\t\tctx...
2025-01-28T20:54:34
vercel/next.js
047cb99a7462b0ea2e8733fb88acda3dfbbb8962
e76436fed9bf925c61012d1a1d0f8a5bbb2ce088
[dynamicIO] Only report client sync IO errors if they are above a Suspense boundary (#80026) Currently if the client has any sync IO during prerenders and no shell is produced dynamicIO will assume that the sync IO in the client is the cause. This is often incorrect because you might abort the prerender in a component...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -132,6 +132,7 @@ import {\n createDynamicValidationState,\n trackAllowedDynamicAccess,\n throwIfDisallowedDynamic,\n+ PreludeState,\n consumeDynamicAccess,\n type DynamicAccess,\n } from './dynamic-rendering'\n@@ -2611,7...
2025-06-02T22:26:17
electron/electron
8128fa6d8586048d6fff2a40c710c8d6c279b640
3eb593dfde9c90bc17e669aa5532841097005c77
build: fix missing patch config dir error (#35451)
[ { "path": "script/export_all_patches.py", "patch": "@@ -2,13 +2,15 @@\n \n import argparse\n import json\n+import os\n \n from lib import git\n \n \n def export_patches(dirs, dry_run):\n for patch_dir, repo in dirs.items():\n- git.export_patches(repo=repo, out_dir=patch_dir, dry_run=dry_run)\n+ if o...
2022-08-25T16:39:16
nodejs/node
601c788e743351801f045e703394c91b791eb602
80a42a9eaacf7deb50a7eb771dccf9604fb63af8
deps: avoid compilation error with ASan Refs: https://bugs.chromium.org/p/v8/issues/detail?id=14221 PR-URL: https://github.com/nodejs/node/pull/49639 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n ##### V8 defaults for Node.js #####\n "...
2023-07-31T09:51:27
facebook/react
894cf6e37b7b34c95076328a10efbbc2117f89bc
9aea37ff5af310dbd28a22b0d56e3d4233e8cb24
First-class representation of builtin jsx tags We previously represented JsxExpressions using builtin tags - `<div>`, `<b>` etc - by lowering the tag name to a Primitive with the string name of the tag. However, by lowering into an independent value, it was possible that the lowered tag name could be grouped into ...
[ { "path": "compiler/forget/src/HIR/BuildHIR.ts", "patch": "@@ -17,6 +17,7 @@ import {\n ArrayPattern,\n BlockId,\n BranchTerminal,\n+ BuiltinTag,\n Case,\n Effect,\n GeneratedSource,\n@@ -2035,7 +2036,7 @@ function lowerJsxElementName(\n exprPath: NodePath<\n t.JSXIdentifier | t.JSXMember...
2023-04-26T18:27:35
golang/go
e9eb88ae7291bf9f1b05e8e4860474c734c5448d
450f3f608d409e2b3d76af071ec726efacbdd17b
{all,clean,make,race,run}.bat: simplify error handling The bat files can use "if" + parentheses to make it easier to understand how the if-case is handled rather than the more cryptic "if" + "goto". While here, replace some "goto"s with direct "exit" calls. Change-Id: I20e1804439b5088f8f1e5cbf8676f3d58560109d Review...
[ { "path": "src/all.bat", "patch": "@@ -6,15 +6,11 @@\n \r\n setlocal\r\n \r\n-if exist make.bat goto ok\r\n-echo all.bat must be run from go\\src\r\n-exit /b 1\r\n-:ok\r\n+if not exist make.bat (\r\n+ echo all.bat must be run from go\\src\r\n+ exit /b 1\r\n+)\r\n \r\n-call .\\make.bat --no-banner || g...
2025-02-11T08:17:08
rust-lang/rust
457148406f7fbeaee433d9b966d458a6033b4758
f2141d0c6635261ea940fbbed7fd9cfb2b431dbc
Refer to debug-logging bootstrap config by its full path.
[ { "path": "src/doc/rustc-dev-guide/src/tracing.md", "patch": "@@ -183,7 +183,7 @@ rustc.\n \n While calls to `error!`, `warn!` and `info!` are included in every build of the compiler,\n calls to `debug!` and `trace!` are only included in the program if\n-`debug-logging=true` is turned on in bootstrap.toml (...
2026-01-28T18:38:09
electron/electron
3eb593dfde9c90bc17e669aa5532841097005c77
3de78442127f7a75c2b49c09bccb0277900be28a
test: fix some broken globs for spec-main (#35439)
[ { "path": ".circleci/config/base.yml", "patch": "@@ -1060,7 +1060,7 @@ steps-tests: &steps-tests\n export LLVM_SYMBOLIZER_PATH=$PWD/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer\n export MOCHA_TIMEOUT=180000\n echo \"Piping output to ASAN_SYMBOLIZE ($ASAN_SYM...
2022-08-25T16:36:08
nodejs/node
80a42a9eaacf7deb50a7eb771dccf9604fb63af8
2397b5cb8c68c94267a5242442e4ab55b4935fad
deps: disable V8 concurrent sparkplug compilation It introduces process hangs on some platforms because Node.js doesn't tear down V8 correctly. Disable it while we work on a solution. Refs: https://github.com/nodejs/node/issues/47297 Refs: https://bugs.chromium.org/p/v8/issues/detail?id=13902 PR-URL: https://github.c...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n ##### V8 defaults for Node.js #####\n "...
2023-04-06T12:50:56
facebook/react
5f2f76cbcd27eb1bd2d0cb68965046183f71d98b
5ed297fa74fb75d4b25d8b3e9dfa0608c23872aa
Fix test262 We [renamed the export](https://github.com/facebook/react-forget/blob/6f001f54b036d6f427c8d4c1c04ace3ab1998a4d/forget/src/Babel/RunReactForgetBabelPlugin.ts#L22) of runReactForgetBabelPlugin so the test262 preprocessor was erroring
[ { "path": "compiler/forget/scripts/test262-preprocessor.js", "patch": "@@ -5,8 +5,9 @@\n * LICENSE file in the root directory of this source tree.\n */\n \n-const runReactForgetBabelPlugin =\n- require(\"../dist/Babel/RunReactForgetBabelPlugin\").default;\n+const {\n+ runReactForgetBabelPlugin,\n+} = re...
2023-04-26T18:12:18
golang/go
450f3f608d409e2b3d76af071ec726efacbdd17b
dcbdc1a2f7368ad8a9193e969cc76c7ffd2f7685
net/http/httptest: match net/http ContentLength behavior for http.NoBody Fixes #68476 Change-Id: I05122e5ec5e6b290eec93f3db444fcf1de19c030 Reviewed-on: https://go-review.googlesource.com/c/go/+/599815 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <d...
[ { "path": "src/net/http/httptest/httptest.go", "patch": "@@ -34,9 +34,9 @@ func NewRequest(method, target string, body io.Reader) *http.Request {\n //\n // An empty method means \"GET\".\n //\n-// The provided body may be nil. If the body is of type *bytes.Reader,\n-// *strings.Reader, or *bytes.Buffer, the...
2024-07-19T22:28:54
rust-lang/rust
f5f2ca0dc62b4a6d38ba221ef64090172da7f569
625b63f9e148d511e187c71e5f70643ee62c77fb
Improve move error diagnostic for `AsyncFn` closures When an async closure captures a variable by move but is constrained to `AsyncFn` or `AsyncFnMut`, the error message now explains that the closure kind is the issue and points to the trait bound, similar to the existing diagnostic for `Fn`/`FnMut` closures.
[ { "path": "compiler/rustc_borrowck/src/diagnostics/move_errors.rs", "patch": "@@ -1,3 +1,4 @@\n+use rustc_abi::FieldIdx;\n use rustc_data_structures::fx::FxHashSet;\n use rustc_errors::{Applicability, Diag};\n use rustc_hir::intravisit::Visitor;\n@@ -7,7 +8,7 @@ use rustc_middle::mir::*;\n use rustc_middle:...
2026-01-01T22:25:25
electron/electron
a3a9463024f26c26f82f2e62d73d357e5ce8af59
70d6cbfb44f9b5c1cba6a6365d1e08ca58010206
fix: fullscreen crashing with `roundedCorners: false` (#35421)
[ { "path": "docs/api/browser-window.md", "patch": "@@ -246,7 +246,8 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.\n * `trafficLightPosition` [Point](structures/point.md) (optional) _macOS_ -\n Set a custom position for the traffic light buttons in frameless windows...
2022-08-25T11:39:01
facebook/react
6eadbe0c4aebf68410bb48147054ee22eec4c20c
ec5e9c2a75749b0a470b7148738cb85bbb035958
Fix: Resolve entangled actions independently (#26726) When there are multiple async actions at the same time, we entangle them together because we can't be sure which action an update might be associated with. (For this, we'd need AsyncContext.) However, if one of the async actions fails with an error, it should on...
[ { "path": "packages/react-reconciler/src/ReactFiberAsyncAction.js", "patch": "@@ -7,44 +7,36 @@\n * @flow\n */\n \n-import type {Wakeable} from 'shared/ReactTypes';\n+import type {\n+ Thenable,\n+ PendingThenable,\n+ FulfilledThenable,\n+ RejectedThenable,\n+} from 'shared/ReactTypes';\n import type {...
2023-04-26T00:43:20
nodejs/node
5548928cb460dad3121fa1d6609f6e4596a6a5fb
44f81a1b7dbed051433959cc2e816faeb674457d
fs: fix read / readSync positional offset types This changeset fixes the types in comments to match the implementation. PR-URL: https://github.com/nodejs/node/pull/52603 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno...
[ { "path": "lib/fs.js", "patch": "@@ -599,7 +599,11 @@ function openAsBlob(path, options = kEmptyObject) {\n * Reads file from the specified `fd` (file descriptor).\n * @param {number} fd\n * @param {Buffer | TypedArray | DataView} buffer\n- * @param {number} offsetOrOptions\n+ * @param {number | {\n+ * ...
2024-04-22T06:06:30
rust-lang/rust
bd1c36a115eee3542053a38be5e996b8e7908bc4
519c0d9d433debe17a877e6ee46e9d81fc603763
rustdoc(main.js): use typeof in register_type_impls for isTrait this allows TypeScript to understand the relation between isTrait and traitName's type, getting rid of a type error.
[ { "path": "src/librustdoc/html/static/js/main.js", "patch": "@@ -973,8 +973,8 @@ function preLoadCss(cssUrl) {\n for (const impList of imp[nonnull(window.currentCrate)]) {\n const types = impList.slice(2);\n const text = impList[0];\n- const isTrait = impList[1] !=...
2026-01-28T17:14:09
golang/go
dcbdc1a2f7368ad8a9193e969cc76c7ffd2f7685
887d9ef6101c6efeef00b0c7c80e634ff983fdcc
cmd/go/internal/modload: don't set GIT_SSH_COMMAND Allows git core.sshcommand to take effect when set by the user. This was originally added to work around an issue in OpenSSH < 7.3 (2016), see https://go.dev/issue/13453 . A fixed version of OpenSSH should be widely available enough that it is no longer necessary Fix...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -452,23 +452,6 @@ func Init() {\n \t\tos.Setenv(\"GIT_TERMINAL_PROMPT\", \"0\")\n \t}\n \n-\t// Disable any ssh connection pooling by Git.\n-\t// If a Git subprocess forks a child into the background to cache a new connection,\n-\t// that child k...
2025-02-09T13:32:27
vercel/next.js
ee6f3ba55e6a78a75c2ba993edf591bc293207eb
25beeb9acc8409c1ab16f5aa6f3504b72f4bac48
chore(turbopack): Remove `Lightningcss` prefix for CSS types (#80067) ### What? Remove redundant prefixes in some types. ### Why? Our only CSS processor is `lightningcss` at the moment.
[ { "path": "turbopack/crates/turbopack-css/src/process.rs", "patch": "@@ -497,13 +497,13 @@ struct CssValidator {\n \n #[derive(Debug, PartialEq, Eq)]\n enum CssError {\n- LightningCssSelectorInModuleNotPure { selector: String },\n+ CssSelectorInModuleNotPure { selector: String },\n }\n \n impl CssErro...
2025-06-02T19:31:23
facebook/react
ec5e9c2a75749b0a470b7148738cb85bbb035958
f87e97a0a67fa7cfd7e6f2ec985621c0e825cb23
Fix double preload (#26729) I found a couple scenarios where preloads were issued too aggressively 1. During SSR, if you render a new stylesheet after the preamble flushed it will flush a preload even if the resource was already preloaded 2. During Client render, if you call `ReactDOM.preload()` it will only che...
[ { "path": "packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js", "patch": "@@ -2138,8 +2138,12 @@ function preload(href: string, options: PreloadOptions) {\n const as = options.as;\n const limitedEscapedHref =\n escapeSelectorAttributeValueInsideDoubleQuotes(href);\n- const preloa...
2023-04-25T22:10:34
electron/electron
22ff2b6b933a52f7cfa85556aa8aaea7544b9d3f
7e8607fd7a3dac522fce600a3e5fd03bda64efff
fix: Node.js `atob` input validation (#35415) fix: Node.js atob input validation
[ { "path": "patches/node/.patches", "patch": "@@ -47,3 +47,4 @@ support_v8_sandboxed_pointers.patch\n build_ensure_v8_pointer_compression_sandbox_is_enabled_on_64bit.patch\n build_ensure_native_module_compilation_fails_if_not_using_a_new.patch\n fix_override_createjob_in_node_platform.patch\n+buffer_fix_atob...
2022-08-25T06:55:07
nodejs/node
461722d64cfd3bee0d26a7b6c76176987ecf3c5b
a6f9a34c54f00cb0b65550be92361c840edf4f4d
doc: correct unsafe URL example in http docs The previous documentation example for converting `request.url` to an `URL` object was unsafe, as it could allow a server crash through malformed URL inputs and potentially enable host header attacks. This commit revises the example to use string concatenation over the usa...
[ { "path": "doc/api/http.md", "patch": "@@ -2886,31 +2886,34 @@ Accept: text/plain\n To parse the URL into its parts:\n \n ```js\n-new URL(request.url, `http://${request.headers.host}`);\n+new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);\n ```\n \n-When `request.url` is `'/status?name=ryan...
2024-04-21T12:56:11
facebook/react
5ed297fa74fb75d4b25d8b3e9dfa0608c23872aa
bf518c2b2cb09025c28c07c2686ee71585ace071
[snap tester] Support @only / @skip with special file --- Changes: - Added `testfilter.txt` ``` // @only call capture-param-mutate jsx-spread ``` or ``` // @skip call error.todo-kitchensink ``` - grouped all commands under `--mode` ```js // runs all tests yarn snap // runs all te...
[ { "path": "compiler/forget/.gitignore", "patch": "@@ -6,3 +6,4 @@ package-lock.json\n .vscode\n !packages/playground/.vscode\n .spr.yml\n+testfilter.txt", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "compiler/forget/packages/snap/src/runner.ts", "patch": "@@ -8...
2023-04-25T18:36:06
vercel/next.js
81209c4428b23a03d42208ccf26b051176994a1e
abc320aabf6b668621232074700ec034cb3efae2
Fix defunct ESLint overrides (#80053) The patterns in ESLint's `overrides[].files` isn't exactly like the globs you're used to e.g. `"packages/**/*.tsx?"` does not work as expected. Need to explode that into `"packages/**/*.ts", "packages/**/*.tsx"`. Other changes are a consequence of applying the rules that were p...
[ { "path": ".eslintrc.json", "patch": "@@ -126,7 +126,7 @@\n }\n },\n {\n- \"files\": [\"packages/**/*.tsx?\"],\n+ \"files\": [\"packages/**/*.ts\", \"packages/**/*.tsx\"],\n \"rules\": {\n \"jsdoc/no-types\": \"error\",\n \"jsdoc/no-undefined-types\": \"error\""...
2025-06-02T17:38:18
golang/go
887d9ef6101c6efeef00b0c7c80e634ff983fdcc
7c1a4134b4191e87ae05d07343329e83aada6132
internal/trace: increment sync counter before final Sync on error CL 648195 was supposed to have fixed #71615, but it didn't include an update to r.syncs. I can confirm this CL fixes the issue even when running the test many times in a row. Fixes #71615. Change-Id: I97db3d639dc5bc8648a191696f90b0e5087307c8 Reviewed-...
[ { "path": "src/internal/trace/reader.go", "patch": "@@ -154,6 +154,7 @@ func (r *Reader) ReadEvent() (e Event, err error) {\n \t\t// Read the next generation.\n \t\tr.gen, r.spill, r.spillErr = readGeneration(r.r, r.spill)\n \t\tif r.gen == nil {\n+\t\t\tr.syncs++\n \t\t\treturn syncEvent(nil, r.lastTs, r.s...
2025-02-10T23:54:56
electron/electron
7e8607fd7a3dac522fce600a3e5fd03bda64efff
6f77e638046e2950e55eb1fad017bd9d7917a96c
ci: fix appveyor x64 tests (#35406) * ci: fix appveyor x64 tests * extract builtins-pgo to correct directory Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
[ { "path": "appveyor.yml", "patch": "@@ -190,6 +190,7 @@ for:\n - python %LOCAL_GOMA_DIR%\\goma_ctl.py stat\n - python3 electron/build/profile_toolchain.py --output-json=out/Default/windows_toolchain_profile.json\n - 7z a node_headers.zip out\\Default\\gen\\node_headers\n+ - 7z a builtins-pgo....
2022-08-25T01:11:44
nodejs/node
651fa047c1035416c2992989a04a84cc5425465b
a6b80c726781b4a4826e666575aa2db3eb226b63
module: detect ESM syntax by trying to recompile as SourceTextModule Instead of using an async function wrapper, just try compiling code with unknown module format as SourceTextModule when it cannot be compiled as CJS and the error message indicates that it's worth a retry. If it can be parsed as SourceTextModule then...
[ { "path": "lib/internal/modules/esm/get_format.js", "patch": "@@ -114,7 +114,7 @@ function getFileProtocolModuleFormat(url, context = { __proto__: null }, ignoreE\n // but this gets called again from `defaultLoad`/`defaultLoadSync`.\n if (getOptionValue('--experimental-detect-module')) {\n ...
2024-04-19T14:29:08
rust-lang/rust
e88259366689a0daf0d57edfd42004f067f02dc7
b5f31e24f6c8805b79fae85421f8cc43566cfe52
Fix grammar in doc comments in `conf.rs`
[ { "path": "book/src/lint_configuration.md", "patch": "@@ -246,7 +246,7 @@ A list of crate names to allow duplicates of\n \n ## `allowed-idents-below-min-chars`\n Allowed names below the minimum allowed characters. The value `\"..\"` can be used as part of\n-the list to indicate, that the configured values s...
2026-01-28T01:24:38
facebook/react
bf518c2b2cb09025c28c07c2686ee71585ace071
a8db941fb7de28f72e0725dee89b6a298683b3a7
[snap tester] watch mode: ignore changes from test updates A bit of a hack - We currently trigger test runs when we detect changes in the test fixtures directory. This trigger is also hit when we run `snap` in update mode, since updating performs file writes. This PR will ignore subscription changes (callbacks)...
[ { "path": "compiler/forget/packages/snap/src/runner.ts", "patch": "@@ -329,6 +329,15 @@ export async function main(opts: RunnerOptions): Promise<void> {\n // safe to use a cached compiler version\n let compilerVersion = 0;\n let isCompilerValid = false;\n+ let lastUpdate = -1;\n+\n+ functi...
2023-04-25T18:15:25
golang/go
2e8973aeea66f01d9770e1d307330a2d188b27cc
ea54d8a0efc22c092c1f714cb3c6f12f429c1459
crypto/internal/fips140test: add feedback KDF ACVP tests Adds ACVP test coverage for the SP 800-108r1 KDF feedback mode algorithm based on the NIST spec: https://pages.nist.gov/ACVP/draft-celi-acvp-kbkdf.html The HKDF-based implementation in our FIPS module fixes some parameters, requiring tailoring of the adverti...
[ { "path": "src/crypto/internal/fips140test/acvp_capabilities.json", "patch": "@@ -69,7 +69,7 @@\n \n {\"algorithm\":\"KAS-ECC-SSC\",\"revision\":\"Sp800-56Ar3\",\"scheme\":{\"ephemeralUnified\":{\"kasRole\":[\"initiator\",\"responder\"]},\"staticUnified\":{\"kasRole\":[\"initiator\",\"responder\"]}},\"dom...
2025-01-03T19:30:02
nodejs/node
d3eb1cb3850b4194f652a07e74631788dc94e4c4
580aae58f62c3c466d6b48ff05afb4b658745a00
fs: fixes recursive fs.watch crash on Linux when deleting files Signed-off-by: Matteo Collina <hello@matteocollina.com> Fixes: https://github.com/nodejs/node/issues/52018 PR-URL: https://github.com/nodejs/node/pull/52349 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
[ { "path": "lib/internal/fs/recursive_watch.js", "patch": "@@ -157,11 +157,16 @@ class FSWatcher extends EventEmitter {\n persistent: this.#options.persistent,\n }, (eventType, filename) => {\n const existingStat = this.#files.get(file);\n- const currentStats = statSync(file);\n+ le...
2024-04-19T12:52:14
rust-lang/rust
ce03e7b33ab1e26bb9a553dd35f0af06b372b7a9
94a0cd15f5976fa35e5e6784e621c04e9f958e57
Avoid miri error in `slice::sort` under Stacked Borrows See comment in code. Fixes: https://github.com/rust-lang/rust/pull/131065
[ { "path": "library/alloctests/tests/sort/tests.rs", "patch": "@@ -362,6 +362,13 @@ fn sort_vs_sort_by_impl<S: Sort>() {\n assert_eq!(input_sort_by, expected);\n }\n \n+pub fn box_value_impl<S: Sort>() {\n+ for len in [3, 9, 35, 56, 132] {\n+ test_is_sorted::<Box<i32>, S>(len, Box::new, pattern...
2026-01-27T17:29:25
vercel/next.js
fb0ce72dc89ddd597ce8927a6b041b3f1a16e7f7
cabf31b2a7205c019592259c9ef11a73d2624e79
[turbopack] Simplify the definition of AssetIdent (#79805) Replace the `ResolvedVc<RcStr>` uses inside of `AssetIdent` with `RcStr` directly ## Why This simplifies construction and usage and provides more reasonably equality semantics. In principle, storing `ResolvedVc` would enable finer grained invalidations. e....
[ { "path": "crates/next-api/src/app.rs", "patch": "@@ -37,7 +37,7 @@ use next_core::{\n };\n use serde::{Deserialize, Serialize};\n use tracing::Instrument;\n-use turbo_rcstr::RcStr;\n+use turbo_rcstr::{RcStr, rcstr};\n use turbo_tasks::{\n Completion, FxIndexSet, NonLocalValue, ResolvedVc, TryJoinIterEx...
2025-06-02T15:50:59
facebook/react
f87e97a0a67fa7cfd7e6f2ec985621c0e825cb23
25b99efe0c9c9d593c86829386c86740d409fa8c
Handle line endings correctly on Windows in build script for RN (#26727) ## Summary We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, report...
[ { "path": "scripts/rollup/packaging.js", "patch": "@@ -148,9 +148,9 @@ function processGenerated(directory) {\n const originalContents = readFileSync(file, 'utf8');\n const contents = originalContents\n // Replace {@}format with {@}noformat\n- .replace(/(\\n\\s*\\*\\s*)@format\\b.*(\\n)/,...
2023-04-25T16:26:34
golang/go
ea54d8a0efc22c092c1f714cb3c6f12f429c1459
0c94c5fcae909de059ff5c9273e2839e0d5742bf
crypto/internal/fips140test: add RSA ACVP tests Adds ACVP test coverage for the RSA algorithm based on the NIST spec: https://pages.nist.gov/ACVP/draft-celi-acvp-rsa.html Includes coverage for keyGen, sigGen and sigVer across a variety of modulus sizes. For sigGen and sigVer both PKCS1v1.5 and PSS are supported wit...
[ { "path": "src/crypto/internal/fips140test/acvp_capabilities.json", "patch": "@@ -69,5 +69,9 @@\n \n {\"algorithm\":\"KAS-ECC-SSC\",\"revision\":\"Sp800-56Ar3\",\"scheme\":{\"ephemeralUnified\":{\"kasRole\":[\"initiator\",\"responder\"]},\"staticUnified\":{\"kasRole\":[\"initiator\",\"responder\"]}},\"dom...
2025-01-10T16:10:12
facebook/react
25b99efe0c9c9d593c86829386c86740d409fa8c
ed545ae3d3478cd82aa498494025cb3a15188e4c
[DevTools] Add support for useMemoCache (#26696) useMemoCache wasn't previously supported in the DevTools, so any attempt to inspect a component using the hook would result in a `dispatcher.useMemoCache is not a function (it is undefined)` error.
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -51,9 +51,19 @@ type Dispatch<A> = A => void;\n \n let primitiveStackCache: null | Map<string, Array<any>> = null;\n \n+type MemoCache = {\n+ data: Array<Array<any>>,\n+ index: number,\n+};\n+\n+type FunctionComponentUpdateQueue =...
2023-04-25T16:19:25
vercel/next.js
f3cabc91c3ad5b98643a7644bc63ac64bb2ba6aa
d1fa7cfca009e2dcd2448ab30a229cd7574d7422
Turbopack Build: Fix next-font test (#80049) ## What? When importing `_app` from another entrypoint it causes the font files imported to be included in _app. This is an edge case so changing the test as it doesn't check for that. Creating a separate issue to dig into this further later.
[ { "path": "test/e2e/next-font/app/pages/with-fonts.js", "patch": "@@ -1,5 +1,6 @@\n import CompWithFonts from '../components/CompWithFonts'\n-import { openSans } from './_app'\n+import { Open_Sans } from 'next/font/google'\n+const openSans = Open_Sans({ variable: '--open-sans', subsets: ['latin'] })\n \n ex...
2025-06-02T14:32:22
nodejs/node
580aae58f62c3c466d6b48ff05afb4b658745a00
91661ec08b5e4c2a538dd36aeac40ae62221a925
test: ensure that all worker servers are ready Wait for the `'listening'` message from all workers before creating the first connection. This fixes an `EMFILE` error that is raised on Windows when running the following command ``` python tools/test.py -J --repeat=1000 parallel/test-tls-ticket-cluster ``` PR-URL: htt...
[ { "path": "test/parallel/test-tls-ticket-cluster.js", "patch": "@@ -33,10 +33,10 @@ const workerCount = 4;\n const expectedReqCount = 16;\n \n if (cluster.isPrimary) {\n+ let listeningCount = 0;\n let reusedCount = 0;\n let reqCount = 0;\n let lastSession = null;\n- let shootOnce = false;\n let wo...
2024-04-19T09:17:19
golang/go
0c94c5fcae909de059ff5c9273e2839e0d5742bf
0bc57a3e7f941f6a1aa32e0b0f708a1e02aa842e
crypto/internal/fips140test: add counter KDF ACVP tests Adds ACVP test coverage for the SP 800-108r1 KDF counter mode algorithm based on the NIST spec: https://pages.nist.gov/ACVP/draft-celi-acvp-kbkdf.html The implementation in our FIPS module fixes some parameters, requiring tailoring of the advertised capabilit...
[ { "path": "src/crypto/internal/fips140test/acvp_capabilities.json", "patch": "@@ -67,5 +67,7 @@\n {\"algorithm\":\"TLS-v1.3\",\"mode\":\"KDF\",\"revision\":\"RFC8446\",\"hmacAlg\":[\"SHA2-256\",\"SHA2-384\"],\"runningMode\":[\"DHE\",\"PSK\",\"PSK-DHE\"]},\n {\"algorithm\":\"kdf-components\",\"mode\":\"s...
2024-12-19T17:45:57
facebook/react
919620b2935ca6bb8dfc96204a7cf8754c006240
9ece58ebaa46f8b5e90a6ad71be4919e1dc9c563
Add stub for experimental_useFormStatus (#26719) This wires up, but does not yet implement, an experimental hook called useFormStatus. The hook is imported from React DOM, not React, because it represents DOM-specific state — its return type includes FormData as one of its fields. Other renderers that implement sim...
[ { "path": "packages/react-dom/index.classic.fb.js", "patch": "@@ -31,6 +31,7 @@ export {\n unstable_createEventHandle,\n unstable_renderSubtreeIntoContainer,\n unstable_runWithPriority, // DO NOT USE: Temporarily exposed to migrate off of Scheduler.runWithPriority.\n+ useFormStatus as experimental_us...
2023-04-25T00:18:34
electron/electron
6f77e638046e2950e55eb1fad017bd9d7917a96c
07c3e62d68f3eea396a43070d7f365d3d85de257
ci: fixup doc-only-change on Windows (#35431)
[ { "path": "appveyor.yml", "patch": "@@ -64,11 +64,11 @@ for:\n build_script:\n - ps: |\n node script/yarn.js install --frozen-lockfile\n- $result = node script/doc-only-change.js --prNumber=$env:APPVEYOR_PULL_REQUEST_NUMBER --prBranch=$env:APPVEYOR_REPO_BRANCH\n- Write-Output $...
2022-08-24T21:39:56
vercel/next.js
7a57ca7b617eb316082fac20f893c96688cb985a
e2173f136085128aab109b4aade46c261b194f63
chore: Use same function references in useReportWebVitals examples (#79963) Closes: https://linear.app/vercel/issue/DOC-4726/docs-usereportwebvitals FIxes: #79940 --------- Co-authored-by: Lee Robinson <lee@leerob.com>
[ { "path": "docs/01-app/05-api-reference/04-functions/use-report-web-vitals.mdx", "patch": "@@ -7,15 +7,19 @@ description: API Reference for the useReportWebVitals function.\n \n The `useReportWebVitals` hook allows you to report [Core Web Vitals](https://web.dev/vitals/), and can be used in combination with...
2025-06-02T14:00:45
rust-lang/rust
9ca8ed38eb3d1e138cd8b6a8f586baa7fe52e980
b3cda168c8afd5c4240a9477f6a7f54e70e2589a
rustc_parse: improve the error diagnostic for "missing let in let chain" Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
[ { "path": "compiler/rustc_parse/src/parser/expr.rs", "patch": "@@ -2760,9 +2760,13 @@ impl<'a> Parser<'a> {\n let (mut cond, _) =\n self.parse_expr_res(Restrictions::NO_STRUCT_LITERAL | Restrictions::ALLOW_LET, attrs)?;\n \n- CondChecker::new(self, let_chains_policy).visit_expr(&m...
2026-01-27T21:24:32
golang/go
283296195b7a06239310871a4321bd649a078924
ee8db080c8ca99bae0288f4cf19110cdfb179e35
internal/trace: emit a Sync event even if the next generation is broken Since CL 644215 each Sync event now represents the coming generation, with a final Sync event emitted even when there's nothing ahead. This change however failed to emit a Sync event at the end of a completely valid generation when the next genera...
[ { "path": "src/internal/trace/reader.go", "patch": "@@ -152,12 +152,10 @@ func (r *Reader) ReadEvent() (e Event, err error) {\n \t\t\treturn syncEvent(nil, r.lastTs, r.syncs), nil\n \t\t}\n \t\t// Read the next generation.\n-\t\tvar err error\n-\t\tr.gen, r.spill, err = readGeneration(r.r, r.spill)\n+\t\tr....
2025-02-10T20:10:22
nodejs/node
826dda2659a6ac75c77659a9a60aba87172a0cd6
9930eb4c3642109626f113667ae84e7776838587
deps: V8: backport c4be0a97f981 Original commit message: Fix build with gcc12 - A number of erroneous flags have been added to BUILD.gn - wasm-init-expr.cc is creating an 8 byte buffer witch may be much smaller than max size_t output. We also need to make room for the `f` character and the te...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.8',\n+ 'v8_embedder_string': '-node.9',\n \n ##### V8 defaults for Node.js #####\n "...
2024-03-21T20:13:03
facebook/react
a8db941fb7de28f72e0725dee89b6a298683b3a7
4cf86028c0d6c73066dddb731b651cd07a96f290
[snap tester] Handle interrupts by forking runner Run snap tester on a forked node process so runs can be interrupted. (Currently, `Ctrl+C` is not handled until after all test fixtures finish compiling). This *feels* a bit heavy-handed, but main.ts is pretty small and doesn't do much other than listen for input / ...
[ { "path": "compiler/forget/package.json", "patch": "@@ -14,7 +14,7 @@\n \"hash\": \"scripts/hash-dist.sh\",\n \"playground\": \"cd packages/playground && yarn && yarn dev\",\n \"test\": \"tsc && jest\",\n- \"snap\": \"node packages/snap/dist/runner.js\",\n+ \"snap\": \"node packages/snap/d...
2023-04-24T23:09:40
electron/electron
07c3e62d68f3eea396a43070d7f365d3d85de257
e1459f4d50e4ee0ee9b4e8fb0bba032b8499bf97
build: fix export patches to work when source directory does not exist (#35432)
[ { "path": "script/lib/git.py", "patch": "@@ -238,6 +238,11 @@ def to_utf8(patch):\n \n \n def export_patches(repo, out_dir, patch_range=None, dry_run=False):\n+ if not os.path.exists(repo):\n+ sys.stderr.write(\n+ \"Skipping patches in {} because it does not exist.\\n\".format(repo)\n+ )\n+ r...
2022-08-24T21:37:11
rust-lang/rust
18a4a3ace0afcce1e4be81dbd9954c58bf60e5aa
f4b4ab3b23d0f5aac4de9c71ffb678ce25e52159
fix overflowing_literals in avx512fp16 tests
[ { "path": "library/stdarch/crates/core_arch/src/x86/avx512fp16.rs", "patch": "@@ -23993,16 +23993,16 @@ mod tests {\n \n #[simd_test(enable = \"avx512fp16,avx512vl\")]\n const fn test_mm256_reduce_mul_ph() {\n- let a = _mm256_set1_ph(2.0);\n+ let a = _mm256_set1_ph(1.2);\n let ...
2026-01-28T11:15:25
vercel/next.js
9748d9da173d31689a609ccfb9266a6522ae00f7
1f0e536addb61a65ee432eaaf812d78903dfa919
docs: Reference to statically imported images (#80048) Closes: https://linear.app/vercel/issue/DOC-4730/docs-nextimage-local-images-broken-snippet Fixes: #80023 Made the static image imports, into a sub section of local images, and referenced how their width/height is auto calculated. - https://github.com/vercel/nex...
[ { "path": "docs/01-app/01-getting-started/04-images.mdx", "patch": "@@ -58,6 +58,41 @@ export default function Page() {\n <Image\n src=\"/profile.png\"\n alt=\"Picture of the author\"\n+ width={500}\n+ height={500}\n+ />\n+ )\n+}\n+```\n+\n+```jsx filename=\"app/page.js\" switc...
2025-06-02T13:56:39
golang/go
072eea9b3b8e3c871707b5661948edd4090fc56a
c8664ced4ef61456a98acb9f910b1646ae81e3b5
cmd/compile: avoid ifaceeq call if we know the interface is direct We can just use == if the interface is direct. Fixes #70738 Change-Id: Ia9a644791a370fec969c04c42d28a9b58f16911f Reviewed-on: https://go-review.googlesource.com/c/go/+/635435 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Cuong Manh Le <cuo...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -592,11 +592,21 @@ func TypePtrAt(pos src.XPos, t *types.Type) *ir.AddrExpr {\n // it may sometimes, but not always, be a type that can't implement the specified\n // interface.\n func ITabLsym(typ, iface *types.Type) *obj.LSym {\n+\t...
2024-12-09T20:55:33
nodejs/node
c72dd1a73b1b3cf4de780afcf5bd45a67cb20ded
16f1d65102fee1ed997e9007cc9dc2956a3eea71
deps: patch V8 to support compilation with MSVC This patches V8 v12.3 for Windows, by fixing multiple compilation errors caused by V8 being a Clang-oriented project. There are various types of errors fixed by this going from changing `using` directives and renaming to overcoming the differences in which Clang and MSVC...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.6',\n+ 'v8_embedder_string': '-node.7',\n \n ##### V8 defaults for Node.js #####\n "...
2024-04-16T12:28:37
facebook/react
4cf86028c0d6c73066dddb731b651cd07a96f290
46752845eb5f2921869cccf00bf51c9156c818aa
[snap tester] Patch runner for sync mode --- `yarn snap --sync` currently fails on `error.file-has-non-critical-errors`. This is because we're relying on a globally overwritten `console.error` function to report non-fatal errors. However, executing `Promise.all(...)` on a single nodejs thread will interleave cal...
[ { "path": "compiler/forget/packages/snap/src/runner.ts", "patch": "@@ -99,28 +99,32 @@ async function run(compilerVersion: number): Promise<Results> {\n )\n ).sort();\n \n- // Note: promise.all to ensure parallelism when enabled\n- const entries: Array<[string, TestResult]> = await Promise.all(\n- ...
2023-04-24T19:52:54
electron/electron
3ce35f224efa3a6e9bfc9b642816961b8691491b
0ff6508f5bffd84829749c97c7346fc2fc776563
fix: add restore event for minimized maximization (#35342)
[ { "path": "shell/browser/native_window_views_win.cc", "patch": "@@ -413,6 +413,8 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {\n // multiple times for one resize because of the SetWindowPlacement call.\n if (w_param == SIZE_MAXIMIZED &&\n last_window_stat...
2022-08-23T01:32:42
vercel/next.js
fe72addb2324a3c4e7211a7925444d4fc585068f
aefa6f152619c45b6288452d329aa7511a459004
Fix watchmode for `taskr` tasks (#80020)
[ { "path": "packages/next/taskfile.js", "patch": "@@ -2835,11 +2835,21 @@ export async function build(task, opts) {\n }\n \n export async function generate_types(task, opts) {\n- await execa(\n+ const watchmode = opts.dev\n+ const typesPromise = execa(\n 'pnpm',\n- ['run', 'types', ...(opts.dev ? [...
2025-05-31T22:43:53
facebook/react
46752845eb5f2921869cccf00bf51c9156c818aa
a6769df6b11291d5c582a8f5783fcc7f2c61e9bb
[snap tester] QoL: help messages, cmd line validation, ts errors --- Next PRs: skip / only tests, pretty diffing This PR: 1. Add help messages: ``` $ node packages/snap/dist/runner.js --help Options: --version Show version number [boolean] --sync Run c...
[ { "path": "compiler/forget/packages/snap/src/runner.ts", "patch": "@@ -14,8 +14,8 @@ import path from \"path\";\n import process from \"process\";\n import * as readline from \"readline\";\n import ts from \"typescript\";\n+import yargs from \"yargs\";\n import { hideBin } from \"yargs/helpers\";\n-import y...
2023-04-24T19:52:52
golang/go
c8664ced4ef61456a98acb9f910b1646ae81e3b5
3105e3dca7be281cb12ff5cc88349c26827edfd0
cmd/compile/internal/gc: handle errors from *bio.Writer The error is stored internally in *bio.Writer, more specifically in *bufio.Writer and the current code does not handle it, ignoring errors silently. Change-Id: Iefa9bf7ddabb3c4fc03377e676a8098dcad9be6d GitHub-Last-Rev: a5d36223312773039c37bb1c52fffc96fff04fba Gi...
[ { "path": "src/cmd/compile/internal/gc/export.go", "patch": "@@ -47,5 +47,7 @@ func dumpasmhdr() {\n \t\t}\n \t}\n \n-\tb.Close()\n+\tif err := b.Close(); err != nil {\n+\t\tbase.Fatalf(\"%v\", err)\n+\t}\n }", "additions": 3, "deletions": 1, "language": "Go" }, { "path": "src/cmd/compil...
2025-02-08T13:59:18
electron/electron
33325e3608bdc4f45798817643ff9c94279656d6
221bb513265128e004a0469f3b2b1c89387ba56f
fix: undefined details.requestingUrl from session.setPermissionCheckHandler (#35281) fix: undefined details.requestingUrl from setPermissionCheckHandler
[ { "path": "shell/browser/electron_permission_manager.cc", "patch": "@@ -339,9 +339,16 @@ blink::mojom::PermissionStatus\n ElectronPermissionManager::GetPermissionStatusForCurrentDocument(\n blink::PermissionType permission,\n content::RenderFrameHost* render_frame_host) {\n- return GetPermissionSta...
2022-08-23T01:25:57
rust-lang/rust
71294125eaafd54f3bf28ec643ac8f232e665e3f
3159e8053a4001394f3d60f5b485c280a744619e
add a bug to the trophy shelf
[ { "path": "src/tools/miri/README.md", "patch": "@@ -626,6 +626,7 @@ Definite bugs found:\n * [`ReentrantLock` not correctly dealing with reuse of addresses for TLS storage of different threads](https://github.com/rust-lang/rust/pull/141248)\n * [Rare Deadlock in the thread (un)parking example code](https://...
2026-01-28T09:39:10
vercel/next.js
aefa6f152619c45b6288452d329aa7511a459004
08ea8de29488c1295b94abede526fc50f6b49300
Turbopack Build: Fix underscore path tests (#79778) ## What? Implements handling for `%5F` to `_` conversion to handle pathnames in App Router that want to bypass the underscore ignore folder. Implementing this was a bit of a hassle not on the Turbopack side but there's an additional layer of route handling before t...
[ { "path": ".vscode/launch.json", "patch": "@@ -55,9 +55,7 @@\n },\n \"env\": {\n // Enable the following environment variables to use turbopack instead of webpack:\n- // \"TURBOPACK\": \"1\",\n- // \"TURBOPACK_DEV\": \"1\",\n- // \"TURBOPACK_BUILD\": \"1\",\n+ ...
2025-05-31T09:40:35
nodejs/node
e96542f2c6a822e3abe116aef93c4e51e75063ba
c618b1a9601b004c0e4c51bcaf7c590372cec4c5
deps: avoid compilation error with ASan Refs: https://bugs.chromium.org/p/v8/issues/detail?id=14221 PR-URL: https://github.com/nodejs/node/pull/49639 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n ##### V8 defaults for Node.js #####\n "...
2023-07-31T09:51:27
golang/go
3105e3dca7be281cb12ff5cc88349c26827edfd0
7715ca32fcaad84059752c944f40768374796651
cmd/go/internal/work: allow a bunch of loong64-specific flags Recognize and allow all LoongArch-specific CFLAGS as standardized in the LoongArch Toolchain Conventions v1.1, and implemented in current versions of GCC and Clang, to enable advanced cgo use cases on loong64. These flags are also allowed for linker invocat...
[ { "path": "src/cmd/go/internal/work/security.go", "patch": "@@ -96,17 +96,21 @@ var validCompilerFlags = []*lazyregexp.Regexp{\n \tre(`-g([^@\\-].*)?`),\n \tre(`-m32`),\n \tre(`-m64`),\n-\tre(`-m(abi|arch|cpu|fpu|tune)=([^@\\-].*)`),\n+\tre(`-m(abi|arch|cpu|fpu|simd|tls-dialect|tune)=([^@\\-].*)`),\n \tre(`...
2025-02-09T10:57:49
facebook/react
a6769df6b11291d5c582a8f5783fcc7f2c61e9bb
32dccd48d2c326a235e8af3cfbab949c1a13860c
[babel] Alias unstable_useMemoCache to useMemoCache DevTools relies on built-in hook names at their call site to be unprefixed in order to correctly track them. This PR updates our Babel plugin to: - Check if there are any existing import declarations of `import { /* ... /* } from 'react';` - If true, we add t...
[ { "path": "compiler/forget/src/Babel/BabelPlugin.ts", "patch": "@@ -214,48 +214,76 @@ export default function ReactForgetBabelPlugin(\n opts: { ...pass.opts, ...options },\n });\n \n- // If there isn't already an import of * as React, insert it so React.useMemoCache doesn't\n+ ...
2023-04-26T17:40:22
electron/electron
9b2b1998b8386aa324ed617ed2cc23df742eb767
fc2e6bd0ed86c9e1f26fcf5f973f508474e469ea
fix: ensure chrome colors are initialized (#35034) * fix: ensure chrome colors are initialized * build: fix linking on windows * build: fix linking on windows * build: add needed files to chromium_src/BUILD Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
[ { "path": "chromium_src/BUILD.gn", "patch": "@@ -55,6 +55,14 @@ static_library(\"chrome\") {\n \"//chrome/browser/process_singleton.h\",\n \"//chrome/browser/process_singleton_internal.cc\",\n \"//chrome/browser/process_singleton_internal.h\",\n+ \"//chrome/browser/themes/browser_theme_pack.c...
2022-08-22T14:38:45
nodejs/node
c618b1a9601b004c0e4c51bcaf7c590372cec4c5
3c228c1810fb6156887a4bee25968314806ed17f
deps: disable V8 concurrent sparkplug compilation It introduces process hangs on some platforms because Node.js doesn't tear down V8 correctly. Disable it while we work on a solution. Refs: https://github.com/nodejs/node/issues/47297 Refs: https://bugs.chromium.org/p/v8/issues/detail?id=13902 PR-URL: https://github.c...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n ##### V8 defaults for Node.js #####\n "...
2023-04-06T12:50:56
vercel/next.js
b7b546e0710666247e4bb56f216a8c32bbafbdf9
70e5e6caf0a81211bc044d434c680e5e3a46553d
fix: update rspack production build output snapshot (#79766) update build output snapshots in following test cases for Rspack. - test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts - test/e2e/app-dir/use-cache-unknown-cache-kind/use-cache-unknown-cache-kind.test.ts - test/e2e/app-dir/use-cach...
[ { "path": "test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts", "patch": "@@ -2,6 +2,8 @@ import { nextTestSetup } from 'e2e-utils'\n import { assertHasRedbox } from 'next-test-utils'\n import stripAnsi from 'strip-ansi'\n \n+const isRspack = !!process.env.NEXT_RSPACK\n+\n describe...
2025-05-30T23:55:06
golang/go
715754ba86665b860c7245759149f1e86c24ee8d
0f62125487d572168b71be7acb3b9efead55b37c
internal/trace: be stricter about allowed events in v2 trace versions Currently all v2 trace versions, Go 1.22 and Go 1.23, share a full set of specs. This is mostly OK, but it means quite a few events will be accepted for 1.22 traces that should be rejected. This change fixes that by limiting which event specs are re...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -58,6 +58,7 @@ var depsRules = `\n \t internal/platform,\n \t internal/profilerecord,\n \t internal/syslist,\n+\t internal/trace/tracev2/event,\n \t internal/trace/traceviewer/format,\n \t log/internal,\n \t math/bits,\n@@ -698,9 +699,6 @@ var depsR...
2025-01-24T20:56:47
facebook/react
5e5342b10059bf90738a8d9171fcf0af9d9d5d51
9c58a0b6475509f9124da578207aa0d3b7364035
Insert temporary input node to polyfill submitter argument in FormData (#26714) Insert temporary input node to polyfill submitter argument in FormData. This works for buttons too and fixes a bug where the type attribute wasn't reset. I also exclude the submitter if it's a function action. This ensures that we do...
[ { "path": "packages/react-dom-bindings/src/client/ReactDOMComponent.js", "patch": "@@ -132,6 +132,9 @@ function validateFormActionInDevelopment(\n props: any,\n ) {\n if (__DEV__) {\n+ if (value == null) {\n+ return;\n+ }\n if (tag === 'form') {\n if (key === 'formAction') {\n ...
2023-04-24T18:18:09
electron/electron
19baea4bc2be42ac0568bacab9e7365bb3f8ce26
9b787d30f489fca0552bdb1f134b7b6097c7dff6
chore: update process singleton patch (#35376) * chore: update process singleton patch * fix: windows compilation error * chore: remove outdated comment in patch
[ { "path": "patches/chromium/feat_add_data_parameter_to_processsingleton.patch", "patch": "@@ -13,7 +13,7 @@ app.requestSingleInstanceLock API so that users can pass in a JSON\n object for the second instance to send to the first instance.\n \n diff --git a/chrome/browser/process_singleton.h b/chrome/browser...
2022-08-19T22:45:58
nodejs/node
cfca9e3cb6dd22125a1912ff2c90b337817459b8
87abd023aa363b2eb0038668d3a613f0549d24a5
test: fix test-tls-ticket-cluster.js Ensured connection end is initiated by worker (server) Fixes: https://github.com/nodejs/node/issues/2510 PR-URL: https://github.com/nodejs/node/pull/52431 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-tls-ticket-cluster.js", "patch": "@@ -46,7 +46,7 @@ if (cluster.isPrimary) {\n session: lastSession,\n rejectUnauthorized: false\n }, () => {\n- c.end();\n+ c.on('end', c.end);\n }).on('close', () => {\n // Wait for close to shoot off another...
2024-04-18T10:17:28
vercel/next.js
0084361f4ba8b4298aa77afe9eff652d1830c352
1f39908c976ef500148de93e6f39a111e080bf65
[turbopack] Fix URL fragment and query handling in Turbopack (#79993) Fix URL fragment and query handling in Turbopack ## What? This PR improves how URL fragments and query strings are handled in Turbopack by: 1. Standardizing the representation of fragments and queries in `AssetIdent` 2. Ensuring fragments and quer...
[ { "path": "crates/next-api/src/server_actions.rs", "patch": "@@ -213,7 +213,7 @@ pub async fn to_rsc_context(\n // module.\n let source = FileSource::new_with_query(\n client_module.ident().path().root().join(entry_path.into()),\n- Vc::cell(entry_query.into()),\n+ entry_query.i...
2025-05-30T18:09:35
golang/go
a704d39b29dfc21599f644909c0f98bbfa745cb4
47d0b0f2bf9d507d5bc9ea8f456cc821829fe21c
os: hide SetFinalizer from users of Root Currently Root embeds a root and calls SetFinalizer on &r.root. This sets the finalizer on the outer root, which is visible to users of os.Root, and thus they can mutate the finalizer attached to it. This change modifies Root to not embed its inner root, but rather to refer to...
[ { "path": "src/os/root.go", "patch": "@@ -60,7 +60,7 @@ func OpenInRoot(dir, name string) (*File, error) {\n // - When GOOS=plan9 or GOOS=js, Root does not track directories across renames.\n // On these platforms, a Root references a directory name, not a file descriptor.\n type Root struct {\n-\troo...
2025-02-07T23:22:50
facebook/react
9c58a0b6475509f9124da578207aa0d3b7364035
9ee796430278c6f6e8acec4f54fd9be7f7868c0d
Update Flight fixture to use use() instead of Promise as a child (#26715) The Promise as a child case seems buggy. It ends up throwing the Promise as fatal when used in Sync rendering.
[ { "path": "fixtures/flight/src/index.js", "patch": "@@ -1,5 +1,5 @@\n import * as React from 'react';\n-import {Suspense} from 'react';\n+import {use, Suspense} from 'react';\n import ReactDOM from 'react-dom/client';\n import {createFromFetch, encodeReply} from 'react-server-dom-webpack/client';\n \n@@ -27...
2023-04-24T18:00:25
electron/electron
9b787d30f489fca0552bdb1f134b7b6097c7dff6
748a739291c22574e05a149c131ef43fb25c7495
ci: use AppVeyor workflows (#35377) * ci: use AppVeyor workflows * fixup for skipping test on pr jobs
[ { "path": "appveyor.yml", "patch": "@@ -34,212 +34,278 @@ environment:\n MOCHA_REPORTER: mocha-multi-reporters\n MOCHA_MULTI_REPORTERS: mocha-appveyor-reporter, tap\n GOMA_FALLBACK_ON_AUTH_FAILURE: true\n-build_script:\n- - ps: >-\n- if(($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -split \"/\")[0]...
2022-08-19T17:10:16
vercel/next.js
1d11db3cbafc1dd54ce57976e4e85f868679f706
48e53d7dbd9216f44c0965e6ed1f334cc9adb41a
Turbopack: more deterministic manifest order (#79977) Fix non-deterministic next font manifest order: ![Bildschirmfoto 2025-05-30 um 15.41.12.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sjZSbv6AFeuDg7Gb9rma/e2de4601-a90e-41db-ac4c-7fde7ffec146.png)
[ { "path": "crates/next-core/src/emit.rs", "patch": "@@ -1,8 +1,7 @@\n use anyhow::Result;\n-use rustc_hash::FxHashSet;\n use tracing::Instrument;\n use turbo_tasks::{\n- ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc,\n+ FxIndexSet, ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc,\n graph::{A...
2025-05-30T15:26:18
facebook/react
9ee796430278c6f6e8acec4f54fd9be7f7868c0d
2fa632381839c8732dad9107b90911163b7f2b7a
Fix escaping in ReactDOMInput code (#26630) JSON.stringify isn't the right thing here. Luckily this doesn't look to have any security impact.
[ { "path": "packages/react-dom-bindings/src/client/ReactDOMInput.js", "patch": "@@ -18,6 +18,7 @@ import {disableInputAttributeSyncing} from 'shared/ReactFeatureFlags';\n import {checkAttributeStringCoercion} from 'shared/CheckStringCoercion';\n \n import type {ToStringValue} from './ToStringValue';\n+import...
2023-04-24T17:33:11
nodejs/node
87abd023aa363b2eb0038668d3a613f0549d24a5
83eb4f285583036bedc1c908178d58b9b6e45d1f
module: implement NODE_COMPILE_CACHE for automatic on-disk code caching This patch implements automatic on-disk code caching that can be enabled via an environment variable NODE_COMPILE_CACHE. When set, whenever Node.js compiles a CommonJS or a ECMAScript Module, it will use on-disk [V8 code cache][] persisted in the...
[ { "path": "doc/api/cli.md", "patch": "@@ -2499,6 +2499,34 @@ Any other value will result in colorized output being disabled.\n [`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the\n environment variable is arbitrary.\n \n+### `NODE_COMPILE_CACHE=dir`\n+\n+<!-- YAML\n+added: REPLACEME\n+--...
2024-02-29T01:09:16
golang/go
a4fcfaa1676f40a1dc5879cdabe98471c6054daf
ff627d28dbc5fc3ef156c36f74b5dd026b41d21b
go/types, types2: better error messages for channel sends and receives Use the same code pattern for sends and receives and factor it out into a new helper method Checker.chanElem. Provide the exact error cause rather than simply referring to the core type. For #70128. Change-Id: I4a0b597a487b78c057eebe06c4ac28f9bf...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -148,26 +148,13 @@ func (check *Checker) unary(x *operand, e *syntax.Operation) {\n \t\treturn\n \n \tcase syntax.Recv:\n-\t\tu := coreType(x.typ)\n-\t\tif u == nil {\n-\t\t\tcheck.errorf(x, InvalidReceive, invalidOp+\"cannot receive from %s ...
2025-02-06T21:51:51
electron/electron
1d6885c781b446987c53325d68f4ef13baeaa42a
97b353a30a0e92a169fb0557ddff641fa0332d7c
fix: don't bypass redirect checks (#35357)
[ { "path": "shell/browser/electron_browser_client.cc", "patch": "@@ -1487,9 +1487,6 @@ bool ElectronBrowserClient::WillCreateURLLoaderFactory(\n std::move(proxied_receiver), std::move(target_factory_remote),\n std::move(header_client_receiver), type);\n \n- if (bypass_redirect_checks)\n- *byp...
2022-08-18T00:04:47
facebook/react
a21d1475ffd7225a463f2d0c0c9b732c8dd795eb
36e4cbe2e918ec9c8a7abbfda28898c835361fb2
[Flight] Fix File Upload in Node.js (#26700) Use the Blob constructor + append with filename instead of File constructor. Node.js doesn't expose a global File constructor but does support it in this form. Queue fields until we get the 'end' event from the previous file. We rely on previous files being available ...
[ { "path": "fixtures/flight/src/Form.js", "patch": "@@ -20,8 +20,14 @@ export default function Form({action, children}) {\n React.startTransition(() => setIsPending(false));\n }\n }}>\n- <input name=\"name\" />\n+ <label>\n+ Name: <input name=\"name\" />\n...
2023-04-22T05:04:24
vercel/next.js
9ff3f848a611b973f2a42db60f37f638fc61b223
baa71a549076e88f2e45281148a6fefb21375cd5
Turbopack: only keep old database version if not on CI (#79964) <!-- 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 ...
[ { "path": "crates/napi/src/next_api/project.rs", "patch": "@@ -222,6 +222,8 @@ pub struct NapiTurboEngineOptions {\n pub memory_limit: Option<f64>,\n /// Track dependencies between tasks. If false, any change during build will error.\n pub dependency_tracking: Option<bool>,\n+ /// Whether the...
2025-05-30T12:13:35
nodejs/node
e4c795e3fabbf5381ad1820a0fdf7850803dcfb9
7e89369166557240ff5dd01ab29c5459f66cb51f
doc: fix issue detected in markdown lint update Refs: https://github.com/nodejs/remark-preset-lint-node/pull/535 PR-URL: https://github.com/nodejs/node/pull/52566 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
[ { "path": "doc/contributing/feature-request-management.md", "patch": "@@ -30,7 +30,8 @@ report results in it being considered a feature request as opposed\n to a bug).\n \n The current list of feature requests can be found through the\n-[is:issue is:open label:\"feature request\"](https://github.com/nodejs/...
2024-04-17T16:27:23
golang/go
580a383103f2bc67955a146a2d45b7c0c98dae8a
302bf3631493417b365d693788357973a379a03d
{all,clean,make,race,run}.bat: use || instead of "if errorlevel 1" "if errorlevel 1" is and old construct that returns true if the errorlevel is greater than or equal to 1. There are better alternatives since Windows NT. For example, the || operator runs the RHS operand if the preceding command failed, determined by c...
[ { "path": "src/all.bat", "patch": "@@ -11,10 +11,8 @@ echo all.bat must be run from go\\src\n exit /b 1\r\n :ok\r\n \r\n-call .\\make.bat --no-banner --no-local\r\n-if errorlevel 1 goto fail\r\n-call .\\run.bat --no-rebuild\r\n-if errorlevel 1 goto fail\r\n+call .\\make.bat --no-banner --no-local || goto fa...
2025-02-06T09:55:59
electron/electron
43182bf030d7de6fab5b6976f073eb125c2ebe12
8e4a168a136f8948d019350a089a8a2878509c6a
fix: promise support with webFrameMain.executeJavaScript (#35292) * fix: promise support with webFrameMain.executeJavaScript * chore: reject when result is an error
[ { "path": "shell/browser/api/electron_api_web_frame_main.cc", "patch": "@@ -11,8 +11,9 @@\n \n #include \"base/logging.h\"\n #include \"base/no_destructor.h\"\n-#include \"content/browser/renderer_host/frame_tree_node.h\" // nogncheck\n+#include \"content/browser/renderer_host/render_frame_host_impl.h\" /...
2022-08-17T04:08:13
nodejs/node
b41347e4964cec932b38b44e60199be4b3fa59a5
97627da32b79cb6ba6bfe8af576c47f30db4a672
test: split wasi poll test for windows PR-URL: https://github.com/nodejs/node/pull/52538 Fixes: https://github.com/nodejs/node/issues/51822 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
[ { "path": "test/wasi/c/poll.c", "patch": "@@ -31,6 +31,9 @@ int main(void) {\n assert(ret == 0);\n assert(now - before >= 2);\n \n+ // V8 has a bug that allows unsupported parts of this test to run,\n+ // causing the test to fail. poll_win.c is a workaround.\n+ // https://github.com/nodejs/node/issue...
2024-04-17T13:01:15
facebook/react
8f42196892847a3dd1ab4c84eda0c8d52508ecf6
967d46c76cf9f7f35cf659a6a47c9ad456c685a8
Change DOM HostContext to number instead of string (#26698) In React DOM, we use HostContext to represent the namespace of whatever is currently rendering — SVG, Math, or HTML. Because there is a fixed set of possible values, we can switch this to be a number instead. My motivation is that I want to start tracking ...
[ { "path": "packages/react-dom-bindings/src/client/DOMNamespaces.js", "patch": "@@ -7,34 +7,5 @@\n * @flow\n */\n \n-export const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n export const MATH_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n export const SVG_NAMESPACE = 'http://www.w3.org/2000/svg...
2023-04-22T01:44:43
electron/electron
947f1b0abf8ce61612f48cf13e7861b58f22594a
db7c92fd574f9880cc4ce579972f5220ebb3186e
fix: Frameless window shows frame while opening (#35189) * fix: Frameless window shows frame while opening * Clarify comments * Inline setter * Edit comment
[ { "path": "patches/chromium/.patches", "patch": "@@ -116,3 +116,4 @@ chore_add_electron_deps_to_gitignores.patch\n chore_allow_chromium_to_handle_synthetic_mouse_events_for_touch.patch\n add_maximized_parameter_to_linuxui_getwindowframeprovider.patch\n add_electron_deps_to_license_credits_file.patch\n+feat_...
2022-08-16T21:22:47
vercel/next.js
b5b2a6c14b7914bb48b026c2ba95c083aa2faa05
323ec0aea74ec517710fde4e12eb50ef8c8d2357
Fix incorrect route param (#79795) In the example under the "Generated Metadata" section of the page, the route is defined as `/app/blog/[slug]/page.tsx`, but the Props type uses `id` instead of `slug`. This fixes the mismatch to reflect the actual dynamic route segment Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/01-app/01-getting-started/13-metadata-and-og-images.mdx", "patch": "@@ -72,7 +72,7 @@ You can use [`generateMetadata`](/docs/app/api-reference/functions/generate-meta\n import type { Metadata, ResolvingMetadata } from 'next'\n \n type Props = {\n- params: Promise<{ id: string }>\n+ params:...
2025-05-30T11:02:41