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
facebook/react
bd044fc919b46d9d8d495e162598e6499f70e64b
870a29d9b0a154ebc31dcc08cb1121ba3594639a
Use github tarball link for esprima dependency It turns out that (at least for local development) npm has a long standing bug where it doesn't recognize changing dependencies stored as git urls (see https://github.com/isaacs/npm/issues/1727). Luckily npm understand tarballs and GitHub provides tarballs for every commi...
[ { "path": "package.json", "patch": "@@ -37,7 +37,7 @@\n \"dependencies\": {\n \"base62\": \"~0.1.1\",\n \"commoner\": \"~0.7.0\",\n- \"esprima\": \"git://github.com/facebook/esprima#fb-harmony\",\n+ \"esprima\": \"https://github.com/facebook/esprima/tarball/ca28795124d45968e62a7b4b336d23a053...
2013-06-18T22:29:37
electron/electron
2d7ceae320243cb3bb996e6704440ed69f9acea1
0410a184ceca003eadffd508e1ae52cb7ddefb8d
fix js lint error
[ { "path": "lib/browser/guest-window-manager.js", "patch": "@@ -120,8 +120,9 @@ const createGuest = function (embedder, url, frameName, options, postData) {\n // The above code would not work if a navigation to \"about:blank\" is done\n // here, since the window would be cleared of all changes in the...
2016-10-10T12:58:56
nodejs/node
234de6f1fd90ece1edc1a12d989ab0f15a1f19b8
6a6279ef2a38c17a761cc15366e615c620328587
stream: fix finished w/ 'close' before 'finish' Emitting 'close' before 'finish' on a Writable should result in a premature close error. PR-URL: https://github.com/nodejs/node/pull/31534 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtr...
[ { "path": "lib/internal/streams/end-of-stream.js", "patch": "@@ -25,6 +25,13 @@ function isWritable(stream) {\n !!stream._writableState;\n }\n \n+function isWritableFinished(stream) {\n+ if (stream.writableFinished) return true;\n+ const wState = stream._writableState;\n+ if (!wState || wState.errore...
2020-01-27T13:46:10
vercel/next.js
e94868215db82c994af0bd9cfb644ed2eaa8afa0
0e61aa99a27613fa3309ef6d9868259a1271f6ae
Fix metadata typo in examples/with-jest page (#55994) Fix typo in `app/rsc/page.tsx`: `const metdata` should be `const metadata`
[ { "path": "examples/with-jest/app/rsc/page.tsx", "patch": "@@ -1,6 +1,6 @@\n import 'server-only'\n \n-export const metdata = {\n+export const metadata = {\n title: 'App Router',\n }\n ", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2023-09-26T02:46:20
golang/go
41e1d9075e428c2fc32d966b3752a3029b620e2c
bd4753905d15035fabbc4dda79573506090fe40b
strconv: avoid panic on invalid call to FormatFloat Calling FormatFloat with an invalid value of fmt is expected to return a string containing '%' and the input fmt character. Since even before Go 1.0, the code has been panicking in the case where prec=0. Fixes #52187 Change-Id: I74fec601eedb7fe28efc5132c42536746614...
[ { "path": "src/strconv/ftoa.go", "patch": "@@ -138,6 +138,9 @@ func genericFtoa(dst []byte, val float64, fmt byte, prec, bitSize int) []byte {\n \t\t\t\tprec = 1\n \t\t\t}\n \t\t\tdigits = prec\n+\t\tdefault:\n+\t\t\t// Invalid mode.\n+\t\t\tdigits = 1\n \t\t}\n \t\tvar buf [24]byte\n \t\tif bitSize == 32 &...
2022-04-29T09:54:13
electron/electron
aeefee7348cfcee3631a59df699eef87460eeffd
c1af62a3b3c9131636deae0443b74ff15678a92b
Fix the download-item doc so it correctly resembles a class
[ { "path": "docs/api/download-item.md", "patch": "@@ -37,9 +37,11 @@ win.webContents.session.on('will-download', (event, item, webContents) => {\n })\n ```\n \n-## Events\n+## Class: DownloadItem\n \n-### Event: 'updated'\n+### Instance Events\n+\n+#### Event: 'updated'\n \n Returns:\n \n@@ -53,7 +55,7 @@ Th...
2016-11-08T05:31:36
nodejs/node
fb6df3bfac8ca38a7012eabf0563d7a799ce1acc
2d8febceef35bdd52624028bdee2e0d58830ae7f
fs: validate the input data to be of expected types The input was not validated so far and that caused unwanted side effects. E.g., `undefined` became the string `'undefined'`. It was expected to fail or to end up as empty string. Now all input is validated to be either some type of array buffer view or a string. That...
[ { "path": "doc/api/fs.md", "patch": "@@ -3897,6 +3897,10 @@ This happens when:\n <!-- YAML\n added: v0.0.2\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/31030\n+ description: The `buffer` parameter won't coerce unsupported input to\n+ strings anymor...
2019-12-19T18:00:45
vercel/next.js
123811719f4ff8f4093f6df029224f12c28d8430
df3980da880097a0ce5d5312d166449f80149ff8
fix(turbopack): coerce importsource for emotion (#55986) ### What? This PR fixes import source for turbopack's compiler.emotion config, mimics the current webpack configuration behavior. Unfortunately this does not fixes the whole emotion transform with appdir yet, it looks like there are additional problems with se...
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -216,8 +216,13 @@ pub async fn get_client_module_options_context(\n } else {\n None\n };\n- let jsx_runtime_options =\n- get_jsx_transform_options(project_path, mode, Some(resolve_options_contex...
2023-09-26T01:29:32
facebook/react
a0475b3c292790a666ee69dfb416ba0e5b66be07
405be0f966e83dba1c1fa4de626f128a446d270e
Fix package.json's reference to vendor/constants.js
[ { "path": "package.json", "patch": "@@ -21,7 +21,7 @@\n \"bin/jsx\",\n \"build/modules/\",\n \"vendor/fbtransform/\",\n- \"vendor/woodchipper.js\"\n+ \"vendor/constants.js\"\n ],\n \"main\": \"main.js\",\n \"bin\": {", "additions": 1, "deletions": 1, "language": "JSON" ...
2013-06-17T23:27:07
electron/electron
c1af62a3b3c9131636deae0443b74ff15678a92b
11f8923c4341f6da81122dbf628dadc42a2e80fa
Move crash-report object to it's own struct
[ { "path": "docs/api/crash-reporter.md", "patch": "@@ -58,20 +58,14 @@ crash reports.\n \n ### `crashReporter.getLastCrashReport()`\n \n-Returns `Object`:\n-\n-* `date` String\n-* `ID` Integer\n+Returns [`CrashReport`](structures/crash-report.md):\n \n Returns the date and ID of the last crash report. If no ...
2016-11-08T04:54:34
nodejs/node
2d8febceef35bdd52624028bdee2e0d58830ae7f
018c3e8949e925efc8077801d44c2b2feb974750
fs: deprecate closing FileHandle on garbage collection Closing the FileHandle on garbage collection is a bad practice. Runtime deprecate and indicate that an error will be thrown in the future. PR-URL: https://github.com/nodejs/node/pull/28396 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <t...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -2538,7 +2538,6 @@ an officially supported API.\n changes:\n - version: v13.0.0\n pr-url: https://github.com/nodejs/node/pull/29061\n- description: Runtime deprecation.\n -->\n \n Type: Runtime\n@@ -2569,6 +2568,37 @@ accordingly instead to avoid th...
2019-06-23T13:35:04
vercel/next.js
57bb52d37dd43fd669c5c07296daba19b6a12917
df3c1b822a6d6cd31a00157386ddae4355efa306
Fix stale revalidate stream handling (#55978) This ensures we don't block sending the stream down when handling stale revalidates, in edge runtime we leverage the existing `waitUntil` handling and in node.js runtime we couple this into our pipe readable handling to wait to close the writable until after the promise re...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -1765,12 +1765,12 @@ export const renderToHTMLOrFlight: AppPageRender = (\n asNotFound: pagePath === '/404',\n tree: loaderTree,\n }),\n- { ...extraRenderResultMeta }\n+ {\n+ ...extraRenderRes...
2023-09-25T20:50:00
facebook/react
315645804133e190e23be954787f5d64144d33d5
48333acba657ac98b5760f89c22e48a8b4be27ac
Fix most lint warnings/errors
[ { "path": "src/core/ReactComponent.js", "patch": "@@ -16,6 +16,8 @@\n * @providesModule ReactComponent\n */\n \n+/*jslint evil: true */\n+\n \"use strict\";\n \n var ReactCurrentOwner = require('ReactCurrentOwner');\n@@ -125,7 +127,9 @@ function assignKey(groupingIndex, child, index) {\n function tryToReu...
2013-06-17T23:25:08
golang/go
b9c4d94fdbe0c9e11a1e604cf321614b90a1d882
73475ef0350e84b35a6aa1b593448a9497b62440
cmd/go/internal/list: update help info with Deprecated field Also align Retracted documentation with actual type of []string Fixes #51876 Change-Id: I3b34e53424aa7ee5330eb71adac23510fff91798 Reviewed-on: https://go-review.googlesource.com/c/go/+/394677 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by:...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -930,19 +930,20 @@\n // applied to a Go struct, but now a Module struct:\n //\n //\ttype Module struct {\n-//\t Path string // module path\n-//\t Version string // module version\n-//\t Versions []string // available module ver...
2022-03-22T22:00:22
electron/electron
11f8923c4341f6da81122dbf628dadc42a2e80fa
63ebc417788d529c5975b62b26b43e7585d65ce8
Fix tray and menu docs
[ { "path": "docs/api/menu-item.md", "patch": "@@ -31,7 +31,7 @@ Create a new `MenuItem` with the following method:\n * `visible` Boolean - (optional) If false, the menu item will be entirely hidden.\n * `checked` Boolean - (optional) Should only be specified for `checkbox` or `radio` type\n menu item...
2016-11-07T06:43:55
rust-lang/rust
7ca4d1f6a155e802b31cfc1f0971f3916aa8e02d
498ae9fed2e7d90821d70a048f3770f91af08957
coverage: Regression test for "function name is empty" bug The bug was triggered by a particular usage of the `?` try operator in a proc-macro expansion. Thanks to lqd for the minimization. Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
[ { "path": "tests/coverage/auxiliary/try_in_macro_helper.rs", "patch": "@@ -0,0 +1,31 @@\n+//@ edition: 2024\n+// (The proc-macro crate doesn't need to be instrumented.)\n+//@ compile-flags: -Cinstrument-coverage=off\n+\n+use proc_macro::TokenStream;\n+\n+/// Minimized form of `#[derive(arbitrary::Arbitrary)...
2025-07-29T00:29:32
nodejs/node
60de60a0ce21378c80353489759dc70f05156cc7
ee9e689df2dd219084820d1adb7a97d104726794
src: remove unused `Worker::child_port_` member This fixes a compiler warning introduced in 9225939528590f652e6. PR-URL: https://github.com/nodejs/node/pull/31599 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed...
[ { "path": "src/node_worker.cc", "patch": "@@ -251,14 +251,6 @@ void Worker::Run() {\n Isolate::DisallowJavascriptExecutionScope disallow_js(isolate_,\n Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE);\n \n- // Grab the parent-to-child channel and render is unusable.\n- ...
2020-02-01T10:42:30
vercel/next.js
3dc2c1c7f8441cdee31da9f7e0986d654c7fd2e7
9d86c1224caf507b0fbf2397aedb46936b587c9a
docs-55629 update router cache column in cache interactions api table (#55630) Fixes https://github.com/vercel/next.js/issues/55629. Updates the `Router cache` column in the [Cache Interactions API Table](https://nextjs.org/docs/app/building-your-application/caching#apis) to reflect `Revalidate (Server Action)` in th...
[ { "path": "docs/02-app/01-building-your-application/04-caching/index.mdx", "patch": "@@ -400,24 +400,24 @@ When configuring the different caching mechanisms, it's important to understand\n \n The following table provides an overview of how different Next.js APIs affect caching:\n \n-| API ...
2023-09-25T17:48:30
golang/go
73475ef0350e84b35a6aa1b593448a9497b62440
3e58ef6cc7dfaf2cf3b593e728f7f62391030114
go/types, types2: print qualified object names in cycle errors Fixes #50788. Change-Id: Id1ed7d9c0687e3005e28598373fd5634178c78ca Reviewed-on: https://go-review.googlesource.com/c/go/+/413895 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -5,6 +5,7 @@\n package types2\n \n import (\n+\t\"bytes\"\n \t\"cmd/compile/internal/syntax\"\n \t\"fmt\"\n \t\"go/constant\"\n@@ -303,31 +304,44 @@ loop:\n // cycleError reports a declaration cycle starting with\n // the object in cycle that...
2022-06-24T00:53:01
facebook/react
4a0456fb8e41e54d9c6ebf4ff0d7f942d7aa27f9
405be0f966e83dba1c1fa4de626f128a446d270e
Fix lint warning about mismatched file & module name @providesModule should match the file name. In this case we'll be consistent and suffix mixins with Mixin.
[ { "path": "src/core/ReactComponentWithPureRenderMixin.js", "patch": "@@ -13,7 +13,7 @@\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n-* @providesModule ReactComponentWithPureRender\n+* @providesModule ReactComponentWithPureRenderMixin\n */...
2013-06-17T23:24:58
rust-lang/rust
081b5654789f60d7303e05a26f86c80d0594f531
9ba00e0f9e00990fb88c1beac7172afe93b15609
Allow `cargo fix` to partially apply `mismatched_lifetime_syntaxes`
[ { "path": "compiler/rustc_lint/src/lifetime_syntax.rs", "patch": "@@ -434,7 +434,7 @@ fn emit_mismatch_diagnostic<'tcx>(\n lints::MismatchedLifetimeSyntaxesSuggestion::Mixed {\n implicit_suggestions,\n explicit_anonymous_suggestions,\n- tool_only: false,\n+ ...
2025-07-28T18:50:53
nodejs/node
3f70d7720333dd0996dfd6ca21beb4a24d561e1b
d435dc47f3d303ff1669fa711a0af287a9df973a
fs: set path when mkdir recursive called on file PR-URL: https://github.com/nodejs/node/pull/31607 Fixes: https://github.com/nodejs/node/issues/28015 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <ric...
[ { "path": "src/node_file.cc", "patch": "@@ -1278,6 +1278,7 @@ int MKDirpSync(uv_loop_t* loop,\n }\n break;\n case UV_EACCES:\n+ case UV_ENOTDIR:\n case UV_EPERM: {\n return err;\n }\n@@ -1356,6 +1357,7 @@ int MKDirpAsync(uv_loop_t* loop,\n ...
2020-02-02T21:48:41
vercel/next.js
9d86c1224caf507b0fbf2397aedb46936b587c9a
fb551c90e75f2fba937bb515634d3e0a242e37ea
docs: Correct place for passing `extension` option to `createMDX()` (#55967) ### What? Fixing a little mistake in the documentation, where the placement of the `extension` option for `createMDX()` was described as being inside the `options` property: ```ts const withMDX = createMDX({ options: { extension: /\....
[ { "path": "docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx", "patch": "@@ -251,8 +251,8 @@ import createMDX from '@next/mdx'\n const nextConfig = {}\n \n const withMDX = createMDX({\n+ extension: /\\.mdx?$/,\n options: {\n- extension: /\\.mdx?$/,\n remarkPlugins: [remarkGfm],\n ...
2023-09-25T17:38:01
golang/go
3e58ef6cc7dfaf2cf3b593e728f7f62391030114
d38f1d13fa413436d38d86fe86d6a146be44bb84
go/types, types2: better errors for == when type sets are empty For #51525. Change-Id: I3762bc4a48a1aaab3b006b1ad1400f866892243c Reviewed-on: https://go-review.googlesource.com/c/go/+/413934 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Griesemer <gri@google.com> Reviewed-by: Ian Lance Taylor <ian...
[ { "path": "src/cmd/compile/internal/types2/predicates.go", "patch": "@@ -147,7 +147,17 @@ func comparable(T Type, dynamic bool, seen map[Type]bool, reportf func(string, .\n \t\t}\n \t\treturn true\n \tcase *Interface:\n-\t\treturn dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen)\n+\t\tif dynamic...
2022-06-24T03:54:52
vercel/next.js
fb551c90e75f2fba937bb515634d3e0a242e37ea
60af1969c574d7f9bcc9289c421e89b75aedbe51
Update 03-linking-and-navigating.mdx (#55907) I hope this is right, the description said for a link to be active the pathname should match the href, sorry if its wrong
[ { "path": "docs/02-app/01-building-your-application/01-routing/03-linking-and-navigating.mdx", "patch": "@@ -84,7 +84,7 @@ export function Links() {\n <li>\n <Link\n className={`link ${pathname === '/about' ? 'active' : ''}`}\n- href=\"/\"\n+ href=\"/about...
2023-09-25T17:11:47
nodejs/node
d435dc47f3d303ff1669fa711a0af287a9df973a
d4660aba6324096198bc17772ba16fce6259967d
test: unset NODE_OPTIONS for cctest The test may fail otherwise because of behaviour changes caused by setting the environment variable. Fixes: https://github.com/nodejs/node/issues/31585 PR-URL: https://github.com/nodejs/node/pull/31594 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipin...
[ { "path": "test/cctest/node_test_fixture.h", "patch": "@@ -70,6 +70,7 @@ class NodeZeroIsolateTestFixture : public ::testing::Test {\n \n static void SetUpTestCase() {\n if (!node_initialized) {\n+ uv_os_unsetenv(\"NODE_OPTIONS\");\n node_initialized = true;\n int argc = 1;\n co...
2020-01-31T19:31:33
facebook/react
2383fd8813a83b27f7bc895d19146952cc32c62b
d8b6d260c965c154d3a1997e613597a50c140656
Upgrade Recast to 0.4.8 to fix options.writeback bug. Bug introduced by: https://github.com/benjamn/recast/commit/e913b22f8f Bug fixed by: https://github.com/benjamn/recast/commit/170e18091e
[ { "path": "package.json", "patch": "@@ -38,7 +38,7 @@\n \"base62\": \"~0.1.1\",\n \"commoner\": \"~0.7.0\",\n \"esprima\": \"git://github.com/facebook/esprima#fb-harmony\",\n- \"recast\": \"~0.4.5\",\n+ \"recast\": \"~0.4.8\",\n \"source-map\": \"~0.1.22\"\n },\n \"devDependencies\...
2013-06-17T19:55:54
rust-lang/rust
2db97b2f7d877e5db2c892b42ed4deb8d829af14
9ba00e0f9e00990fb88c1beac7172afe93b15609
Account for .yield in illegal postfix operator message
[ { "path": "compiler/rustc_parse/src/parser/expr.rs", "patch": "@@ -785,9 +785,13 @@ impl<'a> Parser<'a> {\n ExprKind::Call(_, _) => \"a function call\",\n ExprKind::Await(_, _) => \"`.await`\",\n ExprKind::Use(_, _) => \"`.use`\",\n+ ...
2025-07-28T16:09:47
golang/go
d38f1d13fa413436d38d86fe86d6a146be44bb84
de5329f1de4cd4a938323012910310e548b2d936
doc/go1.19: Linux race detector now requires glibc 2.17 Fixes #53522 Change-Id: Ibed838d358a733d26a6c3d89446d7fadb1012961 Reviewed-on: https://go-review.googlesource.com/c/go/+/413876 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com...
[ { "path": "doc/go1.19.html", "patch": "@@ -807,6 +807,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n Compared to v2, it is now typically 1.5x to 2x faster, uses half\n as much memory, and it supports an unlimited number of\n goroutines.\n+ On Linux, the race...
2022-06-24T00:23:39
nodejs/node
d4660aba6324096198bc17772ba16fce6259967d
0f96dc266fd0cd8c1baa82ce7eb951c11b29a331
src: change Fill() to use ParseArrayIndex() Changed Fill() to use ParseArrayIndex() when getting start and end of buffers instead of Uint32Value, supporting buffers of greater than 2**32 Fixes: https://github.com/nodejs/node/issues/31514 Co-Authored-By: Rich Trott <rtrott@gmail.com> PR-URL: https://github.com/nodejs...
[ { "path": "src/node_buffer.cc", "patch": "@@ -590,10 +590,11 @@ void Fill(const FunctionCallbackInfo<Value>& args) {\n THROW_AND_RETURN_UNLESS_BUFFER(env, args[0]);\n SPREAD_BUFFER_ARG(args[0], ts_obj);\n \n- uint32_t start;\n- if (!args[2]->Uint32Value(ctx).To(&start)) return;\n- uint32_t end;\n- i...
2020-01-30T12:12:31
electron/electron
5e62d28e5097f3a8fbf0052cbcacf291e5927cee
2cf30c0d630163a0f9930b9efe066976a679e6fc
adds test, adds view to AtomNSWindow and minor fixes
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -786,16 +786,11 @@ bool Window::IsVisibleOnAllWorkspaces() {\n return window_->IsVisibleOnAllWorkspaces();\n }\n \n-void Window::SetVibrancy(v8::Local<v8::Value> value, mate::Arguments* args) {\n+void Window::SetVibrancy(mate::Arguments* args) ...
2016-11-10T19:36:21
rust-lang/rust
431f95ec85c92ff7ae1b9d54ce94a8d1411fb166
d73a6b797f91248f60db1d04cad409aa1c246bfd
Fix typo in internal error message
[ { "path": "tests/symbols-used.rs", "patch": "@@ -75,7 +75,7 @@ fn all_symbols_are_used() -> Result<()> {\n for sym in extra {\n eprintln!(\" - {sym}\");\n }\n- Err(format!(\"extra symbols found — remove them {SYM_FILE}\"))?;\n+ Err(format!(\"extra symbols found — r...
2025-07-28T15:31:21
facebook/react
6a41ede2d426cea1cb29103305362383f4d10f4d
c04081bc562047f796a72ad372791b411b971985
Fixing known keying problems This fixes the last known parts of the flattening experiment. This has grown to be somewhat complex and potentially fragile because of it. We may end up reverting flattening in the future or address it slightly differently. The purpose of this diff is to test if we've finally understood t...
[ { "path": "src/core/ReactComponent.js", "patch": "@@ -66,37 +66,84 @@ var HAS_WARNED = false;\n * one.\n */\n \n+/**\n+ * Generate a unique key that identifies this child within a set.\n+ *\n+ * @param {*} Manually provided key.\n+ * @param {number} Index that is used if a manual key is not provided.\n+ *...
2013-06-17T19:47:39
golang/go
de5329f1de4cd4a938323012910310e548b2d936
15605ca827723d568f780402d03b29842fd20eec
debug/dwarf: handle malformed line table with bad program offset Touch up the line table reader to ensure that it can detect and reject an invalid program offset field in the table header. Fixes #53329. Change-Id: Ia8d684e909af3aca3014b4a3d0dfd431e3f5a9f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/413814...
[ { "path": "src/debug/dwarf/line.go", "patch": "@@ -215,7 +215,11 @@ func (r *LineReader) readHeader(compDir string) error {\n \t} else {\n \t\theaderLength = Offset(buf.uint32())\n \t}\n-\tr.programOffset = buf.off + headerLength\n+\tprogramOffset := buf.off + headerLength\n+\tif programOffset > r.endOffset...
2022-06-23T18:11:59
vercel/next.js
60af1969c574d7f9bcc9289c421e89b75aedbe51
82eb6e6f4955dc90752a4875ccf86b7ac0c8d03a
Remove .test.js from dist (#55946) Noticed a couple of directories had unit tests in `dist` which are being run and reported during the Turbopack runs. These are generally quite small so I'm not expecting this to have much effect on the package size or CI runs, just making sure the data is correct. <!-- Thanks for...
[ { "path": "packages/next/taskfile.js", "patch": "@@ -2451,26 +2451,43 @@ export async function server_esm(task, opts) {\n \n export async function nextbuild(task, opts) {\n await task\n- .source('src/build/**/!(*.test).+(js|ts|tsx)', {\n- ignore: ['**/fixture/**', '**/tests/**', '**/jest/**'],\n+ ...
2023-09-25T17:05:07
nodejs/node
aec9ad8f6c8a75518d81279ec5e7188348e508de
dbe881b64ce74f437ace5c6a884dfac5df597df2
src: fix console debug output on Windows The FWrite function on Windows assumed that MultiByteToWideChar automatically null-terminates the resulting string, but it will only do so if the size of the source was passed as -1 or null character was explicitly counted in the size. The FWrite uses std::string and its `.size...
[ { "path": "src/debug_utils.cc", "patch": "@@ -468,9 +468,7 @@ void FWrite(FILE* file, const std::string& str) {\n std::vector<wchar_t> wbuf(n);\n MultiByteToWideChar(CP_UTF8, 0, str.data(), str.size(), wbuf.data(), n);\n \n- // Don't include the final null character in the output\n- CHECK_GT(n, 0);\n-...
2020-01-30T14:37:02
facebook/react
03464dc148374c1883d02c6aae150fc93ffd85de
1112f1a00305626377f0f9402f139622c57be014
Fix `EventPluginRegistry` Unit Tests in GitHub Dumping the mock cache isn't dirying the modules in the open source version, so we have to unit test a different way. If we can fix the unit test framework, we should revert this. Also, I added strict mode to `EventPluginRegistry.js`. See: https://github.com/facebook/re...
[ { "path": "src/event/EventPluginRegistry.js", "patch": "@@ -1,4 +1,18 @@\n /**\n+ * Copyright 2013 Facebook, Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ ...
2013-06-14T23:45:07
electron/electron
16253fe708c21b041f8a10b8e715b083b372ee5f
84a3fe50dc3612d5d84eb6577401e932cc4d8d52
doc fixes
[ { "path": "docs/api/browser-window.md", "patch": "@@ -198,6 +198,9 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.\n * `thickFrame` Boolean - Use `WS_THICKFRAME` style for frameless windows on\n Windows, which adds standard window frame. Setting it to `false` will r...
2016-11-08T14:24:11
vercel/next.js
e0e573546b6eb13247fc61e4360af01a498c7b60
9e3c1829b0d904910ea1718f02a46888138bb8ea
fix-failed-to-generate-self-signed-certificate issue:#55891 (#55947) - Related issues linked using fixes #55891 Wrap binaryPath, keyPath, certPath with double quotes this with casing an error if there is a directory name has a space for ex. folder with name **test https**
[ { "path": "packages/next/src/lib/mkcert.ts", "patch": "@@ -98,13 +98,13 @@ export async function createSelfSignedCertificate(\n : defaultHosts\n \n execSync(\n- `${binaryPath} -install -key-file ${keyPath} -cert-file ${certPath} ${hosts.join(\n+ `\"${binaryPath}\" -install -key-file \"...
2023-09-25T15:57:58
golang/go
2e773a3894fba7af744090d7d42968f4993018e2
ff17b7d0d42af12ca1ad766a135d9951029027ea
test: add test that causes gofrontend crash For #52846 Change-Id: I763f81def97b53277396c123c524f7b8193ea35e Reviewed-on: https://go-review.googlesource.com/c/go/+/413694 Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Review...
[ { "path": "test/fixedbugs/issue52846.go", "patch": "@@ -0,0 +1,17 @@\n+// compile\n+\n+// Copyright 2022 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+// Issue 52846: gofrontend crashed with alias as map ...
2022-06-22T23:02:45
nodejs/node
dbe881b64ce74f437ace5c6a884dfac5df597df2
9528f953360c34a75b3a89839e71884908c2fe6e
test: show child stderr output in largepages test The test starts child processes. A recent change is suspected of causing flaky crashes on one of the alpine buildbots but we can't know for sure because the test hides the child's stderr. Refs: https://github.com/nodejs/node/pull/31547#issuecomment-581076515 PR-URL: ...
[ { "path": "test/parallel/test-startup-large-pages.js", "patch": "@@ -8,7 +8,8 @@ const { spawnSync } = require('child_process');\n \n {\n const child = spawnSync(process.execPath,\n- [ '--use-largepages=on', '-p', '42' ]);\n+ [ '--use-largepages=on', '-p',...
2020-02-02T01:47:01
electron/electron
84a3fe50dc3612d5d84eb6577401e932cc4d8d52
8ad50d1e35dc856099c3ef372c53385b3d954d28
little fix in docs
[ { "path": "docs/api/browser-window.md", "patch": "@@ -1193,10 +1193,11 @@ Returns `BrowserWindow[]` - All child windows.\n \n #### `win.setVibrancy(type)` _macOS_\n \n-* `type` String - Adds a vibrancy effect to the browser window. Values include\n- `appearance-based`, `light`, `dark`, `titlebar`, `selecti...
2016-11-07T20:32:09
golang/go
ff17b7d0d42af12ca1ad766a135d9951029027ea
2a3b467d5f8de04a3493b7ab8cd886e109bd9283
cmd/compile: don't use dictionary convert to shaped empty interface Fixes: #53254 Change-Id: I3153d6ebb9f25957b09363f45c5cd4651ee84c2d Reviewed-on: https://go-review.googlesource.com/c/go/+/410655 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org> TryBot-Result: Gopher Robo...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1349,7 +1349,7 @@ func (g *genInst) dictPass(info *instInfo) {\n \t\t\tmce := m.(*ir.ConvExpr)\n \t\t\t// Note: x's argument is still typed as a type parameter.\n \t\t\t// m's argument now has an instantiated type.\n-\t\t\tif mce.X.Type()....
2022-06-07T01:12:21
vercel/next.js
9e3c1829b0d904910ea1718f02a46888138bb8ea
37b5cea7941f65e6d4bde1ef3f2cba1cf0f2d454
docs: add `not-found` to file conventions page (#55944) Issue: https://github.com/vercel/next.js/issues/53888 Added "not-found.js" information to error.mdx after the `global-error.js`. Please approve. Co-authored-by: Lee Robinson <9113740+leerob@users.noreply.github.com>
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/error.mdx", "patch": "@@ -147,6 +147,10 @@ export default function GlobalError({ error, reset }) {\n > - `global-error.js` replaces the root `layout.js` when active and so **must** define its own `<html>` and `<body>` tags.\n > - While designing er...
2023-09-25T15:06:01
nodejs/node
06deb94714ddb5e18a803c517e9272a8fe657995
938abd9535663d45a8ec88d5fa6acc0af8e8fd13
test: fix flaky test-memory-usage abe6a2e3d1c268f introduced a test that verifies that ArrayBuffer allocations are tracked. However, V8 supports concurrent freeing of such allocations on background threads, meaning that the results may be subject to race conditions sometimes. Disabling concurrent freeing makes the te...
[ { "path": "test/parallel/test-memory-usage.js", "patch": "@@ -19,6 +19,7 @@\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n+// Flags: --no-concurrent-array-buffer-freeing\n 'use strict';\n const common = require('../common');\n ...
2020-02-01T13:27:35
electron/electron
356d0520ae4476cec147f9ee54e04a6764fe062f
a69ee76705fe2b0e036dcced62b8b84432a3bb2e
fix linting error
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -571,7 +571,7 @@ void NativeWindowViews::SetContentSizeConstraints(\n \n void NativeWindowViews::SetResizable(bool resizable) {\n #if defined(OS_WIN)\n- if(has_frame()) {\n+ if (has_frame()) {\n FlipWindowStyle(GetAcceleratedWidget(), resiz...
2016-11-11T09:57:22
golang/go
2a3b467d5f8de04a3493b7ab8cd886e109bd9283
bdab4cf47a47b69caacad6fd7ff6ab27bb22ab1c
cmd/go: make module .zip files group/world readable os.CreateTemp in downloadZip leaves downloaded .zip files readable only by the owner. Make them group/world readable. Fixes #52765 Change-Id: Iace13e4ad813201a533a1a5fc0c6d9b2e5349a42 Reviewed-on: https://go-review.googlesource.com/c/go/+/404854 Reviewed-by: Ian La...
[ { "path": "src/cmd/go/internal/modfetch/fetch.go", "patch": "@@ -242,7 +242,7 @@ func downloadZip(ctx context.Context, mod module.Version, zipfile string) (err e\n \t// contents of the file (by hashing it) before we commit it. Because the file\n \t// is zip-compressed, we need an actual file — or at least a...
2022-05-07T21:10:16
vercel/next.js
ca57258dbd4d5b3aba119088e2c188bf0f4671bc
69439d8583ba8c76cad6db3ba27dc19b1f9371f0
app router: ensure static prefetch renders loading.js (#55950) Should fix the problem surfaced in https://github.com/vercel/next.js/issues/43548#issuecomment-1732416492 The scenario in which this breaks is when we're asking the app renderer to generate a prefetch payload statically. The renderer was not checking if ...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -1119,7 +1119,9 @@ export const renderToHTMLOrFlight: AppPageRender = (\n getDynamicParamFromSegment,\n query\n ),\n- isPrefetch && !Boolean(components.loading)\n+ ...
2023-09-25T12:59:31
rust-lang/rust
938e79fdac508c1cca01743b85cff11ed5f7aab6
03978193a5900c0d4767891eee408a54aaf1915c
fix: `cast-lossless` should not suggest when casting type is from macro input
[ { "path": "clippy_lints/src/casts/cast_lossless.rs", "patch": "@@ -25,6 +25,12 @@ pub(super) fn check(\n return;\n }\n \n+ // If the `as` is from a macro and the casting type is from macro input, whether it is lossless is\n+ // dependent on the input\n+ if expr.span.from_expansion() && ...
2025-07-27T14:11:36
rust-lang/rust
d87b4f2c77add3404f7469ea72f1d7c51e2a29dc
65b6cdb6a6d33987b9d642a4882283c71fbe3957
fix: Reject upvar scrutinees for `loop_match`
[ { "path": "compiler/rustc_mir_build/src/thir/cx/expr.rs", "patch": "@@ -955,21 +955,25 @@ impl<'tcx> ThirBuildCx<'tcx> {\n dcx.emit_fatal(LoopMatchBadRhs { span: block_body_expr.span })\n };\n \n- fn local(expr: &rustc_hir::Expr<'_>) -> Option<h...
2025-07-25T14:07:13
vercel/next.js
69439d8583ba8c76cad6db3ba27dc19b1f9371f0
cae7833af412f7faca79045dabe056a127804f38
Add trailingSlash, basePath, and assetPrefix to Turbopack (#55921) Still some failing tests but it's a start. Adds the env vars used to support trailing slash, base path and asset prefix. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible w...
[ { "path": "packages/next-swc/crates/next-core/src/env.rs", "patch": "@@ -70,6 +70,35 @@ pub async fn env_for_js(\n },\n );\n \n+ map.insert(\n+ \"__NEXT_TRAILING_SLASH\".to_string(),\n+ if next_config.trailing_slash.unwrap_or(false) {\n+ \"true\".to_string()\n+ ...
2023-09-25T12:01:52
golang/go
bdab4cf47a47b69caacad6fd7ff6ab27bb22ab1c
aca37d16a5a5c1d24e374245f0e5b6404379db96
cmd/go, cmd/link: support failure to create _cgo_import.go For a package that uses cgo, the file _cgo_import.go is created to record information required for internal linking: the non-Go dynamic symbols and libraries that the package depends on. Generating this information sometimes fails, because it can require recre...
[ { "path": "src/cmd/cgo/doc.go", "patch": "@@ -753,6 +753,16 @@ presented to cmd/link as part of a larger program, contains:\n \t_go_.o # gc-compiled object for _cgo_gotypes.go, _cgo_import.go, *.cgo1.go\n \t_all.o # gcc-compiled object for _cgo_export.c, *.cgo2.c\n \n+If there is an error gene...
2022-06-22T01:11:32
facebook/react
96b0a0253fa4661378d687d71bf7ffb2a082622f
fad7d58fc9ef8da03acc6f4d1a11a2844f4cd2ce
Use grunt.util.spawn for jsx:* tasks instead of exec. This should prevent "Warning: stdout maxBuffer exceeded" errors. Also piping child process stdout and stderr to the parent process, so you can see more of what's happening during the build process.
[ { "path": "grunt/tasks/jsx.js", "patch": "@@ -1,14 +1,14 @@\n 'use strict';\n \n-var exec = require(\"child_process\").exec;\n-var expand = require(\"grunt\").file.expand;\n+var grunt = require(\"grunt\");\n+var expand = grunt.file.expand;\n+var spawn = grunt.util.spawn;\n \n module.exports = function() {\n...
2013-06-17T17:54:30
rust-lang/rust
71920e265caf363ba3408adc2744c0441ef58472
65b6cdb6a6d33987b9d642a4882283c71fbe3957
fix `Atomic*::as_ptr` wording
[ { "path": "library/core/src/sync/atomic.rs", "patch": "@@ -1245,8 +1245,8 @@ impl AtomicBool {\n /// Returning an `*mut` pointer from a shared reference to this atomic is safe because the\n /// atomic types work with interior mutability. All modifications of an atomic change the value\n /// thro...
2025-07-28T12:41:14
golang/go
aca37d16a5a5c1d24e374245f0e5b6404379db96
111cdb58487f1a3d2bd82be14a90837f31a3e320
cmd/go: avoid indexing modules in GOROOT Scanning GOROOT modules for changes appears to be causing Windows builders to time out in x/tools tests. We may try a per-package index instead, but for now just skip GOROOT modules (as we do for main modules). Fixes #53493. Change-Id: Ic5bb90b4ce173a24fc6564e85fcde96e1f9b975...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -18,7 +18,6 @@ import (\n \t\"io\"\n \t\"io/fs\"\n \t\"log\"\n-\t\"math/rand\"\n \t\"os\"\n \t\"os/exec\"\n \t\"path/filepath\"\n@@ -129,19 +128,6 @@ func TestMain(m *testing.M) {\n \t}\n \tos.Setenv(\"CMDGO_TEST_RUN_MAIN\", \"true\")\n \n-\tif strings.HasPref...
2022-06-22T19:19:54
vercel/next.js
cae7833af412f7faca79045dabe056a127804f38
a63b89b140776336543e70fa12fd532f2c0f0513
Ensure Turbopack passing test list is sorted (#55948) I noticed that running the script to pull in the results wasn't deterministic between test runs, this ensures the list, passing, pending, and errors are all sorted, which makes the diff only include what actually changed between runs. <!-- Thanks for opening ...
[ { "path": "test/build-turbopack-tests-manifest.js", "patch": "@@ -1,5 +1,11 @@\n const fetch = require('node-fetch')\n const fs = require('fs')\n+const prettier = require('prettier')\n+\n+async function format(text) {\n+ const options = await prettier.resolveConfig(__filename)\n+ return prettier.format(te...
2023-09-25T10:59:26
nodejs/node
938abd9535663d45a8ec88d5fa6acc0af8e8fd13
d80c40047bedbf829bc1854a720b40e63bdb76fc
src: use __executable_start for linux hugepages `__executable_start` is provided by GNU's and LLVM's default linker scripts, obviating the need to plug in a custom linker script. The problem with our bespoke linker script is that it works with ld.bfd but not ld.gold and cannot easily be ported because the latter link...
[ { "path": "node.gyp", "patch": "@@ -845,7 +845,8 @@\n ],\n }],\n [ 'OS in \"linux freebsd mac\" and '\n- 'target_arch==\"x64\"', {\n+ 'target_arch==\"x64\" and '\n+ 'node_target_type==\"executable\"', {\n 'defines': [ 'NODE_ENABLE_LARGE_CODE_PAG...
2020-01-28T10:01:32
golang/go
111cdb58487f1a3d2bd82be14a90837f31a3e320
4045b1bc3f97a47274ef1da2bf6d29f5ce1c7b88
all: update to current golang.org/x/sys revision go get -d golang.org/x/sys@6c1b26c55098eae66ce95ab7c3712ab6cbfff2b7 go mod tidy go mod vendor This fixes the problem of the second return value in syscall on linux/loong64. Change-Id: I8018ae96f4e5ca9779b2c053cdccc6b2866bf0de Reviewed-on: https://go-review.googlesourc...
[ { "path": "src/cmd/go.mod", "patch": "@@ -7,7 +7,7 @@ require (\n \tgolang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15\n \tgolang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4\n \tgolang.org/x/sync v0.0.0-20220513210516-0976fa681c29\n-\tgolang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a\n+\tgolang.o...
2022-06-15T11:07:24
vercel/next.js
a63b89b140776336543e70fa12fd532f2c0f0513
adcf6e66141605b7c13c75b2720b6a40e3547d20
Loose types of app routes return value (#55849) ### What #51394 introduced a pretty strict type of return value of route type that causing failure with `next build`. There're few ways of writing a app route, it could contain few return values based on the usage: * return a `Response` or promise of it * retur...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin/index.ts", "patch": "@@ -107,11 +107,17 @@ if ('${method}' in entry) {\n '${method}'\n >\n >()\n+ ${\n+ ''\n+ // Adding void to support never return type without explicit return:\n+ // e.g. notFound() will interrupt t...
2023-09-25T09:34:21
nodejs/node
d80c40047bedbf829bc1854a720b40e63bdb76fc
0fe810168bef2a53e5ff6b2f7832e372f850e5f3
doc: fix numbering PR-URL: https://github.com/nodejs/node/pull/31575 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By...
[ { "path": "doc/api/modules.md", "patch": "@@ -162,7 +162,7 @@ require(X) from module at path Y\n c. THROW \"not found\"\n 4. LOAD_SELF_REFERENCE(X, dirname(Y))\n 5. LOAD_NODE_MODULES(X, dirname(Y))\n-7. THROW \"not found\"\n+6. THROW \"not found\"\n \n LOAD_AS_FILE(X)\n 1. If X is a file, load X as JavaS...
2020-01-30T03:17:35
rust-lang/rust
6c7dc05f7d1f000cdb7de2390c8532545129e32d
2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5
Fix tests/codegen-llvm/simd/extract-insert-dyn.rs test failure on riscv64
[ { "path": "tests/codegen-llvm/simd/extract-insert-dyn.rs", "patch": "@@ -5,7 +5,8 @@\n repr_simd,\n arm_target_feature,\n mips_target_feature,\n- s390x_target_feature\n+ s390x_target_feature,\n+ riscv_target_feature\n )]\n #![no_std]\n #![crate_type = \"lib\"]\n@@ -25,97 +26,105 @@ pub ...
2025-07-28T11:58:38
electron/electron
c04a0381dc7703b8554f7f8839ff49d6c65873c3
7b463297c6bcfc59091e808204c65827557dc6b4
Modify the error terms There is an error in the translation of the last sentence.It may make reader confuse.
[ { "path": "docs-translations/zh-CN/api/tray.md", "patch": "@@ -1,6 +1,6 @@\n # Tray\n \n-用一个 `Tray` 来表示一个图标,这个图标处于正在运行的系统的通知区 ,通常被添加到一个 context menu 上.\n+> 通过 `Tray` 向系统的通知区添加一个带有右键菜单的图标.\n \n ```javascript\n const electron = require('electron')\n@@ -202,4 +202,4 @@ Emitted when a drag operation exits the t...
2016-11-10T06:42:41
facebook/react
279792f891cee4d2e5685bc6cb4dee6498a3c9b0
06cff60bc1eec13ff804af9f74b3b2b37b5490b3
Fix `EventPluginRegistry` Unit Tests Dumping the mock cache isn't dirying the modules, so we have to unit test a different way. If we can fix our unit test framework, we should revert this. Also, I added strict mode to `EventPluginRegistry.js`.
[ { "path": "src/event/EventPluginRegistry.js", "patch": "@@ -3,6 +3,8 @@\n * @typechecks\n */\n \n+\"use strict\";\n+\n var invariant = require('invariant');\n \n /**\n@@ -200,6 +202,27 @@ var EventPluginRegistry = {\n }\n }\n return null;\n+ },\n+\n+ /**\n+ * Exposed for unit testing.\n+...
2013-06-14T03:27:50
vercel/next.js
adcf6e66141605b7c13c75b2720b6a40e3547d20
0b74f518821ea1d23f97103e142cf2905de680b3
Add experimental.strictNextHead to Turbopack (#55915) This option only has a process.env replacement. Ensures `test/development/client-navigation` can run for Turbopack. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that yo...
[ { "path": "packages/next-swc/crates/next-core/src/env.rs", "patch": "@@ -61,6 +61,15 @@ pub async fn env_for_js(\n map.insert(\"__NEXT_STRICT_MODE_APP\".to_string(), \"true\".to_string());\n }\n \n+ map.insert(\n+ \"__NEXT_STRICT_NEXT_HEAD\".to_string(),\n+ if next_config.experi...
2023-09-25T07:26:14
golang/go
4045b1bc3f97a47274ef1da2bf6d29f5ce1c7b88
6bad7e82430bb1eb927a2901f44f9664637db27d
cmd/compile: fix assert condition in generic method call Fixes #53406. Change-Id: If7ae39ec1042a792d82a0a2de96d168c22d8ab71 Reviewed-on: https://go-review.googlesource.com/c/go/+/412614 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gopher Robot <gobo...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -208,9 +208,15 @@ func (g *genInst) scanForGenCalls(decl ir.Node) {\n \n \t\t\tst := g.getInstantiation(gf, targs, true).fun\n \t\t\tdictValue, usingSubdict := g.getDictOrSubdict(declInfo, n, gf, targs, true)\n-\t\t\t// We have to be using ...
2022-06-16T03:05:39
nodejs/node
22724894c99845755dfdafc2a87236fc311343f1
ab9e89439e8f8699efe6c7786d5a3ba9be2a16a6
doc: list largepage values in --help This commit adds the supported --use-largepages values to the --help menu. PR-URL: https://github.com/nodejs/node/pull/31537 Fixes: https://github.com/nodejs/node/issues/31533 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewe...
[ { "path": "src/node_options.cc", "patch": "@@ -754,7 +754,10 @@ PerProcessOptionsParser::PerProcessOptionsParser(\n #endif\n #endif\n AddOption(\"--use-largepages\",\n- \"Map the Node.js static code to large pages\",\n+ \"Map the Node.js static code to large pages. Options are \"\n+ ...
2020-01-27T15:07:46
facebook/react
792b69ba111f4b976fa298a902a1f049f127d954
06cff60bc1eec13ff804af9f74b3b2b37b5490b3
Fix textchange event enqueueing (Was broken by e1535fbd71d8c89c82cd9d9073c1ee97ee6a3b00.)
[ { "path": "src/eventPlugins/TextChangeEventPlugin.js", "patch": "@@ -140,8 +140,8 @@ var handlePropertyChange = function(nativeEvent) {\n // events and have it go through ReactEventTopLevelCallback. Since it\n // doesn't, we manually listen for the propertychange event and so we\n // have ...
2013-06-14T03:34:14
electron/electron
5cebe6531097fbf5c82aa4a1f13d0efd1f742c82
7b463297c6bcfc59091e808204c65827557dc6b4
Modify some translation errors
[ { "path": "docs-translations/zh-CN/api/download-item.md", "patch": "@@ -37,7 +37,7 @@ win.webContents.session.on('will-download', (event, item, webContents) => {\n \n ### 事件: 'updated'\n \n-当`downloadItem`获得更新时发射。\n+当`downloadItem`获得更新时触发。\n \n ### 事件: 'done'\n \n@@ -47,7 +47,7 @@ win.webContents.session.on...
2016-11-10T03:13:54
golang/go
6bad7e82430bb1eb927a2901f44f9664637db27d
606c6c371ad3d089d59d15393f7c49b063fc0eca
compress/gzip: always close bodyReader in Example_compressingReader For #53362 Fixes #53414 Change-Id: I352164e70c136eed210c7ee4ceba5dc631f81f94 Reviewed-on: https://go-review.googlesource.com/c/go/+/412955 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Joseph Tsai <joetsai@digital-static.net> Reviewed-...
[ { "path": "src/compress/gzip/example_test.go", "patch": "@@ -160,6 +160,10 @@ func Example_compressingReader() {\n \t// httpWriter is the body of the HTTP request, as an io.Writer.\n \tbodyReader, httpWriter := io.Pipe()\n \n+\t// Make sure that bodyReader is always closed, so that the\n+\t// goroutine belo...
2022-06-17T20:38:07
rust-lang/rust
68f08c5dd9f5bee706a221df13660cc9b3a71c93
9982d6462bedf1e793f7b2dbd655a4e57cdf67d4
Add `core::mem::DropGuard` Fix CI for drop_guard fix CI fix all tidy lints fix tidy link add first batch of feedback from review Add second batch of feedback from review add third batch of feedback from review fix failing test Update library/core/src/mem/drop_guard.rs Co-authored-by: Ruby Lazuli <general@patc...
[ { "path": "library/core/src/mem/drop_guard.rs", "patch": "@@ -0,0 +1,155 @@\n+use crate::fmt::{self, Debug};\n+use crate::mem::ManuallyDrop;\n+use crate::ops::{Deref, DerefMut};\n+\n+/// Wrap a value and run a closure when dropped.\n+///\n+/// This is useful for quickly creating desructors inline.\n+///\n+/...
2025-07-21T01:04:17
nodejs/node
d10927b687858224558dbe0f10f5c57b4139ad96
023ecbccc8b1e492234e769894fde2967d4a5677
build: ignore all the "Debug","Release" folders Since there're still many "Debug" and "Release" folders in "deps" and "tools", to make it more strict and totally ignore the generated obj files, ignore all the files/folders under them. Refs: https://github.com/nodejs/node/pull/27210 PR-URL: https://github.com/nodejs/...
[ { "path": ".gitignore", "patch": "@@ -47,8 +47,8 @@\n /config_fips.gypi\n \n # === Rules for MSVS artifacts ===\n-/Debug\n-/Release\n+Debug/\n+Release/\n *.sln\n *.suo\n *.vcxproj*", "additions": 2, "deletions": 2, "language": "Unknown" } ]
2020-01-29T12:01:09
facebook/react
34970fd7853a26e72179e5c97ea28143d00297bc
ceb530358120cd6f4f1d48a450e0855a66bf6301
Fix tht typos
[ { "path": "src/core/ReactMount.js", "patch": "@@ -86,8 +86,8 @@ var ReactMount = {\n },\n \n /**\n- * Ensures tht the top-level event delegation listener is set up. This will be\n- * invoked some time before the first time any React component is rendered.\n+ * Ensures that the top-level event dele...
2013-06-14T00:36:02
vercel/next.js
ea148f3581ee9a8a0575b4266f740e0c34387e7f
3b8bbe197fcf4059f715bb3d2666f0a018878e84
Move client-navigation test to test/development (#55888) Moves the client-navigation test suite to be isolated as part of test/development. Tried to make the minimal amount of changes neccesary to ensure the tests pass first before using the newer `NextInstance` methods. <!-- Thanks for opening a PR! Your contri...
[ { "path": "test/development/pages-dir/client-navigation/index.test.ts", "patch": "@@ -0,0 +1,1810 @@\n+/* eslint-env jest */\n+\n+import {\n+ fetchViaHTTP,\n+ getRedboxSource,\n+ hasRedbox,\n+ getRedboxHeader,\n+ renderViaHTTP,\n+ waitFor,\n+ check,\n+} from 'next-test-utils'\n+import webdriver from ...
2023-09-24T09:38:53
electron/electron
ab5a49b6ae2f9b3b9cd26332c692c8b73f4f8460
7b463297c6bcfc59091e808204c65827557dc6b4
fix some translation problems update translation.
[ { "path": "docs-translations/zh-CN/api/remote.md", "patch": "@@ -34,7 +34,7 @@ win.loadURL('https://github.com')\n Electron 确保在渲染进程中的远程对象存在(换句话说,没有被垃圾收集),那主进程中的对应对象也不会被释放。\n 当远程对象被垃圾收集之后,主进程中的对应对象才会被取消关联。\n \n-如果远程对象在渲染进程泄露了(即,存在某个表中但永远不会释放),那么主进程中的对应对象也一样会泄露,\n+如果远程对象在渲染进程泄露了(例如,存在某个表中但永远不会释放),那么主进程中的对应对象也...
2016-11-10T02:29:43
golang/go
606c6c371ad3d089d59d15393f7c49b063fc0eca
f5715181392c68d928c3152f8cf90fa9d4ee9e4e
encoding/xml: check nil pointer in DecodeElement Fixes #53350 Change-Id: Id5e1f4016db5f1d4349ee1a76a9dfe3aeae83cee GitHub-Last-Rev: 45add121612a8144c2525828bd7386c4adb05174 GitHub-Pull-Request: golang/go#53407 Reviewed-on: https://go-review.googlesource.com/c/go/+/412634 Auto-Submit: Ian Lance Taylor <iant@google.com...
[ { "path": "src/encoding/xml/read.go", "patch": "@@ -148,6 +148,10 @@ func (d *Decoder) DecodeElement(v any, start *StartElement) error {\n \tif val.Kind() != reflect.Pointer {\n \t\treturn errors.New(\"non-pointer passed to Unmarshal\")\n \t}\n+\n+\tif val.IsNil() {\n+\t\treturn errors.New(\"nil pointer pas...
2022-06-17T05:01:26
rust-lang/rust
c340233769438df7299624b2d0de791995245518
d242a8bd5a73f633ba1ec5aacf19acf35a3c747d
fixed typo chunks->as_chunks
[ { "path": "library/core/src/slice/mod.rs", "patch": "@@ -1232,7 +1232,7 @@ impl<T> [T] {\n ///\n /// [`chunks`]: slice::chunks\n /// [`rchunks_exact`]: slice::rchunks_exact\n- /// [`as_chunks`]: slice::chunks\n+ /// [`as_chunks`]: slice::as_chunks\n #[stable(feature = \"chunks_exact\",...
2025-07-28T09:35:36
nodejs/node
023ecbccc8b1e492234e769894fde2967d4a5677
be6596352b2a1b8648dc266b5be81b6a1be180d6
src: remove preview for heap dump utilities At least `createHeapSnapshotStream()` and `triggerHeapSnapshot()` do have side effects, and more importantly, they should not be run transparently. Without this, typing e.g. `v8.getHeapSnapshot()` into the REPL will result in a crash or infinite loop while the REPL evaluates...
[ { "path": "src/heap_utils.cc", "patch": "@@ -385,15 +385,9 @@ void Initialize(Local<Object> target,\n void* priv) {\n Environment* env = Environment::GetCurrent(context);\n \n- env->SetMethodNoSideEffect(target,\n- \"buildEmbedderGraph\",\n- ...
2020-01-29T17:42:26
facebook/react
01511ea5575d5fb8c2b0af9d4652f5b20a1d62de
802241a66016b23024f530affec3bc8ccda16402
Remove Unnecessary DOM Mutations This fixes an edge case that can cause unnecessary mutations in the DOM. Namely, if a prop is falsey, it will get touched on every update by reconciliation. See unit test.
[ { "path": "src/core/ReactNativeComponent.js", "patch": "@@ -208,25 +208,23 @@ ReactNativeComponent.Mixin = {\n _updateDOMProperties: function(nextProps) {\n var lastProps = this.props;\n var propKey;\n- var nextProp;\n- var lastProp;\n var styleName;\n var styleUpdates;\n for (pr...
2013-06-13T23:33:22
vercel/next.js
3b8bbe197fcf4059f715bb3d2666f0a018878e84
814db26c9cb09ebdd97c9b63fb4e1b220290e326
Fix missing async keyword in function declaration (#55887) Just a one word change to fix the example in https://nextjs.org/docs/app/api-reference/file-conventions/metadata/opengraph-image#generate-images-using-code-js-ts-tsx
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx", "patch": "@@ -162,7 +162,7 @@ export const size = {\n export const contentType = 'image/png'\n \n // Image generation\n-export default function Image() {\n+export default async function Image() {\n // Font\n co...
2023-09-24T01:54:38
electron/electron
a69ee76705fe2b0e036dcced62b8b84432a3bb2e
0e9d973715fff77998bc5d0770e638fe7bb92dcf
fix review comments
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -571,8 +571,9 @@ void NativeWindowViews::SetContentSizeConstraints(\n \n void NativeWindowViews::SetResizable(bool resizable) {\n #if defined(OS_WIN)\n- FlipWindowStyle(GetAcceleratedWidget(), resizable, WS_THICKFRAME);\n- thick_frame_ = resiza...
2016-11-08T07:36:37
golang/go
f5715181392c68d928c3152f8cf90fa9d4ee9e4e
92c9b81447649d5a8ed38ca79b71640c099e0243
cmd/cgo: dont override declared struct type Fixes #52611 Change-Id: I835df8d6a98a37482446ec00af768c96fd8ee4fe GitHub-Last-Rev: ea54dd69eef90eaf1641889039344fff70158ece GitHub-Pull-Request: golang/go#52733 Reviewed-on: https://go-review.googlesource.com/c/go/+/404497 Run-TryBot: Ian Lance Taylor <iant@golang.org> Revi...
[ { "path": "misc/cgo/test/testdata/issue52611.go", "patch": "@@ -0,0 +1,13 @@\n+// Copyright 2022 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+// Issue 52611: inconsistent compiler behaviour when compilin...
2022-05-11T02:27:21
facebook/react
e1535fbd71d8c89c82cd9d9073c1ee97ee6a3b00
aea8e16b4a32d179e70089edde6f1892968cf2b8
Create `EventPluginRegistry` The `EventPluginHub` module was getting huge and scary. This pulls out all of the logic required to inject plugins and publish their event registration names into a new `EventPluginRegistry` module. Functionally, nothing should have changed. I added many error checks to cover edge cases t...
[ { "path": "src/core/ReactEventEmitter.js", "patch": "@@ -31,26 +31,17 @@ var isEventSupported = require('isEventSupported');\n /**\n * Summary of `ReactEventEmitter` event handling:\n *\n- * - We trap low level 'top-level' events.\n+ * - Top-level delegation is used to trap native browser events. We nor...
2013-06-13T23:33:10
nodejs/node
dd4c62eabe1f5cf982137d9d826aac162a611d26
abe6a2e3d1c268f5bebbf05864f2588c6f4858b5
doc: clarify that `v8.serialize()` is not deterministic Fixes: https://github.com/nodejs/help/issues/2448 PR-URL: https://github.com/nodejs/node/pull/31548 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@...
[ { "path": "doc/api/v8.md", "patch": "@@ -268,7 +268,9 @@ if (isMainThread) {\n \n The serialization API provides means of serializing JavaScript values in a way\n that is compatible with the [HTML structured clone algorithm][].\n+\n The format is backward-compatible (i.e. safe to store to disk).\n+Equal Jav...
2020-01-28T12:59:25
vercel/next.js
814db26c9cb09ebdd97c9b63fb4e1b220290e326
951af1d9fc4d97c7e06c9cf4f3fdba91981144fc
Revert "fix typo in API Reference - Image Component" (#55889) Currently the image props section is broken: https://nextjs.org/docs/pages/api-reference/components/image Reverts vercel/next.js#55776 fixes: [#55869](https://github.com/vercel/next.js/issues/55869)
[ { "path": "docs/02-app/02-api-reference/01-components/image.mdx", "patch": "@@ -40,24 +40,24 @@ export default function Page() {\n Here's a summary of the props available for the Image Component:\n \n <div style={{ overflowX: 'auto', width: '100%' }}>\n- | Prop | Example | Type | Required | |\n- ---------...
2023-09-23T22:30:26
golang/go
92c9b81447649d5a8ed38ca79b71640c099e0243
be0b2a393a5a7297a3c8f42ca7d5ad3e4b15dcbe
net: don't set netGo = true on Windows with no cgo Windows can call the C DNS lookup routines even without cgo, so don't force it to use the Go routines in that scenario. No test because the test requires building the tools with CGO_ENABLED=0. For #33097 Fixes #53490 Change-Id: I3595a68e788be0d3bbd1bbd431836aca20a7...
[ { "path": "src/net/cgo_stub.go", "patch": "@@ -8,8 +8,6 @@ package net\n \n import \"context\"\n \n-func init() { netGo = true }\n-\n type addrinfoErrno int\n \n func (eai addrinfoErrno) Error() string { return \"<nil>\" }", "additions": 0, "deletions": 2, "language": "Go" }, { "path":...
2022-06-21T22:17:22
nodejs/node
d227d22bd9653f201e182efb76f2a5fe6a93f955
5cf789e5547bef7dbbd18de623da17c43386ab25
src: fix minor typo in base_object.h PR-URL: https://github.com/nodejs/node/pull/31535 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "src/base_object.h", "patch": "@@ -165,7 +165,7 @@ inline T* Unwrap(v8::Local<v8::Object> obj) {\n \n // Implementation of a generic strong or weak pointer to a BaseObject.\n // If strong, this will keep the target BaseObject alive regardless of other\n-// circumstances such das GC or Environment ...
2020-01-27T14:01:25
vercel/next.js
19f2fe45ad9b642fbf05079c89f1cc174a533e2e
ec671bb5f55f84405604934f13fa0161e27def98
Ensure opentelemetry mismatched version error bubbles (#55868) Noticed that the error happens to be caught accidentally and doesn't bubble up because of that.
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -536,6 +536,31 @@ export async function loadProjectInfo({\n }\n }\n \n+function getOpenTelemetryVersion(): string | null {\n+ try {\n+ return require('@opentelemetry/api/package.json')?.version ?? null\n+ } catch {\n+ return null\...
2023-09-23T15:12:31
electron/electron
9f18a6e65c23f6440fc83c87ea2965d903bbaf6e
857e1da6a3a48a4fa4b9ba4c30b99f80b94bdbc8
Use ES6 template strings, fix docs and remove _ERROR_ IPC event
[ { "path": "docs/api/web-contents.md", "patch": "@@ -621,7 +621,7 @@ Injects CSS into the current web page.\n * `result` Any\n \n Returns `Promise` - A promise that resolves with the result of the executed code\n-or is rejected if the result of the code is a rejected promise\n+or is rejected if the result ...
2016-10-24T07:19:45
facebook/react
5b723348526464bd806d9d1d0d8e190b7a995f60
0e6fca4a383cd27c29a51ceb5875de6a82e4a6c3
Fixed width/height on React logo
[ { "path": "docs/_layouts/default.html", "patch": "@@ -35,7 +35,7 @@\n <div class=\"nav-main\">\n <div class=\"wrap\">\n <a class=\"nav-home\" href=\"/react/index.html\">\n- <img class=\"nav-logo\" alt=\"\" src=\"/react/img/logo_small.png\">\n+ <img class=\"nav-logo\" alt=...
2013-06-12T19:33:38
golang/go
b004c739b525d354ea62f5caadd962de4569d96e
f2c7e78592973436a55cdfc4bca2fc3bce526cad
go/types, types2: fix parameter order dependence in type inference If we have more than two function arguments to a generic function, we may have arguments with named and unnamed types. If that is the case, permutate params and args such that the arguments with named types are first in the list. This way, independent ...
[ { "path": "src/cmd/compile/internal/types2/infer.go", "patch": "@@ -128,11 +128,8 @@ func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type,\n \t// named and unnamed types are passed to parameters with identical type, different types\n \t// (named vs underlying) may be inferred depen...
2022-06-21T22:56:16
nodejs/node
5cf789e5547bef7dbbd18de623da17c43386ab25
d65e6a50176e4847738a77c3579fe52c2735fd8b
test,benchmark: fix test-benchmark-zlib PR-URL: https://github.com/nodejs/node/pull/31538 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "benchmark/zlib/deflate.js", "patch": "@@ -9,6 +9,8 @@ const bench = common.createBenchmark(main, {\n });\n \n function main({ n, method, inputLen }) {\n+ // Default method value for testing.\n+ method = method || 'deflate';\n const chunk = Buffer.alloc(inputLen, 'a');\n \n var i = 0;", ...
2020-01-27T15:32:47
vercel/next.js
c2e0213fa57ba489316f27745648637378a34f14
d5db4d366c3a5741f9fad2b05ef1b9e6b35bf2f0
fix bugs pertaining to server actions + navigation (#55853) This fixes some scenarios where executing a server action after navigation can cause the action to behave incorrectly (double submitting, not resolving). There are two separate issues: - `canonicalUrl` and `pendingNavigatePath` were not constructed using the...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -186,7 +186,7 @@ function useNavigate(dispatch: React.Dispatch<ReducerActions>): RouterNavigate {\n return useCallback(\n (href, navigateType, forceOptimisticNavigation, shouldScroll) => {\n const url = new URL(addBaseP...
2023-09-23T01:42:39
facebook/react
fdc6beed1a3aab063752a395a42432251b3443fe
731aa8ead11d2e8d787585a7d3aaaffa830d0a81
Fix nit and comment
[ { "path": "src/core/ReactNativeComponent.js", "patch": "@@ -253,14 +253,12 @@ ReactNativeComponent.Mixin = {\n if (nextProp) {\n nextProp = nextProps.style = merge(nextProp);\n }\n- if (lastProp) {\n- for (styleName in lastProp) {\n- if (lastProp.hasOwnPr...
2013-06-12T02:53:24
golang/go
f2c7e78592973436a55cdfc4bca2fc3bce526cad
ab422f2749bc21514cb22d444bae460f5fa22376
spec: document operations which accept []byte|string constrained types Pre-1.18, as special cases, the built-in operations append and copy accepted strings as second arguments if the first argument was a byte slice. With Go 1.18, these two built-ins as well as slice expressions rely on the notion of core types in thei...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Version of June 14, 2022\",\n+\t\"Subtitle\": \"Version of June 21, 2022\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1811,6 +1811,31 @@ <h3 id=\"Core_types\">Co...
2022-06-15T01:30:44
electron/electron
857e1da6a3a48a4fa4b9ba4c30b99f80b94bdbc8
75b010ce6314c56ec083adfa1a9835e3cfa348ea
Make executeJavaScript return a Promise so that caught errors can be sent to the caller
[ { "path": "docs/api/web-contents.md", "patch": "@@ -620,12 +620,26 @@ Injects CSS into the current web page.\n * `callback` Function (optional) - Called after script has been executed.\n * `result` Any\n \n+Returns `Promise` - A promise that resolves with the result of the executed code\n+or is rejected i...
2016-10-11T05:47:09
nodejs/node
d65e6a50176e4847738a77c3579fe52c2735fd8b
24e81d7c5ae785a015ac56ad75fe83120a998a3a
doc: change error message testing policy Dynamic error messages often contain important information that depends on the context, e.g., which argument caused an ERR_INVALID_ARG_TYPE, which type was expected, and which type was received. I don't think that internal breakage when changing a dynamic error message should p...
[ { "path": "doc/guides/using-internal-errors.md", "patch": "@@ -111,8 +111,8 @@ assert.strictEqual(\n ```\n \n In addition, there should also be tests which validate the use of the\n-error based on where it is used in the codebase. For these tests, except in\n-special cases, they should only validate that t...
2020-01-20T15:41:45
vercel/next.js
8f7d24fab72044628db189b54cff85ff97a9a914
5f4238d9fa40ab840341a8b75a75310a959b3ced
Ensure next-swc-loader types are used (#55846) Uses satisfies to check the next-swc-loader options passed. Found a few mismatches and implicit default, made sure they match up the same default values but set explicitly. This will need a thorough double-check. <!-- Thanks for opening a PR! Your contribution is...
[ { "path": "packages/next/src/build/swc/options.ts", "patch": "@@ -5,7 +5,7 @@ import type {\n StyledComponentsConfig,\n } from '../../server/config-shared'\n \n-type BundleType = 'client' | 'server' | 'default'\n+export type BundleType = 'client' | 'server' | 'default'\n \n const nextDistPath =\n /(next...
2023-09-22T21:23:08
facebook/react
735a91c9d5cc70a942491a078791f51c44d8db93
705ce56694823fcfdc5075e6a0e5f1350725c1fd
Fix relative require copy pasta
[ { "path": "src/dom/CSSPropertyOperations.js", "patch": "@@ -21,10 +21,10 @@\n \n var CSSProperty = require('CSSProperty');\n \n-var dangerousStyleValue = require('./dangerousStyleValue');\n-var escapeTextForBrowser = require('./escapeTextForBrowser');\n-var hyphenate = require('./hyphenate');\n-var memoizeS...
2013-06-12T00:23:55
golang/go
ab422f2749bc21514cb22d444bae460f5fa22376
66685fb7dd72531aed6f1b3f4de43799bb26c052
runtime/trace: ignore fallback stacks in test When runtime.sigprof encounters a stack that gentraceback is unable to process, it synthesizes a call stack with a sentinel function (such as runtime._System) at the leaf. The test to confirm that runtime/trace and runtime/pprof have similar views of CPU profile samples h...
[ { "path": "src/runtime/trace/trace_test.go", "patch": "@@ -634,15 +634,29 @@ func TestTraceCPUProfile(t *testing.T) {\n \tpprofStacks := make(map[string]int)\n \tfor _, s := range prof.Sample {\n \t\tif s.Label[\"tracing\"] != nil {\n-\t\t\tsamples := int(s.Value[0])\n-\t\t\tpprofSamples += samples\n \t\t\t...
2022-06-21T19:28:48
rust-lang/rust
b707493721a06acaba2cb0e0c59f6855f799293f
66445e7975a5f11324e61e2ebbfdbdfa2015be02
reword to avoid using a term used in a confusing manner, "error annotations"
[ { "path": "src/doc/rustc-dev-guide/src/tests/ui.md", "patch": "@@ -309,8 +309,9 @@ fn main((ؼ\n \n Use `//~?` to match an error without line information.\n `//~?` is precise and will not match errors if their line information is available.\n-For tests wishing to match against compiler diagnostics, error ann...
2025-07-28T07:09:41