node-linux-s390x 22.7.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,7 @@
8
8
  </tr>
9
9
  <tr>
10
10
  <td>
11
+ <a href="#22.8.0">22.8.0</a><br/>
11
12
  <a href="#22.7.0">22.7.0</a><br/>
12
13
  <a href="#22.6.0">22.6.0</a><br/>
13
14
  <a href="#22.5.1">22.5.1</a><br/>
@@ -46,6 +47,151 @@
46
47
  * [io.js](CHANGELOG_IOJS.md)
47
48
  * [Archive](CHANGELOG_ARCHIVE.md)
48
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
+
49
195
  <a id="22.7.0"></a>
50
196
 
51
197
  ## 2024-08-22, Version 22.7.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
@@ -287,7 +287,7 @@ For information about the governance of the Node.js project, see
287
287
  * [aduh95](https://github.com/aduh95) -
288
288
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
289
289
  * [anonrig](https://github.com/anonrig) -
290
- **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
290
+ **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him) - [Support me](https://github.com/sponsors/anonrig)
291
291
  * [apapirovski](https://github.com/apapirovski) -
292
292
  **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
293
293
  * [atlowChemi](https://github.com/atlowChemi) -
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
 
@@ -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 7
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.7.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
  .
@@ -447,12 +450,21 @@ Starts the Node.js command line test runner.
447
450
  The maximum number of test files that the test runner CLI will execute
448
451
  concurrently.
449
452
  .
453
+ .It Fl -test-coverage-branches Ns = Ns Ar threshold
454
+ Require a minimum threshold for branch coverage (0 - 100).
455
+ .
450
456
  .It Fl -test-coverage-exclude
451
457
  A glob pattern that excludes matching files from the coverage report
452
458
  .
459
+ .It Fl -test-coverage-functions Ns = Ns Ar threshold
460
+ Require a minimum threshold for function coverage (0 - 100).
461
+ .
453
462
  .It Fl -test-coverage-include
454
463
  A glob pattern that only includes matching files in the coverage report
455
464
  .
465
+ .It Fl -test-coverage-lines Ns = Ns Ar threshold
466
+ Require a minimum threshold for line coverage (0 - 100).
467
+ .
456
468
  .It Fl -test-force-exit
457
469
  Configures the test runner to exit the process once all known tests have
458
470
  finished executing even if the event loop would otherwise remain active.