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 |
|---|---|---|---|---|---|
rust-lang/rust | 3f7e9ccfbb339ceb8cd70751768680939cf5a289 | c1fe3a48ff28d21c36c13264efc7ce1e9598480e | Add test that "not a dir" errors are allowed | [
{
"path": "Cargo.lock",
"patch": "@@ -81,6 +81,12 @@ version = \"1.3.2\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n checksum = \"bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a\"\n \n+[[package]]\n+name = \"bitflags\"\n+version = \"2.9.4\"\n+source = \"registry+h... | 2025-10-18T00:20:32 |
golang/go | 1fd8557249a9e8c04fbe7490483443ccc35dea50 | 60e9cf0f93e58742b0aa491c6425d9c0ef970ed4 | time: fix godoc links; remove redundant Sub mention
The Time.Sub function is mentioned in the previous sentence.
Change-Id: Ic79958cea4d1f9f9014f6dafd8e749c204db4f50
Reviewed-on: https://go-review.googlesource.com/c/go/+/606575
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
... | [
{
"path": "src/time/time.go",
"patch": "@@ -54,8 +54,8 @@\n // On some systems the monotonic clock will stop if the computer goes to sleep.\n // On such a system, t.Sub(u) may not accurately reflect the actual\n // time that passed between t and u. The same applies to other functions and\n-// methods that s... | 2024-08-18T20:20:15 |
electron/electron | aea8d5325c7a8667153cd292ec13b8de1d53bf3d | 1336978de99ffd3eb088e56f20f2e077b195aeb9 | fix: webFrame spell checker APIs crashing in sandboxed renderers (#29053) | [
{
"path": "shell/renderer/api/electron_api_web_frame.cc",
"patch": "@@ -33,7 +33,7 @@\n #include \"shell/renderer/api/context_bridge/object_cache.h\"\n #include \"shell/renderer/api/electron_api_context_bridge.h\"\n #include \"shell/renderer/api/electron_api_spell_check_client.h\"\n-#include \"shell/rendere... | 2021-05-10T12:19:23 |
nodejs/node | baa5d8790f0e69a85ba6fdf383ad06c6e043b207 | 6ffacbf0f9e4df0585be18a11101c3e542ea3b92 | src: fix Coverity issue regarding unnecessary copy
PR-URL: https://github.com/nodejs/node/pull/48565
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | [
{
"path": "src/node_v8_platform-inl.h",
"patch": "@@ -130,7 +130,7 @@ struct V8Platform {\n constexpr auto convert_to_set =\n [](std::vector<std::string_view> categories) -> std::set<std::string> {\n std::set<std::string> out;\n- for (const auto s : categories) {\n+ for (const au... | 2023-06-28T21:38:16 |
facebook/react | 04ccc01d967091f441f08177a5078cc6034c2a9e | 029fdcebbfec51a28af27cd390dff8668bf136cf | Hydration errors should force a client render (#22416)
* Refactor throwException control flow
I'm about to add more branches to the Suspense-related logic in
`throwException`, so before I do, I split some of the steps into
separate functions so that later I can use them in multiple places.
This commit does not... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -1783,4 +1783,263 @@ describe('ReactDOMFizzServer', () => {\n expect(getVisibleChildren(container)).toEqual(<div>client</div>);\n expect(ref.current).toEqual(serverRenderedDiv);\n });\n+\n+ // @gate supportsNati... | 2021-09-24T17:47:19 |
rust-lang/rust | c1fe3a48ff28d21c36c13264efc7ce1e9598480e | 86261bfb87a207030b1dfeef0f832ac13f369b1a | Allow NotADirectory errors in config lookup
Users may have files where directories are expected, such as
"$HOME/.config" being a file when trying to lookup
"$HOME/.config/rustfmt/.rustfmt.toml". We don't want to treat such
situations as errors. | [
{
"path": "src/config/mod.rs",
"patch": "@@ -499,10 +499,12 @@ fn get_toml_path(dir: &Path) -> Result<Option<PathBuf>, Error> {\n // Only return if it's a file to handle the unlikely situation of a directory named\n // `rustfmt.toml`.\n Ok(ref md) if md.is_file() => retur... | 2025-08-04T17:38:50 |
golang/go | 60e9cf0f93e58742b0aa491c6425d9c0ef970ed4 | 5187baeb4e858cb88993392463cf17615ad45e24 | os: rm reiserfs exception from TestSeek
This exception was originally added by CL 152108 in November 2009. I'm
pretty sure no one uses reiserfs nowadays (and if someone does, this bug
must have been fixed by now).
Change-Id: I274ebe2f7910cab81b70a44b2da3f6fe761073bc
Reviewed-on: https://go-review.googlesource.com/c/g... | [
{
"path": "src/os/os_test.go",
"patch": "@@ -1792,13 +1792,6 @@ func TestSeek(t *testing.T) {\n \tfor i, tt := range tests {\n \t\toff, err := f.Seek(tt.in, tt.whence)\n \t\tif off != tt.out || err != nil {\n-\t\t\tif e, ok := err.(*PathError); ok && e.Err == syscall.EINVAL && tt.out > 1<<32 && runtime.GOOS... | 2024-06-09T20:46:40 |
vercel/next.js | 88601928e33146806a47a46854aff58d700a8a23 | 16523bab6019515e102f11296bb747aa9ecd419c | feat(turboyet): Upload test data for both bundlers (#76090)
Tested by commenting out the turbopack upload bits (since I don't want to risk messing up that dataset) and running:
```
TURBOYET_KV_REST_API_TOKEN="..." TURBOYET_KV_REST_API_URL="..." node .github/actions/upload-turboyet-data/dist/index.js
```
I got the AP... | [
{
"path": ".github/actions/upload-turboyet-data/dist/sourcemap-register.js",
"patch": "@@ -1 +1 @@\n-(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc===\"function\"&&typeof Buffer.allocUnsafe===\"function\"&&typeof Buffer.from===\"function\";function isArrayBuffer(e){return r.c... | 2025-02-18T19:07:25 |
electron/electron | 8d0e7aed9fb4e5f6b3a5c04ab495c1b0890e19b1 | 9d9921b533ae2adb2d5068c37889a1a6567ac54b | spec: attempt to fix flaky nativeTheme spec (#29022) | [
{
"path": "spec-main/api-native-theme-spec.ts",
"patch": "@@ -1,5 +1,5 @@\n import { expect } from 'chai';\n-import { nativeTheme, systemPreferences, BrowserWindow } from 'electron/main';\n+import { nativeTheme, systemPreferences, BrowserWindow, ipcMain } from 'electron/main';\n import * as os from 'os';\n ... | 2021-05-06T01:04:38 |
nodejs/node | fddd3ffa5947417ee9e65f1fc1e9e091cc52f8c3 | 9117d45bc18c9b86c5440324309c6c4a58103690 | net: improve network family autoselection handle handling
PR-URL: https://github.com/nodejs/node/pull/48464
Fixes: https://github.com/npm/cli/issues/6409
Fixes: https://github.com/KararTY/dank-twitch-irc/issues/13
Fixes: https://github.com/nodejs/node/issues/47644
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>... | [
{
"path": "lib/net.js",
"patch": "@@ -56,6 +56,7 @@ const {\n UV_EINVAL,\n UV_ENOTCONN,\n UV_ECANCELED,\n+ UV_ETIMEDOUT,\n } = internalBinding('uv');\n \n const { Buffer } = require('buffer');\n@@ -482,6 +483,10 @@ function Socket(options) {\n }\n }\n \n+ if (options.signal) {\n+ addClientA... | 2023-06-27T09:17:16 |
rust-lang/rust | a913065d80129fa501ee9309fb753378d2f5f3d3 | cf61cbcb07a000ab0303baa601ea5a21f35bccda | fix rustfmt and bless tidy/tests | [
{
"path": "library/alloc/src/lib.rs",
"patch": "@@ -108,9 +108,9 @@\n #![feature(const_destruct)]\n #![feature(const_eval_select)]\n #![feature(const_heap)]\n-#![feature(copied_into_inner)]\n #![feature(const_option_ops)]\n #![feature(const_try)]\n+#![feature(copied_into_inner)]\n #![feature(core_intrinsics... | 2025-12-21T19:11:40 |
golang/go | f432b5f756c223564fd397b7568bd2ce949c7c6f | c6c9634515e6128a5acb8645dced62581f5d1b1b | testing: add Context
Adds a new Context method to testing.T, that returns a context, that is
canceled before the end of its test function.
Fixes #36532.
Change-Id: I9315ad4dad25529d0b5be809e2d9db4e7528b5f2
GitHub-Last-Rev: 1c3fd6c4d8a9cc68a61f2df284d04d3d080216be
GitHub-Pull-Request: golang/go#68828
Reviewed-on: htt... | [
{
"path": "api/next/36532.txt",
"patch": "@@ -0,0 +1,4 @@\n+pkg testing, method (*B) Context() context.Context #36532\n+pkg testing, method (*F) Context() context.Context #36532\n+pkg testing, method (*T) Context() context.Context #36532\n+pkg testing, type TB interface, Context() context.Context #36532",
... | 2024-08-20T09:19:22 |
vercel/next.js | 16523bab6019515e102f11296bb747aa9ecd419c | 949b8d8ecd68506a8298337fdb6e9f50f7dcce7a | [dev-overlay] fix: overlay is located relatively low when long content (#76113)
### Why?
The overlay seemed too low when the content was long since it had both
`padding` and `top` values. Adjust to have only the `top` and preserve
the `padding` value.
### Before
https://github.com/user-attachments/assets/e2172a7b-... | [
{
"path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/errors/overlay/overlay.tsx",
"patch": "@@ -7,6 +7,7 @@ export function ErrorOverlayOverlay({ children, ...props }: OverlayProps) {\n \n export const OVERLAY_STYLES = css`\n [data-nextjs-dialog-overlay] {\n- ... | 2025-02-18T16:34:22 |
facebook/react | 1c73ceed5f6248679d04c5e637290cfc6d3b5264 | af87f5a83d49bde495eb7fe760b2052ba8a76caf | Scheduling Profiler marks should include thrown Errors (#22419) | [
{
"path": "packages/react-devtools-scheduling-profiler/src/CanvasPage.js",
"patch": "@@ -49,6 +49,7 @@ import {\n SchedulingEventsView,\n SnapshotsView,\n SuspenseEventsView,\n+ ThrownErrorsView,\n TimeAxisMarkersView,\n UserTimingMarksView,\n } from './content-views';\n@@ -138,6 +139,7 @@ const ... | 2021-09-24T16:56:27 |
rust-lang/rust | 47864e80cb4b873c1c3090be9923bfdf90148962 | 3982d3e70648ce3769d40610d86e330e4456b0ce | address review comments; fix CI | [
{
"path": "library/alloc/src/alloc.rs",
"patch": "@@ -374,12 +374,8 @@ impl Global {\n let raw_ptr = core::intrinsics::const_allocate(layout.size(), layout.align());\n let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?;\n if zeroed {\n- let ... | 2025-10-26T18:42:13 |
electron/electron | 476e908269b0ede7534554faf2f5d3f1ff3421a0 | 16236a195bcc7398c2e95b160ef82b6878d1760f | fix: <webview> focus / blur events don't work with contextIsolation enabled (#29004) | [
{
"path": "lib/renderer/web-view/web-view-impl.ts",
"patch": "@@ -162,7 +162,7 @@ export class WebViewImpl {\n \n // Emits focus/blur events.\n onFocusChange () {\n- const hasFocus = document.activeElement === this.webviewNode;\n+ const hasFocus = this.webviewNode.ownerDocument.activeElement === t... | 2021-05-05T18:31:44 |
nodejs/node | 32eb4921db2993b579bc801399038610c1edb5e8 | d09ff0db705ec17edd939080de3c18758e628787 | fs: call the callback with an error if writeSync fails
Catch SyncWriteStream write file error.
Fixes: https://github.com/nodejs/node/issues/47948
Signed-off-by: killagu <killa123@126.com>
PR-URL: https://github.com/nodejs/node/pull/47949
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "lib/internal/fs/sync_write_stream.js",
"patch": "@@ -23,7 +23,12 @@ ObjectSetPrototypeOf(SyncWriteStream.prototype, Writable.prototype);\n ObjectSetPrototypeOf(SyncWriteStream, Writable);\n \n SyncWriteStream.prototype._write = function(chunk, encoding, cb) {\n- writeSync(this.fd, chunk, 0, chun... | 2023-06-26T14:18:58 |
vercel/next.js | ec1fefca045239111e03403d9adcb1a9e355c3a3 | 473d47a66d43e9f56142c9e82323bbe2fba452c6 | [dev-overlay] handle ssrd nextjs internal errors in overlay (#76124) | [
{
"path": "packages/next/src/client/app-index.tsx",
"patch": "@@ -27,6 +27,7 @@ import { MissingSlotContext } from '../shared/lib/app-router-context.shared-runt\n import { setAppBuildId } from './app-build-id'\n import { shouldRenderRootLevelErrorOverlay } from './lib/is-error-thrown-while-rendering-rsc'\n ... | 2025-02-18T11:26:24 |
golang/go | d49d0e0d3ac91a27f1936798335d67df9d7c0b35 | 7fcd4a7007979e4aaa9e8893bd0088f5f28627e7 | runtime: on AIX, fix call to _cgo_sys_thread_create in _rt0_ppc64_aix_lib
The AIX ABI requires allocating parameter save space when calling
a function, even if the arguments are passed via registers.
gcc sometimes uses this space. In the case of the cgo c-archive
tests, it clobbered the storage space of argc/argv whi... | [
{
"path": "src/runtime/rt0_aix_ppc64.s",
"patch": "@@ -41,6 +41,8 @@ TEXT _main(SB),NOSPLIT,$-8\n \tMOVD R12, CTR\n \tBR (CTR)\n \n+// Paramater save space required to cross-call into _cgo_sys_thread_create\n+#define PARAM_SPACE 16\n \n TEXT _rt0_ppc64_aix_lib(SB),NOSPLIT,$-8\n \t// Start with standard C st... | 2024-08-19T20:08:14 |
facebook/react | af87f5a83d49bde495eb7fe760b2052ba8a76caf | b1a1cb11680cf4a03932e8955f64d5a7ba9c89f1 | Scheduling Profiler marks should include thrown Errors (#22417)
The scheduling profiler markComponentRenderStopped method is supposed to be called when rendering finishes or when a value is thrown (Suspense or Error). Previously we were calling this in a Suspense-only path of `throwException`.
This PR updates the c... | [
{
"path": "packages/react-reconciler/src/ReactFiberThrow.new.js",
"patch": "@@ -41,7 +41,6 @@ import {shouldCaptureSuspense} from './ReactFiberSuspenseComponent.new';\n import {NoMode, ConcurrentMode, DebugTracingMode} from './ReactTypeOfMode';\n import {\n enableDebugTracing,\n- enableSchedulingProfiler... | 2021-09-24T16:32:37 |
electron/electron | e379b455c9997e43aa11c9d9191c6a94b3aef983 | 71c248176b3ca01025c6c065b01f68c6d22dabc5 | fix: drag region BrowserView calculations on macOS (#28984) | [
{
"path": "shell/browser/native_browser_view_mac.mm",
"patch": "@@ -347,9 +347,7 @@ - (void)drawDebugRect:(NSRect)aRect {\n \n std::vector<gfx::Rect> drag_exclude_rects;\n if (draggable_regions_.empty()) {\n- const auto bounds = GetBounds();\n- drag_exclude_rects.emplace_back(bounds.x(), bounds.y(... | 2021-05-05T16:37:59 |
nodejs/node | 42d8143ce5baf5153a7a8d1bffa077209558a15d | e90dadf13ec83ff2f923bbcb004c478a773cb961 | test: make IsolateData per-isolate in cctest
This ensures that we only create one IsolateData for each isolate
inthe cctest, since IsolateData are meant to be per-isolate.
We need to make the isolate and isolate_data static in the
test fixtures as a result, similar to how the event loops and
array buffer allocators ar... | [
{
"path": "test/cctest/node_test_fixture.cc",
"patch": "@@ -6,7 +6,8 @@ uv_loop_t NodeZeroIsolateTestFixture::current_loop;\n NodePlatformUniquePtr NodeZeroIsolateTestFixture::platform;\n TracingAgentUniquePtr NodeZeroIsolateTestFixture::tracing_agent;\n bool NodeZeroIsolateTestFixture::node_initialized = f... | 2023-06-25T05:41:19 |
facebook/react | 51e017c523fe37489f8b5c9d75bb3a7a2dc7f2c8 | 5a06072780e1323204cd7823665b3a95a0450747 | Revert "[Old server renderer] Retry error on client (#22399)"
Going to revert this until we figure out error reporting. It looks like
our downstream infra already supports some type of error recovery so
we might not need it here. | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js",
"patch": "@@ -2671,32 +2671,4 @@ describe('ReactDOMServerPartialHydration', () => {\n expect(ref.current).toBe(span);\n expect(ref.current.innerHTML).toBe('Hidden child');\n });\n-\n- it('should retry on... | 2021-09-22T16:31:17 |
golang/go | 7fcd4a7007979e4aaa9e8893bd0088f5f28627e7 | 2e0a6f855b9af3441347b1b430e5a5e6f82a37fa | internal/pkgbits: s/errorf/panicf/ because that's what it is
Make it obvious that this function panics.
Change-Id: I272142d2cf7132aa8915f8f4b5945834376db062
Reviewed-on: https://go-review.googlesource.com/c/go/+/606935
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto... | [
{
"path": "src/internal/pkgbits/decoder.go",
"patch": "@@ -84,7 +84,7 @@ func NewPkgDecoder(pkgPath, input string) PkgDecoder {\n \n \tswitch pr.version {\n \tdefault:\n-\t\tpanic(fmt.Errorf(\"unsupported version: %v\", pr.version))\n+\t\tpanicf(\"unsupported version: %v\", pr.version)\n \tcase 0:\n \t\t// ... | 2024-08-19T21:15:04 |
electron/electron | 9fb3a49c7c29628db53d6947ceaeaa3e799c1c8d | 42e5421276f5de81a7e7ce139a61905f7eda1278 | docs: link to `BrowserView` from `webview` page (#28942)
* docs: Link to `BrowserView` from `webview` page
* fix relative link | [
{
"path": "docs/api/webview-tag.md",
"patch": "@@ -5,7 +5,7 @@\n Electron's `webview` tag is based on [Chromium's `webview`][chrome-webview], which\n is undergoing dramatic architectural changes. This impacts the stability of `webviews`,\n including rendering, navigation, and event routing. We currently rec... | 2021-05-05T07:12:16 |
nodejs/node | 7eafd2f7e88cef9923f8c90092e75cf0c0bf0aa8 | ce4102e8a559b4f36ee674ef92ddb046b45db789 | child_process: improve spawn performance on Linux
Speed up child_process.spawn by enabling the new V8 build flag which
makes fork/exec faster.
Here are the results of running the existing benchmark. Note that this
optimization helps more for applications with larger heaps, so this is
somewhat of an underestimate of t... | [
{
"path": "tools/v8_gypfiles/features.gypi",
"patch": "@@ -72,7 +72,21 @@\n 'v8_enable_etw_stack_walking': 1,\n }, {\n 'v8_enable_etw_stack_walking': 0,\n- }]\n+ }],\n+ ['OS==\"linux\"', {\n+ # Sets -dV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION.\n+ #\n+ ... | 2023-06-22T17:08:58 |
vercel/next.js | 11a3a21bee5d4b58b254e60f4c080ee7349f40be | fc33e2c8043d5ed54f092dfc81f11d94c42c0d8b | Improve server actions sourcemap test (#76129)
## What?
Improves the check for browser sourcemaps by reading all sourcemap files
from the `.next/static` folder instead of trying to locate a specific
value. The sensitive value that is being checked should not exist in any
of the sourcemap files so it's safer to c... | [
{
"path": "test/e2e/app-dir/actions/app-action.test.ts",
"patch": "@@ -9,6 +9,7 @@ import {\n } from 'next-test-utils'\n import type { Page, Request, Response, Route } from 'playwright'\n import fs from 'fs-extra'\n+import nodeFs from 'fs'\n import { join } from 'path'\n \n const GENERIC_RSC_ERROR =\n@@ -91... | 2025-02-18T09:09:53 |
facebook/react | 5a06072780e1323204cd7823665b3a95a0450747 | 82c8fa90be86fc0afcbff2dc39486579cff1ac9a | [Old server renderer] Retry error on client (#22399)
We're still in the process of migrating to the Fizz server renderer. In
the meantime, this makes the error semantics on the old server renderer
match the behavior of the new one: if an error is thrown, it triggers a
Suspense fallback, just as if it suspended (thi... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js",
"patch": "@@ -2671,4 +2671,32 @@ describe('ReactDOMServerPartialHydration', () => {\n expect(ref.current).toBe(span);\n expect(ref.current.innerHTML).toBe('Hidden child');\n });\n+\n+ it('should retry on... | 2021-09-22T15:45:55 |
golang/go | 2e0a6f855b9af3441347b1b430e5a5e6f82a37fa | d2b6bdb0350e9b2b8f704b214ce5936b72de043d | os.Getwd: wrap error on windows and plan9
The errors from os are supposed to be wrapped to add some context,
but in this particular case a raw syscall error is returned.
Change-Id: I1b98dbd7b385c5c1cea79a1b0ec7201ca9bdca40
Reviewed-on: https://go-review.googlesource.com/c/go/+/606657
LUCI-TryBot-Result: Go LUCI <gola... | [
{
"path": "src/os/getwd.go",
"patch": "@@ -21,7 +21,8 @@ var getwdCache struct {\n // Getwd may return any one of them.\n func Getwd() (dir string, err error) {\n \tif runtime.GOOS == \"windows\" || runtime.GOOS == \"plan9\" {\n-\t\treturn syscall.Getwd()\n+\t\tdir, err = syscall.Getwd()\n+\t\treturn dir, N... | 2024-08-19T20:08:32 |
electron/electron | 3d6343ed515c97841b7c5f2610037ad1fb2cb9f1 | 41bb3f13217239d128ac1578c016e2ce0f4743c4 | fix: close attached sheet on window close (#28967) | [
{
"path": "shell/browser/native_window_mac.mm",
"patch": "@@ -473,6 +473,12 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n return;\n }\n \n+ // If a sheet is attached to the window when we call\n+ // [window_ performClose:nil], the window won't close properly\n+ // even after the user h... | 2021-05-04T10:11:16 |
nodejs/node | ce4102e8a559b4f36ee674ef92ddb046b45db789 | e7a1fab25f7be9fc470aae4927b910d2b75e37dc | deps: V8: cherry-pick 1a782f6543ae
Original commit message:
[base] add build flag to use MADV_DONTFORK
Embedders like Node.js and Electron expose fork(2)/execve(2) to their
users. Unfortunately when the V8 heap is very large, these APIs become
rather slow on Linux, due to the kernel needing to do all... | [
{
"path": "common.gypi",
"patch": "@@ -36,7 +36,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.9',\n+ 'v8_embedder_string': '-node.10',\n \n ##### V8 defaults for Node.js #####\n ... | 2023-06-22T17:07:18 |
facebook/react | ba07042c86b6e2e3dbbc930b2418d52c47ef7b47 | d56947eb2c2a0d1599975b90a353b06b58c0e00c | Fix sizebot mistakenly detecting deleted files (#22394) | [
{
"path": ".circleci/config.yml",
"patch": "@@ -120,6 +120,14 @@ jobs:\n cd ./scripts/release && yarn && cd ../../\n scripts/release/download-experimental-build.js --commit=$(git merge-base HEAD origin/main)\n mv ./build ./base-build\n+ - run:\n+ # TOD... | 2021-09-22T01:55:47 |
vercel/next.js | fc33e2c8043d5ed54f092dfc81f11d94c42c0d8b | b996171654f8ae25b7409dc7a0f27d5217abf35e | Turbopack: Add passing test to manifest (#76143)
## What?
This test is already passing with Turbopack, updating the manifest.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Ch... | [
{
"path": "test/turbopack-build-tests-manifest.json",
"patch": "@@ -16206,11 +16206,10 @@\n \"test/production/graceful-shutdown/index.test.ts\": {\n \"passed\": [\n \"Graceful Shutdown development (next dev) should shut down child immediately\",\n- \"Graceful Shutdown production (ne... | 2025-02-18T09:06:32 |
golang/go | d2b6bdb0350e9b2b8f704b214ce5936b72de043d | d5f7da79870800ac2f7c2a68501f73a83d481d16 | math/rand: make calls to Seed no-op
Makes calls to the global Seed a no-op. The GODEBUG=randseednop=0
setting can be used to revert this behavior.
Fixes #67273
Change-Id: I79c1b2b23f3bc472fbd6190cb916a9d7583250f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/606055
Auto-Submit: Cherry Mui <cherryyz@google.c... | [
{
"path": "doc/godebug.md",
"patch": "@@ -150,6 +150,13 @@ for example,\n see the [runtime documentation](/pkg/runtime#hdr-Environment_Variables)\n and the [go command documentation](/cmd/go#hdr-Build_and_test_caching).\n \n+### Go 1.24\n+\n+Go 1.24 changed the global [`math/rand.Seed`](/pkg/math/rand/#Seed... | 2024-08-15T22:29:18 |
electron/electron | 99909baeac41c2f4e9b3ded6b9505905cf99f0b2 | dd80952877404b451edb1289dbcd109475ac5497 | fix: allow Node.js to manage microtasks queue (#28957)
* fix: allow Node.js to manage microtasks queue
When `uv_run()` resulted in invocation of JS functions the microtask
queue checkpoint in Node's CallbackScope was a no-op because the
expected microtask queue policy was `kExplicit` and Electron ran under
`kSco... | [
{
"path": "shell/common/node_bindings.cc",
"patch": "@@ -575,8 +575,13 @@ void NodeBindings::UvRunOnce() {\n // Enter node context while dealing with uv events.\n v8::Context::Scope context_scope(env->context());\n \n- // Perform microtask checkpoint after running JavaScript.\n- gin_helper::Microtasks... | 2021-05-03T21:30:12 |
nodejs/node | ae9f919880e17eb98b207963bcac2395ea4ffac2 | d9f394e60720f373465cb8b3958b6e189f9d85a6 | build: fix `configure --link-module`
Add the list of linked modules to the arguments for `js2c.py`. These
were unintentionally omitted when the build was previously refactored
to avoid command line length limits on Windows.
PR-URL: https://github.com/nodejs/node/pull/48522
Fixes: https://github.com/nodejs/node/issues... | [
{
"path": "configure.py",
"patch": "@@ -1411,7 +1411,7 @@ def configure_node(o):\n o['variables']['shlib_suffix'] = shlib_suffix\n \n if options.linked_module:\n- o['variables']['library_files'] = options.linked_module\n+ o['variables']['linked_module_files'] = options.linked_module\n \n o['vari... | 2023-06-24T15:36:14 |
facebook/react | d56947eb2c2a0d1599975b90a353b06b58c0e00c | 5b57bc6e31689ad715161cdcfa1b1d31eac2ba3b | Increase polling threshold for publish-prereleases (#22392)
The publish-preleases command prints the URL of the publish workflow
so that you can visit the page and follow along.
But it can take a few seconds before the workflow ID is available, after
you create the pipeline. So the script polls the workflow endpo... | [
{
"path": "scripts/release/publish-using-ci-workflow.js",
"patch": "@@ -22,8 +22,8 @@ function sleep(ms) {\n \n async function getPublishWorkflowID(pipelineID) {\n // Since we just created the pipeline in a POST request, the server may 404.\n- // Try up to three times before giving up.\n- for (let i = 0... | 2021-09-22T01:43:59 |
rust-lang/rust | c71381f55f2cb7431b368142f96ce5d048da7324 | cc08b553b899821331ddbfb970e243a7dd0957a3 | triagebot: remove `compiler-errors` triagebot entries
Since they became alumni and don't want to receive pings anymore. | [
{
"path": "triagebot.toml",
"patch": "@@ -954,15 +954,15 @@ cc = [\"@lcnr\"]\n \n [mentions.\"compiler/rustc_middle/src/ty/relate.rs\"]\n message = \"changes to the core type system\"\n-cc = [\"@compiler-errors\", \"@lcnr\"]\n+cc = [\"@lcnr\"]\n \n [mentions.\"compiler/rustc_infer/src/infer/relate\"]\n mess... | 2026-01-01T16:38:22 |
vercel/next.js | 17b09f8230d5a6f52c76b89772bbc9e3862df6be | 6b0724bad7fa4a9a1c37a9d38d0f969e525bb224 | Fix on-demand revalidation with `"use cache"` in dev mode (#76122)
This PR is a follow-up to #76100 that enables on-demand revalidation via
an API route in development mode. This is accomplished by implementing
three changes:
1. We need to forward the user cookies, including the
`__next_hmr_refresh_hash__` value, whic... | [
{
"path": "packages/next/src/server/api-utils/node/api-resolver.ts",
"patch": "@@ -43,6 +43,7 @@ type ApiContext = __ApiPreviewProps & {\n hostname?: string\n revalidate?: RevalidateFn\n multiZoneDraftMode?: boolean\n+ dev: boolean\n }\n \n function getMaxContentLength(responseLimit?: ResponseLimit) ... | 2025-02-17T22:50:15 |
golang/go | 433c1d3b4ab41fa4272bd61f8ad2918ccd1e390d | 3d9a89b05733f6787900ea7034aab0471e065946 | runtime: store zero-delay mutex contention events
Mutex contention events with delay of 0 need more than CL 604355 added:
When deciding which event to store in the M's single available slot,
always choose to drop the zero-delay event. Store an explicit flag for
whether we have an event to store, rather than relying on... | [
{
"path": "src/runtime/mprof.go",
"patch": "@@ -718,6 +718,7 @@ type mLockProfile struct {\n \tpending uintptr // *mutex that experienced contention (to be traceback-ed)\n \tcycles int64 // cycles attributable to \"pending\" (if set), otherwise to \"stack\"\n \tcyclesLost int64 // ... | 2024-08-16T01:47:38 |
electron/electron | dd80952877404b451edb1289dbcd109475ac5497 | 0f898b22609cb4cfd20a8501bb2a6f5aa809e556 | docs: Added loadFile instead of loadURL in BrowserWindow documentation example (#28829)
* Added loadFile instead of loadURL in the example
For loading a local file the loadFile API is a better way to load any html file in the Renderer process.
Have changed it in the example.
* Changed backticks to single quot... | [
{
"path": "docs/api/browser-window.md",
"patch": "@@ -14,7 +14,7 @@ const win = new BrowserWindow({ width: 800, height: 600 })\n win.loadURL('https://github.com')\n \n // Or load a local HTML file\n-win.loadURL(`file://${__dirname}/app/index.html`)\n+win.loadFile('index.html')\n ```\n \n ## Frameless window... | 2021-05-03T17:56:33 |
nodejs/node | cebbc57ed26ce1a572e6fe416b700ac8f6258869 | 578ffe1edb3ee2acbe89b9db5555d966209584ba | stream: fix premature pipeline end
Fixes: https://github.com/nodejs/node/issues/48406
PR-URL: https://github.com/nodejs/node/pull/48435
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Lu... | [
{
"path": "lib/internal/streams/pipeline.js",
"patch": "@@ -38,7 +38,7 @@ const {\n isTransformStream,\n isWebStream,\n isReadableStream,\n- isReadableEnded,\n+ isReadableFinished,\n } = require('internal/streams/utils');\n const { AbortController } = require('internal/abort_controller');\n \n@@ -42... | 2023-06-24T07:58:03 |
facebook/react | 5b57bc6e31689ad715161cdcfa1b1d31eac2ba3b | cf07c3df124fb43dfe14b3068c3a15e05bc4af1c | [Draft] don't patch console during first render (#22308)
Previously, DevTools always overrode the native console to dim or supress StrictMode double logging. It also overrode console.log (in addition to console.error and console.warn). However, this changes the location shown by the browser console, which causes a bad... | [
{
"path": "packages/react-devtools-shared/src/__tests__/console-test.js",
"patch": "@@ -17,11 +17,10 @@ let mockLog;\n let mockWarn;\n let patchConsole;\n let unpatchConsole;\n+let rendererID;\n \n describe('console', () => {\n beforeEach(() => {\n- jest.resetModules();\n-\n const Console = require... | 2021-09-21T22:00:11 |
vercel/next.js | f0887fa0680fa999b95b95e38cb4d1e68cffc4d3 | c02bca2322ebfa815646879ff5bb061d43fc3ffb | test: replace explicit `padding-bottom` with `devIndicators: false` for scroll position testing (#76105)
### Why?
There were explicit `paddingBottom: 60` set to fixtures due to the dev
indicator blocking the scroll position. Since an option to disable it
was added at https://github.com/vercel/next.js/pull/76079, thi... | [
{
"path": "test/development/pages-dir/client-navigation/fixture/next.config.js",
"patch": "@@ -1,3 +1,4 @@\n+/** @type {import('next').NextConfig} */\n module.exports = {\n onDemandEntries: {\n // Make sure entries are not getting disposed.\n@@ -6,4 +7,7 @@ module.exports = {\n experimental: {\n ... | 2025-02-17T21:03:58 |
golang/go | 0b23e477a2ca6056a61d6040f0763997a30b3486 | 79ca434ac608d0817a5807d1c7b2138912ed55ce | strings: fix typo in examples
The correct word can be seen in lines 381-382.
Change-Id: If3876bd34b6433b69531763f63af88d60a0bfad0
Reviewed-on: https://go-review.googlesource.com/c/go/+/606375
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@... | [
{
"path": "src/strings/example_test.go",
"patch": "@@ -388,8 +388,8 @@ func ExampleToLower() {\n }\n \n func ExampleToLowerSpecial() {\n-\tfmt.Println(strings.ToLowerSpecial(unicode.TurkishCase, \"Önnek İş\"))\n-\t// Output: önnek iş\n+\tfmt.Println(strings.ToLowerSpecial(unicode.TurkishCase, \"Örnek İş\"))... | 2024-08-16T20:41:25 |
rust-lang/rust | e79fef40866bfbf2a4ae33b0030205ce51a7adf9 | 6d0f23cbdc338f7d16b91c615eea7f9244ddd4e2 | Fix incorrect Self path expand for inline_call
Example
---
```rust
trait Trait {
fn f() -> Self;
}
struct Foo<'a>(&'a ());
impl<'a> Trait for Foo<'a> {
fn f() -> Self { Self(&()) }
}
impl Foo<'_> {
fn new() -> Self {
Self::$0f()
}
}
```
**Before this PR**
```rust
trait Trait {
fn f() -> S... | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/inline_call.rs",
"patch": "@@ -403,6 +403,12 @@ fn inline(\n .find(|tok| tok.kind() == SyntaxKind::SELF_TYPE_KW)\n {\n let replace_with = t.clone_subtree().syntax().clone_for_update();\n+ if !is_in_... | 2026-01-01T14:21:57 |
electron/electron | 37f7e6687336912df13291cccc90a0b952f8d460 | 77444867b76709467ffd2e1afcb4ba2da21f0228 | build: fix npm-run python bytes error (#28932) | [
{
"path": "build/npm-run.py",
"patch": "@@ -15,12 +15,6 @@\n try:\n subprocess.check_output(args, stderr=subprocess.STDOUT)\n except subprocess.CalledProcessError as e:\n- print(\n- \"NPM script '\"\n- + sys.argv[2]\n- + \"' failed with code '\"\n- + str(e.returncode)\n- ... | 2021-04-29T17:20:36 |
nodejs/node | 9b61322e02743a77e24ab2effb2546c18f73f557 | 1746ee20ef1e9c770557880c9a967be1fb38ab5e | doc: fix `filename` type in `watch` result
PR-URL: https://github.com/nodejs/node/pull/48032
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/fs.md",
"patch": "@@ -1668,7 +1668,7 @@ added:\n should stop.\n * Returns: {AsyncIterator} of objects with the properties:\n * `eventType` {string} The type of change\n- * `filename` {string|Buffer} The name of the file changed.\n+ * `filename` {string|Buffer|null} The name of the... | 2023-06-23T19:17:32 |
facebook/react | fc574329668fed808759a797018752048d03ae89 | cb6c619c07c2453692335a1c73109013e0c88769 | Move DOM fixtures test job to main CI workflow (#22385)
Moves the RELEASE_CHANNEL_stable_yarn_test_dom_fixtures job to our new,
combined CI workflow.
After this, there are only two jobs remaining to be migrated. Then we
can delete the old workflow and build script. | [
{
"path": ".circleci/config.yml",
"patch": "@@ -274,7 +274,8 @@ jobs:\n environment: *environment\n steps:\n - checkout\n- - attach_workspace: *attach_workspace\n+ - attach_workspace:\n+ at: .\n - run: yarn workspaces info | head -n -1 > workspace_info.txt\n - *r... | 2021-09-21T15:00:28 |
vercel/next.js | c02bca2322ebfa815646879ff5bb061d43fc3ffb | a7511f5361191109287d15e3bebfbf0a63d33d05 | Current behavior for `reportError` (#76115) | [
{
"path": "test/development/pages-dir/client-navigation/index.test.ts",
"patch": "@@ -9,7 +9,7 @@ import {\n waitFor,\n check,\n } from 'next-test-utils'\n-import webdriver from 'next-webdriver'\n+import webdriver, { BrowserInterface } from 'next-webdriver'\n import path from 'path'\n import { nextTestS... | 2025-02-17T21:02:08 |
golang/go | 79ca434ac608d0817a5807d1c7b2138912ed55ce | ff271cd391bdb8963b5409c6f4cca40af8501b51 | testing: add Chdir
Some tests need to use os.Chdir, but the use is complicated because
- they must change back to the old working directory;
- they must not use t.Parallel.
Add Chdir that covers these cases, and sets PWD environment variable
to the new directory for the duration of the test for Unix platforms.
Unif... | [
{
"path": "api/next/62516.txt",
"patch": "@@ -0,0 +1,4 @@\n+pkg testing, method (*B) Chdir(string) #62516\n+pkg testing, method (*F) Chdir(string) #62516\n+pkg testing, method (*T) Chdir(string) #62516\n+pkg testing, type TB interface, Chdir(string) #62516",
"additions": 4,
"deletions": 0,
"lang... | 2023-09-08T00:08:56 |
rust-lang/rust | a390881bde042f39c12001044c7476545abcb390 | 0a983a7edc9fa79058e12331b8cd1cc12a0e4649 | Do not make suggestion machine-applicable if it may change semantics
When suggesting to replace an iterator method by `.all()` or `.any()`,
make the suggestion at most `MaybeIncorrect` instead of
`MachineApplicable` and warn about the fact that semantics may change
because those two methods are short-circuiting. | [
{
"path": "clippy_lints/src/methods/unnecessary_fold.rs",
"patch": "@@ -1,10 +1,10 @@\n-use clippy_utils::diagnostics::span_lint_and_sugg;\n+use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::res::{MaybeDef, MaybeQPath, MaybeResPath, MaybeTypeckRes};\n use clippy_utils::source::snippet_w... | 2026-01-01T13:46:16 |
electron/electron | 791eddd54111b2a7d0ba7eef2da59f565ec3d599 | c37c9adbe2fc457d02396f4c02ac536a60a080ca | fix: provide no-op implementation of app.setUserModelId (#28915) | [
{
"path": "lib/browser/api/app.ts",
"patch": "@@ -63,6 +63,9 @@ Object.defineProperty(app, 'applicationMenu', {\n return execFile !== 'electron';\n })();\n \n+// The native implementation is not provided on non-windows platforms\n+app.setAppUserModelId = app.setAppUserModelId || (() => {});\n+\n app._setD... | 2021-04-29T01:41:03 |
nodejs/node | e26ffe7358d3874f85714985bb2bffdbcf1a75df | e9340038114f66995b8e7f08290abcf90873507d | module: add SourceMap.findOrigin
This adds the `SourceMap.findOrigin(lineNumber, columnNumber)` method,
for finding the origin source file and 1-indexed line and column numbers
corresponding to the 1-indexed line and column numbers from a call site
in generated source code.
Fix: #47770
PR-URL: https://github.com/node... | [
{
"path": "doc/api/module.md",
"patch": "@@ -293,23 +293,67 @@ Creates a new `sourceMap` instance.\n \n Getter for the payload used to construct the [`SourceMap`][] instance.\n \n-#### `sourceMap.findEntry(lineNumber, columnNumber)`\n+#### `sourceMap.findEntry(lineOffset, columnOffset)`\n \n-* `lineNumber` ... | 2023-06-23T19:17:14 |
facebook/react | cbf6178ed3b450774a11bd2ca7735c2073cd1bc4 | acf8ada4c00105f933ea87ad425e83cdcd115ba0 | Fix links in packages/react-devtools/README.md (#22356) | [
{
"path": "packages/react-devtools/README.md",
"patch": "@@ -41,7 +41,7 @@ If you're using React Native 0.43 or higher, it should connect to your simulator\n \n ### Integration with React Native Inspector\n \n-You can open the [in-app developer menu](https://reactnative.dev/docs/debugging.html#accessing-the... | 2021-09-20T19:10:29 |
vercel/next.js | a7511f5361191109287d15e3bebfbf0a63d33d05 | 21ce3ab28e4f4221c51546b38a1cbc4235a3db2d | [dev-overlay] add false option to disable dev indicator (#76079)
### Why?
Since the dev indicator is visible by default, there could be a case where a user might want to disable it.
However, the indicator needs to be brought back if there is an error since it's tied to the error overlay.
### What?
Added an o... | [
{
"path": "crates/next-core/src/next_config.rs",
"patch": "@@ -212,12 +212,21 @@ pub enum BuildActivityPositions {\n OperationValue,\n )]\n #[serde(rename_all = \"camelCase\")]\n-pub struct DevIndicatorsConfig {\n+pub struct DevIndicatorsOptions {\n pub build_activity: Option<bool>,\n pub build_... | 2025-02-17T20:31:17 |
electron/electron | 3dcba234b5c29e393d611adf88bfdca2a081f8db | c200840006cad4e49f02ab856a283bce62543681 | build: fix dump_syms.py to work with python 3 (#28910) | [
{
"path": "build/dump_syms.py",
"patch": "@@ -39,7 +39,7 @@ def main(dump_syms, binary, out_dir, stamp_file, dsym_file=None):\n args += [\"-g\", dsym_file]\n args += [binary]\n \n- symbol_data = subprocess.check_output(args)\n+ symbol_data = subprocess.check_output(args).decode(sys.stdout.encoding)\... | 2021-04-28T19:42:25 |
facebook/react | acf8ada4c00105f933ea87ad425e83cdcd115ba0 | c62d5831d3d66c19eb652f4f5d229acb1e85ff82 | Fix typo in types.js (react-devtools-shared) (#22299)
Fix typo:
becuase -> because | [
{
"path": "packages/react-devtools-shared/src/types.js",
"patch": "@@ -79,7 +79,7 @@ export type ComponentFilter =\n \n export type HookName = string | null;\n // Map of hook source (\"<filename>:<line-number>:<column-number>\") to name.\n-// Hook source is used instead of the hook itself becuase the latter... | 2021-09-20T19:09:59 |
nodejs/node | 8e50f84dbba2a97dbf7cddd610eaa23e1a49d424 | 0d1dfe157ec683cfe75ff0aa0707e1578cce3939 | doc: add vmoroz to collaborators
PR-URL: https://github.com/nodejs/node/pull/48527
Fixes: https://github.com/nodejs/node/issues/48388
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il> | [
{
"path": "README.md",
"patch": "@@ -463,6 +463,8 @@ For information about the governance of the Node.js project, see\n **Rich Trott** <<rtrott@gmail.com>> (he/him)\n * [vdeturckheim](https://github.com/vdeturckheim) -\n **Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)\n+* [vmoroz](https://gith... | 2023-06-22T20:26:52 |
golang/go | ff271cd391bdb8963b5409c6f4cca40af8501b51 | 96ef6abcca2f3ba43ae822d5a6e46fc02092e0a3 | cmd/cgo: enable #cgo noescape/nocallback
In Go 1.22 we added code to the go/build package to ignore #cgo noescape
and nocallback directives. That permits us to enable these directives in Go 1.24.
Also, this fixed a Bug in CL 497837:
After retiring _Cgo_use for parameters, the compiler will treat the
parameters, start... | [
{
"path": "src/cmd/cgo/doc.go",
"patch": "@@ -425,6 +425,30 @@ passing uninitialized C memory to Go code if the Go code is going to\n store pointer values in it. Zero out the memory in C before passing it\n to Go.\n \n+# Optimizing calls of C code\n+\n+When passing a Go pointer to a C function the compiler ... | 2024-08-16T07:32:00 |
vercel/next.js | 21ce3ab28e4f4221c51546b38a1cbc4235a3db2d | 97adc814d030e433b432c3e167b41fa576318228 | Turbopack: Fix middleware test (#76126)
## What?
Ensures the updated matcher output works. Both outputs are functionally
correct.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below... | [
{
"path": "test/e2e/app-dir/app-edge/app-edge.test.ts",
"patch": "@@ -106,12 +106,21 @@ describe('app-dir edge SSR', () => {\n const manifest = JSON.parse(\n await next.readFile('.next/server/middleware-manifest.json')\n )\n- expect(manifest.functions['/(group)/group/page'].matchers... | 2025-02-17T19:45:38 |
facebook/react | c62d5831d3d66c19eb652f4f5d229acb1e85ff82 | 7e8fb98e140a520bbb723d5930cc657b5fb92488 | react-devtools\OVERVIEW.md --> fixed typos (#22372) | [
{
"path": "packages/react-devtools/OVERVIEW.md",
"patch": "@@ -166,7 +166,7 @@ We only send the serialized messages as part of the `inspectElement` event.\n \n #### Removing a root\n \n-Special case of unmounting an entire root (include its decsendants). This specialized message replaces what would otherwis... | 2021-09-20T19:09:37 |
electron/electron | c200840006cad4e49f02ab856a283bce62543681 | 733f81449dab05869d788f9310ae396ed49f80d9 | fix: emit window-all-closed after closing the window (#28867) | [
{
"path": "shell/browser/native_window.cc",
"patch": "@@ -423,11 +423,11 @@ void NativeWindow::NotifyWindowClosed() {\n if (is_closed_)\n return;\n \n- WindowList::RemoveWindow(this);\n-\n is_closed_ = true;\n for (NativeWindowObserver& observer : observers_)\n observer.OnWindowClosed();\n+\n... | 2021-04-28T17:55:08 |
nodejs/node | a509753a8e1f5d15c234be0242b77a99fb08a691 | 198affc63973805ce5102d246f6b7822be57f5fc | report: disable js stack when no context is entered
There are no guarantees that the JS stack can be generated when no
context is entered.
PR-URL: https://github.com/nodejs/node/pull/48495
Fixes: https://github.com/nodejs/node-v8/issues/250
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/4582948
Reviewed-By:... | [
{
"path": "src/node_report.cc",
"patch": "@@ -66,6 +66,7 @@ static void PrintJavaScriptErrorStack(JSONWriter* writer,\n Isolate* isolate,\n Local<Value> error,\n const char* trigger);\n+static v... | 2023-06-21T13:58:15 |
golang/go | 96ef6abcca2f3ba43ae822d5a6e46fc02092e0a3 | aa5d672a00f5bf64865d0e821623ed29bc416405 | os: only employ sendfile(3ext) on illumos when target is regular file
Follows up CL 605355
Fixes #68863
Change-Id: I56e05822502e66eed610d5e924d110607ce146b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/606135
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-Try... | [
{
"path": "src/os/readfrom_unix_test.go",
"patch": "@@ -198,14 +198,16 @@ func TestCopyFile(t *testing.T) {\n \t\t\t\t}\n \t\t\t\tswitch runtime.GOOS {\n \t\t\t\tcase \"illumos\", \"solaris\":\n-\t\t\t\t\t// On SunOS, We rely on File.Stat to get the size of the source file,\n+\t\t\t\t\t// On solaris, We rel... | 2024-08-16T03:42:25 |
facebook/react | 293059e52b57f9debdb01a235e29c678cadfc476 | 8209de269531767b33d8db26eda41db38bfb6a27 | replace-fork should not clear uncommitted changes (#22348)
The replace-fork script depends on ESLint to fix the reconciler imports
— `.old` -> `.new` or vice versa. If ESLint crashes, it can leave the
imports in an incorrect state.
As a convenience, @bvaughn updated the script to automatically run
`git checkout ... | [
{
"path": "scripts/merge-fork/replace-fork.js",
"patch": "@@ -22,15 +22,27 @@ async function main() {\n await Promise.all(oldFilenames.map(unforkFile));\n \n // Use ESLint to autofix imports\n- const spawn = spawnSync('yarn', ['linc', '--fix'], {\n+ spawnSync('yarn', ['linc', '--fix'], {\n stdio: ... | 2021-09-20T14:07:25 |
nodejs/node | 205f1e643e25648173239b2de885fec430268492 | e15cc4595a81515ff7901a4009d21f40ed97ddca | permission: handle fs path traversal
PR-URL: https://github.com/nodejs-private/node-private/pull/403
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1952978
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
CVE-ID: CVE-2023-30584 | [
{
"path": "lib/internal/fs/utils.js",
"patch": "@@ -709,7 +709,7 @@ const validatePath = hideStackFrames((path, propName = 'path') => {\n // The permission model needs the absolute path for the fs_permission\n function possiblyTransformPath(path) {\n if (permission.isEnabled()) {\n- if (typeof path ===... | 2023-05-06T16:23:32 |
electron/electron | cdf04f3ae7e4cc569130eeda0fb0bb356a5f2bb6 | fa61e3b1194c8cabba8e2d6883f4cdbee6cb93ea | chore: bump chromium to 92.0.4488.0 (master) (#28676)
* chore: bump chromium in DEPS to 92.0.4478.0
* chore: update chromium patches
* chore: update v8 patches
* fix: add scale parameter to LookupIconFromFilepath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2748317
Follow up: https://gi... | [
{
"path": "BUILD.gn",
"patch": "@@ -441,7 +441,10 @@ source_set(\"electron_lib\") {\n }\n \n if (is_linux) {\n- deps += [ \"//components/crash/content/browser\" ]\n+ deps += [\n+ \"//build/config/linux/gtk:gtkprint\",\n+ \"//components/crash/content/browser\",\n+ ]\n }\n \n if (is... | 2021-04-27T21:27:34 |
golang/go | aa5d672a00f5bf64865d0e821623ed29bc416405 | 660e7d60f28ed4b2c14f6e1fcf6d0e5a7f4aa1e0 | os: use O_EXCL instead of O_TRUNC in CopyFS to disallow rewriting existing files
On Linux, a call to creat() is equivalent to calling open() with flags
equal to O_CREAT|O_WRONLY|O_TRUNC, which applies to other platforms
as well in a similar manner. Thus, to force CopyFS's behavior to
comply with the function comment, ... | [
{
"path": "src/os/dir.go",
"patch": "@@ -136,8 +136,9 @@ func ReadDir(name string) ([]DirEntry, error) {\n // from the source, and directories are created with mode 0o777\n // (before umask).\n //\n-// CopyFS will not overwrite existing files, and returns an error\n-// if a file name in fsys already exists ... | 2024-08-16T00:04:57 |
facebook/react | f50ff357cf45d5cbda8d5a99c247e33b0477e936 | bc9bb87c2b01bff8a15e02c8416addf6177e9055 | DevTools: Fix memory leak via alternate Fiber pointer (#22346) | [
{
"path": "packages/react-devtools-shared/src/backend/renderer.js",
"patch": "@@ -1140,6 +1140,13 @@ export function attach(\n \n untrackFibersSet.add(fiber);\n \n+ // React may detach alternate pointers during unmount;\n+ // Since our untracking code is async, we should explicily track the pendin... | 2021-09-17T16:53:07 |
nodejs/node | e15cc4595a81515ff7901a4009d21f40ed97ddca | e8a1affab0b31b3586baef2ece978e449d40ce3d | permission: handle fs.openAsBlob
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1966492
PR-URL: https://github.com/nodejs-private/node-private/pull/405
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
CVE-ID: CV... | [
{
"path": "lib/fs.js",
"patch": "@@ -604,7 +604,8 @@ function openAsBlob(path, options = kEmptyObject) {\n // The underlying implementation here returns the Blob synchronously for now.\n // To give ourselves flexibility to maybe return the Blob asynchronously,\n // this API returns a Promise.\n- retu... | 2023-05-06T18:28:12 |
golang/go | 818515fd3ec69a3276d7d9753c148d8103888582 | 527610763b882b56c52d77acf1b75c2f4233c973 | go/types, types2: Named.cleanup must also handle *Alias types
Named.cleanup is called at the end of type-checking to ensure that
a named type is fully set up; specifically that it's underlying
field is not (still) a Named type. Now it can also be an *Alias
type. Add this case to the respective type switch.
Fixes #688... | [
{
"path": "src/cmd/compile/internal/types2/issues_test.go",
"patch": "@@ -1121,3 +1121,23 @@ func f(x int) {\n \t\tt.Errorf(\"got: %s want: %s\", got, want)\n \t}\n }\n+\n+func TestIssue68877(t *testing.T) {\n+\tconst src = `\n+package p\n+\n+type (\n+\tS struct{}\n+\tA = S\n+\tT A\n+)`\n+\n+\tconf := Confi... | 2024-08-15T23:07:04 |
facebook/react | f2fd1b80d5501a0bce00641f383d18cbd24e3d32 | b0803f255ba639aae5a6bd66d1234d12eb18d972 | Updated the utfDecodeString() method to avoid call stack exceeded error (#22330) | [
{
"path": "packages/react-devtools-shared/src/utils.js",
"patch": "@@ -126,7 +126,16 @@ export function getUID(): number {\n }\n \n export function utfDecodeString(array: Array<number>): string {\n- return String.fromCodePoint(...array);\n+ // Avoid spreading the array (e.g. String.fromCodePoint(...array)... | 2021-09-17T13:52:52 |
vercel/next.js | 8342515d76bfe4aa5f9eb22c93e006652ae8e3b3 | 0cac089867b4465690385c2d48f5f3df5c5e000a | Turbopack: Fix static generation test (#76125)
## What?
For edge we generate everything in the `middleware-manifest.json`
(should be renamed edge-manifest tbh, but it's not for legacy reasons).
This change to the tests makes sure the right thing is checked in the
directory output, that `.html` and `.rsc` are wri... | [
{
"path": "test/e2e/app-dir/app-static/app-static.test.ts",
"patch": "@@ -789,7 +789,13 @@ describe('app-dir static/dynamic handling', () => {\n cwd: join(next.testDir, '.next/server/app'),\n })\n )\n- .filter((file) => file.match(/.*\\.(js|html|rsc)$/))\n+ // Manifests... | 2025-02-17T18:58:15 |
nodejs/node | e8a1affab0b31b3586baef2ece978e449d40ce3d | daaa43ed967626b997439f3c708aae0925f8d85a | crypto: handle cert with invalid SPKI gracefully
When attempting to convert the SPKI of a X509Certificate to a KeyObject,
throw an error if the subjectPublicKey cannot be parsed instead of
aborting the process.
Fixes: https://hackerone.com/bugs?report_id=1884159
PR-URL: https://github.com/nodejs-private/node-private/... | [
{
"path": "src/crypto/crypto_x509.cc",
"patch": "@@ -301,7 +301,11 @@ void X509Certificate::PublicKey(const FunctionCallbackInfo<Value>& args) {\n X509Certificate* cert;\n ASSIGN_OR_RETURN_UNWRAP(&cert, args.Holder());\n \n+ // TODO(tniessen): consider checking X509_get_pubkey() when the\n+ // X509Cer... | 2023-02-23T15:13:16 |
facebook/react | b0803f255ba639aae5a6bd66d1234d12eb18d972 | a7da457e6bdf474c0abc820c359f094475819cfd | VerticalScrollView -> fixed typos (#22341) | [
{
"path": "packages/react-devtools-scheduling-profiler/src/view-base/VerticalScrollView.js",
"patch": "@@ -287,7 +287,7 @@ export class VerticalScrollView extends View {\n \n // Don't allow wheel events to bubble past this view even if we've scrolled to the edge.\n // It just feels bad to have the s... | 2021-09-17T13:05:09 |
golang/go | bd8977be0c429a6eec8a99bfefc4e41c74891865 | 970b1c042cddb5f944d3db1cc2c3d87a3ffabe52 | encoding/json: merge FieldStack if the error's Field exists.
When people return UnmarshalTypeError in UnmarshalJSON, we should append error's Field to FieldStack.
Fixes #68750
Change-Id: I0a5a9b259a1b569de1bebc815ec936c913e10469
GitHub-Last-Rev: 18796addc3fa0d367ba1a3f4bd268ca246890fe0
GitHub-Pull-Request: golang/go... | [
{
"path": "src/encoding/json/decode.go",
"patch": "@@ -255,7 +255,11 @@ func (d *decodeState) addErrorContext(err error) error {\n \t\tswitch err := err.(type) {\n \t\tcase *UnmarshalTypeError:\n \t\t\terr.Struct = d.errorContext.Struct.Name()\n-\t\t\terr.Field = strings.Join(d.errorContext.FieldStack, \".\... | 2024-08-15T02:11:44 |
vercel/next.js | 0cac089867b4465690385c2d48f5f3df5c5e000a | 00d3c8307d4547b24ba495a74287464d7c3a92e7 | Fix cache kind validation (#76064)
Default cache handlers should be allowed and not trigger a build error. | [
{
"path": "crates/next-core/src/next_config.rs",
"patch": "@@ -43,8 +43,21 @@ struct CustomRoutes {\n pub struct ModularizeImports(FxIndexMap<String, ModularizeImportPackageConfig>);\n \n #[turbo_tasks::value(transparent)]\n+#[derive(Clone, Debug)]\n pub struct CacheKinds(FxHashSet<RcStr>);\n \n+impl CacheK... | 2025-02-17T18:29:26 |
facebook/react | a7da457e6bdf474c0abc820c359f094475819cfd | a8cabb5648a14ef55cb96d679a526e3f731e9611 | Scheduling profiler: Fix typo in View.js (#22337) | [
{
"path": "packages/react-devtools-scheduling-profiler/src/view-base/View.js",
"patch": "@@ -58,7 +58,7 @@ export class View {\n _needsDisplay = true;\n \n /**\n- * Whether the heirarchy below this view has subviews that need display.\n+ * Whether the hierarchy below this view has subviews that need... | 2021-09-17T13:04:51 |
nodejs/node | daaa43ed967626b997439f3c708aae0925f8d85a | a4afe823737b208af245c5e5bdda0c8ea8950900 | policy: handle mainModule.__proto__ bypass
PR-URL: https://github.com/nodejs-private/node-private/pull/416
Fixes: https://hackerone.com/bugs?subject=nodejs&report_id=1877919
Reviewed-By: Rich Trott <rtrott@gmail.com>
CVE-ID: CVE-2023-30581 | [
{
"path": "lib/internal/modules/cjs/loader.js",
"patch": "@@ -231,6 +231,8 @@ function Module(id = '', parent) {\n redirects = manifest.getDependencyMapper(moduleURL);\n // TODO(rafaelgss): remove the necessity of this branch\n setOwnProperty(this, 'require', makeRequireFunction(this, redirects)... | 2023-05-29T19:40:15 |
golang/go | 866e260f92546e5bec910aa526756078eb1a6a0d | 1416cebdd54b4d96f6095db18002ae3f90f1f4c0 | os: only employ sendfile(3ext) on illumos when target is regular file
Fixes #68863
Change-Id: I0ca324137d1f7510bd0b245791fef07d3b5b401a
Reviewed-on: https://go-review.googlesource.com/c/go/+/605355
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor ... | [
{
"path": "src/os/readfrom_unix_test.go",
"patch": "@@ -198,7 +198,7 @@ func TestCopyFile(t *testing.T) {\n \t\t\t\t}\n \t\t\t\tswitch runtime.GOOS {\n \t\t\t\tcase \"illumos\", \"solaris\":\n-\t\t\t\t\t// On SunOS, We rely on File.Stat to get the size of the file,\n+\t\t\t\t\t// On SunOS, We rely on File.S... | 2024-08-14T01:41:28 |
electron/electron | 7884f5297633295b76156fe9fa2e6402fb43d41f | 79f67417f0b324df145dbdb62965c3325b7c2352 | build: fix releases that failed halfway through npm publish actions (#28851) | [
{
"path": "script/release/publish-to-npm.js",
"patch": "@@ -152,7 +152,13 @@ new Promise((resolve, reject) => {\n resolve(tarballPath);\n });\n })\n- .then((tarballPath) => childProcess.execSync(`npm publish ${tarballPath} --tag ${npmTag} --otp=${process.env.ELECTRON_NPM_OTP}`))\n+ .then((tarb... | 2021-04-26T20:02:14 |
facebook/react | a8cabb5648a14ef55cb96d679a526e3f731e9611 | e8feb11b62e869804970258fa629922edbfc836b | [DevTools] Fix runtime error when inspecting an element times out (#22329) | [
{
"path": "packages/react-devtools-shared/src/backendAPI.js",
"patch": "@@ -158,7 +158,9 @@ function getPromiseForRequestID<T>(\n \n const onTimeout = () => {\n cleanup();\n- reject();\n+ reject(\n+ new Error(`Timed out waiting for event '${eventType}' from bridge`),\n+ );\n ... | 2021-09-15T21:19:10 |
vercel/next.js | 0287e10611f8af24c76c2e728901c4fbdfb82d7d | fef9c5c94199438a2c333a7fd31967924881e94b | fix(edge): run after() if request is cancelled mid-streaming (#76013)
### What
- Fixes an issue where `after()` in an edge page would not run if the
request was cancelled/aborted
- Unskips the `runs callbacks if redirect() was called` test which was
disabled to not block other things
### Background
This was ... | [
{
"path": "packages/next/src/server/web/web-on-close.test.ts",
"patch": "@@ -0,0 +1,106 @@\n+import { DetachedPromise } from '../../lib/detached-promise'\n+import { trackStreamConsumed } from './web-on-close'\n+\n+describe('trackStreamConsumed', () => {\n+ it('calls onEnd when the stream finishes', async (... | 2025-02-17T15:54:50 |
golang/go | 1416cebdd54b4d96f6095db18002ae3f90f1f4c0 | 0f1db954142ffd86cf85ab5aecd28f138382f761 | runtime: record all sampled mutex profile events
The block and mutex profiles have slightly different behaviors when a
sampled event has a negative (or zero) duration. The block profile
enforces a minimum duration for each event of "1" in the cputicks unit.
It does so by clamping the duration to 1 if it was originally... | [
{
"path": "src/runtime/mprof.go",
"patch": "@@ -722,8 +722,8 @@ type mLockProfile struct {\n }\n \n func (prof *mLockProfile) recordLock(cycles int64, l *mutex) {\n-\tif cycles <= 0 {\n-\t\treturn\n+\tif cycles < 0 {\n+\t\tcycles = 0\n \t}\n \n \tif prof.disabled {",
"additions": 2,
"deletions": 2,
... | 2024-08-08T22:24:15 |
nodejs/node | 2e6de554f6b2f7969f6c51bef784ddb74c00a0ab | 4a82c8fda00b45663cf0f24bc3d6f369f4cc5215 | http: disable request smuggling via empty headers
PR-URL: https://github.com/nodejs-private/node-private/pull/427
Fixes: https://hackerone.com/reports/2001873
Refs: https://github.com/nodejs-private/llhttp-private/pull/13
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
CVE-ID: CVE-2023-30589 | [
{
"path": "deps/llhttp/CMakeLists.txt",
"patch": "@@ -1,7 +1,7 @@\n cmake_minimum_required(VERSION 3.5.1)\n cmake_policy(SET CMP0069 NEW)\n \n-project(llhttp VERSION 8.1.0)\n+project(llhttp VERSION 8.1.1)\n include(GNUInstallDirs)\n \n set(CMAKE_C_STANDARD 99)",
"additions": 1,
"deletions": 1,
"... | 2023-06-13T10:06:27 |
rust-lang/rust | 22bb4fe147127d72f31466e91768fb1de6347fab | 04813e4de86a5e024e71756ef092637aa862c984 | Detect cases where `?` is applied on a type that could be coming from a different crate version than expected
```
error[E0277]: `?` couldn't convert the error to `dependency::Error`
--> replaced
|
LL | fn main() -> Result<(), Error> {
| ----------------- expected `dependency::Error` because of thi... | [
{
"path": "compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs",
"patch": "@@ -559,6 +559,15 @@ pub(in crate::rmeta) fn provide(providers: &mut Providers) {\n .filter_map(|(cnum, data)| data.used().then_some(cnum)),\n )\n },\n+ duplicate_crate_names: |tcx,... | 2025-12-31T23:40:16 |
electron/electron | ae0de8ef9f6c7f0c314fa05db5c2f80d664d7072 | 7c32deb70f279b0456ae3e9deed734b2fb2cd32f | fix: only set backgroundColor in default-app for default index.html (#28792) | [
{
"path": "default_app/default_app.ts",
"patch": "@@ -41,14 +41,14 @@ ipcMain.handle('bootstrap', (event) => {\n return isTrustedSender(event.sender) ? electronPath : null;\n });\n \n-async function createWindow () {\n+async function createWindow (backgroundColor?: string) {\n await app.whenReady();\n \... | 2021-04-26T07:29:14 |
golang/go | 0f1db954142ffd86cf85ab5aecd28f138382f761 | 65a6e05070e56bafc00bbe24f2fa18ed07ed716b | maps, slices: fix variable name and comment in example
Change-Id: I1c837820bdd64b61fca46d45677664b2bb2be606
Reviewed-on: https://go-review.googlesource.com/c/go/+/605356
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot... | [
{
"path": "src/maps/example_test.go",
"patch": "@@ -167,8 +167,8 @@ func ExampleValues() {\n \t\t10: \"Ten\",\n \t\t1000: \"THOUSAND\",\n \t}\n-\tkeys := slices.Sorted(maps.Values(m1))\n-\tfmt.Println(keys)\n+\tvalues := slices.Sorted(maps.Values(m1))\n+\tfmt.Println(values)\n \t// Output:\n \t// [THOUSAN... | 2024-08-14T07:33:00 |
electron/electron | 7c32deb70f279b0456ae3e9deed734b2fb2cd32f | dc7fa1d9f1ae3001b6863fb5c1a22220beae51ce | refactor: use rfh instead of process id in permission manager (#28791)
* refactor: use rfh instead of process id in permission manager
* fix build
* Update electron_permission_manager.cc
* swap for smaller diff | [
{
"path": "shell/browser/electron_permission_manager.cc",
"patch": "@@ -9,6 +9,7 @@\n #include <vector>\n \n #include \"content/public/browser/child_process_security_policy.h\"\n+#include \"content/public/browser/global_routing_id.h\"\n #include \"content/public/browser/permission_controller.h\"\n #include ... | 2021-04-26T07:24:12 |
golang/go | 9becf401de6080cb9edd524def7e77aeaede4126 | 3e3ce20df87b2de86fbcbbad863b07b1a133e879 | bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq
Fixes #61901.
Change-Id: I4db21c91fd21079f2aa3bc81fb03dd6f40423a38
GitHub-Last-Rev: ed3df560a40ea10cdcb8ad476ba6849463f3c761
GitHub-Pull-Request: golang/go#67543
Reviewed-on: https://go-review.googlesource.com/c/go/+/587095
Auto-Submit: Ian ... | [
{
"path": "api/next/61901.txt",
"patch": "@@ -0,0 +1,10 @@\n+pkg bytes, func FieldsFuncSeq([]uint8, func(int32) bool) iter.Seq[[]uint8] #61901\n+pkg bytes, func FieldsSeq([]uint8) iter.Seq[[]uint8] #61901\n+pkg bytes, func Lines([]uint8) iter.Seq[[]uint8] #61901\n+pkg bytes, func SplitAfterSeq([]uint8, []ui... | 2024-08-09T07:33:36 |
electron/electron | be3c2fd0af60622444c3491f874ad8821faf9d65 | d2654c652a6bc60097f24d8f4cb83fd74ec182ac | fix: shell.trashItem crash when called in renderer (#28748) | [
{
"path": "shell/common/platform_util.cc",
"patch": "@@ -14,24 +14,32 @@\n \n namespace platform_util {\n \n-void TrashItemOnBlockingThread(\n- const base::FilePath& full_path,\n- base::OnceCallback<void(bool, const std::string&)> callback) {\n+struct TrashItemResult {\n+ bool success;\n+ std::strin... | 2021-04-22T20:46:41 |
golang/go | 3e3ce20df87b2de86fbcbbad863b07b1a133e879 | b2cdaf73469d7f15181b3abfb7b168475375c373 | cmd/internal/obj/arm64: Emit UDF instruction for undefined Prog nodes
UDF provides a stronger guarantee for generating the Undefined
Instruction exception than the current value being emitted.
Change-Id: I234cd70ce04f21311959c1061ae24992438105f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/605155
LUCI-TryBo... | [
{
"path": "src/cmd/internal/obj/arm64/asm7.go",
"patch": "@@ -5338,10 +5338,10 @@ func (c *ctxt7) asmout(p *obj.Prog, o *Optab, out []uint32) {\n \t// This is supposed to be something that stops execution.\n \t// It's not supposed to be reached, ever, but if it is, we'd\n \t// like to be able to tell how we... | 2024-08-13T10:47:40 |
electron/electron | 583660a85a06d6776532ec1a2c263e0817b8316b | 28904714ae3064a533981cec61f13b643fa3e91d | docs: fix unintentional emoji in win.getMediaSourceId description (#28767) | [
{
"path": "docs/api/browser-window.md",
"patch": "@@ -1292,7 +1292,7 @@ can be be used to listen to changes to tablet mode.\n \n #### `win.getMediaSourceId()`\n \n-Returns `String` - Window id in the format of DesktopCapturerSource's id. For example \"window:1234:0\".\n+Returns `String` - Window id in the f... | 2021-04-22T17:56:25 |
nodejs/node | 34d92ed88c814e05b4b619705c67b3df3999c52d | 1b16ffa7e72fd7a04778094b6fc097eebe4a251b | src,permission: restrict inspector when pm enabled
PR-URL: https://github.com/nodejs-private/node-private/pull/410
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1962701
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
CVE-ID: CVE-2023-30587 | [
{
"path": "doc/api/permissions.md",
"patch": "@@ -466,7 +466,8 @@ flag.\n \n When starting Node.js with `--experimental-permission`,\n the ability to access the file system through the `fs` module, spawn processes,\n-and use `node:worker_threads` will be restricted.\n+use `node:worker_threads` and enable th... | 2023-05-07T16:22:32 |
rust-lang/rust | 215768a7347ff7388b271ccc7ed6b19c4921b24e | 2848c2ebe9a8a604cd63455263299d7258bc8252 | fix missing_panics_doc in `std::os::fd::owned`
https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc | [
{
"path": "library/std/src/os/fd/owned.rs",
"patch": "@@ -77,7 +77,11 @@ impl BorrowedFd<'_> {\n /// # Safety\n ///\n /// The resource pointed to by `fd` must remain open for the duration of\n- /// the returned `BorrowedFd`, and it must not have the value `-1`.\n+ /// the returned `Borrowe... | 2025-12-31T17:05:41 |
golang/go | b2cdaf73469d7f15181b3abfb7b168475375c373 | 8b32ce586de9a4120bc7cdc104801113bed89f1d | cmd/compile: improve unneeded zeroing removal
After newobject, we don't need to write zeroes to initialize the
object. It has already been zeroed by the allocator.
This is already handled in most cases, but because we run builtin
decomposition after the opt pass, we don't handle cases where the zero
of a compound bu... | [
{
"path": "src/cmd/compile/internal/ssa/rewrite.go",
"patch": "@@ -1221,6 +1221,12 @@ func isConstZero(v *Value) bool {\n \t\treturn true\n \tcase OpConst64, OpConst32, OpConst16, OpConst8, OpConstBool, OpConst32F, OpConst64F:\n \t\treturn v.AuxInt == 0\n+\tcase OpStringMake, OpIMake, OpComplexMake:\n+\t\tr... | 2024-08-13T16:01:05 |
electron/electron | 503d24a4736e29273bc97cacc1b3abae1b7984be | 7063b5ef2cfba729d217a4eb346ef39df514b389 | fix: handle async nature of [NSWindow -toggleFullScreen] (#25470) | [
{
"path": "shell/browser/native_window.cc",
"patch": "@@ -143,7 +143,7 @@ void NativeWindow::InitFromOptions(const gin_helper::Dictionary& options) {\n fullscreenable = false;\n #endif\n }\n- // Overriden by 'fullscreenable'.\n+ // Overridden by 'fullscreenable'.\n options.Get(options::kFullScreen... | 2021-04-21T14:56:25 |
nodejs/node | 1b16ffa7e72fd7a04778094b6fc097eebe4a251b | 0ae8bf8dbc3d5db9a604c7be66aa22893e109fa0 | crypto,https,tls: disable engines if perms enabled
When the experimental permission model is enabled, the running
JavaScript code is subject to certain restrictions, all of which can
be bypassed or even disabled by native code due to the nature of the
permission model implementation. That is why Node.js native addons
... | [
{
"path": "doc/api/permissions.md",
"patch": "@@ -544,6 +544,8 @@ Wildcards are supported too:\n There are constraints you need to know before using this system:\n \n * Native modules are restricted by default when using the Permission Model.\n+* OpenSSL engines currently cannot be requested at runtime when... | 2023-05-11T22:26:43 |
golang/go | d3c82937e966537b5089db9dba4c7579e9b9c09a | 3c170ac018422fce5811f23455c89fe7630a4156 | crypto/tls: fix typo in quicError
Change-Id: I2c07592c3b896bc86e349de7c032929b9979349c
GitHub-Last-Rev: 0fe8b90e09b971821f9b0c0a528ed61895d3d110
GitHub-Pull-Request: golang/go#68757
Reviewed-on: https://go-review.googlesource.com/c/go/+/603517
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Auto-Submit: Damien Neil <dnei... | [
{
"path": "src/crypto/tls/quic.go",
"patch": "@@ -206,7 +206,7 @@ func (q *QUICConn) Start(ctx context.Context) error {\n \t}\n \tq.conn.quic.started = true\n \tif q.conn.config.MinVersion < VersionTLS13 {\n-\t\treturn quicError(errors.New(\"tls: Config MinVersion must be at least TLS 1.13\"))\n+\t\treturn ... | 2024-08-07T06:14:11 |
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.