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
facebook/react
fdb368d9e7430b50b9c506e76ccd46bf0576ef9b
3ff846d106de9273f59d1e4457793a5fcf625aef
Uninstall unused Webpack 4 packages (#27058) <!-- 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 ma...
[ { "path": "package.json", "patch": "@@ -97,7 +97,6 @@\n \"tmp\": \"^0.1.0\",\n \"typescript\": \"^3.7.5\",\n \"web-streams-polyfill\": \"^3.1.1\",\n- \"webpack\": \"^4.41.2\",\n \"yargs\": \"^15.3.1\"\n },\n \"devEngines\": {", "additions": 0, "deletions": 1, "language": "...
2023-07-25T17:55:05
vercel/next.js
6c70938cb748c0d196da9344d072a52d31e62914
1f04759542ae24defecf72de0fd00fc560e48b68
[ppr] RDC for RSCs (#79638) This pull request introduces support for handling postponed state in dynamic React Server Components (or RSC) requests, enabling the use of the encoded Resume Data Cache (or RDC). The changes include adjustments to the server logic to better manage dynamic responses and improve caching beha...
[ { "path": "packages/next/errors.json", "patch": "@@ -712,5 +712,7 @@\n \"711\": \"Can't resolve %s\",\n \"712\": \"`rspack.warnForEdgeRuntime` is not supported by the wasm bindings.\",\n \"713\": \"Unexpected error during process lookup\",\n- \"714\": \"cannot run loadNative when `NEXT_TEST_WASM` is ...
2025-06-20T22:04:44
nodejs/node
5469d04f8f9c6e1dc9eadc9771ec04519d4ecded
001c36b39bc744e80bc9a1774761a7d89f1922f1
lib: fix misleading argument of validateUint32 The type of the argument `positive` was declared as `boolean|number`, which is misleading because the function treats it as a boolean only. Some call sites even passed numbers, specifically, either `0` or `1`, which happen to work as expected because they are interpreted ...
[ { "path": "lib/internal/test_runner/test.js", "patch": "@@ -194,7 +194,7 @@ function testMatchesPattern(test, patterns) {\n \n class TestPlan {\n constructor(count) {\n- validateUint32(count, 'count', 0);\n+ validateUint32(count, 'count');\n this.expected = count;\n this.actual = 0;\n }\n@...
2024-06-05T22:59:05
golang/go
5af3658eaa4b6bb9e66fcb4ac426207359628477
584e631023e1edd49862c20a952608a5518a810e
go/types, types2: use errorCause instead of reportf in comparableType If the error cause is not further specified (empty string), avoid allocating a new errorCause. This makes using errorCauses as boolean signals efficient. While at it, fix an error message for incomparable arrays: report the array type rather than i...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -621,11 +621,7 @@ func (check *Checker) incomparableCause(typ Type) string {\n \t\treturn compositeKind(typ) + \" can only be compared to nil\"\n \t}\n \t// see if we can extract a more specific error\n-\tvar cause string\n-\tcomparableType(t...
2025-03-04T16:47:25
rust-lang/rust
8eb143f1c062b455004e319156e071754de2f643
c781b493f77dcdf7dc75c7672977a9c4b628dde4
Do not merge top-level modules with imports_granularity Module Fix 6191 Top level modules are now always formatted as their own `use` statement when setting `imports_granularity=Module` Signed-off-by: mwlon <m.w.loncaric@gmail.com>
[ { "path": "Configurations.md", "patch": "@@ -2012,6 +2012,7 @@ use qux::{h, i};\n #### `Module`:\n \n Merge imports from the same module into a single `use` statement. Conversely, imports from different modules are split into separate statements.\n+Does not merge top-level modules.\n \n ```rust\n use foo::b...
2026-02-02T15:16:45
nodejs/node
0281e2cbf0531ade992265b7b734dd3f1ecffe8a
78828705e9bafbe0f4a6befccc02bcf9ab312946
crypto: fix propagation of "memory limit exceeded" When we throw ERR_CRYPTO_INVALID_SCRYPT_PARAMS after a call to EVP_PBE_scrypt, check if OpenSSL reported an error and if so, append the OpenSSL error message to the default generic error message. In particular, this catches cases when `maxmem` is not sufficient, which...
[ { "path": "src/crypto/crypto_scrypt.cc", "patch": "@@ -104,7 +104,17 @@ Maybe<bool> ScryptTraits::AdditionalConfig(\n params->maxmem,\n nullptr,\n 0) != 1) {\n- THROW_ERR_CRYPTO_INVALID_SCRYPT_PARAMS(env);\n+ // Do not use CryptoErrorStore or ThrowCryptoError here in orde...
2024-06-05T13:32:14
facebook/react
dcb6549ddae8c10a826503222d6bd7c2dfb770a4
3f0afcbe471fdebab1b2df9c006d587f044aeb07
[hir] Bailout when reading from React namespace Forget doesn't understand the React namespace object and generates incorrect code when compiling code that loads props from this namespace object. This PR makes Forget bailout when we see a property load from React namespace object.
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts", "patch": "@@ -2215,6 +2215,20 @@ function lowerMemberExpression(\n const object =\n loweredObject ?? lowerExpressionToTemporary(builder, objectNode);\n \n+ if (objectNode.isIdentifier() && objectNode.node.name === \"R...
2023-07-25T15:08:32
golang/go
584e631023e1edd49862c20a952608a5518a810e
8b7e376e71cbd23a0644ff50cc4e75ce47cd9723
go/types, types2: better error messages for invalid calls Rather than reporting "non-function" for an invalid type parameter, report which type in the type parameter's type set is not a function. Change-Id: I8beec25cc337bae8e03d23e62d97aa82db46bab4 Reviewed-on: https://go-review.googlesource.com/c/go/+/654475 Reviewe...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -244,19 +244,19 @@ func (check *Checker) callExpr(x *operand, call *syntax.CallExpr) exprKind {\n \n \t// If the operand type is a type parameter, all types in its type set\n \t// must have a common underlying type, which must be a signature....
2025-03-04T02:06:48
electron/electron
c953109f01ec595b5986542995fa7b86326e411d
3f764cbbd52ee75755915928f7a604af788c3bb8
build: remove older branch migration helpers (#36888) * build: remove older branch migration helpers * chore: fix typo
[ { "path": "script/lib/utils.js", "patch": "@@ -6,11 +6,6 @@ const path = require('path');\n const ELECTRON_DIR = path.resolve(__dirname, '..', '..');\n const SRC_DIR = path.resolve(ELECTRON_DIR, '..');\n \n-const RELEASE_BRANCH_PATTERN = /(\\d)+-(?:(?:[0-9]+-x$)|(?:x+-y$))/;\n-// TODO(main-migration): Simpl...
2023-01-12T17:05:26
vercel/next.js
6afdb1b8778438e2d69e894049a0ba49c90fa542
2502c0a40c78b4eaa284c5b2925430764c384137
[turbopack] Reduce indirection in turbo-tasks dispatching (#80695) ### What? TurboTasks uses numeric ids to reference traits, values and functions, these are used to in serialization routines, dispatching and runtime type checking for traits. This PR adjusts the dispatching codepaths to instead leverage `&'static` re...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/mod.rs", "patch": "@@ -24,8 +24,8 @@ use rustc_hash::{FxHashMap, FxHashSet, FxHasher};\n use smallvec::{SmallVec, smallvec};\n use tokio::time::{Duration, Instant};\n use turbo_tasks::{\n- CellId, FunctionId, FxDashMap, KeyValuePair, RawVc, Read...
2025-06-20T20:46:43
rust-lang/rust
c781b493f77dcdf7dc75c7672977a9c4b628dde4
a57ce886e1f10db5771e364edb9cb38018f14422
Check files in parallel with crossbeam (#6783) * chore: add `crossbeam-channel` as a dependency for the mpmc channel * refactor: package up all the git repository details in `Repository` * refactor: encapsulate logic for cloning repositories * refactor: add `check_diff_for_file` to support parallel file checks Pro...
[ { "path": "check_diff/Cargo.lock", "patch": "@@ -1,6 +1,6 @@\n # This file is automatically @generated by Cargo.\n # It is not intended for manual editing.\n-version = 3\n+version = 4\n \n [[package]]\n name = \"aho-corasick\"\n@@ -77,6 +77,7 @@ name = \"check_diff\"\n version = \"0.1.0\"\n dependencies = [...
2026-02-02T14:37:10
nodejs/node
7f46227bb30878c16d9a3b4848a69320efb83136
b26a260ce595a464b933187c72e9ed06880f75f5
doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE PR-URL: https://github.com/nodejs/node/pull/53215 Fixes: https://github.com/nodejs/node/issues/53206 Refs: https://github.com/nodejs/node/pull/40121 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Guy Bedford <guybedford@gma...
[ { "path": "doc/api/esm.md", "patch": "@@ -1000,19 +1000,15 @@ _isImports_, _conditions_)\n \n **PATTERN\\_KEY\\_COMPARE**(_keyA_, _keyB_)\n \n-> 1. Assert: _keyA_ ends with _\"/\"_ or contains only a single _\"\\*\"_.\n-> 2. Assert: _keyB_ ends with _\"/\"_ or contains only a single _\"\\*\"_.\n-> 3. Let _b...
2024-06-05T11:20:26
facebook/react
3f0afcbe471fdebab1b2df9c006d587f044aeb07
82e426e2298724c8c63d495fb9ec0b6c39ac1fdf
[test] Failing test for using hooks from React namespace Forget assumes hooks are imported and used directly without the React namespace and generates incorrect code when if there's a namespace.
[ { "path": "compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/_bug.hooks-with-React-namespace.expect.md", "patch": "@@ -0,0 +1,30 @@\n+\n+## Input\n+\n+```javascript\n+function Foo() {\n+ const [x, setX] = React.useState(1);\n+ return x;\n+}\n+\n+```\n+\n+## Code\n+\n+```ja...
2023-07-25T14:56:46
rust-lang/rust
267f40dbb42e7bb6a18e83091d95297f277a5782
cdee2fbff588eed1d399897263e8dcafd51f86df
Fix missing unused_variables lint when using a match guard Within a binding pattern match guard, only real reads of a bound local impact its liveness analysis - not the fake read that is injected.
[ { "path": "clippy_lints/src/time_subtraction.rs", "patch": "@@ -85,7 +85,7 @@ impl LateLintPass<'_> for UncheckedTimeSubtraction {\n fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) {\n let (lhs, rhs) = match expr.kind {\n ExprKind::Binary(op, lhs, rhs) if matches!(...
2026-02-02T09:38:07
golang/go
8b7e376e71cbd23a0644ff50cc4e75ce47cd9723
f55bb135d28bc95131a8c987d50350e5c6d7f633
go/types, types2: factor out single commonUnder function Combine commonUnder and commonUnderOrChan: - Provide an optional cond(ition) function argument to commonUnder to establish additional type set conditions. - Instead of a *Checker and *string argument for error reporting, return an error cause that is only al...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -377,7 +377,8 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \n \tcase _Copy:\n \t\t// copy(x, y []T) int\n-\t\tdst, _ := commonUnder(check, x.typ, nil).(*Slice)\n+\t\tu, _ := commonUnder(x.typ, nil)...
2025-03-03T23:11:47
vercel/next.js
2502c0a40c78b4eaa284c5b2925430764c384137
baf3a7123f0fa8734ec5e452cc325cd2b1926991
chore(swc-wasm): Fix and clean up various issues with swc-wasm tests (#80471) - Follow the naming conventions of other environment variables and prefix `TEST_WASM` with `NEXT_TEST_WASM` so that there's less chance of conflicts with user code - Remove the logic in `setup-wasm.mjs` that modifies the repository (not grea...
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -473,15 +473,12 @@ jobs:\n skipNativeInstall: 'yes'\n afterBuild: |\n rustup target add wasm32-unknown-unknown\n- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh\n node ./scripts/normalize...
2025-06-20T20:14:43
electron/electron
ce56d614a373fee7d412143825e13d9bbbfb69b0
a9c03950c080e31111e04c87ae5532ec2f608280
chore: fix typo in promise rejection (#36763)
[ { "path": "lib/browser/api/web-contents.ts", "patch": "@@ -272,7 +272,7 @@ WebContents.prototype.printToPDF = async function (options) {\n \n if (options.pageRanges !== undefined) {\n if (typeof options.pageRanges !== 'string') {\n- return Promise.reject(new Error('printBackground must be a Strin...
2023-01-12T11:32:56
nodejs/node
d1f18b0bf16efbc1e54ba04a54735ce4683cb936
f2f45a0762bea7a9f7fafd6f94d72ba8f4bee10a
vm,src: add property query interceptors Fixes: https://github.com/nodejs/node/issues/52720 PR-URL: https://github.com/nodejs/node/pull/53172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "src/node_contextify.cc", "patch": "@@ -51,6 +51,7 @@ using v8::FunctionTemplate;\n using v8::HandleScope;\n using v8::IndexedPropertyHandlerConfiguration;\n using v8::Int32;\n+using v8::Integer;\n using v8::Intercepted;\n using v8::Isolate;\n using v8::Just;\n@@ -176,20 +177,22 @@ void Contextify...
2024-06-04T06:45:39
facebook/react
18f7481ebf6db8103889c3ae051c41c2067355d5
3e317b8bbfe4d3861730c5739a76670903bfc97b
[rust] General-purpose diagnostic type and helpers This PR adapts the `Diagnostic` type and helpers from Relay Compiler to Forget. The main changes are: * Removing some fields it doesn't seem we'll use for a while, if ever (like machine-readable arbitrary key/value data) * Switching from Relay Compiler's `Locat...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -451,10 +451,20 @@ name = \"forget_build_hir\"\n version = \"0.1.0\"\n dependencies = [\n \"bumpalo\",\n+ \"forget_diagnostics\",\n \"forget_estree\",\n \"forget_hir\",\n \"indexmap 2.0.0\",\n+ \"thiserror\",\n+]\n+\n+[[package]]\n+name = \"forget_dia...
2023-07-14T06:21:45
rust-lang/rust
5aba6b1635935237a146d759e67bc7d3e8bdc73b
a60d12cbccfbeaf153f3cecb90454aa696ea4b3b
Fix missing unused_variables lint when using a match guard Within a binding pattern match guard, only real reads of a bound local impact its liveness analysis - not the fake read that is injected.
[ { "path": "compiler/rustc_mir_transform/src/liveness.rs", "patch": "@@ -1243,9 +1243,12 @@ struct TransferFunction<'a, 'tcx> {\n impl<'tcx> Visitor<'tcx> for TransferFunction<'_, 'tcx> {\n fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Location) {\n match statement.kind {\n...
2026-02-02T09:38:07
vercel/next.js
ac59bdad61163bf2b8ff2503c5ff6951a95e197e
0fbbb6a3e025aba3d18f2b2853ee677ba8d4984c
[devtools] port runtime error handling to hook (#80567) This will be used for sharing the error across the Error Overlay and the DevTools Panel.
[ { "path": "packages/next/src/next-devtools/dev-overlay/container/errors.tsx", "patch": "@@ -1,11 +1,10 @@\n-import { useState, useMemo, useRef, Suspense } from 'react'\n+import { useMemo, useRef, Suspense } from 'react'\n import type { DebugInfo } from '../../shared/types'\n import { Overlay, OverlayBackdro...
2025-06-20T18:09:12
golang/go
f55bb135d28bc95131a8c987d50350e5c6d7f633
24d22352d308dc4f2283ed83f4794c5b4da661ee
cmd/cgo/internal/testsanitizers: for "leak", use -fsanitize=address We currently test the leak detector by running "go build -asan", which will pass -fsanitize=address to the C compiler. So use that when testing whether the option works. Fixes #72128 Change-Id: I4efc0b689bfda04c80dbac30a5c757215f297d2f Reviewed-on: ...
[ { "path": "src/cmd/cgo/internal/testsanitizers/cc_test.go", "patch": "@@ -361,10 +361,18 @@ func configure(sanitizer string) *config {\n \t\treturn c\n \t}\n \n+\tsanitizerOpt := sanitizer\n+\t// For the leak detector, we use \"go build -asan\",\n+\t// which implies the address sanitizer.\n+\t// We may want...
2025-03-06T20:54:27
electron/electron
fefb22a83d8f3ed4d16a8b2814873bdfbb4ee8a0
2a7d0a84c0c0e18b98e94816f2655cd69eeac471
chore: enable microtask queue per window agent (#36870) * chore: enable microtask queue per window agent * chore: switch policies on context microtask queue * fix: ensure node::Environment is valid
[ { "path": "patches/v8/.patches", "patch": "@@ -9,3 +9,4 @@ fix_disable_implies_dcheck_for_node_stream_array_buffers.patch\n revert_runtime_dhceck_terminating_exception_in_microtasks.patch\n chore_disable_is_execution_terminating_dcheck.patch\n force_cppheapcreateparams_to_be_noncopyable.patch\n+chore_allow_...
2023-01-11T16:59:32
rust-lang/rust
61769452234deaf0e035789009ab807dd1ca93d4
0830a5a9286e351a009e8eaa1fa86691e3a3b62e
fix: remove space for tidy and only for x86_64
[ { "path": "tests/codegen-llvm/slp-vectorization-mul3.rs", "patch": "@@ -3,7 +3,6 @@\n //@ compile-flags: -O\n //@ min-llvm-version: 18.0\n \n-\n #![crate_type = \"lib\"]\n \n // CHECK-LABEL: @mul3", "additions": 0, "deletions": 1, "language": "Rust" } ]
2026-02-02T10:35:08
nodejs/node
58711c2f8dbb27faae952f15fcea5796730bdbe1
8c5c2c18b65c8101127bac05a36ab51f30623339
build: fix --v8-lite-mode build Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: https://github.com/nodejs/node/pull/52725 Fixes: https://github.com/nodejs/node/issues/52710 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@...
[ { "path": "tools/v8_gypfiles/v8.gyp", "patch": "@@ -289,7 +289,6 @@\n 'toolsets': ['host', 'target'],\n 'dependencies': [\n 'torque_generated_initializers',\n- 'v8_initializers_slow',\n 'v8_base_without_compiler',\n 'v8_shared_internal_headers',\n 'v8_pch',...
2024-06-03T11:00:47
facebook/react
68b0effca3dd3ef64edb98662dd7f8d049958e6f
8ed6c6ab088c4cf022b85335534acd8991106161
[rust] Workspace hygiene I've primarily used what Cargo calls virtual workspaces, where the top-level Cargo.toml just lists a bunch of packages and they each have their own dependencies. This is fine, but i've noticed that more repos are using real workspaces and they offer a bunch of benefits. You define the depe...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -233,18 +233,6 @@ dependencies = [\n \"serde\",\n ]\n \n-[[package]]\n-name = \"build-hir\"\n-version = \"0.1.0\"\n-dependencies = [\n- \"bumpalo\",\n- \"estree\",\n- \"hir\",\n- \"indexmap 2.0.0\",\n- \"miette 5.9.0\",\n- \"thiserror\",\n-]\n-\n [[packa...
2023-07-14T02:39:46
vercel/next.js
44c0809a31fd23e5c33c24636bfe82a6024e230b
8a9682f791953e13af7f53fd17caa29c749e503a
[devtools] port call stack (#80550) Since the Error Overlay call stack had dedicated handlers for animation, it wasn't able to reuse them. Therefore, port the UI part of the call stack and receive handlers as props, so that the call stack component can be shared with the Error Overlay and the DevTools panel.
[ { "path": "packages/next/src/next-devtools/dev-overlay/components/call-stack/call-stack.stories.tsx", "patch": "@@ -1,6 +1,6 @@\n import type { Meta, StoryObj } from '@storybook/react'\n import { CallStack } from './call-stack'\n-import { withShadowPortal } from '../../../storybook/with-shadow-portal'\n+imp...
2025-06-20T16:45:23
golang/go
24d22352d308dc4f2283ed83f4794c5b4da661ee
9bd21607900d7072fd3d12ec756cb5eb87f8fe2a
cmd/go: add 'work' package pattern The 'work' package pattern will resolve to the set of packages in the work (formerly called main) modules. It's essentially 'all', but without the dependencies. And the implementation is similar to that of 'all', except that we don't expand to the dependencies. Fixes #71294 Change-...
[ { "path": "src/cmd/go/internal/load/search.go", "patch": "@@ -8,6 +8,7 @@ import (\n \t\"path/filepath\"\n \t\"strings\"\n \n+\t\"cmd/go/internal/modload\"\n \t\"cmd/go/internal/search\"\n \t\"cmd/internal/pkgpattern\"\n )\n@@ -45,11 +46,23 @@ func MatchPackage(pattern, cwd string) func(*Package) bool {\n \...
2025-01-16T22:05:02
electron/electron
2a7d0a84c0c0e18b98e94816f2655cd69eeac471
f31826f4a0c44756305087f11cf0de794e68c447
fix: missing libcxx headers (#36863) * chore: add libcxx script to precommit hook * chore: run gen-libc++-filename.js
[ { "path": "filenames.libcxx.gni", "patch": "@@ -271,6 +271,10 @@ libcxx_headers = [\n \"//buildtools/third_party/libc++/trunk/include/__debug\",\n \"//buildtools/third_party/libc++/trunk/include/__debug_utils/randomize_range.h\",\n \"//buildtools/third_party/libc++/trunk/include/__errc\",\n+ \"//buil...
2023-01-11T16:59:03
rust-lang/rust
0830a5a9286e351a009e8eaa1fa86691e3a3b62e
95ac5673cedf8b0ba543aac2ccb67b47f60662e1
fix: add min-llvm-version
[ { "path": "tests/codegen-llvm/slp-vectorization-mul3.rs", "patch": "@@ -1,6 +1,8 @@\n //! Regression test for #142519\n //@ only-x86_64\n //@ compile-flags: -O\n+//@ min-llvm-version: 18.0\n+\n \n #![crate_type = \"lib\"]\n ", "additions": 2, "deletions": 0, "language": "Rust" } ]
2026-02-02T10:14:50
facebook/react
546fe4681c52de6a333a55cedb141c87b626425e
9377e10105b41976c77c7f664f2363cb8c41ac8a
fix[devtools/inspect]: null check memoized props before trying to call hasOwnProperty (#27057) Simple check to avoid `TypeError`, quite rare case, but still.
[ { "path": "packages/react-devtools-shared/src/backend/renderer.js", "patch": "@@ -3280,7 +3280,7 @@ export function attach(\n };\n \n if (enableStyleXFeatures) {\n- if (memoizedProps.hasOwnProperty('xstyle')) {\n+ if (memoizedProps != null && memoizedProps.hasOwnProperty('xstyle')) {\n ...
2023-07-13T13:13:19
nodejs/node
881e196b19100ccc90e9b234af11bd361aa616a4
43ab5b9596c0e4f76b0543beb31928d592550fbd
benchmark: fix napi/ref addon Refs: https://github.com/nodejs/node/pull/53212#issuecomment-2142566866 PR-URL: https://github.com/nodejs/node/pull/53233 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Luigi Pinca <luigipinca@gmail...
[ { "path": "benchmark/napi/ref/addon.c", "patch": "@@ -1,6 +1,5 @@\n-#include <stdlib.h>\n-#define NAPI_EXPERIMENTAL\n #include <node_api.h>\n+#include <stdlib.h>\n \n #define NAPI_CALL(env, call) \\\n do { \\\n@@ -34,8 +33,7 @@ SetCou...
2024-06-02T18:26:23
vercel/next.js
80062e58bb8df11b987ee6e96a16815073605b6b
7446af4fce02d37d943163e146b369e169edb421
fix: rspack code analyzer should only handle javascript module (#80711) When import json module in middleware will case error, because codeAnalyzerBySwc should only handle javascript module.
[ { "path": "packages/next/src/build/webpack/plugins/middleware-plugin.ts", "patch": "@@ -583,7 +583,12 @@ async function codeAnalyzerBySwc(\n if (module.constructor.name !== 'NormalModule') {\n continue\n }\n- const originalSource = (module as webpack.NormalModule).originalSource()\n+ con...
2025-06-20T16:34:47
electron/electron
f31826f4a0c44756305087f11cf0de794e68c447
1d9a4ab02cb198de27de8636d0893bcc27c671cf
fix: `getUserMedia` duplicate permissions call (#36787) * fix: getUserMedia duplicate permissions call * test: add regression test
[ { "path": "patches/chromium/short-circuit_permissions_checks_in_mediastreamdevicescontroller.patch", "patch": "@@ -15,60 +15,60 @@ short-circuit all the permissions checks in MSDC for now to allow us to\n unduplicate this code.\n \n diff --git a/components/webrtc/media_stream_devices_controller.cc b/compone...
2023-01-11T10:55:31
golang/go
9bd21607900d7072fd3d12ec756cb5eb87f8fe2a
1cf6b502630034980ba7de8156e4d7c1da7a7845
os: add missing calls to Root.Close() in tests In tests of os.Root, fix a few missing calls to Close(). Change-Id: I8fddd5468394f41d7e92741579fd47f90203ff9f Reviewed-on: https://go-review.googlesource.com/c/go/+/655337 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-...
[ { "path": "src/os/os_test.go", "patch": "@@ -3199,6 +3199,7 @@ func TestRootDirFS(t *testing.T) {\n \tif err != nil {\n \t\tt.Fatal(err)\n \t}\n+\tdefer r.Close()\n \ttestDirFS(t, r.FS())\n }\n ", "additions": 1, "deletions": 0, "language": "Go" }, { "path": "src/os/root_test.go", "p...
2025-03-06T15:25:51
rust-lang/rust
95ac5673cedf8b0ba543aac2ccb67b47f60662e1
c64f9a0fc46fecb8ccb15d1ab1fcfd83ce94b5e5
Fix SLP vectorization test CHECK patterns
[ { "path": "tests/codegen-llvm/slp-vectorization-mul3.rs", "patch": "@@ -4,23 +4,22 @@\n \n #![crate_type = \"lib\"]\n \n-// CHECK-LABEL: mul3\n-// CHECK: %[[C_BPP:.*]] = phi <4 x i8>\n-// CHECK: %[[V:.*]] = load <4 x i8>, ptr\n-// CHECK: %[[ADD:.*]] = add <4 x i8> %[[V]], %[[C_BPP]]\n-// CHECK: store {{<4 x...
2026-02-02T10:08:26
facebook/react
f3d40c8c248f9369dcdfdac78a12188db7474a59
4762208b0f5f885ec68bf5afc989688d8e19048b
[rust] Recurse into functions in other passes Updates eliminate_redundant_phis and constant_propagation to recurse into function expressions. I also realized there was a bug in EliminateRedundantPhis in which we wouldn't traverse into function expressions encountered after finding a back edge, so i fixed that logi...
[ { "path": "compiler/forget/crates/fixtures/tests/fixtures/function-expressions.js", "patch": "@@ -1,5 +1,13 @@\n function Component(props) {\n+ const y = 2;\n const foo = function foo(x) {\n- return x + 1;\n+ let a = 1;\n+ let b;\n+ if (a === 1) {\n+ b = 5 + 3;\n+ } else {\n+ b =...
2023-07-13T04:34:10
nodejs/node
43ab5b9596c0e4f76b0543beb31928d592550fbd
da0f19208786cd7c57fec733e4ba24d0454f556a
test: fix test when compiled without engine support Update the `addons/openssl-test-engine` test to pass when OpenSSL has been compiled without support for custom engines. OpenSSL 3 deprecated support for engines, with the recommendation to move to the provider model. PR-URL: https://github.com/nodejs/node/pull/53232...
[ { "path": "test/addons/openssl-test-engine/test.js", "patch": "@@ -11,50 +11,59 @@ const crypto = require('crypto');\n const fs = require('fs');\n const path = require('path');\n \n+// Engine support in OpenSSL is checked later on.\n+let hasEngineSupport = true;\n \n-assert.throws(() => crypto.setEngine(tru...
2024-06-02T18:12:23
vercel/next.js
7446af4fce02d37d943163e146b369e169edb421
f004f2cd854a7bec5f3e3c2157f2674977b6d67e
add git merge driver for errors.json (#80722) Adds a merge driver that can automatically re-number messages added to `errors.json` if a merge conflict occurs. Now, it would be easier to just run `pnpm update-error-codes`, but that's slow and requires installing deps + building everything, so i'm just manually merging ...
[ { "path": ".gitattributes", "patch": "@@ -4,3 +4,6 @@ packages/next/compiled/** -text linguist-vendored\n \n # Make next/src/build folder indexable for github search\n build/** linguist-generated=false\n+\n+# Custom merge driver for auto-generated errors.json\n+packages/next/errors.json merge=errors-json", ...
2025-06-20T15:56:28
golang/go
6a4bc8d17eb6703baf0c483fb40e0d3e1f0f6af3
938b6c15e92e6a80b8368798a350a1a811487d88
cmd/go: cache coverage profile with tests This CL stores coverage profile data in the GOCACHE under the 'coverprofile' subkey alongside tests. This makes tests which use coverage profiles cacheable. The values of the -coverprofile and -outputdir flags are not included in the cache key to allow cached profile data to b...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1890,8 +1890,9 @@\n //\n // The rule for a match in the cache is that the run involves the same\n // test binary and the flags on the command line come entirely from a\n-// restricted set of 'cacheable' test flags, defined as -benchtime, -cpu,\n-// -list, -pa...
2025-02-25T15:51:56
facebook/react
1d5d89b8be7647b55c71dd670338a1af184bd3e4
8ada08f11e218f1a33da28a968bfb700c2abc40d
[js/rust] Improve constant propagation Makes the same improvement to constant propagation in both the JS and Rust versions. The core algorithm only populates phi variables if all operands have a known value (no back edges) and all those values are the same: this allows us to propagate constants in most cases and s...
[ { "path": "compiler/forget/crates/fixtures/tests/fixtures/constant-propagation-constant-if-condition.js", "patch": "@@ -1,17 +1,34 @@\n-function Component(props) {\n- let x = true;\n- let y;\n- if (x) {\n- y = 42;\n+function Component() {\n+ let a = 1;\n+\n+ let b;\n+ if (a === 1) {\n+ b = true;...
2023-07-13T00:53:36
nodejs/node
667191119fa3d3b5721a4a434e78200dff776197
7125931f4c891d253170146a97fc068f09cd2480
lib: fix the name of the fetch global function PR-URL: https://github.com/nodejs/node/pull/53227 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.c...
[ { "path": "lib/internal/bootstrap/web/exposed-window-or-worker.js", "patch": "@@ -70,7 +70,7 @@ ObjectDefineProperty(globalThis, 'fetch', {\n configurable: true,\n enumerable: true,\n writable: true,\n- value: function value(input, init = undefined) {\n+ value: function fetch(input, init = undefined...
2024-06-02T10:42:46
electron/electron
1d9a4ab02cb198de27de8636d0893bcc27c671cf
b3d16e727c587cd9933b3f9f76276ab4511c5aac
chore: bump node to v18.13.0 (main) (#36818) * chore: bump node in DEPS to v18.13.0 * child_process: validate arguments for null bytes https://github.com/nodejs/node/pull/44782 * bootstrap: merge main thread and worker thread initializations https://github.com/nodejs/node/pull/44869 * module: ensure rel...
[ { "path": "DEPS", "patch": "@@ -4,7 +4,7 @@ vars = {\n 'chromium_version':\n '111.0.5518.0',\n 'node_version':\n- 'v18.12.1',\n+ 'v18.13.0',\n 'nan_version':\n '16fa32231e2ccd89d2804b3f765319128b20c4ac',\n 'squirrel.mac_version':", "additions": 1, "deletions": 1, "language"...
2023-01-11T10:33:48
vercel/next.js
bc640c09966b26dfb8330ac3cd4d89f3c2600bb8
0b6a580c6cc0384b18325ea0f9ed6c16f24a2292
Fix Next DevTools Storybook in recent Node.js versions (#80713) Affected all Node.js versions with `require(esm)` support. We needed https://github.com/storybookjs/addon-webpack5-compiler-swc/commit/70a8e63516bd4f664c2751b9094f38697f39f0ff to fix `pnpm storybook`. Tested with Node.js 20.19.2 which previously failed.
[ { "path": "packages/next/package.json", "patch": "@@ -173,7 +173,7 @@\n \"@storybook/addon-a11y\": \"8.6.0\",\n \"@storybook/addon-essentials\": \"8.6.0\",\n \"@storybook/addon-interactions\": \"8.6.0\",\n- \"@storybook/addon-webpack5-compiler-swc\": \"1.0.5\",\n+ \"@storybook/addon-webpac...
2025-06-20T11:07:13
golang/go
938b6c15e92e6a80b8368798a350a1a811487d88
66b76403547b9e517d532619c4a31063eb7ef93c
os: more godoc links Add missing links to *PathError. Also a few links to O_ flags and Mode and syscall constants. Change-Id: Ic6ec5780a44942050a83ed07dbf16d6fa9f83eb9 Reviewed-on: https://go-review.googlesource.com/c/go/+/655375 Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-...
[ { "path": "src/os/file.go", "patch": "@@ -216,7 +216,7 @@ var errWriteAtInAppendMode = errors.New(\"os: invalid use of WriteAt on file open\n // It returns the number of bytes written and an error, if any.\n // WriteAt returns a non-nil error when n != len(b).\n //\n-// If file was opened with the O_APPEND ...
2025-03-06T12:23:52
facebook/react
2fb14138d415be3f36797ee2fdfd9146aa1e39a0
e029e22a9a8a443287ac212d26bcd7b85ee82ad9
[rust] Port EliminateRedundantPhis This is a nearly 1:1 port of EliminateRedundantPhis to Rust, the algorithm is identical and all differences are superficial. There are few things missing (an invariant instead of a panic in one place, recursing into function expressions) but the Rust version is still going to end...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -504,6 +504,7 @@ dependencies = [\n \"estree\",\n \"estree-swc\",\n \"hir\",\n+ \"hir-ssa\",\n \"insta\",\n \"miette 5.9.0\",\n ]\n@@ -644,8 +645,10 @@ version = \"0.1.0\"\n dependencies = [\n \"bumpalo\",\n \"hir\",\n+ \"indexmap 2.0.0\",\n \"mie...
2023-07-12T05:54:49
nodejs/node
7125931f4c891d253170146a97fc068f09cd2480
41d90aaf62b9aeae799fca838b6b6f45b50bb5a3
test_runner: handle file rename and deletion under watch mode Fixes: https://github.com/nodejs/node/issues/53113 PR-URL: https://github.com/nodejs/node/pull/53114 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
[ { "path": "lib/internal/test_runner/runner.js", "patch": "@@ -3,6 +3,7 @@ const {\n ArrayIsArray,\n ArrayPrototypeEvery,\n ArrayPrototypeFilter,\n+ ArrayPrototypeFind,\n ArrayPrototypeForEach,\n ArrayPrototypeIncludes,\n ArrayPrototypeJoin,\n@@ -417,7 +418,22 @@ function watchFiles(testFiles, o...
2024-06-02T08:11:30
electron/electron
414791232a79c783d3d758fe11a864344d513660
168726a0521dd53f160b216f7b84832b1368fff5
fix: RTL `WindowButtonsProxy` buttons (#36839) * fix: RTL WindowButtonsProxy buttons * chore: address review feedback
[ { "path": "shell/browser/browser.h", "patch": "@@ -202,6 +202,8 @@ class Browser : public WindowListObserver {\n bool UpdateUserActivityState(const std::string& type,\n base::Value::Dict user_info);\n \n+ void ApplyForcedRTL();\n+\n // Bounce the dock icon.\n enum class...
2023-01-10T11:19:00
vercel/next.js
0b6a580c6cc0384b18325ea0f9ed6c16f24a2292
7c458922eaf10adb840962c12512c9655829b616
[test] Add repro for SSR bug when large chunks are deferred in Flight (#80661)
[ { "path": "test/e2e/app-dir/metadata/app/large-shell/[slug]/page.tsx", "patch": "@@ -0,0 +1,125 @@\n+import type { Metadata } from 'next'\n+\n+export const experimental_ppr = true\n+\n+export const generateMetadata = async ({ params }): Promise<Metadata> => {\n+ const { slug } = await params\n+ return { t...
2025-06-20T10:57:03
golang/go
3aef716168475c9cdc508c5afd71782a8c2b5506
70dcc78871ee47a6b181a99e6bad70b3454e8aec
doc: update godebug doc to clarify godebug directive in workspace Make it clear that we only use godebug directives in the go.work, and that we don't use those in go.mod, when we're in a workspace. Fixes #72109 Change-Id: I648bfa4dd9b3ca0ac299c0a890843d41fe1ac7f0 Reviewed-on: https://go-review.googlesource.com/c/go/...
[ { "path": "doc/godebug.md", "patch": "@@ -109,7 +109,9 @@ Only the work module's `go.mod` is consulted for `godebug` directives.\n Any directives in required dependency modules are ignored.\n It is an error to list a `godebug` with an unrecognized setting.\n (Toolchains older than Go 1.23 reject all `godebu...
2025-03-05T20:20:46
facebook/react
e029e22a9a8a443287ac212d26bcd7b85ee82ad9
c7ccc5dd30acfb29c0e95e42ade5247514a2f270
[rust] fix lints
[ { "path": "compiler/forget/crates/build-hir/src/build.rs", "patch": "@@ -30,7 +30,7 @@ pub fn build<'a>(\n \n match fun.function.body {\n Some(estree::FunctionBody::BlockStatement(body)) => {\n- lower_block_statement(env, &mut builder, *body, None)?\n+ lower_block_statement...
2023-07-12T04:01:42
nodejs/node
78a326e2eb236874c45a7937d51e5d3ab3c91a3e
88d39524b1365909913cf74f8e1a3d6607ce271c
stream: fix memory usage regression in writable Setting writecb and afterWriteTickInfo to null did not clear the value in the state object. Amends 35ec93115d (stream: writable state bitmap). Fixes #52228. PR-URL: https://github.com/nodejs/node/pull/53188 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Review...
[ { "path": "lib/internal/streams/writable.js", "patch": "@@ -252,8 +252,8 @@ ObjectDefineProperties(WritableState.prototype, {\n enumerable: false,\n get() { return (this[kState] & kWriteCb) !== 0 ? this[kWriteCbValue] : nop; },\n set(value) {\n+ this[kWriteCbValue] = value;\n if (valu...
2024-06-02T00:35:36
electron/electron
168726a0521dd53f160b216f7b84832b1368fff5
1c9e7687f9a13580fb38a93bd0578f2f849ebd07
fix: handle null/undefined options for fs.readdir (#34764)
[ { "path": "lib/asar/fs-wrapper.ts", "patch": "@@ -623,11 +623,11 @@ export const wrapFsWithAsar = (fs: Record<string, any>) => {\n };\n \n const { readdir } = fs;\n- fs.readdir = function (pathArgument: string, options: { encoding?: string | null; withFileTypes?: boolean } = {}, callback?: Function) {\...
2023-01-10T11:16:39
golang/go
70dcc78871ee47a6b181a99e6bad70b3454e8aec
5e0dbec7c99cb1e62c6e61b8f64f5b211aae67fc
math/big: avoid negative slice size in nat.rem In a division, normally the answer to N digits / D digits has N-D digits, but not when N-D is negative. Fix the calculation of the number of digits for the temporary in nat.rem not to be negative. Fixes #72043. Change-Id: Ib9faa430aeb6c5f4c4a730f1ec631d2bf3f7472c Review...
[ { "path": "src/math/big/alias_test.go", "patch": "@@ -309,4 +309,28 @@ func TestAliasing(t *testing.T) {\n \t\t\t}\n \t\t})\n \t}\n+\n+\tt.Run(\"Issue72043a\", func(t *testing.T) {\n+\t\tv := new(big.Int).SetBytes([]byte{0x4b, 0xd2, 0x7a, 0x6c, 0xb3, 0x16, 0x5a, 0xf3, 0xa0, 0x45, 0x2b, 0xbe, 0x38, 0xba, 0x1...
2025-03-05T19:43:44
vercel/next.js
7c458922eaf10adb840962c12512c9655829b616
ce5796a9f4476726ba4ecede21fd66d29de72e03
[test] Reduce flakiness of instrumentation-order (#80712) The test was implicitly relying on `preloadEntriesOnStart` to load the module in our prod tests. Fixes https://github.com/vercel/next.js/actions/runs/15774186781/job/44464850249?pr=80710#step:34:282 and [other flakes](https://app.datadoghq.com/ci/test/runs?q...
[ { "path": "test/e2e/app-dir/instrumentation-order/instrumentation-order.test.ts", "patch": "@@ -1,35 +1,31 @@\n import { nextTestSetup } from 'e2e-utils'\n-import { waitFor } from 'next-test-utils'\n-\n-const ORDERED_LOGS = [\n- 'instrumentation:side-effect',\n- 'instrumentation:register:begin',\n- 'inst...
2025-06-20T09:57:43
rust-lang/rust
992a6f6c891aeb39b38e99f9e8de4e0cbd867f4a
62c5f16886228fd89e3814ae4f5fac12e0bd146b
fix: allow_attributes false negative on attributes with whitespace
[ { "path": "clippy_utils/src/check_proc_macro.rs", "patch": "@@ -45,6 +45,8 @@ pub enum Pat {\n Sym(Symbol),\n /// Any decimal or hexadecimal digit depending on the location.\n Num,\n+ /// An attribute.\n+ Attr(Symbol),\n }\n \n /// Checks if the start and the end of the span's text matches...
2026-02-02T07:16:57
nodejs/node
00a86fe76fed0b0cc4c0786ae86754f16da18afa
88d0701e57149f70708237a0b22556e330c9e82c
fs: fix cp dir/non-dir mismatch error messages The error messages for `ERR_FS_CP_DIR_TO_NON_DIR` and `ERR_FS_CP_NON_DIR_TO_DIR` were the inverse of the copy direction actually performed. Refs: https://github.com/nodejs/node/issues/44598#issuecomment-1562522423 PR-URL: https://github.com/nodejs/node/pull/53150 Reviewe...
[ { "path": "lib/internal/errors.js", "patch": "@@ -1204,12 +1204,12 @@ E('ERR_FEATURE_UNAVAILABLE_ON_PLATFORM',\n ', which is being used to run Node.js',\n TypeError);\n E('ERR_FS_CP_DIR_TO_NON_DIR',\n- 'Cannot overwrite directory with non-directory', SystemError);\n+ 'Cannot overwrite non-directory wi...
2024-05-31T22:12:16
electron/electron
f56a26c4f70dca6e9468ba15a82007d4a9ad53d6
1a9c338c92a50ad2891953a7fd2cecc2e7414bc0
build: fix broken stale issues workflow (#36843)
[ { "path": ".github/workflows/stale.yml", "patch": "@@ -24,6 +24,7 @@ jobs:\n exempt-issue-labels: \"discussion,security \\U0001F512,enhancement :sparkles:\"\n only-pr-labels: not-a-real-label\n pending-repro:\n+ runs-on: ubuntu-latest\n steps:\n - uses: actions/stale@3de26...
2023-01-09T18:16:58
facebook/react
c7ccc5dd30acfb29c0e95e42ade5247514a2f270
e9d2822e92792c0f6a96864b9cf19a86275876f6
[rust] Initial port of EnterSSA This is a first pass at porting EnterSSA to Rust. First pass in the sense that it's hard to fully test it, and also in the sense that we'll likely figure out even better ways to work w the HIR as we iterate. Oh and i didn't do recusing into function expressions yet, since we can't e...
[ { "path": "compiler/forget/crates/build-hir/src/build.rs", "patch": "@@ -6,8 +6,8 @@ use estree::{\n };\n use hir::{\n ArrayElement, BlockKind, BranchTerminal, Environment, ForTerminal, Function, GotoKind,\n- Identifier, IdentifierOperand, InstrIx, InstructionKind, InstructionValue, LValue, LoadGloba...
2023-07-12T03:38:13
vercel/next.js
d49c6a40348cbfa6dea1d4ec3daaac25e7a3551d
32613645e5b1df27b1bcc9c8c0799ee278a03af8
overwrite redirect SSG meta.status to 200 for RSC requests (#80391) For a static route that simply returns a `redirect`: ``` export default function Page() { redirect("/about"); } ``` the SSG generates a `.meta` file for the route at build time, that looks like: ``` { "status": 307, "headers": { "location": ...
[ { "path": "packages/next/src/build/templates/app-page.ts", "patch": "@@ -83,6 +83,7 @@ export const __next_app__ = {\n }\n \n import * as entryBase from '../../server/app-render/entry-base' with { 'turbopack-transition': 'next-server-utility' }\n+import { RedirectStatusCode } from '../../client/components/r...
2025-06-19T23:39:00
golang/go
645ea530191105dc89dd8d67640d61a4d0526df9
cad4dca518a3a984bfd6b19ee304a59f51937fd8
runtime: in asan mode call __lsan_do_leak_check when exiting This enables the ASAN default behavior of reporting C memory leaks. It can be disabled with ASAN_OPTIONS=detect_leaks=0. Fixes #67833 Change-Id: I420da1b5d79cf70d8cf134eaf97bf0a22f61ffd0 Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-asan-clang15,go...
[ { "path": "doc/next/3-tools.md", "patch": "@@ -2,5 +2,13 @@\n \n ### Go command {#go-command}\n \n+The `go build` `-asan` option now defaults to doing leak detection at\n+program exit.\n+This will report an error if memory allocated by C is not freed and is\n+not referenced by any other memory allocated by ...
2025-02-22T01:13:20
rust-lang/rust
59868c13947753220a6727e50c2c596d2f513b29
92ea9b29d1d0d124df37e3392bbbe9898ca7dd96
Fix uninitialized UEFI globals in tests Export globals via a `doc(hidden)` module. In test code, use the globals from `realstd` so that they are properly initialized.
[ { "path": "library/std/src/lib.rs", "patch": "@@ -260,6 +260,7 @@\n all(target_vendor = \"fortanix\", target_env = \"sgx\"),\n feature(slice_index_methods, coerce_unsized, sgx_platform)\n )]\n+#![cfg_attr(all(test, target_os = \"uefi\"), feature(uefi_std))]\n #![cfg_attr(target_family = \"wasm\", fe...
2026-01-23T18:43:20
electron/electron
0d05273024459e911097948fcaaca834f15c9f04
90af7d7fe2fc70984404474feec4ac2c827794fe
docs: fix link in breaking-changes.md (#36793)
[ { "path": "docs/breaking-changes.md", "patch": "@@ -260,7 +260,7 @@ requires unsafe mode), so Electron is unable to support this feature on Linux.\n \n The handler invoked when `session.setDevicePermissionHandler(handler)` is used\n has a change to its arguments. This handler no longer is passed a frame\n-...
2023-01-09T07:37:57
vercel/next.js
1141e677aed5c21f98b9629190335407a823abfd
d4fcf46d938339206fb567ffca4258b5132c8b09
test: improve action test reliability (#80587) ## Summary This PR improves test reliability for the app-dir actions test suite by addressing race conditions and modernizing file system operations. ## Changes ### Test Improvements - **Fixed race conditions** in revalidation tests by ensuring proper sequencing of...
[ { "path": "test/e2e/app-dir/actions/app-action.test.ts", "patch": "@@ -8,10 +8,10 @@ import {\n getRedboxSource,\n } from 'next-test-utils'\n import type { Request, Response } from 'playwright'\n-import fs from 'fs-extra'\n-import nodeFs from 'fs'\n-import { join } from 'path'\n+import fs from 'node:fs/pr...
2025-06-19T18:50:02
facebook/react
e9d2822e92792c0f6a96864b9cf19a86275876f6
f452ed2971846dba5d6536f3752a861bba637603
[rust] New data model for HIR This change is motivated by starting to explore porting EnterSSA to Rust. It's a good medium complexity pass and quickly demonstrates why a direct port of our existing data model and algorithms won't work so well. For examples just these first lines at the top of the transform create ...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -638,6 +638,16 @@ dependencies = [\n \"serde\",\n ]\n \n+[[package]]\n+name = \"hir-ssa\"\n+version = \"0.1.0\"\n+dependencies = [\n+ \"bumpalo\",\n+ \"hir\",\n+ \"miette 5.9.0\",\n+ \"thiserror\",\n+]\n+\n [[package]]\n name = \"iana-time-zone\"\n versi...
2023-07-11T07:59:08
golang/go
cad4dca518a3a984bfd6b19ee304a59f51937fd8
9189921e4759055141b51fdbb8b7b69ee4fdd477
cmd/compile: use inline-Pos-based recursion test Look at the inlining stack of positions for a call site, if the line/col/file of the call site appears in that stack, do not inline. This subsumes all the other recently-added recursive inlining checks, but they are left in to make this easier+safer to backport. Fixes...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -42,6 +42,7 @@ import (\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/pgo\"\n+\t\"cmd/internal/src\"\n )\n \n // Inlining budget parameters, gathered in one place\n@@ -974,6 +975,16 @@ func inlineCostOK(n *ir.C...
2025-03-05T18:44:12
facebook/react
17ed6cc9a9de2bc6993c58d8e66c3de3e23ea16d
1abea6c49de9deabdcad863d1ab67927fbdfa790
[rust] Custom deserialization for more precise errors The overall goal of this workstream is to have a Rust representation of ESTree that we can use as the input and output of the compiler. In Rust environments we can convert between the native AST of SWC or OXC and ESTree, and when invoked from JavaScript we can ...
[ { "path": "compiler/forget/crates/estree-codegen/src/codegen.rs", "patch": "@@ -33,11 +33,6 @@ impl Grammar {\n operators,\n } = self;\n \n- let enum_names: HashSet<String> = enums.keys().cloned().collect();\n-\n- let mut node_names: Vec<_> = nodes.keys().cloned().collect()...
2023-07-08T14:00:01
vercel/next.js
d4fcf46d938339206fb567ffca4258b5132c8b09
fc9939938d96fb7221ff25954e62218e0cd83ddc
fix: mark the shared cache controls as external so it's memory is shared (#80588) This PR refactors the default cache handler and shared cache controls to be marked as external modules, improving build optimization and module boundaries. ### Changes - **Marked shared cache controls as external**: Renamed `shared-cac...
[ { "path": "packages/next/src/build/webpack/loaders/next-edge-app-route-loader/index.ts", "patch": "@@ -37,7 +37,7 @@ const EdgeAppRouteLoader: webpack.LoaderDefinitionFunction<EdgeAppRouteLoaderQue\n \n if (!cacheHandlers.default) {\n cacheHandlers.default = require.resolve(\n- '../../../.....
2025-06-19T18:49:35
golang/go
9189921e4759055141b51fdbb8b7b69ee4fdd477
f7204d76bc3af681c12e8ed9bfb18c20bf6f8bc1
go/types,types2: externalize used objects The 'used' field on Var and PkgName is fundamentally an aspect of the type checking pass: it records when objects are used, for the purposes of reporting errors for unused variables or package names. While expedient and performant, recording this information in the types.Objec...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -204,7 +204,7 @@ func (check *Checker) lhsVar(lhs syntax.Expr) Type {\n \t\t\t// dot-imported variables.\n \t\t\tif w, _ := obj.(*Var); w != nil && w.pkg == check.pkg {\n \t\t\t\tv = w\n-\t\t\t\tv_used = v.used\n+\t\t\t\tv_used = check...
2025-02-19T22:07:09
facebook/react
750b1e6adb4b1525d5d77de5fa46c7a969a8a36f
0c1193ecd7a1712e0097e075fcddb7f4c4fb2a8a
[rust] Partial ES2015 support in estree codegen Adds some parts of the ES2015 spec, such as imports and ForOfStatement. This is enough to get a few more fixtures compiling. The last one uses JSX which I haven't defined yet.
[ { "path": "compiler/forget/crates/estree-codegen/src/codegen.rs", "patch": "@@ -168,6 +168,9 @@ pub struct Field {\n \n #[serde(default)]\n pub flatten: bool,\n+\n+ #[serde(default)]\n+ pub rename: Option<String>,\n }\n \n impl Field {\n@@ -193,11 +196,7 @@ impl Field {\n \"Can...
2023-07-08T13:59:58
vercel/next.js
fc9939938d96fb7221ff25954e62218e0cd83ddc
a362b340f23798663ce17db49c051ca48ddc91ca
fix: server actions should fetch from the router canonicalUrl (#80690) A test related to navigation + server action handling was frequently flaking in CI ([x-ref](https://github.com/vercel/next.js/actions/runs/15746992788/job/44386768835#step:34:2634)). When simulating a 20x browser slowdown, it's fairly easy to repro...
[ { "path": "packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts", "patch": "@@ -87,7 +87,7 @@ async function fetchServerAction(\n \n const body = await encodeReply(usedArgs, { temporaryReferences })\n \n- const res = await fetch('', {\n+ const res = await fetch(state.cano...
2025-06-19T17:25:18
electron/electron
90af7d7fe2fc70984404474feec4ac2c827794fe
ba962c94cc20a08560c2143d3f5295c5fe22a2e8
chore: bump chromium to 111.0.5518.0 (main) (#36575) * chore: bump chromium in DEPS to 110.0.5461.0 * chore: update patches * 3903024: hid: Add connection count tracking methods for HidDelegate https://chromium-review.googlesource.com/c/chromium/src/+/3903024 * 4076211: Turn FrameTreeNode::frame_tree into ...
[ { "path": ".circleci/config/base.yml", "patch": "@@ -218,6 +218,7 @@ step-maybe-cleanup-arm64-mac: &step-maybe-cleanup-arm64-mac\n security delete-generic-password -l \"Chromium Safe Storage\" || echo \"✓ Keychain does not contain password from tests\"\n security delete-generic-password -l \...
2023-01-06T02:35:34
golang/go
f7204d76bc3af681c12e8ed9bfb18c20bf6f8bc1
061efaa8a761458eaa41119ffd59033738cf141c
html/template: example for disallowed script type change Fixes #59112 Change-Id: I617f8a4581a55a0f134f488462f415ec22eb4ee3 Reviewed-on: https://go-review.googlesource.com/c/go/+/496145 Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccou...
[ { "path": "src/html/template/error.go", "patch": "@@ -79,15 +79,18 @@ const (\n \tErrBadHTML\n \n \t// ErrBranchEnd: \"{{if}} branches end in different contexts\"\n-\t// Example:\n+\t// Examples:\n \t// {{if .C}}<a href=\"{{end}}{{.X}}\n+\t// <script {{with .T}}type=\"{{.}}\"{{end}}>\n \t// Discussion:\...
2023-05-19T19:11:19
rust-lang/rust
a57ce886e1f10db5771e364edb9cb38018f14422
2d2bb530c9b162dc7cc934dc0e5f28017473edd8
Fix `use` <2024 identifier sorting transitivity The sorting tries to create a lowercase>Capital>SCREAMING relation, but does this in a way that causes non-transitive behavior for identifiers starting with `_`. These identifiers are neither Capital nor SCREAMING so they are always compared via lexicographic ASCII match...
[ { "path": "src/imports.rs", "patch": "@@ -945,20 +945,16 @@ impl Ord for UseSegment {\n let ident_ord = if self.style_edition >= StyleEdition::Edition2024 {\n version_sort(ia, ib)\n } else {\n- // snake_case < CamelCase < UPPER_SNAKE_CAS...
2026-01-31T18:19:35
nodejs/node
74dff83fad3918b20f219c03259088e55930c226
f88386561c72eb4d855822bf7c102114e23cf6a8
tools: move webcrypto into no-restricted-properties Since eslint fixed https://github.com/eslint/eslint/issues/16412 and we are on eslint v8.57.0 so that we can take advantage of no-restricted-properties rule for webcrypto. PR-URL: https://github.com/nodejs/node/pull/53023 Reviewed-By: Antoine du Hamel <duhamelantoin...
[ { "path": "eslint.config.mjs", "patch": "@@ -9,7 +9,6 @@ import toolsConfig from './tools/eslint.config_partial.mjs';\n import {\n noRestrictedSyntaxCommonAll,\n noRestrictedSyntaxCommonLib,\n- noRestrictedSyntaxCommonTest,\n requireEslintTool,\n resolveEslintTool,\n } from './tools/eslint.config_u...
2024-05-30T20:55:02
facebook/react
a32a2baa73ce3d42b231e59cc582930666ac1e66
8176f25719da6f99be829f4e1400a10f34c6bff9
[rust] Start of error handling Until now i've freely used `panic!`, `unwrap()`, and friends for "error handling". This PR switches to consistently returning `Result` within the HIR builder, using a structured error representation that exploits helpers from `thiserror` and `miette` crates. Miette has a super graphi...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -153,6 +153,15 @@ dependencies = [\n \"rustc-demangle\",\n ]\n \n+[[package]]\n+name = \"backtrace-ext\"\n+version = \"0.2.1\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"537beee3be4a18fb023b570f80e3ae28003db9167a7...
2023-07-08T13:59:55
vercel/next.js
e4c838c1d07dea560ae7f00f96e58ec18e602d5e
75b7fe201f73a1fb3b962b07aa0baac4d57f6029
Add `--debug-prerender` option for `next build` (#80667) When running `next build --debug-prerender`, we will set a few experimental flags that ensure the following: - No minification is applied to server code. - `experimental.serverMinification = false`, or - `experimental.turbopackMinify = false` - Sou...
[ { "path": "packages/next/src/bin/next.ts", "patch": "@@ -124,7 +124,10 @@ program\n )}`\n )\n .option('-d, --debug', 'Enables a more verbose build output.')\n-\n+ .option(\n+ '--debug-prerender',\n+ 'Enables debug mode for prerendering. Not for production use!'\n+ )\n .option('--no-lint', ...
2025-06-19T15:13:03
golang/go
061efaa8a761458eaa41119ffd59033738cf141c
37026a7c563c580bef0fac1e5b60e9498650e3a2
net/http: make http.FileServer return 404 when a path is invalid/unsafe This PR adds error handling in net/http toHTTPError to return a 404 instead of a 500 when net/http fs.Dir.Open throws the error http: invalid or unsafe file path. Fixes #72091 Change-Id: I7941c8fca5160a4a82732dc1d05b9b95eac84fbf GitHub-Last-Rev:...
[ { "path": "src/net/http/fs.go", "patch": "@@ -67,6 +67,11 @@ func mapOpenError(originalErr error, name string, sep rune, stat func(string) (f\n \treturn originalErr\n }\n \n+// errInvalidUnsafePath is returned by Dir.Open when the call to\n+// filepath.Localize fails. filepath.Localize returns an error if t...
2025-03-05T09:44:46
electron/electron
9b8b8f5880c29b9ae0b112433e7a51c51b501c2b
32288ac9c588fe8c3b814338aaf5df7fddbce276
fix: move report_raw_headers to TrustedParams (#36725) * fix: move report_raw_headers to TrustedParams * Update electron_api_url_loader.cc * missed a copy constructor
[ { "path": "patches/chromium/feat_expose_raw_response_headers_from_urlloader.patch", "patch": "@@ -17,69 +17,78 @@ headers, moving forward we should find a way in upstream to provide\n access to these headers for loader clients created on the browser process.\n \n diff --git a/services/network/public/cpp/res...
2023-01-05T09:36:14
facebook/react
eb2c2f7c2cf2652a168c2b433d2989131c69754b
a19bbebbe36abd34efbd8f003e0f3bb55e0f1fdc
rename SuspenseList export to unstable_SuspenseList (#27061) ## Summary as we began [discussing yesterday](https://github.com/facebook/react/pull/27056#discussion_r1253282784), `SuspenseList` is not actually stable yet, and should likely be exported with the `unstable_` prefix. the conversation yesterday bega...
[ { "path": "fixtures/stacks/Example.js", "patch": "@@ -38,7 +38,7 @@ function Example() {\n DisplayName,\n null,\n x(\n- React.SuspenseList,\n+ React.unstable_SuspenseList,\n null,\n x(\n NativeClass,", "additions": 1, "deletions": 1, "lan...
2023-07-06T18:09:53
rust-lang/rust
f3b7a1a9d8e0beb8998f5b621b26d4942c423123
57d2fb136650d05efb3ed3ea33b330bfc85844d5
Update documentation for `Result::ok()` The term of "discard" is misleading. An error is not discarded but converted to an `Option::None`.
[ { "path": "library/core/src/result.rs", "patch": "@@ -690,7 +690,7 @@ impl<T, E> Result<T, E> {\n /// Converts from `Result<T, E>` to [`Option<T>`].\n ///\n /// Converts `self` into an [`Option<T>`], consuming `self`,\n- /// and discarding the error, if any.\n+ /// and converting the error...
2026-02-02T01:14:41
nodejs/node
47c55713ae749e802c14434fa3241efbc30ac725
7ad0cc3e5715bff8f4def9b199952c5db25737d8
doc: add note to ninjia build for macOS using -jn flag PR-URL: https://github.com/nodejs/node/pull/53187 Fixes: https://github.com/nodejs/node/issues/53176 Refs: https://github.com/nodejs/node/issues/53176 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By...
[ { "path": "doc/contributing/building-node-with-ninja.md", "patch": "@@ -38,6 +38,10 @@ make -j4 # With this flag, Ninja will limit itself to 4 parallel jobs,\n # regardless of the number of cores on the current machine.\n ```\n \n+Note: if you are on macOS and use GNU Make version `3.x`, the `-jn` ...
2024-05-30T16:21:56
vercel/next.js
73202480cf04533407304050cd17baa606de6153
e25792b54997020cd389cd6f38d73ffd9ad47c3c
Prevent typescript errors in IDE for newly generated tests (part 2) (#80664) Follow-up to #78247. This prevents the following error when first opening the generated test file in the IDE: ``` Cannot find module 'e2e-utils' or its corresponding type declarations. ``` We're adding the patterns `**/*.test.ts` and `**/*....
[ { "path": "turbo/generators/config.ts", "patch": "@@ -94,6 +94,11 @@ export default function generator(plop: NodePlopAPI): void {\n type: 'add',\n templateFile: path.join(cnaTemplatePath, 'tsconfig.json'),\n path: path.join(targetPath, name, 'tsconfig.json'),\n+ transf...
2025-06-19T10:34:33
golang/go
2e6cbab1c84363638ed48f259c3db57c4d2aaab3
6f90ae362352552a8b6384e28c5751bb7110c33b
encoding/pem: clarify Decode only works on lines Fixes #53524 Change-Id: I929ee3c055c3ca564cd6cc374124f493aea2fbf6 Reviewed-on: https://go-review.googlesource.com/c/go/+/421636 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped...
[ { "path": "src/encoding/pem/pem.go", "patch": "@@ -85,7 +85,7 @@ var colon = []byte(\":\")\n // Decode will find the next PEM formatted block (certificate, private key\n // etc) in the input. It returns that block and the remainder of the input. If\n // no PEM data is found, p is nil and the whole of the in...
2022-08-06T13:28:16
rust-lang/rust
c6afd45ac16e0a665ed6feb2d45cf2a4e2769643
8e2c9c69c6279c0a63833163d622e4a55df07b3f
Move `depth_limit_error` out of `QueryContext` trait. It's defined and used in `rustc_query_impl`; `rustc_query_system` doesn't need it. So it can just be an inherent method on `QueryCtxt`.
[ { "path": "compiler/rustc_query_impl/src/plumbing.rs", "patch": "@@ -48,6 +48,23 @@ impl<'tcx> QueryCtxt<'tcx> {\n pub fn new(tcx: TyCtxt<'tcx>) -> Self {\n QueryCtxt { tcx }\n }\n+\n+ fn depth_limit_error(self, job: QueryJobId) {\n+ let query_map = self.collect_active_jobs(true).e...
2026-02-01T23:41:03
facebook/react
08e51d3fd72db5f11d9a1dd35480faa5d2305f65
d3b9948b5e26b8e28e6f079acca7e435672fa4e8
[rust] Pretty-printer for HIR Implements a pretty-printer for the HIR and switches the fixture tests to use this instead of the debug format. It's much more readable now! Note that not all types are properly printed, I only implemented the instructions and terminals used in the example. For others we fall back to...
[ { "path": "compiler/forget/crates/fixtures/tests/fixtures/simple.js", "patch": "@@ -1,4 +1,4 @@\n function test() {\n- [true, false, null, 1, 3.14, \"hello world!\"];\n+ [true, false, null, 1, 3.14, ...[\"hello world!\"]];\n return 2;\n }", "additions": 1, "deletions": 1, "language": "JavaSc...
2023-07-06T00:24:47
electron/electron
32288ac9c588fe8c3b814338aaf5df7fddbce276
42cda4a893e5c502ffe4bd1eb0f086709b586bd3
fix: focus rings with multiple buttons in `showMessageBox` (#36772) fix: focus rings with multiple buttons in messageBox
[ { "path": "shell/browser/ui/message_box_mac.mm", "patch": "@@ -71,9 +71,6 @@\n int button_count = static_cast<int>([ns_buttons count]);\n \n if (settings.default_id >= 0 && settings.default_id < button_count) {\n- // Highlight the button at default_id\n- [[ns_buttons objectAtIndex:settings.default...
2023-01-05T08:56:38
nodejs/node
7ad0cc3e5715bff8f4def9b199952c5db25737d8
9f6c12413cde5074893ffb378b8c3310275aa016
build: remove support for 32-bit Windows Closes: https://github.com/nodejs/node/issues/42543 PR-URL: https://github.com/nodejs/node/pull/53184 Fixes: https://github.com/nodejs/node/issues/42543 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Marco I...
[ { "path": "BUILDING.md", "patch": "@@ -100,26 +100,25 @@ Node.js does not support a platform version if a vendor has expired support\n for it. In other words, Node.js does not support running on End-of-Life (EoL)\n platforms. This is true regardless of entries in the table below.\n \n-| Operating System | A...
2024-05-30T14:28:47
vercel/next.js
e25792b54997020cd389cd6f38d73ffd9ad47c3c
2ffdaafbe962fe1a6e5b5011dd5fea6be48cd497
fix(turbopack): Fix static immutability analysis (#80646) ### What? Do not mark functions with `(&self)` receiver as imuutable. ### Why? `&self` is `self: Vc<Self>` with `self.await?` --------- Co-authored-by: Luke Sandberg <lukesandberg@users.noreply.github.com>
[ { "path": "turbopack/crates/turbo-tasks-macros/src/function_macro.rs", "patch": "@@ -67,7 +67,7 @@ pub fn function(args: TokenStream, input: TokenStream) -> TokenStream {\n filter_trait_call_args: None, // not a trait method\n local,\n invalidator,\n- immutable: sig.asyncness....
2025-06-19T05:17:15
facebook/react
d3b9948b5e26b8e28e6f079acca7e435672fa4e8
1d2e7ee74706b57fb293089671153bac7e57ec93
[rust] Fixture tests for parsing and lowering Adds a new `fixtures` crate intended for running end-to-end tests of the compiler. As we expand the compiler this will eventually match our JS fixture setup, where we have .js files as input and produce memoized JS output. For now, this does the following: * Parses ...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -12,6 +12,32 @@ dependencies = [\n \"regex\",\n ]\n \n+[[package]]\n+name = \"addr2line\"\n+version = \"0.20.0\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f02522...
2023-07-06T00:24:46
electron/electron
42cda4a893e5c502ffe4bd1eb0f086709b586bd3
700f43c90c714fbf0b91458288b88bc18eed7cb0
fix: rename WebSwapCGLLayer to WebSwapCGLLayerChromium (#35961) * fix: rename WebSwapCGLLayer to WebSwapCGLLayerChromium * undo changes to patches/config.json Co-authored-by: Jeremy Rose <jeremya@chromium.org>
[ { "path": "patches/angle/.patches", "patch": "@@ -0,0 +1 @@\n+fix_rename_webswapcgllayer_to_webswapcgllayerchromium.patch", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "patches/angle/fix_rename_webswapcgllayer_to_webswapcgllayerchromium.patch", "patch": "@@ -0,...
2023-01-05T06:49:08
nodejs/node
9f6c12413cde5074893ffb378b8c3310275aa016
851dcddb575f1abc2090c4022610a47ffce404d7
test_runner: add snapshot testing This commit adds a t.assert.snapshot() method that implements snapshot testing. Serialization uses JSON.stringify() by default, but users can configure the serialization to meet their needs. PR-URL: https://github.com/nodejs/node/pull/53169 Fixes: https://github.com/nodejs/node/issue...
[ { "path": "doc/api/cli.md", "patch": "@@ -991,6 +991,16 @@ added: REPLACEME\n \n Enable module mocking in the test runner.\n \n+### `--experimental-test-snapshots`\n+\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+> Stability: 1.0 - Early development\n+\n+Enable [snapshot testing][] in the test runner.\n+\n ### ...
2024-05-18T16:32:41
facebook/react
2ac69bf7d952aba132cd887b09b71622a295b88f
6c3792e8d5e79d94f0d5ee24a1c0b3262ac067fa
[rust] Passes from HIRBuilder This is a start to porting HIRBuilder, with a largely complete implementation of `build()`. Notably this includes all the passes which build() calls, and the helper functions those passes call in turn: ```rust reverse_postorder_blocks(&mut hir); remove_unreachable_for_updates(&mu...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -113,7 +113,9 @@ dependencies = [\n name = \"build-hir\"\n version = \"0.1.0\"\n dependencies = [\n+ \"estree\",\n \"hir\",\n+ \"indexmap 2.0.0\",\n ]\n \n [[package]]", "additions": 2, "deletions": 0, "language": "Unknown" }, { "path...
2023-07-06T00:24:43
golang/go
350118666d75445761bef5c45e681415e6d1b326
a1889554fc3e0c15b4a9870b49bf3a0252f80688
net/http: don't modify caller's tls.Config.NextProtos Clone the input slice before adjusting NextProtos to add or remove "http/1.1" and "h2" entries, so as not to modify a slice that the caller might be using. (We clone the tls.Config that contains the slice, but that's a shallow clone.) Fixes #72100 Change-Id: I9f2...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -13,6 +13,7 @@ import (\n \t\"compress/zlib\"\n \t\"context\"\n \t\"crypto/tls\"\n+\t\"crypto/x509\"\n \t\"encoding/json\"\n \t\"errors\"\n \t\"fmt\"\n@@ -7335,3 +7336,71 @@ func TestInvalidChunkedBodies(t *testing.T) {\n \t\t})\n \t}\n }\n+\n+// Issue #7...
2025-03-04T23:20:28
electron/electron
6cb5f5a1eb68c3013a2d62392b4289c70b2ce668
20cff642821cf9dc57b55fef4414fa0b010d329f
docs: update incorrect grammar (#36780) #### Description of Change The first sentence within the documentation "[Important: signing your code](https://www.electronjs.org/docs/latest/tutorial/tutorial-packaging#important-signing-your-code)" is grammatically incorrect. > In order to distribute desktop applications...
[ { "path": "docs/tutorial/tutorial-5-packaging.md", "patch": "@@ -127,8 +127,7 @@ documentation.\n \n ## Important: signing your code\n \n-In order to distribute desktop applications to end users, we _highly recommended_ for you\n-to **code sign** your Electron app. Code signing is an important part of shipp...
2023-01-04T13:52:29
nodejs/node
bb8d2936abe4e36f8fbc7a4b8a3075b20463ad78
0a3f93006544512b3e0479de41e13acfe42e4fa2
src: do not use soon-to-be-deprecated V8 API V8 announced deprecation of the following methods: - v8::Object::SetAccessor(...) in favor of v8::Object::SetNativeDataProperty(...), - v8::ObjectTemplate::SetNativeDataProperty(...) with AccessControl parameter in favor of v8::ObjectTemplate::SetNativeDataProper...
[ { "path": "src/node_process_object.cc", "patch": "@@ -13,7 +13,6 @@\n \n namespace node {\n using v8::Context;\n-using v8::DEFAULT;\n using v8::EscapableHandleScope;\n using v8::Function;\n using v8::FunctionCallbackInfo;\n@@ -183,13 +182,12 @@ void PatchProcessObject(const FunctionCallbackInfo<Value>& args...
2024-04-19T10:29:53
facebook/react
6c3792e8d5e79d94f0d5ee24a1c0b3262ac067fa
4c0122f4cf5b636f0073aab50de93115d6588591
[rust] Initial translation of HIR and related types This is an initial translation of HIR (minus the ReactiveFunction bits). It's mostly a straightforward translation. A few differences: * Instead of Effect having an Unknown variant, we type `Place.effect: Option<Effect>`. Maybe i'll revert that but it seems righ...
[ { "path": "compiler/forget/Cargo.lock", "patch": "@@ -109,6 +109,13 @@ dependencies = [\n \"serde\",\n ]\n \n+[[package]]\n+name = \"build-hir\"\n+version = \"0.1.0\"\n+dependencies = [\n+ \"hir\",\n+]\n+\n [[package]]\n name = \"bumpalo\"\n version = \"3.13.0\"\n@@ -186,6 +193,12 @@ dependencies = [\n \"...
2023-07-06T00:24:40
electron/electron
28cfaccb1d1a84c4d278ed82d5d80bfb2ad6c06c
c4a93390dda6bed5f52f901fb1d4ff1eb0662d8f
docs: update code highlights in tutorial (#36691) docs: fix code highlighting in preload tutorial The highlighted lines in the code snippets were unaligned, which could cause a newcomer unneeded confusion on what lines need to be changed.
[ { "path": "docs/tutorial/tutorial-3-preload.md", "patch": "@@ -81,7 +81,7 @@ contextBridge.exposeInMainWorld('versions', {\n To attach this script to your renderer process, pass its path to the\n `webPreferences.preload` option in the BrowserWindow constructor:\n \n-```js {8-10} title=\"main.js\"\n+```js {2...
2023-01-02T10:14:34
nodejs/node
1de215e285bf8afebe0b9b1908009399e3b1f9e2
e0b5deefc061009f0a0696d573ccfb447206b88a
process: add process.getBuiltinModule(id) `process.getBuiltinModule(id)` provides a way to load built-in modules in a globally available function. ES Modules that need to support other environments can use it to conditionally load a Node.js built-in when it is run in Node.js, without having to deal with the resolution...
[ { "path": "doc/api/process.md", "patch": "@@ -1921,6 +1921,46 @@ console.log('After:', getActiveResourcesInfo());\n // After: [ 'TTYWrap', 'TTYWrap', 'TTYWrap', 'Timeout' ]\n ```\n \n+## `process.getBuiltinModule(id)`\n+\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `id` {string} ID of the built-in module b...
2024-04-30T16:24:36
vercel/next.js
6e1372ecc6eb535af28ff37888ab62c02df08cb5
b2f9fa455b0683571e06dad49424f3052d626125
fix: Add Chrome-ligthouse to htmlLimitedBots (#80656) Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next/src/shared/lib/router/utils/html-bots.ts", "patch": "@@ -1,4 +1,4 @@\n // This regex contains the bots that we need to do a blocking render for and can't safely stream the response\n // due to how they parse the DOM. For example, they might explicitly check for metadata in the `head...
2025-06-18T17:03:47