repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
rust-lang/rust
bec8e1dc38526c8a2856deb0119131946ec10c69
c35e847a400e4bb9c25d58e539cfb47e6bb58062
Fix documentation of tools
[ { "path": "src/bootstrap/src/core/build_steps/doc.rs", "patch": "@@ -16,8 +16,7 @@ use crate::core::build_steps::tool::{\n self, RustcPrivateCompilers, SourceType, Tool, prepare_tool_cargo,\n };\n use crate::core::builder::{\n- self, Alias, Builder, Compiler, Kind, RunConfig, ShouldRun, Step, StepMet...
2025-08-06T16:03:17
nodejs/node
6fdced46db1e86728705b525dc0d2d49c214494e
73324cf76a1898d45d887a44145e7ab12236c076
crypto: key size must be int32 in DiffieHellman() The JS code accepted any value where `typeof sizeOrKey === 'number'` was true but the C++ code checked that `args[0]->IsInt32()` and subsequently aborted. Fixes: https://github.com/nodejs/node/issues/32738 PR-URL: https://github.com/nodejs/node/pull/32739 Reviewed-By...
[ { "path": "lib/internal/crypto/diffiehellman.js", "patch": "@@ -14,7 +14,10 @@ const {\n ERR_INVALID_ARG_TYPE,\n ERR_INVALID_OPT_VALUE\n } = require('internal/errors').codes;\n-const { validateString } = require('internal/validators');\n+const {\n+ validateString,\n+ validateInt32,\n+} = require('inte...
2020-04-10T10:42:22
facebook/react
31bc18d39e1c194fcd451e48964c9813b9993d27
f4798ebee192cb5e9551989385b96e59fb73895e
Add simple docs on statics to reference section Fixes #1056.
[ { "path": "docs/docs/ref-03-component-specs.md", "patch": "@@ -67,6 +67,31 @@ The `mixins` array allows you to use mixins to share behavior among multiple com\n <!-- TODO: Document mixins here directly. -->\n \n \n+### statics\n+\n+```javascript\n+object statics\n+```\n+\n+The `statics` object allows you to...
2014-02-14T06:13:39
golang/go
68b10c2bb8ab95397c70b32ce7c3373eaa6ae9ce
0e16d67a560f22ac1fcbc1fa12d25add8bf649d6
internal/trace: fix typo in goroutines.go assosciated -> associated Change-Id: Id1cbbdea12f0239a9e173ece934c18cc9ffcf0f4 GitHub-Last-Rev: 7fea9de6c27b95f91591db4b5bd9023eb80dc522 GitHub-Pull-Request: golang/go#54739 Reviewed-on: https://go-review.googlesource.com/c/go/+/425596 Reviewed-by: Michael Pratt <mpratt@googl...
[ { "path": "src/internal/trace/goroutines.go", "patch": "@@ -172,7 +172,7 @@ func GoroutineStats(events []*Event) map[uint64]*GDesc {\n \t\t\t// of the active region. For ease handling of this\n \t\t\t// case, we create a fake region description with the\n \t\t\t// task id. This isn't strictly necessary as t...
2022-08-29T15:48:47
electron/electron
cca1db47ee95ad2248c48d1eb40b7f7837413cea
528853efbf6243f994df8a13678f6bf1be2e1fa8
Print error when path is not found
[ { "path": "atom/browser/ui/webui/pdf_viewer_ui.cc", "patch": "@@ -58,6 +58,9 @@ class BundledDataSource : public content::URLDataSource {\n int resource_id = entry->second;\n const ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();\n callback.Run(rb.LoadDataResourceBytes(res...
2017-02-14T10:49:40
rust-lang/rust
980fe06c62b96fcc200329fbd16535b20223b23f
b3d90afb56e4016bbef162578e4fb0e1fc77d9b6
Fix staging for `doc compiler`
[ { "path": "src/bootstrap/src/core/build_steps/doc.rs", "patch": "@@ -756,21 +756,31 @@ fn doc_std(\n builder.cp_link_r(&out_dir, out);\n }\n \n+/// Prepare a compiler that will be able to document something for `target` at `stage`.\n+fn prepare_doc_compiler(builder: &Builder<'_>, target: TargetSelection...
2025-08-06T14:19:19
nodejs/node
73324cf76a1898d45d887a44145e7ab12236c076
ee9280a02a4f8810a2d4fd409d08266ce95f2184
cluster: fix error on worker disconnect/destroy Avoid sending multiple `exitedAfterDisconnect` messages when concurrently calling `disconnect()` and/or `destroy()` from the worker so `ERR_IPC_DISCONNECTED` errors are not generated. Fixes: https://github.com/nodejs/node/issues/32106 PR-URL: https://github.com/nodejs/...
[ { "path": "lib/internal/cluster/child.js", "patch": "@@ -228,16 +228,23 @@ function _disconnect(masterInitiated) {\n \n // Extend generic Worker with methods specific to worker processes.\n Worker.prototype.disconnect = function() {\n- _disconnect.call(this);\n+ if (![ 'disconnecting', 'destroying' ].incl...
2020-04-01T12:22:07
vercel/next.js
c370c179b50fb09c6cb1f2a3b2c81c3302504c2b
da0f2ea11a4b0463e465b6a98ccac38532b8b5ef
build: Update `swc_core` to `v0.86.40` and update turbopack (#57904) ### What? * https://github.com/vercel/turbo/pull/6286 * https://github.com/vercel/turbo/pull/6367 * https://github.com/vercel/turbo/pull/6354 * https://github.com/vercel/turbo/pull/6343 --- - Update `swc_core` to `v0.86.40` - Revert #56281 ...
[ { "path": "Cargo.lock", "patch": "@@ -40,15 +40,16 @@ dependencies = [\n \n [[package]]\n name = \"ahash\"\n-version = \"0.8.3\"\n+version = \"0.8.6\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f\"\n+chec...
2023-11-07T15:26:28
golang/go
0e16d67a560f22ac1fcbc1fa12d25add8bf649d6
eeb1ba7a89975beb1993242d8f2db05a6237e01c
net/http: FileServer method check + minimal OPTIONS implementation FileServer provides a read-only service. Methods other than GET or HEAD should be denied with an Allow header. Fixes #53501 Change-Id: I1d31b405eefd90565ecd474ac3f8d8d6e3b15072 Reviewed-on: https://go-review.googlesource.com/c/go/+/413554 TryBot-Resu...
[ { "path": "src/net/http/fs.go", "patch": "@@ -843,12 +843,22 @@ func FileServer(root FileSystem) Handler {\n }\n \n func (f *fileHandler) ServeHTTP(w ResponseWriter, r *Request) {\n-\tupath := r.URL.Path\n-\tif !strings.HasPrefix(upath, \"/\") {\n-\t\tupath = \"/\" + upath\n-\t\tr.URL.Path = upath\n+\tconst...
2022-06-21T16:50:35
electron/electron
2b64452d9c2e3118c182a2b13bc6a055e8736e09
3baa186c0af2a68da2267f261c9c241200b94a58
fix build config
[ { "path": "electron.gyp", "patch": "@@ -426,20 +426,19 @@\n {\n 'action_name': 'pdfviewer',\n 'inputs': [\n- '<(grit_dir)/grit.py',\n 'vendor/pdf_viewer/resources.grd',\n ],\n 'outputs': [\n- 'pdf_viewer_resouces.h',\n- ...
2017-01-23T21:26:58
facebook/react
80cbdea1447deb96be7185568f9adb5169585769
1991e46f1a701a23d9b7d69682e3f9db2df5d841
[docs] Update supported attributes list Fixes #1008.
[ { "path": "docs/docs/ref-04-tags-and-attributes.md", "patch": "@@ -19,21 +19,20 @@ The following HTML elements are supported:\n a abbr address area article aside audio b base bdi bdo big blockquote body br\n button canvas caption cite code col colgroup data datalist dd del details dfn\n div dl dt em embed f...
2014-02-14T05:47:49
nodejs/node
ee9280a02a4f8810a2d4fd409d08266ce95f2184
8e956f450ad0ebd2b06235620eaaa00ead3af375
http2,doc: minor fixes Some small fixes on HTTP/2 and its documentation: - Add a note that, on server streams, it's not necessary to start data flow. - Set EOF flag if we have marked all data for sending: there's no need to wait until the queue is actually empty (and send a separate, empty DATA). (Not...
[ { "path": "doc/api/http2.md", "patch": "@@ -913,8 +913,9 @@ the value is `undefined`, the stream is not yet ready for use.\n All [`Http2Stream`][] instances are destroyed either when:\n \n * An `RST_STREAM` frame for the stream is received by the connected peer,\n- and pending data has been read.\n-* The `...
2020-04-27T01:15:07
vercel/next.js
b091869f29dfd507f361fc9574bb98b9941ad110
a84710bc9e6d50cc77a9d0453e06d497f75bf1c2
Revert "Revert "Add retry for fetching subsetted Google Fonts"" (#58075) Reverts vercel/next.js#57154 Brings back the changes but uses the compiled version of async-retry instead. Previously these changes causes an error as async-retry wasn't installed.
[ { "path": "packages/font/package.json", "patch": "@@ -23,5 +23,8 @@\n \"@types/fontkit\": \"2.0.0\",\n \"@vercel/ncc\": \"0.34.0\",\n \"fontkit\": \"2.0.2\"\n+ },\n+ \"peerDependencies\": {\n+ \"next\": \"*\"\n }\n }", "additions": 3, "deletions": 0, "language": "JSON" }, ...
2023-11-07T11:54:11
golang/go
eeb1ba7a89975beb1993242d8f2db05a6237e01c
739304978086143a5d8c3b9bfa4f9f25aef23e90
cmd/compile/obj/arm64: fix encoding error of FMOVD/FMOVS $0|ZR Previously the first operand of FMOVD and FMOVS could be $0, which would be converted to the ZR register. This is prohibited by CL 404316, also it broken the encoding of "FMOVD/FMOVS ZR, Rn", this CL restores this instruction format and fixes the encoding ...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64.s", "patch": "@@ -234,6 +234,10 @@ TEXT\tfoo(SB), DUPOK|NOSPLIT, $-8\n \tFMOVD\t$(0.1796875), F2 // 02f0681e\n \tFMOVS\t$(0.96875), F3 // 03f02d1e\n \tFMOVD\t$(28.0), F4 // 0490671e\n+\tFMOVD\t$0, F0 ...
2022-08-24T03:28:16
electron/electron
3baa186c0af2a68da2267f261c9c241200b94a58
e767c59da252e0338cf43dd5142bfa69f4a27536
fix failing download spec
[ { "path": "spec/api-session-spec.js", "patch": "@@ -313,11 +313,11 @@ describe('session module', function () {\n fs.unlinkSync(downloadFilePath)\n }\n \n- it('can download using BrowserWindow.loadURL', function (done) {\n+ it('can download using WebContents.downloadURL', function (done) {\n ...
2017-01-23T13:41:09
facebook/react
b98f1adf1acc18837af498c86a617858548abe28
6f305505a79732a212e425078efcd28f908985d3
Avoid innerText for better newline behavior Fixes #1080.
[ { "path": "src/browser/ReactDOMIDOperations.js", "patch": "@@ -27,7 +27,6 @@ var DOMPropertyOperations = require('DOMPropertyOperations');\n var ReactMount = require('ReactMount');\n var ReactPerf = require('ReactPerf');\n \n-var getTextContentAccessor = require('getTextContentAccessor');\n var invariant = ...
2014-02-14T01:43:36
nodejs/node
1d0b24924f0953d022167df90c018a75139c71a4
aa9708e479787bdffc9e837a6599f10581014891
lib: fix validateport error message when allowZero is false PR-URL: https://github.com/nodejs/node/pull/32861 Fixes: https://github.com/nodejs/node/issues/32857 Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James...
[ { "path": "lib/internal/errors.js", "patch": "@@ -1318,8 +1318,12 @@ E('ERR_SERVER_NOT_RUNNING', 'Server is not running.', Error);\n E('ERR_SOCKET_ALREADY_BOUND', 'Socket is already bound', Error);\n E('ERR_SOCKET_BAD_BUFFER_SIZE',\n 'Buffer size must be a positive integer', TypeError);\n-E('ERR_SOCKET_BA...
2020-04-15T05:23:26
vercel/next.js
5bba6224f990438f3dfd6fa3a533a530979f8099
d95900c7b0c94c3ac1e942e699188a8cc7814c46
Fix incorrect normalizing in minimal mode (#58116) This reverts an extra change in https://github.com/vercel/next.js/commit/3fa9f31ce15edb4e98b5a2d358411ad31015a60d causing normalizing to be incorrect and route params to not parse properly with i18n. This unblocks https://github.com/vercel/vercel/pull/10799
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -958,6 +958,15 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n 'http://localhost'\n )\n \n+ if (this.normalizers.rsc.match(matchedPath)) {\n+ matchedPath = this.no...
2023-11-07T04:43:51
golang/go
63e129ba1c458db23f0752d106ed088a2cf38360
a1c9783ca1a98eef0fbfa46f8027e711b471b600
image/png: allow both PLTE and tRNS chunks for TrueColor Prior to this commit, png.Decode would allow TrueColor PNG images that have one but not both of PLTE and tRNS chunks. Fixes #54142 Change-Id: I259c1fff86a0aa5640dbadf7ad834e05fbd1430c Reviewed-on: https://go-review.googlesource.com/c/go/+/424916 TryBot-Result:...
[ { "path": "src/image/png/reader.go", "patch": "@@ -51,6 +51,10 @@ func cbPaletted(cb int) bool {\n \treturn cbP1 <= cb && cb <= cbP8\n }\n \n+func cbTrueColor(cb int) bool {\n+\treturn cb == cbTC8 || cb == cbTC16\n+}\n+\n // Filter type, as per the PNG spec.\n const (\n \tftNone = 0\n@@ -898,6 +902,10 @@...
2022-08-19T06:01:33
rust-lang/rust
8c0f4b40803a6d0c6ed6525026217c8d2532d205
eca31528356d9721d9f4dc727da1bda20dfee932
Fix extract_expressions_from_format_string on write! **Input**: ```rust fn main() { write!(f, "{2+3}$0") } ``` **Old output**: ```rust fn main() { write!("{}"$0, 2+3) } ``` **This PR output**: ```rust fn main() { write!(f, "{}"$0, 2+3) } ```
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_expressions_from_format_string.rs", "patch": "@@ -7,8 +7,8 @@ use itertools::Itertools;\n use syntax::{\n AstNode, AstToken, NodeOrToken,\n SyntaxKind::WHITESPACE,\n- T,\n- ast::{self, make, syntax_factory::SyntaxFactor...
2025-08-10T06:37:35
electron/electron
c15f6af8926ceb5e359d312628de6cada893116f
ddc2e0df71204ae602fc28163e8f5788aaf7e4fe
fix crash when pdf viewer is reloaded
[ { "path": "atom/browser/atom_resource_dispatcher_host_delegate.cc", "patch": "@@ -77,11 +77,12 @@ void OnPdfStreamCreated(\n static_cast<AtomBrowserContext*>(web_contents->GetBrowserContext());\n auto stream_manager = browser_context->stream_manager();\n std::string view_id = base::GenerateGUID();...
2017-01-23T11:12:39
nodejs/node
d0377a825bf7ceb838570f434fdd7d4b1773b8fa
497ad815aee22a70121ca6d51d69bc0bcc923fa3
path: fix comment grammar PR-URL: https://github.com/nodejs/node/pull/32942 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host>
[ { "path": "lib/path.js", "patch": "@@ -385,14 +385,14 @@ const win32 = {\n return '.';\n \n // Make sure that the joined path doesn't start with two slashes, because\n- // normalize() will mistake it for an UNC path then.\n+ // normalize() will mistake it for a UNC path then.\n //\n ...
2020-04-20T13:21:17
vercel/next.js
6e1eda72e12c658dc0620dd0ab70f273bd41a01c
3eaa96fff6e00efa871141ea0bb6344ba9037323
ppr: fix fetch postpone not having correct React version (#58107) When `patchFetch` is applied at during `buildAppStaticPaths` ([ref](https://github.com/vercel/next.js/blob/030021234b288638aa1d971c9e051dea5de950b6/packages/next/src/build/utils.ts#L1253-L1256)), it's done so without any context of the bundled React run...
[ { "path": "packages/next/src/build/templates/app-route.ts", "patch": "@@ -3,6 +3,7 @@ import {\n type AppRouteRouteModuleOptions,\n } from '../../server/future/route-modules/app-route/module.compiled'\n import { RouteKind } from '../../server/future/route-kind'\n+import { patchFetch as _patchFetch } from ...
2023-11-06T23:51:39
rust-lang/rust
dde77db2ab46cb4319ced77a20b97d01ab13647c
307ebca295428fc14718ebae874e816f06532145
fix tests/run formatting
[ { "path": "tests/run/int.rs", "patch": "@@ -7,12 +7,10 @@ fn main() {\n use std::hint::black_box;\n \n macro_rules! check {\n- ($ty:ty, $expr:expr) => {\n- {\n- const EXPECTED: $ty = $expr;\n- assert_eq!($expr, EXPECTED);\n- }\n- };\n...
2025-08-10T06:24:48
golang/go
863d57cc7df5b1604d501892b7293efe0fa7e690
7f92ccea5ca5832a1dc63c02fc71db2d698f7915
cmd/go/internal/modload: return error when duplicate module paths among modules in go.work Fixes #54048 Change-Id: I27350af451ff50532856092f2d99b6cc6dc6743d Reviewed-on: https://go-review.googlesource.com/c/go/+/419557 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: David Chase <drchase@google.com> Run-Try...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -993,6 +993,9 @@ func makeMainModules(ms []module.Version, rootDirs []string, modFiles []*modfile\n \t}\n \tmainModulePaths := make(map[string]bool)\n \tfor _, m := range ms {\n+\t\tif mainModulePaths[m.Path] {\n+\t\t\tbase.Errorf(\"go: module %s...
2022-07-26T13:55:26
facebook/react
49ddf905b18c8de5dced5cb2bf83008429ec1f25
ecfd0c14739ab8ae65bac4f493b6c3c3548df166
Use graceful-fs to avoid EMFILE errors
[ { "path": "npm-jsx_whitespace_transform/package.json", "patch": "@@ -5,6 +5,7 @@\n \"main\": \"run.js\",\n \"dependencies\": {\n \"esprima-fb\": \"~2001.1001.0-dev-harmony-fb\",\n+ \"graceful-fs\": \"~2.0.0\",\n \"jstransform\": \"~2.0.1\",\n \"node-find-files\": \"0.0.2\",\n \"optimi...
2014-02-14T03:13:42
electron/electron
578b717b5f369d658f48708199b7c010a8f8414d
c8b932fce4b14ebc59d0a780016dcf09cc81d66c
fix cpplint error
[ { "path": "atom/browser/atom_browser_main_parts.cc", "patch": "@@ -8,11 +8,11 @@\n #include \"atom/browser/atom_access_token_store.h\"\n #include \"atom/browser/atom_browser_client.h\"\n #include \"atom/browser/atom_browser_context.h\"\n+#include \"atom/browser/atom_web_ui_controller_factory.h\"\n #include ...
2017-01-18T17:53:54
nodejs/node
9545013b525f89f77a897b9137f10d3e1c04f971
f64c640e66ef9393139062991aa87b51f06f6294
vm: throw error when duplicated exportNames in SyntheticModule Fixes: https://github.com/nodejs/node/issues/32806 PR-URL: https://github.com/nodejs/node/pull/32810 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "lib/internal/vm/module.js", "patch": "@@ -22,6 +22,7 @@ const {\n } = require('internal/util');\n const {\n ERR_INVALID_ARG_TYPE,\n+ ERR_INVALID_ARG_VALUE,\n ERR_VM_MODULE_ALREADY_LINKED,\n ERR_VM_MODULE_DIFFERENT_CONTEXT,\n ERR_VM_MODULE_CANNOT_CREATE_CACHED_DATA,\n@@ -379,8 +380,17 @@ ...
2020-04-13T10:01:47
vercel/next.js
ffeaa8f366105e61b42260677cf9984608fe478b
030021234b288638aa1d971c9e051dea5de950b6
fix: normalization and invariant fixes for ppr (#58105)
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -958,12 +958,14 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n 'http://localhost'\n )\n \n+ const { pathname: urlPathname } = new URL(req.url, 'http://localhost')\n+\n ...
2023-11-06T20:51:06
rust-lang/rust
6b8a812aafaad6b0edd04d12569fe43ee1e69eed
eca31528356d9721d9f4dc727da1bda20dfee932
parser: fix parsing of trait bound polarity and for-binders The rustc AST allows both `for<>` binders and `?` polarity modifiers in trait bounds, but they are parsed in a specific order and validated for correctness: 1. `for<>` binder is parsed first. 2. Polarity modifiers (`?`, `!`) are parsed second. 3. The p...
[ { "path": "src/tools/rust-analyzer/crates/parser/src/grammar/generic_params.rs", "patch": "@@ -182,12 +182,6 @@ fn type_bound(p: &mut Parser<'_>) -> bool {\n );\n m.complete(p, USE_BOUND_GENERIC_ARGS);\n }\n- T![?] if p.nth_at(1, T![for]) => {\n- // test que...
2025-08-10T05:38:17
golang/go
7f92ccea5ca5832a1dc63c02fc71db2d698f7915
846c378b8c0cebd2d8522a5693b45ca95b018a78
debug/pe: check size in uint64 to avoid overflow uint32(sz) != n*uint32(ddSz) can go wrong if the RHS overflows, so do it in wider precision. Fixes #54640. Change-Id: I776563330e46de6cdacd4055f6ff08e7de67797f Reviewed-on: https://go-review.googlesource.com/c/go/+/425364 Reviewed-by: Dan Kortschak <dan@kortschak.io> ...
[ { "path": "src/debug/pe/file.go", "patch": "@@ -603,8 +603,8 @@ func readOptionalHeader(r io.ReadSeeker, sz uint16) (any, error) {\n // its size and number of data directories as seen in optional header.\n // It parses the given size of bytes and returns given number of data directories.\n func readDataDire...
2022-08-24T19:53:40
electron/electron
4f31a5c452c038a79d8575c58258f9c44e0ea45f
d7f458d232ad2822002042bbc5e69f66af0710d9
Fix duplicate protocol method declaration
[ { "path": "atom/browser/ui/cocoa/touch_bar_forward_declarations.h", "patch": "@@ -212,7 +212,8 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =\n @protocol NSScrubberDataSource<NSObject>\n \n - (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber;\n-- (NSInteger)numbe...
2017-03-13T17:39:42
vercel/next.js
26d934341940803bea5ed83554fd17c343bc8089
38e8b523dc5377d3cd3c5c2c865dd4418ed357db
Fix update-turbopack-test-manifest.yml workflow (#58097) https://github.com/vercel/next.js/actions/runs/6774028544/job/18410200888#step:4:35
[ { "path": ".github/workflows/update-turbopack-test-manifest.yml", "patch": "@@ -25,6 +25,12 @@ jobs:\n node-version: ${{ env.NODE_LTS_VERSION }}\n check-latest: true\n \n+ - run: corepack enable\n+\n+ - name: Install dependencies\n+ shell: bash\n+ run: pnpm i\n+\n...
2023-11-06T17:31:11
facebook/react
47645854f962aef00c9c7b9d566ea21b8ab3b8b6
acbba1ae6720612019c1afbeafc08b6e2153e261
un-revert textContent, support multi-line strings in modern browsers reverts 23ab30ff873fba816129cafa0c40112dd2ee990d because the issue it fixed doesn't seem to be a problem anymore. textContent should be better for more things anyway, as the original 309a88bcf62c1c64a2b91c0eb753c19209a425b2 indicates. It should be fa...
[ { "path": "src/browser/dom/getTextContentAccessor.js", "patch": "@@ -30,9 +30,11 @@ var contentKey = null;\n */\n function getTextContentAccessor() {\n if (!contentKey && ExecutionEnvironment.canUseDOM) {\n- contentKey = 'innerText' in document.createElement('div') ?\n- 'innerText' :\n- 'tex...
2014-02-14T02:11:41
rust-lang/rust
caa6d3615bb22398f96c4458bd33ac560c0dcc14
ca77504943887037504c7fc0b9bf06dab3910373
mbe: Fix typo in attribute tracing
[ { "path": "compiler/rustc_expand/src/mbe/macro_rules.rs", "patch": "@@ -347,7 +347,7 @@ fn expand_macro_attr(\n \n if cx.trace_macros() {\n let msg = format!(\n- \"expanding `$[{name}({})] {}`\",\n+ \"expanding `#[{name}({})] {}`\",\n pprust::tts_to_string(&args...
2025-08-10T06:01:08
golang/go
a2d2e6e7cb12c57cd8f5af64909882bab1dbca19
a0948493ac693b46b4124a4380fd044c6a05f1b3
net: add FlagRunning to exactly reflect the states of an interface. Correctly set this flag while parsing the syscall result. The FlagUp flag can not distinguish the following situations: 1. interface is plugged, automatically up, and in running(UP) state 2. interface is not plugged, administratively or manually set ...
[ { "path": "api/next/53482.txt", "patch": "@@ -0,0 +1,2 @@\n+pkg net, const FlagRunning = 32 #53482\r\n+pkg net, const FlagRunning Flags #53482\r", "additions": 2, "deletions": 0, "language": "Plain Text" }, { "path": "src/net/interface.go", "patch": "@@ -39,11 +39,12 @@ type Interfac...
2022-08-26T08:45:23
nodejs/node
9c7c8769183b5d58925925b8d34571f41e7be275
039c5e4b893071ab8857794ea421481b87fb31eb
doc: fix LTS replaceme tags When cherry-picking release commits for LTS releases into master, the `REPLACEME` metadata can be taken over as well, to give users a more accurate view of what is being released on which release line. This addresses this problem for all previous LTS releases for which this has not been do...
[ { "path": "doc/api/assert.md", "patch": "@@ -11,7 +11,9 @@ invariants.\n <!-- YAML\n added: v9.9.0\n changes:\n- - version: v13.9.0\n+ - version:\n+ - v13.9.0\n+ - v12.16.2\n description: Changed \"strict mode\" to \"strict assertion mode\" and \"legacy\n mode\" to \"legacy ...
2020-04-24T16:43:06
electron/electron
76ee7fda2b2ec83de0755555604c80442f9882b3
8aba64025038e79f043793b29871e77dd88bc118
Fixed linting
[ { "path": "lib/browser/api/menu-item-roles.js", "patch": "@@ -178,18 +178,16 @@ const roles = {\n role: 'paste'\n },\n \n- process.platform === 'darwin' ?\n- {\n+ process.platform === 'darwin' ? {\n role: 'pasteandmatchstyle'\n } : {},\n \n {\n role: ...
2017-03-13T13:26:34
vercel/next.js
16f892f49fb8166cd921c859b1d267d78686a014
d7551296264aca653614794d298a7b6478ab379f
Implement `VersionedContent` on `EcmascriptBuildNodeChunkContent` (vercel/turbo#6354) ### Description Doing this allows us to use its `GenerateSourceMap` implementation, providing source maps and code frames in the error overlay whenever an error happens. ### Testing Instructions Fixes some of the "basic HMR" test ...
[ { "path": "crates/turbo-tasks-hash/src/deterministic_hash.rs", "patch": "@@ -150,6 +150,33 @@ impl<T: DeterministicHash> DeterministicHash for Vec<T> {\n }\n }\n \n+macro_rules! tuple_impls {\n+ ( $( $name:ident )+ ) => {\n+ impl<$($name: DeterministicHash),+> DeterministicHash for ($($name,)+...
2023-11-06T16:55:20
golang/go
a0948493ac693b46b4124a4380fd044c6a05f1b3
333681d6a8cc6f352d42d04bcf26b39a1ea7ef83
debug/elf: fix reloc number of R_PPC64_SECTOFF_LO_DS R_PPC64_SECTOFF_LO_DS is defined as reloc 62 on all PPC64 ELF ABIs. Fixes #53356 Change-Id: I5fabf6be32f3310c5aed47d4d654e05fb7bc9de0 Reviewed-on: https://go-review.googlesource.com/c/go/+/411915 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance...
[ { "path": "api/except.txt", "patch": "@@ -1,3 +1,4 @@\n+pkg debug/elf, const R_PPC64_SECTOFF_LO_DS = 61\n pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)\n pkg math, const MaxFloat64 = 1.79769e+308 // 17976931348623157081452742373170435679810000000000000000000000000000000000000000000...
2022-06-13T16:05:18
nodejs/node
307c67be175b8fe7d9dd9e1b5ed55d928b73d66d
76ba9503a2aa1e2f4a304c4d2c60756cfa7ee09e
n-api: fix false assumption on napi_async_context structures napi_async_context should be an opaque type and not be used as same as node::async_context. PR-URL: https://github.com/nodejs/node/pull/32928 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/node-api/test_callback_scope/binding.cc", "patch": "@@ -4,21 +4,12 @@\n \n namespace {\n \n-// the test needs to fake out the async structure, so we need to use\n-// the raw structure here and then cast as done behind the scenes\n-// in napi calls.\n-struct async_context {\n- double async_i...
2020-04-19T09:45:02
electron/electron
a85ae27d68688837734a65d0d470c420d8044d32
25a231fc50b43ae6b338cb5cc9969bf3b35ecaa6
Fix linting
[ { "path": "atom/browser/ui/cocoa/atom_scrubber_data_source.h", "patch": "@@ -13,7 +13,7 @@\n #include \"native_mate/persistent_dictionary.h\"\n \n @interface AtomScrubberDataSource : NSObject<NSScrubberDataSource> {\n- @protected\n+ @protected\n std::vector<mate::PersistentDictionary> items_;\n }\n ", ...
2017-03-13T00:00:10
facebook/react
cda1d8c779f589639fa8d33dbb63b6ec1b0edfce
f37474b75b521f9bbdc13a1f288b470b9e2d8281
Add onError to ReactDOMImg to complement onLoad
[ { "path": "src/browser/dom/components/ReactDOMImg.js", "patch": "@@ -41,10 +41,16 @@ var ReactDOMImg = ReactCompositeComponent.createClass({\n },\n \n componentDidMount: function() {\n+ var node = this.getDOMNode();\n ReactEventEmitter.trapBubbledEvent(\n EventConstants.topLevelTypes.topLoa...
2014-01-09T16:23:29
rust-lang/rust
feed41c852f5075e0faea506527be1937198fc4d
ca77504943887037504c7fc0b9bf06dab3910373
Fix an unstable feature comment that wasn't a doc comment Every other feature in the list uses a doc comment; fix one that used a regular comment to use a doc comment.
[ { "path": "compiler/rustc_feature/src/unstable.rs", "patch": "@@ -545,7 +545,7 @@ declare_features! (\n (incomplete, inherent_associated_types, \"1.52.0\", Some(8995)),\n /// Allows using `pointer` and `reference` in intra-doc links\n (unstable, intra_doc_pointers, \"1.51.0\", Some(80896)),\n- ...
2025-08-09T22:17:02
vercel/next.js
103ca04688c747a26eebac740042ccb033f8aeae
8220976d29149a662b08dc7c2abc5ec8a5de8d4f
feat: always use SWC Wasm fallback when running in WebContainer (#58081) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're maki...
[ { "path": "packages/next/src/build/swc/index.ts", "patch": "@@ -208,8 +208,10 @@ export async function loadBindings(\n (triple: any) =>\n !!triple?.raw && knownDefaultWasmFallbackTriples.includes(triple.raw)\n )\n+ const isWebContainer = process.versions.webcontainer\n const shouldL...
2023-11-06T16:38:26
golang/go
333681d6a8cc6f352d42d04bcf26b39a1ea7ef83
acabf87127fab93513df46811d5f473ef72905b1
net: Resolver.LookupIP return error for empty string Fixes #53995 Change-Id: Ib0de237b57382feb6b8070f2310945aef6c7db01 Reviewed-on: https://go-review.googlesource.com/c/go/+/419734 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: David Chase <drchase@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> ...
[ { "path": "src/net/lookup.go", "patch": "@@ -224,10 +224,15 @@ func (r *Resolver) LookupIP(ctx context.Context, network, host string) ([]IP, er\n \tdefault:\n \t\treturn nil, UnknownNetworkError(network)\n \t}\n+\n+\tif host == \"\" {\n+\t\treturn nil, &DNSError{Err: errNoSuchHost.Error(), Name: host, IsNot...
2022-07-27T16:55:31
nodejs/node
4e8797353c86ba86799ce0d19236d133188f1c9d
684a81d023dc4071c31b994f0447d3401af228f8
build: fix vcbuild error for missing Visual Studio The previous error was wrongly redirecting users to the ICU installation steps, which is unrelated to missing Visual Studio. PR-URL: https://github.com/nodejs/node/pull/32658 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bartosz Sosnowski <bartosz@jan...
[ { "path": "vcbuild.bat", "patch": "@@ -321,7 +321,7 @@ goto msbuild-found\n :msbuild-not-found\n echo Failed to find a suitable Visual Studio installation.\n echo Try to run in a \"Developer Command Prompt\" or consult\n-echo https://github.com/nodejs/node/blob/master/BUILDING.md#windows-1\n+echo https://gi...
2020-04-04T16:09:09
electron/electron
3349e32196cabc3fb1d2371cab4d8872fbfbdb28
3b2faf7b8941f4bf011c28780c5c4658cde150a3
Verify selectedIndex to prevent NSRangeException
[ { "path": "atom/browser/ui/cocoa/atom_touch_bar.mm", "patch": "@@ -465,7 +465,8 @@ - (void)updateSegmentedControl:(NSCustomTouchBarItem*)item\n \n int selectedIndex = 0;\n settings.Get(\"selectedIndex\", &selectedIndex);\n- control.selectedSegment = selectedIndex;\n+ if (selectedIndex >= 0 && selected...
2017-03-10T18:09:14
facebook/react
6f305505a79732a212e425078efcd28f908985d3
f37474b75b521f9bbdc13a1f288b470b9e2d8281
Remove old whitespace doc warning This was fixed by #480.
[ { "path": "docs/docs/02.2-jsx-gotchas.md", "patch": "@@ -13,17 +13,6 @@ JSX looks like HTML but there are some important differences you may run into.\n >\n > For DOM differences, such as the inline `style` attribute, check [here](/react/docs/dom-differences.html).\n \n-## Whitespace Removal\n-\n-JSX doesn'...
2014-02-13T09:36:20
rust-lang/rust
c503487a6f1402ed37051e435af0c410a3815b14
ca77504943887037504c7fc0b9bf06dab3910373
Avoid abbreviating "numerator" as "numer", to allow catching typo "numer" elsewhere `typos.toml` has an exception for "numer", to avoid flagging its use as an abbreviation for "numerator". Remove the use of that abbrevation, spelling out "numerator" instead, and remove the exception, so that typo checks can find futur...
[ { "path": "library/std/src/sys_common/mod.rs", "patch": "@@ -51,17 +51,16 @@ pub trait FromInner<Inner> {\n fn from_inner(inner: Inner) -> Self;\n }\n \n-// Computes (value*numer)/denom without overflow, as long as both\n-// (numer*denom) and the overall result fit into i64 (which is the case\n-// for o...
2025-08-09T18:53:30
vercel/next.js
8220976d29149a662b08dc7c2abc5ec8a5de8d4f
99e584c70e6277d06c0aca2a8c822f154988adde
fixes a problem with cache invalidation (#58079) ### What? fixes a problem with cache invalidation when the next.js folder moves in node_modules, but the version stays equal ### Why? This can happen when pnpm creates a new next.js copy with different peerDependencies.
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1945,9 +1945,10 @@ export default async function getBaseWebpackConfig(\n // Disable memory cache in development in favor of our own MemoryWithGcCachePlugin.\n maxMemoryGenerations: dev ? 0 : Infinity, // Infinity is default value f...
2023-11-06T13:56:04
golang/go
897ad2fe907b98eae4cf60d78b7a262a221931fc
3d6ba27f4ffef372d9a41bc488ca329c2786187f
cmd/compile: fix score for Select{0,1} with type flags A recent change was made for ppc64x to treat ANDCCconst as a tuple, allowing ANDconst to be removed from the list of ops. Included in that change were some improvements to the rules to avoid some extra code, mainly the elimination of a cmp 0 following an andi. and...
[ { "path": "src/cmd/compile/internal/ssa/schedule.go", "patch": "@@ -155,16 +155,10 @@ func schedule(f *Func) {\n \t\t\t\t// VARDEF ops are scheduled before the corresponding LEA.\n \t\t\t\tscore[v.ID] = ScoreMemory\n \t\t\tcase v.Op == OpSelect0 || v.Op == OpSelect1 || v.Op == OpSelectN:\n-\t\t\t\t// Schedu...
2022-08-16T17:06:10
nodejs/node
38998d85384f85fd36fb478d20557d80de886949
b2768ae185bf1256282ea2fda9a04dd3b7bbf1bf
module: do not warn when accessing `__esModule` of unfinished exports Since this property access is performed by generated code, and not used for accessing the actual exports of a module (and because transpilers generally define it as the first key of `module.exports` when it *is* present), it should be okay to allow ...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -824,13 +824,16 @@ function emitCircularRequireWarning(prop) {\n // warns when non-existend properties are accessed.\n const CircularRequirePrototypeWarningProxy = new Proxy({}, {\n get(target, prop) {\n- if (prop in target) return target[pro...
2020-04-24T21:08:57
facebook/react
55be7a71c59c3d33e2d3b75c4fd63747f1557d60
3895353326c44b05450008561d09503ce7604e92
Measure root component render in ReactDefaultPerf Fixes #1074.
[ { "path": "src/browser/ReactMount.js", "patch": "@@ -21,6 +21,7 @@\n var DOMProperty = require('DOMProperty');\n var ReactEventEmitter = require('ReactEventEmitter');\n var ReactInstanceHandles = require('ReactInstanceHandles');\n+var ReactPerf = require('ReactPerf');\n \n var containsNode = require('contai...
2014-02-13T08:59:02
rust-lang/rust
04606e27dcd7074a5bd8f409421f78cbbc4e7cf1
e6223005af498c791387842d91d9cfdea6cc78fc
introduce `path_to_local_with_projections` combine two similar arms use in `eager_transmute` use in `double_ended_iterator_last` use different numbers in the new test case to avoid possible confusion move the other "unfixable" case as well; it shouldn't lint anyway, so having it in the main test file is fine
[ { "path": "clippy_lints/src/methods/double_ended_iterator_last.rs", "patch": "@@ -1,6 +1,6 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::ty::{has_non_owning_mutable_access, implements_trait};\n-use clippy_utils::{is_mutable, is_trait_method, path_to_local, sym};\n+use clippy_ut...
2025-08-02T18:43:41
electron/electron
582662e40fc96801e5d2be9dd4d9bc8b9981de78
7fefb75de5dd6cb4e4c8501d02e419d8fd5b206a
fix markdown link
[ { "path": "docs/tutorial/electron-versioning.md", "patch": "@@ -48,4 +48,4 @@ The `--save-exact` flag will add `electron` to your `package.json` file without\n using a `^` or `~`, e.g. `1.6.2` instead of `^1.6.2`. This practice ensures that\n all upgrades of Electron are a manual operation made by you, the ...
2017-03-10T17:03:04
vercel/next.js
1a137f59fd72bb2cca546d5bae941c6a566db2c8
04fc954be20f8213e6dfd43e3ca2596281de948b
Devlow: refactor browser.ts (vercel/turbo#6286) - Resolves many lint errors - Handles timeouts more gracefully and resolves with offset - Correctly logs outstanding requests on timeouts - Logs when untracked requests are completed - Upgrades playwright Closes WEB-1873 --------- Co-authored-by: Tobias Ko...
[ { "path": "packages/devlow-bench/package.json", "patch": "@@ -39,7 +39,7 @@\n \"inquirer\": \"^9.2.7\",\n \"minimist\": \"^1.2.8\",\n \"pidusage-tree\": \"^2.0.5\",\n- \"playwright-chromium\": \"^1.35.0\",\n+ \"playwright-chromium\": \"^1.39.0\",\n \"split2\": \"^4.2.0\",\n \"tree-...
2023-11-06T12:42:36
nodejs/node
3ccdf8ad228379703e721c179339c332add0842c
540f2785ddfd8c1ce6267fb99d0bdc9f2ab33bcb
src: fix empty-named env var assertion failure Setting an environment variable with an empty name on Windows resulted in an assertion failure, because it was checked for an '=' sign at the beginning without verifying the length was greater than 0. Fixes: https://github.com/nodejs/node/issues/32920 Refs: https://githu...
[ { "path": "src/node_env_var.cc", "patch": "@@ -121,7 +121,7 @@ void RealEnvStore::Set(Isolate* isolate,\n node::Utf8Value val(isolate, value);\n \n #ifdef _WIN32\n- if (key[0] == L'=') return;\n+ if (key.length() > 0 && key[0] == L'=') return;\n #endif\n uv_os_setenv(*key, *val);\n DateTimeConfigura...
2020-04-18T20:49:25
golang/go
3d6ba27f4ffef372d9a41bc488ca329c2786187f
9e810997c02c9c062a25e922a91e7824baef8e4d
net/http: don't panic on very large MaxBytesReaderLimit Fixes #54408 Change-Id: I454199ae5bcd087b8fc4169b7622412105e71113 GitHub-Last-Rev: a33fe7e206d0c394440962acd360df3aa9b117c3 GitHub-Pull-Request: golang/go#54415 Reviewed-on: https://go-review.googlesource.com/c/go/+/423314 Auto-Submit: Dmitri Shuralyov <dmitshur...
[ { "path": "src/net/http/request.go", "patch": "@@ -1169,7 +1169,8 @@ func (l *maxBytesReader) Read(p []byte) (n int, err error) {\n \t// If they asked for a 32KB byte read but only 5 bytes are\n \t// remaining, no need to read 32KB. 6 bytes will answer the\n \t// question of the whether we hit the limit or ...
2022-08-12T16:47:31
rust-lang/rust
e4a5024805d27f885ac667ef15770cc53d32fadc
d70a00fb64b6269eda17f1f0a5ea7b30afc91e9f
Fix a clippy::needless_borrow
[ { "path": "src/tools/miri/src/operator.rs", "patch": "@@ -57,7 +57,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n let ptr = left.to_scalar().to_pointer(this)?;\n // We do the actual operation with usize-typed scalars.\n let left = ImmTy:...
2025-08-09T16:45:07
vercel/next.js
04fc954be20f8213e6dfd43e3ca2596281de948b
37d88f256a5d844c2d8eab8d02eb84ff2957f8d7
improve resolving performance (vercel/turbo#6304) ### Description * read_matches never took the fast path due to a bug in pattern normalization * And there was a bug in the fast path anyway ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> Closes WEB-1892 ...
[ { "path": "crates/turbopack-core/src/resolve/pattern.rs", "patch": "@@ -4,6 +4,7 @@ use anyhow::Result;\n use lazy_static::lazy_static;\n use regex::Regex;\n use serde::{Deserialize, Serialize};\n+use tracing::Instrument;\n use turbo_tasks::{trace::TraceRawVcs, Value, ValueToString, Vc};\n use turbo_tasks_f...
2023-11-06T08:27:59
electron/electron
bfe63d7a884ea573c4a979a60cdc857f1a2c1f47
e6a66b6006103817ff4275df3b793344bb3b5d87
Fix linting
[ { "path": "lib/browser/api/touch-bar.js", "patch": "@@ -218,14 +218,14 @@ TouchBar.TouchBarSegmentedControl = class TouchBarSegmentedControl extends Touch\n if (config == null) config = {}\n const {segmentStyle, segments, selectedIndex, change} = config\n this.type = 'segmented_control'\n- th...
2017-03-10T06:56:26
facebook/react
b0757c51828fc95ad88505fbebebcfdb3f631994
3895353326c44b05450008561d09503ce7604e92
Assert that event listeners are real functions Fixes #1028.
[ { "path": "src/browser/dom/components/LinkedValueUtils.js", "patch": "@@ -19,6 +19,8 @@\n \n \"use strict\";\n \n+var ReactPropTypes = require('ReactPropTypes');\n+\n var invariant = require('invariant');\n \n var hasReadOnlyValue = {\n@@ -106,7 +108,8 @@ var LinkedValueUtils = {\n );\n ...
2014-02-13T07:21:07
rust-lang/rust
21bdfa14cbd99aba173751a2c723fb1e65de401b
ca77504943887037504c7fc0b9bf06dab3910373
Ensure consistent drop for hint::select_unpredictable There are a few alternatives to the implementation. The principal problem is that the selected value must be owned (in the sense of having any drop flag of sorts) when the unselected value is dropped, such that panic unwind goes through the drop of both. This owner...
[ { "path": "library/core/src/hint.rs", "patch": "@@ -790,8 +790,12 @@ pub fn select_unpredictable<T>(condition: bool, true_val: T, false_val: T) -> T\n // is returned. This is necessary because the intrinsic doesn't drop the\n // value that is not selected.\n unsafe {\n+ // Extract the se...
2025-08-09T15:54:43
golang/go
4d13aabdf62a15d19a6f41a781aa7e85f02f3f26
bcd1ac7120e04cc60491005771aee5f27abac220
net/http: add errors.As support for x/net/http2.StreamError To make it easier to extract the HTTP/2 error code (if any) from net/http errors, implement an As method on the vendored copy of golang.org/x/net/http2.StreamError. The new As method lets users work with the vendored error type as though it were the x/net/htt...
[ { "path": "src/net/http/h2_error.go", "patch": "@@ -0,0 +1,38 @@\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+//go:build !nethttpomithttp2\n+// +build !nethttpomithttp2\n+\n+package h...
2022-08-22T23:08:13
nodejs/node
540f2785ddfd8c1ce6267fb99d0bdc9f2ab33bcb
75e4ccb192ea642502b02fe5d61f8a66e74c474a
worker: fix process.env var empty key access PR-URL: https://github.com/nodejs/node/pull/32921 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Z...
[ { "path": "src/node_env_var.cc", "patch": "@@ -227,7 +227,7 @@ void MapKVStore::Set(Isolate* isolate, Local<String> key, Local<String> value) {\n Mutex::ScopedLock lock(mutex_);\n Utf8Value key_str(isolate, key);\n Utf8Value value_str(isolate, value);\n- if (*key_str != nullptr && *value_str != nullp...
2020-04-26T22:28:27
facebook/react
d0502cf3c14048baa503deef49af41c0e81bdd53
3895353326c44b05450008561d09503ce7604e92
Add seamless and sandbox properties for iframe Fixes #1057.
[ { "path": "src/browser/dom/DefaultDOMPropertyConfig.js", "patch": "@@ -98,9 +98,11 @@ var DefaultDOMPropertyConfig = {\n role: MUST_USE_ATTRIBUTE,\n rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n rowSpan: null,\n+ sandbox: null,\n scope: null,\n scrollLeft: MUST_USE_PROPERTY...
2014-02-13T05:06:28
nodejs/node
c15a27cab363e0e958bdec437a90fcb8b3842dde
f5c11a1a0a074603ad55889dbd4125396a47c95e
stream: don't wait for close on legacy streams Try to detect non standard streams and don't wait for 'close' on these. In particular if we detected that destroyed is true before we expect it to be then fallback to compat behavior. Fixes: https://github.com/nodejs/node/issues/33050 PR-URL: https://github.com/nodejs/n...
[ { "path": "lib/internal/streams/end-of-stream.js", "patch": "@@ -72,7 +72,7 @@ function eos(stream, opts, callback) {\n // TODO (ronag): Improve soft detection to include core modules and\n // common ecosystem modules that do properly emit 'close' but fail\n // this generic check.\n- const willEmitCl...
2020-04-25T14:46:47
golang/go
dba9323f764e1ded627a0e3a459377026e9e0ce3
296c40dbbe91db993e4c756f3b2b383d6995edbc
mime: allow duplicate media type parameters with equivalent values Fixes #48866 Change-Id: I2bd2c806e44eb4064b1fb9a6509d79cecbbef013 Reviewed-on: https://go-review.googlesource.com/c/go/+/363094 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Tim King <taking@google.com> TryBot-Result: Gopher Robot <gobot@go...
[ { "path": "src/mime/mediatype.go", "patch": "@@ -180,8 +180,8 @@ func ParseMediaType(v string) (mediatype string, params map[string]string, err e\n \t\t\t\tpmap = continuation[baseName]\n \t\t\t}\n \t\t}\n-\t\tif _, exists := pmap[key]; exists {\n-\t\t\t// Duplicate parameter name is bogus.\n+\t\tif v, exis...
2021-11-10T20:14:03
facebook/react
3895353326c44b05450008561d09503ce7604e92
5abcce534382d85887f3d33475e8e54e3b5d8457
[perf] Refactor ReactDefaultPerf and add DOM operation tracing Split the summary functions into a separate module, and add the ability to view a lot of all DOM operations. Removed DOM timing since it was incorrect. Will potentially replace with a dropped frame counter in the future.
[ { "path": "src/test/ReactDefaultPerf.js", "patch": "@@ -17,151 +17,13 @@\n * @typechecks static-only\n */\n \n+var DOMProperty = require('DOMProperty');\n+var ReactDefaultPerfAnalysis = require('ReactDefaultPerfAnalysis');\n var ReactMount = require('ReactMount');\n var ReactPerf = require('ReactPerf');\n...
2014-02-12T23:52:42
golang/go
296c40dbbe91db993e4c756f3b2b383d6995edbc
c8bb3cff9ee24f310f4d5dd7b39422c346411a53
runtime: mark all methods of atomic types with go:nosplit Atomic types may be used anywhere in the runtime, so they must omit its usual stack overflow checks to avoid errors from stack splits. Change-Id: Icb497334c860bcaa284a2d5a3edc47ee89844301 Reviewed-on: https://go-review.googlesource.com/c/go/+/425484 Reviewed-b...
[ { "path": "src/runtime/internal/atomic/types.go", "patch": "@@ -15,11 +15,15 @@ type Int32 struct {\n }\n \n // Load accesses and returns the value atomically.\n+//\n+//go:nosplit\n func (i *Int32) Load() int32 {\n \treturn Loadint32(&i.value)\n }\n \n // Store updates the value atomically.\n+//\n+//go:nosp...
2022-08-25T17:29:57
nodejs/node
58682d823acb0e566f16d1d8b33b83dfebf3aa5d
b37ec37210237ab65040948791916912c4ab055d
tls: add highWaterMark option for connect PR-URL: https://github.com/nodejs/node/pull/32786 Fixes: https://github.com/nodejs/node/issues/32781 Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Andrey Pechkurov <ap...
[ { "path": "doc/api/https.md", "patch": "@@ -238,6 +238,9 @@ Global instance of [`https.Agent`][] for all HTTPS client requests.\n <!-- YAML\n added: v0.3.6\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/32786\n+ description: The `highWaterMark` option is accepted no...
2020-04-11T18:07:35
facebook/react
5abcce534382d85887f3d33475e8e54e3b5d8457
75b58d2ad2c2111aeb73e5915fad8d717ec69703
add lineClamp, vendor prefixes to CSSProperty.isUnitlessNumber
[ { "path": "src/browser/dom/CSSProperty.js", "patch": "@@ -28,6 +28,7 @@ var isUnitlessNumber = {\n flexGrow: true,\n flexShrink: true,\n fontWeight: true,\n+ lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n@@ -41,6 +42,27 @@ var isUnitlessNumber = {\n zoom: true\n };\n \...
2014-02-12T23:52:29
golang/go
c8bb3cff9ee24f310f4d5dd7b39422c346411a53
a52f4952cbc03538cacea78a663ac5bf61af165e
internal/poll: optimize the maximum amount of bytes that can be transferred by one splice(2) call Fixes #40222 name old time/op new time/op delta Splice/tcp-to-tcp/1024-4 5.16µs ± 1% 5.17µs ± 4% ~ (p=0.481 n=10+10) Splice/tcp-to-tcp/2048-4 5.46µs ± 2% 5.48µs ...
[ { "path": "src/internal/poll/splice_linux.go", "patch": "@@ -17,7 +17,9 @@ const (\n \n \t// maxSpliceSize is the maximum amount of data Splice asks\n \t// the kernel to move in a single call to splice(2).\n-\tmaxSpliceSize = 4 << 20\n+\t// We use 1MB as Splice writes data through a pipe, and 1MB is the def...
2022-08-22T08:08:00
nodejs/node
b37ec37210237ab65040948791916912c4ab055d
36993c05667bbfda66d84329278b82887771cc94
deps: V8: backport 3f8dc4b2e5ba Original commit message: [intl] Remove soon-to-be removed getAllFieldPositions Needed to land ICU67.1 soon. Bug: v8:10393 Change-Id: I3c7737ca600d6ccfdc46ffaddfb318ce60bc7618 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2136489 Reviewed-by: ...
[ { "path": "common.gypi", "patch": "@@ -35,7 +35,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.13',\n+ 'v8_embedder_string': '-node.14',\n \n ##### V8 defaults for Node.js #####\n...
2020-04-22T06:50:17
vercel/next.js
f0f3aa5fd54e2bf6a4fab90532d7af07807a11e1
aedd8585980aaec56fb52b86902f6048eb63ab54
Fix options of createNextInstall (#58036) Noticed there was some default assignment to `null` for e.g. `rootSpan` but that paremeter is not optional. Fixed that and did some small refactoring. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as poss...
[ { "path": "test/lib/create-next-install.js", "patch": "@@ -7,9 +7,29 @@ const { randomBytes } = require('crypto')\n const { linkPackages } =\n require('../../.github/actions/next-stats-action/src/prepare/repo-setup')()\n \n+const PREFER_OFFLINE = process.env.NEXT_TEST_PREFER_OFFLINE === '1'\n+\n+async fun...
2023-11-05T19:33:36
nodejs/node
36993c05667bbfda66d84329278b82887771cc94
5ee1e31e38c9b7d79f119b0a6d6ae857df33462c
buffer,n-api: fix double ArrayBuffer::Detach() during cleanup These calls could fail if the `ArrayBuffer` had already been explicitly detached at some point in the past. The necessary test changes already came with 4f523c2c1a1c and could be ported back to v12.x with a backport of this PR. Fixes: https://github.com/n...
[ { "path": "src/js_native_api_v8.cc", "patch": "@@ -392,10 +392,12 @@ class ArrayBufferReference final : public Reference {\n inline void Finalize(bool is_env_teardown) override {\n if (is_env_teardown) {\n v8::HandleScope handle_scope(_env->isolate);\n- v8::Local<v8::Value> ab = Get();\n- ...
2020-04-24T13:45:51
facebook/react
8f298fbd693c93ec4e5f46eaf29675e01114d0a3
0f4cc6ee84db6578f87cd9173c2c5e0af1442943
Disable guarding in ReactErrorUtils With #1021 and #1022, I believe this makes it so React never wraps user code in a try/catch. I left in the calls to ReactErrorUtils.guard because it sounds like FB code finds them useful.
[ { "path": "src/vendor/stubs/ReactErrorUtils.js", "patch": "@@ -17,29 +17,20 @@\n * @typechecks\n */\n \n+\"use strict\";\n+\n var ReactErrorUtils = {\n /**\n * Creates a guarded version of a function. This is supposed to make debugging\n- * of event handlers easier. This implementation provides onl...
2014-02-10T06:08:57
electron/electron
e03e37e984cd75cc82ea8d821ae0d5aaca9d1cf2
14b548f27a0fa796cbfa4519608b64a6caaf817f
Pass `uploadToServer` parameter to linux crash reporter
[ { "path": "atom/common/crash_reporter/crash_reporter_linux.cc", "patch": "@@ -38,7 +38,8 @@ static const off_t kMaxMinidumpFileSize = 1258291;\n \n CrashReporterLinux::CrashReporterLinux()\n : process_start_time_(0),\n- pid_(getpid()) {\n+ pid_(getpid()),\n+ upload_to_server_(true) {\n ...
2017-03-06T18:59:38
vercel/next.js
aedd8585980aaec56fb52b86902f6048eb63ab54
e648b48e8d9c00fe2baf77dc7639cb993f40eaf4
Fix should have correct module not found error test (#57383) The module not found check is a bit different 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...
[ { "path": "test/integration/jsconfig-baseurl/test/index.test.js", "patch": "@@ -56,7 +56,9 @@ describe('TypeScript Features', () => {\n \n const found = await check(\n () => stripAnsi(output),\n- /Module not found: Can't resolve 'components\\/worldd'/,\n+ process.env.TURBOPACK\n+...
2023-11-05T17:57:21
facebook/react
35d9286781cce05e9862d5bc7c63233dbcc815b4
8cf5882447a82554e9bf7a588777e323512363cf
Refactor ReactMultiChild to not throw errors too Missed these when I fixed up Transaction; with the exception of ReactErrorUtils, this should be everything.
[ { "path": "src/core/ReactMultiChild.js", "patch": "@@ -215,6 +215,7 @@ var ReactMultiChild = {\n */\n updateTextContent: function(nextContent) {\n updateDepth++;\n+ var errorThrown = true;\n try {\n var prevChildren = this._renderedChildren;\n // Remove any rendered...
2014-02-04T19:06:57
nodejs/node
f8d5474839707bb4dbb57e10c48ef592f4dba892
ab7d9db36cbf5510272ffe4b8e37c8da8e915067
test: remove timers-blocking-callback If the bug this test is intented to catch is reintroduced, or if 5aac4c42da104c30d8f701f1042d61c2f06b7e6c is effectively reverted, many (50+) tests time out, rendering this test redundant and unnecessary. in particular, the following timer tests catch an effective revert of 5aac4...
[ { "path": "test/sequential/sequential.status", "patch": "@@ -17,8 +17,6 @@ test-worker-prof: PASS, FLAKY\n [$system==linux]\n \n [$system==macos]\n-# https://github.com/nodejs/node/issues/21781\n-test-timers-blocking-callback: PASS, FLAKY\n \n [$system==solaris] # Also applies to SmartOS\n ", "additions...
2020-04-15T18:48:52
vercel/next.js
e648b48e8d9c00fe2baf77dc7639cb993f40eaf4
734eeac61318665fe73429d4b569311990a5a379
Remove installCommand on typescript-auto-install and pnpm-support (#58039) Similar to #58037. Removes `installCommand` where it's not needed. <!-- 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...
[ { "path": "test/development/typescript-auto-install/index.test.ts", "patch": "@@ -1,6 +1,6 @@\n import { createNext } from 'e2e-utils'\n import { NextInstance } from 'test/lib/next-modes/base'\n-import { check, renderViaHTTP, shouldRunTurboDevTest } from 'next-test-utils'\n+import { check, renderViaHTTP } f...
2023-11-05T17:32:10
electron/electron
d5a658bbe4858be7f8506db11ae493d493c7ef93
950e3436c28c842f05fd76ce7350d836c7237f33
Fixed pass by reference and added spec
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -1067,13 +1067,13 @@ void WebContents::GoToOffset(int offset) {\n web_contents()->GetController().GoToOffset(offset);\n }\n \n-const std::string& WebContents::GetWebRTCIPHandlingPolicy() const {\n+const std::string WebContents::GetWebRTCI...
2017-03-09T03:06:26
golang/go
297e3de7a1416d2ccdadcf3bdc6c9d3776e2abd8
6ba2674ddc5373f261211ba5ebc38496dc660604
debug/macho: use saferio to read segment and section data Avoid allocating large amounts of memory for corrupt input. No test case because the problem can only happen for invalid data. Let the fuzzer find cases like this. Change-Id: Ib09d5fea54aabcb6941e541b42689222fba69632 Reviewed-on: https://go-review.googlesourc...
[ { "path": "src/debug/macho/file.go", "patch": "@@ -13,6 +13,7 @@ import (\n \t\"debug/dwarf\"\n \t\"encoding/binary\"\n \t\"fmt\"\n+\t\"internal/saferio\"\n \t\"io\"\n \t\"os\"\n \t\"strings\"\n@@ -73,12 +74,7 @@ type Segment struct {\n \n // Data reads and returns the contents of the segment.\n func (s *Se...
2022-08-24T12:30:11
nodejs/node
ab7d9db36cbf5510272ffe4b8e37c8da8e915067
003fb53c9a38520e84bd18beb7719f1a47af8c43
stream: fix sync write perf regression While https://github.com/nodejs/node/pull/31046 did make async writes faster it at the same time made sync writes slower. This PR corrects this while maintaining performance improvements. PR-URL: https://github.com/nodejs/node/pull/33032 Reviewed-By: Ruben Bridgewater <ruben@br...
[ { "path": "lib/_stream_writable.js", "patch": "@@ -422,27 +422,24 @@ function onwrite(stream, er) {\n onwriteError(stream, state, er, cb);\n }\n } else {\n- if (!state.destroyed) {\n+ if (state.buffered.length > state.bufferedIndex) {\n clearBuffer(stream, state);\n }\n- if (s...
2020-04-23T19:48:30
vercel/next.js
734eeac61318665fe73429d4b569311990a5a379
bafa8d4948ea61f50eb7df323c74e4b753ce6ae6
Use distDir from webpack-config in createWebpackAliases (#57268) distDir is available in the place where we'll call this function for Turbopack so it can be passed in. <!-- 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 ...
[ { "path": "packages/next/src/build/create-compiler-aliases.ts", "patch": "@@ -24,6 +24,7 @@ interface CompilerAliases {\n }\n \n export function createWebpackAliases({\n+ distDir,\n isClient,\n isEdgeServer,\n isNodeServer,\n@@ -35,6 +36,7 @@ export function createWebpackAliases({\n reactProduction...
2023-11-05T15:36:13
golang/go
6ba2674ddc5373f261211ba5ebc38496dc660604
f50e47308d60d2a043aa3f806069d49e1b7ad0c1
cmd/go/internal/imports: include ToolTags in the Tags map This fixes a regression introduced when the "race" mode tag was moved to the ToolTags field in CL 358539. Fixes #54468 Change-Id: I107771948a4fe9d743cc13d1c15f324212b08e03 GitHub-Last-Rev: d211e351ef3331f2c38b16d327d992a32ebbfe30 GitHub-Pull-Request: golang/g...
[ { "path": "src/cmd/go/internal/imports/tags.go", "patch": "@@ -36,6 +36,9 @@ func loadTags() map[string]bool {\n \tfor _, tag := range cfg.BuildContext.BuildTags {\n \t\ttags[tag] = true\n \t}\n+\tfor _, tag := range cfg.BuildContext.ToolTags {\n+\t\ttags[tag] = true\n+\t}\n \tfor _, tag := range cfg.BuildC...
2022-08-25T04:17:00
electron/electron
5a4d9807ee2f140186592919cea12c9687f0c370
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
Update `ses.resolveProxy` return type As far as I'm aware, after using the `ses.resolveProxy` API, it seems to return a string in the shape of `PROXY foopy:80;SOCKS5 bar.com:1080`, not an object. Correct me if I'm wrong.
[ { "path": "docs/api/session.md", "patch": "@@ -204,7 +204,7 @@ The `proxyBypassRules` is a comma separated list of rules described below:\n \n * `url` URL\n * `callback` Function\n- * `proxy` Object\n+ * `proxy` string\n \n Resolves the proxy information for `url`. The `callback` will be called with\n `ca...
2017-03-07T10:21:51
nodejs/node
74c393dd93cc0e461e3796fbcc09545fcacdecaf
24a4e6153dae01cc7d5b28a21a105d680e9a5037
vm: add importModuleDynamically option to compileFunction Fixes: https://github.com/nodejs/node/issues/31860 PR-URL: https://github.com/nodejs/node/pull/32985 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "doc/api/vm.md", "patch": "@@ -88,7 +88,7 @@ changes:\n This option is part of the experimental modules API, and should not be\n considered stable.\n * `specifier` {string} specifier passed to `import()`\n- * `module` {vm.Module}\n+ * `script` {vm.Script}\n * Returns: {Module...
2020-04-21T21:43:58
rust-lang/rust
e3d99ddcbc010de4942df34e6d5491c4b664152c
ec8426d5a4660384fe5583c0608add92655f3c9a
fix: generate function by indet token
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_function.rs", "patch": "@@ -316,7 +316,7 @@ impl FunctionBuilder {\n let current_module = ctx.sema.scope(call.syntax())?.module();\n let visibility = calculate_necessary_visibility(current_module, target_module, ctx)...
2025-08-09T05:53:34
vercel/next.js
bafa8d4948ea61f50eb7df323c74e4b753ce6ae6
8536ad98ddc83a2e49ac877bc44ee9842bcc2187
Remove installCommand on streaming-ssr test (#58037) Removes installCommand as it doesn't have to be different than the default command. Also converted to using `createNextDescribe`. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we req...
[ { "path": "test/e2e/streaming-ssr/index.test.ts", "patch": "@@ -1,5 +1,5 @@\n import { join } from 'path'\n-import { createNext, FileRef } from 'e2e-utils'\n+import { createNext, createNextDescribe } from 'e2e-utils'\n import { NextInstance } from 'test/lib/next-modes/base'\n import {\n check,\n@@ -12,61 ...
2023-11-05T12:30:12
facebook/react
89bcecc76ffaa738099e0c217f8846e60edb1b44
0f4cc6ee84db6578f87cd9173c2c5e0af1442943
Disable source maps when defineProperty is missing Fixes #1053.
[ { "path": "vendor/browser-transforms.js", "patch": "@@ -25,8 +25,16 @@ var transform = require('jstransform').transform;\n var visitors = require('./fbtransform/visitors').transformVisitors;\n var docblock = require('jstransform/src/docblock');\n \n+// The source-map library relies on Object.defineProperty,...
2014-02-11T08:08:56
golang/go
bc1d0d8eb1fb5efb36fc2324fa7eb818b084b016
e0ec1d6770879518af726b6cd8693dab3390db24
reflect: add Value.SetZero The v.SetZero method is a faster equivalent of v.Set(Zero(v.Type())). Performance: Direct CachedZero NewZero SetZero/Bool 2.20ns ± 0% 8.97ns ± 5% 11.4ns ± 1% SetZero/Int 3.08ns ± 1% 9.06ns ± 1% 11.5ns ± 0% SetZero/Uint ...
[ { "path": "api/next/52376.txt", "patch": "@@ -0,0 +1 @@\n+pkg reflect, method (Value) SetZero() #52376", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "src/reflect/all_test.go", "patch": "@@ -1374,6 +1374,8 @@ func TestIsZero(t *testing.T) {\n \t\t{[3][]int{{1...
2022-06-10T01:20:47
nodejs/node
c61b388c29dc73ef3c94aef0f790e012683d24ef
0d7638e2cccd4fc6e0fda99c15b66c5491c4b393
inspector: only write coverage in fully bootstrapped Environments The NODE_V8_COVERAGE folder and the source map computation are setup during pre-execution since they rely on environment variables as well as JS states. Therefore, we need to give up serialization of JS coverage profiles for Environments that have not g...
[ { "path": "src/inspector_profiler.cc", "patch": "@@ -209,6 +209,16 @@ void V8CoverageConnection::WriteProfile(Local<String> message) {\n HandleScope handle_scope(isolate);\n Context::Scope context_scope(context);\n \n+ // This is only set up during pre-execution (when the environment variables\n+ // b...
2020-04-21T02:46:29
facebook/react
0f4cc6ee84db6578f87cd9173c2c5e0af1442943
25e56a4540f61a7d5baf1964406e5c4343f37b2e
[Docs] Hide compiled js tab in jsx-compiler.html Fixes #1049
[ { "path": "docs/_js/jsx-compiler.js", "patch": "@@ -21,6 +21,7 @@ React.renderComponent(\n codeText={HELLO_COMPONENT}\n renderCode={true}\n transformer={transformer}\n- />,\n+ showCompiledJSTab={false}\n+ />,\n document.getElementById('jsxCompiler')\n );", "additions": 2, "delet...
2014-02-11T07:22:59
vercel/next.js
b9baf482575bb42341163c86909e3eba68c05bb2
758c47f801d8a78702baec3b4b200eb0f9706c8d
Remove setPnpmResolutionMode as default is highest (#57828) The linked documentation mentions that `highest` is the default in the pnpm version we use: > Default: highest (was lowest-direct from v8.0.0 to v8.6.12) https://pnpm.io/npmrc#resolution-mode <!-- Thanks for opening a PR! Your contribution is much...
[ { "path": "test/development/basic/emotion-swc/emotion-swc.test.ts", "patch": "@@ -6,9 +6,8 @@ createNextDescribe(\n {\n files: join(__dirname, 'fixture'),\n dependencies: {\n- '@emotion/cache': '^10.0.29',\n- '@emotion/core': '^10.0.35',\n- '@emotion/styled': '^10.0.27',\n+ '@e...
2023-11-04T20:19:51
golang/go
1211a62bdcb0f070c5082255bcc90e1a14c16bb2
d7a3fa120db1f8ab9e02ea8fccd0cc8699bf9382
cmd/compile: align stack offset to alignment larger than PtrSize In typebits.Set we check that the offset is a multiple of the alignment, which makes perfect sense. But for values like atomic.Int64, which has 8-byte alignment even on 32-bit platforms (i.e. the alignment is larger than PtrSize), if it is on stack it ma...
[ { "path": "src/cmd/compile/internal/ssagen/pgen.go", "patch": "@@ -96,6 +96,7 @@ func needAlloc(n *ir.Name) bool {\n func (s *ssafn) AllocFrame(f *ssa.Func) {\n \ts.stksize = 0\n \ts.stkptrsize = 0\n+\ts.stkalign = int64(types.RegSize)\n \tfn := s.curfn\n \n \t// Mark the PAUTO's unused.\n@@ -160,6 +161,9 @...
2022-08-23T22:19:06
nodejs/node
654c0ace7b44da722b313bae2e7cb0ae6a9341a4
802edb1d6a4c752c27e040a3a24859e631435110
src: fix compiler warnings in node_http2.cc Currently, the following compiler warnings are generated: ../src/node_http2.cc: In static member function ‘static int node::http2::Http2Session::OnStreamClose(nghttp2_session*, int32_t, uint32_t, void*)’: ../src/node_http2.cc:994:16: warning: variable ‘def’ set but not u...
[ { "path": "src/node_http2.cc", "patch": "@@ -991,7 +991,6 @@ int Http2Session::OnStreamClose(nghttp2_session* handle,\n MaybeLocal<Value> answer =\n stream->MakeCallback(env->http2session_on_stream_close_function(),\n 1, &arg);\n- Local<Value> def = v8::False(env->isolate())...
2020-04-23T04:15:25
vercel/next.js
758c47f801d8a78702baec3b4b200eb0f9706c8d
6c6ac700b221f2018a03b05c16224055b15629f4
use createNextDescribe for test/development/basic tests (#58031) Converted some additional tests to `createNextDescribe`. <!-- 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 th...
[ { "path": "test/development/basic/asset-prefix/asset-prefix.test.ts", "patch": "@@ -5,7 +5,7 @@ import { check } from 'next-test-utils'\n createNextDescribe(\n 'asset-prefix',\n {\n- files: join(__dirname, 'asset-prefix'),\n+ files: join(__dirname, 'fixture'),\n },\n ({ next }) => {\n it('...
2023-11-04T19:02:34