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
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
electron/electron
309d5dade36c391183adef14f36f631524155d66
a3df9502812e6741bc722648719708edab87ee46
feat: add support for system picker in setDisplayMediaRequestHandler (#43581) * tmp * feat: add support for system picker in setDisplayMediaRequestHandler * oops * Apply suggestions from code review Co-authored-by: Erick Zhao <erick@hotmail.ca> * stuff * well... * seems legit * chore: update pa...
[ { "path": "docs/api/desktop-capturer.md", "patch": "@@ -20,7 +20,11 @@ app.whenReady().then(() => {\n // Grant access to the first screen found.\n callback({ video: sources[0], audio: 'loopback' })\n })\n- })\n+ // If true, use the system picker if available.\n+ // Note: this is curre...
2024-09-10T23:05:57
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
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
golang/go
fbba93027174956a57c8b4493cbf0d0521b65774
92e093467f3ca3e348b2c933c24d1803efe4c006
image/jpeg: replace fdct.go and idct.go with new implementation in dct.go The fdct.go and idct.go files were derived from the MPEG-SSG and JPEG-IJG reference code and therefore carry licenses specific to those groups. Various license checkers flag these files as potentially problematic. The code is also not terribly w...
[ { "path": "src/image/decode_example_test.go", "patch": "@@ -70,22 +70,22 @@ func Example() {\n \t}\n \t// Output:\n \t// bin red green blue alpha\n-\t// 0x0000-0x0fff: 364 790 7242 0\n-\t// 0x1000-0x1fff: 645 2967 1039 0\n-\t// 0x2000-0x2fff: 1072 2299 979 ...
2025-09-18T16:27:06
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
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
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
golang/go
92e093467f3ca3e348b2c933c24d1803efe4c006
27c7bbc51c812570e534d0aa0a8dc8733e5e3abf
image/jpeg: correct and test reference slowFDCT and slowIDCT The reference implementations slowFDCT and slowIDCT were not rounding correctly, making the test not as good as it could be. Before, the real implementations were required to always produce values within ±2 of the reference; now, with no changes, the real im...
[ { "path": "src/image/jpeg/dct_test.go", "patch": "@@ -7,6 +7,7 @@ package jpeg\n import (\n \t\"fmt\"\n \t\"math\"\n+\t\"math/big\"\n \t\"math/rand\"\n \t\"strings\"\n \t\"testing\"\n@@ -29,11 +30,37 @@ func BenchmarkIDCT(b *testing.B) {\n \tbenchmarkDCT(b, idct)\n }\n \n+const testSlowVsBig = true\n+\n fun...
2025-09-19T15:36:11
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
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
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
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
f15cd63ec4860c4f2c23cc992843546e0265c332
371c1d2fcb48fa79ac30812231ecef0e26f539dc
cmd/compile: don't rely on loop info when there are irreducible loops Loop information is sketchy when there are irreducible loops. Sometimes blocks inside 2 loops can be recorded as only being part of the outer loop. That causes tighten to move values that want to move into such a block to move out of the loop altoge...
[ { "path": "src/cmd/compile/internal/ssa/tighten.go", "patch": "@@ -123,18 +123,21 @@ func tighten(f *Func) {\n \n \t\t// If the target location is inside a loop,\n \t\t// move the target location up to just before the loop head.\n-\t\tfor _, b := range f.Blocks {\n-\t\t\torigloop := loops.b2l[b.ID]\n-\t\t\t...
2025-09-23T23:31:26
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
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
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
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
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
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
golang/go
d7a38adf4c81f0fa83203e37844192182b22680a
7bc1935db55c9d182617aba074f048f9c7573680
runtime: eliminate global span queue [green tea] This change removes the locked global span queue and replaces the fixed-size local span queue with a variable-sized local span queue. The variable-sized local span queue grows as needed to accomodate local work. With no global span queue either, GC workers balance work ...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -1289,30 +1289,6 @@ func MSpanCountAlloc(ms *MSpan, bits []byte) int {\n \treturn result\n }\n \n-type MSpanQueue mSpanQueue\n-\n-func (q *MSpanQueue) Size() int {\n-\treturn (*mSpanQueue)(q).n\n-}\n-\n-func (q *MSpanQueue) Push(s *MSpan) {\n-\t(*mSpanQue...
2025-08-15T17:09:05
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
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
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
74cc463f9e0ce37f1e3b24a0dbe3cdbba29efb89
902dc27ae9b0670cc35ca972dfe1a5f45b66eb9e
go/token: add TestRemovedFileFileReturnsNil test While debugging test issue in the previous CL i noted that we don't have a proper test for RemoveFile. Change-Id: I6a6a6964426ed3cf6725a58ec377686c2900c626 Reviewed-on: https://go-review.googlesource.com/c/go/+/705757 Reviewed-by: Alan Donovan <adonovan@google.com> LUC...
[ { "path": "src/go/token/position_test.go", "patch": "@@ -621,3 +621,25 @@ func TestRemoveFileRace(t *testing.T) {\n \t\tstart <- struct{}{}\n \t}\n }\n+\n+func TestRemovedFileFileReturnsNil(t *testing.T) {\n+\tfset := NewFileSet()\n+\n+\t// Create bunch of files.\n+\tvar files []*File\n+\tfor i := range 100...
2025-09-22T08:54:29
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
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
rust-lang/rust
924748717bfc90d3a34bed407d75eb6c988f9fc9
1b7d722f429f09c87b08b757d89c689c6cf7f6e7
Implement `Diagnostic` trait for `rustc_errors::DecorateDiagCompat`
[ { "path": "compiler/rustc_errors/src/decorate_diag.rs", "patch": "@@ -1,15 +1,16 @@\n /// This module provides types and traits for buffering lints until later in compilation.\n use rustc_ast::node_id::NodeId;\n use rustc_data_structures::fx::FxIndexMap;\n+use rustc_data_structures::sync::DynSend;\n use rus...
2026-03-03T16:21:16
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
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
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
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
rust-lang/rust
bf6db4f345799e1f922b3109a7278d8be11f3058
f5a2bb6263ad332ceb2d9b3b82afe935259a7723
Add regression tests for token hygiene annotations in macro bodies Add `unpretty-debug-shadow` test covering macro body tokens that reference a shadowed variable, and simplify the `unpretty-debug-metavars` test macro. Signed-off-by: Andrew V. Teylu <andrew.teylu@vector.com>
[ { "path": "tests/ui/hygiene/unpretty-debug-metavars.rs", "patch": "@@ -1,9 +1,10 @@\n //@ check-pass\n //@ compile-flags: -Zunpretty=expanded,hygiene\n \n-// Regression test: metavar parameters in macro-generated macro_rules!\n-// definitions should have hygiene annotations so that textually identical\n-// ...
2026-03-03T13:06:55
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
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
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
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
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
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
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
902dc27ae9b0670cc35ca972dfe1a5f45b66eb9e
a13d085a5b66e4d9f3ecfae91c40f62034cfb481
go/token: clear cache after grabbing the mutex in RemoveFile This fixes a race, that was possible to hit in RemoveFile. The file cache could have been populated concurrently just before grabbing of the mutex. Change-Id: I6a6a696452d8bd79ac4ac6574297390978353444 Reviewed-on: https://go-review.googlesource.com/c/go/+/7...
[ { "path": "src/go/token/position.go", "patch": "@@ -531,11 +531,11 @@ func (s *FileSet) AddExistingFiles(files ...*File) {\n //\n // Removing a file that does not belong to the set has no effect.\n func (s *FileSet) RemoveFile(file *File) {\n-\ts.last.CompareAndSwap(file, nil) // clear last file cache\n-\n ...
2025-09-22T08:54:29
rust-lang/rust
ee1d0cfbe6b17fe77e1da569be33ac0ee7916be7
1b7d722f429f09c87b08b757d89c689c6cf7f6e7
MGCA: fix type error handling for array and tuple lowering logic
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs", "patch": "@@ -2416,11 +2416,15 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n ) -> Const<'tcx> {\n let tcx = self.tcx();\n \n- let ty::Array(elem_ty, _) = ty.kind() else {\n- let e = tcx\n- .dcx()...
2026-03-03T12:08:26
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
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
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
61bf26a9eef5e0c1a5c319f60dfe1e3c51766474
4b787c8c2bc8c9e774bf7836adb7877e3698f9d4
cmd/link: fix Macho-O X86_64_RELOC_SUBTRACTOR in internal linking X86_64_RELOC_SUBTRACTOR is handled as a generic R_PCREL relocations, which gets the relocation size subtracted from the relocated value. This is not supposed to happen for this particular relocation, so compensate by adding the size to the addend. Cq-...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -208,7 +208,7 @@ func adddynrel(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loade\n \t\t}\n \t\t// The second relocation has the target symbol we want\n \t\tsu.SetRelocType(rIdx+1, objabi.R_PCREL)\n-\t\tsu.SetRelocAdd(rIdx+1, r.Add...
2025-09-15T12:23:44
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
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
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
3df27cd21aab3d3bcdc8ac56e7653ab023dc1112
684e8d336356b122554f1170a130ab22a7212e6c
cmd/compile: fix typo in comment Fix typo for omitted. Change-Id: Ia633abe7f3d28f15f1f538425cdce9e6d9ef48c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/705735 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewe...
[ { "path": "src/cmd/compile/internal/noder/doc.go", "patch": "@@ -87,7 +87,7 @@ constant for file bases and hence not encoded.\n [ Sync ]\n StringRef // the (absolute) file name for the base\n Bool // true if a file base, else a line base\n- ...
2025-09-20T11:32:29
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
golang/go
a5866ebe40207c4c64f0522721825b10887356e0
a27261c42fcebf601587725714b9ef53c47b06b3
cmd/compile: prevent shapifying of pointer shape type CL 641955 changes the Unified IR reader to not doing shapify when reading reshaping expression, prevent losing of the original type. This is an oversight, as the main problem isn't about shaping during the reshaping process itself, but about the specific case of s...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -49,9 +49,6 @@ type pkgReader struct {\n \t// but bitwise inverted so we can detect if we're missing the entry\n \t// or not.\n \tnewindex []index\n-\n-\t// indicates whether the data is reading during reshaping.\n-\treshaping bool\n }\n \n ...
2025-09-15T10:31:46
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
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
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
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
golang/go
e93f439ac4160baf9992f059d2bfb511e23f63c9
69e74b0aacc1de59b618bbb9789a2e7e0cd806b5
runtime/cgo: retry when CreateThread fails with ERROR_ACCESS_DENIED _cgo_beginthread used to retry _beginthread only when it failed with EACCESS, but CL 651995 switched to CreateThread and incorrectly mapped EACCESS to ERROR_NOT_ENOUGH_MEMORY. The correct mapping is ERROR_ACCESS_DENIED. Fixes #72814 Fixes #75381 Cha...
[ { "path": "src/runtime/cgo/gcc_libinit_windows.c", "patch": "@@ -145,7 +145,7 @@ void _cgo_beginthread(unsigned long (__stdcall *func)(void*), void* arg) {\n \n \tfor (tries = 0; tries < 20; tries++) {\n \t\tthandle = CreateThread(NULL, 0, func, arg, 0, NULL);\n-\t\tif (thandle == 0 && GetLastError() == ERR...
2025-09-23T08:46:46
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
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
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
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
golang/go
fde10c4ce7f3b32acd886992450dd94cafb699a4
5d040df09271ad2f1b0f93abf94a1b2efc8871df
runtime: split gcMarkWorkAvailable into two separate conditions Right now, gcMarkWorkAvailable is used in two scenarios. The first is critical: we use it to determine whether we're approaching mark termination, and it's crucial to reaching a fixed point across the ragged barrier in gcMarkDone. The second is a heuristi...
[ { "path": "src/runtime/mcheckmark.go", "patch": "@@ -68,7 +68,7 @@ func startCheckmarks() {\n \n // endCheckmarks ends the checkmarks phase.\n func endCheckmarks() {\n-\tif gcMarkWorkAvailable(nil) {\n+\tif !gcIsMarkDone() {\n \t\tthrow(\"GC work not flushed\")\n \t}\n \tuseCheckmark = false", "addition...
2025-09-05T17:39:09
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
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
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
nodejs/node
c16e26d066b2a187eeff8c5bee4baaed4572e1ca
a0139e06a0754058ffd891f779be55584665f8a8
doc: fix small typo in `process.md` PR-URL: https://github.com/nodejs/node/pull/57333 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/process.md", "patch": "@@ -4249,7 +4249,7 @@ added: v23.9.0\n -->\n \n * `previousValue` {Object} A previous return value from calling\n- `process.cpuUsage()`\n+ `process.threadCpuUsage()`\n * Returns: {Object}\n * `user` {integer}\n * `system` {integer}", "additions": 1, "d...
2025-03-13T12:15:45
golang/go
7e0251bf584c5fe79e95b9c460c7d60a7199d0ae
22ac328856ae4c0dcd3d770f50aac5a2df498989
runtime: don't report non-blocked goroutines as "(durable)" in stacks Only append the " (durable)" suffix to a goroutine's status when the goroutine is waiting. Avoids reporting a goroutine as "runnable (durable)". Change-Id: Id679692345afab6e63362ca3eeff16808367e50f Reviewed-on: https://go-review.googlesource.com/c...
[ { "path": "src/runtime/traceback.go", "patch": "@@ -1249,6 +1249,7 @@ func goroutineheader(gp *g) {\n \t\tprint(\" (scan)\")\n \t}\n \tif bubble := gp.bubble; bubble != nil &&\n+\t\tgpstatus == _Gwaiting &&\n \t\tgp.waitreason.isIdleInSynctest() &&\n \t\t!stringslite.HasSuffix(status, \"(durable)\") {\n \t\...
2025-09-22T22:15:40
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
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
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
golang/go
2b50ffe172ee638a88e2750481eaeeac7d3bedfa
2d8cb80d7c4af3dbcb507783938ceb0e071f64e3
[dev.simd] cmd/compile: remove stores to unread parameters Currently, we remove stores to local variables that are not read. We don't do that for arguments. But arguments and locals are essentially the same. Arguments are passed by value, and are not expected to be read in the caller's frame. So we can remove the writ...
[ { "path": "src/cmd/compile/internal/ssa/deadstore.go", "patch": "@@ -7,6 +7,7 @@ package ssa\n import (\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/types\"\n+\t\"cmd/internal/obj\"\n )\n \n // dse does dead-store elimination on the Function.\n@@ -213,7 +214,7 @@ func elimDeadAutosGeneric(f *F...
2025-09-22T14:57:29
nodejs/node
ebbc5f701708cc5d7fe10c3b2072aa976a807bac
64f56e415693106a7ca6765794b5c3cd12f963a7
assert: implement partial error comparison assert.partialDeepStrictEqual now also handled error properties as expected. On top of that, the main implementation also handles non-string `name` and `message` properties and the comparison is a tad faster by removing duplicated comparison steps. As a drive-by fix this als...
[ { "path": "lib/internal/util/comparisons.js", "patch": "@@ -10,17 +10,17 @@ const {\n Error,\n NumberIsNaN,\n NumberPrototypeValueOf,\n- ObjectGetOwnPropertySymbols,\n+ ObjectGetOwnPropertySymbols: getOwnSymbols,\n ObjectGetPrototypeOf,\n ObjectIs,\n ObjectKeys,\n- ObjectPrototypeHasOwnProper...
2025-03-10T17:20:32
vercel/next.js
1bb10fc51cf44be3062ae7821a5050827999c302
fa70898f0d74d106fbce9f315af71e42f9afa1c8
Turbopack: Track errored tasks as dependency when using untracked() (#84914) ### What? The pattern `some_operation().untracked().await?` is dangerous as it propages the error to the parent task. An untracked read accepts an incorrectness due to eventual consistency during an update. This might also cause eventual co...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/mod.rs", "patch": "@@ -28,8 +28,8 @@ use tokio::time::{Duration, Instant};\n use tracing::{Span, field::Empty, info_span, trace_span};\n use turbo_tasks::{\n CellId, FxDashMap, FxIndexMap, KeyValuePair, RawVc, ReadCellOptions, ReadConsistency,\...
2025-10-17T19:11:06
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
facebook/react
9f4e4611ead28d34f7f598c9bd12424cf68f5781
f2df5694f2be141954f22618fd3ad035203241a3
fix: add Error prefix to Error objects names (#30969) This fixes printing Error objects in Chrome DevTools. I've observed that Chrome DevTools is not source mapping and linkifying URLs, when was running this on larger apps. Chrome DevTools talks to V8 via Chrome DevTools protocol, every object has a corresponding...
[ { "path": "packages/react-devtools-shared/src/backend/console.js", "patch": "@@ -229,9 +229,19 @@ export function patch({\n // In Chromium, only the stack property is printed but in Firefox the <name>:<message>\n // gets printed so to make the colon make sense, we nam...
2024-09-16T16:43:40
nodejs/node
d615a3cfcbc357ccebd07a37fa0002fee162d9ce
59f00d713299bfe7d18d15c4504ac14bd5b428a8
src: suggest --use-system-ca when a certificate error occurs PR-URL: https://github.com/nodejs/node/pull/57362 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "doc/api/tls.md", "patch": "@@ -547,6 +547,12 @@ description are taken from deps/openssl/openssl/crypto/x509/x509_txt.c\n * `'CERT_REJECTED'`: Certificate rejected.\n * `'HOSTNAME_MISMATCH'`: Hostname mismatch.\n \n+When certificate errors like `UNABLE_TO_VERIFY_LEAF_SIGNATURE`,\n+`DEPTH_ZERO_SELF...
2025-03-12T13:21:22
rust-lang/rust
52e0f3f5dc5c8d72bb401b73da84c0c9158c68ce
58745ca3b05afa82bd5720dd05f3854e674700e0
fix autodiff parsing for non-trait impl
[ { "path": "compiler/rustc_builtin_macros/src/autodiff.rs", "patch": "@@ -214,7 +214,7 @@ mod llvm_enzyme {\n // first get information about the annotable item: visibility, signature, name and generic\n // parameters.\n // these will be used to generate the differentiated version of t...
2026-03-03T04:30:45
facebook/react
8cf64620c7dd4ec7e72aa16ee2d5f15eb3420b92
fc5ef50da8e975a569622d477f1fed54cb8b193d
fix[rdt/fiber/renderer.js]: getCurrentFiber can be injected as null (#30968) In production artifacts for `18.x.x` `getCurrentFiber` can actually be injected as `null`. Updated `getComponentStack` and `onErrorOrWarning` implementations to support this. ![Screenshot 2024-09-16 at 10 52 00](https://github.com/user-...
[ { "path": "packages/react-devtools-shared/src/backend/fiber/renderer.js", "patch": "@@ -1078,7 +1078,7 @@ export function attach(\n function getComponentStack(\n topFrame: Error,\n ): null | {enableOwnerStacks: boolean, componentStack: string} {\n- if (getCurrentFiber === undefined) {\n+ if (g...
2024-09-16T13:47:57
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
vercel/next.js
bc59f210b02256e63b93d9f473c97ae130568e63
3129db08ad4ebc3221a0aff1965ea7330d9553ae
docs: Deprecation of Middleware (#84710) This PR removes middleware docs and adds a "Migration to Proxy" section to the Proxy docs, which explains the rationale for the renaming to Proxy and provides a migration guide. Did not remove `middleware-upgrade-docs` as it's an upgrade doc from the legacy middleware. Below ...
[ { "path": "docs/01-app/01-getting-started/02-project-structure.mdx", "patch": "@@ -29,15 +29,15 @@ Top-level folders are used to organize your application's code and static assets\n \n ### Top-level files\n \n-Top-level files are used to configure your application, manage dependencies, run middleware, integ...
2025-10-17T18:03:13
nodejs/node
a446e3bdc96b0f263fd363ce89b9c739b066240f
1b655c76313b36fd6c1a368af4311c4610132b89
sqlite: reset statement immediately in run() This commit updates StatementSync.prototype.run() to reset the prepared statement immediately after calling sqlite3_step() to return the correct change metadata. Fixes: https://github.com/nodejs/node/issues/57344 PR-URL: https://github.com/nodejs/node/pull/57350 Reviewed-B...
[ { "path": "src/node_sqlite.cc", "patch": "@@ -1866,13 +1866,9 @@ void StatementSync::Run(const FunctionCallbackInfo<Value>& args) {\n return;\n }\n \n- auto reset = OnScopeLeave([&]() { sqlite3_reset(stmt->statement_); });\n- r = sqlite3_step(stmt->statement_);\n- if (r != SQLITE_ROW && r != SQLITE...
2025-03-11T00:33:27
vercel/next.js
3129db08ad4ebc3221a0aff1965ea7330d9553ae
c27ac0dd3a73038ef63ec00ed53baa9af8f41d56
[turbopack] Allow withRspack to work even if you already have NEXT_RSPACK set (#84987) Fix an issue where if a user set `NEXT_RSPACK` as an environment variable then `next` would think it was using rspack but `withRspack` would think it was using `--webpack`. The issue is that the idempotency check was too strict. ...
[ { "path": "packages/next-rspack/index.js", "patch": "@@ -1,10 +1,10 @@\n Error.stackTraceLimit = 100\n module.exports = function withRspack(config) {\n- if (process.env.NEXT_RSPACK === 'true') {\n+ if (process.env.NEXT_RSPACK) {\n // we have already been called. This can happen when using build worke...
2025-10-17T17:18:38
golang/go
63a09d6d3d68acedfc9e5fd2daf6febc35aca1d6
2ca96d218d2cbaad99ba807b3bddd90bbf6a5ba8
[dev.simd] cmd/compile: fix SIMD const rematerialization condition This CL fixes a condition for the previous fix CL 704056. Change-Id: I1f1f8c6f72870403cb3dff14755c43385dc0c933 Reviewed-on: https://go-review.googlesource.com/c/go/+/705499 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gservicea...
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -2576,22 +2576,25 @@ 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\t// Handle incompa...
2025-09-19T18:38:25
facebook/react
b75cc078c5fda0d57135523a7a2f4e8d1536472f
3d95c43b8967d4dda1ec9a22f0d9ea4999fee8b8
Fix nodeName to UPPERCASE in insertStylesheetIntoRoot (#28255) ## Summary <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> <img width="518" alt="image" src="https://github.com/facebook/react/assets/18693190/6d12df76-7dae-403b-b486-4940992abe8d"> ...
[ { "path": "packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js", "patch": "@@ -3520,7 +3520,7 @@ function insertStylesheetIntoRoot(\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (\n- node.nodeName === 'link' ||\n+ node.nodeName === 'LINK' ||...
2024-09-14T15:18:27
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
rust-lang/rust
8a824ee3019c77c5c26b3e7b8a0855ba34759f5a
2be5835a7e0dea5deb0f5595b0c02264e5fa3d11
Fix performance of early lints
[ { "path": "compiler/rustc_hir_analysis/src/lib.rs", "patch": "@@ -88,6 +88,7 @@ use rustc_abi::{CVariadicStatus, ExternAbi};\n use rustc_hir as hir;\n use rustc_hir::def::DefKind;\n use rustc_hir::lints::DelayedLint;\n+use rustc_lint::DecorateAttrLint;\n use rustc_middle::mir::interpret::GlobalId;\n use rus...
2026-03-02T22:27:55
facebook/react
6774caa37973e3e26d60f100971e5e785fd12235
5deb78223a269a6cb1706da8ec6aad8c007cab03
[Flight] properly track pendingChunks when changing environment names (#30958) When the environment name changes for a chunk we issue a new debug chunk which updates the environment name. This chunk was not beign included in the pendingChunks count so the count was off when flushing
[ { "path": "packages/react-server/src/ReactFlightServer.js", "patch": "@@ -3813,6 +3813,7 @@ function retryTask(request: Request, task: Task): void {\n if (__DEV__) {\n const currentEnv = (0, request.environmentName)();\n if (currentEnv !== task.environmentName) {\n+ request.pe...
2024-09-13T22:55:42
golang/go
e23edf5e55703cc6ddbb86a198a35487b34d863b
177cd8d7633843c3eabf8f887381cadbeed3514b
runtime: don't re-read metrics before check in TestReadMetricsSched The two remaining popular flakes in TestReadMetricsSched are with waiting and not-in-go goroutines. I believe the reason for both of these is pollution due to other goroutines in the test binary, and we can be a little bit more robust to them. In par...
[ { "path": "src/runtime/metrics_test.go", "patch": "@@ -1760,8 +1760,6 @@ func TestReadMetricsSched(t *testing.T) {\n \t\t\tmetrics.Read(s[:])\n \t\t\treturn s[notInGo].Value.Uint64() >= count\n \t\t})\n-\n-\t\tmetrics.Read(s[:])\n \t\tlogMetrics(t, s[:])\n \t\tcheck(t, &s[notInGo], count, count+generalSlack...
2025-09-22T17:36:03
nodejs/node
823c9b70c727e2efaa6dfd8e97551c31b45ff666
7a1b26e357f67ad2715f39d06e0bacac058f7172
doc: fix usage of module.registerSync in comment PR-URL: https://github.com/nodejs/node/pull/57328 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/module.md", "patch": "@@ -1226,7 +1226,7 @@ opt-in to using the non-default behavior:\n import { readFile } from 'node:fs/promises';\n \n // Asynchronous version accepted by module.register(). This fix is not needed\n-// for the synchronous version accepted by module.registerSync().\n+// ...
2025-03-10T21:25:56
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
vercel/next.js
71ce95dffac4014105f7951d25b885dc46ec3739
fd8b4c5979c9254591dbbf49e08bef2be5fab36c
docs: Replace Middleware docs to Proxy (#84709) > [!NOTE] > Best reviewed by each commit for better diff view. This PR clones the Middleware docs for Proxy and removes the Middleware docs. Did not clone the list of docs: - `errors/middleware-upgrade.mdx` - It's a middleware upgrade guide from v12.2 - `error...
[ { "path": "docs/01-app/03-api-reference/03-file-conventions/middleware.mdx", "patch": "@@ -8,7 +8,7 @@ related:\n - app/api-reference/functions/next-response\n ---\n \n-The `middleware.js|ts` file is used to write [Middleware](/docs/app/getting-started/route-handlers-and-middleware#middleware) and run c...
2025-10-17T14:13:26
rust-lang/rust
f5a2bb6263ad332ceb2d9b3b82afe935259a7723
8ddf4ef064fb702fed0f3d239ec8d0bac607484e
Add hygiene annotations for tokens in macro_rules! bodies `-Zunpretty=expanded,hygiene` was not printing syntax context annotations for identifiers and lifetimes inside `macro_rules!` bodies. These tokens are printed via `print_tt()` → `token_to_string_ext()`, which converts tokens to strings without calling `ann_post...
[ { "path": "compiler/rustc_ast_pretty/src/pprust/state.rs", "patch": "@@ -735,6 +735,23 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere\n TokenTree::Token(token, spacing) => {\n let token_str = self.token_to_string_ext(token, convert_dollar_crat...
2026-03-02T20:28:16
nodejs/node
fbe37d501ec45c79ca3904b392f8858e63e42c0b
599ec77679d55912e47116a8a1b0804a9bbc962d
esm: fix module.exports export on CJS modules PR-URL: https://github.com/nodejs/node/pull/57366 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/modules/esm/translators.js", "patch": "@@ -188,10 +188,13 @@ function createCJSModuleWrap(url, source, isMain, format, loadCJS = loadCJSModul\n const { exportNames, module } = cjsPreparseModuleExports(filename, source, format);\n cjsCache.set(url, module);\n \n- const wrapperNam...
2025-03-07T21:05:09
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
d9c4920e8b3fff3d3da24d14adf7ac884aee55b2
d3d4d3a46b014ab0f6edc443c19fcdba09105f20
fix: restore selection should consider the window of the container (#30951) ## Summary Fixes #30864 Before this PR the active elemen was always taken from the global `window`. This is incorrect if the renderer is in one window rendering into a container element in another window. The changes in this PR adds...
[ { "path": "packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js", "patch": "@@ -325,7 +325,7 @@ export function getPublicInstance(instance: Instance): Instance {\n \n export function prepareForCommit(containerInfo: Container): Object | null {\n eventsEnabled = ReactBrowserEventEmitterIsEnabled();...
2024-09-13T20:29:40
vercel/next.js
fd8b4c5979c9254591dbbf49e08bef2be5fab36c
332aaf393911b49b9774a94d021660e122c5dc78
docs: Split "Get Started: Route Handlers and Middleware" to Route Handlers and Proxy (#84708) This PR splits the route handlers and middleware to allow for separate onboarding docs, making it easier to migrate the docs from Middleware to Proxy. These PR stacks are to publish a full replacement of the docs for the Mid...
[ { "path": "docs/01-app/01-getting-started/15-route-handlers.mdx", "patch": "@@ -1,13 +1,12 @@\n ---\n-title: Route Handlers and Middleware\n-nav_title: Route Handlers and Middleware\n-description: Learn how to use Route Handlers and Middleware\n+title: Route Handlers\n+nav_title: Route Handlers\n+descriptio...
2025-10-17T14:00:14
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
nodejs/node
9df0ff7015bed1613c09cc0b15b76390d21ee178
9a9a45adb700125cb7a2888a14341f7db484daf5
test_runner: change ts default glob PR-URL: https://github.com/nodejs/node/pull/57359 Fixes: https://github.com/nodejs/node/issues/56546 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Paolo Inso...
[ { "path": "doc/api/test.md", "patch": "@@ -418,12 +418,9 @@ By default, Node.js will run all files matching these patterns:\n Unless [`--no-experimental-strip-types`][] is supplied, the following\n additional patterns are also matched:\n \n-* `**/*.test.{cts,mts,ts}`\n-* `**/*-test.{cts,mts,ts}`\n-* `**/*_t...
2025-03-09T12:55:40
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
vercel/next.js
7296aa624e6205def670b22bdc5681f8a42eb55a
8bc8dc343c30fdc263fcf719fbc99febe0fe4c93
Update prefetching.mdx providing more clarity on the usage of `router.prefetch()` (#84903) ## What Updated `prefetching.mdx` in the App Router documentation providing more clarity on the usage of `router.prefetch()`. ## Why We found the current section on `Manual Prefetching` to be lacking in detail and a bit mislead...
[ { "path": "docs/01-app/02-guides/prefetching.mdx", "patch": "@@ -58,16 +58,27 @@ Automatic prefetching runs only in production. Disable with `prefetch={false}` o\n \n ## Manual prefetch\n \n+To do manual prefetching, import the `useRouter` hook from `next/navigation`, and call `router.prefetch()` to warm ro...
2025-10-17T13:20:22