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
vercel/next.js
66e565d1eaa2b7df54314c72db823aa02b947cf0
00f36befb4886d43cabc6854553b67ac360f6bcb
Move buildId logic to getBuildId (#60132) ## What? Small refactor to allow moving this logic in the future. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist ...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -676,6 +676,20 @@ async function writeFullyStaticExport(\n appWorker.close()\n }\n \n+async function getBuildId(\n+ isGenerateMode: boolean,\n+ distDir: string,\n+ nextBuildSpan: Span,\n+ config: NextConfigComplete\n+) {\n+ if (isGenerateMode...
2024-01-05T15:58:39
facebook/react
74f5b217589a351f84d050e2a45644c3ceb6427e
91eb2e2f99cd21f724dde92ffd62adeb40adc33d
Fixed ReactTestUtils scry for TextComponents. Fixes issue #2654.
[ { "path": "src/test/ReactTestUtils.js", "patch": "@@ -124,6 +124,9 @@ var ReactTestUtils = {\n if (!renderedChildren.hasOwnProperty(key)) {\n continue;\n }\n+ if (!renderedChildren[key].getPublicInstance) {\n+ continue;\n+ }\n ret = ret.concat(\n ...
2014-12-11T06:50:28
golang/go
65f863529ce2d66a63d8be0f62b128feb736a575
decdad3537dd4797fde8c7db3005da674b50015c
runtime: fix usleep on linux/PPC64 The existing implementation fails to convert the remainder microseconds to nanoseconds. This causes sysmon to consume much more cpu, and generate lots of context switches. We can also do a little better here to avoid division by a constant. I used go to determine the magic numbers. ...
[ { "path": "src/runtime/sys_linux_ppc64x.s", "patch": "@@ -106,16 +106,23 @@ TEXT runtime·pipe2(SB),NOSPLIT|NOFRAME,$0-20\n \tMOVW\tR3, errno+16(FP)\n \tRET\n \n+// func usleep(usec uint32)\n TEXT runtime·usleep(SB),NOSPLIT,$16-4\n \tMOVW\tusec+0(FP), R3\n-\tMOVD\tR3, R5\n-\tMOVW\t$1000000, R4\n-\tDIVD\tR4, ...
2022-10-20T22:01:01
nodejs/node
0c81cadec6aa92985819a76827f28cfe8e656a8e
7a447bcd54f5e153d14da377963541349d7bda09
doc: strengthen suggestion in errors.md Sure, I'm advocating for permitting second-person pronouns in a current PR, but the use in errors.md is superfluous and weakens the sentence. Remove it. PR-URL: https://github.com/nodejs/node/pull/34390 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso...
[ { "path": "doc/api/errors.md", "patch": "@@ -2123,7 +2123,7 @@ signal (such as [`subprocess.kill()`][]).\n <a id=\"ERR_UNSUPPORTED_DIR_IMPORT\"></a>\n ### `ERR_UNSUPPORTED_DIR_IMPORT`\n \n-`import` a directory URL is unsupported. Instead, you can\n+`import` a directory URL is unsupported. Instead,\n [self-r...
2020-07-16T05:53:18
electron/electron
1258240067b1543a2bbd062966e9f649cff51a25
f7539e6e8d0132851a2125ff40b5585e1c63fcad
fixing build error
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -1042,7 +1042,12 @@ void App::EnableMixedSandbox(mate::Arguments* args) {\n using CharType = base::CommandLine::CharType;\n auto argv = command_line->argv();\n StringVector modified_command_line;\n- const CharType* kNoSandboxArg = L\"...
2017-06-26T23:20:12
golang/go
2952fe4f16666e8ebe433f7505cb52e1cfc56f4b
85196fc982ead65ea56c377c2e381eabff329773
cmd/compile: use correct type in riscv64 late lower pass The right-hand side SLLI always contains valid content in the high 32 bits, so we should use the 64 bit integer type. Using wrong type may lead to wrong optimizations in cse pass. Should fix x/text test failures. Change-Id: I972dd913b8fb238d180bb12f8b1801adc85...
[ { "path": "src/cmd/compile/internal/ssa/_gen/RISCV64latelower.rules", "patch": "@@ -3,15 +3,15 @@\n // license that can be found in the LICENSE file.\n \n // Fold constant shift with extension.\n-(SRAI <t> [c] (MOVBreg x)) && c < 8 => (SRAI [56+c] (SLLI <t> [56] x))\n-(SRAI <t> [c] (MOVHreg x)) && c < ...
2022-10-19T01:10:01
vercel/next.js
f641d9ccfc76f0a7dcba20d4b848cf2d72b621ce
f60c609bdb8ad17b2f15c3dbba89a987be1078d5
feat(next-core): apply rsc transform in turbopack (#59629) ### What? Turbopack does not apply same transform for the react server components, which makes missing lot of compilation error validation and custom comments. PR refactors transform to be used in next-swc / turbopack both, then apply it into turbopack. ...
[ { "path": "Cargo.lock", "patch": "@@ -521,9 +521,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.61.9\"\n+version = \"0.61.18\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"b6d1716f24e94103e6cb4d0a267d80b3a572692cbdcd7969ff2212adbc340...
2024-01-05T15:14:06
nodejs/node
b1c3909bd766327a569c2e4279a4670454f3f9db
f8bde7ce06ee18e949dffddcbdb7f572f942ee70
lib: initialize instance members in class constructors Since V8 snapshot does not currently support instance member initialization, initialize them in ordianry class constructors for now so that these classes can be included in the snapshot. This may be reverted once https://bugs.chromium.org/p/v8/issues/detail?id=107...
[ { "path": "lib/internal/abort_controller.js", "patch": "@@ -55,15 +55,18 @@ function abortSignal(signal) {\n signal.dispatchEvent(event);\n }\n \n+// TODO(joyeecheung): V8 snapshot does not support instance member\n+// initializers for now:\n+// https://bugs.chromium.org/p/v8/issues/detail?id=10704\n+cons...
2020-07-14T15:36:56
facebook/react
739baa90927d06e7e2267c65b1221931a20784a4
b97bb21ea2dc3cdda430d9ac0043bbc70ed9798d
Fix new lint errors We'll get to lint parity soon and then not need to do this.
[ { "path": "src/browser/ui/React.js", "patch": "@@ -9,6 +9,8 @@\n * @providesModule React\n */\n \n+/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n+\n \"use strict\";\n \n var DOMPropertyOperations = require('DOMPropertyOperations');", "additions": 2, "deletions": 0, "language": "JavaScript" },...
2014-12-08T20:06:38
golang/go
d5efd0dd63a8beb5cc57ae7d25f9c60d5dea5c65
e43eebdab8a6df71e4b5262bcfb650ee8439870f
net/netip: add IPv6LinkLocalAllRouters and IPv6Loopback Fixes #51766 Fixes #51777 Change-Id: I0510175c20c06442d78b2581cfe218e66be1c35b Reviewed-on: https://go-review.googlesource.com/c/go/+/412475 Auto-Submit: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Damien Nei...
[ { "path": "api/next/51766.txt", "patch": "@@ -0,0 +1 @@\n+pkg net/netip, func IPv6LinkLocalAllRouters() Addr #51766", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "api/next/51777.txt", "patch": "@@ -0,0 +1 @@\n+pkg net/netip, func IPv6Loopback() Addr #51777",...
2022-06-15T20:21:07
vercel/next.js
f60c609bdb8ad17b2f15c3dbba89a987be1078d5
ff058d64a5d6e66cd80df7bb6ca95226b4f2a44f
style: enforce prop immutability in new next app (#58845) - fixes #58844 Co-authored-by: Steven <steven@ceriously.com>
[ { "path": "packages/create-next-app/templates/app-tw/ts/app/layout.tsx", "patch": "@@ -11,9 +11,9 @@ export const metadata: Metadata = {\n \n export default function RootLayout({\n children,\n-}: {\n+}: Readonly<{\n children: React.ReactNode\n-}) {\n+}>) {\n return (\n <html lang=\"en\">\n <...
2024-01-05T14:55:27
nodejs/node
f04538761f5bb3c334d3c8d16d093ac0916ff3bc
ef9964f4c183f062ca25337984a542895590141d
tools: enable Node.js command line flags in node_mksnapshot Pass the flags down to node_mksnapshot so that we can use them when generating the snapshot (e.g. to debug or enable V8 flags) PR-URL: https://github.com/nodejs/node/pull/32984 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <da...
[ { "path": "tools/snapshot/node_mksnapshot.cc", "patch": "@@ -33,12 +33,18 @@ int main(int argc, char* argv[]) {\n return 1;\n }\n \n+// Windows needs conversion from wchar_t to char. See node_main.cc\n+#ifdef _WIN32\n int node_argc = 1;\n char argv0[] = \"node\";\n char* node_argv[] = {argv0, nu...
2020-04-30T08:03:59
golang/go
e43eebdab8a6df71e4b5262bcfb650ee8439870f
67403a30f61ac6af584796cdfd45c0d86820690c
cmd/cover: fix buglets in counter insertion This patch has a couple of minor fixes to new-style counter insertion (noticed these problems while working on the fix for issue 56370). First, make sure that the function registration sequence (writing of nctrs, pkgid, funcid to counter var prolog) comes prior to the first...
[ { "path": "src/cmd/cover/cfg_test.go", "patch": "@@ -129,7 +129,6 @@ func TestCoverWithCfg(t *testing.T) {\n \t\t},\n \t}\n \n-\ttag := \"first\"\n \tvar incfg string\n \tfor _, scenario := range scenarios {\n \t\t// Instrument package \"a\", producing a set of instrumented output\n@@ -138,6 +137,7 @@ func ...
2022-10-21T16:57:21
vercel/next.js
ae09d7e6c3bdf02fbd97634663fb43f0eeb1e01f
8ae1167c536d9d8557324419eeada0d1051813b6
Add writeImagesManifest (#60209) ## What? Moves images-manifest.json related code to a separate function `writeImagesManifest` <!-- 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 t...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1,4 +1,3 @@\n-import type { RemotePattern } from '../shared/lib/image-config'\n import type { AppBuildManifest } from './webpack/plugins/app-build-manifest-plugin'\n import type { PagesManifest } from './webpack/plugins/pages-manifest-plugin'\n imp...
2024-01-05T08:51:49
nodejs/node
d379b00078bc4fb4d9f1e5e91b7ea08bcef59b63
d10c59fc600c4766de8918f350b4850a1fae8f6a
test: do not write to fixtures dir in test-watch-file Switch to tmpDir rather than fixtures for file writing. PR-URL: https://github.com/nodejs/node/pull/34376 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/pummel/test-watch-file.js", "patch": "@@ -24,9 +24,12 @@\n require('../common');\n const assert = require('assert');\n const fs = require('fs');\n-const fixtures = require('../common/fixtures');\n+const path = require('path');\n+const tmpdir = require('../common/tmpdir');\n \n-const f = fixt...
2020-07-15T04:04:13
facebook/react
2ee870e2531e513dac9ec575808756b48e103626
5c1589b81e3083fa8659d5ac70426fb06a3459c1
Update 10.6-update.md Spelling fix.
[ { "path": "docs/docs/10.6-update.md", "patch": "@@ -20,7 +20,7 @@ myData.x.y.z = 7;\n myData.a.b.push(9);\n ```\n \n-you have no way of determining which data has changed since the previous copy is overriden. Instead, you need to create a new copy of `myData` and change only the parts of it that need to be ...
2014-12-06T23:49:22
vercel/next.js
8ae1167c536d9d8557324419eeada0d1051813b6
da2e56ae9791fac9f35ea409f2809b73d5053d13
[PPR Nav] Fix: Page data should always be applied (#60242) This fixes a case in the PPR navigations implementation where page data was not being applied. During a navigation, we compare the route trees of the old and new pages to determine which layouts are shared. If the segment keys of two layouts are the same...
[ { "path": "packages/next/src/client/components/router-reducer/ppr-navigations.ts", "patch": "@@ -9,7 +9,10 @@ import type {\n ChildSegmentMap,\n ReadyCacheNode,\n } from '../../../shared/lib/app-router-context.shared-runtime'\n-import { DEFAULT_SEGMENT_KEY } from '../../../shared/lib/segment'\n+import {...
2024-01-04T23:33:43
electron/electron
97a9708c03f42dfa81fdc4d35f2496d42cfae6bd
727da46971d868775ca7bade5b1c137e5f664805
Recommend electron-forge in auto-updater, fix some Windows stuffs We should point people to electron-forge, it's the modern way to package Electron apps
[ { "path": "docs/api/auto-updater.md", "patch": "@@ -39,9 +39,9 @@ This is a requirement of `Squirrel.Mac`.\n \n On Windows, you have to install your app into a user's machine before you can\n use the `autoUpdater`, so it is recommended that you use the\n-[electron-winstaller][installer-lib], [electron-build...
2017-06-26T05:10:48
nodejs/node
d10c59fc600c4766de8918f350b4850a1fae8f6a
5aeaff64991815f4ec9a561ed02f225f479fb74f
benchmark,test: remove output from readable-async-iterator benchmark Extra output makes test-benchmark-streams fail. Change console.log() to console.assert(). Fixes: https://github.com/nodejs/node/issues/34409 PR-URL: https://github.com/nodejs/node/pull/34411 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By:...
[ { "path": "benchmark/streams/readable-async-iterator.js", "patch": "@@ -34,9 +34,8 @@ async function main({ n, sync }) {\n }\n }\n \n- // Side effect to ensure V8 does not optimize away the\n- // loop as a noop.\n- console.log(x);\n+ // Use x to ensure V8 does not optimize away the loop as a noop....
2020-07-17T13:00:03
golang/go
67403a30f61ac6af584796cdfd45c0d86820690c
99fcacfe9a09c5df0787eda15ace0f473c50363c
cmd/cover: fix problem with race mode and inlining This patch fixes a problem in which we can get a data race on a coverage counter function registration sequence. The scenario is that package P contains a function F that is built with coverage, then F is inlined into some other package that isn't being instrumented. ...
[ { "path": "src/cmd/cover/cover.go", "patch": "@@ -20,6 +20,7 @@ import (\n \t\"os\"\n \t\"path/filepath\"\n \t\"sort\"\n+\t\"strconv\"\n \t\"strings\"\n \n \t\"cmd/internal/edit\"\n@@ -483,13 +484,29 @@ func (f *File) postFunc(fn ast.Node, funcname string, flit bool, body *ast.Block\n \t}\n \tfuncId := f.md...
2022-10-21T13:18:44
facebook/react
218a9ae74db26c1976d027ae6116ba8e0a943049
bd6b10887a016f4f72f0acf89053a44c3241eafe
In `Transferring Props` guide, `Manual Transfer` section will lead an error ```c var FancyCheckbox = React.createClass({ render: function() { var fancyClass = this.props.checked ? 'FancyChecked' : 'FancyUnchecked'; return ( <div className={fancyClass} onClick={this.props.onClick}> {this.p...
[ { "path": "docs/docs/06-transferring-props.md", "patch": "@@ -38,7 +38,7 @@ var FancyCheckbox = React.createClass({\n }\n });\n React.render(\n- <FancyCheckbox checked={true} onClick={console.log}>\n+ <FancyCheckbox checked={true} onClick={console.log.bind(console)}>\n Hello world!\n </FancyCheckb...
2014-12-03T09:28:55
vercel/next.js
269020a028b2f4cdfcf26a25bfc8d2ca9c6032f4
fbd5e9184e87ba65cef3228bdcc27bddde23749b
Disable 2mb limit for custom incrementalCacheHandler (#59976) ### Fixing a bug ### What? Disable 2MB limit for custom incrementalCacheHandler ### Why? The limit is necessary because `FetchCache` has a 2MB limit, but it seems there was a miscommunication regarding the key coincidence, where `fetchCache` i...
[ { "path": "packages/next/src/server/lib/incremental-cache/index.ts", "patch": "@@ -65,6 +65,7 @@ export class CacheHandler {\n export class IncrementalCache implements IncrementalCacheType {\n dev?: boolean\n cacheHandler?: CacheHandler\n+ hasCustomCacheHandler: boolean\n prerenderManifest: Prerender...
2024-01-04T23:12:43
nodejs/node
9cb72930e51ab86668943513981af3b363b60356
5487054225e3002a72be3fab2605725c0a89c8a4
net: allow wider regex in interface name Zone IDs on Linux are network interface names. The regex we use to determine valid IPs does not allow for non-alphanumeric characters in the zone ID suffix. Some machines (including the RHEL Linux/s390x machines from Marist) have zone IDs with a '.' character in them which the ...
[ { "path": "lib/internal/net.js", "patch": "@@ -25,7 +25,7 @@ const IPv6Reg = new RegExp('^(' +\n `(?:${v6Seg}:){2}(?:(:${v6Seg}){0,3}:${v4Str}|(:${v6Seg}){1,5}|:)|` +\n `(?:${v6Seg}:){1}(?:(:${v6Seg}){0,4}:${v4Str}|(:${v6Seg}){1,6}|:)|` +\n `(?::((?::${v6Seg}){0,5}:${v4Str}|(?::${v6Seg}){1,7}|:))` +\n...
2020-07-14T13:30:44
golang/go
99fcacfe9a09c5df0787eda15ace0f473c50363c
9e7c5030d064395e24a25dd1a81722f5583defcf
cmd/go: don't print cached output for non-build list commands If a user is running a go list command that wouldn't trigger a build (for example if -export was passed), don't print the cached stdout outputs for previous builds of the artifacts. Fixes #56375 Change-Id: I1d3e6c01d0eb3dada941bb2783ce2ac69aa3d5d2 Reviewe...
[ { "path": "src/cmd/go/internal/work/buildid.go", "patch": "@@ -397,7 +397,7 @@ func (b *Builder) fileHash(file string) string {\n // during a's work. The caller should defer b.flushOutput(a), to make sure\n // that flushOutput is eventually called regardless of whether the action\n // succeeds. The flushOut...
2022-10-21T18:28:46
vercel/next.js
fbd5e9184e87ba65cef3228bdcc27bddde23749b
a7be8eac471e0d261a1a91f455aeb50b7378f657
fix(docs): add missing docs on external packages (#60244) In the future, we should make this automatically fetch the json
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/serverComponentsExternalPackages.mdx", "patch": "@@ -23,6 +23,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne\n - `@aws-sdk/client-s3`\n - `@aws-sdk/s3-presigned-post`\n - `@blockfrost/blockfrost-js`\n+- `@highli...
2024-01-04T22:45:04
electron/electron
58a42682d8f6cca30c5e0ed68283c9a90960152f
873a315538ae4da500bf73cbad60924d7d658d96
Fixes electron/electron-typescript-definitions/issues/63
[ { "path": "docs/api/web-contents.md", "patch": "@@ -932,8 +932,8 @@ Returns [`PrinterInfo[]`](structures/printer-info.md)\n #### `contents.print([options])`\n \n * `options` Object (optional)\n- * `silent` Boolean - Don't ask user for print settings. Default is `false`.\n- * `printBackground` Boolean - Al...
2017-06-25T08:43:47
facebook/react
aef7c4d1a16133f2f6d3ae3bfd18f01f8fc1403b
f5a9ea8e03551a683d8fc21f4dfe51865909ddc1
Added checks for incorrect usage of innerHTML. Fixes #1370
[ { "path": "src/browser/ui/ReactDOMComponent.js", "patch": "@@ -27,6 +27,7 @@ var invariant = require('invariant');\n var isEventSupported = require('isEventSupported');\n var keyOf = require('keyOf');\n var monitorCodeUse = require('monitorCodeUse');\n+var warning = require('warning');\n \n var deleteListen...
2014-11-13T22:51:57
nodejs/node
5487054225e3002a72be3fab2605725c0a89c8a4
a55b77d2d354121d30e6a9d3579f84117ef2677c
test: fix test-net-pingpong pummel test for non-IPv6 hosts Use `common.hasIPv6` instead of an OS check for more reliable operation. PR-URL: https://github.com/nodejs/node/pull/34359 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tnies...
[ { "path": "test/pummel/test-net-pingpong.js", "patch": "@@ -113,9 +113,8 @@ function pingPongTest(host, on_complete) {\n pingPongTest('localhost');\n pingPongTest(null);\n \n-// This IPv6 isn't working on Solaris.\n-if (!common.isSunOS) pingPongTest('::1');\n+if (common.hasIPv6) pingPongTest('::1');\n \n pr...
2020-07-14T13:32:17
golang/go
acfdaf06f573c7b483515aed451c5148e32d6e60
6f7e9e23074d771c6adfce84d74fa11dbd8b7619
runtime: skip TestVectoredHandlerExceptionInNonGoThread windows-amd-2012 builder seems to have some problems handling exception thrown in external C code which is affecting TestVectoredHandlerExceptionInNonGoThread. The issue is known and discussed in #49681. This Cl skips the offending test on windows-amd-2012. Cha...
[ { "path": "src/runtime/signal_windows_test.go", "patch": "@@ -21,6 +21,9 @@ func TestVectoredHandlerExceptionInNonGoThread(t *testing.T) {\n \tif *flagQuick {\n \t\tt.Skip(\"-quick\")\n \t}\n+\tif testenv.Builder() == \"windows-amd64-2012\" {\n+\t\ttestenv.SkipFlaky(t, 49681)\n+\t}\n \ttestenv.MustHaveGoBui...
2022-10-21T07:18:53
electron/electron
b8be81f101a8c8155407bd0d9a75f1b79bbc0eed
17e737eba2d7a8f374e2a9148ef70b5bedcbb28f
Fix structure docs
[ { "path": "docs/api/structures/notification-action.md", "patch": "@@ -6,7 +6,7 @@\n ## Platform / Action Support\n \n | Action Type | Platform Support | Usage of `text` | Default `text` | Limitations |\n-|-------------|------------------|------------------|-------------|\n+|-------------|------------------|...
2017-06-23T14:30:13
facebook/react
a9115134b5b6d866b68cfd734b4c90abc596e792
f5a9ea8e03551a683d8fc21f4dfe51865909ddc1
Fix addons documentation of development only part
[ { "path": "docs/docs/10-addons.md", "patch": "@@ -11,13 +11,13 @@ next: animation.html\n - [`TransitionGroup` and `CSSTransitionGroup`](animation.html), for dealing with animations and transitions that are usually not simple to implement, such as before a component's removal.\n - [`LinkedStateMixin`](two-wa...
2014-12-01T14:17:53
nodejs/node
a55b77d2d354121d30e6a9d3579f84117ef2677c
d46fc91be469016a41eb1e9454f1db0c2823f637
stream: finished on closed OutgoingMessage finished should invoke callback on closed OutgoingMessage the same way as for regular streams. Fixes: https://github.com/nodejs/node/issues/34301 PR-URL: https://github.com/nodejs/node/pull/34313 Fixes: https://github.com/nodejs/node/issues/34274 Reviewed-By: Matteo Collina...
[ { "path": "lib/_http_client.js", "patch": "@@ -49,7 +49,7 @@ const Agent = require('_http_agent');\n const { Buffer } = require('buffer');\n const { defaultTriggerAsyncIdScope } = require('internal/async_hooks');\n const { URL, urlToOptions, searchParamsSymbol } = require('internal/url');\n-const { kOutHead...
2020-07-11T21:00:20
golang/go
4725c71b735143a138b24f2b0e055c717d8d69ca
8415ec8c98627326ffb48141c45917b9d7d0c234
cmd/compile: copy blank parameter node when substituting function type When a function type is copied (e.g. for substituting type parameters), we make copies of its parameter ir.Name nodes, so they are not shared with the old function type. But currently a blank (_) identifier is not copied but shared. The parameter n...
[ { "path": "src/cmd/compile/internal/test/race.go", "patch": "@@ -0,0 +1,64 @@\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 !compiler_bootstrap\n+\n+package test\n+\n+// The...
2022-10-14T23:52:00
vercel/next.js
a7be8eac471e0d261a1a91f455aeb50b7378f657
335ff1cea9551bd847a398da4161142752d03a0c
fix: add `node-web-audio-api` to server-external-packages.json (#60243) This package contains native `.node` files that cannot be bundled Closes NEXT-1974
[ { "path": "packages/next/src/lib/server-external-packages.json", "patch": "@@ -32,6 +32,7 @@\n \"next-mdx-remote\",\n \"next-seo\",\n \"node-pty\",\n+ \"node-web-audio-api\",\n \"payload\",\n \"pg\",\n \"playwright\",", "additions": 1, "deletions": 0, "language": "JSON" } ]
2024-01-04T22:36:59
electron/electron
a9bf9d26abe85b5eea74cfc494edb51014068180
4f0d48f164160075a803a8355a6ff1806c04ea62
Fix typo in Notification docs
[ { "path": "docs/api/notification.md", "patch": "@@ -23,7 +23,7 @@ It creates a new `Notification` with native properties as set by the `options`.\n \n The `Notification` class has the following static methods:\n \n-#### `BrowserWindow.isSupported()`\n+#### `Notification.isSupported()`\n \n Returns `Boolean`...
2017-06-23T10:50:50
golang/go
8415ec8c98627326ffb48141c45917b9d7d0c234
160bb0e66b96e24120deba5fed927acc47b59b1a
cmd/compile: in compiler errors, print more digits for floats close to an int Error messages currently print floats with %.6g, which means that if you tried to convert something close to, but not quite, an integer, to an integer, the error you get looks like "cannot convert 1 to type int", when really you want "cannot...
[ { "path": "src/go/constant/value.go", "patch": "@@ -200,7 +200,13 @@ func (x floatVal) String() string {\n \t// Use exact fmt formatting if in float64 range (common case):\n \t// proceed if f doesn't underflow to 0 or overflow to inf.\n \tif x, _ := f.Float64(); f.Sign() == 0 == (x == 0) && !math.IsInf(x, 0...
2022-10-13T20:30:26
vercel/next.js
335ff1cea9551bd847a398da4161142752d03a0c
b09cda608c0871f4633fdd86de18c212daf9bbb2
Remove NEXT_TURBO_FILTER_PAGES internal variable (#60217) ## What? This is currently unused and we'll want to cover it in a different way when we start working on Turbopack builds. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we re...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -12,7 +12,7 @@ import '../lib/setup-exception-listeners'\n import { loadEnvConfig, type LoadedEnvFiles } from '@next/env'\n import { bold, yellow, green } from '../lib/picocolors'\n import crypto from 'crypto'\n-import { isMatch, makeRe } from 'next...
2024-01-04T21:08:09
facebook/react
92862ed601076745bd80fcb8485ddbc105b89063
5bd0b249b775d55185329fe424ab41e5b8bb5f3e
fix typo in addons.update() $splice command help
[ { "path": "docs/docs/10.6-update.md", "patch": "@@ -58,7 +58,7 @@ The `$`-prefixed keys are called *commands*. The data structure they are \"mutati\n \n * `{$push: array}` `push()` all the items in `array` on the target.\n * `{$unshift: array}` `unshift()` all the items in `array` on the target.\n- * `...
2014-11-30T17:20:34
golang/go
160bb0e66b96e24120deba5fed927acc47b59b1a
72c58fb77192f7d17d87663c943360a48aae11dc
runtime: fix TestVectoredHandlerExceptionInNonGoThread This test is failing on the windows-arm64-10 builder https://build.golang.org/log/c161c86be1af83c349ee02c1b12eff5828818f50. It is not failing on windows-arm64-11, so I guess it has something to do with the compiler. This CL simplifies the test so is easier to bu...
[ { "path": "src/runtime/signal_windows_test.go", "patch": "@@ -23,14 +23,14 @@ func TestVectoredHandlerExceptionInNonGoThread(t *testing.T) {\n \t}\n \ttestenv.MustHaveGoBuild(t)\n \ttestenv.MustHaveCGO(t)\n-\ttestenv.MustHaveExecPath(t, \"g++\")\n+\ttestenv.MustHaveExecPath(t, \"gcc\")\n \ttestprog.Lock()\n...
2022-10-20T17:06:05
vercel/next.js
6456eb9b6a76620af134633df34949ae861afd72
9e2935b05cd3119606f79cd6441dad14f0d34901
Docs: Fix `revalidate` type annotation (#60230) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributor...
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx", "patch": "@@ -9,7 +9,7 @@ The Route Segment options allows you to configure the behavior of a [Page](/docs\n | ------------------------------------- | ----------------------------------------------------------------------...
2024-01-04T19:29:19
electron/electron
80e35b66828e27d699eff3500cb75f1f7d45d643
3abeb6e2bc5a300d9cc787b893584922f1e39e06
:apple: Fix treat packaged app as directory
[ { "path": "atom/browser/ui/file_dialog_mac.mm", "patch": "@@ -93,6 +93,7 @@ void SetupDialog(NSSavePanel* dialog,\n \n void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {\n [dialog setCanChooseFiles:(properties & FILE_DIALOG_OPEN_FILE)];\n+ [dialog setTreatsFilePackagesAsDirectories:YES]...
2017-06-22T21:10:22
golang/go
72c58fb77192f7d17d87663c943360a48aae11dc
c0f27eb3d580c8b9efd73802678eba4c6c9461be
time: implement strict RFC 3339 during marshal and unmarshal We add strict checking to marshal and unmarshal methods, rather than Parse to maintain compatibility in Parse behavior. Also, the Time.Format method has no ability to report errors. The Time.Marshal{Text,JSON} and Time.Unmarshal{Time,JSON} methods are alrea...
[ { "path": "src/time/export_test.go", "patch": "@@ -136,4 +136,4 @@ var Quote = quote\n var AppendFormatAny = Time.appendFormat\n var AppendFormatRFC3339 = Time.appendFormatRFC3339\n var ParseAny = parse\n-var ParseRFC3339 = parseRFC3339\n+var ParseRFC3339 = parseRFC3339[string]", "additions": 1, "de...
2022-09-28T18:06:08
facebook/react
b7b74b7efe36ef6de3be8a6101ea74cf8e967439
e18d87b53bbc1296edfc6586ee43f437995f4850
Fix lint warnings, style fixups Followup work for recent PRs
[ { "path": "src/browser/server/ReactServerRendering.js", "patch": "@@ -23,7 +23,6 @@ var invariant = require('invariant');\n \n /**\n * @param {ReactElement} element\n- * @param {?object} context\n * @return {string} the HTML markup\n */\n function renderToString(element) {\n@@ -49,7 +48,6 @@ function ren...
2014-11-19T15:24:14
vercel/next.js
9e2935b05cd3119606f79cd6441dad14f0d34901
406a861c3d8deadfc04cdfa20837935bd6f540eb
fix(generators): update errors gen (#60233) ### What? Errors were updated to MDX as part of https://github.com/vercel/next.js/pull/52038, and as a part of this, the `errors/manifest.json` file was removed. This PR did not update the generators used to create new errors, causing the error gen to...error 😄 ...
[ { "path": "turbo/generators/config.ts", "patch": "@@ -114,24 +114,13 @@ export default function generator(plop: NodePlopAPI): void {\n ],\n actions: function (answers) {\n const { name } = answers as ErrorResponse\n+ const errorsRoot = path.join(plop.getDestBasePath(), 'errors')\n \n ...
2024-01-04T19:22:21
nodejs/node
89453cfc082304d847f74701d8b70754545244d0
4523d4a813cf0d8e131477f8d1f18d13bb09cc2e
quic: fixup quic.md PR-URL: https://github.com/nodejs/node/pull/34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/quic.md", "patch": "@@ -251,7 +251,7 @@ TBD\n \n ## QUIC JavaScript API\n \n-### net.createQuicSocket(\\[options\\])\n+### `net.createQuicSocket(\\[options\\])`\n <!-- YAML\n added: REPLACEME\n -->\n@@ -299,7 +299,7 @@ added: REPLACEME\n The `net.createQuicSocket()` function is used to cr...
2020-07-13T23:47:34
electron/electron
eb19562316bb5f286b3c75d893b35b7b0a27ca9d
3abeb6e2bc5a300d9cc787b893584922f1e39e06
Fix crash when using file chooser in BrowserView The crash was a segfault caused by a null `WebDialogHelper::window_`.
[ { "path": "atom/browser/api/atom_api_browser_view.h", "patch": "@@ -36,6 +36,7 @@ class BrowserView : public mate::TrackableObject<BrowserView> {\n static void BuildPrototype(v8::Isolate* isolate,\n v8::Local<v8::FunctionTemplate> prototype);\n \n+ WebContents* web_contents()...
2017-06-21T23:21:28
golang/go
819087624072fe8ca5914668e837d18eb231f04e
27f094b17cf1e0495515614476ec9137c0ed0a82
go/types, types2: replace typecheck with mustTypecheck almost everywhere (cleanup) Replace even in places where before we have a specific error message or different control-flow (except in TestTypeString or TestObjectString) because failing to type-check in virtually all cases represents an error in the test itself. ...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -43,12 +43,12 @@ func typecheck(path, src string, info *Info) (*Package, error) {\n \treturn conf.Check(f.PkgName.Value, []*syntax.File{f}, info)\n }\n \n-func mustTypecheck(path, src string, info *Info) string {\n+func mustTypecheck(path...
2022-10-19T03:41:14
facebook/react
89fafad255ae7fb0b6cebd38255259356f03554a
e18d87b53bbc1296edfc6586ee43f437995f4850
Replaced document.createElement with ReactTestUtils.renderIntoDocument where container was not subsequently utilized. Fixes #1250
[ { "path": "src/addons/link/__tests__/LinkedStateMixin-test.js", "patch": "@@ -17,11 +17,13 @@ describe('LinkedStateMixin', function() {\n var LinkedStateMixin;\n var React;\n var ReactLink;\n+ var ReactTestUtils;\n \n beforeEach(function() {\n LinkedStateMixin = require('LinkedStateMixin');\n ...
2014-11-25T05:56:13
vercel/next.js
406a861c3d8deadfc04cdfa20837935bd6f540eb
51d6c64c399dfc81f2b11090401e4cc9582d0160
Ensure appPathsManifest variable is inside if block (#60210) ## What? I noticed that this variable is only used to write the manifest to disk so it doesn't have to be kept around in the function scope. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1497,17 +1497,17 @@ export default async function build(\n ? await readManifest<AppBuildManifest>(appBuildManifestPath)\n : undefined\n \n- let appPathsManifest: Record<string, string> = {}\n const appPathRoutes: Record<s...
2024-01-04T18:02:57
electron/electron
3239da37dd3bb9784a629dd0580f27ca3f269509
3abeb6e2bc5a300d9cc787b893584922f1e39e06
Fix docs: app.md `setLoginItemSettings` `app.setLoginItemSettings` documented arguments are misleading -- `path` and `args` should be passed in the `settings` object, not as separate params, like the code sample below it or in the test file here: https://github.com/electron/electron/blob/9250b559f91c3c1654484df46a8ba8...
[ { "path": "docs/api/app.md", "patch": "@@ -825,7 +825,7 @@ Returns `Object`:\n \n **Note:** This API has no effect on [MAS builds][mas-builds].\n \n-### `app.setLoginItemSettings(settings[, path, args])` _macOS_ _Windows_\n+### `app.setLoginItemSettings(settings)` _macOS_ _Windows_\n \n * `settings` Object\...
2017-06-21T22:24:00
facebook/react
a530f1c379c3b04f2c89bb5e385eb2fd4a983577
47e18c3ce6897d11d23c0894292ea641feb68f0c
reactComponentExpect expects itself This was a bug when reactComponentExpectInternal was separated from the normal reactComponentExpect flow.
[ { "path": "src/test/reactComponentExpect.js", "patch": "@@ -18,7 +18,7 @@ var ReactTestUtils = require('ReactTestUtils');\n var assign = require('Object.assign');\n \n function reactComponentExpect(instance) {\n- if (instance instanceof reactComponentExpect) {\n+ if (instance instanceof reactComponentExpe...
2014-11-25T02:48:00
vercel/next.js
51d6c64c399dfc81f2b11090401e4cc9582d0160
91dba7d125a7a04af40c1cf8fa1b64a33b017f21
docs: fix typos and broken links in the image.mdx (#60221) ### Overview - Fixed some typos and broken MDN links - Executed `pnpm prettier-fix` --------- Co-authored-by: Steven <steven@ceriously.com>
[ { "path": "docs/02-app/02-api-reference/01-components/image.mdx", "patch": "@@ -152,7 +152,7 @@ export default function Page() {\n \n <AppOnly>\n \n-> **Good to know**: Using props like `loader`, which accept a function, require using [Client Components](/docs/app/building-your-application/rendering/client-...
2024-01-04T17:33:58
nodejs/node
4523d4a813cf0d8e131477f8d1f18d13bb09cc2e
ed4882241cf6fd82c280f916549e56699a3ee1dc
quic: fixup closing/draining period timing When entering the closing or draining periods, servers should wait three times the current probe timeout before releasing session state. PR-URL: https://github.com/nodejs/node/pull/34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/quic/node_quic_session-inl.h", "patch": "@@ -344,9 +344,13 @@ void QuicSession::InitApplication() {\n // the peer. All existing streams are abandoned and closed.\n void QuicSession::OnIdleTimeout() {\n if (!is_destroyed()) {\n+ if (state_->idle_timeout == 1) {\n+ Debug(this, \"Idle ...
2020-07-13T22:01:49
golang/go
27f094b17cf1e0495515614476ec9137c0ed0a82
35e54da99640110845086d30ba0b8f69a3ebd3c2
go/types, types2: consolidate helper functions for tests (cleanup) Instead of having various inconsistent helper functions, rely on 4 helper functions with consistent naming and parameters: - parse and mustParse - typecheck and mustTypecheck Panic rather than call t.Fatal in the mustX functions to simplify their use...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -18,48 +18,37 @@ import (\n \t. \"cmd/compile/internal/types2\"\n )\n \n-// brokenPkg is a source prefix for packages that are not expected to parse\n-// or type-check cleanly. They are always parsed assuming that they contain\n-// generi...
2022-10-18T19:34:50
facebook/react
08b6b28902e473ddbbbccfa8a65e83a4f5760e8a
68ba3b6d183525e6026e80a8e9fb1ecb15569d6a
Fix typo in comment of jquery-bootstrap example
[ { "path": "examples/jquery-bootstrap/js/app.js", "patch": "@@ -12,7 +12,7 @@ var BootstrapButton = React.createClass({\n });\n \n var BootstrapModal = React.createClass({\n- // The following two methods are the only places we need to\n+ // The following four methods are the only places we need to\n // i...
2014-11-21T17:05:39
electron/electron
1b8963ff6e3adb9ebdca3aa5b41fa73a7de3b14b
3abeb6e2bc5a300d9cc787b893584922f1e39e06
:apple: Fix full screen when resizable is set to true
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -171,6 +171,7 @@ @interface AtomNSWindowDelegate : NSObject<NSWindowDelegate> {\n @private\n atom::NativeWindowMac* shell_;\n bool is_zooming_;\n+ bool is_resizable_;\n }\n - (id)initWithShell:(atom::NativeWindowMac*)shell;\n @end\n@@ -324,6 ...
2017-06-20T20:11:28
nodejs/node
e5d963e24d03aa6e03235ed9064fd465c1edbd6b
9f552df5b4892530e3c8cabc31705b265c317304
quic: fixup kEndpointClose Ensure that the QuicSocket is properly destroyed if the QuicEndpoint is destroyed directly rather than through QuicSocket destroy PR-URL: https://github.com/nodejs/node/pull/34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/internal/quic/core.js", "patch": "@@ -1052,7 +1052,6 @@ class QuicSocket extends EventEmitter {\n });\n }\n \n- // Called when a QuicEndpoint closes\n [kEndpointClose](endpoint, error) {\n const state = this[kInternalState];\n state.endpoints.delete(endpoint);\n@@ -1064,26 +1...
2020-07-09T21:07:58
vercel/next.js
91dba7d125a7a04af40c1cf8fa1b64a33b017f21
aa48b65f9ae2d978cc7af8248328fa3d30557cc7
Fix: Throw an error for empty array return in `generateStaticParams` with `output:export` (#57053) Fixes #57038 # What? Added an error message when `generateStaticParams` returns an empty array with `output:export`. # Why? To provide developers with clear feedback when `generateStaticParams` is not used corr...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1897,15 +1897,19 @@ export default async function build(\n const isDynamic = isDynamicRoute(page)\n const hasGenerateStaticParams =\n !!workerResult.prerenderRout...
2024-01-04T16:45:02
vercel/next.js
aa48b65f9ae2d978cc7af8248328fa3d30557cc7
12164224540f6d0c5e6b02af6ec64f060e3f5aed
log a dev warning when a missing parallel slot results in a 404 (#60186) ### What & Why? When visiting a route that attempts to render a slot with no page & no default, the fallback behavior is to trigger a 404. However this can lead to a confusing development experience for complex parallel routing cases as you migh...
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -31,6 +31,7 @@ import {\n import { getFilesInDir } from '../../../lib/get-files-in-dir'\n import { normalizeAppPath } from '../../../shared/lib/router/utils/app-paths'\n import type { PageExtensions } from '../../page-exten...
2024-01-04T15:56:20
nodejs/node
9f552df5b4892530e3c8cabc31705b265c317304
b80108c033325c00dabbde945522e7f3535a3977
quic: fix endpointClose error handling, document PR-URL: https://github.com/nodejs/node/pull/34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/quic.md", "patch": "@@ -1354,6 +1354,21 @@ Emitted after the `QuicSocket` has been destroyed and is no longer usable.\n \n The `'close'` event will not be emitted multiple times.\n \n+#### Event: `'endpointClose'`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+Emitted after a `QuicEndpoint` as...
2020-07-09T20:52:15
facebook/react
c7fd626b1f47d72d9b99fcc065c5ef44da3efcfc
3a0f30480d30865429f38d807f7b48c2bbd3ed10
Summary: Currently, `ReactUpdates` updates dirty components in increasing order of mount depth. However, mount depth is only relative to the component passed into `React.render`. This breaks down for components that invoke `React.render` as an implementation detail because the child components will be updated before th...
[ { "path": "src/core/ReactCompositeComponent.js", "patch": "@@ -99,6 +99,14 @@ var CompositeLifeCycle = keyMirror({\n RECEIVING_PROPS: null\n });\n \n+/**\n+ * An incrementing ID assigned to each component when it is mounted. This is\n+ * used to enforce the order in which `ReactUpdates` updates dirty comp...
2014-11-04T22:25:50
vercel/next.js
12164224540f6d0c5e6b02af6ec64f060e3f5aed
b03381c432c0ce617929e568013f0f7c398debe4
fix: Mark file as ESM if it has an export from `auto-cjs` pass (#60216) ### What? Improve `auto-cjs` pass to consider `export` statements. ### Why? The previous code caused some problems. ### How? Fixes #60197 Closes PACK-2195 --------- Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next-swc/crates/core/src/auto_cjs/mod.rs", "patch": "@@ -6,12 +6,13 @@ use turbopack_binding::swc::core::ecma::{\n pub(crate) fn contains_cjs(m: &Module) -> bool {\n let mut v = CjsFinder::default();\n m.visit_with(&mut v);\n- v.found\n+ v.found && !v.is_esm\n }\n \n #[deri...
2024-01-04T15:24:27
facebook/react
5b2ffde48daa0d70dece93a0491949e1fdeb6eae
ef3558546838b7c5ce8db3874dcfd669082ac896
Animation documentation for ReactTransitionGroup Update to the animation documentation for ReactTransitionGroup to clear the air on where one can use it. If someone tries to use it off of React.addons.ReactTransitionGroup, which is undefined, instead of its real location, React.addons.TransitionGroup, they get a va...
[ { "path": "docs/docs/10.1-animation.md", "patch": "@@ -141,7 +141,7 @@ You can disable animating `enter` or `leave` animations if you want. For example\n \n ## Low-level API: `ReactTransitionGroup`\n \n-`ReactTransitionGroup` is the basis for animations. When children are declaratively added or removed from...
2014-11-18T18:49:23
rust-lang/rust
95b3b61b8c2ecf0b5073d5779cea2825c726bf4b
425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0
Handle `ReEarlyParam` in `type_name`. Fixes #145696.
[ { "path": "compiler/rustc_const_eval/src/util/type_name.rs", "patch": "@@ -135,12 +135,12 @@ impl<'tcx> Printer<'tcx> for TypeNamePrinter<'tcx> {\n }\n \n impl<'tcx> PrettyPrinter<'tcx> for TypeNamePrinter<'tcx> {\n- fn should_print_optional_region(&self, _region: ty::Region<'_>) -> bool {\n+ fn shoul...
2025-08-21T04:09:53
nodejs/node
9fc877890f11d0a31d310cb5fe3f0a22253aa25d
e876c0c308bb98ed08ec9cae9f04a65a48517be5
doc: fix typo in assert.md PR-URL: https://github.com/nodejs/node/pull/34316 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -21,7 +21,7 @@ changes:\n - v12.16.2\n description: Changed \"strict mode\" to \"strict assertion mode\" and \"legacy\n mode\" to \"legacy assertion mode\" to avoid confusion with the\n- more usual meaining of \"strict mo...
2020-07-12T00:33:11
golang/go
6fe3ccd74c4bf53552da3d9f59463a8a291f59db
4a164a44de3c67da878403504d948dfbd4fc6f7d
runtime: ignore exceptions from non-Go threads on windows arm/arm64 If there is no current G while handling an exception it means the exception was originated in a non-Go thread. The best we can do is ignore the exception and let it flow through other vectored and structured error handlers. I've removed badsignal2 f...
[ { "path": "src/runtime/signal_windows_test.go", "patch": "@@ -17,6 +17,61 @@ import (\n \t\"testing\"\n )\n \n+func TestVectoredHandlerExceptionInNonGoThread(t *testing.T) {\n+\tif *flagQuick {\n+\t\tt.Skip(\"-quick\")\n+\t}\n+\ttestenv.MustHaveGoBuild(t)\n+\ttestenv.MustHaveCGO(t)\n+\ttestenv.MustHaveExecP...
2022-10-14T15:30:45
facebook/react
46bff98a3fbe1be3c5cc815be4c2ebab4d81dcf4
89aaf73ae8802af3c83651a1b1db92bd48c2c156
Fixed 'imports' to resolve merge conflict
[ { "path": "src/core/ReactContext.js", "patch": "@@ -13,6 +13,7 @@\n \n var assign = require('Object.assign');\n var emptyObject = require('emptyObject');\n+var monitorCodeUse = require('monitorCodeUse');\n \n /**\n * Keeps track of the current context.\n@@ -45,6 +46,8 @@ var ReactContext = {\n * @return...
2014-11-18T01:14:00
vercel/next.js
3fd3d5d4b5b2b0e75e27e9330b5d8f507f4b47ba
6f9df4a0acb9a27549e6674030fbad6b6eca0966
Add writeFullyStaticExport (#60200) ## What? Moves the code for `output: 'export'` to a separate function. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right chec...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -4,7 +4,7 @@ import type { PagesManifest } from './webpack/plugins/pages-manifest-plugin'\n import type { ExportPathMap, NextConfigComplete } from '../server/config-shared'\n import type { MiddlewareManifest } from './webpack/plugins/middleware-plug...
2024-01-04T14:53:37
nodejs/node
e876c0c308bb98ed08ec9cae9f04a65a48517be5
9ae849120429870af17fbba5ed8c75a215daf899
http2: add support for sensitive headers Add support for “sensitive”/“never-indexed” HTTP2 headers. Fixes: https://github.com/nodejs/node/issues/34091 PR-URL: https://github.com/nodejs/node/pull/34145 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -2461,6 +2461,17 @@ added: v8.4.0\n Returns a [HTTP/2 Settings Object][] containing the deserialized settings from\n the given `Buffer` as generated by `http2.getPackedSettings()`.\n \n+### `http2.sensitiveHeaders`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* {symbo...
2020-06-30T23:20:09
electron/electron
3decb5eb28ffacc587c5b8fe201483a8b65b4138
4337c44af8963f6a631b723d0803209a670fa0fe
Remove `bash` from windows commands to prevent syntax highlighting errors (#1)
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -183,7 +183,7 @@ $ ./node_modules/.bin/electron .\n \n #### Windows\n \n-```bash\n+```\n $ .\\node_modules\\.bin\\electron .\n ```\n \n@@ -206,7 +206,7 @@ $ ./electron/electron your-app/\n \n #### Windows\n \n-```bash\n+```\n $ .\\electron\\electron.exe...
2017-06-20T14:25:42
golang/go
6b22572e700235fb7303c7fd6aefcc33c743a130
1f068f0dc7bc997446a7aac44cfc70746ad918e0
go/internal/gcimporter,cmd/compile/internal/importer: skip tests that need 'go list' on js/wasm js/wasm doesn't support os.Exec, so it can't run 'go list' to locate export data for packages in the standard library. This fixes js/wasm test failures introduced in CL 442303. For #47257. Change-Id: I39289f376691493aa6f...
[ { "path": "src/cmd/compile/internal/importer/gcimporter_test.go", "patch": "@@ -30,6 +30,10 @@ func TestMain(m *testing.M) {\n // builders (build.golang.org) don't have access to compiled packages for\n // import.\n func skipSpecialPlatforms(t *testing.T) {\n+\tt.Helper()\n+\ttestenv.MustHaveGoBuild(t)\n+\n...
2022-10-19T15:57:15
vercel/next.js
6f9df4a0acb9a27549e6674030fbad6b6eca0966
5fde19b6d9812befd6591729dc6e2952f0840db5
Allow undefined environment variables in config (#58247) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Co...
[ { "path": "packages/next/src/server/config-schema.ts", "patch": "@@ -216,7 +216,7 @@ export const configSchema: zod.ZodType<NextConfig> = z.lazy(() =>\n })\n .optional(),\n distDir: z.string().min(1).optional(),\n- env: z.record(z.string(), z.string()).optional(),\n+ env: z.record(z.st...
2024-01-04T14:52:49
rust-lang/rust
f11d51273ccb540154748d9668c069bb8e50de3a
9a2076ed87b8a220e246c34d7d7a2cbc4d0bf282
fix: `semicolon_inside_block` FP when attribute over expr is not enabled
[ { "path": "clippy_lints/src/semicolon_block.rs", "patch": "@@ -155,6 +155,11 @@ impl LateLintPass<'_> for SemicolonBlock {\n kind: ExprKind::Block(block, _),\n ..\n }) if !block.span.from_expansion() => {\n+ let attrs = cx.tcx.hir_attrs(stmt.hir_id)...
2025-08-13T14:30:35
nodejs/node
a65218f5e82eabdeb4018d80f64e6456f47f9f34
e44855d3173b791682d00a2ac001dd79ebabc95f
stream: try to wait for flush to complete before 'finish' Due to compat reasons Transform streams don't always wait for flush to complete before finishing the stream. Try to wait when possible, i.e. when the user does not override _final. Fixes: https://github.com/nodejs/node/issues/34274 PR-URL: https://github.com...
[ { "path": "lib/_stream_transform.js", "patch": "@@ -106,24 +106,42 @@ function Transform(options) {\n this.on('prefinish', prefinish);\n }\n \n-function prefinish() {\n+function final(cb) {\n if (typeof this._flush === 'function' && !this.destroyed) {\n this._flush((er, data) => {\n if (er) {\...
2020-07-11T21:50:09
vercel/next.js
5fde19b6d9812befd6591729dc6e2952f0840db5
2916042fca42dfe044dca1b99b0cc1c9927de7f4
fix responsiveness in starter templates (#60140) Fixes #60139
[ { "path": "packages/create-next-app/templates/app-tw/js/app/page.js", "patch": "@@ -28,7 +28,7 @@ export default function Home() {\n </div>\n </div>\n \n- <div className=\"relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rou...
2024-01-04T14:28:10
rust-lang/rust
f4c6ab0d144cb975cbdabbf707f0382a8e40cdc7
9a2076ed87b8a220e246c34d7d7a2cbc4d0bf282
fix: `unnecessary_safety_comment` does not lint for the first line
[ { "path": "clippy_lints/src/undocumented_unsafe_blocks.rs", "patch": "@@ -505,7 +505,8 @@ fn item_has_safety_comment(cx: &LateContext<'_>, item: &hir::Item<'_>) -> HasSaf\n },\n Node::Stmt(stmt) => {\n if let Node::Block(block) = cx.tcx.parent_hir_node(stmt.hir_id) {\n- ...
2025-07-26T08:10:30
golang/go
e252dcf9d38ce9192bccacb7e33867cbfbd22b6c
a8e4b8c2a793de420ebbe7120c132f0b090d068c
runtime: always keep global reference to mp until mexit completes Ms are allocated via standard heap allocation (`new(m)`), which means we must keep them alive (i.e., reachable by the GC) until we are completely done using them. Ms are primarily reachable through runtime.allm. However, runtime.mexit drops the M from ...
[ { "path": "src/runtime/os3_solaris.go", "patch": "@@ -7,6 +7,7 @@ package runtime\n import (\n \t\"internal/abi\"\n \t\"internal/goarch\"\n+\t\"runtime/internal/atomic\"\n \t\"unsafe\"\n )\n \n@@ -182,7 +183,7 @@ func newosproc(mp *m) {\n \t}\n }\n \n-func exitThread(wait *uint32) {\n+func exitThread(wait *...
2022-10-18T16:01:18
nodejs/node
e44855d3173b791682d00a2ac001dd79ebabc95f
128ed10fc417b7b3347725aae87f408c4d0a96c4
test: fix flaky test-net-connect-econnrefused Test is flaky in CI with `common.PORT` but not flaky if a port is determined from createServer() first. PR-URL: https://github.com/nodejs/node/pull/34330 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/pummel/test-net-connect-econnrefused.js", "patch": "@@ -31,12 +31,17 @@ const ATTEMPTS_PER_ROUND = 50;\n let rounds = 1;\n let reqs = 0;\n \n-pummel();\n+let port;\n+const server = net.createServer().listen(0, common.mustCall(() => {\n+ port = server.address().port;\n+ server.close(common....
2020-07-13T00:40:50
electron/electron
57d81f6961bfab99ba4d860ee107c70b50411ece
c1ac0bac623a06304c79d929b2c7fc7f6082b0d0
fix typo in linux build instructions
[ { "path": "docs/development/build-instructions-linux.md", "patch": "@@ -129,7 +129,7 @@ $ npm run clean-build\n \n ### Error While Loading Shared Libraries: libtinfo.so.5\n \n-Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host\n+Prebuilt `clang` will try to link to `libtinfo.so.5`. ...
2017-06-19T15:45:06
vercel/next.js
2916042fca42dfe044dca1b99b0cc1c9927de7f4
5117cc6ea990a6ddda5585a5fe2bf6a1914285c8
Change server actions cache default to no-store (#60170) ## What? Currently there is a bug in Server Actions when you `fetch` as it uses the same defaults (caching when not specified) as rendering, this causes some issues as you want to read your writes in Server Actions. This change adds the `no-store` defa...
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -299,6 +299,9 @@ export async function handleAction({\n )\n }\n \n+ // When running actions the default is no-store, you can still `cache: 'force-cache'`\n+ staticGenerationStore.fetchCache = 'default-no-store'\n+\n co...
2024-01-04T13:01:50
facebook/react
c779ad4da3c2895cc9d9b65722eb5b3c5750e529
fba8be3b989d87ca6ce61e4899861eed433cfca2
Fix ReactTransitionGroup behavior when removing several children at once If several children complete leaving before rendering TransitionGroup, only the last one was removed. This could easily happen if callback in componentWillLeave is called synchronously and several items are removed from array. The other case is w...
[ { "path": "src/addons/transitions/ReactTransitionGroup.js", "patch": "@@ -89,6 +89,8 @@ var ReactTransitionGroup = React.createClass({\n },\n \n componentDidUpdate: function() {\n+ this.updatedChildren = null;\n+\n var keysToEnter = this.keysToEnter;\n this.keysToEnter = [];\n keysToEnter...
2014-11-17T22:50:18
rust-lang/rust
220249eebb4cbd96fd77abb5878727f4ae4f6a6f
9a2076ed87b8a220e246c34d7d7a2cbc4d0bf282
fix: `redundant_closure` suggests wrongly with deref overload
[ { "path": "clippy_lints/src/eta_reduction.rs", "patch": "@@ -12,6 +12,7 @@ use rustc_hir::attrs::AttributeKind;\n use rustc_hir::{BindingMode, Expr, ExprKind, FnRetTy, GenericArgs, Param, PatKind, QPath, Safety, TyKind, find_attr};\n use rustc_infer::infer::TyCtxtInferExt;\n use rustc_lint::{LateContext, La...
2025-06-18T13:45:47
golang/go
54ad7f33e4981a87bdd7dfac4d61ac5d21e195c3
4ac413ae22604de6defd5074dbc2a3df0ac47233
go/types, types2: add test verifying types/values of type parameter "constants" Fixes #51093. Change-Id: Ida4025a125243159a2107dcc064a0d9addf0a675 Reviewed-on: https://go-review.googlesource.com/c/go/+/443756 Run-TryBot: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> TryBot-Result: G...
[ { "path": "src/cmd/compile/internal/types2/issues_test.go", "patch": "@@ -673,3 +673,56 @@ func TestIssue55030(t *testing.T) {\n \t\tmakeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{u})))\n \t}\n }\n+\n+func TestIssue51093(t *testing.T) {\n+\t// Each test stands for a conversion of the form P(val)\n+\t/...
2022-10-18T18:12:48
nodejs/node
e1b336ff551fa5e5ffb22bde4865e2c30c810cad
9c11d5ce9df480b62ca1d5a0d90dd07fa55da98a
Revert "http2: streamline OnStreamRead streamline memory accounting" This reverts commit 51ccf1b5e90540a11c33866da15d4a7f52d7fddb. Fixes: https://github.com/nodejs/node/issues/31089 PR-URL: https://github.com/nodejs/node/pull/34315 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen...
[ { "path": "src/node_http2.cc", "patch": "@@ -1754,11 +1754,7 @@ void Http2Session::OnStreamRead(ssize_t nread, const uv_buf_t& buf_) {\n \n statistics_.data_received += nread;\n \n- if (LIKELY(stream_buf_offset_ == 0)) {\n- // Shrink to the actual amount of used data.\n- buf.Resize(nread);\n- In...
2020-07-11T23:17:31
electron/electron
471f6e0fa5b960b199fd077f4b3a9cd5c7882b55
c1ac0bac623a06304c79d929b2c7fc7f6082b0d0
Fix invisible titlebar on macOS 10.13
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -899,9 +899,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,\n if (transparent() || !has_frame()) {\n if (base::mac::IsAtLeastOS10_10()) {\n // Don't show title bar.\n- if (title_bar_style_ == CUSTOM_BUTTONS...
2017-06-19T12:34:37
facebook/react
505bc7595b2b880a54d8420897d353f6ab364146
3aa56039c60add45eb30f1edbaf40ddf195c54ce
Fix up variable names and types to be correct Test Plan: jest
[ { "path": "src/core/ReactElementValidator.js", "patch": "@@ -54,25 +54,25 @@ function getCurrentOwnerDisplayName() {\n }\n \n /**\n- * Warn if the component doesn't have an explicit key assigned to it.\n- * This component is in an array. The array could grow and shrink or be\n+ * Warn if the element doesn't...
2014-11-17T00:35:59
rust-lang/rust
9e28de2720e658b015e4609001bad7b11eac1e6d
3672a55b7cfd0a12e7097197b6242872473ffaa7
Add codegen regression tests Most of these regressions concern elimination of panics and bounds checks that were fixed upstream by LLVM.
[ { "path": "tests/codegen-llvm/issues/and-masked-comparison-131162.rs", "patch": "@@ -0,0 +1,17 @@\n+//@ compile-flags: -Copt-level=3\n+//@ min-llvm-version: 20\n+\n+#![crate_type = \"lib\"]\n+\n+// CHECK-LABEL: @issue_131162\n+#[no_mangle]\n+pub fn issue_131162(a1: usize, a2: usize) -> bool {\n+ const MA...
2025-08-14T04:59:11
vercel/next.js
7ef127a44c068ce5881b7b3b5539b0ca4c6d6f46
a0e5ee83f3a1e7299f74329af4b1331528a2fa1f
fix glob matching of alternatives (vercel/turbo#6839) ### Description The unicode refactoring introduced some bugs in matching of alternatives Closes PACK-2172
[ { "path": "crates/turbo-tasks-fs/src/glob.rs", "patch": "@@ -159,6 +159,7 @@ impl GlobPart {\n match_partial,\n previous_part_is_path_separator_equivalent,\n cursor: GraphemeCursor::new(0, path.len(), true),\n+ index: 0,\n glob_iterator: None,\n ...
2024-01-04T12:57:07
golang/go
b6e1a563fc142d7129a0ea6a3c6137ee12ff43f7
4fb35d6cee036fa2583512940de91a03f7f029e9
cmd/go: fix longtest builder after runtime/internal/atomic Loosen test to accept staleness in any runtime/internal package. Fixes longtest builder. Change-Id: Iffda9c1d1816f76c782aecc4d53c0ea3e6580587 Reviewed-on: https://go-review.googlesource.com/c/go/+/443755 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -965,7 +965,7 @@ func TestNewReleaseRebuildsStalePackagesInGOPATH(t *testing.T) {\n \t// now they all matter, so keep using sys.go.\n \trestore = addVar(sys, 1)\n \tdefer restore()\n-\ttg.wantStale(\"p1\", \"stale dependency: runtime/internal/sys\", \"./testgo...
2022-10-18T17:46:26
nodejs/node
05539c166a331b9b37925239cb8cef1dc923387a
4195c31ecbb83f07d5a8bda579f13e139aface1a
repl: support --loader option in builtin REPL Fixes: https://github.com/nodejs/node/issues/33435 PR-URL: https://github.com/nodejs/node/pull/33437 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/internal/main/repl.js", "patch": "@@ -7,6 +7,7 @@ const {\n prepareMainThreadExecution\n } = require('internal/bootstrap/pre_execution');\n \n+const esmLoader = require('internal/process/esm_loader');\n const {\n evalScript\n } = require('internal/process/execution');\n@@ -32,31 +33,33 @@...
2020-05-16T14:31:15
electron/electron
189c3af0dd863ddc19a50a0be2157199a862a04e
b0ba6c8d3dcd7340bd4c188a34291a34af4087e9
Fix broken link to Atom
[ { "path": "docs-translations/de-DE/project/README.md", "patch": "@@ -8,8 +8,7 @@\n :memo: Verfügbare Sprachen: [Korean](https://github.com/electron/electron/tree/master/docs-translations/ko-KR/project/README.md) | [Simplified Chinese](https://github.com/electron/electron/tree/master/docs-translations/zh-CN/...
2017-06-16T23:23:50
rust-lang/rust
d41cd486555e2f81b2dade5307316c40ba5c3f54
040a98af70f0a7da03f3d5356531b28a2a7a77e4
Migrate `panic_unwind` to use `cfg_select!`
[ { "path": "library/Cargo.lock", "patch": "@@ -192,7 +192,6 @@ name = \"panic_unwind\"\n version = \"0.0.0\"\n dependencies = [\n \"alloc\",\n- \"cfg-if\",\n \"libc\",\n \"rustc-std-workspace-core\",\n \"unwind\",", "additions": 0, "deletions": 1, "language": "Unknown" }, { "path": "l...
2025-08-20T23:45:24
vercel/next.js
a0e5ee83f3a1e7299f74329af4b1331528a2fa1f
a31f7c7c60c2ba0164fcc9d7516ffb835491d25f
fix aggregation of outdated children and collectibles (vercel/turbo#6885) ### Description The delayed removal of children and collectibles for "in progress" tasks of the aggregate tree causes some inconsistency in the aggregated tree when "in progress" task are connected to other node. We need to fix that by rep...
[ { "path": "crates/turbo-tasks-memory/src/task.rs", "patch": "@@ -1418,6 +1418,15 @@ impl Task {\n thresholds_job = ensure_thresholds(&aggregation_context, &mut guard);\n let TaskGuard { guard, .. } = guard;\n let mut state = TaskMetaStateWriteGuard::full_from(...
2024-01-04T12:34:13
golang/go
4fb35d6cee036fa2583512940de91a03f7f029e9
7ae652b7c0cddb8f6e04bfa6f5805baac823dd64
cmd/compile: special case coverage vars in pkg init order When computing package initialization order, special case the counter variables inserted by "cmd/cover" for coverage instrumentation, since their presence can perturb the order in which variables are initialized in ways that are user-visible and incorrect with ...
[ { "path": "src/cmd/compile/internal/coverage/cover.go", "patch": "@@ -4,6 +4,13 @@\n \n package coverage\n \n+// This package contains support routines for coverage \"fixup\" in the\n+// compiler, which happens when compiling a package whose source code\n+// has been run through \"cmd/cover\" to add instrum...
2022-10-18T15:28:52
electron/electron
b0ba6c8d3dcd7340bd4c188a34291a34af4087e9
8d080b36e67c008c736606eebb4fd740b6cd46c8
Fix typo
[ { "path": "docs-translations/de-DE/project/README.md", "patch": "@@ -20,7 +20,7 @@ Beim Mitwirken an Electron wird vorausgesetzt, dass sich an diesen Kodex gehalte\n \n Binaries von Electron können mit\n [`npm`](https://docs.npmjs.com/)\n-installiert weden:\n+installiert werden:\n \n ```sh\n # Als Dependenc...
2017-06-16T23:23:11
nodejs/node
4195c31ecbb83f07d5a8bda579f13e139aface1a
a038199265519fa4db88a639b0e438675d23c4d1
test: fix flaky test-http2-reset-flood Set `allowHalfOpen: true` in the client. Fixes: https://github.com/nodejs/node/issues/29802 Refs: https://github.com/nodejs/node/pull/31806 PR-URL: https://github.com/nodejs/node/pull/34318 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Robert Nagy <ronagy@icloud...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -5,8 +5,6 @@ prefix parallel\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n-# https://github.com/nodejs/node/issues/29802\n-test-http2-reset-flood: PASS,FLAKY\n \n [$system==win32]\n # https://...
2020-07-12T01:12:18
facebook/react
795290d1b080c5c5960c24389333870bfe5931b5
230115da9210f389e60f7eb0e402de1a06b5f269
Fix problems with empty component ID registration Fixes #2493, also closes #2353 as it incorporates a variant of that fix. - Instead of having getEmptyComponent return `<noscript />` directly, wrap it in a class that we can easily identify later as being an empty component - Cache the empty component element instead ...
[ { "path": "src/core/ReactCompositeComponent.js", "patch": "@@ -196,8 +196,13 @@ var ReactCompositeComponentMixin = assign({},\n }\n }\n \n+ var renderedElement = this._renderValidatedComponent();\n+ if (renderedElement === ReactEmptyComponent.emptyElement) {\n+ ReactEmptyCompo...
2014-11-12T05:22:52
rust-lang/rust
f0c8f7062b3f765c34954fe4036c48d54d25ac55
6cb9dd563cf6cde5959c3c439b90e1a832c7cef9
rustc_lint_defs: Eliminate the dependency on `rustc_hir` for `Namespace` `rustc_lint_defs` uses `rustc_hir` solely for the `Namespace` type, which it only needs the static description from. Use the static description directly, to eliminate the dependency on `rustc_hir`. This reduces a long dependency chain: - Many th...
[ { "path": "Cargo.lock", "patch": "@@ -4139,7 +4139,6 @@ dependencies = [\n \"rustc_ast\",\n \"rustc_data_structures\",\n \"rustc_error_messages\",\n- \"rustc_hir\",\n \"rustc_hir_id\",\n \"rustc_macros\",\n \"rustc_serialize\",", "additions": 0, "deletions": 1, "language": "Unknown" }, ...
2025-08-14T08:56:14
vercel/next.js
bcbaf8c854abc3576e71fcd36421972998cfa9c3
48355fdc25d2a5d8aab5113778aa864b1530373f
Always write FunctionsConfigManifest (#60163) ## What? Noticed there was a specific guard to avoid writing this manifest when there was no custom config, but for consistency in the output it's better to always write it. Also added a type for this manifest. <!-- Thanks for opening a PR! Your contribution is mu...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -423,6 +423,21 @@ async function writeClientSsgManifest(\n )\n }\n \n+interface FunctionsConfigManifest {\n+ version: number\n+ functions: Record<string, Record<string, string | number>>\n+}\n+\n+async function writeFunctionsConfigManifest(\n+ ...
2024-01-04T10:26:17
golang/go
c45ebef05edcb217be8f9bf1d7649763132727cc
7cf06f070e56dfb6507122704bc75d697ccc350f
runtime: avoid unsafe.{Slice,String} in debuglog CL 428157 and CL 428759 switched debuglog to using unsafe.String and unsafe.Slice, which broke the build with -tags=debuglog because this is a no write barrier context, but runtime.unsafeString and unsafeSlice can panic, which includes write barriers. We could add a pa...
[ { "path": "src/runtime/debuglog.go", "patch": "@@ -304,7 +304,12 @@ func (l *dlogger) s(x string) *dlogger {\n \t\tl.w.uvarint(uint64(uintptr(unsafe.Pointer(strData)) - datap.etext))\n \t} else {\n \t\tl.w.byte(debugLogString)\n-\t\tb := unsafe.Slice(strData, len(x))\n+\t\t// We can't use unsafe.Slice as it...
2022-10-17T19:57:48