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
facebook/react
e6f60d2adda7d4ebf6631eb8166572c3706d52a3
f86cd5408b3154b3aa55ca6d9d86aa3091b7b2e5
fix typos (#22715)
[ { "path": "packages/react-dom/src/__tests__/CSSPropertyOperations-test.js", "patch": "@@ -224,7 +224,7 @@ describe('CSSPropertyOperations', () => {\n ReactDOM.render(<Comp />, root);\n });\n \n- it('should warn about style containing a Infinity value', () => {\n+ it('should warn about style containi...
2021-11-15T15:58:21
nodejs/node
a2fc4a383efe8b607bacc3256c834a4ba78c66d2
38cc53845307fdb81dd50cfb7bcfc8c7b83b947c
esm: unflag `Module.register` and allow nested loader `import()` Major functional changes: - Allow `import()` to work within loaders that require other loaders, - Unflag the use of `Module.register`. A new interface `Customizations` has been created in order to unify `ModuleLoader` (previously `DefaultModuleLoader`)...
[ { "path": "doc/api/errors.md", "patch": "@@ -1233,23 +1233,6 @@ provided.\n Encoding provided to `TextDecoder()` API was not one of the\n [WHATWG Supported Encodings][].\n \n-<a id=\"ERR_ESM_LOADER_REGISTRATION_UNAVAILABLE\"></a>\n-\n-### `ERR_ESM_LOADER_REGISTRATION_UNAVAILABLE`\n-\n-<!-- YAML\n-added: REP...
2023-07-19T10:33:47
electron/electron
dee4c4b9088163b0e6d06a960730874e2c65208b
f9d2a7077e7912c32863a1f312faea06bd39f3da
docs: Updated "progress bar" fiddle feature in docs (#29237) * improve progress bar fiddle * add comments to code snippet * edits to progress-bar tutorial * remove versions and nodeIntegration * limit line length to 100 * implement standard linter suggestions * add indeterminate and clear timers *...
[ { "path": "docs/fiddles/features/progress-bar/index.html", "patch": "@@ -7,10 +7,9 @@\n </head>\n <body>\n <h1>Hello World!</h1>\n- <p>\n- We are using node <script>document.write(process.versions.node)</script>,\n- Chrome <script>document.write(process.versions.chrome)</script>,\n- ...
2021-06-02T02:41:13
golang/go
44483133fd991ec929fb1404e087d08f679c8d28
7b0fdd13230038aabf249f0335097a2cdc233f5c
syscall: honor prlimit set by a different process On Linux one process can call prlimit to change the resource limit of another process. With this change we treat that as though the current process called prlimit (or setrlimit) to set its own limit. The cost is one additional getrlimit system call per fork/exec, for c...
[ { "path": "src/syscall/exec_linux.go", "patch": "@@ -252,10 +252,12 @@ func forkAndExecInChild1(argv0 *byte, argv, envv []*byte, chroot, dir *byte, att\n \t\tcred *Credential\n \t\tngroups, groups uintptr\n \t\tc uintptr\n+\t\trlim ...
2024-08-21T20:43:42
vercel/next.js
7c8e2b4e50449ce2d2c83de0b5638c61b7de2362
8e9f92b64951f71f84225142b68f296edcbe8ef8
[dev-overlay] fix: line number handling for cursor editor (#76151) Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/helpers/launch-editor.ts", "patch": "@@ -84,6 +84,8 @@ const COMMON_EDITORS_MACOS = {\n '/Applications/GoLand.app/Contents/MacOS/goland',\n '/Applications/Rider.app/Contents/MacOS/rider':\n '/Applications/Rider...
2025-02-21T15:43:46
facebook/react
56efc65e5857abe22062c9506207abc35c9532d1
a44a7a2a3f8d7b24ddf5d0c6efeb6127e6b395c3
DevTools should properly report re-renders due to (use)context changes (#22746) Note that this only fixes things for newer versions of React (e.g. 18 alpha). Older versions will remain broken because there's not a good way to read the most recent context value for a location in the tree after render has completed. Thi...
[ { "path": "packages/react-devtools-shared/src/__tests__/profilerChangeDescriptions-test.js", "patch": "@@ -0,0 +1,151 @@\n+/**\n+ * Copyright (c) Facebook, Inc. and its affiliates.\n+ *\n+ * This source code is licensed under the MIT license found in the\n+ * LICENSE file in the root directory of this sourc...
2021-11-11T19:22:22
rust-lang/rust
d79fa3ca3d8768077766bf9109225a65cb01e600
e8f3cfc0de70bf82583591f6656e1fba3140253e
Fixed edit-url-template by pointing to main instead of HEAD in both unstable book and the rustc book
[ { "path": "src/doc/rustc/book.toml", "patch": "@@ -3,7 +3,7 @@ title = \"The rustc book\"\n \n [output.html]\n git-repository-url = \"https://github.com/rust-lang/rust/tree/HEAD/src/doc/rustc\"\n-edit-url-template = \"https://github.com/rust-lang/rust/edit/HEAD/src/doc/rustc/{path}\"\n+edit-url-template = \...
2026-01-03T07:28:36
nodejs/node
567e32bed07e3a94d9d4b99db2e904d5479fda0b
77ea1732a1da23719c3adc016629ef3a179803c8
src: fix nullptr access on realm Adding the per-realm binding data tracking introduced a call to a realm method when realm was potentially null. This is triggered whenever the function is called from `ContextifyContext::New` which passes `nullptr` as the `realm`. PR-URL: https://github.com/nodejs/node/pull/48802 Revi...
[ { "path": "src/env.cc", "patch": "@@ -575,7 +575,7 @@ void Environment::AssignToContext(Local<v8::Context> context,\n // Used to retrieve bindings\n context->SetAlignedPointerInEmbedderData(\n ContextEmbedderIndex::kBindingDataStoreIndex,\n- realm->binding_data_store());\n+ realm != null...
2023-07-18T22:28:19
electron/electron
f9d2a7077e7912c32863a1f312faea06bd39f3da
750a762bf0b052954c86e93fe9dad75740384a05
feat: include resize edge with will-resize event (#29199) * feat: emit resize edge with will-resize event fix: wparam type fix: private member usage on mac docs: will-resize event edge option refactor: 'info' -> 'details' for better type gen * Update docs/api/browser-window.md Co-authored-by: Samuel ...
[ { "path": "docs/api/browser-window.md", "patch": "@@ -523,11 +523,20 @@ Returns:\n \n * `event` Event\n * `newBounds` [Rectangle](structures/rectangle.md) - Size the window is being resized to.\n+* `details` Object\n+ * `edge` (String) - The edge of the window being dragged for resizing. Can be `bottom`, `...
2021-06-02T02:37:10
golang/go
7b0fdd13230038aabf249f0335097a2cdc233f5c
d0baac37e61648c2a9e9299553c863cf7b7eed61
encoding/base32, encoding/base64: document Decode to short buffer Document that if one of the Decode methods in these packages is given a short buffer, it panics. Fixes #69024 Change-Id: I1c0e4c74274965c1cfa0422cc8f86af4fefb1d00 Reviewed-on: https://go-review.googlesource.com/c/go/+/607499 Auto-Submit: Ian Lance Tay...
[ { "path": "src/encoding/base32/base32.go", "patch": "@@ -387,7 +387,8 @@ func (enc *Encoding) decode(dst, src []byte) (n int, end bool, err error) {\n \n // Decode decodes src using the encoding enc. It writes at most\n // [Encoding.DecodedLen](len(src)) bytes to dst and returns the number of bytes\n-// wri...
2024-08-22T20:47:13
vercel/next.js
8e9f92b64951f71f84225142b68f296edcbe8ef8
1f98765c2755496c777f206a548b0f790b8f3de9
[dev-overlay] pick up build error message (#76290)
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/container/build-error.tsx", "patch": "@@ -1,4 +1,5 @@\n-import * as React from 'react'\n+import React, { useCallback, useMemo } from 'react'\n+import stripAnsi from 'next/dist/compiled/strip-ansi'\n import { Terminal } f...
2025-02-21T13:10:39
facebook/react
0ddd69d1226c660ee4930b0dce7860b706e548bc
c3f34e4beb67a4ddd85a9456ebc9013d123aa6ee
Throw on hydration mismatch and force client rendering if boundary hasn't suspended within concurrent root (#22629) * Throw on hydration mismatch * remove debugger * update error message * update error message part2... * fix test? * test? :( * tests 4real * remove useRefAccessWarning gating * s...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js", "patch": "@@ -1677,45 +1677,37 @@ describe('ReactDOMFizzServer', () => {\n \n // @gate experimental\n it('calls getServerSnapshot instead of getSnapshot', async () => {\n- const ref = React.createRef();\n-\n function getServ...
2021-11-09T18:40:50
electron/electron
750a762bf0b052954c86e93fe9dad75740384a05
fa703016f0fcaebed611b23700558fd0fcf064ff
feat: support loading debug urls with loadURL() (#29404)
[ { "path": "shell/browser/api/electron_api_web_contents.cc", "patch": "@@ -1978,7 +1978,8 @@ void WebContents::LoadURL(const GURL& url,\n // Calling LoadURLWithParams() can trigger JS which destroys |this|.\n auto weak_this = GetWeakPtr();\n \n- params.transition_type = ui::PAGE_TRANSITION_TYPED;\n+ pa...
2021-06-02T00:17:15
nodejs/node
51513b23e88c8483160ce4b21f3d5ef48ca56c8b
45ec623de6c6e66359d1e68f89b80ea2a751ca3b
2023-07-18, Version 18.17.0 'Hydrogen' (LTS) Notable changes: Ada 2.0 Node.js v18.17.0 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements to URL parsing, including enhancements to the url.domainToASCII and url.domainToUnicode functions in node:url. Ada 2.0 h...
[ { "path": "CHANGELOG.md", "patch": "@@ -43,7 +43,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V20.md#20.0.0\">20.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V18.md#18.16.1\">18.16.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V18.md#18.17.0\">18.17.0...
2023-07-10T12:12:52
golang/go
c2098929056481d0dc09f5f42b8959f4db8878f2
6781ff226d8d2f9b49a61eaa8de40be68fea7037
cmd/cgo: correct padding required by alignment If the aligned offset isn't sufficient for the field offset, we were padding based on the aligned offset. We need to pad based on the original offset instead. Also set the Go alignment correctly for int128. We were defaulting to the maximum alignment, but since we transl...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -2577,6 +2577,11 @@ func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Typ\n \t\tif dt.BitSize > 0 {\n \t\t\tfatalf(\"%s: unexpected: %d-bit int type - %s\", lineno(pos), dt.BitSize, dtype)\n \t\t}\n+\n+\t\tif t.Align = t.Size; t.Align >...
2024-08-27T17:19:17
facebook/react
2b77ab26adc2601dc223ede75ff4d19bc19c8684
2db6d6a5a7a2ecf74610d5a55732d6753b15b836
fix(devtools): accept json file in import fileinput (#22717)
[ { "path": "packages/react-devtools-shared/src/devtools/views/Profiler/ProfilingImportExportButtons.js", "patch": "@@ -122,6 +122,7 @@ export default function ProfilingImportExportButtons() {\n ref={inputRef}\n className={styles.Input}\n type=\"file\"\n+ accept=\".json\"\n ...
2021-11-08T21:35:35
vercel/next.js
74c99d2b763aa6ad33f2c64f8b44e4969bf8a8b9
2e251955cb5c6926120f9c8b893767837066e4ce
docs(cookies): update good-to-know for cookie.delete (#76303) ## Why? We should also clarify that the exact subdomain must be specified when using wildcard domains. - Fixes https://github.com/vercel/next.js/issues/76275
[ { "path": "docs/01-app/04-api-reference/04-functions/cookies.mdx", "patch": "@@ -71,7 +71,7 @@ To learn more about these options, see the [MDN docs](https://developer.mozilla.\n - `cookies` is a [Dynamic API](/docs/app/building-your-application/rendering/server-components#dynamic-apis) whose returned values...
2025-02-20T23:35:35
electron/electron
0444d74830df5fe06c921fb0fe0f2c9d8166092d
19dce8caa57b287cf71f581e15642f3d8212f6da
fix: Alt+Click should not toggle menu bar (#29318)
[ { "path": "shell/browser/native_window_views.cc", "patch": "@@ -331,12 +331,12 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,\n last_window_state_ = ui::SHOW_STATE_NORMAL;\n #endif\n \n-#if defined(OS_LINUX)\n- // Listen to move events.\n+ // Listen to mouse events.\n ...
2021-06-01T08:42:47
nodejs/node
b361ad72ce65894a250fd0543b0e09d1a9a7edc5
8f7c4e9cbfdcfd11428bcfda31dec94827c232d0
stream: implement ReadableStream.from Fixes: https://github.com/nodejs/node/issues/48389 PR-URL: https://github.com/nodejs/node/pull/48395 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
[ { "path": "doc/api/webstreams.md", "patch": "@@ -387,6 +387,49 @@ port1.onmessage = ({ data }) => {\n port2.postMessage(stream, [stream]);\n ```\n \n+### `ReadableStream.from(iterable)`\n+\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `iterable` {Iterable} Object implementing the `Symbol.asyncIterator` or\n+ ...
2023-07-18T09:50:22
facebook/react
2db6d6a5a7a2ecf74610d5a55732d6753b15b836
99a73ac670ce8d71ae8a690e9795d35cbdfa20b6
fix(devtools): expose css vars to reach-ui portal components (#22716)
[ { "path": "packages/react-devtools-shared/src/devtools/views/Button.js", "patch": "@@ -8,10 +8,9 @@\n */\n \n import * as React from 'react';\n-import Tooltip from '@reach/tooltip';\n \n import styles from './Button.css';\n-import tooltipStyles from './Tooltip.css';\n+import Tooltip from './Components/reac...
2021-11-08T20:17:22
golang/go
6781ff226d8d2f9b49a61eaa8de40be68fea7037
4f327f271d5cf0f6cc6e1bbac72aecaa25ca6e6f
misc/wasm: move wasm runtime files to lib/wasm Fixes #68024 Change-Id: I730c3ecfb14472f3eea3895c2a4d5e1d4ac146f5 GitHub-Last-Rev: 4242f360103ba1fd1f4085b8257ccce0f07a68e5 GitHub-Pull-Request: golang/go#68840 Reviewed-on: https://go-review.googlesource.com/c/go/+/604696 Reviewed-by: Cherry Mui <cherryyz@google.com> Re...
[ { "path": "doc/next/7-ports.md", "patch": "@@ -1,2 +1,5 @@\n ## Ports {#ports}\n \n+### WebAssembly {#wasm}\n+\n+The support files for WebAssembly have been moved to `lib/wasm` from `misc/wasm`.", "additions": 3, "deletions": 0, "language": "Markdown" }, { "path": "misc/wasm/wasm_exec.ht...
2024-08-24T08:39:47
vercel/next.js
cb7bcf3ccc1d93bb63063baa0bf10296e0e73af4
d55c00d8429b1dabce23033077e791c650960689
[dev-overlay] expandable error message container (#76297) When the error message exceeds 200px in height, we want to collapse the part above 200px, and show a button to expand it. [CleanShot 2025-02-20 at 16.46.16.mp4 <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="htt...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/errors/error-message/error-message.stories.tsx", "patch": "@@ -34,6 +34,15 @@ export const LongString: Story = {\n },\n }\n \n+export const SuperLongString: Story = {\n+ args: {\n+ errorMessage:\n+ ...
2025-02-20T22:29:20
rust-lang/rust
a2fcb0de187664d27aa6c312585bcf64ff1c909a
3df06f5083ef6c44e7f49f6520d62adc1f05aa58
fix: add `CHECK` directives to `ret` comments and be more pervasive with directive contents
[ { "path": "tests/codegen-llvm/issues/multiple-option-or-permutations.rs", "patch": "@@ -10,11 +10,11 @@ use std::num::NonZero;\n #[no_mangle]\n pub fn or_match_u8(opta: Option<u8>, optb: Option<u8>) -> Option<u8> {\n // CHECK: start:\n- // CHECK-DAG: select i1 %0\n- // CHECK-DAG: or i1 %0\n- //...
2026-01-03T02:20:38
facebook/react
54f6ae9b1c0489784f6a95bbe26ffec31816d74a
13455d26d1904519c53686d6f295d4eb50b6c2fc
Fix small typos (#22701)
[ { "path": "packages/react-devtools-shared/src/__tests__/console-test.js", "patch": "@@ -69,7 +69,7 @@ describe('console', () => {\n );\n }\n \n- it('should not patch console methods that are not explicitly overriden', () => {\n+ it('should not patch console methods that are not explicitly overridden...
2021-11-04T23:49:06
electron/electron
d74ad51826c0672b72e807de580cb97c3b29a8bb
0208e4adad08380fa11ba00b54fb3e459dad10b6
fix: correctly handle Alt+Key shortcuts (#29328)
[ { "path": "shell/browser/ui/views/menu_bar.cc", "patch": "@@ -56,6 +56,8 @@ void MenuBar::SetAcceleratorVisibility(bool visible) {\n }\n \n MenuBar::View* MenuBar::FindAccelChild(char16_t key) {\n+ if (key == 0)\n+ return nullptr;\n for (auto* child : GetChildrenInZOrder()) {\n if (static_cast<Sub...
2021-06-01T01:48:52
nodejs/node
e0500d6e88f8422e0baec9aea4d1ba5c69f261d4
339eb10619ada1b482371ee244585de7f4a58552
url: fix `canParse` false value when v8 optimizes PR-URL: https://github.com/nodejs/node/pull/48817 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
[ { "path": "lib/internal/url.js", "patch": "@@ -1054,10 +1054,10 @@ class URL {\n url = `${url}`;\n \n if (base !== undefined) {\n- base = `${base}`;\n+ return bindingUrl.canParseWithBase(url, `${base}`);\n }\n \n- return bindingUrl.canParse(url, base);\n+ return bindingUrl.canPar...
2023-07-17T17:42:23
golang/go
4f327f271d5cf0f6cc6e1bbac72aecaa25ca6e6f
7300b9e633f8b8cb49e2e95f4c4693657ded3451
debug/macho: fix DWARF for section names longer than 16 chars The Mach-O file format truncates section names to 16 characters maximum, which makes some sections unrecognizable to debug/dwarf. This CL works around this problem by re-expanding the truncated section names. This problem was originally reported as: https:...
[ { "path": "src/debug/macho/file.go", "patch": "@@ -610,15 +610,33 @@ func (f *File) Section(name string) *Section {\n // DWARF returns the DWARF debug information for the Mach-O file.\n func (f *File) DWARF() (*dwarf.Data, error) {\n \tdwarfSuffix := func(s *Section) string {\n+\t\tsectname := s.Name\n+\t\t...
2024-08-28T08:16:10
rust-lang/rust
3df06f5083ef6c44e7f49f6520d62adc1f05aa58
66c4ead02dda94846a0801cc88c04fb04cc561fe
fix: use `std::num::NonZero` instead of `extern crate` and extend information in `CHECK-` directives Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
[ { "path": "tests/codegen-llvm/issues/multiple-option-or-permutations.rs", "patch": "@@ -3,16 +3,15 @@\n \n #![crate_type = \"lib\"]\n \n-extern crate core;\n-use core::num::NonZero;\n+use std::num::NonZero;\n \n // CHECK-LABEL: @or_match_u8\n // CHECK-SAME: (i1{{.+}}%0, i8 %1, i1{{.+}}%optb.0, i8 %optb.1)\n...
2026-01-03T00:23:54
vercel/next.js
d55c00d8429b1dabce23033077e791c650960689
d1c9aec4f10d2c08ceea519d7882cffbefb272d1
docs(errors): minor update to failed-to-find-server-action error page (#76296) ## Why? Follow up to https://github.com/vercel/next.js/pull/75678#discussion_r1964355401.
[ { "path": "errors/failed-to-find-server-action.mdx", "patch": "@@ -12,7 +12,7 @@ When self-hosting your Next.js application across multiple servers, each server\n \n To mitigate this, you can overwrite the encryption key using the `process.env.NEXT_SERVER_ACTIONS_ENCRYPTION_KEY` environment variable. Specif...
2025-02-20T21:57:36
facebook/react
8ca3f567bc3ed56c2101e5c51f968a5339f63093
1bf6deb865052111474f2988bb831de13d09c560
Fix module-boundary wrappers (#22688)
[ { "path": "scripts/rollup/wrappers.js", "patch": "@@ -27,24 +27,23 @@ const {\n \n const {RECONCILER} = moduleTypes;\n \n+const USE_STRICT_HEADER_REGEX = /'use strict';\\n+/;\n+\n function registerInternalModuleStart(globalName) {\n- const path = resolve(\n- __dirname,\n- '..',\n- '..',\n- 'pac...
2021-11-04T14:40:35
golang/go
7300b9e633f8b8cb49e2e95f4c4693657ded3451
b648cd620f47c2981420b032def1e6f6491ef294
internal/testenv: simplify hasSymlink for windows 1. Combine two functions into one. 2. Use errors.Is to check for wrapped errors. 3. Use sync.OnceValues. Change-Id: I25f55d31bb658ff08da209b1740e9dff579cca69 Reviewed-on: https://go-review.googlesource.com/c/go/+/609797 Reviewed-by: Ian Lance Taylor <iant@google.com...
[ { "path": "src/internal/testenv/testenv_windows.go", "patch": "@@ -5,43 +5,28 @@\n package testenv\n \n import (\n+\t\"errors\"\n \t\"os\"\n \t\"path/filepath\"\n \t\"sync\"\n \t\"syscall\"\n )\n \n-var symlinkOnce sync.Once\n-var winSymlinkErr error\n-\n-func initWinHasSymlink() {\n+var hasSymlink = sync.O...
2024-08-30T00:35:13
vercel/next.js
47f350067ddd7309d7741a23df46d3bba77fe0b2
a15897beba39d8155b2ad54b843bc2852658e6de
Unflake `ppr-full` tests (#76271) [flakiness metric](https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest%20env%3Aci%20%40git.repository.id%3Agithub.com%2Fvercel%2Fnext.js%20%40test.service%3Anextjs%20%40test.status%3Afail%20%40test.name%3A%2Appr-full%2A%20%28-%40git.branch%3A%2A%3F%2A%20OR%20%40git.branch%3...
[ { "path": "test/e2e/app-dir/ppr-full/app/dynamic-data/force-static/page.jsx", "patch": "@@ -3,7 +3,7 @@ import { Optimistic } from '../../../components/optimistic'\n import { ServerHtml } from '../../../components/server-html'\n \n export const dynamic = 'force-static'\n-export const revalidate = 60\n+expor...
2025-02-20T20:50:47
electron/electron
d18dbdd72bd0ce5c0942466aaf5ae915738c68cd
038359a7d84838fec6142fb48d22d884eef56c08
fix: add service worker schemes from command line in renderer (#29425)
[ { "path": "shell/browser/api/electron_api_protocol.cc", "patch": "@@ -87,6 +87,16 @@ std::vector<std::string> GetStandardSchemes() {\n return g_standard_schemes;\n }\n \n+void AddServiceWorkerScheme(const std::string& scheme) {\n+ // There is no API to add service worker scheme, but there is an API to\n+...
2021-06-01T01:45:23
nodejs/node
16b8c71a324be524d44d48d945a2159abb94528b
81c2fc47b02fc67e652704cea96b0aebec9f5bda
esm: add back `globalPreload` tests and fix failing ones PR-URL: https://github.com/nodejs/node/pull/48779 Fixes: https://github.com/nodejs/node/issues/48778 Fixes: https://github.com/nodejs/node/issues/48516 Refs: https://github.com/nodejs/node/pull/46402 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Revie...
[ { "path": "lib/internal/main/eval_string.js", "patch": "@@ -24,7 +24,7 @@ markBootstrapComplete();\n \n const source = getOptionValue('--eval');\n const print = getOptionValue('--print');\n-const loadESM = getOptionValue('--import').length > 0;\n+const loadESM = getOptionValue('--import').length > 0 || getO...
2023-07-17T15:26:15
facebook/react
00ced1e2b7610543a519329a76ad0bfd12cd1c32
9fb3442250cf198782a08024195fcc5402479160
Fix useId in strict mode (#22681) * Fix: useId in strict mode In strict mode, `renderWithHooks` is called twice to flush out side effects. Modying the tree context (`pushTreeId` and `pushTreeFork`) is effectful, so before this fix, the tree context was allocating two slots for a materialized id instead of one...
[ { "path": "packages/react-dom/src/__tests__/ReactDOMUseId-test.js", "patch": "@@ -16,6 +16,7 @@ let ReactDOMFizzServer;\n let Stream;\n let Suspense;\n let useId;\n+let useState;\n let document;\n let writable;\n let container;\n@@ -35,6 +36,7 @@ describe('useId', () => {\n Stream = require('stream');\n...
2021-11-03T00:59:17
rust-lang/rust
0d366e098c2b389a2e573056f02b07bd92b7bca4
1276564146497ed2e11e0ca4a59aa0ecec56f88d
Fix a typo in `libm::Libm::roundeven`
[ { "path": "library/compiler-builtins/libm/src/libm_helper.rs", "patch": "@@ -168,7 +168,7 @@ libm_helper! {\n (fn remquo(x: f64, y: f64) -> (f64, i32); => remquo);\n (fn rint(x: f64) -> (f64); => rint);\n (fn round(x: f64) -> (f64); => round);\n- ...
2026-01-02T21:30:25
golang/go
ffb3e574012ce9d3d5193d7b8df135189b8a6671
00c48ad6155a209841dbfb6154f650c622aaa10b
cmd/go/testdata/script: add a test case for issue #68658 Test that go files with a //go:build fileVersion earlier than go1.21 don't downgrade past go1.21. Fixes #68658 Change-Id: If16a1b3867ad2cfa8867e60995f7d1eb801306e6 Reviewed-on: https://go-review.googlesource.com/c/go/+/609436 Reviewed-by: Sam Thanawalla <samth...
[ { "path": "src/cmd/go/testdata/script/build_issue68658.txt", "patch": "@@ -0,0 +1,31 @@\n+# Test for issue #68658: In GOPATH mode, files with a //go:build fileVersion\n+# earlier than go1.21 should downgrade to go1.21 and no further.\n+\n+[short] skip 'requires build'\n+\n+env GO111MODULE=off\n+go build foo...
2024-08-29T18:11:15
vercel/next.js
a15897beba39d8155b2ad54b843bc2852658e6de
0b136b273e6e7f8727d591209111b1d949e62945
[errors]: default export error should distinguish between layout/page (#76294) When you forget to export a component in the layout, the error message points you to the page component, which is confusing. This ensures the error points to the module that's missing the export. Closes NDX-874
[ { "path": "packages/next/src/server/app-render/create-component-tree.tsx", "patch": "@@ -178,7 +178,7 @@ async function createComponentTreeInternal({\n \n const isLayout = typeof layout !== 'undefined'\n const isPage = typeof page !== 'undefined'\n- const { mod: layoutOrPageMod } = await getTracer().tr...
2025-02-20T20:46:25
electron/electron
038359a7d84838fec6142fb48d22d884eef56c08
93c9374e95b0111b60642ae137e80f8b5ea30c27
chore: fix typos in comments (#29401)
[ { "path": "shell/browser/api/electron_api_web_request.cc", "patch": "@@ -387,7 +387,7 @@ void WebRequest::SetListener(Event event,\n std::set<std::string> filter_patterns;\n gin::Dictionary dict(args->isolate());\n if (args->GetNext(&arg) && !arg->IsFunction()) {\n- // Note that gin treats Function...
2021-06-01T01:42:38
facebook/react
9fb3442250cf198782a08024195fcc5402479160
3fcd81dd1c3cd1413b72ae2919bc8312787f8f58
Fix DevTools advanced tooltip display conditional check (#22669)
[ { "path": "packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js", "patch": "@@ -217,7 +217,11 @@ function List({\n \n // Only some React versions include commit durations.\n // Show a richer tooltip only for builds that have that info.\n- if (effectDuration !== null ||...
2021-11-02T15:02:45
nodejs/node
a4e4a86d89203550b1dffc70e0f20f6a41c64c33
db56f02ea36daa8ed419bc769d8f2f658cd149cb
test: skip experimental test with pointer compression The test test/parallel/test-experimental-shared-value-conveyor.js was added to test the --harmony-struct feature of V8. However, when used with pointer compression, the process crashes. This commit skips the test for pointer compression builds. This change uses a c...
[ { "path": "test/parallel/test-experimental-shared-value-conveyor.js", "patch": "@@ -1,25 +1,38 @@\n 'use strict';\n-\n-// Flags: --harmony-struct\n-\n const common = require('../common');\n const assert = require('assert');\n+const { spawnSync } = require('child_process');\n const { Worker, parentPort } = r...
2023-07-16T09:10:58
rust-lang/rust
3114decb04b1f4d8edb46a513df2f948ded778d2
1222bbf29c7a0484c322006d8771dadcd47447c0
fix: add location links for type, const, and lifetime parameters in inlay hints
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/display.rs", "patch": "@@ -692,7 +692,9 @@ impl<'db> HirDisplay<'db> for Const<'db> {\n ConstKind::Param(param) => {\n let generics = generics(f.db, param.id.parent());\n let param_data = &generics[param.id.loca...
2026-01-02T20:28:48
golang/go
00c48ad6155a209841dbfb6154f650c622aaa10b
f84dea3a01ea86a8d51cd55318e9ec9b1724b24f
os/exec: document interaction of Dir, PWD, os.Getwd and C Fixes #68000 Change-Id: Ie70a8ecc9573b2a4cf57119bda57e0af5e16c42f Reviewed-on: https://go-review.googlesource.com/c/go/+/609395 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google...
[ { "path": "src/os/exec/exec.go", "patch": "@@ -166,11 +166,27 @@ type Cmd struct {\n \t// value in the slice for each duplicate key is used.\n \t// As a special case on Windows, SYSTEMROOT is always added if\n \t// missing and not explicitly set to the empty string.\n+\t//\n+\t// See also the Dir field, whi...
2024-08-28T22:13:05
vercel/next.js
0b136b273e6e7f8727d591209111b1d949e62945
de535e4855e8bd5be06ff4b74a65cd0d45727459
[metadata] fix streaming metadata triggering error boundaries (#76280)
[ { "path": "packages/next/src/client/components/http-access-fallback/error-boundary.tsx", "patch": "@@ -136,7 +136,7 @@ class HTTPAccessFallbackErrorBoundary extends React.Component<\n <meta name=\"robots\" content=\"noindex\" />\n {process.env.NODE_ENV === 'development' && (\n ...
2025-02-20T20:42:37
electron/electron
049d81e5900135a5cebe262f3a2cc125d8a61a21
95bb0ba0017d75dd53524776181cb008679d5743
docs: fix issue with reference links (#29384)
[ { "path": "docs/tutorial/introduction.md", "patch": "@@ -49,11 +49,11 @@ is a great place to get advice from other Electron app developers.\n the [GitHub issue tracker][issue-tracker] to see if any existing issues match your\n problem. If not, feel free to fill out our bug report template and submit a new i...
2021-05-31T09:52:44
nodejs/node
1d1a85b17c29d862c5df5af02e29654183feaced
f9737b1b8c96e43cedfff764634524df62cf3109
permission: fix data types in PrintTree * The first argument `node` should be a const pointer. * The second argument `spaces` should not be a signed integer type. * The local variable `child` should be size_t. * The local variable `pair` in the range declaration should be a reference type to avoid copying the object...
[ { "path": "src/permission/fs_permission.cc", "patch": "@@ -73,7 +73,7 @@ namespace node {\n \n namespace permission {\n \n-void PrintTree(FSPermission::RadixTree::Node* node, int spaces = 0) {\n+void PrintTree(const FSPermission::RadixTree::Node* node, size_t spaces = 0) {\n std::string whitespace(spaces,...
2023-07-14T23:42:39
facebook/react
ebf9ae8579230e7b1ed0b1d243e1cf802f56938b
a0d991fe6587ad1cd1a97230f62f82c7cb6b9a40
useId (#22644) * Add useId to dispatcher * Initial useId implementation Ids are base 32 strings whose binary representation corresponds to the position of a node in a tree. Every time the tree forks into multiple children, we add additional bits to the left of the sequence that represent the position of the...
[ { "path": "packages/react-debug-tools/src/ReactDebugHooks.js", "patch": "@@ -341,6 +341,17 @@ function useOpaqueIdentifier(): OpaqueIDType | void {\n return value;\n }\n \n+function useId(): string {\n+ const hook = nextHook();\n+ const id = hook !== null ? hook.memoizedState : '';\n+ hookLog.push({\n+...
2021-11-01T20:30:44
golang/go
4f852b9734249c063928b34a02dd689e03a8ab2c
0f003f9d15b896841544925ff621056ae285679d
cmd: vendor golang.org/x/telemetry@a797f33 Update x/telemetry to fix #68976 and #68946. Commands run: go get golang.org/x/telemetry@a797f33 go mod tidy go mod vendor Fixes #68946 Fixes #68946 Change-Id: I321ce609b41ef210a19150dce1f07b204e7c118e Reviewed-on: https://go-review.googlesource.com/c/go/+/609237 Aut...
[ { "path": "src/cmd/go.mod", "patch": "@@ -9,7 +9,7 @@ require (\n \tgolang.org/x/mod v0.20.0\n \tgolang.org/x/sync v0.8.0\n \tgolang.org/x/sys v0.23.0\n-\tgolang.org/x/telemetry v0.0.0-20240807181058-38c23d25f755\n+\tgolang.org/x/telemetry v0.0.0-20240828202201-a797f331ea97\n \tgolang.org/x/term v0.22.1-0.2...
2024-08-28T20:32:37
vercel/next.js
de535e4855e8bd5be06ff4b74a65cd0d45727459
beb1f72e6dac6cb93191ba88f2233537f29453b7
Ensure middleware layer is applied for node (#76293) This ensures we apply the middleware layer when in the node runtime so that `server-only` imports are properly handled. Also ensures our test suite includes this condition for `edge` and `node` runtimes. Fixes: https://github.com/vercel/next.js/issues/75904
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -407,7 +407,10 @@ export function getEdgeServerEntry(opts: {\n ).toString('base64'),\n }\n \n- return `next-middleware-loader?${stringify(loaderParams)}!`\n+ return {\n+ import: `next-middleware-loader?${stringify(loaderParams...
2025-02-20T20:36:19
electron/electron
95bb0ba0017d75dd53524776181cb008679d5743
750ebfdbcafa6aa6438d7f3c471d5fe1aed217ac
fix: use default_branch in release-notes (#29415)
[ { "path": "script/release/notes/index.js", "patch": "@@ -8,6 +8,11 @@ const semver = require('semver');\n const { ELECTRON_DIR } = require('../../lib/utils');\n const notesGenerator = require('./notes.js');\n \n+const { Octokit } = require('@octokit/rest');\n+const octokit = new Octokit({\n+ auth: process....
2021-05-31T00:22:33
nodejs/node
1c66b813064c6c72b87b85668fd122f5a8261ced
8efdc7d61a74f48474016085a89908624f2f7194
test: fix flaky test-string-decode.js on x86 Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: https://github.com/nodejs/node/pull/48750 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
[ { "path": "test/parallel/test-string-decoder.js", "patch": "@@ -203,7 +203,7 @@ assert.throws(\n \n if (common.enoughTestMem) {\n assert.throws(\n- () => new StringDecoder().write(Buffer.alloc(0x1fffffe8 + 1).fill('a')),\n+ () => new StringDecoder().write(Buffer.alloc((process.arch === 'ia32' ? 0x18...
2023-07-14T09:20:02
rust-lang/rust
0451cc012a4890abcbc217d4105b8ecf3daecf43
0598fc6638b4d9a428a5eca0d03f38a3fd0a42f6
fix: add location links for generic type parameters in inlay hints
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/display.rs", "patch": "@@ -10,7 +10,8 @@ use std::{\n use base_db::{Crate, FxIndexMap};\n use either::Either;\n use hir_def::{\n- FindPathConfig, GenericDefId, HasModule, LocalFieldId, Lookup, ModuleDefId, ModuleId, TraitId,\n+ FindPathConfig, Gener...
2026-01-02T19:22:19
facebook/react
9db8713f9d08c1956939e33cc2da25c867748263
6c7ef3fce5547da5db3d400ccf95a5023f8891f4
Pin CI to Node 14 (#22665) CI starting running Node 16, which breaks some of our tests because the error message text for undefined property access has changed. We should pin to Node 14 until we are able to update the messages.
[ { "path": ".circleci/config.yml", "patch": "@@ -2,7 +2,7 @@ version: 2.1\n \n aliases:\n - &docker\n- - image: circleci/openjdk:8-jdk-node-browsers\n+ - image: cimg/openjdk:17.0.0-node\n \n - &environment\n TZ: /usr/share/zoneinfo/America/Los_Angeles", "additions": 1, "deletions": 1, ...
2021-11-01T01:01:39
golang/go
6d52d7d22b70a5faa2868b6406ccdc7fd9b89083
fe63d483f4385ce7376f68abd37ad202e8ab798a
slices: clarify Insert behavior if i == len(s) Fixes #69104 Change-Id: Ie928239d5ef198ce36759ec4cffb7f6320ff3b82 Reviewed-on: https://go-review.googlesource.com/c/go/+/609175 Reviewed-by: Eli Bendersky <eliben@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> ...
[ { "path": "src/slices/slices.go", "patch": "@@ -128,8 +128,8 @@ func ContainsFunc[S ~[]E, E any](s S, f func(E) bool) bool {\n // returning the modified slice.\n // The elements at s[i:] are shifted up to make room.\n // In the returned slice r, r[i] == v[0],\n-// and r[i+len(v)] == value originally at r[i]...
2024-08-28T16:33:49
vercel/next.js
beb1f72e6dac6cb93191ba88f2233537f29453b7
d6d459140619cf6c44f508a62f115e8ce4a13146
docs(errors): add failed-to-find-server-action error page (#75678) ## Why? We should also have an error page when somebody gets this error → https://github.com/vercel/next.js/blob/d70cac3eb4dee1d1361629d1b4c765365f184e26/packages/next/src/server/app-render/action-handler.ts#L1086.
[ { "path": "errors/failed-to-find-server-action.mdx", "patch": "@@ -0,0 +1,20 @@\n+---\n+title: Failed to find Server Action\n+---\n+\n+## Why This Message Occurred\n+\n+For security purposes, Next.js creates encrypted, non-deterministic keys (IDs) to allow for the client to reference and call the [Server Ac...
2025-02-20T20:31:59
electron/electron
77ecc7d432332ab32d8902d6823300c66fb754d3
9fcdb062727ff1519ca00a32d975481879aa8267
chore: fix typos in comments (#29362)
[ { "path": "shell/browser/net/electron_url_loader_factory.cc", "patch": "@@ -544,7 +544,7 @@ void ElectronURLLoaderFactory::SendContents(\n head->headers->AddHeader(\"Access-Control-Allow-Origin\", \"*\");\n client_remote->OnReceiveResponse(std::move(head));\n \n- // Code bellow follows the pattern of d...
2021-05-27T18:48:03
rust-lang/rust
665781513e6a8d6a63ed9fab5b98f919ad3f627c
ac453d34d21bc4817dd41df0a4eeac88a541b9ba
Fix changes coming from `browser-ui-test` version update
[ { "path": "tests/rustdoc-gui/anchors.goml", "patch": "@@ -15,7 +15,7 @@ define-function: (\n assert-css: (\".main-heading h1 span\", {\"color\": |main_heading_type_color|})\n assert-css: (\n \".rightside a.src\",\n- {\"color\": |src_link_color|, \"text-decoration\": ...
2026-01-02T19:21:44
nodejs/node
8efdc7d61a74f48474016085a89908624f2f7194
f9fee9a8f41f9d6e04047fb71e80c95b50c927ed
permission: add debug log when inserting fs nodes Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com> PR-URL: https://github.com/nodejs/node/pull/48677 Reviewed-By: Paolo Insogna <paolo@cowtech.it>
[ { "path": "src/debug_utils.h", "patch": "@@ -50,7 +50,8 @@ void NODE_EXTERN_PRIVATE FWrite(FILE* file, const std::string& str);\n V(NGTCP2_DEBUG) \\\n V(SEA) \\\n V(WASI) ...
2023-07-13T16:38:48
facebook/react
7034408ff762b52a39f3a3145a37f4526d0a95cf
9c8161ba81220143e7f87bd901697e46b14d8968
Follow-up improvements to error code extraction infra (#22516) * Output FIXME during build for unminified errors The invariant Babel transform used to output a FIXME comment if it could not find a matching error code. This could happen if there were a configuration mistake that caused an unminified message to sl...
[ { "path": ".circleci/config.yml", "patch": "@@ -209,7 +209,20 @@ jobs:\n - run: yarn workspaces info | head -n -1 > workspace_info.txt\n - *restore_node_modules\n - run: yarn lint-build\n- - run: scripts/circleci/check_minified_errors.sh\n+\n+ check_error_codes:\n+ docker: *docker...
2021-10-31T22:37:32
golang/go
fe63d483f4385ce7376f68abd37ad202e8ab798a
e126129d7612349874828685c2bcd49de498a1a0
cmd/go: print the proper error message for setting telemetry vars For #68960 Change-Id: I5495b3d45ad3817d7edf6336a5e24a331d5cf8d0 Reviewed-on: https://go-review.googlesource.com/c/go/+/609115 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Sam Thanawalla <samthan...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -590,7 +590,7 @@ func getOrigEnv(key string) string {\n \n func checkEnvWrite(key, val string) error {\n \tswitch key {\n-\tcase \"GOEXE\", \"GOGCCFLAGS\", \"GOHOSTARCH\", \"GOHOSTOS\", \"GOMOD\", \"GOWORK\", \"GOTOOLDIR\", \"GOVERSION\":\n+\tcase ...
2024-08-28T15:15:32
vercel/next.js
d6d459140619cf6c44f508a62f115e8ce4a13146
8102bc567250647fab7a1b5321e0677628697e0e
fix: top level await in node middleware (#76012) ### What? Using top level await with a node middleware will crash with `adapterFn` is not a function ### Why? When using top level await requiring `middleware.js` will return a promise that need to be awaited ### How? Await the require and changed `getMiddleware` s...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -731,7 +731,7 @@ export default abstract class Server<\n \n private handleNextDataRequest: RouteHandler<ServerRequest, ServerResponse> =\n async (req, res, parsedUrl) => {\n- const middleware = this.getMiddleware()\n+ const mi...
2025-02-20T20:05:29
electron/electron
36bca3278dcf67bb80e5296ca68a44e9c5ee8117
bb26060564737960f0cbb39d70628011b812854d
docs: fix typos in clang-tidy examples (#29327)
[ { "path": "docs/development/clang-tidy.md", "patch": "@@ -10,12 +10,12 @@ files, you need to have built Electron so that it knows which compiler flags\n were used. There is one required option for the script `--output-dir`, which\n tells the script which build directory to pull the compilation information\n...
2021-05-27T00:45:37
nodejs/node
f9fee9a8f41f9d6e04047fb71e80c95b50c927ed
b76862df0ac124f7f683dd51efd56215336d1e31
doc: add atlowChemi to collaborators PR-URL: https://github.com/nodejs/node/pull/48757 Fixes: https://github.com/nodejs/node/issues/48603 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
[ { "path": "README.md", "patch": "@@ -291,6 +291,8 @@ For information about the governance of the Node.js project, see\n **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)\n * [AshCripps](https://github.com/AshCripps) -\n **Ash Cripps** <<email@ashleycripps.co.uk>>\n+* [atlowChemi](https://github.co...
2023-07-13T12:52:08
facebook/react
c624dc3598c6dc95f9a827667bc4f8ecff41f0bd
26bc8ff9bfcdb67e255fea424b56909899ac208b
DevTools supports ENV-injected version for better internal bug reports (#22635)
[ { "path": "packages/react-devtools-extensions/utils.js", "patch": "@@ -30,12 +30,14 @@ function getGitCommit() {\n }\n }\n \n-function getVersionString() {\n- const packageVersion = JSON.parse(\n- readFileSync(\n- resolve(__dirname, '..', 'react-devtools-core', './package.json'),\n- ),\n- ).v...
2021-10-27T21:18:48
golang/go
aeac0b6cbfb42bc9c9301913a191bb09454d316a
54fe0fd43fcf8609666c16ae6d15ed92873b1564
go/types, types2: use max(fileVersion, go1.21) if fileVersion present Change the rules for how //go:build "file versions" are applied: instead of considering whether a file version is an upgrade or downgrade from the -lang version, always use max(fileVersion, go1.21). This prevents file versions from downgrading the v...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -3031,22 +3031,48 @@ func TestFileVersions(t *testing.T) {\n \t\tfileVersion string\n \t\twantVersion string\n \t}{\n-\t\t{\"\", \"\", \"\"}, // no versions specified\n-\t\t{\"go1.19\", \"\", \"go1.19\"}, // module...
2024-08-16T19:13:39
vercel/next.js
779c0374cf873955942288d6a73d2af94729df56
e738d833de5a377ba6949b062911ecc8f27434c7
[dev-overlay] use unique font name (#76230) We [inject a style tag](https://github.com/vercel/next.js/pull/76225) that downloads Geist fonts from local file system. However, that style tag is injected to the main DOM because of an [issue](https://issues.chromium.org/issues/41085401) in Chrome that the fonts do not wor...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/font/font-styles.tsx", "patch": "@@ -7,7 +7,7 @@ export const FontStyles = () => {\n style.textContent = css`\n /* latin-ext */\n @font-face {\n- font-family: 'Geist';\n+ font-family: '__nextjs-Geist...
2025-02-20T14:19:55
electron/electron
bb26060564737960f0cbb39d70628011b812854d
acce13234efdc0e892ee5b8903393295e488f935
docs: fix link to `docs/fiddle/quick-start` (#29325)
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -440,7 +440,7 @@ window.addEventListener('DOMContentLoaded', () => {\n </html>\n ```\n \n-```fiddle docs/fiddles/quickstart\n+```fiddle docs/fiddles/quick-start\n ```\n \n To summarize all the steps we've done:", "additions": 1, "deletions": 1, ...
2021-05-27T00:45:23
facebook/react
26bc8ff9bfcdb67e255fea424b56909899ac208b
6c3dcc7a478f53aabd24b9712a7e506cf3702a64
Revert logic for checking for duplicate installations of DevTools (#22638) * Revert "Only show DevTools warning about unrecognized build in Chrome (#22571)" This reverts commit b72dc8e9300f5ae997f7f5cfcd79b604cca3df0c. * Revert "Show warning in UI when duplicate installations of DevTools extension are detected (...
[ { "path": "packages/react-devtools-extensions/src/background.js", "patch": "@@ -1,20 +1,11 @@\n-// @flow strict-local\n+/* global chrome */\n \n 'use strict';\n \n-declare var chrome: any;\n-\n-const ports: {\n- [tab: string]: {|devtools: any, 'content-script': any|},\n-} = {};\n+const ports = {};\n \n con...
2021-10-27T20:34:44
nodejs/node
905394393143dfe8f318bfc89986bc91514d1f1e
c3468322cfc179da2ea593fe25628e8db4c18d08
module: add SourceMap.lineLengths Fix: #48460 PR-URL: https://github.com/nodejs/node/pull/48461 Fixes: https://github.com/nodejs/node/issues/48460 Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "doc/api/module.md", "patch": "@@ -271,9 +271,10 @@ added:\n - v12.17.0\n -->\n \n-#### `new SourceMap(payload)`\n+#### `new SourceMap(payload[, { lineLengths }])`\n \n * `payload` {Object}\n+* `lineLengths` {number\\[]}\n \n Creates a new `sourceMap` instance.\n \n@@ -287,6 +288,9 @@ Creates a n...
2023-07-12T18:37:32
golang/go
54fe0fd43fcf8609666c16ae6d15ed92873b1564
7b4ecaa902f1afad6093f6b6b2ea913505f91b7b
runtime: store bp on cgocallback as unsafe.Pointer As of CL 580255, the runtime tracks the frame pointer (or base pointer, bp) when entering syscalls, so that we can use fpTracebackPCs on goroutines that are sitting in syscalls. That CL mostly got things right, but missed one very subtle detail. When calling from Go-...
[ { "path": "src/runtime/cgocall.go", "patch": "@@ -338,9 +338,14 @@ func cgocallbackg(fn, frame unsafe.Pointer, ctxt uintptr) {\n \t// stack. However, since we're returning to an earlier stack frame and\n \t// need to pair with the entersyscall() call made by cgocall, we must\n \t// save syscall* and let ree...
2024-08-27T15:34:10
vercel/next.js
b77f8cddcf8507bec6f7adb39228f4808611f2af
22420f77611058f31fd9ee8a72441cb44959dd3a
Turbopack panic handler: link to bug report issue template (#76226) When asking the user to open a new issue, link to the new issue form with the bug report template pre-selected.
[ { "path": "crates/napi/src/util.rs", "patch": "@@ -123,7 +123,7 @@ pub fn log_internal_error_and_inform(err_info: &str) {\n .unwrap_or_else(|_| panic!(\"Failed to open {}\", PANIC_LOG.to_string_lossy()));\n \n writeln!(log_file, \"{}\\n{}\", LOG_DIVIDER, err_info).unwrap();\n- eprintln!(\"{}:...
2025-02-20T13:59:16
electron/electron
acce13234efdc0e892ee5b8903393295e488f935
386572bb86c3e4159e4c0ebc95d14b5cd379f5c3
fix: close autoHide menu bar when focus is lost (#29320)
[ { "path": "shell/browser/ui/views/menu_bar.cc", "patch": "@@ -124,7 +124,10 @@ bool MenuBar::AcceleratorPressed(const ui::Accelerator& accelerator) {\n ? ui::Accelerator(ui::VKEY_ESCAPE, accelerator.modifiers(),\n accelerator.key_state(), accelerator.time_stamp())\n ...
2021-05-27T00:36:15
facebook/react
4298ddbc56a711cecfa672ec8ac60c94a02c9380
90e5d3638844414e1b9df0fe66c3fc46b211d210
fix passing strings as chunks (#22617)
[ { "path": "packages/react-dom/src/server/ReactDOMServerFormatConfig.js", "patch": "@@ -471,7 +471,7 @@ function pushAttribute(\n attributeSeparator,\n attributeNameChunk,\n attributeAssign,\n- escapeTextForBrowser(value),\n+ stringToChunk(escapeTextF...
2021-10-24T03:21:55
nodejs/node
8790cfc6106d9505803374dc898afae7583fb560
78e42e46ec34f3095dcf405cc0e5772692a55824
src: make BaseObject iteration order deterministic Previously we just rely on the unordered_set order to iterate over the BaseObjects, which is not deterministic. The iteration is only used in printing, verification, and snapshot generation. In the first two cases the performance overhead of sorting does not matter b...
[ { "path": "src/cleanup_queue-inl.h", "patch": "@@ -39,7 +39,9 @@ void CleanupQueue::Remove(Callback cb, void* arg) {\n \n template <typename T>\n void CleanupQueue::ForEachBaseObject(T&& iterator) const {\n- for (const auto& hook : cleanup_hooks_) {\n+ std::vector<CleanupHookCallback> callbacks = GetOrder...
2023-07-12T15:18:43
golang/go
7b4ecaa902f1afad6093f6b6b2ea913505f91b7b
994d1d446663873dd593846a0b94147410e5922a
html/template: track continue nodes correctly when escaping Fixes #69076 Change-Id: I1a16675c466722f44d0734e95d3c8111e33ff580 Reviewed-on: https://go-review.googlesource.com/c/go/+/607736 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Pratt <mpratt...
[ { "path": "src/html/template/escape.go", "patch": "@@ -145,7 +145,7 @@ func (e *escaper) escape(c context, n parse.Node) context {\n \t\treturn c\n \tcase *parse.ContinueNode:\n \t\tc.n = n\n-\t\te.rangeContext.continues = append(e.rangeContext.breaks, c)\n+\t\te.rangeContext.continues = append(e.rangeConte...
2024-08-23T17:23:24
vercel/next.js
22420f77611058f31fd9ee8a72441cb44959dd3a
85e1ee5a5c44a62de46be5a5b015b1b99f0a27df
Turbopack: Update app-dir tests (#76145) ## What? - Removes an outdated test - Moved a passing tests - Made the failing chunk test fail immediately instead of taking 30 seconds to get to the failure <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as po...
[ { "path": "test/e2e/app-dir/app/index.test.ts", "patch": "@@ -65,15 +65,6 @@ describe('app dir - basic', () => {\n }\n \n if (isNextStart && !process.env.NEXT_EXPERIMENTAL_COMPILE) {\n- it('should not have loader generated function for edge runtime', async () => {\n- expect(\n- await next...
2025-02-20T12:10:09
facebook/react
90e5d3638844414e1b9df0fe66c3fc46b211d210
3c4c1c4703e8f7362370c44a48ac9348229e3791
chore: fix comment typo (#22615)
[ { "path": "packages/react-server/src/ReactFizzHooks.js", "patch": "@@ -218,7 +218,7 @@ export function resetHooksState(): void {\n }\n \n function getCacheForType<T>(resourceType: () => T): T {\n- // TODO: This should silently mark this as client rendered since it's not necesssarily\n+ // TODO: This shoul...
2021-10-22T16:44:31
electron/electron
7984933e9cf9cb50a2472eaa4715a0b81d650b5a
f01e35f4eaf3e45eefaef851c61f553c0756e571
feat: add experimental cookie encryption support (#27524) * feat: add experimental cookie encryption support on macOS * chore: fix TODO * update patches * feat: make cookie encryption work on windows * chore: update cookie encryption support comments * fix: only call OSCrypt::Init on windows * chore:...
[ { "path": "BUILD.gn", "patch": "@@ -1,6 +1,7 @@\n import(\"//build/config/locales.gni\")\n import(\"//build/config/ui.gni\")\n import(\"//build/config/win/manifest.gni\")\n+import(\"//components/os_crypt/features.gni\")\n import(\"//components/spellcheck/spellcheck_build_features.gni\")\n import(\"//content...
2021-05-26T19:16:55
nodejs/node
78e42e46ec34f3095dcf405cc0e5772692a55824
6a1316dc99085de04622f8ae3bddae3b2d040015
build: do not pass target toolchain flags to host toolchain Fixes target toolchain arguments being passed to the host toolchain when cross-compiling. For example, -m64 is not available on aarch64. PR-URL: https://github.com/nodejs/node/pull/48597 Reviewed-By: Richard Lau <rlau@redhat.com>
[ { "path": "common.gypi", "patch": "@@ -411,28 +411,56 @@\n 'cflags': [ '-I/usr/local/include' ],\n 'ldflags': [ '-Wl,-z,wxneeded' ],\n }],\n- ],\n- 'conditions': [\n- [ 'target_arch==\"ia32\"', {\n- 'cflags': [ '-m32' ],\n- 'ldfl...
2023-07-12T14:57:05
rust-lang/rust
da1ffbe181973aa47e384949a4498dd7fbd30721
86eaeaadd935bfc6451602e8762f4a23305becaf
fix: restrict match_bool to 2 arms
[ { "path": "clippy_lints/src/matches/match_bool.rs", "patch": "@@ -16,66 +16,65 @@ pub(crate) fn check(cx: &LateContext<'_>, scrutinee: &Expr<'_>, arms: &[Arm<'_>]\n && arms\n .iter()\n .all(|arm| arm.pat.walk_short(|p| !matches!(p.kind, PatKind::Binding(..))))\n+ && ar...
2026-01-02T16:02:52
golang/go
61e00ae134193b8db6c5a3083b51d5bc2c15e18f
aa2e8b9ce2a344f46dfc6346f5ea83c573784464
debug/buildinfo: stop searchMagic search at EOF An invalid executable may claim to have a data section bigger than the executable, causing readData in searchMagic to hit EOF. Since readData suppresses all EOF errors, searchData would keep attempting to search through a potentially huge "section" despite readData conti...
[ { "path": "src/debug/buildinfo/buildinfo.go", "patch": "@@ -179,9 +179,14 @@ func readRawBuildInfo(r io.ReaderAt) (vers, mod string, err error) {\n \n \t// Read in the full header first.\n \theader, err := readData(x, addr, buildInfoHeaderSize)\n-\tif err != nil {\n+\tif err == io.EOF {\n+\t\treturn \"\", \...
2024-08-27T15:13:46
vercel/next.js
85e1ee5a5c44a62de46be5a5b015b1b99f0a27df
a89d55c0117e177fc43c71070b8b7be4a5e29602
Turbopack: Fix 500 handling in edge with pages router (#76155) ## What? Ensures the pages/500.js is passed to the edge handler template when it exists. <!-- 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...
[ { "path": "crates/next-api/src/pages.rs", "patch": "@@ -105,6 +105,7 @@ impl PagesProject {\n app: _,\n document: _,\n error: _,\n+ error_500: _,\n } = &*pages_structure.await?;\n let mut routes = FxIndexMap::default();\n \n@@ -711,7 +712,7 @@ i...
2025-02-20T12:09:40
facebook/react
d5b6b4b865ebf13a1eaf2342d623101056e5e197
fa9bea0c41ccfef5b528ef9b5517607f9f94c52a
Expand act warning to cover all APIs that might schedule React work (#22607) * Move isActEnvironment check to function that warns I'm about to fork the behavior in legacy roots versus concurrent roots even further, so I'm lifting this up so I only have to fork once. * Lift `mode` check, too Similar to previo...
[ { "path": "packages/react-debug-tools/src/__tests__/ReactDevToolsHooksIntegration-test.js", "patch": "@@ -20,6 +20,8 @@ describe('React hooks DevTools integration', () => {\n let scheduleUpdate;\n let setSuspenseHandler;\n \n+ global.IS_REACT_ACT_ENVIRONMENT = true;\n+\n beforeEach(() => {\n glob...
2021-10-21T22:31:26
electron/electron
12aa6d7343f90eef7a36f860e3b2036fe31edb6a
3ffaaf187241b942deb31a2788a2bcb3a739b1fc
docs: Update online detection doc and fiddle (#29212) * rework online detection doc and fiddle * add footnote * Update docs/tutorial/online-offline-events.md Co-authored-by: Erick Zhao <erick@hotmail.ca> * Update docs/tutorial/online-offline-events.md Co-authored-by: Erick Zhao <erick@hotmail.ca> * U...
[ { "path": "docs/fiddles/features/online-detection/index.html", "patch": "@@ -0,0 +1,13 @@\n+<!DOCTYPE html>\n+<html>\n+<head>\n+ <meta charset=\"UTF-8\">\n+ <title>Hello World!</title>\n+ <meta http-equiv=\"Content-Security-Policy\" content=\"script-src 'self' 'unsafe-inline';\" />\n+</head>\n+<bod...
2021-05-24T07:34:00
nodejs/node
6a1316dc99085de04622f8ae3bddae3b2d040015
b34c5a27c618f408f69d42acea87fa2c681fa3a4
tools: run fetch_deps.py with Python 3 Python 3 is now required to run `gclient`. Run `tools/v8/fetch_deps.py`, which spawns `glient`, with Python 3. PR-URL: https://github.com/nodejs/node/pull/48729 Fixes: https://github.com/nodejs/node/issues/48728 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Debadr...
[ { "path": "tools/v8/fetch_deps.py", "patch": "@@ -1,4 +1,4 @@\n-#!/usr/bin/env python\n+#!/usr/bin/env python3\n # Copyright 2017 the V8 project authors. All rights reserved.\n # Use of this source code is governed by a BSD-style license that can be\n # found in the LICENSE file.", "additions": 1, "...
2023-07-12T14:40:57
golang/go
aa2e8b9ce2a344f46dfc6346f5ea83c573784464
6f00a4efe4d7ed9ac871a8b025a022f964cfa4e2
cmd/dist: update tryDirs list to match make scripts The $HOME/sdk/go1.17 and $HOME/go1.17 paths were initially added as places to look for a bootstrap toolchain to make.{bash,bat,rc} scripts and in cmd/dist (CL 370274). Those two go1.17 directories have since been updated in the make scripts to go1.20.6 (CL 512275) an...
[ { "path": "src/cmd/dist/buildtool.go", "patch": "@@ -119,8 +119,8 @@ var ignoreSuffixes = []string{\n }\n \n var tryDirs = []string{\n-\t\"sdk/go1.17\",\n-\t\"go1.17\",\n+\t\"sdk/go1.22.6\",\n+\t\"go1.22.6\",\n }\n \n func bootstrapBuildTools() {", "additions": 2, "deletions": 2, "language": "Go...
2024-08-20T23:12:19
facebook/react
4ba20579daf119639567f69a0cb38128532754c6
f6abf4b400812c3207ca16aecb84fa3ce352e166
Scheduling Profiler: De-emphasize React internal frames (#22588) This commit adds code to all React bundles to explicitly register the beginning and ending of the module. This is done by creating Error objects (which capture the file name, line number, and column number) and passing them explicitly to a DevTools hook ...
[ { "path": "packages/react-devtools-extensions/src/checkForDuplicateInstallations.js", "patch": "@@ -9,13 +9,15 @@\n \n declare var chrome: any;\n \n-import {__DEBUG__} from 'react-devtools-shared/src/constants';\n+import {\n+ INTERNAL_EXTENSION_ID,\n+ LOCAL_EXTENSION_ID,\n+ __DEBUG__,\n+} from 'react-dev...
2021-10-21T18:40:41
vercel/next.js
41b87abcf91f8409cd413dec7bfc91a81c1f5ee1
068d052853dcf8005ad6b51a403da9c745f720d3
[dev-overlay] fix: dev indicator menu closing after tab access (#76205) ### Why? After the tab access via `onTriggerKeydown()`, the `onTriggerClick()` was triggered, which closed the menu right after it was opened. https://github.com/vercel/next.js/blob/f984d1f6812345e9f079f5a37aae6239bc5aa338/packages/next/src/cli...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/errors/dev-tools-indicator/dev-tools-indicator.tsx", "patch": "@@ -197,6 +197,7 @@ function DevToolsPopover({\n \n // Open with first item focused\n if (e.key === 'ArrowDown' || e.key === 'Enter' || e....
2025-02-20T03:09:27
electron/electron
77e7d828ee33bea186fd8e34526eb1ec06dba56d
241cceb2c9ad865481c5739254d387645cd4c313
docs: Update docs for keyboard shortcuts (#29207) * Update docs for keyboard shortcuts * Add a fiddle for web-apis * Apply suggestions from code review Co-authored-by: Erick Zhao <erick@hotmail.ca> * Cleanup a few formatting errors and missed copies * Add descriptions to index.html * Focus on rendere...
[ { "path": "docs/fiddles/features/keyboard-shortcuts/global/index.html", "patch": "@@ -7,10 +7,6 @@\n </head>\n <body>\n <h1>Hello World!</h1>\n- <p>\n- We are using node <script>document.write(process.versions.node)</script>,\n- Chrome <script>document.write(process.versions.chrome)</sc...
2021-05-24T02:33:22
rust-lang/rust
bfe591aac4c83c4e542a0fa3b00a88d7d6f242ca
bf6b5b9dedd3e95a2867555e3d780fc3ece11ff6
library: Fix typo in the documentatio of `Cstring::from_vec_with_nul` Fixes the sentence "Attempts to converts a Vec<u8> to a CString.", where "converts" should be in the base form as it is part of the to-infinitive form.
[ { "path": "library/alloc/src/ffi/c_str.rs", "patch": "@@ -636,7 +636,7 @@ impl CString {\n Self { inner: v.into_boxed_slice() }\n }\n \n- /// Attempts to converts a <code>[Vec]<[u8]></code> to a [`CString`].\n+ /// Attempts to convert a <code>[Vec]<[u8]></code> to a [`CString`].\n ///\...
2026-01-02T13:54:36
nodejs/node
b34c5a27c618f408f69d42acea87fa2c681fa3a4
8610be7bc4370e42124037d3c29beee8396ea11d
stream: fix deadlock when pipeing to full sink When piping a paused Readable to a full Writable we didn't register a drain listener which cause the src to never resume. Refs: https://github.com/nodejs/node/issues/48666 PR-URL: https://github.com/nodejs/node/pull/48691 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail...
[ { "path": "lib/internal/streams/readable.js", "patch": "@@ -833,9 +833,7 @@ Readable.prototype.pipe = function(dest, pipeOpts) {\n // Start the flow if it hasn't been started already.\n \n if (dest.writableNeedDrain === true) {\n- if (state.flowing) {\n- pause();\n- }\n+ pause();\n } els...
2023-07-12T14:31:49
facebook/react
f6abf4b400812c3207ca16aecb84fa3ce352e166
c213030b4966e935bb36c138e28761ea22dd837d
Fix typos (#22494)
[ { "path": "packages/react-devtools-shared/src/backend/legacy/renderer.js", "patch": "@@ -716,7 +716,7 @@ export function attach(\n \n // Any time an inspected element has an update,\n // we should update the selected $r value as wel.\n- // Do this before dehyration (cleanForBridge).\n+ // Do t...
2021-10-21T03:22:41
golang/go
6f00a4efe4d7ed9ac871a8b025a022f964cfa4e2
7c54e024e892cbb8ed24274f0b22505356220f10
debug/buildinfo: don't crash on corrupt object file If the length reported for the object file is more than the amount of data we actually read, then the count can tell us that there is sufficient remaining data but the slice operation can fail. No test case because the problem can only happen for invalid data. Let t...
[ { "path": "src/debug/buildinfo/buildinfo.go", "patch": "@@ -380,7 +380,14 @@ func searchMagic(x exe, start, size uint64) (uint64, error) {\n \t\t\t}\n \t\t\tif i%buildInfoAlign != 0 {\n \t\t\t\t// Found magic, but misaligned. Keep searching.\n-\t\t\t\tdata = data[(i+buildInfoAlign-1)&^(buildInfoAlign-1):]\n...
2024-08-26T22:17:07
vercel/next.js
068d052853dcf8005ad6b51a403da9c745f720d3
44bdae29f939d5ed05148450bbb070afe4da4ad6
[refactor] Simplified cache handler loading API (#76130) This simplifies the API for accessing different cache handlers from within Next.js. Rather than propagating global access everywhere, this provides some simple functions for storing the handlers. <!-- Thanks for opening a PR! Your contribution is much appreciat...
[ { "path": "packages/next/errors.json", "patch": "@@ -646,5 +646,6 @@\n \"645\": \"@rspack/plugin-react-refresh is not available. Please make sure the appropriate Next.js plugin is installed.\",\n \"646\": \"No span found for compilation\",\n \"647\": \"@rspack/core is not available. Please make sure `...
2025-02-20T01:54:37
electron/electron
d03325541ff9b138fa2763065237a25457731759
259bf8c4f7ff3cfc1785469d46308daa6e196b4d
test: rebuild nan tests with libc++ and libc++abi (#29281) * test: re-enable nan test: typedarrays-test.js Fixes #28414. I've confirmed this fix wfm on Linux. Pushing into a PR to get CI to run it out on Win and Mac platforms too. * chore: clarify comment * test: fix NAN test string alignment * test: (...
[ { "path": ".circleci/config.yml", "patch": "@@ -499,6 +499,7 @@ step-gn-check: &step-gn-check\n gn check out/Default //electron/shell/common/api:mojo\n # Check the hunspell filenames\n node electron/script/gen-hunspell-filenames.js --check\n+ node electron/script/gen-libc++-filenames....
2021-05-22T18:48:38
nodejs/node
8610be7bc4370e42124037d3c29beee8396ea11d
6c8fd6f563466bc7b83da57f389f7d1bd978f1fd
doc: fix ambiguity in http.md and https.md PR-URL: https://github.com/nodejs/node/pull/48692 Fixes: https://github.com/nodejs/node/issues/48688 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Grue...
[ { "path": "doc/api/http.md", "patch": "@@ -3351,14 +3351,13 @@ changes:\n \n * `url` {string | URL}\n * `options` {Object} Accepts the same `options` as\n- [`http.request()`][], with the `method` always set to `GET`.\n- Properties that are inherited from the prototype are ignored.\n+ [`http.request()`][]...
2023-07-08T09:25:27
facebook/react
cdb8a1d19d0c0d43a72c3f0fe739b04da247c360
3677c019af7251207dee41df7689859ab991a665
[Fizz] Add option to inject bootstrapping script tags after the shell is injected (#22594) * Add option to inject bootstrap scripts These are emitted right after the shell as flushed. * Update ssr fixtures to use bootstrapScripts instead of manual script tag * Add option to FB renderer too
[ { "path": "fixtures/ssr/server/render.js", "patch": "@@ -21,6 +21,7 @@ export default function render(url, res) {\n });\n let didError = false;\n const {pipe, abort} = renderToPipeableStream(<App assets={assets} />, {\n+ bootstrapScripts: [assets['main.js']],\n onCompleteShell() {\n // If...
2021-10-20T02:36:10
golang/go
36b45bca66d86020f0b4daf1f15b02921a8dad43
a7689a013432244b0e7e99606cdf89c2722351e0
cmd/compile: regalloc: drop values that aren't used until after a call No point in keeping values in registers when their next use is after a call, as we'd have to spill/restore them anyway. cmd/go is 0.1% smaller. Fixes #59297 Change-Id: I10ee761d0d23229f57de278f734c44d6a8dccd6c Reviewed-on: https://go-review.goog...
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -121,6 +121,7 @@ import (\n \t\"cmd/internal/sys\"\n \t\"fmt\"\n \t\"internal/buildcfg\"\n+\t\"math\"\n \t\"math/bits\"\n \t\"unsafe\"\n )\n@@ -210,7 +211,12 @@ func pickReg(r regMask) register {\n }\n \n type use struct {\n-\tdist int32 ...
2023-07-12T22:31:25
rust-lang/rust
bcdcabee75e5f0aad8811ce204f38e54174d26fd
1b4325211c3228dd10eea12e9b3f749f87363d95
resolve: Do not break from the scope visiting loop if we already found the innermost binding. Previously we could lose the already found binding and break with an error, if some blocking error was found in the shadowed scopes. Also, avoid some impossible state in the return type of `fn resolve_ident_in_scope`.
[ { "path": "compiler/rustc_resolve/src/ident.rs", "patch": "@@ -429,10 +429,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {\n orig_ident.span.ctxt(),\n derive_fallback_lint_id,\n |this, scope, use_prelude, ctxt| {\n- // We can break with an error at this step, it...
2025-12-03T19:15:58
vercel/next.js
3fc9b662320d1e5b20442f286dbb67df823ad00b
da9a9ffbacfe840e7e75b0f017addc99eaf4e9b9
fix: add appDir path to middleware output path (#75923) ### What? Add `appDir` path to middleware output path for `nodeMiddleware` experimental feature ### Why? For monorepos, the `appDir` is required to copy the `middleware.js` file to the correct path. ### How? Add `path.relative(outputFileTracingRoot, distDir),` ...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -644,7 +644,7 @@ async function writeStandaloneDirectory(\n const middlewareOutput = path.join(\n distDir,\n STANDALONE_DIRECTORY,\n- requiredServerFiles.config.distDir,\n+ path.relative(outputFileTracin...
2025-02-19T22:53:13