node-linux-s390x 22.6.0 → 22.8.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,8 @@
8
8
  </tr>
9
9
  <tr>
10
10
  <td>
11
+ <a href="#22.8.0">22.8.0</a><br/>
12
+ <a href="#22.7.0">22.7.0</a><br/>
11
13
  <a href="#22.6.0">22.6.0</a><br/>
12
14
  <a href="#22.5.1">22.5.1</a><br/>
13
15
  <a href="#22.5.0">22.5.0</a><br/>
@@ -45,6 +47,357 @@
45
47
  * [io.js](CHANGELOG_IOJS.md)
46
48
  * [Archive](CHANGELOG_ARCHIVE.md)
47
49
 
50
+ <a id="22.8.0"></a>
51
+
52
+ ## 2024-09-03, Version 22.8.0 (Current), @RafaelGSS
53
+
54
+ ### New JS API for compile cache
55
+
56
+ This release adds a new API `module.enableCompileCache()` that can be used to enable on-disk code caching of all modules loaded after this API is called.
57
+ Previously this could only be enabled by the `NODE_COMPILE_CACHE` environment variable, so it could only set by end-users.
58
+ This API allows tooling and library authors to enable caching of their own code.
59
+ This is a built-in alternative to the [v8-compile-cache](https://www.npmjs.com/package/v8-compile-cache)/[v8-compile-cache-lib ](https://www.npmjs.com/package/v8-compile-cache-lib) packages,
60
+ but have [better performance](https://github.com/nodejs/node/issues/47472#issuecomment-1970331362) and supports ESM.
61
+
62
+ Thanks to Joyee Cheung for working on this.
63
+
64
+ ### New option for vm.createContext() to create a context with a freezable globalThis
65
+
66
+ Node.js implements a flavor of `vm.createContext()` and friends that creates a context without contextifying its global
67
+ object when vm.constants.DONT\_CONTEXTIFY is used. This is suitable when users want to freeze the context
68
+ (impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
69
+ don't need the interceptor behavior.
70
+
71
+ Thanks to Joyee Cheung for working on this.
72
+
73
+ ### Support for coverage thresholds
74
+
75
+ Node.js now supports requiring code coverage to meet a specific threshold before the process exits successfully.
76
+ To use this feature, you need to enable the `--experimental-test-coverage` flag.
77
+
78
+ You can set thresholds for the following types of coverage:
79
+
80
+ * **Branch coverage**: Use `--test-coverage-branches=<threshold>`
81
+ * **Function coverage**: Use `--test-coverage-functions=<threshold>`
82
+ * **Line coverage**: Use `--test-coverage-lines=<threshold>`
83
+
84
+ `<threshold>` should be an integer between 0 and 100. If an invalid value is provided, a `TypeError` will be thrown.
85
+
86
+ If the code coverage fails to meet the specified thresholds for any category, the process will exit with code `1`.
87
+
88
+ For instance, to enforce a minimum of 80% line coverage and 60% branch coverage, you can run:
89
+
90
+ ```console
91
+ $ node --experimental-test-coverage --test-coverage-lines=80 --test-coverage-branches=60 example.js
92
+ ```
93
+
94
+ Thanks Aviv Keller for working on this.
95
+
96
+ ### Other Notable Changes
97
+
98
+ * \[[`1f2cc2fa47`](https://github.com/nodejs/node/commit/1f2cc2fa47)] - **(SEMVER-MINOR)** **src,lib**: add performance.uvMetricsInfo (Rafael Gonzaga) [#54413](https://github.com/nodejs/node/pull/54413)
99
+ * \[[`1e01bdc0d0`](https://github.com/nodejs/node/commit/1e01bdc0d0)] - **(SEMVER-MINOR)** **net**: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) [#54264](https://github.com/nodejs/node/pull/54264)
100
+ * \[[`97fa075c2e`](https://github.com/nodejs/node/commit/97fa075c2e)] - **(SEMVER-MINOR)** **test\_runner**: support running tests in process (Colin Ihrig) [#53927](https://github.com/nodejs/node/pull/53927)
101
+ * \[[`858b583c88`](https://github.com/nodejs/node/commit/858b583c88)] - **(SEMVER-MINOR)** **test\_runner**: defer inheriting hooks until run() (Colin Ihrig) [#53927](https://github.com/nodejs/node/pull/53927)
102
+
103
+ ### Commits
104
+
105
+ * \[[`94985df9d6`](https://github.com/nodejs/node/commit/94985df9d6)] - **benchmark**: fix benchmark for file path and URL conversion (Early Riser) [#54190](https://github.com/nodejs/node/pull/54190)
106
+ * \[[`ac178b094b`](https://github.com/nodejs/node/commit/ac178b094b)] - **buffer**: truncate instead of throw when writing beyond buffer (Robert Nagy) [#54524](https://github.com/nodejs/node/pull/54524)
107
+ * \[[`afd8c1eb4f`](https://github.com/nodejs/node/commit/afd8c1eb4f)] - **buffer**: allow invalid encoding in from (Robert Nagy) [#54533](https://github.com/nodejs/node/pull/54533)
108
+ * \[[`6f0cf35cd3`](https://github.com/nodejs/node/commit/6f0cf35cd3)] - **build**: reclaim disk space on macOS GHA runner (jakecastelli) [#54658](https://github.com/nodejs/node/pull/54658)
109
+ * \[[`467ac3aec4`](https://github.com/nodejs/node/commit/467ac3aec4)] - **build**: don't clean obj.target directory if it doesn't exist (Joyee Cheung) [#54337](https://github.com/nodejs/node/pull/54337)
110
+ * \[[`71fdf961df`](https://github.com/nodejs/node/commit/71fdf961df)] - **build**: update required python version to 3.8 (Aviv Keller) [#54358](https://github.com/nodejs/node/pull/54358)
111
+ * \[[`73604cf1c5`](https://github.com/nodejs/node/commit/73604cf1c5)] - **deps**: update nghttp2 to 1.63.0 (Node.js GitHub Bot) [#54589](https://github.com/nodejs/node/pull/54589)
112
+ * \[[`b00c087285`](https://github.com/nodejs/node/commit/b00c087285)] - **deps**: V8: cherry-pick e74d0f437fcd (Joyee Cheung) [#54279](https://github.com/nodejs/node/pull/54279)
113
+ * \[[`33a6b3c7a9`](https://github.com/nodejs/node/commit/33a6b3c7a9)] - **deps**: backport ICU-22787 to fix ClangCL on Windows (Stefan Stojanovic) [#54502](https://github.com/nodejs/node/pull/54502)
114
+ * \[[`fe56949cbb`](https://github.com/nodejs/node/commit/fe56949cbb)] - **deps**: update c-ares to v1.33.1 (Node.js GitHub Bot) [#54549](https://github.com/nodejs/node/pull/54549)
115
+ * \[[`290f6ce619`](https://github.com/nodejs/node/commit/290f6ce619)] - **deps**: update amaro to 0.1.8 (Node.js GitHub Bot) [#54520](https://github.com/nodejs/node/pull/54520)
116
+ * \[[`b5843568b4`](https://github.com/nodejs/node/commit/b5843568b4)] - **deps**: update amaro to 0.1.7 (Node.js GitHub Bot) [#54473](https://github.com/nodejs/node/pull/54473)
117
+ * \[[`9c709209b4`](https://github.com/nodejs/node/commit/9c709209b4)] - **deps**: update undici to 6.19.8 (Node.js GitHub Bot) [#54456](https://github.com/nodejs/node/pull/54456)
118
+ * \[[`a5ce24181b`](https://github.com/nodejs/node/commit/a5ce24181b)] - **deps**: sqlite: fix Windows compilation (Colin Ihrig) [#54433](https://github.com/nodejs/node/pull/54433)
119
+ * \[[`3caf29ea88`](https://github.com/nodejs/node/commit/3caf29ea88)] - **deps**: update sqlite to 3.46.1 (Node.js GitHub Bot) [#54433](https://github.com/nodejs/node/pull/54433)
120
+ * \[[`68758d4b08`](https://github.com/nodejs/node/commit/68758d4b08)] - **doc**: add support me link for anonrig (Yagiz Nizipli) [#54611](https://github.com/nodejs/node/pull/54611)
121
+ * \[[`f5c5529266`](https://github.com/nodejs/node/commit/f5c5529266)] - **doc**: add alert on REPL from TCP socket (Rafael Gonzaga) [#54594](https://github.com/nodejs/node/pull/54594)
122
+ * \[[`bf824483cd`](https://github.com/nodejs/node/commit/bf824483cd)] - **doc**: fix typo in styleText description (Rafael Gonzaga) [#54616](https://github.com/nodejs/node/pull/54616)
123
+ * \[[`825d933fd4`](https://github.com/nodejs/node/commit/825d933fd4)] - **doc**: add getHeapStatistics() property descriptions (Benji Marinacci) [#54584](https://github.com/nodejs/node/pull/54584)
124
+ * \[[`80e5150160`](https://github.com/nodejs/node/commit/80e5150160)] - **doc**: fix module compile cache description (沈鸿飞) [#54625](https://github.com/nodejs/node/pull/54625)
125
+ * \[[`7fd033fe56`](https://github.com/nodejs/node/commit/7fd033fe56)] - **doc**: run license-builder (github-actions\[bot]) [#54562](https://github.com/nodejs/node/pull/54562)
126
+ * \[[`c499913732`](https://github.com/nodejs/node/commit/c499913732)] - **doc**: fix information about including coverage files (Aviv Keller) [#54527](https://github.com/nodejs/node/pull/54527)
127
+ * \[[`c3dc83befc`](https://github.com/nodejs/node/commit/c3dc83befc)] - **doc**: support collaborators - talk amplification (Michael Dawson) [#54508](https://github.com/nodejs/node/pull/54508)
128
+ * \[[`fc57beaad3`](https://github.com/nodejs/node/commit/fc57beaad3)] - **doc**: add note about shasum generation failure (Marco Ippolito) [#54487](https://github.com/nodejs/node/pull/54487)
129
+ * \[[`1800a58f49`](https://github.com/nodejs/node/commit/1800a58f49)] - **doc**: update websocket flag description to reflect stable API status (Yelim Koo) [#54482](https://github.com/nodejs/node/pull/54482)
130
+ * \[[`61affd77a7`](https://github.com/nodejs/node/commit/61affd77a7)] - **doc**: fix capitalization in module.md (shallow-beach) [#54488](https://github.com/nodejs/node/pull/54488)
131
+ * \[[`25419915c7`](https://github.com/nodejs/node/commit/25419915c7)] - **doc**: add esm examples to node:https (Alfredo González) [#54399](https://github.com/nodejs/node/pull/54399)
132
+ * \[[`83b5efeb54`](https://github.com/nodejs/node/commit/83b5efeb54)] - **doc**: reserve ABI 130 for Electron 33 (Calvin) [#54383](https://github.com/nodejs/node/pull/54383)
133
+ * \[[`6ccbd32ae8`](https://github.com/nodejs/node/commit/6ccbd32ae8)] - **doc, meta**: add missing `,` to `BUILDING.md` (Aviv Keller) [#54409](https://github.com/nodejs/node/pull/54409)
134
+ * \[[`fc08a9b0cd`](https://github.com/nodejs/node/commit/fc08a9b0cd)] - **fs**: refactor handleTimestampsAndMode to remove redundant call (HEESEUNG) [#54369](https://github.com/nodejs/node/pull/54369)
135
+ * \[[`4a664b5fcb`](https://github.com/nodejs/node/commit/4a664b5fcb)] - **lib**: respect terminal capabilities on styleText (Rafael Gonzaga) [#54389](https://github.com/nodejs/node/pull/54389)
136
+ * \[[`a9ce2b6a28`](https://github.com/nodejs/node/commit/a9ce2b6a28)] - **lib**: fix emit warning for debuglog.time when disabled (Vinicius Lourenço) [#54275](https://github.com/nodejs/node/pull/54275)
137
+ * \[[`b5a23c9783`](https://github.com/nodejs/node/commit/b5a23c9783)] - **meta**: remind users to use a supported version in bug reports (Aviv Keller) [#54481](https://github.com/nodejs/node/pull/54481)
138
+ * \[[`0d7171d8e9`](https://github.com/nodejs/node/commit/0d7171d8e9)] - **meta**: add more labels to dep-updaters (Aviv Keller) [#54454](https://github.com/nodejs/node/pull/54454)
139
+ * \[[`c4996c189f`](https://github.com/nodejs/node/commit/c4996c189f)] - **meta**: run coverage-windows when `vcbuild.bat` updated (Aviv Keller) [#54412](https://github.com/nodejs/node/pull/54412)
140
+ * \[[`3cf645768e`](https://github.com/nodejs/node/commit/3cf645768e)] - **module**: use amaro default transform values (Marco Ippolito) [#54517](https://github.com/nodejs/node/pull/54517)
141
+ * \[[`336496b90e`](https://github.com/nodejs/node/commit/336496b90e)] - **module**: add sourceURL magic comment hinting generated source (Chengzhong Wu) [#54402](https://github.com/nodejs/node/pull/54402)
142
+ * \[[`04f83b50ad`](https://github.com/nodejs/node/commit/04f83b50ad)] - _**Revert**_ "**net**: validate host name for server listen" (jakecastelli) [#54554](https://github.com/nodejs/node/pull/54554)
143
+ * \[[`1e01bdc0d0`](https://github.com/nodejs/node/commit/1e01bdc0d0)] - **(SEMVER-MINOR)** **net**: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) [#54264](https://github.com/nodejs/node/pull/54264)
144
+ * \[[`3cd10a3f40`](https://github.com/nodejs/node/commit/3cd10a3f40)] - **node-api**: remove RefBase and CallbackWrapper (Vladimir Morozov) [#53590](https://github.com/nodejs/node/pull/53590)
145
+ * \[[`72c554abab`](https://github.com/nodejs/node/commit/72c554abab)] - **sqlite**: return results with null prototype (Michaël Zasso) [#54350](https://github.com/nodejs/node/pull/54350)
146
+ * \[[`e071651bb2`](https://github.com/nodejs/node/commit/e071651bb2)] - **src**: disable fast methods for `buffer.write` (Michaël Zasso) [#54565](https://github.com/nodejs/node/pull/54565)
147
+ * \[[`f8cbbc685a`](https://github.com/nodejs/node/commit/f8cbbc685a)] - **src**: use v8::Isolate::GetDefaultLocale() to compute navigator.language (Joyee Cheung) [#54279](https://github.com/nodejs/node/pull/54279)
148
+ * \[[`4baf4637eb`](https://github.com/nodejs/node/commit/4baf4637eb)] - **(SEMVER-MINOR)** **src**: add JS APIs for compile cache and NODE\_DISABLE\_COMPILE\_CACHE (Joyee Cheung) [#54501](https://github.com/nodejs/node/pull/54501)
149
+ * \[[`101e299656`](https://github.com/nodejs/node/commit/101e299656)] - **src**: move more crypto\_dh.cc code to ncrypto (James M Snell) [#54459](https://github.com/nodejs/node/pull/54459)
150
+ * \[[`e6e1f4e8bd`](https://github.com/nodejs/node/commit/e6e1f4e8bd)] - **src**: remove redundant AESCipherMode (Tobias Nießen) [#54438](https://github.com/nodejs/node/pull/54438)
151
+ * \[[`1ff3f63f5e`](https://github.com/nodejs/node/commit/1ff3f63f5e)] - **src**: handle errors correctly in `permission.cc` (Michaël Zasso) [#54541](https://github.com/nodejs/node/pull/54541)
152
+ * \[[`4938188682`](https://github.com/nodejs/node/commit/4938188682)] - **src**: return `v8::Object` from error constructors (Michaël Zasso) [#54541](https://github.com/nodejs/node/pull/54541)
153
+ * \[[`4578e9485b`](https://github.com/nodejs/node/commit/4578e9485b)] - **src**: use better return types in KVStore (Michaël Zasso) [#54539](https://github.com/nodejs/node/pull/54539)
154
+ * \[[`7d9e994791`](https://github.com/nodejs/node/commit/7d9e994791)] - **src**: change SetEncodedValue to return Maybe\<void> (Tobias Nießen) [#54443](https://github.com/nodejs/node/pull/54443)
155
+ * \[[`eef303028f`](https://github.com/nodejs/node/commit/eef303028f)] - **src**: remove cached data tag from snapshot metadata (Joyee Cheung) [#54122](https://github.com/nodejs/node/pull/54122)
156
+ * \[[`3a74c400d5`](https://github.com/nodejs/node/commit/3a74c400d5)] - **src**: improve `buffer.transcode` performance (Yagiz Nizipli) [#54153](https://github.com/nodejs/node/pull/54153)
157
+ * \[[`909c5320fd`](https://github.com/nodejs/node/commit/909c5320fd)] - **src**: move more crypto code to ncrypto (James M Snell) [#54320](https://github.com/nodejs/node/pull/54320)
158
+ * \[[`9ba75faf5f`](https://github.com/nodejs/node/commit/9ba75faf5f)] - **(SEMVER-MINOR)** **src,lib**: add performance.uvMetricsInfo (Rafael Gonzaga) [#54413](https://github.com/nodejs/node/pull/54413)
159
+ * \[[`fffc300c6d`](https://github.com/nodejs/node/commit/fffc300c6d)] - **stream**: change stream to use index instead of `for...of` (Wiyeong Seo) [#54474](https://github.com/nodejs/node/pull/54474)
160
+ * \[[`a4a6ef8d29`](https://github.com/nodejs/node/commit/a4a6ef8d29)] - **test**: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) [#54610](https://github.com/nodejs/node/pull/54610)
161
+ * \[[`76345a5d7c`](https://github.com/nodejs/node/commit/76345a5d7c)] - **test**: update TLS test for OpenSSL 3.2 (Richard Lau) [#54612](https://github.com/nodejs/node/pull/54612)
162
+ * \[[`522d5a359d`](https://github.com/nodejs/node/commit/522d5a359d)] - **test**: run V8 Fast API tests in release mode too (Michaël Zasso) [#54570](https://github.com/nodejs/node/pull/54570)
163
+ * \[[`edbecf5209`](https://github.com/nodejs/node/commit/edbecf5209)] - **test**: increase key size for ca2-cert.pem (Michael Dawson) [#54599](https://github.com/nodejs/node/pull/54599)
164
+ * \[[`bc976cfc93`](https://github.com/nodejs/node/commit/bc976cfc93)] - **test**: update test-abortsignal-cloneable to use node:test (James M Snell) [#54581](https://github.com/nodejs/node/pull/54581)
165
+ * \[[`9f1ce732a8`](https://github.com/nodejs/node/commit/9f1ce732a8)] - **test**: update test-assert-typedarray-deepequal to use node:test (James M Snell) [#54585](https://github.com/nodejs/node/pull/54585)
166
+ * \[[`c74f2aeb92`](https://github.com/nodejs/node/commit/c74f2aeb92)] - **test**: update test-assert to use node:test (James M Snell) [#54585](https://github.com/nodejs/node/pull/54585)
167
+ * \[[`a0be95e4cc`](https://github.com/nodejs/node/commit/a0be95e4cc)] - **test**: merge ongc and gcutil into gc.js (tannal) [#54355](https://github.com/nodejs/node/pull/54355)
168
+ * \[[`c10aff665e`](https://github.com/nodejs/node/commit/c10aff665e)] - **test**: move a couple of tests over to using node:test (James M Snell) [#54582](https://github.com/nodejs/node/pull/54582)
169
+ * \[[`dbbc790949`](https://github.com/nodejs/node/commit/dbbc790949)] - **test**: update test-aborted-util to use node:test (James M Snell) [#54578](https://github.com/nodejs/node/pull/54578)
170
+ * \[[`64442fce6b`](https://github.com/nodejs/node/commit/64442fce6b)] - **test**: refactor test-abortcontroller to use node:test (James M Snell) [#54574](https://github.com/nodejs/node/pull/54574)
171
+ * \[[`72345dee1c`](https://github.com/nodejs/node/commit/72345dee1c)] - **test**: fix embedding test for Windows (Vladimir Morozov) [#53659](https://github.com/nodejs/node/pull/53659)
172
+ * \[[`846e2b2896`](https://github.com/nodejs/node/commit/846e2b2896)] - **test**: refactor test\_runner tests to change default reporter (Colin Ihrig) [#54547](https://github.com/nodejs/node/pull/54547)
173
+ * \[[`b5eb24c86a`](https://github.com/nodejs/node/commit/b5eb24c86a)] - **test**: force spec reporter in test-runner-watch-mode.mjs (Colin Ihrig) [#54538](https://github.com/nodejs/node/pull/54538)
174
+ * \[[`66ae9f4c0a`](https://github.com/nodejs/node/commit/66ae9f4c0a)] - **test**: use valid hostnames (Luigi Pinca) [#54556](https://github.com/nodejs/node/pull/54556)
175
+ * \[[`02d664b75f`](https://github.com/nodejs/node/commit/02d664b75f)] - **test**: fix improper path to URL conversion (Antoine du Hamel) [#54509](https://github.com/nodejs/node/pull/54509)
176
+ * \[[`8a4f8a9eff`](https://github.com/nodejs/node/commit/8a4f8a9eff)] - **test**: add tests for runner coverage with different stdout column widths (Pietro Marchini) [#54494](https://github.com/nodejs/node/pull/54494)
177
+ * \[[`b0ed8dbb2f`](https://github.com/nodejs/node/commit/b0ed8dbb2f)] - **test**: prevent V8 from writing into the system's tmpdir (Michaël Zasso) [#54395](https://github.com/nodejs/node/pull/54395)
178
+ * \[[`5ee234a5a6`](https://github.com/nodejs/node/commit/5ee234a5a6)] - **test,crypto**: update WebCryptoAPI WPT (Filip Skokan) [#54593](https://github.com/nodejs/node/pull/54593)
179
+ * \[[`a4bebf8559`](https://github.com/nodejs/node/commit/a4bebf8559)] - **test\_runner**: ensure test watcher picks up new test files (Pietro Marchini) [#54225](https://github.com/nodejs/node/pull/54225)
180
+ * \[[`d4310fe9c1`](https://github.com/nodejs/node/commit/d4310fe9c1)] - **(SEMVER-MINOR)** **test\_runner**: add support for coverage thresholds (Aviv Keller) [#54429](https://github.com/nodejs/node/pull/54429)
181
+ * \[[`0cf78aa24b`](https://github.com/nodejs/node/commit/0cf78aa24b)] - **test\_runner**: refactor `mock_loader` (Antoine du Hamel) [#54223](https://github.com/nodejs/node/pull/54223)
182
+ * \[[`97fa075c2e`](https://github.com/nodejs/node/commit/97fa075c2e)] - **(SEMVER-MINOR)** **test\_runner**: support running tests in process (Colin Ihrig) [#53927](https://github.com/nodejs/node/pull/53927)
183
+ * \[[`858b583c88`](https://github.com/nodejs/node/commit/858b583c88)] - **(SEMVER-MINOR)** **test\_runner**: defer inheriting hooks until run() (Colin Ihrig) [#53927](https://github.com/nodejs/node/pull/53927)
184
+ * \[[`45b0250692`](https://github.com/nodejs/node/commit/45b0250692)] - **test\_runner**: account for newline in source maps (Colin Ihrig) [#54444](https://github.com/nodejs/node/pull/54444)
185
+ * \[[`1c29e74d30`](https://github.com/nodejs/node/commit/1c29e74d30)] - **test\_runner**: make `mock.module`'s `specifier` consistent with `import()` (Antoine du Hamel) [#54416](https://github.com/nodejs/node/pull/54416)
186
+ * \[[`cbe30a02a3`](https://github.com/nodejs/node/commit/cbe30a02a3)] - **test\_runner**: finish build phase before running tests (Colin Ihrig) [#54423](https://github.com/nodejs/node/pull/54423)
187
+ * \[[`8a4b26f00c`](https://github.com/nodejs/node/commit/8a4b26f00c)] - **timers**: fix validation (Paolo Insogna) [#54404](https://github.com/nodejs/node/pull/54404)
188
+ * \[[`38798140c4`](https://github.com/nodejs/node/commit/38798140c4)] - **tools**: remove unused python files (Aviv Keller) [#53928](https://github.com/nodejs/node/pull/53928)
189
+ * \[[`da6c61def8`](https://github.com/nodejs/node/commit/da6c61def8)] - **tools**: add swc license (Marco Ippolito) [#54462](https://github.com/nodejs/node/pull/54462)
190
+ * \[[`16d4c437e1`](https://github.com/nodejs/node/commit/16d4c437e1)] - **typings**: provide internal types for wasi bindings (Andrew Moon) [#54119](https://github.com/nodejs/node/pull/54119)
191
+ * \[[`fe5666f006`](https://github.com/nodejs/node/commit/fe5666f006)] - **vm**: return all own names and symbols in property enumerator interceptor (Chengzhong Wu) [#54522](https://github.com/nodejs/node/pull/54522)
192
+ * \[[`db80eac496`](https://github.com/nodejs/node/commit/db80eac496)] - **(SEMVER-MINOR)** **vm**: introduce vanilla contexts via vm.constants.DONT\_CONTEXTIFY (Joyee Cheung) [#54394](https://github.com/nodejs/node/pull/54394)
193
+ * \[[`8ffdd1e2b2`](https://github.com/nodejs/node/commit/8ffdd1e2b2)] - **zlib**: simplify validators (Yagiz Nizipli) [#54442](https://github.com/nodejs/node/pull/54442)
194
+
195
+ <a id="22.7.0"></a>
196
+
197
+ ## 2024-08-22, Version 22.7.0 (Current), @RafaelGSS
198
+
199
+ ### Experimental transform types support
200
+
201
+ With the new flag `--experimental-transform-types` it is possible to enable the
202
+ transformation of TypeScript-only syntax into JavaScript code.
203
+
204
+ This feature allows Node.js to support TypeScript syntax such as `Enum` and `namespace`.
205
+
206
+ Thanks to Marco Ippolito for making this work on [#54283](https://github.com/nodejs/node/pull/54283).
207
+
208
+ ### Module syntax detection is now enabled by default.
209
+
210
+ Module syntax detection (the `--experimental-detect-module` flag) is now
211
+ enabled by default. Use `--no-experimental-detect-module` to disable it if
212
+ needed.
213
+
214
+ Syntax detection attempts to run ambiguous files as CommonJS, and if the module
215
+ fails to parse as CommonJS due to ES module syntax, Node.js tries again and runs
216
+ the file as an ES module.
217
+ Ambiguous files are those with a `.js` or no extension, where the nearest parent
218
+ `package.json` has no `"type"` field (either `"type": "module"` or
219
+ `"type": "commonjs"`).
220
+ Syntax detection should have no performance impact on CommonJS modules, but it
221
+ incurs a slight performance penalty for ES modules; add `"type": "module"` to
222
+ the nearest parent `package.json` file to eliminate the performance cost.
223
+ A use case unlocked by this feature is the ability to use ES module syntax in
224
+ extensionless scripts with no nearby `package.json`.
225
+
226
+ Thanks to Geoffrey Booth for making this work on [#53619](https://github.com/nodejs/node/pull/53619).
227
+
228
+ ### Performance Improvements to Buffer
229
+
230
+ Performance of Node.js Buffers have been optimized through multiple PR's with significant
231
+ improvements to the `Buffer.copy` and `Buffer.write` methods. These are used throughout
232
+ the codebase and should give a nice boost across the board.
233
+
234
+ Thanks to Robert Nagy for making this work on [#54311](https://github.com/nodejs/node/pull/54311),
235
+ [#54324](https://github.com/nodejs/node/pull/54324), and [#54087](https://github.com/nodejs/node/pull/54087).
236
+
237
+ ### Other Notable Changes
238
+
239
+ * \[[`911de7dd6d`](https://github.com/nodejs/node/commit/911de7dd6d)] - **(SEMVER-MINOR)** **inspector**: support `Network.loadingFailed` event (Kohei Ueno) [#54246](https://github.com/nodejs/node/pull/54246)
240
+ * \[[`9ee4b16bd8`](https://github.com/nodejs/node/commit/9ee4b16bd8)] - **(SEMVER-MINOR)** **lib**: rewrite AsyncLocalStorage without async\_hooks (Stephen Belanger) [#48528](https://github.com/nodejs/node/pull/48528)
241
+
242
+ ### Commits
243
+
244
+ * \[[`c6544ff5a6`](https://github.com/nodejs/node/commit/c6544ff5a6)] - **benchmark**: use assert.ok searchparams (Rafael Gonzaga) [#54334](https://github.com/nodejs/node/pull/54334)
245
+ * \[[`51b8576897`](https://github.com/nodejs/node/commit/51b8576897)] - **benchmark**: add stream.compose benchmark (jakecastelli) [#54308](https://github.com/nodejs/node/pull/54308)
246
+ * \[[`c166036515`](https://github.com/nodejs/node/commit/c166036515)] - **benchmark**: rename count to n (Rafael Gonzaga) [#54271](https://github.com/nodejs/node/pull/54271)
247
+ * \[[`1be0ee76ef`](https://github.com/nodejs/node/commit/1be0ee76ef)] - **benchmark**: change assert() to assert.ok() (Rafael Gonzaga) [#54254](https://github.com/nodejs/node/pull/54254)
248
+ * \[[`4dd229f546`](https://github.com/nodejs/node/commit/4dd229f546)] - **benchmark**: support --help in CLI (Aviv Keller) [#53358](https://github.com/nodejs/node/pull/53358)
249
+ * \[[`a5a320cd5b`](https://github.com/nodejs/node/commit/a5a320cd5b)] - **benchmark**: remove force option as force defaults to true (Yelim Koo) [#54203](https://github.com/nodejs/node/pull/54203)
250
+ * \[[`db0a80a0eb`](https://github.com/nodejs/node/commit/db0a80a0eb)] - **benchmark**: use assert.ok instead of assert (Rafael Gonzaga) [#54176](https://github.com/nodejs/node/pull/54176)
251
+ * \[[`8ba53ae7b7`](https://github.com/nodejs/node/commit/8ba53ae7b7)] - **buffer**: properly apply dst offset and src length on fast path (Robert Nagy) [#54391](https://github.com/nodejs/node/pull/54391)
252
+ * \[[`a5a60e6823`](https://github.com/nodejs/node/commit/a5a60e6823)] - **buffer**: use fast API for writing one-byte strings (Robert Nagy) [#54311](https://github.com/nodejs/node/pull/54311)
253
+ * \[[`7b641bc2bd`](https://github.com/nodejs/node/commit/7b641bc2bd)] - **buffer**: optimize byteLength for short strings (Robert Nagy) [#54345](https://github.com/nodejs/node/pull/54345)
254
+ * \[[`28ca678f81`](https://github.com/nodejs/node/commit/28ca678f81)] - **buffer**: optimize byteLength for common encodings (Robert Nagy) [#54342](https://github.com/nodejs/node/pull/54342)
255
+ * \[[`12785559be`](https://github.com/nodejs/node/commit/12785559be)] - **buffer**: optimize createFromString (Robert Nagy) [#54324](https://github.com/nodejs/node/pull/54324)
256
+ * \[[`f7f7b0c498`](https://github.com/nodejs/node/commit/f7f7b0c498)] - **buffer**: optimize for common encodings (Robert Nagy) [#54319](https://github.com/nodejs/node/pull/54319)
257
+ * \[[`37631f826b`](https://github.com/nodejs/node/commit/37631f826b)] - **buffer**: add JSDoc to blob bytes method (Roberto Simonini) [#54117](https://github.com/nodejs/node/pull/54117)
258
+ * \[[`ab6fae9dbf`](https://github.com/nodejs/node/commit/ab6fae9dbf)] - **buffer**: faster type check (Robert Nagy) [#54088](https://github.com/nodejs/node/pull/54088)
259
+ * \[[`9f8f26eb2f`](https://github.com/nodejs/node/commit/9f8f26eb2f)] - **buffer**: use native copy impl (Robert Nagy) [#54087](https://github.com/nodejs/node/pull/54087)
260
+ * \[[`019ebf03c1`](https://github.com/nodejs/node/commit/019ebf03c1)] - **buffer**: use faster integer argument check (Robert Nagy) [#54089](https://github.com/nodejs/node/pull/54089)
261
+ * \[[`c640a2f24c`](https://github.com/nodejs/node/commit/c640a2f24c)] - **build**: always disable strict aliasing (Michaël Zasso) [#54339](https://github.com/nodejs/node/pull/54339)
262
+ * \[[`6aa1d9e855`](https://github.com/nodejs/node/commit/6aa1d9e855)] - **build**: update `ruff` to `0.5.2` (Aviv Keller) [#53909](https://github.com/nodejs/node/pull/53909)
263
+ * \[[`350e699443`](https://github.com/nodejs/node/commit/350e699443)] - **build**: support `lint-js-fix` in `vcbuild.bat` (Aviv Keller) [#53695](https://github.com/nodejs/node/pull/53695)
264
+ * \[[`98fed763f7`](https://github.com/nodejs/node/commit/98fed763f7)] - **build**: add `--without-amaro` build flag (Antoine du Hamel) [#54136](https://github.com/nodejs/node/pull/54136)
265
+ * \[[`1ca598c5ce`](https://github.com/nodejs/node/commit/1ca598c5ce)] - **cli**: allow `--test-[name/skip]-pattern` in `NODE_OPTIONS` (Aviv Keller) [#53001](https://github.com/nodejs/node/pull/53001)
266
+ * \[[`37960a67ae`](https://github.com/nodejs/node/commit/37960a67ae)] - **console**: use validateOneOf for colorMode validation (HEESEUNG) [#54245](https://github.com/nodejs/node/pull/54245)
267
+ * \[[`d52f515bab`](https://github.com/nodejs/node/commit/d52f515bab)] - **crypto**: include NODE\_EXTRA\_CA\_CERTS in all secure contexts by default (Eric Bickle) [#44529](https://github.com/nodejs/node/pull/44529)
268
+ * \[[`b6a3e61353`](https://github.com/nodejs/node/commit/b6a3e61353)] - **deps**: update amaro to 0.1.6 (Node.js GitHub Bot) [#54374](https://github.com/nodejs/node/pull/54374)
269
+ * \[[`0d716ad3f3`](https://github.com/nodejs/node/commit/0d716ad3f3)] - **deps**: update simdutf to 5.3.4 (Node.js GitHub Bot) [#54312](https://github.com/nodejs/node/pull/54312)
270
+ * \[[`18bfea5f33`](https://github.com/nodejs/node/commit/18bfea5f33)] - **deps**: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
271
+ * \[[`d0c23f332f`](https://github.com/nodejs/node/commit/d0c23f332f)] - **deps**: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
272
+ * \[[`e7db63972c`](https://github.com/nodejs/node/commit/e7db63972c)] - **deps**: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
273
+ * \[[`713ae95555`](https://github.com/nodejs/node/commit/713ae95555)] - **deps**: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
274
+ * \[[`758c9df36e`](https://github.com/nodejs/node/commit/758c9df36e)] - **deps**: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
275
+ * \[[`fe7e6c9563`](https://github.com/nodejs/node/commit/fe7e6c9563)] - **deps**: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
276
+ * \[[`35722b7bca`](https://github.com/nodejs/node/commit/35722b7bca)] - **deps**: update simdjson to 3.10.0 (Node.js GitHub Bot) [#54197](https://github.com/nodejs/node/pull/54197)
277
+ * \[[`a2a41557db`](https://github.com/nodejs/node/commit/a2a41557db)] - **deps**: fix GN build warning in ncrypto (Cheng) [#54222](https://github.com/nodejs/node/pull/54222)
278
+ * \[[`869da204d7`](https://github.com/nodejs/node/commit/869da204d7)] - **deps**: update c-ares to v1.33.0 (Node.js GitHub Bot) [#54198](https://github.com/nodejs/node/pull/54198)
279
+ * \[[`e0d503a715`](https://github.com/nodejs/node/commit/e0d503a715)] - **deps**: update nbytes to 0.1.1 (Node.js GitHub Bot) [#54277](https://github.com/nodejs/node/pull/54277)
280
+ * \[[`b0c768dae1`](https://github.com/nodejs/node/commit/b0c768dae1)] - **deps**: update undici to 6.19.7 (Node.js GitHub Bot) [#54286](https://github.com/nodejs/node/pull/54286)
281
+ * \[[`ef9a950cb9`](https://github.com/nodejs/node/commit/ef9a950cb9)] - **deps**: update acorn to 8.12.1 (Node.js GitHub Bot) [#53465](https://github.com/nodejs/node/pull/53465)
282
+ * \[[`1597a1139a`](https://github.com/nodejs/node/commit/1597a1139a)] - **deps**: update undici to 6.19.5 (Node.js GitHub Bot) [#54076](https://github.com/nodejs/node/pull/54076)
283
+ * \[[`103e4db3e0`](https://github.com/nodejs/node/commit/103e4db3e0)] - **deps**: update simdutf to 5.3.1 (Node.js GitHub Bot) [#54196](https://github.com/nodejs/node/pull/54196)
284
+ * \[[`9f115ba9e9`](https://github.com/nodejs/node/commit/9f115ba9e9)] - **doc**: fix error description of the max header size (Egawa Ryo) [#54125](https://github.com/nodejs/node/pull/54125)
285
+ * \[[`f967ab3810`](https://github.com/nodejs/node/commit/f967ab3810)] - **doc**: add git node security --cleanup (Rafael Gonzaga) [#54381](https://github.com/nodejs/node/pull/54381)
286
+ * \[[`8883c01afa`](https://github.com/nodejs/node/commit/8883c01afa)] - **doc**: add note on weakness of permission model (Tobias Nießen) [#54268](https://github.com/nodejs/node/pull/54268)
287
+ * \[[`824bd58bc5`](https://github.com/nodejs/node/commit/824bd58bc5)] - **doc**: add versions when `--watch-preserve-output` was added (Théo LUDWIG) [#54328](https://github.com/nodejs/node/pull/54328)
288
+ * \[[`33795cfd49`](https://github.com/nodejs/node/commit/33795cfd49)] - **doc**: replace v19 mention in Current release (Rafael Gonzaga) [#54361](https://github.com/nodejs/node/pull/54361)
289
+ * \[[`aa6e770ea5`](https://github.com/nodejs/node/commit/aa6e770ea5)] - **doc**: correct peformance entry types (Jason Zhang) [#54263](https://github.com/nodejs/node/pull/54263)
290
+ * \[[`4b099ce1bd`](https://github.com/nodejs/node/commit/4b099ce1bd)] - **doc**: fix typo in method name in the sea doc (Eliyah Sundström) [#54027](https://github.com/nodejs/node/pull/54027)
291
+ * \[[`8a8d1d2281`](https://github.com/nodejs/node/commit/8a8d1d2281)] - **doc**: mark process.nextTick legacy (Marco Ippolito) [#51280](https://github.com/nodejs/node/pull/51280)
292
+ * \[[`6f4b5d998e`](https://github.com/nodejs/node/commit/6f4b5d998e)] - **doc**: add esm examples to node:http2 (Alfredo González) [#54292](https://github.com/nodejs/node/pull/54292)
293
+ * \[[`1535469c12`](https://github.com/nodejs/node/commit/1535469c12)] - **doc**: explicitly mention node:fs module restriction (Rafael Gonzaga) [#54269](https://github.com/nodejs/node/pull/54269)
294
+ * \[[`26c37f7910`](https://github.com/nodejs/node/commit/26c37f7910)] - **doc**: remove module-based permission doc (Rafael Gonzaga) [#54266](https://github.com/nodejs/node/pull/54266)
295
+ * \[[`971b9f31f5`](https://github.com/nodejs/node/commit/971b9f31f5)] - **doc**: update `buffer.constants.MAX_LENGTH` size (Samuli Asmala) [#54207](https://github.com/nodejs/node/pull/54207)
296
+ * \[[`3106149965`](https://github.com/nodejs/node/commit/3106149965)] - **doc**: warn for windows build bug (Jason Zhang) [#54217](https://github.com/nodejs/node/pull/54217)
297
+ * \[[`55f8ac3e89`](https://github.com/nodejs/node/commit/55f8ac3e89)] - **doc**: make some parameters optional in `tracingChannel.traceCallback` (Deokjin Kim) [#54068](https://github.com/nodejs/node/pull/54068)
298
+ * \[[`e3e2f22cab`](https://github.com/nodejs/node/commit/e3e2f22cab)] - **doc**: add esm examples to node:dns (Alfredo González) [#54172](https://github.com/nodejs/node/pull/54172)
299
+ * \[[`0429b1eb9d`](https://github.com/nodejs/node/commit/0429b1eb9d)] - **doc**: add KevinEady as a triager (Chengzhong Wu) [#54179](https://github.com/nodejs/node/pull/54179)
300
+ * \[[`4bfa7d8e54`](https://github.com/nodejs/node/commit/4bfa7d8e54)] - **doc**: add esm examples to node:console (Alfredo González) [#54108](https://github.com/nodejs/node/pull/54108)
301
+ * \[[`2f5309fc22`](https://github.com/nodejs/node/commit/2f5309fc22)] - **doc**: fix sea assets example (Sadzurami) [#54192](https://github.com/nodejs/node/pull/54192)
302
+ * \[[`88aef5a39d`](https://github.com/nodejs/node/commit/88aef5a39d)] - **doc**: add links to security steward companies (Aviv Keller) [#52981](https://github.com/nodejs/node/pull/52981)
303
+ * \[[`5175903c23`](https://github.com/nodejs/node/commit/5175903c23)] - **doc**: move `onread` option from `socket.connect()` to `new net.socket()` (sendoru) [#54194](https://github.com/nodejs/node/pull/54194)
304
+ * \[[`144637e845`](https://github.com/nodejs/node/commit/144637e845)] - **doc**: move release key for Myles Borins (Richard Lau) [#54059](https://github.com/nodejs/node/pull/54059)
305
+ * \[[`358fdacec6`](https://github.com/nodejs/node/commit/358fdacec6)] - **doc**: refresh instructions for building node from source (Liran Tal) [#53768](https://github.com/nodejs/node/pull/53768)
306
+ * \[[`11fdaa6ad2`](https://github.com/nodejs/node/commit/11fdaa6ad2)] - **doc**: add documentation for blob.bytes() method (jaexxin) [#54114](https://github.com/nodejs/node/pull/54114)
307
+ * \[[`db3b0df42c`](https://github.com/nodejs/node/commit/db3b0df42c)] - **doc**: add missing new lines to custom test reporter examples (Eddie Abbondanzio) [#54152](https://github.com/nodejs/node/pull/54152)
308
+ * \[[`1cafefd2cf`](https://github.com/nodejs/node/commit/1cafefd2cf)] - **doc**: fix worker threadId/destination typo (Thomas Hunter II) [#53933](https://github.com/nodejs/node/pull/53933)
309
+ * \[[`7772b46038`](https://github.com/nodejs/node/commit/7772b46038)] - **doc**: update list of Triagers on the `README.md` (Antoine du Hamel) [#54138](https://github.com/nodejs/node/pull/54138)
310
+ * \[[`af99ba3dc9`](https://github.com/nodejs/node/commit/af99ba3dc9)] - **doc**: remove unused imports from worker\_threads.md (Yelim Koo) [#54147](https://github.com/nodejs/node/pull/54147)
311
+ * \[[`826edc4341`](https://github.com/nodejs/node/commit/826edc4341)] - **doc**: expand troubleshooting section (Liran Tal) [#53808](https://github.com/nodejs/node/pull/53808)
312
+ * \[[`923195b624`](https://github.com/nodejs/node/commit/923195b624)] - **doc**: clarify `useCodeCache` setting for cross-platform SEA generation (Yelim Koo) [#53994](https://github.com/nodejs/node/pull/53994)
313
+ * \[[`7c305a4900`](https://github.com/nodejs/node/commit/7c305a4900)] - **doc, meta**: replace command with link to keys (Aviv Keller) [#53745](https://github.com/nodejs/node/pull/53745)
314
+ * \[[`6f986e0ee6`](https://github.com/nodejs/node/commit/6f986e0ee6)] - **doc, test**: simplify test README table (Aviv Keller) [#53971](https://github.com/nodejs/node/pull/53971)
315
+ * \[[`112228c15a`](https://github.com/nodejs/node/commit/112228c15a)] - **fs**: remove unnecessary option argument validation (Jonas) [#53958](https://github.com/nodejs/node/pull/53958)
316
+ * \[[`911de7dd6d`](https://github.com/nodejs/node/commit/911de7dd6d)] - **(SEMVER-MINOR)** **inspector**: support `Network.loadingFailed` event (Kohei Ueno) [#54246](https://github.com/nodejs/node/pull/54246)
317
+ * \[[`1e825915d5`](https://github.com/nodejs/node/commit/1e825915d5)] - **inspector**: provide detailed info to fix DevTools frontend errors (Kohei Ueno) [#54156](https://github.com/nodejs/node/pull/54156)
318
+ * \[[`417120a3a3`](https://github.com/nodejs/node/commit/417120a3a3)] - **lib**: replace spread operator with primordials function (YoonSoo\_Shin) [#54053](https://github.com/nodejs/node/pull/54053)
319
+ * \[[`09f411e6f6`](https://github.com/nodejs/node/commit/09f411e6f6)] - **lib**: avoid for of loop and remove unnecessary variable in zlib (YoonSoo\_Shin) [#54258](https://github.com/nodejs/node/pull/54258)
320
+ * \[[`b8970570b0`](https://github.com/nodejs/node/commit/b8970570b0)] - **lib**: improve async\_context\_frame structure (Stephen Belanger) [#54239](https://github.com/nodejs/node/pull/54239)
321
+ * \[[`783322fa16`](https://github.com/nodejs/node/commit/783322fa16)] - **lib**: fix unhandled errors in webstream adapters (Fedor Indutny) [#54206](https://github.com/nodejs/node/pull/54206)
322
+ * \[[`425b9562b9`](https://github.com/nodejs/node/commit/425b9562b9)] - **lib**: fix typos in comments within internal/streams (YoonSoo\_Shin) [#54093](https://github.com/nodejs/node/pull/54093)
323
+ * \[[`9ee4b16bd8`](https://github.com/nodejs/node/commit/9ee4b16bd8)] - **(SEMVER-MINOR)** **lib**: rewrite AsyncLocalStorage without async\_hooks (Stephen Belanger) [#48528](https://github.com/nodejs/node/pull/48528)
324
+ * \[[`8c9a4ae12b`](https://github.com/nodejs/node/commit/8c9a4ae12b)] - **lib,permission**: support Buffer to permission.has (Rafael Gonzaga) [#54104](https://github.com/nodejs/node/pull/54104)
325
+ * \[[`c8e358c96c`](https://github.com/nodejs/node/commit/c8e358c96c)] - **meta**: add test-permission-\* CODEOWNERS (Rafael Gonzaga) [#54267](https://github.com/nodejs/node/pull/54267)
326
+ * \[[`581c155cf8`](https://github.com/nodejs/node/commit/581c155cf8)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#54210](https://github.com/nodejs/node/pull/54210)
327
+ * \[[`3f0d7344e3`](https://github.com/nodejs/node/commit/3f0d7344e3)] - **meta**: add module label for the lib/internal/modules folder (Aviv Keller) [#52858](https://github.com/nodejs/node/pull/52858)
328
+ * \[[`0157ec6bbd`](https://github.com/nodejs/node/commit/0157ec6bbd)] - **meta**: bump `actions/upload-artifact` from 4.3.3 to 4.3.4 (dependabot\[bot]) [#54166](https://github.com/nodejs/node/pull/54166)
329
+ * \[[`7fa95d2360`](https://github.com/nodejs/node/commit/7fa95d2360)] - **meta**: bump `actions/download-artifact` from 4.1.7 to 4.1.8 (dependabot\[bot]) [#54167](https://github.com/nodejs/node/pull/54167)
330
+ * \[[`acc5b9a0c5`](https://github.com/nodejs/node/commit/acc5b9a0c5)] - **meta**: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot\[bot]) [#54165](https://github.com/nodejs/node/pull/54165)
331
+ * \[[`dede30a8d0`](https://github.com/nodejs/node/commit/dede30a8d0)] - **meta**: bump `step-security/harden-runner` from 2.8.1 to 2.9.0 (dependabot\[bot]) [#54169](https://github.com/nodejs/node/pull/54169)
332
+ * \[[`b733854eac`](https://github.com/nodejs/node/commit/b733854eac)] - **meta**: bump `actions/setup-node` from 4.0.2 to 4.0.3 (dependabot\[bot]) [#54170](https://github.com/nodejs/node/pull/54170)
333
+ * \[[`6a9f168cc6`](https://github.com/nodejs/node/commit/6a9f168cc6)] - **meta**: bump `github/codeql-action` from 3.25.11 to 3.25.15 (dependabot\[bot]) [#54168](https://github.com/nodejs/node/pull/54168)
334
+ * \[[`9bbd85e4fe`](https://github.com/nodejs/node/commit/9bbd85e4fe)] - **meta**: bump `ossf/scorecard-action` from 2.3.3 to 2.4.0 (dependabot\[bot]) [#54171](https://github.com/nodejs/node/pull/54171)
335
+ * \[[`33633eebd9`](https://github.com/nodejs/node/commit/33633eebd9)] - **meta**: add typescript team to codeowners (Marco Ippolito) [#54101](https://github.com/nodejs/node/pull/54101)
336
+ * \[[`240d9296c1`](https://github.com/nodejs/node/commit/240d9296c1)] - **(SEMVER-MINOR)** **module**: add --experimental-transform-types flag (Marco Ippolito) [#54283](https://github.com/nodejs/node/pull/54283)
337
+ * \[[`66dcb2a571`](https://github.com/nodejs/node/commit/66dcb2a571)] - **(SEMVER-MINOR)** **module**: unflag detect-module (Geoffrey Booth) [#53619](https://github.com/nodejs/node/pull/53619)
338
+ * \[[`100225fbe1`](https://github.com/nodejs/node/commit/100225fbe1)] - **module**: do not attempt to strip type when there's no source (Antoine du Hamel) [#54287](https://github.com/nodejs/node/pull/54287)
339
+ * \[[`1ba2000703`](https://github.com/nodejs/node/commit/1ba2000703)] - **module**: refactor ts parser loading (Marco Ippolito) [#54243](https://github.com/nodejs/node/pull/54243)
340
+ * \[[`13cc480030`](https://github.com/nodejs/node/commit/13cc480030)] - **module**: remove outdated comment (Michaël Zasso) [#54118](https://github.com/nodejs/node/pull/54118)
341
+ * \[[`e676d98435`](https://github.com/nodejs/node/commit/e676d98435)] - **module,win**: fix long path resolve (Hüseyin Açacak) [#53294](https://github.com/nodejs/node/pull/53294)
342
+ * \[[`9aec536083`](https://github.com/nodejs/node/commit/9aec536083)] - **path**: change `posix.join` to use array (Wiyeong Seo) [#54331](https://github.com/nodejs/node/pull/54331)
343
+ * \[[`8a770cf5c9`](https://github.com/nodejs/node/commit/8a770cf5c9)] - **path**: fix relative on Windows (Hüseyin Açacak) [#53991](https://github.com/nodejs/node/pull/53991)
344
+ * \[[`267cd7f361`](https://github.com/nodejs/node/commit/267cd7f361)] - **path**: use the correct name in `validateString` (Benjamin Pasero) [#53669](https://github.com/nodejs/node/pull/53669)
345
+ * \[[`31adeea855`](https://github.com/nodejs/node/commit/31adeea855)] - **sea**: don't set code cache flags when snapshot is used (Joyee Cheung) [#54120](https://github.com/nodejs/node/pull/54120)
346
+ * \[[`7f1bf1ce24`](https://github.com/nodejs/node/commit/7f1bf1ce24)] - **sqlite**: split up large test file (Colin Ihrig) [#54014](https://github.com/nodejs/node/pull/54014)
347
+ * \[[`94e2ea6f5c`](https://github.com/nodejs/node/commit/94e2ea6f5c)] - **sqlite**: ensure statement finalization on db close (Colin Ihrig) [#54014](https://github.com/nodejs/node/pull/54014)
348
+ * \[[`e077ff1f38`](https://github.com/nodejs/node/commit/e077ff1f38)] - **src**: update compile cache storage structure (Joyee Cheung) [#54291](https://github.com/nodejs/node/pull/54291)
349
+ * \[[`4e4d1def7e`](https://github.com/nodejs/node/commit/4e4d1def7e)] - **src**: refactor http parser binding initialization (Joyee Cheung) [#54276](https://github.com/nodejs/node/pull/54276)
350
+ * \[[`409d9eb09b`](https://github.com/nodejs/node/commit/409d9eb09b)] - **src**: shift even moar x509 to ncrypto (James M Snell) [#54340](https://github.com/nodejs/node/pull/54340)
351
+ * \[[`f87aa27274`](https://github.com/nodejs/node/commit/f87aa27274)] - **src**: don't match after `--` in `Dotenv::GetPathFromArgs` (Aviv Keller) [#54237](https://github.com/nodejs/node/pull/54237)
352
+ * \[[`b6927dd981`](https://github.com/nodejs/node/commit/b6927dd981)] - **src**: move some X509Certificate stuff to ncrypto (James M Snell) [#54241](https://github.com/nodejs/node/pull/54241)
353
+ * \[[`a394219fa5`](https://github.com/nodejs/node/commit/a394219fa5)] - **src**: skip inspector wait in internal workers (Chengzhong Wu) [#54219](https://github.com/nodejs/node/pull/54219)
354
+ * \[[`8daeccfe92`](https://github.com/nodejs/node/commit/8daeccfe92)] - **src**: shift more crypto impl details to ncrypto (James M Snell) [#54028](https://github.com/nodejs/node/pull/54028)
355
+ * \[[`e619133ac9`](https://github.com/nodejs/node/commit/e619133ac9)] - **src**: move spkac methods to ncrypto (James M Snell) [#53985](https://github.com/nodejs/node/pull/53985)
356
+ * \[[`b52c2fff75`](https://github.com/nodejs/node/commit/b52c2fff75)] - **src**: account for OpenSSL unexpected version (Shelley Vohr) [#54038](https://github.com/nodejs/node/pull/54038)
357
+ * \[[`0b16af1689`](https://github.com/nodejs/node/commit/0b16af1689)] - **src,test**: track `URL.canParse` fast API calls (Michaël Zasso) [#54356](https://github.com/nodejs/node/pull/54356)
358
+ * \[[`2be78b03c3`](https://github.com/nodejs/node/commit/2be78b03c3)] - **src,test**: ensure that V8 fast APIs are called (Michaël Zasso) [#54317](https://github.com/nodejs/node/pull/54317)
359
+ * \[[`9297d29cdb`](https://github.com/nodejs/node/commit/9297d29cdb)] - **stream**: make checking pendingcb on WritableStream backward compatible (jakecastelli) [#54142](https://github.com/nodejs/node/pull/54142)
360
+ * \[[`2a6a12e493`](https://github.com/nodejs/node/commit/2a6a12e493)] - **stream**: throw TypeError when criteria fulfilled in getIterator (jakecastelli) [#53825](https://github.com/nodejs/node/pull/53825)
361
+ * \[[`7f68cc0f7f`](https://github.com/nodejs/node/commit/7f68cc0f7f)] - **test**: make snapshot comparison more flexible (Shelley Vohr) [#54375](https://github.com/nodejs/node/pull/54375)
362
+ * \[[`3df7938832`](https://github.com/nodejs/node/commit/3df7938832)] - **test**: make sure current run result is pushed and reset (jakecastelli) [#54332](https://github.com/nodejs/node/pull/54332)
363
+ * \[[`3e25be7b28`](https://github.com/nodejs/node/commit/3e25be7b28)] - **test**: use relative paths in test-cli-permission tests (sendoru) [#54188](https://github.com/nodejs/node/pull/54188)
364
+ * \[[`f49f1bb3e9`](https://github.com/nodejs/node/commit/f49f1bb3e9)] - **test**: unmark test-sqlite as flaky (Colin Ihrig) [#54014](https://github.com/nodejs/node/pull/54014)
365
+ * \[[`2f68a74702`](https://github.com/nodejs/node/commit/2f68a74702)] - **test**: fix timeout not being cleared (Isaac-yz-Liu) [#54242](https://github.com/nodejs/node/pull/54242)
366
+ * \[[`f5cfa4454e`](https://github.com/nodejs/node/commit/f5cfa4454e)] - **test**: refactor `test-runner-module-mocking` (Antoine du Hamel) [#54233](https://github.com/nodejs/node/pull/54233)
367
+ * \[[`b85b13b418`](https://github.com/nodejs/node/commit/b85b13b418)] - **test**: use assert.{s,deepS}trictEqual() (Luigi Pinca) [#54208](https://github.com/nodejs/node/pull/54208)
368
+ * \[[`6bcbfcd7bc`](https://github.com/nodejs/node/commit/6bcbfcd7bc)] - **test**: add subtests to test-node-run (sungpaks) [#54204](https://github.com/nodejs/node/pull/54204)
369
+ * \[[`dafe97548f`](https://github.com/nodejs/node/commit/dafe97548f)] - **test**: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) [#54115](https://github.com/nodejs/node/pull/54115)
370
+ * \[[`be61793db5`](https://github.com/nodejs/node/commit/be61793db5)] - **test**: update wpt test for streams (devstone) [#54129](https://github.com/nodejs/node/pull/54129)
371
+ * \[[`670c796449`](https://github.com/nodejs/node/commit/670c796449)] - **test**: fix typo in test (Sonny) [#54137](https://github.com/nodejs/node/pull/54137)
372
+ * \[[`1a15f3f613`](https://github.com/nodejs/node/commit/1a15f3f613)] - **test**: add initial pull delay and prototype pollution prevention tests (Sonny) [#54061](https://github.com/nodejs/node/pull/54061)
373
+ * \[[`5dbff81b71`](https://github.com/nodejs/node/commit/5dbff81b71)] - **test**: add coverage for webstorage quota (jakecastelli) [#53964](https://github.com/nodejs/node/pull/53964)
374
+ * \[[`141e9fe7cc`](https://github.com/nodejs/node/commit/141e9fe7cc)] - **test\_runner**: use validateStringArray for `timers.enable()` (Deokjin Kim) [#49534](https://github.com/nodejs/node/pull/49534)
375
+ * \[[`e70711e190`](https://github.com/nodejs/node/commit/e70711e190)] - **test\_runner**: report failures in filtered suites (Colin Ihrig) [#54387](https://github.com/nodejs/node/pull/54387)
376
+ * \[[`7766c1dc9b`](https://github.com/nodejs/node/commit/7766c1dc9b)] - **test\_runner**: remove parseCommandLine() from test.js (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
377
+ * \[[`961cbf0be0`](https://github.com/nodejs/node/commit/961cbf0be0)] - **test\_runner**: refactor hook creation (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
378
+ * \[[`69c78ca2f5`](https://github.com/nodejs/node/commit/69c78ca2f5)] - **test\_runner**: return setup() from parseCommandLine() (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
379
+ * \[[`ed1ede8c26`](https://github.com/nodejs/node/commit/ed1ede8c26)] - **test\_runner**: pass global options to createTestTree() (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
380
+ * \[[`1e88045a69`](https://github.com/nodejs/node/commit/1e88045a69)] - **test\_runner**: pass harness object as option to root test (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
381
+ * \[[`e3378f0679`](https://github.com/nodejs/node/commit/e3378f0679)] - **test\_runner**: use run() argument names in parseCommandLine() (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
382
+ * \[[`676bbd5c09`](https://github.com/nodejs/node/commit/676bbd5c09)] - **test\_runner**: fix delete test file cause dependency file not watched (jakecastelli) [#53533](https://github.com/nodejs/node/pull/53533)
383
+ * \[[`fe793a6103`](https://github.com/nodejs/node/commit/fe793a6103)] - **test\_runner**: do not expose internal loader (Antoine du Hamel) [#54106](https://github.com/nodejs/node/pull/54106)
384
+ * \[[`7fad771bbf`](https://github.com/nodejs/node/commit/7fad771bbf)] - **test\_runner**: fix erroneous diagnostic warning when only: false (Pietro Marchini) [#54116](https://github.com/nodejs/node/pull/54116)
385
+ * \[[`dc465736fb`](https://github.com/nodejs/node/commit/dc465736fb)] - **test\_runner**: make mock\_loader not confuse CJS and ESM resolution (Sung Ye In) [#53846](https://github.com/nodejs/node/pull/53846)
386
+ * \[[`5a1afb2139`](https://github.com/nodejs/node/commit/5a1afb2139)] - **test\_runner**: remove outdated comment (Colin Ihrig) [#54146](https://github.com/nodejs/node/pull/54146)
387
+ * \[[`20a01fcc39`](https://github.com/nodejs/node/commit/20a01fcc39)] - **test\_runner**: run after hooks even if test is aborted (Colin Ihrig) [#54151](https://github.com/nodejs/node/pull/54151)
388
+ * \[[`df428adb6c`](https://github.com/nodejs/node/commit/df428adb6c)] - **tools**: remove header from c-ares license (Aviv Keller) [#54335](https://github.com/nodejs/node/pull/54335)
389
+ * \[[`b659fc0f2b`](https://github.com/nodejs/node/commit/b659fc0f2b)] - **tools**: add find pyenv path on windows (Marco Ippolito) [#54314](https://github.com/nodejs/node/pull/54314)
390
+ * \[[`b93c6d9f38`](https://github.com/nodejs/node/commit/b93c6d9f38)] - **tools**: make undici updater build wasm from src (Michael Dawson) [#54128](https://github.com/nodejs/node/pull/54128)
391
+ * \[[`3835131559`](https://github.com/nodejs/node/commit/3835131559)] - **tools**: add workflow to ensure `README` lists are in sync with gh teams (Antoine du Hamel) [#53901](https://github.com/nodejs/node/pull/53901)
392
+ * \[[`e218b7ca8a`](https://github.com/nodejs/node/commit/e218b7ca8a)] - **tools**: add strip-types to label system (Marco Ippolito) [#54185](https://github.com/nodejs/node/pull/54185)
393
+ * \[[`8b35f0e601`](https://github.com/nodejs/node/commit/8b35f0e601)] - **tools**: update eslint to 9.8.0 (Node.js GitHub Bot) [#54073](https://github.com/nodejs/node/pull/54073)
394
+ * \[[`d83421fbe5`](https://github.com/nodejs/node/commit/d83421fbe5)] - **tty**: initialize winSize array with values (Michaël Zasso) [#54281](https://github.com/nodejs/node/pull/54281)
395
+ * \[[`a4768374f2`](https://github.com/nodejs/node/commit/a4768374f2)] - **typings**: add util.styleText type definition (Rafael Gonzaga) [#54252](https://github.com/nodejs/node/pull/54252)
396
+ * \[[`a4aecd2755`](https://github.com/nodejs/node/commit/a4aecd2755)] - **typings**: add missing binding function `writeFileUtf8()` (Jungku Lee) [#54110](https://github.com/nodejs/node/pull/54110)
397
+ * \[[`0bed600df9`](https://github.com/nodejs/node/commit/0bed600df9)] - **url**: modify pathToFileURL to handle extended UNC path (Early Riser) [#54262](https://github.com/nodejs/node/pull/54262)
398
+ * \[[`037672f15d`](https://github.com/nodejs/node/commit/037672f15d)] - **url**: improve resolveObject with ObjectAssign (Early Riser) [#54092](https://github.com/nodejs/node/pull/54092)
399
+ * \[[`4d8b53e475`](https://github.com/nodejs/node/commit/4d8b53e475)] - **watch**: reload changes in contents of --env-file (Marek Piechut) [#54109](https://github.com/nodejs/node/pull/54109)
400
+
48
401
  <a id="22.6.0"></a>
49
402
 
50
403
  ## 2024-08-06, Version 22.6.0 (Current), @RafaelGSS
package/LICENSE CHANGED
@@ -155,6 +155,211 @@ The externally maintained libraries used by Node.js are:
155
155
  SOFTWARE.
156
156
  """
157
157
 
158
+ - swc, located at deps/amaro/dist, is licensed as follows:
159
+ """
160
+ Apache License
161
+ Version 2.0, January 2004
162
+ http://www.apache.org/licenses/
163
+
164
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
165
+
166
+ 1. Definitions.
167
+
168
+ "License" shall mean the terms and conditions for use, reproduction,
169
+ and distribution as defined by Sections 1 through 9 of this document.
170
+
171
+ "Licensor" shall mean the copyright owner or entity authorized by
172
+ the copyright owner that is granting the License.
173
+
174
+ "Legal Entity" shall mean the union of the acting entity and all
175
+ other entities that control, are controlled by, or are under common
176
+ control with that entity. For the purposes of this definition,
177
+ "control" means (i) the power, direct or indirect, to cause the
178
+ direction or management of such entity, whether by contract or
179
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
180
+ outstanding shares, or (iii) beneficial ownership of such entity.
181
+
182
+ "You" (or "Your") shall mean an individual or Legal Entity
183
+ exercising permissions granted by this License.
184
+
185
+ "Source" form shall mean the preferred form for making modifications,
186
+ including but not limited to software source code, documentation
187
+ source, and configuration files.
188
+
189
+ "Object" form shall mean any form resulting from mechanical
190
+ transformation or translation of a Source form, including but
191
+ not limited to compiled object code, generated documentation,
192
+ and conversions to other media types.
193
+
194
+ "Work" shall mean the work of authorship, whether in Source or
195
+ Object form, made available under the License, as indicated by a
196
+ copyright notice that is included in or attached to the work
197
+ (an example is provided in the Appendix below).
198
+
199
+ "Derivative Works" shall mean any work, whether in Source or Object
200
+ form, that is based on (or derived from) the Work and for which the
201
+ editorial revisions, annotations, elaborations, or other modifications
202
+ represent, as a whole, an original work of authorship. For the purposes
203
+ of this License, Derivative Works shall not include works that remain
204
+ separable from, or merely link (or bind by name) to the interfaces of,
205
+ the Work and Derivative Works thereof.
206
+
207
+ "Contribution" shall mean any work of authorship, including
208
+ the original version of the Work and any modifications or additions
209
+ to that Work or Derivative Works thereof, that is intentionally
210
+ submitted to Licensor for inclusion in the Work by the copyright owner
211
+ or by an individual or Legal Entity authorized to submit on behalf of
212
+ the copyright owner. For the purposes of this definition, "submitted"
213
+ means any form of electronic, verbal, or written communication sent
214
+ to the Licensor or its representatives, including but not limited to
215
+ communication on electronic mailing lists, source code control systems,
216
+ and issue tracking systems that are managed by, or on behalf of, the
217
+ Licensor for the purpose of discussing and improving the Work, but
218
+ excluding communication that is conspicuously marked or otherwise
219
+ designated in writing by the copyright owner as "Not a Contribution."
220
+
221
+ "Contributor" shall mean Licensor and any individual or Legal Entity
222
+ on behalf of whom a Contribution has been received by Licensor and
223
+ subsequently incorporated within the Work.
224
+
225
+ 2. Grant of Copyright License. Subject to the terms and conditions of
226
+ this License, each Contributor hereby grants to You a perpetual,
227
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
228
+ copyright license to reproduce, prepare Derivative Works of,
229
+ publicly display, publicly perform, sublicense, and distribute the
230
+ Work and such Derivative Works in Source or Object form.
231
+
232
+ 3. Grant of Patent License. Subject to the terms and conditions of
233
+ this License, each Contributor hereby grants to You a perpetual,
234
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
235
+ (except as stated in this section) patent license to make, have made,
236
+ use, offer to sell, sell, import, and otherwise transfer the Work,
237
+ where such license applies only to those patent claims licensable
238
+ by such Contributor that are necessarily infringed by their
239
+ Contribution(s) alone or by combination of their Contribution(s)
240
+ with the Work to which such Contribution(s) was submitted. If You
241
+ institute patent litigation against any entity (including a
242
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
243
+ or a Contribution incorporated within the Work constitutes direct
244
+ or contributory patent infringement, then any patent licenses
245
+ granted to You under this License for that Work shall terminate
246
+ as of the date such litigation is filed.
247
+
248
+ 4. Redistribution. You may reproduce and distribute copies of the
249
+ Work or Derivative Works thereof in any medium, with or without
250
+ modifications, and in Source or Object form, provided that You
251
+ meet the following conditions:
252
+
253
+ (a) You must give any other recipients of the Work or
254
+ Derivative Works a copy of this License; and
255
+
256
+ (b) You must cause any modified files to carry prominent notices
257
+ stating that You changed the files; and
258
+
259
+ (c) You must retain, in the Source form of any Derivative Works
260
+ that You distribute, all copyright, patent, trademark, and
261
+ attribution notices from the Source form of the Work,
262
+ excluding those notices that do not pertain to any part of
263
+ the Derivative Works; and
264
+
265
+ (d) If the Work includes a "NOTICE" text file as part of its
266
+ distribution, then any Derivative Works that You distribute must
267
+ include a readable copy of the attribution notices contained
268
+ within such NOTICE file, excluding those notices that do not
269
+ pertain to any part of the Derivative Works, in at least one
270
+ of the following places: within a NOTICE text file distributed
271
+ as part of the Derivative Works; within the Source form or
272
+ documentation, if provided along with the Derivative Works; or,
273
+ within a display generated by the Derivative Works, if and
274
+ wherever such third-party notices normally appear. The contents
275
+ of the NOTICE file are for informational purposes only and
276
+ do not modify the License. You may add Your own attribution
277
+ notices within Derivative Works that You distribute, alongside
278
+ or as an addendum to the NOTICE text from the Work, provided
279
+ that such additional attribution notices cannot be construed
280
+ as modifying the License.
281
+
282
+ You may add Your own copyright statement to Your modifications and
283
+ may provide additional or different license terms and conditions
284
+ for use, reproduction, or distribution of Your modifications, or
285
+ for any such Derivative Works as a whole, provided Your use,
286
+ reproduction, and distribution of the Work otherwise complies with
287
+ the conditions stated in this License.
288
+
289
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
290
+ any Contribution intentionally submitted for inclusion in the Work
291
+ by You to the Licensor shall be under the terms and conditions of
292
+ this License, without any additional terms or conditions.
293
+ Notwithstanding the above, nothing herein shall supersede or modify
294
+ the terms of any separate license agreement you may have executed
295
+ with Licensor regarding such Contributions.
296
+
297
+ 6. Trademarks. This License does not grant permission to use the trade
298
+ names, trademarks, service marks, or product names of the Licensor,
299
+ except as required for reasonable and customary use in describing the
300
+ origin of the Work and reproducing the content of the NOTICE file.
301
+
302
+ 7. Disclaimer of Warranty. Unless required by applicable law or
303
+ agreed to in writing, Licensor provides the Work (and each
304
+ Contributor provides its Contributions) on an "AS IS" BASIS,
305
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
306
+ implied, including, without limitation, any warranties or conditions
307
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
308
+ PARTICULAR PURPOSE. You are solely responsible for determining the
309
+ appropriateness of using or redistributing the Work and assume any
310
+ risks associated with Your exercise of permissions under this License.
311
+
312
+ 8. Limitation of Liability. In no event and under no legal theory,
313
+ whether in tort (including negligence), contract, or otherwise,
314
+ unless required by applicable law (such as deliberate and grossly
315
+ negligent acts) or agreed to in writing, shall any Contributor be
316
+ liable to You for damages, including any direct, indirect, special,
317
+ incidental, or consequential damages of any character arising as a
318
+ result of this License or out of the use or inability to use the
319
+ Work (including but not limited to damages for loss of goodwill,
320
+ work stoppage, computer failure or malfunction, or any and all
321
+ other commercial damages or losses), even if such Contributor
322
+ has been advised of the possibility of such damages.
323
+
324
+ 9. Accepting Warranty or Additional Liability. While redistributing
325
+ the Work or Derivative Works thereof, You may choose to offer,
326
+ and charge a fee for, acceptance of support, warranty, indemnity,
327
+ or other liability obligations and/or rights consistent with this
328
+ License. However, in accepting such obligations, You may act only
329
+ on Your own behalf and on Your sole responsibility, not on behalf
330
+ of any other Contributor, and only if You agree to indemnify,
331
+ defend, and hold each Contributor harmless for any liability
332
+ incurred by, or claims asserted against, such Contributor by reason
333
+ of your accepting any such warranty or additional liability.
334
+
335
+ END OF TERMS AND CONDITIONS
336
+
337
+ APPENDIX: How to apply the Apache License to your work.
338
+
339
+ To apply the Apache License to your work, attach the following
340
+ boilerplate notice, with the fields enclosed by brackets "[]"
341
+ replaced with your own identifying information. (Don't include
342
+ the brackets!) The text should be enclosed in the appropriate
343
+ comment syntax for the file format. We also recommend that a
344
+ file or class name and description of purpose be included on the
345
+ same "printed page" as the copyright notice for easier
346
+ identification within third-party archives.
347
+
348
+ Copyright 2024 SWC contributors.
349
+
350
+ Licensed under the Apache License, Version 2.0 (the "License");
351
+ you may not use this file except in compliance with the License.
352
+ You may obtain a copy of the License at
353
+
354
+ http://www.apache.org/licenses/LICENSE-2.0
355
+
356
+ Unless required by applicable law or agreed to in writing, software
357
+ distributed under the License is distributed on an "AS IS" BASIS,
358
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
359
+ See the License for the specific language governing permissions and
360
+ limitations under the License.
361
+ """
362
+
158
363
  - ICU, located at deps/icu-small, is licensed as follows:
159
364
  """
160
365
  UNICODE LICENSE V3
package/README.md CHANGED
@@ -43,7 +43,7 @@ Looking for help? Check out the
43
43
 
44
44
  * **Current**: Under active development. Code for the Current release is in the
45
45
  branch for its major version number (for example,
46
- [v19.x](https://github.com/nodejs/node/tree/v19.x)). Node.js releases a new
46
+ [v22.x](https://github.com/nodejs/node/tree/v22.x)). Node.js releases a new
47
47
  major version every 6 months, allowing for breaking changes. This happens in
48
48
  April and October every year. Releases appearing each October have a support
49
49
  life of 8 months. Releases appearing each April convert to LTS (see below)
@@ -112,14 +112,9 @@ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -
112
112
  For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in
113
113
  `SHASUMS256.txt.sig`. You can use it with `gpg` to verify the integrity of
114
114
  `SHASUMS256.txt`. You will first need to import
115
- [the GPG keys of individuals authorized to create releases](#release-keys). To
116
- import the keys:
115
+ [the GPG keys of individuals authorized to create releases](#release-keys).
117
116
 
118
- ```bash
119
- gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
120
- ```
121
-
122
- See [Release keys](#release-keys) for a script to import active release keys.
117
+ See [Release keys](#release-keys) for commands to import active release keys.
123
118
 
124
119
  Next, download the `SHASUMS256.txt.sig` for the release:
125
120
 
@@ -292,7 +287,7 @@ For information about the governance of the Node.js project, see
292
287
  * [aduh95](https://github.com/aduh95) -
293
288
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
294
289
  * [anonrig](https://github.com/anonrig) -
295
- **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
290
+ **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him) - [Support me](https://github.com/sponsors/anonrig)
296
291
  * [apapirovski](https://github.com/apapirovski) -
297
292
  **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
298
293
  * [atlowChemi](https://github.com/atlowChemi) -
@@ -373,8 +368,6 @@ For information about the governance of the Node.js project, see
373
368
  **Minwoo Jung** <<nodecorelab@gmail.com>> (he/him)
374
369
  * [KhafraDev](https://github.com/KhafraDev) -
375
370
  **Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)
376
- * [kuriyosh](https://github.com/kuriyosh) -
377
- **Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
378
371
  * [kvakil](https://github.com/kvakil) -
379
372
  **Keyhan Vakil** <<kvakil@sylph.kvakil.me>>
380
373
  * [legendecas](https://github.com/legendecas) -
@@ -577,6 +570,8 @@ For information about the governance of the Node.js project, see
577
570
  **Kyle Farnung** <<kfarnung@microsoft.com>> (he/him)
578
571
  * [kunalspathak](https://github.com/kunalspathak) -
579
572
  **Kunal Pathak** <<kunal.pathak@microsoft.com>>
573
+ * [kuriyosh](https://github.com/kuriyosh) -
574
+ **Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
580
575
  * [lance](https://github.com/lance) -
581
576
  **Lance Ball** <<lball@redhat.com>> (he/him)
582
577
  * [Leko](https://github.com/Leko) -
@@ -739,20 +734,20 @@ maintaining the Node.js project.
739
734
  **Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
740
735
  * [F3n67u](https://github.com/F3n67u) -
741
736
  **Feng Yu** <<F3n67u@outlook.com>> (he/him)
742
- * [himadriganguly](https://github.com/himadriganguly) -
743
- **Himadri Ganguly** <<himadri.tech@gmail.com>> (he/him)
737
+ * [gireeshpunathil](https://github.com/gireeshpunathil) -
738
+ **Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
744
739
  * [iam-frankqiu](https://github.com/iam-frankqiu) -
745
740
  **Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
741
+ * [KevinEady](https://github.com/KevinEady) -
742
+ **Kevin Eady** <<kevin.c.eady@gmail.com>> (he/him)
743
+ * [kvakil](https://github.com/kvakil) -
744
+ **Keyhan Vakil** <<kvakil@sylph.kvakil.me>>
746
745
  * [marsonya](https://github.com/marsonya) -
747
746
  **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
748
747
  * [meixg](https://github.com/meixg) -
749
748
  **Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
750
749
  * [mertcanaltin](https://github.com/mertcanaltin) -
751
750
  **Mert Can Altin** <<mertgold60@gmail.com>>
752
- * [Mesteery](https://github.com/Mesteery) -
753
- **Mestery** <<mestery@protonmail.com>> (he/him)
754
- * [PoojaDurgad](https://github.com/PoojaDurgad) -
755
- **Pooja Durgad** <<Pooja.D.P@ibm.com>>
756
751
  * [preveen-stack](https://github.com/preveen-stack) -
757
752
  **Preveen Padmanabhan** <<wide4head@gmail.com>> (he/him)
758
753
  * [RedYetiDev](https://github.com/redyetidev) -
@@ -779,8 +774,6 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
779
774
  `CC68F5A3106FF448322E48ED27F5E38D5B0A215F`
780
775
  * **Michaël Zasso** <<targos@protonmail.com>>
781
776
  `8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600`
782
- * **Myles Borins** <<myles.borins@gmail.com>>
783
- `C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8`
784
777
  * **Rafael Gonzaga** <<rafael.nunu@hotmail.com>>
785
778
  `890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4`
786
779
  * **Richard Lau** <<rlau@redhat.com>>
@@ -800,7 +793,6 @@ gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A8
800
793
  gpg --keyserver hkps://keys.openpgp.org --recv-keys DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 # Juan José Arboleda
801
794
  gpg --keyserver hkps://keys.openpgp.org --recv-keys CC68F5A3106FF448322E48ED27F5E38D5B0A215F # Marco Ippolito
802
795
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 # Michaël Zasso
803
- gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins
804
796
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 # Rafael Gonzaga
805
797
  gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C # Richard Lau
806
798
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A # Ruy Adorno
@@ -836,6 +828,8 @@ verify a downloaded file.
836
828
  `61FC681DFB92A079F1685E77973F295594EC4689`
837
829
  * **Julien Gilli** <<jgilli@fastmail.fm>>
838
830
  `114F43EE0176B71C7BC219DD50A3051F888C628D`
831
+ * **Myles Borins** <<myles.borins@gmail.com>>
832
+ `C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8`
839
833
  * **Rod Vagg** <<rod@vagg.org>>
840
834
  `DD8F2338BAE7501E3DD5AC78C273792F7D83545D`
841
835
  * **Ruben Bridgewater** <<ruben@bridgewater.de>>
@@ -857,18 +851,18 @@ prioritize security releases. Security release stewards manage security
857
851
  releases on a rotation basis as outlined in the
858
852
  [security release process](./doc/contributing/security-release-process.md).
859
853
 
860
- * Datadog
854
+ * [Datadog](https://www.datadoghq.com/)
861
855
  * [bengl](https://github.com/bengl) -
862
856
  **Bryan English** <<bryan@bryanenglish.com>> (he/him)
863
- * NodeSource
857
+ * [NodeSource](https://nodesource.com/)
864
858
  * [juanarbol](https://github.com/juanarbol) -
865
859
  **Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
866
860
  * [RafaelGSS](https://github.com/RafaelGSS) -
867
861
  **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
868
- * Platformatic
862
+ * [Platformatic](https://platformatic.dev/)
869
863
  * [mcollina](https://github.com/mcollina) -
870
864
  **Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
871
- * Red Hat and IBM
865
+ * [Red Hat](https://redhat.com) / [IBM](https://ibm.com)
872
866
  * [joesepi](https://github.com/joesepi) -
873
867
  **Joe Sepi** <<joesepi@ibm.com>> (he/him)
874
868
  * [mhdawson](https://github.com/mhdawson) -
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.18',
39
+ 'v8_embedder_string': '-node.19',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -489,7 +489,12 @@
489
489
  }],
490
490
  [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', {
491
491
  'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
492
- 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++17' ],
492
+ 'cflags_cc': [
493
+ '-fno-rtti',
494
+ '-fno-exceptions',
495
+ '-fno-strict-aliasing',
496
+ '-std=gnu++17',
497
+ ],
493
498
  'defines': [ '__STDC_FORMAT_MACROS' ],
494
499
  'ldflags': [ '-rdynamic' ],
495
500
  'target_conditions': [
@@ -620,12 +625,10 @@
620
625
  'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
621
626
  'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
622
627
  'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
628
+ 'GCC_STRICT_ALIASING': 'NO', # -fno-strict-aliasing
623
629
  'PREBINDING': 'NO', # No -Wl,-prebind
624
630
  'MACOSX_DEPLOYMENT_TARGET': '11.0', # -mmacosx-version-min=11.0
625
631
  'USE_HEADERMAP': 'NO',
626
- 'OTHER_CFLAGS': [
627
- '-fno-strict-aliasing',
628
- ],
629
632
  'WARNING_CFLAGS': [
630
633
  '-Wall',
631
634
  '-Wendif-labels',
@@ -78,7 +78,10 @@
78
78
  'lib/internal/assert.js',
79
79
  'lib/internal/assert/assertion_error.js',
80
80
  'lib/internal/assert/calltracker.js',
81
+ 'lib/internal/async_context_frame.js',
81
82
  'lib/internal/async_hooks.js',
83
+ 'lib/internal/async_local_storage/async_context_frame.js',
84
+ 'lib/internal/async_local_storage/async_hooks.js',
82
85
  'lib/internal/blob.js',
83
86
  'lib/internal/blocklist.js',
84
87
  'lib/internal/bootstrap/node.js',
@@ -267,6 +270,7 @@
267
270
  'lib/internal/test/transfer.js',
268
271
  'lib/internal/test_runner/coverage.js',
269
272
  'lib/internal/test_runner/harness.js',
273
+ 'lib/internal/test_runner/mock/loader.js',
270
274
  'lib/internal/test_runner/mock/mock.js',
271
275
  'lib/internal/test_runner/mock/mock_timers.js',
272
276
  'lib/internal/test_runner/reporter/dot.js',
@@ -342,7 +346,6 @@
342
346
  'lib/string_decoder.js',
343
347
  'lib/sys.js',
344
348
  'lib/test.js',
345
- 'lib/test/mock_loader.js',
346
349
  'lib/test/reporters.js',
347
350
  'lib/timers.js',
348
351
  'lib/timers/promises.js',
@@ -379,6 +382,7 @@
379
382
  'node_shared_zlib': 'false',
380
383
  'node_tag': '',
381
384
  'node_target_type': 'executable',
385
+ 'node_use_amaro': 'true',
382
386
  'node_use_bundled_v8': 'true',
383
387
  'node_use_node_code_cache': 'true',
384
388
  'node_use_node_snapshot': 'true',
@@ -409,7 +413,6 @@
409
413
  'v8_enable_sandbox': 0,
410
414
  'v8_enable_shared_ro_heap': 1,
411
415
  'v8_enable_webassembly': 1,
412
- 'v8_no_strict_aliasing': 1,
413
416
  'v8_optimized_debug': 1,
414
417
  'v8_promise_internal_field_count': 1,
415
418
  'v8_random_seed': 0,
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 22
26
- #define NODE_MINOR_VERSION 6
26
+ #define NODE_MINOR_VERSION 8
27
27
  #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
@@ -9,6 +9,7 @@
9
9
  #include <stdint.h>
10
10
 
11
11
  #include <memory>
12
+ #include <string>
12
13
  #include <utility>
13
14
 
14
15
  #include "cppgc/common.h"
@@ -1711,6 +1712,12 @@ class V8_EXPORT Isolate {
1711
1712
  */
1712
1713
  void LocaleConfigurationChangeNotification();
1713
1714
 
1715
+ /**
1716
+ * Returns the default locale in a string if Intl support is enabled.
1717
+ * Otherwise returns an empty string.
1718
+ */
1719
+ std::string GetDefaultLocale();
1720
+
1714
1721
  Isolate() = delete;
1715
1722
  ~Isolate() = delete;
1716
1723
  Isolate(const Isolate&) = delete;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-s390x",
3
- "version": "v22.6.0",
3
+ "version": "v22.8.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -185,6 +185,9 @@ Enable the experimental node:sqlite module.
185
185
  .It Fl -experimental-test-coverage
186
186
  Enable code coverage in the test runner.
187
187
  .
188
+ .It Fl -experimental-test-isolation Ns = Ns Ar mode
189
+ Configures the type of test isolation used in the test runner.
190
+ .
188
191
  .It Fl -experimental-test-module-mocks
189
192
  Enable module mocking in the test runner.
190
193
  .
@@ -194,6 +197,9 @@ Enable snapshot testing in the test runner.
194
197
  .It Fl -experimental-strip-types
195
198
  Enable experimental type-stripping for TypeScript files.
196
199
  .
200
+ .It Fl -experimental-transform-types
201
+ Enable transformation of TypeScript-only syntax into JavaScript code.
202
+ .
197
203
  .It Fl -experimental-eventsource
198
204
  Enable experimental support for the EventSource Web API.
199
205
  .
@@ -444,12 +450,21 @@ Starts the Node.js command line test runner.
444
450
  The maximum number of test files that the test runner CLI will execute
445
451
  concurrently.
446
452
  .
453
+ .It Fl -test-coverage-branches Ns = Ns Ar threshold
454
+ Require a minimum threshold for branch coverage (0 - 100).
455
+ .
447
456
  .It Fl -test-coverage-exclude
448
457
  A glob pattern that excludes matching files from the coverage report
449
458
  .
459
+ .It Fl -test-coverage-functions Ns = Ns Ar threshold
460
+ Require a minimum threshold for function coverage (0 - 100).
461
+ .
450
462
  .It Fl -test-coverage-include
451
463
  A glob pattern that only includes matching files in the coverage report
452
464
  .
465
+ .It Fl -test-coverage-lines Ns = Ns Ar threshold
466
+ Require a minimum threshold for line coverage (0 - 100).
467
+ .
453
468
  .It Fl -test-force-exit
454
469
  Configures the test runner to exit the process once all known tests have
455
470
  finished executing even if the event loop would otherwise remain active.