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 |
|---|---|---|---|---|---|
electron/electron | 7cdd132d1858aaae0d927b95c363b97f0c4e5cec | 93d7968d645772bc6a8b325396d959fccc3d0989 | fix: handle nullish WebContentsView in UpdateDraggableRegions (#30556)
* fix: handle nullish WebContentsView in UpdateDraggableRegions
* build: nogncheck on webcontentsimpl include | [
{
"path": "shell/browser/api/electron_api_browser_window_views.cc",
"patch": "@@ -4,6 +4,7 @@\n \n #include \"shell/browser/api/electron_api_browser_window.h\"\n \n+#include \"content/browser/web_contents/web_contents_impl.h\" // nogncheck\n #include \"shell/browser/native_window_views.h\"\n #include \"ui/... | 2021-08-17T06:29:49 |
golang/go | 5923a97f43bd7b8910fa69e3c02cdef2c531cdcf | 356ba0f06586a833cd8de9c04af0d2adddf95851 | cmd/internal/obj: optimize the function stacksplit on loong64
In the process of stack split checking, loong64 uses the following
logic: if SP > stackguard then goto done, else morestack
The possible problem here is that the probability of morestack
execution is much lower than done, while static branch prediction
is ... | [
{
"path": "src/cmd/internal/obj/loong64/obj.go",
"patch": "@@ -726,7 +726,7 @@ func (c *ctxt0) stacksplit(p *obj.Prog, framesize int32) *obj.Prog {\n \tvar q *obj.Prog\n \tif framesize <= abi.StackSmall {\n \t\t// small stack: SP < stackguard\n-\t\t//\tAGTU\tSP, stackguard, R20\n+\t\t//\tSGTU\tSP, stackguar... | 2024-09-03T12:11:06 |
rust-lang/rust | 5e5c724194594c9af85d6678aef90ebc4a3428b4 | 3c8265a29f3354edfe03b7bd326c68e4decc2a77 | turn panics into `span_delayed_bug` to make sure this pattern doesn't go unnoticed | [
{
"path": "compiler/rustc_codegen_ssa/src/codegen_attrs.rs",
"patch": "@@ -285,11 +285,16 @@ fn process_builtin_attrs(\n }\n AttributeKind::EiiImpls(impls) => {\n for i in impls {\n- let extern_item = find_attr!(\n+ ... | 2025-12-19T17:24:15 |
nodejs/node | 2ccfb23b7fc8e938a87d52949bf24e9720f846b1 | f91b4e2bf08ed6cc72b7588dafe680a1f70e00a3 | tools: fix uvwasi updater
- fix uvwasi updater to update the right dep in the
documentation for maintaining dependencies.
Signed-off-by: Michael Dawson <mdawson@devrus.com>
PR-URL: https://github.com/nodejs/node/pull/49682
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@... | [
{
"path": "tools/dep_updaters/update-uvwasi.sh",
"patch": "@@ -75,4 +75,4 @@ echo \"\"\n # Update the version number on maintaining-dependencies.md\n # and print the new version as the last line of the script as we need\n # to add it to $GITHUB_ENV variable\n-finalize_version_update \"acorn\" \"$NEW_VERSION... | 2023-09-19T08:15:23 |
facebook/react | 835d9c9f4724b71b429a6b7aaced6da1448e7fb8 | 769875806ca7b90b6ce9178531628e97ef43cd84 | Handle github rate limiting response (#24573)
Make the error messages clearer when the API doesn't respond with 200. | [
{
"path": "scripts/release/shared-commands/get-build-id-for-commit.js",
"patch": "@@ -23,7 +23,14 @@ async function getBuildIdForCommit(sha) {\n );\n \n if (!statusesResponse.ok) {\n- throw Error('Could not find commit for: ' + sha);\n+ if (statusesResponse.status === 404) {\n+ thro... | 2022-05-18T19:14:27 |
electron/electron | 93d7968d645772bc6a8b325396d959fccc3d0989 | cd09a5436544ca0610542bc5b14adf992a9d9df2 | build: fix gclient config file | [
{
"path": ".devcontainer/on-create-command.sh",
"patch": "@@ -15,8 +15,7 @@ ln -s $buildtools_configs $buildtools/configs\n \n # Write the gclient config if it does not already exist\n if [ ! -f $gclient_root/.gclient ]; then\n- echo \"\n- solutions = [\n+ echo \"solutions = [\n { \\\"name\\\" ... | 2021-08-16T17:56:29 |
vercel/next.js | a81b45946114af2df00e674f1461fa146dd70b7a | ee5c7d39b7e05fa1d2b38ea9fa0d5cdf4bc711ba | build: Update `swc_core` to `v16.4.0` (#76596)
### What?
ChangeLog:
https://github.com/swc-project/swc/compare/swc_core%40v16.0.0...swc_core%40v16.4.0
### Why?
To apply https://github.com/swc-project/swc/pull/10119 and fix random panics.
---------
Co-authored-by: CPunisher <1343316114@qq.com> | [
{
"path": "Cargo.lock",
"patch": "@@ -3604,6 +3604,15 @@ dependencies = [\n \"serde_json\",\n ]\n \n+[[package]]\n+name = \"jsonc-parser\"\n+version = \"0.26.2\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"b558af6b49fd918e970471374e7a798b2c9bbcda624a210ffa3901ee5614b... | 2025-03-06T22:29:32 |
golang/go | 604eaa175bfaadfb868d6add76325020b6e13048 | 7e2487cf65f749528c17adf95ad2a82196f48de2 | iter: fix spurious TestPullDoubleYield[2] successes
The two tests confused a nil pointer panic with the panic from a double
call to yield.
Change-Id: I0040e60cf4b702a92825d308db1201a85f164009
Reviewed-on: https://go-review.googlesource.com/c/go/+/617917
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Resu... | [
{
"path": "src/iter/pull_test.go",
"patch": "@@ -193,7 +193,11 @@ func doDoubleNext2() Seq2[int, int] {\n }\n \n func TestPullDoubleYield(t *testing.T) {\n-\t_, stop := Pull(storeYield())\n+\tnext, stop := Pull(storeYield())\n+\tnext()\n+\tif yieldSlot == nil {\n+\t\tt.Fatal(\"yield failed\")\n+\t}\n \tdefe... | 2024-10-06T16:47:56 |
nodejs/node | 9322bcd68300e3ae5ef471519de064f908e0336c | 18eaf03f0c05f14ca1fc0790d32c9845518c1ddc | test: use checkIfCollectable in vm leak tests
Previously we simply create a lot of the target objects and check
if the process crash due to OOM. Due to how we use emphemeron GC
to handle memory management, which is inefficient but necessary
for correctness, the tests can produce false positives as
the GC isn't efficie... | [
{
"path": "test/es-module/test-vm-compile-function-leak.js",
"patch": "@@ -4,16 +4,13 @@\n // This tests that vm.compileFunction with dynamic import callback does not leak.\n // See https://github.com/nodejs/node/issues/44211\n require('../common');\n+const { checkIfCollectable } = require('../common/gc');\... | 2023-09-16T13:08:18 |
facebook/react | 769875806ca7b90b6ce9178531628e97ef43cd84 | b77c12576d332d5cee07305a6afee68203d43e9c | Add option for source maps when running tests (#24577)
I added a `--sourceMaps` option to our test command that enables inline
source maps. I've kept it disabled by default, since it makes the tests
run slower. But it's super useful when attaching to a debugger. | [
{
"path": "scripts/jest/jest-cli.js",
"patch": "@@ -110,6 +110,12 @@ const argv = yargs\n requiresArg: true,\n type: 'string',\n },\n+ sourceMaps: {\n+ describe:\n+ 'Enable inline source maps when tranforming source files with Jest. Useful for debugging, but makes it slower.',... | 2022-05-18T17:48:21 |
electron/electron | cd09a5436544ca0610542bc5b14adf992a9d9df2 | eaa5d372fb23e1e58cfa07e2e518eb9e657c67fd | build: add basic codespaces configuration (#30528)
* build: @jasonetco said that this will make codespaces work
* tmp
* Codespaces
* Update docker-compose.yml
* Update docker-compose.yml
* tada?
* e use
* do not use pizza...
* point at correct goma file
* use ghcr for codespaces
* pass --... | [
{
"path": ".circleci/config.yml",
"patch": "@@ -45,7 +45,7 @@ executors:\n type: enum\n enum: [\"medium\", \"xlarge\", \"2xlarge+\"]\n docker:\n- - image: electron.azurecr.io/build:d818f06a9b1540c7fd38f75ad5a2c493dd6843b6\n+ - image: ghcr.io/electron/build:27db4a3e3512bfd2e47f5... | 2021-08-16T17:33:49 |
rust-lang/rust | 484ea769d3db73b912ef05367ade53fee874e023 | 94f8f4083ef82743d44ccb842c2bb65978efec28 | adding minicore to test file to avoid duplicating lang error | [
{
"path": "tests/assembly-llvm/rust-abi-arg-attr.rs",
"patch": "@@ -1,3 +1,4 @@\n+//@ add-minicore\n //@ assembly-output: emit-asm\n //@ revisions: riscv64 riscv64-zbb loongarch64\n //@ compile-flags: -C opt-level=3\n@@ -14,45 +15,8 @@\n #![no_std]\n #![no_core]\n // FIXME: Migrate these code after PR #1306... | 2025-12-31T06:49:53 |
golang/go | 1a955f5c8ece0ab3cc282fd26395b31fb300a212 | 05d8a33b37682e4a58477dea4cb5c6bc298d9d25 | io/fs: document need to call File.Close
Fixes #69723
Change-Id: Id081f68cd30abfa77a971a2370f4a0ebf330eb8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/618095
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-projec... | [
{
"path": "src/io/fs/fs.go",
"patch": "@@ -26,6 +26,7 @@ import (\n // correctness.\n type FS interface {\n \t// Open opens the named file.\n+\t// [File.Close] must be called to release any associated resources.\n \t//\n \t// When Open returns an error, it should be of type *PathError\n \t// with the Op fie... | 2024-10-06T10:20:50 |
vercel/next.js | ee5c7d39b7e05fa1d2b38ea9fa0d5cdf4bc711ba | 190df615aa3be3e477258a27537d4afd670b8646 | Revert "fix(turbopack): Use vergen-git2 instead of shadow-rs for napi and next-api crates to fix stale git lock files" (#76879)
Reverts vercel/next.js#76773
> Looks like we broke compilation for our linux swc builds for musl/gnu | [
{
"path": "Cargo.lock",
"patch": "@@ -868,7 +868,7 @@ dependencies = [\n \"nom\",\n \"serde\",\n \"serde_json\",\n- \"thiserror 1.0.69\",\n+ \"thiserror\",\n ]\n \n [[package]]\n@@ -1018,21 +1018,7 @@ dependencies = [\n \"semver 1.0.23\",\n \"serde\",\n \"serde_json\",\n- \"thiserror 1.0.69\",\n-]\n-\... | 2025-03-06T19:31:21 |
facebook/react | a412d787e997da9e47e47886cf7a8fed2ccb6bee | 357a61324f8d746a7f745dfc57009ba952c7d640 | Remove dependency on build artifacts mirror (#24575)
This reverts #24106.
There was a regression in CircleCI's artifacts API recently where you
could no longer access artifacts without an authorization token. This
broke our size reporting CI job because we can't use an authorization
token on external PRs without... | [
{
"path": ".circleci/config.yml",
"patch": "@@ -127,19 +127,22 @@ jobs:\n environment: *environment\n steps:\n - checkout\n+ - run: yarn workspaces info | head -n -1 > workspace_info.txt\n+ - *restore_node_modules\n - run:\n name: Download artifacts for base revision\... | 2022-05-18T15:13:19 |
nodejs/node | 18e00a577d7405ca0e6c26113675c230677342c2 | b651e37d2e36fb8e503c3e5ca24f32575431f2ab | test: deflake test-http-regr-gh-2928
Hard code the value of the host parameter to `common.localhostIPv4` in
`server.listen()` and `net.connect()`. This
1. ensures that the client `socket._handle` is not reinitialized during
connection due to the family autodetection algorithm, preventing
`parser.consume()` from... | [
{
"path": "test/sequential/test-http-regr-gh-2928.js",
"patch": "@@ -25,7 +25,7 @@ function execAndClose() {\n const parser = parsers.pop();\n parser.initialize(HTTPParser.RESPONSE, {});\n \n- const socket = net.connect(common.PORT);\n+ const socket = net.connect(common.PORT, common.localhostIPv4);\n ... | 2023-09-09T12:44:31 |
golang/go | 4b4b2fcaa47b6f2a49a63a70605e75c7e1e846d4 | 092d18b31824d35a07f796c90380d5e607b61681 | os: remove t.Parallel in TestMkdirStickyUmask
The TestMkdirStickyUmask modifies the umask for testing purpose.
When run in parallel with TestCopyFS, this temporary umask change can cause TestCopyFS to create files with unintended permissions, leading to test failures.
This change removes the t.Parallel call in TestMk... | [
{
"path": "src/os/os_unix_test.go",
"patch": "@@ -233,7 +233,9 @@ func TestMkdirStickyUmask(t *testing.T) {\n \tif runtime.GOOS == \"wasip1\" {\n \t\tt.Skip(\"file permissions not supported on \" + runtime.GOOS)\n \t}\n-\tt.Parallel()\n+\t// Issue #69788: This test temporarily changes the umask for testing ... | 2024-10-05T07:52:21 |
vercel/next.js | 190df615aa3be3e477258a27537d4afd670b8646 | 48c58434bd1be52a461f7a6e1f07625cd78bfd2f | fix(turbopack): Use vergen-git2 instead of shadow-rs for napi and next-api crates to fix stale git lock files (#76773)
Both `shadow-rs` and `vergen-gitcl` call out to the git CLI, which takes optional locks to update the index: https://git-scm.com/docs/git-status#_background_refresh
This is why we sometimes find ours... | [
{
"path": "Cargo.lock",
"patch": "@@ -868,7 +868,7 @@ dependencies = [\n \"nom\",\n \"serde\",\n \"serde_json\",\n- \"thiserror\",\n+ \"thiserror 1.0.69\",\n ]\n \n [[package]]\n@@ -1018,7 +1018,21 @@ dependencies = [\n \"semver 1.0.23\",\n \"serde\",\n \"serde_json\",\n- \"thiserror\",\n+ \"thiserror... | 2025-03-06T18:15:26 |
nodejs/node | ccca547e286443dc82a36d7cd839294d317486e2 | 553169f19acffc941e9142b491d8c0a797335932 | util: runtime deprecate `promisify`-ing a function returning a `Promise`
PR-URL: https://github.com/nodejs/node/pull/49609
Fixes: https://github.com/nodejs/node/issues/49607
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -3387,12 +3387,15 @@ Consider using alternatives such as the [`mock`][] helper function.\n \n <!-- YAML\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/49609\n+ description: Runtime deprecation.\n - version: REPLACE... | 2023-09-18T10:29:13 |
rust-lang/rust | 26be33ae18b2aaa376eba9e755b54bc11e104a7b | 978d75e373a3942424ff873cb2024678b6954492 | Fix not disable string escape highlights
Example
---
with config `strings: false`
```rust
fn main() {
format_args!("foo\nbar\invalid");
}
```
**Before this PR**
```rust
fn main() {
format_args!("foo\nbar\invalid");
// ^^ EscapeSequence
// ^^ InvalidEscapeSequence
}
`... | [
{
"path": "src/tools/rust-analyzer/crates/ide/src/syntax_highlighting.rs",
"patch": "@@ -513,21 +513,21 @@ fn string_injections(\n );\n \n if !string.is_raw() {\n- highlight_escape_string(hl, &string);\n+ highlight_escape_string(hl, config, &string);\n ... | 2026-01-08T07:07:24 |
facebook/react | 0ecb77d4c54664e20abd89df0d19ef4e4594f4c8 | 2c8a1452b82b9ec5ebfa3f370b31fda19610ae92 | [DevTools] Fix formatWithStyles not styling the results if the first argument is an object + Added unit tests (#24554)
formatWithStyles currently doesn't style the array argument if the first argument is an object. This PR fixes this and also adds unit tests. | [
{
"path": "packages/react-devtools-shared/src/__tests__/utils-test.js",
"patch": "@@ -189,5 +189,26 @@ describe('utils', () => {\n ]);\n expect(formatWithStyles(['%%c%c'], 'color: gray')).toEqual(['%%c%c']);\n });\n+\n+ it('should format non string inputs as the first argument', () => {\n... | 2022-05-13T22:34:33 |
golang/go | 63cd5a39e9a0a01aaf174cacdd4a3997f2fd50fd | 55b930eb07ab353ade10756dc9a4f7951e93e211 | crypto/rand: add randcrash=0 GODEBUG
For #66821
Change-Id: I525c308d6d6243a2bc805e819dcf40b67e52ade5
Reviewed-on: https://go-review.googlesource.com/c/go/+/608435
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-... | [
{
"path": "doc/godebug.md",
"patch": "@@ -168,6 +168,11 @@ For Go 1.24, it now defaults to multipathtcp=\"2\", thus\n enabled by default on listerners. Using multipathtcp=\"0\" reverts to the\n pre-Go 1.24 behavior.\n \n+Go 1.24 changed [`crypto/rand.Read`](/pkg/crypto/rand/#Read) to crash the\n+program on ... | 2024-08-26T17:37:15 |
rust-lang/rust | 3c136cc9e18c0f0bb848ff0a147aeb8ffa4ce20d | 4586feb998521343b91c554adbb11ba30547d67a | Fix broken documentation links to SipHash
The documentation of `SipHasher` previously linked to a page about
SipHash on https://131002.net, a domain registered to Jean-Philippe
Aumasson, one of the co-authors of the original SipHash paper (alongside
Daniel J Bernstein).
That domain now redirects to another of Mr Auma... | [
{
"path": "library/core/src/hash/sip.rs",
"patch": "@@ -10,7 +10,7 @@ use crate::{cmp, ptr};\n /// This is currently the default hashing function used by standard library\n /// (e.g., `collections::HashMap` uses it by default).\n ///\n-/// See: <https://131002.net/siphash>\n+/// See: <https://github.com/veo... | 2026-01-09T00:40:31 |
nodejs/node | 553169f19acffc941e9142b491d8c0a797335932 | 1995eca29b10e88a59bd81ffa3ff59874171fb05 | src: port Pipe to uv_pipe_bind2, uv_pipe_connect2
The introduction of the uv_pipe_bind2 and uv_pipe_connect2 methods in
libuv v1.46.0 changed the behaviour of uv_pipe_bind and uv_pipe_connect.
This broke the ability to connect to abstract domain sockets on linux.
This change ports PipeWrap to use the new uv_pipe_bind2... | [
{
"path": "src/pipe_wrap.cc",
"patch": "@@ -62,7 +62,6 @@ MaybeLocal<Object> PipeWrap::Instantiate(Environment* env,\n constructor->NewInstance(env->context(), 1, &type_value));\n }\n \n-\n void PipeWrap::Initialize(Local<Object> target,\n Local<Value> unused,\n ... | 2023-09-18T07:11:22 |
vercel/next.js | ed01269130fb7b1dd3c8547875ffee9b6fcc89cb | 539c644b821a9d7917475824b5f3b25e7daa3c89 | Update test snapshots for alternative bundler [6/n] (#76768)
Test Plan: `pnpm test-start-rspack
test/integration/server-side-dev-errors/test/index.test.js` passes | [
{
"path": "test/integration/server-side-dev-errors/test/index.test.js",
"patch": "@@ -12,6 +12,8 @@ import {\n } from 'next-test-utils'\n import stripAnsi from 'strip-ansi'\n \n+const isRspack = process.env.NEXT_RSPACK !== undefined\n+\n const appDir = join(__dirname, '../')\n const gspPage = join(appDir, '... | 2025-03-06T17:11:08 |
facebook/react | 2c8a1452b82b9ec5ebfa3f370b31fda19610ae92 | 62662633d1293f47ab0f5ee444a2a2fd52df322a | Fix ignored setState in Safari when iframe is touched (#24459) | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMSafariMicrotaskBug-test.js",
"patch": "@@ -16,7 +16,7 @@ let act;\n \n describe('ReactDOMSafariMicrotaskBug-test', () => {\n let container;\n- let simulateSafariBug;\n+ let flushMicrotasksPrematurely;\n \n beforeEach(() => {\n // In Safari, micro... | 2022-05-12T16:58:18 |
golang/go | 65679cfeb4b2fa0f24ac4ed8757b8a83ab0d5690 | 534d6a1a9c81b25bdad1052e736b2f072caa3903 | crypto/rand: reintroduce urandom fallback for legacy Linux kernels
Reintroduce the urandom fallback, but this time with a robust set of
tests all pointing guns at each other, including a seccomp'd respawn
simulating the lack of getrandom, to make sure the fallback both works
and is never hit unexpectedly.
Unlike the ... | [
{
"path": "src/crypto/rand/internal/seccomp/seccomp_linux.go",
"patch": "@@ -0,0 +1,83 @@\n+// Copyright 2024 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+package seccomp\n+\n+/*\n+#include <sys/prctl.h>... | 2024-08-24T19:44:23 |
electron/electron | fcce2b16d5f965803b8389d254a9f117e91f5a34 | 94111c9d5c350a1b127ad0b284d9777bc5481542 | fix: persist BrowserView background color when bounds offscreen (#30510) | [
{
"path": "shell/browser/ui/views/inspectable_web_contents_view_views.cc",
"patch": "@@ -213,7 +213,7 @@ void InspectableWebContentsViewViews::SetTitle(const std::u16string& title) {\n \n void InspectableWebContentsViewViews::Layout() {\n if (!devtools_web_view_->GetVisible()) {\n- contents_web_view_->... | 2021-08-16T10:26:58 |
facebook/react | 852f10b5cf188f8aa797f9a809f0caeaa95a4231 | 34da5aa69b0694348fee9c3cd1351ecc70cd5bb1 | fix a bug in console.log with non-string args (#24546) | [
{
"path": "packages/react-devtools-shared/src/backend/utils.js",
"patch": "@@ -181,8 +181,9 @@ export function formatWithStyles(\n inputArgs === undefined ||\n inputArgs === null ||\n inputArgs.length === 0 ||\n+ typeof inputArgs[0] !== 'string' ||\n // Matches any of %c but not %%c\n- ... | 2022-05-12T14:29:36 |
nodejs/node | 1995eca29b10e88a59bd81ffa3ff59874171fb05 | 76ac54847780b825d94ddfa69c4b3bde8c9c3355 | build: run embedtest using node executable
We should use the node executable to run this test, instead of
counting on embedtest, the binary being tested, as the test runner.
Otherwise bugs can go unnoticed if the embedtest binary itself
does not work correctly.
PR-URL: https://github.com/nodejs/node/pull/49506
Fixes:... | [
{
"path": "Makefile",
"patch": "@@ -286,7 +286,7 @@ coverage-report-js:\n # Runs the C++ tests using the built `cctest` executable.\n cctest: all\n \t@out/$(BUILDTYPE)/$@ --gtest_filter=$(GTEST_FILTER)\n-\t@out/$(BUILDTYPE)/embedtest \"require('./test/embedding/test-embedding.js')\"\n+\t$(NODE) ./test/embed... | 2023-09-05T23:43:45 |
golang/go | 534d6a1a9c81b25bdad1052e736b2f072caa3903 | c050d42e1a7d7b02b2205c116e8c98fc49aab6a9 | crypto/rand: prevent Read argument from escaping to heap
Mateusz had this idea before me in CL 578516, but it got much easier
after the recent cleanup.
It's unfortunate we lose the test coverage of batched, but the package
is significantly simpler than when we introduced it, so it should be
easier to review that ever... | [
{
"path": "src/crypto/rand/rand.go",
"patch": "@@ -70,28 +70,20 @@ func fatal(string)\n // If [Reader] is set to a non-default value, Read calls [io.ReadFull] on\n // [Reader] and crashes the program irrecoverably if an error is returned.\n func Read(b []byte) (n int, err error) {\n-\t_, err = io.ReadFull(R... | 2024-08-01T17:59:07 |
vercel/next.js | 5453818a183fb4db44ebd7a543edf5daf2e7582b | c2d28fa7edb3213b897cca9ad16d53b0c7888024 | Turbopack: Add __turbopack_load_by_url__ (#76814)
Work in progress for PACK-4071 (implementing `config.deploymentId`)
- [x] Implement `?dpl={config.deploymentId}` in client references
manifest
- [x] Implement `?dpl={config.deploymentId}` in Turbopack chunk loading
- [x] Add `__turbopack_load_by_url__`
- [ ] Change r... | [
{
"path": "crates/next-api/src/project.rs",
"patch": "@@ -966,6 +966,7 @@ impl Project {\n self.client_relative_path(),\n Vc::cell(\"/ROOT\".into()),\n self.next_config().computed_asset_prefix(),\n+ self.next_config().chunk_suffix_path(),\n self.cli... | 2025-03-06T16:47:20 |
electron/electron | 0c1f762119620913c7165b0002e93d11db11bf3b | a11a234eaccad5b222b8f23ab51ed8fd448a6bb2 | build: fix publish-to-npm script post requests migration | [
{
"path": "script/release/get-asset.js",
"patch": "@@ -30,7 +30,7 @@ async function getAssetContents (repo, assetId) {\n }\n \n const fileResponse = await got(response.headers.location);\n- if (fileResponse.status !== 200) {\n+ if (fileResponse.statusCode !== 200) {\n console.error(fileResponse.he... | 2021-08-13T20:26:27 |
facebook/react | 8197c73ec334e4430d892cead14aa371f13467a9 | d20c3af9d11ea4a35bfc76cb44c15af9d42059c4 | Support document rendering (#24523)
* Support Document as a container for hydration and rendering
Previously Document was not handled effectively as a container. in particual when hydrating if there was a fallback to client rendering React would attempt to append a new <html> element into the document before cleari... | [
{
"path": "packages/react-dom/client.js",
"patch": "@@ -23,7 +23,7 @@ import {\n } from './';\n \n export function createRoot(\n- container: Element | DocumentFragment,\n+ container: Element | Document | DocumentFragment,\n options?: CreateRootOptions,\n ): RootType {\n if (__DEV__) {",
"additions... | 2022-05-10T17:17:36 |
rust-lang/rust | cb9a079f608e6fed49a9303ff68ecca322e5b06b | d0d725133fb501ffb9f4572d2ea59454e68bb75a | fix(float_point_arithmetic): respect reduced applicability | [
{
"path": "clippy_lints/src/floating_point_arithmetic.rs",
"patch": "@@ -127,8 +127,8 @@ fn get_specialized_log_method(cx: &LateContext<'_>, base: &Expr<'_>, ctxt: Synta\n }\n \n // Adds type suffixes and parenthesis to method receivers if necessary\n-fn prepare_receiver_sugg<'a>(cx: &LateContext<'_>, mut e... | 2026-01-08T20:24:50 |
nodejs/node | 76ac54847780b825d94ddfa69c4b3bde8c9c3355 | 07e8539347b35e11acc96f667af1bcc5e72f49bb | test: fix argument computation in embedtest
There were a few bugs in the original test that went unnoticed
because with the bug the test did not actually get run anymore.
This patch fixes the argument computation by accounting filtering
of the arguments, and uses spawnSyncAndExit{WithoutError} in
the test to enable be... | [
{
"path": "test/embedding/embedtest.cc",
"patch": "@@ -89,7 +89,7 @@ int RunNodeInstance(MultiIsolatePlatform* platform,\n snapshot_as_file = true;\n } else if (arg == \"--embedder-snapshot-blob\") {\n assert(i + 1 < args.size());\n- snapshot_blob_path = args[i + i];\n+ snapshot_bl... | 2023-09-05T23:40:59 |
golang/go | c050d42e1a7d7b02b2205c116e8c98fc49aab6a9 | a62566fbb9e5d96b08869634d70a4e5a34f89958 | crypto/rand: crash program if Read would return an error
Fixes #66821
Fixes #54980
Change-Id: Ib081f4e4f75c7936fc3f5b31d3bd07cca1c2a55c
Reviewed-on: https://go-review.googlesource.com/c/go/+/602497
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go ... | [
{
"path": "src/crypto/rand/example_test.go",
"patch": "@@ -4,25 +4,10 @@\n \n package rand_test\n \n-import (\n-\t\"bytes\"\n-\t\"crypto/rand\"\n-\t\"fmt\"\n-)\n+import \"crypto/rand\"\n \n-// This example reads 10 cryptographically secure pseudorandom numbers from\n-// rand.Reader and writes them to a byte... | 2024-08-01T17:07:32 |
rust-lang/rust | eb101b1d2a2b7ee1407935ba8c5bee36ac9ee31d | 4586feb998521343b91c554adbb11ba30547d67a | Fix(lib/win/thread): Ensure `Sleep`'s usage passes over the requested duration under Win7
Fixes #149935. See the added comment for more details.
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr> | [
{
"path": "library/std/src/sys/thread/windows.rs",
"patch": "@@ -8,7 +8,7 @@ use crate::sys::pal::time::WaitableTimer;\n use crate::sys::pal::{dur2timeout, to_u16s};\n use crate::sys::{FromInner, c, stack_overflow};\n use crate::thread::ThreadInit;\n-use crate::time::Duration;\n+use crate::time::{Duration, ... | 2025-12-18T11:55:04 |
vercel/next.js | 22812d49db5dffa402d02fb9bf3d282dd829f45d | a84d7476a75745e6d8286ca655e9170e9ae8a5a7 | fix(turbopack): Use correct `SyntaxContext` for `__turbopack_esm__` (#73544)
### What?
### Why?
For description about the `resolver`/`hygiene` system, please see https://rustdoc.swc.rs/swc_core/ecma/transforms/base/fn.resolver.html
### How?
- Closes https://github.com/vercel/next.js/issues/72232
- Closes PACK-33... | [
{
"path": "turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs",
"patch": "@@ -7,6 +7,7 @@ use swc_core::{\n ecma::{\n ast::*,\n atoms::{atom, Atom},\n+ utils::find_pat_ids,\n visit::{Visit, VisitWith},\n },\n };\n@@ -178,6 +179,8 @@ pub(crate) struct ImportM... | 2025-03-06T02:57:58 |
facebook/react | d20c3af9d11ea4a35bfc76cb44c15af9d42059c4 | 46a6d77e32d00c8c71ab989ca88b1c51aad07cdd | [DevTools][Bug] Fix Race Condition When Unmounting Fibers (#24510)
When we delete fibers, we will call onCommitFiberUnmount on every deleted fiber to also remove them from the element tree. However, there are some cases where fibers aren't deleted but we still want to remove them from the element tree (ex. offscreen).... | [
{
"path": "packages/react-devtools-shared/src/backend/renderer.js",
"patch": "@@ -2630,6 +2630,10 @@ export function attach(\n }\n \n function handleCommitFiberUnmount(fiber) {\n+ // Flush any pending Fibers that we are untracking before processing the new commit.\n+ // If we don't do this, we mig... | 2022-05-06T19:36:03 |
electron/electron | a11a234eaccad5b222b8f23ab51ed8fd448a6bb2 | fc9a197f6c78eec616e8ac3e126b4c9cb70d871c | fix: disable kWindowCaptureMacV2 for desktopCapturer (#30507) | [
{
"path": "shell/browser/feature_list.cc",
"patch": "@@ -48,6 +48,12 @@ void InitializeFeatureList() {\n // an empty suggestions list to be returned\n disable_features +=\n std::string(\",\") + spellcheck::kWinRetrieveSuggestionsOnlyOnDemand.name;\n+#endif\n+#if defined(OS_MAC)\n+ // Disable kWin... | 2021-08-13T20:23:56 |
nodejs/node | 07e8539347b35e11acc96f667af1bcc5e72f49bb | cdcb01a144c58cd13cc76a6ff858005fe0f67c53 | bootstrap: do not expand argv1 for snapshots
To avoid capturing build machine states into the snapshot
PR-URL: https://github.com/nodejs/node/pull/49506
Fixes: https://github.com/nodejs/node/issues/49501
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/internal/main/mksnapshot.js",
"patch": "@@ -132,7 +132,7 @@ function requireForUserSnapshot(id) {\n \n \n function main() {\n- prepareMainThreadExecution(true, false);\n+ prepareMainThreadExecution(false, false);\n initializeCallbacks();\n \n let stackTraceLimitDesc;",
"additions": ... | 2023-09-05T23:40:33 |
golang/go | a62566fbb9e5d96b08869634d70a4e5a34f89958 | 2f507985dc24d198b763e5568ebe5c04d788894f | crypto/rand: remove /dev/urandom fallback and improve getrandom batching
The fallback was reachable on
- Linux, where starting in Go 1.24 we require a kernel with
getrandom(2), see #67001.
- FreeBSD, which added getrandom(2) in FreeBSD 12.0, which we
require since Go 1.19.
- OpenBSD, which a... | [
{
"path": "src/crypto/rand/rand.go",
"patch": "@@ -6,21 +6,55 @@\n // random number generator.\n package rand\n \n-import \"io\"\n+import (\n+\t\"crypto/internal/boring\"\n+\t\"io\"\n+\t\"sync/atomic\"\n+\t\"time\"\n+)\n \n // Reader is a global, shared instance of a cryptographically\n-// secure random num... | 2024-08-01T14:28:24 |
facebook/react | e531a4a62d0b88301ac06d4efd3f5a30faa03c94 | 547b707493735327373a9f8792343f73a5b080da | [React DevTools] Improve DevTools UI when Inspecting a user Component that Throws an Error (#24248)
* [ReactDevTools] custom view for errors occur in user's code
* [ReactDevTools] show message for unsupported feature
* fix bad import
* fix typo
* fix issues from rebasing
* prettier
* sync error name... | [
{
"path": "packages/react-devtools-shared/src/__tests__/inspectedElement-test.js",
"patch": "@@ -2145,7 +2145,7 @@ describe('InspectedElement', () => {\n expect(value).toBe(null);\n \n const error = errorBoundaryInstance.state.error;\n- expect(error.message).toBe('Error rendering inspected compon... | 2022-05-06T00:17:23 |
electron/electron | 93b1d2d9321856500308d90bf2a47ab3d346ed4e | 17615654e866a973daa7f1b10d0278db0e4dbe34 | build: fix release CI jobs start script (#30521)
This broke in #30492, we weren't handled 20X status codes and weren't authing to appveyor correctly. | [
{
"path": "script/release/ci-release-build.js",
"patch": "@@ -37,12 +37,15 @@ let jobRequestedCount = 0;\n \n async function makeRequest ({ auth, url, headers, body, method }) {\n const response = await got(url, {\n- headers,\n+ headers: {\n+ Authorization: auth && auth.bearer ? `Bearer ${auth.... | 2021-08-13T17:25:17 |
golang/go | d39bfafee7e6a5211af4bd1d21cfc953b14ca734 | f22afc584455081d518bbb2bd86737eeaf76a276 | runtime: use stringslite.CutPrefix in isExportedRuntime
Change-Id: I7cbbe3b9a9f08ac98e3e76be7bda2f7df9c61fb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/617915
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google... | [
{
"path": "src/runtime/traceback.go",
"patch": "@@ -1149,11 +1149,10 @@ func showfuncinfo(sf srcFunc, firstFrame bool, calleeID abi.FuncID) bool {\n // It is only for runtime functions, so ASCII A-Z is fine.\n func isExportedRuntime(name string) bool {\n \t// Check and remove package qualifier.\n-\tn := len... | 2024-10-04T12:30:06 |
nodejs/node | a71e3a65bbf30f9bf810a70307533d476bf1eb97 | 7e12d0e16db7bc7247b34bc52fabd420277a819f | test: fix edge snapshot stack traces
PR-URL: https://github.com/nodejs/node/pull/49659
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il> | [
{
"path": "test/common/assertSnapshot.js",
"patch": "@@ -8,6 +8,10 @@ const assert = require('node:assert/strict');\n const stackFramesRegexp = /(?<=\\n)(\\s+)((.+?)\\s+\\()?(?:\\(?(.+?):(\\d+)(?::(\\d+))?)\\)?(\\s+\\{)?(\\[\\d+m)?(\\n|$)/g;\n const windowNewlineRegexp = /\\r/g;\n \n+function replaceNodeVer... | 2023-09-17T20:59:41 |
vercel/next.js | a84d7476a75745e6d8286ca655e9170e9ae8a5a7 | be31c44fbc3bb847fc8e0babc8bc958342323de6 | Fix missing turbo command for rust-check (#76851)
Ensures we use the new turbo command for global turbo without repo
dependencies being installed.
x-ref:
https://github.com/vercel/next.js/actions/runs/13688466017/job/38277118036?pr=76849 | [
{
"path": ".github/workflows/build_and_deploy.yml",
"patch": "@@ -351,7 +351,7 @@ jobs:\n \n - name: cache build\n if: ${{ matrix.settings.docker && steps.build-exists.outputs.BUILD_EXISTS == 'no' }}\n- run: pnpm turbo run cache-build-native --force -- ${{ matrix.settings.target }}\n+ ... | 2025-03-06T01:17:52 |
facebook/react | d4acbe85d55b6048d65b6ff258b7996516d4aa58 | 024a7274fb07f154676ec6443b83a4e31f259c22 | Fixed possible undefined error in TreeContext reducer (#24501) | [
{
"path": "packages/react-devtools-shared/src/devtools/views/Components/TreeContext.js",
"patch": "@@ -377,12 +377,11 @@ function reduceTreeState(store: Store, state: State, action: Action): State {\n }\n break;\n case 'SELECT_PREVIOUS_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE': {\n- ... | 2022-05-05T15:46:57 |
golang/go | f22afc584455081d518bbb2bd86737eeaf76a276 | 065c1359e1bc3d6744a925339484592b13d713dd | cmd/cgo: avoid endless recursion on recursive type
Fixes #69176
Change-Id: I2e3b2a7cf7699697b957fc69ecf5200ebb137bc3
Reviewed-on: https://go-review.googlesource.com/c/go/+/609975
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
C... | [
{
"path": "src/cmd/cgo/internal/testerrors/errors_test.go",
"patch": "@@ -132,6 +132,7 @@ func TestReportsTypeErrors(t *testing.T) {\n \t\t\"issue50710.go\",\n \t\t\"issue67517.go\",\n \t\t\"issue67707.go\",\n+\t\t\"issue69176.go\",\n \t} {\n \t\tcheck(t, file)\n \t}",
"additions": 1,
"deletions": 0... | 2024-08-30T22:44:02 |
nodejs/node | 7e12d0e16db7bc7247b34bc52fabd420277a819f | c177ac0a7d4dc0be12af07777ba215a8e39a2d7f | fs: improve error performance of sync methods
PR-URL: https://github.com/nodejs/node/pull/49593
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com> | [
{
"path": "benchmark/fs/bench-accessSync.js",
"patch": "@@ -0,0 +1,42 @@\n+'use strict';\n+\n+const common = require('../common');\n+const fs = require('fs');\n+const tmpdir = require('../../test/common/tmpdir');\n+tmpdir.refresh();\n+\n+const tmpfile = tmpdir.resolve(`.existing-file-${process.pid}`);\n+fs.... | 2023-09-17T20:42:46 |
facebook/react | 3dc9a8af05f98d185ca55d56f163dbb46e7ad3f4 | c7e494b55320768863b821be96896b28f0a280ef | fix forward ref (#24494)
Resolves #24428
---
For fiber types that render user code, we check the PerformedWork flag rather than the props, ref, and state to see if the fiber rendered (rather than bailing out/etc.) so we know whether we need to do things like record profile durations. ForwardRef wasn't added to t... | [
{
"path": "packages/react-devtools-shared/src/backend/renderer.js",
"patch": "@@ -1570,6 +1570,7 @@ export function attach(\n case ContextConsumer:\n case MemoComponent:\n case SimpleMemoComponent:\n+ case ForwardRef:\n // For types that execute user code, we check PerformedWo... | 2022-05-04T20:25:27 |
vercel/next.js | be31c44fbc3bb847fc8e0babc8bc958342323de6 | dc52e7ece357e9b11e6d6b0bef2ced6e01f8f5a9 | [dev-overlay]: remove dependency on platform for focus trapping (#76849)
We currently vendor `platform` and `medialize/ally` to tackle focus
trapping in the error overlay. We already use a custom focus trap util
for most cases such as the indicator / popover, so there isn't much
reason to have forked handling here, an... | [
{
"path": "packages/next/package.json",
"patch": "@@ -291,7 +291,6 @@\n \"path-browserify\": \"1.0.1\",\n \"path-to-regexp\": \"6.1.0\",\n \"picomatch\": \"4.0.1\",\n- \"platform\": \"1.3.6\",\n \"postcss-flexbugs-fixes\": \"5.0.2\",\n \"postcss-modules-extract-imports\": \"3.0.0\",\n... | 2025-03-06T00:52:03 |
electron/electron | 81c143318ba04c9aff2a5bcb80e4a1e3d55e019f | c8f33246105f3b5ab3bec86ff10d7d3d103dfdd9 | chore: bump chromium to 94.0.4590.2 (main) (#30274)
* chore: bump chromium in DEPS to 94.0.4587.0
* chore: update patches
* 2823155: fix GPU video decoding capabilities enumeration
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/2823155
* 3041383: Reduce includes in url_request_mojom_traits.... | [
{
"path": "DEPS",
"patch": "@@ -15,7 +15,7 @@ gclient_gn_args = [\n \n vars = {\n 'chromium_version':\n- '94.0.4584.0',\n+ '94.0.4590.2',\n 'node_version':\n 'v16.5.0',\n 'nan_version':",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "patches/boringss... | 2021-08-11T21:04:56 |
golang/go | 726d898c92ed0159f283f324478d00f15419f476 | 7703db647c0f36566d3ef28ea15d196db5ad3ff2 | go/types, types2: always try inference over methods when possible
During type inference, when comparing type parameters against their
constraints, if a type argument is completely known it must implement
its constraint. In this case, always unify the type argument's methods
against the constraint methods, if any.
Bef... | [
{
"path": "src/cmd/compile/internal/types2/infer.go",
"patch": "@@ -236,10 +236,10 @@ func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type,\n \t\t\t\tu.tracef(\"-- type parameter %s = %s: core(%s) = %s, single = %v\", tpar, tx, tpar, core, single)\n \t\t\t}\n \n-\t\t\t// If there i... | 2024-10-03T20:51:25 |
facebook/react | c7e494b55320768863b821be96896b28f0a280ef | 6cbf0f7fac772c3fd18706d73af00f3fd06a55b5 | [React DevTools] Fix regex for formateWithStyles function (#24486)
The previous regex to detect string substitutions is not quite right, this PR fixes it by:
Check to make sure we are starting either at the beginning of the line or we match a character that's not % to make sure we capture all the % in a row.
Make ... | [
{
"path": "packages/react-devtools-shared/src/backend/utils.js",
"patch": "@@ -1,3 +1,4 @@\n+/**\n /**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n@@ -188,7 +189,7 @@ export function formatWithStyles(\n }\n \n // Matches any of %(o|O|d|i|s|f), but not %%(o|O|d|i|s|f)\n- const REGEXP = /... | 2022-05-03T22:52:56 |
nodejs/node | 56ecf2928311a8f859ab536e8cbee24b08d1bf16 | e9ff81016dfcf183f4fcc2640497cb8b3365fdd7 | esm: fix support for `URL` instances in `register`
PR-URL: https://github.com/nodejs/node/pull/49655
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/module.md",
"patch": "@@ -84,14 +84,18 @@ isBuiltin('wss'); // false\n \n <!-- YAML\n added: v20.6.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/49655\n+ description: Add support for WHATWG URL instances.\n -->\n \n > Stability: 1.2 - Release c... | 2023-09-17T00:48:48 |
vercel/next.js | dc52e7ece357e9b11e6d6b0bef2ced6e01f8f5a9 | 910b07b5c34108da4c181d7c71e77d181748f33c | fix: don't drop queued actions when navigating (#75362)
If we run two or more actions, the first starts executing immediately,
and the rest gets queued. The bug here was that if we navigated right
after, the navigation would make us drop the rest of the queue, which
would cause all the queued action calls to never res... | [
{
"path": "packages/next/src/shared/lib/router/action-queue.ts",
"patch": "@@ -151,8 +151,9 @@ function dispatchAction(\n // Mark the pending action as discarded (so the state is never applied) and start the navigation action immediately.\n actionQueue.pending.discarded = true\n \n- // Mark this ... | 2025-03-06T00:02:40 |
electron/electron | 60650abf09236d4a8ea24991a3b892776cdb86bf | e11953b0e6e7d6440fa84d6733e6c153a9cabde6 | fix: explicitly define REFGUID from ::GUID&, not base::GUID (#30442)
* fix: explicitly define REFGUID from ::GUID&
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076480
* fix: duplicate GUID_NULL symbol, add comment | [
{
"path": "shell/common/crash_keys.cc",
"patch": "@@ -41,15 +41,13 @@\n #include \"shell/browser/api/electron_api_service_worker_context.h\"\n #include \"shell/browser/api/electron_api_session.h\"\n #include \"shell/browser/api/electron_api_system_preferences.h\"\n+#include \"shell/browser/api/electron_api_... | 2021-08-11T19:43:33 |
golang/go | 8f0fb2c54e5e91c2a545db88e2e31e16f75ba55b | b3312065ce68465639c796b36a3671ac031223fb | cmd/go: relax the regular expression of TestScript/list_pkgconfig_error
Fixes #68283
Change-Id: I63bd128bd10565ce16a13b5a60d813368db26f26
Reviewed-on: https://go-review.googlesource.com/c/go/+/616339
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob... | [
{
"path": "src/cmd/go/testdata/script/list_pkgconfig_error.txt",
"patch": "@@ -2,7 +2,7 @@\n [!exec:pkg-config] skip 'test requires pkg-config tool'\n \n ! go list -export .\n-stderr '^# example\\n# \\[pkg-config .*\\]\\n(.*\\n)*Package .* not found'\n+stderr '^# example\\n# \\[pkg-config .*\\]\\n(.*\\n)*(P... | 2024-09-27T18:37:20 |
facebook/react | 6cbf0f7fac772c3fd18706d73af00f3fd06a55b5 | a10a9a6b5b891dd3ce238bf39a6147bb0f3a1d2a | Fork ReactSymbols (#24484)
* Fork ReactSymbols
* Fix tests
* Update jest config | [
{
"path": "packages/shared/ReactSymbols.js",
"patch": "@@ -11,72 +11,33 @@\n // When adding new symbols to this file,\n // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n \n-import {enableSymbolFallbackForWWW} from './ReactFeatureFlags';\n-\n-const usePolyfill =\n- enableS... | 2022-05-03T21:12:23 |
nodejs/node | db8217b1bfe48a1b8fa011776fc4f3b1f81d4d1c | f42a1039917ae4432078c1288b8dc54081eed131 | errors: improve classRegExp in errors.js
PR-URL: https://github.com/nodejs/node/pull/49643
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> | [
{
"path": "benchmark/error/error-class-reg-exp.js",
"patch": "@@ -0,0 +1,23 @@\n+'use strict';\n+\n+const common = require('../common.js');\n+\n+const bench = common.createBenchmark(main, {\n+ n: [1e5],\n+}, {\n+ flags: ['--expose-internals'],\n+});\n+\n+const instances = Array.from({ length: 1000 }).map(... | 2023-09-16T01:36:48 |
vercel/next.js | ee2bd3f00b55dca0c45cd4b9092538942a935f24 | f121717b6f9eed539fb93d92409fe63c9a4d6dfe | fix duplicated noindex when server action is triggered (#76847)
### What
When client sends and Server Action request with `notFound()` inside,
next-server will serve the RSC payload in response but we were also
serving a fallback `robots=noindex` metadata for 404 requests. This will
be a conflict for users custom met... | [
{
"path": "packages/next/src/server/app-render/app-render.tsx",
"patch": "@@ -427,7 +427,8 @@ function NonIndex({ ctx }: { ctx: AppRenderContext }) {\n const isInvalidStatusCode =\n typeof ctx.res.statusCode === 'number' && ctx.res.statusCode > 400\n \n- if (is404Page || isInvalidStatusCode) {\n+ //... | 2025-03-05T22:31:34 |
electron/electron | 41646d1168a22f9a7bad683e5a30bd4cead7d945 | 42936b07fe860bb5f270ef5154fcd0b91912b8de | feat: enable windows control overlay on Windows (#29600)
* rebase "feat: enable windows control overlay on Windows"
* correct compilation error
* fix linting errors
* modify includes and build file
* change `hidden` option to `overlay`
* add patch to fix visual layout
* add button background color pa... | [
{
"path": "chromium_src/BUILD.gn",
"patch": "@@ -76,8 +76,11 @@ static_library(\"chrome\") {\n \"//chrome/browser/extensions/global_shortcut_listener_win.h\",\n \"//chrome/browser/icon_loader_win.cc\",\n \"//chrome/browser/media/webrtc/window_icon_util_win.cc\",\n+ \"//chrome/browser/... | 2021-08-11T18:07:36 |
facebook/react | b4eb0ad71fb365cb760a5b9ab1a1e2dd6193fac7 | 99eef9e2df7b6aade461a1a958eb3838239e72c4 | Do not replay erroring beginWork with invokeGuardedCallback when suspended or previously errored (#24480)
When hydrating a suspense boundary an error or a suspending fiber can often lead to a cascade of hydration errors. While in many cases these errors are simply discarded (e.g. when teh root does not commit and we f... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -2850,8 +2850,84 @@ describe('ReactDOMFizzServer', () => {\n });\n });\n \n+ // @gate experimental\n+ it('#24384: Suspending should halt hydration warnings and not emit any if hydration completes successfully after... | 2022-05-03T18:07:47 |
golang/go | 47a99359206f0dd41228deda0aa31f1e769cc156 | ce60f70374b08e3130bd88fd314b46e45a24c6f0 | syscall: use SYS_EXIT_GROUP in CLONE_PIDFD feature check child
Inside Google we have seen issues with QEMU user mode failing to wake a
parent waitid when this child exits with SYS_EXIT. This bug appears to
not affect SYS_EXIT_GROUP.
It is currently unclear if this is a general QEMU or specific to
Google's configurati... | [
{
"path": "src/syscall/exec_linux.go",
"patch": "@@ -836,6 +836,6 @@ func doCheckClonePidfd(pidfd *int32) (pid uintptr, errno Errno) {\n \t}\n \n \tfor {\n-\t\tRawSyscall(SYS_EXIT, 0, 0, 0)\n+\t\tRawSyscall(SYS_EXIT_GROUP, 0, 0, 0)\n \t}\n }",
"additions": 1,
"deletions": 1,
"language": "Go"
}... | 2024-10-02T21:20:12 |
nodejs/node | 6a489df73b0ab64f8fab016a7a71e209066fdb82 | dac5f296914503629097b283cdced2df85878833 | esm: clarify ERR_REQUIRE_ESM errors
In #39175, better ESM errors were introduced. This commit tweaks the
language in the error slightly to make it clear that there are three
different options to resolve the error.
Refs: https://github.com/nodejs/node/pull/39175
PR-URL: https://github.com/nodejs/node/pull/49521
Review... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -1542,7 +1542,7 @@ E('ERR_REQUIRE_ESM',\n msg += `\\n${basename} is treated as an ES module file as it is a .js ` +\n 'file whose nearest parent package.json contains \"type\": \"module\" ' +\n 'which declares all .js files in that package sco... | 2023-09-15T05:13:54 |
vercel/next.js | f121717b6f9eed539fb93d92409fe63c9a4d6dfe | 71f837fac3a6bb3f21e4dbc6baa596efb1e49aa6 | add types for `__next_app__` module loading functions (#74566)
`__next_app__.require` and `__next_app__.loadChunk` were typed as `any` for no good reason. i made them more strict + adjusted callsites as needed.
also contains a drive-by fix for `wrapClientComponentLoader` -- it was using a `try ... finally` without ... | [
{
"path": "packages/next/src/build/templates/app-page.ts",
"patch": "@@ -21,8 +21,8 @@ export { tree, pages }\n export { default as GlobalError } from 'VAR_MODULE_GLOBAL_ERROR' with { 'turbopack-transition': 'next-server-utility' }\n \n // These are injected by the loader afterwards.\n-declare const __next_... | 2025-03-05T22:21:52 |
electron/electron | ac49e6af4aae1849d33155eb31e32de55a39bb38 | 69f1c1b08340fac5b687b4a64095524833e9190d | repl: fix crash when SharedArrayBuffer disabled (#30456) | [
{
"path": "patches/node/.patches",
"patch": "@@ -26,3 +26,4 @@ fix_crypto_tests_to_run_with_bssl.patch\n fix_account_for_debugger_agent_race_condition.patch\n fix_use_new_v8_error_message_property_access_format.patch\n add_should_read_node_options_from_env_option_to_disable_node_options.patch\n+repl_fix_cra... | 2021-08-11T00:42:15 |
facebook/react | 6c36aee9443d4b30d13137dbb1660f73522aa3c9 | ce13860281f833de8a3296b7a3dad9caced102e9 | Fixed wrong method call for LRU cache (#24477) | [
{
"path": "packages/react-devtools-shared/src/inspectedElementMutableSource.js",
"patch": "@@ -102,7 +102,7 @@ export function inspectElement({\n case 'not-found':\n // This is effectively a no-op.\n // If the Element is still in the Store, we can eagerly remove it from the Map.\n- ... | 2022-05-03T01:17:01 |
golang/go | 95936844387c0158b773afa4ee6f99bd430791cf | 5b0f8596b766afae9dd1f117a4a5dcfbbf1b80f1 | go/types, types: always record a type for inner composite literals
Ensure that inner composite literals get a (possibly invalid) type
if something goes wrong with the enclosing composite literal.
Fixes #69092.
Change-Id: Ib1d2d529c4683ea3ab1799a818b43538e152ae8e
Reviewed-on: https://go-review.googlesource.com/c/go/+... | [
{
"path": "src/cmd/compile/internal/types2/issues_test.go",
"patch": "@@ -1141,3 +1141,29 @@ type (\n \t\tt.Errorf(\"got %s, want %s\", got, want)\n \t}\n }\n+\n+func TestIssue69092(t *testing.T) {\n+\tconst src = `\n+package p\n+\n+var _ = T{{x}}\n+`\n+\n+\tfile := mustParse(src)\n+\tconf := Config{Error: ... | 2024-10-02T00:04:51 |
nodejs/node | 2dfaee4bc857115346fb394e03ce7f12dc481151 | 4aa6b8c2e418dbcc15841245a1f0e9fdc72cf3d1 | module: fix the leak in SourceTextModule and ContextifySript
Replace the persistent handles to v8::Module and
v8::UnboundScript with an internal reference that V8's GC is
aware of to fix the leaks.
PR-URL: https://github.com/nodejs/node/pull/48510
Refs: https://github.com/nodejs/node/issues/44211
Refs: https://github... | [
{
"path": "src/module_wrap.cc",
"patch": "@@ -55,7 +55,10 @@ ModuleWrap::ModuleWrap(Environment* env,\n Local<String> url,\n Local<Object> context_object,\n Local<Value> synthetic_evaluation_step)\n- : BaseObject(env, object), module_(e... | 2023-06-23T16:32:57 |
vercel/next.js | fb67605d2643999ed324badf049a9a6e80cd26e6 | 2d7d3c9c5cde3dc77d5e2061539e6bacd70ac774 | fix: remove useless set-cookie in action-handler (#76839)
`handleAction` had a weird spot where it'd add a `set-cookie` header if
a redirect was thrown during handling a no-js action. AFAICT, this is
unnecessary -- we set the `set-cookie` header on the response as soon as
`cookies().set()` is called, so there's no nee... | [
{
"path": "packages/next/src/server/app-render/action-handler.ts",
"patch": "@@ -30,10 +30,7 @@ import {\n filterReqHeaders,\n actionsForbiddenHeaders,\n } from '../lib/server-ipc/utils'\n-import {\n- appendMutableCookies,\n- getModifiedCookieValues,\n-} from '../web/spec-extension/adapters/request-co... | 2025-03-05T15:56:21 |
electron/electron | 590858a38debcbeb43de537d027555cc8e4fec4c | edb7413bae2226644b5fa346de71350fecf55d7d | docs: fix camelcase in menu example (#30341)
* docs: fix camelcase in menu example and add hint to deal with TS error
hideothers -> hideOthers (the TS compiler caught this)
The TypeScript compiler also did not like the pattern used to
switch between platforms for submenus was loosing the type information
of the ... | [
{
"path": "docs/api/menu.md",
"patch": "@@ -162,7 +162,7 @@ const template = [\n { role: 'services' },\n { type: 'separator' },\n { role: 'hide' },\n- { role: 'hideothers' },\n+ { role: 'hideOthers' },\n { role: 'unhide' },\n { type: 'separator' },\n { role: 'qu... | 2021-08-10T01:01:39 |
rust-lang/rust | 291d0a9a4b175b61b7c499551751ad5023b38bbc | 4586feb998521343b91c554adbb11ba30547d67a | diagnostics: make implicit Sized bounds explicit in E0277
When a trait parameter depends upon Sized, the error message only
referred to the full trait itself and didn't mention Sized. This makes
the failure to implement Sized explicit. It also notes when the Sized
trait bound is explicit or implicit. | [
{
"path": "compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs",
"patch": "@@ -1391,25 +1391,45 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n // return early in the caller.\n \n let mut label = || {\n+ // Special case `Sized` as `old_pred` will be th... | 2026-01-06T21:08:10 |
golang/go | 5b0f8596b766afae9dd1f117a4a5dcfbbf1b80f1 | 268eaf9acbbef7555db02bd3f15bdad9a47d13fa | runtime/pprof: make TestBlockMutexProfileInlineExpansion stricter
While working on CL 611241 and CL 616375, I introduced a bug that wasn't
caught by any test. CL 611241 added more inline expansion at sample time
for block/mutex profile stacks collected via frame pointer unwinding.
CL 616375 then changed how inline exp... | [
{
"path": "src/runtime/pprof/pprof_test.go",
"patch": "@@ -2727,38 +2727,38 @@ func TestBlockMutexProfileInlineExpansion(t *testing.T) {\n \twg.Wait()\n \n \ttcs := []struct {\n-\t\tName string\n-\t\tCollect func([]runtime.BlockProfileRecord) (int, bool)\n-\t\tSubStack string\n+\t\tName string\n+\t\... | 2024-10-01T17:51:09 |
nodejs/node | 4aa6b8c2e418dbcc15841245a1f0e9fdc72cf3d1 | bc9a875c999ad734f688660f0769098129818421 | module: fix leak of vm.SyntheticModule
Previously we maintain a strong persistent reference to the
ModuleWrap to retrieve the ID-to-ModuleWrap mapping from
the HostImportModuleDynamicallyCallback using the number ID
stored in the host-defined options. As a result the ModuleWrap
would be kept alive until the Environmen... | [
{
"path": "src/module_wrap.cc",
"patch": "@@ -64,6 +64,7 @@ ModuleWrap::ModuleWrap(Environment* env,\n if (!synthetic_evaluation_step->IsUndefined()) {\n synthetic_ = true;\n }\n+ MakeWeak();\n }\n \n ModuleWrap::~ModuleWrap() {",
"additions": 1,
"deletions": 0,
"language": "Unknown"
... | 2023-06-21T16:04:35 |
rust-lang/rust | c502d7fce0e057eee00bfab471360ea751ef3762 | bca37a20bd376ce3fd138e7cdee7fe704e0f8814 | Fix trait method anchor disappearing before user can click on it | [
{
"path": "src/librustdoc/html/static/css/rustdoc.css",
"patch": "@@ -1200,9 +1200,11 @@ nav.sub {\n \tdisplay: initial;\n }\n .anchor {\n+\t--anchor-link-shift: 0.5em;\n \tdisplay: none;\n \tposition: absolute;\n-\tleft: -0.5em;\n+\tleft: calc(var(--anchor-link-shift) * -1);\n+\tpadding-right: var(--anchor... | 2026-01-08T15:53:50 |
vercel/next.js | 0704818681a429e7cf79f27f569f9972c28f9938 | 0abd87717f19bced6c35af1255837628513cf772 | [dev-overlay] Ignore animations on page load (#76834)
The current animation strategy for our Dev Tools surface does not work.
https://github.com/user-attachments/assets/a0ca5459-9d5a-4d90-af00-b071d43581e0
On page load, several animations can be observed:
- Width growth from `0` → `auto`
- Issue count translates ... | [
{
"path": "packages/next/src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.tsx",
"patch": "@@ -269,7 +269,7 @@ function DevToolsPopover({\n // Reset the toast component's default positions.\n bottom: 'initial',\n left: 'initial... | 2025-03-05T14:27:52 |
electron/electron | edb7413bae2226644b5fa346de71350fecf55d7d | e223b4db949ebc0e4e0076f0815305a55fb68d46 | fix: mouse doesn't work on frameless browserwindows (#30447) | [
{
"path": "shell/browser/native_window_views.cc",
"patch": "@@ -217,9 +217,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,\n #endif\n \n widget()->Init(std::move(params));\n-#if defined(OS_WIN)\n SetCanResize(resizable_);\n-#endif\n \n bool fullscreen = false;\n opti... | 2021-08-10T01:01:20 |
golang/go | 268eaf9acbbef7555db02bd3f15bdad9a47d13fa | 8c269479eddb8a620e4f4581a520fdf5a931d648 | cmd/go/internal/security: add -ftls-model to valid compiler flags
Allow -ftls-model to be passed in to a system compiler. It does not
allow arbitrary code execution. See
https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-ftls-model
for documentation for the -ftls-model flag.
Fixes #69711
Change-Id: I842a... | [
{
"path": "src/cmd/go/internal/work/security.go",
"patch": "@@ -91,6 +91,7 @@ var validCompilerFlags = []*lazyregexp.Regexp{\n \tre(`-f(no-)?visibility-inlines-hidden`),\n \tre(`-fsanitize=(.+)`),\n \tre(`-ftemplate-depth-(.+)`),\n+\tre(`-ftls-model=(global-dynamic|local-dynamic|initial-exec|local-exec)`),\... | 2024-10-01T19:29:36 |
nodejs/node | bc9a875c999ad734f688660f0769098129818421 | b289c6df1197f4ff0e2202b430fe77e281d7243b | module: use symbol in WeakMap to manage host defined options
Previously when managing the importModuleDynamically callback of
vm.compileFunction(), we use an ID number as the host defined option
and maintain a per-Environment ID -> CompiledFnEntry map to retain
the top-level referrer function returned by vm.compileFun... | [
{
"path": "lib/internal/modules/esm/create_dynamic_module.js",
"patch": "@@ -45,8 +45,9 @@ import.meta.done();\n \n if (imports.length)\n reflect.imports = { __proto__: null };\n- const { setCallbackForWrap } = require('internal/modules/esm/utils');\n- setCallbackForWrap(m, {\n+ const { registerMod... | 2023-06-21T14:01:50 |
electron/electron | e223b4db949ebc0e4e0076f0815305a55fb68d46 | 08e9aea940df46979d793684f67d3b7b683330a1 | fix: respect image animation policy pref (#30403) | [
{
"path": "shell/browser/web_contents_preferences.cc",
"patch": "@@ -423,7 +423,7 @@ void WebContentsPreferences::OverrideWebkitPrefs(\n blink::web_pref::WebPreferences* prefs) {\n prefs->javascript_enabled = javascript_;\n prefs->images_enabled = images_;\n- // GetImageAnimationPolicy(&preference_... | 2021-08-09T16:58:03 |
facebook/react | bd4784c8f8c6b17cf45c712db8ed8ed19a622b26 | 6d3b6d0f408136479d7298f1a14d79e8a12f0c65 | Revert #24236 (Don't recreate the same fallback on the client if hydrating suspends) (#24434)
* Revert #24236 (Don't recreate the same fallback on the client if hydrating suspends)
* Use @gate FIXME | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -869,16 +869,15 @@ describe('ReactDOMFizzServer', () => {\n });\n \n // We still can't render it on the client.\n- expect(Scheduler).toFlushAndYield([]);\n- expect(getVisibleChildren(container)).toEqual(<div>... | 2022-04-25T15:16:32 |
golang/go | 03103a54d830ee14187aac7720e42000927a6ce9 | 658a6a6e1f0a4e0a41ccb5618b0cbf9abe9a7ff4 | hash/maphash: add WriteComparable and Comparable
Default, use hash function in the runtime package.
If the build tag is purego or raw memory cannot be hash directly,
use reflect get each field to hash separately.
Fixes #54670
Change-Id: Ic968864c9c3c51883967d4f6dc24432385c7dc79
GitHub-Last-Rev: 5ae8a28834c8b809a52c... | [
{
"path": "api/next/54670.txt",
"patch": "@@ -0,0 +1,2 @@\n+pkg hash/maphash, func Comparable[$0 comparable](Seed, $0) uint64 #54670\n+pkg hash/maphash, func WriteComparable[$0 comparable](*Hash, $0) #54670",
"additions": 2,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "doc/next... | 2024-09-25T10:32:49 |
vercel/next.js | 0abd87717f19bced6c35af1255837628513cf772 | f14174f92bef2832c99ebd6a164fd380bd9d3501 | docs(errors): remove confusing good-to-know since global-errors.tsx also show in dev as of 15.2 (#76825)
## Why?
The "Good to know" has a typo, and it is probably better not mentioned. The https://nextjs.org/docs/app/building-your-application/routing/error-handling#handling-global-errors page does not mention (the fa... | [
{
"path": "docs/01-app/04-api-reference/03-file-conventions/error.mdx",
"patch": "@@ -193,12 +193,10 @@ export default function GlobalError({ error, reset }) {\n }\n ```\n \n-> **Good to know**: `global-error.js` is always displayed In development, error overlay will show instead.\n-\n ## Version History\n ... | 2025-03-05T12:52:45 |
nodejs/node | 1a4ae462f8d2c08a6f35c64fc0598d64de1605d5 | 22907ce3668b69543acb07f293817f092e03a267 | test_runner: fix test runner watch mode when no positional arguments
PR-URL: https://github.com/nodejs/node/pull/49578
Fixes: https://github.com/nodejs/node/issues/49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> | [
{
"path": "src/node_options.cc",
"patch": "@@ -173,7 +173,7 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors,\n } else if (force_repl) {\n errors->push_back(\"either --watch or --interactive \"\n \"can be used, not both\");\n- } else if (argv->si... | 2023-09-14T11:46:18 |
facebook/react | bd081376665f5f081dcf4bf72f06b7e563c8046d | 9ae80d6a2bf8f48f20e3d62b9672f21c1ff77bd8 | Fix: useDeferredValue should reuse previous value (#24413)
During an urgent update, useDeferredValue should reuse the previous
value. The regression test I added shows that it was reverting to
the initial value instead.
The cause of the bug was trivial: the update path doesn't update the
hook's `memoizedState` f... | [
{
"path": "packages/react-reconciler/src/ReactFiberHooks.new.js",
"patch": "@@ -1993,6 +1993,7 @@ function updateDeferredValueImpl<T>(hook: Hook, prevValue: T, value: T): T {\n markWorkInProgressReceivedUpdate();\n }\n \n+ hook.memoizedState = value;\n return value;\n }\n }",
"additio... | 2022-04-21T03:30:46 |
electron/electron | 6a9cada98c7ab6ac88b3f64662ba1bfa6dded608 | d783e944d3fff20d51edf614fab2e85b226419d2 | fix: build SetCrashKeyGW without tray on Windows (#30437) | [
{
"path": "shell/common/crash_keys.cc",
"patch": "@@ -41,13 +41,15 @@\n #include \"shell/browser/api/electron_api_service_worker_context.h\"\n #include \"shell/browser/api/electron_api_session.h\"\n #include \"shell/browser/api/electron_api_system_preferences.h\"\n-#include \"shell/browser/api/electron_api_... | 2021-08-06T21:04:19 |
golang/go | e86982c515ba4a494fb1f8e1367f4238a2b59c2e | 41d189a3f68bbda96fcaf83b7db5d69d51c58bcf | encoding/json: add omitzero option
Fixes #45669
Change-Id: Ic13523c0b3acdfc5b3e29a717bc62fde302ed8fd
GitHub-Last-Rev: 57030f26b0062fa8eda21b3a73b7665deab88c76
GitHub-Pull-Request: golang/go#69622
Reviewed-on: https://go-review.googlesource.com/c/go/+/615676
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-acco... | [
{
"path": "doc/next/6-stdlib/99-minor/encoding/json/45669.md",
"patch": "@@ -0,0 +1,7 @@\n+When marshaling, a struct field with the new `omitzero` option in the struct field\n+tag will be omitted if its value is zero. If the field type has an `IsZero() bool`\n+method, that will be used to determine whether ... | 2024-10-01T03:15:08 |
vercel/next.js | 639dbbd36f2eb6252706d6da91ea46e57de359c3 | 51ffc255e185a9bdce5967c0ce53bc4dd9b846c9 | [test] Use new Redbox matchers in pages/ middleware-errors (#76797) | [
{
"path": "test/development/middleware-errors/index.test.ts",
"patch": "@@ -1,11 +1,4 @@\n-import {\n- assertHasRedbox,\n- assertNoRedbox,\n- check,\n- getRedboxDescription,\n- getRedboxSource,\n- retry,\n-} from 'next-test-utils'\n+import { assertNoRedbox, check, retry } from 'next-test-utils'\n impo... | 2025-03-05T08:02:02 |
facebook/react | 9ae80d6a2bf8f48f20e3d62b9672f21c1ff77bd8 | 0dc4e6663dc875e0f734b1a96b26ebc33902323a | Suppress hydration warnings when a preceding sibling suspends (#24404)
* Add failing test case for #24384
If a components suspends during hydration we expect there to be mismatches with server rendered HTML but we were not always supressing warning messages related to these expected mismatches
* Mark hydration a... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -2841,4 +2841,247 @@ describe('ReactDOMFizzServer', () => {\n expect(window.__test_outlet).toBe(1);\n });\n });\n+\n+ // @gate experimental && enableClientRenderFallbackOnTextMismatch\n+ it('#24384: Suspendin... | 2022-04-20T21:52:54 |
electron/electron | bc508c611362145e746ac60d956eede0116d4c7c | ec6cd0053e7d953e131be02ef46d57cb9091307a | feat: add `electron.safeStorage` encryption API (#30020)
* feat: add SafeStorage api; first commit
* chore: rename files to fit semantically
* chore: add linkedBindings
* chore: fix function signatures
* chore: refactor eisCookieEncryptionEnabled() fuse
* chore: create test file
* chore: add tests an... | [
{
"path": "docs/api/safe-storage.md",
"patch": "@@ -0,0 +1,40 @@\n+# safeStorage\n+\n+> Allows access to simple encryption and decryption of strings for storage on the local machine.\n+\n+Process: [Main](../glossary.md#main-process)\n+\n+This module protects data stored on disk from being accessed by other ... | 2021-08-05T22:12:54 |
golang/go | 41d189a3f68bbda96fcaf83b7db5d69d51c58bcf | 630d4fb600ae309476c87a4ca0e29b60425bc0c1 | text/template: use correct verbs for reflect.Value
Fixes #69708.
Change-Id: I7a0347aff75cc8dad3f6c36966b1d03822a78dc9
GitHub-Last-Rev: fcc15513e48ceae68b846e1dff69b459defb2614
GitHub-Pull-Request: golang/go#69713
Reviewed-on: https://go-review.googlesource.com/c/go/+/616695
Auto-Submit: Ian Lance Taylor <iant@google.... | [
{
"path": "src/text/template/exec.go",
"patch": "@@ -398,7 +398,7 @@ func (s *state) walkRange(dot reflect.Value, r *parse.RangeNode) {\n \tcase reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,\n \t\treflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.... | 2024-09-30T15:04:36 |
vercel/next.js | 51ffc255e185a9bdce5967c0ce53bc4dd9b846c9 | 33553712bda1e6202fcaa266cc694cadcdc6e5b3 | [metadata] remove the duplicate metadata in the error boundary (#76791)
### What
Those metadata were added into error boundaries but they're actually duplicated, we already have the actual metadata in the page and the metadata outlet can trigger the error boundary. The metadata element in the error boundary is not... | [
{
"path": "packages/next/src/server/app-render/create-component-tree.tsx",
"patch": "@@ -411,23 +411,20 @@ async function createComponentTreeInternal({\n const notFoundElement = NotFound ? (\n <>\n <NotFound />\n- {metadata}\n {notFoundStyles}\n </>\n ) : undefined\n \n const ... | 2025-03-05T07:31:06 |
facebook/react | ab9cdd34fb6c88d56c83882dbd011b4546878483 | 2bf5eba7247a58aeb7ba23b3b5630d8bf6c2c4da | Bugfix: In legacy mode, call suspended tree's unmount effects when it is deleted (#24400)
* Bug: Missing unmount when suspended tree deleted
When a suspended tree switches to a fallback, we unmount the effects.
If the suspended tree is then deleted, there's a guard to prevent us
from unmounting the effects again.... | [
{
"path": "packages/react-reconciler/src/ReactFiberCommitWork.new.js",
"patch": "@@ -1804,24 +1804,36 @@ function commitDeletionEffectsOnFiber(\n return;\n }\n case OffscreenComponent: {\n- // If this offscreen component is hidden, we already unmounted it. Before\n- // deleting the c... | 2022-04-19T21:09:07 |
electron/electron | ec6cd0053e7d953e131be02ef46d57cb9091307a | 8e1160fde491f2c9c508213d6cd33c5009b0909e | chore: more crash-keys for gin::Wrappable debugging (#30404) | [
{
"path": "shell/common/crash_keys.cc",
"patch": "@@ -21,18 +21,32 @@\n #include \"third_party/crashpad/crashpad/client/annotation.h\"\n \n #include \"gin/wrappable.h\"\n+#include \"shell/browser/api/electron_api_app.h\"\n+#include \"shell/browser/api/electron_api_auto_updater.h\"\n #include \"shell/browser... | 2021-08-05T18:39:07 |
golang/go | aa42d7b402ac163ebce141c2805eaf3558252606 | 8c52cd3da550f5315c32bdcb9442ac50e3e4ec96 | spec: clarify that identical structs must have identical field embeddings
The existing prose for struct identity did only require that two structs
"have the same sequence of fields, and if corresponding fields have the
same names, and identical types, and identical tags" for the structs to
be identical.
The implement... | [
{
"path": "doc/go_spec.html",
"patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Language version go1.23 (Aug 12, 2024)\",\n+\t\"Subtitle\": \"Language version go1.23 (Oct 1, 2024)\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1927,8 +1927,8 @... | 2024-09-30T22:55:14 |
facebook/react | 726ba80298dad46b331aca1bcb71ca9b2004ed91 | d63cd972454125d4572bb8ffbfeccbdf0c5eb27b | Synchronize implementations of second render logging (#24381)
Minor followup to #24373. The fix for #24373 (comment) didn't get synchronized to the hook implementation. | [
{
"path": "packages/react-devtools-shared/src/backend/utils.js",
"patch": "@@ -187,7 +187,7 @@ export function formatWithStyles(\n return inputArgs;\n }\n \n- // Matches any of %(o|O|i|s|f), but not %%(o|O|i|s|f)\n+ // Matches any of %(o|O|d|i|s|f), but not %%(o|O|d|i|s|f)\n const REGEXP = /([^%]|... | 2022-04-15T15:35:35 |
vercel/next.js | 8c33e482ded83ffa158113b36b933e34894d7c60 | e26d683b08673d58dbb1549fd56280012c9d2045 | chore(cna): update tailwind styles to be closer to non-tw cna (#76647)
## Why?
Updating Tailwind templates to closer match the non-Tailwind template.
(before, `localhost:3000` is current Tailwind template)
https://github.com/user-attachments/assets/b5bef4c7-0c22-43e2-87f1-2dbd4903ea0f
(after)
https://github.com... | [
{
"path": "examples/image-secure-compute/app/page.module.css",
"patch": "@@ -42,7 +42,7 @@ a.primary {\n \n a.secondary {\n border-color: var(--gray-alpha-200);\n- min-width: 180px;\n+ min-width: 158px;\n }\n \n .footer {",
"additions": 1,
"deletions": 1,
"language": "CSS"
},
{
"path... | 2025-03-04T15:34:33 |
Subsets and Splits
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.