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
nodejs/node
a220202a47ee87d1ef91fa8f65a3e048f298b7c1
517b0470c7e3147606425604dd9c8429cf0f4de4
doc: include the error type in the request.resolve doc PR-URL: https://github.com/nodejs/node/pull/32152 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/modules.md", "patch": "@@ -736,6 +736,8 @@ changes:\n Use the internal `require()` machinery to look up the location of a module,\n but rather than loading the module, just return the resolved filename.\n \n+If the module can not be found, a `MODULE_NOT_FOUND` error is thrown.\n+\n ##### ...
2020-03-08T19:13:25
facebook/react
f2ee3c53a9b8bfc19ec8e4ed6ab2c2a9f7c73024
551cc01430741bd91e3942f1295721092e7de8b4
fix title case for docs tips everywhere
[ { "path": "docs/_config.yml", "patch": "@@ -75,26 +75,26 @@ nav_cookbook:\n - id: introduction\n title: Introduction\n - id: inline-styles\n- title: Inline styles\n+ title: Inline Styles\n - id: if-else-in-JSX\n- title: If else in JSX\n+ title: If-Else in JSX\n - id: self-closing-tag...
2013-11-05T14:52:50
golang/go
adac8acf881ac48c558a4873b4cc7551c7e592b1
0581d69dc6e67734293ba0c10b63df640a457aab
net/http: change conn.curReq type to atomic.Pointer[response] Use the newly added atomic.Pointer[T] type for atomically loading and storing type *T pointers. This has the advantage of avoiding runtime type assertions required by its predecessor, atomic.Value. To fix build failures uncovered by TryBots (caused by "pan...
[ { "path": "src/net/http/server.go", "patch": "@@ -293,9 +293,9 @@ type conn struct {\n \t// on this connection, if any.\n \tlastMethod string\n \n-\tcurReq atomic.Value // of *response (which has a Request in it)\n+\tcurReq atomic.Pointer[response] // (which has a Request in it)\n \n-\tcurState struct{ atom...
2022-08-03T20:48:15
electron/electron
fb35f0611472082f63002f201e96d48a0f219914
0a7dccbad8ecc649c3a17bece4f7ba12557f901a
printToPDF: `landscape` ignored if `@page` is used This is very frustrating to find out via debugging, I think it should be in docs.
[ { "path": "docs/api/web-contents.md", "patch": "@@ -896,6 +896,8 @@ settings.\n The `callback` will be called with `callback(error, data)` on completion. The\n `data` is a `Buffer` that contains the generated PDF data.\n \n+The `landscape` will be ignored if `@page` CSS at-rule is used in the web page.\n+\n...
2017-01-09T00:31:34
vercel/next.js
ac8a6035df20a65dcebad2570c867e59d43ff0ee
f95a11f8049d025fb9ede5ccc078fcde026e2368
fix: http2 example issue (#56768) ### What? If the custom server uses `app.render(xxx)` will render the normal js files as server components in dev mode and cause 404 error when loading every non-HTML file. ### How? Fixes https://github.com/nodejs/help/issues/4253, fixes https://github.com/vercel/next.js/issues/502...
[ { "path": "examples/with-http2/server.js", "patch": "@@ -1,6 +1,7 @@\n const next = require('next')\n-const http2 = require('http2')\n-const fs = require('fs')\n+const http2 = require('node:http2')\n+const { parse } = require('node:url')\n+const fs = require('node:fs')\n \n const port = parseInt(process.env...
2023-10-13T16:55:48
nodejs/node
4b84010e5a25303ed198413d241e2625923f9985
6de7b635a6185115975248efbc71fb8c205b59b6
doc: clear up child_process command resolution Fixes: https://github.com/nodejs/node/issues/20605 Refs: https://github.com/libuv/libuv/pull/1837 PR-URL: https://github.com/nodejs/node/pull/32091 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Luigi P...
[ { "path": "doc/api/child_process.md", "patch": "@@ -33,6 +33,14 @@ process will block waiting for the pipe buffer to accept more data. This is\n identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`\n option if the output will not be consumed.\n \n+The command lookup will be perform...
2020-03-04T17:17:27
facebook/react
18bf0b80bc701fe0b9fb9216ce907baf4fb035ec
10ccd9f10308a4eada54acaef1d2281957c0831a
Fix ReactDOMSelection for IE 11 IE 11 no longer supports the legacy document.selection API. Their implementation of window.getSelection() doesn't support the extend() method, which we were relying on. If the selection is RTL and selection extend is missing, then just flip the selection.
[ { "path": "src/core/ReactDOMSelection.js", "patch": "@@ -137,7 +137,15 @@ function setModernOffsets(node, offsets) {\n var length = node[getTextContentAccessor()].length;\n var start = Math.min(offsets.start, length);\n var end = typeof offsets.end === 'undefined' ?\n- start : Math.min(offsets.end,...
2013-11-04T19:24:53
golang/go
dd59088193cc040aa16165dc29b907c6f0d9fe31
cd54ef1f61945459486e9eea2f016d99ef1da925
crypto/tls: delete unnecessary line of return Fixes #53198 Change-Id: I0c35fb278543bd487d19ae15c8175e88c45e2c1e GitHub-Last-Rev: a3e29d2332ad444cfa83c3412857952203738a2c GitHub-Pull-Request: golang/go#54216 Reviewed-on: https://go-review.googlesource.com/c/go/+/420935 TryBot-Result: Gopher Robot <gobot@golang.org> Au...
[ { "path": "src/crypto/tls/generate_cert.go", "patch": "@@ -156,7 +156,6 @@ func main() {\n \tkeyOut, err := os.OpenFile(\"key.pem\", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)\n \tif err != nil {\n \t\tlog.Fatalf(\"Failed to open key.pem for writing: %v\", err)\n-\t\treturn\n \t}\n \tprivBytes, err := x509.M...
2022-08-03T13:40:34
electron/electron
bfafc6d5fd029bf841809e539911e093e32bf542
c5fe173e479cd478c2d5b52a33261764a67febe4
indentation fix
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -1297,8 +1297,8 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,\n CGFloat dimension = 2 * radius + 1;\n NSSize size = NSMakeSize(dimension, dimension);\n NSImage* maskImage = [[NSImage imageWithSize:size\n- ...
2017-01-06T22:54:24
vercel/next.js
a40a3501555496ef8976620994346b17f4080eba
04bad16bf4165809a83801c5b64a4ed8466acf41
Chunking Refactoring followup fixes (#56789) ### What? fix some minor bugs Make the page-loader reuse the client chunks Closes WEB-1777
[ { "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-231013.2#9c1b3ba96b6f452c2c6d46b2c0d50c80df1b4699\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-10-13T12:38:59
nodejs/node
091444a49db534ed099b5a099060d95a209939bb
943887f5bec93ca8f3849c15965073aad3907790
src: fix missing extra ca in tls.rootCertificates Fixes tls.rootCertificates missing certificates loaded from NODE_EXTRA_CA_CERTS. Fixes: https://github.com/nodejs/node/issues/32074 PR-URL: https://github.com/nodejs/node/pull/32075 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bno...
[ { "path": "src/node_crypto.cc", "patch": "@@ -986,24 +986,6 @@ static X509_STORE* NewRootCertStore() {\n }\n \n \n-void GetRootCertificates(const FunctionCallbackInfo<Value>& args) {\n- Environment* env = Environment::GetCurrent(args);\n- Local<Value> result[arraysize(root_certs)];\n-\n- for (size_t i = ...
2020-03-03T21:35:28
golang/go
cd54ef1f61945459486e9eea2f016d99ef1da925
fefac44a62fe0cfda73ab4abf15bf35b58faa6ac
internal/cpu: implement CPU feature detection for openbsd/arm64 OpenBSD 7.1 onwards expose the aarch64 ISAR0 and ISAR1 registers via sysctl: $ sysctl machdep machdep.compatible=apple,j274 machdep.id_aa64isar0=153421459058925856 machdep.id_aa64isar1=1172796674562 Implement CPU feature detection for openbsd/ar...
[ { "path": "src/internal/cpu/cpu_arm64_openbsd.go", "patch": "@@ -0,0 +1,60 @@\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 arm64\n+\n+package cpu\n+\n+const (\n+\t// From O...
2022-08-05T13:39:55
electron/electron
1f07977f091ef9b23e75d333ac141a78364884d9
fd23c7bf766ade7ff4173071fc662308d3a36af1
Remove lint errors
[ { "path": "spec/chromium-spec.js", "patch": "@@ -46,7 +46,7 @@ describe('chromium feature', function () {\n var w = null\n \n afterEach(function () {\n- return closeWindow(w).then(() => w = null)\n+ return closeWindow(w).then(function () { w = null })\n })\n \n it('is set correctly...
2017-01-04T22:57:51
vercel/next.js
8f836a0aa7b8d369103409db84cfc17249f05a13
8bbaf6de5975eae85806a9390a5bbfff5d49f6bb
Chunking Refactoring followup fixes (vercel/turbo#6172) ### Description * fix double emitting problem * some allocation, resolving, and tracing improvements ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
[ { "path": "crates/turbo-tasks/src/backend.rs", "patch": "@@ -4,6 +4,7 @@ use std::{\n fmt,\n fmt::{Debug, Display, Write},\n future::Future,\n+ mem::take,\n pin::Pin,\n sync::Arc,\n time::{Duration, Instant},\n@@ -351,19 +352,22 @@ pub trait Backend: Sync + Send {\n impl Persisten...
2023-10-13T12:17:22
facebook/react
9e24257a4e4de449bcb552e399af83da348ba0fb
aedf580a333c42f5654d70359518974c3fdac7bc
Clear error message when rendering a nonvalid component
[ { "path": "src/core/ReactCompositeComponent.js", "patch": "@@ -860,7 +860,8 @@ var ReactCompositeComponentMixin = {\n }\n invariant(\n ReactComponent.isValidComponent(renderedComponent),\n- '%s.render(): A valid ReactComponent must be returned.',\n+ '%s.render(): A valid ReactCompone...
2013-11-02T00:32:09
nodejs/node
0c545f0f722bf2cc5099553c32472539d4c6efaf
c41e360de7462bd340b19fe2d20c451e52ff2d15
zlib: emits 'close' event after readable 'end' Call the close method after readable 'end' so that 'close' will be emitted afterwards. Fixes: https://github.com/nodejs/node/issues/32023 PR-URL: https://github.com/nodejs/node/pull/32050 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipi...
[ { "path": "lib/zlib.js", "patch": "@@ -274,7 +274,7 @@ function ZlibBase(opts, mode, handle, { flush, finishFlush, fullFlush }) {\n this._defaultFlushFlag = flush;\n this._finishFlushFlag = finishFlush;\n this._defaultFullFlushFlag = fullFlush;\n- this.once('end', _close.bind(null, this));\n+ this.o...
2020-03-02T16:02:08
golang/go
fefac44a62fe0cfda73ab4abf15bf35b58faa6ac
0063b9b036f1bdf5c548530a4f93e0b4a111ae14
go/build: add GO$GOARCH-based ToolTags Implement proposal #45454, providing build tags based on the sub-architecture information in the GO$GOARCH variable (for example, GOARM for GOARCH=arm). For example, when GOAMD64=v2, the additional build tags amd64.v1 and amd64.v2 are defined to be true. Fixes #45454. Change-I...
[ { "path": "src/cmd/go/internal/cfg/cfg.go", "patch": "@@ -93,9 +93,14 @@ func defaultContext() build.Context {\n \tctxt.GOOS = Goos\n \tctxt.GOARCH = Goarch\n \n-\t// ToolTags are based on GOEXPERIMENT, which we will parse and\n-\t// initialize later.\n-\tctxt.ToolTags = nil\n+\t// Clear the GOEXPERIMENT-ba...
2022-08-04T20:44:29
facebook/react
e455e28ff81e59d7b27571a6a1942e1354c0ebd3
10f3d93df728274685b3ce16468862199b6876ff
fix doc & example transition opacity from .99 to 1 The initial thought was that an opacity animation from 0.01 to 1 causes trouble on some browser. But after testing on opera 12.15, ff 23, ie 10, chrome 30, desktop/mobile safari 7 and chrome android I confirm this works.
[ { "path": "docs/docs/09-addons.md", "patch": "@@ -67,15 +67,15 @@ You can use these classes to trigger a CSS animation or transition. For example,\n }\n \n .example-enter.example-enter-active {\n- opacity: 0.99;\n+ opacity: 1;\n }\n ```\n \n You'll notice that when you try to remove an item `ReactTransiti...
2013-10-31T21:35:38
vercel/next.js
9288ef4921ac8e2abca5d4bd3c835dc13f7db7ad
476af246289d90c8f5672ffc3588bf64250331f3
feat: add self-documenting `.env.example` file (#56469) - fixes #56468 Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
[ { "path": "packages/create-next-app/templates/app-tw/js/.env.example", "patch": "@@ -0,0 +1,3 @@\n+# Rename this file to `.env.local` to use environment variables locally with `next dev`\n+# https://nextjs.org/docs/app/building-your-application/configuring/environment-variables\n+MY_HOST=\"example.com\"", ...
2023-10-12T21:55:14
nodejs/node
1b9a62cff4bd5e4e31eec30f6b3796292ac6610a
e4a72d6b60008385812a819906b13daeffae76ad
crypto: make DH error messages consistent Refs: https://github.com/nodejs/node/pull/31178 Refs: https://github.com/nodejs/node/pull/31445 PR-URL: https://github.com/nodejs/node/pull/31873 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipi...
[ { "path": "src/node_crypto.cc", "patch": "@@ -5217,7 +5217,7 @@ void DiffieHellman::DiffieHellmanGroup(\n const node::Utf8Value group_name(env->isolate(), args[0]);\n const modp_group* group = FindDiffieHellmanGroup(*group_name);\n if (group == nullptr)\n- return THROW_ERR_CRYPTO_UNKNOWN_DH_GROUP(e...
2020-02-19T14:47:14
golang/go
0063b9b036f1bdf5c548530a4f93e0b4a111ae14
e76155614af824f9e8be88292884799c8d4b1f3d
runtime: remove useless empty string literal Assumingly this appears to have been a bug in c2go, as this appeared in https://go.dev/cl/172260043. Change-Id: I8477ec226ffb31268b9c479af13b0fcf401dbeec Reviewed-on: https://go-review.googlesource.com/c/go/+/418276 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-b...
[ { "path": "src/runtime/proc.go", "patch": "@@ -5459,7 +5459,7 @@ func schedtrace(detailed bool) {\n \t\tif lockedg != nil {\n \t\t\tid3 = lockedg.goid\n \t\t}\n-\t\tprint(\" M\", mp.id, \": p=\", id1, \" curg=\", id2, \" mallocing=\", mp.mallocing, \" throwing=\", mp.throwing, \" preemptoff=\", mp.preempto...
2022-07-19T17:50:52
facebook/react
d1ad4a3ff0960df7f90feaca10ccccbe01509746
2cf7d943df9778aeea70a47670109de472773756
Bump populist version to v0.1.4. The new version includes a fix for this IE8 issue reported by @subtleGradient: https://github.com/benjamn/populist/issues/4 Closes #456.
[ { "path": "package.json", "patch": "@@ -43,7 +43,7 @@\n \"devDependencies\": {\n \"browserify\": \"~2.34.1\",\n \"wrapup\": \"~0.12.0\",\n- \"populist\": \"~0.1.3\",\n+ \"populist\": \"~0.1.4\",\n \"grunt-cli\": \"~0.1.9\",\n \"grunt\": \"~0.4.1\",\n \"grunt-contrib-copy\": \"~0....
2013-10-31T17:01:55
rust-lang/rust
e1a38ec2abe116454991aebc32a85b990fc35f7e
c441640f0eab5abcdf5004aacdc5e4830c3f1552
Add a debug-mode MIR pre-codegen test for `?`-on-`Option`
[ { "path": "tests/mir-opt/pre-codegen/option_bubble_debug.option_direct.PreCodegen.after.panic-abort.mir", "patch": "@@ -0,0 +1,37 @@\n+// MIR for `option_direct` after PreCodegen\n+\n+fn option_direct(_1: Option<u32>) -> Option<u32> {\n+ debug x => _1;\n+ let mut _0: std::option::Option<u32>;\n+ le...
2025-07-26T04:11:26
nodejs/node
e4a72d6b60008385812a819906b13daeffae76ad
7baadb30bb49afe25a509620696004ac657c304f
doc: add entry for `AsyncHook` class fixes: https://github.com/nodejs/node/issues/31661 PR-URL: https://github.com/nodejs/node/pull/31865 Fixes: https://github.com/nodejs/node/issues/31661 Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bri...
[ { "path": "doc/api/async_hooks.md", "patch": "@@ -170,6 +170,11 @@ provided by AsyncHooks itself. The logging should then be skipped when\n it was the logging itself that caused AsyncHooks callback to call. By\n doing this the otherwise infinite recursion is broken.\n \n+### Class: `AsyncHook`\n+\n+The clas...
2020-02-19T10:27:52
vercel/next.js
230099b57f1a35a94d2ba6654ff0a4fdedddd4f6
3da643a8b00f9ac2ee0b663b2865d06162173d38
fix(turbopack): always alias `server-only` and `client-only` (#56760) Closes WEB-1773
[ { "path": "packages/next-swc/crates/next-core/src/next_import_map.rs", "patch": "@@ -1,6 +1,7 @@\n use std::collections::{BTreeMap, HashMap};\n \n use anyhow::{Context, Result};\n+use indexmap::{indexmap, IndexMap};\n use turbo_tasks::{Value, Vc};\n use turbopack_binding::{\n turbo::tasks_fs::{glob::Glo...
2023-10-12T19:17:01
electron/electron
cf5689371a4d84426f1b374512f1dac420d7e8ae
e2d60940a2812ec12addbbb713fee186cdff56c5
debugging-main-process-node-inspector to zh-CN
[ { "path": "docs-translations/zh-CN/tutorial/debugging-main-process-node-inspector.md", "patch": "@@ -88,7 +88,7 @@ $ node_modules/.bin/node-pre-gyp --target=1.2.5 --runtime=electron --fallback-to\n $ node_modules/.bin/node-pre-gyp --target=1.2.5 --runtime=electron --fallback-to-build --directory node_module...
2017-01-06T02:02:44
facebook/react
7789a3243860029741bbb3ae93f6c495c12266ad
a5d1e2fd9018066ac01f1866c5c0eea5507f0888
Forward Compatibility w/ WebKit & Blink Newer versions of WebKit and Blink will support both `document.body.scrollTop` and `document.documentElement.scrollTop`. Therefore, implementing cross-browser compatibility by summing the two will no longer work. This changes React to use `getUnboundedScrollPosition` so we get ...
[ { "path": "src/dom/ViewportMetrics.js", "patch": "@@ -18,17 +18,18 @@\n \n \"use strict\";\n \n+var getUnboundedScrollPosition = require('getUnboundedScrollPosition');\n+\n var ViewportMetrics = {\n \n currentScrollLeft: 0,\n \n currentScrollTop: 0,\n \n refreshScrollValues: function() {\n- Viewpor...
2013-10-30T23:47:44
rust-lang/rust
c441640f0eab5abcdf5004aacdc5e4830c3f1552
63f6845e570305a92eaf855897768617366164d6
Add a mir-opt test for *debug* MIR from `derive(PartialOrd, Ord)` Because the follow-up commits will affect it, and the goal is to show how.
[ { "path": "tests/mir-opt/pre-codegen/derived_ord_debug.rs", "patch": "@@ -0,0 +1,18 @@\n+//@ compile-flags: -Copt-level=0 -Zmir-opt-level=1 -Cdebuginfo=limited\n+// EMIT_MIR_FOR_EACH_PANIC_STRATEGY\n+\n+#![crate_type = \"lib\"]\n+\n+#[derive(PartialOrd, Ord, PartialEq, Eq)]\n+pub struct MultiField(char, i16...
2025-07-25T18:16:14
golang/go
3ea3d0e8a7f4e2bfa96535aafb6bd802d2907808
9463638ca883f07467ad8e294cf3ba7f7b175eb2
cmd/compile: correct alignment of atomic.Int64 Same as CL 417555, but for cmd/compile. Fixes #54220 Change-Id: I4cc6deaf0a87c952f636888b4ab73f81a44bfebd Reviewed-on: https://go-review.googlesource.com/c/go/+/420975 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewe...
[ { "path": "src/cmd/compile/internal/noder/sizes.go", "patch": "@@ -25,6 +25,17 @@ func (s *gcSizes) Alignof(T types2.Type) int64 {\n \t\t// is the same as unsafe.Alignof(x[0]), but at least 1.\"\n \t\treturn s.Alignof(t.Elem())\n \tcase *types2.Struct:\n+\t\tif t.NumFields() == 0 && types2.IsSyncAtomicAlign...
2022-08-03T08:14:25
vercel/next.js
3da643a8b00f9ac2ee0b663b2865d06162173d38
8013ef7372fc545d49dbd060461224ceb563b454
OpenTelemetry: ignore bubble errors to avoid spamming traces (#56625) The "bubble" errors are created here: https://github.com/vercel/next.js/blob/3f25a2e747fc27da6c2166e45d54fc95e96d7895/packages/next/src/server/next-server.ts#L1636-L1639 These errors do not appear to be true errors, but they tend to spam tracing. E...
[ { "path": "packages/next/src/server/lib/trace/tracer.ts", "patch": "@@ -34,11 +34,17 @@ const isPromise = <T>(p: any): p is Promise<T> => {\n return p !== null && typeof p === 'object' && typeof p.then === 'function'\n }\n \n+type BubbledError = Error & { bubble?: boolean }\n+\n const closeSpanWithError =...
2023-10-12T18:37:25
nodejs/node
d2e91778d94071bcdc7c7cc19f1832e39c15ff52
da6c7ba2f102cd4eaf05299fee52edf3262ed001
src: fix -Wmaybe-uninitialized compiler warning Turn the `strategy_` method pointer into an enum-based static dispatch. It's both safer and more secure (no chance of method pointer corruption) and it helps GCC see that the shift and suffix tables it's complaining about are unused in single char search mode. Fixes th...
[ { "path": "src/string_search.h", "patch": "@@ -100,17 +100,29 @@ class StringSearch : private StringSearchBase {\n CHECK_GT(pattern_length, 0);\n if (pattern_length < kBMMinPatternLength) {\n if (pattern_length == 1) {\n- strategy_ = &StringSearch::SingleCharSearch;\n+ strategy_ ...
2020-02-15T09:34:21
rust-lang/rust
dac1f3451831c841fad635aca9c801c81652b2e9
24f17515523a1abd255fee605483aed5d38843ff
Fix stdarch patch
[ { "path": "patches/0001-Add-stdarch-Cargo.toml-for-testing.patch", "patch": "@@ -1,29 +1,28 @@\n-From b8f3eed3053c9333b5dfbeaeb2a6a65a4b3156df Mon Sep 17 00:00:00 2001\n-From: Antoni Boucher <bouanto@zoho.com>\n-Date: Tue, 29 Aug 2023 13:06:34 -0400\n+From 190e26c9274b3c93a9ee3516b395590e6bd9213b Mon Sep 17...
2025-08-03T23:57:04
vercel/next.js
6fdba20b6d11fa6be459dc26214e6bbeb0c37652
a5d34d53f8b118ef97935a08fe1c960bd3ea9503
docs: fix typo in Update 02-get-static-paths.mdx (#56757) Fix typo in docs Fixes #56741 Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/03-pages/01-building-your-application/03-data-fetching/02-get-static-paths.mdx", "patch": "@@ -1,6 +1,6 @@\n ---\n title: getStaticPaths\n-description: Fetch data and generate static pages with `getStaticProps`. Learn more about this API for data fetching in Next.js.\n+description: Fetch dat...
2023-10-12T16:18:20
nodejs/node
b6da55f0fda60433f8d05539ee8665f66a35ee86
4f87b4f4ba7a0d9256fe01617708b6960c0558f5
fs: make fs.read params optional This makes all the parameters of the `fs.read` function, except for `fd` and the callback(when not using as a promise) optional. They will default to sensible defaults. Fixes: https://github.com/nodejs/node/issues/31237 PR-URL: https://github.com/nodejs/node/pull/31402 Reviewed-By: ...
[ { "path": "doc/api/fs.md", "patch": "@@ -2764,6 +2764,29 @@ The callback is given the three arguments, `(err, bytesRead, buffer)`.\n If this method is invoked as its [`util.promisify()`][]ed version, it returns\n a `Promise` for an `Object` with `bytesRead` and `buffer` properties.\n \n+## `fs.read(fd, [opt...
2020-01-16T14:46:28
electron/electron
2c259990da2c5db5901ae955ae09764c6b2b596d
14d6a70fa8a54f95c42938c291647d173a5d65eb
fix permissive C++ code (MSVC /permissive-) These were found by the C++ compiler group when doing "Real world code" build tests using /permissive-. We are sharing these with you to help clean up your code before the new version of the compiler comes out. For more information on /permissive- see https://blogs.msdn.mi...
[ { "path": "atom/browser/ui/win/jump_list.cc", "patch": "@@ -31,7 +31,7 @@ bool AppendTask(const JumpListItem& item, IObjectCollection* collection) {\n item.icon_index)))\n return false;\n \n- CComQIPtr<IPropertyStore> property_store = link;\n+ CComQIPtr<IPropertyStor...
2017-01-05T17:38:41
rust-lang/rust
cf3865f7a540706cb4ae1537b8f37d136e47da4e
f34ba774c78ea32b7c40598b8ad23e75cdac42a6
fix broken doc section link in `poison.rs`
[ { "path": "library/std/src/sync/poison.rs", "patch": "@@ -11,7 +11,7 @@\n //!\n //! The specifics of how this \"poisoned\" state affects other threads and whether\n //! the panics are recognized reliably or on a best-effort basis depend on the\n-//! primitive. See [#Overview] below.\n+//! primitive. See [Ov...
2025-08-03T20:28:04
facebook/react
80efa9a33ef24efd71b986b04a57dba4a9cd1a21
6a0976ca9d04083f6c9d47b85f645e5f2b91c10d
title case for entry titles; fix two entry names
[ { "path": "docs/cookbook/05-jsx-root-node-count.md", "patch": "@@ -1,10 +1,10 @@\n ---\n id: jsx-root-node-count\n-title: Maximum number of JSX root nodes\n+title: Maximum Number of JSX Root Nodes\n layout: cookbook\n permalink: jsx-root-node-count.html\n prev: self-closing-tag.html\n-next: style-prop-value...
2013-10-30T19:06:16
vercel/next.js
6814ff147a416a437c541fd2a27e69e1794af700
62ab0e33a2988989c67b9b7e429874d4cbc0473f
Prefer module over main on main fields for app router server compiler (#56532) This change is to pick the esm assets for RSC server layer and server rendering side, this is for production and development perf purpose, also to let them apply with the ESM related optimization such as tree-shaking, barrel files optimizat...
[ { "path": "packages/next/src/build/handle-externals.ts", "patch": "@@ -44,7 +44,6 @@ export async function resolveExternal(\n context: string,\n request: string,\n isEsmRequested: boolean,\n- hasAppDir: boolean,\n getResolve: (\n options: any\n ) => (\n@@ -66,11 +65,7 @@ export async function...
2023-10-12T16:10:55
electron/electron
e2d60940a2812ec12addbbb713fee186cdff56c5
dc786996efdf9905bcc9fc04fce4a6250750aded
Debugging the Main Process to zh-CN
[ { "path": "docs-translations/zh-CN/tutorial/debugging-main-process-node-inspector.md", "patch": "@@ -1,16 +1,15 @@\n # 使用 node-inspector 进行主进程调试\n \n [`node-inspector`][node-inspector] 提供了一个熟悉的 DevTools GUI 即可\n-在 Chrome 中来调试 Electron 的主进程,但是,因为\n+在 Chrome 中来调试 Electron 的主进程,但是,因为根据你希望调试的 Electron 版本,\n `no...
2017-01-05T06:49:07
nodejs/node
8f61eef562f2083f0cb9dd11758065d4c8ec0c35
d7fe5548ef27ba82fba1177297b1bc607702fb15
src: discard tasks posted to platform TaskRunner during shutdown Discard tasks silently that are posted when the Isolate is being disposed. It is not possible to avoid a race condition window between unregistering the Isolate with the platform and disposing it in which background tasks and the Isolate deinit steps th...
[ { "path": "src/node_platform.cc", "patch": "@@ -244,14 +244,22 @@ void PerIsolatePlatformData::PostIdleTask(std::unique_ptr<v8::IdleTask> task) {\n }\n \n void PerIsolatePlatformData::PostTask(std::unique_ptr<Task> task) {\n- CHECK_NOT_NULL(flush_tasks_);\n+ if (flush_tasks_ == nullptr) {\n+ // V8 may ...
2020-02-18T19:17:15
rust-lang/rust
566c9aeb66977f947f7b5a03d7e734c96625ca7f
681651350f708260428b7b82621583f98c4d042f
Fix simd_funnel_shift
[ { "path": "src/intrinsic/simd.rs", "patch": "@@ -1465,49 +1465,52 @@ fn simd_funnel_shift<'a, 'gcc, 'tcx>(\n shift: RValue<'gcc>,\n shift_left: bool,\n ) -> RValue<'gcc> {\n+ use crate::common::SignType;\n+\n let a_type = a.get_type();\n let vector_type = a_type.unqualified().dyncast_vect...
2025-08-03T20:21:58
golang/go
0f6ee42fe063a48d7825bc03097bbb714aafdb7d
0c4db1e347dc51589e5289388305b02108ca0aa1
encoding/gob: replace runtime values with constants in init() Current init() implementation in `encoding/gob/decode.go` checks int/uint/uintptr bit size with reflection in runtime. We could replace it with values available on compile stage. This should reduce time and allocations on binary start. Results from GODEBUG=...
[ { "path": "src/encoding/gob/decode.go", "patch": "@@ -1228,9 +1228,14 @@ func (dec *Decoder) decodeIgnoredValue(wireId typeId) {\n \t}\n }\n \n+const (\n+\tintBits = 32 << (^uint(0) >> 63)\n+\tuintptrBits = 32 << (^uintptr(0) >> 63)\n+)\n+\n func init() {\n \tvar iop, uop decOp\n-\tswitch reflect.TypeOf...
2022-08-01T19:18:36
vercel/next.js
b6cce9ce5e0bdb7b3dda21e0ab67b3fcbb741a9f
3bb80cfb83a2a76363a1544ea8a15f43a3e3f836
Docs: Add missing description field (#56749) Fixing error in next-site due to empty description field.
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/optimizePackageImports.mdx", "patch": "@@ -1,6 +1,6 @@\n ---\n title: optimizePackageImports\n-description:\n+description: API Reference for optmizedPackageImports Next.js Config Option\n ---\n \n {/* The content of this doc is shared between the app...
2023-10-12T13:16:06
electron/electron
dc786996efdf9905bcc9fc04fce4a6250750aded
cc3ac9b1daef60d920d4c758e509a8e925e80d2a
Debugging the Main Process in node-inspector to zh-CN
[ { "path": "docs-translations/zh-CN/tutorial/debugging-main-process-node-inspector.md", "patch": "@@ -0,0 +1,128 @@\n+# 使用 node-inspector 进行主进程调试\n+\n+[`node-inspector`][node-inspector] 提供了一个熟悉的 DevTools GUI 即可\n+在 Chrome 中来调试 Electron 的主进程,但是,因为\n+`node-inspector` 依赖于一些必须重新编译的原生 Node 模块\n+根据你希望调试的 Electron ...
2017-01-05T06:47:39
nodejs/node
d7fe5548ef27ba82fba1177297b1bc607702fb15
e00e77e857593caeda8fb04af14baf02faae543a
stream: do not swallow errors with async iterators and pipeline Before this patch, pipeline() could swallow errors by pre-emptively producing a ERR_STREAM_PREMATURE_CLOSE that was not really helpful to the user. Co-Authored-By: Robert Nagy <ronagy@icloud.com> PR-URL: https://github.com/nodejs/node/pull/32051 Reviewe...
[ { "path": "lib/internal/streams/pipeline.js", "patch": "@@ -123,6 +123,7 @@ async function pump(iterable, writable, finish) {\n if (!EE) {\n EE = require('events');\n }\n+ let error;\n try {\n for await (const chunk of iterable) {\n if (!writable.write(chunk)) {\n@@ -132,7 +133,9 @@ asy...
2020-03-02T16:59:06
facebook/react
cbec8c1a890c809f104d826d970f41a4498e38fb
ee8fa3760d6ced8fd8e0bde2758cf8aec727d4ff
fix 2 more entries
[ { "path": "docs/cookbook/11-dom-event-listeners.md", "patch": "@@ -24,10 +24,10 @@ var Box = React.createClass({\n this.setState({windowWidth: window.innerWidth});\n },\n componentDidMount: function() {\n- window.addEventListener(\"resize\", this.handleResize);\n+ window.addEventListener('resi...
2013-10-29T18:20:04
golang/go
0c4db1e347dc51589e5289388305b02108ca0aa1
d75e186e2c013d04548940eae913824bae9d7c48
cmd/compile: fix import/export of ODYNAMICDOTTYPE The RType field isn't needed when performing type assertions from non-empty interface types, because we use the ITab field instead. But the inline body exporter didn't know to expect this. It's possible we could use a single bool to distinguish whether we're serializi...
[ { "path": "src/cmd/compile/internal/typecheck/iexport.go", "patch": "@@ -1928,7 +1928,9 @@ func (w *exportWriter) expr(n ir.Node) {\n \t\tw.op(n.Op())\n \t\tw.pos(n.Pos())\n \t\tw.expr(n.X)\n-\t\tw.expr(n.RType)\n+\t\tif w.bool(n.RType != nil) {\n+\t\t\tw.expr(n.RType)\n+\t\t}\n \t\tif w.bool(n.ITab != nil)...
2022-08-05T23:09:22
vercel/next.js
3bb80cfb83a2a76363a1544ea8a15f43a3e3f836
ebebb6a96a7988d3dd7f80f117bf9143497298c2
Improve chunk encoding test to check right path for Turbopack (#56747) This only fixes the test check, Turbopack wil have to `encodeURI` the files in the FlightManifest. Similar to what the webpack plugin does: https://github.com/vercel/next.js/blob/canary/packages/next/src/build/webpack/plugins/flight-manifest-plug...
[ { "path": "test/e2e/app-dir/app/index.test.ts", "patch": "@@ -13,7 +13,7 @@ createNextDescribe(\n ? 'pnpm next experimental-compile'\n : undefined,\n },\n- ({ next, isNextDev: isDev, isNextStart, isNextDeploy }) => {\n+ ({ next, isNextDev: isDev, isNextStart, isNextDeploy, isTurbopack }) => ...
2023-10-12T12:59:26
electron/electron
cc3ac9b1daef60d920d4c758e509a8e925e80d2a
431faf58ff53dfe55e22c0729bff44934dec88a8
Debugging the Main Process to zh-CN
[ { "path": "docs-translations/zh-CN/tutorial/debugging-main-process-vscode.md", "patch": "@@ -0,0 +1,35 @@\n+# 使用 VSCode 进行主进程调试\n+\n+### 1. 在 VSCode 中打开一个 Electron 工程。\n+\n+```bash\n+$ git clone git@github.com:electron/electron-quick-start.git\n+$ code electron-quick-start\n+```\n+\n+### 2. 添加一个文件 `.vscode/...
2017-01-05T06:45:43
nodejs/node
30bbeb76808e320498187f2b10d24ea4fa8aed12
28fae8bff1949c5008b518fa24fbc5ff5c468267
test: always skip vm-timeout-escape-queuemicrotask This issue is unfixable with the current implementations of V8 and Node.js. Changes to make this fixable are unlikely to happen in the foreseeable future. The test itself is flaky and skipped. It serves as a demonstration of the issue only. PR-URL: https://github.co...
[ { "path": "test/known_issues/known_issues.status", "patch": "@@ -5,6 +5,11 @@ prefix known_issues\n # sample-test : SKIP\n \n [true] # This section applies to all platforms\n+# This issue is unfixable with the current implementations of V8 and\n+# Node.js. Changes to make this fixable...
2020-02-27T09:40:26
golang/go
d75e186e2c013d04548940eae913824bae9d7c48
27f1246b85426ead27f7a695b97d4e042840014b
fmt: add a function to recover the original format string given a State Sometimes when implementing a Formatter it's helpful to use the fmt package without invoking the formatter. This new function, FormatString, makes that easier in some cases by recreating the original formatting directive (such as "%3.2f") that cau...
[ { "path": "api/next/51668.txt", "patch": "@@ -0,0 +1 @@\n+pkg fmt, func FormatString(State, int32) string #51668", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "src/fmt/print.go", "patch": "@@ -9,6 +9,7 @@ import (\n \t\"io\"\n \t\"os\"\n \t\"reflect\"\n+\t\"...
2022-04-19T04:06:41
facebook/react
95f3caaaa49ac66d17f60df89fa6c5ce1cb420a4
a7dd6e7c70ac7cbbf1f54d0e75212a4d789dc7c7
removed cookbook prefix from filenames
[ { "path": "docs/Gruntfile.js", "patch": "@@ -52,17 +52,19 @@ module.exports = function(grunt) {\n \n componentNameCamelCase = componentName;\n \n- componentNameUpperCase = componentName.toUpperCase().replace(/[\\. ,:-]+/g, \"_\");\n+ componentNameUpperCase = componentName.toUpperCase()...
2013-10-14T03:03:45
electron/electron
431faf58ff53dfe55e22c0729bff44934dec88a8
63ae55be2bebce25b6add10c8ec92a3f10d9e697
Debugging the Main Process in VSCode to zh-CN
[ { "path": "docs-translations/zh-CN/tutorial/devtools-extension.md", "patch": "@@ -2,6 +2,8 @@\n \n 为了使调试更容易,Electron 原生支持 [Chrome DevTools Extension][devtools-extension]。\n \n+## 如何加载 DevTools 扩展\n+\n 对于大多数DevTools的扩展,你可以直接下载源码,然后通过 `BrowserWindow.addDevToolsExtension` API 加载它们。Electron会记住已经加载了哪些扩展,所以你不需要每次...
2017-01-05T06:43:17
nodejs/node
173d044d0976e30bc2ab0a40807ec617b0b8a55a
de8fab95a8525105b5611a0f815c72bb0f9c8a30
http: align OutgoingMessage and ClientRequest destroy Added .destroyed property to OutgoingMessage and ClientRequest to align with streams. Fixed ClientRequest.destroy to dump res and re-use socket in agent pool aligning it with abort. PR-URL: https://github.com/nodejs/node/pull/32148 Reviewed-By: Anna Henningsen <a...
[ { "path": "lib/_http_client.js", "patch": "@@ -29,6 +29,7 @@ const {\n ObjectAssign,\n ObjectKeys,\n ObjectSetPrototypeOf,\n+ Symbol\n } = primordials;\n \n const net = require('net');\n@@ -65,6 +66,7 @@ const {\n } = require('internal/dtrace');\n \n const INVALID_PATH_REGEX = /[^\\u0021-\\u00ff]/;\n...
2020-03-08T11:39:50
vercel/next.js
ebebb6a96a7988d3dd7f80f117bf9143497298c2
f2ce230728034077e34a130070c781b7655ca0c1
CI: add manual workflow for running e2e on prod (#56738) This PR adds a job to the `build-and-deploy` workflow so that we run e2e tests on production/vercel if the job was dispatched manually. This is useful if you need to double-check your PR since we don't run them on production for every PRs. <!-- Thanks fo...
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -511,6 +511,40 @@ jobs:\n jrm ./nextjs-test-result-junit.xml \"test/test-junit-report/**/*.xml\"\n DD_ENV=ci datadog-ci junit upload --tags test.type:nextjs_deploy_e2e --service nextjs ./nextjs-test-result-junit.xml\n \n+ ...
2023-10-12T08:55:52
golang/go
4fb7e22adece7e12f7e0b443e1b1a1272e1b84c8
b12366bbb5e83ce0c4d3958d87c0872d2ad0e3e2
cmd/dist: do not run on ppc64le Also don't run on all the other tiny slow boxes we have. Should fix the remaining ppc64le broken builders. For #44505 (or at least somehow provoked by it). Change-Id: I72e8086cb641f3f7da3a872140a752bf328eec1f Reviewed-on: https://go-review.googlesource.com/c/go/+/421438 Reviewed-by: H...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -866,12 +866,12 @@ func (t *tester) registerTests() {\n \t\t\t})\n \t\t}\n \t}\n-\t// Only run the API check on fast development platforms. Android, iOS, and JS\n-\t// are always cross-compiled, and the filesystems on our only plan9 builders\n-\t// are too slow...
2022-08-05T18:37:34
facebook/react
0475834470e1acac60b6f16c0f82f0e1f4cfc20f
48f1ee4940cb427aa67efcd789558cb4b5148902
fix all links to point to /react as root
[ { "path": "docs/cookbook/cb-01-introduction.md", "patch": "@@ -5,7 +5,7 @@ layout: docs\n permalink: introduction.html\n ---\n \n-The React.js cookbook provides solutions for common questions asked when working with the React framework. It's written in the [cookbook format](http://shop.oreilly.com/category/...
2013-10-07T00:26:35
electron/electron
63ae55be2bebce25b6add10c8ec92a3f10d9e697
0b7b2f5a577b4c18d4a93201823a93b52a78b25d
Debugging the Main Process to zh-CN
[ { "path": "docs-translations/zh-CN/tutorial/debugging-main-process.md", "patch": "@@ -16,56 +16,10 @@\n \n 就像 `--debug` 一样,但是会在第一行暂停脚本运行。\n \n-## 使用 node-inspector 来调试\n+## 外部调试器\n \n-__备注:__ Electron 目前对 node-inspector 支持的不是特别好,\n-如果你通过 node-inspector 的 console 来检查 `process` 对象,主进程就会崩溃。\n+你将需要使用一个支持 V8 调试器...
2017-01-05T06:42:51
nodejs/node
811b3a9931b658b2fc2ced2574462069abfa5aa2
73f2dbc911e16a3b50fc9a1236d9bed7d9e04d7a
src: use C++ style for struct with initializers Fixes warning on clang 11: In file included from ../../src/node_http2.cc:6: ../../src/node_http2.h:508:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] ...
[ { "path": "src/node_http2.h", "patch": "@@ -505,13 +505,13 @@ class Http2Stream::Provider::Stream : public Http2Stream::Provider {\n void* user_data);\n };\n \n-typedef struct {\n+struct SessionJSFields {\n uint8_t bitfield;\n uint8_t priority_listener_count;\n uint8_t frame_er...
2020-03-07T00:27:19
vercel/next.js
f2ce230728034077e34a130070c781b7655ca0c1
35a99232c0b0af6e2b54af62b9dc0a04440dd69e
Fix ensurePage for client-side navigation to / in Turbopack (#56704) While investigating the failing test case of `test/integration/scroll-forward-restoration/test/index.test.js` I found that navigating from `/another` to `/` using `next/link` with a `href="/"` errored on `ensurePage` as "this page was not built". Tur...
[ { "path": "packages/next/src/server/lib/router-utils/setup-dev-bundler.ts", "patch": "@@ -116,6 +116,7 @@ import {\n import { normalizeMetadataRoute } from '../../../lib/metadata/get-metadata-route'\n import { clearModuleContext } from '../render-server'\n import type { ActionManifest } from '../../../build...
2023-10-12T08:38:31
golang/go
15d395a196f4aba5b8c6bb990380a85fce3282a7
91d5ce3def7c967b23de37546439bb4714e26e8a
cmd/link: use correct path for dynamic loader on ppc64le The setting of the path for the dynamic loader when building for linux/ppc64le ELF v2 was incorrectly set to the path for PPC64 ELF v1. This has not caused issues in the common cases because this string can be set based on the default GO_LDSO setting. It does re...
[ { "path": "src/cmd/link/internal/ppc64/obj.go", "patch": "@@ -38,9 +38,12 @@ import (\n )\n \n func Init() (*sys.Arch, ld.Arch) {\n-\tarch := sys.ArchPPC64\n-\tif buildcfg.GOARCH == \"ppc64le\" {\n-\t\tarch = sys.ArchPPC64LE\n+\tarch := sys.ArchPPC64LE\n+\tdynld := \"/lib64/ld64.so.2\"\n+\n+\tif buildcfg.GO...
2022-07-14T15:47:28
vercel/next.js
c1a1583dd0f60fe4dfc67773951bba46bf143757
7d8cf1f9f3d682cf15145ca97d81838c3c5ec54e
Fix reconnection loop when devserver is offline (#56698) Ensures the webpack-hmr socket is not reconnected infinitely while (and very quickly) when the dev server is offline. I've implemented a gradual backoff, after 5 tries at 1 second it'll try 20 times at 5 seconds. After those 25 retries it reloads the page as ...
[ { "path": "packages/next/src/client/dev/error-overlay/websocket.ts", "patch": "@@ -26,11 +26,14 @@ export function sendMessage(data: string) {\n return source.send(data)\n }\n \n+let reconnections = 0\n+\n export function connectHMR(options: { path: string; assetPrefix: string }) {\n function init() {\n...
2023-10-12T08:07:02
nodejs/node
c37c21b6ef2ef13f45b99e88bf625a452c6c9c0a
36ce039347e94a9a0f8239c7bc639868e496258d
doc: remove personal pronoun usage in errors.md Per our style guide, avoid personal pronouns (I, you, we, etc.) in reference documentation. PR-URL: https://github.com/nodejs/node/pull/32142 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat...
[ { "path": "doc/api/errors.md", "patch": "@@ -1875,7 +1875,7 @@ added: v13.10.0\n -->\n \n The TLS socket must be connected and securily established. Ensure the 'secure'\n-event is emitted, before you continue.\n+event is emitted before continuing.\n \n <a id=\"ERR_TLS_INVALID_PROTOCOL_METHOD\"></a>\n ### `E...
2020-03-08T01:35:00
golang/go
91d5ce3def7c967b23de37546439bb4714e26e8a
39728f412d5fb6d97568cc84a42f1caf07dbaedc
all: clean up TODO after fixing issue 44505 For #44505 Change-Id: I89220be02372b5340cb987bf2ac870a9346a8c8f Reviewed-on: https://go-review.googlesource.com/c/go/+/421079 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> ...
[ { "path": "src/cmd/asm/internal/lex/tokenizer.go", "patch": "@@ -5,6 +5,7 @@\n package lex\n \n import (\n+\t\"go/build/constraint\"\n \t\"io\"\n \t\"os\"\n \t\"strings\"\n@@ -109,8 +110,7 @@ func (t *Tokenizer) Next() ScanToken {\n \t\t}\n \t\ttext := s.TokenText()\n \t\tt.line += strings.Count(text, \"\\n...
2022-08-04T02:12:20
nodejs/node
66e32ff64aef3580eb7ba592323312ae42bbb439
192cb7288ab608a5d17be060aa6127df1f7bbdb0
test: improve test-debug-usage test-debug-usage fails if run with `--trace-warnings` because the regular expression checking does not allow for the resulting stack trace from the deprecation warning. The test also only tests two parts of the three-part usage message. Improve the test so that it passes with `--trace-...
[ { "path": "test/parallel/test-debug-usage.js", "patch": "@@ -11,8 +11,7 @@ child.stderr.setEncoding('utf8');\n \n const expectedLines = [\n /^\\(node:\\d+\\) \\[DEP0068\\] DeprecationWarning:/,\n- /^Usage: .*node.* debug script\\.js$/,\n- /^ .*node.* debug <host>:<port>$/\n+ /Usage: .*node.* debu...
2020-03-08T01:04:15
vercel/next.js
d735d317d1c15d33da2d4e92c7956732371e2bba
f0dd49e405b1eff5680f0459cff1cb934ebe9b4b
fix static worker restart behavior (#56728) In [55841](https://github.com/vercel/next.js/pull/55841), this file was reworked to improve type safety and readability, but it changed the behavior of how we were invoking methods on the worker. Specifically, when a restart occurred, this timeout wrapping function was refer...
[ { "path": "packages/next/src/lib/worker.ts", "patch": "@@ -133,9 +133,7 @@ export class Worker<T extends object = object, Args extends any[] = any[]> {\n }\n \n const wrapMethodWithTimeout =\n- <M extends (...args: unknown[]) => Promise<unknown> | unknown>(\n- method: M\n- ) =>\n+ ...
2023-10-12T00:19:29
facebook/react
ff9246316fdc8c74f5404573dd24f5f853b4f3bb
b92c433c5001641c5354adf53a1cff7de1cd6aac
fix permalink, temporarily remove script field of Jekyll
[ { "path": "docs/cookbook/cb-02-inline-styles tip.md", "patch": "@@ -2,8 +2,7 @@\n id: inline-styles-tip\n title: Inline Styles\n layout: docs\n-permalink: inline-styles.html\n-script: \"cookbook/inline-styles.js\"\n+permalink: inline-styles-tip.html\n ---\n \n In React, inline styles are not specified as a ...
2013-09-28T03:26:40
electron/electron
d9fbead8ca2729b0208ff5c8ff0c2a7a139d33b8
6324270221e1ef250b6b65413e511087a4212759
fix some expression
[ { "path": "docs-translations/zh-CN/project/README.md", "patch": "@@ -16,30 +16,30 @@ Electron框架,让您可使用JavaScript, HTML 及 CSS 编写桌面程序。\n \n ## 下载\n \n-可以在[releases](https://github.com/electron/electron/releases)找到预编译的二进制版本及symbols调试版本,\n-其中包括Linux,Windows和macOS版本。\n-\n-可以使用[`npm`](https://docs.npmjs.com/)来安装预编...
2016-12-30T14:50:44
vercel/next.js
f0dd49e405b1eff5680f0459cff1cb934ebe9b4b
daa865fff6e19b3c53a08d1e5a31dcccf96408a1
Updates Large Page Data error message doc to use `JSON.parse` to make reading output easier (#56713) Fixes https://github.com/vercel/feedback/issues/26361
[ { "path": "errors/large-page-data.mdx", "patch": "@@ -13,7 +13,7 @@ Reduce the amount of data returned from `getStaticProps`, `getServerSideProps`,\n To inspect the props passed to your page, you can inspect the below element's content in your browser devtools:\n \n ```bash filename=\"Terminal\"\n-document....
2023-10-11T21:10:44
facebook/react
ac9dd922726b5e886cada4788cf43906f18aedf5
7909c3e71b299fd100c7af660ab68ae3716b0a25
Fix unmounting components mounted into doc element If we are to unmount a component mounted into a document element we should unmount it from document.documentElement and not from document.firstChild which is a doctype element in this specific case.
[ { "path": "src/core/ReactMount.js", "patch": "@@ -430,6 +430,10 @@ var ReactMount = {\n unmountComponentFromNode: function(instance, container) {\n instance.unmountComponent();\n \n+ if (container.nodeType === DOC_NODE_TYPE) {\n+ container = container.documentElement;\n+ }\n+\n // http:...
2013-10-14T23:21:29
nodejs/node
192cb7288ab608a5d17be060aa6127df1f7bbdb0
51bc55f2a2424d6eb805dace43604906ed9946a8
tools: use per-process native Debug() printer in mkcodecache PR-URL: https://github.com/nodejs/node/pull/31884 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "node.gyp", "patch": "@@ -1259,6 +1259,16 @@\n ],\n \n 'conditions': [\n+ [ 'node_use_openssl==\"true\"', {\n+ 'defines': [\n+ 'HAVE_OPENSSL=1',\n+ ],\n+ }],\n+ ['v8_enable_inspector==1', {\n+ 'defines': [\n+ 'HAVE_I...
2020-02-20T09:57:55
facebook/react
25ba629098497bfa4ac7ce62f6c5f02ca4e5fad3
10f3d93df728274685b3ce16468862199b6876ff
Move heading anchors 50px up to avoid nav bar Fixes #447. We do this by moving the actual anchored element up in the page without moving the actual text. (Apple uses a similar trick in their framed docs.) Now this looks a bit sillier on smaller screens but it's better overall.
[ { "path": "docs/_css/react.scss", "patch": "@@ -15,6 +15,7 @@ $contentPadding: 20px;\n $columnWidth: 280px;\n $columnGutter: 40px;\n $twoColumnWidth: 2 * $columnWidth + $columnGutter;\n+$navHeight: 50px;\n \n \n \n@@ -42,7 +43,7 @@ html {\n \n \n .container {\n- padding-top: 50px;\n+ padding-top: $navHeig...
2013-10-27T23:47:46
vercel/next.js
daa865fff6e19b3c53a08d1e5a31dcccf96408a1
216d968c9fbe54a183ac706c52e39d927116d06a
fix lint error from fauna example (#56719) https://github.com/vercel/next.js/pull/56185 wasn't passing lint checks [x-ref](https://github.com/vercel/next.js/actions/runs/6487087673/job/17616654281?pr=56718#step:28:196)
[ { "path": "examples/with-fauna/lib/fauna.ts", "patch": "@@ -1,11 +1,5 @@\n import 'server-only'\n-import {\n- Client,\n- fql,\n- QuerySuccess,\n- QueryValueObject,\n- QueryFailure,\n-} from 'fauna'\n+import { Client, fql, QuerySuccess, QueryValueObject } from 'fauna'\n \n const client = new Client({\n ...
2023-10-11T19:45:22
nodejs/node
51bc55f2a2424d6eb805dace43604906ed9946a8
a8772da54dd8ccc658cf56992b2ba46a021f6e83
src: implement per-process native Debug() printer This patch adds a per-process native Debug() printer that can be called when an Environment is not available. PR-URL: https://github.com/nodejs/node/pull/31884 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/debug_utils-inl.h", "patch": "@@ -164,6 +164,20 @@ inline void FORCE_INLINE Debug(AsyncWrap* async_wrap,\n Debug(async_wrap, format.c_str(), std::forward<Args>(args)...);\n }\n \n+namespace per_process {\n+\n+template <typename... Args>\n+inline void FORCE_INLINE Debug(DebugCategory cat,\n+...
2020-02-20T09:22:48
electron/electron
6324270221e1ef250b6b65413e511087a4212759
219693d91f6c6d321c948d13bfb893457e24781b
fix some expression
[ { "path": "docs-translations/zh-CN/project/README.md", "patch": "@@ -6,21 +6,20 @@\n [![Join the Electron Community on Slack](http://atom-slack.herokuapp.com/badge.svg)](http://atom-slack.herokuapp.com/)\n \n Electron框架,让您可使用JavaScript, HTML 及 CSS 编写桌面程序。\n-它基于[Node.js](https://nodejs.org/)及[Chromium](http:...
2016-12-29T13:53:53
rust-lang/rust
3aeeae6d4406a97e3746263bfc6f3f70df6313a4
da19b9d24c4ed900b91b45ec7f7795ec43613b1e
remove rust_ prefixes
[ { "path": "library/std/src/panicking.rs", "patch": "@@ -696,14 +696,14 @@ pub fn begin_panic_handler(info: &core::panic::PanicInfo<'_>) -> ! {\n let msg = info.message();\n crate::sys::backtrace::__rust_end_short_backtrace(move || {\n if let Some(s) = msg.as_str() {\n- rust_panic_...
2025-08-03T14:22:11
vercel/next.js
5be28886c3138d87323c794ec81d70226ee5a2dc
d6a1b5d53397770c64272ab5a6a791634983a3ca
Use unique names for separate test suites (#56695) These two get reported under the same name which makes it harder to distinguish in the dashboard. <!-- 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 checklis...
[ { "path": "test/integration/scroll-back-restoration/test/index.test.js", "patch": "@@ -63,7 +63,7 @@ const runTests = () => {\n })\n }\n \n-describe('Scroll Restoration Support', () => {\n+describe('Scroll Back Restoration Support', () => {\n describe('dev mode', () => {\n beforeAll(async () => {\n ...
2023-10-11T12:42:12
nodejs/node
a8772da54dd8ccc658cf56992b2ba46a021f6e83
e0f5af3937abd703c87030b6f1e72cd3343e4f28
src: refactor debug category parsing Move the debug category parsing into a new EnabledDebugList class, so that it can be reused outside of Environment. PR-URL: https://github.com/nodejs/node/pull/31884 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/debug_utils-inl.h", "patch": "@@ -4,6 +4,7 @@\n #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS\n \n #include \"debug_utils.h\"\n+#include \"env.h\"\n \n #include <type_traits>\n \n@@ -90,6 +91,79 @@ void COLD_NOINLINE FPrintF(FILE* file, const char* format, Args&&... args) {\n FWri...
2020-02-20T09:20:56
facebook/react
fbb741febbd14bb287e42f1c802a7538a82b9e9e
0ef1ca00243671a0a969af68a173669fda0783b9
Fix ReactTransitionEvents detectEvents
[ { "path": "src/addons/transitions/ReactTransitionEvents.js", "patch": "@@ -44,9 +44,10 @@ function detectEvents() {\n var testEl = document.createElement('div');\n var style = testEl.style;\n for (var baseEventName in EVENT_NAME_MAP) {\n- for (var styleName in baseEventName) {\n+ var baseEvents ...
2013-10-26T01:11:58
vercel/next.js
d6a1b5d53397770c64272ab5a6a791634983a3ca
e8048b99746a33bdb66ed0d798ac6187f820a17e
Ensure rewrites are included in build manifest when using Turbopack (#56692) The build manifest when using webpack includes the rewrites config so that the Pages Router can correctly match the path. The manifest for Turbopack was missing these properties which caused a bunch of the middleware tests to fail. This PR...
[ { "path": "packages/next/src/build/webpack/plugins/build-manifest-plugin.ts", "patch": "@@ -20,13 +20,37 @@ import { spans } from './profiling-plugin'\n \n type DeepMutable<T> = { -readonly [P in keyof T]: DeepMutable<T[P]> }\n \n-export type ClientBuildManifest = Record<string, string[]>\n+export type Clie...
2023-10-11T11:20:03
nodejs/node
1760c23f756bd2d4b7aab4ce00e21e4a021ea97c
f64aafa2d532b42cc751571c1c98bb6fb3099ea2
benchmark: add `test` and `all` options and improve errors" This reverts commit 4671d551cf9210434bdadf65ee5654606d24da70 and contains a fix to the issue raised for the revert. PR-URL: https://github.com/nodejs/node/pull/31755 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vladimir de Turckheim <vlad2t@...
[ { "path": "benchmark/_cli.js", "patch": "@@ -6,22 +6,24 @@ const path = require('path');\n // Create an object of all benchmark scripts\n const benchmarks = {};\n fs.readdirSync(__dirname)\n- .filter((name) => fs.statSync(path.resolve(__dirname, name)).isDirectory())\n+ .filter((name) => {\n+ return na...
2020-02-12T18:33:33
facebook/react
c5cc145538e9becc4fc442629d5957f9cc0d451b
0d2d3360d0cf4eeacc388e625c91c72ccb8c4190
ReactTransitionGroup example: fix typo and logic bug in handleRemove
[ { "path": "docs/docs/09-addons.md", "patch": "@@ -33,14 +33,14 @@ var TodoList = React.createClass({\n },\n handleRemove: function(i) {\n var newItems = this.state.items;\n- newItems.splice(i, 0)\n+ newItems.splice(i, 1)\n this.setState({items: newItems});\n },\n render: function() {\n...
2013-10-26T01:03:31
electron/electron
e3e05aa79725b043b7ae10e1c162f429fb0f2c8e
b85ec95975e3ff997c7b5c4749e1ea0d93057dbc
Add test for corrupt install error message
[ { "path": "npm/test/errors.js", "patch": "@@ -3,15 +3,15 @@ var tape = require('tape')\n var path = require('path')\n var childProcess = require('child_process')\n \n-tape('fails for unsupported platforms', function (t) {\n+tape('install fails for unsupported platforms', function (t) {\n install({npm_conf...
2016-12-28T17:28:51
vercel/next.js
dabeb51fffd6505cf8b580036b694e51b8b840db
d73b8366afa1cb25e60ba26c5fc1fb2c76534029
Fix SSG query with experimental-compile (#56680) Ensures query isn't omitted when using experimental compile mode with SSG pages as it skips the isReady delay that is normally done with prerendering.
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -941,7 +941,7 @@ export default async function build(\n ? path.relative(distDir, incrementalCacheHandlerPath)\n : undefined,\n \n- isExperimentalCompile: true,\n+ isExperimentalCompile: isCom...
2023-10-11T01:52:36
golang/go
44ff9bff0cd02642c37cce0223d25dc57230c8d2
f42dc0de74f83d39e5ca1af72fc5334c73bd41f9
runtime: clean up panic and deadlock lock ranks I'm not entirely sure why these locks are currently ranked "deadlock < panic" since we drop panic before acquiring deadlock, and we actually want deadlock to be below panic because panic is implicitly below everything else and we want deadlock to be, too. My best guess i...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -59,8 +59,8 @@ const (\n \tlockRankWbufSpans\n \tlockRankMheap\n \tlockRankGlobalAlloc\n-\tlockRankDeadlock\n \tlockRankPanic\n+\tlockRankDeadlock\n )\n \n // lockRankLeafRank is the rank of lock that does not have a declared rank,\n@@ -111,8 +111,8 @@ var l...
2022-07-20T21:44:45
facebook/react
0ef1ca00243671a0a969af68a173669fda0783b9
0d2d3360d0cf4eeacc388e625c91c72ccb8c4190
fixed %d in invariant call
[ { "path": "src/dom/Danger.js", "patch": "@@ -147,7 +147,7 @@ var Danger = {\n \n invariant(\n resultList.length === markupList.length,\n- 'Danger: Expected markup to render %d nodes, but rendered %d.',\n+ 'Danger: Expected markup to render %s nodes, but rendered %s.',\n markupList....
2013-10-26T00:58:43
nodejs/node
9a78c82c55f4c4665533f3e50b6ee236aeb79dd4
c0c81ed204b08c264f235234ab35a490f6d147ea
test: warn when inspector process crashes If the subprocess being inspected hard crashes, there will be no information on the log, and the parent process will just wait until timeout. Logging the error signal when it happens can help developers understand failures faster. Signed-off-by: Matheus Marchini <mmarchini@ne...
[ { "path": "test/common/inspector-helper.js", "patch": "@@ -344,6 +344,9 @@ class NodeInstance extends EventEmitter {\n \n this._shutdownPromise = new Promise((resolve) => {\n this._process.once('exit', (exitCode, signal) => {\n+ if (signal) {\n+ console.error(`[err] child process c...
2020-03-07T00:13:00
rust-lang/rust
7d78968bd053eb7811126b2bad991579fb78cc3a
7cd950546b4ce68843b4cbdb1ab3a43776202d3a
fix: Error on illegal `[const]`s inside blocks within legal positions
[ { "path": "compiler/rustc_ast_passes/messages.ftl", "patch": "@@ -241,6 +241,10 @@ ast_passes_tilde_const_disallowed = `[const]` is not allowed here\n .trait_assoc_ty = associated types in non-`const` traits cannot have `[const]` trait bounds\n .trait_impl_assoc_ty = associated types in non-const im...
2025-07-31T15:23:36
facebook/react
893fba8373b648fa0a1370bcd3071250136dfad4
44ad2b55e6d52f89eece7adbd8ea8465d3ccd977
Make SelectEventPlugin not throw for range inputs Accessing .selectionStart on a non-text input will throw (see http://www.w3.org/TR/2009/WD-html5-20090423/editing.html#textFieldSelection), so check that the input has selection capabilities before accessing the property. Fixes #437.
[ { "path": "src/eventPlugins/SelectEventPlugin.js", "patch": "@@ -22,6 +22,7 @@ var EventConstants = require('EventConstants');\n var EventPluginHub = require('EventPluginHub');\n var EventPropagators = require('EventPropagators');\n var ExecutionEnvironment = require('ExecutionEnvironment');\n+var ReactInpu...
2013-10-20T21:36:43
golang/go
2b8a9a484fbc91b7b0d21890e33b28a0b48e3a10
ddfd6394084f534bac3966d3a1736c15c665bd3a
runtime: generate the lock ranking from a DAG description Currently, the runtime lock rank graph is maintained manually in a large set of arrays that give the partial order and a manual topological sort of this partial order. Any changes to the rank graph are difficult to reason about and hard to review, as well as li...
[ { "path": "src/internal/dag/alg.go", "patch": "@@ -0,0 +1,63 @@\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 dag\n+\n+// Transpose reverses all edges in g.\n+func (g *Graph) T...
2022-07-19T21:31:52
vercel/next.js
d79f8a2f0381e23ac9b82fb7428f306e7a40a360
c8b2d1b44a9f9376eee7bc6c26e84bd7f5c03354
fix(next-core): allow sass loader for foreign codes (#56679) ### What? - closes https://github.com/vercel/next.js/issues/55785 Similar to https://github.com/vercel/next.js/pull/56539, next.config's sass applies webpack loaders to node_modules implicitly and this PR mimics those for the turbopack. Closes WEB-1753
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -212,9 +212,29 @@ pub async fn get_client_module_options_context(\n false,\n next_config,\n );\n- let webpack_rules =\n- *maybe_add_babel_loader(project_path, *next_config.webpack_rules().aw...
2023-10-10T23:16:12
nodejs/node
c0c81ed204b08c264f235234ab35a490f6d147ea
d368dcc63af2eb75d5dbef5c6669e5e8ab3be5d2
n-api: define release 6 Mark all N-APIs that have been added since version 5 as stable. PR-URL: https://github.com/nodejs/node/pull/32058 Fixes: https://github.com/nodejs/abi-stable-node/issues/393 Co-Authored-By: legendecas <legendecas@gmail.com> Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-...
[ { "path": "doc/api/n-api.md", "patch": "@@ -374,6 +374,7 @@ tied to the life cycle of the Agent.\n ### napi_set_instance_data\n <!-- YAML\n added: v12.8.0\n+napiVersion: 6\n -->\n \n ```C\n@@ -401,6 +402,7 @@ by the previous call, it will not be called.\n ### napi_get_instance_data\n <!-- YAML\n added: v12....
2020-03-03T00:53:06
rust-lang/rust
035ff85042ed1b61e98346229c4aa059a3c87c69
e3a6469ac09ad7086049fc9ce3b0439432f29cea
Fix intcast to use the is_signed parameter
[ { "path": "src/builder.rs", "patch": "@@ -1278,11 +1278,19 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {\n \n fn intcast(\n &mut self,\n- value: RValue<'gcc>,\n+ mut value: RValue<'gcc>,\n dest_typ: Type<'gcc>,\n- _is_signed: bool,\n+...
2025-08-03T15:58:13
facebook/react
b46b6a8db90c2316c3e9e7d77ab6d620a6b4f775
44ad2b55e6d52f89eece7adbd8ea8465d3ccd977
Fix live editor examples on home page. Remember that one time I wrote release notes and said: > This is a breaking change - if you were using class, you must change > this to className or your components will be visually broken. Good thing I didn't listen to myself!
[ { "path": "docs/_js/live_editor.js", "patch": "@@ -44,7 +44,7 @@ var CodeMirrorEditor = React.createClass({\n }\n \n return (\n- <div class={this.props.className}>\n+ <div className={this.props.className}>\n {editor}\n </div>\n );\n@@ -76,22 +76,22 @@ var ReactPlayground ...
2013-10-17T00:56:51
golang/go
d37cc9a8cd4a33a78871b674a23bd3c1e39031e5
ab0a94c6d32f758d9e61e3893e09f0a742347b4a
go/build, internal/dag: lift DAG parser into an internal package This lifts the DAG parser from the go/build dependencies test into its own package that can be reused elsewhere. I tried to keep the code as close as possible. I changed some names to reflect the more general purpose of internal/dag. Most of the changes...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -11,6 +11,7 @@ import (\n \t\"bytes\"\n \t\"fmt\"\n \t\"go/token\"\n+\t\"internal/dag\"\n \t\"internal/testenv\"\n \t\"io/fs\"\n \t\"os\"\n@@ -29,40 +30,9 @@ import (\n // without prior discussion.\n // Negative assertions should almost never be removed.\n...
2022-07-18T15:35:52
vercel/next.js
7a08f0082dd3d085d1345233273ac526f2833bba
52356a0e14c51b096a6229f25bdd31a0f14da5a9
Fix trace ignore handling (#56674) This ensures we separate our ignore handling for next-server runtime entries and `.next/server` chunks. When these were combined our ignores caused modules that should were actually needed by user code to be excluded. Verified patch against the provided minimal repros ![CleanShot ...
[ { "path": "packages/next/src/build/collect-build-traces.ts", "patch": "@@ -233,14 +233,16 @@ export async function collectBuildTraces({\n })\n }\n }\n- const ignores = [\n+ const serverIgnores = [\n '**/*.d.ts',\n '**/*.map',\n isStandalone ? null : ...
2023-10-10T19:41:44
nodejs/node
e9fa5ae3a1198213f8f58d4b97eb6233c05a28b4
8ce6315e8896dd30f5d21caca542b031f33e6b8d
src: handle NULL env scenario Convert hard assertion into a throw with a useful error message in src/module_wrap.cc. PR-URL: https://github.com/nodejs/node/pull/31899 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/errors.md", "patch": "@@ -889,6 +889,13 @@ provided.\n Encoding provided to `TextDecoder()` API was not one of the\n [WHATWG Supported Encodings][].\n \n+<a id=\"ERR_EXECUTION_ENVIRONMENT_NOT_AVAILABLE\"></a>\n+### `ERR_EXECUTION_ENVIRONMENT_NOT_AVAILABLE`\n+\n+The JS execution context is...
2020-02-21T07:32:51
facebook/react
820532b7aa6a600051b5b0dea7fe0993ec6d7e9a
48281a17e4f460020fa7b9c6dc8169a1b867327c
Fix `grunt npm:test`
[ { "path": "grunt/tasks/npm.js", "patch": "@@ -64,8 +64,8 @@ module.exports = function() {\n var pkgDir = path.join(nodePath, pkg.name);\n var doneCount = 2;\n \n- // Make sure that bin/jsx-internal is runnable by echoing main.js.\n- run(\"bin/jsx-internal\", [\"main.js\...
2013-10-16T18:42:02
electron/electron
835c64b7b2e5002ca27e5f96831d38d6bd92eb23
af2ca221b4f8e60e445d5085c09a95a33f3c560e
Add specs for error cases
[ { "path": "npm/test/errors.js", "patch": "@@ -0,0 +1,62 @@\n+var fs = require('fs')\n+var tape = require('tape')\n+var path = require('path')\n+var childProcess = require('child_process')\n+\n+tape('fails for unsupported platforms', function (t) {\n+ install({npm_config_platform: 'android'}, function (code...
2016-12-27T19:37:01
golang/go
ab0a94c6d32f758d9e61e3893e09f0a742347b4a
1e3c19f3fee12e5e2b7802a54908a4d4d03960da
cmd/dist: require Go 1.17 for building Go This makes builds using earlier Go bootstrap versions fail pretty clearly: % GOROOT_BOOTSTRAP=$HOME/sdk/go1.16 ./make.bash Building Go cmd/dist using /Users/rsc/sdk/go1.16. (go1.16 darwin/amd64) found packages main (build.go) and building_Go_requires_Go_1_17_or_later (notgo11...
[ { "path": "src/cmd/dist/notgo117.go", "patch": "@@ -0,0 +1,22 @@\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 1.20 and later requires Go 1.17 as the bootstrap toolchain.\n+// If...
2022-08-04T02:50:37