repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
golang/go | 176b63e7113b82c140a4ecb2620024526c2c42e3 | 8e1e64c16a4d53c06ed4f2287fc11eeb5029ca1a | crypto/internal/nistec,debug/gosym: fix typos
Change-Id: I228a23754656b41843573bd4217de4df46c9df36
Reviewed-on: https://go-review.googlesource.com/c/go/+/417954
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jenny Rakoczy <jenny@golang.org>
Reviewed-by: Ian L... | [
{
"path": "src/crypto/internal/nistec/p224_sqrt.go",
"patch": "@@ -19,7 +19,7 @@ var p224MinusOne = new(fiat.P224Element).Sub(\n func p224SqrtCandidate(r, x *fiat.P224Element) {\n \t// Since p = 1 mod 4, we can't use the exponentiation by (p + 1) / 4 like\n \t// for the other primes. Instead, implement a va... | 2022-07-16T23:13:55 |
electron/electron | 5345b08d247b957988fc74ecc79825d629da20ae | a9f4c208a035dcb90eabaf5471540d6e566d8e9a | Fix printing with the sandbox enabled
Closes #7984 | [
{
"path": "atom/renderer/atom_sandboxed_renderer_client.cc",
"patch": "@@ -15,6 +15,7 @@\n #include \"atom/renderer/api/atom_api_renderer_ipc.h\"\n #include \"atom/renderer/atom_render_view_observer.h\"\n #include \"base/command_line.h\"\n+#include \"chrome/renderer/printing/print_web_view_helper.h\"\n #inc... | 2016-12-08T01:33:28 |
vercel/next.js | 09b0ca42fb9d809e1417039c444b5957d57104c3 | e34fdf28900b3f0579adca8c7a73a150209f6283 | App Router - preinitialize chunks during SSR (#54752)
Today when we hydrate an SSR'd RSC response on the client we encounter import chunks which initiate code loading for client components. However we only start fetching these chunks after hydration has begun which is necessarily after the initial chunks for the entry... | [
{
"path": "package.json",
"patch": "@@ -192,14 +192,16 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-canary-09285d5a7-20230925\",\n+ \"react-builtin\": \"npm:react@18.3.0-canary-d900fadbf-20230929\",... | 2023-10-03T21:40:25 |
nodejs/node | 5c86475e201709ea2e15b3002c547abfbd3e823b | 2ec9b58a4107bb915ada2e4fdf01cb41e9dff67c | test: validate common property usage
`common` contains multiple 'check'(boolean) properties that will be
false if mistyped and may lead to errors.
This makes sure that the used property exists in the `common`.
PR-URL: https://github.com/nodejs/node/pull/31933
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-B... | [
{
"path": "test/common/index.js",
"patch": "@@ -672,7 +672,7 @@ function invalidArgTypeHelper(input) {\n return ` Received type ${typeof input} (${inspected})`;\n }\n \n-module.exports = {\n+const common = {\n allowGlobals,\n buildType,\n canCreateSymLink,\n@@ -815,3 +815,12 @@ module.exports = {\n ... | 2020-02-24T12:55:14 |
facebook/react | b56b5885d01c14041a5281fd60a46207b1b680dd | 3cf14e8f9b14ac05bcd24634daa26ac6772bd31b | Fix controlled radio button behavior
Fixes #242. | [
{
"path": "src/core/ReactMount.js",
"patch": "@@ -31,7 +31,7 @@ var nodeCache = {};\n var $ = require('$');\n \n /** Mapping from reactRootID to React component instance. */\n-var instanceByReactRootID = {};\n+var instancesByReactRootID = {};\n \n /** Mapping from reactRootID to `container` nodes. */\n var ... | 2013-08-20T06:31:02 |
rust-lang/rust | daf353461be9c1ea0c9b70023016b150a08baaf2 | 8d0b92acbff06a46519e012c6a171d0554e0d8ef | Use `core` via `rustc-std-workspace-core` in `library/panic*`
The three panic-related library crates need to have access to `core`,
and `compiler-builtins` needs to be in the crate graph. Rather than
specifying both dependencies, switch these crates to use
`rustc-std-workspace-core` which already does this.
This mean... | [
{
"path": "library/Cargo.lock",
"patch": "@@ -183,9 +183,8 @@ name = \"panic_abort\"\n version = \"0.0.0\"\n dependencies = [\n \"alloc\",\n- \"compiler_builtins\",\n- \"core\",\n \"libc\",\n+ \"rustc-std-workspace-core\",\n ]\n \n [[package]]\n@@ -194,9 +193,8 @@ version = \"0.0.0\"\n dependencies = [\n ... | 2025-07-30T14:03:21 |
golang/go | 8e1e64c16a4d53c06ed4f2287fc11eeb5029ca1a | 28be440d3434a440d0c144ba2128b30ce9771ecf | cmd/compile: fix mknode script
It's not currently working. Somehow a field of type []constant.Value
causes it to barf. (That field was added with jump table statements.)
Also added some instructions about how to run it correctly (which took
me a suprisingly long time to figure out).
Larger improvements coming, but t... | [
{
"path": "src/cmd/compile/internal/ir/mini.go",
"patch": "@@ -3,6 +3,7 @@\n // license that can be found in the LICENSE file.\n \n //go:generate go run -mod=mod mknode.go\n+// Note: see comment at top of mknode.go\n \n package ir\n ",
"additions": 1,
"deletions": 0,
"language": "Go"
},
{
... | 2022-07-19T16:07:38 |
electron/electron | 388b6015038274064e1e97add7148233907e45e6 | 2b8b76a5276edef7dd3ce22b3824fbec8e416cbe | URLRequestFetchJob should report start error | [
{
"path": "atom/browser/net/url_request_fetch_job.cc",
"patch": "@@ -12,7 +12,6 @@\n #include \"base/memory/ptr_util.h\"\n #include \"base/strings/string_util.h\"\n #include \"native_mate/dictionary.h\"\n-#include \"native_mate/handle.h\"\n #include \"net/base/io_buffer.h\"\n #include \"net/base/net_errors.... | 2016-11-27T19:10:06 |
facebook/react | a4c23d328c7080dbb9cd6996ea227146e942f658 | 3cf14e8f9b14ac05bcd24634daa26ac6772bd31b | Warn about unknown property values
Fixes #255. | [
{
"path": "src/addons/transitions/ReactTransitionGroup.js",
"patch": "@@ -102,7 +102,12 @@ var ReactTransitionGroup = React.createClass({\n render: function() {\n return this.transferPropsTo(\n this.props.component(\n- null,\n+ {\n+ transitionName: null,\n+ transi... | 2013-08-15T07:43:56 |
vercel/next.js | b7c85b87787283d8fb86f705f67bdfabb6b654bb | 515784c277cd330a724a491d6908dcd8b0eb0f8f | Expose util internally for debugging (#56381)
This PR exposes a temporary `__next_private_global_wait_until__` globally for Edge SSR's function context to do `waitUntil`. | [
{
"path": "packages/next/src/build/webpack/loaders/next-edge-ssr-loader/index.ts",
"patch": "@@ -225,6 +225,8 @@ const edgeSSRLoader: webpack.LoaderDefinitionFunction<EdgeSSRLoaderQuery> =\n }\n const nextFontManifest = maybeJSONParse(self.__NEXT_FONT_MANIFEST)\n \n+ globalThis.__next_private_glo... | 2023-10-03T21:04:16 |
nodejs/node | 2ec9b58a4107bb915ada2e4fdf01cb41e9dff67c | 468bfd3487c5fba678bb6455add59e774ffbcd82 | test: fix usage of invalid common properties
PR-URL: https://github.com/nodejs/node/pull/31933
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna... | [
{
"path": "test/common/index.mjs",
"patch": "@@ -37,7 +37,6 @@ const {\n mustNotCall,\n printSkipMessage,\n skip,\n- ArrayStream,\n nodeProcessAborted,\n isAlive,\n expectWarning,\n@@ -83,7 +82,6 @@ export {\n mustNotCall,\n printSkipMessage,\n skip,\n- ArrayStream,\n nodeProcessAborte... | 2020-02-24T12:54:51 |
rust-lang/rust | 040f71e8123b5994177f787e64aecd9b06cdfa7e | adcb3d3b4cd3b7c4cde642f3ed537037f293738e | loop match: error on `#[const_continue]` outside `#[loop_match]` | [
{
"path": "compiler/rustc_hir/src/hir.rs",
"patch": "@@ -3016,7 +3016,7 @@ impl fmt::Display for LoopIdError {\n }\n }\n \n-#[derive(Copy, Clone, Debug, HashStable_Generic)]\n+#[derive(Copy, Clone, Debug, PartialEq, HashStable_Generic)]\n pub struct Destination {\n /// This is `Some(_)` iff there is... | 2025-07-25T13:18:51 |
golang/go | 055a5e55faf0f5c8d5bb6db2e17d5d48f13a584c | 2cf632cd57fac7edacb9ad4621ce0234b81d0bc3 | [dev.unified] test: change Unicode file/package name to use characters not translated by macOS.
In filenames, macOS translates Ä (U+00c4, c3 84) to Ä (U+0041 U+0308, 41 cc 88).
This causes problems for run.go's crude rules for testing the compiler.
Fixes #53954.
Change-Id: I850421cbf07e022ca5ff8122e0fb4e80deb55adf
R... | [
{
"path": "test/fixedbugs/issue27836.dir/Äfoo.go",
"patch": "@@ -1,13 +0,0 @@\n-package Äfoo\n-\n-var ÄbarV int = 101\n-\n-func Äbar(x int) int {\n-\tdefer func() { ÄbarV += 3 }()\n-\treturn Äblix(x)\n-}\n-\n-func Äblix(x int) int {\n-\tdefer func() { ÄbarV += 9 }()\n-\treturn ÄbarV + x\n-}",
"additions... | 2022-07-19T19:20:55 |
facebook/react | c8886a0424c426818566c21d5a69c4cb8f5d41e3 | 4f0dea3e7e93bfd29181589d35ffffa9a90c7b3b | Make mounting on the root of the page work correctly
This was apparently only partially supported. We had issues initially mounting if there was no HTML present and
also had issues if we had to update HTML that was already there. This diff fixes all of these cases and has
tests to prove it. NOTE: I removed a test that... | [
{
"path": "src/core/ReactComponentBrowserEnvironment.js",
"patch": "@@ -27,6 +27,7 @@ var ReactReconcileTransaction = require('ReactReconcileTransaction');\n \n var getReactRootElementInContainer = require('getReactRootElementInContainer');\n var invariant = require('invariant');\n+var mutateHTMLNodeWithMar... | 2013-09-05T20:49:57 |
electron/electron | cbddbdb2963c9a6380d0fb88e44cb2dc485f68a8 | 06701786c4d1d4cd2aef8155242fdf9bb5ac0a33 | fix code style | [
{
"path": "atom/browser/api/atom_api_app.cc",
"patch": "@@ -378,12 +378,24 @@ void OnClientCertificateSelected(\n v8::Isolate* isolate,\n std::shared_ptr<content::ClientCertificateDelegate> delegate,\n mate::Arguments* args) {\n- mate::Dictionary cert_data;\n- if (!args->GetNext(&cert_data)) {... | 2016-12-07T10:03:56 |
vercel/next.js | ef440d40b6dfc3fc28c2630d46e02350e5d14267 | 0eb71b6f074baa4083d7e6895f04515b3862bbbf | add digest property to error prop (#56339)
Matching the conventions laid out in https://nextjs.org/docs/app/api-reference/file-conventions/error | [
{
"path": "docs/02-app/01-building-your-application/01-routing/07-error-handling.mdx",
"patch": "@@ -32,7 +32,7 @@ export default function Error({\n error,\n reset,\n }: {\n- error: Error\n+ error: Error & { digest?: string }\n reset: () => void\n }) {\n useEffect(() => {\n@@ -111,7 +111,7 @@ expo... | 2023-10-03T14:21:30 |
rust-lang/rust | 1f787383d4463f18a8ec6da89ca962246b92f226 | eae1d392e7453f6f1fcd03eb74452dd05929db4e | chore: Ping Muscraft when rustc_errors::emitter is modified | [
{
"path": "triagebot.toml",
"patch": "@@ -1068,6 +1068,10 @@ cc = [\"@davidtwco\", \"@compiler-errors\", \"@TaKO8Ki\"]\n message = \"`rustc_errors::annotate_snippet_emitter_writer` was changed\"\n cc = [\"@Muscraft\"]\n \n+[mentions.\"compiler/rustc_errors/src/emitter.rs\"]\n+message = \"`rustc_errors::emit... | 2025-07-31T21:57:41 |
nodejs/node | cbaae7a2f811e57860f560df5cb8fc308f6d70b3 | b44c63b87e6c165844f7303a9ec6f8c0cce7d3dc | doc: clarify http2.connect authority details
Fixes: https://github.com/nodejs/node/issues/31827
PR-URL: https://github.com/nodejs/node/pull/31828
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Signed-off-by: James M Snell ... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -2206,7 +2206,11 @@ changes:\n 128 header pairs.\n -->\n \n-* `authority` {string|URL}\n+* `authority` {string|URL} The remote HTTP/2 server to connect to. This must\n+ be in the form of a minimal, valid URL with the `http://` or `https://`\n+ pr... | 2020-02-17T13:53:31 |
golang/go | 85a482fc244f6f118b1d063063a51eb8b0feadd8 | ae7340ab68bf57c5d1485bee2c6725a780212a9a | runtime: revert to using the precomputed trigger for pacer calculations
Issue #53738 describes in detail how switching to using the actual
trigger point over the precomputed trigger causes a memory regression,
that arises from the fact that the PI controller in front of the
cons/mark ratio has a long time constant (fo... | [
{
"path": "src/runtime/mgcpacer.go",
"patch": "@@ -439,7 +439,26 @@ func (c *gcControllerState) startCycle(markStartTime int64, procs int, trigger g\n \tc.fractionalMarkTime = 0\n \tc.idleMarkTime = 0\n \tc.markStartTime = markStartTime\n-\tc.triggered = c.heapLive\n+\n+\t// TODO(mknyszek): This is supposed... | 2022-07-14T21:19:37 |
facebook/react | 9dd8ef4777957138ace4c9728d15283e2c2d85e8 | 15f84a391d9506774db069bccb1f89ebf8987d1a | fix formatting and test for correct error | [
{
"path": "src/core/__tests__/ReactComponentLifeCycle-test.js",
"patch": "@@ -408,7 +408,8 @@ describe('ReactComponentLifeCycle', function() {\n .toThrow();\n });\n \n- it('should throw when calling setProps() on an unmounted component', function() {\n+ it('should throw when calling setProps() on ... | 2013-09-05T01:13:33 |
vercel/next.js | aa3377edec54f1dfb4835ca59bac4c14d320edd4 | 8469d0ac278f36302fb673fe0b5ec732d727eba3 | Fix code freeze disable handling (#56340)
Fixes: https://github.com/vercel/next.js/actions/runs/6388368482 | [
{
"path": "scripts/code-freeze.js",
"patch": "@@ -66,9 +66,9 @@ async function getCurrentRules() {\n required_approving_review_count:\n data.required_pull_request_reviews.required_approving_review_count,\n },\n- restrictions: data.restrictions || {\n- users: [],\n- teams: [],\... | 2023-10-03T13:54:46 |
nodejs/node | b2be348fcce7efd30f88b9fabbb2e9629b534e20 | 49ad16104fb467e5e76049950830b15f4793bc7c | stream: ensure pipeline always destroys streams
There was an edge case where an incorrect assumption was made
in regardos whether eos/finished means that the stream is
actually destroyed or not.
PR-URL: https://github.com/nodejs/node/pull/31940
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben... | [
{
"path": "lib/internal/streams/pipeline.js",
"patch": "@@ -27,27 +27,20 @@ let createReadableStreamAsyncIterator;\n \n function destroyer(stream, reading, writing, callback) {\n callback = once(callback);\n-\n- let closed = false;\n- stream.on('close', () => {\n- closed = true;\n- });\n+ let destr... | 2020-02-24T22:38:16 |
facebook/react | 8664c8ac5704a29c6deac44853e3350fccb7729e | dea0cc01cf92af4ee7966130f1a6d01203655442 | Test cases covering rendering onto document
There were some bug reports here, I couldn't reproduce but wrote tests anyway. We should definitely have these. | [
{
"path": "src/core/__tests__/ReactComponent-test.js",
"patch": "@@ -31,6 +31,169 @@ describe('ReactComponent', function() {\n ReactMount = require('ReactMount');\n ReactTestUtils = require('ReactTestUtils');\n reactComponentExpect = require('reactComponentExpect');\n+\n+ // This module is wh... | 2013-09-04T22:51:09 |
golang/go | de8101d21bcf5f1097bcfaf3a1b55820ba70dce9 | 967a3d985d9252368b236411d2f0658fd636b1d4 | runtime: fix typos
"finializer" => "finalizer"
Change-Id: Ia3c12bff8556b6a8d33b700c59357f47502757b1
GitHub-Last-Rev: c64cf47974020c8480039ba61d0890bdc07a3b0f
GitHub-Pull-Request: golang/go#53917
Reviewed-on: https://go-review.googlesource.com/c/go/+/417915
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: G... | [
{
"path": "src/runtime/mprof.go",
"patch": "@@ -947,7 +947,7 @@ func goroutineProfileWithLabelsConcurrent(p []StackRecord, labels []unsafe.Point\n \tgoroutineProfile.active = true\n \tgoroutineProfile.records = p\n \tgoroutineProfile.labels = labels\n-\t// The finializer goroutine needs special handling bec... | 2022-07-16T14:31:14 |
vercel/next.js | b79a11f6add7f7174a99aa5945405c81c3c5e7f1 | 11b01e06dfe1508c84d2aa60d8adcdc916cdd46d | Fix mjs import for Turbopack test (#56354)
Turbopack currently supports fully-specified `.mjs` imports. Double
check with @sokra to verify if this is correct.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow th... | [
{
"path": "test/e2e/app-dir/set-cookies/app/api/app/edge/route.js",
"patch": "@@ -1,6 +1,6 @@\n export const runtime = 'edge'\n \n-import cookies from '../../../../cookies'\n+import cookies from '../../../../cookies.mjs'\n \n export async function GET() {\n const headers = new Headers()",
"additions":... | 2023-10-03T11:33:04 |
nodejs/node | fc68bf22a9525def6b10f2a03a59e80723f7ea85 | 54eb7e61032f7871d5384db6bd6ece73514622ac | test: fix typo in common/index.js
All tests using enoughTestCpu checks are always having the checks come
back false due to a typo in common/index.js. Fix the typo.
PR-URL: https://github.com/nodejs/node/pull/31931
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
R... | [
{
"path": "test/common/index.js",
"patch": "@@ -717,7 +717,7 @@ module.exports = {\n skipIfReportDisabled,\n skipIfWorker,\n \n- get enoughTestCPU() {\n+ get enoughTestCpu() {\n const cpus = require('os').cpus();\n return Array.isArray(cpus) && (cpus.length > 1 || cpus[0].speed > 999);\n },"... | 2020-02-24T16:17:28 |
facebook/react | dea0cc01cf92af4ee7966130f1a6d01203655442 | 80f1590265e2c721707aef471cca995c4a7567a8 | Improve error behavior of Danger.dangerouslyRenderMarkup.
HTML comment nodes are now interspersed in the original markup list so
that we can tell which chunks of markup rendered as more or less than one
node, and give a more helpful error message in that case.
Regardless of how many nodes were rendered, we only take ... | [
{
"path": "src/dom/Danger.js",
"patch": "@@ -28,6 +28,8 @@ var emptyFunction = require('emptyFunction');\n var getMarkupWrap = require('getMarkupWrap');\n var invariant = require('invariant');\n \n+var COMMENT_NODE_TYPE = 8;\n+\n /**\n * Extracts the `nodeName` from a string of markup.\n *\n@@ -46,9 +48,9... | 2013-09-04T01:16:04 |
golang/go | 967a3d985d9252368b236411d2f0658fd636b1d4 | c0c1bbde172c33e6e4ea994b413f23ca42c50c06 | cmd/compile: revert "remove -installsuffix flag"
This reverts CL 415236 (commit 558785a0a9df5fbb7e9617c05059cf2892884620).
Reason for revert: Google's internal build system uses -installsuffix.
Restoring -installsuffix for Go 1.19, and will try again for Go 1.20.
Change-Id: Id6571f34f99f01bcf55e8e949e6fe7b6c1896134
... | [
{
"path": "src/cmd/compile/doc.go",
"patch": "@@ -68,6 +68,9 @@ Flags:\n \t-importcfg file\n \t\tRead import configuration from file.\n \t\tIn the file, set importmap, packagefile to specify import resolution.\n+\t-installsuffix suffix\n+\t\tLook for packages in $GOROOT/pkg/$GOOS_$GOARCH_suffix\n+\t\tinstea... | 2022-07-18T17:03:30 |
electron/electron | d1da48ff0f396f04b02d1a9dc33c62f8494b38e2 | 6c214ed386aef12c61671edb295798a0b3a591f1 | Upgrade libcc for Chrome 56 Linux key event fix | [
{
"path": "script/lib/config.py",
"patch": "@@ -9,7 +9,7 @@\n BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \\\n 'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'\n LIBCHROMIUMCONTENT_COMMIT = os.getenv('LIBCHROMIUMCONTENT_COMMIT') or \\\n- '76bb29da18cbeec0051e0690bc1b95e78... | 2016-12-06T16:45:06 |
vercel/next.js | 281ae41896cca9335921536de80ab435a0736607 | d7626ffb7996463daf95f554ed30e67893741cf7 | Fix build output logging order (#56335)
Closes NEXT-1671
Move "Finalizing" to the bottom, and print tree view after file tracing
spinner
### After
```
✓ Generating static pages (5/5)
✓ Collecting build traces
✓ Finalizing page optimization
Route (app) Size First Load ... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -2080,7 +2080,6 @@ export default async function build(\n \n await exportApp(dir, exportOptions, nextBuildSpan)\n \n- const postBuildSpinner = createSpinner('Finalizing page optimization')\n ssgNotFoundPaths = exportConf... | 2023-10-03T00:29:55 |
nodejs/node | 24aa9bda4636741e52002c9e9cbf5e0042349b8d | 914d800a23f1c7877770d62bd4061957c402c8ca | doc: updated YAML version representation in readline.md
All other versions in YAML throughout the docs start with _v_. Fix two
cases in `readline.md` that did not.
PR-URL: https://github.com/nodejs/node/pull/31924
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/readline.md",
"patch": "@@ -352,7 +352,7 @@ async function processLineByLine() {\n \n ### `rl.line`\n <!-- YAML\n-added: 0.1.98\n+added: v0.1.98\n -->\n \n * {string|undefined}\n@@ -387,7 +387,7 @@ process.stdin.on('keypress', (c, k) => {\n \n ### `rl.cursor`\n <!-- YAML\n-added: 0.1.98\n... | 2020-02-23T19:54:39 |
facebook/react | 406dcbd8daa8bf6e17348006c938168ab6c08e53 | de61f9fd8193c3383c8e21f8da23c843d4303059 | Fix a few GC leaks in events system
Summary:
- Weren't pooling the Transaction in the batching strategy
- Creating a new closure for every event tick due to batchedUpdates()
- EnterLeaveEventPlugin creates a new array on each event.
I wonder if there is more optimization opportunity in accumulate(). Squin... | [
{
"path": "src/core/ReactDefaultBatchingStrategy.js",
"patch": "@@ -49,24 +49,25 @@ mixInto(ReactDefaultBatchingStrategyTransaction, {\n }\n });\n \n+var transaction = new ReactDefaultBatchingStrategyTransaction();\n+\n var ReactDefaultBatchingStrategy = {\n isBatchingUpdates: false,\n \n /**\n * C... | 2013-09-03T21:15:43 |
golang/go | c0c1bbde172c33e6e4ea994b413f23ca42c50c06 | 2aa473cc54128c1498f80263763a2a876308e565 | http: improve Get documentation
The existing documentation is unclear about header keys formatting.
The clarifying sentence is added to Get function to emphasis that
keys have to be stored in canonical format to have Get returining
non empty value.
Fixes #53140
Change-Id: Icd0955bcbb6676cec028fe37042aed5846e13ed1
Re... | [
{
"path": "src/net/http/header.go",
"patch": "@@ -43,7 +43,8 @@ func (h Header) Set(key, value string) {\n // Get gets the first value associated with the given key. If\n // there are no values associated with the key, Get returns \"\".\n // It is case insensitive; textproto.CanonicalMIMEHeaderKey is\n-// u... | 2022-06-13T05:26:02 |
vercel/next.js | d7626ffb7996463daf95f554ed30e67893741cf7 | db48052a5e1beedb3ff142e95e0ea7b5ca8dd923 | Revert "misc: shortcut styled-jsx in external resolution (#56291)" (#56334)
We can't resolve the exact URL in externals otherwise when you move from
one path to another.
x-ref: [slack
thread](https://vercel.slack.com/archives/C04KC8A53T7/p1696291412072799?thread_ts=1695906014.899719&cid=C04KC8A53T7)
This rever... | [
{
"path": "packages/next/src/build/handle-externals.ts",
"patch": "@@ -301,8 +301,10 @@ export function makeExternalHandler({\n return resolveResult.localRes\n }\n \n- if (request === 'styled-jsx/style' && !isAppLayer) {\n- return `commonjs ${defaultOverrides['styled-jsx/style']}`\n+ //... | 2023-10-03T00:22:22 |
nodejs/node | 914d800a23f1c7877770d62bd4061957c402c8ca | 1f209129c7e6c3ec6628809821fc9a36deae7ec8 | tools: add NODE_TEST_NO_INTERNET to the doc builder
At the moment the doc builder tries to access the internet
for CHANGELOG information and only falls back to local sources
after the connection fails or a 5 second timeout. This means
that the doc building could take at least 7 minutes on a
machine with hijacked conne... | [
{
"path": "tools/doc/versions.js",
"patch": "@@ -31,6 +31,8 @@ const getUrl = (url) => {\n });\n };\n \n+const kNoInternet = !!process.env.NODE_TEST_NO_INTERNET;\n+\n module.exports = {\n async versions() {\n if (_versions) {\n@@ -42,16 +44,20 @@ module.exports = {\n const url =\n 'https:/... | 2020-02-18T15:01:21 |
golang/go | 2aa473cc54128c1498f80263763a2a876308e565 | 4651ebf96191ffa3c0bc4c0b479bc97fbdd97b67 | go/types, types2: correct alignment of atomic.Int64
atomic.Int64 has special logic in the compiler to ensure it's 8-byte
aligned on 32-bit architectures. The equivalent logic is missing in
go/types, which means the compiler and go/types can come to different
conclusions about the layout of types.
Fix this by mirrorin... | [
{
"path": "src/cmd/compile/internal/types/size.go",
"patch": "@@ -169,6 +169,8 @@ func calcStructOffset(errtype *Type, t *Type, o int64, flag int) int64 {\n \t}\n \t// Special case: sync/atomic.align64 is an empty struct we recognize\n \t// as a signal that the struct it contains must be 64-bit-aligned.\n+\... | 2022-07-13T19:18:41 |
rust-lang/rust | 7224dffc65e7082d2366aa2ca3f7620f93f5439b | ff496ad34fc823bc063293edbf48f14261c6e28b | Do not lint data coming from macro
Suggesting to remove `*&` or `*&mut` in a macro may be incorrect, as it
would require tracking all possible macro usages. In some cases, it is
not possible to remove the dereference or the reference.
For example, in the following code, the `drmut!()` macro will be linted
against whi... | [
{
"path": "clippy_lints/src/reference.rs",
"patch": "@@ -1,11 +1,11 @@\n use clippy_utils::diagnostics::span_lint_and_sugg;\n-use clippy_utils::source::{SpanRangeExt, snippet_with_applicability};\n+use clippy_utils::source::snippet;\n+use clippy_utils::sugg::{Sugg, has_enclosing_paren};\n use clippy_utils::... | 2025-05-07T15:39:58 |
nodejs/node | 1f209129c7e6c3ec6628809821fc9a36deae7ec8 | 940325042bef787e84917a27f9435d423b3f7f6d | stream: throw invalid argument errors
Logic errors that do not depend on stream
state should throw instead of invoke callback
and emit error.
PR-URL: https://github.com/nodejs/node/pull/31831
Refs: https://github.com/nodejs/node/pull/31818
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <m... | [
{
"path": "lib/_stream_writable.js",
"patch": "@@ -273,13 +273,8 @@ Writable.prototype.write = function(chunk, encoding, cb) {\n cb = nop;\n }\n \n- let err;\n- if (state.ending) {\n- err = new ERR_STREAM_WRITE_AFTER_END();\n- } else if (state.destroyed) {\n- err = new ERR_STREAM_DESTROYED(... | 2020-02-17T20:24:25 |
vercel/next.js | eeb9b3325d6c21107463532b9ae99f48b0cd524f | 3172cfedc8b759fec89fda373c86b86931fc02f1 | fix: Invalid URL (404) provided on server actions error (#56323)
Co-authored-by: Zack Tanner <zacktanner@gmail.com> | [
{
"path": "packages/next-swc/crates/core/src/server_actions.rs",
"patch": "@@ -110,7 +110,7 @@ impl<C: Comments> ServerActions<C> {\n handler\n .struct_span_err(\n body.span,\n- \"It is not all... | 2023-10-02T22:32:43 |
golang/go | dc00aed6de101700fd02b30f93789b9e9e1fe9a1 | 783ff7dfc49d207114bb80e565e50ea6ff079326 | go/parser: skip TestParseDepthLimit for short tests
Because it requires a not insignificant amount of memory to run. Also
remove the WASM-only skip from TestScopeDepthLimit, which is less
intensive.
Fixes #53816
Change-Id: I8463046510ce4dd3d8f6d66938828d5e6963c3be
Reviewed-on: https://go-review.googlesource.com/c/go... | [
{
"path": "src/go/parser/parser_test.go",
"patch": "@@ -10,7 +10,6 @@ import (\n \t\"go/ast\"\n \t\"go/token\"\n \t\"io/fs\"\n-\t\"runtime\"\n \t\"strings\"\n \t\"testing\"\n )\n@@ -653,8 +652,8 @@ func split(x string) (pre, mid, post string) {\n }\n \n func TestParseDepthLimit(t *testing.T) {\n-\tif runtim... | 2022-07-14T20:00:05 |
electron/electron | b61e1fd69ff8e4f955335e48e74ab9f170583525 | c8ff67ab7538e4b73fcd0c74c61cdb13491cb691 | Add spec for error on removing all IPC listeners | [
{
"path": "spec/api-ipc-spec.js",
"patch": "@@ -495,4 +495,26 @@ describe('ipc module', function () {\n assert.equal(w.listenerCount('test'), 0)\n })\n })\n+\n+ it('throws an error when removing all the listeners', () => {\n+ ipcMain.on('test-event', () => {})\n+ assert.equal(ipcMain.list... | 2016-12-01T22:41:34 |
rust-lang/rust | 935fdb6980f0f4133a26a91aefe81b4e2cea01c9 | 64ca23b6235732fa61c0a2b957c5d7e591e7c972 | fix: Match width of ascii and unicode secondary file start | [
{
"path": "compiler/rustc_errors/src/emitter.rs",
"patch": "@@ -2988,7 +2988,7 @@ impl HumanEmitter {\n fn secondary_file_start(&self) -> &'static str {\n match self.theme {\n OutputTheme::Ascii => \"::: \",\n- OutputTheme::Unicode => \" ⸬ \",\n+ OutputTheme::Un... | 2025-07-29T09:41:09 |
facebook/react | 75aee1714b60b8b43ebaebf9bffe5af43ff90cde | c41e86c990efbd4b6c8315bb105381079eceb45a | Expose the instance cache
We need access to the instance cache for debugging tools. Ideally we want to
expose a more stable and supported interface but this seems like a quick win,
for now. | [
{
"path": "src/core/ReactMount.js",
"patch": "@@ -211,6 +211,9 @@ var ReactMount = {\n /** Whether support for touch events should be initialized. */\n useTouchEvents: false,\n \n+ /** Exposed for debugging purposes **/\n+ _instanceByReactRootID: instanceByReactRootID,\n+\n /**\n * This is a hook... | 2013-08-30T20:15:21 |
nodejs/node | 940325042bef787e84917a27f9435d423b3f7f6d | 0dff851336ea2a3801667e5390d5821db746baae | test: add secp224k1 check in crypto-dh-stateless
This commit adds a check to test-crypto-dh-statless to avoid an error if
the curve secp224k1 is not present. This could occur if node was
configured with shared-openssl.
The use case for this was building on RHEL 8.1 which only has the
following curves:
$ openssl ecpar... | [
{
"path": "test/parallel/test-crypto-dh-stateless.js",
"patch": "@@ -196,9 +196,10 @@ for (const [params1, params2] of [\n test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }),\n crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }));\n \n+const not256k1 = crypto.getCurves().find(... | 2020-02-21T06:27:29 |
vercel/next.js | 3172cfedc8b759fec89fda373c86b86931fc02f1 | a2f9ef5a34418d562581f54353ed51491a019484 | fix: support both decoded and encoded url requests of conventioned files (#56187)
Co-authored-by: Omar McIver <omar.mciver@mode3cloud.com>
Co-authored-by: Jiachi Liu <inbox@huozhi.im> | [
{
"path": "packages/next/src/server/lib/router-utils/filesystem.ts",
"patch": "@@ -517,11 +517,25 @@ export async function setupFsCheck(opts: {\n } catch {}\n }\n \n+ let matchedItem = items.has(curItemPath)\n+\n // check decoded variant as well\n- if (!items.has(curI... | 2023-10-02T22:02:49 |
golang/go | 783ff7dfc49d207114bb80e565e50ea6ff079326 | aa802285265ac370f7ce62299e54ec84635b794e | encoding/xml: skip TestCVE202230633 for short tests
TestCVE202230633 uses a bunch of memory, and the input cannot be
feasibly reduced while maintaining the behavior hasn't regressed. This
test could be reasonably removed, but I'd rather keep it around if we
can.
Fixes #53814
Change-Id: Ie8b3f306efd20b2d9c0fb73122c26... | [
{
"path": "src/encoding/xml/read_test.go",
"patch": "@@ -9,7 +9,6 @@ import (\n \t\"errors\"\n \t\"io\"\n \t\"reflect\"\n-\t\"runtime\"\n \t\"strings\"\n \t\"testing\"\n \t\"time\"\n@@ -1112,8 +1111,8 @@ func TestCVE202228131(t *testing.T) {\n }\n \n func TestCVE202230633(t *testing.T) {\n-\tif runtime.GOAR... | 2022-07-14T19:09:19 |
facebook/react | 07e20726923f29d2a323779b08583baa4b7fb526 | 744b54a829f4b66e77ecf6e8f7894a6ab7863011 | Support props for <meta> elements.
`content`, `httpEquiv`, `charSet` are all needed. We're currently
working around this in `react-page`.
`content` is the risky one here since we previously supporting using
`content` to set the text content. We removed support for that in
e9980412296b6469f39605f48ea527776d7ac718 so t... | [
{
"path": "src/dom/DefaultDOMPropertyConfig.js",
"patch": "@@ -45,9 +45,11 @@ var DefaultDOMPropertyConfig = {\n autoPlay: HAS_BOOLEAN_VALUE,\n cellPadding: null,\n cellSpacing: null,\n+ charSet: MUST_USE_ATTRIBUTE,\n checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n className: MUST_U... | 2013-08-26T16:21:50 |
vercel/next.js | a2f9ef5a34418d562581f54353ed51491a019484 | a970f284398d4125c04908d42704b2ab98b9d98b | fix(next/client): keep hash when navigating from app to pages router (#56223)
### What?
Fixes the pages router not receiving a hash when being linked from the
app router.
### Why?
The hash being removed breaks sites that rely on it for client side
features.
### How?
The hash gets omitted from the URL ... | [
{
"path": "packages/next/src/client/components/router-reducer/fetch-server-response.ts",
"patch": "@@ -122,6 +122,11 @@ export async function fetchServerResponse(\n // If fetch returns something different than flight response handle it like a mpa navigation\n // If the fetch was not 200, we also han... | 2023-10-02T21:43:04 |
golang/go | aa802285265ac370f7ce62299e54ec84635b794e | b9d5a25442ff4df9080250dd4b0d62c565466cec | cmd/go/internal/modfetch: avoid duplicating path components in Git fetch errors
Fixes #51114
Change-Id: Iebfe65f826b7b583ff2b48b8bc9d2eb23f2726af
Reviewed-on: https://go-review.googlesource.com/c/go/+/386234
Reviewed-by: Valentin Deleplace <deleplace@google.com>
Reviewed-by: Nooras Saba <saba@golang.org>
TryBot-Resu... | [
{
"path": "src/cmd/go/internal/modfetch/coderepo.go",
"patch": "@@ -792,7 +792,7 @@ func (r *codeRepo) findDir(version string) (rev, dir string, gomod []byte, err e\n \tfile1 := path.Join(r.codeDir, \"go.mod\")\n \tgomod1, err1 := r.code.ReadFile(rev, file1, codehost.MaxGoMod)\n \tif err1 != nil && !os.IsNo... | 2022-02-16T19:07:06 |
electron/electron | acfded9687d7f4e415fce6c55241b6ef890741ee | a9f4c208a035dcb90eabaf5471540d6e566d8e9a | fix typos
a more ‘允许’ word should be removed | [
{
"path": "docs-translations/zh-CN/api/browser-window.md",
"patch": "@@ -59,7 +59,7 @@ win.show()\n * `acceptFirstMouse` Boolean - 是否允许单击web view来激活窗口 . 默认为 `false`.\n * `disableAutoHideCursor` Boolean - 当 typing 时是否隐藏鼠标.默认 `false`.\n * `autoHideMenuBar` Boolean - 除非点击 `Alt`,否则隐藏菜单栏.默认为 `false`.\n- *... | 2016-12-01T02:03:33 |
facebook/react | 744b54a829f4b66e77ecf6e8f7894a6ab7863011 | a90c463abe9b280207623a34c7389b35ff347c15 | Fix capitalization of Tooling Integration page | [
{
"path": "docs/_config.yml",
"patch": "@@ -48,6 +48,6 @@ nav_docs_sections:\n - id: more-about-refs\n title: More About Refs\n - id: tooling-integration\n- title: Tooling integration\n+ title: Tooling Integration\n - id: reference\n title: Reference",
"additions": 1,
"deleti... | 2013-08-26T21:53:56 |
vercel/next.js | 5fbc23e7b21885b4ca1ff6383b4a365ba72b8bf9 | 98432a4630b668c98d13bf968316774e523a8d11 | misc: fix instrumentation with bundled server (#56318)
This PR fixes an issue with the instrumentation hook breaking with the
bundled server. I'll follow up with a better test setup for the bundled
server in a follow up (tomorrow).
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure... | [
{
"path": "packages/next/src/server/next-server.ts",
"patch": "@@ -101,6 +101,12 @@ import { loadManifest } from './load-manifest'\n \n export * from './base-server'\n \n+declare const __non_webpack_require__: NodeRequire\n+\n+const dynamicRequire = process.env.NEXT_MINIMAL\n+ ? __non_webpack_require__\n+ ... | 2023-10-02T18:50:30 |
electron/electron | a9f4c208a035dcb90eabaf5471540d6e566d8e9a | bca7a6baa9504a408658fa06e47594fe95f72e57 | Adding French translations for the documentation (#8097)
* Adding French translation of electron-versioning.md
* Adding French translation of security.md
* Fixing typos and rewriting some text
* Update security.md | [
{
"path": "docs-translations/fr-FR/tutorial/electron-versioning.md",
"patch": "@@ -0,0 +1,14 @@\n+# Versionage d'Electron\n+\n+Si vous êtes un développeur Node expérimenté, vous êtes sûrement au courant de `semver` - et pourrez l'utiliser pour donner à vos systèmes de gestion de dépendences seulement des li... | 2016-11-30T17:49:36 |
golang/go | b9d5a25442ff4df9080250dd4b0d62c565466cec | a906d3dd099424ff17d7e46c4ecf793012d50197 | cmd/go: save zip sums for downloaded modules in 'go mod download' in a workspace
Within a single module we expect all needed checksums to have already
been recorded by a previous call to 'go get' or 'go mod tidy' in that
module. However, when we combine multiple modules in a workspace, they
may upgrade each other's de... | [
{
"path": "src/cmd/go/internal/modcmd/download.go",
"patch": "@@ -206,12 +206,13 @@ func runDownload(ctx context.Context, cmd *base.Command, args []string) {\n \ttype token struct{}\n \tsem := make(chan token, runtime.GOMAXPROCS(0))\n \tinfos, infosErr := modload.ListModules(ctx, args, 0, *downloadReuse)\n-... | 2022-07-14T18:44:21 |
nodejs/node | 021542080a020d1d67fa47e25338973b78d543e6 | d3715c76b5c287d900d28f472da0186322ace811 | doc: update releases guide re pushing tags
Currently we specify pushing the tag before updating any of the
branches. This creates a potential of creating and pushing a tag
on an out of sync branch, and only really when attempting to merge
the release commit that things have gone out of sync.
Changing the order here w... | [
{
"path": "doc/releases.md",
"patch": "@@ -498,17 +498,6 @@ $ git secure-tag <vx.y.z> <commit-sha> -sm \"YYYY-MM-DD Node.js vx.y.z (<release-\n The tag **must** be signed using the GPG key that's listed for you on the\n project README.\n \n-Push the tag to the repo before you promote the builds. If you have... | 2020-02-18T20:03:18 |
facebook/react | 3d1cc16a9b143b96b353b7b03c06ca0f7e544304 | cbe86e04b3fdfee584f538e399b91863bd6c0feb | Add CDNJS to docs. Fixes #244 | [
{
"path": "README.md",
"patch": "@@ -32,7 +32,7 @@ You'll notice that we used an XML-like syntax; [we call it JSX](http://facebook.\n \n ## Installation\n \n-The fastest way to get started is to serve JavaScript from the CDN:\n+The fastest way to get started is to serve JavaScript from the CDN (also availab... | 2013-08-22T17:07:01 |
vercel/next.js | 86274e68aad79f89473bb5725c33cb1dcdc2a916 | e970e050a96b8438931644a621157abd7fc70d64 | fix(#53190): add missing crossOrigin to assetsPrefix resources (#56311)
Fixes #53190.
Next.js App Router comprises two categories of resources, same-origin ones (RSC payload, in the form of inline `<script />`) and possibly third-party ones (chunks that respect the `assetPrefix`). The latter should also respect the `... | [
{
"path": "packages/next/src/server/app-render/app-render.tsx",
"patch": "@@ -467,6 +467,7 @@ export const renderToHTMLOrFlight: AppPageRender = (\n href={fullHref}\n // @ts-ignore\n precedence={precedence}\n+ crossOrigin={renderOpts.crossOrigin... | 2023-10-02T17:21:49 |
electron/electron | 77fa7ce977524de16e8d12c06eeed6c4979b80b9 | 2c8ab72269f6531e56ae48e57ea0809f792a4038 | Run more crashReporter specs on CI | [
{
"path": "spec/api-crash-reporter-spec.js",
"patch": "@@ -9,6 +9,8 @@ const {closeWindow} = require('./window-helpers')\n const {remote} = require('electron')\n const {app, BrowserWindow, crashReporter} = remote.require('electron')\n \n+const isCI = remote.getGlobal('isCi')\n+\n describe('crashReporter mod... | 2016-11-29T22:18:42 |
rust-lang/rust | 618a90d1b0682f687b63cc591ef78814538d5a8f | 86ff11e729e780f533030208f1c0ab25e52e6f47 | Deduplicate `IntTy`/`UintTy`/`FloatTy`.
There are identical definitions in `rustc_type_ir` and `rustc_ast`. This
commit removes them and places a single definition in `rustc_ast_ir`.
This requires adding `rust_span` as a dependency of `rustc_ast_ir`, but
means a bunch of silly conversion functions can be removed.
The... | [
{
"path": "clippy_lints/src/float_literal.rs",
"patch": "@@ -1,6 +1,6 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::numeric_literal;\n-use rustc_ast::ast::{self, LitFloatType, LitKind};\n+use rustc_ast::ast::{LitFloatType, LitKind};\n use rustc_errors::Applicability;\n use rust... | 2025-07-31T01:52:42 |
golang/go | a906d3dd099424ff17d7e46c4ecf793012d50197 | 266c70c26306e98d32d95dc62463c829f39bcce8 | cmd/go: avoid re-enqueuing workspace dependencies with errors
Fixes #53874.
Change-Id: I41ab15cb9b86b807a9d9ad21fe21fb7aa5fbb46f
Reviewed-on: https://go-review.googlesource.com/c/go/+/417594
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyan... | [
{
"path": "src/cmd/go/internal/modload/buildlist.go",
"patch": "@@ -397,7 +397,6 @@ func readModGraph(ctx context.Context, pruning modPruning, roots []module.Versio\n \t\tseen := map[module.Version]bool{}\n \t\tfor _, m := range roots {\n \t\t\thasDepsInAll[m.Path] = true\n-\t\t\tseen[m] = true\n \t\t}\n \t... | 2022-07-14T14:51:56 |
nodejs/node | db28739aed31b2ad6e85c497e3a836a29d13021c | 9c702922cdcf830cedb92d51e5dc9f956584c3ee | stream: fix broken pipeline error propagation
If the destination was an async function any
error thrown from that function would be swallowed.
PR-URL: https://github.com/nodejs/node/pull/31835
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: De... | [
{
"path": "lib/internal/streams/pipeline.js",
"patch": "@@ -132,9 +132,10 @@ function pipeline(...streams) {\n }\n \n let error;\n+ let value;\n const destroys = [];\n \n- function finish(err, val, final) {\n+ function finish(err, final) {\n if (!error && err) {\n error = err;\n }\n@@... | 2020-02-21T11:50:34 |
facebook/react | cbe86e04b3fdfee584f538e399b91863bd6c0feb | a558e560bd98446a4876e2feefe640c7cbde1681 | Docs: fix header | [
{
"path": "docs/docs/02.1-jsx-in-depth.md",
"patch": "@@ -82,7 +82,7 @@ var div = React.DOM.div;\n var app = <div className=\"appClass\">Hello, React!</div>;\n ```\n \n-### React Component Components\n+### React Composite Components\n \n To construct an instance of a composite component, create a variable t... | 2013-08-22T18:02:09 |
vercel/next.js | e970e050a96b8438931644a621157abd7fc70d64 | be952fbb31960c4d1e7b19d5193816ed58c9406c | Reland static prefetches & fix prefetch bailout behavior (#56228)
Reland #54403
Also modifies the implementation of #55950 to not change the prefetch behavior when there is flight router state - we should only check the entire loader tree in the static prefetch case, otherwise we're inadvertently rendering the compon... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -129,6 +129,7 @@ import { eventSwcPlugins } from '../telemetry/events/swc-plugins'\n import { normalizeAppPath } from '../shared/lib/router/utils/app-paths'\n import {\n ACTION,\n+ NEXT_ROUTER_PREFETCH,\n RSC,\n RSC_CONTENT_TYPE_HEADER,\n R... | 2023-10-02T17:12:55 |
rust-lang/rust | 1901dde97bdff7b6b308c41d751e826df4eb2016 | 606dcc0d2e54d260f67d8a91f8adaf797a4ed38a | Deduplicate `IntTy`/`UintTy`/`FloatTy`.
There are identical definitions in `rustc_type_ir` and `rustc_ast`. This
commit removes them and places a single definition in `rustc_ast_ir`.
This requires adding `rust_span` as a dependency of `rustc_ast_ir`, but
means a bunch of silly conversion functions can be removed.
The... | [
{
"path": "Cargo.lock",
"patch": "@@ -3417,6 +3417,7 @@ dependencies = [\n \"rustc_data_structures\",\n \"rustc_macros\",\n \"rustc_serialize\",\n+ \"rustc_span\",\n ]\n \n [[package]]",
"additions": 1,
"deletions": 0,
"language": "Unknown"
},
{
"path": "compiler/rustc_ast/src/ast.rs"... | 2025-07-31T01:52:42 |
golang/go | 558785a0a9df5fbb7e9617c05059cf2892884620 | 1355ea3045cd1327740ecfb7387918db45bf4f89 | cmd/compile: remove -installsuffix flag
Obsoleted by -importcfg.
cmd/link has a similar flag, but it seems to still be needed at least
for misc/cgo/testshared.TestGopathShlib. I can't immediately tell why
(has something to do with finding .so files), but it doesn't appear to
possibly affect cmd/compile.
Updates #512... | [
{
"path": "src/cmd/compile/doc.go",
"patch": "@@ -68,9 +68,6 @@ Flags:\n \t-importcfg file\n \t\tRead import configuration from file.\n \t\tIn the file, set importmap, packagefile to specify import resolution.\n-\t-installsuffix suffix\n-\t\tLook for packages in $GOROOT/pkg/$GOOS_$GOARCH_suffix\n-\t\tinstea... | 2022-06-29T20:20:36 |
facebook/react | a558e560bd98446a4876e2feefe640c7cbde1681 | cfe4152b1dba09d95387e62e8bb1f46cdd86c7da | Use script to find remaining 404s. Fix them. | [
{
"path": "docs/_posts/2013-07-03-community-roundup-4.md",
"patch": "@@ -23,7 +23,7 @@ The best part is the demo of how React reconciliation process makes live editing\n \n ## React Snippets\n \n-Over the past several weeks, members of our team, [Pete Hunt](http://www.petehunt.net/) and [Paul O'Shannessy](h... | 2013-08-22T17:59:22 |
vercel/next.js | be952fbb31960c4d1e7b19d5193816ed58c9406c | 7f60cc8b0f223c8bc372cc94d48b506493fccc56 | fix: typo in `with-stripe-typescript` example (#56274)
fixes #56273. | [
{
"path": "examples/with-stripe-typescript/app/api/webhooks/route.ts",
"patch": "@@ -51,7 +51,7 @@ export async function POST(req: Request) {\n console.log(`💰 PaymentIntent status: ${data.status}`)\n break\n default:\n- throw new Error(`Unhhandled event: ${event.type}`)... | 2023-10-02T16:47:23 |
electron/electron | 446065b88c58a304cbd6c5e82e1fc315bc4e7735 | f8b738e6c23d2cd30184c31d847b75608dfc2f6c | Minor updates to crash reporter notes | [
{
"path": "docs/api/crash-reporter.md",
"patch": "@@ -47,17 +47,17 @@ The `crashReporter` module has the following methods:\n report. Only string properties are sent correctly, Nested objects are not\n supported.\n \n-You are required to call this method before using other `crashReporter` APIs\n+You... | 2016-11-28T23:37:06 |
nodejs/node | 793cfe54cd26e0eb881eec895df41da62a3049ed | 341c06f0889e5295d7a7a34c3e38296bd2c4ac18 | doc,crypto: re-document oaepLabel option
Erroneously removed in https://github.com/nodejs/node/pull/29516.
Fixes: https://github.com/nodejs/node/issues/31810
Refs: https://github.com/nodejs/node/pull/29516
PR-URL: https://github.com/nodejs/node/pull/31825
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jam... | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -2484,6 +2484,8 @@ changes:\n * `privateKey` {Object | string | Buffer | KeyObject}\n * `oaepHash` {string} The hash function to use for OAEP padding.\n **Default:** `'sha1'`\n+ * `oaepLabel` {Buffer | TypedArray | DataView} The label to use for OAEP\n+ ... | 2020-02-17T09:50:58 |
facebook/react | cfe4152b1dba09d95387e62e8bb1f46cdd86c7da | 91c2a8d90b2095097261c69d78cbf749f4199edb | Fix broken tutorial link and change wording | [
{
"path": "docs/docs/tutorial.md",
"patch": "@@ -677,4 +677,4 @@ var CommentBox = React.createClass({\n \n ### Congrats!\n \n-You have just built a comment box in a few simple steps. Learn more about React in the [reference](syntax.html) or start hacking! Good luck!\n+You have just built a comment box in a ... | 2013-08-22T05:38:44 |
golang/go | c006b7ac2765252f397dec40fef610a3c17d956d | 923740a8cc82e0bd3cd6098f94130b1967c4b361 | runtime: clear timerModifiedEarliest when last timer is deleted
timerModifiedEarliest contains the lowest possible expiration for a
modified earlier timer, which may be earlier than timer0When because we
haven't yet updated the heap. Note "may", as the modified earlier timer
that set timerModifiedEarliest may have sin... | [
{
"path": "src/runtime/time.go",
"patch": "@@ -397,7 +397,11 @@ func dodeltimer(pp *p, i int) int {\n \tif i == 0 {\n \t\tupdateTimer0When(pp)\n \t}\n-\tatomic.Xadd(&pp.numTimers, -1)\n+\tn := atomic.Xadd(&pp.numTimers, -1)\n+\tif n == 0 {\n+\t\t// If there are no timers, then clearly none are modified.\n+\... | 2022-07-13T15:48:04 |
vercel/next.js | ac95a20276871be48ce9bfa531dee5529ecbedbe | dba978f4bac3a3f072dcbaff68bba3f75c2bbe15 | Fix flaky test for size output (#56303)
x-ref: https://github.com/vercel/next.js/actions/runs/6380869104/job/17316148085?pr=56187
Tune the regex that match the correct number but without leading zero | [
{
"path": "test/e2e/app-dir/app/index.test.ts",
"patch": "@@ -16,7 +16,7 @@ createNextDescribe(\n if (!process.env.NEXT_EXPERIMENTAL_COMPILE) {\n it('should have correct size in build output', async () => {\n expect(next.cliOutput).toMatch(\n- /\\/dashboard\\/another.*? [^... | 2023-10-02T15:47:09 |
electron/electron | 0b9a2f6be68add8345494742c94f8bfa770dd3c0 | 0c73140b070f089389f534a528e37b2da57a1bed | Add autoSubmit crashReporter option | [
{
"path": "docs/tutorial/planned-breaking-changes.md",
"patch": "@@ -40,6 +40,23 @@ clipboard.writeHtml()\n clipboard.writeHTML()\n ```\n \n+## `crashReporter`\n+\n+```js\n+// Deprecated\n+crashReporter.start({\n+ companyName: 'Crashly',\n+ submitURL: 'https://crash.server.com',\n+ autoSubmit: true\n+})\... | 2016-11-28T23:06:03 |
nodejs/node | 341c06f0889e5295d7a7a34c3e38296bd2c4ac18 | fa1fc6bf9f257f7365454dc7a28bb4cd4385919f | tls: expose SSL_export_keying_material
Fixes: https://github.com/nodejs/node/issues/31802
PR-URL: https://github.com/nodejs/node/pull/31814
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniess... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1858,6 +1858,15 @@ added: v13.3.0\n \n The context must be a `SecureContext`.\n \n+<a id=\"ERR_TLS_INVALID_STATE\"></a>\n+### `ERR_TLS_INVALID_STATE`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+The TLS socket must be connected and securily established. Ensure the '... | 2020-02-15T17:55:59 |
golang/go | 923740a8cc82e0bd3cd6098f94130b1967c4b361 | bf2ef26be3593d24487311576d85ec601185fbf4 | cmd/compile: fix type assert in dict pass
For type assertions, if src type is empty interface, we should
use normal type assertions rather than dynamic type assertions.
Fixes #53762
Change-Id: I596b2e4ad647fe5e42ad884f7273c78f8f50dac2
Reviewed-on: https://go-review.googlesource.com/c/go/+/416736
Run-TryBot: Wayne Zu... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -1357,7 +1357,7 @@ func (g *genInst) dictPass(info *instInfo) {\n \t\t\t}\n \t\tcase ir.ODOTTYPE, ir.ODOTTYPE2:\n \t\t\tdt := m.(*ir.TypeAssertExpr)\n-\t\t\tif !dt.Type().HasShape() && !dt.X.Type().HasShape() {\n+\t\t\tif !dt.Type().HasShap... | 2022-07-10T03:11:05 |
rust-lang/rust | 507dec4dc321c868ad876c0b7302c66088b7cc7c | 94cc5bb9620cdee942b8b79e7026f622fcc695a0 | Make const bound handling more like types/regions.
Currently there is `Ty` and `BoundTy`, and `Region` and `BoundRegion`,
and `Const` and... `BoundVar`. An annoying inconsistency.
This commit repurposes the existing `BoundConst`, which was barely used,
so it's the partner to `Const`. Unlike `BoundTy`/`BoundRegion` it... | [
{
"path": "compiler/rustc_borrowck/src/type_check/relate_tys.rs",
"patch": "@@ -187,7 +187,7 @@ impl<'a, 'b, 'tcx> NllTypeRelating<'a, 'b, 'tcx> {\n types: &mut |_bound_ty: ty::BoundTy| {\n unreachable!(\"we only replace regions in nll_relate, not types\")\n ... | 2025-07-30T04:21:00 |
vercel/next.js | dba978f4bac3a3f072dcbaff68bba3f75c2bbe15 | 458dab83cacc846c971cf41b04d54a21a43d8707 | misc: shortcut styled-jsx in external resolution (#56291)
This PR just shortcuts the styled-jsx resolution to tell webpack to
compile it immediately. I noticed this could cause an issue if
`config.experimental.bundlePagesExternals` was enabled.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
... | [
{
"path": "packages/next/src/build/handle-externals.ts",
"patch": "@@ -301,10 +301,8 @@ export function makeExternalHandler({\n return resolveResult.localRes\n }\n \n- // Forcedly resolve the styled-jsx installed by next.js,\n- // since `resolveExternal` cannot find the styled-jsx dep with p... | 2023-10-02T15:02:52 |
electron/electron | a7dedb3a13c2d495790308c45a3f72f060fc5f40 | 4b61a4d3deb69fdc50645aaf2b27333a80b0783d | Update crash_reporter.cc | [
{
"path": "atom/common/crash_reporter/crash_reporter.cc",
"patch": "@@ -44,7 +44,6 @@ void CrashReporter::SetUploadParameters(const StringMap& parameters) {\n }\n \n void CrashReporter::SetShouldUpload(const bool should_upload) {\n-\n }\n \n bool CrashReporter::GetShouldUpload() {",
"additions": 0,
... | 2016-11-08T06:06:49 |
facebook/react | 5fae286cf448359d5a826acf7449ddc9edbad948 | a2c90aad8661cf921557648277f40f7a5a910c07 | typo fix | [
{
"path": "docs/docs/getting-started.md",
"patch": "@@ -84,7 +84,7 @@ The file `build/helloworld.js` is autogenerated whenever you make a change.\n /** @jsx React.DOM */\n React.renderComponent(\n React.DOM.h1(null, 'Hello, world!'),\n- document.getElementyById('example')\n+ document.getElementById('exa... | 2013-08-19T18:35:46 |
nodejs/node | fa1fc6bf9f257f7365454dc7a28bb4cd4385919f | 0e63a079e8f535e1d4f0398400c534b0b5772fa5 | doc: fix anchor for ERR_TLS_INVALID_CONTEXT
PR-URL: https://github.com/nodejs/node/pull/31915
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1850,7 +1850,7 @@ recommended to use 2048 bits or larger for stronger security.\n A TLS/SSL handshake timed out. In this case, the server must also abort the\n connection.\n \n-<a id=\"ERR_TLS_INVALID_CONTEXT\">\n+<a id=\"ERR_TLS_INVALID_CONTEXT\"></a>\n ### `ERR... | 2020-02-22T19:18:56 |
rust-lang/rust | 94cc5bb9620cdee942b8b79e7026f622fcc695a0 | 606dcc0d2e54d260f67d8a91f8adaf797a4ed38a | Streamline const folding/visiting.
Type folders can only modify a few "types of interest": `Binder`, `Ty`,
`Predicate`, `Clauses`, `Region`, `Const`. Likewise for type visitors,
but they can also visit errors (via `ErrorGuaranteed`).
Currently the impls of `try_super_fold_with`, `super_fold_with`, and
`super_visit_wi... | [
{
"path": "compiler/rustc_middle/src/ty/structural_impls.rs",
"patch": "@@ -232,6 +232,7 @@ TrivialLiftImpls! {\n crate::mir::Promoted,\n crate::mir::interpret::AllocId,\n crate::mir::interpret::Scalar,\n+ crate::ty::ParamConst,\n rustc_abi::ExternAbi,\n rustc_abi::Size,\n rustc_h... | 2025-07-30T04:29:28 |
golang/go | 5f5cae7200b544bfc250ad0676a98db1f7e7df31 | c2edb2c841149f2e56963071065d52247e24092a | cmd/go: avoid indexing GOROOT packages when the compiler is 'gccgo'
The gccgo compiler does not load standard-library packages from
GOROOT/src, so we cannot load those packages from the GOROOT/src
index when using that compiler.
This fixes TestScript/gccgo_link_c (and perhaps other gccgo tests)
when a 'gccgo' executa... | [
{
"path": "src/cmd/go/internal/modindex/read.go",
"patch": "@@ -139,6 +139,9 @@ func GetPackage(modroot, pkgdir string) (*IndexPackage, error) {\n \tif !errors.Is(err, errNotFromModuleCache) {\n \t\treturn nil, err\n \t}\n+\tif cfg.BuildContext.Compiler == \"gccgo\" && str.HasPathPrefix(modroot, cfg.GOROOTs... | 2022-07-12T14:48:47 |
vercel/next.js | 458dab83cacc846c971cf41b04d54a21a43d8707 | 5254aaecf64ba148c2104b6d7c06dfa7a1ff7a76 | misc: update code owners (#56290)
Adding myself to the build folder config
<!-- 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... | [
{
"path": ".github/CODEOWNERS",
"patch": "@@ -28,7 +28,7 @@\n \n # Tooling & Telemetry\n \n-/packages/next/src/build/ @timneutkens @ijjk @shuding @huozhi @ztanner @vercel/web-tooling\n+/packages/next/src/build/ @timneutkens @ijjk @shuding @huozhi... | 2023-10-02T15:02:28 |
electron/electron | 4b61a4d3deb69fdc50645aaf2b27333a80b0783d | 285a36f9de706448d29e4f27d3afda49cf478bd0 | Fix linting | [
{
"path": "lib/common/api/crash-reporter.js",
"patch": "@@ -102,15 +102,15 @@ class CrashReporter {\n return this.tempDirectory\n }\n \n- getShouldUpload() {\n+ getShouldUpload () {\n if (process.type === 'browser') {\n return binding._getShouldUpload()\n } else {\n throw new Err... | 2016-11-08T04:13:54 |
nodejs/node | 0e63a079e8f535e1d4f0398400c534b0b5772fa5 | 21bd6679ce150e193cacd4b1b6585928224f255a | crypto: fix ieee-p1363 for createVerify
Fixes: https://github.com/nodejs/node/issues/31866
PR-URL: https://github.com/nodejs/node/pull/31876
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -5323,8 +5323,7 @@ void Verify::VerifyUpdate(const FunctionCallbackInfo<Value>& args) {\n \n \n SignBase::Error Verify::VerifyFinal(const ManagedEVPPKey& pkey,\n- const char* sig,\n- int siglen... | 2020-02-20T00:16:14 |
facebook/react | 898621d0a1d4ca36f56f728bce54f370790a9ce0 | 1f8ef4c90390287fa9931633ae6f3da950323942 | Make getChecked, getValue, handleChange private
Test Plan: grunt test, enter text in ballmer-peak example without any JS errors. | [
{
"path": "src/dom/components/ReactDOMInput.js",
"patch": "@@ -57,22 +57,16 @@ var ReactDOMInput = ReactCompositeComponent.createClass({\n return !this._isChanging;\n },\n \n- getChecked: function() {\n- return this.props.checked != null ? this.props.checked : this.state.checked;\n- },\n-\n- get... | 2013-08-18T00:04:00 |
golang/go | 85486bcccb506514d67034e39f3ed588b5900f1c | 27794c4d4a18c61d8c158d253421d72b5a6a8673 | image/jpeg: increase TestLargeImageWithShortData timeout by an order of magnitude
Also dump goroutines on failure.
The original bug report in #10413 reported a hang of “several
minutes”. An apparently-spurious failure was observed in
https://build.golang.org/log/e5ac3ce3fb7d04ec13e5bbfadea8bb5869a4dd1e,
with a delay ... | [
{
"path": "src/image/jpeg/reader_test.go",
"patch": "@@ -13,6 +13,7 @@ import (\n \t\"io\"\n \t\"math/rand\"\n \t\"os\"\n+\t\"runtime/debug\"\n \t\"strings\"\n \t\"testing\"\n \t\"time\"\n@@ -247,18 +248,16 @@ func TestLargeImageWithShortData(t *testing.T) {\n \t\t\"\\x20\\x36\\x9f\\x78\\x64\\x75\\xe6\\xab\... | 2022-05-25T15:09:56 |
electron/electron | 5a1a2616aa790a1d4d70e6b72694ad6e5a71028c | 0d1804b2a07a794a896124877c1f11f21336ed27 | Fix build issues | [
{
"path": "atom/common/crash_reporter/crash_reporter.h",
"patch": "@@ -33,7 +33,7 @@ class CrashReporter {\n virtual std::vector<CrashReporter::UploadReportResult> GetUploadedReports(\n const base::FilePath& crashes_dir);\n \n- virtual void SetShouldUpload();\n+ virtual void SetShouldUpload(bool s... | 2016-11-08T00:25:18 |
nodejs/node | 21bd6679ce150e193cacd4b1b6585928224f255a | 2f23918ca5090417ad0e06be6ecce63553f17985 | stream: fix finished typo
https://github.com/nodejs/node/pull/31509 introduced a slight typo.
Fortunately this typo does not have big impact due to
`isWritableFinished()`.
Fixes: https://github.com/nodejs/node/pull/31509#discussion_r381809355
PR-URL: https://github.com/nodejs/node/pull/31881
Fixes: https://github.co... | [
{
"path": "lib/internal/streams/end-of-stream.js",
"patch": "@@ -62,7 +62,7 @@ function eos(stream, opts, callback) {\n };\n \n let writableFinished = stream.writableFinished ||\n- (rState && rState.finished);\n+ (wState && wState.finished);\n const onfinish = () => {\n writable = false;\n ... | 2020-02-20T07:31:58 |
rust-lang/rust | a7b01aa04867ba0ee10f767f3819d47c45d9cc30 | 6bf97001f95710346f998afc821744ab7362675c | `cargo clippy --fix` | [
{
"path": "src/tools/rust-analyzer/crates/cfg/src/cfg_expr.rs",
"patch": "@@ -134,10 +134,10 @@ fn next_cfg_expr<S: Copy>(it: &mut tt::iter::TtIter<'_, S>) -> Option<CfgExpr> {\n };\n \n // Eat comma separator\n- if let Some(TtElement::Leaf(tt::Leaf::Punct(punct))) = it.peek() {\n- if punc... | 2025-07-31T08:30:22 |
golang/go | 27794c4d4a18c61d8c158d253421d72b5a6a8673 | b2b8872c876201eac2d0707276c6999ff3eb185e | cmd/go/internal/modload: ignore disallowed errors when checking for updates
addUpdate calls Query with the query "upgrade". Normally, this returns
the highest release version (or prerelease, etc.) that is higher than
the current version and is not retracted or excluded. If there is no
such version, Query should return... | [
{
"path": "src/cmd/go/internal/modload/build.go",
"patch": "@@ -131,10 +131,15 @@ func addUpdate(ctx context.Context, m *modinfo.ModulePublic) {\n \n \tinfo, err := Query(ctx, m.Path, \"upgrade\", m.Version, CheckAllowed)\n \tvar noVersionErr *NoMatchingVersionError\n-\tif errors.Is(err, fs.ErrNotExist) || ... | 2022-06-29T01:15:32 |
electron/electron | 0d1804b2a07a794a896124877c1f11f21336ed27 | 0b9530efd711f791da54d31a751902c88f6abe28 | Fix issues and deprecate the old prop | [
{
"path": "atom/common/crash_reporter/crash_reporter.h",
"patch": "@@ -33,6 +33,8 @@ class CrashReporter {\n virtual std::vector<CrashReporter::UploadReportResult> GetUploadedReports(\n const base::FilePath& crashes_dir);\n \n+ virtual void SetShouldUpload();\n+\n protected:\n CrashReporter();\n... | 2016-11-08T00:18:49 |
nodejs/node | cdac18519fd14df9ece958cf8e29b846f512656e | 1c4e984ed970612f129db2ba6f684311418ed3a2 | test: remove flaky designation for test-net-connect-options-port
Closes: https://github.com/nodejs/node/issues/23207
PR-URL: https://github.com/nodejs/node/pull/31841
Fixes: https://github.com/nodejs/node/issues/23207
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewe... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -5,8 +5,6 @@ prefix parallel\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n-# https://github.com/nodejs/node/issues/23207\n-test-net-connect-options-port: PASS,FLAKY\n \n [$system==win32]\n # h... | 2020-02-18T05:48:38 |
facebook/react | 25e2cd0db6673f0ae80534b983b57a8cde1a0be4 | cb00d3e66c7e701d894199b0c1635579f52818ec | Fix behavior of ReactDOMSelect
Closes #250.
Test Plan:
With multiple and not, verified: With defaultValue, the correct option is picked initially, user changes change the selection, and changes to defaultValue have no effect. With value, the correct option is picked initially, user changes do nothing, and changes to ... | [
{
"path": "src/dom/components/ReactDOMSelect.js",
"patch": "@@ -58,11 +58,9 @@ function selectValueType(props, propName, componentName) {\n */\n function updateOptions() {\n /*jshint validthis:true */\n- if (this.props.value == null) {\n- return;\n- }\n+ var value = this.props.value != null ? this.... | 2013-08-05T01:07:33 |
golang/go | b2b8872c876201eac2d0707276c6999ff3eb185e | ac68c6c683409f98250d34ad282b9e1b0c9095ef | compress/gzip: fix stack exhaustion bug in Reader.Read
Replace recursion with iteration in Reader.Read to avoid stack
exhaustion when there are a large number of files.
Fixes CVE-2022-30631
Fixes #53168
Change-Id: I47d8afe3f2d40b0213ab61431df9b221794dbfe0
Reviewed-on: https://team-review.git.corp.google.com/c/golang... | [
{
"path": "src/compress/gzip/gunzip.go",
"patch": "@@ -248,42 +248,40 @@ func (z *Reader) Read(p []byte) (n int, err error) {\n \t\treturn 0, z.err\n \t}\n \n-\tn, z.err = z.decompressor.Read(p)\n-\tz.digest = crc32.Update(z.digest, crc32.IEEETable, p[:n])\n-\tz.size += uint32(n)\n-\tif z.err != io.EOF {\n-... | 2022-05-06T15:25:06 |
vercel/next.js | 5254aaecf64ba148c2104b6d7c06dfa7a1ff7a76 | 0d4859b247c924e36c65aec11f5800f57b93dc56 | Update image.mdx (#56266)
fix link
Co-authored-by: Lee Robinson <9113740+leerob@users.noreply.github.com>
Co-authored-by: Steven <229881+styfle@users.noreply.github.com> | [
{
"path": "docs/02-app/02-api-reference/01-components/image.mdx",
"patch": "@@ -576,7 +576,7 @@ The cache status of an image can be determined by reading the value of the `x-ne\n The expiration (or rather Max Age) is defined by either the [`minimumCacheTTL`](#minimumcachettl) configuration or the upstream i... | 2023-10-02T14:29:18 |
facebook/react | 2fda70fb4a5ee422b33cb0cf090492aa19a4894c | 02f618d52cbff5f3a795fbfb7973c952f3a9ccff | fix test case for rendering text node number 0 | [
{
"path": "src/core/__tests__/ReactMultiChildText-test.js",
"patch": "@@ -147,9 +147,9 @@ describe('ReactMultiChildText', function() {\n });\n \n it('should render zero number as text node then switch to spans', function() {\n- var d = renderSingleTextChild('0');\n+ var d = renderSingleTextChild(0... | 2013-08-16T14:46:58 |
nodejs/node | 2d3717ad847665de333c85e5239ad4e6a4c0eb95 | b8e41774d4287d128a40f7ecfecf170fe16fe9ed | worker: emit runtime error on loop creation failure
Instead of hard asserting throw a runtime error,
that is more consumable.
Fixes: https://github.com/nodejs/node/issues/31614
PR-URL: https://github.com/nodejs/node/pull/31621
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -2066,6 +2066,11 @@ meaning of the error depends on the specific function.\n \n The WASI instance has already started.\n \n+<a id=\"ERR_WORKER_INIT_FAILED\"></a>\n+### `ERR_WORKER_INIT_FAILED`\n+\n+The `Worker` initialization failed.\n+\n <a id=\"ERR_WORKER_INVALI... | 2020-02-03T05:06:35 |
golang/go | ac68c6c683409f98250d34ad282b9e1b0c9095ef | fa2d41d0ca736f3ad6b200b2a4e134364e9acc59 | path/filepath: fix stack exhaustion in Glob
A limit is added to the number of path separators allowed by an input to
Glob, to prevent stack exhaustion issues.
Thanks to Juho Nurminen of Mattermost who reported the issue.
Fixes CVE-2022-30632
Fixes #53416
Change-Id: I1b9fd4faa85411a05dbc91dceae1c0c8eb021f07
Reviewed... | [
{
"path": "src/path/filepath/match.go",
"patch": "@@ -240,6 +240,16 @@ func getEsc(chunk string) (r rune, nchunk string, err error) {\n // The only possible returned error is ErrBadPattern, when pattern\n // is malformed.\n func Glob(pattern string) (matches []string, err error) {\n+\treturn globWithLimit(p... | 2022-06-23T23:18:56 |
facebook/react | 192727e152be303cf3102ce89c6559981c9194fc | cb00d3e66c7e701d894199b0c1635579f52818ec | Make .bind(null, ...) work on autobound methods
Fixes #266. | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -819,7 +819,7 @@ var ReactCompositeComponentMixin = {\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n- i... | 2013-08-15T08:24:01 |
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.