repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
golang/go | 8343980c703fbc959f04ddd80ebdc55804545695 | 0a2cc74f5a12b5cb7945e620a871b073b95ebee7 | all: add test for issue 20027
Fixes #20027
Change-Id: Ia616d43c0affa7b927ddfb53755072c94ba27917
Reviewed-on: https://go-review.googlesource.com/c/go/+/612618
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
LUCI-TryBot-Resul... | [
{
"path": "src/cmd/compile/internal/types2/stdlib_test.go",
"patch": "@@ -317,6 +317,7 @@ func TestStdFixed(t *testing.T) {\n \t\t\"issue16369.go\", // types2 handles this correctly - not an issue\n \t\t\"issue18459.go\", // types2 doesn't check validity of //go:xxx directives\n \t\t\"issue18882.go\", //... | 2024-09-13T03:56:48 |
electron/electron | a8b3c22518ae6f55ce398d9c7604f1fa9eb30dc5 | 675bbfe0925ec0c1f1d920ed9006167d5606fda9 | fix: correctly propagate title updates for window with no navigation entries (#29946) | [
{
"path": "shell/browser/api/electron_api_web_contents.cc",
"patch": "@@ -1752,6 +1752,8 @@ void WebContents::TitleWasSet(content::NavigationEntry* entry) {\n } else {\n final_title = title;\n }\n+ } else {\n+ final_title = web_contents()->GetTitle();\n }\n for (ExtendedWebContentsObse... | 2021-06-30T17:53:10 |
facebook/react | f6c130f6145dbae5436625560f520957b5e27859 | 0e0b1a45fa09c0a8b162cde655016af97eda5c88 | React DevTools 4.23.0 -> 4.24.0 (#23400)
* React DevTools 4.23.0 -> 4.24.0
* Fixed CHANGELOG header format
* Add separator line beween header version numbers | [
{
"path": "packages/react-devtools-core/package.json",
"patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"react-devtools-core\",\n- \"version\": \"4.23.0\",\n+ \"version\": \"4.24.0\",\n \"description\": \"Use react-devtools outside of the browser\",\n \"license\": \"MIT\",\n \"main\": \"./dist/backend.j... | 2022-03-02T18:28:42 |
vercel/next.js | c505a4ca214c116e4ad4c03e61e83390f5499aed | 91684eeab82ddea2ebdfbdc229166e2f4d040b50 | exclude AppDevOverlayErrorBoundary from prod build (#76568)
**Test**
Generate a prod build, and search `AppDevOverlayErrorBoundary` in the
build output.
---
Before the change, `main-app` has an occurrence of
`AppDevOverlayErrorBoundary`.
 => {\n const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [\n '--no-warnings',\n '--experimental-loader',\n- fixtures.fileURL('/es-... | 2023-08-15T09:32:38 |
rust-lang/rust | 1af7813baa02ec2f05acbaae5238b37bc0ebe5d7 | 6cc9e5ccd3728842f23502dc9d1f9de08056a340 | Document `WithFixture` | [
{
"path": "src/tools/rust-analyzer/crates/test-fixture/src/lib.rs",
"patch": "@@ -37,7 +37,110 @@ use triomphe::Arc;\n \n pub const WORKSPACE: base_db::SourceRootId = base_db::SourceRootId(0);\n \n+/// A trait for setting up test databases from fixture strings.\n+///\n+/// Fixtures are strings containing Ru... | 2026-01-07T08:12:00 |
golang/go | d79e6bec6389dfeeec84a64f283055090615bad1 | 2c5b707b3b30ea194877600151a7c299671cab3a | cmd/go: populate build info for test mains
Before this change, test binaries didn't have build info populated on them
unless they were tests for package main. Now we generate them for all
test binaries so that they can be inspected like other binaries.
We don't need to add the default GODEBUG in printLinkerConfig bec... | [
{
"path": "src/cmd/go/internal/load/test.go",
"patch": "@@ -293,14 +293,13 @@ func TestPackagesAndErrors(ctx context.Context, done func(), opts PackageOpts, p\n \n \tpb := p.Internal.Build\n \tpmain.DefaultGODEBUG = defaultGODEBUG(pmain, pb.Directives, pb.TestDirectives, pb.XTestDirectives)\n-\tif pmain.Int... | 2024-09-13T15:12:36 |
electron/electron | 522b19e2d8782cdf271a5c4d2dc4c995d87cc574 | da9261497eeaed116d84f460303f1872ae00cc9d | fix: crash when clicking links with target=_blank from webview (#29874) | [
{
"path": "shell/browser/web_view_guest_delegate.cc",
"patch": "@@ -105,13 +105,18 @@ content::WebContents* WebViewGuestDelegate::CreateNewGuestWindow(\n guest_params.context = embedder_web_contents_->GetNativeView();\n std::unique_ptr<content::WebContents> guest_contents =\n content::WebContents:... | 2021-06-30T01:10:18 |
vercel/next.js | e74960774078000944f485e2544e2346f701afe0 | b98d8f834a1386af01ca704f8f8e0b09d9b79532 | [dev-overlay] fix: svg icon ids are not unique (#76566)
### Why?
The Node.js icon's gradient was breaking when opening the preferences
tab. It is because they shared the same `clipPath` id as `#a`.
### How?
Modified the SVG ids unique by adding a prefix of their filename and
what they're for.
### Before
https://... | [
{
"path": "packages/next/src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.tsx",
"patch": "@@ -555,24 +555,24 @@ function NextMark({\n className={isLoading ? 'path0' : 'paused'}\n d=\"M13.3 15.2 L2.34 1 V12.6\"\n fill=\"none\"\n- ... | 2025-02-26T18:47:32 |
facebook/react | 0e0b1a45fa09c0a8b162cde655016af97eda5c88 | f0dd459e0d97081cb3c313ec52285e3e422f8dbf | Show DevTools backend and frontend versions in UI (#23399)
This information can help with bug investigation for renderers (like React Native) that embed the DevTools backend into their source (separately from the DevTools frontend, which gets run by the user).
If the DevTools backend is too old to report a version,... | [
{
"path": "packages/react-devtools-shared/src/backend/agent.js",
"patch": "@@ -185,6 +185,7 @@ export default class Agent extends EventEmitter<{|\n bridge.addListener('clearWarningsForFiberID', this.clearWarningsForFiberID);\n bridge.addListener('copyElementPath', this.copyElementPath);\n bridge... | 2022-03-02T17:26:48 |
rust-lang/rust | f02ed7b565e6d9ba3b7b13abe86ea3a2dec3bf3c | d9617c8d9a55773a96b61ba3a4acb107d65615c1 | Fix `alloc_error_handler` signature mismatch | [
{
"path": "compiler/rustc_codegen_ssa/src/base.rs",
"patch": "@@ -6,7 +6,8 @@ use std::time::{Duration, Instant};\n use itertools::Itertools;\n use rustc_abi::FIRST_VARIANT;\n use rustc_ast::expand::allocator::{\n- ALLOC_ERROR_HANDLER, ALLOCATOR_METHODS, AllocatorKind, AllocatorMethod, AllocatorTy,\n+ ... | 2026-01-07T09:10:56 |
golang/go | 4c0f0985337386e0c0a3aad09251d5ee7f2b145e | f3c89e21a566a6c82cff3e4d4b30e21de22a84fa | internal/testenv: add MustHaveSource, rm HasSrc
All the users of HasSrc call t.Skip anyway, so let's move it to testenv.
Fix go/build to use MustHaveSource rather than MustHaveGoBuild where
appropriate.
Change-Id: I052bf96fd5a5780c1930da5b3a52b7a8dbebea46
Reviewed-on: https://go-review.googlesource.com/c/go/+/612057... | [
{
"path": "src/compress/gzip/issue14937_test.go",
"patch": "@@ -30,9 +30,7 @@ func TestGZIPFilesHaveZeroMTimes(t *testing.T) {\n \tif testenv.Builder() == \"\" {\n \t\tt.Skip(\"skipping test on non-builder\")\n \t}\n-\tif !testenv.HasSrc() {\n-\t\tt.Skip(\"skipping; no GOROOT available\")\n-\t}\n+\ttestenv.... | 2024-09-09T18:04:13 |
electron/electron | d3c1f10e33622f760ec0fc91d880b578da066076 | 37b57a10133d61fd250fdbb3120b5a2548d415f5 | chore: bump chromium to 93.0.4558.0 (main) (#29895)
* chore: bump chromium in DEPS to 93.0.4553.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4555.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4556.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.... | [
{
"path": "BUILD.gn",
"patch": "@@ -1404,7 +1404,8 @@ dist_zip(\"hunspell_dictionaries_zip\") {\n }\n \n copy(\"libcxx_headers\") {\n- sources = libcxx_headers + libcxx_licenses\n+ sources = libcxx_headers + libcxx_licenses +\n+ [ \"//buildtools/third_party/libc++/__config_site\" ]\n outputs ... | 2021-06-29T20:02:27 |
vercel/next.js | 502e919ec1567c6961baf32a85302219eee5054d | 856e2b19aa09b1bcc1e6d3d879921ca7d8a221a2 | Do not pass an empty string tag into `receiveExpiredTags` (#76561)
Follow-up fix for #76130. This avoids unnecessary calls to the tags
service when no tags are used. | [
{
"path": "packages/next/src/server/base-server.ts",
"patch": "@@ -1443,7 +1443,7 @@ export default abstract class Server<\n // cache handlers.\n const handlers = getCacheHandlers()\n if (handlers) {\n- const header = req.headers[NEXT_CACHE_REVALIDATED_TAGS_HEADER] ?? ''\n+ c... | 2025-02-26T17:42:17 |
facebook/react | 17806594cc28284fe195f918e8d77de3516848ec | 75662d6a7d135df9d10055f49c3a4ca09fe4efcc | Move createRoot/hydrateRoot to react-dom/client (#23385)
* Move createRoot/hydrateRoot to /client
We want these APIs ideally to be imported separately from things you
might use in arbitrary components (like flushSync). Those other methods
are "isomorphic" to how the ReactDOM tree is rendered. Similar to hooks.
... | [
{
"path": "fixtures/blocks/src/index.js",
"patch": "@@ -6,7 +6,7 @@\n */\n \n import React from 'react';\n-import {createRoot} from 'react-dom';\n+import {createRoot} from 'react-dom/client';\n import './index.css';\n import Router from './Router';\n ",
"additions": 1,
"deletions": 1,
"language... | 2022-03-01T05:13:28 |
golang/go | 751fbf9e5a73991fad24a48f1f523e446eb78291 | 8efb5ebfd02a8e5cb6c79c5cd0e093fe896e6347 | unicode/utf8: use range loop in RuneCountInString
CL 28490 speeded up non-ASCII rune decoding, and ASCII rune is also
decoded faster now.
Benchmark using:
perflock -governor 70% go test -run=NONE -bench=BenchmarkRuneCountInString -count=10
Result:
name old time/op new time/op ... | [
{
"path": "src/unicode/utf8/utf8.go",
"patch": "@@ -449,35 +449,8 @@ func RuneCount(p []byte) int {\n \n // RuneCountInString is like [RuneCount] but its input is a string.\n func RuneCountInString(s string) (n int) {\n-\tns := len(s)\n-\tfor i := 0; i < ns; n++ {\n-\t\tc := s[i]\n-\t\tif c < RuneSelf {\n-\... | 2024-09-12T17:48:11 |
electron/electron | 1b4ce6c69aee1661acec09e94d42127d06d2de64 | 914256374878da1e61adaf403c59ace22b47dec9 | fix: geolocation crashes electron on macOS (#29343) (#29913) | [
{
"path": "shell/browser/electron_browser_client.cc",
"patch": "@@ -882,7 +882,13 @@ ElectronBrowserClient::GetSystemNetworkContext() {\n std::unique_ptr<content::BrowserMainParts>\n ElectronBrowserClient::CreateBrowserMainParts(\n const content::MainFunctionParams& params) {\n- return std::make_unique... | 2021-06-29T03:26:57 |
vercel/next.js | aeaa006b14b4bfb55adab23fe304ec55ea206e3c | 14e58aeeeb54dfcf5e345cb4a66a0da629abf796 | Handle duplex automatically for NextRequest (#76531)
When configuring a body with `NextRequest` in node runtime without the
`duplex: 'half'` option it can throw an error un-necessarily since it's
an extension of the node `Request` instance. This auto-configures
`duplex: 'half'` when using `NextRequest` for easier migr... | [
{
"path": "packages/next/src/server/web/spec-extension/adapters/next-request.ts",
"patch": "@@ -107,7 +107,6 @@ export class NextRequestAdapter {\n return new NextRequest(url, {\n method: request.method,\n headers: fromNodeOutgoingHttpHeaders(request.headers),\n- // @ts-expect-error - s... | 2025-02-26T16:45:06 |
nodejs/node | 4b486e5e284da1a9975f867ea8c7b72740c8085a | 8aff50413a8b7d7b44172d153d1843aa85effacd | doc: fix `Type` notation in webstreams
Replace `type` with `Type: {Promise}`. Plus, fix incorrect
verb(`creates` -> `returns`) in description.
PR-URL: https://github.com/nodejs/node/pull/49121
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il> | [
{
"path": "doc/api/webstreams.md",
"patch": "@@ -895,7 +895,7 @@ added: v16.5.0\n \n * Returns: {WritableStreamDefaultWriter}\n \n-Creates and creates a new writer instance that can be used to write\n+Creates and returns a new writer instance that can be used to write\n data into the `WritableStream`.\n \n ... | 2023-08-14T22:40:02 |
facebook/react | f468816ef1000b2fe0086feabc0115b86f299cad | 5d08a24c21dcb3d42ea628ce3f94bdbd0d432756 | Fix false positive hydration warnings (#23364)
* Failing test for react#23331
* Don't warn on hydration mismatch if suspended
When something suspends during hydration, we continue rendering the
siblings to warm up the cache and fire off any lazy network requests.
However, if there are any mismatches while rend... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -301,6 +301,72 @@ describe('ReactDOMFizzServer', () => {\n );\n });\n \n+ // @gate experimental\n+ it('#23331: does not warn about hydration mismatches if something suspended in an earlier sibling', async () => {\n... | 2022-02-25T23:10:10 |
golang/go | 8efb5ebfd02a8e5cb6c79c5cd0e093fe896e6347 | 7a5fc9b34deb8d9fe22c9d060a5839827344fcc2 | runtime: switch cputicks and switchToCrashStack0 on loong64 to regabi
goos: linux
goarch: loong64
pkg: runtime
cpu: Loongson-3A6000 @ 2500.00MHz
| old.bench | new.bench |
| sec/op | sec/op vs base |
SelectUncontended ... | [
{
"path": "src/runtime/asm_loong64.s",
"patch": "@@ -91,9 +91,8 @@ TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0\n \tRET // not reached\n \n // func cputicks() int64\n-TEXT runtime·cputicks(SB),NOSPLIT,$0-8\n+TEXT runtime·cputicks<ABIInternal>(SB),NOSPLIT,$0-8\n \tRDTIMED\tR0, R4\n-\tMOVV\tR4, ret+0(FP)\n \tR... | 2024-09-03T02:04:02 |
vercel/next.js | 78ac4e2edce1ab749e290f2c912ce7b2688171bc | d222ece69f0269274df1eea958a0ae96b8ff0ee3 | Skip globally installing turbo CLI (#76532)
This aims to avoid the below error with globally installing `turbo` with
`npm` by using `pnpm dlx` the same as we are for the DataDog CLI.
```sh
Run npm i -g turbo@2.3.3 && node ./scripts/pull-turbo-cache.js x86_64-unknown-linux-musl
npm error code ENOTEMPTY
npm error sysca... | [
{
"path": ".github/workflows/build_and_deploy.yml",
"patch": "@@ -146,8 +146,8 @@ jobs:\n # --env-mode loose is a breaking change required with turbo 2.x since Strict mode is now the default\n # TODO: we should add the relevant envs later to to switch to strict mode\n bui... | 2025-02-26T16:18:37 |
electron/electron | f9bfd1da2522bcdc2cff43065ea90666e3693dd0 | 9b5dd5380f40d8feaea4f911ca8b9d224e41315c | fix: properly order out child windows (#29821) | [
{
"path": "shell/browser/native_window_mac.mm",
"patch": "@@ -553,6 +553,15 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n return;\n }\n \n+ // Hide all children of the current window before hiding the window.\n+ // components/remote_cocoa/app_shim/native_widget_ns_window_bridge.mm\n+ /... | 2021-06-24T18:43:28 |
nodejs/node | b5740756ca67b5477803cb55921535042e301c9d | 634eb505a4a12c8a22de840045acaadd457915bf | test_runner: reland run global after() hook earlier
This commit reverts the revert in
bb52656fc627e4f48a0f706756873b593d81372a. It also includes the
fix for the issue that required the revert
(https://github.com/nodejs/node/pull/49059#issuecomment-1675171959)
and an additional common.mustCall() in the added test.
Ref... | [
{
"path": "lib/internal/test_runner/harness.js",
"patch": "@@ -142,8 +142,8 @@ function setup(root) {\n const rejectionHandler =\n createProcessEventHandler('unhandledRejection', root);\n const coverage = configureCoverage(root, globalOptions);\n- const exitHandler = async () => {\n- await root.... | 2023-08-14T14:29:29 |
facebook/react | 5d08a24c21dcb3d42ea628ce3f94bdbd0d432756 | 629036a9c4fa925351fe714162dd2218eef3ac56 | useId: Use 'H' to separate main id from hook index (#23363)
No id should be a subset of any other id. Currently, this is not true
when there are multiple hooks in the same component. We append the
hook index to the end of the id, except for the first one. So you get
this pattern.
Before this change:
- 1st hoo... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMUseId-test.js",
"patch": "@@ -93,7 +93,7 @@ describe('useId', () => {\n }\n \n function normalizeTreeIdForTesting(id) {\n- const result = id.match(/:(R|r)(.*):(([0-9]*):)?/);\n+ const result = id.match(/:(R|r)([a-z0-9]*)(H([0-9]*))?:/);\n if ... | 2022-02-25T20:46:59 |
golang/go | 7a5fc9b34deb8d9fe22c9d060a5839827344fcc2 | 0ee5d20b1fe617e425d1798a4f7439cf8c337459 | os: add clone(CLONE_PIDFD) check to pidfd feature check
clone(CLONE_PIDFD) was added in Linux 5.2 and pidfd_open was added in
Linux 5.3. Thus our feature check for pidfd_open should be sufficient to
ensure that clone(CLONE_PIDFD) works.
Unfortuantely, some alternative Linux implementations may not follow
this strict ... | [
{
"path": "src/os/pidfd_linux.go",
"patch": "@@ -8,6 +8,10 @@\n // v5.3: pidfd_open syscall, clone3 syscall;\n // v5.4: P_PIDFD idtype support for waitid syscall;\n // v5.6: pidfd_getfd syscall.\n+//\n+// N.B. Alternative Linux implementations may not follow this ordering. e.g.,\n+// QEMU user mode 7.2 a... | 2024-06-11T20:34:38 |
rust-lang/rust | 1f207edc5a646a6c4d98f929423974bbe3a1cb5e | 80fce9b0f5c7d6b3a09534379ba7b2ccb5ed59bb | fix(useless_conversion): stop adjustments when target type is reached | [
{
"path": "clippy_lints/src/useless_conversion.rs",
"patch": "@@ -456,13 +456,25 @@ fn has_eligible_receiver(cx: &LateContext<'_>, recv: &Expr<'_>, expr: &Expr<'_>)\n \n fn adjustments(cx: &LateContext<'_>, expr: &Expr<'_>) -> String {\n let mut prefix = String::new();\n- for adj in cx.typeck_results... | 2025-12-17T13:34:50 |
vercel/next.js | 0c6f63572db5230815467ba1e26666938342d119 | 3396eac787b83c8bb9dfa6a4b60976526fcf66f2 | fix: remove initial-scale=1 from viewport when set to false (#76397)
Co-authored-by: Jiachi Liu <inbox@huozhi.im> | [
{
"path": "packages/next/src/lib/metadata/generate/basic.tsx",
"patch": "@@ -5,7 +5,6 @@ import type {\n } from '../types/metadata-interface'\n import type { ViewportLayout } from '../types/extra-types'\n \n-import React from 'react'\n import { Meta, MetaFilter, MultiMeta } from './meta'\n import { Viewport... | 2025-02-26T13:39:44 |
electron/electron | 9b5dd5380f40d8feaea4f911ca8b9d224e41315c | 0f16575eee89c6ca658beceb138eee94ace2f5c8 | fix: Inspector method overrides when contextIsolation enabled (#29841) | [
{
"path": "lib/renderer/inspector.ts",
"patch": "@@ -1,16 +1,32 @@\n+import { internalContextBridge } from '@electron/internal/renderer/api/context-bridge';\n import { ipcRendererInternal } from '@electron/internal/renderer/ipc-renderer-internal';\n import * as ipcRendererUtils from '@electron/internal/rend... | 2021-06-24T18:36:22 |
nodejs/node | 634eb505a4a12c8a22de840045acaadd457915bf | 52b3007f89875f5a72e25c2e82eceba2ac095b8f | src: refactor vector writing in snapshot builder
- Build a static table of octal strings and use it instead of
building octal strings repeatedly during printing.
- Print a newline and an offset for every 64 bytes in the case
of printing array literals so it's easier to locate
variation in snapshot blobs.
- Rewor... | [
{
"path": "node.gyp",
"patch": "@@ -885,9 +885,6 @@\n 'node_target_type==\"executable\"', {\n 'defines': [ 'NODE_ENABLE_LARGE_CODE_PAGES=1' ],\n }],\n- ['OS in \"linux mac\"', {\n- 'defines': [ 'NODE_MKSNAPSHOT_USE_STRING_LITERALS' ],\n- }],\n [ 'us... | 2023-08-14T12:53:02 |
facebook/react | 3a60844a0f3449d7e6d208e31df44c5ba3466e38 | 8d0d0e9a8aadc4bdddff3a40871dbc54c63264f3 | Update error message for suspending at sync priority (#23361)
Instead of adding a new Suspense boundary, the default recommendation
is to wrap the suspending update with startTransition. | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMServerSuspense-test.internal.js",
"patch": "@@ -187,7 +187,7 @@ describe('ReactDOMServerSuspense', () => {\n 1,\n );\n },\n- 'Add a <Suspense fallback=...> component higher in the tree',\n+ 'A component suspended while res... | 2022-02-25T02:02:06 |
golang/go | 301499ff7babb4a5137069510b16bb51b08af2c6 | c1fe637eda9b198cf3acad4eee6db8bc03b602f9 | cmd/go: explicitly add default GODEBUG to linker config
Previously we expected the default GODEBUG that's embedded in the binary
to be taken into account for build actionIDs through the build info. The
build info contains the default GODEBUG for a package main, and then
that build info is used to generate the action i... | [
{
"path": "src/cmd/go/internal/work/exec.go",
"patch": "@@ -1425,6 +1425,14 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) {\n \t\t\tfmt.Fprintf(h, \"GOEXPERIMENT=%q\\n\", cfg.CleanGOEXPERIMENT)\n \t\t}\n \n+\t\t// The default godebug is embedded in the binary. For main packages it's\n... | 2024-09-04T19:40:55 |
rust-lang/rust | a978fdcdace3c9bee4d11e03ee3ea2be5792025c | 978d75e373a3942424ff873cb2024678b6954492 | fix: use crates where ADT was defined in deref_chain of trait_applicable_items | [
{
"path": "src/tools/rust-analyzer/crates/ide-completion/src/tests/flyimport.rs",
"patch": "@@ -1976,3 +1976,51 @@ fn main() {\n \"#]],\n );\n }\n+\n+#[test]\n+fn trait_method_import_across_multiple_crates() {\n+ let fixture = r#\"\n+ //- /lib.rs crate:test-trait\n+ pub trait Te... | 2026-01-06T19:49:14 |
vercel/next.js | f7a86cfe707fb7dd1972af2be80a3a2a5187cc50 | bb03ec428f6c63efb711877f9d65a0be009fa744 | [dev-overlay]: fix invalid font in info panels (#76519)
Fixes a typo | [
{
"path": "packages/next/src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/turbopack-info.tsx",
"patch": "@@ -114,7 +114,7 @@ export const DEV_TOOLS_INFO_TURBOPACK_INFO_STYLES = `\n .dev-tools-info-code {\n background: var(--color-gray-400);\n color: v... | 2025-02-26T02:15:46 |
electron/electron | 0f16575eee89c6ca658beceb138eee94ace2f5c8 | 9de8e676dd06bc172c4dee38a9bde8306229417f | fix: stop window.open from hanging when prevented (#29851) | [
{
"path": "lib/browser/guest-window-proxy.ts",
"patch": "@@ -76,6 +76,7 @@ ipcMainInternal.on(\n const referrer: Electron.Referrer = { url: '', policy: 'strict-origin-when-cross-origin' };\n const browserWindowOptions = event.sender._callWindowOpenHandler(event, { url, frameName, features, dispositi... | 2021-06-24T15:50:48 |
facebook/react | 8d0d0e9a8aadc4bdddff3a40871dbc54c63264f3 | efe4121ee218099539523a713272edadbaafca2a | Deprecate renderToNodeStream (and fix textarea bug) (#23359)
* Deprecate renderToNodeStream
* Use renderToPipeableStream in tests instead of renderToNodeStream
This is the equivalent API. This means that we have way less test coverage
of this API but I feel like that's fine since it has a deprecation warning
i... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMServerIntegrationElements-test.js",
"patch": "@@ -101,7 +101,7 @@ describe('ReactDOMServerIntegration', () => {\n ) {\n // For plain server markup result we have comments between.\n // If we're able to hydrate, they remain.\n- ... | 2022-02-25T01:09:03 |
nodejs/node | 52b3007f89875f5a72e25c2e82eceba2ac095b8f | de4553f3d11f07fa63e19069daa1b0890052d8b2 | doc: fix name of the flag in `initialize()` docs
PR-URL: https://github.com/nodejs/node/pull/49158
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com> | [
{
"path": "doc/api/esm.md",
"patch": "@@ -766,7 +766,7 @@ added: REPLACEME\n The `initialize` hook provides a way to define a custom function that runs\n in the loader's thread when the loader is initialized. Initialization happens\n when the loader is registered via [`register`][] or registered via the\n-`... | 2023-08-14T11:42:30 |
golang/go | c1fe637eda9b198cf3acad4eee6db8bc03b602f9 | 30f3931c5411a9b3bd9da3eaae71375a232b12cb | cmd/go: set environment LANG=C when getting compiler version
Compiler's version will not work well if gcc output have
different language. Like 'gcc -v', it may not output:
'gcc version xx.xx.x'
Fixes #69221
Change-Id: I4adcea79dfaaf5853dfb6e718468f8530c67da6a
GitHub-Last-Rev: 069787c0836f9be10e4bf71dd6c468ae47f6161... | [
{
"path": "src/cmd/go/internal/work/init.go",
"patch": "@@ -357,7 +357,9 @@ func compilerVersion() (version, error) {\n \t\tcompiler.err = func() error {\n \t\t\tcompiler.name = \"unknown\"\n \t\t\tcc := os.Getenv(\"CC\")\n-\t\t\tout, err := exec.Command(cc, \"--version\").Output()\n+\t\t\tcmd := exec.Comma... | 2024-09-06T13:42:49 |
facebook/react | efe4121ee218099539523a713272edadbaafca2a | 42f15b324f50d0fd98322c21646ac3013e30344a | Add : to beginning and end of every useId (#23360)
The ids generated by useId are unique per React root. You can create
additional ids by concatenating them with locally unique strings.
To support this pattern, no id will ever be a subset of another id. We
achieve this by adding a special character to the beginni... | [
{
"path": "packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js",
"patch": "@@ -614,7 +614,7 @@ describe('ReactHooksInspectionIntegration', () => {\n expect(tree[0].id).toEqual(0);\n expect(tree[0].isStateEditable).toEqual(false);\n expect(tree[0].name).toEqual('Id');... | 2022-02-25T01:07:41 |
vercel/next.js | 101ca810a38bfcc26ade2c6b463a5e0b32adbb28 | 77874b8ebfd839ac43306503502634ff7cd6f120 | refactor: clean up forked Form implementations (#76495)
Split out of #76184 because it got a bit involved and i want to do it in
isolation.
Removes dead code from the forked implementations of Form for app and
pages dir. There's some shared utils but not much. Mostly involves
removing code for prefetching and server ... | [
{
"path": "packages/next/src/client/app-dir/form.tsx",
"patch": "@@ -1,6 +1,6 @@\n 'use client'\n \n-import { useEffect, type HTMLProps, type FormEvent, useContext } from 'react'\n+import { useEffect, type FormEvent, useContext } from 'react'\n import { addBasePath } from '../add-base-path'\n import { useIn... | 2025-02-26T01:06:25 |
electron/electron | 2c01deae03781cf4a19afd4c2ee774df58059144 | d9d2f01563410b170d8b5dd17884fc9117c4138a | fix: deny instead of canceling when certificate-error passes false (#29826) | [
{
"path": "shell/browser/api/electron_api_app.cc",
"patch": "@@ -412,7 +412,7 @@ struct Converter<content::CertificateRequestResultType> {\n if (!ConvertFromV8(isolate, val, &b))\n return false;\n *out = b ? content::CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE\n- : content::CERTIFICAT... | 2021-06-23T23:40:51 |
nodejs/node | 71391987f721b79bda81a6d7f8f184effc45fd53 | b5da2f4dad721edd8fc979e1f75b2812d62567e7 | lib: fix MIME overmatch in data URLs
This commit adds the delimiters ^ and $ to the regex that matches the
MIME types for `data:` URLs.
PR-URL: https://github.com/nodejs/node/pull/49104
Fixes: https://github.com/nodejs/node/issues/48957
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du ... | [
{
"path": "lib/internal/modules/esm/formats.js",
"patch": "@@ -26,7 +26,7 @@ if (experimentalWasmModules) {\n function mimeToFormat(mime) {\n if (\n RegExpPrototypeExec(\n- /\\s*(text|application)\\/javascript\\s*(;\\s*charset=utf-?8\\s*)?/i,\n+ /^\\s*(text|application)\\/javascript\\s*(;\\s... | 2023-08-13T21:24:22 |
golang/go | e9a500f47dadcd73c970649a1072d28997617610 | e6138185db7f0c3390109b3324fc7478f7e20f97 | os: check for EACCES, not EPERM, in Getwd test
Fixes #69406
Change-Id: I1c6b1498d87f94cc9196a933c13df1c3369e19a2
Reviewed-on: https://go-review.googlesource.com/c/go/+/610756
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-S... | [
{
"path": "src/os/getwd_unix_test.go",
"patch": "@@ -60,10 +60,10 @@ func testGetwdDeep(t *testing.T, setPWD bool) {\n \t\twd, err := Getwd()\n \t\tt.Logf(\"Getwd len: %d\", len(wd))\n \t\tif err != nil {\n-\t\t\t// We can get an EPERM error if we can't read up\n+\t\t\t// We can get an EACCES error if we ca... | 2024-09-04T18:47:47 |
vercel/next.js | 0f02b289e83ffcab63221ba499cfb3c0b5033746 | 690f89dec695fc23bfabf9ba1d2f63af9124871d | Update error-recovery test snapshots for alternative bundler [3/n] (#76446)
Test Plan: `pnpm test-dev-rspack
test/development/acceptance/error-recovery.test.ts` | [
{
"path": "test/development/acceptance/error-recovery.test.ts",
"patch": "@@ -56,6 +56,29 @@ describe('pages/ error recovery', () => {\n \"stack\": [],\n }\n `)\n+ } else if (process.env.NEXT_RSPACK) {\n+ await expect({ browser, next }).toDisplayRedbox(`\n+ {\n+ \... | 2025-02-26T00:26:41 |
electron/electron | ff39a0e93931e6367af762f17057919b4499b1f6 | 129f92e1fad4620869474cc2e4b18b9a8c203a5a | fix: ensure set vibrancy with invalid value is a no-op (#29795) | [
{
"path": "shell/browser/native_window_mac.mm",
"patch": "@@ -1384,29 +1384,6 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {\n return;\n }\n \n- if (vibrantView == nil) {\n- vibrantView = [[[NSVisualEffectView alloc]\n- initWithFrame:[[window_ contentView] bounds]] autorelease];\n... | 2021-06-23T06:09:42 |
nodejs/node | b5da2f4dad721edd8fc979e1f75b2812d62567e7 | 9fc57006c27564ed7f75eee090eca86786508f51 | esm: fix `globalPreload` warning
PR-URL: https://github.com/nodejs/node/pull/49069
Fixes: https://github.com/nodejs/node/issues/49026
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Jacob Smith <jacob@frende.me> | [
{
"path": "lib/internal/modules/esm/hooks.js",
"patch": "@@ -86,7 +86,6 @@ let importMetaInitializer;\n \n // [2] `validate...()`s throw the wrong error\n \n-let globalPreloadWarned = false;\n class Hooks {\n #chains = {\n /**\n@@ -162,12 +161,9 @@ class Hooks {\n } = pluckHooks(exports);\n \n ... | 2023-08-13T14:37:32 |
facebook/react | 52c393b5d261550609dda955f059a26d1db63538 | 1ad8d81292415e26ac070dec03ad84c11fbe207d | Revert to client render on text mismatch (#23354)
* Refactor warnForTextDifference
We're going to fork the behavior of this function between concurrent
roots and legacy roots.
The legacy behavior is to warn in dev when the text mismatches during
hydration. In concurrent roots, we'll log a recoverable error and... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js",
"patch": "@@ -3361,4 +3361,77 @@ describe('ReactDOMServerPartialHydration', () => {\n '<div>1</div><span>client</span><div>2</div>',\n );\n });\n+\n+ // @gate enableClientRenderFallbackOnHydrationMisma... | 2022-02-24T05:23:56 |
vercel/next.js | d46d3efd8761b344b47a8e381d03b57fff6602a7 | 5c531cc2d21701193294de6bee55c80eab6acb53 | Correcting typo (#76440)
<!-- 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.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentati... | [
{
"path": "docs/01-app/01-getting-started/06-fetching-data.mdx",
"patch": "@@ -130,7 +130,7 @@ export default function Page() {\n }\n ```\n \n-Then, in your Client Component, use the `use` hook read the promise:\n+Then, in your Client Component, use the `use` hook to read the promise:\n \n ```tsx filename=\... | 2025-02-25T23:32:31 |
nodejs/node | dde8510e830d60ef2f5bdd744b8a71543d5d01b4 | 569267d04832345e0984049ba50dd5587db7c13a | test: document `fixtures.fileURL()`
PR-URL: https://github.com/nodejs/node/pull/49083
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "test/common/README.md",
"patch": "@@ -679,6 +679,12 @@ The absolute path to the `test/fixtures/` directory.\n \n Returns the result of `path.join(fixtures.fixturesDir, ...args)`.\n \n+### `fixtures.fileURL(...args)`\n+\n+* `...args` [\\<string>][<string>]\n+\n+Returns the result of `url.pathToFil... | 2023-08-13T01:30:00 |
electron/electron | 129f92e1fad4620869474cc2e4b18b9a8c203a5a | 6e310b7424c1b6bb22f69a0fadd869f44913ed04 | fix: child window alwaysOnTop level persistence (#29813)
* fix: child window alwaysOnTop level
* chore: add undocumented getAlwaysOnTopLevel
* test: add test for level persistence
* Address feedback from review | [
{
"path": "shell/browser/api/electron_api_base_window.cc",
"patch": "@@ -882,6 +882,10 @@ void BaseWindow::SetVibrancy(v8::Isolate* isolate, v8::Local<v8::Value> value) {\n }\n \n #if defined(OS_MAC)\n+std::string BaseWindow::GetAlwaysOnTopLevel() {\n+ return window_->GetAlwaysOnTopLevel();\n+}\n+\n void B... | 2021-06-23T06:09:09 |
facebook/react | 2c693b2dee6e0a644e9e952b5c2b64a1b21c8e55 | 1760b27c02b632594048183a93afc7881203a230 | Re-add reentrancy avoidance (#23342)
* tests: add failing test to demonstrate bug in ReadableStream implementation
* Re-add reentrancy avoidance
I removed the equivalency of this in #22446. However, I didn't fully
understand the intended semantics of the spec but I understand this better
now.
The spec is no... | [
{
"path": "packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMBrowser-test.js",
"patch": "@@ -69,6 +69,31 @@ describe('ReactFlightDOMBrowser', () => {\n }\n }\n \n+ function makeDelayedText(Model) {\n+ let error, _resolve, _reject;\n+ let promise = new Promise((resolve, reject) => {\... | 2022-02-23T05:33:41 |
vercel/next.js | 5c531cc2d21701193294de6bee55c80eab6acb53 | 54fd984060f191ecaa4e0a42290d8790de6ab13f | Docs: Fix minor typo in `api-reference/functions/cookies.mdx` (#76376)
Small grammatical improvement on the cookieStore API docs.
<!-- 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.
Choose... | [
{
"path": "docs/01-app/04-api-reference/04-functions/cookies.mdx",
"patch": "@@ -3,7 +3,7 @@ title: cookies\n description: API Reference for the cookies function.\n ---\n \n-`cookies` is an **async** function that allows you to read the HTTP incoming request cookies in [Server Component](/docs/app/building-... | 2025-02-25T23:31:41 |
nodejs/node | 569267d04832345e0984049ba50dd5587db7c13a | 607a545904629080c154ce6c5341e9201092cfc0 | esm: import.meta.resolve exact module not found errors should return
PR-URL: https://github.com/nodejs/node/pull/49038
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mo... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -1453,8 +1453,12 @@ E('ERR_MISSING_ARGS',\n return `${msg} must be specified`;\n }, TypeError);\n E('ERR_MISSING_OPTION', '%s is required', TypeError);\n-E('ERR_MODULE_NOT_FOUND', (path, base, type = 'package') => {\n- return `Cannot find ${type} '${pa... | 2023-08-13T00:02:03 |
electron/electron | c5066cce22d1fc3660e003adabd6829819645d3b | 92901ddf18f8b90fbdadd95348fd66dc10a3a335 | docs: fix broken markdown in dialog.md (#29782) | [
{
"path": "docs/api/dialog.md",
"patch": "@@ -24,7 +24,7 @@ The `dialog` module has the following methods:\n * `buttonLabel` String (optional) - Custom label for the confirmation button, when\n left empty the default label will be used.\n * `filters` [FileFilter[]](structures/file-filter.md) (option... | 2021-06-22T16:49:30 |
facebook/react | 552c067bb18062f6a1bba2fc848033abd2ea8090 | 4de99b3ca689e8f995f90f199cd8d7bfb4b35eca | Remove public export for unstable-shared-subset.js (#23261)
The unstable-shared-subset.js file is not a public module — it's a
private module that the "react" package maps to when it's accessed from
the "react-server" package.
We originally added it because it was required to make our Rollup
configuration work, ... | [
{
"path": "packages/react/npm/react.shared-subset.js",
"patch": "@@ -0,0 +1,7 @@\n+'use strict';\n+\n+if (process.env.NODE_ENV === 'production') {\n+ module.exports = require('./cjs/react.shared-subset.production.min.js');\n+} else {\n+ module.exports = require('./cjs/react.shared-subset.development.js');... | 2022-02-23T01:03:51 |
golang/go | eb975601a07ad25a47fdcb0cc6166ec695973d3e | 69827b5c8ddf93be65bfc8b17d331bb3ff7b704c | cmd/compile: correct wasmexport result type checking
The function resultsToWasmFields was originally for only
wasmimport. I adopted it for wasmexport as well, but forgot to
update a few places that were wasmimport-specific. This leads to
compiler panic if an invalid result type is passed, and also
unsafe.Pointer not a... | [
{
"path": "src/cmd/compile/internal/ssagen/abi.go",
"patch": "@@ -451,8 +451,10 @@ func resultsToWasmFields(f *ir.Func, pragma string, result *abi.ABIParamResultIn\n \t\t\twfs[i].Type = obj.WasmF32\n \t\tcase types.TFLOAT64:\n \t\t\twfs[i].Type = obj.WasmF64\n+\t\tcase types.TUNSAFEPTR:\n+\t\t\twfs[i].Type ... | 2024-09-05T22:56:26 |
vercel/next.js | 54fd984060f191ecaa4e0a42290d8790de6ab13f | 476940ebb1d83608e11b4fe0a054332ad372cc60 | docs: fix typo in route-segment-config (#74403)
Fix typo.
Co-authored-by: Sam Ko <sam@vercel.com> | [
{
"path": "docs/01-app/04-api-reference/03-file-conventions/route-segment-config.mdx",
"patch": "@@ -203,7 +203,7 @@ By default, Next.js does not limit the execution of server-side logic (rendering\n Deployment platforms can use `maxDuration` from the Next.js build output to add specific execution limits.\n... | 2025-02-25T23:30:31 |
nodejs/node | 27cadf5e933913ab5505211bef4ac589348dab26 | 8358ce44869228a43922e054eb612620b04a6702 | fs: fix readdir recursive sync & callback
Refs: https://github.com/nodejs/node/issues/48640
PR-URL: https://github.com/nodejs/node/pull/48698
Fixes: https://github.com/nodejs/node/issues/48858
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Mosh... | [
{
"path": "lib/fs.js",
"patch": "@@ -1443,14 +1443,21 @@ function readdirSyncRecursive(basePath, options) {\n );\n handleErrorFromBinding(ctx);\n \n- for (let i = 0; i < readdirResult.length; i++) {\n- if (withFileTypes) {\n+ if (withFileTypes) {\n+ // Calling `readdir` with `withFil... | 2023-08-12T20:55:36 |
electron/electron | bc8cb75e4e7c1d216d8d72a5d53d353b18087282 | 0ad73ac423bcd787405ad619b06934ed47e13a3a | fix: properly handle optional requestHeaders with onBeforeSendHeaders (#29798) | [
{
"path": "shell/browser/api/electron_api_web_request.cc",
"patch": "@@ -214,8 +214,11 @@ void ReadFromResponse(v8::Isolate* isolate,\n void ReadFromResponse(v8::Isolate* isolate,\n gin::Dictionary* response,\n net::HttpRequestHeaders* headers) {\n- headers->Clea... | 2021-06-22T06:08:52 |
facebook/react | 4de99b3ca689e8f995f90f199cd8d7bfb4b35eca | 40eaa22d9af685c239f9d8d42b454d031791e76d | fix getSnapshot warning when a selector returns NaN (#23333)
* fix getSnapshot warning when a selector returns NaN
useSyncExternalStoreWithSelector delegate a selector as
getSnapshot of useSyncExternalStore.
* Fiber's use sync external store has a same issue
* Small nits
We use Object.is to check whether ... | [
{
"path": "packages/react-reconciler/src/ReactFiberHooks.new.js",
"patch": "@@ -1290,7 +1290,8 @@ function mountSyncExternalStore<T>(\n nextSnapshot = getSnapshot();\n if (__DEV__) {\n if (!didWarnUncachedGetSnapshot) {\n- if (nextSnapshot !== getSnapshot()) {\n+ const cachedSnap... | 2022-02-21T06:07:41 |
golang/go | 820329508aa55ccbb90996e8840acb5859f84557 | 26aa8d6eb8faf05bbbb87a4f531e3e0fe4feed44 | runtime: Goexit on C-created thread report more useful error message
This reverts CL 609296, with the fix for failing builders.
Fixes #68275
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-nocgo,gotip-darwin-amd64-nocgo,gotip-linux-ppc64_power10,gotip-linux-ppc64_power8
Change-Id: I0f539ee7b0be720642eee8885946... | [
{
"path": "src/runtime/crash_cgo_test.go",
"patch": "@@ -859,3 +859,13 @@ func TestStackSwitchCallback(t *testing.T) {\n \t\tt.Errorf(\"expected %q, got %v\", want, got)\n \t}\n }\n+\n+func TestCgoToGoCallGoexit(t *testing.T) {\n+\tif runtime.GOOS == \"plan9\" || runtime.GOOS == \"windows\" {\n+\t\tt.Skipf(... | 2024-09-11T06:33:42 |
rust-lang/rust | 630c7596e959e6ab9b18552e81081e5ff346b1c3 | bd33b83cfdbac9bffa3b04aaef95ec97827909a9 | Ensure that static initializers are acyclic for NVPTX
NVPTX does not support cycles in static initializers. LLVM produces an error when attempting to codegen such constructs (like self referential structs).
To not produce LLVM UB we instead emit a post-monomorphization error on
Rust side before reaching codegen.
Thi... | [
{
"path": "Cargo.lock",
"patch": "@@ -4421,6 +4421,7 @@ dependencies = [\n \"rustc_errors\",\n \"rustc_fluent_macro\",\n \"rustc_hir\",\n+ \"rustc_index\",\n \"rustc_macros\",\n \"rustc_middle\",\n \"rustc_session\",",
"additions": 1,
"deletions": 0,
"language": "Unknown"
},
{
"pat... | 2026-01-01T18:25:29 |
vercel/next.js | 5ba0ccdc210b53d4260eee20dce511bf2bf25feb | 87988d006db6e746f8a80cb333cf2ba7272a0ab0 | chore(CI): Only update areweturboyet datasets for other bundlers from canary branch results (#76449)
#76361 fixes areweturboyet runs for rspack on canary. We should just gather data from canary to avoid any confusion going forward. | [
{
"path": "test/build-rspack-build-tests-manifest.js",
"patch": "@@ -91,10 +91,9 @@ async function fetchLatestTestArtifact() {\n const res = JSON.parse(stdout)\n \n for (const artifact of res.artifacts) {\n- // Temporarily allow other branches too\n- // if (artifact.expired || artifact.workflow_ru... | 2025-02-25T22:53:14 |
nodejs/node | c39f04c141dc72aeb38bce114abe0a2f0898f002 | 32245275b50a455713ff753de6b1be494e077464 | events: remove weak listener for event target
Fixes: https://github.com/nodejs/node/issues/48951
PR-URL: https://github.com/nodejs/node/pull/48952
Reviewed-By: Chemi Atlow <chemi@atlow.co.il> | [
{
"path": "lib/internal/event_target.js",
"patch": "@@ -58,6 +58,7 @@ const kWeakHandler = Symbol('kWeak');\n const kResistStopPropagation = Symbol('kResistStopPropagation');\n \n const kHybridDispatch = SymbolFor('nodejs.internal.kHybridDispatch');\n+const kRemoveWeakListenerHelper = Symbol('nodejs.interna... | 2023-08-12T18:20:54 |
facebook/react | 51c8411d9dab33290b794fe716b9514e7db1fb68 | 79ed5e18fd5dba4148e3ca73da53fd6eef037209 | Log a recoverable error whenever hydration fails (#23319)
There are several cases where hydration fails, server-rendered HTML is
discarded, and we fall back to client rendering. Whenever this happens,
we will now log an error with onRecoverableError, with a message
explaining why.
In some of these scenarios, thi... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -358,7 +358,11 @@ describe('ReactDOMFizzServer', () => {\n window.__INIT__ = function() {\n bootstrapped = true;\n // Attempt to hydrate the content.\n- ReactDOM.hydrateRoot(container, <App isClient={t... | 2022-02-17T20:16:17 |
rust-lang/rust | 14ac6a1d3a3e153a546d3e71b51866ca77a02dcd | d7fa6e527fef7337dc25b1e824664dd5847ba4a2 | Modified to output error messages appropriate to the situation | [
{
"path": "compiler/rustc_codegen_llvm/messages.ftl",
"patch": "@@ -1,5 +1,7 @@\n-codegen_llvm_autodiff_component_unavailable = failed to load our autodiff backend.\n- .note = load error: {$err}\n+codegen_llvm_autodiff_component_missing = autodiff backend not found in the sysroot: {$err}\n+ .note = it... | 2026-01-06T15:19:09 |
golang/go | ec67622d04ea379ecd0dcff065267371cce69f72 | 9deda35ff81acb1dcb6fc66d69fa6da6ca4f5d87 | cmd/compile, go/types: add missing space in error message
Otherwise "print(nil)" gets an error like
use of untyped nil in argument to built-inprint
Change-Id: Iaa841df106f90787031dce75a49af69860a9dbc9
Reviewed-on: https://go-review.googlesource.com/c/go/+/611918
Commit-Queue: Ian Lance Taylor <iant@google.com>
Re... | [
{
"path": "src/cmd/compile/internal/types2/builtins.go",
"patch": "@@ -641,7 +641,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\tif nargs > 0 {\n \t\t\tparams = make([]Type, nargs)\n \t\t\tfor i, a := range args {\n-\t\t\t\tcheck.assignment(a, nil, \"argument to ... | 2024-09-10T20:27:56 |
nodejs/node | 32245275b50a455713ff753de6b1be494e077464 | 87af913b66eab78088acfd7f3b57d35e22c5f1ba | lib: fix to add resolve() before return at Blob.stream()'s source.pull()
Add lacked calling resolve() for finish ReadableStream source.pull().
Fixes: https://github.com/nodejs/node/issues/48668
Fixes: https://github.com/nodejs/node/issues/48916
Fixes: https://github.com/nodejs/node/issues/48232
Refs: https://github.c... | [
{
"path": "lib/internal/blob.js",
"patch": "@@ -360,6 +360,11 @@ class Blob {\n queueMicrotask(() => {\n if (c.desiredSize <= 0) {\n // A manual backpressure check.\n+ if (this.pendingPulls.length !== 0) {\n+ // A case of waiting pull... | 2023-07-26T13:24:02 |
facebook/react | 79ed5e18fd5dba4148e3ca73da53fd6eef037209 | 80059bb7307e30234ebcc9e6b491c0606e66e6c7 | Delete vestigial RetryAfterError logic (#23312)
This code was originally added to force a client render after receiving
an error during hydration. Later we added the ForceClientRender to
implement the same behavior, but scoped to an individual Suspense
boundary instead of all the boundaries in the entire root. So i... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -1864,6 +1864,83 @@ describe('ReactDOMFizzServer', () => {\n }\n });\n \n+ // @gate experimental\n+ it(\n+ 'errors during hydration in the shell force a client render at the ' +\n+ 'root, and during the cli... | 2022-02-17T15:24:03 |
golang/go | a9bd84e03786e8bd4bfb3780ce3283b0f3e1f3bf | 493517bb5c84e8f88ba74d4d2e8c3ac58fda7839 | Revert "runtime: Goexit on C-created thread report more useful error message"
This reverts CL 602296.
Reason for revert: Failing on several builders.
Change-Id: I889c566d34294032c330d4f9402300ad0d5d3bf5
Reviewed-on: https://go-review.googlesource.com/c/go/+/611919
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-proj... | [
{
"path": "src/runtime/panic.go",
"patch": "@@ -614,8 +614,6 @@ func deferreturn() {\n // without func main returning. Since func main has not returned,\n // the program continues execution of other goroutines.\n // If all other goroutines exit, the program crashes.\n-//\n-// It crashes if called from a thr... | 2024-09-10T22:56:40 |
nodejs/node | 87af913b66eab78088acfd7f3b57d35e22c5f1ba | e68e359aae4048404bfefda0817eff25bd48688a | readline: add paste bracket mode
The paste bracket mode allows REPL to have auto-indentation
that is handled differently when the user copy-pastes the code
from the clipboard and the code already has an indentation.
PR-URL: https://github.com/nodejs/node/pull/47150
Fixes: https://github.com/nodejs/node/issues/45213
R... | [
{
"path": "lib/internal/readline/utils.js",
"patch": "@@ -148,8 +148,10 @@ function* emitKeys(stream) {\n *\n * - `;5` part is optional, e.g. it could be `\\x1b[24~`\n * - first part can contain one or two digits\n+ * - there is also special case when there can be 3 dig... | 2023-03-18T17:09:47 |
facebook/react | f7f7ed089eb04a3504762425baf1d673701c736b | 27b5699694f20220e0448f0ba3eb6bfa0d3a64ed | Allow suspending in the shell during hydration (#23304)
* Allow suspending in the shell during hydration
Builds on behavior added in #23267.
Initial hydration should be allowed to suspend in the shell. In
practice, this happens because the code for the outer shell hasn't
loaded yet.
Currently if you try to ... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzShellHydration-test.js",
"patch": "@@ -0,0 +1,216 @@\n+/**\n+ * Copyright (c) Facebook, Inc. and its affiliates.\n+ *\n+ * This source code is licensed under the MIT license found in the\n+ * LICENSE file in the root directory of this source tree.\n+ *... | 2022-02-16T17:47:50 |
golang/go | 493517bb5c84e8f88ba74d4d2e8c3ac58fda7839 | 8926ca9c5ec3ea0b51e413e87f737aeb1422ea48 | runtime, reflect: avoid allocation in structType.Field common cases
Use assembler to make runtime.staticuint64s into a readonly array
so that the reflect package can safely create a slice without requiring
any allocation.
Fixes #2320
Fixes #68380
Change-Id: If2c97238eca782d0632db265c840581d4ecb9d18
Reviewed-on: http... | [
{
"path": "src/reflect/all_test.go",
"patch": "@@ -23,6 +23,7 @@ import (\n \t\"reflect/internal/example1\"\n \t\"reflect/internal/example2\"\n \t\"runtime\"\n+\t\"runtime/debug\"\n \t\"slices\"\n \t\"strconv\"\n \t\"strings\"\n@@ -3532,6 +3533,14 @@ func TestAllocations(t *testing.T) {\n \t\t\tpanic(\"wron... | 2024-07-11T21:49:43 |
electron/electron | 0ad73ac423bcd787405ad619b06934ed47e13a3a | 98d2824c7f021dc3f4dea6996fcaa1e08529c446 | fix: allow ppapi processes access to resource bundle on all platforms (#29827)
* wip: debug resource bundle failure
* fix: include ppapi subprocesses for windows resource bundle
* fix: allow ppapi plugin processes access to resource bundle on all platforms.
Aligns with chrome_main_delegate here: https://chrom... | [
{
"path": "shell/app/electron_main_delegate.cc",
"patch": "@@ -97,9 +97,9 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) {\n #if defined(OS_MAC)\n // Mac needs them too for scrollbar related images and for sandbox\n // profiles.\n- process_type == ::switches::kPpapiP... | 2021-06-22T03:46:53 |
facebook/react | 08fce6208ed8bede70fa9291eac8412f20ac56b5 | 1fb0d06878416d321182ddb4601231982e7433c9 | Gracefully handle empty "xstyle" prop values (Part 2) (#23279)
#23190 misses if entry is undefined or null. This fixes this issue. | [
{
"path": "packages/react-devtools-shared/src/backend/StyleX/__tests__/utils-test.js",
"patch": "@@ -54,6 +54,13 @@ describe('Stylex plugin utils', () => {\n \"sources\": Array [],\n }\n `);\n+\n+ expect(getStyleXData([undefined])).toMatchInlineSnapshot(`\n+ Object {\n+ \"re... | 2022-02-11T19:36:36 |
nodejs/node | 6346bdc526eddefea72ed32e9ec9755cba3fa706 | 4e61c22699066f7581af24a9d51d64c7ec1026ff | test_runner: run global after() hook earlier
This commit moves the global after() hook execution from the
'beforeExit' event to the point where all tests have finished
running. This gives the global after() a chance to clean up
handles that would otherwise prevent the 'beforeExit' event
from being emitted.
PR-URL: ht... | [
{
"path": "lib/internal/test_runner/harness.js",
"patch": "@@ -142,8 +142,8 @@ function setup(root) {\n const rejectionHandler =\n createProcessEventHandler('unhandledRejection', root);\n const coverage = configureCoverage(root, globalOptions);\n- const exitHandler = async () => {\n- await root.... | 2023-08-07T21:59:10 |
vercel/next.js | dea02ce9ddfe2bd920e8ab1e884d2a56ca67cf37 | faae7019b0eec9d7ef572e3052e4c3275b6a9b64 | Add event for webpack plugin customization (#76477)
Add an event for if webpack plugins customized or not. While
investigating adding this I found that when webpack config is added it
does not propagate the event data because the build workers are opted
out of. I've fixed that bug in this PR as it prohibited the new e... | [
{
"path": "packages/next/src/build/webpack-build/index.ts",
"patch": "@@ -125,16 +125,29 @@ async function webpackBuildWithWorker(\n return combinedResult\n }\n \n-export function webpackBuild(\n+export async function webpackBuild(\n withWorker: boolean,\n compilerNames: typeof ORDERED_COMPILER_NAMES ... | 2025-02-25T21:29:23 |
golang/go | 8926ca9c5ec3ea0b51e413e87f737aeb1422ea48 | cdca67185573ca94734249584afd6cd2d3d58a84 | syscall: on exec failure, close pidfd
Fixes #69284
Change-Id: I6350209302778ba5e44fa03d0b9e680d2b4ec192
Reviewed-on: https://go-review.googlesource.com/c/go/+/611495
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: roger peppe <rogpeppe@gmail.com>
Reviewed-by: Tim... | [
{
"path": "src/os/pidfd_linux_test.go",
"patch": "@@ -9,6 +9,7 @@ import (\n \t\"internal/syscall/unix\"\n \t\"internal/testenv\"\n \t\"os\"\n+\t\"os/exec\"\n \t\"syscall\"\n \t\"testing\"\n )\n@@ -89,3 +90,58 @@ func TestStartProcessWithPidfd(t *testing.T) {\n \t\tt.Errorf(\"SendSignal: got %v, want %v\", ... | 2024-09-06T19:19:01 |
electron/electron | 507cbdc80a45580acfecf6c1c136471146910c83 | d4a1b411297ae7651441cf697b5251445c7a575c | fix: do not cancel CORS preflight request on proxy auth. (#29266)
* fix: do not cancel CORS preflight request on proxy auth.
If connecting via proxy, preflight request can receive 407
header response from proxy. This does not mean request
was finished even though it received headers (from proxy,
not the destinat... | [
{
"path": "shell/browser/net/proxying_url_loader_factory.cc",
"patch": "@@ -326,6 +326,14 @@ bool ProxyingURLLoaderFactory::IsForServiceWorkerScript() const {\n \n void ProxyingURLLoaderFactory::InProgressRequest::OnLoaderCreated(\n mojo::PendingReceiver<network::mojom::TrustedHeaderClient> receiver) {\... | 2021-06-21T05:06:52 |
nodejs/node | 4e61c22699066f7581af24a9d51d64c7ec1026ff | 35f2b42d062fa576692c4c566dd70bfeceed73d8 | test_runner: expose location of tests
This commit adds each test's line and column number to the reporter
output. This will aid in debugging test suite failures when error
stacks are not helpful, test suites are large, or tests have the
same name. This data is also exposed on the spec reporter.
This commit also repla... | [
{
"path": "doc/api/test.md",
"patch": "@@ -2034,8 +2034,12 @@ Emitted when code coverage is enabled and all tests have completed.\n ### Event: `'test:dequeue'`\n \n * `data` {Object}\n+ * `column` {number|undefined} The column number where the test is defined, or\n+ `undefined` if the test was run throu... | 2023-07-30T22:17:39 |
vercel/next.js | faae7019b0eec9d7ef572e3052e4c3275b6a9b64 | e2a3e5e1c307b8abb4066508fcfd2469b9212268 | [dev-overlay] sync suffix `N` of `--size-N` with `px` value of base font `16px` (#76384)
### Why?
Previously, `--size-4` was 16px in rem, but it wasn't intuitive. Therefore, changed to `--size-16`. | [
{
"path": "packages/next/src/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.tsx",
"patch": "@@ -70,8 +70,8 @@ export const CallStackFrame: React.FC<{\n \n export const CALL_STACK_FRAME_STYLES = `\n [data-nextjs-call-stack-frame-ignored] {\n- padding: var(--size-1_5)... | 2025-02-25T21:11:02 |
golang/go | fe69121bc538260cf91f11dab705335b690e51a3 | 3da4281df1b0c7ea11b524ff19fc2f409b8e58c0 | cmd/compile: optimize []byte(string1 + string2)
This CL optimizes the compilation of string-to-bytes conversion in the
case of string additions.
Fixes #62407
Change-Id: Ic47df758478e5d061880620025c4ec7dbbff8a64
Reviewed-on: https://go-review.googlesource.com/c/go/+/527935
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@... | [
{
"path": "src/cmd/compile/internal/test/issue62407_test.go",
"patch": "@@ -0,0 +1,62 @@\n+// Copyright 2024 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package test\n+\n+import (\n+\t\"reflect\"\n+\t\"... | 2023-09-13T09:44:17 |
electron/electron | d4a1b411297ae7651441cf697b5251445c7a575c | cfc846a3372d0397e50cc1f18dfdebeab57fd046 | fix: microtasks policy in CreateEnvironment (#29531)
* fix: microtasks policy in CreateEnvironment
Microtasks policy should not be updated for the renderer because
`NodeBindings::CreateEnvironment` might be entered with or without
`UvRunOnce()` on stack. One of the examples of such calls is
`window.open()` which... | [
{
"path": "shell/common/node_bindings.cc",
"patch": "@@ -482,9 +482,13 @@ node::Environment* NodeBindings::CreateEnvironment(\n // Node.js requires that microtask checkpoints be explicitly invoked.\n is.policy = v8::MicrotasksPolicy::kExplicit;\n } else {\n- // Match Blink's behavior by allowin... | 2021-06-21T05:06:17 |
nodejs/node | 54e4f1f5e6bf98782f31e047c1f5498dffd62ea2 | f1b3ade9480b43273bd66f9039118a8b842db703 | src: fix callback_queue.h missing header
PR-URL: https://github.com/nodejs/node/pull/48733
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> | [
{
"path": "src/callback_queue.h",
"patch": "@@ -4,6 +4,7 @@\n #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS\n \n #include <atomic>\n+#include <memory>\n \n namespace node {\n ",
"additions": 1,
"deletions": 0,
"language": "C/C++ Header"
}
] | 2023-08-10T23:07:09 |
vercel/next.js | 0756f552e21c09875563de4aa2faf3de8f33c6e0 | e071b839e4b676883f28132366b27aae3abdf78b | [dev-overlay]: fix inline docs to show correct info for given router (#76461)
The docs here differ depending on which router you're using. This wires the router type into overlay state so we can render different information in the popover. | [
{
"path": "packages/next/src/client/components/react-dev-overlay/app/client-entry.tsx",
"patch": "@@ -42,7 +42,11 @@ export function createRootLevelDevOverlayElement(reactEl: React.ReactElement) {\n return (\n <FallbackLayout>\n <AppDevOverlay\n- state={{ ...INITIAL_OVERLAY_STATE, rootLay... | 2025-02-25T20:23:36 |
electron/electron | cfc846a3372d0397e50cc1f18dfdebeab57fd046 | e7ae6edbd4ca9c31038c6ee6898aba6860fa15c7 | fix: relax app.getLocaleCountryCode() test (#29679)
If the app is run with LC_ALL=C on Linux, the test would fail as
app.getLocaleCountryCode() would return "".
Signed-off-by: Darshan Sen <raisinten@gmail.com> | [
{
"path": "spec-main/api-app-spec.ts",
"patch": "@@ -122,12 +122,9 @@ describe('app module', () => {\n \n describe('app.getLocaleCountryCode()', () => {\n it('should be empty or have length of two', () => {\n- let expectedLength = 2;\n- if (process.platform === 'linux' && process.env.CI) {\n... | 2021-06-21T05:05:28 |
facebook/react | 796fff5483925f90db5fe705af6d8b06fce661a5 | 64223fed82414ee41839e95ebc97df330b2b71ca | Allow suspending outside a Suspense boundary (#23267)
(If the update is wrapped in startTransition)
Currently you're not allowed to suspend outside of a Suspense boundary.
We throw an error:
> A React component suspended while rendering, but no fallback UI
was specified
We treat this case like an error beca... | [
{
"path": "packages/react-reconciler/src/ReactFiberThrow.new.js",
"patch": "@@ -62,6 +62,7 @@ import {\n } from './ReactFiberSuspenseContext.new';\n import {\n renderDidError,\n+ renderDidSuspendDelayIfPossible,\n onUncaughtError,\n markLegacyErrorBoundaryAsFailed,\n isAlreadyFailedLegacyErrorBound... | 2022-02-11T16:26:00 |
golang/go | 3da4281df1b0c7ea11b524ff19fc2f409b8e58c0 | 77e42fdeaf98d241dc09f4eb92e09225aea8f4c3 | runtime: Goexit on C-created thread report more useful error message
Fixes #68275
Change-Id: I47b7a2092f1b4d48aebf437db4e329815c956bb9
GitHub-Last-Rev: b89bf3cab7f9f7611122f535914f2788564643c5
GitHub-Pull-Request: golang/go#69126
Reviewed-on: https://go-review.googlesource.com/c/go/+/609296
Reviewed-by: Tim King <tak... | [
{
"path": "src/runtime/panic.go",
"patch": "@@ -614,6 +614,8 @@ func deferreturn() {\n // without func main returning. Since func main has not returned,\n // the program continues execution of other goroutines.\n // If all other goroutines exit, the program crashes.\n+//\n+// It crashes if called from a thr... | 2024-09-09T09:01:23 |
nodejs/node | b68e5e798138be0041ba9ace72d8d45e63c068a1 | 3868ae0f4ff4ef3bfef996e8cf95ff3858a84e8d | policy: handle Module.constructor and main.extensions bypass
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
PR-URL: https://github.com/nodejs-private/node-private/pull/417
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1960870
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=2043807
Reviewed-By... | [
{
"path": "lib/internal/modules/cjs/loader.js",
"patch": "@@ -152,8 +152,8 @@ const isWindows = process.platform === 'win32';\n const relativeResolveCache = { __proto__: null };\n \n let requireDepth = 0;\n-let statCache = null;\n let isPreloading = false;\n+let statCache = null;\n \n function internalRequi... | 2023-05-29T22:45:33 |
vercel/next.js | de922af901da69dcf985e09f13d335ad65b5a62d | 6a5d6764b9d615d62fd95207e3ecf34139e07b3e | [dev-overlay]: generalize ISR status functions for pages/app (#76457)
This renames the functions associated with setting the ISR status (used for the static indicator in the error overlay) to be more generic, in preparation for it being used by pages router. | [
{
"path": "packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx",
"patch": "@@ -340,7 +340,7 @@ function processMessage(\n }\n \n switch (obj.action) {\n- case HMR_ACTIONS_SENT_TO_BROWSER.APP_ISR_MANIFEST: {\n+ case HMR_ACTIONS_SENT_TO_BROWSER.ISR_MANIFEST: {\n i... | 2025-02-25T19:21:43 |
electron/electron | e7ae6edbd4ca9c31038c6ee6898aba6860fa15c7 | 8844034fa8c5ef62243f1a52aee9f1ffd4da5c19 | fix: update Squirel.Mac to fix CPU spin during update (#29791)
* fix: update Squirel.Mac to fix CPU spin during update
Refs: https://github.com/Squirrel/Squirrel.Mac/pull/259
Closes: #29119
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> | [
{
"path": "DEPS",
"patch": "@@ -23,7 +23,7 @@ vars = {\n # available.\n '65b32af46e9d7fab2e4ff657751205b3865f4920',\n 'squirrel.mac_version':\n- 'cdc0729c8bf8576bfef18629186e1e9ecf1b0d9f',\n+ '0e5d146ba13101a1302d59ea6e6e0b3cace4ae38',\n \n 'pyyaml_version': '3.12',\n ",
"additions": 1... | 2021-06-21T05:02:20 |
facebook/react | 64223fed82414ee41839e95ebc97df330b2b71ca | efd8f6442d1aa7c4566fe812cba03e7e83aaccc3 | Fix: Multiple hydration errors in same render (#23273)
I made a minor mistake in the original onRecoverableError PR that
only surfaces if there are hydration errors in two different Suspense
boundaries in the same render. This fixes it and adds a unit test. | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -2191,4 +2191,68 @@ describe('ReactDOMFizzServer', () => {\n // UI looks normal\n expect(container.textContent).toEqual('AB');\n });\n+\n+ // @gate experimental\n+ it('logs multiple hydration errors in the same... | 2022-02-10T16:40:00 |
nodejs/node | 3868ae0f4ff4ef3bfef996e8cf95ff3858a84e8d | 1f64147eb607f82060e08884f993597774c69280 | permission: ensure to resolve path when calling mkdtemp
PR-URL: https://github.com/nodejs-private/node-private/pull/440
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=2037887
Reviewed-By: Tobias Nießen <tniessen@tnie.de> | [
{
"path": "test/fixtures/permission/fs-traversal.js",
"patch": "@@ -51,7 +51,19 @@ const bufferTraversalPath = Buffer.from(allowedFolder + '../file.md');\n }, common.expectsError({\n code: 'ERR_ACCESS_DENIED',\n permission: 'FileSystemWrite',\n- resource: path.toNamespacedPath(path.resolve(trav... | 2023-06-28T19:18:00 |
rust-lang/rust | 4699fdc2887bd9a28921ca9e73193aa38f94d0c4 | 978d75e373a3942424ff873cb2024678b6954492 | Fix loses exists guard for move_guard
Example
---
```rust
fn main() {
let cond = true;
match 92 {
3 => true,
x if cond => if x $0> 10 {
false
} else if x > 5 {
true
} else if x > 4 || x < -2 {
false
} else {
true
},... | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/move_guard.rs",
"patch": "@@ -3,7 +3,7 @@ use syntax::{\n SyntaxKind::WHITESPACE,\n ast::{\n AstNode, BlockExpr, ElseBranch, Expr, IfExpr, MatchArm, Pat, edit::AstNodeEdit, make,\n- syntax_factory::SyntaxFactory,\n+ ... | 2026-01-06T08:53:34 |
vercel/next.js | dec0ebe6347c9444b1a33ccfee32569fb9440f47 | 121306dd245d0730f0058652e7a7a40a99e7c446 | Webpack: handle file:// urls when finding sourcemaps (#76443)
Previously we only handled the eval sourcemaps case where the module id
was encoded into the source url. This handles cases when the `file://`
protocol is used, such as with Rspack.
Test Plan: `pnpm test-dev-rspack
test/development/acceptance-app/rsc-r... | [
{
"path": "packages/next/src/client/components/react-dev-overlay/server/middleware-webpack.ts",
"patch": "@@ -287,6 +287,9 @@ async function getSource(\n ): Promise<Source | undefined> {\n const { getCompilations } = options\n \n+ // Rspack is now using file:// URLs for source maps. Remove the rsc prefix... | 2025-02-25T17:35:34 |
electron/electron | aca14bf7dd449097eaa43a39e7440637a6ed7c2e | ef2ce9dd67a9bb4cba025c26e4b2501f0a52e4cc | docs: fix frontmatter for Tray tutorial (#29788) | [
{
"path": "docs/tutorial/tray.md",
"patch": "@@ -1,7 +1,7 @@\n ---\n title: Tray\n description: This guide will take you through the process of creating\n-a Tray icon with its own context menu to the system's notification area.\n+ a Tray icon with its own context menu to the system's notification area.\n s... | 2021-06-21T01:13:39 |
facebook/react | efd8f6442d1aa7c4566fe812cba03e7e83aaccc3 | e0af1aabec3d3ee24f57aaaf9407860463f20213 | Resolve default onRecoverableError at root init (#23264)
Minor follow up to initial onRecoverableError PR.
When onRecoverableError is not provided to `createRoot`, the
renderer falls back to a default implementation. Originally I
implemented this with a host config method, but what we can do instead
is pass the ... | [
{
"path": "packages/react-art/src/ReactARTHostConfig.js",
"patch": "@@ -451,7 +451,3 @@ export function preparePortalMount(portalInstance: any): void {\n export function detachDeletedInstance(node: Instance): void {\n // noop\n }\n-\n-export function logRecoverableError(error) {\n- // noop\n-}",
"add... | 2022-02-10T15:59:10 |
golang/go | 5858205831117498e7b65ded82e398b28cff6c37 | 807e01db4840e25e4d98911b28a8fa54244b8dfa | cmd/go: add an exception for 'go telemetry off' to not open counters
There is the expectation that if 'go telemetry off' is run with a clean
home directory that no counter files are written. But we were writing
counters in that case because the act of turning telemetry off was done
after the act of opening the counter... | [
{
"path": "src/cmd/go/main.go",
"patch": "@@ -97,11 +97,16 @@ var counterErrorsGOPATHEntryRelative = counter.New(\"go/errors:gopath-entry-relat\n func main() {\n \tlog.SetFlags(0)\n \ttelemetry.MaybeChild() // Run in child mode if this is the telemetry sidecar child process.\n-\tcounter.Open() // Op... | 2024-09-06T17:59:16 |
rust-lang/rust | 8233943e818eb570ba715ce935ad9764bba5af47 | 90e5a5d9351f0762168817ac8db5a30b3b2471c5 | Fix indent in rust code | [
{
"path": "src/doc/rustc-dev-guide/src/ambig-unambig-ty-and-consts.md",
"patch": "@@ -6,7 +6,7 @@ parse.\n \n ```rust\n fn func<T, const N: usize>(arg: T) {\n- // ^ Unambig type position\n+ // ^ Unambig type position\n let a: _ = arg; \n // ... | 2026-01-06T05:11:22 |
nodejs/node | 1f64147eb607f82060e08884f993597774c69280 | 4aa0eff787c14f14a239cf2f44bf751a0151e3eb | permission: handle buffer path on fs calls
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=2038134
PR-URL: https://github.com/nodejs-private/node-private/pull/439 | [
{
"path": "lib/internal/fs/utils.js",
"patch": "@@ -712,6 +712,8 @@ function possiblyTransformPath(path) {\n if (permission.isEnabled()) {\n if (typeof path === 'string') {\n return pathModule.resolve(path);\n+ } else if (Buffer.isBuffer(path)) {\n+ return Buffer.from(pathModule.resolve(... | 2023-06-28T19:01:40 |
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.