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 | 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 |
nodejs/node | 4fe0f826a80365ce2512b8193ceaa9466c288aa5 | 0881c1f01ac90006315cae5b9c38cfbf44d37e59 | 2024-07-08, Version 22.4.1 (Current)
This is a security release.
Notable changes:
* CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
* CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
* CVE-2024-22018 - fs.lstat bypasses permission model (Low)
* CVE-2024-36137 - fs.fchown/fchmo... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -38,7 +38,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.4.0\">22.4.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.4.1\">22.4.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V22.md#22.4.0\">2... | 2024-07-04T03:05:26 |
vercel/next.js | 08aad0c425b70086df238832f8340cc7000e3a33 | 5d94c8063ec4ff22069db999394ab72d802793ce | Turbopack: fix codegen of directives (#80895)
Closes PACK-4894
Previously, directives in the input weren't handled correctly, this was the output:
The `use strict` doesn't do anything here because directives only have an effect at the top of modules and at the top of functions.
```js
"[project]/turbopack/crates... | [
{
"path": "turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs",
"patch": "@@ -7,7 +7,7 @@ use swc_core::{\n ecma::{\n ast::*,\n atoms::{Atom, atom},\n- utils::find_pat_ids,\n+ utils::{IsDirective, find_pat_ids},\n visit::{Visit, VisitWith},\n },\n };\... | 2025-06-27T10:10:11 |
golang/go | cd2f347c61bd9f41e977d74dc2dd3a1f36b65800 | c7ea87132f4e6f3c81e525c396a64471c9af0091 | crypto/tls: fix ECH compatibility
Previously, the code only checked supportedVersions[0] for TLS 1.3
However, Chromium-based
browsers may list TLS 1.3 at different positions, causing ECH failures.
This fix:
Iterates through supportedVersions to accept connections as long as TLS 1.3 is present.
Improves ECH com... | [
{
"path": "src/crypto/tls/ech.go",
"patch": "@@ -392,8 +392,28 @@ func decodeInnerClientHello(outer *clientHelloMsg, encoded []byte) (*clientHello\n \t\treturn nil, errInvalidECHExt\n \t}\n \n-\tif len(inner.supportedVersions) != 1 || (len(inner.supportedVersions) >= 1 && inner.supportedVersions[0] != Versi... | 2025-02-10T04:49:15 |
facebook/react | 4129ea8c922b950be3964f98d2bb74ff4a1c5431 | 2f368725fb37f4911f6a14f0993a8a7b688df8bd | set priority on TaskController instead of on postTask/yield (#27295)
## Summary
passing both a signal and a priority to `postTask`/`yield` in chrome
causes memory to spike and potentially causes OOMs. a fix for this has
landed in chrome 118, but we can avoid the issue in earlier versions by
setting priority on j... | [
{
"path": "packages/scheduler/src/__tests__/SchedulerPostTask-test.js",
"patch": "@@ -83,7 +83,8 @@ describe('SchedulerPostTask', () => {\n const scheduler = {};\n global.scheduler = scheduler;\n \n- scheduler.postTask = function (callback, {priority, signal}) {\n+ scheduler.postTask = functio... | 2023-08-29T13:06:25 |
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 |
nodejs/node | 0881c1f01ac90006315cae5b9c38cfbf44d37e59 | 4324e11935659a2ed2d17f84bc87b9c9198b4fdf | 2024-07-08, Version 20.15.1 'Iron' (LTS)
This is a security release.
Notable changes:
* CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
* CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
* CVE-2024-22018 - fs.lstat bypasses permission model (Low)
* CVE-2024-36137 - fs.fchown/f... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -60,7 +60,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V21.md#21.0.0\">21.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V20.md#20.15.0\">20.15.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V20.md#20.15.1\">20.15.1... | 2024-06-27T13:45:03 |
facebook/react | 2f368725fb37f4911f6a14f0993a8a7b688df8bd | 8fbd3079425eaff85ec1b52b0eefecdd44ba7289 | React DevTools 4.28.0 -> 4.28.1 (#27305)
List of changes:
* refactor: refactored devtools browser extension scripts to improve
port management and service worker lifetime
([hoxyq](https://github.com/hoxyq) in
[#27215](https://github.com/facebook/react/pull/27215))
* refactor[devtools/extension]: minify production... | [
{
"path": "packages/react-devtools-core/package.json",
"patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"react-devtools-core\",\n- \"version\": \"4.28.0\",\n+ \"version\": \"4.28.1\",\n \"description\": \"Use react-devtools outside of the browser\",\n \"license\": \"MIT\",\n \"main\": \"./dist/backend.j... | 2023-08-29T12:37:35 |
golang/go | c7ea87132f4e6f3c81e525c396a64471c9af0091 | eb7ab11aafc6bcffcb49cd4fc51307dfee7a321b | log/slog: document Logger ignores Handler.Handle errors
Fixes #66579
Change-Id: Ie75378b087763c3e88303df3b3f8d7565003a92f
Reviewed-on: https://go-review.googlesource.com/c/go/+/658515
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.... | [
{
"path": "src/log/slog/handler.go",
"patch": "@@ -57,6 +57,9 @@ type Handler interface {\n \t// - If a group's key is empty, inline the group's Attrs.\n \t// - If a group has no Attrs (even if it has a non-empty key),\n \t// ignore it.\n+\t//\n+\t// [Logger] discards any errors from Handle. Wrap th... | 2025-03-17T18:18:48 |
vercel/next.js | e186b697fbaefb5b65a181b4d1f456339c3657e7 | d93f940a50b810621c0fed839566897a1c375022 | [Segment Cache] Enable deploy tests (#80947)
With this PR, we're enabling deployment testing for the existing Segment
Cache test suites (excluding those that need a custom server setup).
Two timing issues were fixed, and one bug was uncovered. For details see
the inline comments below. | [
{
"path": "test/e2e/app-dir/segment-cache/basic/segment-cache-basic.test.ts",
"patch": "@@ -2,11 +2,10 @@ import { nextTestSetup } from 'e2e-utils'\n import { createRouterAct } from '../router-act'\n \n describe('segment cache (basic tests)', () => {\n- const { next, isNextDev, skipped } = nextTestSetup({\... | 2025-06-27T07:41:51 |
rust-lang/rust | c910511cab40e005fffbd5c31939f89448d030a8 | 6d713489d00a87a683f253a242d71e717c8fcf26 | Move remaining doc attribute parsing errors to warnings | [
{
"path": "compiler/rustc_attr_parsing/src/attributes/doc.rs",
"patch": "@@ -70,6 +70,42 @@ fn check_attr_crate_level<S: Stage>(cx: &mut AcceptContext<'_, '_, S>, span: Spa\n true\n }\n \n+// FIXME: To be removed once merged and replace with `cx.expected_name_value(span, _name)`.\n+fn expected_name_valu... | 2026-02-01T13:59:29 |
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 |
nodejs/node | 4324e11935659a2ed2d17f84bc87b9c9198b4fdf | 53483a13449a703647ce0383fa1f292476c09cbe | 2024-07-08, Version 18.20.4 'Hydrogen' (LTS)
This is a security release.
Notable changes:
* CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
* CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
PR-URL: https://github.com/nodejs-private/node-private/pull/609 | [
{
"path": "CHANGELOG.md",
"patch": "@@ -86,7 +86,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V20.md#20.0.0\">20.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V18.md#18.20.3\">18.20.3</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V18.md#18.20.4\">18.20.4... | 2024-06-27T15:22:19 |
golang/go | eb7ab11aafc6bcffcb49cd4fc51307dfee7a321b | 44d1d2e5adaf95190a817980eb8439d080df6b12 | crypto/internal/hpke: propagate hkdf error value
The hkdf operations done in hpke are not expected to fail given that
we control the inputs. However, propagating the error instead of
doesn't hurt and makes the code more robust to future changes.
Change-Id: I168854593a40f67e2cc275e0dedc3b24b8f1480e
Reviewed-on: https:... | [
{
"path": "src/crypto/internal/hpke/hpke.go",
"patch": "@@ -26,31 +26,23 @@ type hkdfKDF struct {\n \thash crypto.Hash\n }\n \n-func (kdf *hkdfKDF) LabeledExtract(sid []byte, salt []byte, label string, inputKey []byte) []byte {\n+func (kdf *hkdfKDF) LabeledExtract(sid []byte, salt []byte, label string, inpu... | 2025-03-17T15:16:53 |
vercel/next.js | 36448ea998a2dc17abbe41b0fc40a65006a3c241 | 78ed6a289ab357c04ce67d91386cedf64254dd81 | fix: webpack config context when using rspack (#80921)
`webpackConfigContext.webpack` should be Rspack exports when using
Rspack. | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -2455,7 +2455,7 @@ export default async function getBaseWebpackConfig(\n config,\n defaultLoaders,\n totalPages: Object.keys(entrypoints).length,\n- webpack,\n+ webpack: bundler,\n ...(isNodeOrEdgeCompilati... | 2025-06-27T03:32:56 |
facebook/react | 8fbd3079425eaff85ec1b52b0eefecdd44ba7289 | f47956239f6892a1e805af1fc3f1b2fb0f66beca | refactor: refactored devtools browser extension scripts to improve port management and service worker lifetime (#27215)
Fixes https://github.com/facebook/react/issues/27119,
https://github.com/facebook/react/issues/27185.
Fixed:
- React DevTools now works as expected when user performs in-tab
navigation, previou... | [
{
"path": "packages/react-devtools-extensions/firefox/manifest.json",
"patch": "@@ -6,7 +6,7 @@\n \"applications\": {\n \"gecko\": {\n \"id\": \"@react-devtools\",\n- \"strict_min_version\": \"55.0\"\n+ \"strict_min_version\": \"102.0\"\n }\n },\n \"icons\": {\n@@ -41,7 +41,9 @... | 2023-08-29T11:09:26 |
rust-lang/rust | 6d713489d00a87a683f253a242d71e717c8fcf26 | 7dbbab63e242e2e09902930b630cc0898bc55537 | Make more doc attribute parsing error into future warnings | [
{
"path": "compiler/rustc_attr_parsing/src/attributes/doc.rs",
"patch": "@@ -591,7 +591,7 @@ impl DocParser {\n let suggestions = cx.suggestions();\n let span = cx.attr_span;\n cx.emit_lint(\n- rustc_session::lint::builtin::ILL_FORMED_ATTRIB... | 2026-01-31T23:58:51 |
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 |
nodejs/node | 1d4d76ff3fb08f9a0c55a1d5530b46c4d5d550c7 | 0095726bf3d0a2c01062d98e087526299e709515 | src: fix typo in node.h
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/53759
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gma... | [
{
"path": "src/node.h",
"patch": "@@ -658,8 +658,8 @@ enum Flags : uint64_t {\n // inspector in situations where one has already been created,\n // e.g. Blink's in Chromium.\n kNoCreateInspector = 1 << 9,\n- // Controls where or not the InspectorAgent for this Environment should\n- // call StartDebu... | 2024-07-08T14:39:37 |
golang/go | 7a8ce5e3de6a2eeb108dae67cc005e8b998bcbfa | 5e9820245574bdf67f28156db4b00191b1b3696f | cmd/go: point tidy errors to correct URL
The `go mod tidy` errors have been pointing to an older URL. This CL
fixes the URL by pointing to the correct URL: https://go.dev/ref/mod.
Fixes #49394
Change-Id: I707dda407ba032db8a55083998002a5ab72033e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/633421
Reviewed-... | [
{
"path": "src/cmd/go/internal/modload/load.go",
"patch": "@@ -2086,8 +2086,7 @@ func (ld *loader) checkTidyCompatibility(ctx context.Context, rs *Requirements,\n \n \t\tfmt.Fprintf(os.Stderr, \"If reproducibility with go %s is not needed:\\n\\tgo mod tidy%s -compat=%s\\n\", compatVersion, goFlag, goVersion... | 2024-12-06T17:22:56 |
facebook/react | f47956239f6892a1e805af1fc3f1b2fb0f66beca | 41e9c17a69f819f20a29823a0acf18456c5ef4d2 | refactor[devtools/extension]: minify production builds to strip comments (#27304)
Currently, we are unable to publish a release to Firefox extensions
store, due to `parseHookNames` chunk size, which is ~5mb.
We were not minifying production builds on purpose, to have more
descriptive error messages. Now, Terser p... | [
{
"path": "packages/react-devtools-extensions/webpack.config.js",
"patch": "@@ -2,6 +2,7 @@\n \n const {resolve} = require('path');\n const Webpack = require('webpack');\n+const TerserPlugin = require('terser-webpack-plugin');\n const {\n DARK_MODE_DIMMED_WARNING_COLOR,\n DARK_MODE_DIMMED_ERROR_COLOR,\n... | 2023-08-29T11:09:13 |
rust-lang/rust | 7dbbab63e242e2e09902930b630cc0898bc55537 | 794495e2b4a1353cf7b66ffc55f0e755490af2cc | Emit a future error warning for duplicate doc attribute | [
{
"path": "compiler/rustc_attr_parsing/src/attributes/doc.rs",
"patch": "@@ -131,8 +131,17 @@ impl DocParser {\n return;\n }\n \n- if self.attribute.no_crate_inject.is_some() {\n- cx.duplicate_key(path.span(), sym::no_crate_inject);\n+ ... | 2026-01-31T22:27:51 |
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 |
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 | 51abdcaaf56936dbe75ce1436b7f50a5ade2c4b4 | 492e3027a69acaf44ecddbc76cfd5678aba34371 | docs: remove shell prompt symbols and fix code block languages | [
{
"path": "src/tools/rust-analyzer/docs/book/README.md",
"patch": "@@ -6,7 +6,7 @@ The rust analyzer manual uses [mdbook](https://rust-lang.github.io/mdBook/).\n \n To run the documentation site locally:\n \n-```shell\n+```bash\n cargo install mdbook\n cargo xtask codegen\n cd docs/book",
"additions": 1... | 2026-02-04T08:45:07 |
nodejs/node | 11f4efc73ad7c533623f09daa32c8f3d38b37f29 | 7e80584829277915813df77fa30b430b77a2250f | build: fix build error in sqlite under GN build
PR-URL: https://github.com/nodejs/node/pull/53686
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "deps/sqlite/unofficial.gni",
"patch": "@@ -18,5 +18,13 @@ template(\"sqlite_gn_build\") {\n forward_variables_from(invoker, \"*\")\n public_configs = [ \":sqlite_config\" ]\n sources = gypi_values.sqlite_sources\n+ if (is_win) {\n+ cflags_c = [\n+ \"-Wno-sign-compare\",... | 2024-07-02T06:21:56 |
golang/go | bceade5ef8ab6d28ad363cd7ca60a9be89990a00 | 57c44fdefc818f90b98fa1d5c0cd0fccdc35edf8 | doc/next: add release note for work package pattern
For #71294
Fixes #50745
Change-Id: Iff05e98ac860a1764d4c59572f9abc3ae8d9c5fb
Reviewed-on: https://go-review.googlesource.com/c/go/+/658495
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gservi... | [
{
"path": "doc/next/3-tools.md",
"patch": "@@ -10,6 +10,12 @@ These new error reports may be disabled by setting\n `ASAN_OPTIONS=detect_leaks=0` in the environment when running the\n program.\n \n+<!-- go.dev/issue/71294 -->\n+\n+The new `work` package pattern matches all packages in the work (formerly call... | 2025-03-17T15:53:22 |
facebook/react | 41e9c17a69f819f20a29823a0acf18456c5ef4d2 | 2c4c84718810bf3df411d599acc152d08208d35f | fix[devtools]: allow element updates polling only if bridge is alive (#27067)
When some element is inspected in DevTools, we have a polling which
updates the data for this element.
Sometimes when service worker dies or bridge is getting shutdown, we
continue to poll this data and will spam with the same "timed out
... | [
{
"path": "packages/react-devtools-shared/src/devtools/views/Components/InspectedElementContext.js",
"patch": "@@ -107,6 +107,8 @@ export function InspectedElementContextController({\n parseHookNamesByDefault || alreadyLoadedHookNames,\n );\n \n+ const [bridgeIsAlive, setBridgeIsAliveStatus] = useSta... | 2023-08-29T09:40:20 |
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 |
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 |
facebook/react | 2c4c84718810bf3df411d599acc152d08208d35f | 456d153bb582798effa76c09bec2405ab2e392cf | refactor: resolve browser via env variables based on build rather than user agent (#27179)
Fixes https://github.com/facebook/react/issues/26911,
https://github.com/facebook/react/issues/26860.
Currently, we are parsing user agent string to determine which browser
is running the extension. This doesn't work well w... | [
{
"path": "packages/react-devtools-extensions/build.js",
"patch": "@@ -52,24 +52,25 @@ const preProcess = async (destinationPath, tempPath) => {\n await ensureDir(tempPath); // Create temp dir for this new build\n };\n \n-const build = async (tempPath, manifestPath) => {\n+const build = async (tempPath, m... | 2023-08-29T09:40:02 |
golang/go | 57c44fdefc818f90b98fa1d5c0cd0fccdc35edf8 | 7dd7d70c034a24ac98e52bd4e6dac3ce35c60271 | html/template: document comment stripping
Fixes #28628
Change-Id: I8b68f55f25e62f747d7cc48a490fec7f426f53d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/658115
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-projec... | [
{
"path": "src/html/template/doc.go",
"patch": "@@ -28,6 +28,9 @@ HTML templates treat data values as plain text which should be encoded so they\n can be safely embedded in an HTML document. The escaping is contextual, so\n actions can appear within JavaScript, CSS, and URI contexts.\n \n+Comments are strip... | 2025-03-15T00:14:14 |
nodejs/node | e1b80a5fb32a19523dcf6e75304aefb4766d650d | 3ca05ffa02fdf3a765c6e3f957e007e6eebf4f0c | src: fix Worker termination when '--inspect-brk' is passed
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/53724
Fixes: https://github.com/nodejs/node/issues/53648
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Revi... | [
{
"path": "src/debug_utils.h",
"patch": "@@ -46,6 +46,7 @@ void NODE_EXTERN_PRIVATE FWrite(FILE* file, const std::string& str);\n V(DIAGNOSTICS) \\\n V(HUGEPAGES) \\\n V(INSPEC... | 2024-07-06T15:49:50 |
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 |
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 |
facebook/react | 9a01c8b54e91c588391070c65701342e4e361ea7 | b798223a620dad77077d27e53cc99cbd54312d99 | Fix mount-or-update check in rerenderOptimistic (#27277)
I noticed this was wrong because it should call updateWorkInProgressHook
before it checks if currentHook is null. | [
{
"path": "packages/react-reconciler/src/ReactFiberHooks.js",
"patch": "@@ -1793,7 +1793,20 @@ function updateOptimistic<S, A>(\n reducer: ?(S, A) => S,\n ): [S, (A) => void] {\n const hook = updateWorkInProgressHook();\n+ return updateOptimisticImpl(\n+ hook,\n+ ((currentHook: any): Hook),\n+ ... | 2023-08-28T15:04:46 |
golang/go | 7dd7d70c034a24ac98e52bd4e6dac3ce35c60271 | f41fdd962db3264e62ec6acb4a8f5e40d22bdfed | runtime: skip TestCgoCallbackPprof on platforms with broken profiling
CL 658035 added TestCgoCallbackPprof, which is consistently failing on
solaris. runtime/pprof maintains a list of platforms where CPU profiling
does not work properly. Since this test requires CPU profiling, skip the
this test on those platforms.
F... | [
{
"path": "src/internal/testenv/testenv.go",
"patch": "@@ -504,3 +504,26 @@ func ParallelOn64Bit(t *testing.T) {\n \t}\n \tt.Parallel()\n }\n+\n+// CPUProfilingBroken returns true if CPU profiling has known issues on this\n+// platform.\n+func CPUProfilingBroken() bool {\n+\tswitch runtime.GOOS {\n+\tcase \... | 2025-03-17T12:11:42 |
nodejs/node | b32c7229d536cd0dfb967f297759991849481755 | dca7bc5b1059a99a676b2cb7fddeb8052bba58c2 | worker: allow copied NODE_OPTIONS in the env setting
When the worker spawning code copies NODE_OPTIONS from process.env,
previously we do a check again on the copied NODE_OPTIONS and throw
if it contains per-process settings. This can be problematic
if the end user starts the process with a NODE_OPTIONS and the
worker... | [
{
"path": "src/node_worker.cc",
"patch": "@@ -549,12 +549,40 @@ void Worker::New(const FunctionCallbackInfo<Value>& args) {\n // [0] is expected to be the program name, add dummy string.\n env_argv.insert(env_argv.begin(), \"\");\n std::vector<std::string> invalid_args{};\n- options_p... | 2024-07-05T18:40:03 |
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 |
facebook/react | 6dbc48075b6feba902533bd41b69ac1a9df7f933 | bcbcd37eb016c58bca124c94d416a281fe4eebc6 | [tests] bug repros | [
{
"path": "compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-lambda-return-expression.expect.md",
"patch": "@@ -0,0 +1,28 @@\n+\n+## Input\n+\n+```javascript\n+import { invoke } from \"shared-runtime\";\n+\n+function useFoo() {\n+ const x = {};\n+ const result = invoke... | 2023-08-26T21:00:43 |
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 |
golang/go | 38d146d57229a8e432d7570a0391f07b8cbf9393 | 6fb7bdc96d0398fab313586fba6fdc89cc14c679 | doc/go_mem: fix grammar issue
In the passage about buffered channels, remove redundant words and match
the wording of the earlier passage about unbuffered channels.
Change-Id: I35d8a3bf4f176c3f69cf5e6a64595e5d1c23e3a1
GitHub-Last-Rev: 1c4c9390a174d1a66797a025e2fdb0bf56239f48
GitHub-Pull-Request: golang/go#72891
Revie... | [
{
"path": "doc/go_mem.html",
"patch": "@@ -453,7 +453,7 @@ <h3 id=\"chan\">Channel communication</h3>\n </p>\n \n <p class=\"rule\">\n-The <i>k</i>th receive on a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send from that channel completes.\n+The <i>k</i>t... | 2025-03-16T13:55:23 |
nodejs/node | 3f86bdd34e3538b4d8b29d41c8bc93f91f174b4e | 88beb76e5c1b895a6758c19bdeba9ed80512253d | doc: fix releases guide for recent Git versions
PR-URL: https://github.com/nodejs/node/pull/53709
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: Matteo Coll... | [
{
"path": "doc/contributing/releases.md",
"patch": "@@ -819,7 +819,7 @@ Git should stop to let you fix conflicts.\n Revert all changes that were made to `src/node_version.h`:\n \n ```bash\n-git checkout --ours HEAD -- src/node_version.h\n+git restore --source=upstream/main src/node_version.h\n ```\n \n <det... | 2024-07-05T11:36:00 |
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 | ab31a9ed28d340172440e4b12e27d2af689249b3 | 9d4582dffdea5b4dcb6a6093ea848d15423c7701 | Selective Hydration: Don't suspend if showing fallback (#27230)
A transition that flows into a dehydrated boundary should not suspend if
the boundary is showing a fallback.
This is related to another issue where Fizz streams in the initial HTML
after a client navigation has already happened. That issue is not fix... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -6176,4 +6176,55 @@ describe('ReactDOMFizzServer', () => {\n // However, it does error the shell.\n expect(fatalErrors).toEqual(['testing postpone']);\n });\n+\n+ it(\n+ 'a transition that flows into a dehydr... | 2023-08-25T00:04:34 |
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 |
golang/go | e0edd3e15519eb10a885d99422878596acd97899 | bb6a4000283d8599dbb6a6a28763268f8632036d | html/template: replace end-of-life link
Fix #65044
Change-Id: I5bf9c1cf2e9d3ae1e4bbb8f2653512c710db370b
Reviewed-on: https://go-review.googlesource.com/c/go/+/555815
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.ia... | [
{
"path": "src/html/template/doc.go",
"patch": "@@ -210,7 +210,7 @@ that would have been produced if {{.}} was a regular string.\n \n # Security Model\n \n-https://rawgit.com/mikesamuel/sanitized-jquery-templates/trunk/safetemplate.html#problem_definition defines \"safe\" as used by this package.\n+https://... | 2024-01-15T06:52:10 |
nodejs/node | 60b2754c87a0b4bed96b38d1f920ab41ef85ab9e | e55587e39835f493c835e09b2a45244f4fbdd7a3 | build: fix mac build error of c-ares under GN
PR-URL: https://github.com/nodejs/node/pull/53687
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "deps/cares/unofficial.gni",
"patch": "@@ -62,7 +62,7 @@ template(\"cares_gn_build\") {\n sources += [ \"config/linux/ares_config.h\" ]\n }\n if (is_mac) {\n- sources += [ \"config/darwin/ares_config.h\" ]\n+ sources += gypi_values.cares_sources_mac\n }\n \n if (is_... | 2024-07-05T00:51:00 |
facebook/react | ce82a56fa64435aaa0abaa5070b01187a1eaa439 | 80efd75b8e5f83a5473afa0dc45f49428e2fce6f | [ci] Fix output of parser benchmark
yarn adds some other output, so just run the script directly | [
{
"path": "compiler/.github/workflows/bench.yml",
"patch": "@@ -30,7 +30,7 @@ jobs:\n - run: yarn install --frozen-lockfile\n working-directory: bench/parser-benchmark\n - name: Run benchmark\n- run: yarn bench --ci --sampleSize=3 | tee results.json\n+ run: node index.js --... | 2023-08-24T14:14:28 |
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 |
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 |
golang/go | 10d070668c24a3f1b3982c323ba1334437941dff | a8f2e63f2f5b661418f1e386e443e48356e72c40 | cmd/compile/internal/ssa: remove double negation with addition on riscv64
On riscv64, subtraction from a constant is typically implemented as an
ADDI with the negative constant, followed by a negation. However this can
lead to multiple NEG/ADDI/NEG sequences that can be optimised out.
For example, runtime.(*_panic).n... | [
{
"path": "src/cmd/compile/internal/ssa/_gen/RISCV64.rules",
"patch": "@@ -732,6 +732,7 @@\n \n // Double negation.\n (NEG (NEG x)) => x\n+(NEG <t> s:(ADDI [val] (NEG x))) && s.Uses == 1 && is32Bit(-val) => (ADDI [-val] x)\n \n // Addition of zero or two constants.\n (ADDI [0] x) => x",
"additions": 1,
... | 2025-02-23T13:37:45 |
facebook/react | 856dc5e43352454b1d06c13e233d565ceda77e61 | 31034b6de73c7cd9093e92a34e384d84c082aa4e | Fix escaping in action error URL (#27273)
This URL is generated on the client (there's an equivalent but shorter
SSR version too) when a function is used as an action. It should never
happen but it'll be invoked if a form is manually submitted or event is
stopped early.
The `'` wasn't escaped so this yielded inv... | [
{
"path": "packages/react-dom-bindings/src/client/ReactDOMComponent.js",
"patch": "@@ -501,7 +501,7 @@ function setProp(\n // eslint-disable-next-line no-script-url\n \"javascript:throw new Error('\" +\n 'A React form was unexpectedly submitted. If you called form.submi... | 2023-08-22T23:10:00 |
nodejs/node | e55587e39835f493c835e09b2a45244f4fbdd7a3 | ba3aedc2083eaaaffeae87079091a67098b95901 | test: un-set inspector-async-hook-setup-at-inspect-brk as flaky
There was a commit that got merged that should have fixed the issue
ref: https://github.com/nodejs/node/issues/50222#issuecomment-1962680957
PR-URL: https://github.com/nodejs/node/pull/53692
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -101,10 +101,6 @@ test-http-pipeline-flood: SKIP\n # https://github.com/nodejs/node/issues/39655\n test-cluster-primary-error: PASS, FLAKY\n \n-[$arch==s390x]\n-# https://github.com/nodejs/node/issues/50222\n-test-inspector-async-hook-setup-at-inspect-... | 2024-07-04T20:45:42 |
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 | 9a84e66021c1e206e7b1b64ff6de81447ab122c2 | 492e3027a69acaf44ecddbc76cfd5678aba34371 | fix: Fix loses associated bounds for replace_derive_with_manual_impl
Example
---
```rust
#[derive(Clo$0ne)]
struct Foo<T: core::ops::Deref>(T::Target);
```
**Before this PR**
```rust
struct Foo<T: core::ops::Deref>(T::Target);
impl<T: core::ops::Deref + Clone> Clone for Foo<T> {
$0fn clone(&self) -> Self {
... | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs",
"patch": "@@ -1307,6 +1307,29 @@ impl<T: Clone> Clone for Foo<T> {\n )\n }\n \n+ #[test]\n+ fn add_custom_impl_clone_generic_tuple_struct_with_associated() {\n+ check_assist(\n+ ... | 2026-02-04T04:22:42 |
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 | 3c3b8dd4f0590881f7010014985d05cce1c9e943 | 580b6ee646809cdd409b3e0d311e1ec35c72aa6b | internal/runtime/atomic: add Xchg8 for s390x and wasm
This makes the single-byte atomic.Xchg8 operation available on all
GOARCHes, including those without direct / single-instruction support.
Fixes #69735
Change-Id: Icb6aff8f907257db81ea440dc4d29f96b3cff6c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/6579... | [
{
"path": "src/internal/runtime/atomic/atomic_arm.go",
"patch": "@@ -77,24 +77,6 @@ func Xchg(addr *uint32, v uint32) uint32 {\n //go:noescape\n func Xchg8(addr *uint8, v uint8) uint8\n \n-//go:nosplit\n-func goXchg8(addr *uint8, v uint8) uint8 {\n-\t// Align down to 4 bytes and use 32-bit CAS.\n-\taddr32 :... | 2025-03-14T16:36:06 |
facebook/react | 86198b923199224b60533952b636348bb0484a6d | dd480ef923930c8906a02664b01bcdea50707b5d | [Float][Fizz][Legacy] hoisted elements no longer emit before `<html>` in legacy apis such as `renderToString()` (#27269)
renderToString is a legacy server API which used a trick to avoid having
the DOCTYPE included when rendering full documents by setting the root
formatcontext to HTML_MODE rather than ROOT_HTML_MOD... | [
{
"path": "packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js",
"patch": "@@ -371,11 +371,11 @@ export function createResponseState(\n // Constants for the insertion mode we're currently writing in. We don't encode all HTML5 insertion\n // modes. We only include the variants as they matter for the... | 2023-08-22T17:54:33 |
rust-lang/rust | 8e62b1d0e119e498ad51f44475b376b20d60fea8 | a60d12cbccfbeaf153f3cecb90454aa696ea4b3b | Fix set_times_nofollow for directory on windows | [
{
"path": "library/std/src/fs/tests.rs",
"patch": "@@ -2301,6 +2301,57 @@ fn test_fs_set_times() {\n }\n }\n \n+#[test]\n+fn test_fs_set_times_on_dir() {\n+ #[cfg(target_vendor = \"apple\")]\n+ use crate::os::darwin::fs::FileTimesExt;\n+ #[cfg(windows)]\n+ use crate::os::windows::fs::FileTim... | 2026-02-04T03:55:50 |
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 |
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 |
facebook/react | dd480ef923930c8906a02664b01bcdea50707b5d | e76a5aca781abdc237f044131790ea615b500532 | Fix: Stylesheet in error UI suspends indefinitely (#27265)
This fixes the regression test added in the previous commit. The
"Suspensey commit" implementation relies on the
`shouldRemainOnPreviousScreen` function to determine whether to 1)
suspend the commit 2) activate a parent fallback and schedule a retry.
The i... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFloat-test.js",
"patch": "@@ -3385,7 +3385,6 @@ body {\n );\n });\n \n- // @gate FIXME\n it('loading a stylesheet as part of an error boundary UI, during initial render', async () => {\n class ErrorBoundary extends React.Component {\n st... | 2023-08-22T15:22:30 |
golang/go | 580b6ee646809cdd409b3e0d311e1ec35c72aa6b | 5bb73e650496c229c9baf5b9a4fe3861c07c9302 | cmd/go: enable fuzz testing on OpenBSD
This change provides support for -fuzz flag on OpenBSD. According to #46554 the flag was unsupported on some OSes due to lack of proper testing.
Fixes: #60491
Change-Id: I49835131d3ee23f6482583b518b9c5c224fc4efe
GitHub-Last-Rev: f697a3c0f2dc36cc3c96c0336281c5e2440f7a1a
GitHub-P... | [
{
"path": "src/internal/fuzz/counters_supported.go",
"patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build (darwin || linux || windows || freebsd) && (amd64 || arm64)\n+//go:build (darwin || linux || windows || f... | 2023-05-30T18:29:05 |
rust-lang/rust | ac160bba1244aa1309cfa60cf0abd3c1a0aa3668 | 79a1e77fe34b70de8b9b9e7c44ff251003b70aaf | ci: Optimize loongarch64-linux dist builders
Tune the build configuration for loongarch64-linux targets to speed up rustc.
Changes include:
- Enable jemalloc and rust thin-lto.
- Set codegen-units=1 and disable debug assertions.
These changes reduce rustc-perf compile time by ~17%. | [
{
"path": "src/ci/docker/host-x86_64/dist-loongarch64-linux/Dockerfile",
"patch": "@@ -50,6 +50,9 @@ ENV RUST_CONFIGURE_ARGS \\\n --enable-full-tools \\\n --enable-profiler \\\n --enable-sanitizers \\\n- --disable-docs\n+ --disable-docs \\\n+ --set rust.jemalloc \\\n+ -... | 2026-02-03T13:19:37 |
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 |
electron/electron | 3138acc3774709354067e57062e15f4cc14ec442 | beed240454b940f34dd6b607a66c8063c2db1106 | chore: remove redundant Node.js patch (#37279)
* chore: fix patch for other patch
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> | [
{
"path": "patches/node/.patches",
"patch": "@@ -25,7 +25,6 @@ build_ensure_native_module_compilation_fails_if_not_using_a_new.patch\n fix_override_createjob_in_node_platform.patch\n v8_api_advance_api_deprecation.patch\n fixup_for_error_declaration_shadows_a_local_variable.patch\n-fixup_for_wc_98-compat-ex... | 2023-02-16T14:18:47 |
facebook/react | 3f5b8c214f64f72aeb1ec0e0aae3d2185b3362a6 | 7d1c3c15892d8c31c7ca4661f601c41d8541fa8c | Jest: remove haste config (#27257)
Since we're not using haste at all, we can just remove the config to
disable haste instead of enabling, just to inject an implementation that
blocks any haste modules from being recognized.
Test Plan:
Creating a module and required it to get the expected error that the
module ... | [
{
"path": "scripts/jest/config.base.js",
"patch": "@@ -2,9 +2,6 @@\n \n module.exports = {\n globalSetup: require.resolve('./setupGlobal.js'),\n- haste: {\n- hasteImplModulePath: require.resolve('./noHaste.js'),\n- },\n modulePathIgnorePatterns: [\n '<rootDir>/scripts/rollup/shims/',\n '<ro... | 2023-08-22T14:12:28 |
golang/go | 5bb73e650496c229c9baf5b9a4fe3861c07c9302 | 853b514417dab2cf0383e48207caff2ce0305618 | debug/elf: add riscv attributes definitions
This CL adds `riscv.attributes` related ELF section header
type and program header type according to
[RISC-V ELF Specification](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/releases/download/v1.0/riscv-abi.pdf)
Also an riscv64/linux testcase binary built from:
```
... | [
{
"path": "api/next/72843.txt",
"patch": "@@ -0,0 +1,4 @@\n+pkg debug/elf, const PT_RISCV_ATTRIBUTES = 1879048195 #72843\n+pkg debug/elf, const PT_RISCV_ATTRIBUTES ProgType #72843\n+pkg debug/elf, const SHT_RISCV_ATTRIBUTES = 1879048195 #72843\n+pkg debug/elf, const SHT_RISCV_ATTRIBUTES SectionType #72843",... | 2025-03-13T08:29:16 |
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 |
facebook/react | 7d1c3c15892d8c31c7ca4661f601c41d8541fa8c | b2772592321db426a81d52becea9dc86394afe29 | Regression test: Stylesheet suspends indefinitely when part of error boundary UI during initial hydration (#27258)
Adds a failing test for a case discovered by Next.js. An error boundary
is triggered during initial hydration, and the error fallback includes a
stylesheet. If the stylesheet has not yet been loaded, th... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFloat-test.js",
"patch": "@@ -3385,6 +3385,93 @@ body {\n );\n });\n \n+ // @gate FIXME\n+ it('loading a stylesheet as part of an error boundary UI, during initial render', async () => {\n+ class ErrorBoundary extends React.Component {\n+ s... | 2023-08-21T23:14:56 |
golang/go | 577bb3d0ce576b2ca311e58dd942f189838b80fc | 7e3d2aa69f0ad7dc0cb78ff9e5ee8fdd819a541a | runtime: only set isExtraInC if there are no Go frames left
mp.isExtraInC is intended to indicate that this M has no Go frames at
all; it is entirely executing in C.
If there was a cgocallback to Go and then a cgocall to C, such that the
leaf frames are C, that is fine. e.g., traceback can handle this fine
with SetCg... | [
{
"path": "src/runtime/cgocall.go",
"patch": "@@ -355,7 +355,9 @@ func cgocallbackg(fn, frame unsafe.Pointer, ctxt uintptr) {\n \tgp.m.incgo = true\n \tunlockOSThread()\n \n-\tif gp.m.isextra {\n+\tif gp.m.isextra && gp.m.ncgo == 0 {\n+\t\t// There are no active cgocalls above this frame (ncgo == 0),\n+\t\t... | 2025-03-14T14:50:25 |
nodejs/node | f1ac7df535e9e600929c04c4b5d92e0fcf1c2d5e | ce2faef3a70ae1b8336b2628b7f01b07d5402fbc | fs: fix typings
PR-URL: https://github.com/nodejs/node/pull/53626
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -255,7 +255,7 @@ function exists(path, callback) {\n validateFunction(callback, 'cb');\n \n function suppressedCallback(err) {\n- callback(err ? false : true);\n+ callback(!err);\n }\n \n try {\n@@ -751,8 +751,8 @@ function readSync(fd, buffer, offsetOrOptio... | 2024-07-04T11:04:37 |
rust-lang/rust | 07e4a994d61dccda69135a7b50ce69f6d93deec8 | b3cda168c8afd5c4240a9477f6a7f54e70e2589a | citool: report debuginfo test statistics
Extend CI postprocessing to aggregate pass/fail/ignored counts
for debuginfo tests. Tests are identified via their reported
suite names (e.g. debuginfo-gdb, debuginfo-lldb or debuginfo-cdb).
Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com> | [
{
"path": "src/build_helper/src/metrics.rs",
"patch": "@@ -111,6 +111,29 @@ pub struct JsonStepSystemStats {\n pub cpu_utilization_percent: f64,\n }\n \n+#[derive(Eq, Hash, PartialEq, Debug)]\n+pub enum DebuggerKind {\n+ Gdb,\n+ Lldb,\n+ Cdb,\n+}\n+\n+impl DebuggerKind {\n+ pub fn debuginfo_... | 2026-01-29T08:37:41 |
facebook/react | 1c568435185789c1916e2474b2e96fb2fb1d7e6f | 6be03b681e330054d8a7ea6d8348c8ae13285528 | [tests] Allow .ts, .tsx fixture files | [
{
"path": "compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/jsx-tag-evaluation-order.expect.md",
"patch": "@@ -4,7 +4,7 @@\n ```javascript\n import { StaticText1, StaticText2 } from \"shared-runtime\";\n \n-function Component(props) {\n+function Component(props: { value: st... | 2023-08-22T16:54:01 |
golang/go | 7e3d2aa69f0ad7dc0cb78ff9e5ee8fdd819a541a | a1ddbdd3ef8b739aab53f20d6ed0a61c3474cf12 | encoding/asn1: make sure implicit fields roundtrip
Make sure Marshal and Unmarshal support the same field tags for implicit
encoding choices. In particular this adds support for Unmarshalling
implicitly tagged GeneralizedTime fields. Also add tests and update the
docs.
Fixes #72078
Change-Id: I21465ee4bcd73a7db0d0c3... | [
{
"path": "src/encoding/asn1/asn1.go",
"patch": "@@ -828,9 +828,18 @@ func parseField(v reflect.Value, bytes []byte, initOffset int, params fieldParam\n \t}\n \n \t// Special case for time: UTCTime and GeneralizedTime both map to the\n-\t// Go type time.Time.\n-\tif universalTag == TagUTCTime && t.tag == Ta... | 2025-03-03T17:04:35 |
nodejs/node | 056f055f38b0e89dd9ca335a911065cef9b6f789 | 8f71a1b248a485caf11e6855d2f88e0d31d966b9 | 2024-07-02, Version 22.4.0 (Current)
Notable changes:
deps,lib,src:
* (SEMVER-MINOR) add experimental web storage (Colin Ihrig) https://github.com/nodejs/node/pull/52435
doc:
* move `node --run` stability to rc (Yagiz Nizipli) https://github.com/nodejs/node/pull/53433
* mark WebSocket as stable (Matthew Aitken)... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -38,7 +38,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.3.0\">22.3.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.4.0\">22.4.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V22.md#22.3.0\">2... | 2024-06-25T11:54:15 |
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 |
golang/go | a1ddbdd3ef8b739aab53f20d6ed0a61c3474cf12 | 80f068928fd957935df3d61da319331e76a73b49 | cmd/compile: don't move nilCheck operations during tighten
Nil checks need to stay in their original blocks. They cannot
be moved to a following conditionally-executed block.
Fixes #72860
Change-Id: Ic2d66cdf030357d91f8a716a004152ba4c016f77
Reviewed-on: https://go-review.googlesource.com/c/go/+/657715
Reviewed-by: C... | [
{
"path": "src/cmd/compile/internal/ssa/tighten.go",
"patch": "@@ -43,6 +43,10 @@ func tighten(f *Func) {\n \t\t\t\t// SelectN is typically, ultimately, a register.\n \t\t\t\tcontinue\n \t\t\t}\n+\t\t\tif opcodeTable[v.Op].nilCheck {\n+\t\t\t\t// Nil checks need to stay in their block. See issue 72860.\n+\t... | 2025-03-13T23:15:15 |
nodejs/node | dda30f972ad8c304800edab3cba5d3a8533ee68a | c1dc3072213c49a57493a4d4396761ed921617ae | doc: fix module customization hook examples
When running these examples, `node` fails to return as this
`MessagePort` keeps the event loop active in the main thread unless
it is `unref()`ed.
Fixes: https://github.com/nodejs/node/issues/52846
PR-URL: https://github.com/nodejs/node/pull/53637
Reviewed-By: Antoine du Ha... | [
{
"path": "doc/api/module.md",
"patch": "@@ -327,6 +327,7 @@ const { port1, port2 } = new MessageChannel();\n port1.on('message', (msg) => {\n console.log(msg);\n });\n+port1.unref();\n \n register('./my-hooks.mjs', {\n parentURL: import.meta.url,\n@@ -347,6 +348,7 @@ const { port1, port2 } = new Messag... | 2024-07-01T13:34:35 |
electron/electron | fe7c535a3f8b3f699391e642e3121f882f4437b1 | 8eee4f2df1982ae52f1ed1a7ca3e2183ba701c4f | chore: add logging for debugging release json (#37270)
* chore: add debug logging for JSON
* chore: better logging | [
{
"path": "script/release/uploaders/upload.py",
"patch": "@@ -384,6 +384,9 @@ def get_release(version):\n script_path = os.path.join(\n ELECTRON_DIR, 'script', 'release', 'find-github-release.js')\n release_info = execute(['node', script_path, version])\n+ if is_verbose_mode():\n+ print('Release... | 2023-02-14T21:03:50 |
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 | 3b456ff42137df2b89295ede29c915d43c10b538 | d704ef76068eb7da15520b08dc7df98f45f85ffa | crypto/x509,ecoding/asn1: better handling of weird encodings
For various cursed reasons we need to support the BMPString and
T61String ASN.1 string encodings. These types use the defunct UCS-2 and
T.61 character encodings respectively.
This change rejects some characters when decoding BMPStrings which are
not valid i... | [
{
"path": "src/crypto/x509/parser.go",
"patch": "@@ -60,7 +60,21 @@ func isPrintable(b byte) bool {\n func parseASN1String(tag cryptobyte_asn1.Tag, value []byte) (string, error) {\n \tswitch tag {\n \tcase cryptobyte_asn1.T61String:\n-\t\treturn string(value), nil\n+\t\t// T.61 is a defunct ITU 8-bit charac... | 2025-02-21T01:05:04 |
facebook/react | bcd692fca43543f765c222077ea9fef275d49389 | c4d000ce49cc93c2091d8d44506fa7b2092ccbeb | Promote enableOptimizeFunctionExpressions to default/only option
We’ve had this feature turned on internally for a while with only a couple minor
bugs and no fundamental issues. It’s a necessary change for simplifying function
expression dependencies and context variables, so let’s remove the feature flag
and fix ... | [
{
"path": "compiler/forget/apps/playground/components/Editor/index.tsx",
"patch": "@@ -115,7 +115,6 @@ function parsePragma(pragma: string) {\n let disableAllMemoization = false;\n let validateRefAccessDuringRender = true;\n let enableEmitFreeze = null;\n- let enableOptimizeFunctionExpressions = true... | 2023-08-18T19:06:16 |
electron/electron | 8eee4f2df1982ae52f1ed1a7ca3e2183ba701c4f | 4d6f230d2108c19ac862577e83443a2eec53a183 | fix: `BrowserView` crash when 'beforeunload' prevented (#37205)
fix: crash when beforeunload prevented | [
{
"path": "shell/browser/api/electron_api_browser_window.cc",
"patch": "@@ -112,7 +112,6 @@ BrowserWindow::~BrowserWindow() {\n api_web_contents_->RemoveObserver(this);\n // Destroy the WebContents.\n OnCloseContents();\n- api_web_contents_->Destroy();\n }\n }\n \n@@ -140,6 +139,7 @@ void B... | 2023-02-14T17:40:37 |
nodejs/node | 2e5fc8aa1aaf18bdee227dfc03380e9e60dd0cd5 | d4a40fd1f77e4a3a7dff3b4cf654ce8557198846 | doc: fix doc for correct usage with plan & TestContext
Fixed section in the doc that describes a test that uses the plan
feature in the test-runner.
However, the test in this example fails.
The fix use (Textcontext) and reduce the plan number
to 1 since we have 1 assertion.
PR-URL: https://github.com/nodejs/node/pu... | [
{
"path": "doc/api/test.md",
"patch": "@@ -3423,9 +3423,9 @@ behaves in the same fashion as the top level [`test()`][] function.\n test('top level test', async (t) => {\n await t.test(\n 'This is a subtest',\n- { only: false, skip: false, concurrency: 1, todo: false, plan: 4 },\n+ { only: false,... | 2024-06-29T19:20:35 |
vercel/next.js | cc3140a78b528e4fd8a075de299db84bea5c671b | cfdd2494f5b629c01b206511f98be4fb0382b9f9 | [devtools] fix style of issue count label (#80854)
If the issue count goes over 10, the label looks weird.
 | [
{
"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 |
facebook/react | d5a8e801571fbada273171e646d6b50d4cd81992 | 5b6370234c1dd34f1e95aefe0bf023f29a5f7083 | [rust][ci] Run cargo check/fmt
Formats the codebase, fixes some clippy lints, and updates CI to check that code
is formatted. | [
{
"path": "compiler/.github/workflows/rust.yml",
"patch": "@@ -17,15 +17,53 @@ on:\n \n env:\n CARGO_TERM_COLOR: always\n+ RUSTFLAGS: -Dwarnings\n \n jobs:\n test:\n- runs-on: ubuntu-latest\n+ name: Rust Test (${{ matrix.target.os }})\n+ strategy:\n+ matrix:\n+ target:\n+ ... | 2023-08-17T19:59:29 |
golang/go | 6114b69e0c92961712a459b691d4bde3f09e3b40 | 59afdd3ed0ace5c5dc34f8b4cf22edc329e186f7 | crypto/tls: relax native FIPS 140-3 mode
We are going to stick to BoringSSL's policy for Go+BoringCrypto, but
when using the native FIPS 140-3 module we can allow Ed25519, ML-KEM,
and P-521.
NIST SP 800-52r2 is stricter, but it only applies to some entities, so
they can restrict the profile with Config.
Fixes #71757... | [
{
"path": "doc/next/6-stdlib/99-minor/crypto/tls/fips.md",
"patch": "@@ -1,2 +1,2 @@\n When [FIPS 140-3 mode](/doc/security/fips140) is enabled, Extended Master Secret\n-is now required in TLS 1.2.\n+is now required in TLS 1.2, and Ed25519 and X25519MLKEM768 are now allowed.",
"additions": 1,
"delet... | 2025-02-19T11:29:31 |
rust-lang/rust | 247a022957f27f064cb468e0bbba3c3dee10e066 | c9f4f7f4436bf4023bacdd0f201eaf680eb967c6 | Fix references and remove inner `queries` module | [
{
"path": "compiler/rustc_macros/src/query.rs",
"patch": "@@ -289,7 +289,7 @@ fn add_query_desc_cached_impl(\n cached.extend(quote! {\n #[allow(unused_variables, unused_braces, rustc::pass_by_value)]\n #[inline]\n- pub fn #name<'tcx>(#tcx: TyCtxt<'tcx>, #key: &crat... | 2026-01-31T05:45:46 |
electron/electron | 4d6f230d2108c19ac862577e83443a2eec53a183 | 889859df5bb74e6c18b1c2f21c28ade80a366611 | build: re-bake node v18.12.1 image for asset upload (#37254)
* debug: peek node version
* build: force uninstall/reinstall 18.12.1
* build: update image, re-comment out deps
* build: remove nodejs-lts uninstall, node debug line | [
{
"path": "appveyor.yml",
"patch": "@@ -29,7 +29,7 @@\n \n version: 1.0.{build}\n build_cloud: electronhq-16-core\n-image: e-110.0.5451.0\n+image: e-111.0.5560.0-node18\n environment:\n GIT_CACHE_PATH: C:\\Users\\appveyor\\libcc_cache\n ELECTRON_OUT_DIR: Default",
"additions": 1,
"deletions": 1,... | 2023-02-14T15:44:39 |
nodejs/node | 8e5d88b6413558b6b4bc127f87fc8122311639ae | 27f1306ee17b32db30ba9949d374482eb3b2c74c | stream: pipeline wait for close before calling the callback
The pipeline should wait for close event to finish before calling
the callback.
The `finishCount` should not below 0 when calling finish function.
Fixes: https://github.com/nodejs/node/issues/51540
Co-authored-by: wh0 <wh0@users.noreply.github.com>
PR-URL:... | [
{
"path": "lib/internal/streams/pipeline.js",
"patch": "@@ -225,6 +225,10 @@ function pipelineImpl(streams, callback, opts) {\n finishImpl(err, --finishCount === 0);\n }\n \n+ function finishOnlyHandleError(err) {\n+ finishImpl(err, false);\n+ }\n+\n function finishImpl(err, final) {\n if (... | 2024-06-27T11:29:35 |
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 | 0f5d86c5a01fbb70ffa1a59049b0a7cf4fcbcc0a | 6bd5741a4c600ee9a48dfa5244f0c4116b718404 | cmd/go: permit additional cflags when compiling
In CL 475375 the Go command started to generate the "preferlinkext"
token file for "strange/dangerous" compiler flags. This serves as a hint
to the Go linker whether to call the external linker or not.
Permit compiler flag used by the hermetic_cc_toolchain bzlmod.
As a... | [
{
"path": "src/cmd/go/internal/work/security.go",
"patch": "@@ -90,6 +90,7 @@ var validCompilerFlags = []*lazyregexp.Regexp{\n \tre(`-f(no-)?use-linker-plugin`), // safe if -B is not used; we don't permit -B\n \tre(`-f(no-)?visibility-inlines-hidden`),\n \tre(`-fsanitize=(.+)`),\n+\tre(`-fsanitize-undefined... | 2023-07-09T14:24:12 |
facebook/react | ac1a16c67e268fcb2c52e91717cbc918c7c24446 | ade82b8dd956bdaa5b7c47400fba9152c2435756 | Add Postpone API (#27238)
This adds an experimental `unstable_postpone(reason)` API.
Currently we don't have a way to model effectively an Infinite Promise.
I.e. something that suspends but never resolves. The reason this is
useful is because you might have something else that unblocks it later.
E.g. by updating... | [
{
"path": "packages/react-client/src/ReactFlightClient.js",
"patch": "@@ -21,7 +21,9 @@ import type {HintModel} from 'react-server/src/ReactFlightServerConfig';\n \n import type {CallServerCallback} from './ReactFlightReplyClient';\n \n-import {enableBinaryFlight} from 'shared/ReactFeatureFlags';\n+import t... | 2023-08-17T17:26:14 |
electron/electron | cb03c6516b2729ddf915314d5a72fbacb772a665 | 2e8114aea3658b440aaa3c87a0fa98ffe3ccd634 | docs: add `win.isFocusable()` return type (#37245)
docs: fix `win.isFocusable()` return type | [
{
"path": "docs/api/browser-window.md",
"patch": "@@ -1776,7 +1776,7 @@ On macOS it does not remove the focus from the window.\n \n #### `win.isFocusable()` _macOS_ _Windows_\n \n-Returns whether the window can be focused.\n+Returns `boolean` - Whether the window can be focused.\n \n #### `win.setParentWind... | 2023-02-14T09:01:22 |
nodejs/node | 53ac448022b7cdfcc09296da88d9a1b59921f6bf | b40ff3afc5d26208dcfe96ab1c94472ad36eafac | test: fix OpenSSL version checks
As per the original pull request that introduced the OpenSSL version
check in `parallel/test-crypto-dh`:
```
Error message change is test-only and uses the right error message for
versions >=3.0.12 in 3.0.x and >= 3.1.4 in 3.1.x series.
```
Fix the check so that:
- The older message ... | [
{
"path": "test/parallel/test-crypto-dh.js",
"patch": "@@ -86,8 +86,9 @@ const crypto = require('crypto');\n }\n \n {\n- const hasOpenSSL3WithNewErrorMessage = (common.hasOpenSSL(3, 0, 12) && !common.hasOpenSSL(3, 1, 1)) ||\n- (common.hasOpenSSL(3, 1, 4) && !... | 2024-06-26T19:45:54 |
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 |
facebook/react | 3ce41169303eceb47b4a5147e8fceeea23a145e8 | 543d27c2f0e43113fb22740a90946eeb52e57bb5 | [rust][sema] Only create one scope per function/class
Fixes up function and class handling to not create nested scopes in some cases.
Doesn't affect name resolution otherwise. | [
{
"path": "compiler/forget/crates/forget_semantic_analysis/src/analyzer.rs",
"patch": "@@ -149,53 +149,49 @@ impl Analyzer {\n }\n \n fn visit_function<T: IntoFunction>(&mut self, node: &T) {\n+ assert_eq!(self.manager.scope(self.current).kind, ScopeKind::Function);\n let function = n... | 2023-08-17T17:03:00 |
electron/electron | 8b3e498436912b468a517f7bbcf3f27619ccf08c | cf80994729c510937287788a9e0294ebff08c9cd | fix: cookies filter secure invalid (#37203) | [
{
"path": "shell/browser/api/electron_api_cookies.cc",
"patch": "@@ -128,10 +128,10 @@ bool MatchesCookie(const base::Value::Dict& filter,\n !MatchesDomain(*str, cookie.Domain()))\n return false;\n absl::optional<bool> secure_filter = filter.FindBool(\"secure\");\n- if (secure_filter && *secure... | 2023-02-13T14:02:55 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
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.