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
fa2d41d0ca736f3ad6b200b2a4e134364e9acc59
6fa37e98ea4382bf881428ee0c150ce591500eb7
io/fs: 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 a similar issue in path/filepath. Fixes CVE-2022-30630 Fixes golang/go#53415 Change-Id: I5a9d02591fed90cd3d52627f5...
[ { "path": "src/io/fs/glob.go", "patch": "@@ -31,6 +31,16 @@ type GlobFS interface {\n // Otherwise, Glob uses ReadDir to traverse the directory tree\n // and look for matches for the pattern.\n func Glob(fsys FS, pattern string) (matches []string, err error) {\n+\treturn globWithLimit(fsys, pattern, 0)\n+}\...
2022-06-23T23:17:53
nodejs/node
e6c2277241e542cdf86475d71c5fdc581bd72025
822101f570478ffa15e4ed0e00cd0d67b9cc789e
vm: lazily initialize primordials for vm contexts Lazily initialize primordials when cross-context support for builtins is needed to fix the performance regression in context creation. PR-URL: https://github.com/nodejs/node/pull/31738 Fixes: https://github.com/nodejs/node/issues/29842 Reviewed-By: Gus Caplan <me@gus....
[ { "path": "src/api/environment.cc", "patch": "@@ -405,7 +405,8 @@ MaybeLocal<Object> GetPerContextExports(Local<Context> context) {\n return handle_scope.Escape(existing_value.As<Object>());\n \n Local<Object> exports = Object::New(isolate);\n- if (context->Global()->SetPrivate(context, key, exports)...
2020-02-11T14:49:24
facebook/react
cb00d3e66c7e701d894199b0c1635579f52818ec
987e5e8f13ed4069d449ffdf78282e24fc5ce3b7
Upgrade phantomjs to 1.9.1-4 This fixes the install and permissions issues we've been seeing with other 1.9.1-x versions.
[ { "path": "package.json", "patch": "@@ -50,7 +50,7 @@\n \"grunt-contrib-copy\": \"~0.4.1\",\n \"grunt-contrib-jshint\": \"~0.6.0\",\n \"optimist\": \"~0.4.0\",\n- \"phantomjs\": \"1.9.0-1\",\n+ \"phantomjs\": \"~1.9.1-4\",\n \"semver\": \"~2.0.0\",\n \"uglify-js\": \"~2.3.6\",\n ...
2013-08-13T22:35:52
vercel/next.js
59bda2d818bde7ff7dcea1aa46b28cbe046800f4
ecd94c1a4d9f8ca32ac7f8bfac7f22658df70855
More Turbopack fixes (#56299) Skips additional production-only tests. Follow-up to #56089. In this PR I went through all of `test/integration` looking for `nextBuild(` and added the skipping logic.
[ { "path": "test/integration/500-page/test/gsp-gssp.test.js", "patch": "@@ -22,217 +22,222 @@ const gip500Err =\n let appPort\n let app\n \n-it('does not show error with getStaticProps in pages/500 build', async () => {\n- await fs.move(pages500, `${pages500}.bak`)\n- await fs.writeFile(\n- pages500,\n-...
2023-10-02T13:55:23
golang/go
6fa37e98ea4382bf881428ee0c150ce591500eb7
695be961d57508da5a82217f7415200a11845879
encoding/gob: add a depth limit for ignored fields Enforce a nesting limit of 10,000 for ignored fields during decoding of messages. This prevents the possibility of triggering stack exhaustion. Fixes #53615 Fixes CVE-2022-30635 Change-Id: I05103d06dd5ca3945fcba3c1f5d3b5a645e8fb0f Reviewed-on: https://team-review.gi...
[ { "path": "src/encoding/gob/decode.go", "patch": "@@ -871,8 +871,13 @@ func (dec *Decoder) decOpFor(wireId typeId, rt reflect.Type, name string, inProg\n \treturn &op\n }\n \n+var maxIgnoreNestingDepth = 10000\n+\n // decIgnoreOpFor returns the decoding op for a field that has no destination.\n-func (dec *D...
2022-06-07T20:00:43
electron/electron
921b4749198af7feeb2f19d1842af9d48f5ec4f0
06960704c41914801cefaad0ee223c80bdf2ad12
Fixup app and bw docs
[ { "path": "docs/api/app.md", "patch": "@@ -845,7 +845,7 @@ When `informational` is passed, the dock icon will bounce for one second.\n However, the request remains active until either the application becomes active\n or the request is canceled.\n \n-Returns an ID representing the request.\n+Return `Integer`...
2016-11-25T12:21:25
rust-lang/rust
bee5fbf36e9cbb7f3317ce6a71b3574dc007dee5
227abb70ab2e3d10f05fe933d3c77ecbb04eb9a9
Fix CI build failure when using new libtest public constant
[ { "path": "src/librustdoc/doctest.rs", "patch": "@@ -409,8 +409,9 @@ pub(crate) fn run_tests(\n // We ensure temp dir destructor is called.\n std::mem::drop(temp_dir);\n times.display_times();\n- // libtest::ERROR_EXIT_CODE is not public but it's the same value.\n- std:...
2025-07-22T11:31:12
nodejs/node
7c524fb092b143470795c8ca869de4654c728fe1
31290824de068eb4b282ab74829450b988ae225b
doc: fix Writable.write callback description Clarifies a userland invariant until a better solution can be found. Also moves a misplaced sentence from _write to write. Refs: https://github.com/nodejs/node/pull/31756 Refs: https://github.com/nodejs/node/pull/31765 PR-URL: https://github.com/nodejs/node/pull/31812 Re...
[ { "path": "doc/api/stream.md", "patch": "@@ -585,8 +585,8 @@ The `writable.write()` method writes some data to the stream, and calls the\n supplied `callback` once the data has been fully handled. If an error\n occurs, the `callback` *may or may not* be called with the error as its\n first argument. To reli...
2020-02-15T13:13:29
facebook/react
d542621155fff0ef5d59a4e5bb373ff7e7754d3b
4bbf8acc9b731b32ba0159da2b7678db5c9f50ac
Fix 404 in Getting Started
[ { "path": "docs/docs/getting-started.md", "patch": "@@ -44,7 +44,7 @@ In the root directory of the starter kit, create a `helloworld.html` with the fo\n </html>\n ```\n \n-The XML syntax inside of JavaScript is called JSX; check out the [JSX syntax](syntax.html) to learn more about it. In order to translate...
2013-08-05T04:09:15
golang/go
695be961d57508da5a82217f7415200a11845879
08c46ed43d80bbb67cb904944ea3417989be4af3
go/parser: limit recursion depth Limit nested parsing to 100,000, which prevents stack exhaustion when parsing deeply nested statements, types, and expressions. Also limit the scope depth to 1,000 during object resolution. Thanks to Juho Nurminen of Mattermost for reporting this issue. Fixes #53616 Fixes CVE-2022-19...
[ { "path": "src/go/parser/interface.go", "patch": "@@ -94,8 +94,11 @@ func ParseFile(fset *token.FileSet, filename string, src any, mode Mode) (f *ast\n \tdefer func() {\n \t\tif e := recover(); e != nil {\n \t\t\t// resume same panic if it's not a bailout\n-\t\t\tif _, ok := e.(bailout); !ok {\n+\t\t\tbail,...
2022-06-15T17:43:05
vercel/next.js
ecd94c1a4d9f8ca32ac7f8bfac7f22658df70855
033e8a5c871b22b46e6b93945fe2b9752f2357a7
misc: enable source maps for bundled runtime (#56289) This PR enables the generation of source maps for the bundled runtimes. This is fast enough that we can just use the optimal source map option directly. This is useful if you're having some errors in Next.js itself.
[ { "path": "packages/next/webpack.config.js", "patch": "@@ -134,6 +134,7 @@ module.exports = ({ dev, turbo, bundleType, experimental }) => {\n }.runtime.${dev ? 'dev' : 'prod'}.js`,\n libraryTarget: 'commonjs2',\n },\n+ devtool: 'source-map',\n optimization: {\n moduleIds: 'named...
2023-10-02T10:05:27
electron/electron
f8b738e6c23d2cd30184c31d847b75608dfc2f6c
686a26d948d35bee2474fddf287ad6ebf8aa59b7
Clarifying crash reporter behviour in Mac
[ { "path": "docs/api/crash-reporter.md", "patch": "@@ -47,14 +47,20 @@ 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`\n-APIs.\n-...
2016-11-23T23:36:03
nodejs/node
31290824de068eb4b282ab74829450b988ae225b
43fb664701d771c00595fa1c152cfca03b10a4fd
doc: fix notable changes for v13.9.0 PR-URL: https://github.com/nodejs/node/pull/31857 Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Myles Borins <myles.borins@gmail.com>
[ { "path": "doc/changelogs/CHANGELOG_V13.md", "patch": "@@ -44,14 +44,27 @@\n \n ### Notable changes\n \n-* [[`6be51296e4`](https://github.com/nodejs/node/commit/6be51296e4)] - **(SEMVER-MINOR)** **async_hooks**: add executionAsyncResource (Matteo Collina) [#30959](https://github.com/nodejs/node/pull/30959)\...
2020-02-18T21:13:59
golang/go
08c46ed43d80bbb67cb904944ea3417989be4af3
c4c1993fd2a5b26fe45c09592af6d3388a3b2e08
encoding/xml: use iterative Skip, rather than recursive Prevents exhausting the stack limit in _incredibly_ deeply nested structures. Fixes #53614 Fixes CVE-2022-28131 Change-Id: I47db4595ce10cecc29fbd06afce7b299868599e6 Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1419912 Reviewed-by: ...
[ { "path": "src/encoding/xml/read.go", "patch": "@@ -747,24 +747,25 @@ Loop:\n }\n \n // Skip reads tokens until it has consumed the end element\n-// matching the most recent start element already consumed.\n-// It recurs if it encounters a start element, so it can be used to\n-// skip nested structures.\n+/...
2022-03-29T01:41:26
vercel/next.js
2cf8e6c86354810b37f70691b18db28565c15d66
e043e1f1c6a9f98b5ed84bbb39579b9d5a829c7d
More Turbopack fixes (#56275) Skips additional production-only tests. Follow-up to https://github.com/vercel/next.js/pull/56089 <!-- 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. ...
[ { "path": "test/development/webpack-issuer-deprecation-warning/index.test.ts", "patch": "@@ -2,28 +2,32 @@ import { createNext } from 'e2e-utils'\n import { NextInstance } from 'test/lib/next-modes/base'\n import { renderViaHTTP } from 'next-test-utils'\n \n-describe('webpack-issuer-deprecation-warning', ()...
2023-10-02T07:42:32
facebook/react
a21556314d4437127a3325a0216512d9836113c8
99d3d7f914636ec093b7f04a07252f1776b039ce
Fix Github links in examples Looks like we link to github.com/facebook/react/ instead of react-js. This just fixes the links `grep -r "facebook/react.js" .` comes up clean now
[ { "path": "examples/basic-jsx-precompile/index.html", "patch": "@@ -10,7 +10,7 @@ <h1>Basic Example with precompiled JSX</h1>\n <div id=\"container\">\n <p>\n To install React, follow the instructions on\n- <a href=\"http://www.github.com/facebook/react.js/\">GitHub</a>.\n+ <...
2013-08-04T19:37:39
nodejs/node
43fb664701d771c00595fa1c152cfca03b10a4fd
0c3c0e7184c4ca625148c14d61d8e9438a1b69f2
doc: fix missing changelog corrections There was a slight discrepancy between the build of 12.16.1 and what landed on 12.x. This was only a couple spelling errors that didn't get updated between machines I was working on. This change gets the changelog up to date with what went out in the release vs what is current on...
[ { "path": "doc/changelogs/CHANGELOG_V12.md", "patch": "@@ -86,7 +86,7 @@ Semver-Minor release.\n \n Changes in async hooks internals introduced a case where an internal api call could be called with undefined\n causing a process to crash. The change to async hooks was reverted. A regression test and fix has...
2020-02-18T19:52:15
golang/go
c4c1993fd2a5b26fe45c09592af6d3388a3b2e08
913d05133c7fb3adfd2b1a34a47d635d8e072fa2
encoding/xml: limit depth of nesting in unmarshal Prevent exhausting the stack limit when unmarshalling extremely deeply nested structures into nested types. Fixes #53611 Fixes CVE-2022-30633 Change-Id: Ic6c5d41674c93cfc9a316135a408db9156d39c59 Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private...
[ { "path": "src/encoding/xml/read.go", "patch": "@@ -152,7 +152,7 @@ func (d *Decoder) DecodeElement(v any, start *StartElement) error {\n \tif val.IsNil() {\n \t\treturn errors.New(\"nil pointer passed to Unmarshal\")\n \t}\n-\treturn d.unmarshal(val.Elem(), start)\n+\treturn d.unmarshal(val.Elem(), start, ...
2022-03-29T22:52:09
vercel/next.js
83c18deafe4f133f74ef2b1e0512228098d48cba
5f7faac1e676be0819dd5d828bffed8a7105a78e
Pass same mangling option as terser to SWC minifier (#56281) ### What? Pass `keep_classnames: true` to the SWC minifier, as we are passing it to `terser`. ### Why? https://github.com/vercel/next.js/blob/5f7faac1e676be0819dd5d828bffed8a7105a78e/packages/next/src/build/webpack-config.ts#L953-L958 ### How? Closes WE...
[ { "path": "packages/next/src/build/webpack/plugins/terser-webpack-plugin/src/index.ts", "patch": "@@ -166,7 +166,12 @@ export class TerserPlugin {\n }\n : {}),\n compress: true,\n- mangle: true,\n+ // This is the s...
2023-10-02T04:38:13
electron/electron
9eb521fb38e9d2626cae1c268ba50e9dba5b23ce
27625d2665ddbf8fb3e63ec321868e75db3071e0
Fix indentation in menu template example
[ { "path": "docs-translations/jp/tutorial/desktop-environment-integration.md", "patch": "@@ -92,10 +92,11 @@ const {app, Menu} = require('electron')\n const dockMenu = Menu.buildFromTemplate([\n {label: 'New Window', click () { console.log('New Window') }},\n {label: 'New Window with Settings',\n- subme...
2016-11-23T22:34:55
rust-lang/rust
227abb70ab2e3d10f05fe933d3c77ecbb04eb9a9
32e7a4b92b109c24e9822c862a7c74436b50e564
Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc
[ { "path": "library/test/src/lib.rs", "patch": "@@ -89,8 +89,8 @@ use options::RunStrategy;\n use test_result::*;\n use time::TestExecTime;\n \n-// Process exit code to be used to indicate test failures.\n-const ERROR_EXIT_CODE: i32 = 101;\n+/// Process exit code to be used to indicate test failures.\n+pub c...
2025-07-22T10:03:15
facebook/react
5ef3c1b09b486d711b556655c28b93e207a90399
fe451c30f8a919735e0e60c08dcf73e58cb2bfb7
Fix Reconciling Components to Content This fixes a reconciliation bug introduced by adffa9b0f4128ca4832ddd03fdeca2c9fe434689. The new unit test case exhibits the bug. When a component that has rendered child components is updated to render inline text, we usually: # Unmount and remove all child components. # Set t...
[ { "path": "src/core/ReactMultiChild.js", "patch": "@@ -78,6 +78,7 @@ function enqueueMarkup(parentID, markup, toIndex) {\n type: ReactMultiChildUpdateTypes.INSERT_MARKUP,\n markupIndex: markupQueue.push(markup) - 1,\n fromIndex: null,\n+ textContent: null,\n toIndex: toIndex\n });\n }\n...
2013-07-29T23:11:13
golang/go
913d05133c7fb3adfd2b1a34a47d635d8e072fa2
d3d7998756c33f69706488cade1cd2b9b10a4c7f
cmd/go: avoid spurious readdir during fsys.Walk fsys.Walk is cloned from filepath.Walk, which has always handled a walk of a directory by reading the full directory before calling the callback on the directory itself. So if the callback returns fs.SkipDir, those entries are thrown away, but the expense of reading them...
[ { "path": "src/cmd/go/internal/fsys/fsys.go", "patch": "@@ -464,28 +464,20 @@ func IsDirWithGoFiles(dir string) (bool, error) {\n // walk recursively descends path, calling walkFn. Copied, with some\n // modifications from path/filepath.walk.\n func walk(path string, info fs.FileInfo, walkFn filepath.WalkFu...
2022-07-06T17:21:34
nodejs/node
1c2d77d3d9dd5753a96c0033265c5eeaf3531d00
58de9b46b80fd3e48f5faf9db8101930a6493fc4
2020-02-18, Version 12.16.1 'Erbium' (LTS) Notable changes: Node.js 12.16.0 included 6 regressions that are being fixed in this release **Accidental Unflagging of Self Resolving Modules**: 12.16.0 included a large update to the ESM implementation. One of the new features, Self Referential Modules, was accidentally ...
[ { "path": "CHANGELOG.md", "patch": "@@ -41,7 +41,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V13.md#13.0.0\">13.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.16.0\">12.16.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.16.1\">12....
2020-02-13T23:03:18
rust-lang/rust
7a127fba657ed627cc4877f2871abaf7d9819caa
eed187cfce988dd669b7d9161f324433e64358ee
Fix linker-plugin-lto only doing thin lto When rust provides LLVM bitcode files to lld and the bitcode contains function summaries as used for thin lto, lld defaults to using thin lto. This prevents some optimizations that are only applied for fat lto. We solve this by not creating function summaries when fat lto is ...
[ { "path": "compiler/rustc_codegen_ssa/src/back/write.rs", "patch": "@@ -215,7 +215,9 @@ impl ModuleConfig {\n false\n ),\n emit_obj,\n- emit_thin_lto: sess.opts.unstable_opts.emit_thin_lto,\n+ // thin lto summaries prevent fat lto, so do not emit...
2025-03-28T09:15:56
vercel/next.js
5f7faac1e676be0819dd5d828bffed8a7105a78e
cb8b3a21e50c26e91ba46fb85a390ba2031606dc
More Turbopack test fixes (#56248) Skips additional production tests. Follow-up to #56089 <!-- 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 cha...
[ { "path": "test/development/basic/hmr.test.ts", "patch": "@@ -10,7 +10,7 @@ import {\n renderViaHTTP,\n waitFor,\n } from 'next-test-utils'\n-import { createNext, FileRef } from 'e2e-utils'\n+import { createNext } from 'e2e-utils'\n import { NextInstance } from 'test/lib/next-modes/base'\n import { outd...
2023-10-01T15:50:03
golang/go
d3d7998756c33f69706488cade1cd2b9b10a4c7f
126c22a09824a7b52c019ed9a1d198b4e7781676
net/http: clarify that MaxBytesReader returns *MaxBytesError A MaxBytesReader returns a *MaxBytesError when reading beyond its limit, not a MaxBytesError. Fixes #53764. Change-Id: Icac3aeac96fd8b172f951241f8f111cda633752c Reviewed-on: https://go-review.googlesource.com/c/go/+/416914 Reviewed-by: Ian Lance Taylor <ia...
[ { "path": "src/net/http/request.go", "patch": "@@ -1126,8 +1126,8 @@ func readRequest(b *bufio.Reader) (req *Request, err error) {\n // MaxBytesReader is similar to io.LimitReader but is intended for\n // limiting the size of incoming request bodies. In contrast to\n // io.LimitReader, MaxBytesReader's resu...
2022-07-11T16:49:14
nodejs/node
58de9b46b80fd3e48f5faf9db8101930a6493fc4
af19f4116c5c3ce0fc7b18b62ffb05e8138bf74b
module: package "exports" error refinements PR-URL: https://github.com/nodejs/node/pull/31625 Reviewed-By: Jan Krems <jan.krems@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -1319,6 +1319,12 @@ An invalid HTTP token was supplied.\n \n An IP address is not valid.\n \n+<a id=\"ERR_INVALID_MODULE_SPECIFIER\"></a>\n+### `ERR_INVALID_MODULE_SPECIFIER`\n+\n+The imported module string is an invalid URL, package name, or package subpath\n+spe...
2020-02-03T11:31:12
rust-lang/rust
761c4e308ca17c1d6d893c7d512f579728b1552f
4643d9ad6d09631b663c4f6879103b4d399b1cd8
fix: Only "close the window" when its the last annotated file
[ { "path": "compiler/rustc_errors/src/emitter.rs", "patch": "@@ -1597,8 +1597,9 @@ impl HumanEmitter {\n annotated_files.swap(0, pos);\n }\n \n+ let annotated_files_len = annotated_files.len();\n // Print out the annotate source lines that correspond with the error\n- ...
2025-07-22T13:55:31
facebook/react
6f2848f4a6027daf9ba77e2f7f62a563fd96cf1a
c347b720a9ee6009103174cf0ededca6aab070d9
Fix incorrect port of standard Python server /ht @zpao
[ { "path": "examples/ballmer-peak/index.html", "patch": "@@ -14,7 +14,7 @@ <h1>Ballmer Peak calculator</h1>\n <pre>\n python -m SimpleHTTPServer\n </pre>\n- and going to <a href=\"http://localhost:8080/\">http://localhost:8080/</a>.\n+ and going to <a href=\"http://loc...
2013-07-29T17:59:43
vercel/next.js
2e36e7d85ddf53e899fdc9d9aed6a5b846a52f91
55a638ba4210e172afbd01aee1fb8a82353e428f
Fix middleware-general test for Turbopack (#56211) This test failed for Turbopack because of the rename from `i18n` to `__i18n` to not use that config. Turbopack does checking of config options to ensure it doesn't run when an option is not implemented, so that caused the test run to bail out.
[ { "path": "test/e2e/middleware-general/app/next.config.js", "patch": "@@ -1,38 +0,0 @@\n-module.exports = {\n- experimental: {\n- webpackBuildWorker: true,\n- },\n- i18n: {\n- locales: ['en', 'fr', 'nl'],\n- defaultLocale: 'en',\n- },\n- redirects() {\n- return [\n- {\n- source:...
2023-09-29T15:46:14
golang/go
123a6328b7bd31ed6725d9412913fed6a4436aad
846490110ab1117b5f7366e3a531d24d88800074
internal/trace: don't report regions on system goroutines If a goroutine is started within a user region, internal/trace assigns the child goroutine a nameless region for its entire lifetime which is assosciated the same task as the parent's region. This is not strictly necessary: a child goroutine is not necessarily...
[ { "path": "src/cmd/trace/trace.go", "patch": "@@ -571,7 +571,7 @@ func generateTrace(params *traceParams, consumer traceConsumer) error {\n \n \t\t\tfname := stk[0].Fn\n \t\t\tinfo.name = fmt.Sprintf(\"G%v %s\", newG, fname)\n-\t\t\tinfo.isSystemG = isSystemGoroutine(fname)\n+\t\t\tinfo.isSystemG = trace.Is...
2022-07-11T19:34:26
nodejs/node
fab3eff2e53eb9bfbb890e5ac45523ae68ae95e5
eb0ade10a7af855ecdaa822dea028d661664cd43
src: inform callback scopes about exceptions in HTTP parser Refs: https://github.com/nodejs/node/commit/4aca277f16b8649b5fc21d41f340fad0a47c2e61 Refs: https://github.com/nodejs/node/pull/30236 Fixes: https://github.com/nodejs/node/issues/31796 PR-URL: https://github.com/nodejs/node/pull/31801 Reviewed-By: James M Sne...
[ { "path": "src/node_http_parser.cc", "patch": "@@ -330,6 +330,7 @@ class Parser : public AsyncWrap, public StreamListener {\n this, InternalCallbackScope::kSkipTaskQueues);\n head_response = cb.As<Function>()->Call(\n env()->context(), object(), arraysize(argv), argv);\n+ if (...
2020-02-14T21:25:57
vercel/next.js
55a638ba4210e172afbd01aee1fb8a82353e428f
c20e21bd387946c40bad63a36b9df230ee00ac1a
chore(examples): fix `with-jest` types (#56193) ### What? Closes https://github.com/vercel/next.js/issues/55167 Also does the same as #56151 for `with-jest-babel` Fixes https://github.com/vercel/next.js/issues/55167
[ { "path": "examples/with-jest-babel/package.json", "patch": "@@ -16,8 +16,8 @@\n \"@testing-library/jest-dom\": \"5.16.4\",\n \"@testing-library/react\": \"13.2.0\",\n \"@testing-library/user-event\": \"14.2.0\",\n+ \"@types/jest\": \"29.5.5\",\n \"@types/react\": \"18.0.9\",\n- \"@typ...
2023-09-29T13:53:20
golang/go
846490110ab1117b5f7366e3a531d24d88800074
b75ad09cae8918343000e304c66c5df27101829b
runtime/race: update amd64 syso images to avoid sse4 Rebuild selected amd64 syso images with updated LLVM build rules that avoid the use of SSE4, so as to ensure that the Go race detector continues to work on older x86 cpus. No changes to the syso files for openbsd/amd64 (upstream support has been removed in LLVM) or ...
[ { "path": "src/runtime/race/README", "patch": "@@ -4,9 +4,9 @@ the LLVM project (https://github.com/llvm/llvm-project/tree/main/compiler-rt).\n \n To update the .syso files use golang.org/x/build/cmd/racebuild.\n \n-race_darwin_amd64.syso built with LLVM 41cb504b7c4b18ac15830107431a0c1eec73a6b2 and Go 851ec...
2022-07-11T19:20:13
facebook/react
d5e970b93fc0e5ab9d284c265b170eecee2ad0ad
4cb49f55619a9ad590d86620ffc37aad27087577
Fix `Danger` test failures. The original tests were flawed because the `Danger` module exploits the fact that all React-generated markup has at least one attribute. This allows the module to extract node names from markup strings faster. However, the tests were passing in strings of markup with no attributes. Also, ...
[ { "path": "src/dom/__tests__/Danger-test.js", "patch": "@@ -59,7 +59,7 @@ describe('Danger', function() {\n \n it('should render lists of markup with similar `nodeName`', function() {\n var renderedMarkup = Danger.dangerouslyRenderMarkup(\n- ['<p>1</p>', '<p>2</p>', '<p>3</p>']\n+ ['...
2013-07-28T08:05:13
nodejs/node
99428e0858bb3cce820190770ca8217460d95c80
85c6fcd1cd11ec6ee22891e48a67cc97f60880e8
doc: reword possessive form of Node.js in debugger.md Throughout the docs, we sometimes write the possessive of _Node.js_ as _Node.js'_ and other times as _Node.js's_. The former conforms with some generally accepted style guides (e.g., Associated Press Stylebook) while the latter complies with others (e.g., Chicago M...
[ { "path": "doc/api/debugger.md", "patch": "@@ -23,7 +23,7 @@ Break on start in myscript.js:1\n debug>\n ```\n \n-Node.js's debugger client is not a full-featured debugger, but simple step and\n+The Node.js debugger client is not a full-featured debugger, but simple step and\n inspection are possible.\n \n I...
2020-02-12T00:57:12
vercel/next.js
c20e21bd387946c40bad63a36b9df230ee00ac1a
bf35b47bb44cc8cc42578b4b58a6999aead0ee80
fix: @libsql/client build error (#56192) Here is the error when building @libsql/client: <img width="794" alt="image" src="https://github.com/vercel/next.js/assets/7880675/7ec63918-04e1-4468-b552-0aba7225b745"> Here is the [codesandbox](https://codesandbox.io/p/sandbox/nice-feynman-hwjsyd?file=%2Fapp%2Fapi%2Froute....
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/serverComponentsExternalPackages.mdx", "patch": "@@ -23,6 +23,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne\n - `@aws-sdk/client-s3`\n - `@aws-sdk/s3-presigned-post`\n - `@blockfrost/blockfrost-js`\n+- `@libsql...
2023-09-29T13:22:38
facebook/react
2e37f65bdcae1f12eced79984474a54970865be0
2e43de20cccaab8c09adaffcefdd58a63c465f86
Delete `throwIf` Deletes `throwIf()` in favor of having one way to throw errors: `invariant()`
[ { "path": "src/utils/throwIf.js", "patch": "@@ -1,27 +0,0 @@\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- *\n- * http:...
2013-07-26T18:22:56
golang/go
b75ad09cae8918343000e304c66c5df27101829b
7510e597def68cee77e8ba280fc0f04d3cfd2a22
cmd/trace: fix typo in web documentation Change-Id: I950224c3f698fbdf2bcab6f847f4afddaa6e9c2d Reviewed-on: https://go-review.googlesource.com/c/go/+/416974 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Alan Donovan <adonovan@google.com> Reviewed-by: Ia...
[ { "path": "src/cmd/trace/main.go", "patch": "@@ -247,7 +247,7 @@ p { color: grey85; font-size:85%; }\n because it made a system call or tried to acquire a mutex.\n \n Directly underneath each bar, a smaller bar or more commonly a fine\n- vertical line indicates an event occuring during its execution.\...
2022-07-11T17:10:50
nodejs/node
5bef2ccf20cceda7975f8bce860e0f60595482fc
4c746a6cfda980c1cd0de6246781c0083d9e416c
test: add known issue test for sync writable callback If the write callbacks are invoked synchronously with an error, onwriteError would cause the error event to be emitted synchronously, making it impossible to attach an error handler after the call that triggered it. PR-URL: https://github.com/nodejs/node/pull/3175...
[ { "path": "test/known_issues/test-stream-writable-sync-error.js", "patch": "@@ -0,0 +1,44 @@\n+'use strict';\n+const common = require('../common');\n+\n+// Tests for the regression in _stream_writable discussed in\n+// https://github.com/nodejs/node/pull/31756\n+\n+// Specifically, when a write callback is ...
2020-02-12T20:21:34
vercel/next.js
07ff673347c443dad5ca8f64e382fe586432f200
58980bdf431c8f1b75bd9fb9d20ff24ccd57a479
add hash() to FileContent (vercel/turbo#6062) ### Description needed to fix require.cache cleanup ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> Closes WEB-1685
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -64,7 +64,7 @@ use turbo_tasks::{\n mark_stateful, spawn_thread, trace::TraceRawVcs, Completion, InvalidationReason, Invalidator,\n ReadRef, ValueToString, Vc,\n };\n-use turbo_tasks_hash::hash_xxh3_hash64;\n+use turbo_tasks_hash::{hash_xxh3...
2023-09-29T12:57:55
facebook/react
260d90ba029483c4d2bca77ad89abf8d16e7d545
492407bcc98745577a68c0813c8cf529fa3d4da4
Warn when server-rendered markup is not what we expect on the client As @leebyron and balpert pointed out, if the markup on the server is differnet than what the client expects undefined behavior and chaos may ensue. A good fallback is for us to just inject the client-side markup (as it is the source of truth) and war...
[ { "path": "src/core/ReactComponent.js", "patch": "@@ -20,9 +20,11 @@\n \n \"use strict\";\n \n+var getReactRootElementInContainer = require('getReactRootElementInContainer');\n var ReactCurrentOwner = require('ReactCurrentOwner');\n var ReactDOMIDOperations = require('ReactDOMIDOperations');\n var ReactID =...
2013-07-25T00:19:29
golang/go
7510e597def68cee77e8ba280fc0f04d3cfd2a22
b8bf820d5d4602f7e83ff89c0f8d0f2bd3a220d4
cmd/go: make module index loading O(1) For a large module, opening the index was populating tables with entries for every package in the module. If we are only using a small number of those packages, this is wasted work that can dwarf the benefit from the index. This CL changes the index reader to avoid loading all p...
[ { "path": "src/cmd/go/internal/modindex/index_test.go", "patch": "@@ -0,0 +1,87 @@\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+package modindex\n+\n+import (\n+\t\"encoding/hex\"\n+\...
2022-07-06T13:49:32
nodejs/node
e028ea0291b845e4bec3c7cff7319a027b8c815e
26e49d83323c78e89b2664b6eeaee90757d52868
doc: fix typos in doc/api/https.md PR-URL: https://github.com/nodejs/node/pull/31793 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmai...
[ { "path": "doc/api/https.md", "patch": "@@ -372,7 +372,7 @@ const options = {\n return new Error(msg);\n }\n \n- // Pin the exact certificate, rather then the pub key\n+ // Pin the exact certificate, rather than the pub key\n const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' +\n ...
2020-02-14T14:36:11
facebook/react
492407bcc98745577a68c0813c8cf529fa3d4da4
ddb0ef98f7986cf27f767348c7e181d991acb4ec
Fix OrderedMap. Tim caught a bug. Squashing it so he can rebase on top of it.
[ { "path": "src/utils/OrderedMap.js", "patch": "@@ -18,6 +18,7 @@\n \n \"use strict\";\n \n+var invariant = require('invariant');\n var mixInto = require('mixInto');\n var throwIf = require('throwIf');\n \n@@ -349,6 +350,10 @@ var OrderedMapMethods = {\n mapKeyRange: function(cb, startKey, endKey, context)...
2013-07-25T00:19:23
vercel/next.js
7cb88871cdc198678061164e5fbe1a3c38e3bdca
590798b40b13f0069614d25866b546b4ed234177
Add next.config.js options to turbopack warning file (#56207) Went through all options listed in config-shared.ts and added them to the turbopack warning file so that there is a clear list of what is not implemented yet. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is...
[ { "path": ".vscode/settings.json", "patch": "@@ -67,6 +67,7 @@\n \"nextjs\",\n \"opentelemetry\",\n \"Threadsafe\",\n+ \"Turbopack\",\n \"zipkin\"\n ],\n \"grammarly.selectors\": [", "additions": 1, "deletions": 0, "language": "JSON" }, { "path": "packages/next-swc...
2023-09-29T12:08:40
golang/go
bf5898ef53d1693aa572da0da746c05e9a6f15c5
398dcd1cf00a1536dad98cf87c16f8ad0c8913fc
net/url: use EscapedPath for url.JoinPath Fixes #53763 Change-Id: I08b53f159ebdce7907e8cc17316fd0c982363239 Reviewed-on: https://go-review.googlesource.com/c/go/+/416774 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot:...
[ { "path": "src/net/url/url.go", "patch": "@@ -1193,7 +1193,7 @@ func (u *URL) UnmarshalBinary(text []byte) error {\n func (u *URL) JoinPath(elem ...string) *URL {\n \turl := *u\n \tif len(elem) > 0 {\n-\t\telem = append([]string{u.Path}, elem...)\n+\t\telem = append([]string{u.EscapedPath()}, elem...)\n \t\...
2022-07-09T17:38:45
electron/electron
f89a0456059dcadac982e5bd50cd3c873b8a40ac
6b34b97c29df39d49d71986c0eb42f2c9b67a8dc
Fixed language code to Aragonese
[ { "path": "docs/api/locales.md", "patch": "@@ -14,7 +14,7 @@ values are listed below:\n | ar-BH | Arabic (Bahrain) |\n | ar-DZ | Arabic (Algeria) |\n | ar-EG | Arabic (Egypt) |\n-| ar | Aragonese |\n+| an | Aragonese |\n | ar-JO | Arabic (Jordan) |\n | ar-KW | Arabic (Kuwait) |\n | ar-LB | Arabic (Lebanon) ...
2016-11-23T15:21:27
rust-lang/rust
7aec38b6d9077bcd0b8b4b7fefaea73262ccd7d6
cf95e45ec6907c21b642e1b33d1d363221b50c23
Fix up size asserts. - Put them in the module that defines the type. - Add some `WithCachedTypeInfo<T>` asserts for consistency.
[ { "path": "compiler/rustc_middle/src/ty/mod.rs", "patch": "@@ -2238,15 +2238,3 @@ pub struct DestructuredConst<'tcx> {\n pub variant: Option<VariantIdx>,\n pub fields: &'tcx [ty::Const<'tcx>],\n }\n-\n-// Some types are used a lot. Make sure they don't unintentionally get bigger.\n-#[cfg(target_poin...
2025-07-31T02:39:33
nodejs/node
568fdfb1658bfcaa7832759e03661f2cb958c155
c776a37791007e0d570355b731647e58ea5885be
fs: fix WriteStream autoClose order WriteStream autoClose was implemented by manually calling .destroy() instead of using autoDestroy and callback. This caused some invariants related to order of events to be broken. Fixes: https://github.com/nodejs/node/issues/31776 PR-URL: https://github.com/nodejs/node/pull/31790...
[ { "path": "lib/internal/fs/streams.js", "patch": "@@ -291,7 +291,8 @@ function WriteStream(path, options) {\n options.decodeStrings = true;\n \n if (options.autoDestroy === undefined) {\n- options.autoDestroy = false;\n+ options.autoDestroy = options.autoClose === undefined ?\n+ true : (optio...
2020-02-14T12:32:45
facebook/react
ddb0ef98f7986cf27f767348c7e181d991acb4ec
8dd4428c557958bc27c4c520a1ed23ad58e3250a
Fix "Suppport" type in docs
[ { "path": "docs/docs/07-working-with-the-browser.md", "patch": "@@ -110,7 +110,7 @@ _Mounted_ composite components also support the following methods:\n > calling `this.getDOMNode()`.\n \n \n-## Browser Suppport and Polyfills\n+## Browser Support and Polyfills\n \n At Facebook, we support older browsers, in...
2013-07-24T20:13:27
vercel/next.js
590798b40b13f0069614d25866b546b4ed234177
5521d0ed828f54324f79b3e2d1093b6d4f51c2c2
Add support for experimental.logging.level in Turbopack (#56201) Adds logging.level support, doesn't require changes to Turbopack. Also addresses a review on my earlier PR: https://github.com/vercel/next.js/pull/56200#discussion_r1341131069 <!-- Thanks for opening a PR! Your contribution is much appreciated. To ...
[ { "path": "packages/next/src/lib/turbopack-warning.ts", "patch": "@@ -35,6 +35,9 @@ const supportedTurbopackNextConfigOptions = [\n 'distDir',\n 'skipMiddlewareUrlNormalize',\n 'skipTrailingSlashRedirect',\n+ 'amp',\n+ 'experimental.logging.level',\n+ 'experimental.swcPlugins',\n 'experimental.ma...
2023-09-29T10:52:52
golang/go
398dcd1cf00a1536dad98cf87c16f8ad0c8913fc
f956941b0f5a5a841827bd3e84401d32916bb73e
database/sql: make TestTxContextWaitNoDiscard test more robust Similar to CL 385934, rely on waiter trigger instead of the WAIT query prefix and factor out the common test code. Fixes #53222 Change-Id: I46efc85ca102b350bb4dbe8e514921e016870ffb Reviewed-on: https://go-review.googlesource.com/c/go/+/416655 Reviewed-by...
[ { "path": "src/database/sql/sql_test.go", "patch": "@@ -449,6 +449,16 @@ func TestQueryContextWait(t *testing.T) {\n // TestTxContextWait tests the transaction behavior when the tx context is canceled\n // during execution of the query.\n func TestTxContextWait(t *testing.T) {\n+\ttestContextWait(t, false)\...
2022-07-09T12:36:45
nodejs/node
c776a37791007e0d570355b731647e58ea5885be
a7c523e26df468782691c7e16b2e033c6256beb3
http: end with data can cause write after end Calling end() with data while ending should trigger a write after end error. PR-URL: https://github.com/nodejs/node/pull/28666 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail....
[ { "path": "lib/_http_outgoing.js", "patch": "@@ -641,17 +641,20 @@ OutgoingMessage.prototype.write = function write(chunk, encoding, callback) {\n return ret;\n };\n \n+function writeAfterEnd(msg, callback) {\n+ const err = new ERR_STREAM_WRITE_AFTER_END();\n+ const triggerAsyncId = msg.socket ? msg.soc...
2019-07-13T12:04:37
facebook/react
7f8b2885d9f9feb396896f7d9d6086ac7731cf36
d1c5cda93f9b912777a7c45ecd071f14aef947e4
fix jquery-bootstrap example bugs Old one had some bugs: - 'x' on modal wasn't showing. - trying to close modal in unmount, but modal had a closing animation.
[ { "path": "examples/jquery-bootstrap/js/app.js", "patch": "@@ -7,7 +7,7 @@ var BootstrapButton = React.createClass({\n // transferPropsTo() is smart enough to merge classes provided\n // to this component.\n return this.transferPropsTo(\n- <a href=\"javascript:;\" role=\"button\" class=\"bt...
2013-07-23T15:42:54
electron/electron
9518b66d73d88e2f44687dc8eb54eb7a01237ca0
7938f2b50d56a70759f84c618133a40d63427a3e
fixes typo within readme
[ { "path": "npm/README.md", "patch": "@@ -104,7 +104,7 @@ binary. Use this to spawn Electron from Node scripts:\n var electron = require('electron')\n var proc = require('child_process')\n \n-// will something similar to print /Users/maf/.../Electron\n+// will print something similar to /Users/maf/.../Electr...
2016-11-23T11:16:27
vercel/next.js
5521d0ed828f54324f79b3e2d1093b6d4f51c2c2
d75110529b0552401b8e5f39a3a515d7f2f8cf71
Update supported options list to reflect #56188 (#56200) Updated to reflect #56188. <!-- 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) th...
[ { "path": "packages/next/src/lib/turbopack-warning.ts", "patch": "@@ -4,6 +4,7 @@ import { NextConfig } from '../server/config-shared'\n import { PHASE_DEVELOPMENT_SERVER } from '../shared/lib/constants'\n \n const supportedTurbopackNextConfigOptions = [\n+ 'crossOrigin',\n 'configFileName',\n 'env',\n...
2023-09-29T09:30:14
golang/go
c1a4e0fe014568501b194eb8b04309f54eee6b4c
5c1a13e7a47bc47c07057c0acf626e3fafe064c9
cmd/compile: fix libfuzzer instrumentation line number Set a reasonable starting line number before processing the body of the function in the order pass. We update base.Pos each time we process a node, but some of the libfuzzer instrumentation is added before we process any node, so the base.Pos used is junk. Fixes...
[ { "path": "src/cmd/compile/internal/walk/order.go", "patch": "@@ -63,7 +63,7 @@ func order(fn *ir.Func) {\n \t\ts := fmt.Sprintf(\"\\nbefore order %v\", fn.Sym())\n \t\tir.DumpList(s, fn.Body)\n \t}\n-\n+\tir.SetPos(fn) // Set reasonable position for instrumenting code. See issue 53688.\n \torderBlock(&fn.B...
2022-07-08T21:52:23
facebook/react
4deb0d619c06e8f0d30f972a6412d65f19b7f921
cf3ff07f92736476d15d1ed7f5fc04274d2a8b77
Fix Clicks in Mobile Safari This works around a bug with listening to clicks using event delegation on Mobile Safari using an event plugin. NOTE: We don't enable touch events by default, so I don't know if would want to inject this plugin by default. In fact, I'm not sure what our strategy is at all for when to invok...
[ { "path": "src/core/ReactDefaultInjection.js", "patch": "@@ -34,6 +34,7 @@ var ChangeEventPlugin = require('ChangeEventPlugin');\n var EventPluginHub = require('EventPluginHub');\n var ReactInstanceHandles = require('ReactInstanceHandles');\n var SimpleEventPlugin = require('SimpleEventPlugin');\n+var Mobil...
2013-07-23T01:28:36
nodejs/node
79296dc2d02c0b9872bbfcbb89148ea036a546d0
3a2254959b9e8c5177289ab1c1259f18ceaf9449
doc: guide - using valgrind to debug memory leaks Add doc for using valgrind to debug native memory leaks. Started writing this up as part of an effort in the Diagnostic WG but think it's better to have it in the core guides and then be referenced by the docs in the Diagnostic WG repo. For more details on the Diagno...
[ { "path": "doc/guides/investigating_native_memory_leak.md", "patch": "@@ -0,0 +1,447 @@\n+# Investigating Memory Leaks with valgrind\n+\n+A Node.js process may run out of memory due to excessive consumption of\n+native memory. Native Memory is memory which is not managed by the\n+V8 Garbage collector and is...
2020-01-24T16:46:40
electron/electron
5498a314939abcc5cf6ae42410edfe8cf672d92a
6b34b97c29df39d49d71986c0eb42f2c9b67a8dc
Fixed linting on Windows
[ { "path": "package.json", "patch": "@@ -4,6 +4,7 @@\n \"devDependencies\": {\n \"asar\": \"^0.11.0\",\n \"browserify\": \"^13.1.0\",\n+ \"cross-conf-env\": \"^1.0.6\",\n \"electabul\": \"~0.0.4\",\n \"electron-docs-linter\": \"^1.16.0\",\n \"request\": \"*\",\n@@ -37,7 +38,7 @@\n ...
2016-11-18T20:50:53
vercel/next.js
0115f73ace6fcb3068e1aeec932d2a4215e60469
b90ba3b23ba025f38163889146c0c68b21a6bb16
Performance Improvements (1) (vercel/turbo#6051) ### Description * increase sharding to avoid lock contention * fix availablity info typo * add size hints to avoid multiple allocations * improve AutoMap/Set thresholds * uses non-zero usize to leverage Option<> optimization ### Testing Instructions <!-- ...
[ { "path": "crates/turbo-tasks-auto-hash-map/src/lib.rs", "patch": "@@ -6,7 +6,9 @@ pub mod set;\n pub use map::AutoMap;\n pub use set::AutoSet;\n \n+// Values based on data from https://github.com/yegor256/micromap#benchmark\n+\n /// Maximum size of list variant. Must convert to HashMap when bigger.\n-pub c...
2023-09-29T05:50:18
golang/go
5c1a13e7a47bc47c07057c0acf626e3fafe064c9
180bcad33dcd3d59443fe8eda5ae7556b1b2945b
cmd/go: avoid setting variables for '/' and ':' in TestScript subprocess environments Also simplify platform-dependent handling of the PATH variable, to make it more like the existing platform-dependent handling for HOME and TMPDIR. Fixes #53671. Change-Id: Ica2665d3f61988c66fb6982b9feb61ca48eced79 Reviewed-on: http...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -1363,6 +1363,15 @@ func tempEnvName() string {\n \t}\n }\n \n+func pathEnvName() string {\n+\tswitch runtime.GOOS {\n+\tcase \"plan9\":\n+\t\treturn \"path\"\n+\tdefault:\n+\t\treturn \"PATH\"\n+\t}\n+}\n+\n func TestDefaultGOPATH(t *testing.T) {\n \ttg := te...
2022-07-08T14:02:14
facebook/react
cf3ff07f92736476d15d1ed7f5fc04274d2a8b77
bbb4a367be3c3b570e86c3deac1afb7edf7d579d
Fix TypeError in SyntheticEvent I suspect that plugins are modifying `Object.prototype` which is causing TypeErrors in `SyntheticEvent`. Let's fix it.
[ { "path": "src/event/synthetic/SyntheticEvent.js", "patch": "@@ -68,6 +68,9 @@ function SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n \n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n+ if (!Interface.hasOwnProperty(propName)) {\n+ continue;\n+...
2013-07-23T01:28:30
nodejs/node
e460f8cf43863a5a8d73273ce311135ad3245699
75311dbc2f5fbd1c81dbab94e1372b55e0dbb1ac
src: keep main-thread Isolate attached to platform during Dispose This works around a situation in which the V8 WASM code calls into the platform while the Isolate is being disposed. This goes against the V8 API constract for `v8::Platform`. In lieu of a proper fix, it should be okay to keep the Isolate registered; t...
[ { "path": "src/node_main_instance.cc", "patch": "@@ -102,8 +102,12 @@ NodeMainInstance::~NodeMainInstance() {\n if (!owns_isolate_) {\n return;\n }\n- platform_->UnregisterIsolate(isolate_);\n+ // TODO(addaleax): Reverse the order of these calls. The fact that we first\n+ // dispose the Isolate i...
2020-02-14T15:28:58
vercel/next.js
a623685f44c743299cc422e3015861013cec72a1
741114adeaaa8abcffb46f75c62bf386ae229cd0
chore(examples): remove deprecated dependency from `with-jest` (#56152) Fixes #56151 Tests added: none Errors: https://ibb.co/MnTDChy @testing-library/jest-dom provides its own type definitions @types/testing-library__jest-dom has been deprecated ref: https://www.npmjs.com/package/@types/testing-library__jest-dom
[ { "path": "examples/with-jest/package.json", "patch": "@@ -18,7 +18,6 @@\n \"@testing-library/react\": \"14.0.0\",\n \"@testing-library/user-event\": \"14.4.3\",\n \"@types/react\": \"18.2.21\",\n- \"@types/testing-library__jest-dom\": \"6.0.0\",\n \"jest\": \"29.6.4\",\n \"jest-envir...
2023-09-29T01:56:09
golang/go
180bcad33dcd3d59443fe8eda5ae7556b1b2945b
14abe8aa7324bdf0e09e1dfebfb3519cc30f4918
net/http: wait for listeners to exit in Server.Close and Shutdown Avoid race conditions when a new connection is accepted just after Server.Close or Server.Shutdown is called by waiting for the listener goroutines to exit before proceeding to clean up active connections. No test because the mechanism required to trig...
[ { "path": "src/net/http/server.go", "patch": "@@ -2690,6 +2690,8 @@ type Server struct {\n \tactiveConn map[*conn]struct{}\n \tdoneChan chan struct{}\n \tonShutdown []func()\n+\n+\tlistenerGroup sync.WaitGroup\n }\n \n func (s *Server) getDoneChan() <-chan struct{} {\n@@ -2732,6 +2734,15 @@ func (srv *Ser...
2022-05-31T21:47:33
nodejs/node
75311dbc2f5fbd1c81dbab94e1372b55e0dbb1ac
df1592d2e9935305539c909fecabcb96e3dd8aee
async_hooks: ensure event after been emitted on runInAsyncScope The exception handler user-defined will not automatically emit after for the async resource. Also removes a duplicated case `test-emit-after-uncaught-exception-runInAsyncScope.js` which is identical to test-emit-after-uncaught-exception.js. Refs: https:...
[ { "path": "lib/async_hooks.js", "patch": "@@ -22,6 +22,7 @@ const {\n executionAsyncId,\n triggerAsyncId,\n // Private API\n+ hasAsyncIdStack,\n getHookArrays,\n enableHooks,\n disableHooks,\n@@ -179,12 +180,16 @@ class AsyncResource {\n const asyncId = this[async_id_symbol];\n emitBefo...
2020-02-14T03:30:33
vercel/next.js
741114adeaaa8abcffb46f75c62bf386ae229cd0
769d27aaccf34a6a32158725211b51f869b3ea2f
Turbopack: add support for an assetPrefix and basePath (#56058) Depends on vercel/turbo#6036 This constructs a general asset prefix (depending on if basePath and/or assetPrefix is defined), and sets it on Next's and Turbopack's chunking context. Test Plan: Use a `create-next-app` with corresponding Next.js PR and ba...
[ { "path": "Cargo.lock", "patch": "@@ -321,7 +321,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230928.3#60636fb4555f215abfbbfcb022f46f2907a7c979\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-09-29T01:43:29
golang/go
14abe8aa7324bdf0e09e1dfebfb3519cc30f4918
1ebc983000ed411a1c06f6b8a61770be1392e707
cmd/compile: don't convert to interface{} for un-comparable types in generic switch Fixes #53635 Change-Id: I41f383be8870432fc0d29fa83687911ddd8217f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/415634 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Revie...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1214,6 +1214,9 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\tif m.Tag != nil && m.Tag.Op() == ir.OTYPESW {\n \t\t\t\tbreak // Nothing to do here for type switches.\n \t\t\t}\n+\t\t\tif m.Tag != nil && !types.IsComparable(m.Tag...
2022-07-01T09:33:54
nodejs/node
087583741716969edf12874d4f1f1774de581f50
9a1c19bb28c7aca25a6554f3c28f06ca5017873f
stream: fix async iterator destroyed error order There was an edge case where if _destroy calls the error callback later than one tick the iterator would complete early and not propgate the error. PR-URL: https://github.com/nodejs/node/pull/31314 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rub...
[ { "path": "lib/internal/streams/async_iterator.js", "patch": "@@ -96,18 +96,20 @@ const ReadableStreamAsyncIteratorPrototype = ObjectSetPrototypeOf({\n }\n \n if (this[kStream].destroyed) {\n- // We need to defer via nextTick because if .destroy(err) is\n- // called, the error will be emit...
2020-01-11T12:39:34
electron/electron
cd8b7f5219b2c827f2bd4d0c7d1f09115a042212
37b18243f4c519c35a51e9469c0ee5d4008803a7
zh_TW translation of some tutorial document (#8054) * :memo: zh_TW translation of tutorial docs-translations/zh-TW/tutorial/debugging-main-process- node-inspector.md * :memo: zh_TW translation of tutorial [ci skip] debugging-main-process-vscode.md * :memo: Translate zh_TW DE integration desktop-env...
[ { "path": "docs-translations/zh-TW/tutorial/debugging-main-process-node-inspector.md", "patch": "@@ -0,0 +1,116 @@\n+# 在 node-inspector 裡為主程序除錯\n+\n+[`node-inspector`][node-inspector] 提供一個大家熟悉的圖形介面開發工具,可以在 Chrome 使用這個工具為 Electron 的主程序除錯。然而因為 `node-inspector` 依靠依些原生的 Node 模組,他必須為你想除錯的 Electron 版本重新建制。你可以自己重新...
2016-11-22T23:59:28
vercel/next.js
769d27aaccf34a6a32158725211b51f869b3ea2f
5415811037e970c34600bb71d64a4416d7ad1ac1
correcting link to useSearchParams ref (#56169) The link to the useSearchParams ref within the File Conventions > layout.js page currently links to the useParams ref, which is wrong and may lead to confusion as the useParams and useSearchParams APIs operate differently.
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/layout.mdx", "patch": "@@ -116,7 +116,7 @@ This performance optimization allows navigation between pages that share a layou\n \n Because `dashboard/layout.tsx` doesn't re-render, the `searchParams` prop in the layout Server Component might become *...
2023-09-28T23:11:33
rust-lang/rust
ecf6d3c6ced41d71a09248fdc679309e39bae318
3cbd088ee4e453eeab2d3cfae3e047b7e12bece8
Simplify the configuration for no-panic Currently, attributes for `no-panic` are gated behind both the `test` config and `assert_no_panic`, because `no-panic` is a dev dependency (so only available with test configuration). However, we only emit `assert_no_panic` when the test config is also set anyway, so there isn't...
[ { "path": "library/compiler-builtins/libm/src/math/acos.rs", "patch": "@@ -59,7 +59,7 @@ fn r(z: f64) -> f64 {\n /// Computes the inverse cosine (arc cosine) of the input value.\n /// Arguments must be in the range -1 to 1.\n /// Returns values in radians, in the range of 0 to pi.\n-#[cfg_attr(all(test, ass...
2025-07-30T14:45:53
golang/go
c177d9d98a7bfb21346f6309c115d0a2bf3167e3
486fc0177068277a51235c7794660b238e70d622
crypto/x509: restrict CRL number to <=20 octets Similar to certificate serial numbers, RFC 5280 restricts the length of the CRL number field to no more than 20 octets. Enforce this in CreateRevocationList. Fixes #53543 Change-Id: If392ef6b0844db716ae9ee6ef317135fceab039c Reviewed-on: https://go-review.googlesource.c...
[ { "path": "src/crypto/x509/x509.go", "patch": "@@ -2196,6 +2196,10 @@ func CreateRevocationList(rand io.Reader, template *RevocationList, issuer *Cert\n \tif err != nil {\n \t\treturn nil, err\n \t}\n+\n+\tif numBytes := template.Number.Bytes(); len(numBytes) > 20 || (len(numBytes) == 20 && numBytes[0]&0x80...
2022-06-29T18:30:47
nodejs/node
9cbf6af5b5ace0cc53c1a1da3234aeca02522ec6
4bf888d3d2500351e72fbe4403143a25a9402409
crypto: fix performance regression https://github.com/nodejs/node/commit/e559842188f541b884abff2ffad4d2d3e1b841a6 made writable/readable computed with a legacy mode if the properties are written to. LazyTransform still unecessarily wrote to these properties causing a performance regression. Fixes: https://github.com...
[ { "path": "lib/internal/streams/lazy_transform.js", "patch": "@@ -19,8 +19,6 @@ module.exports = LazyTransform;\n \n function LazyTransform(options) {\n this._options = options;\n- this.writable = true;\n- this.readable = true;\n }\n ObjectSetPrototypeOf(LazyTransform.prototype, stream.Transform.prototy...
2020-02-11T17:32:33
rust-lang/rust
3cbd088ee4e453eeab2d3cfae3e047b7e12bece8
4ebfdf74dbd29acc442cd91ab43483260e9ce668
ci: Set pipefail before running ci-util Currently, a failure in `ci-util.py` does not cause the job to fail because the pipe eats the failure status . Set pipefail to fix this. Fixes: ff2cc0e38e3e ("ci: Don't print output twice in `ci-util`")
[ { "path": "library/compiler-builtins/.github/workflows/main.yaml", "patch": "@@ -34,7 +34,9 @@ jobs:\n - name: Fetch pull request ref\n run: git fetch origin \"$GITHUB_REF:$GITHUB_REF\"\n if: github.event_name == 'pull_request'\n- - run: set -e; python3 ci/ci-util.py generate-matr...
2025-07-30T14:56:11
facebook/react
64d72f8c4b1054c97393124d85681f0e168064fa
d7fcbe0f961704bc9d12a5675718e5bb604e48ee
fix typos
[ { "path": "docs/_posts/2013-06-27-community-roundup-3.md", "patch": "@@ -8,7 +8,7 @@ The highlight of this week is that an interaction-heavy app has been ported to R\n \n ## Moving From Backbone To React\n \n-[Clay Allsopp](http://twitter.com/clayallsopp) successfuly ported [Propeller](http://usepropeller.c...
2013-07-19T18:43:11
golang/go
486fc0177068277a51235c7794660b238e70d622
8ac58de1857637f372a00ea16ab5497193b784a6
crypto/x509: correctly parse CRL entry extensions When checking to see if a CRL entry has any extensions, attempt to read them from the individual revokedCertificate, rather than from the parent TBSCertList. Additionally, crlEntryExtensions is not an EXPLICIT field (c.f. crlExtension and Certificate extensions), so d...
[ { "path": "src/crypto/x509/parser.go", "patch": "@@ -1106,13 +1106,10 @@ func ParseRevocationList(der []byte) (*RevocationList, error) {\n \t\t\t}\n \t\t\tvar extensions cryptobyte.String\n \t\t\tvar present bool\n-\t\t\tif !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.SEQUENCE) {\n+\t\t\tif ...
2022-06-28T22:28:21
vercel/next.js
b90ba3b23ba025f38163889146c0c68b21a6bb16
aa674f6c74dd9cf9e1a8276d8d569d0db6b0aadf
Revert "Revert "Turbopack: add support for an asset prefix (and basePath in N… (vercel/turbo#6044)" (vercel/turbo#6049) This reverts commit 515f3e7e35ded9d09feb134f66035319782d2b83. Closes WEB-1677
[ { "path": "crates/turbopack-build/src/chunking_context.rs", "patch": "@@ -1,4 +1,4 @@\n-use anyhow::{bail, Result};\n+use anyhow::{bail, Context, Result};\n use indexmap::IndexSet;\n use serde::{Deserialize, Serialize};\n use turbo_tasks::{\n@@ -51,6 +51,11 @@ pub struct BuildChunkingContextBuilder {\n }\n ...
2023-09-28T21:30:57
nodejs/node
94eb0f907bd4023c4ed4647b38d049be8c1c8826
917914112341da2de7215d304dcc1bf33184e53b
doc: fix typo on fs docs PR-URL: https://github.com/nodejs/node/pull/31620 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -1949,7 +1949,7 @@ Node.js callbacks. `fs.existsSync()` does not use a callback.\n \n ```js\n if (fs.existsSync('/etc/passwd')) {\n- console.log('The file exists.');\n+ console.log('The path exists.');\n }\n ```\n ", "additions": 1, "deletions": 1, "lang...
2020-02-03T01:22:17
rust-lang/rust
df2e54376c4cf9009ba159a50a404e1483f52f67
b6cbe33aeb526d6437304f4810762c947bddcd4a
add comment and opaque type fixme
[ { "path": "compiler/rustc_trait_selection/src/solve/fulfill.rs", "patch": "@@ -241,6 +241,17 @@ where\n \n match certainty {\n Certainty::Yes => {\n+ // Goals may depend on structural identity. Region uniquification at the\n+ ...
2025-07-30T09:57:41
golang/go
8ac58de1857637f372a00ea16ab5497193b784a6
0c7fcf6bd1fd8df2bfae3a482f1261886f6313c1
crypto/x509: populate Number and AKI of parsed CRLs The x509.RevocationList type has two fields which correspond to extensions, rather than native fields, of the underlying ASN.1 CRL: the .Number field corresponds to the crlNumber extension, and the .AuthorityKeyId field corresponds to the authorityKeyIdentifier exten...
[ { "path": "src/crypto/x509/parser.go", "patch": "@@ -1008,22 +1008,22 @@ func ParseRevocationList(der []byte) (*RevocationList, error) {\n \t// we can populate RevocationList.Raw, before unwrapping the\n \t// SEQUENCE so it can be operated on\n \tif !input.ReadASN1Element(&input, cryptobyte_asn1.SEQUENCE) {...
2022-07-06T23:59:03
vercel/next.js
59ce492dfed78e8584e23bdfcf108a7c371527a6
7f6a494e9e8a2078c67b30551efb275012e9986d
Add support for i18n config in Turbopack (#56182) Add support for `i18n` in 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 you follow the checklist sections below. Choose the right checklist for the change(s) t...
[ { "path": "packages/next-swc/crates/next-core/src/env.rs", "patch": "@@ -139,6 +139,28 @@ pub async fn env_for_js(\n },\n );\n \n+ map.insert(\n+ \"__NEXT_I18N_SUPPORT\".to_string(),\n+ // How do I check if i18n exists in the config?\n+ if next_config.i18n.is_none() {\n+ ...
2023-09-28T20:12:40
rust-lang/rust
02ac116e53f525a929d251bf9dc4f2ea1cacd3c8
72716b134ac26b837703e46cbda99a453ae92c42
Fix tests for big-endian The tests fail on s390x and presumably other big-endian systems, due to print of raw values and padding bytes. To fix the tests remove the raw output values in the error note with `normalize-stderr`.
[ { "path": "tests/ui/consts/const-eval/union-const-eval-field.rs", "patch": "@@ -1,5 +1,6 @@\n //@ dont-require-annotations: NOTE\n //@ normalize-stderr: \"(the raw bytes of the constant) \\(size: [0-9]*, align: [0-9]*\\)\" -> \"$1 (size: $$SIZE, align: $$ALIGN)\"\n+//@ normalize-stderr: \"([[:xdigit:]]{2}\\...
2025-07-29T09:27:07
nodejs/node
26cb448b0d74fa6440ca77ca83b1adba6cc50a87
b9a7625fdf0a8217195300f5a8844b6da1a5a35a
doc: fix default server timeout description for https PR-URL: https://github.com/nodejs/node/pull/31692 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/https.md", "patch": "@@ -123,9 +123,13 @@ See [`http.Server#setTimeout()`][].\n ### `server.timeout`\n <!-- YAML\n added: v0.11.2\n+changes:\n+ - version: v13.0.0\n+ pr-url: https://github.com/nodejs/node/pull/27558\n+ description: The default timeout changed from 120s to 0 (no tim...
2020-02-08T09:47:37
electron/electron
db729b5b5200563deb08d82699e5c1c77f694e82
71f94c7a3ad1014a0c1fdca248046c4d61cb3988
Throw an error when users attempt to remove all listeners from the IPC modules
[ { "path": "lib/browser/api/ipc-main.js", "patch": "@@ -2,5 +2,13 @@ const EventEmitter = require('events').EventEmitter\n \n module.exports = new EventEmitter()\n \n+const removeAllListeners = module.exports.removeAllListeners\n+module.exports.removeAllListeners = function (...args) {\n+ if (args.length ==...
2016-11-22T07:30:58
facebook/react
222faf4544731b725c4fcbe1b416b89286275601
3d7ac69c392fcc65ccdaacecb882bc09da04e22f
One-character typo fix
[ { "path": "docs/docs/05-reusable-components.md", "patch": "@@ -35,7 +35,7 @@ React.createClass({\n someClass: React.PropTypes.instanceOf(SomeClass),\n \n // You can chain any of the above with isRequired to make sure an error is\n- // thrown if the prop isn't provide.\n+ // thrown if the prop ...
2013-07-19T17:55:31
golang/go
eaf21256545ae04a35fa070763faa6eb2098591d
1243ec9c177007879958443262fe4d25099c5ede
cmd/go: default to "exe" build mode for windows -race This patch changes the default build mode from "pie" to "exe" when building programs on windows with "-race" in effect. The Go command already issues an error if users explicitly ask for -buildmode=pie in combination with -race on windows, but wasn't revising the d...
[ { "path": "src/cmd/go/internal/work/init.go", "patch": "@@ -211,7 +211,11 @@ func buildModeInit() {\n \t\t\tcodegenArg = \"-shared\"\n \t\t\tldBuildmode = \"pie\"\n \t\tcase \"windows\":\n-\t\t\tldBuildmode = \"pie\"\n+\t\t\tif cfg.BuildRace {\n+\t\t\t\tldBuildmode = \"exe\"\n+\t\t\t} else {\n+\t\t\t\tldBui...
2022-07-06T11:45:19
vercel/next.js
4ec443931aaf53bd831fa57ac5733b97d7dac550
403cb4a6ac446dfb5176bf21a0d31b412323c49e
fix(cna): pin dependency versions (#56177) ### What? This PR is pinning the installed versions of dependencies in `create-next-app` ### Why? Currently, we write `latest` to `package.json`, ### How? As far as I can tell, there is no way to update the `package.json` file based on the lockfile (which does have the i...
[ { "path": "packages/create-next-app/templates/index.ts", "patch": "@@ -8,6 +8,7 @@ import fs from 'fs/promises'\n import path from 'path'\n import { cyan, bold } from 'picocolors'\n import { Sema } from 'async-sema'\n+import { version } from '../package.json'\n \n import { GetTemplateFileArgs, InstallTempla...
2023-09-28T18:22:02
nodejs/node
bc55b57e64a374e5b677644c857c3d26247c72ef
9da57a86ee7d9cb7b27ab8fa9ee241dc047bbd0e
lib: fix few comment typos in fs/watchers.js PR-URL: https://github.com/nodejs/node/pull/31705 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Anna Henningsen <anna...
[ { "path": "lib/internal/fs/watchers.js", "patch": "@@ -78,7 +78,7 @@ StatWatcher.prototype[kFSStatWatcherStart] = function(filename,\n this._handle.unref();\n \n // uv_fs_poll is a little more powerful than ev_stat but we curb it for\n- // the sake of backwards compatibility\n+ // the sake of backwa...
2020-02-09T09:38:45
electron/electron
97b4f121121f76d9ff2d5fe944c1d37d943e4572
926cabec784743d1d560753c90f9be08df64dd40
Fix linting issues
[ { "path": "spec/api-browser-window-spec.js", "patch": "@@ -1765,12 +1765,12 @@ describe('browser-window module', function () {\n })\n \n it('should not affect the bounds when restoring the window', function (done) {\n- w.minimize();\n+ w.minimize()\n setTimeout(() => {\n- w.re...
2016-11-22T05:13:08
golang/go
1243ec9c177007879958443262fe4d25099c5ede
c391156f96357593fa18fccee305401e3f82a1a6
cmd/compile: only check implicit dots for method call enabled by a type bound Fixes #53419 Change-Id: Ibad64f5c4af2112deeb0a9ecc9c589b17594bd05 Reviewed-on: https://go-review.googlesource.com/c/go/+/414836 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ke...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1654,12 +1654,14 @@ func (g *genInst) getDictionarySym(gf *ir.Name, targs []*types.Type, isMeth bool\n \t\t\t\tse := call.X.(*ir.SelectorExpr)\n \t\t\t\tif se.X.Type().IsShape() {\n \t\t\t\t\t// This is a method call enabled by a type boun...
2022-06-28T19:05:21
vercel/next.js
9cd46e335cd7b2b88fec8b6e1b0060237240685d
e18c9dde3f7ee2163f1bdf2648e38df798f3317b
docs: Renamed function that is used by other name (#56170) In "app/actions.ts" the function is named like create(), but in "app/add-form.tsx" file "createTodo" function is imported and used. This is related to TypeScript examples, .js files are ok. ### What? Renamed a function. ### Why? There are two example files...
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx", "patch": "@@ -529,7 +529,7 @@ Server Actions can also return [serializable objects](https://developer.mozilla.\n ```ts filename=\"app/actions.ts\" switcher\n 'use server'\n \n-export async function create(prevS...
2023-09-28T15:05:24
facebook/react
bf275a909748a1e64ff06934ce0b6f8f285b86f7
d9c0be408b426b7d163029dbd95f56ba2f39366c
Docs Typo Fix: s/distinciton/distinction
[ { "path": "docs/docs/04-multiple-components.md", "patch": "@@ -62,7 +62,7 @@ React.renderComponent(\n \n In the above example, instances of `Avatar` *own* instances of `ProfilePic` and `ProfileLink`. In React, **an owner is the component that sets the `props` of other components**. More formally, if a compo...
2013-07-19T16:33:54
electron/electron
621a934160ecabb99f6e667930978c009ba0928b
c65033a13b7ec349e10cf54f47a81f12997db052
Fix maximize --> unmaximize positioning issue
[ { "path": "atom/browser/native_window_views.h", "patch": "@@ -216,6 +216,7 @@ class NativeWindowViews : public NativeWindow,\n // size of the window while in the normal state (not maximized, minimized or\n // fullscreen), so we restore it correctly.\n gfx::Rect last_normal_bounds_;\n+ gfx::Rect last_...
2016-11-22T05:07:05
nodejs/node
9da57a86ee7d9cb7b27ab8fa9ee241dc047bbd0e
d5650418762ed3562db8f7fabbca575a2fde35a5
test: fix flaky parallel/test-repl-history-navigation test Two scenarios should be tested: 1. The completion is triggered and the result is printed before the next invocation. 2. The completion is triggered multiple times right after each other without waiting for the result. In that case only the last result ...
[ { "path": "test/parallel/test-repl-history-navigation.js", "patch": "@@ -18,7 +18,6 @@ const defaultHistoryPath = path.join(tmpdir.path, '.node_repl_history');\n // Create an input stream specialized for testing an array of actions\n class ActionStream extends stream.Stream {\n run(data) {\n- let reall...
2020-02-09T13:42:57
golang/go
2acd3646fc448b760e82fcace189adda94a1904a
53a4152d478d75ef4b71e428b9d69ed54144081f
cmd/compile: rework induction variable detector Induction variable detection is still not quite right. I've added another failing test. Redo the overflow/underflow detector so it is more obviously correct. Update #53600 Fixes #53653 Fixes #53663 Change-Id: Id95228e282fdbf6bd80b26e1c41d62e935ba08ff Reviewed-on: http...
[ { "path": "src/cmd/compile/internal/ssa/loopbce.go", "patch": "@@ -5,6 +5,7 @@\n package ssa\n \n import (\n+\t\"cmd/compile/internal/base\"\n \t\"fmt\"\n \t\"math\"\n )\n@@ -90,41 +91,42 @@ func findIndVar(f *Func) []indVar {\n \t\t\tcontinue\n \t\t}\n \n-\t\tvar flags indVarFlags\n-\t\tvar ind, max *Value...
2022-07-02T18:07:55
vercel/next.js
f95f8c52d550b52e5daa09706fd57e1c9a791029
e4d072f35d15c83a6c5516b6230b2f009765ba3d
Add experimental.scrollRestoration for Turbopack (#56150) Skipping this one was as much work as implementing it, so I've just implemented the flag. This option is no longer relevant for `app` though. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothl...
[ { "path": "packages/next-swc/crates/next-core/src/env.rs", "patch": "@@ -130,6 +130,15 @@ pub async fn env_for_js(\n },\n );\n \n+ map.insert(\n+ \"__NEXT_SCROLL_RESTORATION\".to_string(),\n+ if next_config.experimental.scroll_restoration.unwrap_or(false) {\n+ \"true\...
2023-09-28T11:22:42