Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2025-01-07, Version 23.6.0 (Current) #56450

Open
wants to merge 61 commits into
base: v23.x
Choose a base branch
from
Open

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 3, 2025

2025-01-07, Version 23.6.0 (Current), @marco-ippolito

Notable Changes

Unflagging --experimental-strip-types

This release enables the flag --experimental-strip-types by default.
Node.js will be able to execute TypeScript files without additional configuration:

node file.ts

There are some limitations in the supported syntax documented at https://nodejs.org/api/typescript.html#type-stripping
This feature is experimental and is subject to change.

Contributed by Marco Ippolito in #56350

Other Notable Changes

  • [c1023284c3] - (SEMVER-MINOR) lib: add typescript support to STDIN eval (Marco Ippolito) #56359
  • [8dc39e5e2e] - (SEMVER-MINOR) process: add process.ref() and process.unref() methods (James M Snell) #56400
  • [8b20cc212b] - (SEMVER-MINOR) worker: add eval ts input (Marco Ippolito) #56394

Commits

  • [7b4d288116] - assert: make partialDeepStrictEqual throw when comparing [0] with [-0] (Giovanni) #56237
  • [0ec2ed0a0b] - build: fix GN build for ngtcp2 (Cheng) #56300
  • [ab3e64630b] - build: test macos-13 on GitHub actions (Michaël Zasso) #56307
  • [46fb69daca] - build: build v8 with -fvisibility=hidden on macOS (Joyee Cheung) #56275
  • [9d4930b993] - deps: update simdutf to 5.7.2 (Node.js GitHub Bot) #56388
  • [6afe36397e] - deps: update amaro to 0.2.1 (Node.js GitHub Bot) #56390
  • [195990a0ee] - deps: update googletest to 7d76a23 (Node.js GitHub Bot) #56387
  • [b9c0852fc6] - deps: update googletest to e54519b (Node.js GitHub Bot) #56370
  • [eaefd90128] - deps: update ngtcp2 to 1.10.0 (Node.js GitHub Bot) #56334
  • [06de0c65cf] - deps: update simdutf to 5.7.0 (Node.js GitHub Bot) #56332
  • [03df76cdec] - doc: add example for piping ReadableStream (Gabriel Schulhof) #56415
  • [38ce249b07] - doc: expand description of parseArg's default (Kevin Gibbons) #54431
  • [ecc718cef2] - doc: use <ul> instead of <ol> in SECURITY.md (Antoine du Hamel) #56346
  • [3db4809130] - doc: clarify that WASM is trusted (Matteo Collina) #56345
  • [384ccbacd5] - doc: update macOS and Xcode versions for releases (Michaël Zasso) #56337
  • [3943986e88] - doc: fix the crc32 documentation (Kevin Toshihiro Uehara) #55898
  • [710b8fc6ed] - doc: add entry to changelog about SQLite Session Extension (Bart Louwers) #56318
  • [4c978b4d77] - doc: fix links in module.md (Antoine du Hamel) #56283
  • [cdb631efe7] - esm: add experimental support for addon modules (Chengzhong Wu) #55844
  • [db83d2f0ee] - Revert "events: add hasEventListener util for validate" (origranot) #56282
  • [c2baae84ce] - lib: refactor execution.js (Marco Ippolito) #56358
  • [c1023284c3] - (SEMVER-MINOR) lib: add typescript support to STDIN eval (Marco Ippolito) #56359
  • [e4b795ec4a] - lib: optimize prepareStackTrace on builtin frames (Chengzhong Wu) #56299
  • [d1b009b623] - lib: suppress source map lookup exceptions (Chengzhong Wu) #56299
  • [c2837f0805] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #56342
  • [72336233f2] - meta: move MoLow to TSC regular member (Moshe Atlow) #56276
  • [4f77920a9d] - module: fix async resolution error within the sync findPackageJSON (Jacob Smith) #56382
  • [e5ba216501] - (SEMVER-MINOR) module: unflag --experimental-strip-types (Marco Ippolito) #56350
  • [959f133a22] - module: support eval with ts syntax detection (Marco Ippolito) #56285
  • [717cfa4fac] - module: use buffer.toString base64 (Chengzhong Wu) #56315
  • [c2f4d8d688] - node-api: define version 10 (Gabriel Schulhof) #55676
  • [417a8ebdec] - node-api: remove deprecated attribute from napi_module_register (Vladimir Morozov) #56162
  • [8dc39e5e2e] - (SEMVER-MINOR) process: add process.ref() and process.unref() methods (James M Snell) #56400
  • [d194f1ab5f] - sqlite: pass conflict type to conflict resolution handler (Bart Louwers) #56352
  • [29f5d70452] - src: use v8::LocalVector consistently with other minor cleanups (James M Snell) #56417
  • [2a5543b78e] - src: use starts_with in fs_permission.cc (ishabi) #55811
  • [3a3f5c9a64] - stream: validate undefined sizeAlgorithm in WritableStream (Jason Zhang) #56067
  • [6e6f6b071a] - test: add ts eval snapshots (Marco Ippolito) #56358
  • [8a87e39052] - test: remove empty lines from snapshots (Marco Ippolito) #56358
  • [510649f617] - test: use unusual chars in the path to ensure our tests are robust (Antoine du Hamel) #48409
  • [54f6d681a0] - test: remove flaky designation (Luigi Pinca) #56369
  • [20ace0bb01] - test: remove test-worker-arraybuffer-zerofill flaky designation (Luigi Pinca) #56364
  • [b757e40525] - test: remove test-net-write-fully-async-hex-string flaky designation (Luigi Pinca) #56365
  • [64556baddc] - test: improve abort signal dropping test (Edy Silva) #56339
  • [accbdad329] - test: enable ts test on win arm64 (Marco Ippolito) #56349
  • [4188ee00d1] - test: deflake test-watch-file-shared-dependency (Luigi Pinca) #56344
  • [079cee0609] - test: skip test-sqlite-extensions when SQLite is not built by us (Antoine du Hamel) #56341
  • [96a38044ee] - test: increase spin for eventloop test on s390 (Michael Dawson) #56228
  • [c062ffc242] - test: add coverage for pipeline (jakecastelli) #56278
  • [d4404f0d0e] - test: migrate message eval tests from Python to JS (Yiyun Lei) #50482
  • [9369942745] - test: check typescript loader (Marco Ippolito) #54657
  • [4930244484] - test: remove async-hooks/test-writewrap flaky designation (Luigi Pinca) #56048
  • [7819bfec69] - test: deflake test-esm-loader-hooks-inspect-brk (Luigi Pinca) #56050
  • [e9762bf005] - test: add test case for listeners (origranot) #56282
  • [c1627e9d19] - test: make test-permission-sqlite-load-extension more robust (Antoine du Hamel) #56295
  • [97d854e1d5] - test_runner,cli: mark test isolation as stable (Colin Ihrig) #56298
  • [a4f336fdd4] - tools: fix require-common-first lint rule from subfolder (Antoine du Hamel) #56325
  • [dc3dafcb50] - tools: add release line label when opening release proposal (Antoine du Hamel) #56317
  • [2a5ac932ac] - url: use resolved path to convert UNC paths to URL (Antoine du Hamel) #56302
  • [8b20cc212b] - (SEMVER-MINOR) worker: add eval ts input (Marco Ippolito) #56394

MoLow and others added 30 commits January 2, 2025 15:13
PR-URL: #56276
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
V8 should be built with -fvisibility=hidden, otherwise
the resulting binary would contain unnecessary symbols. In
particular, on macOS, this leads to 5000+ weak symbols
resolved at runtime, leading to a startup regression.

On macOS this also reduces the binary size about ~10MB.

It's only enabled on macOS in this patch as gcc can time out
or run out of memory on some machines in the CI with
-fvisibility=hidden.

PR-URL: #56275
Fixes: nodejs/performance#180
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Daniel Lemire <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
PR-URL: #56283
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #56295
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Xuguang Mei <[email protected]>
This reverts commit bdb6d12.

PR-URL: #56282
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jason Zhang <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
PR-URL: #56282
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jason Zhang <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
When the source map data are invalid json strings, skip construct
`SourceMap` on it. Additionally, suppress exceptions on source map
lookups and fix test runners crash on invalid source maps.

PR-URL: #56299
Refs: #56296
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Xuguang Mei <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Pietro Marchini <[email protected]>
Only invalidates source map lookup cache when a new source map is found.
This improves when user codes interleave with builtin functions, like
`array.map`.

PR-URL: #56299
Refs: #56296
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Xuguang Mei <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Pietro Marchini <[email protected]>
This commit stabilizes test isolation configuration in the
test runner.

PR-URL: #56298
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Pietro Marchini <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
The issue is the same as other tests that time out.

Refs: #54918
Refs: #54802
PR-URL: #56048
Reviewed-By: Gerhard Stöbich <[email protected]>
PR-URL: #55844
Fixes: #40541
Fixes: #55821
Reviewed-By: Guy Bedford <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #56162
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Gabriel Schulhof <[email protected]>
We are in the process of updating macOS to version 13 in the
Jenkins CI, but unfortunately this is taking longer than expected.
Add it to the GitHub actions test matrix so that we have some coverage.

Refs: nodejs/build#3686
PR-URL: #56307
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
`btoa` only supports latin-1 charset and produces invalid source
mapping urls.

PR-URL: #56315
Refs: #56296
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #56317
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #56318
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #56300
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Xuguang Mei <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #56325
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
PR-URL: #54657
Refs: #54645
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
PR-URL: #56332
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #56334
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Migrate the eval tests in the `test/message` folder from Python to JS.

PR-URL: #50482
Reviewed-By: Juan José Arboleda <[email protected]>
co-authored-by: jazelly <[email protected]>
PR-URL: #56278
Reviewed-By: Matteo Collina <[email protected]>
It was excluded as it was failing intermittently. Likely
that s390 was just so fast times were rounded down to 0.

Increase the spin time on s390x only.

Signed-off-by: Michael Dawson <[email protected]>
PR-URL: #56228
Refs: #41286
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
PR-URL: #56285
Refs: nodejs/typescript#17
Reviewed-By: Pietro Marchini <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
PR-URL: #55898
Fixes: #55800
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #55811
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jason Zhang <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
nodejs-github-bot and others added 8 commits January 2, 2025 15:28
PR-URL: #56390
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Notable runtime changes to existing APIs:
- returning `node_api_cannot_run_js` instead of
  `napi_pending_exception`.
- allow creating references to objects, functions, and symbols.

PR-URL: #55676
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: James M Snell <[email protected]>
The `process.ref(...)` and `process.unref(...)` methods are intended
to replace the use of `ref()` and `unref()` methods defined directly
on individual API objects. The existing `ref()` and `unref()` methods
will be marked as legacy and won't be removed but new APIs should use
`process.ref()` and `process.unref()` instead.

Refs: #53266
PR-URL: #56400
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
When piping a `ReadableStream` created from an `Iterable` into a
`WritableStream`, the sequence of objects in the `Iterable` must
consist of either `Buffer`s, `TypedArray`s, or `DataView`s.

Re: #56297
PR-URL: #56415
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
V8 introduced `v8::LocalVector` somewhat recently as an alternative
to using `std::vector<v8::Local<T>>` to help ensure that Local handles
are handled correctly. This updates most (but not all) of our uses
of `std::vector<v8::Local<T>>` to use `v8::LocalVector<T>` with a few
other minor cleanups encountered along the way.

PR-URL: #56417
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
PR-URL: #56388
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: James M Snell <[email protected]>
PR-URL: #56394
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Pietro Marchini <[email protected]>
nodejs-github-bot added a commit that referenced this pull request Jan 3, 2025
Notable changes:

lib:
  * (SEMVER-MINOR) add typescript support to STDIN eval (Marco Ippolito) #56359
module:
  * (SEMVER-MINOR) unflag --experimental-strip-types (Marco Ippolito) #56350
process:
  * (SEMVER-MINOR) add process.ref() and process.unref() methods (James M Snell) #56400
worker:
  * (SEMVER-MINOR) add eval ts input (Marco Ippolito) #56394

PR-URL: #56450
@github-actions github-actions bot added release Issues and PRs related to Node.js releases. v23.x v23.x Issues that can be reproduced on v23.x or PRs targeting the v23.x-staging branch. labels Jan 3, 2025
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions
  • @nodejs/loaders
  • @nodejs/node-api
  • @nodejs/performance
  • @nodejs/security-wg
  • @nodejs/tsc
  • @nodejs/typescript

@marco-ippolito marco-ippolito marked this pull request as ready for review January 3, 2025 10:20
@marco-ippolito marco-ippolito marked this pull request as draft January 3, 2025 10:22
Notable changes:

lib:
  * (SEMVER-MINOR) add typescript support to STDIN eval (Marco Ippolito) #56359
module:
  * (SEMVER-MINOR) unflag --experimental-strip-types (Marco Ippolito) #56350
process:
  * (SEMVER-MINOR) add process.ref() and process.unref() methods (James M Snell) #56400
worker:
  * (SEMVER-MINOR) add eval ts input (Marco Ippolito) #56394

PR-URL: #56450
@marco-ippolito marco-ippolito marked this pull request as ready for review January 3, 2025 10:30
@bricss
Copy link

bricss commented Jan 3, 2025

It will be magnificent ✨ to see 👀 #56274 in this release 🙄

@marco-ippolito
Copy link
Member

marco-ippolito commented Jan 3, 2025

It will be magnificent ✨ to see 👀 #56274 in this release 🙄

I see its a semver major change, so I don't know if it's possible to include it. @nodejs/releasers wdyt

@aduh95
Copy link
Contributor

aduh95 commented Jan 3, 2025

It will be magnificent ✨ to see 👀 #56274 in this release 🙄

I see its a semver major change, so I don't know if it's possible to include it. @nodejs/releasers wdyt

As Richard said in #56274 (comment), Node.js follows a semver-compatible release process, and therefor semver-major PRs are only included in the next major release. Now there seems to be discussions in the PR thread on whether that update should be considered semver-major, so if the discussion settles on "it is not semver-major", it could be included in the next release, but it wouldn't make sense to delay this release until a consensus is found IMO.
TL;DR, let's not include it in this proposal.

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

Attention: Patch coverage is 89.68254% with 78 lines in your changes missing coverage. Please review.

Project coverage is 88.55%. Comparing base (d8c3089) to head (9fa6aeb).
Report is 1 commits behind head on v23.x.

Files with missing lines Patch % Lines
lib/internal/process/execution.js 91.09% 25 Missing and 1 partial ⚠️
lib/internal/modules/esm/translators.js 85.22% 13 Missing ⚠️
lib/internal/main/eval_stdin.js 61.53% 9 Missing and 1 partial ⚠️
lib/internal/main/eval_string.js 88.23% 4 Missing ⚠️
lib/internal/main/worker_thread.js 84.61% 4 Missing ⚠️
src/module_wrap.cc 80.00% 3 Missing and 1 partial ⚠️
src/node_options.cc 63.63% 3 Missing and 1 partial ⚠️
lib/assert.js 94.00% 3 Missing ⚠️
src/node_api.cc 0.00% 1 Missing and 2 partials ⚠️
lib/internal/url.js 81.81% 2 Missing ⚠️
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##            v23.x   #56450      +/-   ##
==========================================
- Coverage   88.55%   88.55%   -0.01%     
==========================================
  Files         657      657              
  Lines      190225   190741     +516     
  Branches    36545    36622      +77     
==========================================
+ Hits       168458   168909     +451     
- Misses      14954    15003      +49     
- Partials     6813     6829      +16     
Files with missing lines Coverage Δ
lib/events.js 99.75% <100.00%> (-0.09%) ⬇️
lib/internal/bootstrap/node.js 99.56% <100.00%> (+<0.01%) ⬆️
lib/internal/modules/cjs/loader.js 98.11% <ø> (-0.01%) ⬇️
lib/internal/modules/esm/formats.js 98.64% <100.00%> (+0.09%) ⬆️
lib/internal/modules/esm/load.js 91.94% <100.00%> (+0.10%) ⬆️
lib/internal/modules/esm/loader.js 97.87% <100.00%> (+0.06%) ⬆️
lib/internal/modules/package_json_reader.js 99.39% <100.00%> (+<0.01%) ⬆️
lib/internal/modules/typescript.js 100.00% <100.00%> (ø)
lib/internal/process/per_thread.js 99.32% <100.00%> (+0.02%) ⬆️
lib/internal/source_map/prepare_stack_trace.js 95.56% <100.00%> (-1.13%) ⬇️
... and 34 more

... and 27 files with indirect coverage changes

@marco-ippolito marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 3, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 3, 2025
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jan 3, 2025

@marco-ippolito
Copy link
Member

marco-ippolito commented Jan 3, 2025

I see a babel failure in the CITGM (cc @nicolo-ribaudo):

 PASS packages/babel-plugin-proposal-decorators/test/index.js (15.302 s)
 Summary of all failing tests
 FAIL packages/babel-core/test/config-ts.js
 @babel/core config with ts > should work with simple .cts
     /home/iojs/tmp/citgm_tmp/24c5a264-6133-49c4-bef6-83851475ddd3/@babel/core/packages/babel-core/test/fixtures/config-ts/simple-cts/babel.config.cts:1
     import path from "path";
     ^^^^^^
     
     SyntaxError: Cannot use import statement outside a module
         at wrapSafe (node:internal/modules/cjs/loader:1670:18)
         at Module._compile (node:internal/modules/cjs/loader:1713:20)
         at Object.loadCTS [as .cts] (node:internal/modules/cjs/loader:1802:10)
         at Module.load (node:internal/modules/cjs/loader:1473:32)
         at Function._load (node:internal/modules/cjs/loader:1285:12)
         at TracingChannel.traceSync (node:diagnostics_channel:322:14)
         at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
         at Module.require (node:internal/modules/cjs/loader:1495:12)
         at require (node:internal/modules/helpers:135:16)
         at loadPartialConfigSync (/home/iojs/tmp/citgm_tmp/24c5a264-6133-49c4-bef6-83851475ddd3/@babel/core/packages/babel-core/src/config/index.ts:50:60)
         at file:///home/iojs/tmp/citgm_tmp/24c5a264-6133-49c4-bef6-83851475ddd3/@babel/core/packages/babel-core/test/config-ts.js?1735910074539:25:20
         at async file:///home/iojs/tmp/citgm_tmp/24c5a264-6133-49c4-bef6-83851475ddd3/@babel/core/node_modules/tinypool/dist/esm/entry/worker.js:71:20
 @babel/core config with ts > should throw with invalid .ts register
     Error: expect(received).toThrow(expected)
     
     Expected pattern: /Unexpected identifier.*/
     
     Received function did not throw
         at file:///home/iojs/tmp/citgm_tmp/24c5a264-6133-49c4-bef6-83851475ddd3/@babel/core/packages/babel-core/test/config-ts.js?1735910074539:53:10
         at async file:///home/iojs/tmp/citgm_tmp/24c5a264-6133-49c4-bef6-83851475ddd3/@babel/core/node_modules/tinypool/dist/esm/entry/worker.js:71:20

It seems the error changed

@kuncevic
Copy link

kuncevic commented Jan 3, 2025

Will it be backported down to v22?

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@marco-ippolito
Copy link
Member

Will it be backported down to v22?

What commit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Issues and PRs related to Node.js releases. v23.x v23.x Issues that can be reproduced on v23.x or PRs targeting the v23.x-staging branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.