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
c386ed107e65f495acb6aacb0efcaade27da6a15
c558f017ef2a98fd625107d36271e184ae29c626
cmd/internal/obj/riscv: fix the encoding for REV8 and ORCB The instructions are currently encoded and validated using an iIIEncoding which is incorrect as these instructions do not take an immediate operand. Encode them instead using an rIIEncoding as is done for the other two register argument bitmanip instructions....
[ { "path": "src/cmd/internal/obj/riscv/obj.go", "patch": "@@ -2094,8 +2094,8 @@ var instructions = [ALAST & obj.AMask]instructionData{\n \tARORI & obj.AMask: {enc: iIIEncoding, ternary: true},\n \tARORIW & obj.AMask: {enc: iIIEncoding, ternary: true},\n \tARORW & obj.AMask: {enc: rIIIEncoding, immForm: ARO...
2024-12-11T17:09:32
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
vercel/next.js
112a7657dfa6f2abaed35fbfadf5a60e150487f6
694ec0b06ab3c3bbcd20e97e532d2092e6fb1dae
[tubopack] Compile time replace top level `this` expressions to fix a subtle esm bug and simplify the client side runtime (#80925) ### What Use the 'free variable' system to compile time replace `this` expressions at the top level. In ESM modules it is rebound to `undefined`, this fixes an existing bug in turbopack w...
[ { "path": "turbopack/crates/turbopack-core/src/compile_time_info.rs", "patch": "@@ -107,6 +107,7 @@ pub enum CompileTimeDefineValue {\n Bool(bool),\n String(RcStr),\n JSON(RcStr),\n+ Undefined,\n }\n \n impl From<bool> for CompileTimeDefineValue {", "additions": 1, "deletions": 0, ...
2025-06-27T01:40:47
golang/go
c558f017ef2a98fd625107d36271e184ae29c626
a20d583bb99cb2715dd412738c3c5f56e8700158
runtime/race: fix reversed conditional in test for fatal map access Change-Id: Icc4d90355d8af07fdec852b2adf720f7cfd1edd6 Reviewed-on: https://go-review.googlesource.com/c/go/+/659735 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com...
[ { "path": "src/runtime/race/race_test.go", "patch": "@@ -193,7 +193,7 @@ func runTests(t *testing.T) ([]byte, error) {\n \t// A crash in the map concurrent access detector will cause other tests not to run.\n \t// Perhaps we should run tests with concurrent map access separately to avoid this,\n \t// but fo...
2025-03-20T22:03:43
facebook/react
4c68da2e60d2c5de46097eab914e6874806bf385
f504eaa16ecbfc1000d9fc9fc007b2ec313f7dda
Todo for early return within reactive scopes Adds a new compiler pass that will eventually actually handle early returns within reactive scopes. For now it just detects them and throws a Todo error.
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Pipeline.ts", "patch": "@@ -49,6 +49,7 @@ import {\n mergeOverlappingReactiveScopes,\n mergeReactiveScopesThatInvalidateTogether,\n promoteUsedTemporaries,\n+ propagateEarlyReturns,\n propagateScopeDependencies,\n pruneAllReact...
2023-12-20T21:52:37
electron/electron
efde7a140bc48e0e3e08404f41f6179c26858ce4
4e85bb921bef97a5bedb4188d0e360ec4a0b70c0
fix: WebUSB on ARM64 macs (#37441)
[ { "path": "patches/chromium/.patches", "patch": "@@ -126,3 +126,4 @@ chore_patch_out_partition_attribute_dcheck_for_webviews.patch\n expose_v8initializer_codegenerationcheckcallbackinmainthread.patch\n chore_patch_out_profile_methods_in_profile_selections_cc.patch\n fix_x11_window_restore_minimized_maximize...
2023-03-07T17:40:40
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
vercel/next.js
71cdce68e02c1cb5bd31afe60dd2276bb5a8ef7e
ee5c6eb73f3a3dd2d1b474664f1b93a1d397ed93
[refactor] group the built-in conventions (#80957) Group all the built-in conventions into `src/client/components/builtin` with the actual same name of the conventions they represent. e.g. The default `not-found.js` is `next/dist/client/compoents/builtin/not-found.js`; The default `global-error.js` is `next/dist...
[ { "path": "crates/next-core/src/app_structure.rs", "patch": "@@ -910,23 +910,23 @@ async fn directory_tree_to_loader_tree_internal(\n if modules.not_found.is_none() {\n modules.not_found = Some(\n get_next_package(app_dir)\n- .join(rcstr!(\"dist/client/...
2025-06-26T21:36:57
facebook/react
3e00e58a6ac7f73a3660f31d3129fb06d344167e
8b1547b671f9ea9a2db38f2404557fb59b84afc0
fix[devtools/e2e]: add fallback for act in integration tests (#27842) https://github.com/facebook/react/pull/27805 broke integration tests for React DevTools with React 17, these changes introduce a fallback for such case when `act` is not available in `react`, but available in `react-dom`, like before.
[ { "path": "packages/react-devtools-shared/src/__tests__/utils.js", "patch": "@@ -19,7 +19,9 @@ export function act(\n recursivelyFlush: boolean = true,\n ): void {\n const {act: actTestRenderer} = require('react-test-renderer');\n- const actDOM = require('react').unstable_act;\n+ // Use `require('reac...
2023-12-17T13:17:45
golang/go
a20d583bb99cb2715dd412738c3c5f56e8700158
2ffda87f2dce71024f72ccff32cbfe29ee676bf8
cmd/compile/internal/abi: fix ComputePadding Fixes the ComputePadding calculation to take into account the padding added for the current offset. This fixes an issue where padding can be added incorrectly for certain structs. Related: https://github.com/go-delve/delve/issues/3923 Fixes #72053 Change-Id: I27762979916...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -673,10 +673,9 @@ func (pa *ABIParamAssignment) ComputePadding(storage []uint64) []uint64 {\n \t\tpanic(\"internal error\")\n \t}\n \toffsets, _ := appendParamOffsets([]int64{}, 0, pa.Type)\n-\toff := int64(0)\n \tfor idx, t := range types {...
2025-03-19T01:54:41
electron/electron
c8f715f9a1c116ccb3796e3290fea89989cc0f6e
829fb4f586ee4f0c5b6bbbc6ae9c9853a710eba6
fix: Showing the about panel is async on all platforms (#37440) * fix: about panel is a base::Value::Dict * nix this test for a diff PR * what if the about dialog was not blocking * add this test back in * document synchronicity * github editor is a fan of spaces
[ { "path": "docs/api/app.md", "patch": "@@ -1357,7 +1357,7 @@ This API must be called after the `ready` event is emitted.\n \n ### `app.showAboutPanel()`\n \n-Show the app's about panel options. These options can be overridden with `app.setAboutPanelOptions(options)`.\n+Show the app's about panel options. Th...
2023-03-06T14:46:35
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
vercel/next.js
ee5c6eb73f3a3dd2d1b474664f1b93a1d397ed93
3bad7cc77993d97a0583c36d00af9e047847c965
fix(turbopack): Fix a panic when the generated hash is too short when radix formatting a string. (#80966) ## Fix hash length check in metadata formatting ### What? Fixed a panic in the `format_radix` function when the generated hash is shorter than 6 characters. ### Why? The current implementation always tries to ta...
[ { "path": "crates/next-core/src/next_app/metadata/mod.rs", "patch": "@@ -276,7 +276,12 @@ fn format_radix(mut x: u32, radix: u32) -> String {\n }\n \n result.reverse();\n- result[..6].iter().collect()\n+\n+ // We only need the first 6 characters of the hash but sometimes the hash is too short....
2025-06-26T19:30:29
facebook/react
8b1547b671f9ea9a2db38f2404557fb59b84afc0
8b8d265bd9a4cab7bbd04a9a13950fdc946ea51c
docs: fix typo in README.md (#27841)
[ { "path": "README.md", "patch": "@@ -30,7 +30,7 @@ The documentation is divided into several sections:\n * [Installation](https://react.dev/learn/installation)\n * [Describing the UI](https://react.dev/learn/describing-the-ui)\n * [Adding Interactivity](https://react.dev/learn/adding-interactivity)\n-* [Man...
2023-12-16T23:37:42
golang/go
686128a9f3f112c2e103622190673656811dee5f
93fe8c0415a10d26143a3ec1349937b2d94d0ebd
runtime/race: don't complain about unrun tests when fatal map access happens Fixes #72964 Change-Id: I42c6994fec3b21774bddd1d4d65dc832d9149446 Reviewed-on: https://go-review.googlesource.com/c/go/+/659697 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts....
[ { "path": "src/runtime/race/race_test.go", "patch": "@@ -190,6 +190,12 @@ func runTests(t *testing.T) ([]byte, error) {\n \t\t// in the map concurrent access detector).\n \t\treturn out, errors.New(\"runtime fatal error\")\n \t}\n+\t// A crash in the map concurrent access detector will cause other tests not...
2025-03-20T20:33:49
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
electron/electron
829fb4f586ee4f0c5b6bbbc6ae9c9853a710eba6
17ccb3c6ecca1b16fb3e10504ffe0135b4e1794c
fix: don't double-log unhandled rejections (#37464)
[ { "path": "shell/browser/electron_browser_main_parts.cc", "patch": "@@ -279,7 +279,7 @@ void ElectronBrowserMainParts::PostEarlyInitialization() {\n env->set_trace_sync_io(env->options()->trace_sync_io);\n \n // We do not want to crash the main process on unhandled rejections.\n- env->options()->unhand...
2023-03-06T10:04:43
facebook/react
8b8d265bd9a4cab7bbd04a9a13950fdc946ea51c
63310df2b243b6c3b2f01e8b121e7d115e839cfb
[Flight] Wire up async_hooks in Node.js DEV for inspecting Promises (#27840) This wires up the use of `async_hooks` in the Node build (as well as the Edge build when a global is available) in DEV mode only. This will be used to track debug info about what suspended during an RSC pass. Enabled behind a flag for no...
[ { "path": ".eslintrc.js", "patch": "@@ -532,6 +532,7 @@ module.exports = {\n trustedTypes: 'readonly',\n IS_REACT_ACT_ENVIRONMENT: 'readonly',\n AsyncLocalStorage: 'readonly',\n+ async_hooks: 'readonly',\n globalThis: 'readonly',\n },\n };", "additions": 1, "deletions": 0, "...
2023-12-16T02:38:01
golang/go
93fe8c0415a10d26143a3ec1349937b2d94d0ebd
b613d21ffd17c1dda480b205f0cce5031bdbd5dd
strings: don't assert on Replace's allocs for ASAN CL 657935 caused failures on the ASAN builder. Under ASAN, do not assert on the number of allocations incurred by Replace. Fixes #72973 Change-Id: I61536be6def6f2489d2a026c943c6e232865b723 GitHub-Last-Rev: 4aee3c2560c9a6fa6ba7c1950acc2172a7cfffe4 GitHub-Pull-Reques...
[ { "path": "src/strings/strings_test.go", "patch": "@@ -7,6 +7,7 @@ package strings_test\n import (\n \t\"bytes\"\n \t\"fmt\"\n+\t\"internal/asan\"\n \t\"io\"\n \t\"iter\"\n \t\"math\"\n@@ -1473,9 +1474,11 @@ var ReplaceTests = []struct {\n \n func TestReplace(t *testing.T) {\n \tfor _, tt := range ReplaceTe...
2025-03-20T20:33:46
electron/electron
76c825d6193e6da540b64190ff2d2298d53da5ea
692876c73740d039ac840c91c719f7e9cf3b7e76
fix: draggable regions on MAS (#37466)
[ { "path": "shell/browser/ui/cocoa/electron_ns_window.mm", "patch": "@@ -11,6 +11,9 @@\n #include \"shell/browser/ui/cocoa/root_view_mac.h\"\n #include \"ui/base/cocoa/window_size_constants.h\"\n \n+#import <objc/message.h>\n+#import <objc/runtime.h>\n+\n namespace electron {\n \n int ScopedDisableResize::di...
2023-03-02T19:21:51
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
facebook/react
63310df2b243b6c3b2f01e8b121e7d115e839cfb
493610f299ddf7d06e147e60dc4f2b97482982d2
[Fizz] Add Component Stacks to `onError` and `onPostpone` when in dev mode or during prerenders in prod mode (#27761) Historically React would produce component stacks for dev builds only. There is a cost to tracking component stacks and given the prod builds try to optimize runtime performance these stacks were lef...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js", "patch": "@@ -734,7 +734,7 @@ describe('ReactDOMFizzServer', () => {\n \n const theError = new Error('Test');\n const loggedErrors = [];\n- function onError(x) {\n+ function onError(x, errorInfo) {\n loggedErrors.pu...
2023-12-16T02:06:35
golang/go
b613d21ffd17c1dda480b205f0cce5031bdbd5dd
ba50de84299667dcaa2f4e6663078340bbae8c67
testing: allow manual timer control in testing.B.Loop Fixes #72922 Change-Id: I56610d2d11d151a8f95b6434bbedbfcd5c11c317 Reviewed-on: https://go-review.googlesource.com/c/go/+/658975 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Junyang Shao <shaojunyang@google...
[ { "path": "src/testing/benchmark.go", "patch": "@@ -368,16 +368,16 @@ func (b *B) ReportMetric(n float64, unit string) {\n }\n \n func (b *B) stopOrScaleBLoop() bool {\n-\ttimeElapsed := highPrecisionTimeSince(b.start)\n-\tif timeElapsed >= b.benchTime.d {\n+\tt := b.Elapsed()\n+\tif t >= b.benchTime.d {\n ...
2025-03-18T21:13:23
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
electron/electron
692876c73740d039ac840c91c719f7e9cf3b7e76
c3f06ef037cb2eaf649d963f13d27265a68d7018
docs(clipboard): fix an issue of demo code (#37438) doc(clipboard): fix an issue of demo code
[ { "path": "docs/api/clipboard.md", "patch": "@@ -226,7 +226,7 @@ clipboard.writeBuffer('public/utf8-plain-text', buffer)\n \n const ret = clipboard.readBuffer('public/utf8-plain-text')\n \n-console.log(buffer.equals(out))\n+console.log(buffer.equals(ret))\n // true\n ```\n ", "additions": 1, "deleti...
2023-03-02T11:24:59
facebook/react
3e79c386048c4fe569afb023d85b71ed2ffe5b8e
af1aa8d0d31ffac773dd6d4081fcd64beac22919
More useCallback with ref fixtures
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-useCallback-accesses-ref-mutated-later-via-function-preserve-memoization.expect.md", "patch": "@@ -0,0 +1,42 @@\n+\n+## Input\n+\n+```javascript\n+// @enablePreserveExistingMemoizationGuarantees\n+import { useC...
2023-12-16T00:59:19
vercel/next.js
812596e77e73f0a7f02ea3ec34d5bc2c0e9f9093
166f710c1fcc529ffd81e6c12f1b296d030fa1ba
Update backend-for-frontend.mdx (#80942) Example function in [App Router > Guides > Backend For Frontend > Public Endpoints](https://nextjs.org/docs/app/guides/backend-for-frontend#public-endpoints) should be `async` (since using `await`) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make su...
[ { "path": "docs/01-app/02-guides/backend-for-frontend.mdx", "patch": "@@ -51,7 +51,7 @@ Use `try/catch` blocks for operations that may throw an exception:\n ```ts filename=\"/app/api/route.ts\" switcher\n import { submit } from '@/lib/submit'\n \n-export function POST(request: Request) {\n+export async func...
2025-06-26T18:08:22
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
c3f06ef037cb2eaf649d963f13d27265a68d7018
9b20b3a722a7b807c161813cf2b616e74aee660d
fix: DCHECK in MessageSync in rare cases (#37439)
[ { "path": "shell/browser/api/electron_api_web_contents.cc", "patch": "@@ -1857,22 +1857,23 @@ class ReplyChannel : public gin::Wrappable<ReplyChannel> {\n }\n const char* GetTypeName() override { return \"ReplyChannel\"; }\n \n+ void SendError(const std::string& msg) {\n+ v8::Isolate* isolate = elec...
2023-03-02T09:03:52
golang/go
ba50de84299667dcaa2f4e6663078340bbae8c67
9dc572eab55b085b61877ecd4d7cc492e34dc3ab
os: skip atime checks in TestRootChtimes on plan9 Plan 9 doesn't permit setting arbitrary atimes. Fixes #72957 Change-Id: Ia4e14c75ed7dcdefd4669c0c21884d5ead9ab2fb Reviewed-on: https://go-review.googlesource.com/c/go/+/659615 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Damien Neil <dneil@google.com>...
[ { "path": "src/os/root_test.go", "patch": "@@ -427,6 +427,9 @@ func TestRootChmod(t *testing.T) {\n }\n \n func TestRootChtimes(t *testing.T) {\n+\t// Don't check atimes if the fs is mounted noatime,\n+\t// or on Plan 9 which does not permit changing atimes to arbitrary values.\n+\tcheckAtimes := !hasNoatim...
2025-03-20T16:30:19
vercel/next.js
166f710c1fcc529ffd81e6c12f1b296d030fa1ba
7678bb904ebc533576394afdace72040dc3cb0be
Docs/feedback june batch (#80651) Addressing feedback from: - missing function reference https://github.com/vercel/next.js/issues/77190 - Error boundaries: https://github.com/vercel/next.js/issues/42525 - RedirectType: https://github.com/vercel/next.js/issues/59160 - generateMetadata can be included into static build...
[ { "path": "docs/01-app/01-getting-started/07-fetching-data.mdx", "patch": "@@ -579,7 +579,7 @@ You can preload data by creating an utility function that you eagerly call above\n You can call `preload()` before `checkIsAvailable()` to eagerly initiate `<Item/>` data dependencies. By the time `<Item/>` is ren...
2025-06-26T18:07:53
facebook/react
0b32173d0995ad581513ff5d226b010fd117395c
721b6a4f91b883f353217f42e5d90f4e4efbf1da
More fixtures for useCallback with refs Extra fixture confirming that some usage of refs can break memoization, both in normal mode and in preserve-existing-memo mode.
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/useCallback-set-ref-nested-property-dont-preserve-memoization.expect.md", "patch": "@@ -0,0 +1,67 @@\n+\n+## Input\n+\n+```javascript\n+// @enablePreserveExistingMemoizationGuarantees:false\n+import { useCallback, useRef ...
2023-12-16T00:22:13
electron/electron
9b20b3a722a7b807c161813cf2b616e74aee660d
8f2917db0169c81d293db7e32902252612ac68f5
chore: improve `contents.takeHeapSnapshot` error messages (#37434) * chore: improve contents.takeHeapSnapshot error messages * fix wstring conversion issue
[ { "path": "shell/browser/api/electron_api_web_contents.cc", "patch": "@@ -3609,18 +3609,26 @@ v8::Local<v8::Promise> WebContents::TakeHeapSnapshot(\n flags = base::File::AddFlagsForPassingToUntrustedProcess(flags);\n base::File file(file_path, flags);\n if (!file.IsValid()) {\n- promise.RejectWithE...
2023-03-01T15:50:36
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
golang/go
665af869920432879629c1d64cf59f129942dcd6
84e0061460d7c9a624a74e13f0212f443b079531
cmd/go: fail go clean command when failed to find go cache directory Currently, if computing of the go cache directory fails it does not expose the error. Commands like go clean, exec, modindex that use go cache directory continue execution producing incorrect or no result. This patch adds an error to the return value...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2343,7 +2343,7 @@\n //\t\tThe directory where 'go install' will install a command.\n //\tGOCACHE\n //\t\tThe directory where the go command will store cached\n-//\t\tinformation for reuse in future builds.\n+//\t\tinformation for reuse in future builds. Must ...
2025-03-18T20:02:03
vercel/next.js
c2e59081a9ac8f03615a430a583b1d53247eb459
2a93c30f3870255b7d2c1ee74a7967ea463af383
Reenable debug assertions for dependencies in dev (#80958) This was added multiple years ago
[ { "path": "Cargo.toml", "patch": "@@ -29,8 +29,6 @@ opt-level = 1\n \n # Set the options for dependencies (not crates in the workspace), this mostly impacts cold builds\n [profile.dev.package.\"*\"]\n-# This is a workaround for wasm timeout issue\n-debug-assertions = false\n opt-level = 1\n \n # Set the set...
2025-06-26T16:57:16
facebook/react
c6200d1a2bdfaee1b91f9a6364e7eecc060d5989
6747d4e33c1ea25612f475be2153f666b55c2b93
Fix comments, extend fixtures
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Inference/DropManualMemoization.ts", "patch": "@@ -130,12 +130,12 @@ export function dropManualMemoization(func: HIRFunction): void {\n * $1 = LoadGlobal useMemo // load the useMemo global (dead code)\n ...
2023-12-15T23:19:41
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
rust-lang/rust
e55eb4566152bbed506f4916ddec3817c2a76f42
0a13b4361264236cb40afebea97973e6dc366de3
Convert to inline diagnostics in `rustc_errors`
[ { "path": "Cargo.lock", "patch": "@@ -3846,7 +3846,6 @@ dependencies = [\n \"rustc_data_structures\",\n \"rustc_error_codes\",\n \"rustc_error_messages\",\n- \"rustc_fluent_macro\",\n \"rustc_hashes\",\n \"rustc_index\",\n \"rustc_lint_defs\",", "additions": 0, "deletions": 1, "language": ...
2026-02-04T15:27:09
golang/go
84e0061460d7c9a624a74e13f0212f443b079531
2fb5610c3a2f0b61714f167ff8f701518fbc9370
net/http/httputil: document ReverseProxy removal of response headers Fixes #30359 Change-Id: I5dfb2cd63c737959fd2f6a0dbf50ff8de18bb15d Reviewed-on: https://go-review.googlesource.com/c/go/+/658535 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gservi...
[ { "path": "src/net/http/httputil/reverseproxy.go", "patch": "@@ -102,6 +102,13 @@ func (r *ProxyRequest) SetXForwarded() {\n //\n // 1xx responses are forwarded to the client if the underlying\n // transport supports ClientTrace.Got1xxResponse.\n+//\n+// Hop-by-hop headers (see RFC 9110, section 7.6.1), inc...
2025-03-17T18:39:31
electron/electron
8f2917db0169c81d293db7e32902252612ac68f5
49df19214ea3abaf0ad91adf3d374cba32abd521
fix: min/max width/height enforcement when `aspectRatio` is set (#37306) fix: min/max width/height with aspect ratio
[ { "path": "shell/browser/ui/cocoa/electron_ns_window_delegate.mm", "patch": "@@ -128,27 +128,62 @@ - (void)windowDidResignKey:(NSNotification*)notification {\n - (NSSize)windowWillResize:(NSWindow*)sender toSize:(NSSize)frameSize {\n NSSize newSize = frameSize;\n double aspectRatio = shell_->GetAspectRa...
2023-03-01T15:50:14
vercel/next.js
6363f5add59a9b8c8dfd19e635dbe897fff00b6f
b3e6b5b6e6987b2b71f981398b7975885262cf1f
Turbopack: Improve unreachable code error message (#80934) ## What? Improves this `unreachable!()` as [Ciprian Caba](https://x.com/cipriancaba) reached out hitting this particular case but there's no info as to what path causes it. This PR adds that info.
[ { "path": "turbopack/crates/turbo-tasks-fs/src/read_glob.rs", "patch": "@@ -165,7 +165,13 @@ async fn track_glob_internal(\n reads.push(fs.read(*path))\n }\n }\n- DirectoryEntry::Symlink(_) => unreachable!(\"we alread...
2025-06-26T15:42:42
rust-lang/rust
2f9a893e9189dcb622e0ba85f1a8a87e3c42f4ef
7bf6355886f3cc17713d449e8da45c997caf7c59
Replace Registry type with a lazily initialized static And move try_find_description to rustc_errors::codes.
[ { "path": "src/parse/session.rs", "patch": "@@ -5,7 +5,6 @@ use std::sync::atomic::{AtomicBool, Ordering};\n use rustc_data_structures::sync::IntoDynSyncSend;\n use rustc_errors::annotate_snippet_emitter_writer::AnnotateSnippetEmitter;\n use rustc_errors::emitter::{DynEmitter, Emitter, SilentEmitter, stderr...
2026-02-04T19:52:53
facebook/react
723b616c6778fa46fb817e2e4e000fdc7fd1b46d
ec27708024d134ee13fbd11bfe4043b4cdda148b
enablePreserveMemo treats memo deps as frozen See discussion on #2448 for full context. In the new `@enablePreserveExistingMemoizationGuarantees` mode, the goal is to preserve the existing referential equality guarantees from the original code. #2448 lays the groundwork by explicitly marking the _output_ of each u...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/PrintHIR.ts", "patch": "@@ -494,6 +494,8 @@ export function printInstructionValue(instrValue: ReactiveValue): string {\n }\n case \"ObjectMethod\":\n case \"FunctionExpression\": {\n+ const kind =\n+ instrValue.kind === \...
2023-12-15T21:47:22
golang/go
b59b0580a164478877a684ff3c347a15b03b14fe
03cb8d408e0372693f165b63dff1410c47d9cd1b
os: don't wrap os.Getgroups error in tests The error returned is an os.PathError which already provides enough context. Change-Id: Ib9391c00afc56bca673b8086d5dc19cf9b99b285 Reviewed-on: https://go-review.googlesource.com/c/go/+/658957 Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Ian Lance Taylor <iant@g...
[ { "path": "src/os/os_unix_test.go", "patch": "@@ -64,7 +64,7 @@ func TestChown(t *testing.T) {\n \t// Then try all the auxiliary groups.\n \tgroups, err := Getgroups()\n \tif err != nil {\n-\t\tt.Fatalf(\"getgroups: %s\", err)\n+\t\tt.Fatal(err)\n \t}\n \tt.Log(\"groups: \", groups)\n \tfor _, g := range gr...
2025-03-18T23:33:22
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
5e25d23794a4b3b1bda35c79fcc1b2fdd787ad69
8fb0f430301578ba94b175f0b097fb2752f5ddf9
fix: handle closing `webContents` in `BrowserView`s (#37420) * fix: handle closing webContents in BrowserViews * test: add window.close() test
[ { "path": "shell/browser/api/electron_api_browser_view.cc", "patch": "@@ -126,6 +126,9 @@ BrowserView::~BrowserView() {\n }\n \n void BrowserView::WebContentsDestroyed() {\n+ if (owner_window())\n+ owner_window()->window()->RemoveDraggableRegionProvider(this);\n+\n api_web_contents_ = nullptr;\n web...
2023-03-01T10:35:06
vercel/next.js
b3e6b5b6e6987b2b71f981398b7975885262cf1f
74b7cc339ad28e43d6cd405b9bda74a839b5a0e3
Docs/fetching data deduping (#80806) Fixes: https://github.com/vercel/next.js/issues/77077 https://github.com/vercel/next.js/issues/80790 - We are missing the deduping step that wraps with React.cache - Add some more clarify about passing cache, current and future renders Closes: https://linear.app/vercel/issue/DOC-...
[ { "path": "docs/01-app/01-getting-started/07-fetching-data.mdx", "patch": "@@ -234,13 +234,17 @@ export default function BlogPage() {\n }\n ```\n \n-## Deduplicating requests with `React.cache`\n+## Deduplicate requests and cache data\n \n-Deduplication is the process of _preventing duplicate requests_ for ...
2025-06-26T14:41:42
facebook/react
fc3604301983d8adcd1b5c4b8dce4ece48d4f615
873a286029b86a9696b4f4fae9e465e8ace6d44f
Fixture for pruning unmemoized nonreactive deps Adds a fixture for our existing behavior that reactive scope dependencies exclude values which are non-reactive. The idea is that regardless of whether the value may actually get recreated over time or not, a "nonreactive" value cannot semantically change and therefo...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/unmemoized-nonreactive-dependency-is-pruned-as-dependency.expect.md", "patch": "@@ -0,0 +1,55 @@\n+\n+## Input\n+\n+```javascript\n+import { mutate, useNoAlias } from \"shared-runtime\";\n+\n+function Component(props) {\n...
2023-12-14T20:05:25
rust-lang/rust
639cb694df242aaa356ebcd4ddca47355af4240c
1851937577eaf46ef18c437ac2ad9b2a5f3e3606
Replace Registry type with a lazily initialized static And move try_find_description to rustc_errors::codes.
[ { "path": "compiler/rustc_codegen_ssa/src/back/write.rs", "patch": "@@ -1981,11 +1981,7 @@ impl SharedEmitter {\n }\n \n impl Emitter for SharedEmitter {\n- fn emit_diagnostic(\n- &mut self,\n- mut diag: rustc_errors::DiagInner,\n- _registry: &rustc_errors::registry::Registry,\n- ...
2026-02-04T19:52:53
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
electron/electron
8fb0f430301578ba94b175f0b097fb2752f5ddf9
1f390119fe82249a856965fadbcf4fab89766e67
fix: `Notification` with reply obscuring first action on macOS (#37381) fix: Notification with reply obscuring first action
[ { "path": "shell/browser/notifications/mac/cocoa_notification.mm", "patch": "@@ -58,15 +58,22 @@\n [notification_ setSoundName:base::SysUTF16ToNSString(options.sound)];\n }\n \n- [notification_ setHasActionButton:false];\n+ if (options.has_reply) {\n+ [notification_ setHasReplyButton:true];\n+ ...
2023-03-01T08:46:56
facebook/react
a6e65e83e8b0fb8407509e994a85422a9d3f933d
afbaa8d3caf2bd2be72b5c5dbe2280808b4c4b20
Prefer reporting conditional hook violations over "hook as value" violations After running the latest hook validation internally, I found some cases where there was a violation but the error message was not ideal. For example on this code: ```javascript usePossiblyNullHook?.(); ``` We reported a "hooks can'...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Validation/ValidateHooksUsage.ts", "patch": "@@ -17,6 +17,7 @@ import {\n HIRFunction,\n IdentifierId,\n Place,\n+ SourceLocation,\n getHookKind,\n } from \"../HIR/HIR\";\n import {\n@@ -109,32 +110,47 @@ export function validateHooksUsage(...
2023-12-13T00:42:51
vercel/next.js
74b7cc339ad28e43d6cd405b9bda74a839b5a0e3
be43ff10d4f5a3ce8e07cf286b456e44c4ca448b
docs: Add a link to what opts into dynamic rendering (#80910) Fixes: https://github.com/vercel/next.js/issues/66871#issuecomment-3005875361 Let's add this patch quickly. I take over the Devin PR - and try to get it merged in the coming days.
[ { "path": "docs/01-app/02-guides/content-security-policy.mdx", "patch": "@@ -33,7 +33,7 @@ Even though CSPs are designed to block malicious scripts, there are legitimate s\n \n [Middleware](/docs/app/api-reference/file-conventions/middleware) enables you to add headers and generate nonces before the page re...
2025-06-26T14:32:02
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
electron/electron
87f2a1d572a78c41da293eeb467966f76da7ba9d
2e03bdb9b624c24646b5104ce972e0800f622683
fix: `BroadcastChannel` initialization location (#37421) * fix: BroadcastChannel initialization location * chore: update patches --------- Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
[ { "path": "patches/node/.patches", "patch": "@@ -35,3 +35,4 @@ enable_crashpad_linux_node_processes.patch\n allow_embedder_to_control_codegenerationfromstringscallback.patch\n src_allow_optional_isolation_termination_in_node.patch\n test_mark_cpu_prof_tests_as_flaky_in_electron.patch\n+lib_fix_broadcastchan...
2023-02-28T22:26:37
facebook/react
afbaa8d3caf2bd2be72b5c5dbe2280808b4c4b20
06376b906d173ee03e49bbbb6277393b9015cf0a
Add a reason to ValueKind for better error messages (#2447)
[ { "path": "compiler/packages/babel-plugin-react-forget/src/HIR/HIR.ts", "patch": "@@ -942,6 +942,33 @@ export type Identifier = {\n type: Type;\n };\n \n+export type AbstractValue = {\n+ kind: ValueKind;\n+ reason: ReadonlySet<ValueReason>;\n+};\n+\n+/**\n+ * The reason for the kind of a value.\n+ */\n+...
2023-12-15T15:20:14
rust-lang/rust
2184b446ce264d19e43cb6c38611da7cf1a14150
a358a9e43a3ab3c46eb4263364cddc7bd2202e0b
Fix typo
[ { "path": "src/doc/rustc-dev-guide/src/const-generics.md", "patch": "@@ -61,7 +61,7 @@ In some sense the desugarings from the previous examples are to:\n struct Foo<const N: usize>;\n type Alias = [u8; 1 + 1];\n \n-// sort-of desugars to psuedo-rust:\n+// sort-of desugars to pseudo-rust:\n struct Foo<const ...
2026-01-31T17:29:28
golang/go
af0d51c70fe18f860572767d6accdedb7f180358
b1ec5ad00ae6ddf2e022a90432547a96292098f0
os: fix typos in comments * peformed -> performed * reprots -> reports Found when reviewing Change-Id: I9474074199f6a610f40b4bcf798c6d77948f3d3c Reviewed-on: https://go-review.googlesource.com/c/go/+/658956 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accoun...
[ { "path": "src/os/root.go", "patch": "@@ -57,7 +57,7 @@ func OpenInRoot(dir, name string) (*File, error) {\n // such as NUL and COM1.\n // - On Unix, [Root.Chmod], [Root.Chown], and [Root.Chtimes] are vulnerable to a race condition.\n // If the target of the operation is changed from a regular fil...
2025-03-18T23:28:31
vercel/next.js
28e072705d8c49b6c370b9c847b88a6b1291d33e
2775ddf500eb5e527ebbd6973bff4502a049fc16
docs: Use phosphor icons import perf optimization (#80811) Fixes: https://github.com/vercel/next.js/issues/80800 `react-icons` only supports the pattern we show through `react-icons/all-files`, which hasn't been updated in the past 5 years. `react-icons` does group icons by sets, so the recommendation about sticking ...
[ { "path": "docs/01-app/02-guides/local-development.mdx", "patch": "@@ -37,19 +37,20 @@ npm run dev --turbopack\n \n The way you import code can greatly affect compilation and bundling time. Learn more about [optimizing package bundling](/docs/app/guides/package-bundling) and explore tools like [Dependency C...
2025-06-26T14:27:31
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
electron/electron
2e03bdb9b624c24646b5104ce972e0800f622683
3a5ae28c9532004f55ffd2198731e530f94a59bf
fix: about panel crash (#37373) * fix: about panel is a base::Value::Dict * nix this test for a diff PR
[ { "path": "shell/browser/browser.h", "patch": "@@ -363,7 +363,7 @@ class Browser : public WindowListObserver {\n base::Time last_dock_show_;\n #endif\n \n- base::Value about_panel_options_;\n+ base::Value::Dict about_panel_options_;\n \n #if BUILDFLAG(IS_WIN)\n void UpdateBadgeContents(HWND hwnd,", ...
2023-02-28T22:26:00
rust-lang/rust
17305da24f57e8de6ef6c0931bcc7e8a03309f33
9f4b56a5aed81e8c36cc26b3c1b4666ead6b71fc
Fix error spans for asm!() args that are macros
[ { "path": "compiler/rustc_builtin_macros/src/asm.rs", "patch": "@@ -288,6 +288,18 @@ fn expand_preparsed_asm(\n let msg = \"asm template must be a string literal\";\n let template_sp = template_expr.span;\n let template_is_mac_call = matches!(template_expr.kind, ast::ExprKind::MacCal...
2026-02-05T07:46:46
golang/go
57dac327d15b4debe33057b9ca785e303731e81c
4bc6c71ee013addb613c39dae364cf7a06694b47
misc/linkcheck: remove unused tool Fixes #72953 Change-Id: I8a0c8da3f8309841147412a078bc82095a93c5b9 Reviewed-on: https://go-review.googlesource.com/c/go/+/659275 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian ...
[ { "path": "misc/linkcheck/linkcheck.go", "patch": "@@ -1,191 +0,0 @@\n-// Copyright 2013 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-// The linkcheck command finds missing links in the godoc website.\n-...
2025-03-19T16:34:43
facebook/react
12de013aa4b75dbe1251f816bcb16d0a2869f7bd
0966480d169efa261d4116162c9a1dda15e80c5f
[patch] ObjectMethods should have the same scope as their parent ObjectExpressions --- Currently, we're removing all reactive scopes containing object methods. This could produce incorrect output as object method instructions may still be included in other reactive scopes (and will lose their dependencies).
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Entrypoint/Pipeline.ts", "patch": "@@ -35,6 +35,7 @@ import {\n } from \"../Optimization\";\n import {\n CodegenFunction,\n+ alignObjectMethodScopes,\n alignReactiveScopesToBlockScopes,\n assertScopeInstructionsWithinScopes,\n buildReactive...
2023-12-12T22:44:01
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
electron/electron
e27905c7654e119464ba149f1643cd2770575159
a3e3efe4c4d6ed2b40f89eafbd034d8a1744a3a7
fix: allow contextmenu event in draggable regions (#37386)
[ { "path": "filenames.gni", "patch": "@@ -153,7 +153,7 @@ filenames = {\n \"shell/browser/notifications/mac/notification_presenter_mac.mm\",\n \"shell/browser/relauncher_mac.cc\",\n \"shell/browser/ui/certificate_trust_mac.mm\",\n- \"shell/browser/ui/cocoa/delayed_native_view_host.cc\",\n+ ...
2023-02-24T00:05:30
golang/go
f23373985037221899b42cd8f33384f850ff89b4
48240ad3f927b593de69d9aa6b22f96db982c578
internal/syscall/unix: fix number of params for unlinkat This reverts the change to Unlinkat done in CL 659415, as it appears to be wrong. While at it, let's unify argument formatting for better readability (and also so those parameters are easier to count). Change-Id: I092105f85de107e0495afed3cd66c039343250f1 Revie...
[ { "path": "src/internal/syscall/unix/at_libc.go", "patch": "@@ -35,7 +35,11 @@ func Unlinkat(dirfd int, path string, flags int) error {\n \t\treturn err\n \t}\n \n-\t_, _, errno := syscall6(uintptr(unsafe.Pointer(&procUnlinkat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(flags), 0, 0, 0)\n+\t_,...
2025-03-19T23:56:21
vercel/next.js
8ba3a99a10c4b80c33f3cdaa015f3273b899c643
ef1e4ba8381550dac6e53bc7e1e07e339e19c629
[turbopack] Add user friendly names to trace labels (#80388) # Enhance Layer Names with User-Friendly Descriptions This PR improves the developer experience by enhancing layer names in Turbopack with user-friendly descriptions. Instead of just using internal identifiers like "app-client" or "app-rsc", the PR adds des...
[ { "path": "crates/next-api/src/app.rs", "patch": "@@ -57,7 +57,7 @@ use turbopack_core::{\n availability_info::AvailabilityInfo,\n },\n file_source::FileSource,\n- ident::AssetIdent,\n+ ident::{AssetIdent, Layer},\n module::Module,\n module_graph::{\n GraphEntries, Modu...
2025-06-26T07:10:04
facebook/react
c01ac689e9628c952761ba0583d6c00ba5521c6a
0cdfef19b96cc6202d48e0812b5069c286d12b04
convert circleci worklfow fuzz_tests to github actions (#27801) ## Summary This pull request converts the CircleCI workflows to GitHub actions workflows. [Github Actions Importer](https://github.com/github/gh-actions-importer) was used to convert the workflows initially, then I edited them manually to correct e...
[ { "path": ".github/workflows/fuzz_tests.yml", "patch": "@@ -0,0 +1,32 @@\n+name: facebook/react/fuzz_tests\n+on:\n+ schedule:\n+ - cron: 0 * * * *\n+ push:\n+ branches:\n+ - main\n+ workflow_dispatch:\n+ inputs:\n+ prerelease_commit_sha:\n+ required: false\n+jobs:\n+ test_fuzz:\n...
2023-12-12T19:55:43
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
electron/electron
32c60b29bbd9abcaedbe9d65b2a4eae78e1c2fca
868676aa5ccf68793333d40124e49f0d0b175246
fix: html fullscreen when window not fullscreenable (#37348)
[ { "path": "shell/browser/api/electron_api_web_contents.cc", "patch": "@@ -1307,7 +1307,10 @@ Profile* WebContents::GetProfile() {\n }\n \n bool WebContents::IsFullscreen() const {\n- return owner_window_ && owner_window_->IsFullscreen();\n+ if (!owner_window())\n+ return false;\n+\n+ return owner_wind...
2023-02-21T11:11:34
golang/go
48240ad3f927b593de69d9aa6b22f96db982c578
cb0d767a1022ac3e1384761facd949ea00f3a761
internal/syscall/unix: use correct number of params in unlinkat, fchownat We were calling syscall6 with an incorrect parameter count, omitting the flags parameter. Change-Id: Ife606bd57c1e4b899c0340767e9197bbe0aa81a9 Reviewed-on: https://go-review.googlesource.com/c/go/+/659415 Auto-Submit: Damien Neil <dneil@google....
[ { "path": "src/internal/syscall/unix/at_libc.go", "patch": "@@ -35,7 +35,7 @@ func Unlinkat(dirfd int, path string, flags int) error {\n \t\treturn err\n \t}\n \n-\t_, _, errno := syscall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(flags), 0, 0, 0)\n+\t_, ...
2025-03-19T20:13:51
facebook/react
4c2b89288f3613a66996ec50826cc3d448db1223
bfa0aa2813a03ffc98dd8ec4b602bac77d6cde97
[be][fixtures] Pass message directly instead of overwriting Error object --- Started getting crashes in watch mode from trying to overwrite `error.message` (invalid setter or frozen object). This should fix
[ { "path": "compiler/packages/fixture-test-utils/src/output-utils.ts", "patch": "@@ -20,7 +20,7 @@ ${s}\n export function writeOutputToString(\n input: string,\n output: string | null,\n- error: Error | null\n+ errorMessage: string | null\n ) {\n // leading newline intentional\n let result = `\n@@ ...
2023-12-12T03:59:33
vercel/next.js
2a81cef7e76be593bdcf6deeef586ed860fdfcad
89a1a2b523ff52654b5d4275a046629d9c5c2403
test(codspeed): Make codspeed concurrent on `canary` branch (#80928) ### What? Apply same changes as https://github.com/swc-project/swc/pull/10711 to next.js/turbopack. We now run benchmark on `canary` branch in parallel. ### Why? `codspeed` says `New benchmark` quite frequently, but it's not. This PR should fix it
[ { "path": ".github/workflows/turbopack-benchmark.yml", "patch": "@@ -13,7 +13,8 @@ on:\n - '**/Cargo.lock'\n \n concurrency:\n- group: ${{ github.workflow }}-${{ github.sha }}\n+ # Limit concurrent runs to 1 per PR, but allow concurrent runs on canary branch\n+ group: ${{ github.event_name == 'pull...
2025-06-26T06:14:05
golang/go
f9f5d1e8442e3268489f3cfab2f9b65922bd4b5b
011b7ce8d12c14e9bd9b95a2519a6513a407bfc9
runtime/race: detect when TestRace fails to run all tests, skip failures TestRace runs a collection of tests, some of which are expected to fail with data races. Make TestRace more robust at detecting when the test run is cut short, such as when a test causes an unhandled panic. Skip TestRaceRangeFuncIterator, which ...
[ { "path": "src/runtime/race/race_test.go", "patch": "@@ -14,6 +14,7 @@ package race_test\n import (\n \t\"bufio\"\n \t\"bytes\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"internal/testenv\"\n \t\"io\"\n@@ -112,21 +113,21 @@ func processLog(testName string, tsanLog []string) string {\n \t\t\tgotRace = true\n \t\t\tbre...
2025-03-18T17:22:04
electron/electron
85cf56d80b9073091303f807e584362501bb8fda
a92fd2aa05c0cfcb5809268eb8a4f1d4d3f91074
fix: guard more private API usage on MAS builds (#37309)
[ { "path": "patches/chromium/mas_no_private_api.patch", "patch": "@@ -222,10 +222,159 @@ index f35d9ef2a2df3db8ecbf1d7b909c7b1cf33f3cd9..a710b8b4f851666fd65bb37f69ec2fa7\n \n bool SandboxCompiler::CompilePolicyToProto(mac::SandboxPolicy& policy,\n diff --git a/sandbox/mac/seatbelt.cc b/sandbox/mac/seatbelt...
2023-02-21T10:44:18
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
facebook/react
fa8f47eb4167cdafb3bba325f2f0a05ff280eca1
9be2efdc57d84f8bb202c8e4c290ed76afbeb82a
InferReactivePlaces understands setState type I realized this while working on Forest. When computing the dependencies of a reactive scope we can omit setState functions in the general case (exception described below). Currently that's implemented in PruneNonReactiveDependencies. However, this causes us to miss so...
[ { "path": "compiler/packages/babel-plugin-react-forget/src/Inference/InferReactivePlaces.ts", "patch": "@@ -15,6 +15,7 @@ import {\n Place,\n computePostDominatorTree,\n getHookKind,\n+ isSetStateType,\n } from \"../HIR\";\n import { PostDominator } from \"../HIR/Dominator\";\n import {\n@@ -191,6 +1...
2023-12-11T19:34:24
vercel/next.js
cc3140a78b528e4fd8a075de299db84bea5c671b
cfdd2494f5b629c01b206511f98be4fb0382b9f9
[devtools] fix style of issue count label (#80854) If the issue count goes over 10, the label looks weird. ![CleanShot 2025-06-24 at 20 27 09@2x](https://github.com/user-attachments/assets/5e5ea175-2567-410b-84c1-98587990cd0f)
[ { "path": "packages/next/src/next-devtools/dev-overlay/components/devtools-panel/devtools-panel.tsx", "patch": "@@ -351,7 +351,9 @@ export const DEVTOOLS_PANEL_STYLES = css`\n }\n \n [data-nextjs-devtools-panel-header-tab-issues-badge] {\n- display: inline-block;\n+ display: flex;\n+ align-item...
2025-06-26T05:20:03
electron/electron
a92fd2aa05c0cfcb5809268eb8a4f1d4d3f91074
ee966ad6ec76b923ced107aa2d0247f0c5ed69d7
fix: restoring X11 window should not remove previous maximize state (#37346)
[ { "path": "patches/chromium/.patches", "patch": "@@ -125,3 +125,4 @@ chore_introduce_blocking_api_for_electron.patch\n chore_patch_out_partition_attribute_dcheck_for_webviews.patch\n expose_v8initializer_codegenerationcheckcallbackinmainthread.patch\n chore_patch_out_profile_methods_in_profile_selections_cc...
2023-02-21T08:49:02
facebook/react
5bcade5fcf5610e82e7cda05cc6de574bdace0c7
8ff2c236a233a78c18d6f524dd74baec9153fd37
[Flight] Support postponing through a serialized promise (#27818) Postponing in a promise that is being serialized to the client from the server should be possible however prior to this change Flight treated this case like an error rather than a postpone. This fix adds support for postponing in this position and ad...
[ { "path": "packages/react-server-dom-webpack/src/__tests__/ReactFlightDOM-test.js", "patch": "@@ -32,6 +32,7 @@ let ReactDOMClient;\n let ReactServerDOMServer;\n let ReactServerDOMClient;\n let ReactDOMFizzServer;\n+let ReactDOMStaticServer;\n let Suspense;\n let ErrorBoundary;\n let JSDOM;\n@@ -71,6 +72,7 ...
2023-12-08T19:05:32
nodejs/node
e0b5deefc061009f0a0696d573ccfb447206b88a
4796e05cc87a48d7a7069a468aada23df3af5336
doc: improve explanation about built-in modules PR-URL: https://github.com/nodejs/node/pull/52762 Fixes: https://github.com/nodejs/node/issues/52599 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By:...
[ { "path": "doc/api/esm.md", "patch": "@@ -293,12 +293,12 @@ mandatory:\n | ---------------- | ---------------- |\n | `'json'` | [JSON modules][] |\n \n-## Builtin modules\n+## Built-in modules\n \n-[Core modules][] provide named exports of their public API. A\n+[Built-in modules][] provide named exp...
2024-05-07T01:50:31
vercel/next.js
a5d0ad141150348422140b747d39a4045cada878
0cf44913068a2be4051508aaad79ad44c3fd8e5a
[turbopack] Add execution tests to demonstrate a bug (#80918) ## Add tests for top level `this` behavior in CJS and ESM modules ### What? Added two test cases to verify the behavior of `this` in CommonJS and ESM modules: - CJS test verifies that `this` should be equal to `exports` - ESM test verifies that `this` shou...
[ { "path": "turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/cjs-this/input/index.js", "patch": "@@ -0,0 +1,8 @@\n+const t = this\n+\n+it('`this` in cjs should be exports', () => {\n+ expect(t).toBe(exports)\n+})\n+\n+// Use a dummy assignment to ensure we are parsed as a cjs module\n+export...
2025-06-26T01:53:21
golang/go
011b7ce8d12c14e9bd9b95a2519a6513a407bfc9
1aa9c31ffc8af3fd33bfa995ecf55f08daf33f81
go/types, types2: fix silly logic error in commonUnder Fixes #72936. Change-Id: I79ed8d559c8565fa960b974f8c1207ee442f4c26 Reviewed-on: https://go-review.googlesource.com/c/go/+/659256 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Robert Griesemer <gri@google.co...
[ { "path": "src/cmd/compile/internal/types2/under.go", "patch": "@@ -112,11 +112,13 @@ func commonUnder(t Type, cond func(t, u Type) *typeError) (Type, *typeError) {\n \t\t\t\t}\n \t\t\t\t// If we have different channel directions, keep the restricted one\n \t\t\t\t// and complain if they conflict.\n-\t\t\t\...
2025-03-19T16:38:51
electron/electron
67a6fbf2656c5aa18c59721b56b081c156e79fad
f97d68c4bf64a935fa6344b40a8f1bcb7e92d942
docs: fixed a typo in `process.defaultApp` doc (#37342) docs: improve `defaultApp`
[ { "path": "docs/api/process.md", "patch": "@@ -49,8 +49,11 @@ beginning to load the web page or the main script.\n \n ### `process.defaultApp` _Readonly_\n \n-A `boolean`. When app is started by being passed as parameter to the default app, this\n+A `boolean`. When the app is started by being passed as para...
2023-02-20T12:06:19
facebook/react
d3ed07bce036df61fbce52151f1531a5762ba6d6
f193213d29e7fabf68b21951c4b96701aeaecbf8
[ci] try to fix commit_artifacts step (#27817) Tries to fix the failure from https://github.com/facebook/react/actions/runs/7142005723/job/19450371514 I think it failed because we cannot `mv` into a folder with existing files or folders.
[ { "path": ".github/workflows/commit_artifacts.yml", "patch": "@@ -119,26 +119,25 @@ jobs:\n build/oss-experimental/react-refresh/cjs/react-refresh-babel.development.js\n - name: Move relevant files for React in www into compiled\n run: |\n- mkdir -p ./compiled\n- ...
2023-12-08T17:38:35
vercel/next.js
3ad9213d3d9bfa128b00fcbadb9fbb96469cb79a
47835e6cf962ec20fe809b84ff538509b36a3d45
fix(turbo-tasks): Temporarily disable immutable task optimizations (#80914) https://vercel.slack.com/archives/C03EWR7LGEN/p1750889741099559 Looks like this is broken, this seems like the easiest way to disable the feature for the moment.
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/operation/connect_child.rs", "patch": "@@ -87,6 +87,10 @@ impl ConnectChildOperation {\n });\n }\n \n+ // https://vercel.slack.com/archives/C03EWR7LGEN/p1750889741099559\n+ // HACK: immutable tracking is broken, di...
2025-06-25T22:54:32
golang/go
1aa9c31ffc8af3fd33bfa995ecf55f08daf33f81
deb6790fcfe943c640a4ef393036690eef5eef5c
net/http/httputil: don't call WriteHeader after Hijack CL 637939 changed ReverseProxy to report errors encountered when copying data on an hijacked connection. This is generally not useful, and when using the default error handler results in WriteHeader being called on a hijacked connection. While this is harmless wi...
[ { "path": "src/net/http/httputil/reverseproxy.go", "patch": "@@ -802,9 +802,6 @@ func (p *ReverseProxy) handleUpgradeResponse(rw http.ResponseWriter, req *http.R\n \tif err == nil {\n \t\terr = <-errc\n \t}\n-\tif err != nil && err != errCopyDone {\n-\t\tp.getErrorHandler()(rw, req, fmt.Errorf(\"can't copy:...
2025-03-19T16:26:31
facebook/react
f193213d29e7fabf68b21951c4b96701aeaecbf8
a3aae7fb01ecf4ac12a8ba53abcf0403a4c7c3f8
Add a regression test for an infinite suspense + Fix (#27703) Add a regression test for the [minimal repro](https://codesandbox.io/s/react-18-suspense-state-never-resolving-bug-hmlny5?file=/src/App.js) from @kassens And includes the fix from @acdlite: > This is another place we special-case Retry lanes to opt t...
[ { "path": "packages/react-reconciler/src/ReactFiberLane.js", "patch": "@@ -423,7 +423,9 @@ export function markStarvedLanesAsExpired(\n // We exclude retry lanes because those must always be time sliced, in order\n // to unwrap uncached promises.\n // TODO: Write a test for this\n- let lanes = pendin...
2023-12-08T17:21:36
vercel/next.js
ac51a18d626d899d4e1512ff5a803eeb51a9109d
0e73aeea6a59f0f468f07c130882a8c0d1490c05
Fix PPR no fallback case (#80908) When we are resuming with postponed state we don't handle SSG behavior so this ensures we only trigger the `NoFallback` case if we have created a cache key.
[ { "path": "packages/next/src/build/templates/app-page.ts", "patch": "@@ -186,12 +186,6 @@ export async function handler(\n prerenderManifest.routes[normalizedSrcPage]\n )\n \n- // if the page is dynamicParams: false and this pathname wasn't prerender\n- // trigger the no fallback handling\n- if (...
2025-06-25T20:58:33
rust-lang/rust
34cdaebf37dba363d96c434fd4b6d6b3739660df
9f4b56a5aed81e8c36cc26b3c1b4666ead6b71fc
Fix typos in riscv64a23-unknown-linux-gnu.md
[ { "path": "src/doc/rustc/src/platform-support/riscv64a23-unknown-linux-gnu.md", "patch": "@@ -3,7 +3,7 @@\n **Tier: 2 (without Host Tools)**\n \n RISC-V target using the ratified [RVA23 Profile](https://github.com/riscv/riscv-profiles/blob/main/src/rva23-profile.adoc).\n-This target will enable all mandary ...
2026-02-05T07:24:44
electron/electron
e34cc6f48c118ac31363aa6660bf55de5ae672a1
ee87438d28386ff2753923d1ed32db5ca72e706a
test: enable linting of ts-smoke and fix all issues (#37322)
[ { "path": "script/lint.js", "patch": "@@ -22,10 +22,7 @@ process.env.PATH = `${process.env.PATH}${path.delimiter}${DEPOT_TOOLS}`;\n const IGNORELIST = new Set([\n ['shell', 'browser', 'resources', 'win', 'resource.h'],\n ['shell', 'common', 'node_includes.h'],\n- ['spec', 'fixtures', 'pages', 'jquery-3...
2023-02-17T18:56:09
golang/go
deb6790fcfe943c640a4ef393036690eef5eef5c
56e5476e10db25ce71f562bd6ee0910a83532b04
cmd/compile: remove implicit deref from len(p) where p is ptr-to-array func f() *[4]int { return nil } _ = len(f()) should not panic. We evaluate f, but there isn't a dereference according to the spec (just "arg is evaluated"). Update #72844 Change-Id: Ia32cefc1b7aa091cd1c13016e015842b4d12d5b4 Reviewed-on: https://...
[ { "path": "src/cmd/compile/internal/typecheck/expr.go", "patch": "@@ -634,16 +634,16 @@ func tcIndex(n *ir.IndexExpr) ir.Node {\n func tcLenCap(n *ir.UnaryExpr) ir.Node {\n \tn.X = Expr(n.X)\n \tn.X = DefaultLit(n.X, nil)\n-\tn.X = implicitstar(n.X)\n \tl := n.X\n \tt := l.Type()\n \tif t == nil {\n \t\tn.S...
2025-03-14T20:19:18
facebook/react
a3aae7fb01ecf4ac12a8ba53abcf0403a4c7c3f8
af1fc87b54686d5e15204cd588e2227a92ae40ac
feat:-added tests for more coverage in reactDom-input and reactText-area (#27796) Small test similar to few tests added in #27740 , the `reactDom-input` error message was just modified to match the error message, and the `reactDomTextarea-test.js` has tests added to ensure more coverage.
[ { "path": "packages/react-dom/src/__tests__/ReactDOMInput-test.js", "patch": "@@ -110,23 +110,32 @@ describe('ReactDOMInput', () => {\n expect(() => {\n ReactDOM.render(<input type=\"text\" value={0} />, container);\n }).toErrorDev(\n- 'Warning: You provided a `value` prop to a form field...
2023-12-08T13:34:09
vercel/next.js
34c064e734ddbeb699e844b1fd91734784b3fa57
55ceac16f3fce48b53cb845575cf74b9fd7b1af4
fix(test/integration): Check the right thing when resetting the server-side-dev-errors tests (#80873) This was asserting that the error still exists after resetting the file back to its original state. Instead, it should refresh the browser and check that the error was fixed. Something was causing this to quickly re...
[ { "path": "test/integration/server-side-dev-errors/test/index.test.js", "patch": "@@ -4,11 +4,11 @@ import fs from 'fs/promises'\n import { join } from 'path'\n import webdriver from 'next-webdriver'\n import {\n- killApp,\n+ assertNoRedbox,\n findPort,\n+ killApp,\n launchApp,\n retry,\n- assertN...
2025-06-25T18:04:57
huggingface/transformers
380e3cc5d59912a48508cb6d4959a31cd460e12e
d0a7abe5173bd83ce080f0971595c4a9c1b831fc
Fix `text-to-speech` pipeline crash when generation config contains `None` values (#45107) fix text-to-audio pipeline config Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
[ { "path": "src/transformers/pipelines/text_to_audio.py", "patch": "@@ -131,7 +131,7 @@ def __init__(self, *args, vocoder=None, sampling_rate=None, **kwargs):\n config = self.model.config\n gen_config = self.model.__dict__.get(\"generation_config\", None)\n if gen_config i...
2026-04-08T17:06:30
rust-lang/rust
691e2263690537f825e217d9ae03b45ad2637a5c
1826ec0715d0a394d862d1c78eec6d95277da399
fix: handle false negative for `str_to_string` Replace `ToString::to_string` with `ToOwned::to_owned` when the function is passed as is: ```rust fn issue16511(x: Option<&str>) -> String { // Replace with ToOwned::to_owned x.map(ToString::to_string) } ```
[ { "path": "clippy_lints/src/strings.rs", "patch": "@@ -5,6 +5,7 @@ use clippy_utils::{\n SpanlessEq, get_expr_use_or_unification_node, get_parent_expr, is_lint_allowed, method_calls, peel_blocks, sym,\n };\n use rustc_errors::Applicability;\n+use rustc_hir::def::{DefKind, Res};\n use rustc_hir::def_id::...
2026-02-05T05:35:07
electron/electron
73b7aac6a413ed044e018947e8e7741ecb309bcf
ea848bc1c57cef75bd2e4424256bafb25758db2b
test: fix "crash cases" tests not failing properly (#37304) * test: fix "crash cases" tests not failing properly * fixup! test: fix "crash cases" tests not failing properly
[ { "path": "spec/crash-spec.ts", "patch": "@@ -8,7 +8,7 @@ const fixturePath = path.resolve(__dirname, 'fixtures', 'crash-cases');\n \n let children: cp.ChildProcessWithoutNullStreams[] = [];\n \n-const runFixtureAndEnsureCleanExit = (args: string[]) => {\n+const runFixtureAndEnsureCleanExit = async (args: s...
2023-02-17T09:14:00
golang/go
1aee4f3464b678f135912e2b2703e0f6c060b980
24b395119b4df7f16915b9f01a6aded647b79bbd
cmd/internal/obj/riscv: prevent panics on bad branches Syntactically incorrect branches, such as BEQ X5, X6, $1 BEQ X5, X6, 31(X10) cause the assembler to panic, which they shouldn't really do. It's better for the user to see a normal error, as reported for other syntax errors in riscv64 assembly. The panics also ...
[ { "path": "src/cmd/asm/internal/asm/testdata/riscv64error.s", "patch": "@@ -30,6 +30,8 @@ TEXT errors(SB),$0\n \tSLLI\t$64, X5, X6\t\t\t// ERROR \"immediate out of range 0 to 63\"\n \tSRLI\t$64, X5, X6\t\t\t// ERROR \"immediate out of range 0 to 63\"\n \tSRAI\t$64, X5, X6\t\t\t// ERROR \"immediate out of ra...
2024-12-11T13:03:17