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
56b1a0fca49645133e4cb09d734684bfe883d6d2
b607b74a4fb3640fc958cff1ff81ca7558134e9d
permission: handle fs.watchFile PR-URL: https://github.com/nodejs-private/node-private/pull/404 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1966499 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> CVE-ID: CVE...
[ { "path": "src/node_stat_watcher.cc", "patch": "@@ -25,6 +25,7 @@\n #include \"memory_tracker-inl.h\"\n #include \"node_external_reference.h\"\n #include \"node_file-inl.h\"\n+#include \"permission/permission.h\"\n #include \"util-inl.h\"\n \n #include <cstring>\n@@ -111,6 +112,10 @@ void StatWatcher::Start...
2023-05-06T18:03:23
electron/electron
69f3e330e7363e8738107171934086c94a32bc0d
6ee819aa652fa4392e63a093ac091db65ba4a09f
fix: ensure widget size is set correctly on linux on small screens (#28681) When creating a widget on linux the bounds are restricted to the screen size, when calling SetSize / SetBounds they are not. This fixes this initialization issue by calling SetBounds after widget creation. Noticed this issue while runnin...
[ { "path": "shell/browser/native_window_views.cc", "patch": "@@ -333,6 +333,10 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,\n aura::Window* window = GetNativeWindow();\n if (window)\n window->AddPreTargetHandler(this);\n+\n+ // On linux after the widget is initializ...
2021-04-21T08:58:42
golang/go
ea435a31f966c02a43eff865beab5b9aeb0716fd
32da8f51b82a1b255de35e6686780eb9a6418f26
cmd/compile/internal/ssa: enable testcases TestDebugLinesPushback and TestDebugLinesConvert on loong64 Change-Id: Id5c12c9edf278f2419900ebbfb0b7f388bafc9b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/604177 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-b...
[ { "path": "src/cmd/compile/internal/ssa/debug_lines_test.go", "patch": "@@ -81,7 +81,7 @@ func TestDebugLinesPushback(t *testing.T) {\n \tdefault:\n \t\tt.Skip(\"skipped for many architectures\")\n \n-\tcase \"arm64\", \"amd64\": // register ABI\n+\tcase \"arm64\", \"amd64\", \"loong64\": // register ABI\n ...
2024-03-12T11:55:39
electron/electron
4f3664e6d91eca5e188b592bee601d5e43b06dee
e12a3cb59c4d3b7c01d536cb30233deb2ad66fa4
build: fix docs only change script to pull all files not just 30 (#28737)
[ { "path": "script/doc-only-change.js", "patch": "@@ -27,19 +27,22 @@ async function checkIfDocOnlyChange () {\n }\n }\n }\n- const filesChanged = await octokit.pulls.listFiles({\n- owner: 'electron', repo: 'electron', pull_number: pullRequestNumber\n- });\n+ con...
2021-04-20T00:00:28
nodejs/node
b607b74a4fb3640fc958cff1ff81ca7558134e9d
167dc77d85e97db5f8dcbcf110ade634944e02f9
2023-06-20, Version 18.16.1 'Hydrogen' (LTS) This is a security release. Notable changes: Following CVEs are fixed in this release: * CVE-2023-30581: `mainModule.__proto__` Bypass Experimental Policy Mechanism (High) * CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js insta...
[ { "path": "CHANGELOG.md", "patch": "@@ -42,7 +42,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V20.md#20.0.0\">20.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V18.md#18.16.0\">18.16.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V18.md#18.16.1\">18.16.1...
2023-06-17T18:24:19
golang/go
18fc547b21a5eb66e27bd1cd4e73a2b92609a0a9
0b1494f5d24afe7725e724905173b910b83e24e7
runtime/cgo: create C pthreads in detached state Rather than explicitly calling pthread_detach. Fixes #68850 Change-Id: I7b4042283f9feb5383bffd40fae6db6d23217f97 Reviewed-on: https://go-review.googlesource.com/c/go/+/605257 Commit-Queue: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.c...
[ { "path": "src/runtime/cgo/gcc_darwin_amd64.c", "patch": "@@ -34,6 +34,7 @@ _cgo_sys_thread_start(ThreadStart *ts)\n \tsize = pthread_get_stacksize_np(pthread_self());\n \tpthread_attr_init(&attr);\n \tpthread_attr_setstacksize(&attr, size);\n+\tpthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);\n...
2024-08-13T18:25:31
electron/electron
400d7c4bcea51e39db20f527d96bd0dd5edcfbe1
ac9ec1a6eaa19d9ddc3157304232d91d2898a50c
chore: update ts parser for description comment fixes and generic types (#28709) * chore: update ts parser for description comment fixes * docs: strongly type the getUserDefault API * spec: add getUserMedia type assertions to smoke run
[ { "path": "docs/api/structures/user-default-types.md", "patch": "@@ -0,0 +1,12 @@\n+# UserDefaultTypes Object\n+\n+* `string` String\n+* `boolean` Boolean\n+* `integer` Number\n+* `float` Number\n+* `double` Number\n+* `url` String\n+* `array` Array\\<unknown>\n+* `dictionary` Record\\<string, unknown>\n+\n...
2021-04-19T18:44:58
facebook/react
e8feb11b62e869804970258fa629922edbfc836b
f4ac680c7a1db67cae2659f531bb5531833f5c2f
Fixed issue for better bundles,chunks and workers name in devtools-extensions. (#22322)
[ { "path": "packages/react-devtools-extensions/src/main.js", "patch": "@@ -331,7 +331,9 @@ function createPanelIfReactLoaded() {\n \n // TODO (Webpack 5) Hopefully we can remove this prop after the Webpack 5 migration.\n const hookNamesModuleLoaderFunction = () =>\n- import('react-de...
2021-09-15T17:51:33
nodejs/node
167dc77d85e97db5f8dcbcf110ade634944e02f9
c09acb3ea82fab3553e40b68f923a9b9f00c8eba
2023-06-20, Version 20.3.1 (Current) This is a security release. Notable Changes The following CVEs are fixed in this release: * CVE-2023-30581: `mainModule.__proto__` Bypass Experimental Policy Mechanism (High) * CVE-2023-30584: Path Traversal Bypass in Experimental Permission Model (High) * CVE-2023-30587: Bypass ...
[ { "path": "CHANGELOG.md", "patch": "@@ -35,7 +35,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V20.md#20.3.0\">20.3.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V20.md#20.3.1\">20.3.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V20.md#20.3.0\">2...
2023-06-17T19:06:41
vercel/next.js
fef9c5c94199438a2c333a7fd31967924881e94b
15b664341e1774fc8224dcba90aea2ef36ab0cae
Fix stale snapshots (#76116)
[ { "path": "test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts", "patch": "@@ -136,7 +136,7 @@ describe('non-root-project-monorepo', () => {\n \"eval\n app/separate-file.ts (1:11)\n <unknown>\n- rsc)/./app/separate-file.ts (rsc://React/Serv...
2025-02-17T15:31:32
golang/go
0253c0f4acdf9f7a2930609f55d24b334fa7d3c2
206df8e7ad8a736b0dcbf5d98ab237b6784e5007
cmd/compile/internal/types2: change inference error message Changes the type inference error message so that the position is proceeded by a space. cmd/go rewrites the output of gc to replace absolute paths at the beginning of lines and those proceeded by a space or a tab to relative paths. Updates testdir to do the s...
[ { "path": "src/cmd/compile/internal/types2/infer.go", "patch": "@@ -431,7 +431,7 @@ func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type,\n \tfor i, typ := range inferred {\n \t\tif typ == nil || isParameterized(tparams, typ) {\n \t\t\tobj := tparams[i].obj\n-\t\t\terr.addf(pos, \"...
2024-08-05T19:57:33
electron/electron
b8c2481edb264e4fb8c79fa44f016bd48b4980c0
484931bba2e93cc166e0fbae5d99f78e149fe97a
fix: do not handle write errors after request is aborted (#28682) This fixes a flake on linux CI which started recently where the "write" promise is being rejected after the request has been aborted / cancelled. In this case we should drop the error to the floor but instead we pass it down the stack where it event...
[ { "path": "lib/browser/api/net.ts", "patch": "@@ -188,6 +188,11 @@ class ChunkedBodyStream extends Writable {\n this._downstream = pipe;\n if (this._pendingChunk) {\n const doneWriting = (maybeError: Error | void) => {\n+ // If the underlying request has been aborted, we honeslty don't ...
2021-04-19T13:50:14
facebook/react
f4ac680c7a1db67cae2659f531bb5531833f5c2f
67222f044c582a1a10f3b9d15d9daf67d5dc5c4f
Fixed broken build script --unsafe-partial flag (#22324) This flag was broken due to a buggy race case in the ncp() command. The fix is amittedly a hack but improves on the existing behavior (of leaving the workspace in a broken state).
[ { "path": "scripts/rollup/utils.js", "patch": "@@ -15,9 +15,12 @@ function asyncCopyTo(from, to) {\n if (error) {\n // Wrap to have a useful stack trace.\n reject(new Error(error));\n- return;\n+ } else {\n+ // Wait for copied files to exist; ...
2021-09-15T17:32:09
nodejs/node
c09acb3ea82fab3553e40b68f923a9b9f00c8eba
e7646a5dc07823d07acda65dcccf4dc12dbc8d5c
2023-06-20, Version 16.20.1 'Gallium' (LTS) This is a security release. Notable changes: Following CVEs are fixed in this release: * CVE-2023-30581: `mainModule.__proto__` Bypass Experimental Policy Mechanism (High) * CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js instal...
[ { "path": "CHANGELOG.md", "patch": "@@ -64,7 +64,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V18.md#18.0.0\">18.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V16.md#16.20.0\">16.20.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V16.md#16.20.1\">16.20.1...
2023-06-17T11:53:46
vercel/next.js
698220d1a7501ef8b30db7692782578a97bf1227
4b8bf68609de2cb07b167ab3621e5ec5af7d2f47
Fix runtime error in `writeConfigurationDefaults` (#76106) Follow-up for #74674 When running `pnpm next build` or `pnpm next dev` with a test app in the Next.js repo, we patch the app's `tsconfig.json` to exclude the test files from the program, because those are already covered by the root `tsconfig.json`. The code...
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -136,6 +136,9 @@ export function getRequiredConfiguration(\n return res\n }\n \n+const localDevTestFilesExcludeAction =\n+ 'NEXT_PRIVATE_LOCAL_DEV_TEST_FILES_EXCLUDE'\n+\n export async function writeConfigurationDefa...
2025-02-17T11:15:01
golang/go
b67443459a5bbe0e125e34538b4ce3c895de9efd
9819ac51dfc0593755f334a3eedec4edf04313bf
spec: clarify prose for embedded struct fields The spec says that an embedded field must be specified as a type name (or a pointer to a type name). This is explicit in the prose and the FieldDecl syntax. However, the prose on promoted methods required a named type (originally the term used for a "defined type"). Befo...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Language version go1.23 (June 13, 2024)\",\n+\t\"Subtitle\": \"Language version go1.23 (Aug 12, 2024)\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1086,7 +1086,7...
2024-08-09T04:03:13
facebook/react
806aaa2e21edf9e1b9317c4bf4157e422b693d14
fd5e01c2e0dbbeaff954d13fc6bc11bfc65e7dcf
[useSES shim] Import prefixed native API (#22310) Until useSyncExternalStore is finalized, the shim should import the prefixed version (unstable_useSyncExternalStore), which is available in the experimental builds. That way our early testers can start using it.
[ { "path": "packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js", "patch": "@@ -46,6 +46,8 @@ describe('Shared useSyncExternalStore behavior (shim and built-in)', () => {\n startTransition: _,\n // eslint-disable-next-line no-unused-vars\n useSyncEx...
2021-09-14T04:55:18
electron/electron
484931bba2e93cc166e0fbae5d99f78e149fe97a
a354c95d4ccacb1ea5b82b04dd5cefdbd41dd5b3
fix: end attached sheet when calling window.hide() (#28671)
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -537,6 +537,12 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n }\n \n void NativeWindowMac::Hide() {\n+ // If a sheet is attached to the window when we call [window_ orderOut:nil],\n+ // the sheet won't be able to show again on the sa...
2021-04-16T15:42:09
nodejs/node
e7646a5dc07823d07acda65dcccf4dc12dbc8d5c
43c3d9f9b48361fd77841b9f9f6919eb77433a40
tools: replace sed with perl For cross-platform compatibility use perl instead of sed. Fixes: https://github.com/nodejs/node/issues/48496 PR-URL: https://github.com/nodejs/node/pull/48499 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihr...
[ { "path": "tools/dep_updaters/update-icu.sh", "patch": "@@ -59,9 +59,9 @@ if [ \"$CHECKSUM\" != \"$GENERATED_CHECKSUM\" ]; then\n exit 0\n fi\n \n-sed -i '' -e \"s|\\\"url\\\": \\\"\\(.*\\)\\\".*|\\\"url\\\": \\\"$NEW_VERSION_TGZ_URL\\\",|\" \"$TOOLS_DIR/icu/current_ver.dep\"\n+perl -i -pe \"s|\\\"url\\\"...
2023-06-20T09:11:55
vercel/next.js
0a4cc0a0629fa0c7fc2132f6ab6d12d230dda47d
520318b3ef73a6026b5b6aeb64b858bcf9558552
[dev-overlay] add error env name label (#76003)
[ { "path": "packages/next/src/client/components/errors/console-error.ts", "patch": "@@ -7,14 +7,23 @@ const consoleTypeSym = Symbol.for('next.console.error.type')\n type UnhandledError = Error & {\n [digestSym]: 'NEXT_UNHANDLED_ERROR'\n [consoleTypeSym]: 'string' | 'error'\n+ environmentName: string\n }...
2025-02-17T07:05:37
facebook/react
33226fadaac7b23634852eee78c4f1c84c5b2bbb
86c7ca70a9965c18e504cafc24753c1edbe36749
Check for store mutations before commit (#22290) * [useSyncExternalStore] Remove extra hook object Because we already track `getSnapshot` and `value` on the store instance, we don't need to also track them as effect dependencies. And because the effect doesn't require any clean-up, we don't need to track a `dest...
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -273,7 +273,6 @@ function useSyncExternalStore<T>(\n // Advance the current hook index the same number of times\n // so that subsequent hooks have the right memoized state.\n nextHook(); // SyncExternalStore\n- nextHook(); //...
2021-09-13T15:07:46
electron/electron
e12128b65bc370973f43ca06fd2c05677f8d454e
22a70eb8036825e3dc722473aa1de382e7371dff
fix: increase corner radius for vibrancy view on big sur (#28655) * fix: increase corner radius for vibrancy view on big sur * fix: revert git weirdness Co-authored-by: Robin Fowler <robinfowler@Robins-MBP.broadband>
[ { "path": "shell/browser/native_window_mac.mm", "patch": "@@ -1298,7 +1298,12 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n const bool no_rounded_corner =\n [window_ styleMask] & NSWindowStyleMaskFullSizeContentView;\n if (!has_frame() && !is_modal() && !no_rounded_corner) {\n- ...
2021-04-15T21:22:42
golang/go
0b4ab20d2cb30279c11a31cc6bd9324b14a4a38e
82dcd147b684c6e61d42f41ce940946dd2916106
go/types, types2: only use fileVersion if 1.21 or greater Only honor //go:build language version downgrades if the version specified is 1.21 or greater. Before 1.21 the version in //go:build lines didn't have the meaning of setting the file's language version. This fixes an issue that was appearing in GOPATH builds: ...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -3036,17 +3036,21 @@ func TestFileVersions(t *testing.T) {\n \t\t{\"\", \"go1.20\", \"\"}, // file upgrade ignored\n \t\t{\"go1.19\", \"go1.20\", \"go1.20\"}, // file upgrade permitted\n \t\t{\"go1.20\", \"go1.19\", \"go1.20\"...
2024-08-07T17:09:18
nodejs/node
8e710c95f0748b3a6c8bfe891fac96b4eece118f
9bdd17230d3eb8a638594210d0efc185c8bbce3b
http: fix for handling on boot timers headers and request This change is a fix for handling headersTimeout and requestTimeout that causes unexpected behavior if the HTTP server is started on boot: - the connections to the server can be closed immediately with the status HTTP 408 This issue usually happens on IoT...
[ { "path": "src/node_http_parser.cc", "patch": "@@ -1106,11 +1106,22 @@ void ConnectionsList::Expired(const FunctionCallbackInfo<Value>& args) {\n std::swap(headers_timeout, request_timeout);\n }\n \n+ // On IoT or embedded devices the uv_hrtime() may return the timestamp\n+ // that is smaller than c...
2023-06-19T09:33:02
vercel/next.js
02095c0ea59e15120092fd237c30b4cf0366214a
8136842ca20ed6801327862f62ee6ec9b3809fac
[metadata] fix ppr deployment by not disabling ppr (#76087) ### What For PPR deployment we shouldn't disbale the PPR config inside of Next.js but let infra determine when to pass down the PPR cache. If we disable it inside Next.js it could lead to other error when the infra tries to get the cache in dynamic-resu...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -2166,8 +2166,7 @@ export default abstract class Server<\n const couldSupportPPR: boolean =\n this.isAppPPREnabled &&\n typeof routeModule !== 'undefined' &&\n- isAppPageRouteModule(routeModule) &&\n- !isHtmlBot\n+ ...
2025-02-16T18:14:31
facebook/react
86c7ca70a9965c18e504cafc24753c1edbe36749
e73911e715866df69bc6a9ae8b372cccbe8dceb1
Fix link (#22296) Fix link (branch master was renamed to main): master -> main
[ { "path": "packages/react/index.js", "patch": "@@ -7,7 +7,7 @@\n * @flow\n */\n \n-// Keep in sync with https://github.com/facebook/flow/blob/master/lib/react.js\n+// Keep in sync with https://github.com/facebook/flow/blob/main/lib/react.js\n export type StatelessFunctionalComponent<\n P,\n > = React$St...
2021-09-12T15:09:53
golang/go
82dcd147b684c6e61d42f41ce940946dd2916106
b538e953ee5e50a78880106452458c9694fe27e1
cmd/cgo: clarify that strings and slices may contain C pointers Fixes #68832 Change-Id: I74b6aad9a18953c263cbbe795268017a72261f7f Reviewed-on: https://go-review.googlesource.com/c/go/+/604715 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceacc...
[ { "path": "src/cmd/cgo/doc.go", "patch": "@@ -347,12 +347,12 @@ determined by how the memory was allocated; it has nothing to do with\n the type of the pointer.\n \n Note that values of some Go types, other than the type's zero value,\n-always include Go pointers. This is true of string, slice, interface,\n...
2024-08-10T23:31:28
vercel/next.js
ab2f35a2ecf7a29ea84a167a89dbd965a87e798f
798f4ce8ced373a850ba201f35028b3f27d0d9df
[dev-overlay] hide dev overlay when printing (#73489) <!-- 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 Contributo...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/styles/base.tsx", "patch": "@@ -115,6 +115,10 @@ export function Base() {\n --size-11: 2.75rem; /* 44px */\n --size-11_5: 2.875rem; /* 46px */\n --size-12: 3rem; /* 48px */\n+\n+ @m...
2025-02-14T23:13:16
nodejs/node
ff14b24e127b4c20377430b408e2d0272d3facf0
0d725d6fa0c5b5b35fbd008518d13a1a57a7de06
lib: fix output message when repl is used with pm PR-URL: https://github.com/nodejs/node/pull/48438 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "lib/internal/repl/history.js", "patch": "@@ -55,7 +55,7 @@ function setupHistory(repl, historyPath, ready) {\n }\n \n if (permission.isEnabled() && permission.has('fs.write', historyPath) === false) {\n- _writeToOutput(repl, '\\nAccess to FileSystemOut is restricted.\\n' +\n+ _writeToOu...
2023-06-17T17:28:38
facebook/react
0fd195f2955478636ccab840676c19bb29874b96
cb8a50619b11acbc821ee0ac901e245f35fad7c7
update error message to include useLayoutEffect or useEffect on bad e… (#22279) * update error message to include useLayoutEffect or useEffect on bad effect return * Update packages/react-reconciler/src/ReactFiberCommitWork.new.js Co-authored-by: Ricky <rickhanlonii@gmail.com> * use existing import Co-auth...
[ { "path": "packages/react-reconciler/src/ReactFiberCommitWork.new.js", "patch": "@@ -507,7 +507,7 @@ function commitHookEffectListUnmount(\n }\n }\n \n-function commitHookEffectListMount(tag: number, finishedWork: Fiber) {\n+function commitHookEffectListMount(tag: HookFlags, finishedWork: Fiber) {\n con...
2021-09-10T16:19:51
electron/electron
22a70eb8036825e3dc722473aa1de382e7371dff
9236e56ddcedf7d8d998fa263da164da284dc69a
chore: bump chromium to 92.0.4475.0 (master) (#28462) * chore: bump chromium in DEPS to 91.0.4464.0 * chore: rebuild chromium/dcheck.patch with import-patches -3 Mechanical only; no code changes * chore: remove content_browser_main_loop.patch Refs: https://chromium-review.googlesource.com/c/chromium/src/+/...
[ { "path": "BUILD.gn", "patch": "@@ -447,6 +447,7 @@ source_set(\"electron_lib\") {\n if (is_mac) {\n deps += [\n \"//components/remote_cocoa/app_shim\",\n+ \"//components/remote_cocoa/browser\",\n \"//content/common:mac_helpers\",\n \"//ui/accelerated_widget_mac\",\n ]", ...
2021-04-15T17:44:35
golang/go
2f3fee058f3bb1c98b8ecc5aeb2329aaadf4dc0b
2ebe15c67e1989ccf962d587df1d4d18eb188da2
runtime: make the wasm crash function abort Currently the crash function on Wasm is implemented as a nil pointer dereference, which turns into a sigpanic, which turns into "panic during runtime execution" as we're already in runtime when crash is called. Instead, just abort, which crashes hard and terminates the Wasm ...
[ { "path": "src/runtime/os_wasm.go", "patch": "@@ -96,7 +96,7 @@ func signame(sig uint32) string {\n }\n \n func crash() {\n-\t*(*int32)(nil) = 0\n+\tabort()\n }\n \n func initsig(preinit bool) {", "additions": 1, "deletions": 1, "language": "Go" } ]
2024-08-09T16:50:24
nodejs/node
0d725d6fa0c5b5b35fbd008518d13a1a57a7de06
3c35cd4a7473db6b465cbd4d8528a746c54e982f
doc: update fs flags documentation PR-URL: https://github.com/nodejs/node/pull/48463 Fixes: https://github.com/nodejs/node/issues/48452 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mestery <mester...
[ { "path": "doc/api/fs.md", "patch": "@@ -7973,6 +7973,9 @@ string.\n * `'r'`: Open file for reading.\n An exception occurs if the file does not exist.\n \n+* `'rs'`: Open file for reading in synchronous mode.\n+ An exception occurs if the file does not exist.\n+\n * `'r+'`: Open file for reading and writ...
2023-06-16T19:40:01
vercel/next.js
eb66a4dfa12df6f791d1a3287bee11addafb7386
6d5d578a4bbabc60ee0b802b34c0f74e509f6123
[dev-overlay] fix: terminal symbols are longer than text (#76059) ### Why? There's a width mismatch for symbols used in Geist Mono font font-weight over 600. | Before | After | |--------|--------| | ![CleanShot 2025-02-15 at 01 42 01](https://github.com/user-attachments/assets/534bacd9-8d0a-4980-8db4-024b1fd93a3f) |...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/code-frame/code-frame.tsx", "patch": "@@ -84,7 +84,10 @@ export function CodeFrame({ stackFrame, codeFrame }: CodeFrameProps) {\n style={{\n color: entry.fg ? `var(--color-${entry.fg}...
2025-02-14T19:19:25
facebook/react
43cf06daf929272f32758dc73c9240887e908f87
96814e71b2ec13af64cd2670c9e69ab982ab2951
[DevTools] Fix `react-devtools-extension` build error and `react-devtools-inline`'s `package.json` (#22281)
[ { "path": "packages/react-devtools-extensions/src/main.js", "patch": "@@ -289,7 +289,7 @@ function createPanelIfReactLoaded() {\n \n // TODO (Webpack 5) Hopefully we can remove this prop after the Webpack 5 migration.\n const hookNamesModuleLoaderFunction = () =>\n- import('react-de...
2021-09-09T21:26:13
rust-lang/rust
4ba9b739a4b224ed6dd514309653a1db5cdfe486
a2a812e76c570e11eaf36bc36d5a964e38b24beb
fix non-determinism in os_unfair_lock test
[ { "path": "src/tools/miri/tests/fail-dep/concurrency/apple_os_unfair_lock_move_with_queue.rs", "patch": "@@ -1,4 +1,5 @@\n //@only-target: darwin\n+//@compile-flags: -Zmiri-fixed-schedule\n #![feature(sync_unsafe_cell)]\n \n use std::cell::SyncUnsafeCell;", "additions": 1, "deletions": 0, "langu...
2025-12-31T09:51:58
electron/electron
f8bdef5349a01033f1314e8a65b8441e8340e4d8
dba4df9326d338a296f1e927c869e6af782ec2a4
feat: enable nativeWindowOpen by default (#28552) * feat: enable nativeWindowOpen by default * set nativeWindowOpen: false on spec/ main window * update snapshots * fix tests * fix test * fix webview test missing allowpopups * fix other test * update default
[ { "path": "docs/api/browser-window.md", "patch": "@@ -349,9 +349,8 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.\n context in the dev tools by selecting the 'Electron Isolated Context'\n entry in the combo box at the top of the Console tab.\n * `nativeWi...
2021-04-13T19:36:38
vercel/next.js
3a9455724b94b6ff958f3bc582682bfa53fd996c
d854b8b12ea78298f7b077c27c98b168cdf07a96
[dev-overlay] fix: hydration error style (#76049)
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/container/errors.tsx", "patch": "@@ -267,7 +267,7 @@ export const styles = css`\n margin-bottom: var(--size-3_5);\n }\n .error-overlay-notes-container {\n- padding: 0 var(--size-4);\n+ margin: var(--size-2)...
2025-02-14T15:07:42
facebook/react
96814e71b2ec13af64cd2670c9e69ab982ab2951
225740be4864ee8eeb349b38b329291450245578
Revert Suspense cache Thenable.catch() change (#22280) Reverts part of #22275 (adding .catch() to Thenables in Suspense caches) in response to #22275 (comment). After taking another look with fresh eyes, I think I see the "uncaught error" issue I initially noticed was in checkForUpdate() (which did not pass an erro...
[ { "path": "packages/react-devtools-shared/src/hookNamesCache.js", "patch": "@@ -110,51 +110,46 @@ export function loadHookNames(\n \n let didTimeout = false;\n \n- const onSuccess = hookNames => {\n- if (didTimeout) {\n- return;\n- }\n-\n- if (__DEBUG__) {\n- console.log(...
2021-09-09T19:26:41
nodejs/node
64255b11bdea552d25fee0f12d0a4ca14fb4247c
d2dfdd654ecb9fe340c06a830546977029bf5150
doc: revise `error.md` introduction PR-URL: https://github.com/nodejs/node/pull/48423 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -46,15 +46,35 @@ try {\n ```\n \n Any use of the JavaScript `throw` mechanism will raise an exception that\n-_must_ be handled using `try…catch` or the Node.js process will exit\n-immediately.\n+_must_ be handled or the Node.js process will exit immediately.\n \n ...
2023-06-15T23:24:53
electron/electron
dba4df9326d338a296f1e927c869e6af782ec2a4
b6315612dd3d780ebb539fd44a234f334171ffba
feat: add more info in setWindowOpenHandler details (#28518) * fix: invoke the window open handler for _blank links * feat: add disposition to setWindowOpenHandler details * fix: pass postData to new-window event * postData can be heterogeneous * fix type of postBody * fix type of UploadFile and UploadR...
[ { "path": "docs/api/browser-window.md", "patch": "@@ -1377,7 +1377,7 @@ Captures a snapshot of the page within `rect`. Omitting `rect` will capture the\n * `httpReferrer` (String | [Referrer](structures/referrer.md)) (optional) - An HTTP Referrer URL.\n * `userAgent` String (optional) - A user agent ori...
2021-04-13T19:35:27
facebook/react
8f96c6b2ac3ff0e38f60c87b1f08deb9993526b5
24c2e27256b8f2051bde626598f2fba34efd109b
[Bugfix] Prevent infinite update loop caused by a synchronous update in a passive effect (#22277) * Add test that triggers infinite update loop In 18, passive effects are flushed synchronously if they are the result of a synchronous update. We have a guard for infinite update loops that occur in the layout phase,...
[ { "path": "packages/react-dom/src/__tests__/ReactUpdates-test.js", "patch": "@@ -1594,6 +1594,7 @@ describe('ReactUpdates', () => {\n });\n });\n \n+ // TODO: Replace this branch with @gate pragmas\n if (__DEV__) {\n it('warns about a deferred infinite update loop with useEffect', () => {\n ...
2021-09-09T15:14:30
vercel/next.js
d910a6cfa8075df11dbbb3afbde54f7cd83d7b8d
3127bdfdf4dddf01cb5669d02b2cd77a119c71b9
[Turbopack] try to avoid cloning AST during code generation, pass final_read_hint (#75853) ### What? * try to avoid cloning AST during code generation, pass final_read_hint * fix tree shake ident on code generation
[ { "path": "turbopack/crates/turbopack-ecmascript/src/lib.rs", "patch": "@@ -34,19 +34,24 @@ pub mod utils;\n pub mod webpack;\n pub mod worker_chunk;\n \n-use std::fmt::{Display, Formatter};\n+use std::{\n+ fmt::{Display, Formatter},\n+ mem::take,\n+ sync::Arc,\n+};\n \n use anyhow::Result;\n use c...
2025-02-14T13:07:37
nodejs/node
f3ee4e2c9624e4338cd9c019377337f6c48a383b
c760ff2aac5088e1e1b989d424b8bc59cd4ca839
lib: create weakRef only if any signals provided PR-URL: https://github.com/nodejs/node/pull/48448 Fixes: https://github.com/nodejs/node/issues/48419 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: L...
[ { "path": "lib/internal/abort_controller.js", "patch": "@@ -197,6 +197,9 @@ class AbortSignal extends EventTarget {\n static any(signals) {\n validateAbortSignalArray(signals, 'signals');\n const resultSignal = createAbortSignal({ composite: true });\n+ if (!signals.length) {\n+ return res...
2023-06-15T12:55:12
rust-lang/rust
c19e9ecdd912cfe55a407275bb04eaf334eb3264
75fa8a0ab9b2c2143eccb39dc367ca6f62e52e4e
Fix incorrect dyn hint in `impl Trait for` Example --- ```rust trait T {} impl T for {} ``` **Before this PR** ```rust trait T {} impl T for {} // ^ dyn ``` **After this PR** ```rust trait T {} impl T for {} ```
[ { "path": "src/tools/rust-analyzer/crates/ide/src/inlay_hints/implied_dyn_trait.rs", "patch": "@@ -105,6 +105,7 @@ impl T {}\n // ^ dyn\n impl T for (T) {}\n // ^ dyn\n+impl T for {}\n impl T\n \"#,\n );", "additions": 1, "deletions": 0, "language": "Rust" }, { "path":...
2025-12-31T08:18:33
electron/electron
f78f8d15a93d3f66db67390b83db493a7de3bc66
6df2680cb602970202875b0021582d8587503c59
build: better error handling for release builds (#28621)
[ { "path": "script/release/ci-release-build.js", "patch": "@@ -235,11 +235,14 @@ async function callAppVeyor (targetBranch, job, options) {\n method: 'POST'\n };\n jobRequestedCount++;\n- const appVeyorResponse = await makeRequest(requestOpts, true).catch(err => {\n- console.log('Error calling Ap...
2021-04-13T07:37:23
vercel/next.js
2cd905c9ed018a0b50a09dbbcc31ea0cbc88869c
1b0dad16233ec6c930b948d05ee68fe0e4121921
fix recomputation when reading gc'ed cells from in progress tasks (#75969) <!-- 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 ma...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/mod.rs", "patch": "@@ -724,7 +724,39 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {\n });\n \n // Schedule the task, if not already scheduled\n- if task.add(CachedDataItem::new_scheduled(\n+ if let Some(existin...
2025-02-14T10:43:33
golang/go
198b2e1b5a7f46a5c3a804c89bf5676878ea7561
bcec5f1540e0765fd302a443c6435943bb4aecb5
Revert "os/user: speed up Current on Windows" This reverts CL 597255. Reason for revert: Broke windows/arm64 Fixes #68822. Updates #68312. Change-Id: I43efabad43c74045888bb62bd27522aeaba0a64c Reviewed-on: https://go-review.googlesource.com/c/go/+/604555 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: D...
[ { "path": "src/internal/syscall/windows/security_windows.go", "patch": "@@ -156,22 +156,3 @@ type UserInfo4 struct {\n //\n //go:linkname GetSystemDirectory\n func GetSystemDirectory() string // Implemented in runtime package.\n-\n-// GetUserName retrieves the user name of the current thread\n-// in the spe...
2024-08-09T18:17:57
nodejs/node
60d9aed30754edc752815024bb194d3707255331
ac0853c4ee57dce69fb48feadff470a171ba1216
node-api: implement external strings Introduce APIs that allow for the creation of JavaScript strings without copying the underlying native string into the engine. The APIs fall back to regular string creation if the engine's external string APIs are unavailable. In this case, an optional boolean out-parameter indicat...
[ { "path": "benchmark/napi/string/.gitignore", "patch": "@@ -0,0 +1 @@\n+build/", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "benchmark/napi/string/binding.c", "patch": "@@ -0,0 +1,56 @@\n+#include <assert.h>\n+#define NAPI_EXPERIMENTAL\n+#include <node_api.h>\...
2023-06-02T23:03:55
electron/electron
6df2680cb602970202875b0021582d8587503c59
e775467e9c5f03d6cc7bdc02211095961a37ff7c
refactor: clean up webFrame implementation to use gin wrappers (#28497) * refactor: clean up webFrame implementation to use gin wrappers The previous implementation of webFrame in the renderer process leaked sub-frame contexts and global objects across the context boundaries thus making it possible for apps to ei...
[ { "path": "lib/renderer/api/context-bridge.ts", "patch": "@@ -1,7 +1,7 @@\n-const { getWebPreference } = process._linkedBinding('electron_renderer_web_frame');\n+const { mainFrame } = process._linkedBinding('electron_renderer_web_frame');\n const binding = process._linkedBinding('electron_renderer_context_b...
2021-04-12T23:35:18
vercel/next.js
1b0dad16233ec6c930b948d05ee68fe0e4121921
4abde4f15f894b0d7531bb83d788a6d18633d445
[Turbopack] avoid creating many ModuleOptions (#76035) <!-- 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 Contribut...
[ { "path": "turbopack/crates/turbopack/src/module_options/mod.rs", "patch": "@@ -68,6 +68,55 @@ impl ModuleOptions {\n path: Vc<FileSystemPath>,\n module_options_context: Vc<ModuleOptionsContext>,\n resolve_options_context: Vc<ResolveOptionsContext>,\n+ ) -> Result<Vc<ModuleOptions...
2025-02-14T10:41:10
golang/go
bcec5f1540e0765fd302a443c6435943bb4aecb5
c8ccbcdde595bd04056398bec72532a8582f7442
syscall,misc/wasm: fix path expansion on non-unix platforms When running a go binary compiled to wasm using node.js on a Windows platform, the absolute path passed in is also incorrectly forced to expand. For example: E:\Project\CS_Project\gsv\testdata\result.gob.gz will results to open C:\Users\zxilly\AppData\Loc...
[ { "path": "misc/wasm/wasm_exec.js", "patch": "@@ -73,6 +73,14 @@\n \t\t}\n \t}\n \n+\tif (!globalThis.path) {\n+\t\tglobalThis.path = {\n+\t\t\tresolve(...pathSegments) {\n+\t\t\t\treturn pathSegments.join(\"/\");\n+\t\t\t}\n+\t\t}\n+\t}\n+\n \tif (!globalThis.crypto) {\n \t\tthrow new Error(\"globalThis.cr...
2024-08-09T17:43:11
rust-lang/rust
935e3cbb86c81b88777e2de8ab45e0363e95412d
c24dff6682b5a92b68e6a4254ba4a8b208c9583c
fix: don't fire `non_camel_case_types` lint for structs/enums marked with `repr(C)`
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/signatures.rs", "patch": "@@ -185,6 +185,9 @@ impl UnionSignature {\n bitflags! {\n #[derive(Debug, Copy, Clone, PartialEq, Eq)]\n pub struct EnumFlags: u8 {\n+ /// Indicates whether this enum has `#[repr]`.\n+ const HAS_REPR = 1 <<...
2025-12-31T06:29:51
electron/electron
2e9ed50bb0d4c5798ca9c40bf538f034be928bcb
6bd13cc98f54f5d6274c05cce027f7684bb420a3
fix: crash on invalid select-serial-port callback (#28602)
[ { "path": "shell/browser/serial/serial_chooser_controller.cc", "patch": "@@ -124,9 +124,13 @@ void SerialChooserController::OnDeviceChosen(const std::string& port_id) {\n std::find_if(ports_.begin(), ports_.end(), [&port_id](const auto& ptr) {\n return ptr->token.ToString() == port_id;\n ...
2021-04-12T13:18:39
nodejs/node
3ce303c3ee3d1f13c973733a19d5c163b7d1f4a4
d4e99b1a666a6e95d5470c81302345692def3f27
doc: add kvakil to collaborators ...and remove them triagers Fixes: https://github.com/nodejs/node/issues/48155 PR-URL: https://github.com/nodejs/node/pull/48449 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "README.md", "patch": "@@ -377,6 +377,8 @@ For information about the governance of the Node.js project, see\n **Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)\n * [kuriyosh](https://github.com/kuriyosh) -\n **Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)\n+* [kvakil](https://g...
2023-06-13T14:53:32
vercel/next.js
71d8bfcc1f42897a91f71cddcd7495d16e92335c
7d46333b8e1f0f6fcc507f937fd01aff17578bea
[Turbopack] avoid allocating on AggregationUpdateQueue::new (#76034) <!-- 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: ##...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/operation/aggregation_update.rs", "patch": "@@ -614,7 +614,7 @@ impl AggregationUpdateQueue {\n /// Creates a new empty queue.\n pub fn new() -> Self {\n Self {\n- jobs: VecDeque::with_capacity(8),\n+ jobs: Vec...
2025-02-14T09:45:20
facebook/react
fbce2d52749ff64a156c3f9cd6eb32715bb76e37
2f156eafb83d129a729947ac2bd7089d20b208ab
Fix #21972: Add `onResize` event to video elements (#21973) * Fix #21972: Add `onResize` event to video elements This is a simple fix for #21972 that adds support for the `onResize` media event. I created a separate `videoEventTypes` array since I doubt anyone will want to add `onResize` to an audio event. It wo...
[ { "path": "fixtures/dom/src/components/fixtures/media-events/index.js", "patch": "@@ -21,6 +21,7 @@ export default class MediaEvents extends React.Component {\n onPlaying: false,\n onProgress: false,\n onRateChange: false,\n+ onResize: false,\n onSeeked: false,\n onSeeking...
2021-09-07T22:28:19
golang/go
3de175f38348f82f6cc7bfb49c3609e72a5f8f41
f259e4c916bcde5221dca99ce7d77095a21b9801
cmd/compile: in prove pass, check for unsat before adding local facts Local facts can get us to unsatisfiable because there is an unconditional panic in the block. That shouldn't declare the whole block as unreachable, because we do still need to enter it to get that panic. Fixes #68816 Change-Id: I9220edb4608969070...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -1501,9 +1501,6 @@ func prove(f *Func) {\n \t\t\t\taddBranchRestrictions(ft, parent, branch)\n \t\t\t}\n \n-\t\t\t// Add facts about the values in the current block.\n-\t\t\taddLocalFacts(ft, node.block)\n-\n \t\t\tif ft.unsat {\n \t\t\t\t// no...
2024-08-09T20:11:03
electron/electron
6bd13cc98f54f5d6274c05cce027f7684bb420a3
ef4954fa1f32ff72c3ed721dd7a022cd9fcc5a3c
fix: load source maps from custom protocols and asar bundles (#28573) * fix: load source maps from custom protocols and asar bundles * chore: fix lint
[ { "path": "filenames.gni", "patch": "@@ -404,6 +404,8 @@ filenames = {\n \"shell/browser/native_window_observer.h\",\n \"shell/browser/net/asar/asar_url_loader.cc\",\n \"shell/browser/net/asar/asar_url_loader.h\",\n+ \"shell/browser/net/asar/asar_url_loader_factory.cc\",\n+ \"shell/browser...
2021-04-12T04:59:36
nodejs/node
8d651ce81e9944c3350e320b396be22c91e194a9
1da9099ac93d72fe153f6ba81f694074aa6033ad
crypto: remove OPENSSL_FIPS guard for OpenSSL 3 The OPENSSL_FIPS guard is only needed for versions of OpenSSL earlier than 3.0. Removing the guard for OpenSSL 3 fixes `parallel/test-crypto-fips` when run with a FIPS enabled OpenSSL 3 configuration. PR-URL: https://github.com/nodejs/node/pull/48392 Refs: https://gith...
[ { "path": "src/crypto/crypto_util.cc", "patch": "@@ -253,7 +253,6 @@ void TestFipsCrypto(const v8::FunctionCallbackInfo<v8::Value>& args) {\n Mutex::ScopedLock lock(per_process::cli_options_mutex);\n Mutex::ScopedLock fips_lock(fips_mutex);\n \n-#ifdef OPENSSL_FIPS\n #if OPENSSL_VERSION_MAJOR >= 3\n O...
2023-06-12T19:43:22
vercel/next.js
7d46333b8e1f0f6fcc507f937fd01aff17578bea
fa2ccaf5f8e7678cd51628ee9c3b04ed3a5c0688
[Turbopack] fix tree shake ident on code generation (#75970) ### What? Return the correct ident() from tree shaken modules
[ { "path": "turbopack/crates/turbopack-ecmascript/src/tree_shake/chunk_item.rs", "patch": "@@ -61,7 +61,7 @@ impl EcmascriptChunkItem for EcmascriptModulePartChunkItem {\n \n let content = EcmascriptModuleContent::new(\n parsed,\n- module.full_module.ident(),\n+ self...
2025-02-14T09:37:33
golang/go
f259e4c916bcde5221dca99ce7d77095a21b9801
1cf6e31f0d03bb3571cfe034f2d909591a0ae453
cmd/compile: fix off-by-one error in prove pass I think I introduced #68809 when rewriting the prove pass, by introducing an off-by-one error here: https://go-review.googlesource.com/c/go/+/599096/5/src/cmd/compile/internal/ssa/prove.go lines 872-874. The min++ is already handled in one of the two following cases with...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -1059,9 +1059,6 @@ func (ft *factsTable) update(parent *Block, v, w *Value, d domain, r relation) {\n \t\t\t\t\t// We know that either x>min OR x<=max. factsTable cannot record OR conditions,\n \t\t\t\t\t// so let's see if we can already prove ...
2024-08-09T17:59:43
facebook/react
cfd81933286f3a63734ba0ac1650019487c402ff
8e80592a3ab2bdbd036f5af77c89fcf937b8f43b
Add useSyncExternalStore to react-debug-tools (#22240) Adds support for useSyncExternalStore to react-debug-tools, which in turn adds support for React Devtools. Test plan: I added a test to ReactHooksInspectionIntegration, based on existing one for useMutableSource.
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -269,7 +269,19 @@ function useSyncExternalStore<T>(\n subscribe: (() => void) => () => void,\n getSnapshot: () => T,\n ): T {\n- throw new Error('Not yet implemented');\n+ // useSyncExternalStore() composes multiple hooks inte...
2021-09-07T17:58:20
electron/electron
17a44895dd02349374e2fb920f598e0ee5c89f8b
00fa60ef762e0bd0a3dae655b384116865bf09a1
docs: fix typo in breaking-changes.md (#28551)
[ { "path": "docs/breaking-changes.md", "patch": "@@ -14,7 +14,7 @@ This document uses the following convention to categorize breaking changes:\n \n ## Planned Breaking API Changes (14.0)\n \n-### API Changed: `window.(open)`\n+### API Changed: `window.open()`\n \n The optional parameter `frameName` will no l...
2021-04-07T17:32:32
nodejs/node
4e0066eaf8780547d3653cf9a620a976aebe7712
ed92b1fdafd07dde0bd08aa4a4444d1edbecfa56
doc: fix typo in events.md Signed-off-by: Darshan Sen <raisinten@gmail.com> PR-URL: https://github.com/nodejs/node/pull/48436 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/events.md", "patch": "@@ -1880,8 +1880,7 @@ same options as `EventEmitter` and `AsyncResource` themselves.\n * `captureRejections` {boolean} It enables\n [automatic capturing of promise rejection][capturerejections].\n **Default:** `false`.\n- * `name` {string} The type of asyn...
2023-06-12T16:15:04
vercel/next.js
fa2ccaf5f8e7678cd51628ee9c3b04ed3a5c0688
f9fcae172cc0f75f2c1969250e8f8144950cc2aa
[Turbopack] only invalidate fs writes with a different content (#75936) ### What? There are cases where two write tasks write to the same file. This can happen e. g. when two different image source files with the same content are used and end up with the same content hashed filename. But since dependency tracking is...
[ { "path": "turbopack/crates/turbo-tasks-fs/src/invalidator_map.rs", "patch": "@@ -1,13 +1,23 @@\n use std::sync::{LockResult, Mutex, MutexGuard};\n \n use concurrent_queue::ConcurrentQueue;\n-use rustc_hash::{FxHashMap, FxHashSet};\n+use rustc_hash::FxHashMap;\n use serde::{de::Visitor, Deserialize, Seriali...
2025-02-14T09:04:04
golang/go
ff2a57ba92b9ecc9315c992b332279d0428c36d7
1443a3ea1e5800f6d09c5051406e37349838c151
cmd/go/internal/test: add 'tests' vet check to 'go test' suite (Second attempt at CL 529816 (f1d6050), reverted in CL 571695 (1304d98) due to broken longtest builder.) The tests analyser reports structural problems in test declarations. Presumably most of these would be caught by go test itself, which compiles and ru...
[ { "path": "doc/next/3-tools.md", "patch": "@@ -10,3 +10,13 @@ and `void f(double)`, cgo will report an error instead of possibly generating an\n incorrect call sequence for `f(0)`. New in this release is a better detector for\n this error condition when the incompatible declarations appear in different\n fi...
2024-08-06T20:56:56
facebook/react
06f98c168060ef0213526a1aee696a568cec7f54
77912d9a05d7a90287fabdec76486f25869b2981
Implement useSyncExternalStore in Fiber (#22239) This adds an initial implementation of useSyncExternalStore to the fiber reconciler. It's mostly a copy-paste of the userspace implementation, which is not ideal but is a good enough starting place. The main change we'll want to make to this native implementation i...
[ { "path": "packages/react-reconciler/src/ReactFiberHooks.new.js", "patch": "@@ -51,6 +51,7 @@ import {\n markRootMutableRead,\n } from './ReactFiberLane.new';\n import {\n+ DiscreteEventPriority,\n ContinuousEventPriority,\n getCurrentUpdatePriority,\n setCurrentUpdatePriority,\n@@ -136,6 +137,7 @@...
2021-09-07T17:22:05
electron/electron
7d04f729d84f2da3aac1daf25b55a5070d308313
e454bded3c978e792fd6c8fd647e4214719e8191
fix: beforeunload and unload firing in BrowserViews (#28382) * fix: beforeunload and unload firing in BrowserViews * Ensure UserGesture is sent for BV webContents * spec: add tests * refactor: clean up logic * spec: fixup specs * docs: document event behavior for BrowserViews
[ { "path": "docs/api/web-contents.md", "patch": "@@ -375,6 +375,8 @@ win.webContents.on('will-prevent-unload', (event) => {\n })\n ```\n \n+**Note:** This will be emitted for `BrowserViews` but will _not_ be respected - this is because we have chosen not to tie the `BrowserView` lifecycle to its owning Brows...
2021-04-07T07:16:10
nodejs/node
ed92b1fdafd07dde0bd08aa4a4444d1edbecfa56
bd7a8087a581557c636525b65a5c0e0db58735e7
src: handle wasm out of bound in osx will raise SIGBUS correctly fix: #46559 OSX will raise both SIGBUS and SIGSEGV when out of bound memory visit, This commit set sigaction in OSX for two signals to handle this. PR-URL: https://github.com/nodejs/node/pull/46561 Fixes: https://github.com/nodejs/node/issues/46559 Revi...
[ { "path": "src/node.cc", "patch": "@@ -362,10 +362,19 @@ static LONG TrapWebAssemblyOrContinue(EXCEPTION_POINTERS* exception) {\n }\n #else\n static std::atomic<sigaction_cb> previous_sigsegv_action;\n+// TODO(align behavior between macos and other in next major version)\n+#if defined(__APPLE__)\n+static st...
2023-06-12T14:50:21
vercel/next.js
f9fcae172cc0f75f2c1969250e8f8144950cc2aa
5eec6df598a59236ce2b49bb7578b714ad952742
[Turbopack] fix hanging and flaky issues (#76032) ### What? * fix active counting when balancing edges * release lock correctly to avoid a deadlock
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/mod.rs", "patch": "@@ -1414,6 +1414,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {\n task.add_new(CachedDataItem::InProgress {\n value: InProgressState::Scheduled { done_event },\n });\n+ ...
2025-02-14T08:35:41
golang/go
f053f4f921d3d481d3adb3e909e81f1b31a13f2e
760b722c344d312ab62a5c2f94865a869ce0bab9
crypto/tls: expose extensions presented by client to GetCertificate This enables JA3 and JA4 TLS fingerprinting to be implemented from the GetCertificate callback, similar to what BoringSSL provides with its SSL_CTX_set_dos_protection_cb hook. fixes #32936 Change-Id: Idb54ebcb43075582fcef0ac6438727f494543424 Reviewe...
[ { "path": "api/next/32936.txt", "patch": "@@ -0,0 +1 @@\n+pkg crypto/tls, type ClientHelloInfo struct, Extensions []uint16 #32936", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "doc/next/6-stdlib/99-minor/crypto/tls/32936.md", "patch": "@@ -0,0 +1 @@\n+The [C...
2023-02-26T00:24:54
facebook/react
031abd24b62b7b0db2e8658ffce7728eb8592d32
e07039bb61e3d006ad552ab7754acbc91f7b8619
Add warning and test for useSyncExternalStore when getSnapshot isn't cached (#22262) * add warning and test * Wrap console error in __DEV__ flag * prettier
[ { "path": "packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js", "patch": "@@ -618,4 +618,30 @@ describe('Shared useSyncExternalStore behavior (shim and built-in)', () => {\n expect(root).toMatchRenderedOutput('A1B1');\n });\n });\n+\n+ test('Infinite loop if getSn...
2021-09-07T16:08:33
electron/electron
e454bded3c978e792fd6c8fd647e4214719e8191
fe0da255b6debfd219669addc02463d4e1858935
fix: allow accessing file:// when web security is disabled (#28489) * fix: allow accessing file:// when web security is disabled * test: fix webview tests on web security * chore: remove unused attributes * chore: cleanup RegisterURLLoaderFactories method
[ { "path": "shell/browser/electron_browser_client.cc", "patch": "@@ -1286,9 +1286,10 @@ void ElectronBrowserClient::RegisterNonNetworkNavigationURLLoaderFactories(\n context, ukm_source_id,\n false /* we don't support extensions::WebViewGuest */));\n #endif\n+ // Always allow navigating ...
2021-04-07T01:46:23
nodejs/node
bd7a8087a581557c636525b65a5c0e0db58735e7
a40a6c890afe0d1d0ca78db015146178c25af079
https: fix connection checking interval not clearing on server close The connection interval should close when httpsServer.close is called similarly to how it gets cleared when httpServer.close is called. fixes: https://github.com/nodejs/node/issues/48373 PR-URL: https://github.com/nodejs/node/pull/48383 Reviewed-By:...
[ { "path": "lib/_http_server.js", "patch": "@@ -507,6 +507,11 @@ function setupConnectionsTracking(server) {\n setInterval(checkConnections.bind(server), server.connectionsCheckingInterval).unref();\n }\n \n+function httpServerPreClose(server) {\n+ server.closeIdleConnections();\n+ clearInterval(server...
2023-06-12T07:47:25
vercel/next.js
7aa6040a54dd48b279290df515fbfcd00359843a
c13fd9b4d3cca42eb48b3b8a0d50855ec45fcdad
examples: Fix prettier issue (#76027) Follow up from https://github.com/vercel/next.js/pull/75750.
[ { "path": "examples/cms-plasmic/tsconfig.json", "patch": "@@ -1,11 +1,7 @@\n {\n \"compilerOptions\": {\n \"target\": \"es5\",\n- \"lib\": [\n- \"dom\",\n- \"dom.iterable\",\n- \"esnext\"\n- ],\n+ \"lib\": [\"dom\", \"dom.iterable\", \"esnext\"],\n \"allowJs\": true,\n ...
2025-02-13T23:25:40
rust-lang/rust
df998811cee1c2d0567a04020708c1534185a980
975aa0dc8a535165a5415ca057a738626339be03
Adapt macros in rust-analyzer to new attribute `match_ast!` cannot be ported because of a weird compiler bug: https://github.com/rust-lang/rust/issues/150518.
[ { "path": "src/tools/rust-analyzer/crates/tt/src/lib.rs", "patch": "@@ -129,7 +129,7 @@ impl Subtree {\n }\n }\n \n-/// `dispatch_ref! {}`\n+#[rust_analyzer::macro_style(braces)]\n macro_rules! dispatch_ref {\n (\n match $scrutinee:expr => $tt:ident => $body:expr", "additions": 1, "d...
2025-12-30T17:48:04
golang/go
a01820c7337c0c918da2dae2b2158697683bde50
1d925fcc7e0b4c2fb9e671f5c868e52c6a48db1f
os/user: speed up Current on Windows user.Current is slow on Windows sessions connected to an Active Directory domain. This is because it uses Windows APIs that do RPC calls to the domain controller, such as TranslateAccountW and NetUserGetInfo. This change speeds up user.Current by using the GetUserNameEx API instea...
[ { "path": "src/internal/syscall/windows/security_windows.go", "patch": "@@ -156,3 +156,22 @@ type UserInfo4 struct {\n //\n //go:linkname GetSystemDirectory\n func GetSystemDirectory() string // Implemented in runtime package.\n+\n+// GetUserName retrieves the user name of the current thread\n+// in the spe...
2024-08-01T14:26:32
facebook/react
6d6bba5bfc4f62da38ae5ae2c24748cbaa10e6a9
37abc9941835e483e609366fe3dba1463eddd9d9
Fix typo in ReactUpdatePriority-test.js (#21958) continous -> continuous
[ { "path": "packages/react-reconciler/src/__tests__/ReactUpdatePriority-test.js", "patch": "@@ -124,7 +124,7 @@ describe('ReactUpdatePriority', () => {\n });\n });\n expect(Scheduler).toHaveYielded([\n- // Because the hide update has continous priority, it should interrupt the\n+ // B...
2021-09-06T20:16:05
nodejs/node
d2d4a310f1141e094572d310f4bfa621425e05cd
c21fe3ad87002b050c857c387ae66e1d5392798a
typings: fix JSDoc in ESM loader modules PR-URL: https://github.com/nodejs/node/pull/48424 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
[ { "path": "lib/internal/modules/esm/hooks.js", "patch": "@@ -63,6 +63,13 @@ let debug = require('internal/util/debuglog').debuglog('esm', (fn) => {\n });\n \n \n+/**\n+ * @typedef {object} ExportedHooks\n+ * @property {Function} globalPreload Global preload hook.\n+ * @property {Function} resolve Resolve ho...
2023-06-11T19:09:21
vercel/next.js
39712ba246f748a26b52ee83d4da7a8f078e6c80
1e86031134fd7357f36ee8db82c5820c895c7c3b
examples: Fix cms-plasmic example (#75750)
[ { "path": "examples/cms-plasmic/package.json", "patch": "@@ -8,8 +8,8 @@\n \"dependencies\": {\n \"@plasmicapp/loader-nextjs\": \"1.0.363\",\n \"next\": \"latest\",\n- \"react\": \"18.1.0\",\n- \"react-dom\": \"18.1.0\"\n+ \"react\": \"^18.3.1\",\n+ \"react-dom\": \"^18.3.1\"\n },\n ...
2025-02-13T22:50:07
rust-lang/rust
319735d8c9851db41a1fd0a1c435a72e5eec9df0
8cd58dd99defbf5d48c3b30d8b3998f7a9f537e0
Fix parsing of mgca const blocks in array repeat exprs There was an inconsistency where in the case of array repeat expressions, we forgot to eat the `const` keyword of mgca const blocks. Thus, we ended up parsing them as an anon const containing an inline const, instead of simply an anon const as they should be. Thi...
[ { "path": "compiler/rustc_parse/src/parser/expr.rs", "patch": "@@ -1622,15 +1622,13 @@ impl<'a> Parser<'a> {\n let first_expr = self.parse_expr()?;\n if self.eat(exp!(Semi)) {\n // Repeating array syntax: `[ 0; 512 ]`\n- let count = if self.token.is_key...
2025-12-30T18:35:05
golang/go
84266e1469cfa6fa8e1b41518528a96950db7562
ed31d642cb3465ad9cf5d891285ea82948e26026
os: fix Chtimes test flakes It appears that some builders (notably, linux-arm) have some additional security software installed, which apparently reads the files created by tests. As a result, test file atime is changed, making the test fail like these: === RUN TestChtimesOmit ... os_test.go:1475: atime mis...
[ { "path": "src/os/os_test.go", "patch": "@@ -1375,8 +1375,7 @@ func TestChtimes(t *testing.T) {\n \tt.Parallel()\n \n \tf := newFile(t)\n-\n-\tf.Write([]byte(\"hello, world\\n\"))\n+\t// This should be an empty file (see #68687, #68663).\n \tf.Close()\n \n \ttestChtimes(t, f.Name())\n@@ -1394,12 +1393,9 @@ ...
2024-08-08T20:11:14
facebook/react
c46c0733e2bebb298fc3294256c678b27d1cc640
6a56ea89bcd72b3186553d48d7101b8d421fdfc6
Typo fixed (#22171)
[ { "path": "packages/react-devtools/CHANGELOG.md", "patch": "@@ -185,7 +185,7 @@ Learn more about this change at [fb.me/devtools-unsupported-bridge-protocol](htt\n \n ## 4.12.4 (April 19, 2021)\n #### Bugfix\n-* Remove `@octokit/rest` depedency because of a problem with transitive dependencies ([bvaughn](htt...
2021-09-06T19:05:15
electron/electron
fe0da255b6debfd219669addc02463d4e1858935
63317627b5f6e18a6eeedb2de11ddb5534ef50e1
fix: call `UnregisterIsolate` consistently (#28486)
[ { "path": "shell/app/node_main.cc", "patch": "@@ -279,10 +279,6 @@ int NodeMain(int argc, char* argv[]) {\n node::Stop(env);\n node::FreeEnvironment(env);\n node::FreeIsolateData(isolate_data);\n-\n- gin_env.platform()->DrainTasks(isolate);\n- gin_env.platform()->CancelPendingDelayedTasks(...
2021-04-06T23:10:34
nodejs/node
8cc14387a2e77d7a2b411e7edaed690d43ea3809
2c6698b4db81adfba52ba251323d431b4a1b27ef
lib: fix blob.stream() causing hanging promises Refs: https://github.com/nodejs/node/issues/47993#issuecomment-1546901936 PR-URL: https://github.com/nodejs/node/pull/48232 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@g...
[ { "path": "lib/internal/blob.js", "patch": "@@ -329,34 +329,45 @@ class Blob {\n pull(c) {\n const { promise, resolve, reject } = createDeferredPromise();\n this.pendingPulls.push({ resolve, reject });\n- reader.pull((status, buffer) => {\n- // If pendingPulls is empty ...
2023-06-11T09:24:39
facebook/react
99f9de9a6ae07fe4e34b96c1a931e8b403409bfd
1314299c7f70914d61d8e1cef56767f112110674
Fix typo in ReactDOMServerFormatConfig.js (#22203) Fix typo: TOOD -> TODO
[ { "path": "packages/react-dom/src/server/ReactDOMServerFormatConfig.js", "patch": "@@ -1706,7 +1706,7 @@ export function writeEndSegment(\n // // Clear all the existing children. This is complicated because\n // // there can be embedded Suspense boundaries in the fallback.\n // // This is similar to c...
2021-09-06T18:58:46
vercel/next.js
1e86031134fd7357f36ee8db82c5820c895c7c3b
1769fc292f7aa7a1ccd18b907d16032ec513a120
Fix unisolated tests (#76018)
[ { "path": "test/lib/create-next-install.js", "patch": "@@ -154,9 +154,11 @@ async function createNextInstall({\n )\n \n if (beforeInstall !== undefined) {\n- rootSpan.traceChild('beforeInstall').traceAsyncFn(async (span) => {\n- await beforeInstall(span, installDir)\n- })\...
2025-02-13T22:22:17
golang/go
fe392d0dff0089c70f6addf83c122100af7d24be
db0b6a85c27b6ae8bd132be11ba07c29c01f4165
os/user: support calling Current on impersonated threads The syscall.OpenCurrentProcessToken call in user.Current fails when called from an impersonated thread, as the process token is normally in that case. This change ensures that the current thread is not impersonated when calling OpenCurrentProcessToken, and then...
[ { "path": "src/internal/syscall/windows/security_windows.go", "patch": "@@ -18,6 +18,8 @@ const (\n \n //sys\tImpersonateSelf(impersonationlevel uint32) (err error) = advapi32.ImpersonateSelf\n //sys\tRevertToSelf() (err error) = advapi32.RevertToSelf\n+//sys\tImpersonateLoggedOnUser(token syscall.Token) (e...
2024-08-01T14:26:00
electron/electron
77dcf1020a5736235838353ee72bdc75900dc417
641e9337f39fb47aec466953a41fbe04313d275e
fix: pass postData to new-window event (#28513)
[ { "path": "docs/api/structures/upload-file.md", "patch": "@@ -1,6 +1,6 @@\n # UploadFile Object\n \n-* `type` String - `file`.\n+* `type` 'file' - `file`.\n * `filePath` String - Path of file to be uploaded.\n * `offset` Integer - Defaults to `0`.\n * `length` Integer - Number of bytes to read from `offset`...
2021-04-06T16:54:05
rust-lang/rust
58715c3cceb1e644692f3d736a0b155509b8ab4b
b12b766cf33791020f453198f1545592c424c3c3
make backtrace look a lot like panics
[ { "path": "src/tools/miri/src/diagnostics.rs", "patch": "@@ -576,72 +576,51 @@ fn report_msg<'tcx>(\n }\n \n // Show note and help messages.\n- let mut extra_span = false;\n for (span_data, note) in notes {\n if let Some(span_data) = span_data {\n err.span_note(span_data.s...
2025-12-30T18:28:01
facebook/react
2b7214033e6ba15f2616012f39ae1f1ee0e573a3
ac8fc34e61d797b0ff88765c05811fe2e21aad79
[DevTools] Fix Issue in release script where commits for the last DevTools release are undefined #22233
[ { "path": "scripts/devtools/prepare-release.js", "patch": "@@ -115,8 +115,12 @@ async function getPreviousCommitSha() {\n const choices = [];\n \n const lines = await execRead(`\n- git log --max-count=5 --topo-order --pretty=format:'%H:::%s:::%as' HEAD -- ${PACKAGE_PATHS[0]}\n+ git log --max-count...
2021-09-01T19:56:39
nodejs/node
2c6698b4db81adfba52ba251323d431b4a1b27ef
0c875bbfc82197417a0a4ba82511d383c2a1700e
lib: add support for inherited custom inspection methods PR-URL: https://github.com/nodejs/node/pull/48306 Fixes: https://github.com/nodejs/node/issues/48207 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/error_serdes.js", "patch": "@@ -13,7 +13,6 @@ const {\n ObjectGetOwnPropertyNames,\n ObjectGetPrototypeOf,\n ObjectKeys,\n- ObjectPrototypeHasOwnProperty,\n ObjectPrototypeToString,\n RangeError,\n ReferenceError,\n@@ -134,8 +133,7 @@ function serializeError(error) {\n ...
2023-06-11T08:10:47
vercel/next.js
1769fc292f7aa7a1ccd18b907d16032ec513a120
d9b27c99802a5718b3dd2b4766c3fab8b908acc0
fix(turbopack CI): Pin corepack version for production tests manifest update action (#75986) Looks like this was overlooked when updating our CI configs to work around the recent corepack issue. https://github.com/vercel/next.js/actions/runs/13279886936/job/37075996177 ![Screenshot 2025-02-12 at 3.04.02 PM.png](http...
[ { "path": ".github/workflows/turbopack-update-tests-manifest.yml", "patch": "@@ -62,7 +62,10 @@ jobs:\n node-version: ${{ env.NODE_LTS_VERSION }}\n check-latest: true\n \n- - run: corepack enable\n+ - name: Setup corepack\n+ run: |\n+ npm i -g corepack@0.31\n+ ...
2025-02-13T22:08:53
golang/go
9177e12ccc2115e44de824ae7247ace88617c29a
5eeba95bada12992b666f2ae33fafb5991b3ca46
cmd/compile: fix loong64 MINF → FMINF name and friends CL 580283 left cmd/compile/internal/ssa/_gen/ in a state where `go run *.go` would always fails ! :'( Change-Id: I0b3aea9b3f6275cb17c552898c5034e15f0107d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/603995 LUCI-TryBot-Result: Go LUCI <golang-scoped@luc...
[ { "path": "src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go", "patch": "@@ -193,10 +193,10 @@ func init() {\n \t\t{name: \"SQRTD\", argLength: 1, reg: fp11, asm: \"SQRTD\"}, // sqrt(arg0), float64\n \t\t{name: \"SQRTF\", argLength: 1, reg: fp11, asm: \"SQRTF\"}, // sqrt(arg0), float32\n \n-\t\t{name: \"MINF\...
2024-08-07T19:25:41
electron/electron
62b38812b629201c0ab490b73353ee4ac53212ac
3ed8da093148df2f03e2a1020d2bbebc99a58ac4
fix: invoke the window open handler for _blank links (#28498) * fix: invoke the window open handler for _blank links * add test
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -433,7 +433,11 @@ WebContents.prototype._callWindowOpenHandler = function (event: Electron.Event,\n event.preventDefault();\n return null;\n } else if (response.action === 'allow') {\n- if (typeof response.overrideBrowserWindowOptions ==...
2021-04-06T08:04:14
nodejs/node
0c875bbfc82197417a0a4ba82511d383c2a1700e
718f62bfcf38862f7f90a842790961a6d2082ab5
repl: display dynamic import variant in static import error messages Enhance the REPL message for static import error message. ``` > import {foo, bar} from 'moo'; import {foo, bar} from 'moo'; ^^^^^^ Uncaught: SyntaxError: .* dynamic import: const {foo,bar} = await import('moo'); ``` PR-URL: https://github.com/node...
[ { "path": "lib/repl.js", "patch": "@@ -43,6 +43,7 @@\n 'use strict';\n \n const {\n+ ArrayPrototypeAt,\n ArrayPrototypeFilter,\n ArrayPrototypeFindIndex,\n ArrayPrototypeForEach,\n@@ -62,6 +63,7 @@ const {\n Boolean,\n Error,\n FunctionPrototypeBind,\n+ JSONStringify,\n MathMaxApply,\n Num...
2023-06-11T08:10:39
golang/go
80746f7f2d4b3d1d2ea62878e7c89f5c6c3c2a2a
b696250e5f0dcc4cfa863309538c65d30d2ad480
os: employ sendfile(2) for file-to-file copying on Linux when needed Go utilizes copy_file_range(2) for file-to-file copying only on kernel 5.3+, but even on 5.3+ this system call can still go wrong for some reason (check out the comment inside poll.CopyFileRange). Before Linux 2.6.33, out_fd must refer to a socket, ...
[ { "path": "src/os/readfrom_linux_test.go", "patch": "@@ -25,7 +25,7 @@ import (\n \t\"golang.org/x/net/nettest\"\n )\n \n-func TestCopyFileRange(t *testing.T) {\n+func TestCopyFileRangeAndSendFile(t *testing.T) {\n \tsizes := []int{\n \t\t1,\n \t\t42,\n@@ -37,6 +37,7 @@ func TestCopyFileRange(t *testing.T) ...
2024-08-06T08:36:45
vercel/next.js
d9b27c99802a5718b3dd2b4766c3fab8b908acc0
785e9660d47471d8585efad22de34813dd05b886
example: add next config to hello-world app (#76022) ### Why? Since the `hello-world` app is also used for the default debugging app, I used to add a config when testing a relevant feature and removed it after. Hence, just added a config. https://github.com/vercel/next.js/blob/959a31214341d1ea00c0f00bcc8fc6f6a9c7b6...
[ { "path": "examples/hello-world/next.config.ts", "patch": "@@ -0,0 +1,7 @@\n+import type { NextConfig } from \"next\";\n+\n+const nextConfig: NextConfig = {\n+ /* config options here */\n+};\n+\n+export default nextConfig;", "additions": 7, "deletions": 0, "language": "Unknown" } ]
2025-02-13T21:33:32
facebook/react
597ecd6a0ceebef63edc4c6bc501fe3695790fc6
36f0005b994aa429d4d8f7ac6c1cab3cacf76385
[DevTools] Throw error in console without interfering with logs (#22175)
[ { "path": "packages/react-devtools-shared/src/__tests__/console-test.js", "patch": "@@ -6,20 +6,19 @@\n *\n * @flow\n */\n+let React;\n+let ReactDOM;\n+let act;\n+let fakeConsole;\n+let legacyRender;\n+let mockError;\n+let mockInfo;\n+let mockLog;\n+let mockWarn;\n+let patchConsole;\n+let unpatchConsole;...
2021-08-30T21:37:49