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 | f1096c6bb34c762d918f5b93d059ed1b808a286e | 064abe3d49e49d5edcb3b76915d0ff26dbc7e81e | Fix ASCII-art arrow alignment | [
{
"path": "examples/todomvc-flux/readme.md",
"patch": "@@ -26,7 +26,7 @@ Control is inverted with ___stores___: the stores accept updates and reconcile t\n Data in a Flux application flows in a single direction, in a cycle:\n \n <pre>\n-Views ---> (actions) ----> Dispatcher ---> (registered callback) ---> S... | 2014-05-04T02:45:12 |
vercel/next.js | 48d0028a52f01d35698bf20a8f82779018e1ff6f | 6d4c35a334964b4f4481845a0028f6edccf90247 | add a feature to write hashed files for conflicting write debugging (vercel/turbo#6544)
### Description
This helps debugging conflicting write problems
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
Closes PACK-2016 | [
{
"path": "crates/turbo-tasks-fs/Cargo.toml",
"patch": "@@ -17,6 +17,8 @@ harness = false\n # A binary built with this option **is not portable**, the directory\n # path will be embedded into the binary.\n dynamic_embed_contents = []\n+# Write a hashed version of each file to allow to debug conflicting writ... | 2023-11-24T12:00:02 |
nodejs/node | c841f516d530f31328b1f734428561d93bb14f4c | 883355125766e35126006507d1d8a09c149fc71d | 2020-05-19, Version 14.3.0 (Current)
Notable changes:
async_hooks:
* (SEMVER-MINOR) move PromiseHook handler to JS (Stephen Belanger) https://github.com/nodejs/node/pull/32891
cli:
* (SEMVER-MINOR) add `--trace-atomics-wait` flag (Anna Henningsen) https://github.com/nodejs/node/pull/33292
fs:
* (SEMVER-MINOR) a... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -31,7 +31,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V14.md#14.2.0\">14.2.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V14.md#14.3.0\">14.3.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V14.md#14.2.0\"... | 2020-05-18T01:45:37 |
rust-lang/rust | b62116bda772584e90591bbc6ebf3880a22b0080 | 0d2f8aff1be821907a824e5bad705c9385570fdc | fix errors after rebase | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/signatures.rs",
"patch": "@@ -402,6 +402,7 @@ bitflags::bitflags! {\n const SKIP_BOXED_SLICE_DURING_METHOD_DISPATCH = 1 << 6;\n const RUSTC_PAREN_SUGAR = 1 << 7;\n const COINDUCTIVE = 1 << 8;\n+ const ALIAS = 1 << 9;\n ... | 2025-08-13T07:33:08 |
electron/electron | b82845dc4a6908f4dc2903073a5d25d081eecbf2 | 98c039c880068ff2d31ebec99aeaf3b2af6fdc20 | A quick fix for crashing when closing devtools | [
{
"path": "brightray/browser/inspectable_web_contents_impl.cc",
"patch": "@@ -310,6 +310,7 @@ void InspectableWebContentsImpl::ShowDevTools() {\n \n void InspectableWebContentsImpl::CloseDevTools() {\n if (devtools_web_contents_) {\n+ frontend_loaded_ = false;\n view_->CloseDevTools();\n devtoo... | 2017-04-17T07:10:30 |
facebook/react | cdac160439f9c6c9e3bbb8d39610aa083cb30460 | 6323db7c18419f3d9988df94a1c4dee97b43e908 | Fixed a couple of issues with link to tagtree.tv video | [
{
"path": "docs/docs/videos.md",
"patch": "@@ -16,8 +16,8 @@ next: complementary-tools.html\n \n ### Thinking in react - tagtree.tv\n \n-A [tagtree.tv](htp://tagtree.tv/) video conveying the principles of 'Thinking in react' while building a simple app\n-<figure>[ fn run(self, sh: &Shell) -> anyhow::Result<()> {\n let mut metrics = Metrics::new(sh)?;\n- if !Path::new(\"./target/rustc-perf\").exists() {\n- ... | 2025-08-13T07:18:50 |
nodejs/node | 883355125766e35126006507d1d8a09c149fc71d | 66807e995de9a16b1cfe035f76958a178c381854 | build,win: add support for MSVC cross-compilation
* Fixes cases in icutools where commands were issued without .exe
* Changes to build scripts
* Add /fp:strict flag so that MSVC's floating point behaves correctly
* Enables marmasm
PR-URL: https://github.com/nodejs/node/pull/32867
Reviewed-By: Christian Clauss <cclaus... | [
{
"path": "common.gypi",
"patch": "@@ -193,6 +193,11 @@\n ],\n 'msvs_settings': {\n 'VCCLCompilerTool': {\n+ 'conditions': [\n+ ['target_arch==\"arm64\"', {\n+ 'FloatingPointModel': 1 # /fp:strict\n+ }]\n+ ],\n ... | 2020-03-24T18:57:08 |
electron/electron | 98c039c880068ff2d31ebec99aeaf3b2af6fdc20 | 79a441874ee5acc2135e367ffb588c728b1401b6 | Detach from devtools before destroying
Otherwise Electron would crash on exit in Chrome 58. | [
{
"path": "brightray/browser/inspectable_web_contents_impl.cc",
"patch": "@@ -235,9 +235,14 @@ InspectableWebContentsImpl::InspectableWebContentsImpl(\n }\n \n InspectableWebContentsImpl::~InspectableWebContentsImpl() {\n- if (devtools_web_contents_)\n- devtools_web_contents_->Close();\n- Observe(nullp... | 2017-03-20T19:22:46 |
golang/go | 972870da11bb4ddd3df393473c494bd2b546cc56 | 4baa486983204fdff64f80809627f79a538d8d82 | net/http/httputil: forward 1xx responses in ReverseProxy
Support for 1xx responses has recently been merged in
net/http (CL 269997).
As discussed in this CL
(https://go-review.googlesource.com/c/go/+/269997/comments/1ff70bef_c25a829a),
support for forwarding 1xx responses in ReverseProxy has been extracted
in this se... | [
{
"path": "src/net/http/httputil/reverseproxy.go",
"patch": "@@ -15,6 +15,7 @@ import (\n \t\"mime\"\n \t\"net\"\n \t\"net/http\"\n+\t\"net/http/httptrace\"\n \t\"net/http/internal/ascii\"\n \t\"net/textproto\"\n \t\"net/url\"\n@@ -96,6 +97,9 @@ func (r *ProxyRequest) SetXForwarded() {\n // ReverseProxy is ... | 2022-08-30T10:18:50 |
electron/electron | c41fb922b3ab7b555db53c0315fe14da1dc6f68f | 0a110a44f91993c48c15e225d68f4a412777ec60 | Fix API changes of Chrome 58 | [
{
"path": "brightray/browser/browser_main_parts.cc",
"patch": "@@ -15,7 +15,7 @@\n #include \"base/strings/utf_string_conversions.h\"\n #include \"content/public/browser/browser_thread.h\"\n #include \"content/public/common/content_switches.h\"\n-#include \"media/base/media_resources.h\"\n+#include \"media/... | 2017-04-04T04:43:49 |
nodejs/node | 66807e995de9a16b1cfe035f76958a178c381854 | d093e788d188d0affffebb016ef8e50fda678ab6 | tools,gyp: add support for MSVC cross-compilation
This change means that GYP can now generate two sets of projects: one
exclusively for a host x64 machine and one containing a mix of x64 and
Arm targets. The names of host targets are fixed up to end with
_host.exe, and any actions involving them are fixed up. This all... | [
{
"path": "tools/gyp/pylib/gyp/generator/msvs.py",
"patch": "@@ -40,6 +40,7 @@\n # letters.\n VALID_MSVS_GUID_CHARS = re.compile(r'^[A-F0-9\\-]+$')\n \n+generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested()\n \n generator_default_variables = {\n 'DRIVER_PREFIX': '',\n@@ -51,7 +52,7 @... | 2020-03-24T19:00:57 |
vercel/next.js | f971c82090af2e98dc57516b7f4c5669dbd26170 | 651514ee61ea5ee019f7b1879757aeea74be397b | analyse side effects (vercel/turbo#6563)
### Description
track side effects and might opt-out to unknown value to avoid wrong
replacements.
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
Closes PACK-2033 | [
{
"path": "crates/turbopack-ecmascript/src/analyzer/builtin.rs",
"patch": "@@ -10,49 +10,81 @@ use super::{ConstantNumber, ConstantValue, JsValue, LogicalOperator, ObjectPart}\n pub fn early_replace_builtin(value: &mut JsValue) -> bool {\n match value {\n // matching calls like `callee(arg1, arg... | 2023-11-24T11:25:07 |
facebook/react | d5a4d29532bbb7eea91b1ac806ecdfd68a795727 | b9e215d169245f5dbb107312bcf599bf4f915ece | Fix some linty things | [
{
"path": "src/addons/link/ReactLink.js",
"patch": "@@ -63,9 +63,9 @@ function ReactLink(value, requestChange) {\n */\n function createLinkTypeChecker(linkType) {\n var shapes = {\n- value: typeof linkType === 'undefined'\n- ? React.PropTypes.any.isRequired\n- : linkType.isRequired,\n+ va... | 2014-04-29T02:30:05 |
golang/go | a7e9a379e970f0c48aae47da1778213f646b5f45 | 9503bcae2b20d290332d00d78672881b7fcfedf0 | go/types, types2: improve readability of _InvalidUntypedConversion docs
Remove an unnecessary 'an' from errorcodes.go.
Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5b34e
Reviewed-on: https://go-review.googlesource.com/c/go/+/430495
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot... | [
{
"path": "src/cmd/compile/internal/types2/errorcodes.go",
"patch": "@@ -867,7 +867,7 @@ const (\n \t// var _ = string(x)\n \t_InvalidConversion\n \n-\t// _InvalidUntypedConversion occurs when an there is no valid implicit\n+\t// _InvalidUntypedConversion occurs when there is no valid implicit\n \t// conve... | 2022-09-13T07:39:19 |
rust-lang/rust | 87d92eecf925e990c6db13a8c2a56e36d4905ea9 | c5dac1aa2a48ac014c8a33a5c8c8334ed48afafa | Fix staging of linting tools | [
{
"path": "src/bootstrap/src/core/build_steps/clippy.rs",
"patch": "@@ -6,13 +6,12 @@\n //! which is performed by the `x clippy ci` command.\n //!\n //! In order to prepare a build compiler for running clippy, use the\n-//! `check::prepare_compiler_for_check` function. That prepares a compiler and a stand... | 2025-08-08T19:29:30 |
electron/electron | dc914fdb288754cafd9b4fc176222d62179027d8 | 3af50b92ca74eb3945ef018ad5ede7502e614e6b | Update Brightray for electron/brightray#289
This fixes #9197. | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit 28d713bb2a82ba690a21d62522ecd7bad09caba8\n+Subproject commit 909c49265493bd095c27cefd999567be2107899a",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2017-04-16T15:00:51 |
nodejs/node | d093e788d188d0affffebb016ef8e50fda678ab6 | b51d1cfbf27529346c7134f8fc4a855229543cc2 | doc: update function description for `decipher.setAAD`
According to the
[NodeJS CCM example](https://nodejs.org/docs/latest-v14.x/api/crypto.html#crypto_ccm_mode],
when decrypting the `plaintextLength` parameter actually refers to the
ciphertext length, not the plaintext length:
```
decipher.setAAD(aad, {
plaintext... | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -493,7 +493,7 @@ _additional authenticated data_ (AAD) input parameter.\n \n The `options` argument is optional for `GCM`. When using `CCM`, the\n `plaintextLength` option must be specified and its value must match the length\n-of the plaintext in bytes. See [CCM ... | 2020-04-27T15:30:42 |
facebook/react | 0d3622714c3ec08344a7815df6fad808ecc1018e | b9e215d169245f5dbb107312bcf599bf4f915ece | Don't escape slash; it's unnecessary
Fixes #1444.
Test Plan: grunt fasttest | [
{
"path": "src/utils/__tests__/escapeTextForBrowser-test.js",
"patch": "@@ -46,7 +46,6 @@ describe('escapeTextForBrowser', function() {\n expect(escaped).not.toContain('<');\n expect(escaped).not.toContain('>');\n expect(escaped).not.toContain('\\'');\n- expect(escaped).not.toContain('/');\n ... | 2014-04-29T02:22:03 |
vercel/next.js | f6babb4273a837ad417a6b1f78c81e6e6ec98a28 | 0cb1c404005de79b8cfbf3eac97e90616d5d4f45 | fix(CI): retry-test action can't use env in `if` (#58838) | [
{
"path": ".github/workflows/retry_test.yml",
"patch": "@@ -8,7 +8,6 @@ on:\n - completed\n \n env:\n- MAX_RETRIES: 3\n SLACK_WEBHOOK_URL: ${{ secrets.BROKEN_CANARY_SLACK_WEBHOOK_URL }}\n \n permissions:\n@@ -17,7 +16,7 @@ permissions:\n jobs:\n retry-on-failure:\n name: retry failed jobs\n- ... | 2023-11-23T19:02:41 |
golang/go | d60e51e3539986fcca331cc27f4730a4fe266149 | 72e07dbee086659833ef560ecce517a183d95b23 | go/build: remove unnecessary copies of package variables
These variables never change, we don't need second copies of them.
Also rename bPlusBuild to plusBuild, since it is the only remaining
variable with a "b" prefix.
Change-Id: I97089b001d23e9b0f2096e19d9ceed7a9bbb377d
Reviewed-on: https://go-review.googlesource.... | [
{
"path": "src/go/build/build.go",
"patch": "@@ -1483,10 +1483,7 @@ func ImportDir(dir string, mode ImportMode) (*Package, error) {\n }\n \n var (\n-\tbSlashSlash = []byte(slashSlash)\n-\tbStarSlash = []byte(starSlash)\n-\tbSlashStar = []byte(slashStar)\n-\tbPlusBuild = []byte(\"+build\")\n+\tplusBuild =... | 2022-09-09T00:17:55 |
rust-lang/rust | c5dac1aa2a48ac014c8a33a5c8c8334ed48afafa | 2071a68bd6e81a8e6779ee247048d37cd865a8c9 | Fix staging for `x clippy std` | [
{
"path": "src/bootstrap/src/core/build_steps/clippy.rs",
"patch": "@@ -134,12 +134,29 @@ impl LintConfig {\n \n #[derive(Debug, Clone, PartialEq, Eq, Hash)]\n pub struct Std {\n- pub target: TargetSelection,\n+ build_compiler: Compiler,\n+ target: TargetSelection,\n config: LintConfig,\n /... | 2025-08-08T15:23:34 |
electron/electron | ed9795514efb05ee8ff1d3006b2f8c3d33aefa7f | ba6f1f5443c0dc443a7830f97dd366606be9d142 | Initialize wm::WMState on Windows as well
See:
https://chromium.googlesource.com/chromium/src/+/cd4f72fdeae5d12e0c7c4efc0a1a0e1d7af1e0ba/ui/views_content_client/views_content_client_main_parts_aura.cc#23
This fixes electron/electron#9197. | [
{
"path": "brightray/browser/browser_main_parts.cc",
"patch": "@@ -25,6 +25,7 @@\n #include \"ui/display/display.h\"\n #include \"ui/display/screen.h\"\n #include \"ui/views/widget/desktop_aura/desktop_screen.h\"\n+#include \"ui/wm/core/wm_state.h\"\n #endif\n \n #if defined(TOOLKIT_VIEWS)\n@@ -41,7 +42,6 @... | 2017-04-16T14:27:36 |
facebook/react | 4b51708ed2db6dd454bfa4ef2467402019f40842 | b9e215d169245f5dbb107312bcf599bf4f915ece | Actually fix transitioning to null
Test Plan: grunt fasttest | [
{
"path": "src/addons/transitions/ReactTransitionGroup.js",
"patch": "@@ -119,7 +119,7 @@ var ReactTransitionGroup = React.createClass({\n this.props.children\n );\n \n- if (!currentChildMapping.hasOwnProperty(key)) {\n+ if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {... | 2014-04-29T01:16:59 |
nodejs/node | 3abb52fdb683c9c9ade1b2c7d16d0f640bbaacfd | 227ad25cc684d3dcde82c2f370ab25d3d06364b3 | deps: update to uvwasi 0.0.9
Notable changes:
- A `DEBUG()` macro and `UVWASI_DEBUG_LOG` build option have been
added to improve debugging.
- Path length restrictions have been removed across the codebase.
- Initial support for `poll_oneoff()` has been added on all
platforms. The implementation is based on `uv_po... | [
{
"path": "deps/uvwasi/include/uvwasi.h",
"patch": "@@ -5,13 +5,12 @@\n extern \"C\" {\n #endif\n \n-#include \"uv.h\"\n+#include \"wasi_serdes.h\"\n #include \"wasi_types.h\"\n-#include \"fd_table.h\"\n \n #define UVWASI_VERSION_MAJOR 0\n #define UVWASI_VERSION_MINOR 0\n-#define UVWASI_VERSION_PATCH 8\n+#d... | 2020-05-04T03:04:08 |
vercel/next.js | 0cb1c404005de79b8cfbf3eac97e90616d5d4f45 | cbcd59889c3ee7bdc984487a3e12f0aed4bf6d0c | ci: disable deployment protection for e2e test project (#58830)
Since we reset the test project on every e2e CI run, deployment protection is automatically enabled by default.
This adds an option to the reset project workflow to disable deployment protection. Our test runners need to be able to hit these pages from... | [
{
"path": ".github/workflows/test_e2e_deploy.yml",
"patch": "@@ -47,7 +47,7 @@ jobs:\n \n - run: npm i -g vercel@latest\n \n- - run: node scripts/run-project-reset.mjs\n+ - run: node scripts/run-e2e-test-project-reset.mjs\n name: Reset test project\n \n - run: docker run --rm -... | 2023-11-23T17:41:34 |
golang/go | 72e07dbee086659833ef560ecce517a183d95b23 | ebbaba281393de259b751779185855001876090a | cmd/go/testdata/script: remove reference to fixed issue
The issue referenced in work_prune.txt was fixed in CL 362754, but we
forgot to update the TODO or mark the issue as fixed in the commit
message.
Updates #48331.
Change-Id: Id2115e496aeaef275dd3c8d32c5c5564e6addb07
Reviewed-on: https://go-review.googlesource.co... | [
{
"path": "src/cmd/go/testdata/script/work_prune.txt",
"patch": "@@ -11,7 +11,6 @@\n # If we didn't load the whole graph and didn't load the dependencies of b\n # when loading p, we would end up loading q v1.0.0, rather than v1.1.0,\n # which is selected by MVS.\n-# TODO(#48331): We currently load the wrong... | 2022-08-25T18:55:00 |
rust-lang/rust | 5ffd5c2ec23f823a6dcb7c67d9d19b0723777fda | ba27938c8ca9a6b7e97a1011d611dcfcab78b550 | Fix Clippy staging for compiler | [
{
"path": "src/bootstrap/src/core/build_steps/check.rs",
"patch": "@@ -30,10 +30,6 @@ pub struct Std {\n \n impl Std {\n const CRATE_OR_DEPS: &[&str] = &[\"sysroot\", \"coretests\", \"alloctests\"];\n-\n- pub fn new(build_compiler: Compiler, target: TargetSelection) -> Self {\n- Self { build_c... | 2025-08-08T15:09:58 |
vercel/next.js | 0f642dc340fe1048b72821e32c4779ce04a90e05 | 2f07579a50180a29e64f9be2b8a34f62aed0fc9a | fix rewrites to edge routes (#58797)
### What?
Rewrites to an edge route currently throw an invariant rather than properly serving up the page that is rewritten to.
### Why?
The `NextRequest` object that is provided to the edge route handler contains pathname information only for the "origin" request (e.g., when visi... | [
{
"path": "packages/next/src/server/web/edge-route-module-wrapper.ts",
"patch": "@@ -10,10 +10,9 @@ import './globals'\n import { adapter, type AdapterOptions } from './adapter'\n import { IncrementalCache } from '../lib/incremental-cache'\n import { RouteMatcher } from '../future/route-matchers/route-match... | 2023-11-23T05:25:00 |
nodejs/node | 227ad25cc684d3dcde82c2f370ab25d3d06364b3 | ed9be3ab477e977f973504955897c23d578b276c | deps: upgrade to libuv 1.38.0
Notable changes:
- `uv_library_shutdown()` has been added.
- `uv_udp_init_ex()` now accepts `UV_UDP_RECVMMSG`, although it
is a no-op.
- Obsolete `MAX_PATH` restrictions have been removed on Windows,
and Windows is now long path aware.
- Windows environment variables longer than 32,7... | [
{
"path": "deps/uv/.gitignore",
"patch": "@@ -67,6 +67,7 @@ ipch\n \n # Clion / IntelliJ project files\n /.idea/\n+cmake-build-debug/\n \n *.xcodeproj\n *.xcworkspace",
"additions": 1,
"deletions": 0,
"language": "Unknown"
},
{
"path": "deps/uv/AUTHORS",
"patch": "@@ -425,3 +425,10 @... | 2020-05-17T15:46:44 |
golang/go | ebbaba281393de259b751779185855001876090a | 244127e4b40f3170317ebdb93fa8a92143a54c18 | path/filepath: document that WalkDir uses OS paths
Fixes #52812
Change-Id: Idb70d0540bbf9ecdc64293c62a23f07ee3be883c
Reviewed-on: https://go-review.googlesource.com/c/go/+/405615
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@goog... | [
{
"path": "src/path/filepath/path.go",
"patch": "@@ -482,6 +482,10 @@ func walk(path string, info fs.FileInfo, walkFn WalkFunc) error {\n // to walk that directory.\n //\n // WalkDir does not follow symbolic links.\n+//\n+// WalkDir calls fn with paths that use the separator character appropriate\n+// for t... | 2022-05-10T23:16:19 |
facebook/react | 9dbbaf12bf607eb6e2d77aa80b714c4183c86644 | d657479a9de226b3365b2195d2a90c1da5d832a8 | ReactTransitionGroup: Fix changing to null child
Fixes #1457.
Test Plan: grunt fasttest | [
{
"path": "src/addons/transitions/ReactTransitionGroup.js",
"patch": "@@ -61,15 +61,15 @@ var ReactTransitionGroup = React.createClass({\n var key;\n \n for (key in nextChildMapping) {\n- if (!prevChildMapping.hasOwnProperty(key) &&\n- !this.currentlyTransitioningKeys[key]) {\n+ var... | 2014-04-28T23:52:42 |
electron/electron | e7d71000eea11c6ec77f657e1ff5c2a2b813d126 | 0c1d60381df21f9c1f06a641eaf97ca4d3dec65e | Fix missing warning icon with dialog.showMessageBox() on macOS
Fixes #9183. | [
{
"path": "atom/browser/ui/message_box_mac.mm",
"patch": "@@ -71,10 +71,14 @@ - (void)alertDidEnd:(NSAlert*)alert\n \n switch (type) {\n case MESSAGE_BOX_TYPE_INFORMATION:\n- [alert setAlertStyle:NSInformationalAlertStyle];\n+ alert.alertStyle = NSInformationalAlertStyle;\n break;\n ... | 2017-04-13T18:36:48 |
vercel/next.js | 651514ee61ea5ee019f7b1879757aeea74be397b | 3d042d67398bdaf6f15ceaeab24b12890017c74e | some tsconfig fixups (vercel/turbo#6554)
### Description
Add some tracing and improve the error message
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
Closes PACK-2026 | [
{
"path": "crates/turbopack-ecmascript/src/typescript/resolve.rs",
"patch": "@@ -40,11 +40,14 @@ async fn json_only(resolve_options: Vc<ResolveOptions>) -> Result<Vc<ResolveOpti\n Ok(opts.cell())\n }\n \n+type TsConfigs = Vec<(Vc<FileJsonContent>, Vc<Box<dyn Source>>)>;\n+\n+#[tracing::instrument(skip_a... | 2023-11-23T00:35:48 |
nodejs/node | 8b0bdc918ec2731db34cebc934b96e0e4ad2b1a6 | fe1b9e09a845e24556f417553b4b434636fdd5ee | doc: clarify about the Node.js-only extensions in perf_hooks
- Add clarifications for Node.js-only extensions
- Explain the Web Performance APIs implemented in Node.js and
clarify that perf_hooks also include other non-Web APIs.
- Prefix exposed interfaces with `perf_hooks.` to distinguish
them from internal class... | [
{
"path": "doc/api/perf_hooks.md",
"patch": "@@ -1,13 +1,18 @@\n-# Performance Timing API\n+# Performance Measurement APIs\n \n <!--introduced_in=v8.5.0-->\n \n > Stability: 2 - Stable\n \n-The Performance Timing API provides an implementation of the\n-[W3C Performance Timeline][] specification. The purpose... | 2020-05-01T14:48:04 |
golang/go | a813be86df74bf2a9c5b272c0b0934d196ac665d | f78efc0178d51c02beff8a8203910dc0a9c6e953 | cmd/compile: don't use R25 as input for LoweredMove on ARM64
The rule uses R25 as a scratch register. If the input is R25 it
will be clobbered on the way, causing wrong result.
Change-Id: I464eadbdef0f3a5e90f9ef8c818393baa4335b87
Reviewed-on: https://go-review.googlesource.com/c/go/+/430015
Run-TryBot: Cherry Mui <ch... | [
{
"path": "src/cmd/compile/internal/ssa/gen/ARM64Ops.go",
"patch": "@@ -593,7 +593,7 @@ func init() {\n \t\t\tname: \"LoweredMove\",\n \t\t\targLength: 4,\n \t\t\treg: regInfo{\n-\t\t\t\tinputs: []regMask{buildReg(\"R17\"), buildReg(\"R16\"), gp},\n+\t\t\t\tinputs: []regMask{buildReg(\"R17\"), buil... | 2022-09-09T22:43:08 |
vercel/next.js | cf102cf1bda1111ebb93b61c2144d3cfc6a15a16 | b3914f617584232475ca898c8fedd9d138705531 | Fix turboFlag set to false (#58795)
## What?
Currently it's always reported as `false` but that is not correct. Needs to reflect the real value. | [
{
"path": "packages/next/src/server/lib/router-utils/setup-dev-bundler.ts",
"patch": "@@ -2504,7 +2504,7 @@ export async function setupDevBundler(opts: SetupOpts) {\n {\n webpackVersion: 5,\n isSrcDir,\n- turboFlag: false,\n+ turboFlag: !!opts.turbo,\n cliCommand:... | 2023-11-22T21:55:06 |
nodejs/node | 2361b5c041893cae3f84e412b67e4978af7af3c7 | 0e5b975873e88d9276dd8f1e1d94b8f66e741155 | stream: forward writableObjectMode
Duplex did not properly forward writableObjectMode.
Fixes: https://github.com/nodejs/node/issues/33388
PR-URL: https://github.com/nodejs/node/pull/33390
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/_stream_duplex.js",
"patch": "@@ -75,6 +75,8 @@ ObjectDefineProperties(Duplex.prototype, {\n ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writable'),\n writableHighWaterMark:\n ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableHighWaterMark'),\n+ writableObjectMode... | 2020-05-13T19:14:30 |
facebook/react | 5158a022dfd83a0dc9c3148bd3ed997716940392 | 28820e0adb5901c70c04c11ecf9ccc5b6cdd7b77 | Fix perf suite broken by descriptor change | [
{
"path": "perf/tests/todolist-add.js",
"patch": "@@ -9,8 +9,8 @@ exports.defer = true;\n exports.setup = function(){\n /*global*/_rootNode = document.createElement('div');\n document.body.appendChild(_rootNode);\n- /*global*/_app = todolist.App({ fakeDataCount: 333 });\n- React.renderComponent(_app, ... | 2014-04-25T17:26:56 |
golang/go | 6f7c9ea855b1ae97871837abf33b85aaa6731eae | 242adb784cd64265ce803f6b0c59dbf126bcda9c | runtime: set userForced while holding gcsema
Fixes #52515
Change-Id: If10068a97733daf61aba72da5ed3935db8eed8b9
Reviewed-on: https://go-review.googlesource.com/c/go/+/401776
Reviewed-by: hopehook <hopehook@golangcn.org>
Run-TryBot: hopehook <hopehook@golangcn.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Aut... | [
{
"path": "src/runtime/mgc.go",
"patch": "@@ -612,9 +612,6 @@ func gcStart(trigger gcTrigger) {\n \t\treturn\n \t}\n \n-\t// For stats, check if this GC was forced by the user.\n-\twork.userForced = trigger.kind == gcTriggerCycle\n-\n \t// In gcstoptheworld debug mode, upgrade the mode accordingly.\n \t// W... | 2022-04-24T04:14:13 |
electron/electron | 8b9f7e5b00187a1fc608c883fdfdbae9727f1729 | 779e4e58893cd5eebfb4126a491392d4c6c90d58 | Implement initial, experimental BrowserView API
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20).
To make matte... | [
{
"path": "atom/browser/api/atom_api_browser_view.cc",
"patch": "@@ -0,0 +1,128 @@\n+// Copyright (c) 2017 GitHub, Inc.\n+// Use of this source code is governed by the MIT license that can be\n+// found in the LICENSE file.\n+\n+#include \"atom/browser/api/atom_api_browser_view.h\"\n+\n+#include \"atom/brow... | 2017-04-11T17:47:30 |
facebook/react | cc56629620bf6929f7bb7d375f3738527eb26031 | 28820e0adb5901c70c04c11ecf9ccc5b6cdd7b77 | Fix transition end detection for Android
Some Android versions have the "transition" and "animation" properties
set on element style objects despite not supporting un-prefxied animations
and transitions. This change adds an additional sanity check to make sure
the correct event handlers are added for transition group... | [
{
"path": "src/addons/transitions/ReactTransitionEvents.js",
"patch": "@@ -20,6 +20,11 @@\n \n var ExecutionEnvironment = require('ExecutionEnvironment');\n \n+/**\n+ * EVENT_NAME_MAP is used to determine which event fired when a\n+ * transition/animation ends, based on the style property used to\n+ * defin... | 2014-03-20T04:11:38 |
vercel/next.js | 259c4052f8b25091d4b4abab2cd0f8c970e1a264 | d9531c13c4d1864b873df4ae911fb54c00fccccb | [Instrumentation] Don't treat instrumentation hook as pages (#58775)
This PR doesn't treat an instrumentation hook as a `PAGES` page which
avoids compiling `_app`, `_document`, and `_error` when compiling the
instrumentation hook. | [
{
"path": "packages/next/src/server/dev/hot-reloader-webpack.ts",
"patch": "@@ -51,6 +51,7 @@ import { normalizePathSep } from '../../shared/lib/page-path/normalize-path-sep'\n import getRouteFromEntrypoint from '../get-route-from-entrypoint'\n import {\n difference,\n+ isInstrumentationHookFile,\n isM... | 2023-11-22T20:52:33 |
golang/go | 77420fa119643163f820be7752668a69100487d7 | f7396aaea0297a2e95b502a4075b0aed6efda89f | cmd/link: generate an error if the entry symbol cannot be found
If the entry symbol cannot be found (for example, a new port is being brought
up and no rt0 code has been provided), the linker will currently panic. Rather
than panicing, generate an error that aids in debugging:
missing entry symbol "_rt0_arm64_openbs... | [
{
"path": "src/cmd/link/internal/ld/lib.go",
"patch": "@@ -2435,6 +2435,10 @@ func Entryvalue(ctxt *Link) int64 {\n \t}\n \tldr := ctxt.loader\n \ts := ldr.Lookup(a, 0)\n+\tif s == 0 {\n+\t\tErrorf(nil, \"missing entry symbol %q\", a)\n+\t\treturn 0\n+\t}\n \tst := ldr.SymType(s)\n \tif st == 0 {\n \t\tretu... | 2022-09-13T09:28:58 |
nodejs/node | 0e5b975873e88d9276dd8f1e1d94b8f66e741155 | ef1eb8d43903e7c5f671998cd3ee912a73292634 | src: add default: case to silence compiler warning
This fails compilation on at least one platform because there is no
`default:` case, despite all currently possible enum values being
listed.
Fix that by adding a default message that won’t be used unless V8
introduces new enum values.
Refs: https://github.com/nodej... | [
{
"path": "src/node.cc",
"patch": "@@ -243,7 +243,7 @@ static void AtomicsWaitCallback(Isolate::AtomicsWaitEvent event,\n void* data) {\n Environment* env = static_cast<Environment*>(data);\n \n- const char* message;\n+ const char* message = \"(unknown event)\";\n switc... | 2020-05-18T01:13:08 |
electron/electron | b19c5154ca189f0b1a62ba03e69d764de32518a6 | b07c3adca96e4e43806128aa74092c3ba9afde60 | Fix cpplint errors | [
{
"path": "atom/browser/atom_browser_client.cc",
"patch": "@@ -106,10 +106,10 @@ bool AtomBrowserClient::ShouldCreateNewSiteInstance(\n auto web_contents =\n content::WebContents::FromRenderFrameHost(render_frame_host);\n if (!ChildWebContentsTracker::IsChildWebContents(web_contents)) {\n- ... | 2017-04-12T03:25:56 |
vercel/next.js | d9531c13c4d1864b873df4ae911fb54c00fccccb | bb3d5cf4c3f3ecf575f2a6dbab3bb3665e8ac4a8 | Revert "fix: fetch() behavior when "dynamic" is "force-dynamic" (#58735)
Reverts vercel/next.js#58484
The correct way to address this is to use the `fetchCache` segment: https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#fetchcache
There are valid use-cases to want to force a dynamic res... | [
{
"path": "docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx",
"patch": "@@ -62,11 +62,7 @@ export const dynamic = 'auto'\n > **Good to know**: The new model in the `app` directory favors granular caching control at the `fetch` request level over the binary all-or-nothing model of `g... | 2023-11-22T18:49:20 |
golang/go | f7396aaea0297a2e95b502a4075b0aed6efda89f | 7ffbcd19876b9fbf117b09475411b8de9fa2c9dd | time: optimize Parse for RFC3339 and RFC3339Nano
RFC 3339 is the most common time representation,
being used in an overwhelming 57.3% of all specified formats,
while the next competitor only holds 7.5% usage.
Specially optimize parsing to handle the RFC 3339 format.
To reduce the complexity of error checking,
parseRFC... | [
{
"path": "src/time/export_test.go",
"patch": "@@ -135,3 +135,5 @@ var Quote = quote\n \n var AppendFormatAny = Time.appendFormat\n var AppendFormatRFC3339 = Time.appendFormatRFC3339\n+var ParseAny = parse\n+var ParseRFC3339 = parseRFC3339",
"additions": 2,
"deletions": 0,
"language": "Go"
},
... | 2022-08-22T18:29:03 |
nodejs/node | b477ac83e6082fe0e76fb4c640cbfe7b864bbd02 | a12a2d892fadf8d8f6c5482056b937c9e1f89df4 | src: add promise_resolve to SetupHooks comment
This commit adds promise_resolve to the list of callbacks mentioned in
the comment. It also fixes a minor typo, every -> ever.
PR-URL: https://github.com/nodejs/node/pull/33365
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
... | [
{
"path": "src/async_wrap.cc",
"patch": "@@ -391,9 +391,10 @@ static void SetupHooks(const FunctionCallbackInfo<Value>& args) {\n \n CHECK(args[0]->IsObject());\n \n- // All of init, before, after, destroy are supplied by async_hooks\n- // internally, so this should every only be called once. At which t... | 2020-05-12T12:31:46 |
facebook/react | cc292c1e229f1e4097bed2ca06ac7550e6c35df0 | 1b022e9b3a7bf7a637eff7845e804bb8baa65aea | Fix IE11 collapsed ranges in ReactDOMSelection
In IE10/11, it is apparently possible to have a Selection or Range object that has the following properties:
- `anchorNode` === `focusNode` (Selection) or `startContainer` === `endContainer` (Range)
- `anchorOffset` === `focusOffset` (Selection) or `startOffset` === ... | [
{
"path": "src/browser/ui/ReactDOMSelection.js",
"patch": "@@ -23,6 +23,15 @@ var ExecutionEnvironment = require('ExecutionEnvironment');\n var getNodeForCharacterOffset = require('getNodeForCharacterOffset');\n var getTextContentAccessor = require('getTextContentAccessor');\n \n+/**\n+ * While `isCollapsed... | 2014-04-24T18:37:55 |
electron/electron | b07c3adca96e4e43806128aa74092c3ba9afde60 | 34ed1a9ef88d3f886540f57f827729b9b4be7c92 | Fix comment for ChildWebContentsTracker | [
{
"path": "atom/browser/child_web_contents_tracker.h",
"patch": "@@ -5,8 +5,8 @@\n \n namespace atom {\n \n-// ChildWebContentsTracker tracks root WebContents created by\n-// `new BrowserWindow`.\n+// ChildWebContentsTracker tracks child WebContents\n+// created by native `window.open()`\n class ChildWebCon... | 2017-04-12T03:20:53 |
vercel/next.js | bb3d5cf4c3f3ecf575f2a6dbab3bb3665e8ac4a8 | 98f7994ce8d7688f7b588329a8e377cd9b56ae30 | fix(turbopack): `e2e/404-page-router` test (#58146) | [
{
"path": "test/e2e/404-page-router/app/next.config.js",
"patch": "@@ -1,4 +1 @@\n-module.exports = {\n- _basePath: '/docs',\n- _i18n: { defaultLocale: 'en-ca', locales: ['en-ca', 'en-fr'] },\n-}\n+module.exports = {}",
"additions": 1,
"deletions": 4,
"language": "JavaScript"
},
{
"pat... | 2023-11-22T18:30:26 |
golang/go | dad2966a83c1597786a96a8ef407ed412575ec94 | c7a0b156592ca15612315fc71f4e287268643bfd | go/types, types2: don't print function parameter names when showing type differences
Add a new flag 'paramNames' to typeWriter struct to control whether
function parameter names are written or not (set by default). Unset
it when we want the function signature w/o parameter names, e.g. when
showing two signatures that ... | [
{
"path": "src/cmd/compile/internal/types2/errors.go",
"patch": "@@ -7,6 +7,7 @@\n package types2\n \n import (\n+\t\"bytes\"\n \t\"cmd/compile/internal/syntax\"\n \t\"fmt\"\n \t\"runtime\"\n@@ -92,7 +93,7 @@ func (err *error_) errorf(at poser, format string, args ...interface{}) {\n \terr.desc = append(err... | 2022-09-12T22:04:20 |
nodejs/node | 1c619143eb449dd021142cd40c5891cbc2edb578 | b3ca8869a6d76de9c7f54bbcf7fbfc8a5b7d2bf4 | errors: skip fatal error highlighting on windows
Some consoles do not convert ANSI escape sequences to colors,
rather display them directly to the stdout. On those consoles,
libuv emulates colors by intercepting stdout stream and calling
corresponding Windows API functions for setting console colors.
However, fatal er... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -674,15 +674,31 @@ const fatalExceptionStackEnhancers = {\n },\n afterInspector(error) {\n const originalStack = error.stack;\n+ let useColors = true;\n+ // Some consoles do not convert ANSI escape sequences to colors,\n+ // rather display th... | 2020-04-28T17:15:36 |
facebook/react | 514f5fb98b655acf1323c81438ec9de8662d53a0 | 9e9d8dbe76db93db6176d041d186c10480f4d63c | fix warnings in cloneWithProps test
Don't test refs in this case, already testing warning above | [
{
"path": "src/utils/__tests__/cloneWithProps-test.js",
"patch": "@@ -176,7 +176,7 @@ describe('cloneWithProps', function() {\n \n var Grandparent = React.createClass({\n render: function() {\n- return <Parent><Component key=\"abc\" ref=\"abc\" /></Parent>;\n+ return <Parent><Compone... | 2014-04-23T20:27:50 |
electron/electron | c77e07bc1539e3d395047a03adbfb1ef0e2e249d | 24fedb2e20e9468f9b12a03198fe9c649039a9e5 | Fix afterEach | [
{
"path": "spec/modules-spec.js",
"patch": "@@ -4,6 +4,7 @@ const path = require('path')\n const temp = require('temp')\n const {remote} = require('electron')\n const {BrowserWindow} = remote\n+const {closeWindow} = require('./window-helpers')\n \n describe('third-party module', function () {\n var fixtur... | 2017-04-12T02:55:41 |
vercel/next.js | 8baf2e0b79fcac8cd07c616b3308f2af77fa59ab | 8f9e494cb502de9b77da78f17994baf7ec278ad3 | route handlers: make req.cookies opt you into dynamic (#58769)
This PR fixes an issue where users would try to access `req.cookies` from a route handler and be unable to read from it.
This issue was caused by `req.cookies` not opting you into dynamic behaviour, unlike `cookies()` from `next/headers`. This fixes it. | [
{
"path": "packages/next/src/server/future/route-modules/app-route/helpers/proxy-request.ts",
"patch": "@@ -107,6 +107,7 @@ export function proxyRequest(\n // request.nextUrl we bail since it includes query\n // values that can be relied on dynamically\n case 'url':\n+ case 'cookies':... | 2023-11-22T14:29:01 |
facebook/react | 9e9d8dbe76db93db6176d041d186c10480f4d63c | 01d41f6e18befb87d4c2abf3900178ea0dc9f0c9 | fix warnings in ReactComponentLifeCycle test
Don't use inputs to avoid warnings in tests | [
{
"path": "src/core/__tests__/ReactComponentLifeCycle-test.js",
"patch": "@@ -356,15 +356,15 @@ describe('ReactComponentLifeCycle', function() {\n var PropsUpdaterInOnDOMReady = React.createClass({\n componentDidMount: function() {\n this.refs.theSimpleComponent.setProps({\n- valu... | 2014-04-23T20:27:39 |
golang/go | c7a0b156592ca15612315fc71f4e287268643bfd | f4a587ba6e5c5195152f47afee2700664524c11e | go/types, types2: consistently use _UnsupportedFeature error code
Change-Id: Ie880871bb855e1c1f6e543508bdc7dd415451ba3
Reviewed-on: https://go-review.googlesource.com/c/go/+/429735
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com... | [
{
"path": "src/cmd/compile/internal/types2/errorcodes.go",
"patch": "@@ -279,7 +279,7 @@ const (\n \n \t// _InvalidIfaceEmbed occurs when a non-interface type is embedded in an\n \t// interface (for go 1.17 or earlier).\n-\t_InvalidIfaceEmbed\n+\t_ // not used anymore\n \n \t// _InvalidPtrEmbed occurs when ... | 2022-09-08T23:33:08 |
nodejs/node | b46bbf2e1990999fcf1a6beebf761ba2a95bc435 | c1ee70ec168eedc3f9d193473d141b9c03e2df88 | doc: fix extension in esm example
PR-URL: https://github.com/nodejs/node/pull/33408
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com> | [
{
"path": "doc/api/esm.md",
"patch": "@@ -16,19 +16,19 @@ code for reuse. Modules are defined using a variety of [`import`][] and\n The following example of an ES module exports a function:\n \n ```js\n-// addTwo.js\n+// addTwo.mjs\n function addTwo(num) {\n return num + 2;\n }\n \n export { addTwo };\n `... | 2020-05-14T20:02:03 |
rust-lang/rust | bc8a52161950a59cc1d8f118d1fb10ab5890e84e | 075ce31bd39c68b911edda233f0af3f40113212b | Fix pgo tests | [
{
"path": "src/tools/run-make-support/src/external_deps/rustc.rs",
"patch": "@@ -405,6 +405,12 @@ impl Rustc {\n };\n self\n }\n+\n+ /// Make that the generated LLVM IR is in source order.\n+ pub fn codegen_source_order(&mut self) -> &mut Self {\n+ self.cmd.arg(\"-Zcodegen-s... | 2025-08-13T01:23:41 |
facebook/react | 01d41f6e18befb87d4c2abf3900178ea0dc9f0c9 | 4c199daa26d529f411c258d88254b0c396b9ac26 | better error message for React EventPlugin order check
Ran into this while inadvertently requiring multiple React versions in a separate project (`require('react');` vs `require('React');` | [
{
"path": "src/event/EventPluginRegistry.js",
"patch": "@@ -176,7 +176,8 @@ var EventPluginRegistry = {\n injectEventPluginOrder: function(InjectedEventPluginOrder) {\n invariant(\n !EventPluginOrder,\n- 'EventPluginRegistry: Cannot inject event plugin ordering more than once.'\n+ 'Eve... | 2014-04-21T22:41:26 |
vercel/next.js | b6f56444b4d0210b1cf603b6f9a2c2f95e238c90 | 48a566bc4fcfc48d8489f096a87e792912c4989f | Use consistent resolve extensions alias for compiler (#58725)
## What?
Changes the default resolve extensions to be consistent between
server/client compilation.
Currently browser prefers `.mjs` then `.js` and the server compiler
prefers `.js` then `.mjs`.
I added that behavior back in 2018 before mjs/cjs e... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -587,9 +587,7 @@ export default async function getBaseWebpackConfig(\n \n const resolveConfig: webpack.Configuration['resolve'] = {\n // Disable .mjs for node_modules bundling\n- extensions: isNodeServer\n- ? ['.js', '.mjs', '... | 2023-11-22T12:38:53 |
rust-lang/rust | 075ce31bd39c68b911edda233f0af3f40113212b | 8e62bfd311791bfd9dca886abdfbab07ec54d8b4 | Fix parallel rustc not being reproducible due to unstable sorting of items. | [
{
"path": "compiler/rustc_interface/src/tests.rs",
"patch": "@@ -689,6 +689,7 @@ fn test_unstable_options_tracking_hash() {\n // Make sure that changing an [UNTRACKED] option leaves the hash unchanged.\n // tidy-alphabetical-start\n untracked!(assert_incr_state, Some(String::from(\"loaded\")));\... | 2025-07-30T09:33:17 |
nodejs/node | c1ee70ec168eedc3f9d193473d141b9c03e2df88 | e3462614db800e8b0629965b37cf74f228ba97ea | buffer,n-api: release external buffers from BackingStore callback
Release `Buffer` and `ArrayBuffer` instances that were created through
our addon APIs and have finalizers attached to them only after V8 has
called the deleter callback passed to the `BackingStore`, instead of
relying on our own GC callback(s).
This fi... | [
{
"path": "src/js_native_api_v8.cc",
"patch": "@@ -371,39 +371,6 @@ class Reference : public RefBase {\n v8impl::Persistent<v8::Value> _persistent;\n };\n \n-class ArrayBufferReference final : public Reference {\n- public:\n- // Same signatures for ctor and New() as Reference, except this only works\n- ... | 2020-05-09T04:41:58 |
golang/go | f4a587ba6e5c5195152f47afee2700664524c11e | 54182ff54a687272dd7632c3a963e036ce03cb7c | types2: provide error codes to error reporting
This CL adds a suitable error code to every error reporting,
matching what go/types already does.
For now, the error codes are not progagated through the API,
but eventually they will be available to clients.
Also, for now the errorcodes.go file is a 1:1 copy (with
adju... | [
{
"path": "src/cmd/compile/internal/types2/assignments.go",
"patch": "@@ -27,7 +27,7 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t\t// ok\n \tdefault:\n \t\t// we may get here because of other problems (issue #39634, crash 12)\n-\t\tcheck.errorf(x, \"cannot assign %s to %s i... | 2022-09-08T01:45:09 |
facebook/react | 4c199daa26d529f411c258d88254b0c396b9ac26 | 089146b2f8086e78ec94ed527306fb36efd67c30 | fix log spew from ReactDOMTextarea test
Similar to previous but for textarea. If `value` is set, we have to also set
`onChange` to avoid warnings. | [
{
"path": "src/browser/ui/dom/components/__tests__/ReactDOMTextarea-test.js",
"patch": "@@ -19,8 +19,7 @@\n \n \"use strict\";\n \n-/*jshint evil:true */\n-\n+var emptyFunction = require('emptyFunction');\n var mocks = require('mocks');\n \n describe('ReactDOMTextarea', function() {\n@@ -95,29 +94,29 @@ des... | 2014-04-21T22:41:17 |
vercel/next.js | 353f25f32deef9ea77fa4c44459731e6f2924ccb | 7fddcbb6a51c8953033d47a3c72349b93766a53c | clear raw variant to actually replace the value (vercel/turbo#6545)
### Description
fixes a url() replacement bug
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
Closes PACK-2018 | [
{
"path": "crates/turbopack-css/src/references/url.rs",
"patch": "@@ -170,6 +170,7 @@ impl VisitMut for AssetReferenceReplacer<'_> {\n UrlValue::Str(v) => {\n if let Some(new) = self.urls.get(&*v.value) {\n v.value = (&**new).into();\n+ v.ra... | 2023-11-22T11:00:46 |
rust-lang/rust | 85d1c89e0fe2c9db253c6e4e53a19302584a2dfd | 07b7dc90ee4df5815dbb91ef8e98cb93571230f5 | fix tail calls to `#[track_caller]` functions | [
{
"path": "Cargo.lock",
"patch": "@@ -3622,6 +3622,7 @@ dependencies = [\n \"rustc_hir\",\n \"rustc_incremental\",\n \"rustc_index\",\n+ \"rustc_lint_defs\",\n \"rustc_macros\",\n \"rustc_metadata\",\n \"rustc_middle\",",
"additions": 1,
"deletions": 0,
"language": "Unknown"
},
{
"... | 2025-08-03T15:03:25 |
nodejs/node | 48b159562d1dfcf005d3f91b0bfdf10206ce2557 | fda13d5dcf5c72097125ab40d1095b4fcf8bb68c | worker: fix crash when .unref() is called during exit
To be more precise, fix a crash when `worker.unref()` is called
from a message on the Worker that is not emitted before the Worker
thread has stopped.
PR-URL: https://github.com/nodejs/node/pull/33394
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James... | [
{
"path": "src/node_worker.cc",
"patch": "@@ -665,7 +665,7 @@ void Worker::StopThread(const FunctionCallbackInfo<Value>& args) {\n void Worker::Ref(const FunctionCallbackInfo<Value>& args) {\n Worker* w;\n ASSIGN_OR_RETURN_UNWRAP(&w, args.This());\n- if (!w->has_ref_) {\n+ if (!w->has_ref_ && !w->thre... | 2020-05-14T07:12:27 |
golang/go | 59ba97bf3bc9926ace19f5e6b3be277b801b1fde | b244b89d560051f8d4c4c2b90680477ec05f76c3 | cmd/go: record the -buildmode flag in debug.BuildInfo
Fixes #53856
Change-Id: Ib533e9fbe063b74c81f6512464a4dac5e2af0ccc
GitHub-Last-Rev: c2ae8d6f75badd55ba6cf8e093c496c9bd1baa49
GitHub-Pull-Request: golang/go#54218
Reviewed-on: https://go-review.googlesource.com/c/go/+/420937
Auto-Submit: Bryan Mills <bcmills@google.... | [
{
"path": "src/cmd/go/internal/load/pkg.go",
"patch": "@@ -2342,6 +2342,15 @@ func (p *Package) setBuildInfo(autoVCS bool) {\n \tif BuildAsmflags.present {\n \t\tappendSetting(\"-asmflags\", BuildAsmflags.String())\n \t}\n+\tbuildmode := cfg.BuildBuildmode\n+\tif buildmode == \"default\" {\n+\t\tif p.Name =... | 2022-09-08T02:18:50 |
facebook/react | 089146b2f8086e78ec94ed527306fb36efd67c30 | c8933b947bd57f47801bf5d2e1f492a9b9f4f81b | fix log spew from ReactDOMInput test
The prop validation threw a warning that either `onChange` or `readOnly` is required. Set the `onChange` where needed. | [
{
"path": "src/browser/ui/dom/components/__tests__/ReactDOMInput-test.js",
"patch": "@@ -82,18 +82,18 @@ describe('ReactDOMInput', function() {\n });\n \n it('should allow setting `value` to `true`', function() {\n- var stub = <input type=\"text\" value=\"yolo\" />;\n+ var stub = <input type=\"tex... | 2014-04-21T22:41:09 |
vercel/next.js | 48a566bc4fcfc48d8489f096a87e792912c4989f | a2b781fafe54011d9f006a9423cfbd0d14d551c4 | fix waitUntil handling in pipeToNodeResponse (#58744)
### What?
Calls to `revalidateTag` when using the data cache would sometimes be ignored. This would result in stale data being displayed even after manually triggering a revalidation.
### Why?
Revalidation calls are pushed onto a `pendingRevalidates` array and, i... | [
{
"path": "packages/next/src/server/pipe-readable.ts",
"patch": "@@ -11,7 +11,8 @@ export function isAbortError(e: any): e is Error & { name: 'AbortError' } {\n }\n \n function createWriterFromResponse(\n- res: ServerResponse\n+ res: ServerResponse,\n+ waitUntilForEnd?: Promise<unknown>\n ): WritableStre... | 2023-11-22T02:37:35 |
nodejs/node | fda13d5dcf5c72097125ab40d1095b4fcf8bb68c | ab7d5200cd04b2ef2dc708d1057be5a83dfe7791 | src: add #include <string> in json_utils.h
When precompile headers are disabled this file would cause compilation
errors due to #include <string> not included.
PR-URL: https://github.com/nodejs/node/pull/33332
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By:... | [
{
"path": "src/json_utils.h",
"patch": "@@ -6,6 +6,7 @@\n #include <iomanip>\n #include <ostream>\n #include <limits>\n+#include <string>\n \n namespace node {\n ",
"additions": 1,
"deletions": 0,
"language": "C/C++ Header"
}
] | 2020-05-10T00:35:23 |
golang/go | 4f3246c6e97225d43775090f272a4d5c34ffb5a8 | 86477e507fce38128b6696bcb036da026966c9d5 | internal/poll: drop redundant ENOSYS in CopyFileRange
Update CL 425881 and CL 428396
I browsed the source code related to copy_file_range in the kernel and found that the latest kernel may still return EXDEV errors in copy_file_range(2) due to certain cases, for details see: https://elixir.bootlin.com/linux/v5.19.7/s... | [
{
"path": "src/internal/poll/copy_file_range_linux.go",
"patch": "@@ -41,22 +41,18 @@ func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err\n \t\t}\n \t\tn, err := copyFileRange(dst, src, int(max))\n \t\tswitch err {\n-\t\tcase syscall.ENOSYS:\n-\t\t\t// copy_file_range(2) was int... | 2022-09-06T12:08:05 |
facebook/react | 385eb1cef17b8babfdade6b448a618e7e1c679db | 9a13393ce367a06258f0ee2b155b02493632d472 | Fixed a bug in expectRenderedChildAt
React components have _mountIndex, that looks like it is their order in DOM.
If you swap 2 elements in DOM, their order in children array isn't changed, but their _mountIndex is | [
{
"path": "src/test/reactComponentExpect.js",
"patch": "@@ -73,17 +73,14 @@ mergeInto(reactComponentExpect.prototype, {\n // change soon.\n this.toBeDOMComponent();\n var renderedChildren = this.instance()._renderedChildren || {};\n- var nonEmptyCount = 0;\n- var name;\n for (name in r... | 2014-04-18T19:48:01 |
vercel/next.js | a2b781fafe54011d9f006a9423cfbd0d14d551c4 | c0bafcb3541252e7ca915d2d6b16b535338459ea | fix image.domains deprecation warning (#58656)
### What?
In #57062, a deprecation warning was added for usage of `nextConfig.images.domains`. This warning was erroneously showing up for users that had an `assetPrefix` configured.
### Why?
When an `assetPrefix` specified, during assignment for `nextConfig` default val... | [
{
"path": "packages/next/src/server/config.test.ts",
"patch": "@@ -0,0 +1,64 @@\n+import loadConfig from './config'\n+\n+describe('loadConfig', () => {\n+ describe('nextConfig.images defaults', () => {\n+ it('should assign a `images.remotePatterns` when using assetPrefix', async () => {\n+ const re... | 2023-11-22T02:20:59 |
nodejs/node | ab7d5200cd04b2ef2dc708d1057be5a83dfe7791 | ee176f1205ce6eba8848779d793ad40c8236fbfa | repl: deprecate repl._builtinLibs
This is a manually edited and outdated list of builtin modules.
Instead, it is better to rely upon the officially documented way
to get a list of builtin modules.
As a side by fix this makes sure all exports are in one place. Thus,
it is easier to see what parts are actually exported... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -2682,6 +2682,21 @@ Type: Documentation-only (supports [`--pending-deprecation`][])\n The `repl` module exported the input and output stream twice. Use `.input`\n instead of `.inputStream` and `.output` instead of `.outputStream`.\n \n+<a id=\"DEP0XX1\"></a>... | 2020-05-07T22:35:15 |
electron/electron | 8f46137fda20aa98486f62e1ff776f261b46ea97 | 8a324a9375d7affd5ae44049182c9df11e613400 | Fix session.setPermissionRequestHandler webContents argument type | [
{
"path": "docs/api/session.md",
"patch": "@@ -287,7 +287,7 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => {\n #### `ses.setPermissionRequestHandler(handler)`\n \n * `handler` Function\n- * `webContents` Object - [WebContents](web-contents.md) requesting the permission.\n+ * `w... | 2017-04-10T00:12:15 |
facebook/react | 9a13393ce367a06258f0ee2b155b02493632d472 | 3a49ee7d82f6b3481012e81bcd18506eea150641 | Remove function wrappers in DOMSelection
There is no point in doing the feature detection on every call, unless there is an IE bug where it is not sure about which support for selection it has (totally plausible). | [
{
"path": "src/browser/ui/ReactDOMSelection.js",
"patch": "@@ -171,19 +171,13 @@ var ReactDOMSelection = {\n /**\n * @param {DOMElement} node\n */\n- getOffsets: function(node) {\n- var getOffsets = document.selection ? getIEOffsets : getModernOffsets;\n- return getOffsets(node);\n- },\n+ g... | 2014-04-18T19:47:51 |
vercel/next.js | 7a0fdb33dae7a21a5a0dbde2f8340b52d56f53d1 | 3043feef448bc0685c996a9946381fcfdb51048d | fix: ensure DynamicUsageErrors caught during render bubble up (#58747)
After the changes in #58669, it's now possible for these `DynamicUsageErrors` to be caught in the streaming renderer. We didn't have any logic to handle this happening inside the existing catch block, so this adds a check for that specific error an... | [
{
"path": "packages/next/src/export/routes/app-page.ts",
"patch": "@@ -160,17 +160,11 @@ export async function exportAppPage(\n const { staticBailoutInfo = {} } = metadata\n \n if (revalidate === 0 && debugOutput && staticBailoutInfo?.description) {\n- const err = new Error(\n- `... | 2023-11-22T02:01:53 |
rust-lang/rust | af2dd2d3bcfe5ed049068a9fd8eb6e295bed654b | 874f1c8dc0b3362799173f9e690b1cad8f081eaf | fix `unnecessary_semicolon`: don't lint on stmts with attrs | [
{
"path": "clippy_lints/src/unnecessary_semicolon.rs",
"patch": "@@ -87,6 +87,8 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessarySemicolon {\n ExprKind::If(..) | ExprKind::Match(_, _, MatchSource::Normal | MatchSource::Postfix)\n )\n && cx.typeck_results().expr_ty(expr... | 2025-08-12T17:06:28 |
nodejs/node | 2b50cd7a6ded8b06c2ff99414a605ceb0e08ff4c | b533fb3508009e5f567cc776daba8fbf665386a6 | http: don't throw on `Uint8Array`s for `http.ServerResponse#write`
Don't throw errors on Uint8Arrays and added test for all
valid types.
PR-URL: https://github.com/nodejs/node/pull/33155
Fixes: https://github.com/nodejs/node/issues/33379
Refs: https://github.com/nodejs/node/issues/29829
Reviewed-By: Robert Nagy <rona... | [
{
"path": "lib/_http_outgoing.js",
"patch": "@@ -63,6 +63,7 @@ const {\n hideStackFrames\n } = require('internal/errors');\n const { validateString } = require('internal/validators');\n+const { isUint8Array } = require('internal/util/types');\n \n const HIGH_WATER_MARK = getDefaultHighWaterMark();\n const... | 2020-05-03T05:32:13 |
facebook/react | 0a5c22264b2e628e533657c576c90a18282813b8 | 4487831281a5b48cb6956f60c059ac95f43f1366 | Make custom PropTypes return error rather than whatever
The new rule for PropTypes is that it should return an error object if validation fails, not throw, not warn. | [
{
"path": "src/browser/ui/dom/components/LinkedValueUtils.js",
"patch": "@@ -22,7 +22,6 @@\n var ReactPropTypes = require('ReactPropTypes');\n \n var invariant = require('invariant');\n-var warning = require('warning');\n \n var hasReadOnlyValue = {\n 'button': true,\n@@ -36,9 +35,9 @@ var hasReadOnlyValu... | 2014-04-18T19:47:30 |
electron/electron | 34beb52edb49f9e6b64dc834524ac15cd09d695d | 6a729f90e569e2441ba70ac907fb101e57af8027 | fix link to electron faq | [
{
"path": "docs-translations/tr-TR/README.md",
"patch": "@@ -5,7 +5,7 @@ Eğer öyleyse, atom.io üzerinden [mevcut sürümler](https://electron.atom.io/\n ## SSS(Sıkça Sorulan Sorular)\n \n Bir problem(issue) bildirmeden önce sıkça sorulan sorulara göz atın:\n-* [Electron SSS](https://github.com/electron/electr... | 2017-04-09T23:23:14 |
rust-lang/rust | 0a522ccfd97de0f28e5c090431c12241be875a04 | 12087f1d097d8ee3acdb388833e375b8e0f00b4e | Change the desugaring of `assert!` for better error output
In the desugaring of `assert!`, we now expand to a `match` expression
instead of `if !cond {..}`.
The span of incorrect conditions will point only at the expression, and not
the whole `assert!` invocation.
```
error[E0308]: mismatched types
--> $DIR/issue-... | [
{
"path": "clippy_lints/src/missing_asserts_for_indexing.rs",
"patch": "@@ -11,7 +11,7 @@ use rustc_ast::{BinOpKind, LitKind, RangeLimits};\n use rustc_data_structures::packed::Pu128;\n use rustc_data_structures::unhash::UnindexMap;\n use rustc_errors::{Applicability, Diag};\n-use rustc_hir::{Block, Body, E... | 2024-03-17T20:46:36 |
vercel/next.js | 3043feef448bc0685c996a9946381fcfdb51048d | f6b50ae32b5b9a41deff0172bcd9b34c74f509ef | disable static prefetching behavior for dynamic segments (#58609)
### What?
When a layout segment forces dynamic rendering (such as with
`force-dynamic` or `revalidate: 0`), navigating to sub-pages of that
layout will attempt to re-render the layout, also resulting in side
effects re-running. This means if your la... | [
{
"path": "packages/next/src/export/routes/app-page.ts",
"patch": "@@ -37,7 +37,14 @@ async function generatePrefetchRsc(\n htmlFilepath: string,\n renderOpts: RenderOpts,\n fileWriter: FileWriter\n-) {\n+): Promise<boolean> {\n+ // TODO: Re-enable once this is better supported client-side\n+ // It'... | 2023-11-22T00:55:44 |
nodejs/node | 1cb80d1e0590eeb3daf495bddfcf5237a99aa9b7 | 985e9c5fe535e31fb26665dce7c0659b4ae61d21 | esm: improve commonjs hint on module not found
Adds hint when module specifier is a file URL.
PR-URL: https://github.com/nodejs/node/pull/33220
Fixes: https://github.com/nodejs/node/issues/33219
Reviewed-By: Guy Bedford <guybedford@gmail.com> | [
{
"path": "lib/internal/modules/esm/resolve.js",
"patch": "@@ -758,6 +758,9 @@ function defaultResolve(specifier, context = {}, defaultResolveUnused) {\n // resolved CommonJS module\n if (error.code === 'ERR_MODULE_NOT_FOUND' ||\n error.code === 'ERR_UNSUPPORTED_DIR_IMPORT') {\n+ if (St... | 2020-05-14T23:24:24 |
golang/go | 76c94eb7064c9f84e41a2329efb0986cad1fb306 | 3c33c3b327c0ba9e756e5fa6882642acf2fd4012 | cmd/asm/internal/asm: don't set testOut in testErrors
It's set but the output is never used.
Change-Id: I36ecb9c5f087a85289529907ede9f9bfc295d739
Reviewed-on: https://go-review.googlesource.com/c/go/+/428637
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: G... | [
{
"path": "src/cmd/asm/internal/asm/endtoend_test.go",
"patch": "@@ -277,7 +277,6 @@ func testErrors(t *testing.T, goarch, file string, flags ...string) {\n \tparser := NewParser(ctxt, architecture, lexer, false)\n \tpList := new(obj.Plist)\n \tvar ok bool\n-\ttestOut = new(strings.Builder) // The assembler... | 2022-09-07T00:24:23 |
facebook/react | 7fb7e951082c40b3183cc2a6ab483a8b6b579690 | c6df1c2dd2216d3ac3321248758fec13f4478eb2 | Add React.batchedUpdates to public API
Fixes #906. | [
{
"path": "src/browser/ui/React.js",
"patch": "@@ -36,6 +36,7 @@ var ReactPerf = require('ReactPerf');\n var ReactPropTypes = require('ReactPropTypes');\n var ReactServerRendering = require('ReactServerRendering');\n var ReactTextComponent = require('ReactTextComponent');\n+var ReactUpdates = require('React... | 2014-02-12T21:11:39 |
vercel/next.js | 346711679467d1ce97d8b234ae65f7c2084d536d | 8b11264ea95c9ed2f7dfd1e8d66a36b57ebc0da1 | fix node externals resolving (#58129)
### What?
Various fixes in handling of externals in node.js
* add extensions to builtin externals to allow node.js ESM to work
* improve the auto-externals logic to detect more edge cases
* prepare for `esmExternals` support, but that's blocked by client
manifest missing ... | [
{
"path": "Cargo.lock",
"patch": "@@ -322,7 +322,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-231120.2#5de1380b33ec564de8b32b430c155163bcbc9cfb\"\n+source = \"git+https://github.com/vercel/turbo.git?ta... | 2023-11-21T22:58:14 |
facebook/react | c6df1c2dd2216d3ac3321248758fec13f4478eb2 | 717eacdb643782096beed08beb3a14649d28de49 | Fix PropType for travis
closes #1404 | [
{
"path": "src/core/ReactPropTypes.js",
"patch": "@@ -281,12 +281,18 @@ function isRenderable(propValue) {\n }\n }\n \n-// Equivalent of `typeof` but with special handling for array.\n+// Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var pro... | 2014-04-15T00:20:20 |
golang/go | 3585e9be670fc76e1bc4d4bfa452ee8798a127f2 | d75e91740a2048bba4c70e878a4cd3551e7b2273 | os: fix wrong error msg from TestDoubleCloseError
When the type assertion fails, the test mistakenly prints the expected
(rather than the actual) type.
When the error string doesn't match, the text mistakenly prints the
original (rather than the converted) error (although there might not be
any difference in the outp... | [
{
"path": "src/os/os_test.go",
"patch": "@@ -2539,9 +2539,9 @@ func testDoubleCloseError(t *testing.T, path string) {\n \tif err := file.Close(); err == nil {\n \t\tt.Error(\"second Close did not fail\")\n \t} else if pe, ok := err.(*PathError); !ok {\n-\t\tt.Errorf(\"second Close returned unexpected error ... | 2022-09-07T01:09:11 |
nodejs/node | 985e9c5fe535e31fb26665dce7c0659b4ae61d21 | 0f232ed69263874bae517b65fd79cb91ef1ed85e | module: add specific error for dir import
PR-URL: https://github.com/nodejs/node/pull/33220
Fixes: https://github.com/nodejs/node/issues/33219
Reviewed-By: Guy Bedford <guybedford@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -2045,6 +2045,20 @@ An attempt was made to load a module with an unknown or unsupported format.\n An invalid or unknown process signal was passed to an API expecting a valid\n signal (such as [`subprocess.kill()`][]).\n \n+<a id=\"ERR_UNSUPPORTED_DIR_IMPORT\"></a>... | 2020-05-03T10:04:59 |
facebook/react | f27175d166470e69a13ec96af6ac0d5f908dae57 | 14580fb01209c1424797c1cdb03a00ca71681841 | Fix preposition capitalization | [
{
"path": "docs/docs/07.1-more-about-refs.md",
"patch": "@@ -26,7 +26,7 @@ Consider the case when you wish to tell an `<input />` element (that exists with\n return (\n <div>\n <div onClick={this.clearAndFocusInput}>\n- Click To Focus and Reset\n+ Click to Focus... | 2014-04-14T23:28:46 |
electron/electron | 6a4e7225e2b967e1526a0fc630831f4a88611dbb | 9e33f2efeb65850f6b791f4969de6aa2d1a9900a | Create crash-report.md | [
{
"path": "docs-translations/zh-CN/api/structures/crash-report.md",
"patch": "@@ -0,0 +1,4 @@\n+# 崩溃报告的对象\n+\n+* `date` String\n+* `ID` Integer",
"additions": 4,
"deletions": 0,
"language": "Markdown"
}
] | 2017-04-07T02:25:22 |
golang/go | e20106ac001a58e273738cb24ea61096384dc2f8 | a9a398220ff387fe4924aee08365ffc374767a3a | time: optimize FixedZone by caching unnamed zones by the hour
FixedZone is transitively called by Time.UnmarshalJSON or Time.UnmarshalText
for any RFC 3339 timestamp that is not in UTC.
This function is relatively slow since it allocates 3 times.
Given that RFC 3339 never has a zone name and most offsets are by the h... | [
{
"path": "src/time/time_test.go",
"patch": "@@ -1494,6 +1494,14 @@ func BenchmarkGoString(b *testing.B) {\n \t}\n }\n \n+func BenchmarkUnmarshalText(b *testing.B) {\n+\tvar t Time\n+\tin := []byte(\"2020-08-22T11:27:43.123456789-02:00\")\n+\tfor i := 0; i < b.N; i++ {\n+\t\tt.UnmarshalText(in)\n+\t}\n+}\n+... | 2022-08-23T01:19:24 |
nodejs/node | 0f232ed69263874bae517b65fd79cb91ef1ed85e | 21b5c5f9e0e8d80f23fa258031e9da68e2c25d34 | doc: fix stream example
- Un-break the code for multibyte characters
- Get `fs.createReadStream` from the right module
PR-URL: https://github.com/nodejs/node/pull/33426
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/stream.md",
"patch": "@@ -1666,14 +1666,15 @@ The `pipeline` API also supports async generators:\n \n ```js\n const pipeline = util.promisify(stream.pipeline);\n-const fs = require('fs').promises;\n+const fs = require('fs');\n \n async function run() {\n await pipeline(\n fs.createR... | 2020-05-15T23:38:24 |
vercel/next.js | ded51e80109658c67d2b5211d8c8f2eff594c0d0 | a2e61343c94315a7de3a7bb9079d61f19d768be0 | fix node.js externals (vercel/turbo#6530)
### Description
* Extend resolving to allow reference type for plugins
* add extensions for MainField
* add an option `import_externals` to context to specify externals
behavior for ESM imports
* false: require() is used
* true: import() is used and the module beco... | [
{
"path": "crates/turbopack-core/src/resolve/mod.rs",
"patch": "@@ -1008,33 +1008,40 @@ pub async fn resolve_raw(\n #[turbo_tasks::function]\n pub async fn resolve(\n lookup_path: Vc<FileSystemPath>,\n+ reference_type: Value<ReferenceType>,\n request: Vc<Request>,\n options: Vc<ResolveOptions... | 2023-11-21T20:32:42 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.