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
d7a3fa120db1f8ab9e02ea8fccd0cc8699bf9382
2eba2ff8a1572d7fcba65a5f9d54f73e307a0054
reflect: FuncOf support more than 50 arguments Fixes #54669 Change-Id: I34cbe729d187437ddeafbaa910af6ed001b2603f Reviewed-on: https://go-review.googlesource.com/c/go/+/425461 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Tr...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -6258,6 +6258,13 @@ func TestFuncOf(t *testing.T) {\n \tFuncOf([]Type{TypeOf(1), TypeOf(\"\"), SliceOf(TypeOf(false))}, nil, true)\n \tshouldPanic(\"must be slice\", func() { FuncOf([]Type{TypeOf(0), TypeOf(\"\"), TypeOf(false)}, nil, true) })\n \tshouldPani...
2022-08-25T06:41:23
facebook/react
6e5956195d684cec2c3a78de86fdb8d1a50dc75a
c544b01cadf14ff58a4cfb4ba3a49e9e264c1bc6
Remove references to autoflow, error wrapper Fixes #1023
[ { "path": "npm-react/README.md", "patch": "@@ -5,18 +5,10 @@ without also requiring the JSX transformer. This is especially useful for cases\n want to [`browserify`](https://github.com/substack/node-browserify) your module using\n `React`.\n \n-## The `react` npm package has recently changed!\n-\n-If you're...
2014-02-10T22:37:04
nodejs/node
cd4052c9df0dbb10354f3e3638d9a9a61c2532c6
ff622a2b2bada0b908d63a39bc5e6915977917d2
test: better error validations for event-capture PR-URL: https://github.com/nodejs/node/pull/32771 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
[ { "path": "test/parallel/test-event-capture-rejections.js", "patch": "@@ -278,14 +278,22 @@ function resetCaptureOnThrowInError() {\n function argValidation() {\n \n function testType(obj) {\n+ const received = obj.constructor.name !== 'Number' ?\n+ `an instance of ${obj.constructor.name}` :\n+ ...
2020-04-10T20:04:27
vercel/next.js
6c6ac700b221f2018a03b05c16224055b15629f4
54a0e0530933da953e62bf4b8be5a374c260f6e1
fix: ensure that postponed requests can be resumed in minimal mode (#58011)
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -532,7 +532,9 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n // @ts-expect-error internal field not publicly exposed\n isExperimentalCompile: this.nextConfig.experimental.isExperimentalCompile...
2023-11-04T00:21:18
golang/go
2eba2ff8a1572d7fcba65a5f9d54f73e307a0054
27006657fad10d195dd0f5d5719e49a4e5811f4a
go/types: provide a better error message for [...] array types This matches types2 behavior. For #54511. Change-Id: Iea906e9fec7e334b7aa7f481de87373fa93d1c7c Reviewed-on: https://go-review.googlesource.com/c/go/+/425715 Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> Auto...
[ { "path": "src/go/types/testdata/check/decls0.go", "patch": "@@ -51,7 +51,7 @@ func _() { var init int; _ = init }\n \n // invalid array types\n type (\n-\tiA0 [... /* ERROR \"invalid use of '...'\" */ ]byte\n+\tiA0 [... /* ERROR \"invalid use of \\[...\\] array\" */ ]byte\n \t// The error message below cou...
2022-08-25T21:50:27
facebook/react
c1c2dd9a893a37babb0fef0383e09e10d045fa19
acfef143aed64270a64686010a910aafcf8f13d9
Add `noValidate` and corresponding `formNoValidate` Fixes #988
[ { "path": "src/browser/dom/DefaultDOMPropertyConfig.js", "patch": "@@ -67,6 +67,7 @@ var DefaultDOMPropertyConfig = {\n draggable: null,\n encType: null,\n form: MUST_USE_ATTRIBUTE,\n+ formNoValidate: HAS_BOOLEAN_VALUE,\n frameBorder: MUST_USE_ATTRIBUTE,\n height: MUST_USE_ATTRIBUTE,\...
2014-02-01T20:33:41
nodejs/node
ff622a2b2bada0b908d63a39bc5e6915977917d2
cea853cb02f909301d40177e10ed614f26ad5af0
doc: updated directory entry information Fixes: https://github.com/nodejs/node/issues/25595 subdirectory updated def PR-URL: https://github.com/nodejs/node/pull/32791 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/fs.md", "patch": "@@ -430,8 +430,9 @@ included in the iteration results.\n added: v10.10.0\n -->\n \n-A representation of a directory entry, as returned by reading from an\n-[`fs.Dir`][].\n+A representation of a directory entry, which can be a file or a subdirectory\n+within the directory...
2020-04-12T01:11:44
facebook/react
42e65ddb3ec0433a460dc4e72834a1ca02e0b60f
141f3a8ac8311f049b4481dfb5f8a12651a491b2
Small comment grammar fix in ReactComponent.js
[ { "path": "src/core/ReactComponent.js", "patch": "@@ -56,7 +56,7 @@ var NUMERIC_PROPERTY_REGEX = /^\\d+$/;\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- * reordered. All children, that hasn't already...
2014-02-09T00:25:49
golang/go
27006657fad10d195dd0f5d5719e49a4e5811f4a
aab8d2b448c4855a4e4a9c2d477671a75828f78b
go/types: avoid declared but not used error for a couple of cases The change in typexpr.go matches types2 behavior. For #54511. Change-Id: I79c922a94f2ee0440c1814140935c321439c7d25 Reviewed-on: https://go-review.googlesource.com/c/go/+/425714 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot...
[ { "path": "src/go/types/testdata/check/builtins0.go", "patch": "@@ -482,7 +482,7 @@ func make1() {\n }\n \n func make2() {\n-\tf1 /* ERROR not used */ := func() (x []int) { return }\n+\tf1 := func() (x []int) { return }\n \t_ = make(f0 /* ERROR not a type */ ())\n \t_ = make(f1 /* ERROR not a type */ ())\n ...
2022-08-25T21:30:15
vercel/next.js
3fa9f31ce15edb4e98b5a2d358411ad31015a60d
b8b1ec24a259ac1a42a513971259bda62738dd47
fix: updates for resuming postponed in minimal mode (#57375) Co-authored-by: Jimmy Lai <11064311+feedthejim@users.noreply.github.com>
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -28,6 +28,9 @@ import {\n MIDDLEWARE_FILENAME,\n PAGES_DIR_ALIAS,\n INSTRUMENTATION_HOOK_FILENAME,\n+ NEXT_DID_POSTPONE_HEADER,\n+ RSC_PREFETCH_SUFFIX,\n+ RSC_SUFFIX,\n } from '../lib/constants'\n import { FileType, fileExists } from '../li...
2023-11-03T21:17:45
nodejs/node
3140fdcd344648464c0f41e359bd83b65002cb91
d8c57cb3c0384eaa189ebeb313853beaea800b26
stream: fix broken pipeline test An unfortunate overlap between two PR that by themselves pass CI but together pass a test. https://github.com/nodejs/node/pull/32967 changes so that pipeline does not wait for 'close'. https://github.com/nodejs/node/pull/32968 changed so that all streams are not destroyed. Which mad...
[ { "path": "test/parallel/test-stream-pipeline.js", "patch": "@@ -982,7 +982,7 @@ const net = require('net');\n dst.readable = false;\n pipeline(src, dst, common.mustCall((err) => {\n assert(!err);\n- assert.strictEqual(dst.destroyed, true);\n+ assert.strictEqual(dst.destroyed, false);\n }));...
2020-04-23T19:36:32
electron/electron
c209b886bf4078cf6126c5466018a295b44b795f
e3151163367755868e416a1b5e293be8119c8f28
fix TouchBarSpacer class name in doc
[ { "path": "docs/api/touch-bar-spacer.md", "patch": "@@ -4,7 +4,7 @@\n \n Process: [Main](../tutorial/quick-start.md#main-process)\n \n-### `new TouchBarSlider(options)`\n+### `new TouchBarSpacer(options)`\n \n * `options` Object\n * `size` String (optional) - Size of spacer, possible values are:", "ad...
2017-03-05T06:09:35
facebook/react
26fb009e0cc59e55b7157047c81534551a70bc0d
9ae002503c3e743f80a451996cc5493f7da2a553
fix comment
[ { "path": "src/browser/syntheticEvents/SyntheticTouchEvent.js", "patch": "@@ -23,7 +23,7 @@ var SyntheticUIEvent = require('SyntheticUIEvent');\n \n /**\n * @interface TouchEvent\n- * @see http://www.w3.org/TR/DOM-Level-3-Events/\n+ * @see http://www.w3.org/TR/touch-events/\n */\n var TouchEventInterface ...
2014-02-07T21:46:34
golang/go
73a55c17049a2c12e5368790e178c32363743dd8
04eb35998a3a999c830969f802744ab9274714a8
go/types: remove support for "ERROR HERE" error markers in tests There are only two tests that rely on the "ERROR HERE" markers; yet those tests are trivialy adjustable (by adding an explicit semicolon) such that they can just use the "ERROR" markers. For #54511. Change-Id: Idbb96ca8d35ae2584d195a4ac7c92640b8b492c5 ...
[ { "path": "src/go/types/check_test.go", "patch": "@@ -88,10 +88,8 @@ func parseFiles(t *testing.T, filenames []string, srcs [][]byte, mode parser.Mod\n \n // ERROR comments must start with text `ERROR \"rx\"` or `ERROR rx` where\n // rx is a regular expression that matches the expected error message.\n-// S...
2022-08-25T20:48:42
vercel/next.js
4a89febf97aad4b6f490bedd49d70514018ac18c
7cea497626ac2fe5e130807917faf9e0e6cd9f2e
Improve CSRF protection error in Server Actions (#57980) Follow-up to #57529, this adds extra logging so that you know what the header value was in order to configure it correctly.
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -208,6 +208,29 @@ async function createRedirectRenderResult(\n return new RenderResult(JSON.stringify({}))\n }\n \n+// Used to compare Host header and Origin header.\n+const enum HostType {\n+ XForwardedHost = 'x-forwarded-ho...
2023-11-03T11:40:46
nodejs/node
6419e59889e4498f4fe6515d58218a31a7d6578b
9368e167a714f831023e09c28a48dca4e7cb24fd
stream: pipeline should only destroy un-finished streams This PR logically reverts https://github.com/nodejs/node/pull/31940 which has caused lots of unnecessary breakage in the ecosystem. This PR also aligns better with the actual documented behavior: `stream.pipeline()` will call `stream.destroy(err)` on all strea...
[ { "path": "lib/internal/streams/pipeline.js", "patch": "@@ -25,43 +25,18 @@ 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-04-21T11:29:43
facebook/react
b199de29a06a714c55a387b214097ccff508e8f5
bc27325d31467b9e89b5ef58e4e08b9bd9055478
Cleanup jsx tasks debug and release are now identical, so there's no need to have both.
[ { "path": "Gruntfile.js", "patch": "@@ -48,7 +48,7 @@ module.exports = function(grunt) {\n }\n });\n \n- // Register jsx:debug and :release tasks.\n+ // Register jsx:normal and :release tasks.\n grunt.registerMultiTask('jsx', jsxTask);\n \n // Our own browserify-based tasks to build a single JS ...
2014-02-06T23:59:57
golang/go
04eb35998a3a999c830969f802744ab9274714a8
56bdf7f7d91cc5fa40e9e6ec0e3da3733f0e2e4e
cmd/trace: display goroutines (PC=0) with clearer description This PR fixes: #54425 #49994 Change-Id: Id60a3ba6930f8e29b12b6d8f80945decd2ce31bc GitHub-Last-Rev: 60a040aa2f111f64f571597799ce7ca317e1d281 GitHub-Pull-Request: golang/go#54575 Reviewed-on: https://go-review.googlesource.com/c/go/+/425042 Reviewed-by: Mich...
[ { "path": "src/cmd/trace/goroutines.go", "patch": "@@ -64,6 +64,11 @@ func httpGoroutines(w http.ResponseWriter, r *http.Request) {\n \tvar glist []gtype\n \tfor k, v := range gss {\n \t\tv.ID = k\n+\t\t// If goroutine didn't run during the trace (no sampled PC),\n+\t\t// the v.ID and v.Name will be zero va...
2022-08-25T09:34:49
vercel/next.js
520fbc884d45b52148e4ce33e245e4f8e0e5f7d5
53b684a795608a8acb7e629e7a560be4944b057e
Remove throw for unknown messages in hot-reloader-client (#57353) Ensures extra messages are ignored instead of throwing an error.
[ { "path": "packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -414,7 +414,6 @@ function processMessage(\n return\n }\n default: {\n- throw new Error('Unexpected action ' + JSON.stringify(obj))\n }\n }\n }", "additions": 0, "deletions...
2023-11-03T01:06:53
nodejs/node
9368e167a714f831023e09c28a48dca4e7cb24fd
4eb1701edb8e44b6b27fbe13be4675bf3dfc8cd8
deps: V8: cherry-pick e1eac1b16c96 Original commit message: Fix compilation error with devtoolset-8 We are compiling V8 using devtoolset-8 and it is generating a new compilation error related to String Truncation: error: ‘char* strncpy(char*, const char*, size_t)’ output truncated copying between 1 ...
[ { "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.12',\n+ 'v8_embedder_string': '-node.13',\n \n ##### V8 defaults for Node.js #####\n...
2020-04-21T17:16:53
golang/go
56bdf7f7d91cc5fa40e9e6ec0e3da3733f0e2e4e
f64f12f0b32eba7d49c259480e0fa0c79eb47600
runtime: update gctrace docs and print lastStackScan instead of max This change updates the gctrace docs to include stacks and globals in the format line, and prints lastStackScan for "# MB stacks" instead of maxStackScan, which is more accurate. Fixes #54649. Change-Id: Ibff2c390c9c9bf2b24b5b4e98ca346cc98d7cb2e Rev...
[ { "path": "src/runtime/extern.go", "patch": "@@ -79,7 +79,7 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \terror at each collection, summarizing the amount of memory collected and the\n \tlength of the pause. The format of this line is subject to change.\n \tCurrently, ...
2022-08-24T20:52:51
vercel/next.js
0baafc727b0e953008bbbed3911ddb0730579597
82d1b57721dec79d83bf26f74216a6777e9dd267
Improve grammar of removable Babel config warning (#55088) The current warning is > It looks like there is a custom Babel configuration can be removed . which in this PR is updated to > It looks like there is a custom Babel configuration that can be removed. --- [Original bug found by @protehnica on the Next.js...
[ { "path": "packages/next/src/build/babel/loader/get-config.ts", "patch": "@@ -233,7 +233,7 @@ function checkCustomBabelConfigDeprecation(\n \n if (isPresetReadyToDeprecate && unsupportedPlugins.length === 0) {\n Log.warn(\n- `It looks like there is a custom Babel configuration can be removed ${\n...
2023-11-03T00:51:53
nodejs/node
4eb1701edb8e44b6b27fbe13be4675bf3dfc8cd8
50d28d4b3a616b04537feff014aa70437f064e30
stream: finished should complete with read-only Duplex If passed a Duplex where readable or writable has been explicitly disabled then don't assume 'close' will be emitted. Fixes: https://github.com/nodejs/node/issues/32965 PR-URL: https://github.com/nodejs/node/pull/32967 Reviewed-By: Matteo Collina <matteo.collina...
[ { "path": "lib/internal/streams/end-of-stream.js", "patch": "@@ -76,7 +76,9 @@ function eos(stream, opts, callback) {\n state &&\n state.autoDestroy &&\n state.emitClose &&\n- state.closed === false\n+ state.closed === false &&\n+ isReadable(stream) === readable &&\n+ isWritable(stre...
2020-04-21T10:29:37
facebook/react
e9e44773ee5d4fddb1ebb1924953a255f79642ee
94d11ecf05135d06061d1d2a87cfbd8ef519589b
Docs: Fixed reference to unreachable url.
[ { "path": "docs/docs/complementary-tools.md", "patch": "@@ -33,7 +33,7 @@ If you want your project on this list, or think one of these projects should be\n ### Routing\n \n * **[director](https://github.com/flatiron/director)** (for an example see [TodoMVC](https://github.com/tastejs/todomvc/blob/gh-pages...
2014-02-07T02:32:30
golang/go
f64f12f0b32eba7d49c259480e0fa0c79eb47600
b9bf82465569397191a62c4e4fb9a7d1013a2e64
crypto/x509: don't panic marshaling invalid ECDSA keys MarshalPKIXPublicKey, CreateCertificate, CreateCertificateRequest, MarshalECPrivateKey, and MarshalPKCS8PrivateKey started raising a panic when encoding an invalid ECDSA key in Go 1.19. Since they have an error return value, they should return an error instead. F...
[ { "path": "src/crypto/x509/sec1.go", "patch": "@@ -54,6 +54,9 @@ func MarshalECPrivateKey(key *ecdsa.PrivateKey) ([]byte, error) {\n // marshalECPrivateKey marshals an EC private key into ASN.1, DER format and\n // sets the curve ID to the given OID, or omits it if OID is nil.\n func marshalECPrivateKeyWith...
2022-08-09T20:02:57
facebook/react
5f941628e09b72b9c2be33466973730148745fd6
497dab2ad973fef569c4b6c2597ef4f639176b74
Fixed missing lighted line The line number added had been changed from the previous representation of the code fence, but was not highlighted. Therefore, fixed.
[ { "path": "docs/docs/tutorial.md", "patch": "@@ -303,7 +303,7 @@ React.renderComponent(\n \n Now that the data is available in the `CommentList`, let's render the comments dynamically:\n \n-```javascript{4-6}\n+```javascript{4-6,9}\n // tutorial10.js\n var CommentList = React.createClass({\n render: funct...
2014-02-06T13:41:19
nodejs/node
50d28d4b3a616b04537feff014aa70437f064e30
01e158c600d451bcbb3da4d276a9e61dcc84ebe4
assert: port common.mustCall() to assert Fixes: https://github.com/nodejs/node/issues/31392 PR-URL: https://github.com/nodejs/node/pull/31982 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Colin Ihrig <c...
[ { "path": "doc/api/assert.md", "patch": "@@ -147,6 +147,137 @@ try {\n }\n ```\n \n+## Class: `assert.CallTracker`\n+\n+### `new assert.CallTracker()`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+Creates a new [`CallTracker`][] object which can be used to track if functions\n+were called a specific number of t...
2020-02-27T11:41:05
vercel/next.js
82d1b57721dec79d83bf26f74216a6777e9dd267
8014866cacf35d520b7ffdc7d0dd8456c78287a8
misc: fix serverComponentsExternalPackages usage for experimental.bundlePagesExternals (#57954) This PR fixes a bug where Next.js would not use the serverComponentsExternalPackages config when opting into the `experimental.bundlePagesExternals` flag. The fix consists of just adding a check for the externals config.
[ { "path": "packages/next/src/build/handle-externals.ts", "patch": "@@ -22,6 +22,8 @@ const externalPattern = new RegExp(\n `${nextDist}${optionalEsmPart}.*${externalFileEnd}`\n )\n \n+const nodeModulesRegex = /node_modules[/\\\\].*\\.[mc]?js$/\n+\n export function isResourceInPackages(\n resource: strin...
2023-11-02T23:57:52
electron/electron
ba3fbc9d1b77b13bfb3de2d8d82cba34cdc6395d
28d5c8bbdec6c636b83b23235707496945a29bc6
Fix Group items
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -693,9 +693,11 @@ - (nullable NSTouchBarItem*) makeGroupForID:(NSString*)id withIdentifier:(NSStri\n NSMutableArray<NSTouchBarItem*>* generatedItems = [[NSMutableArray alloc] init];\n NSMutableArray<NSString*>* identList = [self identifierArray...
2016-12-16T08:27:54
golang/go
b9bf82465569397191a62c4e4fb9a7d1013a2e64
95a786da1265d84290c1a0d1186352f71475ff9f
go/parser: match go/defer error message of syntax package Adjust corresponding type checker tests accordingly. For #54511. Change-Id: Ieaf29f26c0877973fc0acbde35292cd69a4b709c Reviewed-on: https://go-review.googlesource.com/c/go/+/425007 Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Alan Donovan <adono...
[ { "path": "src/go/parser/parser.go", "patch": "@@ -1997,7 +1997,7 @@ func (p *parser) parseCallExpr(callType string) *ast.CallExpr {\n \t}\n \tif _, isBad := x.(*ast.BadExpr); !isBad {\n \t\t// only report error if it's a new one\n-\t\tp.error(p.safePos(x.End()), fmt.Sprintf(\"function must be invoked in %s...
2022-08-20T02:01:05
facebook/react
2435b66840179a62826f917ea811c512a5e6abc3
a528beeda91235cf8283a6dc9c325d10f778b765
Fix version check test
[ { "path": "grunt/tasks/version-check.js", "patch": "@@ -10,7 +10,7 @@ var reactVersionExp = /\\bReact\\.version\\s*=\\s*['\"]([^'\"]+)['\"];/;\n \n module.exports = function() {\n var reactVersion = reactVersionExp.exec(\n- grunt.file.read('./src/core/React.js')\n+ grunt.file.read('./src/browser/Rea...
2014-02-05T03:47:48
vercel/next.js
9af75d4b2df15f48a1fd168344c989fefd54794e
c95ef234fc9ca0b82c0c4f863bd7cfa4d79372a5
Fix client chunk loading encoding for dynamic route (#57960) We had added encoding the client component assets loaded from RSC manifest that we need to encode them to make sure when they're loaded on server and sent to client, the client will receive the encoded one. But the override of the webpack chunk loading metho...
[ { "path": "packages/next/src/client/app-next-dev.ts", "patch": "@@ -1,9 +1,9 @@\n // TODO-APP: hydration warning\n \n+import './app-webpack'\n import { appBootstrap } from './app-bootstrap'\n \n appBootstrap(() => {\n- require('./app-webpack')\n const { hydrate } = require('./app-index')\n hydrate()\n ...
2023-11-02T23:09:25
nodejs/node
1cc1ca429795c45db03e6446005a42fd9b51de15
6a07eca49c6ae05a70203d241dbe505442a9656b
fs: update validateOffsetLengthRead in utils.js PR-URL: https://github.com/nodejs/node/pull/32896 Fixes: https://github.com/nodejs/node/issues/32871 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Andr...
[ { "path": "lib/internal/fs/utils.js", "patch": "@@ -539,13 +539,15 @@ function toUnixTimestamp(time, name = 'time') {\n \n const validateOffsetLengthRead = hideStackFrames(\n (offset, length, bufferLength) => {\n- if (offset < 0 || offset >= bufferLength) {\n- throw new ERR_OUT_OF_RANGE('offset',\...
2020-04-17T06:43:53
electron/electron
d1b3ba39bd6f9e9af2bb6bbfe98b6d57e1e310af
4f0caffc3b1362fc8827e1ffb73acf789ead8b48
Fix cpp linting
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -282,7 +282,8 @@ void Window::OnExecuteWindowsCommand(const std::string& command_name) {\n Emit(\"app-command\", command_name);\n }\n \n-void Window::OnTouchBarItemResult(const std::string& item_type, const std::vector<std::string>& args) {\n+v...
2016-11-29T07:57:26
golang/go
95a786da1265d84290c1a0d1186352f71475ff9f
6a801d3082c6ab28372c115d13ef0c238e3535ae
path/filepath, io/fs: add SkipAll Fixes #47209 Change-Id: If75b0dd38f2c30a23517205d80c7a6683a5c921c Reviewed-on: https://go-review.googlesource.com/c/go/+/363814 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: ...
[ { "path": "api/next/47209.txt", "patch": "@@ -0,0 +1,2 @@\n+pkg io/fs, var SkipAll error #47209\n+pkg path/filepath, var SkipAll error #47209", "additions": 2, "deletions": 0, "language": "Plain Text" }, { "path": "src/cmd/go/internal/fsys/fsys_test.go", "patch": "@@ -760,6 +760,42 @...
2021-11-13T00:18:30
vercel/next.js
5da8ad7baf3f767e3c26286c3778cb0d705fb033
ad55d781991bd7d69ca8de0111a4b792fba32d84
move static worker IPC server behind experimental flag (#57943) A shared incremental cache IPC server was introduced for build-time static workers as an optimization to dedupe fetch requests, however this can cause fetch-related flakiness to builds under certain conditions (e.g., large payloads). This moves the optim...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1218,8 +1218,8 @@ export default async function build(\n : config.experimental.cpus || 4\n \n function createStaticWorker(\n- incrementalCacheIpcPort: number,\n- incrementalCacheIpcValidationKey: string\n+ increme...
2023-11-02T20:26:55
nodejs/node
6a07eca49c6ae05a70203d241dbe505442a9656b
e767ed0558a17b87e543b79d1f842821fbdb8e6b
http2: wait for secureConnect before initializing PR-URL: https://github.com/nodejs/node/pull/32958 Fixes: https://github.com/nodejs/node/issues/32922 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/_tls_wrap.js", "patch": "@@ -467,6 +467,7 @@ function TLSSocket(socket, opts) {\n this._securePending = false;\n this._newSessionPending = false;\n this._controlReleased = false;\n+ this.secureConnecting = true;\n this._SNICallback = null;\n this.servername = null;\n this.alpnPro...
2020-04-21T22:55:54
facebook/react
97307593228bd537c2db3a8be0807cad4fb27033
945f788a4127c3428a5e3cf65fb6d1014c2e98a1
Fix cloneWithProps() to allow overriding props This is a clear bug.
[ { "path": "src/utils/__tests__/cloneWithProps-test.js", "patch": "@@ -55,7 +55,7 @@ describe('cloneWithProps', function() {\n });\n var component = ReactTestUtils.renderIntoDocument(<Grandparent />);\n expect(component.getDOMNode().childNodes[0].className)\n- .toBe('child xyz');\n+ .to...
2014-02-04T21:00:36
golang/go
6a801d3082c6ab28372c115d13ef0c238e3535ae
396b153ec454cd427f97be4d994a903e2c4b244f
cmd/compile/internal/noder: fix inlined function literal positions When inlining function calls, we rewrite the position information on all of the nodes to keep track of the inlining context. This is necessary so that at runtime, we can synthesize additional stack frames so that the inlining is transparent to the user...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -136,6 +136,10 @@ type reader struct {\n \tinlTreeIndex int\n \tinlPosBases map[*src.PosBase]*src.PosBase\n \n+\t// suppressInlPos tracks whether position base rewriting for\n+\t// inlining should be suppressed. See funcLit.\n+\tsuppressInl...
2022-08-24T22:03:50
electron/electron
4f0caffc3b1362fc8827e1ffb73acf789ead8b48
257b32b84bf6c4f8cffcf5f4db3a1329e580b596
Fix JS linting
[ { "path": "default_app/default_app.js", "patch": "@@ -1,4 +1,4 @@\n-const {app, BrowserWindow,TouchBar} = require('electron')\n+const {app, BrowserWindow, TouchBar} = require('electron')\n const path = require('path')\n \n let mainWindow = null\n@@ -29,8 +29,8 @@ exports.load = (appUrl) => {\n new (To...
2016-11-29T07:55:07
vercel/next.js
7b524fa2d39577392509165a87b9f0579ca671b4
1b0113bfea1f6ef463e52cd17500c55ed79b2a77
ppr: fail static generation if postponed & missing postpone data (#57786) When postpone is caught by user code, this will cause PPR not to properly prerender the static parts and thus we need to fail the build. This also adds some messaging about how to fix the error. Prior to this change, catching code that would no...
[ { "path": "errors/ppr-postpone-error.mdx", "patch": "@@ -0,0 +1,13 @@\n+---\n+title: Understanding the postpone error triggered during static generation\n+---\n+\n+## Why This Error Occurred\n+\n+When Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like `cookies`, `headers`...
2023-11-01T20:28:13
nodejs/node
ea87809bb6696e2c1ec5d470031f137e18641183
d08bd412481de12a846a9ee8ad96bd2aefb602b5
stream: fix _final and 'prefinish' timing This PR fixes a few different things: The timing of 'prefinish' depends on whether or not _final is defined. In on case the event is emitted synchronously with end() and otherwise asynchronously. _final is currently unecessarily called asynchronously which forces implementor...
[ { "path": "lib/_stream_transform.js", "patch": "@@ -99,10 +99,10 @@ function Transform(options) {\n this._flush = options.flush;\n }\n \n- // TODO(ronag): Unfortunately _final is invoked asynchronously.\n- // Use `prefinish` hack. `prefinish` is emitted synchronously when\n- // and only when `_fi...
2020-04-11T11:16:46
golang/go
396b153ec454cd427f97be4d994a903e2c4b244f
83b5fe63514411f425061967fd8c1d506f2ac40f
testing: add Elapsed method to testing.B Elapsed returns the measured elapsed time of the benchmark, but does not change the running state of the timer. Fixes #43620. Change-Id: Idd9f64c4632518eec759d2ffccbf0050d84fcc03 Reviewed-on: https://go-review.googlesource.com/c/go/+/420254 Reviewed-by: Dmitri Shuralyov <dmit...
[ { "path": "api/next/43620.txt", "patch": "@@ -0,0 +1 @@\n+pkg testing, method (*B) Elapsed() time.Duration #43620\n\\ No newline at end of file", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "src/testing/benchmark.go", "patch": "@@ -337,6 +337,17 @@ func (b *...
2022-07-30T04:47:51
vercel/next.js
555b13180e1da8abb0171df8d82260eacd505aef
62267ec7c744f247ff106e99507da2c291344812
fix(next-core): externalcjs resolve options (#57645) ### What Probably not a big deal since we run this against cjs / esm both, but looks like it's a minor typo. Closes WEB-1894
[ { "path": "packages/next-swc/crates/next-core/src/next_server/resolve.rs", "patch": "@@ -65,9 +65,9 @@ async fn is_node_resolveable(\n context,\n request,\n if is_esm {\n- node_cjs_resolve_options(context.root())\n- } else {\n node_esm_resolve_options(co...
2023-11-01T19:38:17
nodejs/node
09a50d3c5a19c0874cd127b2e55be500ea25372b
7be5f58638ca604f59f44b42a6962963a1abd60b
module: improve error for invalid package targets For targets that are strings that do not start with `./` or `/` the error will now have additional information about what the programming error is. Closes: https://github.com/nodejs/node/issues/32034 PR-URL: https://github.com/nodejs/node/pull/32052 Fixes: https://gi...
[ { "path": "lib/internal/errors.js", "patch": "@@ -20,6 +20,7 @@ const {\n ObjectDefineProperty,\n ObjectKeys,\n StringPrototypeSlice,\n+ StringPrototypeStartsWith,\n Symbol,\n SymbolFor,\n WeakMap,\n@@ -1104,18 +1105,28 @@ E('ERR_INVALID_PACKAGE_CONFIG', (path, message, hasMessage = true) => {\...
2020-04-17T21:13:16
golang/go
83b5fe63514411f425061967fd8c1d506f2ac40f
1df2a03b17b4496bddfb482ec45b2a29c20e5249
go/types: match types2 string when printing composite literals Given a composite literal type S, rather than always printing (S literal) for a composite literals, print S{} if the literal has no elements, and print S{…} as a short form (suitable for error messages) if there are elements. This matches types2 and also G...
[ { "path": "src/go/types/api_test.go", "patch": "@@ -951,7 +951,7 @@ func TestPredicatesInfo(t *testing.T) {\n \n \t\t// values\n \t\t{`package v0; var (a, b int; _ = a + b)`, `a + b`, `value`},\n-\t\t{`package v1; var _ = &[]int{1}`, `([]int literal)`, `value`},\n+\t\t{`package v1; var _ = &[]int{1}`, `[]in...
2022-08-20T01:31:56
nodejs/node
7be5f58638ca604f59f44b42a6962963a1abd60b
14aa3131864fea00edb3c6887e25cd1d7c533e0d
tools: fix mkcodecache when run with ASAN Fixes: https://github.com/nodejs/node/issues/32835 PR-URL: https://github.com/nodejs/node/pull/32850 Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@...
[ { "path": "tools/code_cache/mkcodecache.cc", "patch": "@@ -49,8 +49,8 @@ int main(int argc, char* argv[]) {\n \n // Create a new Isolate and make it the current one.\n Isolate::CreateParams create_params;\n- create_params.array_buffer_allocator =\n- ArrayBuffer::Allocator::NewDefaultAllocator();\n...
2020-04-14T17:01:29
vercel/next.js
6b6bfcd3878ae33cd67b131182846c80970b4fa7
c3bf735263112bf5feb76b20c976807303f2dfd7
Polish logging segments of page route (#57834) Reduce the confusiong of the the logging of pages, make it easier to understand * Removing the trailing `/page`, `/route` suffix * Removing the internal segment like `[[...__metadata__]]` #### After ``` ○ Compiling / ... ○ Compiling /dynamic/[slug]/icon ... ``` #...
[ { "path": "packages/next/src/build/output/index.ts", "patch": "@@ -316,7 +316,18 @@ export function watchCompilers(\n })\n }\n \n+const internalSegments = ['[[...__metadata_id__]]', '[__metadata_id__]']\n export function reportTrigger(trigger: string) {\n+ for (const segment of internalSegments) {\n+ ...
2023-11-01T16:34:52
rust-lang/rust
339be84d9dbe887ce704a5171e467b4fb363fbf4
de3efa79f95852c7427587f1d535bfea7c0d6779
Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc
[ { "path": "src/librustdoc/doctest.rs", "patch": "@@ -409,9 +409,7 @@ pub(crate) fn run_tests(\n // We ensure temp dir destructor is called.\n std::mem::drop(temp_dir);\n times.display_times();\n- // FIXME(GuillaumeGomez): Uncomment the next line once #144297 has been merged.\n...
2025-07-31T15:14:39
golang/go
1df2a03b17b4496bddfb482ec45b2a29c20e5249
e4be2ac79f3cc7219ae1cf8334463d11cae24e01
crypto/tls: support ECDHE when ec_point_formats is missing Fixes #49126 Change-Id: I9d6f6392b1a6748bdac1d2c6371b22d75829a2b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/425295 Run-TryBot: Filippo Valsorda <filippo@golang.org> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Alex Scheel <alex...
[ { "path": "src/crypto/tls/handshake_server.go", "patch": "@@ -239,7 +239,7 @@ func (hs *serverHandshakeState) processClientHello() error {\n \n \ths.ecdheOk = supportsECDHE(c.config, hs.clientHello.supportedCurves, hs.clientHello.supportedPoints)\n \n-\tif hs.ecdheOk {\n+\tif hs.ecdheOk && len(hs.clientHell...
2022-08-24T10:39:20
vercel/next.js
f832c56a03e32a0634b72b11ce1664e17eb1b846
bb09c4d2a65d3ed824baf4b2a8fe5dee54ff3adf
[docs] fix next.config.mjs using commonjs in the example (#57874) make sure `next.config.mjs` uses `export` instead of `module.exports`
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/index.mdx", "patch": "@@ -34,7 +34,7 @@ export default nextConfig\n You can also use a function:\n \n ```js filename=\"next.config.mjs\"\n-module.exports = (phase, { defaultConfig }) => {\n+export default (phase, { defaultConfig }) => {\n /**\n ...
2023-11-01T14:05:38
electron/electron
d75db0ea1a6f56294b7e69bcc4a1002f8909ab8b
370562b129ce4de7b82cd9ad9ebbe7c2e1ff43ca
Fixed js lint issues.
[ { "path": "spec/api-browser-window-spec.js", "patch": "@@ -256,7 +256,6 @@ describe('BrowserWindow module', function () {\n w.loadURL(server.url)\n })\n \n-\n it('sets the content type header on multi part forms', function (done) {\n w.webContents.on('did-finish-load', () => {\n ...
2017-03-02T22:37:09
rust-lang/rust
bb4fded8a35a961b749846df45f6caf55d98e5d3
bc5df9b057a1ab9f8d9c387cde9a7dbab0e1462b
remove duplicate field in Debug
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/workspace.rs", "patch": "@@ -157,7 +157,6 @@ impl fmt::Debug for ProjectWorkspace {\n .field(\"file\", &file)\n .field(\"cargo_script\", &cargo_script.is_some())\n .field(\"n_sysroot_crates\", &sysroo...
2025-08-08T21:46:28
nodejs/node
91ca22106c8d20dd4b09741c59c2f24f3a287277
46ec9ab7d81f7dac59b2bf9afb67896564b4f586
http2: refactor and cleanup http2 * cleanup constants in http2 binding The error constants were just doing some weird things. Cleanup and improve maintainability. * simplify settings to reduce duplicate code * improve style consistency and correctness Use snake_case for getters and setters at c++ level, avoid ...
[ { "path": "src/node_http2.cc", "patch": "@@ -21,6 +21,7 @@ using v8::ArrayBuffer;\n using v8::ArrayBufferView;\n using v8::Boolean;\n using v8::Context;\n+using v8::EscapableHandleScope;\n using v8::Float64Array;\n using v8::Function;\n using v8::FunctionCallbackInfo;\n@@ -30,7 +31,6 @@ using v8::Integer;\n...
2020-04-15T22:21:32
golang/go
e4be2ac79f3cc7219ae1cf8334463d11cae24e01
d4ff25ac69c90bb0e6a92aff7650d0bf3d41d29e
runtime: mark morestack_noctxt SPWRITE on LR architectures On LR architectures, morestack (and morestack_noctxt) are called with a special calling convention, where the caller doesn't save LR on stack but passes it as a register, which morestack will save to g.sched.lr. The stack unwinder currently doesn't understand ...
[ { "path": "src/runtime/asm_arm.s", "patch": "@@ -387,6 +387,13 @@ TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0\n \tRET\n \n TEXT runtime·morestack_noctxt(SB),NOSPLIT|NOFRAME,$0-0\n+\t// Force SPWRITE. This function doesn't actually write SP,\n+\t// but it is called with a special calling convention where...
2022-08-24T22:33:21
vercel/next.js
1caa58087a428666bb14d40dbc159b9a768b075d
f2efb502acd6d5de143c03b88b8933efaea2baa2
fix: correctly set `x-forwarded-*` in Middleware (#57815) ### What? Follow-up of #56797 While working on this, I noticed that some logic around stripping internal headers was duplicated, so I did some cleanup too. ### Why? In #56797 we set these headers, but it only affected Route Handlers, Middleware is still mis...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -127,6 +127,7 @@ import getRouteFromAssetPath from '../shared/lib/router/utils/get-route-from-ass\n import { stripInternalHeaders } from './internal-utils'\n import { RSCPathnameNormalizer } from './future/normalizers/request/rsc'\n import { ...
2023-11-01T04:36:50
nodejs/node
438514d36aa899ee62e760c401564b1ce9314391
372c7cc3c271c9c3a15118c669e7f72b9c5ea103
doc: fix typo in security-release-process.md PR-URL: https://github.com/nodejs/node/pull/32926 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Juan José Arboleda <soyj...
[ { "path": "doc/guides/security-release-process.md", "patch": "@@ -2,7 +2,7 @@\n \n The security release process covers the steps required to plan/implement a\n security release. This document is copied into the description of the Next\n-Security Release, and used to track progess on the release. It contains...
2020-04-19T08:40:18
facebook/react
77c53dd5d4eb258c93d654ae6d75f8830d0fb56e
e994e06c541c226748f0fe5b99129abe7aa16049
Revert "More optimizations and fix for JSXTransformer build" This reverts commit f1b7db9aef57d5b2a9264b51e4303540772f847f.
[ { "path": "grunt/config/browserify.js", "patch": "@@ -3,7 +3,6 @@\n \n 'use strict';\n \n-var deamdify = require('deamdify');\n var envify = require('envify/custom');\n var grunt = require('grunt');\n var UglifyJS = require('uglify-js');\n@@ -81,7 +80,6 @@ var transformer = {\n outfile: './build/JSXTransf...
2014-02-04T00:05:15
electron/electron
5ee7434a54711bf60e06f4f8b713f2b60d25436d
01423f79b3fd3aa8270abd657fb83da64e39c57c
fix indentation of app.setLoginItemSettings arguments
[ { "path": "docs/api/app.md", "patch": "@@ -820,11 +820,11 @@ Returns `Object`:\n `app.getLoginItemStatus().wasOpenedAsHidden` should be checked when the app\n is opened to know the current value. This setting is only supported on\n macOS.\n- * `path` String (optional) _Windows_ - The executable...
2017-03-02T21:28:58
golang/go
d4ff25ac69c90bb0e6a92aff7650d0bf3d41d29e
8c8429fe4113b399355c11203e60e6b37bc823ba
misc/cgo/testsanitizers: determine compiler version for tsan tests on ppc64le Some tests in misc/cgo/testsanitizers had been disabled on ppc64le until recently, due to an intermittent error in the tsan tests, with the goal of trying to understand the failure. After further investigation, I found that the code for tsa...
[ { "path": "misc/cgo/testsanitizers/asan_test.go", "patch": "@@ -27,8 +27,8 @@ func TestASAN(t *testing.T) {\n \t// -asan option must use a compatible version of ASan library, which requires that\n \t// the gcc version is not less than 7 and the clang version is not less than 9,\n \t// otherwise a segmentati...
2022-08-24T17:14:20
vercel/next.js
74153e1208e0f3cab8fa736e9192fd3ff7ad12cc
ac54377e6723543333109adff43a804778712a8f
Prevent caching page with 304 status (#57737) I think that sometimes when a revalidation happens from a request with caching headers this causing the 304 status to be cached. This PR ensures the 304 from an initial response doesn't affect a background revalidation. Fixes: https://github.com/vercel/next.js/issu...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -1491,6 +1491,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n return\n }\n const { req, res } = ctx\n+ const originalStatus = res.statusCode\n const { body, type } = payload\n le...
2023-11-01T00:48:03
facebook/react
57bf7d21f3425608f4c9fb713413a465a656c07e
ce95c3d042309d8aced894cc6be43d7e4cf96455
fix transaction comment from componentDidRender to componentDidUpdate
[ { "path": "src/utils/Transaction.js", "patch": "@@ -67,7 +67,7 @@ var invariant = require('invariant');\n * while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n * reconciliation takes place in a worker t...
2014-02-03T19:48:53
golang/go
8c8429fe4113b399355c11203e60e6b37bc823ba
ba5deb408f50f31a872f114c5ef7b52090e4b753
go/types, types2: add more tests for unsafe.Slice/SliceData/String/StringData Also: - fine-tune the implementation for some of the new builtin functions - make sure the go/types code is an exact as possible copy of the types2 code - fix the description and examples for errorcodes.go Follow-up on CL 423754. For #53...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -757,7 +757,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\t}\n \n \t\tx.mode = value\n-\t\tx.typ = NewPointer(slice.Elem())\n+\t\tx.typ = NewPointer(slice.elem)\n \t\tif check.Types != nil {\n ...
2022-08-24T23:59:22
nodejs/node
372c7cc3c271c9c3a15118c669e7f72b9c5ea103
10cc254790bea4dbad5572eb0eef25b43061f440
2020-04-21, Version 14.0.0 (Current) Deprecations: - (SEMVER-MAJOR) crypto: move pbkdf2 without digest to EOL (James M Snell) [#31166](https://github.com/nodejs/node/pull/31166) - (SEMVER-MAJOR) fs: deprecate closing FileHandle on garbage collection (James M Snell) [#28396](https://github.com/nodejs/node/pull/283...
[ { "path": "CHANGELOG.md", "patch": "@@ -2,6 +2,7 @@\n \n Select a Node.js version below to view the changelog history:\n \n+* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) **Current**\n * [Node.js 13](doc/changelogs/CHANGELOG_V13.md) **Current**\n * [Node.js 12](doc/changelogs/CHANGELOG_V12.md) **Long Term ...
2020-03-10T17:16:08
vercel/next.js
75958bbc468964f7a21b5d06be36d8d193c69280
e0cf4e2ebd4d7ff3b1c0e521c8447c538605b3a4
Chore: simplify with-supabase example (#57562) ### What? [1] Simplify example [2] Refactor `delete` method to use `cookies.set` ### Why? [1] Make it easier to follow [2] Fix build errors ### How? [1] Adding comments and abstracting code into helper functions [2] Setting cookie to empty value when rem...
[ { "path": "examples/with-supabase/app/page.tsx", "patch": "@@ -10,6 +10,8 @@ export default async function Index() {\n const cookieStore = cookies()\n \n const canInitSupabaseClient = () => {\n+ // This function is just for the interactive tutorial.\n+ // Feel free to remove it once you have Supab...
2023-10-31T23:33:55
facebook/react
4e9352f8f81d1d9dbaf2c4f222d7ca66479ab30b
85270ae154921972d8ab4f3af7b74f66293d55ae
Fix use strict warnings
[ { "path": "src/core/ReactComponentEnvironment.js", "patch": "@@ -15,6 +15,7 @@\n *\n * @providesModule ReactComponentEnvironment\n */\n+\"use strict\";\n \n var ReactComponentBrowserEnvironment =\n require('ReactComponentBrowserEnvironment');", "additions": 1, "deletions": 0, "language": "J...
2014-02-03T12:02:28
electron/electron
cf198904a4f7824252e4f9cbaef575f50c08fd66
1709e74958dfcbf070af046592e805cdbd152689
Fix cpplint warnings
[ { "path": "atom/browser/javascript_environment.h", "patch": "@@ -45,7 +45,7 @@ class JavascriptEnvironment {\n // Manage the Node Environment automatically.\n class NodeEnvironment {\n public:\n- NodeEnvironment(node::Environment* env);\n+ explicit NodeEnvironment(node::Environment* env);\n ~NodeEnviro...
2017-03-02T08:26:15
nodejs/node
10cc254790bea4dbad5572eb0eef25b43061f440
4299e976ec4a7c4d1a21ad77c442e7ac82db3f93
src: fix null deref in AllocatedBuffer::clear An empty buffer can have a null environment. Previously, we were getting away with with this, but -fsanitize=null in clang caught it. PR-URL: https://github.com/nodejs/node/pull/32892 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@g...
[ { "path": "src/env-inl.h", "patch": "@@ -1003,7 +1003,10 @@ inline AllocatedBuffer::~AllocatedBuffer() {\n \n inline void AllocatedBuffer::clear() {\n uv_buf_t buf = release();\n- env_->Free(buf.base, buf.len);\n+ if (buf.base != nullptr) {\n+ CHECK_NOT_NULL(env_);\n+ env_->Free(buf.base, buf.len)...
2020-04-16T23:30:08
golang/go
e4bed415ead32ece0acb396f025d3338fab5029d
bdf2db7255565db3d7ca1ffb721203e6d9460ccc
go/internal/gcimporter: call Complete on cloned Interfaces too For "type T interface{ M() }", go/types users expect T's underlying interface type to specify T as the receiver parameter type (#49906). The unified importer handles this by cloning the interface to rewrite the receiver parameters before calling SetUnderly...
[ { "path": "src/go/internal/gcimporter/ureader.go", "patch": "@@ -539,7 +539,9 @@ func (pr *pkgReader) objIdx(idx pkgbits.Index) (*types.Package, string) {\n \t\t\t\t\t\tembeds[i] = iface.EmbeddedType(i)\n \t\t\t\t\t}\n \n-\t\t\t\t\tunderlying = types.NewInterfaceType(methods, embeds)\n+\t\t\t\t\tnewIface :=...
2022-08-24T20:47:48
vercel/next.js
451ca9c7c23188d405ea64f97e949198128d552e
3241b557369831e88cb2e02c91a4a0c99023eb38
Remove the `actionBrowser` to RSC `client` layering issue (#57842) You can read the removed comments to get some context here. Based on the community feedback, we're removing this compile-time error and instead, it will be a runtime error only when it gets accessed by React and found it missing in the manifest. In th...
[ { "path": "packages/next/src/build/webpack/loaders/next-flight-loader/index.ts", "patch": "@@ -1,7 +1,4 @@\n-import {\n- RSC_MOD_REF_PROXY_ALIAS,\n- WEBPACK_LAYERS,\n-} from '../../../../lib/constants'\n+import { RSC_MOD_REF_PROXY_ALIAS } from '../../../../lib/constants'\n import { RSC_MODULE_TYPES } from...
2023-10-31T23:19:39
facebook/react
cd2aecc3777d39a8844ab1f72fe6c40d65317872
526be1570e1c08c381d88e7c54703b9f8356cb1e
fix(ServerRendering): execution should be sync The documentation states that React.renderComponentToString 'uses a callback API to keep the API async', but the implementation is actually synchronous. In order to maintain this contract the callback should always be called asynchronously or be change to a synchronous AP...
[ { "path": "CONTRIBUTING.md", "patch": "@@ -57,6 +57,7 @@ Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe\n * `\"use strict\";`\n * 80 character line length\n * \"Attractive\"\n+* Do not use the optional parameters of `setTimeout` and `setInterval`\n \n ## License\n ", "a...
2014-01-28T18:53:35
electron/electron
1709e74958dfcbf070af046592e805cdbd152689
24574f7299ae382b1b7a2623b8c409ef419702ed
Fix crash when the main frame is replaced
[ { "path": "atom/renderer/atom_renderer_client.cc", "patch": "@@ -206,7 +206,8 @@ std::vector<std::string> ParseSchemesCLISwitch(const char* switch_name) {\n } // namespace\n \n AtomRendererClient::AtomRendererClient()\n- : node_bindings_(NodeBindings::Create(false)),\n+ : node_integration_initialized...
2017-03-02T08:18:00
golang/go
55d96f98ef139daa8d5f362668271751cf59f8e1
308352936712476f450aaeac13166f2de019de65
cmd/go/internal/work: make NewBuilder safe for concurrent and repeated use Ever since 'go build' was added (in CL 5483069), it has used an atexit handler to clean up working directories. At some point (prior to CL 95900044), Init was called multiple times per builder, registering potentially many atexit handlers that ...
[ { "path": "src/cmd/go/internal/bug/bug.go", "patch": "@@ -22,6 +22,7 @@ import (\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/envcmd\"\n \t\"cmd/go/internal/web\"\n+\t\"cmd/go/internal/work\"\n )\n \n var CmdBug = &base.Command{\n@@ -42,6 +43,8 @@ func runBug(ctx context.Context, cmd *base.Command, arg...
2022-08-23T20:33:01
nodejs/node
b53cae32d312c9727374da8302743ca2d5f23310
c3554307c6d622d3ffb8643c135d9742d8710534
doc: fix usage of folder and directory terms in fs.md This commit fixes the interchangeably usage of "folder" and "directory" terms in fs.md Fixes: https://github.com/nodejs/node/issues/32902 PR-URL: https://github.com/nodejs/node/pull/32919 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Andre...
[ { "path": "doc/api/fs.md", "patch": "@@ -2459,11 +2459,11 @@ changes:\n Asynchronously creates a directory.\n \n The callback is given a possible exception and, if `recursive` is `true`, the\n-first folder path created, `(err, [path])`.\n+first directory path created, `(err, [path])`.\n \n The optional `opt...
2020-04-18T20:02:54
vercel/next.js
59f3b6487fe235481f716e9a85726e59a20c42c5
88c66ad142a30b3355a453ec07b73d10790cca77
Fix typo in run-tests.js (#57821) <!-- 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 Contributors ### Impro...
[ { "path": "run-tests.js", "patch": "@@ -37,7 +37,7 @@ const RESULTS_EXT = `.results.json`\n const isTestJob = !!process.env.NEXT_TEST_JOB\n // Check env to see if test should continue even if some of test fails\n const shouldContinueTestsOnError = !!process.env.NEXT_TEST_CONTINUE_ON_ERROR\n-// Check env to ...
2023-10-31T21:26:17
golang/go
308352936712476f450aaeac13166f2de019de65
d5aa088d822bc8ef3ceb80c20184f40fcb9b8d2e
cmd/go: avoid overwriting cached Origin metadata Fixes #54631. Change-Id: I17d2fa282642aeb1ae2a6e29a0756b8960bea34b Reviewed-on: https://go-review.googlesource.com/c/go/+/425255 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Re...
[ { "path": "src/cmd/go/internal/modfetch/codehost/codehost.go", "patch": "@@ -37,7 +37,9 @@ const (\n // A Repo represents a code hosting source.\n // Typical implementations include local version control repositories,\n // remote version control servers, and code hosting sites.\n-// A Repo must be safe for ...
2022-08-23T22:00:34
facebook/react
98432365d997346143ae96d29f17b12929c101a2
a2e805b26e1a37e58867fd44732f546ea6ecfc13
[docs] Fix comma splice
[ { "path": "docs/docs/getting-started.md", "patch": "@@ -90,7 +90,7 @@ React.renderComponent(\n \n > Note:\n >\n-> The comment parser is very strict right now, in order for it to pick up the `@jsx` modifier, two conditions are required. The `@jsx` comment block must be the first comment on the file. The comm...
2014-02-01T06:30:38
nodejs/node
c3554307c6d622d3ffb8643c135d9742d8710534
33a5cd5450296993ed30f7524de705df022dc0ee
doc: fix typo in zlib.md PR-URL: https://github.com/nodejs/node/pull/32901 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Revie...
[ { "path": "doc/api/zlib.md", "patch": "@@ -166,7 +166,7 @@ request.on('response', (response) => {\n pipeline(response, zlib.createGunzip(), output, onError);\n break;\n case 'deflate':\n- pipeline(response, zlib.createInflate(), outout, onError);\n+ pipeline(response, zlib.createIn...
2020-04-17T08:00:13
vercel/next.js
fcdd7e6ec41aafe6eacab1845030959446702228
74f99c9a03bd9be4d422ce443529df6f00945cf5
Simplify createNextInstall return type (#57760) Makes it easier to convert to TypeScript later when it has a consistent return type. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below...
[ { "path": "test/lib/create-next-install.js", "patch": "@@ -35,7 +35,6 @@ async function createNextInstall({\n installCommand = null,\n packageJson = {},\n dirSuffix = '',\n- onlyPackages = false,\n keepRepoDir = false,\n }) {\n return await parentSpan\n@@ -51,10 +50,11 @@ async function createNex...
2023-10-31T18:14:37
electron/electron
4aaa936803ffd5f985dd0e42a7b69238f6e67a22
59e656586d5cd9ac12c4bdf1c6ae8684b2bb6a7d
Fix init check for process.windowsStore Windows now allows users to move their `WindowsApps` folder, meaning that it can end up on a different drive (and outside of `Program Files`).
[ { "path": "lib/common/init.js", "patch": "@@ -56,7 +56,7 @@ if (process.platform === 'win32') {\n //\n // Nobody else get's to install there, changing the path is forbidden\n // We can therefore say that we're running as appx\n- if (__dirname.indexOf('\\\\Program Files\\\\WindowsApps\\\\') === 2) {\n...
2017-03-01T19:48:51
facebook/react
a2e805b26e1a37e58867fd44732f546ea6ecfc13
fce6d114feafa44d014bdf2646aeb45961d053c2
Disable CodeMirror smart indentation Fixes #966.
[ { "path": "docs/_js/live_editor.js", "patch": "@@ -21,6 +21,7 @@ var CodeMirrorEditor = React.createClass({\n mode: 'javascript',\n lineNumbers: false,\n lineWrapping: true,\n+ smartIndent: false, // javascript mode does bad things with jsx indents\n matchBrackets: true,\n ...
2014-02-01T06:10:37
golang/go
d5aa088d822bc8ef3ceb80c20184f40fcb9b8d2e
f983a9340d5660a9655b63a371966b5df69be8c5
cmd/go: avoid registering AtExit handlers in tests Ever since 'go build' was added (in CL 5483069), it has used an atexit handler to clean up working directories. CL 154109 introduced 'cc' command to the script test framework that called Init on a builder once per invocation. Unfortunately, since base.AtExit is unsyn...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -174,8 +174,8 @@ func ExtraEnvVars() []cfg.EnvVar {\n // ExtraEnvVarsCostly returns environment variables that should not leak into child processes\n // but are costly to evaluate.\n func ExtraEnvVarsCostly() []cfg.EnvVar {\n-\tvar b work.Builder\n...
2022-08-24T13:45:18
vercel/next.js
74f99c9a03bd9be4d422ce443529df6f00945cf5
c90c75fabe9ca49dba712e2bda5cecb7ec3341fc
[.next/trace] Add tags for webpack build worker (#57818) This PR adds a tag to the `next-build` span to identify whether the build is using the webpack build workers and/or has a custom webpack config which can be used during debugging traces. ![Screenshot 2023-10-31 at 8 11 37 AM](https://github.com/vercel/next.js/a...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1070,6 +1070,11 @@ export default async function build(\n // has a custom webpack config and disable the build worker by default.\n const useBuildWorker =\n config.experimental.webpackBuildWorker || !config.webpack\n+ nextB...
2023-10-31T15:30:51
facebook/react
f7949c1c23cc150cbf51155e0e479e26e53a37c4
fce6d114feafa44d014bdf2646aeb45961d053c2
Fix boolean attributes as per HTML5 spec
[ { "path": "src/dom/DOMPropertyOperations.js", "patch": "@@ -95,6 +95,9 @@ var DOMPropertyOperations = {\n return '';\n }\n var attributeName = DOMProperty.getAttributeName[name];\n+ if (DOMProperty.hasBooleanValue[name]) {\n+ return escapeTextForBrowser(attributeName);\n+ ...
2014-01-31T23:52:20
golang/go
f983a9340d5660a9655b63a371966b5df69be8c5
b5a9459cd08ec2a74ee4fdabfa4bc1eba0e87e49
cmd/compile: defer transitive inlining until after AST is edited This CL changes the inliner to process transitive inlining iteratively after the AST has actually been edited, rather than recursively and immediately. This is important for handling indirect function calls correctly, because ir.reassigned walks the func...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -532,18 +532,23 @@ func InlineCalls(fn *ir.Func) {\n \tif isBigFunc(fn) {\n \t\tmaxCost = inlineBigFunctionMaxCost\n \t}\n-\t// Map to keep track of functions that have been inlined at a particular\n-\t// call site, in order to stop inlining w...
2022-08-23T23:34:26
vercel/next.js
df67fa10f01a72a5a32b7da2195ba8b957bf8c9a
240730f3ed79ddb65360a4c0145dc58ba995dda3
fix(youtube-embed): each child in a list should have a unique "key" prop (#57579) Hi, I added a key in the map iteration of scripts in Youtube Embed. I use the index as a key but maybe there are a better solution about this like script.url + index 🤔 There isn't open related issues with this PR as this moment. `...
[ { "path": "packages/third-parties/src/google/youtube-embed.tsx", "patch": "@@ -25,6 +25,7 @@ export default function YouTubeEmbed(props: YouTubeEmbedTypes) {\n >\n {scripts?.map((script) => (\n <Script\n+ key={script.url}\n src={script.url}\n strategy={scriptSt...
2023-10-31T12:16:57
electron/electron
34e21cb91f572c351a53784fc08bf87f7227d47b
dba154b06202c44bafd8e20feccd7033d805ff5e
Fixed typo
[ { "path": "docs-translations/ru-RU/tutorial/quick-start.md", "patch": "@@ -25,7 +25,7 @@ __главным процессом__. Скрипт, который работа\n реальные ресурсы компьютера. Пользователи Electron напротив могут использовать API\n Node.js на страницах, что допускает более низкоуровневую работу с операционной системо...
2017-03-01T09:03:00
golang/go
b5a9459cd08ec2a74ee4fdabfa4bc1eba0e87e49
1ab6b790be3de2364edc3c15741afe3705f7c358
image/png: have DecodeConfig read tRNS chunks Fixes #54325 Change-Id: Ie468180c4d6f21db7672dd71bd2a40f3a5881b7d Reviewed-on: https://go-review.googlesource.com/c/go/+/424917 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com> Reviewed-by...
[ { "path": "src/image/png/reader.go", "patch": "@@ -870,7 +870,7 @@ func (d *decoder) parseIEND(length uint32) error {\n \treturn d.verifyChecksum()\n }\n \n-func (d *decoder) parseChunk() error {\n+func (d *decoder) parseChunk(configOnly bool) error {\n \t// Read the length and chunk type.\n \tif _, err := ...
2022-08-19T06:39:38
nodejs/node
d26ca06c16f497ffa5ac4845a27922d5058a9318
250060a0509204031ae068a5aa90e3481c1a78ae
n-api: detect deadlocks in thread-safe function We introduce status `napi_would_deadlock` to be used as a return status by `napi_call_threadsafe_function` if the call is made with `napi_tsfn_blocking` on the main thread and the queue is full. Fixes: https://github.com/nodejs/node/issues/32615 Signed-off-by: Gabriel S...
[ { "path": "doc/api/n-api.md", "patch": "@@ -458,6 +458,7 @@ typedef enum {\n napi_date_expected,\n napi_arraybuffer_expected,\n napi_detachable_arraybuffer_expected,\n+ napi_would_deadlock,\n } napi_status;\n ```\n \n@@ -5096,6 +5097,19 @@ preventing data from being successfully added to the queue. I...
2020-04-06T17:16:15
vercel/next.js
adc636dd54591b341aa33596f1c281bebd0713f6
6e6503f59e91f40d09fefda8604a91cc90e70532
fix: update Next.js version in create-next-app (#57532) ### What? The default template generated from `create-next-app` still says **Next.js 13**. <img width="1053" alt="image" src="https://github.com/vercel/next.js/assets/2561973/1413dcda-d73d-43a9-ba47-8322cf193c52"> ### Why? Next.js 14 is released.
[ { "path": "packages/create-next-app/templates/app-tw/js/app/page.js", "patch": "@@ -87,7 +87,7 @@ export default function Home() {\n </span>\n </h2>\n <p className={`m-0 max-w-[30ch] text-sm opacity-50`}>\n- Explore the Next.js 13 playground.\n+ Explore ...
2023-10-31T01:36:27
facebook/react
f1b7db9aef57d5b2a9264b51e4303540772f847f
bff9731b66093239dc0408fb1d83df423925b6f9
More optimizations and fix for JSXTransformer build * Dropped dependency on emulation of Node.js native modules. * Added deamdify step for JSXTransformer build.
[ { "path": "grunt/config/browserify.js", "patch": "@@ -3,6 +3,7 @@\n \n 'use strict';\n \n+var deamdify = require('deamdify');\n var envify = require('envify/custom');\n var grunt = require('grunt');\n var UglifyJS = require('uglify-js');\n@@ -80,6 +81,7 @@ var transformer = {\n outfile: './build/JSXTransf...
2014-01-31T19:53:08
electron/electron
7a99f0435b06751921e62ad7c749b0cfc17a794d
bb1a981a019d4fdc3df2b14a060eabac7553cfce
Fix typo in comment
[ { "path": "lib/browser/api/exports/electron.js", "patch": "@@ -4,7 +4,7 @@ const common = require('../../../common/api/exports/electron')\n common.defineProperties(exports)\n \n Object.defineProperties(exports, {\n- // Browser side modules, please sort alphabetically alphabet order.\n+ // Browser side mod...
2017-02-27T16:56:32
golang/go
0765da5884adcc8b744979303a36a27092d8fc51
60ad3c48f59c35981dd872ed5dfe74e4d6becab2
net/url: consistently remove ../ elements in JoinPath JoinPath would fail to remove relative elements from the start of the path when the first path element is "". In addition, JoinPath would return the original path unmodified when provided with no elements to join, violating the documented behavior of always cleani...
[ { "path": "src/net/url/url.go", "patch": "@@ -1194,17 +1194,23 @@ func (u *URL) UnmarshalBinary(text []byte) error {\n // any existing path and the resulting path cleaned of any ./ or ../ elements.\n // Any sequences of multiple / characters will be reduced to a single /.\n func (u *URL) JoinPath(elem ...st...
2022-08-12T23:21:09
nodejs/node
8a3fa32a1f2a24b7e6bd6c33723a3ce226cce6a6
fd10be4b5456c867dd68bb9b3c16ed53a68c461f
stream: close iterator in Readable.from Call iterator.return() if not all of its values are consumed. Fixes: https://github.com/nodejs/node/issues/32842 PR-URL: https://github.com/nodejs/node/pull/32844 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Z...
[ { "path": "lib/internal/streams/from.js", "patch": "@@ -34,21 +34,51 @@ function from(Readable, iterable, opts) {\n objectMode: true,\n ...opts\n });\n+\n // Reading boolean to protect against _read\n // being called before last iteration completion.\n let reading = false;\n+\n+ // needToCl...
2020-04-14T13:25:55
vercel/next.js
60422e65a5336a589a6c90452cf1589a9f680ab7
cd821c8e0351267b2c044f7f48e8db8918b07ef3
[.next/trace] Serialize trace info across workers to preserve .next/trace with webpackBuildWorker (#57761) This PR sets up the webpack build workers (webpackBuildWorker: true) to serialize debug trace information across the worker boundary so that it can appear in the final .next/trace file at the end of the build. C...
[ { "path": "packages/next/src/build/webpack-build/impl.ts", "patch": "@@ -21,7 +21,13 @@ import {\n } from '../build-context'\n import { createEntrypoints } from '../entries'\n import loadConfig from '../../server/config'\n-import { trace } from '../../trace'\n+import {\n+ getTraceEvents,\n+ initializeTrac...
2023-10-31T00:53:10
facebook/react
5d7563f7060df9f9983e69efcece473991a92147
4cbc4b58f6c10a2557b0da4dc519c932f167efe3
Fix warning for numeric properties Number('.1') === 0.1, and react uses dot-prefixed keys for children. Whoops. Nuke the non-numeric requirement, and just check a regex. This seems performant enough in micro-benchmarks: http://jsperf.com/numericlike
[ { "path": "src/core/ReactComponent.js", "patch": "@@ -51,6 +51,8 @@ var ComponentLifeCycle = keyMirror({\n var ownerHasExplicitKeyWarning = {};\n var ownerHasPropertyWarning = {};\n \n+var NUMERIC_PROPERTY_REGEX = /^\\d+$/;\n+\n /**\n * Warn if the component doesn't have an explicit key assigned to it.\n ...
2014-01-30T22:51:51
electron/electron
e8a79cb88d98c572ad34bc8a86c917ae8f2f3aa3
51d6a550610188347601bdb93fabcbf8f8b81607
Don't require browser process module from renderer This can cause issues when it is accessed from the require cache or module tree since the getters throw errors when called.
[ { "path": "lib/browser/api/exports/electron.js", "patch": "@@ -5,6 +5,7 @@ common.defineProperties(exports)\n \n Object.defineProperties(exports, {\n // Browser side modules, please sort with alphabet order.\n+ // Any new modules added here must also be added to the array in remote.js\n app: {\n en...
2017-02-23T18:01:27
golang/go
a36a0c440e7b3cfd6ede8f1ab1981101e6db8d95
790d60537e0888464a1c8a6f98c20baf2eeacdf2
cmd/compile: fix error message formatting in decomposeBuiltInPhi Change-Id: Ib2b2eb6bebb59134f671a79739ee1acaf32ed443 Reviewed-on: https://go-review.googlesource.com/c/go/+/411217 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-R...
[ { "path": "src/cmd/compile/internal/ssa/decompose.go", "patch": "@@ -135,7 +135,7 @@ func decomposeBuiltInPhi(v *Value) {\n \tcase v.Type.IsFloat():\n \t\t// floats are never decomposed, even ones bigger than RegSize\n \tcase v.Type.Size() > v.Block.Func.Config.RegSize:\n-\t\tv.Fatalf(\"undecomposed type %s...
2022-06-09T04:50:54
nodejs/node
1ce906c16ba09885fb372962a3a56ce64ef06a20
392bba4ec586a3b5adfbd243aada711114afcc2d
tools: decrease timeout in test.py This fixes the following crash on Windows for me. I don't know why this I only started to see this now, but anyway, the new timeout value is still longer than a week and a half. File "tools/test.py", line 1725, in <module> sys.exit(Main()) File "tools/test.py", line ...
[ { "path": "tools/test.py", "patch": "@@ -142,7 +142,7 @@ def Run(self, tasks):\n # Wait for the remaining threads\n for thread in threads:\n # Use a timeout so that signals (ctrl-c) will be processed.\n- thread.join(timeout=10000000)\n+ thread.join(timeout=1000000)\n ex...
2020-04-15T18:40:02
vercel/next.js
cd821c8e0351267b2c044f7f48e8db8918b07ef3
5eb6607279727fa7991a98cc6d551d9beecb4bb4
Fix nested esm package default import resolving mismatch (#57784) For app router bundling layers "SSR rendering" and "browser" layer, which are used for server side rendering and client, we should still apply the module resolving rules to all assets since we bundled everything, removed the default exclude conditions a...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -730,13 +730,8 @@ export default async function getBaseWebpackConfig(\n const shouldIncludeExternalDirs =\n config.experimental.externalDir || !!config.transpilePackages\n \n- const codeCondition = {\n- test: /\\.(tsx|ts|js|cjs|mj...
2023-10-31T00:31:23