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
af278bfb1f07b9f8f84d325a84b3891a3ab0dbf1
92309ff771be5daa113acb85ad22e8783188ca67
cmd/compile: add additional flag constant folding rules Fixes #73200 Change-Id: I77518d37acd838acf79ed113194bac5e2c30897f Reviewed-on: https://go-review.googlesource.com/c/go/+/663535 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com...
[ { "path": "src/cmd/compile/internal/ssa/_gen/ARM64.rules", "patch": "@@ -1385,16 +1385,18 @@\n (CSNEG [cc] x y (InvertFlags cmp)) => (CSNEG [arm64Invert(cc)] x y cmp)\n \n // absorb flag constants into boolean values\n-(Equal (FlagConstant [fc])) => (MOVDconst [b2i(fc.eq())])\n-(NotEqual (FlagC...
2025-04-07T17:33:31
facebook/react
2eeb9f9226af60149792f5c33e29a9c0001bba61
b67ddaa434d590f312fee6f9acee24accd064192
[Flight Reply] Update error message (#27549) This is in the reverse direction.
[ { "path": "packages/react-client/src/ReactFlightReplyClient.js", "patch": "@@ -304,22 +304,22 @@ export function processReply(\n );\n } else if (objectName(value) !== 'Object') {\n console.error(\n- 'Only plain objects can be passed to Client Components from Server Com...
2023-10-19T17:40:24
vercel/next.js
7a09a67d3287220d651e569755d2bbf40bb39aeb
9170aca93ad678abc573a6b71fb775e8ebb4c8d6
Fix auth preflight check when triggering Front sync (#81166)
[ { "path": ".github/workflows/test_e2e_deploy_release.yml", "patch": "@@ -110,6 +110,10 @@ jobs:\n - id: test-result\n name: Set test result variable\n run: echo 'immediately-close=${{ needs.test-deploy.result != 'success' && 'true' || 'false' }}' >> \"$GITHUB_OUTPUT\"\n+ - name: C...
2025-07-08T16:55:49
nodejs/node
f9f9a421a8d3826ade3087a58c4c8535b8af62d0
4d1cc7618e3aa3578d6a5a612391a0df69e85a04
path: use the correct name in `validateString` The parameter was renamed from `ext` to `suffix` but not in the `validateString` call. PR-URL: https://github.com/nodejs/node/pull/53669 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@g...
[ { "path": "lib/path.js", "patch": "@@ -775,7 +775,7 @@ const win32 = {\n */\n basename(path, suffix) {\n if (suffix !== undefined)\n- validateString(suffix, 'ext');\n+ validateString(suffix, 'suffix');\n validateString(path, 'path');\n let start = 0;\n let end = -1;\n@@ -1335,...
2024-07-30T14:59:47
facebook/react
9617d39eca1fbac58afe73a23580d781ea20211d
601e5c38505ebc0ee099d8666b2f7a8b03159ac4
[Fizz] Add proper assertion for stream fix (#27543) In https://github.com/facebook/react/pull/27541 I added tests to assert that the write after close bug was fixed. However the Node implementation has an abort behavior preventing reproduction of the original issue and the Browser build does not use AsyncLocalStora...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFizzServerBrowser-test.js", "patch": "@@ -15,15 +15,13 @@ global.ReadableStream =\n global.TextEncoder = require('util').TextEncoder;\n \n let React;\n-let ReactDOM;\n let ReactDOMFizzServer;\n let Suspense;\n \n describe('ReactDOMFizzServerBrowser', () =>...
2023-10-18T19:01:09
golang/go
92309ff771be5daa113acb85ad22e8783188ca67
8054d2da5bdbaf154b258d8d2fd24025a809b0de
doc/next: fix link It was rendering incorrectly at https://tip.golang.org/doc/go1.25 Change-Id: I2f66c95414ac5d71b9b02b91bcdc0d0a87b3f605 Reviewed-on: https://go-review.googlesource.com/c/go/+/662436 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Brad Fitzpatric...
[ { "path": "doc/next/6-stdlib/99-minor/net/56025.md", "patch": "@@ -1,4 +1,4 @@\n-[LookupMX] and [(*Resolver).LookupMX] now return DNS names that look\n+[LookupMX] and [*Resolver.LookupMX] now return DNS names that look\n like valid IP address, as well as valid domain names.\n Previously if a name server ret...
2025-04-02T23:12:37
facebook/react
601e5c38505ebc0ee099d8666b2f7a8b03159ac4
20c91b65341fd404185fc778c6844ac29ab815d5
[Fizz][Float] Do not write after closing the stream (#27541) Float methods can hang on to a reference to a Request after the request is closed due to AsyncLocalStorage. If a Float method is called at this point we do not want to attempt to flush anything. This change updates the closing logic to also call `stopFlow...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js", "patch": "@@ -3650,6 +3650,46 @@ describe('ReactDOMFizzServer', () => {\n );\n });\n \n+ // https://github.com/facebook/react/issues/27540\n+ // This test is not actually asserting much because there is possibly a bug in the cl...
2023-10-18T17:05:18
vercel/next.js
5248e1576632ea82d6f3cbc932ec73d1f6a401d6
d118f071fc2b4fcf985bab68d8fed6ddf4ac75ac
fix(turbopack) Adjust tree loader to respect parent module overrides (#81139) ## Fix not-found page inheritance in nested layouts ### What? This PR fixes an issue where custom not-found pages weren't properly inherited in nested layouts. Previously, when a page within a route group threw a `notFound()` error, it woul...
[ { "path": "crates/next-core/src/app_structure.rs", "patch": "@@ -853,12 +853,45 @@ async fn directory_tree_to_loader_tree(\n plain_tree,\n app_page,\n for_app_path,\n+ AppDirModules::default(),\n )\n .await?;\n \n Ok(Vc::cell(tree.map(AppPageLoaderTree::resolved_ce...
2025-07-08T13:16:40
nodejs/node
7485ad817a5801c479b26a2deafdfee6ae1cc5b0
027710e408bbf6c276678a8908ed82b202619b70
crypto: include NODE_EXTRA_CA_CERTS in all secure contexts by default Store loaded NODE_EXTRA_CA_CERTS into root_certs_vector, allowing them to be added to secure contexts when NewRootCertStore() is called, rather than losing them when unrelated options are provided. When NODE_EXTRA_CA_CERTS is specified, the root ce...
[ { "path": "src/crypto/crypto_context.cc", "patch": "@@ -52,7 +52,7 @@ static const char* const root_certs[] = {\n \n static const char system_cert_path[] = NODE_OPENSSL_SYSTEM_CERT_PATH;\n \n-static bool extra_root_certs_loaded = false;\n+static std::string extra_root_certs_file; // NOLINT(runtime/string)\...
2022-09-05T16:16:50
golang/go
8054d2da5bdbaf154b258d8d2fd24025a809b0de
b2819d13dbe19343426e688da4ddfeb57c8589fc
strconv: use switch for '+'/'-' prefix handling Follow the approach used in strconv's readFloat, decimal.set, and Atoi, where leading '+' and '-' are handled using a switch for clarity and consistency. Change-Id: I41eff34ce90b5ac43fcdbc0bb88910d6d5fb4d39 GitHub-Last-Rev: 0c9d2efb5a828515fa00afdba8c436aa31fb0e53 GitHu...
[ { "path": "src/strconv/atof.go", "patch": "@@ -77,12 +77,12 @@ func (b *decimal) set(s string) (ok bool) {\n \tif i >= len(s) {\n \t\treturn\n \t}\n-\tswitch {\n-\tcase s[i] == '+':\n+\tswitch s[i] {\n+\tcase '+':\n \t\ti++\n-\tcase s[i] == '-':\n-\t\tb.neg = true\n+\tcase '-':\n \t\ti++\n+\t\tb.neg = true\...
2025-04-06T13:08:57
facebook/react
20c91b65341fd404185fc778c6844ac29ab815d5
e3748a0bde80dd1f097fd8000702aba9fca454ef
React DevTools 4.28.4 -> 4.28.5 (#27538) Changes: * fix[devtools/useMemoCache]: add stub for useMemoCache in ReactDebugHook ([hoxyq](https://github.com/hoxyq) in [#27472](https://github.com/facebook/react/pull/27472)) * useDeferredValue should skip initialValue if it suspends ([acdlite](https://github.com/acdlite...
[ { "path": "packages/react-devtools-core/package.json", "patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"react-devtools-core\",\n- \"version\": \"4.28.4\",\n+ \"version\": \"4.28.5\",\n \"description\": \"Use react-devtools outside of the browser\",\n \"license\": \"MIT\",\n \"main\": \"./dist/backend.j...
2023-10-18T13:08:23
vercel/next.js
2dbc947cdeebce7fbfc91240d71473395e961616
c8976ee2121b02b26e089e1854e2b1ad43a3436e
Turbopack: fix incorrect graph state bug (#81202) ### What? Technically a task should start with `Dirty` flag set and propagate that info through the aggregation graph. But that would be very expensive to do in the initial compilation. So we have the extra check of tasks not having Output set. But there is this rare...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/operation/update_output.rs", "patch": "@@ -48,86 +48,86 @@ impl UpdateOutputOperation {\n output: Result<RawVc, TurboTasksExecutionError>,\n mut ctx: impl ExecuteContext,\n ) {\n- let mut task = ctx.task(task_id, TaskData...
2025-07-08T07:02:06
nodejs/node
890760b8e580f1d5bc1ac3a97c31eaae0c62bb32
3c50297e9e68553c4ee31e7f3fd677c8360a11f0
console: fix issues with frozen intrinsics PR-URL: https://github.com/nodejs/node/pull/54070 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
[ { "path": "lib/internal/console/constructor.js", "patch": "@@ -78,7 +78,6 @@ function lazyUtilColors() {\n }\n \n // Track amount of indentation required via `console.group()`.\n-const kGroupIndent = Symbol('kGroupIndent');\n const kGroupIndentationWidth = Symbol('kGroupIndentWidth');\n const kFormatForStde...
2024-07-30T04:38:21
golang/go
d584d2b3dda9ab88a51a3e9cffe8ecd140479cef
a08d2db6d1b8a46d2fc909b848da20ef1b8f5e8f
cmd/go: fix version stamping for v2 modules and subdirectories We were not passing the module path to newCodeRepo which caused it to incorrectly parse the major version. This allowed v0 and v1 modules to work because an empty major version is allowed in that case. Additionally we need to pass the root module path to ...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -2577,7 +2577,16 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {\n \t\t}\n \t\tappendSetting(\"vcs.modified\", strconv.FormatBool(st.Uncommitted))\n \t\t// Determine the correct version of this module at the current revision an...
2025-03-31T19:06:43
facebook/react
a4195750779dbd9a13e1615fbbd493bf2c5768ca
75c1bd7ee7e4a87a4dd0f560e157c57957ef823b
fix[devtools/useMemoCache]: add stub for useMemoCache in ReactDebugHook (#27472) Currently, we have this error in our logs of the internal version of React DevTools: ``` TypeError: Cannot read properties of undefined (reading 'memoCache') at Proxy.useMemoCache (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhc...
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -48,19 +48,9 @@ type Dispatch<A> = A => void;\n \n let primitiveStackCache: null | Map<string, Array<any>> = null;\n \n-type MemoCache = {\n- data: Array<Array<any>>,\n- index: number,\n-};\n-\n-type FunctionComponentUpdateQueue =...
2023-10-17T17:39:10
electron/electron
a6c9aefb4aa37341017359a43d041bcdcacf98e8
13be6dc8b499064fca5501d4cc2c5d9f212f7d3b
chore: fix TrustedTypes policy in `chrome://accessibility` (#38179) chore: fix TrustedTypes policy in chrome://accessibility
[ { "path": "shell/browser/ui/webui/accessibility_ui.cc", "patch": "@@ -321,6 +321,10 @@ ElectronAccessibilityUI::ElectronAccessibilityUI(content::WebUI* web_ui)\n base::BindRepeating(&HandleAccessibilityRequestCallback,\n web_ui->GetWebContents()->GetBrowserContext()));\n \n+ ...
2023-05-08T08:39:04
vercel/next.js
e4b6c8e2c3fa38551d26326141fe85b618f6df8f
ff5707b95e43cb7f2c99475fa1ab98fcd2821e8c
fix(turbopack): external script should under async module (#81362) Follow up: https://github.com/vercel/next.js/pull/80768 Sorry i miss something, script external should under async module because it needs to execute loadurl function(which is async)
[ { "path": "turbopack/crates/turbopack-ecmascript/src/references/external_module.rs", "patch": "@@ -209,7 +209,8 @@ impl Module for CachedExternalModule {\n #[turbo_tasks::function]\n fn is_self_async(&self) -> Result<Vc<bool>> {\n Ok(Vc::cell(\n- self.external_type == CachedExtern...
2025-07-08T00:26:02
nodejs/node
d7941b24ae6d3e647b0b1e9e543a01ad370b1a08
cf9a8140aa3ca61e614dfa18efbb87499bd5d40f
test: do not swallow uncaughtException errors in exit code tests PR-URL: https://github.com/nodejs/node/pull/54039 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/common/process-exit-code-cases.js", "patch": "@@ -62,23 +62,25 @@ function getTestCases(isWorker = false) {\n cases.push({ func: changeCodeInsideExit, result: 99 });\n \n function zeroExitWithUncaughtHandler() {\n+ const noop = () => { };\n process.on('exit', (code) => {\n- a...
2024-07-25T10:42:11
golang/go
adb29670fcf704e1b76db4d31331aaecd0db7118
20a924fe877b70af75d26d0e7fa86b3310851f76
runtime: protect plan9 time_now function with !faketime build tag The introduction of monotonic time support for Plan 9 in CL 656755 causes a build error with multiple declaration of time_now when built with tag faketime. Correct this by moving function time_now into its own source file with !faketime build tag. Fixe...
[ { "path": "src/runtime/os_plan9.go", "patch": "@@ -222,6 +222,7 @@ func unminit() {\n // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.\n //\n // This always runs without a P, so //go:nowritebarrierrec is required.\n+//\n //go:nowritebarrierrec\n func mdestroy(mp *m) {\n...
2025-04-04T19:48:18
facebook/react
9abf6fa31cd7ff4c6e54de75950620e203c59ebf
67cc9ba8789335b9da0838a446137c1be62adbcd
feat[react-devtools-extensions/logging]: initialize session id on the client for logging (#27517) This code is executed once React DevTools panels are mounted, basically when user opens browser's DevTools. Based on this fact, session in this case is defined by browser's DevTools session, while they are open. A sess...
[ { "path": "packages/react-devtools-shared/src/registerDevToolsEventLogger.js", "patch": "@@ -12,7 +12,8 @@ import type {LoggerEvent} from 'react-devtools-shared/src/Logger';\n import {registerEventLogger} from 'react-devtools-shared/src/Logger';\n import {enableLogger} from 'react-devtools-feature-flags';\n...
2023-10-17T14:23:53
electron/electron
13be6dc8b499064fca5501d4cc2c5d9f212f7d3b
3a7cfe300a59ad161d08b9da4edf6737d471ec60
test: enable CircleCI's "re-run failed tests only" feature (#38178) * test: enable CircleCI rerun failed *tests* only * . * . * console.log never fails :shrug: * normalize the filtered paths circleci gives us a list of absolute paths here * remove test output check sometimes rerunning only failed test...
[ { "path": ".circleci/config/base.yml", "patch": "@@ -452,7 +452,7 @@ step-get-more-space-on-mac: &step-get-more-space-on-mac\n fi\n background: true\n \n-# On macOS delete all .git directories under src/ expect for\n+# On macOS delete all .git directories under src/ except for\n # third_party/angl...
2023-05-08T08:14:59
vercel/next.js
ff5707b95e43cb7f2c99475fa1ab98fcd2821e8c
cacd2e45d51696e5beab22b23d0db485c557e0ca
fix(CI): Update llvm when building native musl targets (#81392) Tested locally with ``` podman run --platform=linux/amd64 -t -i ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine bash ``` We must ensure llvm16 is removed before installing llvm20 and llvm20-dev, as there's a file conflict between llvm16 and...
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -247,7 +247,8 @@ jobs:\n build: >-\n set -ex &&\n apk update &&\n- apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&\n+ apk del llvm &&...
2025-07-07T23:32:41
golang/go
20a924fe877b70af75d26d0e7fa86b3310851f76
3046b499918929944cbce1c0ed14c14d0b431adf
log/slog: make examples playable Fixes #69246 Change-Id: I8e59132980404ee58ba2ca8718dd9f68404fdf8d GitHub-Last-Rev: f59d3fad2002cda69a24789f2fdd4e9753cede9c GitHub-Pull-Request: golang/go#69249 Reviewed-on: https://go-review.googlesource.com/c/go/+/610535 Reviewed-by: Sean Liao <sean@liao.dev> Auto-Submit: Sean Liao ...
[ { "path": "src/log/slog/example_discard_test.go", "patch": "@@ -6,15 +6,20 @@ package slog_test\n \n import (\n \t\"log/slog\"\n-\t\"log/slog/internal/slogtest\"\n \t\"os\"\n )\n \n func Example_discardHandler() {\n+\tremoveTime := func(groups []string, a slog.Attr) slog.Attr {\n+\t\tif a.Key == slog.TimeKe...
2025-04-06T16:29:46
nodejs/node
cf9a8140aa3ca61e614dfa18efbb87499bd5d40f
c40c41c285274314d10ff8f3e3f8717e12f099d8
module: fix extensionless typescript in cjs loader PR-URL: https://github.com/nodejs/node/pull/54062 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jam...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -653,9 +653,13 @@ function getDefaultExtensions() {\n let extensions = ObjectKeys(Module._extensions);\n const tsEnabled = getOptionValue('--experimental-strip-types');\n if (tsEnabled) {\n+ // remove .ts and .cts from the default extensi...
2024-07-29T19:43:28
facebook/react
84da8994bd55f4a908fe0ca8446d1bb4d09adee2
4fc392e6280fcf0459cc950ee750e109f3701766
Test cases for reactive (control) dependencies Adds test cases for all the cases of control dependencies that I can think of. We don't currently handle control dependencies correctly in any of these cases. There's also another test case which demonstrates why reactive dependency inference needs to be fixpoint, ev...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug.reactive-control-dependency-do-while-test.expect.md", "patch": "@@ -0,0 +1,64 @@\n+\n+## Input\n+\n+```javascript\n+function Component(props) {\n+ let x;\n+ let i = 0;\n+ do {\n+ if (i > 10) {\n+ x = 10;\n+...
2023-10-17T08:48:23
rust-lang/rust
99c45c503eef0218c96406623808e7e37d4e430c
a2b126b6e6a56633d35bcb01f50c71b5af88a845
fix: complete `.let` on block tail prefix expression Example --- ```rust fn main() { &baz.l$0 } ``` **Before this PR** ```text sn if if expr {} sn match match expr {} ``` **After this PR** ```text sn if if expr {} sn let let sn letm let mut sn match match expr {} ```
[ { "path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/postfix.rs", "patch": "@@ -16,7 +16,7 @@ use itertools::Itertools;\n use stdx::never;\n use syntax::{\n SmolStr,\n- SyntaxKind::{EXPR_STMT, STMT_LIST},\n+ SyntaxKind::{BLOCK_EXPR, EXPR_STMT, STMT_LIST},\n T, TextRange, Te...
2026-02-07T08:07:17
electron/electron
a7adbae543d7caac3d67901158570307927c81d2
f8d534f33e83c6323ed4354e51ef7d736ac24ab1
docs: fix typing of session.setDevicePermissionHandler (#38188)
[ { "path": "docs/api/session.md", "patch": "@@ -1024,7 +1024,7 @@ Passing `null` instead of a function resets the handler to its default state.\n * `details` Object\n * `deviceType` string - The type of device that permission is being requested on, can be `hid`, `serial`, or `usb`.\n * `origin` str...
2023-05-08T07:46:35
vercel/next.js
7a05d5d2a1710ac2589f369448d621b1bf7b56c2
be0cc7ade5951a55de7da00b11530a3db14535e0
fix(build): improve static path generation performance and fix parameter collisions (#81254) ## Summary • **Performance**: Replace O(n²) parameter deduplication with O(n) Map-based approach • **Architecture**: Rewrite `assignErrorIfEmpty` using [Trie data structure](https://en.wikipedia.org/wiki/Trie) • **Testing**: ...
[ { "path": "packages/next/src/build/static-paths/app.test.ts", "patch": "@@ -7,7 +7,7 @@ import {\n import type { PrerenderedRoute } from './types'\n \n describe('assignErrorIfEmpty', () => {\n- it('should assign throwOnEmptyStaticShell false for a static route', () => {\n+ it('should assign throwOnEmptySt...
2025-07-07T16:47:57
nodejs/node
be7a0c578026dda29a1c9e76d5a0e04b71f25601
269175b2b45dc16dd515509c6d8638de4ce044c5
module: do not warn for typeless package.json when there isn't one It was intended that warnings should only be emitted for an existing package.json without a type. This fixes a confusing warning telling users to update /package.json when there are no package.json on the lookup path at all, like this: [MODULE_TYPELES...
[ { "path": "lib/internal/modules/esm/get_format.js", "patch": "@@ -92,8 +92,9 @@ let typelessPackageJsonFilesWarnedAbout;\n function warnTypelessPackageJsonFile(pjsonPath, url) {\n typelessPackageJsonFilesWarnedAbout ??= new SafeSet();\n if (!typelessPackageJsonFilesWarnedAbout.has(pjsonPath)) {\n- co...
2024-07-29T17:46:41
facebook/react
640994f49b5cfb09eb65632b155570ba1c90878f
f5d1ff0a3c84b004bc8f7dd04d9e490b5b85b160
[playground] Only log error to console when clicked
[ { "path": "compiler/apps/playground/components/Editor/Output.tsx", "patch": "@@ -16,7 +16,7 @@ import MonacoEditor, { DiffEditor } from \"@monaco-editor/react\";\n import { type CompilerError } from \"babel-plugin-react-forget\";\n import prettier from \"prettier\";\n import prettierParserBabel from \"prett...
2023-10-16T14:54:33
rust-lang/rust
c5587ca91967f91bf2f1467fbfa68e5d5448bce3
cda9b8c15752df635d693cfe73b147e6090faddc
Split `parse_inner_attr` errors by case
[ { "path": "compiler/rustc_parse/src/parser/attr.rs", "patch": "@@ -209,13 +209,25 @@ impl<'a> Parser<'a> {\n AllowConstBlockItems::Yes,\n ) {\n Ok(Some(item)) => {\n- // FIXME(#100717)\n err.arg(\"item\", item.kind.descr());\n- er...
2026-02-06T15:59:55
vercel/next.js
17c05b67bdea952b1d39b0eb46d87920f40b38df
1a31db0335e1d853fddf7f5d187ca161773ffe01
Always consider `captureOwnerStack` optional (#81370) When running `next build` with a custom `NODE_ENV` (e.g. `test` or `development`), the `captureOwnerStack` method is not defined and may lead to errors if called. This change ensures that we only call `captureOwnerStack` if it is defined, preventing potential runti...
[ { "path": "packages/next/src/server/app-render/dynamic-rendering.ts", "patch": "@@ -664,7 +664,10 @@ function createErrorWithComponentOrOwnerStack(\n componentStack: string\n ) {\n const ownerStack =\n- process.env.NODE_ENV !== 'production' ? React.captureOwnerStack() : null\n+ process.env.NODE_EN...
2025-07-07T13:53:21
electron/electron
bb490161fbde204c387d7f15ed1f0048925155c8
bc957e394594642c0f49b5e9ef5841622c2f50d7
fix: printing crash when settings invalid (#38165)
[ { "path": "patches/chromium/printing.patch", "patch": "@@ -617,7 +617,7 @@ index 82f44b6c90f292772b56253a99578394b5cc2881..91ee0c3d66c33adee346060a0ecd931d\n // Tells the browser printing failed.\n PrintingFailed(int32 cookie, PrintFailureReason reason);\n diff --git a/components/printing/renderer/pri...
2023-05-04T13:10:54
facebook/react
67cc9ba8789335b9da0838a446137c1be62adbcd
18a9dd1c60fdb711982f32ce5d91acfe8f158fe1
Fix: error messages (#27523) <!-- 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 make sure the foll...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMAttribute-test.js", "patch": "@@ -106,7 +106,7 @@ describe('ReactDOM unknown attribute', () => {\n expect(test).toThrowError(new TypeError('prod message')),\n ).toErrorDev(\n 'Warning: The provided `unknown` attribute is an unsupporte...
2023-10-16T14:05:42
nodejs/node
7480a903f4255dce3606d3d2bea10b4f0475de9b
6ad25e37b570124d82e6cb25e237592c9b927ec4
doc: fix typo in technical-priorities.md added a space between the two words. PR-URL: https://github.com/nodejs/node/pull/54094 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
[ { "path": "doc/contributing/technical-priorities.md", "patch": "@@ -130,7 +130,7 @@ the expansion of where/when Node.js is used in building solutions.\n ## Serverless\n \n Serverless is a cloud computing model where the cloud provider manages the\n-underlyinginfrastructure and automatically allocates resour...
2024-07-29T10:42:33
vercel/next.js
33973b104afd387ede021e2473f0d381eb1c6b10
cb1aed8d8fdb050e82ff1d8b696231df836b6308
Fix duplicates in `optimizePackageImports` `effect` packages (#81253) Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next/src/server/config.ts", "patch": "@@ -1045,11 +1045,10 @@ function assignDefaults(\n '@effect/sql-mssql',\n '@effect/sql-mysql2',\n '@effect/sql-pg',\n- '@effect/sql-squlite-node',\n- '@effect/sql-squlite-bun',\n- '@effect/sql-squlite-wasm',\n- '...
2025-07-07T11:07:31
electron/electron
bc957e394594642c0f49b5e9ef5841622c2f50d7
ee1e6aab3ef6755b4e3f13edc64ca6df6e629553
test: use `await` to call "closeWindow" (#38166) * test: wait for an async "closeWindow" call * fixup! test: wait for an async "closeWindow" call
[ { "path": "spec/api-web-contents-view-spec.ts", "patch": "@@ -4,7 +4,11 @@ import { BaseWindow, WebContentsView } from 'electron/main';\n \n describe('WebContentsView', () => {\n let w: BaseWindow;\n- afterEach(() => closeWindow(w as any).then(() => { w = null as unknown as BaseWindow; }));\n+\n+ afterE...
2023-05-03T22:14:46
golang/go
3046b499918929944cbce1c0ed14c14d0b431adf
a6e74454577c68ea96ce6512e3e92beffbe15c5c
crypto/tls: add offered cipher suites to the handshake error This change makes debugging easier if the server handshake fails because the client only offers unsupported algorithms. Change-Id: I7daac173a16af2e073aec3d9b59709560f540c6f Reviewed-on: https://go-review.googlesource.com/c/go/+/631555 Reviewed-by: Dmitri Sh...
[ { "path": "src/crypto/tls/handshake_server.go", "patch": "@@ -378,7 +378,8 @@ func (hs *serverHandshakeState) pickCipherSuite() error {\n \ths.suite = selectCipherSuite(preferenceList, hs.clientHello.cipherSuites, hs.cipherSuiteOk)\n \tif hs.suite == nil {\n \t\tc.sendAlert(alertHandshakeFailure)\n-\t\tretu...
2024-11-24T14:28:34
facebook/react
1b4ba7489978247fc955a99f01537f6fc79ffd97
bb778528d1ca22b44dad832f0258aaa4c0e6d4a4
refactor: align ReactNativeViewConfigRegistry flow typing (#27514) <!-- 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 p...
[ { "path": "scripts/flow/react-native-host-hooks.js", "patch": "@@ -134,7 +134,6 @@ declare module 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface'\n declare export var ReactNativeViewConfigRegistry: {\n customBubblingEventTypes: Object,\n customDirectEventTypes: Object,\n- even...
2023-10-13T09:33:55
nodejs/node
6ad25e37b570124d82e6cb25e237592c9b927ec4
5210cd860ac0d4497c823815c01ff49215062fd8
doc: fix typo in diagnostic tooling support tiers document PR-URL: https://github.com/nodejs/node/pull/54058 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By:...
[ { "path": "doc/contributing/diagnostic-tooling-support-tiers.md", "patch": "@@ -26,7 +26,7 @@ the following tiers.\n organization or website;\n * The tool must be working on all supported platforms;\n * The tool must only be using APIs exposed by Node.js as opposed to\n- its dependencies; and\n+ ...
2024-07-29T06:36:41
rust-lang/rust
c1091da34c052b2260c7d4d5e0d4c6a63a34a0b8
edd43c9e1f9fbca3e7f95447fbade7cb1bf11d7c
Fix existing messages in stderrs
[ { "path": "tests/rustdoc-ui/ice-bug-report-url.stderr", "patch": "@@ -9,7 +9,7 @@ LL | fn wrong()\n aborting due to `-Z treat-err-as-bug=1`\n stack backtrace:\n \n-error: the compiler unexpectedly panicked. this is a bug.\n+error: the compiler unexpectedly panicked. This is a bug\n \n note: we would appreci...
2026-02-06T20:16:53
vercel/next.js
de7e13e5eb66c24d6174d85e4590b8c00e0c6b7e
6b5c9548f6f08ea25c37bbdf516e846fd2227522
Remove incorrect PostCSS config type (#81338) ### What? Currently the docs is incorrectly suggesting to type the PostCSS config with types from Tailwind CSS. This pull request removed the wrong types. If desired one can correctly type the config with the [`postcss-load-config`](https://github.com/postcss/postcss-loa...
[ { "path": "docs/01-app/02-guides/tailwind-css.mdx", "patch": "@@ -22,8 +22,7 @@ npm install -D tailwindcss @tailwindcss/postcss postcss\n \n Create a `postcss.config.mjs` file in the root of your project and add the `@tailwindcss/postcss` plugin to your PostCSS configuration:\n \n-```js filename=\"postcss.c...
2025-07-05T23:17:10
golang/go
a6e74454577c68ea96ce6512e3e92beffbe15c5c
e8adc393327c92525902d38a34af7f2a24e78e25
cmd/go/internal/load: join incompatible and dirty build specifiers with . Change "+incompatible+dirty" version to be "+incompatible.dirty" such that it is SemVer spec compatible. Fixes #71971 Change-Id: I714ffb3f1ad88c793656c3652367db34739a2144 Reviewed-on: https://go-review.googlesource.com/c/go/+/652955 LUCI-TryBo...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -2585,7 +2585,12 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {\n \t\tvers := revInfo.Version\n \t\tif vers != \"\" {\n \t\t\tif st.Uncommitted {\n-\t\t\t\tvers += \"+dirty\"\n+\t\t\t\t// SemVer build metadata is dot-separated...
2022-07-19T15:07:00
electron/electron
a26343f3e084028b920a7ea44e6b221350e3546c
d95f9d2c636775946717a95fefee1ada51524a79
fix: falsy transparent shouldn't affect webContents background (#36914)
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -519,17 +519,10 @@ WebContents.prototype._callWindowOpenHandler = function (event: Electron.Event,\n event.preventDefault();\n return defaultResponse;\n } else if (response.action === 'allow') {\n- if (typeof response.overrideBrowserWind...
2023-05-02T21:44:34
facebook/react
bb778528d1ca22b44dad832f0258aaa4c0e6d4a4
ea8a8619ce51a0f8f0a78f87485e4e2a6f9d8c27
[Fizz] Fix children rendering in custom elements with `enableCustomElementPropertySupport` (#27511) The `enableCustomElementPropertySupport` flag changes React's handling of custom elements in a way that is more useful that just treating every prop as an attribute. However when server rendering we have no choice bu...
[ { "path": "packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js", "patch": "@@ -3134,32 +3134,13 @@ function pushStartCustomElement(\n \n let children = null;\n let innerHTML = null;\n- for (let propKey in props) {\n+ for (const propKey in props) {\n if (hasOwnProperty.call(props, propKey)...
2023-10-12T22:02:26
rust-lang/rust
edd43c9e1f9fbca3e7f95447fbade7cb1bf11d7c
ca9c2277008aee9310155c5e6131f0f93f67e3ad
Fix existing messages in the diag structs
[ { "path": "compiler/rustc_codegen_llvm/src/errors.rs", "patch": "@@ -214,5 +214,5 @@ pub(crate) struct FixedX18InvalidArch<'a> {\n }\n \n #[derive(Diagnostic)]\n-#[diag(\"`-Zsanitizer-kcfi-arity` requires LLVM 21.0.0 or later.\")]\n+#[diag(\"`-Zsanitizer-kcfi-arity` requires LLVM 21.0.0 or later\")]\n pub(c...
2026-02-06T20:16:48
nodejs/node
5210cd860ac0d4497c823815c01ff49215062fd8
01cf9bccdfa7fb31a8a1d91ae45e594a730e0427
typings: fix typo on quic onSessionDatagram PR-URL: https://github.com/nodejs/node/pull/54064 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> R...
[ { "path": "typings/internalBinding/quic.d.ts", "patch": "@@ -2,7 +2,7 @@ interface QuicCallbacks {\n onEndpointClose: (context: number, status: number) => void;\n onSessionNew: (session: Session) => void;\n onSessionClose: (type: number, code: bigint, reason?: string) => void;\n- onSessionDatagram: (...
2024-07-29T04:52:07
vercel/next.js
6b5c9548f6f08ea25c37bbdf516e846fd2227522
6ba9c21d29d8f3786fcb0ad4c419819ea0ffbd4d
fix(docs): correct section count from 4 to 3 in intro (#81323) The docs mention 4 sections but only list 3: Getting Started, Guides, and API Reference. This updates the "How to use the docs" section to correctly reflect that only 3 sections are listed, not 4. **Before:** The docs are organized into 4 sections: **Af...
[ { "path": "docs/index.mdx", "patch": "@@ -20,7 +20,7 @@ Whether you're an individual developer or part of a larger team, Next.js can hel\n \n ## How to use the docs\n \n-The docs are organized into 4 sections:\n+The docs are organized into 3 sections:\n \n - [Getting Started](/docs/app/getting-started): Ste...
2025-07-05T23:14:14
golang/go
e8adc393327c92525902d38a34af7f2a24e78e25
16dbd2be3969f4658ced59ddb89871d9f00cf3a5
cmd/go: fix GOAUTH parsing for trailing slash We were treating a url with a trailing slash differently than one without. This CL treats them the same. Additionally this fixes a bug in the way we iteratively try different prefixes. We were only trying the host url but this change now tries all different prefixes. Fix...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2618,7 +2618,7 @@\n //\t\tBlankLine = '\\n' .\n //\n //\tExample:\n-//\t\thttps://example.com/\n+//\t\thttps://example.com\n //\t\thttps://example.net/api/\n //\n //\t\tAuthorization: Basic <token>", "additions": 1, "deletions": 1, "language":...
2025-04-02T20:30:37
electron/electron
f35b9b3f06663e657a2f3b36cc021cf4b109ab26
a0a44f07dda3562bcd7039e0270eae32be7549d6
fix: `AXManualAccessibility` showing failure (#38102) fix: AXManualAccessibility showing failure
[ { "path": "docs/tutorial/accessibility.md", "patch": "@@ -28,6 +28,8 @@ On macOS, third-party assistive technology can toggle accessibility features ins\n Electron applications by setting the `AXManualAccessibility` attribute\n programmatically:\n \n+Using Objective-C:\n+\n ```objc\n CFStringRef kAXManualAc...
2023-04-26T17:41:56
rust-lang/rust
2eec6178094351111d908627511628005c220826
a2b126b6e6a56633d35bcb01f50c71b5af88a845
internal: remove redundant double call in postfix
[ { "path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/postfix.rs", "patch": "@@ -91,8 +91,7 @@ pub(crate) fn complete_postfix(\n // so it's better to consider references now to avoid breaking the compilation\n \n let (dot_receiver_including_refs, prefix) = include_references(dot_r...
2026-02-07T08:02:23
nodejs/node
01cf9bccdfa7fb31a8a1d91ae45e594a730e0427
5ac969fdcaaf4fa232a1ac6ff976b4ff5cdae0d8
lib: support dynamic trace events on debugWithTimer PR-URL: https://github.com/nodejs/node/pull/53913 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
[ { "path": "lib/internal/util/debuglog.js", "patch": "@@ -20,7 +20,7 @@ const {\n CHAR_LOWERCASE_N: kTraceInstant,\n } = require('internal/constants');\n const { inspect, format, formatWithOptions } = require('internal/util/inspect');\n-const { isTraceCategoryEnabled, trace } = internalBinding('trace_event...
2024-07-28T17:20:38
vercel/next.js
6ba9c21d29d8f3786fcb0ad4c419819ea0ffbd4d
65df0c37c1edd746e9d83bd6d48fd152c8f5b192
fix typo (#81336) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - R...
[ { "path": "docs/01-app/01-getting-started/09-caching-and-revalidating.mdx", "patch": "@@ -154,7 +154,7 @@ See the [`unstable_cache` API reference](/docs/app/api-reference/functions/unsta\n \n ## `revalidateTag`\n \n-`revalidateTag` is used to revalidate a cache entries based on a tag and following an event....
2025-07-05T22:54:02
golang/go
16dbd2be3969f4658ced59ddb89871d9f00cf3a5
6fd9ee3da9dc5570f66735e835cac2d66a0f6244
cmd/compile: be more conservative about arm64 insns that can take zero register It's really only needed for stores and store-like instructions (atomic exchange, compare-and-swap, ...). Fixes #73180 Change-Id: I8ecd833a301355adf0fa4bff43250091640c6226 Reviewed-on: https://go-review.googlesource.com/c/go/+/663155 Revi...
[ { "path": "src/cmd/compile/internal/ssa/_gen/ARM64Ops.go", "patch": "@@ -138,17 +138,17 @@ func init() {\n \t// Common individual register masks\n \tvar (\n \t\tgp = buildReg(\"R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 R30\")\n-\t\tgpg = gp ...
2025-04-05T15:34:12
facebook/react
28767a7afb7ca426712b588dbc3beacc12f645b8
4fe0ab41e323acb990cace942ef26630b42ac0d1
Inline reactive scope dep checks; no more change vars Reactive scopes are currently preceded by individual variable declarations, one for each of the scope's dependencies. Only after checking independently if each of these dependencies has changed do we then do an "or" to check if we should actually recompute the ...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/CodegenReactiveFunction.ts", "patch": "@@ -237,28 +237,17 @@ function codegenMemoBlockForReactiveScope(\n ): void {\n const cacheStoreStatements: Array<t.Statement> = [];\n const cacheLoadStatements: Array<t.Statement> = [];\n- c...
2023-10-12T19:03:42
electron/electron
a0a44f07dda3562bcd7039e0270eae32be7549d6
08593fd2bdb38de2b409cda0692ac57abf410e9e
chore: correct extra qualification causing build error with GCC (#37548) * chore: correct extra qualification causing build error with GCC * fixup for lint * chore: fix lint --------- Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
[ { "path": "shell/browser/hid/electron_hid_delegate.h", "patch": "@@ -94,9 +94,8 @@ class ElectronHidDelegate : public content::HidDelegate,\n namespace base {\n \n template <>\n-struct base::ScopedObservationTraits<\n- electron::HidChooserContext,\n- electron::HidChooserContext::DeviceObserver> {\n+st...
2023-04-26T14:40:02
rust-lang/rust
2f06c639c3014cdf3260133a72b4eebd4c924f3d
5db03861b063bad596fef43759df988c6e7e28c1
libm: Fix acoshf and acosh for negative inputs The acosh functions were incorrectly returning finite values for some negative inputs (should be NaN for any `x < 1.0`) The bug was inherited when originally ported from musl, and this patch follows their fix for single-precision acoshf in [1]. A similar fix is applied ...
[ { "path": "library/compiler-builtins/libm-test/src/precision.rs", "patch": "@@ -266,6 +266,15 @@ impl MaybeOverride<(f64,)> for SpecialCase {\n return XFAIL_NOCHECK;\n }\n \n+ if ctx.base_name == BaseName::Acosh\n+ && input.0 < 1.0\n+ && actual.is_nan()\n+ ...
2026-02-02T23:14:54
nodejs/node
e4263dad968b949b41922dbc371344d784a5b8a0
69a69f6ca39e8fe3ad831605a609cd95a40af621
assert: use isError instead of instanceof in innerOk Co-Authored-By: Ruben Bridgewater <ruben@bridgewater.de> Co-Authored-By: Nihar Phansalkar <phansalkarnihar@gmail.com> PR-URL: https://github.com/nodejs/node/pull/53980 Fixes: https://github.com/nodejs/node/issues/50780 Reviewed-By: James M Snell <jasnell@gmail.com> ...
[ { "path": "lib/assert.js", "patch": "@@ -393,7 +393,7 @@ function innerOk(fn, argLen, value, message) {\n } else if (message == null) {\n generatedMessage = true;\n message = getErrMessage(message, fn);\n- } else if (message instanceof Error) {\n+ } else if (isError(message)) {\n ...
2024-07-28T13:13:59
rust-lang/rust
5db03861b063bad596fef43759df988c6e7e28c1
a47510aa0f13ec8e76c4c4ca904e96b85cbd5126
libm-test: Remove exception for fmaximum_num tests This was left over from f6a23a78c44e ("fmaximum,fminimum: Fix incorrect result and add tests"). [ added context to body - Trevor ]
[ { "path": "library/compiler-builtins/libm-test/src/precision.rs", "patch": "@@ -401,14 +401,6 @@ fn binop_common<F1: Float, F2: Float>(\n return SKIP;\n }\n \n- // FIXME(#939): this should not be skipped, there is a bug in our implementationi.\n- if ctx.base_name == BaseName::FmaximumNum\n...
2026-02-02T22:35:17
golang/go
1647896aa227d8546de3dbe70a5049eecee964e3
e373771490bab84449c7981a6be84e995de1ae80
cmd/compile: on 32-bit, bump up align for values that may contain 64-bit fields On 32-bit systems, these need to be aligned to 8 bytes, even though the typechecker doesn't tell us that. The 64-bit allocations might be the target of atomic operations that require 64-bit alignment. Fixes 386 longtest builder. Fixes #...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -701,20 +701,42 @@ func (s *state) paramsToHeap() {\n \tdo(typ.Results())\n }\n \n+// allocSizeAndAlign returns the size and alignment of t.\n+// Normally just t.Size() and t.Alignment(), but there\n+// is a special case to handle 64-bit atomi...
2025-04-04T20:05:23
vercel/next.js
2d19dc626babcaf28665c270e1b58d717846bbb9
8d789925573d8ac092703a65f6ce372b0c573eda
[dynamicIO] Use owner stacks for dynamic validation errors (#81277) With recent improvements in React, and after switching to the React builds for Node.js in #81048, we can now generate better dynamic validation error stacks in dev mode by utilizing owner stacks instead of component stacks. For async I/O, we're using...
[ { "path": "packages/next/src/export/index.ts", "patch": "@@ -410,6 +410,14 @@ async function exportAppImpl(\n authInterrupts: !!nextConfig.experimental.authInterrupts,\n },\n reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,\n+ hasReadableErrorStacks:\n+ nextConfig.experimental....
2025-07-04T20:09:23
facebook/react
87b1549d5c11da3370caf947231c09c39d7053da
52c6a34da30ffee665183df2aa8f97e3511fbd9e
Improve MergeConsecutiveScopes Rewrites the core logic of MergeConsecutiveScopes to be easier to follow and fix bugs. We now do a two-pass approach: * First we iterate block instructions to identify scopes which can be merged, without actually merging the instructions themselves. * Then we iterate again, copyin...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Pipeline.ts", "patch": "@@ -44,8 +44,8 @@ import {\n flattenScopesWithObjectMethods,\n inferReactiveScopeVariables,\n memoizeFbtOperandsInSameScope,\n- mergeConsecutiveScopes,\n mergeOverlappingReactiveScopes,\n+ mergeReactiveSc...
2023-10-12T16:47:26
electron/electron
08593fd2bdb38de2b409cda0692ac57abf410e9e
fe5cdd39d64d6c43ee01fed969816260abdf4410
chore: fix clang-tidy warnings (#38079) * chore: fix clang-tidy warnings * refactor: avoid need for NOLINTNEXTLINE
[ { "path": ".clang-tidy", "patch": "@@ -0,0 +1,4 @@\n+---\n+Checks: '-modernize-use-nullptr'\n+InheritParentConfig: true\n+...", "additions": 4, "deletions": 0, "language": "Unknown" }, { "path": "shell/browser/api/electron_api_desktop_capturer.cc", "patch": "@@ -243,8 +243,8 @@ void ...
2023-04-26T14:09:54
nodejs/node
69a69f6ca39e8fe3ad831605a609cd95a40af621
2b5856e466fa81a8f196fd0bb7849418f69ea20c
http: add diagnostics channel `http.client.request.error` PR-URL: https://github.com/nodejs/node/pull/54054 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
[ { "path": "doc/api/diagnostics_channel.md", "patch": "@@ -1129,6 +1129,13 @@ independently.\n \n Emitted when client starts a request.\n \n+`http.client.request.error`\n+\n+* `request` {http.ClientRequest}\n+* `error` {Error}\n+\n+Emitted when an error occurs during a client request.\n+\n `http.client.respo...
2024-07-28T09:57:38
facebook/react
e61a60fac02d205ad928bff6de2449f00646a92c
1fc58281af73ca4507c41d53a3e08dc2038b0c1f
[Flight] Enforce "simple object" rule in production (#27502) We only allow plain objects that can be faithfully serialized and deserialized through JSON to pass through the serialization boundary. It's a bit too expensive to do all the possible checks in production so we do most checks in DEV, so it's still possi...
[ { "path": "packages/react-client/src/ReactFlightReplyClient.js", "patch": "@@ -29,6 +29,9 @@ import {\n } from 'shared/ReactSerializationErrors';\n \n import isArray from 'shared/isArray';\n+import getPrototypeOf from 'shared/getPrototypeOf';\n+\n+const ObjectPrototype = Object.prototype;\n \n import {usedW...
2023-10-11T16:18:49
golang/go
6839e71d82e0f2c93e043820db6c0238a65ae0fa
7a427143b6ff296125359084a8959bf0c9d23e78
internal/syscall/windows: use unsafe.Pointer instead of uintptr Some functions accept a uintptr when they should accept an unsafe.Pointer, else the compiler won't know that the pointer should be kept alive across the call, potentially causing undefined behavior. Fixes #73156 (potentially) Change-Id: I29c847eb8ffbb78...
[ { "path": "src/internal/syscall/windows/at_windows.go", "patch": "@@ -116,7 +116,7 @@ func Openat(dirfd syscall.Handle, name string, flag uint64, perm uint32) (_ sysc\n \t\tFILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,\n \t\tdisposition,\n \t\tFILE_SYNCHRONOUS_IO_NONALERT|FILE_OPEN_FOR_BACKUP_INTENT|o...
2025-04-04T10:16:09
vercel/next.js
05d179cb16eee28437ee72fdd4886f2278c8d925
383e000d380e60567a946ef820bd2af1e7459f9e
Allow `pnpm build` to be run when offline (#81273) When running `pnpm build` in the Next.js repo without an internet connection, this currently fails while trying to download the AMP `validator_wasm.js` file. We can fix this, and thus enable offline support for `pnpm build`, by moving the download of this file from th...
[ { "path": "packages/next/taskfile.js", "patch": "@@ -676,6 +676,23 @@ export async function ncc_amphtml_validator(task, opts) {\n .source(relative(__dirname, require.resolve('amphtml-validator')))\n .ncc({ packageName: 'amphtml-validator', externals })\n .target('src/compiled/amphtml-validator')...
2025-07-04T18:41:21
electron/electron
f4b7e59b2d4ec7e6c15574d476feae5a862ee498
a0a1a3645b7353c010311aff17f6a10048e676bd
fix: crash on missing `RenderWidgetHostView` (#38100) chore: fix crash on missing RenderWidgetHostView
[ { "path": "shell/browser/ui/cocoa/electron_inspectable_web_contents_view.mm", "patch": "@@ -287,12 +287,14 @@ - (void)redispatchContextMenuEvent:(NSEvent*)event {\n // Temporarily pretend that the WebContents is fully non-draggable while we\n // re-send the mouse event. This allows the re-dispatched...
2023-04-25T09:30:16
nodejs/node
dcccf9ab9b5086dab25c773f5159e5301f3f0a7e
3779c2ccd26eec4ded52c1e3b2ea09fc18af5109
test: move shared module to `test/common` `test/fixtures/process-exit-code-cases.js` is a shared module and should be in `test/common` (so it gets linted, etc.) and documented in `test/common/README.md`. PR-URL: https://github.com/nodejs/node/pull/54042 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobi...
[ { "path": "test/common/README.md", "patch": "@@ -2,7 +2,7 @@\n \n This directory contains modules used to test the Node.js implementation.\n \n-## Table of Contents\n+## Table of contents\n \n * [ArrayStream module](#arraystream-module)\n * [Benchmark module](#benchmark-module)\n@@ -19,13 +19,14 @@ This dir...
2024-07-25T11:26:27
golang/go
16a6b71f18a5d05dde1a208a317a75fd652597f0
822031dffc43567b4c60e12e77afe48a00028c0e
cmd/compile: improve store-to-load forwarding with compatible types Improve the compiler's store-to-load forwarding optimization by relaxing the type comparison condition. Instead of requiring exact type equality (CMPeq), we now use copyCompatibleType which allows forwarding between compatible types where safe. Fix s...
[ { "path": "src/cmd/compile/internal/ssa/_gen/generic.rules", "patch": "@@ -736,26 +736,26 @@\n // Load of store of same address, with compatibly typed value and same size\n (Load <t1> p1 (Store {t2} p2 x _))\n \t&& isSamePtr(p1, p2)\n-\t&& t1.Compare(x.Type) == types.CMPeq\n+\t&& copyCompatibleType(t1, x.Ty...
2025-04-01T15:43:38
facebook/react
77ec61885fb19607cdd116a6790095afa40b5a94
151e75a128d0fd436dce365335b96c5686f704d4
fix[devtools/inspectElement]: dont pause initial inspectElement call when user switches tabs (#27488) There are not so many changes, most of them are changing imports, because I've moved types for UI in a single file. In https://github.com/facebook/react/pull/27357 I've added support for pausing polling events: w...
[ { "path": "packages/react-devtools-core/src/backend.js", "patch": "@@ -22,7 +22,7 @@ import {\n } from './cachedSettings';\n \n import type {BackendBridge} from 'react-devtools-shared/src/bridge';\n-import type {ComponentFilter} from 'react-devtools-shared/src/types';\n+import type {ComponentFilter} from 'r...
2023-10-10T17:10:17
vercel/next.js
383e000d380e60567a946ef820bd2af1e7459f9e
a0a882e063b95302c6f14f7428005f8cb60175ad
[sourcemaps] ignore-list Webpack runtime (#81229) The way this works in dev is by assigning a dummy sourcemap to the Webpack runtime that ignore-lists everything. The mappings will will be incorrect in development. Production sourcemaps will be correct since those emit real sourcemaps for the webpack runtime where we ...
[ { "path": "packages/next/src/build/webpack/plugins/devtools-ignore-list-plugin.ts", "patch": "@@ -31,6 +31,13 @@ function defaultIsSourceMapAsset(name: string): boolean {\n return name.endsWith('.map')\n }\n \n+function isWebpackRuntimeModule(modulePath: string): boolean {\n+ // webpack:///webpack/bootst...
2025-07-04T16:47:54
electron/electron
a0a1a3645b7353c010311aff17f6a10048e676bd
9b41ab1e5351a3b810916063ca3a0b19e4098d40
docs: fix start highlight tutorial-2-first-app.md (#38069) doc: fix start highlight tutorial-2-first-app.md
[ { "path": "docs/tutorial/tutorial-2-first-app.md", "patch": "@@ -134,7 +134,7 @@ add `electron .` to the `start` command in the [`scripts`][package-scripts]\n field of your package.json. This command will tell the Electron executable to look for the main\n script in the current directory and run it in dev m...
2023-04-25T09:19:14
rust-lang/rust
a47510aa0f13ec8e76c4c4ca904e96b85cbd5126
345acb1afda663de14f74dc9b617b91b8e989139
Allow unstable_name_collisions In recent nightlies we are hitting errors like the following: error: an associated constant with this name may be added to the standard library in the future --> libm/src/math/support/float_traits.rs:248:48 | 248 | const SIGN_MASK: Self::Int = 1 << ...
[ { "path": "library/compiler-builtins/compiler-builtins/src/lib.rs", "patch": "@@ -11,11 +11,11 @@\n #![feature(repr_simd)]\n #![feature(macro_metavar_expr_concat)]\n #![feature(rustc_attrs)]\n-#![feature(float_bits_const)]\n #![cfg_attr(f16_enabled, feature(f16))]\n #![cfg_attr(f128_enabled, feature(f128))]...
2026-02-06T22:14:58
facebook/react
5a8c7594c5f06908dd2f0afb2cb69897909565a2
b61dba64ad6ded12e7ae1245861d2a08ec7ac5ff
Implement JSX whitespace rules So far we've been preserving JSX whitespace all the way through to codegen. But JSX has clear rules around whitespace handling, which allows us to trim whitespace in the input in lots of cases. For the most part this doesn't change our output, but I think that’s generally because of ...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -2829,9 +2829,13 @@ function lowerJsxElement(\n return lowerExpressionToTemporary(builder, expression);\n }\n } else if (exprPath.isJSXText()) {\n+ const text = trimJsxText(exprPath.node.value);\n+ if...
2023-10-09T23:35:47
golang/go
822031dffc43567b4c60e12e77afe48a00028c0e
d164776615f75105c6f988900d798a0f476c4668
sync: add WaitGroup.Go Fixes #63796 Change-Id: I2a941275dd64ef858cbf02d31a759fdc5c082ceb Reviewed-on: https://go-review.googlesource.com/c/go/+/662635 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Carlos Amedee <c...
[ { "path": "api/next/63796.txt", "patch": "@@ -0,0 +1 @@\n+pkg sync, method (*WaitGroup) Go(func()) #63769", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "doc/next/6-stdlib/99-minor/sync/63769.md", "patch": "@@ -0,0 +1,2 @@\n+[WaitGroup] has added a new method...
2025-04-03T15:10:16
vercel/next.js
dc48e551fa956d6c992f59aaf76b033c656d6ec7
e574dcb2e11ec80daa68015540f7b53cf5694675
Turbopack: fix instrumentation-edge layer name (#81304) A typo Regression from https://github.com/vercel/next.js/pull/80388
[ { "path": "crates/next-api/src/project.rs", "patch": "@@ -1567,7 +1567,7 @@ impl Project {\n self.execution_context(),\n ),\n Layer::new_with_user_friendly_name(\n- rcstr!(\"instrumentation\"),\n+ rcstr!(\"instrumentation-edge\"),\n ...
2025-07-04T16:14:48
electron/electron
141f65b291763bb70dd971f92ac20c5f71de4177
b626be5e33be3d25b6b371770dfeb675449ab7cf
fix: webContents return type incorrect (#38026) * fix: webContents type incorrect * fix: ci failed * fix: ci failed 2
[ { "path": "docs/api/web-contents.md", "patch": "@@ -65,28 +65,28 @@ for all windows, webviews, opened devtools, and devtools extension background pa\n \n ### `webContents.getFocusedWebContents()`\n \n-Returns `WebContents` | null - The web contents that is focused in this application, otherwise\n+Returns `W...
2023-04-24T14:28:21
facebook/react
a1461016df10f2a5f3e0e6fb60b1820c55c1f5be
49d16ba7e561d8d401a75121637d5f7a1c002d2a
Improve MergeConsecutiveScopes Rewrites the core logic of MergeConsecutiveScopes to be easier to follow and fix bugs. We now do a two-pass approach: * First we iterate block instructions to identify scopes which can be merged, without actually merging the instructions themselves. * Then we iterate again, copyin...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/MergeConsecutiveScopes.ts", "patch": "@@ -5,6 +5,7 @@\n * LICENSE file in the root directory of this source tree.\n */\n \n+import { CompilerError } from \"..\";\n import {\n IdentifierId,\n InstructionId,\n@@ -17,6 +18,8 @@ imp...
2023-10-09T23:15:30
golang/go
d164776615f75105c6f988900d798a0f476c4668
8969771cc3ceed634844dd6c911f3a5439424a97
internal/poll: simplify execIO execIO has multiple return paths and multiple places where error is mangled. This CL simplifies the function by just having one return path. Some more tests have been added to ensure that the error handling is done correctly. Updates #19098. Change-Id: Ida0b1e85d4d123914054306e5bef8da...
[ { "path": "src/internal/poll/export_windows_test.go", "patch": "@@ -1,17 +0,0 @@\n-// Copyright 2017 The Go Authors. All rights reserved.\n-// Use of this source code is governed by a BSD-style\n-// license that can be found in the LICENSE file.\n-\n-// Export guts for testing on windows.\n-// Since testing...
2025-04-02T08:43:47
vercel/next.js
5c59feb79757d7416f977d66f53f7cc0d456d458
45a5405de21fe158e93aec6441e3ed70399323dd
Ensure resolvedPathname normalizes trailing slash (#81265) Fixes case with trailing slash from refactoring done in https://github.com/vercel/next.js/pull/81144
[ { "path": "packages/next/src/build/templates/pages.ts", "patch": "@@ -225,7 +225,9 @@ export async function handler(\n const method = req.method || 'GET'\n \n const resolvedUrl = formatUrl({\n- pathname: parsedUrl.pathname,\n+ pathname: nextConfig.trailingSlash\n+ ? parsedUrl.pathna...
2025-07-03T23:21:32
electron/electron
b626be5e33be3d25b6b371770dfeb675449ab7cf
964934c16122767e3554e372126fb7def0243c1c
docs: fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings (#38035) * Fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings * Add webContents
[ { "path": "docs/api/session.md", "patch": "@@ -519,9 +519,8 @@ app.whenReady().then(() => {\n Returns:\n \n * `event` Event\n-* `details` Object\n- * `device` [USBDevice](structures/usb-device.md)\n- * `frame` [WebFrameMain](web-frame-main.md)\n+* `device` [USBDevice](structures/usb-device.md)\n+* `webCon...
2023-04-23T20:16:38
facebook/react
49d16ba7e561d8d401a75121637d5f7a1c002d2a
529568c7dba7d463af35c5b5f6287649d5e41335
Repro for scope merging bug This is a repro for a bug that occurs when `enableMergeConsecutiveScopes` is enabled. Reminder that this feature is off by default and not enabled yet internally. I found this via #2121, where eliminating extraneous whitespace JSXText instructions meant that MergeConsecutiveScopes sta...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/merge-consecutive-scopes-objects.expect.md", "patch": "@@ -0,0 +1,138 @@\n+\n+## Input\n+\n+```javascript\n+// @enableMergeConsecutiveScopes\n+// This is a translation of the original merge-consecutive-scopes which uses p...
2023-10-09T23:15:29
golang/go
8969771cc3ceed634844dd6c911f3a5439424a97
5eaeb7b455d0bb6a39dacb4317ea177cbe0358de
runtime: add thread exit plus vgetrandom stress test Add a regression test similar to the reproducer from #73141 to try to help catch future issues with vgetrandom and thread exit. Though the test isn't very precise, it just hammers thread exit. When the test reproduces #73141, it simply crashes with a SIGSEGV and no...
[ { "path": "src/runtime/proc_test.go", "patch": "@@ -1026,6 +1026,17 @@ func TestLockOSThreadTemplateThreadRace(t *testing.T) {\n \t}\n }\n \n+func TestLockOSThreadVgetrandom(t *testing.T) {\n+\tif runtime.GOOS != \"linux\" {\n+\t\tt.Skipf(\"vgetrandom only relevant on Linux\")\n+\t}\n+\toutput := runTestPro...
2025-04-03T15:16:36
electron/electron
964934c16122767e3554e372126fb7def0243c1c
f727da4a74a93cca627f5db0da9f88c450944f69
fix: defaults broken in shell.openExternal() options (#38038) Co-authored-by: Milan Burda <miburda@microsoft.com>
[ { "path": "shell/common/api/electron_api_shell.cc", "patch": "@@ -59,13 +59,11 @@ v8::Local<v8::Promise> OpenExternal(const GURL& url, gin::Arguments* args) {\n v8::Local<v8::Promise> handle = promise.GetHandle();\n \n platform_util::OpenExternalOptions options;\n- if (args->Length() >= 2) {\n- gin:...
2023-04-21T17:13:59
vercel/next.js
45a5405de21fe158e93aec6441e3ed70399323dd
c450cd83d1ad34e7906582573584956f401feb2a
bugfix: propagate staleTime to seeded prefetch entry (#81263) In #71280, we hooked up the server-side `staleTime` header to the client-side prefetch cache. This means that if the server responds with a staleTime value, the client router will use that rather than the previous heuristic when determining if a prefetch en...
[ { "path": "packages/next/src/client/components/router-reducer/create-initial-router-state.ts", "patch": "@@ -4,7 +4,10 @@ import type { FlightDataPath } from '../../../server/app-render/types'\n import { createHrefFromUrl } from './create-href-from-url'\n import { fillLazyItemsTillLeafWithHead } from './fil...
2025-07-03T21:58:27
facebook/react
683a197a899b2914c80478b389132a8081e4eb24
b55cf78a4d23de06b96a3a5025ad86e4961baa96
Manually revert #2127 (allow mutating context in callbacks) #2127 introduced a special type for the result of `useContext()` that was sort of ref-like. The intent was to allow code like this: ``` function Foo() { const cx = useContext(...); function onEvent() { cx.foo = true; }; return <Bar onEvent={on...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/Globals.ts", "patch": "@@ -9,7 +9,6 @@ import { Effect, ValueKind } from \"./HIR\";\n import {\n BUILTIN_SHAPES,\n BuiltInArrayId,\n- BuiltInContextId,\n BuiltInUseRefId,\n BuiltInUseStateId,\n ShapeRegistry,\n@@ -241,7 +240,7 @@ cons...
2023-10-09T22:21:12
nodejs/node
2cd968717d5a4b5aba9c60f0f9a4e654c27ff599
a851d0cce2ab986251e145e70f0570509bbce20c
doc: correct typescript stdin support PR-URL: https://github.com/nodejs/node/pull/54036 Fixes: https://github.com/nodejs/node/issues/54035 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/typescript.md", "patch": "@@ -123,10 +123,10 @@ import { fn, FnParams } from './fn.ts';\n \n ### Non-file forms of input\n \n-Type stripping can be enabled for `--eval` and STDIN input. The module system\n+Type stripping can be enabled for `--eval`. The module system\n will be determined ...
2024-07-25T12:58:08
golang/go
5eaeb7b455d0bb6a39dacb4317ea177cbe0358de
ab2926291ba7003dcec7f46824d5f58c344ca849
go/types, types2: better error messages for invalid qualified identifiers This change borrows code from CL 631356 by Emmanuel Odeke (thanks!). Fixes #70549. Change-Id: Id6f794ea2a95b4297999456f22c6e02890fce13b Reviewed-on: https://go-review.googlesource.com/c/go/+/662775 LUCI-TryBot-Result: Go LUCI <golang-scoped@lu...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -720,7 +720,14 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr, def *TypeName\n \t\t\t\texp = pkg.scope.Lookup(sel)\n \t\t\t\tif exp == nil {\n \t\t\t\t\tif !pkg.fake && isValidName(sel) {\n-\t\t\t\t\t\tcheck.errorf(e.Sel...
2025-04-03T21:26:55
electron/electron
cf4c46c8e0337b3123c7256ddf033ae556731fee
0240f6664e5c94d68cb9ad7fb1a9e7c8bbf281d3
build: fix Codespaces prebuilds with missing comma (#38052) Add missing comma
[ { "path": ".devcontainer/on-create-command.sh", "patch": "@@ -41,7 +41,7 @@ if [ ! -f $buildtools/configs/evm.testing.json ]; then\n \\\"electron\\\": {\n \\\"origin\\\": \\\"https://github.com/electron/electron.git\\\"\n }\n- }\n+ },...
2023-04-20T22:41:54
vercel/next.js
b8d5f262429f6543e975fd11255297883dace1d6
7c048e337883c172b7a5ff8685426c7d838da6d7
Turbopack: move write_version feature to env var (#81250) This is useful for debugging infinite file write loop situations. Put it behind the env var `TURBO_ENGINE_WRITE_VERSION=1` to be able to debug this if other people want to debug this without recompiling Next.js
[ { "path": "turbopack/crates/turbo-tasks-fs/Cargo.toml", "patch": "@@ -18,8 +18,6 @@ default = []\n # A binary built with this option **is not portable**, the directory\n # path will be embedded into the binary.\n dynamic_embed_contents = []\n-# Write a hashed version of each file to allow to debug conflicti...
2025-07-03T17:12:11
facebook/react
fd87c9b9e13d06983194bc19f641a2caf2d12b50
2b417e2a5203f108ab3a5248332e5cd8dd2f8700
[patch] Bug in deriveMinimalDeps Found when enabling Forget on Webamp
[ { "path": "compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/DeriveMinimalDependencies.ts", "patch": "@@ -472,17 +472,10 @@ function addSubtreeIntersection(\n suggestions: null,\n });\n \n- otherProperties.forEach((properties) =>\n- properties.forEach((node, _) =>\n- CompilerErro...
2023-10-06T21:37:57
nodejs/node
d1c7817da21b5276ef6907258cc438c847074c62
87e18a7b374d6b812fca4d5285fa2c218ad7eebc
test: mark 'test/parallel/test-sqlite.js' as flaky The current test is large and can time out. It should be split into multiple smaller tests as done in #54014. However, that approach appears to change GC behavior such that the database files are not cleaned up quickly enough on Windows. Forcing any unfinalized SQL st...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -19,6 +19,9 @@ test-fs-read-stream-concurrent-reads: PASS, FLAKY\n # https://github.com/nodejs/node/issues/52630\n test-error-serdes: PASS, FLAKY\n \n+# https://github.com/nodejs/node/issues/54006\n+test-sqlite: PASS, FLAKY\n+\n [$system==win32]\n \n #...
2024-07-25T12:12:41
golang/go
ce94e916fe262a51c398153b03dd9a657418bbe8
9302a57134a698b62576cd3b849017a02c731c98
internal/syscall/windows: define NtQueryInformationFile buffer as unsafe.Pointer The unsafe.Pointer -> uintptr conversion must happen when calling syscall.Syscall, not when calling the auto-generated wrapper function, else the Go compiler doesn't know that it has to keep the pointer alive. This can cause undefined be...
[ { "path": "src/internal/poll/fd_windows.go", "patch": "@@ -365,7 +365,7 @@ func (fd *FD) initIO() error {\n \t\t\t// Handle opened for overlapped I/O (aka non-blocking) that are not added\n \t\t\t// to the runtime poller need special handling when reading and writing.\n \t\t\tvar info windows.FILE_MODE_INFO...
2025-04-03T12:55:21
electron/electron
0240f6664e5c94d68cb9ad7fb1a9e7c8bbf281d3
f12e12b341cbc202388d704449b2fcf6c1743ae0
fix: crash in utilityProcess when generating code from strings (#38014)
[ { "path": "shell/app/electron_main_delegate.cc", "patch": "@@ -40,6 +40,7 @@\n #include \"shell/common/logging.h\"\n #include \"shell/common/options_switches.h\"\n #include \"shell/common/platform_util.h\"\n+#include \"shell/common/process_util.h\"\n #include \"shell/common/thread_restrictions.h\"\n #includ...
2023-04-20T00:27:02
facebook/react
2b417e2a5203f108ab3a5248332e5cd8dd2f8700
ed9ea81e4a73b02bf138508b4c4ec6acf71b9676
Playground uses new pragma parser, shows config being used The playground now uses the new pragma parser so it's guaranteed to use the right defaults and have consistent parsing with snap/sprout. In addition, we now emit a debug event from the compiler which contains pretty-printed environment config, making it ea...
[ { "path": "compiler/apps/playground/components/Editor/index.tsx", "patch": "@@ -11,6 +11,7 @@ import * as t from \"@babel/types\";\n import {\n Effect,\n Hook,\n+ parseConfigPragma,\n printHIR,\n printReactiveFunction,\n run,\n@@ -108,56 +109,6 @@ const COMMON_HOOKS: Array<[string, Hook]> = [\n ...
2023-10-05T18:06:56
vercel/next.js
f5f559220a09880ed8d8d55e73c4bd65dcc89af1
e2422f4c94685e040d868033a6d666ccc183d6fd
Fix NEXT_CPU_PROF during development (#81248) ## What? `next dev` spawns a forked process that wouldn't be instrumented because `cpu-profile.ts` only runs in `cli/next-dev.ts` which is the process that boots the forked process. This adds the initialization to the forked process too.
[ { "path": "packages/next/src/server/lib/start-server.ts", "patch": "@@ -1,3 +1,5 @@\n+// Start CPU profile if it wasn't already started.\n+import './cpu-profile'\n import { getNetworkHost } from '../../lib/get-network-host'\n \n if (performance.getEntriesByName('next-start').length === 0) {", "additions...
2025-07-03T17:02:13
nodejs/node
87e18a7b374d6b812fca4d5285fa2c218ad7eebc
852a1a6742cc7a941276a4def7960b3a9b9b098b
lib: optimize copyError with ObjectAssign in primordials optimized the copyError function by using ObjectAssign from primordials. this change replaces the for-loop with ObjectAssign, which improves memory usage and performance. this change updates the copyError function in internal/assert.js to use ObjectAssign for c...
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -6,9 +6,9 @@ const {\n Error,\n ErrorCaptureStackTrace,\n MathMax,\n+ ObjectAssign,\n ObjectDefineProperty,\n ObjectGetPrototypeOf,\n- ObjectKeys,\n String,\n StringPrototypeEndsWith,\n StringPrototypeRepeat,\n@@ -46,11 +46,7...
2024-07-25T12:12:35
golang/go
9326d9d01231a1834458810c3cb01701bf7293a9
fd8f6cec213a6eaf862998073ea3c4ee52b182ba
make.bat: fix GOROOT_BOOTSTRAP detection Due to a flaw in the %GOROOT_BOOTSTRAP% detection logic, the last Go executable found by `where go` was taking precedence over the first one. In batch scripts, environment variable expansion happens when each line of the script is read, not when it is executed. Thus, the check...
[ { "path": "src/make.bat", "patch": "@@ -60,14 +60,13 @@ if not exist ..\\bin\\tool mkdir ..\\bin\\tool\n :: Calculating GOROOT_BOOTSTRAP\r\n if not \"x%GOROOT_BOOTSTRAP%\"==\"x\" goto bootstrapset\r\n for /f \"tokens=*\" %%g in ('where go 2^>nul') do (\r\n-\tif \"x%GOROOT_BOOTSTRAP%\"==\"x\" (\r\n-\t\tsetlo...
2025-02-28T09:05:52
facebook/react
546178f9109424f6a0176ea8702a7620c4417569
16619f106ab5ba8e6aca19d55be46cce22e4a7ff
`react-dom/server-rendering-stub`: restore experimental prefix for `useFormState` and `useFormStatus` (#27470) in #27461 the experimental prefix was added back for `useFormState` and `useFormStatus` in react-dom. However these functions are also exported from the server rendering stub too and when using the stub wit...
[ { "path": "packages/react-dom/server-rendering-stub.js", "patch": "@@ -28,3 +28,30 @@ export {\n useFormState,\n unstable_batchedUpdates,\n } from './src/server/ReactDOMServerRenderingStub';\n+\n+import type {FormStatus} from 'react-dom-bindings/src/shared/ReactDOMFormActions';\n+import {useFormStatus, ...
2023-10-05T15:53:14