repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
b911771f129c599c4f5a6f9b866d300c4fa42159
ad0287f4960610c01c12ea99da50d7138509c0b0
cmd/compile/internal/ir: better dump for OLINKSYMOFFSET When debugging IR that uses OLINKSYMOFFSET, you really need to know what linksym it actually refers to. Change-Id: I7f4775d040b50e36262f9f8b52d0fb112b7ed350 Reviewed-on: https://go-review.googlesource.com/c/go/+/422194 Reviewed-by: Cuong Manh Le <cuong.manhle.vn...
[ { "path": "src/cmd/compile/internal/ir/fmt.go", "patch": "@@ -1127,6 +1127,15 @@ func dumpNode(w io.Writer, n Node, depth int) {\n \t\tdumpNodeHeader(w, n)\n \t\treturn\n \n+\tcase OLINKSYMOFFSET:\n+\t\tn := n.(*LinksymOffsetExpr)\n+\t\tfmt.Fprintf(w, \"%+v-%v\", n.Op(), n.Linksym)\n+\t\t// Offset is almost...
2022-08-08T22:47:09
nodejs/node
4c64e7c59a655142367a361bae873683208b9f9b
765c3759eff73851bdc5c4f1f8f63819eed9a2e9
test: remove common.skipIfReportDisabled() The report feature won't ever be disabled moving forward, so checking for its existence in the tests is no longer needed. PR-URL: https://github.com/nodejs/node/pull/32242 Fixes: https://github.com/nodejs/node/issues/26293 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewe...
[ { "path": "test/common/index.js", "patch": "@@ -553,12 +553,6 @@ function skipIfInspectorDisabled() {\n }\n }\n \n-function skipIfReportDisabled() {\n- if (!process.config.variables.node_report) {\n- skip('Diagnostic reporting is disabled');\n- }\n-}\n-\n function skipIf32Bits() {\n if (bits < 64) ...
2020-03-13T02:58:29
electron/electron
6af7cfff33b682f4b4435c592f4394075c9f7e09
057fda53520b1d63b8e6679eb5ebb22a355a2be4
fix syntax and use relative path to electron-api.json target
[ { "path": "script/create-dist.py", "patch": "@@ -132,9 +132,9 @@ def copy_license():\n shutil.copy2(os.path.join(SOURCE_ROOT, 'LICENSE'), DIST_DIR)\n \n def create_api_json_schema():\n- outfile = os.path.join(DIST_DIR, 'electron-api.json')\n- execute(['electron-docs-linter', '--outfile={0}'.format(outfi...
2017-01-18T19:52:09
rust-lang/rust
b4f404b581a3e93c146ca2ea711fa03dca77327b
e1b9081e699065badfc1a9419ec9566e5c8615c4
Fix wrong font being used for tooltips `i` icons
[ { "path": "src/librustdoc/html/static/css/rustdoc.css", "patch": "@@ -1838,6 +1838,10 @@ instead, we check that it's not a \"finger\" cursor.\n \tborder-right: 3px solid var(--target-border-color);\n }\n \n+a.tooltip {\n+\tfont-family: var(--font-family);\n+}\n+\n .code-header a.tooltip {\n \tcolor: inherit...
2025-08-04T15:23:56
golang/go
ad0287f4960610c01c12ea99da50d7138509c0b0
e1a8e0e05d4959d0b669cb968482a5dcfe0c95f8
Revert "runtime: redo heap bitmap" This reverts commit b589208c8cc6e08239868f47e12c1449cd797bac. Reason for revert: Bug somewhere in this code, causing wasm and maybe linux/386 to fail. Change-Id: I5e1e501d839584e0219271bb937e94348f83c11f Reviewed-on: https://go-review.googlesource.com/c/go/+/422395 Reviewed-by: Tha...
[ { "path": "src/cmd/compile/internal/test/inl_test.go", "patch": "@@ -72,7 +72,11 @@ func TestIntendedInlining(t *testing.T) {\n \t\t\t\"cgoInRange\",\n \t\t\t\"gclinkptr.ptr\",\n \t\t\t\"guintptr.ptr\",\n-\t\t\t\"writeHeapBitsForAddr\",\n+\t\t\t\"heapBits.bits\",\n+\t\t\t\"heapBits.isPointer\",\n+\t\t\t\"he...
2022-08-09T15:44:48
nodejs/node
765c3759eff73851bdc5c4f1f8f63819eed9a2e9
f1d3d927e1225f0b8a959d36024788bd65600c5b
build: make --without-report a no-op This commit makes the configure --without-report flag a no-op. This commit also updates a test that depends on the report CLI flags being conditionally present. PR-URL: https://github.com/nodejs/node/pull/32242 Fixes: https://github.com/nodejs/node/issues/26293 Reviewed-By: Richar...
[ { "path": "configure.py", "patch": "@@ -538,12 +538,12 @@\n dest='without_npm',\n help='do not install the bundled npm (package manager)')\n \n+# Dummy option for backwards compatibility\n parser.add_option('--without-report',\n action='store_true',\n- dest='without_report',\n- help='build...
2020-03-13T02:39:12
vercel/next.js
db214214d6d26cebd8b0004558019c8b667292c2
308a327923b087d7f060934456a0fbe77a76056b
Update Babel dependencies (#51962) ### What? Update Babel packages across the board ### Why? Since you ship vendored presets and plugins it's impossible for people to update this stuff at their own pace - independently from Next. So users of `next/babel` are currently stuck with old versions and, for example, they ...
[ { "path": "examples/with-expo-typescript/package.json", "patch": "@@ -21,7 +21,7 @@\n \"react-native-web\": \"~0.11.7\"\n },\n \"devDependencies\": {\n- \"@babel/core\": \"^7.8.6\",\n+ \"@babel/core\": \"7.22.5\",\n \"@expo/next-adapter\": \"2.1.9\",\n \"@types/node\": \"14.0.4\",\n ...
2023-10-17T02:25:57
facebook/react
f6f3d4262b29aa4f453998f585676eb9fff6bb50
75383c5c9973215bc834da2045518b7956247a77
fix broken link on controlled input tip
[ { "path": "docs/tips/08-controlled-input-null-value.md", "patch": "@@ -7,7 +7,7 @@ prev: children-props-type.html\n next: componentWillReceiveProps-not-triggered-after-mounting.html\n ---\n \n-Specifying the `value` prop on a [controlled component](/react/docs/tips/forms.html) prevents the user from changin...
2013-11-12T20:59:59
golang/go
e1a8e0e05d4959d0b669cb968482a5dcfe0c95f8
0d9ed0638be1aa5c68c1bef0713c338e206a6656
Revert "runtime: process ptr bitmaps one word at a time" This reverts commit c3833a55433f4b2981253f64444fe5c3d1bc910a. Reason for revert: Bug somewhere in this code, causing wasm and maybe linux/386 to fail. Change-Id: I05f7cfa467598ca0c2c84fd4f752cc4ef117cc51 Reviewed-on: https://go-review.googlesource.com/c/go/+/4...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1549,11 +1549,7 @@ func dgcsym(t *types.Type, write bool) (lsym *obj.LSym, useGCProg bool, ptrdata\n \n // dgcptrmask emits and returns the symbol containing a pointer mask for type t.\n func dgcptrmask(t *types.Type, write bool) *ob...
2022-08-09T15:44:16
nodejs/node
f1d3d927e1225f0b8a959d36024788bd65600c5b
a6bd2c2f81a0a238bf0f45174fee70b7870f8ef2
build: remove node_report option in node.gyp PR-URL: https://github.com/nodejs/node/pull/32242 Fixes: https://github.com/nodejs/node/issues/26293 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <...
[ { "path": "node.gyp", "patch": "@@ -337,6 +337,8 @@\n 'type': 'executable',\n \n 'defines': [\n+ 'NODE_ARCH=\"<(target_arch)\"',\n+ 'NODE_PLATFORM=\"<(OS)\"',\n 'NODE_WANT_INTERNALS=1',\n ],\n \n@@ -424,13 +426,6 @@\n 'OTHER_LDFLAGS': [ '-Wl,-rpath,@loader...
2020-03-13T02:20:36
facebook/react
49261c93920448d3b030b5778d904120299254a1
fe52e059b93193f062db217f11f98e88eebc4d53
Fix broken link, formatting on px style tip
[ { "path": "docs/tips/06-style-props-value-px.md", "patch": "@@ -16,14 +16,14 @@ var divStyle = {height: 10}; // rendered as \"height:10px\"\n React.renderComponent(<div style={divStyle}>Hello World!</div>, mountNode);\n ```\n \n-See [Inline Styles](/react/docs/tips/inline-styles-tip.html) for more info.\n+S...
2013-11-12T20:53:14
vercel/next.js
308a327923b087d7f060934456a0fbe77a76056b
24a146680f6e4cb53737ddee170958b700977ee0
feat(env): upgrade `dotenv` (#38481) Upgraded dotenv to v16. Breaking changes are: - Multiline parsing support - Support inline comments - Backtick support [See their changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) ## Feature - [ ] Implements an existing feature request or RFC. Make sure th...
[ { "path": "docs/02-app/01-building-your-application/07-configuring/03-environment-variables.mdx", "patch": "@@ -48,7 +48,24 @@ export async function getStaticProps() {\n \n <AppOnly>\n \n-This loads `process.env.DB_HOST`, `process.env.DB_USER`, and `process.env.DB_PASS` into the Node.js environment automati...
2023-10-17T00:57:51
rust-lang/rust
3a0909c7677e0903145fb84a66683d5989eb7b69
34393475333af82cd7d0ad7099143a598b8a5625
Fix incorrect reference to EMPTY_BIT_MASK
[ { "path": "crates/core_simd/src/masks/bitmask.rs", "patch": "@@ -130,7 +130,7 @@ where\n \n #[inline]\n pub(crate) fn from_bitmask_integer(bitmask: u64) -> Self {\n- let mut bytes = <LaneCount<N> as SupportedLaneCount>::BitMask::EMPTY_BIT_MASK;\n+ let mut bytes = <LaneCount<N> as Suppo...
2025-08-04T15:29:22
electron/electron
edb3967a0f3963b2a8e7044ffce8122410238b7a
ade16a78239ad74108d6b568cd0ecb22698792e8
Typo fixed
[ { "path": "docs-translations/ru-RU/tutorial/application-distribution.md", "patch": "@@ -1,6 +1,6 @@\n # Распространение приложения\n \n-Чтобы разпространять ваше приложение на Electron, папка с вашим приложением\n+Чтобы распространять ваше приложение на Electron, папка с вашим приложением\n должна называтьс...
2017-01-18T11:12:27
golang/go
0981d9fff1fa5601a2b7833473955252425bd923
662a729ded9cd9ae70c079a0b1c3ca0a81f94c32
time: add DateTime, DateOnly, and TimeOnly Add named constants for the 3rd, 4th, and 13th most popular formats. Fixes #52746 Change-Id: I7ce92e44dcae18c089124f1d6f5bc2d6359d436c Reviewed-on: https://go-review.googlesource.com/c/go/+/412495 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Joseph Tsai <joe...
[ { "path": "api/next/52746.txt", "patch": "@@ -0,0 +1,6 @@\n+pkg time, const DateOnly = \"2006-01-02\" #52746\n+pkg time, const DateOnly ideal-string #52746\n+pkg time, const DateTime = \"2006-01-02 15:04:05\" #52746\n+pkg time, const DateTime ideal-string #52746\n+pkg time, const TimeOnly = \"15:04:05\" #52...
2022-06-15T20:06:10
nodejs/node
a6bd2c2f81a0a238bf0f45174fee70b7870f8ef2
8617508d6b44a31abd904173cba6ca934bc094d2
src: unconditionally include report feature This commit removes all #ifdef NODE_REPORT checks in the src directory. PR-URL: https://github.com/nodejs/node/pull/32242 Fixes: https://github.com/nodejs/node/issues/26293 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed...
[ { "path": "src/node.cc", "patch": "@@ -35,6 +35,7 @@\n #include \"node_options-inl.h\"\n #include \"node_perf.h\"\n #include \"node_process.h\"\n+#include \"node_report.h\"\n #include \"node_revert.h\"\n #include \"node_v8_platform-inl.h\"\n #include \"node_version.h\"\n@@ -67,10 +68,6 @@\n \n #include \"la...
2020-03-13T01:32:07
electron/electron
dc5129f32eaf0c74e664ef3a93cb558933946d2d
ade16a78239ad74108d6b568cd0ecb22698792e8
Updated docs for crash reporter to support child processes
[ { "path": "docs/api/crash-reporter.md", "patch": "@@ -51,16 +51,34 @@ You are required to call this method before using any other `crashReporter` APIs\n and in each process (main/renderer) from which you want to collect crash reports.\n You can pass different options to `crashReporter.start` when calling fr...
2017-01-18T05:59:23
golang/go
662a729ded9cd9ae70c079a0b1c3ca0a81f94c32
9e8020b2d4a4730a7b2c75a0091473dc7583959b
runtime: disable gdb testpoints on alpine pending builder fix Disable the TestGdb* testpoints until we can figure out why they are failing and reconfigure the machine properly. Updates #54352. Change-Id: Id9c76a0ba6e23b5deff24f521a1c8e0aafb6481a Reviewed-on: https://go-review.googlesource.com/c/go/+/422294 Reviewed-...
[ { "path": "src/runtime/runtime-gdb_test.go", "patch": "@@ -40,6 +40,10 @@ func checkGdbEnvironment(t *testing.T) {\n \t\tif runtime.GOARCH == \"mips\" {\n \t\t\tt.Skip(\"skipping gdb tests on linux/mips; see https://golang.org/issue/25939\")\n \t\t}\n+\t\t// Disable GDB tests on alpine until issue #54352 re...
2022-08-09T13:03:50
facebook/react
d44c07b9a71e49e0da1da4836fb29e737126537e
5873ee76914e2948e03759f49b5fa5d041d66193
Upgrade populist version to v0.1.5 for better error reporting.
[ { "path": "package.json", "patch": "@@ -42,7 +42,7 @@\n },\n \"devDependencies\": {\n \"browserify\": \"~2.34.1\",\n- \"populist\": \"~0.1.4\",\n+ \"populist\": \"~0.1.5\",\n \"grunt-cli\": \"~0.1.9\",\n \"grunt\": \"~0.4.1\",\n \"grunt-contrib-copy\": \"~0.4.1\",", "additions"...
2013-11-13T22:42:17
golang/go
269906548310445132bbf2f14233485e3875e730
a292b3905c0976ed2ab7aae24fa96d506cb7b0a7
cmd/compile: do not write implicit conversion for append in Unified IR Same as CL 418475, but for Unified IR. Updates #53888 Fixes #54337 Change-Id: I31d5a7af04d8e3902ed25db85009d46ea4c38dbe Reviewed-on: https://go-review.googlesource.com/c/go/+/422040 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matt...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -1989,6 +1989,13 @@ func (r *reader) expr() (res ir.Node) {\n \t\tcase ir.OAPPEND:\n \t\t\tn := n.(*ir.CallExpr)\n \t\t\tn.RType = r.rtype(pos)\n+\t\t\t// For append(a, b...), we don't need the implicit conversion. The typechecker already\n+...
2022-08-08T19:55:42
vercel/next.js
0a80017d038e7de7ac16894d4ebc8d64cf7988eb
26d0bf27fb55543c17f236585aaee45b0185bd42
Update React from d900fadbf to 09fbee89d. Removes server context and experimental prefix for server action APIs (#56809) The latest React canary builds have a few changes that need to be adopted for compatability. 1. the `useFormState` and `useFormStatus` hooks in `react-dom` and the `formData` opiont in `react-d...
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx", "patch": "@@ -377,7 +377,7 @@ For example, the following submit button:\n ```tsx filename=\"app/submit-button.tsx\" switcher\n 'use client'\n \n-import { experimental_useFormStatus as useFormStatus } from 'reac...
2023-10-16T22:46:10
facebook/react
c4cd02efc5fa8724dc1a6915ec7f076bdd384186
d1fd4058daa79535f45ced936b33f891876ed95b
fixes #513
[ { "path": "test/lib/reportTestResults.browser.js", "patch": "@@ -1,3 +1,9 @@\n+if (typeof console == 'undefined') console = {\n+ log: function(){},\n+ warn: function(){},\n+ error: function(){}\n+};\n+\n console._log = console.log;\n console.log = function(message){\n console._log(message);", "addi...
2013-11-11T23:30:58
electron/electron
2e6d08c652336683946dc7033ae034fef2b786fd
bb260343de206b70abc5ed9bbb1687a727bafdde
Remove unneeded this prefix
[ { "path": "lib/renderer/window-setup.js", "patch": "@@ -32,7 +32,7 @@ function BrowserWindowProxy (ipcRenderer, guestId) {\n this.closed = false\n \n ipcRenderer.once(`ELECTRON_GUEST_WINDOW_MANAGER_WINDOW_CLOSED_${guestId}`, () => {\n- removeProxy(this.guestId)\n+ removeProxy(guestId)\n this.c...
2017-01-12T01:06:27
golang/go
98277f30e4365f3b35d856fa9cdee2fe01ab862b
dcf354512a25c1aea3d20efb7c8e3977e70479b6
syscall: add Mmap and Munmap on solaris They exist on all other Unix ports, define them on GOOS=solaris as well. Fixes #52875 Change-Id: I7285156b3b48ce12fbcc6d1d88865540a5c51a21 Reviewed-on: https://go-review.googlesource.com/c/go/+/413374 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher ...
[ { "path": "src/syscall/mmap_unix_test.go", "patch": "@@ -2,7 +2,7 @@\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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd\n+//go:build aix || darwin || dragonfly || free...
2022-08-09T08:17:54
vercel/next.js
26d0bf27fb55543c17f236585aaee45b0185bd42
3c7d15b992aa713fa1a0da45eef5c71176836797
Update 05-mdx.mdx . Fix key of the prop (#56883) Fix key of the prop Also the same key prop we can find in `next-mdx-remote` [example with getStaticProps](https://github.com/hashicorp/next-mdx-remote#typescript)
[ { "path": "docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx", "patch": "@@ -185,7 +185,7 @@ export async function getStaticProps() {\n const res = await fetch('https:...')\n const mdxText = await res.text()\n const mdxSource = await serialize(mdxText)\n- return { props: { source: md...
2023-10-16T22:21:44
nodejs/node
8617508d6b44a31abd904173cba6ca934bc094d2
86f146a2c0ff08df79fd99efb238e44c75b73381
src: fix warn_unused_result compiler warning ../src/node_file.cc:386:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] PR-URL: https://github.com/nodejs/node/pull/32241 Refs: https://github.com/nodejs/node/pull/31972 Reviewed-By: Sam Roberts <vieuxtech@gmail....
[ { "path": "src/node_file.cc", "patch": "@@ -383,8 +383,8 @@ int FileHandle::ReadStart() {\n // Use a fresh async resource.\n // Lifetime is ensured via AsyncWrap::resource_.\n Local<Object> resource = Object::New(env()->isolate());\n- resource->Set(\n- env()->context(), env()...
2020-03-13T00:38:10
facebook/react
4daeda1490bd12b64f1bb7a9bae017f957adb89f
c1925db06752f4bc875d5a979336228db1d54f30
log individual test results when in --debug mode
[ { "path": "grunt/config/webdriver-jasmine.js", "patch": "@@ -16,6 +16,8 @@ exports.local = {\n }\n }\n \n+if (grunt.option('debug')) exports.local.url += '?debug=' + grunt.option('debug');\n+\n \n exports.saucelabs = {\n webdriver: {", "additions": 2, "deletions": 0, "language": "JavaScript"...
2013-11-11T20:13:46
vercel/next.js
9fda481af18cbd3fe51fdaa02a162adebca93e7d
d32121b736098ac78544996fb2c5935d0c3128fd
perf: fix server trace file logic (#56898)
[ { "path": "packages/next/src/build/collect-build-traces.ts", "patch": "@@ -25,9 +25,44 @@ import { nodeFileTrace } from 'next/dist/compiled/@vercel/nft'\n import { normalizePagePath } from '../shared/lib/page-path/normalize-page-path'\n import { normalizeAppPath } from '../shared/lib/router/utils/app-paths'...
2023-10-16T20:29:07
facebook/react
b845134151638b1ef05b838eaf4a7d11cf6df898
37bb9b76aba0deb445874273b93955ffb1c18bf8
user JSON encoding for browser logger Fixes a strange issue in IE
[ { "path": "grunt/config/server.js", "patch": "@@ -1,8 +1,18 @@\n module.exports = function(grunt){\n \n function testResultLoggerMiddleware(req, res, next) {\n- if (!(req.body && req.body.data)) return next();\n- grunt.log.writeln('[%s][%s]', req.headers['user-agent'], Date.now(), req.body.data);\n+...
2013-11-11T20:09:33
nodejs/node
86f146a2c0ff08df79fd99efb238e44c75b73381
3967f865e12a98152ceb4196adf0ae2a3c8bb304
test: make test-memory-usage predictable The current test relies on undeterministic behavior from V8 GC, and on newer versions of V8 this test ocasionally fails because that behavior changed. Prevent that from happening using --predictable-gc-schedule. If this test fails in the future, it should fail consistently ins...
[ { "path": "test/parallel/test-memory-usage.js", "patch": "@@ -19,7 +19,7 @@\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n-// Flags: --no-concurrent-array-buffer-freeing\n+// Flags: --predictable-gc-schedule\n 'use strict';\n c...
2020-03-12T22:40:21
golang/go
0f8dffd0aa71ed996d32e77701ac5ec0bc7cde01
5639fcae7fee2cf04c1b87e9a81155ee3bb6ed71
all: use ":" for compiler generated symbols As it can't appear in user package paths. There is a hack for handling "go:buildid" and "type:*" on windows/386. Previously, windows/386 requires underscore prefix on external symbols, but that's only applied for SHOSTOBJ/SUNDEFEXT or cgo export symbols. "go.buildid" is ST...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -589,12 +589,12 @@ func testABIHashNote(t *testing.T, f *elf.File, note *note) {\n \t\treturn\n \t}\n \tfor _, sym := range symbols {\n-\t\tif sym.Name == \"go.link.abihashbytes\" {\n+\t\tif sym.Name == \"go:link.abihashbytes\" {\n \t\t\thashbytes...
2021-05-07T17:45:06
electron/electron
0244a73c49ca792d09bde91ceff47c0c0a4a913e
9e0547b98f8b7f3a572aa1cf9770f434c8fdeed9
Fix cpp linter errors
[ { "path": "atom/browser/ui/views/menu_layout.cc", "patch": "@@ -16,10 +16,10 @@ namespace {\n #if defined(OS_WIN)\n gfx::Rect SubtractBorderSize(gfx::Rect bounds) {\n gfx::Point borderSize = gfx::Point(\n- GetSystemMetrics(SM_CXSIZEFRAME) - 1, // width\n- GetSystemMetrics(SM_CYSIZEFRAME) - 1 // hei...
2017-01-16T17:26:07
facebook/react
7c8b70eedbceb63a67baac6cd3e6fcac8a136838
f12c428c7895a55f227ca0f039e27943abb1c5d3
better error handling for jasmine task
[ { "path": "grunt/tasks/webdriver-jasmine.js", "patch": "@@ -7,10 +7,12 @@ module.exports = function(){\n \n var desiredCapabilities = {};\n if (config.desiredCapabilities) Object.keys(config.desiredCapabilities).forEach(function(key){\n+ if (config.desiredCapabilities[key] === undefined) return;\n ...
2013-11-08T21:29:57
vercel/next.js
3e77d69ca0914a51f88aa1d9e42f2d36fa0db3c4
54145b49f93faf116dd8518e35fe1e008dcac616
improve next-image-proxy test (#56893) This fixes a warning where the test server was exiting before all the proxy requests finished. This also throws an error to fail the test if any of the proxied requests aren't fulfilled. [slack x-ref](https://vercel.slack.com/archives/C04DUD7EB1B/p1697465502593889?thread_ts...
[ { "path": "test/e2e/app-dir/next-image/next-image-proxy.test.ts", "patch": "@@ -1,5 +1,5 @@\n import { join } from 'path'\n-import { findPort } from 'next-test-utils'\n+import { findPort, check } from 'next-test-utils'\n import https from 'https'\n import httpProxy from 'http-proxy'\n import fs from 'fs'\n@...
2023-10-16T15:36:34
golang/go
5639fcae7fee2cf04c1b87e9a81155ee3bb6ed71
228f891c905af8c01743085a74b2189f58eecba1
net/netip: fix method name in {AddrPort,Prefix}.IsValid godoc In CL 339309 these were probably copied from the respective godoc comments in package inet.af/netaddr, also see https://pkg.go.dev/inet.af/netaddr#IPPort.IsValid and https://pkg.go.dev/inet.af/netaddr#IPPrefix.IsValid In net/netip the methods are named Add...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -1114,7 +1114,7 @@ func MustParseAddrPort(s string) AddrPort {\n // isZero reports whether p is the zero AddrPort.\n func (p AddrPort) isZero() bool { return p == AddrPort{} }\n \n-// IsValid reports whether p.IP() is valid.\n+// IsValid reports whether p.Add...
2022-08-08T15:14:14
electron/electron
9e0547b98f8b7f3a572aa1cf9770f434c8fdeed9
cf6e215a66687dc983cd81755275f95a78a25a10
Fix the rendering for the rounded edges
[ { "path": "atom/browser/native_window_views_win.cc", "patch": "@@ -147,18 +147,6 @@ bool NativeWindowViews::PreHandleMSG(\n }\n return false;\n }\n- /** Return zero (no-op) for non-client area events when window is frameless.\n- * \\see WM_NCPAINT - https://msdn.microsoft.com/en-us/l...
2017-01-14T09:13:00
facebook/react
6b1042a6f9f99e3c6661e638395b9dd4f02a7b31
ff857efdd24059b265d4c0178ad69f969ab1c919
fixup sauce-tunnel
[ { "path": "grunt/tasks/sauce-tunnel.js", "patch": "@@ -27,10 +27,10 @@ module.exports = function(){\n \n stunnel.openTunnel(function(isOpen){\n if (shouldStayAliveForever && isOpen){\n- grunt.verbose.writeln('Keeping the sauce-tunnel open forever because you used the keepalive flag `' + task.name...
2013-11-07T20:33:52
nodejs/node
907bcad8757534b2a3cfe9bf6b8325313f01050d
ec204d86b06e4cc9259c1308e365a3e104212a16
deps: upgrade to libuv 1.35.0 Notable changes: - The UV_UDP_MMSG_CHUNK UDP flag has been added. - Support has been dropped for FreeBSD < 10. - The FreeBSD and Linux system call logic has been simplified to assume the presence of features covered by libuv's minimum system requirements. - Listening on IPC pipes is no...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -413,3 +413,8 @@ Carl Lei <xecycle@gmail.com>\n Stefan Bender <stefan.bender@ntnu.no>\n nia <nia@NetBSD.org>\n virtualyw <virtualyw@gmail.com>\n+Witold Kręcicki <wpk@isc.org>\n+Dominique Dumont <dod@debian.org>\n+Manuel BACHMANN <tarnyko@tarnyko.net>\n+Marek Vavrusa...
2020-03-11T16:36:48
golang/go
4884599a541a8134ce1f83135523b74e3a19900e
365ca6947287d2b8fd9ca49fef74a1297786e8b1
debug/pe: add IMAGE_FILE_MACHINE_RISCV{32,64,128} https://docs.microsoft.com/en-us/windows/win32/debug/pe-format Fixes #54251 Change-Id: I024130fd9f55b2f1c0439baacdc56cdbc3315215 Reviewed-on: https://go-review.googlesource.com/c/go/+/421357 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gopher R...
[ { "path": "api/next/54251.txt", "patch": "@@ -0,0 +1,6 @@\n+pkg debug/pe, const IMAGE_FILE_MACHINE_RISCV128 = 20776 #54251\n+pkg debug/pe, const IMAGE_FILE_MACHINE_RISCV128 ideal-int #54251\n+pkg debug/pe, const IMAGE_FILE_MACHINE_RISCV32 = 20530 #54251\n+pkg debug/pe, const IMAGE_FILE_MACHINE_RISCV32 ideal...
2022-08-05T02:20:12
vercel/next.js
5b52e7772dd6237474931ba4bbb856fbc33142ad
8f2fd2e7d5138852921f3a30749389d8a0cb3c8c
feat(turbopack): support basic next/dynamic (#56389) Closes WEB-1702 This PR implements initial support for the `next/dynamic` in Turbopack, more specifically resolving some hydration errors and other components boot up cases. Previously, turbopack had partial next/dynamic support via its own mode (https://gi...
[ { "path": "Cargo.lock", "patch": "@@ -3440,6 +3440,7 @@ dependencies = [\n \"either\",\n \"fxhash\",\n \"hex\",\n+ \"next-transform-dynamic\",\n \"next-transform-font\",\n \"once_cell\",\n \"pathdiff\",", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "packages/...
2023-10-16T08:24:54
nodejs/node
ec204d86b06e4cc9259c1308e365a3e104212a16
605615e5f33df41a307a0921f451b6dabb89410c
test: verify that WASI errors are rethrown This commit adds a test to verify that exceptions thrown from a WASI application are properly caught and rethrown. This also gets the code coverage in lib/wasi.js back to 100%. PR-URL: https://github.com/nodejs/node/pull/32157 Reviewed-By: Anna Henningsen <anna@addaleax.net>...
[ { "path": "test/wasi/test-return-on-exit.js", "patch": "@@ -5,14 +5,27 @@ const assert = require('assert');\n const fs = require('fs');\n const path = require('path');\n const { WASI } = require('wasi');\n-const wasi = new WASI({ returnOnExit: true });\n-const importObject = { wasi_snapshot_preview1: wasi.w...
2020-03-09T15:20:45
golang/go
365ca6947287d2b8fd9ca49fef74a1297786e8b1
3315066f46d5dce3e4474bdcde0997d688c79436
runtime/cgo: add -fno-stack-protector to CFLAGS Some compilers default to having -fstack-protector on, which breaks when using internal linking because the linker doesn't know how to find the support functions. Fixes #52919 Fixes #54313 Change-Id: I6f51d5e906503f61fc768ad8e30c163bad135087 Reviewed-on: https://go-rev...
[ { "path": "src/runtime/cgo/cgo.go", "patch": "@@ -23,7 +23,9 @@ package cgo\n #cgo solaris LDFLAGS: -lxnet\n #cgo solaris LDFLAGS: -lsocket\n \n-#cgo CFLAGS: -Wall -Werror\n+// We use -fno-stack-protector because internal linking won't find\n+// the support functions. See issues #52919 and #54313.\n+#cgo CF...
2022-08-08T02:21:15
rust-lang/rust
0708b6a1e685f140f653fa5f77a3c1318f0f74ff
e8185ec091d7fe71b03cacb7846ae1c8323e013a
Fix not showing deprecated lints
[ { "path": "util/gh-pages/script.js", "patch": "@@ -208,6 +208,7 @@ const LEVEL_FILTERS_DEFAULT = {\n allow: true,\n warn: true,\n deny: true,\n+ none: true,\n };\n const APPLICABILITIES_FILTER_DEFAULT = {\n Unspecified: true,", "additions": 1, "deletions": 0, "language": "Java...
2025-08-04T13:25:46
vercel/next.js
8f2fd2e7d5138852921f3a30749389d8a0cb3c8c
e5ad069c6a5b00d4e948802b48e61eee14d71670
bump: edge-runtime (#56856) It bumps Edge Runtime to include the latest fixes, such as: - https://github.com/vercel/edge-runtime/pull/622 - https://github.com/vercel/edge-runtime/pull/640 Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "package.json", "patch": "@@ -66,7 +66,7 @@\n \"@babel/plugin-proposal-object-rest-spread\": \"7.14.7\",\n \"@babel/preset-flow\": \"7.14.5\",\n \"@babel/preset-react\": \"7.14.5\",\n- \"@edge-runtime/jest-environment\": \"2.3.0\",\n+ \"@edge-runtime/jest-environment\": \"2.3.4\"...
2023-10-16T07:08:44
electron/electron
f92f851f114c365a8450415c497de29fc37a08e9
99e21a2235b1c7e8d70371c428a986f6b2700dd6
Upgrade brightray for dev tools fix
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit ba4a8491dbdec51508702cbc2c35ea38ad064cba\n+Subproject commit 5333d0e64b897c8584cee85bfcf7c045a7ca1e66", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2017-01-12T01:27:17
rust-lang/rust
b7f5392946d77d46994ba08261c09005fb2118c6
f34ba774c78ea32b7c40598b8ad23e75cdac42a6
remove begin prefix
[ { "path": "library/std/src/panicking.rs", "patch": "@@ -627,7 +627,7 @@ pub fn panicking() -> bool {\n /// Entry point of panics from the core crate (`panic_impl` lang item).\n #[cfg(not(any(test, doctest)))]\n #[panic_handler]\n-pub fn begin_panic_handler(info: &core::panic::PanicInfo<'_>) -> ! {\n+pub fn ...
2025-08-04T13:25:34
nodejs/node
417d847de2b5e7d1eec96f099f6e20593e1a97b8
75da64c0587f2925319cd9c1717a19b647b93511
util: text decoding allows SharedArrayBuffer PR-URL: https://github.com/nodejs/node/pull/32203 Fixes: https://github.com/nodejs/node/issues/32199 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <...
[ { "path": "lib/internal/encoding.js", "patch": "@@ -31,7 +31,7 @@ const {\n } = require('internal/util');\n \n const {\n- isArrayBuffer,\n+ isAnyArrayBuffer,\n isArrayBufferView,\n isUint8Array\n } = require('internal/util/types');\n@@ -404,7 +404,7 @@ function makeTextDecoderICU() {\n \n decode(i...
2020-03-11T16:01:14
golang/go
3315066f46d5dce3e4474bdcde0997d688c79436
52dfdc5e1e6f4f8ddd99f238e37b6c255f5ab6bd
cmd/link: detect glibc vs musl ldso at link time Doing the test at link time lets us distribute one Linux toolchain that works on both glibc-based and musl-based Linux systems. The old way built a toolchain that only ran on one or the other. Fixes #54197. Change-Id: Iaae8c274c78e1091eee828a720b49646be9bfffe Reviewed...
[ { "path": "src/cmd/link/internal/amd64/obj.go", "patch": "@@ -65,6 +65,7 @@ func Init() (*sys.Arch, ld.Arch) {\n \t\tTLSIEtoLE: tlsIEtoLE,\n \n \t\tLinuxdynld: \"/lib64/ld-linux-x86-64.so.2\",\n+\t\tLinuxdynldMusl: \"/lib/ld-musl-x84_64.so.1\",\n \t\tFreebsddynld: \"/libexec/ld-elf.so.1\",\n \t...
2022-08-02T14:12:52
facebook/react
e707ec0b1ecc61634062e9911eaf974958a449a9
9fd28f44df088799e8bec59b2a9c7beda9aa8400
Fix failing tests Two of your tests were failing because of commit 1e71df5399e4c94511e587fa368e7c57a537dc91 I fixed them by: 1) Using jasmine's spyOn in ReactCompositeComponentError-test.js 2) Inverting the function wrapping in the above commit. Godspeed.
[ { "path": "src/core/ReactCompositeComponent.js", "patch": "@@ -878,10 +878,10 @@ var ReactCompositeComponentMixin = {\n continue;\n }\n var method = this.__reactAutoBindMap[autoBindKey];\n- this[autoBindKey] = ReactErrorUtils.guard(\n- this._bindAutoBindMethod(method),\n+ ...
2013-11-13T10:07:52
vercel/next.js
21fadd33587cbdbe7697ae7ec978cf2fd5db219f
b660eef8a2641dc10b3a02caf80e8ee49477132d
Fix typo (#56863)
[ { "path": "docs/02-app/01-building-your-application/06-optimizing/03-scripts.mdx", "patch": "@@ -114,7 +114,7 @@ This script will load and execute when _any_ route in your application is access\n \n ### Strategy\n \n-Although the default behavior of `next/script` allows you load third-party scripts in any p...
2023-10-15T17:18:00
rust-lang/rust
1d817dc7a782e011797de3225037241eaabdf631
efbe625e35df7c2a7fa59b94a783f6f160828167
fix(hover): unify horizontal rule formatting to `---` Replaces all `___` with `---` in hover documentation markups. Both styles are valid per the GitHub Flavored Markdown spec, but `---` is less ambiguous and already more widely used in rust-analyzer
[ { "path": "src/tools/rust-analyzer/crates/ide/src/hover/render.rs", "patch": "@@ -361,7 +361,7 @@ pub(super) fn try_for_lint(attr: &ast::Attr, token: &SyntaxToken) -> Option<Hove\n let lint =\n lints.binary_search_by_key(&needle, |lint| lint.label).ok().map(|idx| &lints[idx])?;\n Some(HoverR...
2025-08-04T11:42:45
nodejs/node
75da64c0587f2925319cd9c1717a19b647b93511
16cce385c0e6d1fc633e0499d70e99be561ad76f
deps: V8: cherry-pick f9257802c1c0 Original commit message: Fix scanner-level error reporting for hashbang When the file begins with a hashbang, the scanner is in a failed state when SkipHashbang() is called. This is usually not an issue but when the parser encounters an ILLEGAL token, it will reset ...
[ { "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.30',\n+ 'v8_embedder_string': '-node.31',\n \n ##### V8 defaults for Node.js #####\n...
2020-03-10T17:45:10
facebook/react
05d44b2152a83990380dd02a4da7c4995a8355f8
9fd28f44df088799e8bec59b2a9c7beda9aa8400
Added clearfix to blog content holder
[ { "path": "docs/_css/react.scss", "patch": "@@ -388,6 +388,8 @@ section.black content {\n */\n \n .blogContent {\n+ @include clearfix;\n+\n padding-top: 20px;\n \n blockquote {", "additions": 2, "deletions": 0, "language": "Unknown" } ]
2013-11-13T02:01:32
golang/go
9a4685f22036b4e2577bb79dbfabd7c4e48146e3
ced4d6fd2d415d43c0f26e01fe332e4afa80114a
strings: avoid utf8.RuneError mangling in Split Split should only split strings and not perform mangling of invalid UTF-8 into ut8.RuneError. The prior behavior is clearly a bug since mangling is not performed in all other situations (e.g., separator is non-empty). Fixes #53511 Change-Id: I112a2ef15ee46ddecda015ee14...
[ { "path": "src/bytes/bytes_test.go", "patch": "@@ -755,6 +755,8 @@ var splittests = []SplitTest{\n \t{\"123\", \"\", 2, []string{\"1\", \"23\"}},\n \t{\"123\", \"\", 17, []string{\"1\", \"2\", \"3\"}},\n \t{\"bT\", \"T\", math.MaxInt / 4, []string{\"b\", \"\"}},\n+\t{\"\\xff-\\xff\", \"\", -1, []string{\"\\...
2022-06-23T03:57:50
vercel/next.js
e6b7930c3fe7c54664ac7e822dc66e5defccd814
8f836a0aa7b8d369103409db84cfc17249f05a13
Add support for FreeVarReference::Error (vercel/turbo#6177) ### Description Next.js needs a way to error when certain globals are used in the edge runtime. For example `setImmediate`, to cause an error at compile time. This implements support for `FreeVarReference::Error` which can be used to provide an error me...
[ { "path": "crates/turbopack-core/src/compile_time_info.rs", "patch": "@@ -136,6 +136,7 @@ pub enum FreeVarReference {\n export: Option<String>,\n },\n Value(CompileTimeDefineValue),\n+ Error(String),\n }\n \n impl From<bool> for FreeVarReference {", "additions": 1, "deletions": 0,...
2023-10-15T13:24:50
electron/electron
cf6e215a66687dc983cd81755275f95a78a25a10
75e81f00e2e1e49c03c79ec15bcf1848c62bbc1f
Properly handle borders for DPI > 100% on Windows Fixes https://github.com/electron/electron/issues/4573 cc: @zcbenz, @kevinsawicki, @zeke
[ { "path": "atom/browser/native_window_views_win.cc", "patch": "@@ -147,6 +147,18 @@ bool NativeWindowViews::PreHandleMSG(\n }\n return false;\n }\n+ /** Return zero (no-op) for non-client area events when window is frameless.\n+ * \\see WM_NCPAINT - https://msdn.microsoft.com/en-us/l...
2017-01-13T07:18:42
nodejs/node
4ffb39bdfe033353f6f3a35698c04af51ab08d99
4fedb702b221469a65f0f2bc267ae08c8159e72a
http2: rename counter in `mapToHeaders` inner loop This change is to prevent potential bugs - e.g., someone might automatically use the variable `k` instead of `key`, that is used in vicinity of this loop. Also changed postincrement to preincrement in iteration steps. It is probably done by the optimizer anyway, but o...
[ { "path": "lib/internal/http2/util.js", "patch": "@@ -442,13 +442,13 @@ function mapToHeaders(map,\n let count = 0;\n const keys = ObjectKeys(map);\n const singles = new Set();\n- let i;\n+ let i, j;\n let isArray;\n let key;\n let value;\n let isSingleValueHeader;\n let err;\n- for (i = ...
2020-02-28T18:55:04
golang/go
c1bfefe9d16f64ba038711796dc6445965bb257c
d6ccb4ead9c995ee2bff10079118bf91d1b646e9
cmd/compile: fix confusion with ANDCCconst in PPC64 rules Currently there is a an ANDconst and an ANDCCconst op in PPC64, which is confusing since they map onto the same instruction. One of these ops sets the result of the AND operation, and the other sets the flag (condition register). This converts ANDCCconst into ...
[ { "path": "src/cmd/compile/internal/ppc64/ssa.go", "patch": "@@ -702,7 +702,7 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tp.From.Type = obj.TYPE_REG\n \t\tp.From.Reg = v.Args[0].Reg()\n \n-\tcase ssa.OpPPC64ADDconst, ssa.OpPPC64ANDconst, ssa.OpPPC64ORconst, ssa.OpPPC64XORconst,\n+\tcase ssa.O...
2022-08-08T14:36:07
vercel/next.js
db188e480f32131b26631671141c91f4a6e1c9ee
82e1057a7f8cf9a7e71fa7ea1073fbedbcf8efa7
docs: fix cypress script typo in 10-testing.mdx (#56765) fix cypress script name typo to run `cypress:open` as declared on package.json script example
[ { "path": "docs/03-pages/01-building-your-application/05-optimizing/10-testing.mdx", "patch": "@@ -51,7 +51,7 @@ Add Cypress to the `package.json` scripts field:\n Run Cypress for the first time to generate examples that use their recommended folder structure:\n \n ```bash filename=\"Terminal\"\n-npm run cy...
2023-10-14T22:43:32
electron/electron
e5ec6adf7d4e534b2958999aeeb90af66b3ae2f7
01d49a8badcc7fcf94cc2f7a957ee70fec44ce64
Update std:move call to fix macOS compiler error
[ { "path": "brightray/browser/inspectable_web_contents_impl.cc", "patch": "@@ -279,8 +279,7 @@ void InspectableWebContentsImpl::ShowDevTools() {\n Observe(devtools_web_contents_.get());\n devtools_web_contents_->SetDelegate(this);\n \n- AttachTo(std::move(\n- content::DevToolsAgentHost::Get...
2017-01-12T04:06:25
rust-lang/rust
ac28b5b93a834662f6a51139c262b71c04e16bf9
c46f42d239a67ec1e45fe70e8f791fb47423bbf3
Fix splitting dylib paths
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -4,7 +4,7 @@\n //! However, this contains ~all test parts we expect people to be able to build and run locally.\n \n use std::collections::HashSet;\n-use std::env::join_paths;\n+use std::env::split_paths;\n use std::ffi::{OsStr, OsString};...
2025-08-04T10:21:27
facebook/react
1e71df5399e4c94511e587fa368e7c57a537dc91
48948c91c3e70c1750ea17d4ba3de1ec444c7a69
Improve error logging for event handlers of React components. This guards every auto-bound method and uses the name of the component and method as guard name.
[ { "path": "src/core/ReactCompositeComponent.js", "patch": "@@ -20,6 +20,7 @@\n \n var ReactComponent = require('ReactComponent');\n var ReactCurrentOwner = require('ReactCurrentOwner');\n+var ReactErrorUtils = require('ReactErrorUtils');\n var ReactOwner = require('ReactOwner');\n var ReactPerf = require('R...
2013-11-09T00:53:52
golang/go
d6ccb4ead9c995ee2bff10079118bf91d1b646e9
a34a97d88d9aac5f0ca8422243ea15c89fa8d880
debug/pe: use correct pe64 test in ImportedSymbols 64-bit PE is set by the optional header magic number, not by the machine field. Fixes #54250 Change-Id: I4d01bc08553780d5470e63f0b17bbd968323e5d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/421394 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> TryBo...
[ { "path": "src/debug/pe/file.go", "patch": "@@ -322,7 +322,7 @@ func (f *File) ImportedSymbols() ([]string, error) {\n \t\treturn nil, nil\n \t}\n \n-\tpe64 := f.Machine == IMAGE_FILE_MACHINE_AMD64 || f.Machine == IMAGE_FILE_MACHINE_ARM64\n+\t_, pe64 := f.OptionalHeader.(*OptionalHeader64)\n \n \t// grab th...
2022-08-04T19:05:15
nodejs/node
a8b3d7b26b8be875a60cf3b137e6614f1fc8bffb
04028aac3a59548a57f4c79b03b9e8a0c6b4b25d
worker: allow URL in Worker constructor The explicit goal is to let users use `import.meta.url` to re-load thecurrent module inside a Worker instance. Fixes: https://github.com/nodejs/node/issues/30780 PR-URL: https://github.com/nodejs/node/pull/31664 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna H...
[ { "path": "doc/api/worker_threads.md", "patch": "@@ -513,6 +513,10 @@ if (isMainThread) {\n <!-- YAML\n added: v10.5.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/31664\n+ description: The `filename` parameter can be a WHATWG `URL` object using\n+ ...
2020-02-06T15:08:07
vercel/next.js
82e1057a7f8cf9a7e71fa7ea1073fbedbcf8efa7
c6fe20a31ff4f62ee75c08cd0eae9ceaba7ec50d
Fix CSP test when using Turbopack (#56833) Since Turbopack doesn't use eval-source-map the CSP nonce will pass correctly, nice improvement over the current state where you can't check CSP in dev.
[ { "path": "test/e2e/app-dir/app/index.test.ts", "patch": "@@ -1827,7 +1827,10 @@ createNextDescribe(\n expect($('body').find('script[async]').length).toBe(1)\n })\n \n- if (!isDev) {\n+ // Turbopack doesn't use eval by default, so we can check strict CSP.\n+ if (!isDev || isTurb...
2023-10-14T20:07:29
rust-lang/rust
4f94bbf13d21c6707510ca4faa2cf90683fd1369
07b7dc90ee4df5815dbb91ef8e98cb93571230f5
drive-by cleanup: fix outdated documentation
[ { "path": "compiler/rustc_middle/src/ty/sty.rs", "patch": "@@ -1456,7 +1456,7 @@ impl<'tcx> Ty<'tcx> {\n }\n }\n \n- /// Returns the type and mutability of `*ty`.\n+ /// Returns the type of `*ty`.\n ///\n /// The parameter `explicit` indicates if this is an *explicit* dereference.\...
2025-08-02T08:49:47
golang/go
4bcc138bc6a4791163c9f2604a9fa44ed4ec8421
d02d5fda653f9e7ca2bb6036ccddc61a869abad5
cmd/compile, cmd/link: enable Duff's device on darwin/arm64 Duff's device was disabled on darwin/arm64 because the darwin linker couldn't handle a branch relocation with non-zero addend. This is no longer the case now. The darwin linker can handle it just fine. So enable it. Fixes #54189. Change-Id: Ida7ebafe6eb01db...
[ { "path": "src/cmd/compile/internal/arm64/ggen.go", "patch": "@@ -10,11 +10,8 @@ import (\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/obj/arm64\"\n-\t\"internal/buildcfg\"\n )\n \n-var darwin = buildcfg.GOOS == \"darwin\" || buildcfg.GOOS == \"ios\"\n-\n func padframe(fram...
2022-08-02T21:39:11
nodejs/node
1a844a6f3a6695c9a6ad88218b13d473359833a2
edb3ffb0034c3d5dbaf3eacc46171801ab630d7c
doc: expand fs.watch caveats Document Windows specific fs.watch caveats. Fixes: https://github.com/nodejs/node/issues/31702 PR-URL: https://github.com/nodejs/node/pull/32176 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> ...
[ { "path": "doc/api/fs.md", "patch": "@@ -3796,6 +3796,9 @@ The recursive option is only supported on macOS and Windows.\n An `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` exception will be thrown\n when the option is used on a platform that does not support it.\n \n+On Windows, no events will be emitted if the watc...
2020-03-10T15:02:19
rust-lang/rust
450040f2d39ae0f5ec7889d48d1a7aa4d2c08c5b
07b7dc90ee4df5815dbb91ef8e98cb93571230f5
Implement debugging output of the bootstrap Step graph into a DOT file
[ { "path": "src/bootstrap/src/bin/main.rs", "patch": "@@ -159,6 +159,9 @@ fn main() {\n if is_bootstrap_profiling_enabled() {\n build.report_summary(start_time);\n }\n+\n+ #[cfg(feature = \"tracing\")]\n+ build.report_step_graph();\n }\n \n fn check_version(config: &Config) -> Option<St...
2025-08-01T12:58:06
vercel/next.js
c6fe20a31ff4f62ee75c08cd0eae9ceaba7ec50d
dc1b565f585bd76ba22fd255a19c4535e25003cf
Remove specific hash checks for metadata.test.ts (#56843) This ensures the tests pass in both webpack and 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 rig...
[ { "path": "test/e2e/app-dir/metadata/metadata.test.ts", "patch": "@@ -495,27 +495,27 @@ createNextDescribe(\n 'og:image:alt': 'A alt txt for og',\n 'og:image': isNextDev\n ? expect.stringMatching(\n- /http:\\/\\/localhost:\\d+\\/opengraph\\/static\\/opengraph-i...
2023-10-14T17:54:55
facebook/react
1d73efee1058076409e5f81c68a2326b4118be71
91f6684fbfda430daf41e9fd3406b778625d4d7d
Fixes the name of the component on documentation AvatarImage -> Avatar
[ { "path": "docs/docs/ref-02-component-api.md", "patch": "@@ -60,7 +60,7 @@ var Avatar = React.createClass({\n }\n });\n \n-// <AvatarImage userId={17} width={200} height={200} />\n+// <Avatar userId={17} width={200} height={200} />\n ```\n \n Properties that are specified directly on the target component ...
2013-11-10T19:52:41
golang/go
c2a9c55823b1ed14f84d8ce8880dbda3f5b01eb0
ebf182c82de21858a1a167cc8d252ae85de806a7
cmd/compile: optimize unsafe.Slice generated code We don't need a multiply when the element type is size 0 or 1. The panic functions don't return, so we don't need any post-call code (register restores, etc.). Change-Id: I0dcea5df56d29d7be26554ddca966b3903c672e5 Reviewed-on: https://go-review.googlesource.com/c/go/+...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -165,6 +165,8 @@\n \n // Convert x * 1 to x.\n (Mul(8|16|32|64) (Const(8|16|32|64) [1]) x) => x\n+(Select0 (Mul(32|64)uover (Const(32|64) [1]) x)) => x\n+(Select1 (Mul(32|64)uover (Const(32|64) [1]) x)) => (ConstBool [false])\n \n //...
2022-07-27T16:56:38
nodejs/node
edb3ffb0034c3d5dbaf3eacc46171801ab630d7c
ba684805b6c0eded76e5cd89ee00328ac7a59365
doc: fix os.version() Windows API pRtlGetVersion is not a thing. This text was likely a result of copying the variable name used in libuv. This commit updates the documentation to reference the correct Windows API call. PR-URL: https://github.com/nodejs/node/pull/32156 Refs: https://github.com/nodejs/node/pull/31732 ...
[ { "path": "doc/api/os.md", "patch": "@@ -399,7 +399,7 @@ added: v13.11.0\n Returns a string identifying the kernel version.\n \n On POSIX systems, the operating system release is determined by calling\n-[uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,\n+[uname(3)][]. On Window...
2020-03-09T14:59:11
vercel/next.js
83d88674702e7ea7738c688779e4afd93dda4e59
d390c3d56e7b476680785a6d671ad855b35d5b28
Add missing nanoid dependency to app-dir tests (#56830) Fixes a bunch of the Turbopack test failures for `test/e2e/app-dir/app/index.test.ts`. Not sure how this passed with webpack before as the dep was indeed missing.
[ { "path": "test/e2e/app-dir/app/index.test.ts", "patch": "@@ -12,6 +12,9 @@ createNextDescribe(\n buildCommand: process.env.NEXT_EXPERIMENTAL_COMPILE\n ? 'pnpm next experimental-compile'\n : undefined,\n+ dependencies: {\n+ nanoid: '4.0.1',\n+ },\n },\n ({ next, isNextDev: isD...
2023-10-14T11:32:10
facebook/react
62f7cd213f32d2c218512a04491d6f3e9b70dff2
b65e6a0453da544aac3f60258a7f9a7da07fd2cf
Fix wheelDelta misspelled
[ { "path": "src/event/synthetic/SyntheticWheelEvent.js", "patch": "@@ -41,7 +41,7 @@ var WheelEventInterface = {\n // Fallback to `wheelDeltaY` for Webkit.\n 'wheelDeltaY' in event ? event.wheelDeltaY :\n // Fallback to `wheelDelta` for IE<9.\n- 'wheelDelta' in event ? event.wheelData ...
2013-11-10T15:58:55
golang/go
9903ab546938639c93a616c00b80cd94683e2779
0a86cd6857b9fb12a798b3dbcfb6974384aa07d6
encoding/binary: ReadUvarint return io.ErrUnexpectedEOF when read at least 1 byte Fixes #54139 Change-Id: Ifc73bd7f181b13970ee6a08968f9d8f6e55d7ff3 GitHub-Last-Rev: 1e0a79bd3eb3e4dfcbfd7e9f94e849b3248ffac1 GitHub-Pull-Request: golang/go#54143 Reviewed-on: https://go-review.googlesource.com/c/go/+/420274 TryBot-Result...
[ { "path": "src/encoding/binary/varint.go", "patch": "@@ -126,12 +126,18 @@ func Varint(buf []byte) (int64, int) {\n var overflow = errors.New(\"binary: varint overflows a 64-bit integer\")\n \n // ReadUvarint reads an encoded unsigned integer from r and returns it as a uint64.\n+// The error is EOF only if ...
2022-08-08T16:48:55
electron/electron
97dd680b3241288bc5be9c9529ff8d770b922608
8098ca3b6679760cede9facb8109c78b19a7dc9f
Remove linter errors
[ { "path": "spec/api-browser-window-spec.js", "patch": "@@ -1018,7 +1018,7 @@ describe('BrowserWindow module', function () {\n w = new BrowserWindow({\n show: false,\n webPreferences: {\n- sandbox: true,\n+ sandbox: true\n }\n })\n c...
2017-01-12T18:28:02
nodejs/node
ba684805b6c0eded76e5cd89ee00328ac7a59365
7f44d2ced6dc19264778fe749e87de33e02926f1
util: use a global symbol for `util.promisify.custom` Define `util.promisify.custom` as `Symbol.for("nodejs.util.inspect.custom")`, rather than as `Symbol("util.inspect.custom")`. This allows custom `promisify` wrappers to easily/safely be defined in non‑Node.js environments. Fixes: https://github.com/nodejs/node/is...
[ { "path": "doc/api/util.md", "patch": "@@ -995,11 +995,32 @@ throw an error.\n ### `util.promisify.custom`\n <!-- YAML\n added: v8.0.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/31672\n+ description: This is now defined as a shared symbol.\n -->\n \n * {symbol} ...
2020-02-07T10:40:00
facebook/react
d5c2d5f291cf99e2827c71e2351b8c9207dcf503
b8cf7068c4055ded0e23b612caa2fbd22c023628
Make submit button default value appear correctly Fixes #473.
[ { "path": "src/dom/components/ReactDOMInput.js", "patch": "@@ -55,7 +55,7 @@ var ReactDOMInput = ReactCompositeComponent.createClass({\n var defaultValue = this.props.defaultValue;\n return {\n checked: this.props.defaultChecked || false,\n- value: defaultValue != null ? defaultValue : ''...
2013-11-07T05:19:44
vercel/next.js
d390c3d56e7b476680785a6d671ad855b35d5b28
46d56c6bca08f2dbb7a03f2a52627f3e6dcd1458
Fix build traces case (#56817) This ensures our `readFile` handling for tracing we previously had is maintained. Test deployment with the provided reproduction can be seen here: https://react-pdf-repro-jeqgyhmek-vtest314-ijjk-testing.vercel.app/ Fixes: https://github.com/vercel/next.js/issues/56676
[ { "path": "packages/next/src/build/collect-build-traces.ts", "patch": "@@ -24,6 +24,7 @@ import { defaultOverrides } from '../server/require-hook'\n import { nodeFileTrace } from 'next/dist/compiled/@vercel/nft'\n import { normalizePagePath } from '../shared/lib/page-path/normalize-page-path'\n import { nor...
2023-10-13T23:46:56
golang/go
2493072db68a8f8b545bb2a6faebac0da0f01336
c3833a55433f4b2981253f64444fe5c3d1bc910a
cmd/compile: avoid assignment conversion in append(a, b...) There's no need for a and b to match types. The typechecker already ensured that a and b are both slices with the same base type, or a and b are (possibly named) []byte and string. The optimization to treat append(b, make([], ...)) as a zeroing slice extensi...
[ { "path": "src/cmd/compile/internal/noder/transform.go", "patch": "@@ -730,11 +730,11 @@ func transformAppend(n *ir.CallExpr) ir.Node {\n \tassert(t.IsSlice())\n \n \tif n.IsDDD {\n-\t\tif t.Elem().IsKind(types.TUINT8) && args[1].Type().IsString() {\n-\t\t\treturn n\n-\t\t}\n-\n-\t\targs[1] = assignconvfn(a...
2022-07-18T18:47:19
vercel/next.js
14aeb496625fd2f76477bc1e7b66bd7dda500ba6
329cd71f6601ca32eb0c7066b713772420a0c9c8
Update supported-browsers.mdx (#56815) Fixed a typo - docs/04-architechture/supported-browsers.mdx Changes(s) made - Fixed a typo for improving clarity [includes -> include] 'your dependencies includes' -> 'your dependencies include' Please review and merge it.
[ { "path": "docs/04-architecture/supported-browsers.mdx", "patch": "@@ -35,7 +35,7 @@ We inject [widely used polyfills](https://github.com/vercel/next.js/blob/canary/\n - [**URL**](https://developer.mozilla.org/docs/Web/API/URL) — Replacing: the [`url` package (Node.js API)](https://nodejs.org/api/url.html)....
2023-10-13T21:04:49
nodejs/node
7f44d2ced6dc19264778fe749e87de33e02926f1
12845a8bd1a71f2cf26ae43adef76353dabd09b9
build: disable libstdc++ debug containers globally Different parts of the debug build were using differently sized std::vectors due to `_GLIBCXX_DEBUG` sometimes being defined and sometimes not. That ended about as well as you would expect. Remove the flag. Fixes: https://github.com/nodejs/node/issues/30056 PR-URL:...
[ { "path": "common.gypi", "patch": "@@ -30,10 +30,6 @@\n 'openssl_fips%': '',\n 'openssl_no_asm%': 0,\n \n- # Some STL containers (e.g. std::vector) do not preserve ABI compatibility\n- # between debug and non-debug mode.\n- 'disable_glibcxx_debug': 1,\n-\n # Don't use ICU data file (icu...
2020-01-03T14:21:05
golang/go
e7307034ccdd3c3e482f80b9ea6d4a69bb04d7b6
52d0667e6ba69059422a138dd6589f3f697fc0db
cmd/compile: store combine on amd64 Fixes #54120 Change-Id: I6915b6e8d459d9becfdef4fdcba95ee4dea6af05 GitHub-Last-Rev: 03f19942c7a697d3b5e696e700a9827633d709bb GitHub-Pull-Request: golang/go#54126 Reviewed-on: https://go-review.googlesource.com/c/go/+/420115 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Dm...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -2043,15 +2043,18 @@\n && clobber(x)\n => (MOVQstore [i] {s} p0 w0 mem)\n \n-(MOVBstore [7] {s} p1 (SHRQconst [56] w)\n- x1:(MOVWstore [5] {s} p1 (SHRQconst [40] w)\n- x2:(MOVLstore [1] {s} p1 (SHRQconst [8] w)\n- x3:(MOVBstore [0...
2022-08-05T14:01:57
nodejs/node
d53bcea2de4e681809ad10c580feb2ca27b3bec4
b1a13b12f22148467e5c6f71b660505387c3f456
test: fix test-tls-env-extra-ca-file-load Fixes broken unit test for the NODE_EXTRA_CA_CERTS environment variable. Unit test was exiting without evaluating any assertions or running any tests. Fixes: https://github.com/nodejs/node/issues/32072 PR-URL: https://github.com/nodejs/node/pull/32073 Reviewed-By: Luigi Pinc...
[ { "path": "test/parallel/test-tls-env-extra-ca-file-load.js", "patch": "@@ -16,14 +16,7 @@ const { fork } = require('child_process');\n \n // This test ensures that extra certificates are loaded at startup.\n if (process.argv[2] !== 'child') {\n- if (process.env.CHILD_USE_EXTRA_CA_CERTS === 'yes') {\n- ...
2020-03-03T21:08:13
vercel/next.js
869d93c7775a9a5cd0f3e0cb60d660a45eec19f5
313ceac475c8e8b3fcfc4a0425d4a6c3daab8da4
docs: fix several typos (#56788) `Enviroment -> Environment` --------- Co-authored-by: Steven <steven@ceriously.com>
[ { "path": "errors/404-get-initial-props.mdx", "patch": "@@ -13,7 +13,7 @@ Adding `getInitialProps` or `getServerSideProps` to your `404.js` page will caus\n \n To fix this error, you should remove `getInitialProps` from your `404.js` page. Additionally, ensure that no Higher-Order Components (HOCs) used in ...
2023-10-13T19:40:14
facebook/react
46c0aeea67097711c22198fb43b4969809d64ca0
a447f53b00930029bb383b2877f89d58eea66e1f
Fixed paths for phantomjs
[ { "path": "test/phantom-harness.js", "patch": "@@ -47,6 +47,10 @@ var indexHtml = fs.read(\"index.html\").replace(\n var server = require(\"webserver\").create();\n server.listen(port, function(req, res) {\n var file = req.url.replace(/^\\/+/, \"\");\n+ file = file.split('?')[0];\n+ file = file.replace(...
2013-10-29T16:45:59
rust-lang/rust
f496e83fe9a12cbaec6a61da83ba32159a87afde
fb39d3ed880d7f9f2f1ef67e0ddd0d0b8af9e5ae
coverage: Simplify access to debug/testing `-Zcoverage-options` flags
[ { "path": "compiler/rustc_codegen_llvm/src/coverageinfo/mapgen/covfun.rs", "patch": "@@ -131,7 +131,7 @@ fn fill_region_tables<'tcx>(\n // codegen needs to handle that gracefully to avoid #133606.\n // It's hard for tests to trigger this organically, so instead we set\n // `-Zcoverage-options=di...
2025-08-02T08:41:04
golang/go
52d0667e6ba69059422a138dd6589f3f697fc0db
1519729c6a1f05735fdc7a6db38dc83838783eee
cmd/compile,runtime: panic when unsafe.Slice param is nil and > 0 Fixes #54092 Change-Id: Ib917922ed36ee5410e5515f812737203c44f46ae GitHub-Last-Rev: dfd0c3883cf8b10479d9c5b389baa1a04c52dd34 GitHub-Pull-Request: golang/go#54107 Reviewed-on: https://go-review.googlesource.com/c/go/+/419755 Run-TryBot: Cuong Manh Le <cu...
[ { "path": "src/cmd/compile/internal/walk/builtin.go", "patch": "@@ -682,6 +682,25 @@ func walkUnsafeSlice(n *ir.BinaryExpr, init *ir.Nodes) ir.Node {\n \t\tnif.Body.Append(mkcall(\"panicunsafeslicelen\", nil, &nif.Body))\n \t\tappendWalkStmt(init, nif)\n \n+\t\tif sliceType.Elem().Size() == 0 {\n+\t\t\t// i...
2022-08-08T16:07:05
vercel/next.js
313ceac475c8e8b3fcfc4a0425d4a6c3daab8da4
f9d12d1092a17fee0ca543817c65aa2fab50ca91
Implement preferredRegion array in Turbopack (#56743) This implements support for `export const preferredRegion = ['sfo1', 'lhr1']` in Turbopack. Previously this caused an error.
[ { "path": "packages/next-swc/crates/next-api/src/app.rs", "patch": "@@ -766,7 +766,7 @@ impl AppEndpoint {\n .await?\n .preferred_region\n .clone()\n- .map(Regions::Single),\n+ .map(Regions:...
2023-10-13T18:58:03
nodejs/node
f8f20892e944a6c4b52e298528135161d85fcc7a
51e8f28dcc3cd790c4917e96cc578b234acc3e93
stream: avoid destroying http1 objects http1 objects are coupled with their corresponding res/req and cannot be treated independently as normal streams. Add a special exception for this in the pipeline cleanup. Fixes: https://github.com/nodejs/node/issues/32184 PR-URL: https://github.com/nodejs/node/pull/32197 Revie...
[ { "path": "lib/internal/streams/pipeline.js", "patch": "@@ -25,10 +25,32 @@ let EE;\n let PassThrough;\n let createReadableStreamAsyncIterator;\n \n+function isIncoming(stream) {\n+ return (\n+ stream.socket &&\n+ typeof stream.complete === 'boolean' &&\n+ ArrayIsArray(stream.rawTrailers) &&\n+ ...
2020-03-11T12:42:54
rust-lang/rust
33706fc17f858caf42d36a9f67ef794269b6a83f
383b9c447b61641e1f1a3850253944a897a60827
coverage: Include an `Instance` in `CovfunRecord` for debug messages
[ { "path": "compiler/rustc_codegen_llvm/src/coverageinfo/mapgen/covfun.rs", "patch": "@@ -27,6 +27,9 @@ use crate::llvm;\n /// the final record that will be embedded in the `__llvm_covfun` section.\n #[derive(Debug)]\n pub(crate) struct CovfunRecord<'tcx> {\n+ /// Not used directly, but helpful in debug m...
2025-08-02T12:17:14
golang/go
1519729c6a1f05735fdc7a6db38dc83838783eee
98f5152368b4afd31eac1df2b3c172052d9b062a
cmd/compile: treat constants to type parameter conversion as non-constant in Unified IR Fixes #54307 Change-Id: Idcbdb3b1cf7c7fd147cc079659f29a9b5d17e6e0 Reviewed-on: https://go-review.googlesource.com/c/go/+/421874 Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: David Chase <drchase@google.com> Tr...
[ { "path": "src/cmd/compile/internal/noder/helpers.go", "patch": "@@ -251,3 +251,8 @@ func idealType(tv types2.TypeAndValue) types2.Type {\n \t}\n \treturn typ\n }\n+\n+func isTypeParam(t types2.Type) bool {\n+\t_, ok := t.(*types2.TypeParam)\n+\treturn ok\n+}", "additions": 5, "deletions": 0, "l...
2022-08-06T13:56:39
electron/electron
24b5abcc391604d31a0497ffb0bff93f19bc9671
8ada7fe30b6810407af07994d29cc33e0bd1e230
Upgrade brightray for network emulation fix
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 365eacb67d86581670519d09c3ce266f5c47313e\n+Subproject commit ba4a8491dbdec51508702cbc2c35ea38ad064cba", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2017-01-09T18:42:48
facebook/react
20b7faaab75f72c1e92c46e001c3bbd51666aa84
5dad5e92a924a699a28eceb649a8b45c8faf3877
"Thinking in React": fix list formatting
[ { "path": "docs/_posts/2013-11-05-thinking-in-react.md", "patch": "@@ -108,12 +108,14 @@ OK, so we've identified what the minimal set of app state is. Next we need to id\n Remember: React is all about one-way data flow down the component hierarchy. It may not be immediately clear which component should own ...
2013-11-05T23:50:28
vercel/next.js
f9d12d1092a17fee0ca543817c65aa2fab50ca91
fe0bfbf9118cef355fd6f2f6e667deb57ad66e69
fix(turbopack): middleware path and aliases (#56804) ### Description - Adds the page path to the middleware template (and also uses the template from the next.js loader) - ESM aliases for the edge context - Fix for the process polyfill to make it possible to import from `dist/esm` - Fix for the `server-only`/`client-...
[ { "path": "packages/next-swc/crates/next-core/src/middleware.rs", "patch": "@@ -36,6 +36,7 @@ pub async fn get_middleware_module(\n project_root,\n indexmap! {\n \"VAR_USERLAND\" => INNER.to_string(),\n+ \"VAR_DEFINITION_PAGE\" => \"/middleware\".to_string(),\n ...
2023-10-13T18:41:52
nodejs/node
d09e1da669f5cc3229f31167a5849566b0de0400
0b49e2f3835b0206b1623358df22f6cfc41d1a11
src: fix spawnSync CHECK when SIGKILL fails We might not have sufficient privileges to signal the child process so don't make assumptions about the return value of `uv_process_kill()`. Example: node -e 'child_process.spawnSync("sudo", ["ls"], { maxBuffer: 1 })' No test because: 1. The test needs to run as root...
[ { "path": "src/spawn_sync.cc", "patch": "@@ -607,8 +607,9 @@ void SyncProcessRunner::Kill() {\n if (r < 0 && r != UV_ESRCH) {\n SetError(r);\n \n- r = uv_process_kill(&uv_process_, SIGKILL);\n- CHECK(r >= 0 || r == UV_ESRCH);\n+ // Deliberately ignore the return value, we might not ...
2020-02-13T11:40:53
golang/go
98f5152368b4afd31eac1df2b3c172052d9b062a
487b3501a54e5479972a7982fe1eb154f0447b58
cmd/compile: remove index out of bounds check in walkIndex Since when any user errors about out-of-bounds constants should have been already reported by types2. Change-Id: I81b6bfec53201bbf546c48157fc8154cdb3c6e45 Reviewed-on: https://go-review.googlesource.com/c/go/+/421876 Run-TryBot: Cuong Manh Le <cuong.manhle.vn...
[ { "path": "src/cmd/compile/internal/walk/expr.go", "patch": "@@ -727,23 +727,11 @@ func walkIndex(n *ir.IndexExpr, init *ir.Nodes) ir.Node {\n \t\tif base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {\n \t\t\tbase.Warn(\"index bounds check elided\")\n \t\t}\n-\t\tif ir.IsSmallIntCo...
2022-08-06T18:55:52
facebook/react
5386cd96652570669a47abd5a0d5b46b7c63003e
6c1e8e8a668d30f02d423498b248541b938586e1
tutorial: Simplify ajax options dataType was unnecessary; mimeType was both unnecessary and wrong in this case. Also removed an unnecessary bind and changed pollInterval to 2000 ms for consistency with https://github.com/petehunt/react-tutorial (faster is nicer if you actually try it out!).
[ { "path": "docs/docs/tutorial.md", "patch": "@@ -379,8 +379,6 @@ var CommentBox = React.createClass({\n getInitialState: function() {\n $.ajax({\n url: 'comments.json',\n- dataType: 'json',\n- mimeType: 'textPlain',\n success: function(data) {\n this.setState({data: data}...
2013-11-05T19:10:04
vercel/next.js
fe0bfbf9118cef355fd6f2f6e667deb57ad66e69
ac8a6035df20a65dcebad2570c867e59d43ff0ee
fix: add `x-forwarded-*` headers (#56797) ### What? Adding back `x-forwarded-*` headers. ### Why? Starting with #52492, these headers were lost. ### How? We can populate these headers before executing a request. Closes NEXT-1663 Fixes #55942
[ { "path": "packages/next/src/server/lib/router-server.ts", "patch": "@@ -33,6 +33,7 @@ import {\n PERMANENT_REDIRECT_STATUS,\n } from '../../shared/lib/constants'\n import { DevBundlerService } from './dev-bundler-service'\n+import type { TLSSocket } from 'tls'\n \n const debug = setupDebug('next:router-s...
2023-10-13T17:58:33