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
golang/go
177cd8d7633843c3eabf8f887381cadbeed3514b
2353c1578596aae7128f028c75b52c6047f0b057
log/slog: use a pooled json encoder goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: 12th Gen Intel(R) Core(TM) i7-1260P │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ Attrs/JS...
[ { "path": "src/log/slog/internal/benchmarks/benchmarks.go", "patch": "@@ -31,12 +31,19 @@ import (\n \n const testMessage = \"Test logging, but use a somewhat realistic message length.\"\n \n+type event struct {\n+\tID string\n+\tIndex int\n+\tFlag bool\n+}\n+\n var (\n \ttestTime = time.Date(2022, ...
2025-09-20T11:33:03
facebook/react
778e1ed2e5ec22d4bac48e14167d3b4a6b28e8b8
0f1856c49febe96923e469f98c0b123130ea015c
[Fiber] Fix missing render times when we cancel a pending commit (#31065)
[ { "path": "packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js", "patch": "@@ -3401,7 +3401,7 @@ export function suspendResource(\n }\n }\n \n-export function waitForCommitToBeReady(): null | (Function => Function) {\n+export function waitForCommitToBeReady(): null | ((() => void) => () => void)...
2024-09-25T22:20:03
nodejs/node
3641d339b92b6f2ea8dd8c8690cb47530adc7103
df883b0c7234cb44bef3175cd3e6a997c830db05
src: improve error handling in multiple files * node_http_parser * node_http2 * node_builtins PR-URL: https://github.com/nodejs/node/pull/57507 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Ulises Gascón...
[ { "path": "src/node_builtins.cc", "patch": "@@ -10,15 +10,18 @@\n namespace node {\n namespace builtins {\n \n+using v8::Boolean;\n using v8::Context;\n using v8::EscapableHandleScope;\n+using v8::Exception;\n using v8::Function;\n using v8::FunctionCallbackInfo;\n using v8::IntegrityLevel;\n using v8::Isol...
2025-03-16T17:53:13
electron/electron
a3df9502812e6741bc722648719708edab87ee46
0cc60500ed949e1082909328daa10b71a681a58f
fix: -Wunsafe-buffer-usage warning in V8Serializer::Serialize() (#43642)
[ { "path": "shell/common/v8_value_serializer.cc", "patch": "@@ -49,10 +49,12 @@ class V8Serializer : public v8::ValueSerializer::Delegate {\n }\n DCHECK(wrote_value);\n \n- std::pair<uint8_t*, size_t> buffer = serializer_.Release();\n- DCHECK_EQ(buffer.first, data_.data());\n- out->encoded_m...
2024-09-10T20:05:05
golang/go
2353c1578596aae7128f028c75b52c6047f0b057
32dfd69282ac86b0ce49909d36e2a4e5797ad25c
cmd/cgo/internal/test: skip TestMultipleAssign when using UCRT on Windows The Universal C Runtime (UCRT) default behavior is to crash the program when strtol is called with an invalid base (that is, not 0 or 2..36). This an invalid base (that is, not 0 or 2..36). This changes the test to skip when running on Windows a...
[ { "path": "src/cmd/cgo/internal/test/test.go", "patch": "@@ -1096,6 +1096,12 @@ func testErrno(t *testing.T) {\n }\n \n func testMultipleAssign(t *testing.T) {\n+\tif runtime.GOOS == \"windows\" && usesUCRT(t) {\n+\t\t// UCRT's strtol throws an unrecoverable crash when\n+\t\t// using an invalid base (that i...
2025-09-19T10:18:26
nodejs/node
6b4255434226491449b7d925038008439e5586b2
1fbe3351bafb6b7c7fce6823507f5ce5bb5d927e
util: expose diff function used by the assertion errors fix: https://github.com/nodejs/node/issues/51740 PR-URL: https://github.com/nodejs/node/pull/57462 Fixes: https://github.com/nodejs/node/issues/51740 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By...
[ { "path": "benchmark/util/diff.js", "patch": "@@ -0,0 +1,43 @@\n+'use strict';\n+\n+const util = require('util');\n+const common = require('../common');\n+\n+const bench = common.createBenchmark(main, {\n+ n: [1e3],\n+ length: [1e3, 2e3],\n+ scenario: ['identical', 'small-diff', 'medium-diff', 'large-dif...
2025-03-19T23:59:07
facebook/react
f9ebd85a196948be17efdd6774b4d0464b3b1f53
d2e9b9b4dc22639e2c51fb34e9388b9971ee3e27
Increase nested update limit to 100 (#31061) We're seeing the limit hit in some tests after enabling sibling prerendering. Let's bump the limit so we can run more tests and gather more signal on the changes. When we understand the scope of the problem we can determine whether we need to change how the updates are c...
[ { "path": "packages/react-dom/src/__tests__/ReactLegacyUpdates-test.js", "patch": "@@ -1427,7 +1427,7 @@ describe('ReactLegacyUpdates', () => {\n }\n }\n \n- let limit = 55;\n+ let limit = 105;\n await expect(async () => {\n await act(() => {\n ReactDOM.render(<EventuallyTe...
2024-09-25T15:50:41
golang/go
32dfd69282ac86b0ce49909d36e2a4e5797ad25c
7f6ff5ec3edfa1ed82014ad53f6cad3dc023f48e
cmd/dist: disable FIPS 140-3 mode when testing maphash with purego hash/maphash can't be built with FIPS 140-3 mode and the purego tag since CL 703095. That change precludes running "GODEBUG=fips140=on go dist test" with, as there is a test variant that tests maphash with the purego tag. Change-Id: Iaedfaf3bb79281a79...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -705,6 +705,7 @@ func (t *tester) registerTests() {\n \t\t\t\ttimeout: 300 * time.Second,\n \t\t\t\ttags: []string{\"purego\"},\n \t\t\t\tpkg: \"hash/maphash\",\n+\t\t\t\tenv: []string{\"GODEBUG=fips140=off\"}, // FIPS 140-3 mode is incompatible with...
2025-09-22T10:59:20
electron/electron
0cc60500ed949e1082909328daa10b71a681a58f
f1019c2c4ace19be9f9c80696101106ee20d190c
fix: restore Chromium default `Content-Disposition` header parsing (#43611) * fix: restore Chromium default Content-Disposition header parsing * Update api-web-request-spec.ts
[ { "path": "shell/browser/api/electron_api_web_request.cc", "patch": "@@ -21,7 +21,6 @@\n #include \"gin/dictionary.h\"\n #include \"gin/handle.h\"\n #include \"gin/object_template_builder.h\"\n-#include \"net/http/http_content_disposition.h\"\n #include \"shell/browser/api/electron_api_session.h\"\n #includ...
2024-09-10T13:32:30
nodejs/node
98513884684bccf944d7834f4820b061af41fb36
015cd20e023f45ada87c559f8c5a93891f4939ce
sqlite: add DatabaseSync.prototype.isOpen This commit adds a getter to indicate whether or not the database is currently open. Fixes: https://github.com/nodejs/node/issues/57521 PR-URL: https://github.com/nodejs/node/pull/57522 Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Edy Silva <edigle...
[ { "path": "doc/api/sqlite.md", "patch": "@@ -198,6 +198,14 @@ added:\n This method is used to create SQLite user-defined functions. This method is a\n wrapper around [`sqlite3_create_function_v2()`][].\n \n+### `database.isOpen`\n+\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* {boolean} Whether the database i...
2025-03-19T17:01:16
facebook/react
d2e9b9b4dc22639e2c51fb34e9388b9971ee3e27
a15bbe14751287cb7ac124ff88f694d0883f3ac6
React DevTools 5.3.1 -> 6.0.0 (#31058) Full list of changes: * refactor: data source for errors and warnings tracking is now in Store ([hoxyq](https://github.com/hoxyq) in [#31010](https://github.com/facebook/react/pull/31010)) * fix: consider alternate as a key for componentLogsEntry when inspecting raw fiber in...
[ { "path": "packages/react-devtools-core/package.json", "patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"react-devtools-core\",\n- \"version\": \"5.3.1\",\n+ \"version\": \"6.0.0\",\n \"description\": \"Use react-devtools outside of the browser\",\n \"license\": \"MIT\",\n \"main\": \"./dist/backend.js\...
2024-09-25T13:38:34
electron/electron
f1019c2c4ace19be9f9c80696101106ee20d190c
5718ea4e1e5ce61cf80fb42509fcc18c5b1e9544
fix: -Wunsafe-buffer-usage warnings in asar file IO (#43624) * fix: -Wunsafe-buffer-usage warnings in ScopedTemporaryFile::InitFromFile() * fix: -Wunsafe-buffer-usage warnings in Archive::Init()
[ { "path": "shell/common/asar/archive.cc", "patch": "@@ -201,39 +201,34 @@ bool Archive::Init() {\n return false;\n }\n \n- std::vector<char> buf;\n- int len;\n+ std::vector<uint8_t> buf;\n \n buf.resize(8);\n {\n electron::ScopedAllowBlockingForElectron allow_blocking;\n- len = file_.Rea...
2024-09-09T20:34:42
golang/go
7f6ff5ec3edfa1ed82014ad53f6cad3dc023f48e
9693b94be057b58f35bcc4a81c937495b93d588e
cmd/compile: fix doc word "using" -> "uses" Change-Id: I2bcefc6128dafd4fd05d7ce291b1afb28465a25c GitHub-Last-Rev: bf9006eeb65c94a4e492be29f530f511a3d6ffc1 GitHub-Pull-Request: golang/go#75548 Reviewed-on: https://go-review.googlesource.com/c/go/+/705515 Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith R...
[ { "path": "src/cmd/compile/README.md", "patch": "@@ -57,7 +57,7 @@ terms of these, so the next step after type checking is to convert the syntax\n and types2 representations to ir and types. This process is referred to as\n \"noding.\"\n \n-Noding using a process called Unified IR, which builds a node repre...
2025-09-19T21:59:21
vercel/next.js
c6ff4d0ad6db2dee32a2562eefbe19612205803e
ce7f7a5f94ff1574d54b655f2748028a51f50dbd
[cache components]: guard against setCacheStatus since its conditionally defined (#85125) <!-- 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) th...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -671,8 +671,8 @@ async function generateDynamicFlightRenderResultWithCachesInDev(\n \n // Before we kick off the render, we set the cache status back to it's initial state\n // in case a previous render bypassed the cache.\n- ...
2025-10-20T18:41:15
nodejs/node
fe5817e06ca81f0388d448287e60e2ca49c3cba3
b99c3a0c29f60ff24633630fd50c7b8348ae571c
doc: correct status of require(esm) warning in v20 changelog The backported patches already include the commit that disables the warning unless `--trace-require-module` is explicitly used. Correct the changelog to match the status. PR-URL: https://github.com/nodejs/node/pull/57529 Fixes: https://github.com/nodejs/nod...
[ { "path": "doc/changelogs/CHANGELOG_V20.md", "patch": "@@ -82,7 +82,9 @@\n \n Support for loading native ES modules using require() had been available on v20.x under the command line flag --experimental-require-module, and available by default on v22.x and v23.x. In this release, it is now no longer behind ...
2025-03-19T00:34:29
facebook/react
a15bbe14751287cb7ac124ff88f694d0883f3ac6
fc4a33eaa9c935ac860ab6043b95d55540068571
refactor: data source for errors and warnings tracking is now in Store (#31010) Stacked on https://github.com/facebook/react/pull/31009. 1. Instead of keeping `showInlineWarningsAndErrors` in `Settings` context (which was removed in https://github.com/facebook/react/pull/30610), `Store` will now have a boolean f...
[ { "path": "packages/react-devtools-shared/src/__tests__/store-test.js", "patch": "@@ -2148,8 +2148,8 @@ describe('Store', () => {\n act(() => render(<React.Fragment />));\n });\n expect(store).toMatchInlineSnapshot(`[root]`);\n- expect(store.errorCount).toBe(0);\n- expect(store...
2024-09-24T18:51:21
golang/go
9693b94be057b58f35bcc4a81c937495b93d588e
8616981ce691248dfa585918a108e5f32c9aacc5
runtime: include stderr when objdump fails If objdump panics, we want the panic included in the test log. Change-Id: I6a6a636c13c5ba08acaa1c6c8714541a8e91542b Reviewed-on: https://go-review.googlesource.com/c/go/+/704338 Reviewed-by: Florian Lehner <lehner.florian86@gmail.com> Auto-Submit: Michael Pratt <mpratt@googl...
[ { "path": "src/runtime/unsafepoint_test.go", "patch": "@@ -43,7 +43,7 @@ func TestUnsafePoint(t *testing.T) {\n \tcmd := exec.Command(testenv.GoToolPath(t), \"tool\", \"objdump\", \"-s\", \"setGlobalPointer\", os.Args[0])\n \tout, err := cmd.CombinedOutput()\n \tif err != nil {\n-\t\tt.Fatalf(\"can't objdum...
2025-09-16T19:07:08
electron/electron
5718ea4e1e5ce61cf80fb42509fcc18c5b1e9544
2844e346b98857ee96f797fced3f9e6df6a88263
fix: out-of-scope Local handle in node::CallbackScope (#43622) refactor: use an EscapableHandleScope
[ { "path": "shell/common/gin_helper/event_emitter_caller.cc", "patch": "@@ -13,15 +13,14 @@ v8::Local<v8::Value> CallMethodWithArgs(v8::Isolate* isolate,\n v8::Local<v8::Object> obj,\n const char* method,\n ...
2024-09-09T17:14:40
vercel/next.js
ce7f7a5f94ff1574d54b655f2748028a51f50dbd
aaaf82ca794eafd285bea8f1193fe1e1402fdf89
[turbopack] Try to fix v8 crashes on github actions (#85114) Hopefully fix v8 crashes like: https://github.com/vercel/next.js/actions/runs/18658418940/job/53193170376 based on discussions on https://github.com/nodejs/node/issues/51555
[ { "path": "turbopack/crates/turbopack-tracing/tests/node-file-trace.rs", "patch": "@@ -590,6 +590,10 @@ async fn exec_node(directory: &str, path: &str) -> Result<CommandOutput> {\n let dir = f.parent().unwrap();\n println!(\"[CWD]: {}\", dir.display());\n \n+ // See https://github.com/nodejs/node...
2025-10-20T18:38:19
nodejs/node
922ce9d236a21c3c589ba083abcf5213c9282f34
cad76cc1d5735bcb16a4b36a0d315cddacc1c497
debugger: fix behavior of plain object exec in debugger repl Co-authored-by: Xuguang Mei <meixuguang@gmail.com> PR-URL: https://github.com/nodejs/node/pull/57498 Fixes: https://github.com/nodejs/node/issues/46808 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By:...
[ { "path": "lib/internal/debugger/inspect_repl.js", "patch": "@@ -56,6 +56,7 @@ const { fileURLToPath } = require('internal/url');\n \n const { customInspectSymbol, SideEffectFreeRegExpPrototypeSymbolReplace } = require('internal/util');\n const { inspect: utilInspect } = require('internal/util/inspect');\n+...
2025-03-18T19:30:31
facebook/react
fc4a33eaa9c935ac860ab6043b95d55540068571
04bd67a4906d387ecdb8cbc798144dec2db811a5
fix: consider alternate as a key for componentLogsEntry when inspecting raw fiber instance (#31009) Related - https://github.com/facebook/react/pull/30899. Looks like this was missed. We actually do this when we record errors and warnings before sending them via Bridge: https://github.com/facebook/react/blob/e4...
[ { "path": "packages/react-devtools-shared/src/backend/fiber/renderer.js", "patch": "@@ -1029,6 +1029,10 @@ export function attach(\n if (devtoolsInstance.kind === FIBER_INSTANCE) {\n const fiber = devtoolsInstance.data;\n componentLogsEntry = fiberToComponentLogsMap.get(fiber);\n+\n+ ...
2024-09-24T16:49:19
electron/electron
e2fe8f50e2e1e55d66dea70ea62e3952edb3ff26
8c5e7bbf6b8759488f01faa39c583e16966c81e2
fix: update `BrowserView#lastWindowSize` after window resize (#43463) fix: update BrowserView#lastWindowSize after window resize (#43462)
[ { "path": "lib/browser/api/browser-view.ts", "patch": "@@ -145,6 +145,12 @@ export default class BrowserView {\n if (this.#autoHorizontalProportion || this.#autoVerticalProportion) {\n this.#webContentsView.setBounds(newViewBounds);\n }\n+\n+ // Update #lastWindowSize value after browser wi...
2024-09-09T12:22:30
golang/go
b8af74436000dcb370b41ec70acc8ab4632adf05
51dc5bfe6c1e8e71065401f12cf000b9941882fd
testing: fix example for unexported identifier Fixes #75540 Change-Id: I925f893d33660f0b08996d53cc9c564017232b39 Reviewed-on: https://go-review.googlesource.com/c/go/+/705456 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Revie...
[ { "path": "src/testing/testing.go", "patch": "@@ -30,9 +30,9 @@\n //\timport \"testing\"\n //\n //\tfunc TestAbs(t *testing.T) {\n-//\t got := Abs(-1)\n+//\t got := abs(-1)\n //\t if got != 1 {\n-//\t t.Errorf(\"Abs(-1) = %d; want 1\", got)\n+//\t t.Errorf(\"abs(-1) = %d; want 1\", go...
2025-09-19T10:27:55
vercel/next.js
aaaf82ca794eafd285bea8f1193fe1e1402fdf89
fb106d545f2ffa8094d687572a48fb3aca1d3a2b
Turbopack: Suggest using system certs when a TLS error occurs (#85009) We don't really want to document this flag because 99% of developers won't need it, but we can detect this situation and suggest the flag. Based on this user getting stuck: https://x.com/_bgwoodruff/status/1978493219068371330
[ { "path": "Cargo.lock", "patch": "@@ -1408,6 +1408,16 @@ dependencies = [\n \"libc\",\n ]\n \n+[[package]]\n+name = \"core-foundation\"\n+version = \"0.10.1\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6...
2025-10-20T18:14:58
nodejs/node
1de917b0f784e3d2fcc739aac740b8afa8679341
36e89dd13cdf7d5a81e0d4b53c0070dd1790705e
sqlite: add StatementSync.prototype.columns() This commit adds a method for retrieving column metadata from a prepared statement. Fixes: https://github.com/nodejs/node/issues/57457 PR-URL: https://github.com/nodejs/node/pull/57490 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Yagiz Nizipli...
[ { "path": "deps/sqlite/sqlite.gyp", "patch": "@@ -14,6 +14,7 @@\n },\n 'defines': [\n 'SQLITE_DEFAULT_MEMSTATUS=0',\n+ 'SQLITE_ENABLE_COLUMN_METADATA',\n 'SQLITE_ENABLE_MATH_FUNCTIONS',\n 'SQLITE_ENABLE_SESSION',\n 'SQLITE_ENABLE_PREUPDATE_HOOK'", "addi...
2025-03-18T13:22:32
facebook/react
4708fb92c24bbc769acbc075de6105590fd29edc
5b19dc0f06e92d3ed0aa93be3c5bbe2298da5df6
Fix runtime_commit_artifacts workflow I messed up the yml syntax and also realized that our script doesn't currently handle renames or deletes, so I fixed that ghstack-source-id: 7d481a951abaabd1a2985c8959d8acb7103ed12e Pull Request resolved: https://github.com/facebook/react/pull/31028
[ { "path": ".github/workflows/runtime_commit_artifacts.yml", "patch": "@@ -171,7 +171,7 @@ jobs:\n \n commit_www_artifacts:\n needs: download_artifacts\n- if: ${{ (github.ref == 'refs/heads/main' && needs.download_artifacts.outputs.www_branch_count == '0') || github.ref == 'refs/heads/meta-www' }}\n...
2024-09-23T21:36:53
electron/electron
8c5e7bbf6b8759488f01faa39c583e16966c81e2
0d4d752c1bad2cdf05e56f7c32772e0adb1ab17b
fix: UvHandle move semantics (#43615) reassign the uv_handle_t of the source
[ { "path": "shell/common/node_bindings.h", "patch": "@@ -62,8 +62,17 @@ class UvHandle {\n UvHandle() : t_{new T} {}\n ~UvHandle() { reset(); }\n \n- UvHandle(UvHandle&&) = default;\n- UvHandle& operator=(UvHandle&&) = default;\n+ explicit UvHandle(UvHandle&& that) {\n+ t_ = that.t_;\n+ that.t_ ...
2024-09-09T12:13:39
golang/go
51dc5bfe6c1e8e71065401f12cf000b9941882fd
ee7bf06cb306ea9234fbc1501f3e0f3903ada427
Revert "cmd/go: disable cgo by default if CC unset and DefaultCC doesn't exist" This reverts commit c2d85eb999fcd428a1cd71ed93805cbde0c16eaa. Reason for revert: change was incorrect. ignores setting of CGO_ENABLED in some cases Change-Id: I8e6e68dd600be5306a247a3314f4b57175f1aa56 Reviewed-on: https://go-review.goog...
[ { "path": "src/cmd/go/internal/cfg/cfg.go", "patch": "@@ -145,8 +145,7 @@ func defaultContext() build.Context {\n \tif buildcfg.DefaultCGO_ENABLED == \"1\" {\n \t\tdefaultCgoEnabled = true\n \t} else if buildcfg.DefaultCGO_ENABLED == \"0\" {\n-\t}\n-\tif runtime.GOARCH == ctxt.GOARCH && runtime.GOOS == ctxt...
2025-09-19T16:25:20
nodejs/node
38390e5f28043146391d61d9b899b47aa72f53f9
758428450bbdcf14cfa8878e9102b6a8c0fdd60b
url: fix constructor error message for URLPattern PR-URL: https://github.com/nodejs/node/pull/57482 Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By:...
[ { "path": "src/node_url_pattern.cc", "patch": "@@ -269,7 +269,7 @@ void URLPattern::New(const FunctionCallbackInfo<Value>& args) {\n options.has_value() ? &options.value() : nullptr);\n \n if (!url_pattern) {\n- THROW_ERR_INVALID_URL_PATTERN(env, \"Failed to constuct URLPattern\");\n+ THROW_ER...
2025-03-17T10:39:42
vercel/next.js
fb106d545f2ffa8094d687572a48fb3aca1d3a2b
8b5abf4e8e842cfb08a5b8906a661a7c0021c990
fix: Handle non-directory files in cache folder when performing cleanup (#84930) https://vercel.slack.com/archives/C046HAU4H7F/p1760563400531829 Repro this by creating a non-directory file in `cache/turbopack`, and then invalidating it: ``` touch .next/dev/cache/turbopack/notadirectory touch .next/dev/cache/turbopac...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/database/db_invalidation.rs", "patch": "@@ -166,7 +166,11 @@ fn cleanup_db_inner(base_path: &Path) -> io::Result<()> {\n for entry in contents {\n let entry = entry?;\n if entry.file_name() != INVALIDATION_MARKER {\n- fs::rem...
2025-10-20T18:14:28
facebook/react
79bcf6eb23cd781bedbfccfe8d1507d18fd2c623
4e9540e3c2a8f9ae56318b967939c99b3a815190
Fix missing trailing / in commit artifacts workflow The trailing / was being omitted, so instead of moving the cjs directory itself, it would move only its contents instead. This broke some internal path assumptions. Additionally, updates the step to create the react-dom directory prior to moving. ghstack-source-id:...
[ { "path": ".github/workflows/runtime_commit_artifacts.yml", "patch": "@@ -118,14 +118,14 @@ jobs:\n run: |\n BASE_FOLDER='compiled-rn/facebook-fbsource/xplat/js'\n mkdir -p ${BASE_FOLDER}/react-native-github/Libraries/Renderer/\n- mkdir -p ${BASE_FOLDER}/RKJSModules/vend...
2024-09-23T18:58:05
electron/electron
0d4d752c1bad2cdf05e56f7c32772e0adb1ab17b
0568686340ffdda30454dafe3270fc3a21b94096
build(deps): bump the npm_and_yarn group across 2 directories with 3 updates (#43511) * build(deps): bump the npm_and_yarn group across 2 directories with 3 updates Bumps the npm_and_yarn group with 1 update in the / directory: [braces](https://github.com/micromatch/braces). Bumps the npm_and_yarn group with 3 upd...
[ { "path": "spec/api-web-contents-spec.ts", "patch": "@@ -1,15 +1,16 @@\n import { expect } from 'chai';\n import { AddressInfo } from 'node:net';\n+import * as cp from 'node:child_process';\n import * as path from 'node:path';\n import * as fs from 'node:fs';\n import * as http from 'node:http';\n+import * ...
2024-09-09T09:49:43
golang/go
ee7bf06cb306ea9234fbc1501f3e0f3903ada427
f9e61a9a32c8cbfd810ac9fec135b5c0911b8d69
time: improve ParseDuration performance for invalid input Add "parseDurationError" to reduce memory allocation in the error path of "ParseDuration" and delay the generation of error messages. This improves the performance when dealing with invalid input. The format of the error message remains unchanged. Benchmarks:...
[ { "path": "src/time/format.go", "patch": "@@ -1602,6 +1602,16 @@ func leadingFraction(s string) (x uint64, scale float64, rem string) {\n \treturn x, scale, s[i:]\n }\n \n+// parseDurationError describes a problem parsing a duration string.\n+type parseDurationError struct {\n+\tmessage string\n+\tvalue s...
2025-09-19T10:34:09
vercel/next.js
02c9a7ede4b59bf7ba571a647bcc9a2a35616659
27862f0065e5d3f69ce9b64c905745dc8474e3c2
Docs: Add `--debug-build-paths` next build option (#85097) Related: https://github.com/vercel/next.js/pull/85052
[ { "path": "docs/01-app/03-api-reference/06-cli/next.mdx", "patch": "@@ -84,6 +84,7 @@ The following options are available for the `next build` command:\n | `--experimental-app-only` | Builds only App Router routes. ...
2025-10-20T13:40:00
nodejs/node
8b41272f7954f7ac36c1c8ec4f733230a1b57f78
fb07807e9a80889e94044dc98d5315c77e7718a9
doc: fixed the incorrect splitting of multiple words PR-URL: https://github.com/nodejs/node/pull/57454 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Rev...
[ { "path": "doc/contributing/investigating-native-memory-leaks.md", "patch": "@@ -456,8 +456,8 @@ line number:\n ==18481== 997,000 bytes in 997 blocks are definitely lost in loss record 35 of 35\n ==18481== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)\n >>>>> ==18481== ...
2025-03-14T06:42:54
facebook/react
5d19e1c8d1a6c0b5cd7532d43b707191eaf105b7
d4688dfaafe51a4cb6e3c51fc2330662cb4e2296
Fix: profiling crashes #30661 #28838 (#31024) <!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please m...
[ { "path": "packages/react-devtools-shared/src/devtools/ProfilerStore.js", "patch": "@@ -289,6 +289,10 @@ export default class ProfilerStore extends EventEmitter<{\n };\n \n onProfilingStatus: (isProfiling: boolean) => void = isProfiling => {\n+ if (this._isProfiling === isProfiling) {\n+ return;...
2024-09-23T12:25:44
rust-lang/rust
1b86d31ae236d7e7e1fd2ed46be491fd38af2b17
d9563937fa3b030c5845811113505070109414d2
Fix LegacyKeyValueFormat report from docker build: dist-x86_64
[ { "path": "src/ci/docker/host-x86_64/dist-x86_64-freebsd/Dockerfile", "patch": "@@ -35,10 +35,9 @@ ENV \\\n \n ENV HOSTS=x86_64-unknown-freebsd\n \n-ENV RUST_CONFIGURE_ARGS \\\n- --enable-full-tools \\\n+ENV RUST_CONFIGURE_ARGS=\"--enable-full-tools \\\n --enable-extended \\\n --enable-profiler \...
2026-03-04T00:25:25
electron/electron
44a4328ea8977b6f4b165e47ecaee54c23af7e97
18b1b33adcd921aaa3ffb0cf8d45792a26f4025a
refactor: take a `uint8_t` span in `ValidateIntegrityOrDie()` (#43592) refactor: take a uint8_t span in ValidateIntegrityOrDie() Doing some groundwork for fixing unsafe base::File() APIs: - Change ValidateIntegrityOrDie() to take a span<const uint8_t> arg. We'll need this to migrate asar's base::File API call...
[ { "path": "shell/common/asar/archive.cc", "patch": "@@ -251,9 +251,8 @@ bool Archive::Init() {\n // Currently we only support the sha256 algorithm, we can add support for\n // more below ensure we read them in preference order from most secure to\n // least\n- if (integrity.value().algorithm ...
2024-09-07T01:22:44
golang/go
3cf1aaf8b9c846c44ec8db679495dd5816d1ec30
0ab038af6290c7fb52d4c26949d735692781b3d1
runtime: use futexes with 64-bit time on Linux Linux introduced new syscalls to fix the year 2038 issue. To still be able to use the old ones, the Kconfig option COMPAT_32BIT_TIME would be necessary. Use the new syscall with 64-bit values for futex by default. Define _ENOSYS for detecting if it's not available. Add a...
[ { "path": "src/runtime/defs2_linux.go", "patch": "@@ -48,6 +48,7 @@ const (\n \tEINTR = C.EINTR\n \tEAGAIN = C.EAGAIN\n \tENOMEM = C.ENOMEM\n+\tENOSYS = C.ENOSYS\n \n \tPROT_NONE = C.PROT_NONE\n \tPROT_READ = C.PROT_READ", "additions": 1, "deletions": 0, "language": "Go" }, { "path": ...
2025-09-18T15:43:42
vercel/next.js
e0d612eb7723eff156b8e2f1f9d1bc76c2f9c1bd
ad9013e89361ec17d48b707067e44064597c20ab
Fix build crash with parallel routes and root-level dynamic parameters (#85074) ### What? Fixes a build-time crash that occurs when using parallel routes (`@slot` syntax) combined with root-level dynamic parameters (e.g., `[locale]`) in the App Router. ### Why? When building static paths for routes with both parall...
[ { "path": "packages/next/errors.json", "patch": "@@ -891,5 +891,6 @@\n \"890\": \"Received an underlying cookies object that does not match either `cookies` or `mutableCookies`\",\n \"891\": \"Failed to read build paths file \\\"%s\\\": %s\",\n \"892\": \"Failed to resolve glob pattern \\\"%s\\\": %s\...
2025-10-19T23:27:52
rust-lang/rust
e0637766029752d6d9a2aaf088edbc469b4f66a0
d9563937fa3b030c5845811113505070109414d2
Fix LegacyKeyValueFormat report from docker build: powerpc
[ { "path": "src/ci/docker/host-x86_64/dist-powerpc-linux/Dockerfile", "patch": "@@ -26,5 +26,5 @@ ENV \\\n \n ENV HOSTS=powerpc-unknown-linux-gnu\n \n-ENV RUST_CONFIGURE_ARGS --enable-extended --enable-profiler --disable-docs\n-ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS\n+ENV RUST_CONFIGUR...
2026-03-04T00:00:11
facebook/react
c21ce4a39667c4094208bc35dc86fc9f49fceec6
632f88df11329c9ad66781ddd75b27df6f8effb9
feat: display message if user ended up opening hook script (#31000) In https://github.com/facebook/react/pull/30596 we've moved console patching to the global hook. Generally speaking, the patching happens even before React is loaded on the page. If browser DevTools were opened after when `console.error` or `con...
[ { "path": "packages/react-devtools-extensions/webpack.config.js", "patch": "@@ -154,6 +154,62 @@ module.exports = {\n );\n },\n }),\n+ {\n+ apply(compiler) {\n+ if (__DEV__) {\n+ return;\n+ }\n+\n+ const {RawSource} = compiler.webpack.sources;\n+ ...
2024-09-19T14:44:34
vercel/next.js
0f09c40ac98d71179f974a74fde3797d46f38f11
700fecf2f21220b96f2eb2192af528196784cc3d
Turbopack: Better error for sassOptions.functions as it's unsupported (#85073) ## What? Implements an error for the case where Turbopack is used with sassOptions.functions. Fixes #65241
[ { "path": "docs/01-app/03-api-reference/05-config/01-next-config-js/sassOptions.mdx", "patch": "@@ -43,4 +43,7 @@ const nextConfig = {\n module.exports = nextConfig\n ```\n \n-> **Good to know:** `sassOptions` are not typed outside of `implementation` because Next.js does not maintain the other possible pro...
2025-10-19T21:45:40
electron/electron
fe0d4274e23663e2047cac8f18b3940142ad9cda
cc5aa65cb421ffa0df823cae09a3dacb0485e698
fix: confirm a `v8::Value` is a `v8::Object` before casting it (#43575) fix: confirm a v8::Value is a v8::Object before casting it
[ { "path": "shell/browser/api/message_port.cc", "patch": "@@ -30,12 +30,12 @@ namespace electron {\n \n namespace {\n \n-bool IsValidWrappable(const v8::Local<v8::Value>& obj) {\n- v8::Local<v8::Object> port = v8::Local<v8::Object>::Cast(obj);\n-\n- if (!port->IsObject())\n+bool IsValidWrappable(const v8::...
2024-09-06T16:20:04
golang/go
a58afe44fa3be498e213bafa77455ffdfe5e23e2
3203a5da290753e5c7aceb12f41f06b272356bd0
net: fix testHookCanceledDial race Loading and calling testHookCanceledDial in the function passed to context.AfterFunc is racey, because the function runs in a separate goroutine, and is not synchronized with the test code that restores the original testHookCanceledDial value. We could add a channel and wait for the...
[ { "path": "src/net/fd_unix.go", "patch": "@@ -82,6 +82,9 @@ func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (rsa sysc\n \t\t\tdefer fd.pfd.SetWriteDeadline(noDeadline)\n \t\t}\n \n+\t\t// Load the hook function synchronously to prevent a race\n+\t\t// with test code that restores the ...
2025-09-16T20:25:53
facebook/react
632f88df11329c9ad66781ddd75b27df6f8effb9
d5e955d3c0c1fa2494de0ab33be9cd90c65aff1e
[compiler] Allow ReactElement symbol to be configured when inlining jsx (#30996) Based on https://github.com/facebook/react/pull/30995 ([rendered diff](https://github.com/jackpope/react/compare/inline-jsx-2...jackpope:react:inline-jsx-3?expand=1)) ____ Some apps still use `react.element` symbols. Not only do we...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts", "patch": "@@ -352,8 +352,8 @@ function* runWithEnvironment(\n });\n }\n \n- if (env.config.enableInlineJsxTransform) {\n- inlineJsxTransform(hir);\n+ if (env.config.inlineJsxTransform) {\n+ inlineJsxTransform...
2024-09-19T14:34:24
vercel/next.js
700fecf2f21220b96f2eb2192af528196784cc3d
09772c3aa89d06f7d8c170e1614283f32b8bbbdf
cli: build partial entries --debug-build-paths arg (#85052) Add `--debug-build-paths` CLI option to next build for selective route building. This enables building only specific routes for faster development and debugging. ### Changes - Add `--debug-build-paths=<patterns>` CLI option - Support comma-separated paths...
[ { "path": "packages/next/errors.json", "patch": "@@ -888,5 +888,7 @@\n \"887\": \"`cacheLife()` is only available with the `cacheComponents` config.\",\n \"888\": \"Unknown \\\\`cacheLife()\\\\` profile \\\"%s\\\" is not configured in next.config.js\\\\nmodule.exports = {\\n cacheLife: {\\n \\\"%s\\...
2025-10-19T21:18:03
electron/electron
cc5aa65cb421ffa0df823cae09a3dacb0485e698
25f4691e7864be7feb11df7fc4228480fff13960
fix: delete UvTaskRunner's timers only after they're closed (#43561) * fix: free UvTaskRunner timers only after they are closed * refactor: UvTaskRunner now holds UvHandles
[ { "path": "shell/app/uv_task_runner.cc", "patch": "@@ -2,31 +2,33 @@\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n+#include \"shell/app/uv_task_runner.h\"\n+\n #include <utility>\n \n #include \"base/location.h\"\n #include \"base/time/time.h\"\...
2024-09-06T12:16:56
golang/go
3203a5da290753e5c7aceb12f41f06b272356bd0
8ca209ec3962874ad1c15c22c86293edf428c284
net/http: avoid connCount underflow race Remove a race condition in counting the number of connections per host, which can cause a connCount underflow and a panic. The race occurs when: - A RoundTrip call attempts to use a HTTP/2 roundtripper (pconn.alt != nil) and receives an isNoCachedConn error. The call re...
[ { "path": "src/net/http/transport.go", "patch": "@@ -1382,7 +1382,10 @@ func (w *wantConn) cancel(t *Transport) {\n \tw.done = true\n \tw.mu.Unlock()\n \n-\tif pc != nil {\n+\t// HTTP/2 connections (pc.alt != nil) aren't removed from the idle pool on use,\n+\t// and should not be added back here. If the pco...
2025-09-15T22:18:57
rust-lang/rust
4ff2a24441d9bf9702b3ee2c4805a3439e873420
e492d022858076a414ad42139e05cb43e0d238b6
Fix ICE in `swap_binop()` Make `swap_binop()` a method of `HirEqInterExpr`, and use the proper typeck to check the type of an expression.
[ { "path": "clippy_utils/src/hir_utils.rs", "patch": "@@ -505,7 +505,7 @@ impl HirEqInterExpr<'_, '_, '_> {\n (ExprKind::Block(l, _), ExprKind::Block(r, _)) => self.eq_block(l, r),\n (ExprKind::Binary(l_op, ll, lr), ExprKind::Binary(r_op, rl, rr)) => {\n l_op.node == r...
2026-03-03T21:38:58
nodejs/node
fef180c8a20f680d246d5b109589e6a0370e7e77
2cb1d07e0f6d9456438016bab7db4688ab354fd2
http: coerce content-length to number PR-URL: https://github.com/nodejs/node/pull/57458 Fixes: https://github.com/nodejs/node/issues/57456 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina...
[ { "path": "lib/_http_outgoing.js", "patch": "@@ -650,7 +650,7 @@ function matchHeader(self, state, field, value) {\n break;\n case 'content-length':\n state.contLen = true;\n- self._contentLength = value;\n+ self._contentLength = +value;\n self._removedContLen = false;\n ...
2025-03-16T12:28:49
facebook/react
3cac0875dcd60b8db099d8fa671c5ad1f8f0ef23
b521ef8a2aaff61154e59f6d0d3791ee4dbe6395
refactor[react-devtools]: move console patching to global hook (#30596) Stacked on https://github.com/facebook/react/pull/30566 and whats under it. See [this commit](https://github.com/facebook/react/pull/30596/commits/374fd737e4b0b7028afb765838db7c0e22def865). It is mostly copying code from one place to another ...
[ { "path": "packages/react-devtools-core/src/backend.js", "patch": "@@ -11,7 +11,6 @@ import Agent from 'react-devtools-shared/src/backend/agent';\n import Bridge from 'react-devtools-shared/src/bridge';\n import {installHook} from 'react-devtools-shared/src/hook';\n import {initBackend} from 'react-devtools...
2024-09-18T17:12:18
vercel/next.js
fe1bcafd10b593af65af60336a4bb30ea7e5f437
6957fa4b573b51042140b0acfc49c9458447c98d
Turbopack: Implement next/font/local declarations option (#85051) ## What? Fixes #82822. Implements `declarations` which was missing in the implementation of `next/font/local`
[ { "path": "crates/next-core/src/next_font/local/options.rs", "patch": "@@ -9,6 +9,7 @@ use super::request::{\n AdjustFontFallback, NextFontLocalRequest, NextFontLocalRequestArguments, SrcDescriptor,\n SrcRequest,\n };\n+use crate::next_font::local::request::NextFontLocalDeclaration;\n \n /// A norma...
2025-10-19T02:28:32
rust-lang/rust
e8a28e78a947c2233abbc47ec00bcd8513df7239
d2218f5f5ca3f502772ec4cb69fc2ee44e096512
Remove `tls::with_related_context`. This function gets the current `ImplicitCtxt` and checks that its `tcx` matches the passed-in `tcx`. It's an extra bit of sanity checking: when you already have a `tcx`, and you need access to the non-`tcx` parts of `ImplicitCtxt`, check that your `tcx` matches the one in `ImplicitC...
[ { "path": "compiler/rustc_middle/src/ty/context/tls.rs", "patch": "@@ -1,5 +1,3 @@\n-use std::{mem, ptr};\n-\n use rustc_data_structures::sync;\n \n use super::{GlobalCtxt, TyCtxt};\n@@ -89,29 +87,6 @@ where\n with_context_opt(|opt_context| f(opt_context.expect(\"no ImplicitCtxt stored in tls\")))\n }\n...
2026-03-02T22:42:13
golang/go
8ca209ec3962874ad1c15c22c86293edf428c284
3032894e045fd3628198061a44c56d4a1fb73d93
context: don't return a non-nil from Err before Done is closed The Context.Err documentation states that it returns nil if the context's done channel is not closed. Fix a race condition introduced by CL 653795 where Err could return a non-nil error slightly before the Done channel is closed. No impact on Err performa...
[ { "path": "src/context/context.go", "patch": "@@ -463,6 +463,8 @@ func (c *cancelCtx) Done() <-chan struct{} {\n func (c *cancelCtx) Err() error {\n \t// An atomic load is ~5x faster than a mutex, which can matter in tight loops.\n \tif err := c.err.Load(); err != nil {\n+\t\t// Ensure the done channel has ...
2025-09-18T18:15:47
electron/electron
25f4691e7864be7feb11df7fc4228480fff13960
3fde574db1466772d7883303efada275eeb0ed48
fix: ensure version of `xdg-dialog-portal` with `defaultPath` support (#43570) fix: ensure version of xdg-dialog-portal with defaultPath support Closes https://github.com/electron/electron/issues/43310
[ { "path": "patches/chromium/feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch", "patch": "@@ -199,10 +199,21 @@ index 58985ce62dc569256bad5e94de9c0d125fc470d0..33436784b691c860d58f8b4dfcc6718e\n &SelectFileDialogLinuxKde::OnSelectSingleFolderDialogResponse, this,\n pa...
2024-09-06T09:12:16
nodejs/node
2cb1d07e0f6d9456438016bab7db4688ab354fd2
ee0a006a2007e19e256dd8b80cdb39850951281b
deps: V8: cherry-pick c172ffc5bf54 Original commit message: Compact retained maps array more often When we add maps to the retained maps array, we compacted the array if it's full. But, since we are now adding maps in a batch, it's unlikely to meet the condition. Thus, update the condition to check w...
[ { "path": "common.gypi", "patch": "@@ -38,7 +38,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.11',\n+ 'v8_embedder_string': '-node.12',\n \n ##### V8 defaults for Node.js #####\n...
2025-03-06T15:02:23
facebook/react
5e83d9ab3b3f88853591dff43cd70ee4e5c90c5d
5dcb009760160c085496e943f76090d98528f971
feat[react-devtools]: add settings to global hook object (#30564) Right now we are patching console 2 times: when hook is installed (before page is loaded) and when backend is connected. Because of this, even if user had `appendComponentStack` setting enabled, all emitted error and warning logs are not going to hav...
[ { "path": "packages/react-devtools-shared/src/backend/agent.js", "patch": "@@ -37,11 +37,9 @@ import type {\n RendererID,\n RendererInterface,\n ConsolePatchSettings,\n+ DevToolsHookSettings,\n } from './types';\n-import type {\n- ComponentFilter,\n- BrowserTheme,\n-} from 'react-devtools-shared/sr...
2024-09-18T16:37:00
vercel/next.js
43fd4bc19b73e5f4fb62d07f67318b7168b6e7e9
a83f3c061db42c13cd106344b1717c0e0d8cea0d
Turbopack: Remove unneeded warning for telemetry (#85039) ### What? * The information is only needed for telementry, we should not error when a module doesn't match the regexp. * Fix the regex to support json too. (it was missing a layer attribute)
[ { "path": "packages/next/src/client/dev/hot-reloader/turbopack-hot-reloader-common.ts", "patch": "@@ -142,11 +142,8 @@ function extractModulesFromTurbopackMessage(\n \n for (const mergedUpdate of update.instruction.merged) {\n for (const name of Object.keys(mergedUpdate.entries)) {\n- const...
2025-10-19T00:45:29
rust-lang/rust
014344b0c3f1a55deb3c5c1d63f95edd7d49f173
ddd36bd57051f796850345b76c17e9402e28a9e4
update panicking() docs for panic=abort rephrasing and grammar
[ { "path": "library/std/src/thread/functions.rs", "patch": "@@ -168,7 +168,11 @@ pub fn yield_now() {\n imp::yield_now()\n }\n \n-/// Determines whether the current thread is unwinding because of panic.\n+/// Determines whether the current thread is panicking.\n+///\n+/// This returns `true` both when th...
2026-03-02T15:26:30
golang/go
d9751166a6872e05afee5087cee2f360344bd2f9
4eb5c6e07b56b75033d98941c8fadd3304ee4965
[dev.simd] cmd/compile: handle rematerialized op for incompatible reg constraint This CL fixes an issue raised by contributor dominikh@. Change-Id: I941b330a6ba6f6c120c69951ddd24933f2f0b3ec Reviewed-on: https://go-review.googlesource.com/c/go/+/704056 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.i...
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -2576,7 +2576,26 @@ func (e *edgeState) processDest(loc Location, vid ID, splice **Value, pos src.XP\n \t\t\te.s.f.Fatalf(\"can't find source for %s->%s: %s\\n\", e.p, e.b, v.LongString())\n \t\t}\n \t\tif dstReg {\n-\t\t\tx = v.copyInto(e.p...
2025-09-16T03:27:41
electron/electron
3fde574db1466772d7883303efada275eeb0ed48
eff862b0839473cb34a6be3a62d89826a3b57e25
fix: -Wunsafe-buffer-usage warnings in url-loader (#43564) Use v8::ArrayBufferView::CopyContents() instead of doing the pointer math + memcpy() ourselves. This not only solves the buffer warnings, but may also avoid some additional overhead: > Copy the contents of the ArrayBufferView's buffer to an > embedder de...
[ { "path": "shell/common/api/electron_api_url_loader.cc", "patch": "@@ -11,6 +11,7 @@\n #include <utility>\n #include <vector>\n \n+#include \"base/check_op.h\"\n #include \"base/containers/fixed_flat_map.h\"\n #include \"base/memory/raw_ptr.h\"\n #include \"base/no_destructor.h\"\n@@ -131,12 +132,21 @@ name...
2024-09-06T01:22:03
nodejs/node
8a5a849a44d5969741ae11fe72e73a343a4d0220
d5ac3e3803f5e0038c8b34b889bd7adb29b46f7d
fs: apply exclude function to root path In at least some situations, the root path was being added to the results of globbing even if it matched the optional exclude function. In the relevant test file, a variable was renamed for consistency. (There was a patterns and pattern2, rather than patterns2.) The test case i...
[ { "path": "lib/internal/fs/glob.js", "patch": "@@ -9,6 +9,7 @@ const {\n ArrayPrototypePop,\n ArrayPrototypePush,\n ArrayPrototypeSome,\n+ Promise,\n PromisePrototypeThen,\n SafeMap,\n SafeSet,\n@@ -125,7 +126,8 @@ class Cache {\n }\n statSync(path) {\n const cached = this.#statsCache.g...
2025-03-16T05:26:54
facebook/react
8dfbd16fce9077ab4e5fe85a7b86fa7c97a5ae04
e1c20902c39d1dfe2649185622f2f21b526e2be2
[Fiber] Color Performance Track Entries by Self Time (#30984) Stacked on #30983. This colors each component entry by its self time from light to dark depending on how long it took. If it took longer than a cut off we color it red (the error color). <img width="435" alt="Screenshot 2024-09-16 at 11 48 15 PM" s...
[ { "path": "packages/react-reconciler/src/ReactFiberCommitWork.js", "patch": "@@ -109,6 +109,7 @@ import {\n popComponentEffectStart,\n componentEffectStartTime,\n componentEffectEndTime,\n+ componentEffectDuration,\n } from './ReactProfilerTimer';\n import {\n logComponentRender,\n@@ -608,6 +609,7 ...
2024-09-17T20:36:10
vercel/next.js
28a7e8b33be3ca54aae715b8c011dde29b6ae7c4
49fcbd93f2c579d79f2005dccf82a93686d6919a
[ci]: increase number of runners for test jobs (#85049) <!-- 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 Contribu...
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -240,7 +240,7 @@ jobs:\n exclude:\n # Excluding React 18 tests unless on `canary` branch until budget is approved.\n - react: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.nam...
2025-10-18T23:04:10
rust-lang/rust
ff3d308966724fb33303fd9a474027297a43f832
52b4de34ec837c09e0ec4c1ce9f00ce8e8b032f8
Eliminate `Representability::Infinite`. This variant was a fallback value used to continue analysis after a `Representability` error, but it's no longer needed thanks to the previous commit. This means `Representability` can now be reduced to a unit type that exists just so `FromCycleError` can exist for the `represen...
[ { "path": "compiler/rustc_hir_analysis/src/check/wfcheck.rs", "patch": "@@ -997,7 +997,7 @@ fn check_type_defn<'tcx>(\n item: &hir::Item<'tcx>,\n all_sized: bool,\n ) -> Result<(), ErrorGuaranteed> {\n- let _ = tcx.representability(item.owner_id.def_id);\n+ let _ = tcx.check_representability(i...
2026-02-27T06:38:59
golang/go
443b7aeddb82d90345b8e7c8a4ef7c145dac7ce4
bdd30e25caa0b69e335ba1f1f48566924850fa4b
[dev.simd] cmd/compile, simd/_gen: make rewrite rules consistent on CPU Features The previous CL left a bug in the xed parser so that the generator can generate rules rewriting an AVX instruction to AVX512 instruction. This CL fixes that. Change-Id: I0df7e7dc6c936ce7add24a757ce7f44a15917fef Reviewed-on: https://go-r...
[ { "path": "src/cmd/compile/internal/amd64/simdssa.go", "patch": "@@ -1397,110 +1397,50 @@ func ssaGenSIMDValue(s *ssagen.State, v *ssa.Value) bool {\n \t\tssa.OpAMD64VSQRTPDMasked512load:\n \t\tp = simdVkvload(s, v)\n \n-\tcase ssa.OpAMD64VADDPS128load,\n-\t\tssa.OpAMD64VADDPS256load,\n-\t\tssa.OpAMD64VADDP...
2025-09-12T18:45:39
electron/electron
69df09dc90e990a6282992b1d25ac694a0187dc8
6aae1264ddf816731a80733c4d39c800757754c3
fix: Launch apps with XDG_ACTIVATION_TOKEN in ozone/wayland (#43480) * fix: Launch apps with XDG_ACTIVATION_TOKEN in ozone/wayland Ensure apps are launched with the activation token received from xdg_activation_v1 protocol. * add focus_launched_process option
[ { "path": "shell/common/platform_util_linux.cc", "patch": "@@ -23,6 +23,7 @@\n #include \"base/posix/eintr_wrapper.h\"\n #include \"base/process/kill.h\"\n #include \"base/process/launch.h\"\n+#include \"base/run_loop.h\"\n #include \"base/strings/escape.h\"\n #include \"base/strings/string_util.h\"\n #incl...
2024-09-05T18:07:10
nodejs/node
26c4851821aa1415a6f4b2373595f09a9a5877c7
63e3cc7e82a645b0763174f306bfe589164ce7d6
build: fix update-wpt workflow PR-URL: https://github.com/nodejs/node/pull/57468 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
[ { "path": ".github/workflows/update-wpt.yml", "patch": "@@ -70,7 +70,11 @@ jobs:\n - name: Open or update PR for the subsystem update\n uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5\n with:\n- branch: actions/update-wpt-${{ matrix.sub...
2025-03-15T21:50:33
vercel/next.js
e46d8bef70ff2ecc7f7b0f558f9fd0c8cb3c68d4
0295842b7b0047af94f569f50269983e91a27b95
Turbopack: make tracing warning not fail build (#85032) It called "warning", but it had severity error.
[ { "path": "turbopack/crates/turbopack-ecmascript/src/references/raw.rs", "patch": "@@ -304,7 +304,7 @@ impl Issue for TooManyMatchesWarning {\n }\n \n fn severity(&self) -> IssueSeverity {\n- IssueSeverity::Error\n+ IssueSeverity::Warning\n }\n \n #[turbo_tasks::function]", ...
2025-10-18T20:54:27
rust-lang/rust
52b4de34ec837c09e0ec4c1ce9f00ce8e8b032f8
d2218f5f5ca3f502772ec4cb69fc2ee44e096512
Abort after printing infinite type errors. Currently, `Representability::from_cycle_error` prints an "infinite size" error and then returns `Representability::Infinite`, which lets analysis continue. This commit changes it so it just aborts after printing the error. This has two benefits. First, the error messages ar...
[ { "path": "compiler/rustc_query_impl/src/from_cycle_error.rs", "patch": "@@ -117,8 +117,10 @@ impl<'tcx> FromCycleError<'tcx> for Representability {\n representable_ids.insert(def_id);\n }\n }\n+ // We used to continue here, but the cycle error printed next is actu...
2026-02-27T06:03:27
golang/go
78ef487a6f936a39e9d4ebf66ac421bb1244a7a9
77aac7bb75edc222dd7b350e8b76c20c79da5f43
cmd/compile: fix the issue of shift amount exceeding the valid range Fixes #75479 Change-Id: I362d3e49090e94f91a840dd5a475978b59222a00 Reviewed-on: https://go-review.googlesource.com/c/go/+/704135 Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.g...
[ { "path": "src/cmd/compile/internal/ssa/_gen/LOONG64.rules", "patch": "@@ -717,7 +717,8 @@\n (SRLVconst [rc] (MOVBUreg x)) && rc >= 8 => (MOVVconst [0])\n \n // (x + x) << c -> x << c+1\n-((SLLV|SLL)const [c] (ADDV x x)) => ((SLLV|SLL)const [c+1] x)\n+((SLLV|SLL)const <t> [c] (ADDV x x)) && c < t.Size() * 8...
2025-09-16T07:27:42
nodejs/node
2affc3ada7a84214611cace9a5d0c48775c53d5f
e162783843cf06505ba44ef0a1a18b5524210fe5
doc: fix typo in `url.md` "objg" -> "obj" in `URLPattern` constructor documentation. Fixes: https://github.com/nodejs/node/issues/57464 PR-URL: https://github.com/nodejs/node/pull/57467 Co-authored-by: Lawlight <lawlight02@protonmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Daeyeon Jeon...
[ { "path": "doc/api/url.md", "patch": "@@ -767,7 +767,7 @@ case-insensitive matching if set to true.\n \n The constructor can throw a `TypeError` to indicate parsing failure.\n \n-#### `new URLPattern(objg[, baseURL][, options])`\n+#### `new URLPattern(obj[, baseURL][, options])`\n \n * `obj` {Object} An inp...
2025-03-15T09:24:20
electron/electron
73d480d40171b101e37ad04d7195893f01c72052
2d868ecb8d0baecdda4fb2f80a0f3ef58690fb6c
build: fix telemetry error when using autoninja (#43563)
[ { "path": "appveyor-woa.yml", "patch": "@@ -95,6 +95,8 @@ for:\n - git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git\n - ps: New-Item -Name depot_tools\\.disable_auto_update -ItemType File\n - depot_tools\\bootstrap\\win_tools.bat\n+ - ps: |\n+ ...
2024-09-05T08:08:27
vercel/next.js
21cb611d24864cdb192d6ec63163faccdbee9907
6d9caf3e90be198e223ab2c39e4e0141d14faee7
Turbopack: fix race condition when adding dependencies (#84946) ### What? There is a race condition with the way we add the dependency backedges. We add the "dependent" edge first and in a separate lock the "dependency" edge. But if an invalidation happens just between these locks it do not invalidate the task as it'...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/mod.rs", "patch": "@@ -467,7 +467,19 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {\n self.assert_not_persistent_calling_transient(reader, task_id, /* cell_id */ None);\n \n let mut ctx = self.execute_context(turbo_tasks);\n...
2025-10-18T16:03:20
golang/go
465b85eb760bfdb114f6b6ebccf374aba3977929
909704b85e64b156f81e78bcfd1fbd9b032c089a
runtime: fix CheckScavengedBitsCleared with randomized heap base We cannot easily determine the base address of the arena we added the random padding pages to, which can cause confusing TestScavengedBitsCleared failures when the arena we padded does not have the lowest address of all of the arenas. Instead of attempt...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -1122,8 +1122,6 @@ func CheckScavengedBitsCleared(mismatches []BitsMismatch) (n int, ok bool) {\n \t\t// Lock so that we can safely access the bitmap.\n \t\tlock(&mheap_.lock)\n \n-\t\theapBase := mheap_.pages.inUse.ranges[0].base.addr()\n-\t\tsecondArena...
2025-09-17T21:04:56
nodejs/node
3cf14f83f8599dea881072a28c1f9445b72a78bb
72aa2ea8416e7790ac0ae586584b7a2f10f3f8f3
doc: fix typo in sqlite.md PR-URL: https://github.com/nodejs/node/pull/57473 Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/sqlite.md", "patch": "@@ -268,7 +268,7 @@ added:\n applying the changeset is aborted and the database is rolled back.\n \n **Default**: A function that returns `SQLITE_CHANGESET_ABORT`.\n-* Returns: {boolean} Whether the changeset was applied succesfully without being aborted.\n+*...
2025-03-14T23:18:37
electron/electron
94f2722fa38a6638bf95cdd81fc03adf097e1ad6
054cbcd6eb2885e91a61e491da5b38e1a5d25855
build: don't run symbol generation on PS (#43554) fix: don't run symbol generation on PS
[ { "path": "appveyor-woa.yml", "patch": "@@ -174,8 +174,8 @@ for:\n if ($env:GN_CONFIG -eq 'release') {\n # Needed for msdia140.dll on 64-bit windows\n $env:Path += \";$pwd\\third_party\\llvm-build\\Release+Asserts\\bin\"\n- autoninja -C out/Default electron:elect...
2024-09-04T16:18:57
vercel/next.js
6d9caf3e90be198e223ab2c39e4e0141d14faee7
2f8b1ece6d87e8d476220da9c5e7d0b46427e2f4
fix: incorrect canonicalUrl set when using output: export (#85019) After the changes in https://github.com/vercel/next.js/commit/5ccc9078e094215e6c891c38a31fb94cda03456e, when in `output: 'export'` mode, the `canonicalUrl` value was getting corrupted to be set to one of the URLs of the RSC responses (eg `/another.txt`...
[ { "path": "packages/next/src/client/components/router-reducer/fetch-server-response.ts", "patch": "@@ -158,6 +158,10 @@ export async function fetchServerResponse(\n headers[NEXT_URL] = nextUrl\n }\n \n+ // In static export mode, we need to modify the URL to request the .txt file,\n+ // but we should...
2025-10-18T06:43:02
golang/go
909704b85e64b156f81e78bcfd1fbd9b032c089a
3db5979e8cc4cc86c4fefb4cecc5a2041b32404d
encoding/json/v2: fix typo in comment Use the correct spelling of the Gregorian calendar. Change-Id: I7e1d2974d38d5d3ded64f98852ee726c7b84be22 Reviewed-on: https://go-review.googlesource.com/c/go/+/704595 Reviewed-by: Joseph Tsai <joetsai@digital-static.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-acc...
[ { "path": "src/encoding/json/v2/arshal_time.go", "patch": "@@ -465,7 +465,7 @@ func appendDurationISO8601(b []byte, d time.Duration) []byte {\n }\n \n // daysPerYear is the exact average number of days in a year according to\n-// the Gregorian calender, which has an extra day each year that is\n+// the Greg...
2025-09-17T09:55:02
nodejs/node
1ba47324e06db6f348900cc38732755b0e70f0d9
b71267e20cd48f419815de92f2dd5a79984f2aa9
buffer: make `buflen` in integer range PR-URL: https://github.com/nodejs/node/pull/51821 Fixes: https://github.com/nodejs/node/issues/51817 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/string_bytes.cc", "patch": "@@ -198,6 +198,13 @@ MaybeLocal<Value> ExternTwoByteString::NewSimpleFromCopy(Isolate* isolate,\n \n } // anonymous namespace\n \n+static size_t keep_buflen_in_range(size_t len) {\n+ if (len > static_cast<size_t>(std::numeric_limits<int>::max())) {\n+ return s...
2024-02-21T09:37:06
electron/electron
054cbcd6eb2885e91a61e491da5b38e1a5d25855
4c83016cf3637001d7a57450a4c49c09de8ce73d
fix: don't use deprecate-soon class v8::String::Value (#43518) * fix: remove use of deprecated v8::String::Value Upstream marked v8::String::Value as `V8_DEPRECATE_SOON` last month, so let's stop using it. The replacement code mostly does the same as v8::String::Value(); but since our test only cares about the...
[ { "path": "shell/common/gin_converters/file_path_converter.h", "patch": "@@ -23,9 +23,8 @@ struct Converter<base::FilePath> {\n if (val->IsNull())\n return true;\n \n- v8::String::Value str(isolate, val);\n- if (str.length() == 0) {\n- *out = base::FilePath();\n+ if (val->IsString() ...
2024-09-04T13:56:14
facebook/react
4549be0f846e7df5a4eaabf06369d93bd120271e
7b56a542987890f618eeda4e4906fbf1f1df2213
[Fiber] Optimize enableProfilerCommitHooks by Collecting Elapsed Effect Duration in Module Scope (#30981) Stacked on #30979. The problem with the previous approach is that it recursively walked the tree up to propagate the resulting time from recording a layout effect. Instead, we keep a running count of the ef...
[ { "path": "packages/react-reconciler/src/ReactFiberBeginWork.js", "patch": "@@ -1033,8 +1033,8 @@ function updateProfiler(\n // Reset effect durations for the next eventual effect phase.\n // These are reset during render to allow the DevTools commit hook a chance to read them,\n const sta...
2024-09-17T19:12:16
vercel/next.js
d917d2e45fe952bba3aa235d1bdb047d863e1782
b4080311f4f806c26c71d99fa45687b84777d424
[turbopack] Prevent accidental access to `.next` (#84714) Certain patterns in source code cause turbopack to scan the project directories for resources. This can go wrong when one of those patterns can traverse into .next (oroborous!). There is no usecase for turbopack to read files from the distDir during analysis ...
[ { "path": "Cargo.lock", "patch": "@@ -9525,6 +9525,7 @@ dependencies = [\n \"turbo-tasks-env\",\n \"turbo-tasks-fs\",\n \"turbo-tasks-malloc\",\n+ \"turbo-unix-path\",\n \"turbopack\",\n \"turbopack-bench\",\n \"turbopack-browser\",", "additions": 1, "deletions": 0, "language": "Unknown" ...
2025-10-17T23:18:16
golang/go
6a8dbbecbfc32650841e737271384ffaba433292
bffe7ad9f11b874429d6c2561b0383e931502164
path/filepath: fix EvalSymlinks to return ENOTDIR on plan9 CL 155597 added a test to check EvalSymlinks returns ENOTDIR for existing path which ends with a slash. CL 404954 added a separate evalSymlinks implementation for plan9, which has a kludge to ensure the ENOTDIR is returned in the above case. Apparently the a...
[ { "path": "src/path/filepath/symlink_plan9.go", "patch": "@@ -16,8 +16,8 @@ func evalSymlinks(path string) (string, error) {\n \t\t// Check validity of path\n \t\t_, err := os.Lstat(path)\n \t\tif err != nil {\n-\t\t\t// Return the same error value as on other operating systems\n-\t\t\tif strings.HasSuffix(...
2025-09-03T19:48:44
electron/electron
53dcda1fe942f5bbfa2abc660b92574ff9e0c019
635d421123b996086f459ec3c6f97513e2e358cf
fix: Use XDG_ACTIVATION_TOKEN in wayland when launched by other app (#43481) When an electron app is launched by another app ensure that the XDG_ACTIVATION_TOKEN env var is read and used for activation using xdg_activation_v1 protocol.
[ { "path": "shell/app/electron_main_delegate.cc", "patch": "@@ -406,6 +406,11 @@ std::optional<int> ElectronMainDelegate::PreBrowserMain() {\n content::InitializeMojoCore();\n #if BUILDFLAG(IS_MAC)\n RegisterAtomCrApp();\n+#endif\n+#if BUILDFLAG(IS_LINUX)\n+ // Set the global activation token sent as an...
2024-09-04T10:54:00
facebook/react
1e68a0a3aed9975d2e302ccf1dff0861bf2be706
c8a7cab13f9d496d4b178ba5e95b030ca854aa20
[compiler] Improve handling of refs Summary: This change expands our handling of refs to build an understanding of nested refs within objects and functions that may return refs. It builds a special-purpose type system within the ref analysis that gives a very lightweight structural type to objects and array expression...
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccesInRender.ts", "patch": "@@ -8,9 +8,11 @@\n import {CompilerError, ErrorSeverity} from '../CompilerError';\n import {\n HIRFunction,\n+ Identifier,\n IdentifierId,\n Place,\n SourceLocation,\n+ getHookKindForT...
2024-09-16T17:53:32
nodejs/node
b71267e20cd48f419815de92f2dd5a79984f2aa9
c0788f0e8608233a61b146646a01f1a9e6dfa283
src: cleanup crypto more * Use ncrypto APIs where appropriate * Remove obsolete no-longer used functions * Improve error handling a bit * move secure heap handling to ncrypto To simplify handling of boringssl/openssl, move secure heap impl to ncrypto. Overall the reduces the complexity of the code in crypto_util...
[ { "path": "deps/ncrypto/ncrypto.cc", "patch": "@@ -111,20 +111,64 @@ DataPointer DataPointer::Alloc(size_t len) {\n #endif\n }\n \n+DataPointer DataPointer::SecureAlloc(size_t len) {\n+#ifndef OPENSSL_IS_BORINGSSL\n+ auto ptr = OPENSSL_secure_zalloc(len);\n+ if (ptr == nullptr) return {};\n+ return DataP...
2025-03-04T22:17:59
vercel/next.js
b4080311f4f806c26c71d99fa45687b84777d424
bbfcbe9611e1b1edacb266140bc992c3b527ea4a
[Breaking] Rename instrumentation onRequestError `context.routeType` from `middleware` to `proxy` (#85006) Follow up on https://github.com/vercel/next.js/pull/84710, `instrumentation` docs had `onRequestError` function's param `context.routeType` has value of `'middleware'`. As it's a user-facing value, update it to `...
[ { "path": "docs/01-app/03-api-reference/03-file-conventions/instrumentation.mdx", "patch": "@@ -93,7 +93,7 @@ export function onRequestError(\n context: {\n routerKind: 'Pages Router' | 'App Router' // the router type\n routePath: string // the route file path, e.g. /app/blog/[dynamic]\n- route...
2025-10-17T21:31:24
golang/go
594deca981f0dd4a9351569e7c3e6999838148e3
9df1a289ac64451042f6f14b7229ae5cd2217352
cmd/link: simplify PE relocations mapping The code for mapping Windows PE relocations to Go relocations was difficult to follow and contains some duplicated code. Also, it was mapping IMAGE_REL_AMD64_ADDR32 to R_PCREL instead of R_ADDR. This CL commit simplifies the code and fixes the mapping. I haven't been able to ...
[ { "path": "src/cmd/link/internal/loadpe/ldpe.go", "patch": "@@ -17,6 +17,7 @@ import (\n \t\"errors\"\n \t\"fmt\"\n \t\"io\"\n+\t\"strconv\"\n \t\"strings\"\n )\n \n@@ -348,102 +349,65 @@ func Load(l *loader.Loader, arch *sys.Arch, localSymVersion int, input *bio.Read\n \t\t\t\treturn nil, fmt.Errorf(\"relo...
2025-05-13T09:24:30
facebook/react
c8a7cab13f9d496d4b178ba5e95b030ca854aa20
26855e4680dedb21f2c73a069ed691822a242db1
[compiler] Fix issue where second argument of all functions was considered to be a ref ghstack-source-id: 1817f3b816ab5ec013a3b1a6c8a8373a30e0b3a0 Pull Request resolved: https://github.com/facebook/react/pull/30912
[ { "path": "compiler/packages/babel-plugin-react-compiler/src/TypeInference/InferTypes.ts", "patch": "@@ -107,7 +107,7 @@ function equation(left: Type, right: Type): TypeEquation {\n function* generate(\n func: HIRFunction,\n ): Generator<TypeEquation, void, undefined> {\n- if (func.env.fnType === 'Compon...
2024-09-16T17:53:29
electron/electron
635d421123b996086f459ec3c6f97513e2e358cf
b42c0ae00dd4c67c8a454e89662266a466d6b46e
fix: systemMediaPermissionDenied should not check camera perms when the request is asking for screen share (#43517) * fix: systemMediaPermissionDenied: should check for screen capture perms instead of camera * Revert "fix: systemMediaPermissionDenied: should check for screen capture perms instead of camera" This...
[ { "path": "shell/browser/web_contents_permission_helper.cc", "patch": "@@ -57,22 +57,23 @@ namespace {\n \n #if BUILDFLAG(IS_MAC)\n bool SystemMediaPermissionDenied(const content::MediaStreamRequest& request) {\n- if (request.audio_type != MediaStreamType::NO_SERVICE) {\n+ if (request.audio_type == MediaS...
2024-09-04T08:56:26
nodejs/node
c0788f0e8608233a61b146646a01f1a9e6dfa283
c8b9d38fd862b552148bd3b051ef1e52b42c21f8
lib: make getCallSites sourceMap option truly optional When calling the `util.getCallSites(...)` API, if the `options` argument is omitted, then the `options.sourceMap` option is defaulted to false. However, if any empty `options` is passed, it would throw an error is `sourceMap` was not explicitly given. This relaxes...
[ { "path": "lib/util.js", "patch": "@@ -388,7 +388,9 @@ function getCallSites(frameCount = 10, options) {\n // If frameCount is an object, it is the options object\n options = frameCount;\n validateObject(options, 'options');\n- validateBoolean(options.sourceMap, 'options.sourceMap');\...
2025-03-09T15:40:23
vercel/next.js
bae8bf460672938c20c93cad96c6c8eab0609316
b3bc0d8c1a774204085e8e8e1f6ceec1ecb909f1
[Cache Components] fix docs for cacheLife("seconds") (#85004) Looks like this was missed in #82332, when we bumped the staletime to 30s.
[ { "path": "docs/01-app/03-api-reference/04-functions/cacheLife.mdx", "patch": "@@ -70,15 +70,15 @@ Next.js provides a set of named cache profiles modeled on various timescales. If\n \n However, we recommend always adding a cache profile when using the `use cache` directive to explicitly define caching behav...
2025-10-17T21:09:58
rust-lang/rust
bd538f90fe127a8896935c03d6be8a336edc0780
924748717bfc90d3a34bed407d75eb6c988f9fc9
Remove unused `rustc_errors::LintDiagnosticBox` trait
[ { "path": "compiler/rustc_errors/src/diagnostic.rs", "patch": "@@ -137,16 +137,6 @@ pub trait LintDiagnostic<'a, G: EmissionGuarantee> {\n fn decorate_lint<'b>(self, diag: &'b mut Diag<'a, G>);\n }\n \n-pub trait LintDiagnosticBox<'a, G: EmissionGuarantee> {\n- fn decorate_lint_box<'b>(self: Box<Self...
2026-03-03T16:21:41
golang/go
cbdad4fc3cecbdfcee4e9d30df04916a151bfc16
c2d85eb999fcd428a1cd71ed93805cbde0c16eaa
cmd/go: check pattern for utf8 validity before call regexp.MustCompile Do not panic if the package path or the package version contains invalid UTF-8 characters. Fixes #75251 Change-Id: Ib787e74277cf814253857b911d378ea5e53d8824 Reviewed-on: https://go-review.googlesource.com/c/go/+/700815 Reviewed-by: Michael Matloo...
[ { "path": "src/cmd/go/internal/modget/query.go", "patch": "@@ -10,6 +10,7 @@ import (\n \t\"regexp\"\n \t\"strings\"\n \t\"sync\"\n+\t\"unicode/utf8\"\n \n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/gover\"\n@@ -285,6 +286,11 @@ func reportError(q *query, err error) {\n \t// TODO(bcmills): Use errors....
2025-09-04T01:17:26
facebook/react
26855e4680dedb21f2c73a069ed691822a242db1
9f4e4611ead28d34f7f598c9bd12424cf68f5781
[react-native] Fix misleading crash when view config is not found (#30970) ## Summary When a view config can not be found, it currently errors with `TypeError: Cannot read property 'bubblingEventTypes' of null`. Instead invariant at the correct location and prevent further processing of the null viewConfig to im...
[ { "path": "scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js", "patch": "@@ -93,8 +93,8 @@ export function register(name: string, callback: () => ViewConfig): string {\n * This configuration will be lazy-loaded from UIManager.\n */\n export function get(name: string): ViewConfig {\n- let...
2024-09-16T16:51:00
nodejs/node
1189a26f65ad620adf3e19c69cc0e3cebfb2bd31
d55f11b94324f8f27f667ff761a6e9609fd9bd3f
src: cleanup aliased_buffer.h - Mark `AliasedBufferBase` as `final` as nothing derives from it. - Simplify scalar check with `std::is_scalar_v`. - Remove redundant `const`-qualifiers from function declaration parameters. - Add `const`-qualifiers to function definition parameters where appropriate. - Remove redundant `...
[ { "path": "src/aliased_buffer.h", "patch": "@@ -22,19 +22,19 @@ typedef size_t AliasedBufferIndex;\n *\n * While this technique is computationally efficient, it is effectively a\n * write to JS program state w/out going through the standard\n- * (monitored) API. Thus any VM capabilities to detect the mod...
2025-03-13T12:32:28
electron/electron
b42c0ae00dd4c67c8a454e89662266a466d6b46e
90ba2df4fa43a3e6108b84b0e5e745a73acf3855
fix: -Wunsafe-buffer-usage warnings in IsUrlArg() (#43477) * fix: -Wunsafe-buffer-usage warnings in IsUrlArg() * chore: improve code comments for CheckCommandLineArguments() * chore: reduce diffs from main * refactor: CheckCommandLineArguments takes a StringVector arg Fixes another buffer warning!
[ { "path": "shell/app/command_line_args.cc", "patch": "@@ -4,53 +4,52 @@\n \n #include \"shell/app/command_line_args.h\"\n \n+#include <algorithm>\n #include <locale>\n \n #include \"sandbox/policy/switches.h\"\n #include \"shell/common/options_switches.h\"\n \n namespace {\n \n-bool IsUrlArg(const base::Com...
2024-09-04T01:51:39
vercel/next.js
b3bc0d8c1a774204085e8e8e1f6ceec1ecb909f1
c56789599e706b64be3242f782236de222a9df29
Show relative path from cwd for Proxy Middleware file conflict error (#84993) Show the relative path from cwd when a Proxy Middleware file conflict error occurs to better inform the users. Also, good for double-checking the detection logic. Closes NEXT-4740
[ { "path": "packages/next/errors.json", "patch": "@@ -881,5 +881,6 @@\n \"880\": \"Config options `experimental.proxyPrefetch` and `experimental.middlewarePrefetch` cannot be set at the same time. Please use `experimental.proxyPrefetch` instead.\",\n \"881\": \"Invalid render stage: %s\",\n \"882\": \"...
2025-10-17T20:45:33