node-linux-s390x 22.5.1 → 22.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,7 @@
8
8
  </tr>
9
9
  <tr>
10
10
  <td>
11
+ <a href="#22.6.0">22.6.0</a><br/>
11
12
  <a href="#22.5.1">22.5.1</a><br/>
12
13
  <a href="#22.5.0">22.5.0</a><br/>
13
14
  <a href="#22.4.1">22.4.1</a><br/>
@@ -44,6 +45,177 @@
44
45
  * [io.js](CHANGELOG_IOJS.md)
45
46
  * [Archive](CHANGELOG_ARCHIVE.md)
46
47
 
48
+ <a id="22.6.0"></a>
49
+
50
+ ## 2024-08-06, Version 22.6.0 (Current), @RafaelGSS
51
+
52
+ ### Experimental TypeScript support via strip types
53
+
54
+ Node.js introduces the `--experimental-strip-types` flag for initial TypeScript support.
55
+ This feature strips type annotations from .ts files, allowing them to run
56
+ without transforming TypeScript-specific syntax. Current limitations include:
57
+
58
+ * Supports only inline type annotations, not features like `enums` or `namespaces`.
59
+ * Requires explicit file extensions in import and require statements.
60
+ * Enforces the use of the type keyword for type imports to avoid runtime errors.
61
+ * Disabled for TypeScript in _node\_modules_ by default.
62
+
63
+ Thanks [Marco Ippolito](https://github.com/marco-ippolito) for working on this.
64
+
65
+ ### Experimental Network Inspection Support in Node.js
66
+
67
+ This update introduces the initial support for network inspection in Node.js.
68
+ Currently, this is an experimental feature, so you need to enable it using the `--experimental-network-inspection` flag.
69
+ With this feature enabled, you can inspect network activities occurring within a JavaScript application.
70
+
71
+ To use network inspection, start your Node.js application with the following command:
72
+
73
+ ```console
74
+ $ node --inspect-wait --experimental-network-inspection index.js
75
+ ```
76
+
77
+ Please note that the network inspection capabilities are in active development.
78
+ We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
79
+
80
+ * Network inspection is limited to the `http` and `https` modules only.
81
+ * The Network tab in Chrome DevTools will not be available until the
82
+ [feature request on the Chrome DevTools side](https://issues.chromium.org/issues/353924015) is addressed.
83
+
84
+ Thanks [Kohei Ueno](https://github.com/cola119) for working on this.
85
+
86
+ ### Other Notable Changes
87
+
88
+ * \[[`15a94e67b1`](https://github.com/nodejs/node/commit/15a94e67b1)] - **lib,src**: drop --experimental-network-imports (Rafael Gonzaga) [#53822](https://github.com/nodejs/node/pull/53822)
89
+ * \[[`68e444d2d8`](https://github.com/nodejs/node/commit/68e444d2d8)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://github.com/nodejs/node/pull/54054)
90
+ * \[[`2d982d3dee`](https://github.com/nodejs/node/commit/2d982d3dee)] - **(SEMVER-MINOR)** **deps**: V8: backport 7857eb34db42 (Stephen Belanger) [#53997](https://github.com/nodejs/node/pull/53997)
91
+ * \[[`15816bd0dd`](https://github.com/nodejs/node/commit/15816bd0dd)] - **(SEMVER-MINOR)** **stream**: expose DuplexPair API (Austin Wright) [#34111](https://github.com/nodejs/node/pull/34111)
92
+ * \[[`893c864542`](https://github.com/nodejs/node/commit/893c864542)] - **(SEMVER-MINOR)** **test\_runner**: fix support watch with run(), add globPatterns option (Matteo Collina) [#53866](https://github.com/nodejs/node/pull/53866)
93
+ * \[[`048d421ad1`](https://github.com/nodejs/node/commit/048d421ad1)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://github.com/nodejs/node/pull/54004)
94
+ * \[[`6ad6e01bf3`](https://github.com/nodejs/node/commit/6ad6e01bf3)] - **(SEMVER-MINOR)** **test\_runner**: refactor snapshots to get file from context (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
95
+ * \[[`698e44f8e7`](https://github.com/nodejs/node/commit/698e44f8e7)] - **(SEMVER-MINOR)** **test\_runner**: add context.filePath (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
96
+
97
+ ### Commits
98
+
99
+ * \[[`063f46dc2a`](https://github.com/nodejs/node/commit/063f46dc2a)] - **assert**: use isError instead of instanceof in innerOk (Pietro Marchini) [#53980](https://github.com/nodejs/node/pull/53980)
100
+ * \[[`10bea42f81`](https://github.com/nodejs/node/commit/10bea42f81)] - **build**: update gcovr to 7.2 and codecov config (Benjamin E. Coe) [#54019](https://github.com/nodejs/node/pull/54019)
101
+ * \[[`7c417c6cf4`](https://github.com/nodejs/node/commit/7c417c6cf4)] - **build**: avoid compiling with VS v17.10 (Hüseyin Açacak) [#53863](https://github.com/nodejs/node/pull/53863)
102
+ * \[[`ee97c045b4`](https://github.com/nodejs/node/commit/ee97c045b4)] - **build**: ensure v8\_pointer\_compression\_sandbox is enabled on 64bit (Shelley Vohr) [#53884](https://github.com/nodejs/node/pull/53884)
103
+ * \[[`bfbed0afd5`](https://github.com/nodejs/node/commit/bfbed0afd5)] - **build**: fix conflict gyp configs (Chengzhong Wu) [#53605](https://github.com/nodejs/node/pull/53605)
104
+ * \[[`0f1fe63e32`](https://github.com/nodejs/node/commit/0f1fe63e32)] - **build**: trigger coverage ci when updating codecov (Yagiz Nizipli) [#53929](https://github.com/nodejs/node/pull/53929)
105
+ * \[[`ad62b945f0`](https://github.com/nodejs/node/commit/ad62b945f0)] - **build**: update codecov coverage build count (Yagiz Nizipli) [#53929](https://github.com/nodejs/node/pull/53929)
106
+ * \[[`3c40868fd3`](https://github.com/nodejs/node/commit/3c40868fd3)] - **build**: disable test-asan workflow (Michaël Zasso) [#53844](https://github.com/nodejs/node/pull/53844)
107
+ * \[[`2a62d6ca57`](https://github.com/nodejs/node/commit/2a62d6ca57)] - **build, tools**: drop leading `/` from `r2dir` (Richard Lau) [#53951](https://github.com/nodejs/node/pull/53951)
108
+ * \[[`9c7b009f47`](https://github.com/nodejs/node/commit/9c7b009f47)] - **build,tools**: simplify upload of shasum signatures (Michaël Zasso) [#53892](https://github.com/nodejs/node/pull/53892)
109
+ * \[[`057bd44f9f`](https://github.com/nodejs/node/commit/057bd44f9f)] - **child\_process**: fix incomplete prototype pollution hardening (Liran Tal) [#53781](https://github.com/nodejs/node/pull/53781)
110
+ * \[[`66f7c595c7`](https://github.com/nodejs/node/commit/66f7c595c7)] - **cli**: document `--inspect` port `0` behavior (Aviv Keller) [#53782](https://github.com/nodejs/node/pull/53782)
111
+ * \[[`fad3e74b47`](https://github.com/nodejs/node/commit/fad3e74b47)] - **console**: fix issues with frozen intrinsics (Vinicius Lourenço) [#54070](https://github.com/nodejs/node/pull/54070)
112
+ * \[[`e685ecd7ae`](https://github.com/nodejs/node/commit/e685ecd7ae)] - **deps**: update corepack to 0.29.3 (Node.js GitHub Bot) [#54072](https://github.com/nodejs/node/pull/54072)
113
+ * \[[`e5f7250e6d`](https://github.com/nodejs/node/commit/e5f7250e6d)] - **deps**: update amaro to 0.0.6 (Node.js GitHub Bot) [#54199](https://github.com/nodejs/node/pull/54199)
114
+ * \[[`2c1e9082e8`](https://github.com/nodejs/node/commit/2c1e9082e8)] - **deps**: update amaro to 0.0.5 (Node.js GitHub Bot) [#54199](https://github.com/nodejs/node/pull/54199)
115
+ * \[[`2d982d3dee`](https://github.com/nodejs/node/commit/2d982d3dee)] - **(SEMVER-MINOR)** **deps**: V8: backport 7857eb34db42 (Stephen Belanger) [#53997](https://github.com/nodejs/node/pull/53997)
116
+ * \[[`1061898462`](https://github.com/nodejs/node/commit/1061898462)] - **deps**: update c-ares to v1.32.3 (Node.js GitHub Bot) [#54020](https://github.com/nodejs/node/pull/54020)
117
+ * \[[`f4a7ac5e18`](https://github.com/nodejs/node/commit/f4a7ac5e18)] - **deps**: V8: cherry-pick 35888fee7bba (Joyee Cheung) [#53728](https://github.com/nodejs/node/pull/53728)
118
+ * \[[`1176310226`](https://github.com/nodejs/node/commit/1176310226)] - **deps**: add gn build files for ncrypto (Cheng) [#53940](https://github.com/nodejs/node/pull/53940)
119
+ * \[[`7a1d5a4f84`](https://github.com/nodejs/node/commit/7a1d5a4f84)] - **deps**: update c-ares to v1.32.2 (Node.js GitHub Bot) [#53865](https://github.com/nodejs/node/pull/53865)
120
+ * \[[`66f6a2aec9`](https://github.com/nodejs/node/commit/66f6a2aec9)] - **deps**: V8: cherry-pick 9812cb486e2b (Michaël Zasso) [#53966](https://github.com/nodejs/node/pull/53966)
121
+ * \[[`8e66a18ef0`](https://github.com/nodejs/node/commit/8e66a18ef0)] - **deps**: start working on ncrypto dep (James M Snell) [#53803](https://github.com/nodejs/node/pull/53803)
122
+ * \[[`c114082b12`](https://github.com/nodejs/node/commit/c114082b12)] - **deps**: fix include\_dirs of nbytes (Cheng) [#53862](https://github.com/nodejs/node/pull/53862)
123
+ * \[[`b7315281be`](https://github.com/nodejs/node/commit/b7315281be)] - **doc**: move numCPUs require to top of file in cluster CJS example (Alfredo González) [#53932](https://github.com/nodejs/node/pull/53932)
124
+ * \[[`8e7c30c2a4`](https://github.com/nodejs/node/commit/8e7c30c2a4)] - **doc**: update security-release process to automated one (Rafael Gonzaga) [#53877](https://github.com/nodejs/node/pull/53877)
125
+ * \[[`52a4206be2`](https://github.com/nodejs/node/commit/52a4206be2)] - **doc**: fix typo in technical-priorities.md (YoonSoo\_Shin) [#54094](https://github.com/nodejs/node/pull/54094)
126
+ * \[[`30e18a04a3`](https://github.com/nodejs/node/commit/30e18a04a3)] - **doc**: fix typo in diagnostic tooling support tiers document (Taejin Kim) [#54058](https://github.com/nodejs/node/pull/54058)
127
+ * \[[`58aebfd31e`](https://github.com/nodejs/node/commit/58aebfd31e)] - **doc**: move GeoffreyBooth to TSC regular member (Geoffrey Booth) [#54047](https://github.com/nodejs/node/pull/54047)
128
+ * \[[`c1634c7213`](https://github.com/nodejs/node/commit/c1634c7213)] - **doc**: correct typescript stdin support (Marco Ippolito) [#54036](https://github.com/nodejs/node/pull/54036)
129
+ * \[[`64812d5c22`](https://github.com/nodejs/node/commit/64812d5c22)] - **doc**: fix typo in recognizing-contributors (Marco Ippolito) [#53990](https://github.com/nodejs/node/pull/53990)
130
+ * \[[`6b35994b6f`](https://github.com/nodejs/node/commit/6b35994b6f)] - **doc**: fix documentation for `--run` (Aviv Keller) [#53976](https://github.com/nodejs/node/pull/53976)
131
+ * \[[`04d203a233`](https://github.com/nodejs/node/commit/04d203a233)] - **doc**: update boxstarter README (Aviv Keller) [#53785](https://github.com/nodejs/node/pull/53785)
132
+ * \[[`86fa46db1c`](https://github.com/nodejs/node/commit/86fa46db1c)] - **doc**: add info about prefix-only modules to `module.builtinModules` (Grigory) [#53954](https://github.com/nodejs/node/pull/53954)
133
+ * \[[`defdc3c568`](https://github.com/nodejs/node/commit/defdc3c568)] - **doc**: remove `scroll-behavior: smooth;` (Cloyd Lau) [#53942](https://github.com/nodejs/node/pull/53942)
134
+ * \[[`e907236dd9`](https://github.com/nodejs/node/commit/e907236dd9)] - **doc**: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) [#53926](https://github.com/nodejs/node/pull/53926)
135
+ * \[[`8bf9960b98`](https://github.com/nodejs/node/commit/8bf9960b98)] - **doc**: add `--experimental-sqlite` note (Aviv Keller) [#53907](https://github.com/nodejs/node/pull/53907)
136
+ * \[[`d7615004d8`](https://github.com/nodejs/node/commit/d7615004d8)] - **doc**: update `api_assets` README for new files (Aviv Keller) [#53676](https://github.com/nodejs/node/pull/53676)
137
+ * \[[`63cf715aa0`](https://github.com/nodejs/node/commit/63cf715aa0)] - **doc**: add MattiasBuelens to collaborators (Mattias Buelens) [#53895](https://github.com/nodejs/node/pull/53895)
138
+ * \[[`5b8dd78112`](https://github.com/nodejs/node/commit/5b8dd78112)] - **doc**: fix release date for 22.5.0 (Antoine du Hamel) [#53889](https://github.com/nodejs/node/pull/53889)
139
+ * \[[`dd2c0f349a`](https://github.com/nodejs/node/commit/dd2c0f349a)] - **doc**: fix casing of GitHub handle for two collaborators (Antoine du Hamel) [#53857](https://github.com/nodejs/node/pull/53857)
140
+ * \[[`b47c2308e1`](https://github.com/nodejs/node/commit/b47c2308e1)] - **doc**: update release-post nodejs.org script (Rafael Gonzaga) [#53762](https://github.com/nodejs/node/pull/53762)
141
+ * \[[`88539527d5`](https://github.com/nodejs/node/commit/88539527d5)] - **doc, test**: tracing channel hasSubscribers getter (Thomas Hunter II) [#52908](https://github.com/nodejs/node/pull/52908)
142
+ * \[[`44a08f75b0`](https://github.com/nodejs/node/commit/44a08f75b0)] - **doc,tools**: enforce use of `node:` prefix (Antoine du Hamel) [#53950](https://github.com/nodejs/node/pull/53950)
143
+ * \[[`87bab76df2`](https://github.com/nodejs/node/commit/87bab76df2)] - **doc,tty**: add documentation for ReadStream and WriteStream (jakecastelli) [#53567](https://github.com/nodejs/node/pull/53567)
144
+ * \[[`dcca9ba560`](https://github.com/nodejs/node/commit/dcca9ba560)] - **esm**: refactor `get_format` (Antoine du Hamel) [#53872](https://github.com/nodejs/node/pull/53872)
145
+ * \[[`5e03c17aae`](https://github.com/nodejs/node/commit/5e03c17aae)] - **fs**: optimize `fs.cpSync` js calls (Yagiz Nizipli) [#53614](https://github.com/nodejs/node/pull/53614)
146
+ * \[[`e0054ee0a7`](https://github.com/nodejs/node/commit/e0054ee0a7)] - **fs**: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) [#53776](https://github.com/nodejs/node/pull/53776)
147
+ * \[[`8086337ea9`](https://github.com/nodejs/node/commit/8086337ea9)] - **fs**: remove unnecessary option argument validation (Jonas) [#53861](https://github.com/nodejs/node/pull/53861)
148
+ * \[[`b377b93a3f`](https://github.com/nodejs/node/commit/b377b93a3f)] - **fs**: correctly pass dirent to exclude `withFileTypes` (RedYetiDev) [#53823](https://github.com/nodejs/node/pull/53823)
149
+ * \[[`68e444d2d8`](https://github.com/nodejs/node/commit/68e444d2d8)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://github.com/nodejs/node/pull/54054)
150
+ * \[[`de1fbc292f`](https://github.com/nodejs/node/commit/de1fbc292f)] - **(SEMVER-MINOR)** **inspector**: add initial support for network inspection (Kohei Ueno) [#53593](https://github.com/nodejs/node/pull/53593)
151
+ * \[[`744df0be24`](https://github.com/nodejs/node/commit/744df0be24)] - **lib**: support dynamic trace events on debugWithTimer (Vinicius Lourenço) [#53913](https://github.com/nodejs/node/pull/53913)
152
+ * \[[`546dab29c1`](https://github.com/nodejs/node/commit/546dab29c1)] - **lib**: optimize copyError with ObjectAssign in primordials (HEESEUNG) [#53999](https://github.com/nodejs/node/pull/53999)
153
+ * \[[`494df9835a`](https://github.com/nodejs/node/commit/494df9835a)] - **lib**: improve cluster/primary code (Ehsan Khakifirooz) [#53756](https://github.com/nodejs/node/pull/53756)
154
+ * \[[`03f353293b`](https://github.com/nodejs/node/commit/03f353293b)] - **lib**: improve error message when index not found on cjs (Vinicius Lourenço) [#53859](https://github.com/nodejs/node/pull/53859)
155
+ * \[[`d8375d6236`](https://github.com/nodejs/node/commit/d8375d6236)] - **lib**: decorate async stack trace in source maps (Chengzhong Wu) [#53860](https://github.com/nodejs/node/pull/53860)
156
+ * \[[`15a94e67b1`](https://github.com/nodejs/node/commit/15a94e67b1)] - **lib,src**: drop --experimental-network-imports (Rafael Gonzaga) [#53822](https://github.com/nodejs/node/pull/53822)
157
+ * \[[`a6eedc401d`](https://github.com/nodejs/node/commit/a6eedc401d)] - **meta**: add `sqlite` to js subsystems (Alex Yang) [#53911](https://github.com/nodejs/node/pull/53911)
158
+ * \[[`21098856de`](https://github.com/nodejs/node/commit/21098856de)] - **meta**: move tsc member to emeritus (Michael Dawson) [#54029](https://github.com/nodejs/node/pull/54029)
159
+ * \[[`048d421ad1`](https://github.com/nodejs/node/commit/048d421ad1)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://github.com/nodejs/node/pull/54004)
160
+ * \[[`20a8c96c41`](https://github.com/nodejs/node/commit/20a8c96c41)] - **meta**: remove license for hljs (Aviv Keller) [#53970](https://github.com/nodejs/node/pull/53970)
161
+ * \[[`2fd4ac4859`](https://github.com/nodejs/node/commit/2fd4ac4859)] - **meta**: make more bug-report information required (Aviv Keller) [#53718](https://github.com/nodejs/node/pull/53718)
162
+ * \[[`b312ec0b0c`](https://github.com/nodejs/node/commit/b312ec0b0c)] - **meta**: reword linter messages (Aviv Keller) [#53949](https://github.com/nodejs/node/pull/53949)
163
+ * \[[`d2526126a9`](https://github.com/nodejs/node/commit/d2526126a9)] - **meta**: store actions secrets in environment (Aviv Keller) [#53930](https://github.com/nodejs/node/pull/53930)
164
+ * \[[`1688f00dce`](https://github.com/nodejs/node/commit/1688f00dce)] - **meta**: move anonrig to tsc voting members (Yagiz Nizipli) [#53888](https://github.com/nodejs/node/pull/53888)
165
+ * \[[`c20e8418de`](https://github.com/nodejs/node/commit/c20e8418de)] - **module**: fix strip-types interaction with detect-module (Marco Ippolito) [#54164](https://github.com/nodejs/node/pull/54164)
166
+ * \[[`ab1f0b415f`](https://github.com/nodejs/node/commit/ab1f0b415f)] - **module**: fix extensionless typescript in cjs loader (Marco Ippolito) [#54062](https://github.com/nodejs/node/pull/54062)
167
+ * \[[`92439fc160`](https://github.com/nodejs/node/commit/92439fc160)] - **(SEMVER-MINOR)** **module**: add --experimental-strip-types (Marco Ippolito) [#53725](https://github.com/nodejs/node/pull/53725)
168
+ * \[[`f755d31bec`](https://github.com/nodejs/node/commit/f755d31bec)] - **node-api**: add property keys benchmark (Chengzhong Wu) [#54012](https://github.com/nodejs/node/pull/54012)
169
+ * \[[`7382eefae5`](https://github.com/nodejs/node/commit/7382eefae5)] - **node-api**: rename nogc to basic (Gabriel Schulhof) [#53830](https://github.com/nodejs/node/pull/53830)
170
+ * \[[`2c4470625b`](https://github.com/nodejs/node/commit/2c4470625b)] - **process**: unify experimental warning messages (Aviv Keller) [#53704](https://github.com/nodejs/node/pull/53704)
171
+ * \[[`98a7ad2e0d`](https://github.com/nodejs/node/commit/98a7ad2e0d)] - **src**: expose LookupAndCompile with parameters (Shelley Vohr) [#53886](https://github.com/nodejs/node/pull/53886)
172
+ * \[[`dd3c66be0a`](https://github.com/nodejs/node/commit/dd3c66be0a)] - **src**: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) [#53890](https://github.com/nodejs/node/pull/53890)
173
+ * \[[`ee82f224ff`](https://github.com/nodejs/node/commit/ee82f224ff)] - **src**: remove redundant RsaPointer (use RSAPointer) (James M Snell) [#54003](https://github.com/nodejs/node/pull/54003)
174
+ * \[[`2d77bd2929`](https://github.com/nodejs/node/commit/2d77bd2929)] - **src**: fix -Wshadow warning (Shelley Vohr) [#53885](https://github.com/nodejs/node/pull/53885)
175
+ * \[[`bd4a9ffe8c`](https://github.com/nodejs/node/commit/bd4a9ffe8c)] - **src**: start using ncrypto for CSPRNG calls (James M Snell) [#53984](https://github.com/nodejs/node/pull/53984)
176
+ * \[[`3fdcf7a47d`](https://github.com/nodejs/node/commit/3fdcf7a47d)] - **src**: return `undefined` if no rows are returned in SQLite (Deokjin Kim) [#53981](https://github.com/nodejs/node/pull/53981)
177
+ * \[[`ca6854443d`](https://github.com/nodejs/node/commit/ca6854443d)] - **src**: fix slice of slice of file-backed Blob (Josh Lee) [#53972](https://github.com/nodejs/node/pull/53972)
178
+ * \[[`c457f9ed5a`](https://github.com/nodejs/node/commit/c457f9ed5a)] - **src**: cache invariant code motion (Rafael Gonzaga) [#53879](https://github.com/nodejs/node/pull/53879)
179
+ * \[[`fd0da6c2cf`](https://github.com/nodejs/node/commit/fd0da6c2cf)] - **src**: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) [#53813](https://github.com/nodejs/node/pull/53813)
180
+ * \[[`fbf74bcf99`](https://github.com/nodejs/node/commit/fbf74bcf99)] - **src**: switch from ToLocalChecked to ToLocal in node\_webstorage (James M Snell) [#53959](https://github.com/nodejs/node/pull/53959)
181
+ * \[[`04bb6778e5`](https://github.com/nodejs/node/commit/04bb6778e5)] - **src**: move `ToNamespacedPath` call of webstorage (Yagiz Nizipli) [#53875](https://github.com/nodejs/node/pull/53875)
182
+ * \[[`9ffaf763e9`](https://github.com/nodejs/node/commit/9ffaf763e9)] - **src**: use Maybe\<void> in SecureContext (Tobias Nießen) [#53883](https://github.com/nodejs/node/pull/53883)
183
+ * \[[`a94c3ae06f`](https://github.com/nodejs/node/commit/a94c3ae06f)] - **src**: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) [#53869](https://github.com/nodejs/node/pull/53869)
184
+ * \[[`55461be05f`](https://github.com/nodejs/node/commit/55461be05f)] - **src**: refactor webstorage implementation (Yagiz Nizipli) [#53876](https://github.com/nodejs/node/pull/53876)
185
+ * \[[`c53cf449a6`](https://github.com/nodejs/node/commit/c53cf449a6)] - **src**: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) [#53786](https://github.com/nodejs/node/pull/53786)
186
+ * \[[`bac3a485f6`](https://github.com/nodejs/node/commit/bac3a485f6)] - **src**: fix potential segmentation fault in SQLite (Tobias Nießen) [#53850](https://github.com/nodejs/node/pull/53850)
187
+ * \[[`df5083e5f9`](https://github.com/nodejs/node/commit/df5083e5f9)] - **src,lib**: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) [#53602](https://github.com/nodejs/node/pull/53602)
188
+ * \[[`8664b9ad60`](https://github.com/nodejs/node/commit/8664b9ad60)] - **src,test**: disallow unsafe integer coercion in SQLite (Tobias Nießen) [#53851](https://github.com/nodejs/node/pull/53851)
189
+ * \[[`15816bd0dd`](https://github.com/nodejs/node/commit/15816bd0dd)] - **(SEMVER-MINOR)** **stream**: expose DuplexPair API (Austin Wright) [#34111](https://github.com/nodejs/node/pull/34111)
190
+ * \[[`718f6bc78c`](https://github.com/nodejs/node/commit/718f6bc78c)] - **test**: do not swallow uncaughtException errors in exit code tests (Meghan Denny) [#54039](https://github.com/nodejs/node/pull/54039)
191
+ * \[[`c6656c9251`](https://github.com/nodejs/node/commit/c6656c9251)] - **test**: move shared module to `test/common` (Rich Trott) [#54042](https://github.com/nodejs/node/pull/54042)
192
+ * \[[`e471e32d46`](https://github.com/nodejs/node/commit/e471e32d46)] - **test**: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) [#53996](https://github.com/nodejs/node/pull/53996)
193
+ * \[[`61971ec929`](https://github.com/nodejs/node/commit/61971ec929)] - **test**: remove unnecessary console log (KAYYY) [#53812](https://github.com/nodejs/node/pull/53812)
194
+ * \[[`1344bd2d6f`](https://github.com/nodejs/node/commit/1344bd2d6f)] - **test**: add comments and rename test for timer robustness (Rich Trott) [#54008](https://github.com/nodejs/node/pull/54008)
195
+ * \[[`da3573409c`](https://github.com/nodejs/node/commit/da3573409c)] - **test**: add test for one arg timers to increase coverage (Carlos Espa) [#54007](https://github.com/nodejs/node/pull/54007)
196
+ * \[[`fc67abd97e`](https://github.com/nodejs/node/commit/fc67abd97e)] - **test**: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) [#54031](https://github.com/nodejs/node/pull/54031)
197
+ * \[[`aa0ac3b57c`](https://github.com/nodejs/node/commit/aa0ac3b57c)] - **test**: mark test-pipe-file-to-http as flaky (jakecastelli) [#53751](https://github.com/nodejs/node/pull/53751)
198
+ * \[[`52bc8ec360`](https://github.com/nodejs/node/commit/52bc8ec360)] - **test**: compare paths on Windows without considering case (Early Riser) [#53993](https://github.com/nodejs/node/pull/53993)
199
+ * \[[`7e8a609579`](https://github.com/nodejs/node/commit/7e8a609579)] - **test**: skip sea tests in large debug builds (Chengzhong Wu) [#53918](https://github.com/nodejs/node/pull/53918)
200
+ * \[[`30a94ca0c4`](https://github.com/nodejs/node/commit/30a94ca0c4)] - **test**: skip --title check on IBM i (Abdirahim Musse) [#53952](https://github.com/nodejs/node/pull/53952)
201
+ * \[[`5cea7ed706`](https://github.com/nodejs/node/commit/5cea7ed706)] - **test**: reduce flakiness of `test-assert-esm-cjs-message-verify` (Antoine du Hamel) [#53967](https://github.com/nodejs/node/pull/53967)
202
+ * \[[`58cb0dd8a6`](https://github.com/nodejs/node/commit/58cb0dd8a6)] - **test**: use `PYTHON` executable from env in `assertSnapshot` (Antoine du Hamel) [#53938](https://github.com/nodejs/node/pull/53938)
203
+ * \[[`c247582591`](https://github.com/nodejs/node/commit/c247582591)] - **test**: deflake test-blob-file-backed (Luigi Pinca) [#53920](https://github.com/nodejs/node/pull/53920)
204
+ * \[[`3999021653`](https://github.com/nodejs/node/commit/3999021653)] - **test\_runner**: switched to internal readline interface (Emil Tayeb) [#54000](https://github.com/nodejs/node/pull/54000)
205
+ * \[[`3fb97a90ee`](https://github.com/nodejs/node/commit/3fb97a90ee)] - **test\_runner**: remove redundant bootstrap boolean (Colin Ihrig) [#54013](https://github.com/nodejs/node/pull/54013)
206
+ * \[[`edd80e2bdc`](https://github.com/nodejs/node/commit/edd80e2bdc)] - **test\_runner**: do not throw on mocked clearTimeout() (Aksinya Bykova) [#54005](https://github.com/nodejs/node/pull/54005)
207
+ * \[[`893c864542`](https://github.com/nodejs/node/commit/893c864542)] - **(SEMVER-MINOR)** **test\_runner**: fix support watch with run(), add globPatterns option (Matteo Collina) [#53866](https://github.com/nodejs/node/pull/53866)
208
+ * \[[`4887213f2e`](https://github.com/nodejs/node/commit/4887213f2e)] - **test\_runner**: added colors to dot reporter (Giovanni) [#53450](https://github.com/nodejs/node/pull/53450)
209
+ * \[[`c4848c53e6`](https://github.com/nodejs/node/commit/c4848c53e6)] - **test\_runner**: cleanup global event listeners after run (Eddie Abbondanzio) [#53878](https://github.com/nodejs/node/pull/53878)
210
+ * \[[`876e7b3226`](https://github.com/nodejs/node/commit/876e7b3226)] - **test\_runner**: refactor coverage to pass in config options (Colin Ihrig) [#53931](https://github.com/nodejs/node/pull/53931)
211
+ * \[[`f45edb4b5e`](https://github.com/nodejs/node/commit/f45edb4b5e)] - **test\_runner**: refactor and simplify internals (Colin Ihrig) [#53921](https://github.com/nodejs/node/pull/53921)
212
+ * \[[`6ad6e01bf3`](https://github.com/nodejs/node/commit/6ad6e01bf3)] - **(SEMVER-MINOR)** **test\_runner**: refactor snapshots to get file from context (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
213
+ * \[[`698e44f8e7`](https://github.com/nodejs/node/commit/698e44f8e7)] - **(SEMVER-MINOR)** **test\_runner**: add context.filePath (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
214
+ * \[[`97da7ca11b`](https://github.com/nodejs/node/commit/97da7ca11b)] - **test\_runner**: consolidate option parsing (Colin Ihrig) [#53849](https://github.com/nodejs/node/pull/53849)
215
+ * \[[`43afcbf9dd`](https://github.com/nodejs/node/commit/43afcbf9dd)] - **tools**: fix `SLACK_TITLE` in invalid commit workflow (Antoine du Hamel) [#53912](https://github.com/nodejs/node/pull/53912)
216
+ * \[[`eed0963391`](https://github.com/nodejs/node/commit/eed0963391)] - **typings**: apply lint (1ilsang) [#54065](https://github.com/nodejs/node/pull/54065)
217
+ * \[[`e8ea49b256`](https://github.com/nodejs/node/commit/e8ea49b256)] - **typings**: fix typo on quic onSessionDatagram (1ilsang) [#54064](https://github.com/nodejs/node/pull/54064)
218
+
47
219
  <a id="22.5.1"></a>
48
220
 
49
221
  ## 2024-07-19, Version 22.5.1 (Current), @richardlau
@@ -62,7 +234,7 @@ This release fixes a regression introduced in Node.js 22.5.0. The problem is kno
62
234
 
63
235
  <a id="22.5.0"></a>
64
236
 
65
- ## 2024-07-16, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95
237
+ ## 2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95
66
238
 
67
239
  ### Notable Changes
68
240
 
package/LICENSE CHANGED
@@ -130,6 +130,31 @@ The externally maintained libraries used by Node.js are:
130
130
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
131
131
  """
132
132
 
133
+ - amaro, located at deps/amaro, is licensed as follows:
134
+ """
135
+ MIT License
136
+
137
+ Copyright (c) Marco Ippolito and Amaro contributors
138
+
139
+ Permission is hereby granted, free of charge, to any person obtaining a copy
140
+ of this software and associated documentation files (the "Software"), to deal
141
+ in the Software without restriction, including without limitation the rights
142
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
143
+ copies of the Software, and to permit persons to whom the Software is
144
+ furnished to do so, subject to the following conditions:
145
+
146
+ The above copyright notice and this permission notice shall be included in all
147
+ copies or substantial portions of the Software.
148
+
149
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
150
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
151
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
152
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
153
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
154
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
155
+ SOFTWARE.
156
+ """
157
+
133
158
  - ICU, located at deps/icu-small, is licensed as follows:
134
159
  """
135
160
  UNICODE LICENSE V3
@@ -2194,39 +2219,6 @@ The externally maintained libraries used by Node.js are:
2194
2219
  THE POSSIBILITY OF SUCH DAMAGE.
2195
2220
  """
2196
2221
 
2197
- - highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows:
2198
- """
2199
- BSD 3-Clause License
2200
-
2201
- Copyright (c) 2006, Ivan Sagalaev.
2202
- All rights reserved.
2203
-
2204
- Redistribution and use in source and binary forms, with or without
2205
- modification, are permitted provided that the following conditions are met:
2206
-
2207
- * Redistributions of source code must retain the above copyright notice, this
2208
- list of conditions and the following disclaimer.
2209
-
2210
- * Redistributions in binary form must reproduce the above copyright notice,
2211
- this list of conditions and the following disclaimer in the documentation
2212
- and/or other materials provided with the distribution.
2213
-
2214
- * Neither the name of the copyright holder nor the names of its
2215
- contributors may be used to endorse or promote products derived from
2216
- this software without specific prior written permission.
2217
-
2218
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2219
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2220
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2221
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2222
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2223
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2224
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2225
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2226
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2227
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2228
- """
2229
-
2230
2222
  - node-heapdump, located at src/heap_utils.cc, is licensed as follows:
2231
2223
  """
2232
2224
  ISC License
package/README.md CHANGED
@@ -164,14 +164,12 @@ For information about the governance of the Node.js project, see
164
164
 
165
165
  * [aduh95](https://github.com/aduh95) -
166
166
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
167
- * [apapirovski](https://github.com/apapirovski) -
168
- **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
167
+ * [anonrig](https://github.com/anonrig) -
168
+ **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
169
169
  * [benjamingr](https://github.com/benjamingr) -
170
170
  **Benjamin Gruenbaum** <<benjamingr@gmail.com>>
171
171
  * [BridgeAR](https://github.com/BridgeAR) -
172
172
  **Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
173
- * [GeoffreyBooth](https://github.com/geoffreybooth) -
174
- **Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
175
173
  * [gireeshpunathil](https://github.com/gireeshpunathil) -
176
174
  **Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
177
175
  * [jasnell](https://github.com/jasnell) -
@@ -205,8 +203,8 @@ For information about the governance of the Node.js project, see
205
203
 
206
204
  #### TSC regular members
207
205
 
208
- * [anonrig](https://github.com/anonrig) -
209
- **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
206
+ * [apapirovski](https://github.com/apapirovski) -
207
+ **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
210
208
  * [BethGriggs](https://github.com/BethGriggs) -
211
209
  **Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
212
210
  * [bnoordhuis](https://github.com/bnoordhuis) -
@@ -215,6 +213,8 @@ For information about the governance of the Node.js project, see
215
213
  **Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
216
214
  * [codebytere](https://github.com/codebytere) -
217
215
  **Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
216
+ * [GeoffreyBooth](https://github.com/GeoffreyBooth) -
217
+ **Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
218
218
  * [Trott](https://github.com/Trott) -
219
219
  **Rich Trott** <<rtrott@gmail.com>> (he/him)
220
220
 
@@ -329,7 +329,7 @@ For information about the governance of the Node.js project, see
329
329
  **Deokjin Kim** <<deokjin81.kim@gmail.com>> (he/him)
330
330
  * [edsadr](https://github.com/edsadr) -
331
331
  **Adrian Estrada** <<edsadr@gmail.com>> (he/him)
332
- * [erickwendel](https://github.com/erickwendel) -
332
+ * [ErickWendel](https://github.com/ErickWendel) -
333
333
  **Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
334
334
  * [Ethan-Arrowood](https://github.com/Ethan-Arrowood) -
335
335
  **Ethan Arrowood** <<ethan@arrowood.dev>> (he/him)
@@ -343,7 +343,7 @@ For information about the governance of the Node.js project, see
343
343
  **Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
344
344
  * [gengjiawen](https://github.com/gengjiawen) -
345
345
  **Jiawen Geng** <<technicalcute@gmail.com>>
346
- * [GeoffreyBooth](https://github.com/geoffreybooth) -
346
+ * [GeoffreyBooth](https://github.com/GeoffreyBooth) -
347
347
  **Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
348
348
  * [gireeshpunathil](https://github.com/gireeshpunathil) -
349
349
  **Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
@@ -355,6 +355,8 @@ For information about the governance of the Node.js project, see
355
355
  **Harshitha K P** <<harshitha014@gmail.com>> (she/her)
356
356
  * [himself65](https://github.com/himself65) -
357
357
  **Zeyu "Alex" Yang** <<himself65@outlook.com>> (he/him)
358
+ * [jakecastelli](https://github.com/jakecastelli) -
359
+ **Jake Yuesong Li** <<jake.yuesong@gmail.com>> (he/him)
358
360
  * [JakobJingleheimer](https://github.com/JakobJingleheimer) -
359
361
  **Jacob Smith** <<jacob@frende.me>> (he/him)
360
362
  * [jasnell](https://github.com/jasnell) -
@@ -379,7 +381,7 @@ For information about the governance of the Node.js project, see
379
381
  **Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
380
382
  * [lemire](https://github.com/lemire) -
381
383
  **Daniel Lemire** <<daniel@lemire.me>>
382
- * [linkgoron](https://github.com/linkgoron) -
384
+ * [Linkgoron](https://github.com/Linkgoron) -
383
385
  **Nitzan Uziely** <<linkgoron@gmail.com>>
384
386
  * [LiviaMedeiros](https://github.com/LiviaMedeiros) -
385
387
  **LiviaMedeiros** <<livia@cirno.name>>
@@ -393,6 +395,8 @@ For information about the governance of the Node.js project, see
393
395
  **Marco Ippolito** <<marcoippolito54@gmail.com>> (he/him)
394
396
  * [marsonya](https://github.com/marsonya) -
395
397
  **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
398
+ * [MattiasBuelens](https://github.com/MattiasBuelens) -
399
+ **Mattias Buelens** <<mattias@buelens.com>> (he/him)
396
400
  * [mcollina](https://github.com/mcollina) -
397
401
  **Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
398
402
  * [meixg](https://github.com/meixg) -
@@ -443,7 +447,7 @@ For information about the governance of the Node.js project, see
443
447
  **Trivikram Kamat** <<trivikr.dev@gmail.com>>
444
448
  * [Trott](https://github.com/Trott) -
445
449
  **Rich Trott** <<rtrott@gmail.com>> (he/him)
446
- * [UlisesGascon](https://github.com/ulisesgascon) -
450
+ * [UlisesGascon](https://github.com/UlisesGascon) -
447
451
  **Ulises Gascón** <<ulisesgascongonzalez@gmail.com>> (he/him)
448
452
  * [vmoroz](https://github.com/vmoroz) -
449
453
  **Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
package/bin/node CHANGED
Binary file
@@ -36,7 +36,7 @@
36
36
 
37
37
  # Reset this number to 0 on major V8 upgrades.
38
38
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.16',
39
+ 'v8_embedder_string': '-node.18',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -113,6 +113,7 @@
113
113
  ['target_arch in "arm ia32 mips mipsel ppc"', {
114
114
  'v8_enable_pointer_compression': 0,
115
115
  'v8_enable_31bit_smis_on_64bit_arch': 0,
116
+ 'v8_enable_sandbox': 0
116
117
  }],
117
118
  ['target_arch in "ppc64 s390x"', {
118
119
  'v8_enable_backtrace': 1,
@@ -1,5 +1,11 @@
1
1
  # Do not edit. Generated by the configure script.
2
- { 'target_defaults': {'cflags': [], 'default_configuration': 'Release', 'defines': ['NODE_OPENSSL_CONF_NAME=nodejs_conf', 'NODE_OPENSSL_HAS_QUIC', 'ICU_NO_USER_DATA_OVERRIDE'], 'include_dirs': [], 'libraries': []},
2
+ { 'target_defaults': { 'cflags': [],
3
+ 'configurations': { 'Debug': {'v8_enable_v8_checks': 0, 'variables': {}},
4
+ 'Release': {'v8_enable_v8_checks': 1, 'variables': {}}},
5
+ 'default_configuration': 'Release',
6
+ 'defines': ['NODE_OPENSSL_CONF_NAME=nodejs_conf', 'NODE_OPENSSL_HAS_QUIC', 'ICU_NO_USER_DATA_OVERRIDE'],
7
+ 'include_dirs': [],
8
+ 'libraries': []},
3
9
  'variables': { 'asan': 0,
4
10
  'clang': 0,
5
11
  'coverage': 'false',
@@ -19,11 +25,12 @@
19
25
  'icu_path': 'deps/icu-small',
20
26
  'icu_small': 'false',
21
27
  'icu_ver_major': '75',
22
- 'is_debug': 0,
23
28
  'libdir': 'lib',
24
29
  'llvm_version': '0.0',
25
30
  'napi_build_version': '9',
26
- 'node_builtin_shareable_builtins': ['deps/cjs-module-lexer/lexer.js', 'deps/cjs-module-lexer/dist/lexer.js', 'deps/undici/undici.js'],
31
+ 'node_builtin_shareable_builtins': [ 'deps/cjs-module-lexer/lexer.js',
32
+ 'deps/cjs-module-lexer/dist/lexer.js',
33
+ 'deps/undici/undici.js'],
27
34
  'node_byteorder': 'big',
28
35
  'node_debug_lib': 'false',
29
36
  'node_enable_d8': 'false',
@@ -154,6 +161,7 @@
154
161
  'lib/internal/http2/util.js',
155
162
  'lib/internal/idna.js',
156
163
  'lib/internal/inspector_async_hook.js',
164
+ 'lib/internal/inspector_network_tracking.js',
157
165
  'lib/internal/js_stream_socket.js',
158
166
  'lib/internal/legacy/processbinding.js',
159
167
  'lib/internal/linkedlist.js',
@@ -242,6 +250,7 @@
242
250
  'lib/internal/streams/destroy.js',
243
251
  'lib/internal/streams/duplex.js',
244
252
  'lib/internal/streams/duplexify.js',
253
+ 'lib/internal/streams/duplexpair.js',
245
254
  'lib/internal/streams/end-of-stream.js',
246
255
  'lib/internal/streams/from.js',
247
256
  'lib/internal/streams/lazy_transform.js',
@@ -397,8 +406,8 @@
397
406
  'v8_enable_maglev': 0,
398
407
  'v8_enable_object_print': 1,
399
408
  'v8_enable_pointer_compression': 0,
409
+ 'v8_enable_sandbox': 0,
400
410
  'v8_enable_shared_ro_heap': 1,
401
- 'v8_enable_v8_checks': 0,
402
411
  'v8_enable_webassembly': 1,
403
412
  'v8_no_strict_aliasing': 1,
404
413
  'v8_optimized_debug': 1,
@@ -50,7 +50,7 @@
50
50
  EXTERN_C_START
51
51
 
52
52
  NAPI_EXTERN napi_status NAPI_CDECL napi_get_last_error_info(
53
- node_api_nogc_env env, const napi_extended_error_info** result);
53
+ node_api_basic_env env, const napi_extended_error_info** result);
54
54
 
55
55
  // Getters for defined singletons
56
56
  NAPI_EXTERN napi_status NAPI_CDECL napi_get_undefined(napi_env env,
@@ -94,19 +94,19 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_string_utf16(napi_env env,
94
94
  napi_value* result);
95
95
  #ifdef NAPI_EXPERIMENTAL
96
96
  #define NODE_API_EXPERIMENTAL_HAS_EXTERNAL_STRINGS
97
- NAPI_EXTERN napi_status NAPI_CDECL
98
- node_api_create_external_string_latin1(napi_env env,
99
- char* str,
100
- size_t length,
101
- node_api_nogc_finalize finalize_callback,
102
- void* finalize_hint,
103
- napi_value* result,
104
- bool* copied);
97
+ NAPI_EXTERN napi_status NAPI_CDECL node_api_create_external_string_latin1(
98
+ napi_env env,
99
+ char* str,
100
+ size_t length,
101
+ node_api_basic_finalize finalize_callback,
102
+ void* finalize_hint,
103
+ napi_value* result,
104
+ bool* copied);
105
105
  NAPI_EXTERN napi_status NAPI_CDECL
106
106
  node_api_create_external_string_utf16(napi_env env,
107
107
  char16_t* str,
108
108
  size_t length,
109
- node_api_nogc_finalize finalize_callback,
109
+ node_api_basic_finalize finalize_callback,
110
110
  void* finalize_hint,
111
111
  napi_value* result,
112
112
  bool* copied);
@@ -318,12 +318,13 @@ napi_define_class(napi_env env,
318
318
  napi_value* result);
319
319
 
320
320
  // Methods to work with external data objects
321
- NAPI_EXTERN napi_status NAPI_CDECL napi_wrap(napi_env env,
322
- napi_value js_object,
323
- void* native_object,
324
- node_api_nogc_finalize finalize_cb,
325
- void* finalize_hint,
326
- napi_ref* result);
321
+ NAPI_EXTERN napi_status NAPI_CDECL
322
+ napi_wrap(napi_env env,
323
+ napi_value js_object,
324
+ void* native_object,
325
+ node_api_basic_finalize finalize_cb,
326
+ void* finalize_hint,
327
+ napi_ref* result);
327
328
  NAPI_EXTERN napi_status NAPI_CDECL napi_unwrap(napi_env env,
328
329
  napi_value js_object,
329
330
  void** result);
@@ -333,7 +334,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_remove_wrap(napi_env env,
333
334
  NAPI_EXTERN napi_status NAPI_CDECL
334
335
  napi_create_external(napi_env env,
335
336
  void* data,
336
- node_api_nogc_finalize finalize_cb,
337
+ node_api_basic_finalize finalize_cb,
337
338
  void* finalize_hint,
338
339
  napi_value* result);
339
340
  NAPI_EXTERN napi_status NAPI_CDECL napi_get_value_external(napi_env env,
@@ -432,7 +433,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
432
433
  napi_create_external_arraybuffer(napi_env env,
433
434
  void* external_data,
434
435
  size_t byte_length,
435
- node_api_nogc_finalize finalize_cb,
436
+ node_api_basic_finalize finalize_cb,
436
437
  void* finalize_hint,
437
438
  napi_value* result);
438
439
  #endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
@@ -474,7 +475,7 @@ napi_get_dataview_info(napi_env env,
474
475
  size_t* byte_offset);
475
476
 
476
477
  // version management
477
- NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_nogc_env env,
478
+ NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_basic_env env,
478
479
  uint32_t* result);
479
480
 
480
481
  // Promises
@@ -498,7 +499,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_run_script(napi_env env,
498
499
 
499
500
  // Memory management
500
501
  NAPI_EXTERN napi_status NAPI_CDECL napi_adjust_external_memory(
501
- node_api_nogc_env env, int64_t change_in_bytes, int64_t* adjusted_value);
502
+ node_api_basic_env env, int64_t change_in_bytes, int64_t* adjusted_value);
502
503
 
503
504
  #if NAPI_VERSION >= 5
504
505
 
@@ -520,7 +521,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
520
521
  napi_add_finalizer(napi_env env,
521
522
  napi_value js_object,
522
523
  void* finalize_data,
523
- node_api_nogc_finalize finalize_cb,
524
+ node_api_basic_finalize finalize_cb,
524
525
  void* finalize_hint,
525
526
  napi_ref* result);
526
527
 
@@ -530,7 +531,7 @@ napi_add_finalizer(napi_env env,
530
531
  #define NODE_API_EXPERIMENTAL_HAS_POST_FINALIZER
531
532
 
532
533
  NAPI_EXTERN napi_status NAPI_CDECL
533
- node_api_post_finalizer(node_api_nogc_env env,
534
+ node_api_post_finalizer(node_api_basic_env env,
534
535
  napi_finalize finalize_cb,
535
536
  void* finalize_data,
536
537
  void* finalize_hint);
@@ -575,13 +576,13 @@ napi_get_all_property_names(napi_env env,
575
576
 
576
577
  // Instance data
577
578
  NAPI_EXTERN napi_status NAPI_CDECL
578
- napi_set_instance_data(node_api_nogc_env env,
579
+ napi_set_instance_data(node_api_basic_env env,
579
580
  void* data,
580
581
  napi_finalize finalize_cb,
581
582
  void* finalize_hint);
582
583
 
583
- NAPI_EXTERN napi_status NAPI_CDECL napi_get_instance_data(node_api_nogc_env env,
584
- void** data);
584
+ NAPI_EXTERN napi_status NAPI_CDECL
585
+ napi_get_instance_data(node_api_basic_env env, void** data);
585
586
  #endif // NAPI_VERSION >= 6
586
587
 
587
588
  #if NAPI_VERSION >= 7
@@ -27,7 +27,7 @@ typedef struct napi_env__* napi_env;
27
27
  // meaning that they do not affect the state of the JS engine, and can
28
28
  // therefore be called synchronously from a finalizer that itself runs
29
29
  // synchronously during GC. Such APIs can receive either a `napi_env` or a
30
- // `node_api_nogc_env` as their first parameter, because we should be able to
30
+ // `node_api_basic_env` as their first parameter, because we should be able to
31
31
  // also call them during normal, non-garbage-collecting operations, whereas
32
32
  // APIs that affect the state of the JS engine can only receive a `napi_env` as
33
33
  // their first parameter, because we must not call them during GC. In lieu of
@@ -37,19 +37,21 @@ typedef struct napi_env__* napi_env;
37
37
  // expecting a non-const value.
38
38
  //
39
39
  // In conjunction with appropriate CFLAGS to warn us if we're passing a const
40
- // (nogc) environment into an API that expects a non-const environment, and the
41
- // definition of nogc finalizer function pointer types below, which receive a
42
- // nogc environment as their first parameter, and can thus only call nogc APIs
43
- // (unless the user explicitly casts the environment), we achieve the ability
44
- // to ensure at compile time that we do not call APIs that affect the state of
45
- // the JS engine from a synchronous (nogc) finalizer.
40
+ // (basic) environment into an API that expects a non-const environment, and
41
+ // the definition of basic finalizer function pointer types below, which
42
+ // receive a basic environment as their first parameter, and can thus only call
43
+ // basic APIs (unless the user explicitly casts the environment), we achieve
44
+ // the ability to ensure at compile time that we do not call APIs that affect
45
+ // the state of the JS engine from a synchronous (basic) finalizer.
46
46
  #if !defined(NAPI_EXPERIMENTAL) || \
47
47
  (defined(NAPI_EXPERIMENTAL) && \
48
- defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT))
48
+ (defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT) || \
49
+ defined(NODE_API_EXPERIMENTAL_BASIC_ENV_OPT_OUT)))
49
50
  typedef struct napi_env__* node_api_nogc_env;
50
51
  #else
51
52
  typedef const struct napi_env__* node_api_nogc_env;
52
53
  #endif
54
+ typedef node_api_nogc_env node_api_basic_env;
53
55
 
54
56
  typedef struct napi_value__* napi_value;
55
57
  typedef struct napi_ref__* napi_ref;
@@ -147,13 +149,15 @@ typedef void(NAPI_CDECL* napi_finalize)(napi_env env,
147
149
 
148
150
  #if !defined(NAPI_EXPERIMENTAL) || \
149
151
  (defined(NAPI_EXPERIMENTAL) && \
150
- defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT))
152
+ (defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT) || \
153
+ defined(NODE_API_EXPERIMENTAL_BASIC_ENV_OPT_OUT)))
151
154
  typedef napi_finalize node_api_nogc_finalize;
152
155
  #else
153
156
  typedef void(NAPI_CDECL* node_api_nogc_finalize)(node_api_nogc_env env,
154
157
  void* finalize_data,
155
158
  void* finalize_hint);
156
159
  #endif
160
+ typedef node_api_nogc_finalize node_api_basic_finalize;
157
161
 
158
162
  typedef struct {
159
163
  // One of utf8name or name should be NULL.
@@ -131,7 +131,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
131
131
  napi_create_external_buffer(napi_env env,
132
132
  size_t length,
133
133
  void* data,
134
- node_api_nogc_finalize finalize_cb,
134
+ node_api_basic_finalize finalize_cb,
135
135
  void* finalize_hint,
136
136
  napi_value* result);
137
137
  #endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
@@ -159,20 +159,20 @@ napi_create_async_work(napi_env env,
159
159
  napi_async_work* result);
160
160
  NAPI_EXTERN napi_status NAPI_CDECL napi_delete_async_work(napi_env env,
161
161
  napi_async_work work);
162
- NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(node_api_nogc_env env,
162
+ NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(node_api_basic_env env,
163
163
  napi_async_work work);
164
- NAPI_EXTERN napi_status NAPI_CDECL napi_cancel_async_work(node_api_nogc_env env,
165
- napi_async_work work);
164
+ NAPI_EXTERN napi_status NAPI_CDECL
165
+ napi_cancel_async_work(node_api_basic_env env, napi_async_work work);
166
166
 
167
167
  // version management
168
- NAPI_EXTERN napi_status NAPI_CDECL
169
- napi_get_node_version(node_api_nogc_env env, const napi_node_version** version);
168
+ NAPI_EXTERN napi_status NAPI_CDECL napi_get_node_version(
169
+ node_api_basic_env env, const napi_node_version** version);
170
170
 
171
171
  #if NAPI_VERSION >= 2
172
172
 
173
173
  // Return the current libuv event loop for a given environment
174
174
  NAPI_EXTERN napi_status NAPI_CDECL
175
- napi_get_uv_event_loop(node_api_nogc_env env, struct uv_loop_s** loop);
175
+ napi_get_uv_event_loop(node_api_basic_env env, struct uv_loop_s** loop);
176
176
 
177
177
  #endif // NAPI_VERSION >= 2
178
178
 
@@ -182,10 +182,10 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_fatal_exception(napi_env env,
182
182
  napi_value err);
183
183
 
184
184
  NAPI_EXTERN napi_status NAPI_CDECL napi_add_env_cleanup_hook(
185
- node_api_nogc_env env, napi_cleanup_hook fun, void* arg);
185
+ node_api_basic_env env, napi_cleanup_hook fun, void* arg);
186
186
 
187
187
  NAPI_EXTERN napi_status NAPI_CDECL napi_remove_env_cleanup_hook(
188
- node_api_nogc_env env, napi_cleanup_hook fun, void* arg);
188
+ node_api_basic_env env, napi_cleanup_hook fun, void* arg);
189
189
 
190
190
  NAPI_EXTERN napi_status NAPI_CDECL
191
191
  napi_open_callback_scope(napi_env env,
@@ -229,17 +229,17 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_release_threadsafe_function(
229
229
  napi_threadsafe_function func, napi_threadsafe_function_release_mode mode);
230
230
 
231
231
  NAPI_EXTERN napi_status NAPI_CDECL napi_unref_threadsafe_function(
232
- node_api_nogc_env env, napi_threadsafe_function func);
232
+ node_api_basic_env env, napi_threadsafe_function func);
233
233
 
234
234
  NAPI_EXTERN napi_status NAPI_CDECL napi_ref_threadsafe_function(
235
- node_api_nogc_env env, napi_threadsafe_function func);
235
+ node_api_basic_env env, napi_threadsafe_function func);
236
236
 
237
237
  #endif // NAPI_VERSION >= 4
238
238
 
239
239
  #if NAPI_VERSION >= 8
240
240
 
241
241
  NAPI_EXTERN napi_status NAPI_CDECL
242
- napi_add_async_cleanup_hook(node_api_nogc_env env,
242
+ napi_add_async_cleanup_hook(node_api_basic_env env,
243
243
  napi_async_cleanup_hook hook,
244
244
  void* arg,
245
245
  napi_async_cleanup_hook_handle* remove_handle);
@@ -252,7 +252,7 @@ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
252
252
  #if NAPI_VERSION >= 9
253
253
 
254
254
  NAPI_EXTERN napi_status NAPI_CDECL
255
- node_api_get_module_file_name(node_api_nogc_env env, const char** result);
255
+ node_api_get_module_file_name(node_api_basic_env env, const char** result);
256
256
 
257
257
  #endif // NAPI_VERSION >= 9
258
258
 
@@ -23,8 +23,8 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 22
26
- #define NODE_MINOR_VERSION 5
27
- #define NODE_PATCH_VERSION 1
26
+ #define NODE_MINOR_VERSION 6
27
+ #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
@@ -398,8 +398,7 @@ class V8_TRIVIAL_ABI Local : public LocalBase<T>,
398
398
  explicit Local(const Local<T>& other, no_checking_tag do_not_check)
399
399
  : LocalBase<T>(other), StackAllocated(do_not_check) {}
400
400
 
401
- V8_INLINE explicit Local<T>(const LocalBase<T>& other)
402
- : LocalBase<T>(other) {}
401
+ V8_INLINE explicit Local(const LocalBase<T>& other) : LocalBase<T>(other) {}
403
402
 
404
403
  V8_INLINE static Local<T> FromSlot(internal::Address* slot) {
405
404
  return Local<T>(LocalBase<T>::FromSlot(slot));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-s390x",
3
- "version": "v22.5.1",
3
+ "version": "v22.6.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -173,9 +173,6 @@ Specify the
173
173
  .Ar module
174
174
  to use as a custom module loader.
175
175
  .
176
- .It Fl -experimental-network-imports
177
- Enable experimental support for loading modules using `import` over `https:`.
178
- .
179
176
  .It Fl -experimental-permission
180
177
  Enable the experimental permission model.
181
178
  .
@@ -194,6 +191,9 @@ Enable module mocking in the test runner.
194
191
  .It Fl -experimental-test-snapshots
195
192
  Enable snapshot testing in the test runner.
196
193
  .
194
+ .It Fl -experimental-strip-types
195
+ Enable experimental type-stripping for TypeScript files.
196
+ .
197
197
  .It Fl -experimental-eventsource
198
198
  Enable experimental support for the EventSource Web API.
199
199
  .