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 | d7f7443a9540761c7cc2540c4b7b07b31b6120e5 | ea44f12f72888528ddb5b26492c3b72ad4b7bcb4 | Expand `tuple-index-suffix` test coverage
Actually, the accidentally accepted invalid suffixes also include tuple
struct indexing positions, struct numeral field name positions. So
before changing anything, first expand test coverage, so we can observe
the effect of bumping the non-lint pseudo-FCW warning into a hard ... | [
{
"path": "tests/ui/parser/tuple-index-suffix.rs",
"patch": "@@ -1,18 +1,77 @@\n+//! See #60210.\n+//!\n+//! Check that we hard error on invalid suffixes in tuple indexing subexpressions and struct numeral\n+//! field names, modulo carve-outs for `{i,u}{32,usize}` at warning level to mitigate ecosystem\n+//... | 2025-08-15T14:11:10 |
vercel/next.js | ead2a7eb70d3d8f062bcb24f9238fe1f4cd0f850 | 771705f961b1132455bed9103eebe9aeaefebaaa | docs: add missing comma to sitemap.mdx (#59788)
<!-- 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 Contributor... | [
{
"path": "docs/02-app/02-api-reference/02-file-conventions/01-metadata/sitemap.mdx",
"patch": "@@ -149,7 +149,7 @@ export default async function sitemap({\n `SELECT id, date FROM products WHERE id BETWEEN ${start} AND ${end}`\n )\n return products.map((product) => ({\n- url: `${BASE_URL}/product... | 2023-12-20T09:43:40 |
golang/go | c3c4aea55b404c2e6ef109ec6a345f4ccb877381 | 881a16542e357fd85ac492424021ff380175675a | regexp: limit size of parsed regexps
Set a 128 MB limit on the amount of space used by []syntax.Inst
in the compiled form corresponding to a given regexp.
Also set a 128 MB limit on the rune storage in the *syntax.Regexp
tree itself.
Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue.
Fixe... | [
{
"path": "src/regexp/syntax/parse.go",
"patch": "@@ -91,15 +91,49 @@ const (\n // until we've allocated at least maxHeight Regexp structures.\n const maxHeight = 1000\n \n+// maxSize is the maximum size of a compiled regexp in Insts.\n+// It too is somewhat arbitrarily chosen, but the idea is to be large e... | 2022-09-28T15:18:51 |
nodejs/node | 074df495edf180dc58858208b40998a1e70db3c8 | 870f0fc5e8d18d6a8343aa32a9e7197065ee3e62 | doc: specify maxHeaderCount alias for maxHeaderListPairs
Fixes: https://github.com/nodejs/node/issues/32388
PR-URL: https://github.com/nodejs/node/pull/33519
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -2055,7 +2055,9 @@ changes:\n queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all\n counted towards the current limit. **Default:** `10`.\n * `maxHeaderListPairs` {number} Sets the maximum number of header entries.\n- The minimum... | 2020-05-22T21:55:32 |
facebook/react | 0e28f5e6d7fd1a960b92637053d2bb0859b67b36 | 820210fd9e3d18d7c7f3a4550cbcbec1b43fcc43 | Fix DOMProperty bitmask checking | [
{
"path": "src/browser/ui/dom/DOMProperty.js",
"patch": "@@ -23,6 +23,10 @@\n \n var invariant = require('invariant');\n \n+function checkMask(value, bitmask) {\n+ return (value & bitmask) === bitmask;\n+}\n+\n var DOMPropertyInjection = {\n /**\n * Mapping from normalized, camelcased property names t... | 2014-09-02T03:44:10 |
rust-lang/rust | ea44f12f72888528ddb5b26492c3b72ad4b7bcb4 | 2e2642e641a941f0a1400c7827fd89aa86fef8f4 | Rename and move tuple index suffix regression test
To make it more obvious what it's testing.
This is its own commit to make git blame easier. | [
{
"path": "src/tools/tidy/src/issues.txt",
"patch": "@@ -2021,7 +2021,6 @@ ui/parser/issues/issue-5806.rs\n ui/parser/issues/issue-58094-missing-right-square-bracket.rs\n ui/parser/issues/issue-58856-1.rs\n ui/parser/issues/issue-58856-2.rs\n-ui/parser/issues/issue-59418.rs\n ui/parser/issues/issue-60075.rs... | 2025-08-15T13:47:39 |
vercel/next.js | 771705f961b1132455bed9103eebe9aeaefebaaa | 3b72c5217682b4ad3e8bad7fa9713bdfbf49747b | Revert "fix: gracefully shutdown server (#59551)" (#59792)
This reverts commit 2c48b8796b8d963f8b90d40b9b54ef73dd911ea1.
It breaks some test cases
Closes PACK-2168 | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -34,20 +34,17 @@ import {\n } from '../lib/helpers/get-reserved-port'\n import os from 'os'\n \n-type Child = ReturnType<typeof fork>\n-type ExitCode = Parameters<Child['kill']>[0]\n-\n let dir: string\n-let child: undefined | Child\n+let child: un... | 2023-12-20T06:43:27 |
golang/go | 881a16542e357fd85ac492424021ff380175675a | 3a37b112816d0002ed29804401560e0419b11a92 | cmd/go/internal/modindex: ignore non-source files for index
We were saving non-go file information in the module index files,
leading in an unnecessary increase in memory usage in modules
containing many non-go files. This was a bug because this information
is never used. Don't save that information.
For #54226
Chan... | [
{
"path": "src/cmd/go/internal/modindex/build.go",
"patch": "@@ -477,13 +477,18 @@ type fileEmbed struct {\n \tpos token.Position\n }\n \n+var errNonSource = errors.New(\"non source file\")\n+\n // getFileInfo extracts the information needed from each go file for the module\n // index.\n //\n // If Name... | 2022-10-05T16:54:00 |
facebook/react | cc9735f8897df40a6c79343cbb6a77123b1df9ad | 4af98990db0e7f7995b2e1c63d04497da9de296c | Add newline before JSX spread when appropriate
Previously, we were losing the newline before a JSX spread attribute which would cause the lines to not match up; this fixes the problem. | [
{
"path": "vendor/fbtransform/transforms/__tests__/react-test.js",
"patch": "@@ -379,12 +379,25 @@ describe('react jsx', function() {\n '<Component { ... x } y\\n' +\n '={2 } z />';\n var result =\n- 'React.createElement(Component, Object.assign({}, x , {y: \\n' +\n+ 'React.creat... | 2014-08-30T08:04:19 |
nodejs/node | 870f0fc5e8d18d6a8343aa32a9e7197065ee3e62 | e18afe45d2bb035434b8aac31375a9a15a605c9e | src: add errorProperties on process.report
PR-URL: https://github.com/nodejs/node/pull/28426
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "lib/internal/process/execution.js",
"patch": "@@ -157,7 +157,7 @@ function createOnGlobalUncaughtException() {\n report.writeReport(er ? er.message : 'Exception',\n 'Exception',\n null,\n- er ? er.stac... | 2019-06-25T16:09:14 |
electron/electron | b07a6af7135003d975a2945c3f66fadac38ec654 | 8b22108b5a0d90e8014f15c498536af4047d0a59 | Update BrowserView docs. Fixes #9553 | [
{
"path": "docs/api/browser-view.md",
"patch": "@@ -28,8 +28,8 @@ let view = new BrowserView({\n nodeIntegration: false\n }\n })\n-win.addChildView(view)\n-view.setBounds(0, 0, 300, 300)\n+win.setBrowserView(view)\n+view.setBounds({ x: 0, y: 0, width: 300, height: 300 })\n view.webContents.loadURL('ht... | 2017-05-22T17:41:01 |
golang/go | 3a37b112816d0002ed29804401560e0419b11a92 | f63b268b9a1dd6457405ed24dd4831b6ebfb8df8 | cmd/go: add @latest suffix for go install
Fixes #56014.
Change-Id: I75a3960e092459531de43868750f1684ed2ccb70
Reviewed-on: https://go-review.googlesource.com/c/go/+/437998
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Tim King <taking@google.com>
Run-TryBot: ho... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -1814,7 +1814,7 @@\n // or additional checks.\n // For example, the 'shadow' analyzer can be built and run using these commands:\n //\n-//\tgo install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow\n+//\tgo install golang.org/x/tools/go/analysis/passe... | 2022-10-04T02:30:55 |
vercel/next.js | 2c48b8796b8d963f8b90d40b9b54ef73dd911ea1 | 38758cb631b89dc694f044fd6f8789645b16ccb8 | fix: gracefully shutdown server (#59551) | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -34,17 +34,20 @@ import {\n } from '../lib/helpers/get-reserved-port'\n import os from 'os'\n \n+type Child = ReturnType<typeof fork>\n+type ExitCode = Parameters<Child['kill']>[0]\n+\n let dir: string\n-let child: undefined | ReturnType<typeof for... | 2023-12-19T23:52:46 |
facebook/react | 335e91df7146739dcc287b638e29b068f1451bbe | 944f49c2644722ad4c6ae08a7ff39f686a50b875 | Fix console warning in LegacyImmutableObject
It does check `hasOwnProperty`, but *after* accessing the field and therefore triggering enumerable getters in modified prototypes. | [
{
"path": "src/utils/LegacyImmutableObject.js",
"patch": "@@ -81,9 +81,11 @@ if (__DEV__) {\n }\n Object.freeze(object); // First freeze the object.\n for (var prop in object) {\n- var field = object[prop];\n- if (object.hasOwnProperty(prop) && shouldRecurseFreeze(field)) {\n- d... | 2014-08-29T15:50:07 |
nodejs/node | e18afe45d2bb035434b8aac31375a9a15a605c9e | 072feec1b0c8d381d1921bd196c9bffb51366585 | events: fix add-remove-add case in EventTarget
Make sure that listeners are added properly if there has previously
been one but currently are none for a given event type.
PR-URL: https://github.com/nodejs/node/pull/34056
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "lib/internal/event_target.js",
"patch": "@@ -240,7 +240,7 @@ class EventTarget {\n }\n \n let handler = root.next;\n- let previous;\n+ let previous = root;\n \n // We have to walk the linked list to see if we have a match\n while (handler !== undefined && !handler.same(liste... | 2020-06-25T21:43:30 |
electron/electron | a4bd26fab0e00743f1f5ff8a55a73e0995e236b7 | 7c38633d1e6c1062b87696d6c2ab7b048741b684 | Fix string16 init on macOS | [
{
"path": "atom/browser/api/atom_api_notification.h",
"patch": "@@ -11,6 +11,7 @@\n \n #include \"atom/browser/api/trackable_object.h\"\n #include \"atom/browser/ui/notification_observer.h\"\n+#include \"base/strings/utf_string_conversions.h\"\n #include \"native_mate/handle.h\"\n #include \"ui/gfx/image/im... | 2017-04-23T22:14:35 |
rust-lang/rust | 21e9889306e221f3ba85d4ae17b4ab56d6ddb17e | 2e2642e641a941f0a1400c7827fd89aa86fef8f4 | cargo update
compiler & tools dependencies:
Locking 28 packages to latest compatible versions
Updating anyhow v1.0.98 -> v1.0.99
Updating bitflags v2.9.1 -> v2.9.2
Updating clap v4.5.43 -> v4.5.45
Updating clap_builder v4.5.43 -> v4.5.44
Updating clap_derive v4.5.41 -> v4.5.45
Updating cur... | [
{
"path": "Cargo.lock",
"patch": "@@ -152,9 +152,9 @@ dependencies = [\n \n [[package]]\n name = \"anyhow\"\n-version = \"1.0.98\"\n+version = \"1.0.99\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487\"\n+c... | 2025-08-17T00:26:31 |
golang/go | f63b268b9a1dd6457405ed24dd4831b6ebfb8df8 | 97d38f300273a3eb7af100d3943decaa433fd28f | runtime: avoid initializing MemProfileRate in init function
Fixes #55100
Change-Id: Ibbff921e74c3a416fd8bb019d20410273961c015
Reviewed-on: https://go-review.googlesource.com/c/go/+/431315
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@go... | [
{
"path": "src/runtime/mprof.go",
"patch": "@@ -584,17 +584,7 @@ func (r *StackRecord) Stack() []uintptr {\n // memory profiling rate should do so just once, as early as\n // possible in the execution of the program (for example,\n // at the beginning of main).\n-var MemProfileRate int = defaultMemProfileRa... | 2022-09-16T10:56:48 |
vercel/next.js | a65fb162989fd00ca21534947538b8dbb6bf7f86 | 63825de4d54f64de5614de5c16f38ceaf172cbfe | fix: Allow start turbopack dev server for a project using middleware (#59759)
### What?
Configures `scoped_tls` (in `swc_common`) correctly.
### Why?
One of the company websites fails to **start**.
https://vercel.slack.com/archives/C03EWR7LGEN/p1702970892605989
### How?
Closes PACK-2165 | [
{
"path": "packages/next-swc/crates/next-core/src/util.rs",
"patch": "@@ -2,7 +2,10 @@ use anyhow::{bail, Context, Result};\n use indexmap::{IndexMap, IndexSet};\n use serde::{de::DeserializeOwned, Deserialize, Serialize};\n use serde_json::Value as JsonValue;\n-use swc_core::ecma::ast::{Expr, Lit, Program}... | 2023-12-19T11:35:42 |
facebook/react | a6116b31e59a648047dfb778ac9f5c4f87e01379 | 74ff6fb6b8f843235b599c9c2ce44797836fd89f | Improve debugging for methods using ReactPerf | [
{
"path": "src/test/ReactPerf.js",
"patch": "@@ -47,7 +47,7 @@ var ReactPerf = {\n measure: function(objName, fnName, func) {\n if (__DEV__) {\n var measuredFunc = null;\n- return function() {\n+ var wrapper = function() {\n if (ReactPerf.enableMeasure) {\n if (!measu... | 2014-08-28T17:49:51 |
nodejs/node | 072feec1b0c8d381d1921bd196c9bffb51366585 | 82f13fa803ac0b51f42118c26cc947b3101b6078 | Revert "repl: always check for NODE_REPL_MODE environment variable"
This reverts commit b831b081c499a614c1ee3f0272c9de1783395402.
This presumably unbreaks the ASAN github action build.
Example failure:
2020-06-25T19:59:15.1448178Z === release test-repl-envvars ===
2020-06-25T19:59:15.1448872Z Path: parallel... | [
{
"path": "doc/api/repl.md",
"patch": "@@ -555,10 +555,6 @@ A list of the names of all Node.js modules, e.g., `'http'`.\n <!-- YAML\n added: v0.1.91\n changes:\n- - version: REPLACEME\n- pr-url: https://github.com/nodejs/node/pull/33461\n- description: The `NODE_REPL_MODE` environment variable now ac... | 2020-06-26T00:17:00 |
facebook/react | ef9c9c81d019e613b3f0cce9a8579632eacb63af | 74ff6fb6b8f843235b599c9c2ce44797836fd89f | Fix typo | [
{
"path": "src/test/ReactDefaultPerfAnalysis.js",
"patch": "@@ -178,7 +178,7 @@ function getUnchangedComponents(measurement) {\n \n for (var id in allIDs) {\n var isDirty = false;\n- // For each component that rendered, see if a component that triggerd\n+ // For each component that rendered, see... | 2014-08-28T04:17:10 |
golang/go | 97d38f300273a3eb7af100d3943decaa433fd28f | 47a538842bf05c7ea4b376447789d0906ba49bd8 | go/types, types2: use consistent error messages for invalid struct literals
Fixes #51879.
Change-Id: Ic7ac892b82a0fe4ad6f95ff8ae84e6d30c52c111
Reviewed-on: https://go-review.googlesource.com/c/go/+/438855
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robe... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -1385,6 +1385,9 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \t\t\tif len(e.ElemList) == 0 {\n \t\t\t\tbreak\n \t\t\t}\n+\t\t\t// Convention for error messages on invalid struct literals:\n+\t\t\t// we... | 2022-10-05T01:18:01 |
vercel/next.js | 10a4ffcc10de681ad5c3ee39586f0983035a081c | 3e6edbf8508661339993fc7c8344c94b52ccefed | docs: fix grammar issue in 03-get-server-side-props.mdx (#59670)
Hey Next.js Maintainers, 👋🏻
Quick PR to address a minor grammar error in the Pages docs.
Closes #59669
Co-authored-by: JJ Kasper <jj@jjsweb.site> | [
{
"path": "docs/03-pages/01-building-your-application/03-data-fetching/03-get-server-side-props.mdx",
"patch": "@@ -3,7 +3,7 @@ title: getServerSideProps\n description: Fetch data on each request with `getServerSideProps`.\n ---\n \n-`getServerSideProps` is a Next.js function that can be used fetch data and... | 2023-12-18T17:44:52 |
nodejs/node | 82f13fa803ac0b51f42118c26cc947b3101b6078 | b831b081c499a614c1ee3f0272c9de1783395402 | fs: fix readdir failure when libuv returns UV_DIRENT_UNKNOWN
Fixes: https://github.com/nodejs/node/issues/33348
PR-URL: https://github.com/nodejs/node/pull/33395
Refs: https://github.com/nodejs/node/issues/33348
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/internal/fs/utils.js",
"patch": "@@ -173,6 +173,31 @@ function copyObject(source) {\n return target;\n }\n \n+const bufferSep = Buffer.from(pathModule.sep);\n+\n+function join(path, name) {\n+ if ((typeof path === 'string' || isUint8Array(path)) &&\n+ name === undefined) {\n+ retur... | 2020-05-14T07:32:38 |
golang/go | 9f78c3cb0400c2df143bd0ae124a911f911eaf36 | 500bc6b8056ee2eaf7640610a48ffa00bdd896a5 | cmd/internal/obj/arm64: add missing operand register in GNU assembly
Fixes #55832
Change-Id: Ib20279d47c1ca9a383a3c85bb41ca4f550bb0a33
GitHub-Last-Rev: 10af77a2f21397899f69938e6d98bb34b33bfddf
GitHub-Pull-Request: golang/go#55838
Reviewed-on: https://go-review.googlesource.com/c/go/+/433575
TryBot-Result: Gopher Robo... | [
{
"path": "src/cmd/internal/obj/arm64/doc.go",
"patch": "@@ -13,7 +13,7 @@ using different register names.\n \n Examples:\n \n-\tADC R24, R14, R12 <=> adc x12, x24\n+\tADC R24, R14, R12 <=> adc x12, x14, x24\n \tADDW R26->24, R21, R15 <=> add w15, w21, w26, asr #24\n \tFCMP... | 2022-10-05T01:35:25 |
vercel/next.js | 3e6edbf8508661339993fc7c8344c94b52ccefed | 4462354da167907a9735291217655e94053c8f05 | docs: fix vitest example link in testing with vitest (#59659)
This PR fixes a wrong link introduced in #59268
---------
Co-authored-by: JJ Kasper <jj@jjsweb.site> | [
{
"path": "docs/02-app/01-building-your-application/08-testing/01-vitest.mdx",
"patch": "@@ -10,10 +10,10 @@ Vite and React Testing Library are frequently used together for **Unit Testing**\n \n ## Quickstart\n \n-You can use `create-next-app` with the Next.js [with-vitest](https://github.com/vercel/next.js... | 2023-12-18T17:42:10 |
nodejs/node | 40bc3095ab86d5311b211c2fd08048d9704b6ab2 | cb2c8106a7aced1a226eba468e27ac75b2ee8bfc | lib,src: remove cpu profiler idle notifier
I added it in commit 57231d5286 ("src: notify V8 profiler when we're
idle") from October 2013 as a stop-gap measure to measure CPU time
rather than wall clock time, otherwise processes that spend a lot
of time sleeping in system calls give a false impression of being
very bus... | [
{
"path": "lib/internal/bootstrap/switches/is_main_thread.js",
"patch": "@@ -6,8 +6,12 @@ const rawMethods = internalBinding('process_methods');\n // TODO(joyeecheung): deprecate and remove these underscore methods\n process._debugProcess = rawMethods._debugProcess;\n process._debugEnd = rawMethods._debugEn... | 2020-06-22T09:35:23 |
electron/electron | cd2e6f497f27fb504a5998f7830cd1557c26a685 | a8e4a0e765d534c316a4ed90b1ce791ab52c4adf | Fix missing return value type for systemPreferences.getUserDefault | [
{
"path": "docs/api/system-preferences.md",
"patch": "@@ -112,7 +112,7 @@ Same as `unsubscribeNotification`, but removes the subscriber from `NSNotificati\n * `type` String - Can be `string`, `boolean`, `integer`, `float`, `double`,\n `url`, `array`, `dictionary`\n \n-Get the value of `key` in system pref... | 2017-05-22T14:19:03 |
facebook/react | 149cadd664eadbcb1afd938557ff8b1998a36a02 | bc4d935cb04d1676bc20be1b6f32f53e12770d24 | [docs] fix nits | [
{
"path": "docs/docs/flux-todo-list.md",
"patch": "@@ -52,7 +52,7 @@ Using the Dispatcher\n \n We'll use the dispatcher from the [Flux GitHub repository](https://github.com/facebook/flux), but let's go over how to get it into our project, how it works and how we'll use it.\n \n-The dispatcher's source code ... | 2014-08-22T16:46:34 |
golang/go | 500bc6b8056ee2eaf7640610a48ffa00bdd896a5 | 7d3a5a501c9f30ff6db3016dbfffcb70dacb9f55 | runtime: don't jump stack if at entry of systemstack
The traceback code has special "jump stack" logic, to trace back
stack switches through systemstack. If we're at the entry of
systemstack, the stack switch hasn't happened, so don't jump to
user stack.
The jump stack logic is only used if we're on the g0 stack. It ... | [
{
"path": "src/runtime/traceback.go",
"patch": "@@ -182,6 +182,17 @@ func gentraceback(pc0, sp0, lr0 uintptr, gp *g, skip int, pcbuf *uintptr, max in\n \t\t\t\tcase funcID_systemstack:\n \t\t\t\t\t// systemstack returns normally, so just follow the\n \t\t\t\t\t// stack transition.\n+\t\t\t\t\tif usesLR && f... | 2022-09-30T23:01:09 |
vercel/next.js | 4462354da167907a9735291217655e94053c8f05 | 7eac1c8ee99728386c5462dc42abca4e3273752a | Fix: Add matcher for middleware (#59651)
### What?
- exclude assets from middleware
### Why?
- avoid refreshing session logic running unnecessarily
### How?
- export matcher config from middleware
Co-authored-by: JJ Kasper <jj@jjsweb.site> | [
{
"path": "examples/with-supabase/middleware.ts",
"patch": "@@ -23,3 +23,16 @@ export async function middleware(request: NextRequest) {\n })\n }\n }\n+\n+export const config = {\n+ matcher: [\n+ /*\n+ * Match all request paths except for the ones starting with:\n+ * - _next/static (static ... | 2023-12-18T17:40:44 |
nodejs/node | cb2c8106a7aced1a226eba468e27ac75b2ee8bfc | 56124e92e8948d72d21e1aeeaab32b5cb403ed32 | src: tolerate EPERM returned from tcsetattr
macOS app sandbox makes tcsetattr return EPERM. The CHECK_EQ(0, err)
here would fail when a sandboxed Node.js process is exiting. This commit
fixes this issue.
* test: add test for running in macOS app sandbox
Bare-bone command-line executables cannot run directly in the a... | [
{
"path": "src/node.cc",
"patch": "@@ -730,7 +730,10 @@ void ResetStdio() {\n err = tcsetattr(fd, TCSANOW, &s.termios);\n while (err == -1 && errno == EINTR); // NOLINT\n CHECK_EQ(0, pthread_sigmask(SIG_UNBLOCK, &sa, nullptr));\n- CHECK_EQ(0, err);\n+\n+ // Normally we expect ... | 2020-06-18T14:41:56 |
electron/electron | 57551cfad9d46b06049dbc040d75b10cef4ea65d | 27c5d98c497fc5e3a78dca1783d33af8ba28bc25 | Fix missing dep of libdatrie1 | [
{
"path": "script/sysroots.json",
"patch": "@@ -1,31 +1,31 @@\n {\n \"jessie_amd64\": {\n- \"Revision\": \"6101296b34af9688b9269fee9b70bb1900e365cb\",\n- \"Sha1Sum\": \"7c9be8b9b4e25e0c9db1daa4079750214b5af398\",\n+ \"Revision\": \"ed40e6a18ede7915e2bcba11e684108c1d158a7c\",\n+ ... | 2017-05-22T10:06:46 |
golang/go | 7d3a5a501c9f30ff6db3016dbfffcb70dacb9f55 | c318f191e45e3496f8afe0a456337e9f76d7f7b4 | runtime/cgo: let darwin pthread stacksize follow rlimit
On Mac OS X, the default stack size for non-main threads created by cgo is
fixed at 512KB and cannot be altered by setrlimit. This stack size is too
small for some recursive scenarios. We can solve this problem by explicitly
copying the stack size of the main thr... | [
{
"path": "src/runtime/cgo/gcc_darwin_amd64.c",
"patch": "@@ -14,15 +14,12 @@ static void (*setg_gcc)(void*);\n void\n x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase)\n {\n-\tpthread_attr_t attr;\n \tsize_t size;\n \n \tsetg_gcc = setg;\n \n-\tpthread_attr_init(&attr);\n-\tpthread_attr_ge... | 2022-10-03T13:15:12 |
vercel/next.js | 7eac1c8ee99728386c5462dc42abca4e3273752a | 1c3e3058763f00edc914d067761caa7aa380db33 | fix: Invalid next version tag name in with-cypress example (#59647)
<!-- 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:
... | [
{
"path": "examples/with-cypress/package.json",
"patch": "@@ -10,7 +10,7 @@\n \"component:headless\": \"cypress run --component\"\n },\n \"dependencies\": {\n- \"next\": \"^latest\",\n+ \"next\": \"latest\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\"\n },",
"additions... | 2023-12-18T17:37:33 |
rust-lang/rust | 4668751e522171185eea69f2bdfba18b7ffb5f5c | 425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0 | Print what bootstrap invocation failed when an error happens in CI | [
{
"path": "src/build_helper/src/util.rs",
"patch": "@@ -3,6 +3,8 @@ use std::io::{BufRead, BufReader};\n use std::path::Path;\n use std::process::Command;\n \n+use crate::ci::CiEnv;\n+\n /// Invokes `build_helper::util::detail_exit` with `cfg!(test)`\n ///\n /// This is a macro instead of a function so that... | 2025-08-18T10:35:20 |
facebook/react | aae31ae24c67216894ae42b8481a599206d18690 | 5c51f2fe4612bd2499f830382dafebac85a661d3 | ReactMount calls a legacy factory use createDescriptor instead
This fixes some log spew since this pattern is deprecated. This doesn't use
the validator in the descriptor creation so there's no prop type checks here.
I guess that's fine because we still have the second prop type checks.
We need to use ReactLegacyDesc... | [
{
"path": "src/browser/ui/ReactMount.js",
"patch": "@@ -22,6 +22,7 @@ var DOMProperty = require('DOMProperty');\n var ReactBrowserEventEmitter = require('ReactBrowserEventEmitter');\n var ReactCurrentOwner = require('ReactCurrentOwner');\n var ReactDescriptor = require('ReactDescriptor');\n+var ReactLegacyD... | 2014-08-20T06:17:04 |
nodejs/node | bc23d108c849c857cab4b3d5caee89ce48757a96 | 50228cf6ffca3936717f5797025f3c49c2278fee | src: fix ParseEncoding
"utf-16LE" was parsed "UNKNOWN", this fixes to "UCS2"
"utf-buffer" was parsed "BUFFER", this fixes to "UNKNOWN"
"utf-16leNOT" was parsed "UCS2", this fixes to "UNKNOWN"
PR-URL: https://github.com/nodejs/node/pull/33957
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell ... | [
{
"path": "src/api/encoding.cc",
"patch": "@@ -14,74 +14,91 @@ enum encoding ParseEncoding(const char* encoding,\n enum encoding default_encoding) {\n switch (encoding[0]) {\n case 'u':\n+ case 'U':\n // utf8, utf16le\n if (encoding[1] == 't' && encoding[2] =... | 2020-06-16T10:25:39 |
electron/electron | 27c5d98c497fc5e3a78dca1783d33af8ba28bc25 | 5baffd49e7d0e3c6cbd62e1125d6df03a3c08270 | Fix missing deps when building for ia32 and arm | [
{
"path": "script/sysroots.json",
"patch": "@@ -1,31 +1,31 @@\n {\n \"jessie_amd64\": {\n- \"Revision\": \"b6dd965b53da1e379e784d8450811c583547e271\",\n- \"Sha1Sum\": \"2b0063007eb89ba915dac19223d772e306406a8d\",\n+ \"Revision\": \"6101296b34af9688b9269fee9b70bb1900e365cb\",\n+ ... | 2017-05-22T08:44:43 |
vercel/next.js | 1c3e3058763f00edc914d067761caa7aa380db33 | 1c65c557504e1e422c29c60ceafd15402441b884 | Docs: Review and Typo Fix - getServerSideProps (#59616)
<!-- 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 Con... | [
{
"path": "docs/03-pages/01-building-your-application/03-data-fetching/03-get-server-side-props.mdx",
"patch": "@@ -7,7 +7,7 @@ description: Fetch data on each request with `getServerSideProps`.\n \n ## Example\n \n-You can use `getServerSideProps` by exporting it from a Page Component. The example below ho... | 2023-12-18T17:30:18 |
golang/go | ddc7d2a80cdac50cbbfb9108b443142f44a5ef1d | c591d82ea99b70b251a51cefd11ddc42ff004ce6 | cmd/compile: add late lower pass for last rules to run
Usually optimization rules have corresponding priorities, some need to
be run first, some run next, and some run last, which produces the best
code. But currently our optimization rules have no priority, this CL
adds a late lower pass that runs those rules that ne... | [
{
"path": "src/cmd/compile/internal/ssa/_gen/ARM64.rules",
"patch": "@@ -1312,6 +1312,10 @@\n (ROR x (MOVDconst [c])) => (RORconst x [c&63])\n (RORW x (MOVDconst [c])) => (RORWconst x [c&31])\n \n+(ADDSflags x (MOVDconst [c])) => (ADDSconstflags [c] x)\n+\n+(ADDconst [c] y) && c < 0 => (SUBconst [-c] y)\n+... | 2022-08-17T10:01:17 |
nodejs/node | ac80fed3b80cdda4cf68df67ba569f208b87922e | 3646872f606949cb21ff95aa6d5a0c9ba0418e59 | http2: return this for Http2ServerRequest#setTimeout
Fixes: https://github.com/nodejs/node/issues/33993
PR-URL: https://github.com/nodejs/node/pull/33994
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M... | [
{
"path": "lib/internal/http2/compat.js",
"patch": "@@ -411,9 +411,9 @@ class Http2ServerRequest extends Readable {\n }\n \n setTimeout(msecs, callback) {\n- if (this[kState].closed)\n- return;\n- this[kStream].setTimeout(msecs, callback);\n+ if (!this[kState].closed)\n+ this[kStream]... | 2020-06-20T19:19:56 |
electron/electron | 5baffd49e7d0e3c6cbd62e1125d6df03a3c08270 | 28f11516fe6d2f338b6ac7cc53739b6751904b4c | Fix pylint warnings | [
{
"path": "script/install-sysroot.py",
"patch": "@@ -54,24 +54,6 @@ def GetSha1(filename):\n return sha1.hexdigest()\n \n \n-def InstallDefaultSysroots(host_arch):\n- \"\"\"Install the default set of sysroot images.\n-\n- This includes at least the sysroot for host architecture, and the 32-bit\n- sysro... | 2017-05-22T08:18:57 |
rust-lang/rust | 1ce33dd37dd87dc566e0f9ea5b2e15e17c458ee5 | b902397bc20e1d0fa5ffe2939b3b9082f2f5b658 | Revert "Add no-extra-rounding-error flag to Miri CI config"
This reverts commit 323484c8278886ffe58e8d355107a5b59ffd85cd. | [
{
"path": ".github/workflows/ci.yml",
"patch": "@@ -244,10 +244,5 @@ jobs:\n PROPTEST_CASES: 16\n steps:\n - uses: actions/checkout@v4\n- - name: Download and install nightly\n- run: |\n- rustup toolchain install nightly --component miri,rust-src\n- rustup overr... | 2025-08-18T05:34:11 |
vercel/next.js | 64d539fc50574939ea61f826a0ca847c68df7046 | 1f798f46472de29ea9e47b0d15b8341ece884033 | docs: fix broken backtick for link (#59717)
<img width="764" alt="CleanShot 2023-12-17 at 11 25 10@2x"
src="https://github.com/vercel/next.js/assets/9113740/437a8a0d-0f56-4199-9629-b767569349de"> | [
{
"path": "docs/03-pages/02-api-reference/03-next-config-js/runtime-configuration.mdx",
"patch": "@@ -6,7 +6,7 @@ description: Add client and server runtime configuration to your Next.js app.\n > **Warning:**\n >\n > - **This feature is deprecated.** We recommend using [environment variables](/docs/pages/bu... | 2023-12-17T17:53:59 |
golang/go | c591d82ea99b70b251a51cefd11ddc42ff004ce6 | d1187438694d68d1d761355cd1268057a6521619 | cmd/compile/internal/syntax: better error message for erroneous method declaration
Also make error recovery slightly more robust in this case.
Fixes #56022.
Change-Id: I1c01c1465adb48c71367d037b6f0e3fe56f68ec9
Reviewed-on: https://go-review.googlesource.com/c/go/+/438540
Run-TryBot: Robert Griesemer <gri@google.com>... | [
{
"path": "src/cmd/compile/internal/syntax/parser.go",
"patch": "@@ -767,7 +767,9 @@ func (p *parser) funcDeclOrNil() *FuncDecl {\n \tf.pos = p.pos()\n \tf.Pragma = p.takePragma()\n \n+\tvar context string\n \tif p.got(_Lparen) {\n+\t\tcontext = \"method\"\n \t\trcvr := p.paramList(nil, nil, _Rparen, false)... | 2022-10-04T17:24:05 |
nodejs/node | 3646872f606949cb21ff95aa6d5a0c9ba0418e59 | 66679ce3348fca62a600bbeefa7b7c919344aaad | util: fix width detection for DEL without ICU
This makes sure the DEL character (ASCII 127) is detected as a zero
width character even if Node.js is not built with ICU.
Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: https://github.com/nodejs/node/pull/33650
Reviewed-By: James M Snell <jasnell@gmail.... | [
{
"path": "lib/internal/util/inspect.js",
"patch": "@@ -2089,7 +2089,7 @@ if (internalBinding('config').hasIntl) {\n \n const isZeroWidthCodePoint = (code) => {\n return code <= 0x1F || // C0 control codes\n- (code > 0x7F && code <= 0x9F) || // C1 control codes\n+ (code >= 0x7F && code <= 0x... | 2020-05-30T03:56:48 |
electron/electron | 9cbc5a1cdde83903a6e3fbdbad24434b588b4833 | 8404bdd568388374966daabf80566add3c4c0370 | Fix typo in Japanese docs | [
{
"path": "docs-translations/jp/api/crash-reporter.md",
"patch": "@@ -45,7 +45,7 @@ crashReporter.start({\n \n ### `crashReporter.getUploadedReports()`\n \n-滑ってのアップロードされたクラッシュレポートが返されます。それぞれのレポートには日付とアップロードされたIDが含まれます。\n+すべてのアップロードされたクラッシュレポートが返されます。それぞれのレポートには日付とアップロードされたIDが含まれます。\n \n ## crash-reporter Pa... | 2017-05-22T05:31:26 |
facebook/react | 32d3f79dc53716985a50626fb76b032ced0ae54f | a43d8c588bb9ffb6ea335b27591346308df0c434 | Upgrade Commoner
It no longer parses @providesModule directives by default.
Fixes #1145 | [
{
"path": "grunt/tasks/jsx.js",
"patch": "@@ -13,6 +13,7 @@ module.exports = function() {\n \"--cache-dir\", \".module-cache\",\n \"--relativize\",\n \"--follow-requires\",\n+ \"--use-provides-module\",\n config.sourceDir,\n config.outputDir\n ];",
"additions": 1,
"deletions... | 2014-08-18T22:11:02 |
vercel/next.js | dff1cd5b6a2158746362d4823c62b206c71b56d7 | 8c4649e7812e1d8a623ab276aff38fba391edf69 | Move changeSubscription for _document to finally to mirror page handling in Turbopack (#59664)
## What?
Moves the changeSubscription for _document into the finally block,
similar to how the page itself is handled there as well.
This should allow moving the rest of the try block into a separate
function that can ... | [
{
"path": "packages/next/src/server/lib/router-utils/setup-dev-bundler.ts",
"patch": "@@ -1563,16 +1563,6 @@ async function startWatcher(opts: SetupOpts) {\n '_document',\n await globalEntries.document.writeToDisk()\n )\n-\n- changeS... | 2023-12-15T16:21:34 |
golang/go | 9c2fd81ee11c1c49e55f1c59a96e170f2d53e6c8 | 0fec65d281af8932ce8da946faa55884f2427cfc | encoding/asn1: remove allocation from init
asn1 allocates due to reflect.TypeOf(new(big.Int)) in init time.
We could replace it with (*big.Int)(nil).
Before:
init encoding/asn1 @1.0 ms, 0.009 ms clock, 224 bytes, 7 allocs
After:
init encoding/asn1 @0.70 ms, 0.002 ms clock, 192 bytes, 6 allocs
Fixes #55973
Change-I... | [
{
"path": "src/encoding/asn1/asn1.go",
"patch": "@@ -660,7 +660,7 @@ var (\n \ttimeType = reflect.TypeOf(time.Time{})\n \trawValueType = reflect.TypeOf(RawValue{})\n \trawContentsType = reflect.TypeOf(RawContent(nil))\n-\tbigIntType = reflect.TypeOf(new(big.Int))\n+\tbigIn... | 2022-09-30T14:17:45 |
electron/electron | df911593d8c43a8b70764afaf5e7054c263b5dab | d5c038a7fb43692f823b3d00c55d75aa9ee84bb4 | Fix menubar animations being incorrect in RTL layout | [
{
"path": "atom/browser/ui/views/menu_bar.cc",
"patch": "@@ -119,7 +119,7 @@ bool MenuBar::GetMenuButtonFromScreenPoint(const gfx::Point& point,\n \n for (int i = 0; i < child_count(); ++i) {\n views::View* view = child_at(i);\n- if (view->bounds().Contains(location) &&\n+ if (view->GetMirroredB... | 2017-05-21T20:36:10 |
facebook/react | a43d8c588bb9ffb6ea335b27591346308df0c434 | 196030aeb5cc418b1e541c2ffd780e0375abb394 | Fix bad merge from 04c9820694ac07bb88d3dda32bf35a063c3c61a4
Didn't sync out correctly. | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -466,6 +466,10 @@ function validateLifeCycleOnReplaceState(instance) {\n * specification keys when building `ReactCompositeComponent` classses.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n+ if (!spec) {\n+ return;\n+ }\n+\n ... | 2014-08-18T17:37:03 |
nodejs/node | 5ef5116311f5e78333dc0dbe378553e64f06cab3 | 8e129624019247c2f1474bbe28cbf6863f238446 | worker: rename error code to be more accurate
Rename `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`
to `ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST` in order to be more
accurate.
PR-URL: https://github.com/nodejs/node/pull/33872
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gma... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1597,12 +1597,20 @@ strict compliance with the API specification (which in some cases may accept\n For APIs that accept options objects, some options might be mandatory. This code\n is thrown if a required option is missing.\n \n-<a id=\"ERR_MISSING_MESSAGE_PORT_... | 2020-06-14T12:50:28 |
golang/go | 0fec65d281af8932ce8da946faa55884f2427cfc | e7d203f494281a229a7d4ef769f14975e9b12e4e | os/exec: add a GODEBUG setting to diagnose leaked processes
Updates #52580.
For #50436.
Change-Id: I669f13863f1f85d576c3c94500b118e6989000eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/436655
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance... | [
{
"path": "src/os/exec/dot_test.go",
"patch": "@@ -58,7 +58,7 @@ func TestLookPath(t *testing.T) {\n \t// And try to trick it with \"../testdir\" too.\n \tfor _, errdot := range []string{\"1\", \"0\"} {\n \t\tt.Run(\"GODEBUG=execerrdot=\"+errdot, func(t *testing.T) {\n-\t\t\tt.Setenv(\"GODEBUG\", \"execerrd... | 2022-09-29T12:40:37 |
vercel/next.js | 8c4649e7812e1d8a623ab276aff38fba391edf69 | dd5705464732f10abb21ae2dd3a0fb48c5c51400 | Consolidate manifest writing for Turbopack in a single function (#59663)
## What?
I'm working on consolidating a bunch of the file writing related pieces
in the Turbopack handling in the dev server so that it can be abstracted
out as it's needed for `next build` too.
These changes make sure that there is a sin... | [
{
"path": "packages/next/src/server/lib/router-utils/setup-dev-bundler.ts",
"patch": "@@ -552,7 +552,7 @@ async function startWatcher(opts: SetupOpts) {\n hmrBuilding = true\n }\n hmrPayloads.set(`${key}:${id}`, payload)\n- hmrEventHappend = true\n+ hmrEventHappened = true\n ... | 2023-12-15T16:21:19 |
nodejs/node | 409fdba6d5c052f14af3ea73f0abb36db197f3d3 | dca816325db42663e99041c8329f299269676f6f | configure: account for CLANG_VENDOR when checking for llvm version
Fixes: https://github.com/nodejs/node/issues/29536
PR-URL: https://github.com/nodejs/node/pull/33860
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "configure.py",
"patch": "@@ -852,7 +852,7 @@ def get_nasm_version(asm):\n \n def get_llvm_version(cc):\n return get_version_helper(\n- cc, r\"(^(?:FreeBSD )?clang version|based on LLVM) ([0-9]+\\.[0-9]+)\")\n+ cc, r\"(^(?:.+ )?clang version|based on LLVM) ([0-9]+\\.[0-9]+)\")\n \n def get... | 2020-06-12T23:35:38 |
golang/go | 164406ad931cd74c1541a71f2817312ec82882ed | 841873f27c4d08d266779a9ef719a7f0d1a0e74d | cmd/compile: rename gen and builtin to _gen and _builtin
These two directories are full of //go:build ignore files.
We can ignore them more easily by putting an underscore
at the start of the name. That also works around a bug
in Go 1.17 that was not fixed until Go 1.17.3.
Change-Id: Ia5389b65c79b1e6d08e4fef374d335d7... | [
{
"path": "src/cmd/compile/internal/ssa/_gen/386Ops.go",
"patch": "@@ -2,9 +2,6 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build ignore\n-// +build ignore\n-\n package main\n \n import \"strings\"",
"additions": 0,
"deleti... | 2022-09-30T14:59:23 |
electron/electron | d5c038a7fb43692f823b3d00c55d75aa9ee84bb4 | 218e28b136124bdad6abd7e763ba89b36910aaca | ci build fix | [
{
"path": "atom/browser/native_window.cc",
"patch": "@@ -251,7 +251,7 @@ void NativeWindow::SetSizeConstraints(\n SetContentSizeConstraints(content_constraints);\n }\n \n-extensions::SizeConstraints NativeWindow::GetSizeConstraints() {\n+extensions::SizeConstraints NativeWindow::GetSizeConstraints() const... | 2017-05-21T18:57:19 |
vercel/next.js | dd5705464732f10abb21ae2dd3a0fb48c5c51400 | 65634bea5498225c41f791fac57ef001bd1ca601 | Fix parallel routes with server actions / revalidating router cache (#59585)
### What?
There are a bunch of different bugs caused by the same underlying issue,
but the common thread is that performing any sort of router cache update
(either through `router.refresh()`, `revalidatePath()`, or `redirect()`)
inside of... | [
{
"path": "packages/next/src/client/components/router-reducer/apply-router-state-patch-to-tree.test.tsx",
"patch": "@@ -3,7 +3,7 @@ import type {\n FlightData,\n FlightRouterState,\n } from '../../../server/app-render/types'\n-import { applyRouterStatePatchToTree } from './apply-router-state-patch-to-tr... | 2023-12-15T15:51:14 |
facebook/react | aaeb107e008bb7b51c9746f78c95641c6725d3d2 | 04c9820694ac07bb88d3dda32bf35a063c3c61a4 | docs(flux-todo-list): fix TodoStore syntax
Add missing semicolon behind `TodoStore#addChangeListener' | [
{
"path": "docs/docs/flux-todo-list.md",
"patch": "@@ -196,7 +196,7 @@ var TodoStore = merge(EventEmitter.prototype, {\n */\n removeChangeListener: function(callback) {\n this.removeListener(CHANGE_EVENT, callback);\n- }\n+ },\n \n dispatcherIndex: AppDispatcher.register(function(payload) {\n ... | 2014-08-18T02:37:10 |
nodejs/node | bd8a7196fc15ab7ae4976c3fb728267ab6864a67 | 5a0c6a6b5dbcb97a0f0fcd38df46cf8f090c1271 | fs: fix realpath inode link caching
The `fs.realpath` / `fs.realpathSync` cache already seen symbolic links
using the inode number which may be longer that max supported
JS number (2**53) and will therefore be incorrectly handled by possibly
entering infinite loop of calling stat on the same node.
This PR changes tho... | [
{
"path": "lib/fs.js",
"patch": "@@ -31,6 +31,7 @@ const kIoMaxLength = 2 ** 31 - 1;\n const {\n Map,\n MathMax,\n+ Number,\n NumberIsSafeInteger,\n ObjectCreate,\n ObjectDefineProperties,\n@@ -182,7 +183,10 @@ const isFd = isUint32;\n function isFileType(stats, fileType) {\n // Use stats array... | 2020-06-18T15:49:59 |
golang/go | cddf792428be5f750a0be397c7c534870c682e52 | 8bd803fd4ea3a549a9124f5a4e18af9596ef35df | runtime/coverage: use atomic access for counter reads
Read counters using atomic ops so as to avoid problems with the race
detector if a goroutine happens to still be executing at the end of a
test run when we're writing out counter data. In theory we could guard
the atomic use on the counter mode, but it's better jus... | [
{
"path": "src/runtime/coverage/apis.go",
"patch": "@@ -9,6 +9,7 @@ import (\n \t\"internal/coverage\"\n \t\"io\"\n \t\"reflect\"\n+\t\"sync/atomic\"\n \t\"unsafe\"\n )\n \n@@ -151,7 +152,7 @@ func ClearCoverageCounters() error {\n \t// inconsistency when reading the counter array from the thread\n \t// run... | 2022-10-03T22:40:59 |
vercel/next.js | a0c68c5d02db7d89c1190de9be17526645d6f391 | 5d091ed9f95825d1a282880a0e31461bd4e42b22 | Fix issue with outputFileTracingExcludes and pages/api edge runtime (#59157)
## What?
Ensures `Object.entries` is not called on the `Map`. Seems this only
fails in a very particular case but potentially this fixes other issues
than the one I added in the tests too.
## How?
`Object.entries()` results in an e... | [
{
"path": "packages/next/src/build/collect-build-traces.ts",
"patch": "@@ -14,7 +14,11 @@ import {\n \n import path from 'path'\n import fs from 'fs/promises'\n-import type { PageInfo } from './utils'\n+import {\n+ deserializePageInfos,\n+ type PageInfos,\n+ type SerializedPageInfos,\n+} from './utils'\n... | 2023-12-15T15:27:03 |
electron/electron | 218e28b136124bdad6abd7e763ba89b36910aaca | a95d6b997b4bda627490ff0a8dbb0e322f7076d2 | minor fixes and enable datalist elements in OSR | [
{
"path": "atom/browser/api/atom_api_web_contents.cc",
"patch": "@@ -1635,6 +1635,7 @@ void WebContents::OnShowAutofillPopup(\n autofill_popup_->CreateView(\n routing_id,\n web_contents(),\n+ IsOffScreen() || (embedder_ && embedder_->IsOffScreen()),\n relay->widget(),\n bounds);\n aut... | 2017-05-21T17:55:19 |
facebook/react | c5be746fda5766440979e18810b105a5394f7fc8 | a195d3ea1ffd389e81b83b4ccdee277086f219e5 | Fixed style and comment nits | [
{
"path": "docs/docs/ref-05-events.md",
"patch": "@@ -29,7 +29,7 @@ String type\n \n > Note:\n >\n-> As of v0.12, returning `false` from an event handler will no longer stop event propagation. Instead, `stopPropagation()` and `preventDefault()` should be triggered manually.\n+> As of v0.12, returning `false... | 2014-08-15T15:52:22 |
nodejs/node | 5a0c6a6b5dbcb97a0f0fcd38df46cf8f090c1271 | d4a1c98a54b462a947f6f0e433852b43c40dd282 | src: fix FastStringKey equal operator
PR-URL: https://github.com/nodejs/node/pull/33748
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> | [
{
"path": "src/util-inl.h",
"patch": "@@ -300,7 +300,7 @@ bool StringEqualNoCase(const char* a, const char* b) {\n if (*a == '\\0')\n return *b == '\\0';\n if (*b == '\\0')\n- return *a == '\\0';\n+ return false;\n } while (ToLower(*a++) == ToLower(*b++));\n return false;\n }\n@@... | 2020-06-05T12:50:03 |
golang/go | feed072b6ed002a0085f3c6152c039b84134d38e | fa463cc96d797c218be4e218723f83be47e814c8 | cmd/go: update gcc version check for asan support on ppc64le
Update the minimum version required for asan to be gcc9.
This will ensure that go build -asan is supported only on
systems with the required version of gcc. Update the asan
error message to include the name of the compiler (the
error message is updated to in... | [
{
"path": "src/cmd/go/internal/work/init.go",
"patch": "@@ -423,12 +423,15 @@ func compilerRequiredAsanVersion() error {\n \n \tswitch compiler.name {\n \tcase \"gcc\":\n+\t\tif runtime.GOARCH == \"ppc64le\" && compiler.major < 9 {\n+\t\t\treturn fmt.Errorf(\"-asan is not supported with %s compiler %d.%d\\n... | 2022-09-29T14:53:18 |
electron/electron | 9b4fef3c38cdbd80f88fe146927d3ec77a2088e5 | 8404bdd568388374966daabf80566add3c4c0370 | Fixed vscode debugging code
Fixes app.getPath("userData") pointing to the wrong folder. (electron in %appdata%)
The old debugger essentially runs:
.\node_modules\.bin\electron main.js
Which makes userData incorrect and various other things wrong related to app launch.
The new version correctly executes:
.\n... | [
{
"path": "docs/tutorial/debugging-main-process-vscode.md",
"patch": "@@ -19,7 +19,10 @@ $ code electron-quick-start\n \"request\": \"launch\",\n \"cwd\": \"${workspaceRoot}\",\n \"runtimeExecutable\": \"${workspaceRoot}/node_modules/.bin/electron\",\n- \"program\": \"${workspaceRoot}... | 2017-05-20T13:56:26 |
vercel/next.js | 5d091ed9f95825d1a282880a0e31461bd4e42b22 | d3205561d25c158042f9a5431f84e75a9a209d62 | Change manifestPath to pagesManifestPath (#59657)
## What?
Small clarification on the variable name.
<!-- 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 ... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -947,7 +947,11 @@ export default async function build(\n const outputFileTracingRoot =\n config.experimental.outputFileTracingRoot || dir\n \n- const manifestPath = path.join(distDir, SERVER_DIRECTORY, PAGES_MANIFEST)\n+ cons... | 2023-12-15T15:03:50 |
golang/go | fa463cc96d797c218be4e218723f83be47e814c8 | 6a9aaf1f0218d61aa44c3a0ae0bce03cbac93328 | crypto/x509/internal/macos: handle unexpected null returns
SecCreatePolicySSL returns null when called from a binary that has a
strange path. This seems to be a weirdo macos bug, but we should be
properly handling those null returns anyway. Also add handling for
SecTrustGetCertificateAtIndex.
Fixes #54590
Change-Id:... | [
{
"path": "src/crypto/x509/internal/macos/security.go",
"patch": "@@ -109,14 +109,6 @@ func SecTrustSettingsCopyTrustSettings(cert CFRef, domain SecTrustSettingsDomain\n }\n func x509_SecTrustSettingsCopyTrustSettings_trampoline()\n \n-//go:cgo_import_dynamic x509_SecPolicyCopyProperties SecPolicyCopyProper... | 2022-10-03T16:19:32 |
nodejs/node | d4a1c98a54b462a947f6f0e433852b43c40dd282 | ca46c3b5dc7d349274c720345a48c5e862b66969 | querystring: fix stringify for empty array
PR-URL: https://github.com/nodejs/node/pull/33918
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/querystring.js",
"patch": "@@ -196,7 +196,6 @@ function stringify(obj, sep, eq, options) {\n if (obj !== null && typeof obj === 'object') {\n const keys = ObjectKeys(obj);\n const len = keys.length;\n- const flast = len - 1;\n let fields = '';\n for (let i = 0; i < len; +... | 2020-06-17T01:08:19 |
facebook/react | d7f21d760b3a222f5a6ceb9f386d45dfabecddb7 | 5ca9e193ee77ac30a20ea9127647d47799ea4b72 | Update recast to 0.6, update constants.js
I dropped the part of constants.js that we weren't using (namely the
part where we insert constants) but left it open to do that. It should
be trivial, we just aren't using it.
Fixes #1824 | [
{
"path": "package.json",
"patch": "@@ -59,7 +59,7 @@\n \"phantomjs\": \"~1.9\",\n \"platform\": \"^1.1.0\",\n \"populist\": \"~0.1.6\",\n- \"recast\": \"~0.5.6\",\n+ \"recast\": \"^0.6.10\",\n \"sauce-tunnel\": \"~1.1.0\",\n \"semver\": \"^2.3.0\",\n \"tmp\": \"~0.0.18\",",
... | 2014-08-14T18:11:17 |
electron/electron | 4949531f57d961b56afd5b23f60eb2eaa6d5b172 | f360104beeb4fc363653280c9b6560e476572810 | :art: lint fix | [
{
"path": "atom/browser/api/atom_api_web_contents.cc",
"patch": "@@ -749,7 +749,7 @@ void WebContents::RenderFrameCreated(content::RenderFrameHost* host) {\n host->GetRoutingID(), routing_id()));\n }\n \n-void WebContents::RenderFrameHostChanged(content::RenderFrameHost* old_host, \n+void WebContents::R... | 2017-05-19T19:52:18 |
vercel/next.js | 98e0a56cafbfd5b4a39a895403cf3b8ca76674b0 | 90bfbe72bb79a0f6951c9e0eae24d6aa8a6c342d | Refactor setup-dev-bundler to make Turbopack/Webpack split clearer (#59650)
## What?
Small refactor to move Turbopack hotreloader interface creation to a
separate function: `createHotReloaderTurbopack`.
Renamed `HotReloader` to `HotReloaderWebpack`.
Initially wanted to move `createHotReloaderTurbopack` to a s... | [
{
"path": "packages/next/src/server/dev/hot-reloader-webpack.ts",
"patch": "@@ -183,7 +183,7 @@ function erroredPages(compilation: webpack.Compilation) {\n return failedPages\n }\n \n-export default class HotReloader implements NextJsHotReloaderInterface {\n+export default class HotReloaderWebpack impleme... | 2023-12-15T12:32:58 |
rust-lang/rust | 323484c8278886ffe58e8d355107a5b59ffd85cd | 07e9de0f6d73d5c9ffc87dbdc496687fc2ad7200 | Add no-extra-rounding-error flag to Miri CI config | [
{
"path": ".github/workflows/ci.yml",
"patch": "@@ -244,5 +244,10 @@ jobs:\n PROPTEST_CASES: 16\n steps:\n - uses: actions/checkout@v4\n+ - name: Download and install nightly\n+ run: |\n+ rustup toolchain install nightly --component miri,rust-src\n+ rustup overr... | 2025-08-18T04:42:20 |
golang/go | cbd931c9c2705e0e3a44c3b299ac2bd3369f5eb5 | 6d8ec893039a39f495c8139012e47754e4518b70 | encoding/gob: prevent a decoder state overflow
When decoding a struct, if a positive delta is large enough to overflow
when added to fieldnum, we would panic due to the resulting negative index.
Instead, catch this problem and produce an error like we do with
negative delta integers. If fieldnum ends up being negativ... | [
{
"path": "src/encoding/gob/decode.go",
"patch": "@@ -450,11 +450,10 @@ func (dec *Decoder) decodeStruct(engine *decEngine, value reflect.Value) {\n \t\tif delta == 0 { // struct terminator is zero delta fieldnum\n \t\t\tbreak\n \t\t}\n-\t\tfieldnum := state.fieldnum + delta\n-\t\tif fieldnum >= len(engine.... | 2022-09-22T12:35:08 |
facebook/react | aa959dcb974ffde58e807d8fb045f44edce23fcf | 5df9b90c3da6c580d46f36568585d5fb11c60e0e | TestUtils docs: isComponentOfType -> isDescriptorOfType
Fixes #1946 | [
{
"path": "docs/docs/09.4-test-utils.md",
"patch": "@@ -43,13 +43,13 @@ object mockComponent(function componentClass, string? tagName)\n \n Pass a mocked component module to this method to augment it with useful methods that allow it to be used as a dummy React component. Instead of rendering as usual, the ... | 2014-08-14T02:23:47 |
nodejs/node | 4af2539d6956004a65b3111f936f5824e6b25316 | 53fb2b6b418367e4c023cbd6531efff9839d0847 | doc: fix lexical sorting of bottom-references in http doc
PR-URL: https://github.com/nodejs/node/pull/34007
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/api/http.md",
"patch": "@@ -2621,19 +2621,20 @@ try {\n [`--insecure-http-parser`]: cli.html#cli_insecure_http_parser\n [`--max-http-header-size`]: cli.html#cli_max_http_header_size_size\n [`'checkContinue'`]: #http_event_checkcontinue\n+[`'finish'`]: #http_event_finish\n [`'request'`]: #http... | 2020-06-22T03:57:52 |
electron/electron | 09a3e2671676eac5602886c9cd38d26b264a5c49 | 7e185ef1a3d21463e0b9cab0c00aa86d7a6a3c98 | Add full prefix to main_delegate.h include | [
{
"path": "brightray/common/main_delegate_mac.mm",
"patch": "@@ -3,7 +3,7 @@\n // Use of this source code is governed by a BSD-style license that can be\n // found in the LICENSE-CHROMIUM file.\n \n-#import \"main_delegate.h\"\n+#import \"brightray/common/main_delegate.h\"\n \n #include \"base/command_line.... | 2017-05-18T23:53:12 |
vercel/next.js | 90bfbe72bb79a0f6951c9e0eae24d6aa8a6c342d | 05eb8114f9595561f9271dace5f6da55feac391d | Add tests for invalid React server APIs (#59622)
Follow-up to #59621.
Adds tests for:
- findDOMNode
- flushSync
- unstable_batchedUpdates
- useFormStatus
- useFormState
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request ... | [
{
"path": "test/development/acceptance-app/fixtures/rsc-build-errors/app/server-with-errors/react-dom-apis/finddomnode/page.js",
"patch": "@@ -0,0 +1,7 @@\n+import { findDOMNode } from 'react-dom'\n+\n+console.log({ findDOMNode })\n+\n+export default function Page() {\n+ return null\n+}",
"additions": ... | 2023-12-15T09:12:46 |
rust-lang/rust | 3f01c753fd24607e20de083a407a5e9275f1ec78 | f560820760aad47e7fbb7c864c53b79596cb9982 | Update nightly toolchain and fix broken examples
Update examples to remove features that have been stabilized | [
{
"path": "crates/core_simd/examples/dot_product.rs",
"patch": "@@ -1,8 +1,6 @@\n //! Code taken from the `packed_simd` crate.\n //! Run this code with `cargo test --example dot_product`.\n \n-#![feature(array_chunks)]\n-#![feature(slice_as_chunks)]\n // Add these imports to use the stdsimd library\n #![fea... | 2025-08-18T00:36:53 |
facebook/react | 87607045e443e54e9f4f79122572686265dde3a9 | dcdc35fab69fa28a6cda7b3fe5dc904ccfbe5455 | Abbreviated error message | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -592,12 +592,10 @@ function mergeObjectsWithNoDuplicateKeys(one, two) {\n invariant(\n one[key] === undefined,\n 'mergeObjectsWithNoDuplicateKeys(): ' +\n- 'Tried to merge two objects with the same key: `%s`. ' +\n- 'Thi... | 2014-08-13T22:25:53 |
golang/go | 6d8ec893039a39f495c8139012e47754e4518b70 | 12daabb9156adb73fda453cae939ab4e3cb8e52f | reflect: fix race condition on funcTypes
CL 425314 made creating funcTypes using StructOf, and using a mutex to
protect read+write to funcTypes. However, after initializing funcTypes,
it is accessed in FuncOf without holding lock, causing a race.
Fixing it by returning the n-th Type directly from initFuncTypes, so th... | [
{
"path": "src/reflect/all_test.go",
"patch": "@@ -15,6 +15,7 @@ import (\n \t\"io\"\n \t\"math\"\n \t\"math/rand\"\n+\t\"net\"\n \t\"os\"\n \t. \"reflect\"\n \t\"reflect/internal/example1\"\n@@ -8240,3 +8241,20 @@ func TestValue_Equal(t *testing.T) {\n \t\t}\n \t}\n }\n+\n+func TestInitFuncTypes(t *testing... | 2022-10-03T16:46:13 |
nodejs/node | 53fb2b6b418367e4c023cbd6531efff9839d0847 | 78ca61e2cfda9b1e227b0339831ce7507921bc13 | src: remove _third_party_main support
Since 7dead8440c7ee, there is a more official alternative that is
tested and comes with a proper API, and since a6c57cc66d0, the
`LoadEnvironment(env)` overload is deprecated, which is the closest
thing we can achieve to deprecating `_third_party_main` support.
Thus, we can now c... | [
{
"path": "lib/internal/cli_table.js",
"patch": "@@ -11,8 +11,7 @@ const { getStringWidth } = require('internal/util/inspect');\n // The use of Unicode characters below is the only non-comment use of non-ASCII\n // Unicode characters in Node.js built-in modules. If they are ever removed or\n // rewritten wi... | 2020-06-19T15:10:28 |
electron/electron | 43f7520d4f8b57bbb391a975b1b740742b478079 | e19eef025d603680b870c93c707e6c6d53e20718 | Add missing brightray prefix | [
{
"path": "atom/browser/net/url_request_fetch_job.h",
"patch": "@@ -8,7 +8,7 @@\n #include <string>\n \n #include \"atom/browser/net/js_asker.h\"\n-#include \"browser/url_request_context_getter.h\"\n+#include \"brightray/browser/url_request_context_getter.h\"\n #include \"content/browser/streams/stream.h\"\... | 2017-05-18T23:19:11 |
rust-lang/rust | c44c1bbe87a607d9edd06b1629e47d316602a456 | bc9725c1eabf835cee46adcc53e122cf0b880442 | Fix up library crate order in linker test | [
{
"path": "tests/run-make/linker-warning/short-error.txt",
"patch": "@@ -1,6 +1,6 @@\n error: linking with `./fake-linker` failed: exit status: 1\n |\n- = note: \"./fake-linker\" \"-m64\" \"/symbols.o\" \"<2 object files omitted>\" \"-Wl,--as-needed\" \"-Wl,-Bstatic\" \"/build-root/test/run-make/linker-... | 2025-08-17T22:45:05 |
facebook/react | dcdc35fab69fa28a6cda7b3fe5dc904ccfbe5455 | ed27c89748149e17cd45f3dd235cc41c93a816ac | More informative error message for mergeObjectsWithNoDuplicateKeys | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -592,7 +592,12 @@ function mergeObjectsWithNoDuplicateKeys(one, two) {\n invariant(\n one[key] === undefined,\n 'mergeObjectsWithNoDuplicateKeys(): ' +\n- 'Tried to merge two objects with the same key: %s',\n+ 'Tried to ... | 2014-08-13T19:04:19 |
golang/go | 12daabb9156adb73fda453cae939ab4e3cb8e52f | 78f7d0f001c26873f2e29fe2cdd6071763c3e723 | go/build: replace +build with go:build in documentation
Fixes #54181.
Change-Id: I47f5102ff2095a794b6fc6bcf75617ba5f85c24d
Reviewed-on: https://go-review.googlesource.com/c/go/+/437995
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@goo... | [
{
"path": "src/go/build/build.go",
"patch": "@@ -45,11 +45,11 @@ type Context struct {\n \tDir string\n \n \tCgoEnabled bool // whether cgo files are included\n-\tUseAllFiles bool // use files regardless of +build lines, file names\n+\tUseAllFiles bool // use files regardless of go:build lines, file ... | 2022-10-03T07:11:37 |
nodejs/node | 78ca61e2cfda9b1e227b0339831ce7507921bc13 | b546a2b469da113b9edb43b61c8e4d854c6f7432 | net: check args in net.connect() and socket.connect() calls
Previously Node.js would handle empty `net.connect()` and
`socket.connect()` call as if the user passed empty options object which
doesn't really make sense. This was due to the fact that it uses the
same `normalizeArgs` function as `.listen()` call where suc... | [
{
"path": "lib/net.js",
"patch": "@@ -95,7 +95,8 @@ const {\n ERR_INVALID_OPT_VALUE,\n ERR_SERVER_ALREADY_LISTEN,\n ERR_SERVER_NOT_RUNNING,\n- ERR_SOCKET_CLOSED\n+ ERR_SOCKET_CLOSED,\n+ ERR_MISSING_ARGS,\n },\n errnoException,\n exceptionWithHostPort,\n@@ -921,6 +922,10 @@ Socket.... | 2020-06-22T16:53:38 |
vercel/next.js | 2da04af2e8584a3f2b008c3173f9fb7e18b19617 | 42d6e3092eb67cf1205f9d09cd3d4002ff7b649a | Partial Pre Rendering Headers (#59447)
This fixes some of headers (and adds associated tests) for pages when
PPR is enabled. Namely, the `Cache-Control` headers are now returning
correctly, reflecting the non-cachability of some requests:
- Requests that postpone (dynamic data is streamed after the initial
stati... | [
{
"path": "packages/next/src/server/base-server.ts",
"patch": "@@ -1294,7 +1294,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n }\n \n res.statusCode = Number(req.headers['x-invoke-status'])\n- let err = null\n+ let err: Error | nu... | 2023-12-14T20:14:06 |
rust-lang/rust | 3486a2c3e735d51750e1127607eefcf0496a4d00 | 058a398f9fd11783aa62691bfb4b029c1a3d313c | Remove fixme comment | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/lower_nextsolver.rs",
"patch": "@@ -1793,7 +1793,6 @@ fn named_associated_type_shorthand_candidates<'db, R>(\n // Handle `Self::Type` referring to own associated type in trait definitions\n // This *must* be done first to avoid cyc... | 2025-08-15T04:52:12 |
electron/electron | d7321ed9803ddcfb1fc40fcfefc0dda091db6897 | c4608c0f371c030055ea39c7210ef5444624f4bd | Add brightray prefix to include paths from within brightray | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -11,7 +11,7 @@\n 'target_name': 'brightray',\n 'type': 'static_library',\n 'include_dirs': [\n- '.',\n+ '..',\n '<(libchromiumcontent_src_dir)',\n '<(libchromiumcontent_src_dir)/skia/config',\n '<(libch... | 2017-05-18T22:58:12 |
facebook/react | 71e49adf35a19d57b4937f429e0902253edd7dfc | ed27c89748149e17cd45f3dd235cc41c93a816ac | Throw an error when functions on `statics` clash due to duplicate keys | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -556,22 +556,14 @@ function mixStaticSpecIntoComponent(Constructor, statics) {\n }\n \n var isInherited = name in Constructor;\n- var result = property;\n- if (isInherited) {\n- var existingProperty = Constructor[name];\n- ... | 2014-08-13T18:44:54 |
golang/go | 78f7d0f001c26873f2e29fe2cdd6071763c3e723 | a8d180409d071ad327afeaf6f64fef635d8f6053 | cmd/compile/internal: fix a few function names on comments
Change-Id: If78c6d3c6183494f71f2857e496e172a789da39f
GitHub-Last-Rev: 58e0b75052a92cb720371d2b3c75e1de79d79bdc
GitHub-Pull-Request: golang/go#55992
Reviewed-on: https://go-review.googlesource.com/c/go/+/437517
Reviewed-by: Keith Randall <khr@golang.org>
Review... | [
{
"path": "src/cmd/compile/internal/base/mapfile_mmap.go",
"patch": "@@ -18,7 +18,7 @@ import (\n // TODO(mdempsky): Is there a higher-level abstraction that still\n // works well for iimport?\n \n-// mapFile returns length bytes from the file starting at the\n+// MapFile returns length bytes from the file ... | 2022-10-02T03:36:51 |
nodejs/node | b546a2b469da113b9edb43b61c8e4d854c6f7432 | 7816e5f7b911125919a2af4d71f67c34c52b0a27 | lib: handle one of args case in ERR_MISSING_ARGS
This makes ERR_MISSING_ARGS handle nested arrays in argument names as
one-of case and will print them as '"arg1" or "arg2" or "arg3"'.
Example:
```js
throw new ERR_MISSING_ARGS(['a', 'b', 'c']);
// will result in message:
// The "a" or "b" or "c" argument must be speci... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -1253,7 +1253,10 @@ E('ERR_MISSING_ARGS',\n assert(args.length > 0, 'At least one arg needs to be specified');\n let msg = 'The ';\n const len = args.length;\n- args = args.map((a) => `\"${a}\"`);\n+ const wrap = (a) => `\"${a}\"`;\n+ arg... | 2020-06-22T16:49:21 |
rust-lang/rust | 058a398f9fd11783aa62691bfb4b029c1a3d313c | 3e41e85b2761bbe21169e7dd72cb959fb63a31fa | Add FIXME in named_associated_type_shorthand_candidates | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/lower_nextsolver.rs",
"patch": "@@ -1782,6 +1782,9 @@ fn named_associated_type_shorthand_candidates<'db, R>(\n TypeNs::SelfType(impl_id) => {\n let trait_ref = db.impl_trait_ns(impl_id)?;\n \n+ // FIXME(next-solver): same me... | 2025-08-15T04:50:21 |
vercel/next.js | a253f3b278a741c45119da92710d4cd72e8e4e15 | e647db25f4c6e85d9ca937979468d93cca1f08c7 | turbopack-css: fix rule duplication (vercel/turbo#6778)
This fixes an issue in css chunk generation where rules could be
duplicated, which was likely introduced in the chunking refactor (a
series of PRs starting with vercel/turbo#6104).
CSS chunk generation had special logic that would walk the module graph
on its ow... | [
{
"path": "crates/turbopack-core/src/reference_type.rs",
"patch": "@@ -1,5 +1,6 @@\n use std::fmt::Display;\n \n+use anyhow::Result;\n use indexmap::IndexMap;\n use turbo_tasks::Vc;\n \n@@ -43,10 +44,84 @@ pub enum EcmaScriptModulesReferenceSubType {\n Undefined,\n }\n \n+/// The individual set of condi... | 2023-12-14T20:11:10 |
electron/electron | c4608c0f371c030055ea39c7210ef5444624f4bd | b6992436a0d1e727d2491a6b257ded7ee296c719 | Fix build/include_alpha linter violations in brightray | [
{
"path": "brightray/CPPLINT.cfg",
"patch": "@@ -1 +1 @@\n-filter=-legal/copyright\n+filter=-legal/copyright,+build/include_alpha",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "brightray/browser/browser_context.cc",
"patch": "@@ -4,24 +4,21 @@\n \n #include \"b... | 2017-05-18T22:29:22 |
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.