repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
electron/electron
686b1388b1370e010a6a4dd06376f350a39a6922
5048425e6ed984e490ecfe9086390715168707d1
Fix linting issues
[ { "path": "atom/browser/api/atom_api_notification.cc", "patch": "@@ -88,8 +88,8 @@ void Notification::SetBody(const base::string16& new_body) {\n void Notification::SetSilent(bool new_silent) {\n silent_ = new_silent;\n }\n-void Notification::SetReplyPlaceholder(const base::string16& new_reply_placeholder...
2017-05-30T09:12:36
golang/go
578523e4a0f68e9b35984f017bb3471b0bd313b4
6688efd5df1ef82dbe5d1f47b4c9bf4321a44126
internal/types/errors: add InvalidSyntaxTree error Type checkers should use InvalidSyntaxTree as error code for invalid syntax tree errors instead of zero. This way the zero value can be used to mark an unset error code. Also, add an example for BlankPkgName (and adjust the test harness slightly to make it work). Ch...
[ { "path": "src/internal/types/errors/codes.go", "patch": "@@ -31,6 +31,11 @@ type Code int\n // problem with types.\n \n const (\n+\t// InvalidSyntaxTree occurs if an invalid syntax tree is provided\n+\t// to the type checker. It should never happen.\n+\tInvalidSyntaxTree Code = -1\n+\n+\t// The zero Code v...
2022-10-07T00:47:13
vercel/next.js
df14fdfa259eaf1062f0b97942a1645ee9671487
cd740cd028f6b4fd7a10518b41bf918966dbc6b9
docs: fix typo for `useFormState` (#60010)
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/02-server-actions-and-mutations.mdx", "patch": "@@ -653,7 +653,7 @@ export async function createTodo(prevState, formData) {\n \n > **Good to know:**\n >\n-> - Aside from throwing the error, you can also return an object to be handled by `u...
2023-12-29T00:22:11
nodejs/node
16f3b6a01b44dea9a320dd9812cdf21e6b91234a
92f878129ffd1c071da2364f3444e0ffcafeb885
doc: util.debuglog callback PR-URL: https://github.com/nodejs/node/pull/33856 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/util.md", "patch": "@@ -70,13 +70,15 @@ callbackFunction((err, ret) => {\n });\n ```\n \n-## `util.debuglog(section)`\n+## `util.debuglog(section[, callback])`\n <!-- YAML\n added: v0.11.3\n -->\n \n * `section` {string} A string identifying the portion of the application for\n which th...
2020-06-12T14:20:48
facebook/react
0b3c0ebcede3df4837a7ca77ff73822e2aeb8ab4
65c1834059988a298f38038a24baf9764e9e2c82
Spelling fix - Puting -> Putting
[ { "path": "docs/_posts/2014-09-24-testing-flux-applications.md", "patch": "@@ -83,7 +83,7 @@ var keys = Object.keys(all);\n expect(all[keys[0]].text).toEqual('foo');\n ```\n \n-Puting it All Together\n+Putting it All Together\n ----------------------\n \n The example Flux TodoMVC application has been update...
2014-09-26T17:42:58
golang/go
6688efd5df1ef82dbe5d1f47b4c9bf4321a44126
9770b8be687278eaf80730a6bb2ddef991c3d87a
cmd/compile/internal/types2: use internal/types/errors instead of local error codes Change-Id: If9b5c2c5d1b89146250bcd19965797baab315876 Reviewed-on: https://go-review.googlesource.com/c/go/+/439564 Run-TryBot: Robert Griesemer <gri@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesem...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -9,6 +9,7 @@ package types2\n import (\n \t\"cmd/compile/internal/syntax\"\n \t\"fmt\"\n+\t. \"internal/types/errors\"\n \t\"strings\"\n )\n \n@@ -40,7 +41,7 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \...
2022-10-06T23:21:35
vercel/next.js
7e00d1871ca8e56b90cd81ee672c4f95bc712067
332bf6d4f8ff5d53676249d05af08a0691ff434e
docs: Updates "No Before Interactive" error message for App router (#56033) Co-authored-by: Lee Robinson <me@leerob.io>
[ { "path": "errors/no-before-interactive-script-outside-document.mdx", "patch": "@@ -2,15 +2,37 @@\n title: No Before Interactive Script Outside Document\n ---\n \n-> Prevent usage of `next/script`'s `beforeInteractive` strategy outside of `pages/_document.js`.\n+> Prevent usage of `next/script`'s `beforeInt...
2023-12-27T16:54:17
nodejs/node
d2c8b3efc345a29ce7d72511ed73f98fa8b6ee54
d3d4aceb96fced82710e1cdb3dfc7224f830df48
doc: clarify that the ctx argument is optional Clarify that the `ctx` argument of the `SNICallback` callback is optional. Fixes: https://github.com/nodejs/node/issues/34085 PR-URL: https://github.com/nodejs/node/pull/34097 Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Tobias Nießen <tniessen@tnie.d...
[ { "path": "doc/api/tls.md", "patch": "@@ -1696,12 +1696,15 @@ changes:\n * `sessionTimeout` {number} The number of seconds after which a TLS session\n created by the server will no longer be resumable. See\n [Session Resumption][] for more information. **Default:** `300`.\n- * `SNICallback(server...
2020-06-28T07:50:10
facebook/react
6c19040d24223a2c98953ad85d318657504ce874
4f27dc30ad065856c9ed7de9c4dd8366801b9486
Point to Flux site for Flux docs This doesn't actually remove the pages, just the main content. Sidebar items now link offsite. The pages doesn't automatically redirect, but we could do that if we really wanted. Fixes #2229
[ { "path": "docs/_data/nav_docs.yml", "patch": "@@ -81,5 +81,7 @@\n items:\n - id: flux-overview\n title: Flux Overview\n+ href: http://facebook.github.io/flux/docs/overview.html\n - id: flux-todo-list\n title: Flux TodoMVC Tutorial\n+ href: http://facebook.github.io/flux/docs/todo-list.h...
2014-09-24T23:49:27
vercel/next.js
332bf6d4f8ff5d53676249d05af08a0691ff434e
2c811af22e3dff1e07f0ce9198b39a6a6450bb4f
docs: remove incorrect async components in parallel routes docs (#59966) Co-authored-by: Lee Robinson <me@leerob.io>
[ { "path": "docs/02-app/01-building-your-application/01-routing/08-parallel-routes.mdx", "patch": "@@ -122,7 +122,7 @@ Both [`useSelectedLayoutSegment`](/docs/app/api-reference/functions/use-selected\n \n import { useSelectedLayoutSegment } from 'next/navigation'\n \n-export default async function Layout(pro...
2023-12-27T16:45:14
nodejs/node
cfa3d8fec5d9f6469c8d4ef077b53e0d9007dab9
d853145277f3070053ed89cbaa91ad9218f3e1ac
doc: fix entry for `napi_create_external_buffer` Remove text regarding copying, because `napi_create_external_buffer` does not copy. Fixes: https://github.com/nodejs/node/issues/33471 PR-URL: https://github.com/nodejs/node/pull/34125 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Mathias Buus <mathias...
[ { "path": "doc/api/n-api.md", "patch": "@@ -2054,7 +2054,7 @@ napi_status napi_create_external_buffer(napi_env env,\n * `[in] env`: The environment that the API is invoked under.\n * `[in] length`: Size in bytes of the input buffer (should be the same as the\n size of the new buffer).\n-* `[in] data`: Raw...
2020-06-29T22:10:31
golang/go
9770b8be687278eaf80730a6bb2ddef991c3d87a
470d1462765a88ce90802eaf2898924ab0e6f123
go/types: use internal/types/errors instead of local error codes This change adds a new dependency to go/types. Change-Id: I7e40b95c8c1e1356b638fc1aa2ef16ce91e9a496 Reviewed-on: https://go-review.googlesource.com/c/go/+/439563 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.or...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -182,6 +182,7 @@ var depsRules = `\n \t< html,\n \t internal/dag,\n \t internal/goroot,\n+\t internal/types/errors,\n \t mime/quotedprintable,\n \t net/internal/socktest,\n \t net/url,\n@@ -273,7 +274,7 @@ var depsRules = `\n \tmath/big, go/token\n \...
2022-10-06T21:52:33
electron/electron
9aa6b83f86739a1f22f31e5702b338b27d3ac244
c741b584a1532afb208afdad263516c49a9074e1
Fix compilation and click events on macOS
[ { "path": "atom/browser/api/atom_api_notification.cc", "patch": "@@ -17,7 +17,6 @@\n #include \"atom/common/node_includes.h\"\n #include \"base/strings/utf_string_conversions.h\"\n #include \"base/threading/thread_task_runner_handle.h\"\n-#include \"common/string_conversion.h\"\n #include \"native_mate/cons...
2017-05-29T11:22:44
vercel/next.js
02d390740b75965f1941072cd417bfad758891e7
6a23987282699c3db70b2252f07ffb8826ceb342
docs: fix link to formEntries (#59935)
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/02-server-actions-and-mutations.mdx", "patch": "@@ -170,7 +170,7 @@ export default function Page() {\n > **Good to know:**\n >\n > - Example: [Form with Loading & Error States](https://github.com/vercel/next.js/tree/canary/examples/next-fo...
2023-12-27T16:42:17
golang/go
470d1462765a88ce90802eaf2898924ab0e6f123
49372957abb89df9616be4c5134febfa2aafd24c
internal/types/errors: rename UntypedNil to UntypedNilUse This avoids a conflict when dot-importing this package in go/types and types2. Change-Id: Ia6fc45ef21c28ea595b49f5321b5c0d441763e2b Reviewed-on: https://go-review.googlesource.com/c/go/+/439562 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Goph...
[ { "path": "src/internal/types/errors/codes.go", "patch": "@@ -138,12 +138,12 @@ const (\n \t// const c *int = 4\n \tInvalidConstType\n \n-\t// UntypedNil occurs when the predeclared (untyped) value nil is used to\n+\t// UntypedNilUse occurs when the predeclared (untyped) value nil is used to\n \t// initial...
2022-10-06T21:55:48
facebook/react
5493b63b44e82ba6976d84aa4e189ef327afbfd1
4f27dc30ad065856c9ed7de9c4dd8366801b9486
fix typos
[ { "path": "docs/_posts/2014-09-24-testing-flux-applications.md", "patch": "@@ -13,7 +13,7 @@ For a unit test to operate on a truly isolated _unit_ of the application, we nee\n \n The first steps toward working with Jest are as follows:\n \n-1. Get the module depencies for the application installed by runnin...
2014-09-25T07:54:35
electron/electron
217ddd629d68e40324fa292b9a4f5b058f4e258d
5e149c827e2abf71ef46aa1f5ad5274a149db66f
:apple: Fix incorrect extension when filters is used
[ { "path": "atom/browser/ui/file_dialog_mac.mm", "patch": "@@ -40,6 +40,7 @@ void SetAllowedFileTypes(NSSavePanel* dialog, const Filters& filters) {\n if ([file_type_set count])\n file_types = [file_type_set allObjects];\n \n+ [dialog setExtensionHidden:NO];\n [dialog setAllowedFileTypes:file_types]...
2017-05-28T19:20:22
nodejs/node
d853145277f3070053ed89cbaa91ad9218f3e1ac
b4fe76d656d51ead949f2a35c13a221616f78c4c
doc: fix source link margin to sub-header mark Prior to this commit, [src] link overlapped sharped (#) sub-header link PR-URL: https://github.com/nodejs/node/pull/33664 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api_assets/style.css", "patch": "@@ -342,6 +342,7 @@ h5 {\n .srclink {\n float: right;\n font-size: smaller;\n+ margin-right: 30px;\n }\n \n h1 span,", "additions": 1, "deletions": 0, "language": "CSS" } ]
2020-05-30T22:09:58
vercel/next.js
6a23987282699c3db70b2252f07ffb8826ceb342
fc25fcef3edc488c17ea6da7259a352e2dcca1d8
docs: Fix typo in generate-sitemaps.mdx docs (#59964)
[ { "path": "docs/02-app/02-api-reference/04-functions/generate-sitemaps.mdx", "patch": "@@ -45,7 +45,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/${id}`\n+ ...
2023-12-27T16:40:51
facebook/react
792b84c94be293240feac87db47fcc7fd17097e3
486c69b6de123312d8d67ac6251d3942d4d2f29e
fixes ReactDefaultPerf.getMeasurementsSummaryMap format style
[ { "path": "src/test/ReactDefaultPerf.js", "patch": "@@ -90,7 +90,7 @@ var ReactDefaultPerf = {\n );\n },\n \n- getMeasurementsSummaryMap: function(measurements){\n+ getMeasurementsSummaryMap: function(measurements) {\n var summary = ReactDefaultPerfAnalysis.getInclusiveSummary(\n measureme...
2014-09-24T01:50:18
golang/go
49372957abb89df9616be4c5134febfa2aafd24c
b440c15db71ba0ac0b995428a52b380814882627
internal/types/errors: export error codes Adjust self-test accordingly. Change-Id: I69987a306760da9eaf832275af0e9a8b6131a349 Reviewed-on: https://go-review.googlesource.com/c/go/+/439561 Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@goo...
[ { "path": "src/internal/types/errors/codes.go", "patch": "@@ -4,7 +4,7 @@\n \n package errors\n \n-type errorCode int\n+type Code int\n \n // This file defines the error codes that can be produced during type-checking.\n // Collectively, these codes provide an identifier that may be used to\n@@ -31,149 +31,...
2022-10-06T21:08:14
electron/electron
116403ed03997d7252f2874a781a6b61600795b2
49f76b8bc3905d520410963fb40f552447c21af1
remove electron prefix
[ { "path": "docs/api/process.md", "patch": "@@ -119,8 +119,8 @@ that all statistics are reported in Kilobytes.\n \n ### `process.getCPUUsage()`\n \n-Returns [`Electron.CPUUsage`](structures/cpu-usage.md)\n+Returns [`CPUUsage`](structures/cpu-usage.md)\n \n ### `process.getIOCounters()` _Windows_ _Linux_\n \n...
2017-05-26T22:57:39
nodejs/node
1d7be3253f12c9eafaf0ecec378a657893b30852
9b8d317d9916dd44b2b3678df05f9daf6eb14c90
crypto: move typechecking for timingSafeEqual into C++ This makes the function more robust against V8 inlining. Fixes: https://github.com/nodejs/node/issues/34073 PR-URL: https://github.com/nodejs/node/pull/34141 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed...
[ { "path": "lib/crypto.js", "patch": "@@ -44,7 +44,11 @@ const { getOptionValue } = require('internal/options');\n const pendingDeprecation = getOptionValue('--pending-deprecation');\n const { fipsMode } = internalBinding('config');\n const fipsForced = getOptionValue('--force-fips');\n-const { getFipsCrypto...
2020-06-30T20:36:10
vercel/next.js
365a0492d09b397d0e9e9fef5b8bfecc15b84c8e
0fc1d9e982c9fe2a8da23d95943cd161de4c3178
docs: fix prettier lint (#59918) x-ref: https://github.com/vercel/next.js/actions/runs/7315608759/job/19929482613 Closes NEXT-1928
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/images.mdx", "patch": "@@ -178,12 +178,12 @@ export default function sanityLoader({ src, width, quality }) {\n ```js\n // Docs: https://sirv.com/help/articles/dynamic-imaging/\n export default function sirvLoader({ src, width, quality }) {\n- const ...
2023-12-24T21:06:28
facebook/react
b9f32a829569c7e5bac9c12268ff8be16051899a
f04d6488889b0379173d6dde0d7306f146f68342
Update getting-started.md fix grammar
[ { "path": "docs/docs/getting-started.md", "patch": "@@ -60,7 +60,7 @@ React.renderComponent(\n \n > Note:\n >\n-> ```/** @jsx React.DOM */``` is *must*, which is jsx convention. The comment parser is very strict right now; in order for it to pick up the `@jsx` modifier, two conditions are required. The `@js...
2014-09-24T00:26:10
electron/electron
49f76b8bc3905d520410963fb40f552447c21af1
b88327e025c7e0ef20be446c8d6826947ec990e8
Add Electron prefixes.
[ { "path": "docs/api/process.md", "patch": "@@ -119,8 +119,8 @@ that all statistics are reported in Kilobytes.\n \n ### `process.getCPUUsage()`\n \n-Returns [`CPUUsage`](structures/cpu-usage.md)\n+Returns [`Electron.CPUUsage`](structures/cpu-usage.md)\n \n ### `process.getIOCounters()` _Windows_ _Linux_\n \n...
2017-05-26T21:00:05
nodejs/node
9b8d317d9916dd44b2b3678df05f9daf6eb14c90
d08334a489cbd29e4876a0031603ab8b5fef6f89
test: fix flaky test-http2-invalidheaderfield Separate test cases to avoid side effects and race conditions. Fixes: https://github.com/nodejs/node/issues/34172 PR-URL: https://github.com/nodejs/node/pull/34173 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
[ { "path": "test/parallel/test-http2-invalidheaderfield.js", "patch": "@@ -10,56 +10,77 @@ if (!common.hasCrypto) { common.skip('missing crypto'); }\n const http2 = require('http2');\n const { throws, strictEqual } = require('assert');\n \n-const server = http2.createServer(common.mustCall((req, res) => {\n-...
2020-07-02T17:28:23
golang/go
b440c15db71ba0ac0b995428a52b380814882627
665992b5158c1c851f6e6a1ecb15a166f5ff611e
internal/types/errors: add package The internal/types/errors package defines all error codes used by the type checkers. This is the 1st step of several that factor out the error codes from go/types and types2; the package is not yet used. - The file codes.go is a copy of go/types/errorcodes.go. The only change is t...
[ { "path": "src/internal/types/errors/codes.go", "patch": "@@ -0,0 +1,1423 @@\n+// Copyright 2020 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 errors\n+\n+type errorCode int\n+\n+// This file defi...
2022-10-06T20:51:52
vercel/next.js
500a3f8f009aa04f18f274aed31de961c14c4b36
abcd10a03980046ba19371670f4472fbbd5850d9
docs: fix typo (#59897)
[ { "path": "docs/02-app/01-building-your-application/08-testing/04-cypress.mdx", "patch": "@@ -8,7 +8,7 @@ description: Learn how to set up Cypress with Next.js for End-to-End (E2E) and C\n \n > **Warning:**\n >\n-> - For **component testing**, Cypress currently does not support [Next.js version 14](https://...
2023-12-24T15:11:46
electron/electron
6c520a5f40ff44afdadc9762aed7073890ddcb39
dbd240a7cb128a639d03367afd71b70ca30f3510
Fix typo in option name
[ { "path": "docs/api/window-open.md", "patch": "@@ -48,7 +48,7 @@ origin preference.\n \n ### Use Native `window.open()`\n \n-If you want to use native `window.open()` implementation, pass `useNativeWindowOpen: true` in `webPreferences` option.\n+If you want to use native `window.open()` implementation, pass...
2017-05-23T23:02:00
nodejs/node
d08334a489cbd29e4876a0031603ab8b5fef6f89
829f521fda0f5add192b10002ce73142655c16a5
test: report actual error code on failure Add a custom message to parallel/test-dgram-error-message-address so that the actual error code that doesn't match the allowed errors is output on assertion failure. PR-URL: https://github.com/nodejs/node/pull/34134 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed...
[ { "path": "test/parallel/test-dgram-error-message-address.js", "patch": "@@ -47,7 +47,7 @@ socket_ipv6.on('listening', common.mustNotCall());\n socket_ipv6.on('error', common.mustCall(function(e) {\n // EAFNOSUPPORT or EPROTONOSUPPORT means IPv6 is disabled on this system.\n const allowed = ['EADDRNOTAV...
2020-06-30T13:55:27
golang/go
665992b5158c1c851f6e6a1ecb15a166f5ff611e
213504e5431891e8421a92ab72ac08981ce07516
go/types, types2: better error for generic type decl. with missing constraint If a generic type declaration is missing a constraint, syntactically it is an array type declaration with an undefined array length. Mention the possibility of a missing constraint in the error message for the undefined array length. For #5...
[ { "path": "src/cmd/compile/internal/types2/typexpr.go", "patch": "@@ -478,7 +478,7 @@ func (check *Checker) arrayLength(e syntax.Expr) int64 {\n \tif name, _ := e.(*syntax.Name); name != nil {\n \t\tobj := check.lookup(name.Value)\n \t\tif obj == nil {\n-\t\t\tcheck.errorf(name, _InvalidArrayLen, \"undefine...
2022-10-06T20:17:53
facebook/react
eafe786aeff8bddca71ce09c3712588ca69fb801
8cd460ce244cbeb707e02382f90fe5c114a96d46
Reword Component API intro Fixes #2179
[ { "path": "docs/docs/ref-02-component-api.md", "patch": "@@ -8,7 +8,7 @@ next: component-specs.html\n \n ## ReactComponent\n \n-Component classes created by `React.createClass()` return instances of `ReactComponent` when called. Most of the time when you're using React you're either creating or consuming th...
2014-09-11T17:31:29
electron/electron
cabcd0ef8f323f9989a0dc8d3b1b172c08b9f48d
7794cabd130b905f649c8d0f5f9d6cfc7b3f7884
Fix typos in ProcessMetric doc
[ { "path": "docs/api/structures/process-metric.md", "patch": "@@ -2,5 +2,5 @@\n \n * `pid` Integer - Process id of the process.\n * `type` String - Process type (Browser or Tab or GPU etc).\n-* `memory` [MemoryInfo](memory-info.md) - Memory information of the process.\n-* `cpu` [CPUUsage](cpu-usage.md) - CPU...
2017-05-26T15:36:51
vercel/next.js
c4ba419d5c5f4305785840b33f529607551ea199
3d9a1b481ede1d9b2e966ffafd2e7ce0b955720a
Alias nextjs api entry to esm version for app router (#59852) ## What When users specify `"type": "module"` in Next.js app, especially with `create-next-app`, `Image` component is not working. An error `Unsupported Server Component type: {...}` is thrown. ## Why `next/image` API is mixing with a client comp...
[ { "path": "packages/next/src/api/app-dynamic.ts", "patch": "@@ -0,0 +1,2 @@\n+export * from '../shared/lib/app-dynamic'\n+export { default } from '../shared/lib/app-dynamic'", "additions": 2, "deletions": 0, "language": "Unknown" }, { "path": "packages/next/src/api/app.tsx", "patch":...
2023-12-23T16:46:50
nodejs/node
829f521fda0f5add192b10002ce73142655c16a5
dfeeb3c275cbc2576974d8ca5e89961df2a45944
doc: remove "considered" in errors.md "would be considered a `TypeError`" -> "would be a `TypeError`". Using "considered" introduces unnecessary ambiguity. Is is not actually a TypeError but merely "considered" one? Why is that? We don't say. Simplify to "is a TypeError". PR-URL: https://github.com/nodejs/node/pull/...
[ { "path": "doc/api/errors.md", "patch": "@@ -562,8 +562,7 @@ program. For a comprehensive list, see the [`errno`(3) man page][].\n * Extends {errors.Error}\n \n Indicates that a provided argument is not an allowable type. For example,\n-passing a function to a parameter which expects a string would be consi...
2020-07-01T04:48:16
golang/go
213504e5431891e8421a92ab72ac08981ce07516
28a05f541dd218c40cc221db4e97898cc5a3b902
cmd/cgo: use -O2 when testing compiler features Add "-O2" to all compiler/linker tests. This makes compiler/linker feature probing better resemble actual compiling later. Why? ---- zig c++ is a clang front-end[1] that accepts, among other things, the target over the command line. This command: zig c++ -target x...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -42,6 +42,8 @@ import (\n \t\"cmd/internal/sys\"\n )\n \n+const defaultCFlags = \"-O2 -g\"\n+\n // actionList returns the list of actions in the dag rooted at root\n // as visited in a depth-first post-order traversal.\n func actionList(root *Action...
2022-10-08T05:00:42
facebook/react
0ae09f4c70bd83483b242f3712a206d34da45bbc
9d7e3a7471c46be36a2f64fef82149c7435fec9b
add tip for the important jsx convention I missed the convention and wast hours to figure out what's wrong. Add this tip in the document for who would miss the importance comment.
[ { "path": "docs/docs/getting-started.md", "patch": "@@ -57,6 +57,8 @@ React.renderComponent(\n document.getElementById('example')\n );\n ```\n+> ```/** @jsx React.DOM */``` is must, or jsx would not convert.\n+\n Then reference it from `helloworld.html`:\n \n ```html{10}", "additions": 2, "deletio...
2014-09-22T12:10:34
electron/electron
d6e626c7e36655583e1ff60abf7b3ef2ba627bb7
b5879b739918937bd83f8404a8f69e99a8e7dc17
Remove crashed render processes from metrics
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -687,17 +687,25 @@ void App::BrowserChildProcessHostDisconnected(\n ChildProcessDisconnected(base::GetProcId(data.handle));\n }\n \n+void App::BrowserChildProcessCrashed(const content::ChildProcessData& data,\n+ ...
2017-05-26T15:32:08
vercel/next.js
2336274a2e41b67c550b6d29d0d18ac71d81ce37
7a18e6da37f3a4c53a151e90bb9601badb2e6d6d
docs: Add `cwd` to VSCode debugging setup steps (#58689)
[ { "path": "docs/03-pages/01-building-your-application/06-configuring/13-debugging.mdx", "patch": "@@ -42,7 +42,11 @@ Create a file named `.vscode/launch.json` at the root of your project with the f\n }\n ```\n \n-`npm run dev` can be replaced with `yarn dev` if you're using Yarn. If you're [changing the por...
2023-12-22T22:26:04
nodejs/node
dfeeb3c275cbc2576974d8ca5e89961df2a45944
1dc837ed9a139eaf86d7929e9bee6f0021fc5a3d
doc: simplify and clarify ReferenceError material in errors.md "should always be considered" -> "indicate" PR-URL: https://github.com/nodejs/node/pull/34151 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-...
[ { "path": "doc/api/errors.md", "patch": "@@ -391,8 +391,7 @@ doesNotExist;\n ```\n \n Unless an application is dynamically generating and running code,\n-`ReferenceError` instances should always be considered a bug in the code\n-or its dependencies.\n+`ReferenceError` instances indicate a bug in the code or...
2020-07-01T04:44:32
golang/go
28a05f541dd218c40cc221db4e97898cc5a3b902
4fe1971b2dff1fa14cb8f5be47aed7fda76c0f7c
cmd/go/internal/modload: improve error message for failing to read module listed in go.work Run "go build ./x" in this workspace: -- go.work -- use ./y -- x/go.mod -- module x go 1.19 -- x/m.go -- package m It fails with: "go: open /tmp/foo/y/go.mod: no such file or directory". It's unclear where the ...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -718,7 +718,11 @@ func LoadModFile(ctx context.Context) *Requirements {\n \t\tvar fixed bool\n \t\tdata, f, err := ReadModFile(gomod, fixVersion(ctx, &fixed))\n \t\tif err != nil {\n-\t\t\tbase.Fatalf(\"go: %v\", err)\n+\t\t\tif inWorkspaceMode()...
2022-10-07T00:49:15
facebook/react
31090821446d0eb425bbddd7901c1040a4ceb3a1
9d7e3a7471c46be36a2f64fef82149c7435fec9b
Fix inconsistency in mockComponent argument name The second argument of mockComponent was listed as tagName, but referred to in the description as mockTagName. I changed the first one to mockTagName to be consistent.
[ { "path": "docs/docs/09.4-test-utils.md", "patch": "@@ -38,7 +38,7 @@ Render a component into a detached DOM node in the document. **This function req\n ### mockComponent\n \n ```javascript\n-object mockComponent(function componentClass, string? tagName)\n+object mockComponent(function componentClass, strin...
2014-09-22T03:00:25
vercel/next.js
b57a2c809d4abf925038f2603723a85de1d7cc67
f999d639b00b88224fc17cda97d613dda43a13b6
docs: fix TS code snippet for MDX example (#57988)
[ { "path": "docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx", "patch": "@@ -354,7 +354,7 @@ To do this, create a `mdx-components.tsx` file at the root of your application (\n \n ```tsx filename=\"mdx-components.tsx\" switcher\n import type { MDXComponents } from 'mdx/types'\n-import Image ...
2023-12-22T22:22:46
nodejs/node
6213fcee9b5441c3e3a9f9e70680145ecb191eea
60a217b1ea8c5d979140705742a145958298d0fd
stream: save error in state Useful for future PR's to resolve situations where e.g. finished() is invoked on an already errored streams. PR-URL: https://github.com/nodejs/node/pull/34103 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Anna Henningse...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -155,7 +155,7 @@ function ReadableState(options, stream, isDuplex) {\n // _read calls, 'data' or 'readable' events should occur. This is needed\n // since when autoDestroy is disabled we need a way to tell whether the\n // stream has failed.\n- this.e...
2020-06-28T16:43:59
golang/go
40c7e94cc5740496a0a47d6ef9863b2bbca44b0e
9be09916d9209a02308d553cfbbb7ff1dc6593dd
modload: provide a clearer error for standard library packages from newer releases An older version of go compiling a main module that references a standard library package from a newer release (e.g. net/netip added in go 1.18) currently produces a confusing error message. This changes adds a new error message includi...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -41,6 +41,10 @@ type ImportMissingError struct {\n \t// modules.\n \tisStd bool\n \n+\t// importerGoVersion is the version the module containing the import error\n+\t// specified. It is only set when isStd is true.\n+\timporterGoVersion string\...
2022-09-20T00:09:56
vercel/next.js
19dac217b6ea501f86b7f9f40cccd5433ff04c6a
c7b242204642692484557c47a54ef55e066b3c58
docs: fix not-found file paths (#59478)
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/not-found.mdx", "patch": "@@ -5,7 +5,7 @@ description: API reference for the not-found.js file.\n \n The **not-found** file is used to render UI when the [`notFound`](/docs/app/api-reference/functions/not-found) function is thrown within a route se...
2023-12-22T22:18:27
electron/electron
d202c35be986e6447ea20c81a19302cdb8455c23
5adc8299d659f70a17a8abdceb912fe12f2d50ff
Enable crash reporter specs on Linux CI
[ { "path": "spec/api-crash-reporter-spec.js", "patch": "@@ -9,20 +9,13 @@ const url = require('url')\n const {closeWindow} = require('./window-helpers')\n \n const {remote} = require('electron')\n-const isCI = remote.getGlobal('isCi')\n const {app, BrowserWindow, crashReporter} = remote.require('electron')\n...
2017-05-23T23:56:07
facebook/react
8882f19187df93551cf98a3c516754e3feb44894
21f601964fa9098a6aff53ee037fe96e57dfb55c
Fix typo in documentation in Flux Todo List
[ { "path": "docs/docs/flux-todo-list.md", "patch": "@@ -349,6 +349,7 @@ At a high level, the React component hierarchy of the app looks like this:\n <TodoItem />\n </ul>\n </MainSection>\n+ </Header>\n \n </TodoApp>\n ```", "additions": 1, "deletions": 0, "language": "Markdown"...
2014-09-19T01:30:57
nodejs/node
c7e55c6b72fb5a7032bc12c74329fa840076dec0
e2b468eb5cca30640c7811b626a223359e31816c
stream: fix writable.end callback behavior Changes so that the end() callback behaves the same way in relation to _final as write() does to _write/_writev. PR-URL: https://github.com/nodejs/node/pull/34101 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/stream.md", "patch": "@@ -412,6 +412,9 @@ Is `true` after [`writable.destroy()`][writable-destroy] has been called.\n <!-- YAML\n added: v0.9.4\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/34101\n+ description: The `callback` is invoked before '...
2020-06-28T15:44:07
golang/go
c7cc2b94c63af610a29b1b48cfbfb87cb8abf05b
67cd77b88f2fdf620556cd698752aa2ed53fee1b
runtime: move epoll syscalls to runtime/internal/syscall This change moves Linux epoll's syscalls implementation to the "runtime/internal/syscall" package. The intention in this CL was to minimise behavioural changes but make the code more generalised. This also will allow adding new syscalls (like epoll_pwait2) witho...
[ { "path": "src/runtime/defs2_linux.go", "patch": "@@ -121,17 +121,6 @@ const (\n \n \tO_RDONLY = C.O_RDONLY\n \tO_CLOEXEC = C.O_CLOEXEC\n-\n-\tEPOLLIN = C.POLLIN\n-\tEPOLLOUT = C.POLLOUT\n-\tEPOLLERR = C.POLLERR\n-\tEPOLLHUP = C.POLLHUP\n-\tEPOLLRDHUP = C.POLLRDHUP\n-\tEPOLLET ...
2022-10-07T07:12:54
facebook/react
94eac0b8facf04b8bbd145bc6c3cfadde7f5a057
21f601964fa9098a6aff53ee037fe96e57dfb55c
Fix a comment typo
[ { "path": "src/utils/adler32.js", "patch": "@@ -24,7 +24,7 @@ var MOD = 65521;\n \n // This is a clean-room implementation of adler32 designed for detecting\n // if markup is not what we expect it to be. It does not need to be\n-// cryptographically strong, only reasonable good at detecting if markup\n+// c...
2014-09-18T16:47:23
nodejs/node
2afc1abd05cc8f4a21ffb2c892949b7e30de2d00
b1fab88ff077aecf2ae1ce1730d319eb692e4363
quic: fixup constant exports, export all protocol error codes PR-URL: https://github.com/nodejs/node/pull/34137 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com>
[ { "path": "src/quic/node_quic.cc", "patch": "@@ -189,7 +189,6 @@ void Initialize(Local<Object> target,\n V(NGTCP2_APP_NOERROR) \\\n V(NGTCP2_PATH_VALIDATION_RESULT_FAILURE) \\\n V(NGTCP2_PATH_VALIDATION_RESULT_S...
2020-06-30T17:41:30
golang/go
97760ed651f88341bcf15aa4980863c199b6f3dc
c4674e01343c0db9fad726401de114dac749382d
cmd/compile: intrinsify Add64 on loong64 This is a follow up of CL 420094 on loong64. Reduce go toolchain size slightly on linux/loong64. compilecmp HEAD~1 -> HEAD HEAD~1 (8a32354219): internal/trace: use strings.Builder HEAD (1767784ac3): cmd/compile: intrinsify Add64 on loong64 platform: linux/loong64 file ...
[ { "path": "src/cmd/compile/internal/ssa/_gen/LOONG64.rules", "patch": "@@ -38,6 +38,10 @@\n (Mod8 x y) => (Select0 (DIVV (SignExt8to64 x) (SignExt8to64 y)))\n (Mod8u x y) => (Select0 (DIVVU (ZeroExt8to64 x) (ZeroExt8to64 y)))\n \n+(Select0 <t> (Add64carry x y c)) => (ADDV (ADDV <t> x y) c)\n+(Select1 <t> (A...
2022-09-06T14:12:16
electron/electron
9b7dde99d829c5b5641edbb5f5c520ae4944f152
fea165bef8e1edf99b6e1500da89d015e76cc8e1
Enable LIMIT_OUTPUT_IGNORE_SEGFAULTS on Linux CI
[ { "path": "script/pre-cibuild", "patch": "@@ -0,0 +1,3 @@\n+#!/usr/bin/env bash\n+\n+export LIMIT_OUTPUT_IGNORE_SEGFAULTS=1", "additions": 3, "deletions": 0, "language": "Unknown" } ]
2017-05-23T23:57:48
nodejs/node
def8e769992332a9373559ecd2058ef4ac8698fa
d6034186d661ab69f33af81f8ce649375dafadd7
quic: fixup set_final_size Ignore subsequent calls to set_final_size unless the new size is more than the previous, in which case, we have us a bug. PR-URL: https://github.com/nodejs/node/pull/34137 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com>
[ { "path": "src/quic/node_quic_stream-inl.h", "patch": "@@ -35,7 +35,12 @@ void QuicStream::set_flag(int32_t flag, bool on) {\n }\n \n void QuicStream::set_final_size(uint64_t final_size) {\n- CHECK_EQ(GetStat(&QuicStreamStats::final_size), 0);\n+ // Only set the final size once.\n+ if (is_flag_set(QUICST...
2020-06-30T16:35:59
golang/go
cecaa25bd31622f5ae0df7fd5c8c7f02afde8715
747e1961e95c2eb3df62e045b90b111c2ceea337
testing: add an example showcasing B.RunParallel with B.ReportMetric This commit was dedicated to adding an example of using B.ReportMetrics with B.RunParallel called ExampleB_ReportMetric_parallel. In this example, the same algorithm for ExampleB_ReportMetric was used, instead with a concurrent for loop using PB.Next...
[ { "path": "src/testing/benchmark_test.go", "patch": "@@ -181,3 +181,33 @@ func ExampleB_ReportMetric() {\n \t\tb.ReportMetric(float64(compares)/float64(b.Elapsed().Nanoseconds()), \"compares/ns\")\n \t})\n }\n+\n+func ExampleB_ReportMetric_parallel() {\n+\t// This reports a custom benchmark metric relevant ...
2022-09-30T20:51:33
electron/electron
c4e5ba6015a24b6f68afd30719c2f3e9f09f11d5
e5a9ef296d98a8fc6fb9ad228db4dbfce93edc0d
Fixing indentations
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -508,12 +508,7 @@ App::App(v8::Isolate* isolate) {\n Browser::Get()->AddObserver(this);\n content::GpuDataManager::GetInstance()->AddObserver(this);\n content::BrowserChildProcessObserver::Add(this);\n- int pid = 0;\n- #if defined(OS_WIN)\n-...
2017-05-25T04:15:34
vercel/next.js
2d50879f0fd0471149d12318542a4786daa1470f
6545783be317810fb700d4d91722e7197fbc3ddc
docs: fix run-on and definition of trailing slash redirect (#59889)
[ { "path": "docs/02-app/01-building-your-application/01-routing/11-middleware.mdx", "patch": "@@ -361,7 +361,7 @@ export function middleware(req: NextRequest, event: NextFetchEvent) {\n \n In `v13.1` of Next.js two additional flags were introduced for middleware, `skipMiddlewareUrlNormalize` and `skipTrailin...
2023-12-22T22:05:23
nodejs/node
e20beaf004917d3f6bcdf0954769ab1a2c6fd02f
eb8fc2bf0f9283eb10751927de8c59e1a985366d
meta: fixup CODEOWNERS so it hopefully works the CODEOWNERS rules for QUIC are not working and it's not entirely clear why. Hoping it's just the way the paths were specified. PR-URL: https://github.com/nodejs/node/pull/34147 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jiawen Geng <technicalcute@gmai...
[ { "path": ".github/CODEOWNERS", "patch": "@@ -59,12 +59,12 @@\n \n # quic\n \n-./deps/ngtcp2/* @nodejs/quic\n-./deps/nghttp3/* @nodejs/quic\n-./doc/api/quic.md @nodejs/quic\n-./lib/internal/quic/* @nodejs/quic\n-./src/node_bob* @nodejs/quic\n-./src/quic/* @nodejs/quic\n+/deps/ngtcp2/ @nodejs/quic\n+/deps/ng...
2020-07-01T00:26:27
facebook/react
fe08888fbb179b6207710d076ffd7a4783c25c4e
76d64812e11c1227034565e9ab2848c74abda378
Less -> Fewer bugs and bytes are countable, so should be fewer
[ { "path": "docs/docs/05-reusable-components.md", "patch": "@@ -6,7 +6,7 @@ prev: multiple-components.html\n next: forms.html\n ---\n \n-When designing interfaces, break down the common design elements (buttons, form fields, layout components, etc) into reusable components with well-defined interfaces. That ...
2014-09-11T13:33:16
electron/electron
ec6eb74ccc3acce81897daba2a3c7183adf1227f
1257dee0b524750a1967da6a52e5134f6855e889
Docs: Remove optional parameter for removeAllListeners. Fixes #9277
[ { "path": "docs/api/ipc-main.md", "patch": "@@ -78,9 +78,9 @@ Removes the specified `listener` from the listener array for the specified\n \n ### `ipcMain.removeAllListeners([channel])`\n \n-* `channel` String (optional)\n+* `channel` String\n \n-Removes all listeners, or those of the specified `channel`.\n...
2017-05-24T19:01:58
vercel/next.js
6545783be317810fb700d4d91722e7197fbc3ddc
c4adae89b17a6f64cc0abe8e697a88b9e1df1814
fix router prefetch cache key to work with route interception (#59861) ### What? When handling route interception in two different segments but handled by the same interception route, the first interception will show the correct component but attempting the same interception on another segment will return elements...
[ { "path": "packages/next/src/client/components/router-reducer/reducers/create-prefetch-cache-key.ts", "patch": "@@ -0,0 +1,29 @@\n+import { addPathPrefix } from '../../../../shared/lib/router/utils/add-path-prefix'\n+import { pathHasPrefix } from '../../../../shared/lib/router/utils/path-has-prefix'\n+impor...
2023-12-22T21:10:37
golang/go
747e1961e95c2eb3df62e045b90b111c2ceea337
5ca0cd3f1824f189b6c5edf59b669f22a393e2e1
net/http: refactor tests to run most in HTTP/1 and HTTP/2 modes Replace the ad-hoc approach to running tests in HTTP/1 and HTTP/2 modes with a 'run' function that executes a test in various modes. By default, these modes are HTTP/1 and HTTP/2, but tests can opt-in to HTTPS/1 as well. The 'run' function also takes car...
[ { "path": "src/net/http/client_test.go", "patch": "@@ -67,11 +67,9 @@ func (w chanWriter) Write(p []byte) (n int, err error) {\n \treturn len(p), nil\n }\n \n-func TestClient(t *testing.T) {\n-\tsetParallel(t)\n-\tdefer afterTest(t)\n-\tts := httptest.NewServer(robotsTxtHandler)\n-\tdefer ts.Close()\n+func ...
2022-10-03T23:07:48
rust-lang/rust
4c212513cf084ad2923cbf86b38c30d4a11fb48d
425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0
Fix uplifting in `Assemble` step
[ { "path": "src/bootstrap/src/core/build_steps/compile.rs", "patch": "@@ -933,6 +933,15 @@ fn cp_rustc_component_to_ci_sysroot(builder: &Builder<'_>, sysroot: &Path, conte\n }\n }\n \n+/// Represents information about a built rustc.\n+#[derive(Clone, Debug)]\n+pub struct BuiltRustc {\n+ /// The compil...
2025-08-18T08:13:47
nodejs/node
eb8fc2bf0f9283eb10751927de8c59e1a985366d
0edeeec3ec317bb8ed3bc9f6289eb9e7bfe0c61b
2020-06-30, Version 14.5.0 (Current) Notable changes: build: * (SEMVER-MINOR) reset embedder string to "-node.0" (Michaël Zasso) https://github.com/nodejs/node/pull/33376 cli: * (SEMVER-MINOR) add alias for report-directory to make it consistent (AshCripps) https://github.com/nodejs/node/pull/33587 crypto: * (S...
[ { "path": "CHANGELOG.md", "patch": "@@ -31,7 +31,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V14.md#14.4.0\">14.4.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V14.md#14.5.0\">14.5.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V14.md#14.4.0\"...
2020-06-28T03:26:32
electron/electron
793d5fd1913ba43d42fe4dc72981ccc3081953d8
ec0e33e258ed2d05f3977f881b3b62743eeae72f
:art: Fix documentation
[ { "path": "docs/api/screen.md", "patch": "@@ -97,7 +97,7 @@ The current absolute position of the mouse pointer.\n \n ### `screen.getMenuBarHeight()` _macOS_\n \n-Returns [`Integer`] - Height\n+Returns `Integer` - Height\n \n The height of toolbar in pixels.\n ", "additions": 1, "deletions": 1, "...
2017-05-24T03:27:55
vercel/next.js
c4adae89b17a6f64cc0abe8e697a88b9e1df1814
b3ad907d2bbe5f16988565ca6e99d434084bded0
fix parallel catch-all route normalization (#59791) ### What? Catch-all routes are being matched to parallel routes which causes issues like an interception route being handled by the wrong page component, or a page component being associated with multiple pages resulting in a "You cannot have two parallel pages t...
[ { "path": "packages/next/src/build/normalize-catchall-routes.test.ts", "patch": "@@ -0,0 +1,99 @@\n+import { normalizeCatchAllRoutes } from './normalize-catchall-routes'\n+\n+describe('normalizeCatchallRoutes', () => {\n+ it('should not add the catch-all to the interception route', () => {\n+ const appP...
2023-12-22T17:30:23
golang/go
fdea8e21708e9ed04498a7f7b68cbee43005d58d
2837ffe8d8a48cb321842721a8531ed870ace1d3
os/exec: document ProcessState available after a call to Wait or Run Wait or Run will populate its ProcessState when the command completes. Fixes #56002. Change-Id: I21547431f5d2d3e0fc0734fd1705421a0ac4209c Reviewed-on: https://go-review.googlesource.com/c/go/+/437996 Auto-Submit: Bryan Mills <bcmills@google.com> Tr...
[ { "path": "src/os/exec/exec.go", "patch": "@@ -214,8 +214,9 @@ type Cmd struct {\n \t// Process is the underlying process, once started.\n \tProcess *os.Process\n \n-\t// ProcessState contains information about an exited process,\n-\t// available after a call to Wait or Run.\n+\t// ProcessState contains inf...
2022-10-03T09:49:08
rust-lang/rust
9d08596a2e315cdaa13a4c98e30c8b14853a9e9a
425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0
tests: fix RISC-V failures and adjust transmute-scalar.rs target Resolve several ./x test failures on RISC-V caused by ABI and codegen differences. Update multiple codegen-llvm tests for compatibility, and explicitly set the target for transmute-scalar.rs to x86_64 to ensure consistent behavior across hosts.
[ { "path": "tests/codegen-llvm/enum/enum-aggregate.rs", "patch": "@@ -27,15 +27,15 @@ fn make_none_bool() -> Option<bool> {\n \n #[no_mangle]\n fn make_some_ordering(x: Ordering) -> Option<Ordering> {\n- // CHECK-LABEL: i8 @make_some_ordering(i8 %x)\n+ // CHECK-LABEL: i8 @make_some_ordering(i8{{( signe...
2025-07-28T16:46:25
nodejs/node
312a4f325504119df430eb3b1be5e0fa78f1c775
8f4b4f272e461b28beafb39adb20787fe7437526
net: fix bufferSize bufferSize should only look at writableLength otherwise it will always show more than what is actually pending. PR-URL: https://github.com/nodejs/node/pull/34088 Refs: https://github.com/nodejs/node/issues/34078 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@add...
[ { "path": "lib/net.js", "patch": "@@ -541,7 +541,7 @@ ObjectDefineProperty(Socket.prototype, 'readyState', {\n ObjectDefineProperty(Socket.prototype, 'bufferSize', {\n get: function() {\n if (this._handle) {\n- return this[kLastWriteQueueSize] + this.writableLength;\n+ return this.writableLe...
2020-06-27T17:39:04
electron/electron
3a9b035d369ecec257dd6ab9356e594082b526f0
6d643369787d99247578a727ead20b5dc13477ec
Remove page url check in `history.pushState` Current implementation of NavigationController does not allow using `history.pushState()` if page url is not changed. It worked by mistake in versions < 1.3.6 and got visible after fix 180a77e6.
[ { "path": "lib/browser/api/navigation-controller.js", "patch": "@@ -27,7 +27,6 @@ var NavigationController = (function () {\n this.history.push(this.webContents._getURL())\n }\n this.webContents.on('navigation-entry-commited', (event, url, inPage, replaceEntry) => {\n- var currentEntry\n ...
2017-05-15T14:03:25
vercel/next.js
b83e0f584304ae65164c73b7351fcac491c16d40
14052c052e0408021973fa9d2e0f2797f3a53b29
[PPR Navs] Bugfix: Dynamic data never streams in if prefetch entry is stale (#59833) Adds a regression test and a fix for a bug that sometimes happens when a prefetched route on the client becomes stale — the app would get stuck in a loading state. The problem was the condition I used to fallback to the non-PPR ...
[ { "path": "packages/next/src/client/components/router-reducer/ppr-navigations.ts", "patch": "@@ -64,7 +64,8 @@ export function updateCacheNodeOnNavigation(\n oldRouterState: FlightRouterState,\n newRouterState: FlightRouterState,\n prefetchData: CacheNodeSeedData,\n- prefetchHead: React.ReactNode\n+ ...
2023-12-21T15:49:30
facebook/react
8c9a24983e8b9dd452f5e378e845104e81333b74
adb62c76e5e03002284ac5cac814073fde370258
Remove calls to `Range.detach` This method is a no-op, as demonstrated by console warnings in Chrome and https://developer.mozilla.org/en-US/docs/Web/API/range.detach. Remove callsites. Fixes #2142
[ { "path": "src/browser/ui/ReactDOMSelection.js", "patch": "@@ -114,7 +114,6 @@ function getModernOffsets(node) {\n detectionRange.setStart(anchorNode, anchorOffset);\n detectionRange.setEnd(focusNode, focusOffset);\n var isBackward = detectionRange.collapsed;\n- detectionRange.detach();\n \n return...
2014-09-08T21:16:09
rust-lang/rust
79d30067f3bc8f701ceb33cca11d02ea29a24659
30017c36d6b5e3382ee7cf018d330a6a4a937d39
cleanup: make run-make test use run_in_tmpdir We had an issue on our LLVM-head Rust builder where it got stuck with this test failing because it was reusing the tmpdir between runs and something broke the incremental compile. Everything seems to work fine with run_in_tmpdir in this test. tests/run-make/uefi-qemu also ...
[ { "path": "tests/run-make/rustdoc-scrape-examples-paths/rmake.rs", "patch": "@@ -1,16 +1,16 @@\n //! Test to ensure that the rustdoc `scrape-examples` feature is not panicking.\n //! Regression test for <https://github.com/rust-lang/rust/issues/144752>.\n \n-use run_make_support::{cargo, path, rfs};\n+use r...
2025-08-14T18:18:25
golang/go
274d3a06f7331740b849e20cff1d1c1ab84dd0e0
fda5dcd9bba38bcdbe9ac473985e108e125c34a5
os/exec: delete TestExtraFilesFDShuffle This test has been disabled for over nine years (since CL 12869049). Although it still compiles, it seems likely to have rotted since then, and if it was going to detect a real bug it also seems like that bug would have been encountered and reported by users since then (and woul...
[ { "path": "src/os/exec/exec_test.go", "patch": "@@ -180,16 +180,15 @@ var exeOnce struct {\n var helperCommandUsed sync.Map\n \n var helperCommands = map[string]func(...string){\n-\t\"echo\": cmdEcho,\n-\t\"echoenv\": cmdEchoEnv,\n-\t\"cat\": cmdCat,\n-\t\"pipetest\":...
2022-10-05T19:26:43
nodejs/node
8f4b4f272e461b28beafb39adb20787fe7437526
204f20f2d1d5014e7f4fb2bf93a201995cc4914b
stream: destroy wrapped streams on error Stream should be destroyed and update state accordingly when the wrapped stream emits error. Does some additional cleanup with future TODOs that might be worth looking into. PR-URL: https://github.com/nodejs/node/pull/34102 Reviewed-By: Matteo Collina <matteo.collina@gmail.co...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -66,7 +66,6 @@ ObjectSetPrototypeOf(Readable.prototype, Stream.prototype);\n ObjectSetPrototypeOf(Readable, Stream);\n \n const { errorOrDestroy } = destroyImpl;\n-const kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n \n function prependLi...
2020-06-28T16:38:20
electron/electron
039908a244a2b1862cff1322aeee25d56e8a03eb
df911593d8c43a8b70764afaf5e7054c263b5dab
various fixes for macos
[ { "path": "atom/browser/native_window_mac.h", "patch": "@@ -89,9 +89,9 @@ class NativeWindowMac : public NativeWindow,\n void SetContentProtection(bool enable) override;\n void SetBrowserView(NativeBrowserView* browser_view) override;\n void SetParentWindow(NativeWindow* parent) override;\n- gfx::Nat...
2017-05-23T09:41:59
rust-lang/rust
ece1397e3ff40e7f8a411981844a8214659da970
2c1ac85679678dfe5cce7ea8037735b0349ceaf3
interpret: fix in-place return place semantics when the return place expression is a local variable
[ { "path": "compiler/rustc_const_eval/src/interpret/call.rs", "patch": "@@ -27,8 +27,9 @@ use crate::{enter_trace_span, fluent_generated as fluent};\n pub enum FnArg<'tcx, Prov: Provenance = CtfeProvenance> {\n /// Pass a copy of the given operand.\n Copy(OpTy<'tcx, Prov>),\n- /// Allow for the ar...
2025-08-18T15:22:02
vercel/next.js
1affa75a193e94bc1a09b05d7493f3033889e0f0
7a2db94d474e427b41762939de7bee828187ec57
Update error check in validateRevalidate (#59826) Applies https://github.com/vercel/next.js/pull/59822#discussion_r1433267299 Closes NEXT-1916 --------- Co-authored-by: Zack Tanner <zacktanner@gmail.com>
[ { "path": "packages/next/src/server/lib/patch-fetch.ts", "patch": "@@ -38,11 +38,7 @@ export function validateRevalidate(\n return normalizedRevalidate\n } catch (err: any) {\n // handle client component error from attempting to check revalidate value\n- if (\n- err &&\n- typeof err =...
2023-12-20T23:47:44
golang/go
fda5dcd9bba38bcdbe9ac473985e108e125c34a5
9dfadf911d2dcb093c3a37c79869bead0f9f6349
cmd/go: fix incorrect determination of import path is DirImportPath In practice this only shows up when a vendored package, imported on the command line, imports an internal package. Change-Id: I34c161d1f1ef15a87c58a422f17d11f77fbac53f Reviewed-on: https://go-review.googlesource.com/c/go/+/439735 Run-TryBot: Michael ...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -753,6 +753,7 @@ func (mms *MainModuleSet) DirImportPath(ctx context.Context, dir string) (path s\n \t\t\t\tsuffix := filepath.ToSlash(dir[len(modRoot):])\n \t\t\t\tif strings.HasPrefix(suffix, \"/vendor/\") {\n \t\t\t\t\tlongestPrefixPath = stri...
2022-10-06T17:41:02
rust-lang/rust
f4383ffa732267b74a9e23ae30a092f9ea4c2071
420235c0f87bd379e3bd318b401ebbf08d82c44d
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -149,6 +149,7 @@ rm tests/ui/backtrace/synchronized-panic-handler.rs # missing needs-unwind annot\n rm tests/ui/lint/non-snake-case/lint-non-snake-case-crate.rs # same\n rm tests/ui/async-await/async-drop/async-drop-initial.rs # same (rust-lang/rust#1404...
2025-08-18T16:43:49
electron/electron
25015c4c6373e74eb496f448e0d5d730aa4c9fe8
791486433d62203ff7f5465baf4edf322f94b3ba
Fix naming and formatting
[ { "path": "atom/browser/web_contents_preferences.cc", "patch": "@@ -207,7 +207,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(\n }\n \n bool WebContentsPreferences::IsPreferenceEnabled(\n- const std::string& attributeName,\n+ const std::string& attribute_name,\n content::WebConte...
2017-05-22T07:08:47
vercel/next.js
12d2a6f3b198ce3de55c78111027918a932053dc
4402428c35543f89b0e20237010d2f98e933f1b2
Ensure we validate revalidate configs properly (#59822) If a user accidentally configures a non-valid `revalidate` value this ensures we show a proper error message instead of silently tolerating it. Closes: NEXT-1896 Closes NEXT-1915
[ { "path": "packages/next/src/export/index.ts", "patch": "@@ -54,6 +54,7 @@ import { isAppPageRoute } from '../lib/is-app-page-route'\n import isError from '../lib/is-error'\n import { needsExperimentalReact } from '../lib/needs-experimental-react'\n import { formatManifest } from '../build/manifests/formatt...
2023-12-20T23:16:35
golang/go
9dfadf911d2dcb093c3a37c79869bead0f9f6349
af668c689c66588f8adb9f5cd6db812706536338
debug/buildinfo: correct a typo in calculating next align index When it calculates the smallest n such that: n >= i && n % buildInfoAlign == 0 the expression should be (i+buildInfoAlign-1)&^(buildInfoAlign-1) instead of (i+buildInfoAlign-1)&^buildInfoAlign Fixes #54968. Change-Id: Ibb7bdf568a521545b2609acc85e2...
[ { "path": "src/debug/buildinfo/buildinfo.go", "patch": "@@ -164,7 +164,7 @@ func readRawBuildInfo(r io.ReaderAt) (vers, mod string, err error) {\n \t\t\tdata = data[i:]\n \t\t\tbreak\n \t\t}\n-\t\tdata = data[(i+buildInfoAlign-1)&^buildInfoAlign:]\n+\t\tdata = data[(i+buildInfoAlign-1)&^(buildInfoAlign-1):]...
2022-09-13T18:05:53
facebook/react
3b2cd51fa50d15016d3dc2ea2582e86961db973b
b36c9f6638fcd181e10b13a4139a5c81518211f9
Fix check for commit ranges in racing PRs. See #1768 / #2000 for original issue. See https://github.com/travis-ci/travis-ci/issues/1719#issuecomment-51705110 for problem description and origin of this fix. This is still a temporary fix until travis-ci/travis-core#383 is merged.
[ { "path": ".travis.yml", "patch": "@@ -8,7 +8,8 @@ cache:\n before_install:\n - |\n if [ \"$TRAVIS_PULL_REQUEST\" != \"false\" ]; then\n- TRAVIS_COMMIT_RANGE=\"FETCH_HEAD...$TRAVIS_BRANCH\"\n+ PR_FIRST=$(curl -s https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST}.patch | head -1...
2014-09-05T12:45:21
electron/electron
79827549589dc2a640df85c3bc9212f21b52c120
1b75e45a62290a8d519ca7ba4848e8ae73565425
Fix linting violations
[ { "path": "atom/browser/atom_resource_dispatcher_host_delegate.cc", "patch": "@@ -125,8 +125,9 @@ bool AtomResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(\n std::string* payload) {\n const content::ResourceRequestInfo* info =\n content::ResourceRequestInfo::ForRequest(request);\...
2017-05-17T14:02:42
vercel/next.js
16e3f537ec8f8597878418350a06d3ce275755db
377c5eb80cfae2b9c4a82a5d2299960689f28e8d
fix(turbopack): prevent edge entrypoint from becoming an async module (#59818) ### Why? We can't await the entrypoint of the edge bundle, so it has to not be async. Closes PACK-2171
[ { "path": "packages/next-swc/crates/next-core/src/next_edge/entry.rs", "patch": "@@ -18,12 +18,17 @@ pub async fn wrap_edge_entry(\n entry: Vc<Box<dyn Module>>,\n pathname: String,\n ) -> Result<Vc<Box<dyn Module>>> {\n+ // The wrapped module could be an async module, we handle that with the prox...
2023-12-20T20:12:11
golang/go
755a2927d8f5bb79952db8fd17bbdec1aed91518
c433cf189354f0b3a5e50716df57a94af5f22718
os: if dirFS.Open fails, undo use of backslashes in error message This fixes a bug introduced by CL 426094 that caused the golang.org/x/website/internal/web tests to fail. Fixes #56034 Change-Id: Ic64967c6d440ad260b7283a18972b20023320ab6 Reviewed-on: https://go-review.googlesource.com/c/go/+/437976 Auto-Submit: Ian ...
[ { "path": "src/os/file.go", "patch": "@@ -644,6 +644,13 @@ func (dir dirFS) Open(name string) (fs.File, error) {\n \t}\n \tf, err := Open(dir.join(name))\n \tif err != nil {\n+\t\tif runtime.GOOS == \"windows\" {\n+\t\t\t// Undo the backslash conversion done by dir.join.\n+\t\t\tperr := err.(*PathError)\n+\...
2022-10-04T03:08:11
nodejs/node
b6139330553a837a90dea6671226454a090df77b
cb673e1b61dc4ca98b527aa33c9d8da457240c80
test: update test-child-process-spawn-loop for Python 3 Fixes `SyntaxError: Missing parentheses in call to 'print'.` error when `python` resolves to Python 3. Signed-off-by: Richard Lau <riclau@uk.ibm.com> PR-URL: https://github.com/nodejs/node/pull/34071 Refs: https://github.com/nodejs/node/pull/29298 Reviewed-By: ...
[ { "path": "test/pummel/test-child-process-spawn-loop.js", "patch": "@@ -30,7 +30,7 @@ const N = 40;\n let finished = false;\n \n function doSpawn(i) {\n- const child = spawn('python', ['-c', `print ${SIZE} * \"C\"`]);\n+ const child = spawn('python', ['-c', `print(${SIZE} * \"C\")`]);\n let count = 0;\n...
2020-06-26T11:18:51
electron/electron
6b7ec621e381c5f315f3a61f5e3c538f4baabdae
5adf9c47fc1251d922ea0a87092f00cac022c8e8
Throw error when non-Buffer specified instead of crashing
[ { "path": "atom/common/api/atom_api_clipboard.cc", "patch": "@@ -53,13 +53,17 @@ v8::Local<v8::Value> Clipboard::ReadBuffer(const std::string& format_string,\n args->isolate(), data.data(), data.length()).ToLocalChecked();\n }\n \n-void Clipboard::WriteBuffer(const std::string& format_string,\n+void C...
2017-05-22T20:53:58
vercel/next.js
377c5eb80cfae2b9c4a82a5d2299960689f28e8d
98d1d7507b18548ade514b254ade26f239668dfa
Fix CI: Skip test in PPR dev mode, too (#59817) In #59725 I skipped this test in PPR prod mode, but not dev because CI wasn't failing for dev. The idea was to investigate the failure post-merge because it wasn't block-worthy. But the test did fail in dev mode when CI ran on canary. So this updates the guard to s...
[ { "path": "test/e2e/app-dir/app/index.test.ts", "patch": "@@ -670,9 +670,10 @@ createNextDescribe(\n // Get the date again, and compare, they should be the same.\n const secondID = await browser.elementById('render-id').text()\n \n- if (isPPREnabledByDefault && isNextStart) {\n-...
2023-12-20T19:22:30
facebook/react
9a89edbb226592a773e420a25447ad75e21376ba
073e1186d734f1cf0baf07d3f68871f3a5d2ee06
Fix broken link in animation docs Missed in #2068
[ { "path": "docs/docs/09.1-animation.md", "patch": "@@ -85,7 +85,7 @@ You'll notice that when you try to remove an item `ReactCSSTransitionGroup` keep\n \n ### Animation Group Must Be Mounted To Work\n \n-In order for it to apply transitions to its children, the `ReactCSSTransitionGroup` must already be moun...
2014-09-03T18:59:14
nodejs/node
f63436d190b60e12131036aa9d1888d9023e9127
e68563e31c5289c39d4e564a3e5d27e5a713ee41
vm: add run-after-evaluate microtask mode This allows timeouts to apply to e.g. `Promise`s and `async function`s from code running inside of `vm.Context`s, by giving the Context its own microtasks queue. Fixes: https://github.com/nodejs/node/issues/3020 PR-URL: https://github.com/nodejs/node/pull/34023 Reviewed-By: ...
[ { "path": "doc/api/vm.md", "patch": "@@ -188,6 +188,9 @@ overhead.\n <!-- YAML\n added: v0.3.1\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/34023\n+ description: The `microtaskMode` option is supported now.\n - version: v10.0.0\n pr-url: https://github.com/n...
2020-06-22T22:33:04
rust-lang/rust
ddd99930f34b79f209c61cc25706a1dac1173762
eb3441b25a7acbce8cec0571b3f8ec87cca8c349
Turn invalid index suffixes into hard errors
[ { "path": "compiler/rustc_parse/messages.ftl", "patch": "@@ -473,9 +473,6 @@ parse_invalid_label =\n \n parse_invalid_literal_suffix_on_tuple_index = suffixes on a tuple index are invalid\n .label = invalid suffix `{$suffix}`\n- .tuple_exception_line_1 = `{$suffix}` is *temporarily* accepted on tuple...
2025-08-15T15:39:33
golang/go
c433cf189354f0b3a5e50716df57a94af5f22718
2e054128bf72c328ed565cfde1ceb7c9a470dc51
all: fix some typos Change-Id: I6be77e7b7c919f26bed7b6690cce6741888ba78a GitHub-Last-Rev: 4ef4a7b425d0b89adf398a1bee04e9f7495813bc GitHub-Pull-Request: golang/go#56051 Reviewed-on: https://go-review.googlesource.com/c/go/+/438991 Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Ian Lance Taylor <iant@google...
[ { "path": "src/go/scanner/scanner_test.go", "patch": "@@ -666,7 +666,7 @@ func TestInit(t *testing.T) {\n \t}\n }\n \n-func TestStdErrorHander(t *testing.T) {\n+func TestStdErrorHandler(t *testing.T) {\n \tconst src = \"@\\n\" + // illegal character, cause an error\n \t\t\"@ @\\n\" + // two errors on the sa...
2022-10-05T12:56:46
vercel/next.js
490d23805f429a9b3777f4ae6f53d64ccee70ef2
d14410ce322c393d328a196308e6e8c9ab8ebd26
fix `default` handling in route groups that handle interception (#59752) ### What? Navigating to a layout that is part of a route group that uses route interception currently will trigger a 404 error if the route group doesn't define a `default` segment. ### Why? When `next-app-loader` injects fallback defaults...
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -29,6 +29,7 @@ import {\n PAGE_SEGMENT_KEY,\n } from '../../../shared/lib/segment'\n import { getFilesInDir } from '../../../lib/get-files-in-dir'\n+import { normalizeAppPath } from '../../../shared/lib/router/utils/app-p...
2023-12-20T16:07:31
rust-lang/rust
eb3441b25a7acbce8cec0571b3f8ec87cca8c349
d7f7443a9540761c7cc2540c4b7b07b31b6120e5
Add test coverage for proc-macro invalid tup index suffixes
[ { "path": "tests/ui/parser/auxiliary/tuple-index-suffix-proc-macro-aux.rs", "patch": "@@ -0,0 +1,33 @@\n+#![feature(proc_macro_quote, proc_macro_span)]\n+\n+extern crate proc_macro;\n+\n+use proc_macro::{Ident, Literal, Span, TokenStream, TokenTree, quote};\n+\n+#[proc_macro]\n+pub fn bad_tup_indexing(input...
2025-08-15T14:41:43
golang/go
0bf7ee9977c0218562c50a0b0f0d9cbdf33f65e6
c3c4aea55b404c2e6ef109ec6a345f4ccb877381
archive/tar: limit size of headers Set a 1MiB limit on special file blocks (PAX headers, GNU long names, GNU link names), to avoid reading arbitrarily large amounts of data into memory. Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue. Fixes CVE-2022-2879 For #54853 Change-Id: I85136d6ff...
[ { "path": "src/archive/tar/format.go", "patch": "@@ -143,6 +143,10 @@ const (\n \tblockSize = 512 // Size of each block in a tar stream\n \tnameSize = 100 // Max length of the name field in USTAR format\n \tprefixSize = 155 // Max length of the prefix field in USTAR format\n+\n+\t// Max length of a speci...
2022-09-03T03:45:18
nodejs/node
e68563e31c5289c39d4e564a3e5d27e5a713ee41
db6e6e3b2609772d4f99b334184324456853fee4
doc: add dynamic source code links Fixes: https://github.com/nodejs/node/pull/33977 PR-URL: https://github.com/nodejs/node/pull/33996 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -4,6 +4,8 @@\n \n > Stability: 2 - Stable\n \n+<!-- source_link=lib/assert.js -->\n+\n The `assert` module provides a set of assertion functions for verifying\n invariants.\n ", "additions": 2, "deletions": 0, "language": "Markdown" }, { "path"...
2020-06-22T17:56:08