node-linux-s390x 23.4.0 → 23.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,8 @@
8
8
  </tr>
9
9
  <tr>
10
10
  <td>
11
+ <a href="#23.6.0">23.6.0</a><br/>
12
+ <a href="#23.5.0">23.5.0</a><br/>
11
13
  <a href="#23.4.0">23.4.0</a><br/>
12
14
  <a href="#23.3.0">23.3.0</a><br/>
13
15
  <a href="#23.2.0">23.2.0</a><br/>
@@ -42,6 +44,264 @@
42
44
  * [io.js](CHANGELOG_IOJS.md)
43
45
  * [Archive](CHANGELOG_ARCHIVE.md)
44
46
 
47
+ <a id="23.6.0"></a>
48
+
49
+ ## 2025-01-07, Version 23.6.0 (Current), @marco-ippolito
50
+
51
+ ### Notable Changes
52
+
53
+ #### Unflagging --experimental-strip-types
54
+
55
+ This release enables the flag `--experimental-strip-types` by default.
56
+ Node.js will be able to execute TypeScript files without additional configuration:
57
+
58
+ ```bash
59
+ node file.ts
60
+ ```
61
+
62
+ There are some limitations in the supported syntax documented at <https://nodejs.org/api/typescript.html#type-stripping>
63
+ This feature is experimental and is subject to change.
64
+
65
+ Contributed by Marco Ippolito in [#56350](https://github.com/nodejs/node/pull/56350)
66
+
67
+ ### Other Notable Changes
68
+
69
+ * \[[`c1023284c3`](https://github.com/nodejs/node/commit/c1023284c3)] - **(SEMVER-MINOR)** **lib**: add typescript support to STDIN eval (Marco Ippolito) [#56359](https://github.com/nodejs/node/pull/56359)
70
+ * \[[`8dc39e5e2e`](https://github.com/nodejs/node/commit/8dc39e5e2e)] - **(SEMVER-MINOR)** **process**: add process.ref() and process.unref() methods (James M Snell) [#56400](https://github.com/nodejs/node/pull/56400)
71
+ * \[[`8b20cc212b`](https://github.com/nodejs/node/commit/8b20cc212b)] - **(SEMVER-MINOR)** **worker**: add eval ts input (Marco Ippolito) [#56394](https://github.com/nodejs/node/pull/56394)
72
+
73
+ ### Commits
74
+
75
+ * \[[`7b4d288116`](https://github.com/nodejs/node/commit/7b4d288116)] - **assert**: make partialDeepStrictEqual throw when comparing \[0] with \[-0] (Giovanni) [#56237](https://github.com/nodejs/node/pull/56237)
76
+ * \[[`0ec2ed0a0b`](https://github.com/nodejs/node/commit/0ec2ed0a0b)] - **build**: fix GN build for ngtcp2 (Cheng) [#56300](https://github.com/nodejs/node/pull/56300)
77
+ * \[[`ab3e64630b`](https://github.com/nodejs/node/commit/ab3e64630b)] - **build**: test macos-13 on GitHub actions (Michaël Zasso) [#56307](https://github.com/nodejs/node/pull/56307)
78
+ * \[[`46fb69daca`](https://github.com/nodejs/node/commit/46fb69daca)] - **build**: build v8 with -fvisibility=hidden on macOS (Joyee Cheung) [#56275](https://github.com/nodejs/node/pull/56275)
79
+ * \[[`9d4930b993`](https://github.com/nodejs/node/commit/9d4930b993)] - **deps**: update simdutf to 5.7.2 (Node.js GitHub Bot) [#56388](https://github.com/nodejs/node/pull/56388)
80
+ * \[[`6afe36397e`](https://github.com/nodejs/node/commit/6afe36397e)] - **deps**: update amaro to 0.2.1 (Node.js GitHub Bot) [#56390](https://github.com/nodejs/node/pull/56390)
81
+ * \[[`195990a0ee`](https://github.com/nodejs/node/commit/195990a0ee)] - **deps**: update googletest to 7d76a23 (Node.js GitHub Bot) [#56387](https://github.com/nodejs/node/pull/56387)
82
+ * \[[`b9c0852fc6`](https://github.com/nodejs/node/commit/b9c0852fc6)] - **deps**: update googletest to e54519b (Node.js GitHub Bot) [#56370](https://github.com/nodejs/node/pull/56370)
83
+ * \[[`eaefd90128`](https://github.com/nodejs/node/commit/eaefd90128)] - **deps**: update ngtcp2 to 1.10.0 (Node.js GitHub Bot) [#56334](https://github.com/nodejs/node/pull/56334)
84
+ * \[[`06de0c65cf`](https://github.com/nodejs/node/commit/06de0c65cf)] - **deps**: update simdutf to 5.7.0 (Node.js GitHub Bot) [#56332](https://github.com/nodejs/node/pull/56332)
85
+ * \[[`03df76cdec`](https://github.com/nodejs/node/commit/03df76cdec)] - **doc**: add example for piping ReadableStream (Gabriel Schulhof) [#56415](https://github.com/nodejs/node/pull/56415)
86
+ * \[[`38ce249b07`](https://github.com/nodejs/node/commit/38ce249b07)] - **doc**: expand description of `parseArg`'s `default` (Kevin Gibbons) [#54431](https://github.com/nodejs/node/pull/54431)
87
+ * \[[`ecc718cef2`](https://github.com/nodejs/node/commit/ecc718cef2)] - **doc**: use `<ul>` instead of `<ol>` in `SECURITY.md` (Antoine du Hamel) [#56346](https://github.com/nodejs/node/pull/56346)
88
+ * \[[`3db4809130`](https://github.com/nodejs/node/commit/3db4809130)] - **doc**: clarify that WASM is trusted (Matteo Collina) [#56345](https://github.com/nodejs/node/pull/56345)
89
+ * \[[`384ccbacd5`](https://github.com/nodejs/node/commit/384ccbacd5)] - **doc**: update macOS and Xcode versions for releases (Michaël Zasso) [#56337](https://github.com/nodejs/node/pull/56337)
90
+ * \[[`3943986e88`](https://github.com/nodejs/node/commit/3943986e88)] - **doc**: fix the `crc32` documentation (Kevin Toshihiro Uehara) [#55898](https://github.com/nodejs/node/pull/55898)
91
+ * \[[`710b8fc6ed`](https://github.com/nodejs/node/commit/710b8fc6ed)] - **doc**: add entry to changelog about SQLite Session Extension (Bart Louwers) [#56318](https://github.com/nodejs/node/pull/56318)
92
+ * \[[`4c978b4d77`](https://github.com/nodejs/node/commit/4c978b4d77)] - **doc**: fix links in `module.md` (Antoine du Hamel) [#56283](https://github.com/nodejs/node/pull/56283)
93
+ * \[[`cdb631efe7`](https://github.com/nodejs/node/commit/cdb631efe7)] - **esm**: add experimental support for addon modules (Chengzhong Wu) [#55844](https://github.com/nodejs/node/pull/55844)
94
+ * \[[`db83d2f0ee`](https://github.com/nodejs/node/commit/db83d2f0ee)] - _**Revert**_ "**events**: add hasEventListener util for validate" (origranot) [#56282](https://github.com/nodejs/node/pull/56282)
95
+ * \[[`c2baae84ce`](https://github.com/nodejs/node/commit/c2baae84ce)] - **lib**: refactor execution.js (Marco Ippolito) [#56358](https://github.com/nodejs/node/pull/56358)
96
+ * \[[`c1023284c3`](https://github.com/nodejs/node/commit/c1023284c3)] - **(SEMVER-MINOR)** **lib**: add typescript support to STDIN eval (Marco Ippolito) [#56359](https://github.com/nodejs/node/pull/56359)
97
+ * \[[`e4b795ec4a`](https://github.com/nodejs/node/commit/e4b795ec4a)] - **lib**: optimize `prepareStackTrace` on builtin frames (Chengzhong Wu) [#56299](https://github.com/nodejs/node/pull/56299)
98
+ * \[[`d1b009b623`](https://github.com/nodejs/node/commit/d1b009b623)] - **lib**: suppress source map lookup exceptions (Chengzhong Wu) [#56299](https://github.com/nodejs/node/pull/56299)
99
+ * \[[`c2837f0805`](https://github.com/nodejs/node/commit/c2837f0805)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#56342](https://github.com/nodejs/node/pull/56342)
100
+ * \[[`72336233f2`](https://github.com/nodejs/node/commit/72336233f2)] - **meta**: move MoLow to TSC regular member (Moshe Atlow) [#56276](https://github.com/nodejs/node/pull/56276)
101
+ * \[[`4f77920a9d`](https://github.com/nodejs/node/commit/4f77920a9d)] - **module**: fix async resolution error within the sync `findPackageJSON` (Jacob Smith) [#56382](https://github.com/nodejs/node/pull/56382)
102
+ * \[[`e5ba216501`](https://github.com/nodejs/node/commit/e5ba216501)] - **(SEMVER-MINOR)** **module**: unflag --experimental-strip-types (Marco Ippolito) [#56350](https://github.com/nodejs/node/pull/56350)
103
+ * \[[`959f133a22`](https://github.com/nodejs/node/commit/959f133a22)] - **module**: support eval with ts syntax detection (Marco Ippolito) [#56285](https://github.com/nodejs/node/pull/56285)
104
+ * \[[`717cfa4fac`](https://github.com/nodejs/node/commit/717cfa4fac)] - **module**: use buffer.toString base64 (Chengzhong Wu) [#56315](https://github.com/nodejs/node/pull/56315)
105
+ * \[[`c2f4d8d688`](https://github.com/nodejs/node/commit/c2f4d8d688)] - **node-api**: define version 10 (Gabriel Schulhof) [#55676](https://github.com/nodejs/node/pull/55676)
106
+ * \[[`417a8ebdec`](https://github.com/nodejs/node/commit/417a8ebdec)] - **node-api**: remove deprecated attribute from napi\_module\_register (Vladimir Morozov) [#56162](https://github.com/nodejs/node/pull/56162)
107
+ * \[[`8dc39e5e2e`](https://github.com/nodejs/node/commit/8dc39e5e2e)] - **(SEMVER-MINOR)** **process**: add process.ref() and process.unref() methods (James M Snell) [#56400](https://github.com/nodejs/node/pull/56400)
108
+ * \[[`d194f1ab5f`](https://github.com/nodejs/node/commit/d194f1ab5f)] - **sqlite**: pass conflict type to conflict resolution handler (Bart Louwers) [#56352](https://github.com/nodejs/node/pull/56352)
109
+ * \[[`29f5d70452`](https://github.com/nodejs/node/commit/29f5d70452)] - **src**: use v8::LocalVector consistently with other minor cleanups (James M Snell) [#56417](https://github.com/nodejs/node/pull/56417)
110
+ * \[[`2a5543b78e`](https://github.com/nodejs/node/commit/2a5543b78e)] - **src**: use starts\_with in fs\_permission.cc (ishabi) [#55811](https://github.com/nodejs/node/pull/55811)
111
+ * \[[`3a3f5c9a64`](https://github.com/nodejs/node/commit/3a3f5c9a64)] - **stream**: validate undefined sizeAlgorithm in WritableStream (Jason Zhang) [#56067](https://github.com/nodejs/node/pull/56067)
112
+ * \[[`6e6f6b071a`](https://github.com/nodejs/node/commit/6e6f6b071a)] - **test**: add ts eval snapshots (Marco Ippolito) [#56358](https://github.com/nodejs/node/pull/56358)
113
+ * \[[`8a87e39052`](https://github.com/nodejs/node/commit/8a87e39052)] - **test**: remove empty lines from snapshots (Marco Ippolito) [#56358](https://github.com/nodejs/node/pull/56358)
114
+ * \[[`510649f617`](https://github.com/nodejs/node/commit/510649f617)] - **test**: use unusual chars in the path to ensure our tests are robust (Antoine du Hamel) [#48409](https://github.com/nodejs/node/pull/48409)
115
+ * \[[`54f6d681a0`](https://github.com/nodejs/node/commit/54f6d681a0)] - **test**: remove flaky designation (Luigi Pinca) [#56369](https://github.com/nodejs/node/pull/56369)
116
+ * \[[`20ace0bb01`](https://github.com/nodejs/node/commit/20ace0bb01)] - **test**: remove test-worker-arraybuffer-zerofill flaky designation (Luigi Pinca) [#56364](https://github.com/nodejs/node/pull/56364)
117
+ * \[[`b757e40525`](https://github.com/nodejs/node/commit/b757e40525)] - **test**: remove test-net-write-fully-async-hex-string flaky designation (Luigi Pinca) [#56365](https://github.com/nodejs/node/pull/56365)
118
+ * \[[`64556baddc`](https://github.com/nodejs/node/commit/64556baddc)] - **test**: improve abort signal dropping test (Edy Silva) [#56339](https://github.com/nodejs/node/pull/56339)
119
+ * \[[`accbdad329`](https://github.com/nodejs/node/commit/accbdad329)] - **test**: enable ts test on win arm64 (Marco Ippolito) [#56349](https://github.com/nodejs/node/pull/56349)
120
+ * \[[`4188ee00d1`](https://github.com/nodejs/node/commit/4188ee00d1)] - **test**: deflake test-watch-file-shared-dependency (Luigi Pinca) [#56344](https://github.com/nodejs/node/pull/56344)
121
+ * \[[`079cee0609`](https://github.com/nodejs/node/commit/079cee0609)] - **test**: skip `test-sqlite-extensions` when SQLite is not built by us (Antoine du Hamel) [#56341](https://github.com/nodejs/node/pull/56341)
122
+ * \[[`96a38044ee`](https://github.com/nodejs/node/commit/96a38044ee)] - **test**: increase spin for eventloop test on s390 (Michael Dawson) [#56228](https://github.com/nodejs/node/pull/56228)
123
+ * \[[`c062ffc242`](https://github.com/nodejs/node/commit/c062ffc242)] - **test**: add coverage for pipeline (jakecastelli) [#56278](https://github.com/nodejs/node/pull/56278)
124
+ * \[[`d4404f0d0e`](https://github.com/nodejs/node/commit/d4404f0d0e)] - **test**: migrate message eval tests from Python to JS (Yiyun Lei) [#50482](https://github.com/nodejs/node/pull/50482)
125
+ * \[[`9369942745`](https://github.com/nodejs/node/commit/9369942745)] - **test**: check typescript loader (Marco Ippolito) [#54657](https://github.com/nodejs/node/pull/54657)
126
+ * \[[`4930244484`](https://github.com/nodejs/node/commit/4930244484)] - **test**: remove async-hooks/test-writewrap flaky designation (Luigi Pinca) [#56048](https://github.com/nodejs/node/pull/56048)
127
+ * \[[`7819bfec69`](https://github.com/nodejs/node/commit/7819bfec69)] - **test**: deflake test-esm-loader-hooks-inspect-brk (Luigi Pinca) [#56050](https://github.com/nodejs/node/pull/56050)
128
+ * \[[`e9762bf005`](https://github.com/nodejs/node/commit/e9762bf005)] - **test**: add test case for listeners (origranot) [#56282](https://github.com/nodejs/node/pull/56282)
129
+ * \[[`c1627e9d19`](https://github.com/nodejs/node/commit/c1627e9d19)] - **test**: make `test-permission-sqlite-load-extension` more robust (Antoine du Hamel) [#56295](https://github.com/nodejs/node/pull/56295)
130
+ * \[[`97d854e1d5`](https://github.com/nodejs/node/commit/97d854e1d5)] - **test\_runner,cli**: mark test isolation as stable (Colin Ihrig) [#56298](https://github.com/nodejs/node/pull/56298)
131
+ * \[[`a4f336fdd4`](https://github.com/nodejs/node/commit/a4f336fdd4)] - **tools**: fix `require-common-first` lint rule from subfolder (Antoine du Hamel) [#56325](https://github.com/nodejs/node/pull/56325)
132
+ * \[[`dc3dafcb50`](https://github.com/nodejs/node/commit/dc3dafcb50)] - **tools**: add release line label when opening release proposal (Antoine du Hamel) [#56317](https://github.com/nodejs/node/pull/56317)
133
+ * \[[`2a5ac932ac`](https://github.com/nodejs/node/commit/2a5ac932ac)] - **url**: use resolved path to convert UNC paths to URL (Antoine du Hamel) [#56302](https://github.com/nodejs/node/pull/56302)
134
+ * \[[`8b20cc212b`](https://github.com/nodejs/node/commit/8b20cc212b)] - **(SEMVER-MINOR)** **worker**: add eval ts input (Marco Ippolito) [#56394](https://github.com/nodejs/node/pull/56394)
135
+
136
+ <a id="23.5.0"></a>
137
+
138
+ ## 2024-12-19, Version 23.5.0 (Current), @aduh95
139
+
140
+ ### Notable Changes
141
+
142
+ #### WebCryptoAPI Ed25519 and X25519 algorithms are now stable
143
+
144
+ Following the merge of Curve25519 into the
145
+ [Web Cryptography API Editor's Draft](https://w3c.github.io/webcrypto/) the
146
+ `Ed25519` and `X25519` algorithm identifiers are now stable and will no longer
147
+ emit an ExperimentalWarning upon use.
148
+
149
+ Contributed by Filip Skokan in [#56142](https://github.com/nodejs/node/pull/56142).
150
+
151
+ #### On-thread hooks are back
152
+
153
+ This release introduces `module.registerHooks()` for registering module loader
154
+ customization hooks that are run for all modules loaded by `require()`, `import`
155
+ and functions returned by `createRequire()` in the same thread, which makes them
156
+ easier for CJS monkey-patchers to migrate to.
157
+
158
+ ```mjs
159
+ import assert from 'node:assert';
160
+ import { registerHooks, createRequire } from 'node:module';
161
+ import { writeFileSync } from 'node:fs';
162
+
163
+ writeFileSync('./bar.js', 'export const id = 123;', 'utf8');
164
+
165
+ registerHooks({
166
+ resolve(specifier, context, nextResolve) {
167
+ const replaced = specifier.replace('foo', 'bar');
168
+ return nextResolve(replaced, context);
169
+ },
170
+ load(url, context, nextLoad) {
171
+ const result = nextLoad(url, context);
172
+ return {
173
+ ...result,
174
+ source: result.source.toString().replace('123', '456'),
175
+ };
176
+ },
177
+ });
178
+
179
+ // Checks that it works with require.
180
+ const require = createRequire(import.meta.url);
181
+ const required = require('./foo.js'); // Redirected by resolve hook to bar.js
182
+ assert.strictEqual(required.id, 456); // Replaced by load hook to 456
183
+
184
+ // Checks that it works with import.
185
+ const imported = await import('./foo.js'); // Redirected by resolve hook to bar.js
186
+ assert.strictEqual(imported.id, 456); // Replaced by load hook to 456
187
+ ```
188
+
189
+ This complements the `module.register()` hooks - the new hooks fit better
190
+ internally and cover all corners in the module graph; whereas
191
+ `module.register()` previously could not cover `require()` while it was
192
+ on-thread, and still cannot cover `createRequire()` after being moved
193
+ off-thread.
194
+
195
+ They are also run in the same thread as the modules being loaded and where the
196
+ hooks are registered, which means they are easier to debug (no more
197
+ `console.log()` getting lost) and do not have the many deadlock issues haunting
198
+ the `module.register()` hooks. The new API also takes functions directly so that
199
+ it's easier for intermediate loader packages to take user options from files
200
+ that the hooks can't be aware of, like many existing CJS monkey-patchers do.
201
+
202
+ Contributed by Joyee Cheung in [#55698](https://github.com/nodejs/node/pull/55698).
203
+
204
+ #### Other notable changes
205
+
206
+ * \[[`59cae91465`](https://github.com/nodejs/node/commit/59cae91465)] - **(SEMVER-MINOR)** **dgram**: support blocklist in udp (theanarkh) [#56087](https://github.com/nodejs/node/pull/56087)
207
+ * \[[`72f79b44ed`](https://github.com/nodejs/node/commit/72f79b44ed)] - **doc**: stabilize util.styleText (Rafael Gonzaga) [#56265](https://github.com/nodejs/node/pull/56265)
208
+ * \[[`b5a2c0777d`](https://github.com/nodejs/node/commit/b5a2c0777d)] - **(SEMVER-MINOR)** **module**: add prefix-only modules to `module.builtinModules` (Jordan Harband) [#56185](https://github.com/nodejs/node/pull/56185)
209
+ * \[[`9863d27566`](https://github.com/nodejs/node/commit/9863d27566)] - **(SEMVER-MINOR)** **module**: only emit require(esm) warning under --trace-require-module (Joyee Cheung) [#56194](https://github.com/nodejs/node/pull/56194)
210
+ * \[[`8e780bc5ae`](https://github.com/nodejs/node/commit/8e780bc5ae)] - **(SEMVER-MINOR)** **module**: use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) [#55698](https://github.com/nodejs/node/pull/55698)
211
+ * \[[`65bc8e847f`](https://github.com/nodejs/node/commit/65bc8e847f)] - **(SEMVER-MINOR)** **report**: fix typos in report keys and bump the version (Yuan-Ming Hsu) [#56068](https://github.com/nodejs/node/pull/56068)
212
+ * \[[`0ab36e1937`](https://github.com/nodejs/node/commit/0ab36e1937)] - **(SEMVER-MINOR)** **sqlite**: aggregate constants in a single property (Edigleysson Silva (Edy)) [#56213](https://github.com/nodejs/node/pull/56213)
213
+ * \[[`efcc5d90c5`](https://github.com/nodejs/node/commit/efcc5d90c5)] - **(SEMVER-MINOR)** **src,lib**: stabilize permission model (Rafael Gonzaga) [#56201](https://github.com/nodejs/node/pull/56201)
214
+
215
+ ### Commits
216
+
217
+ * \[[`2314e4916e`](https://github.com/nodejs/node/commit/2314e4916e)] - **assert**: make Maps be partially compared in partialDeepStrictEqual (Giovanni Bucci) [#56195](https://github.com/nodejs/node/pull/56195)
218
+ * \[[`cfbdff7b45`](https://github.com/nodejs/node/commit/cfbdff7b45)] - **assert**: make partialDeepStrictEqual work with ArrayBuffers (Giovanni Bucci) [#56098](https://github.com/nodejs/node/pull/56098)
219
+ * \[[`f264dd6d20`](https://github.com/nodejs/node/commit/f264dd6d20)] - **buffer**: document concat zero-fill (Duncan) [#55562](https://github.com/nodejs/node/pull/55562)
220
+ * \[[`4831b87d83`](https://github.com/nodejs/node/commit/4831b87d83)] - **build**: set DESTCPU correctly for 'make binary' on loongarch64 (吴小白) [#56271](https://github.com/nodejs/node/pull/56271)
221
+ * \[[`1497bb405e`](https://github.com/nodejs/node/commit/1497bb405e)] - **build**: fix missing fp16 dependency in d8 builds (Joyee Cheung) [#56266](https://github.com/nodejs/node/pull/56266)
222
+ * \[[`445c8c7489`](https://github.com/nodejs/node/commit/445c8c7489)] - **build**: add major release action (Rafael Gonzaga) [#56199](https://github.com/nodejs/node/pull/56199)
223
+ * \[[`f4faedfa69`](https://github.com/nodejs/node/commit/f4faedfa69)] - **build**: fix C string encoding for `PRODUCT_DIR_ABS` (Anna Henningsen) [#56111](https://github.com/nodejs/node/pull/56111)
224
+ * \[[`6f49c8006c`](https://github.com/nodejs/node/commit/6f49c8006c)] - **build**: use variable for simdutf path (Shelley Vohr) [#56196](https://github.com/nodejs/node/pull/56196)
225
+ * \[[`fcaa2c82a6`](https://github.com/nodejs/node/commit/fcaa2c82a6)] - **build**: fix GN build on macOS (Joyee Cheung) [#56141](https://github.com/nodejs/node/pull/56141)
226
+ * \[[`08e5309f4f`](https://github.com/nodejs/node/commit/08e5309f4f)] - _**Revert**_ "**build**: avoid compiling with VS v17.12" (Gerhard Stöbich) [#56151](https://github.com/nodejs/node/pull/56151)
227
+ * \[[`c2fb38cfdf`](https://github.com/nodejs/node/commit/c2fb38cfdf)] - **crypto**: graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable (Filip Skokan) [#56142](https://github.com/nodejs/node/pull/56142)
228
+ * \[[`8658833884`](https://github.com/nodejs/node/commit/8658833884)] - **deps**: update nghttp3 to 1.6.0 (Node.js GitHub Bot) [#56258](https://github.com/nodejs/node/pull/56258)
229
+ * \[[`7c941d4610`](https://github.com/nodejs/node/commit/7c941d4610)] - **deps**: update simdutf to 5.6.4 (Node.js GitHub Bot) [#56255](https://github.com/nodejs/node/pull/56255)
230
+ * \[[`4e9113eada`](https://github.com/nodejs/node/commit/4e9113eada)] - **deps**: update libuv to 1.49.2 (Luigi Pinca) [#56224](https://github.com/nodejs/node/pull/56224)
231
+ * \[[`db6aba12e4`](https://github.com/nodejs/node/commit/db6aba12e4)] - **deps**: update c-ares to v1.34.4 (Node.js GitHub Bot) [#56256](https://github.com/nodejs/node/pull/56256)
232
+ * \[[`25bb462bc2`](https://github.com/nodejs/node/commit/25bb462bc2)] - **deps**: define V8\_PRESERVE\_MOST as no-op on Windows (Stefan Stojanovic) [#56238](https://github.com/nodejs/node/pull/56238)
233
+ * \[[`54308c51bb`](https://github.com/nodejs/node/commit/54308c51bb)] - **deps**: update sqlite to 3.47.2 (Node.js GitHub Bot) [#56178](https://github.com/nodejs/node/pull/56178)
234
+ * \[[`59cae91465`](https://github.com/nodejs/node/commit/59cae91465)] - **(SEMVER-MINOR)** **dgram**: support blocklist in udp (theanarkh) [#56087](https://github.com/nodejs/node/pull/56087)
235
+ * \[[`52c18e605e`](https://github.com/nodejs/node/commit/52c18e605e)] - **doc**: fix color contrast issue in light mode (Rich Trott) [#56272](https://github.com/nodejs/node/pull/56272)
236
+ * \[[`72f79b44ed`](https://github.com/nodejs/node/commit/72f79b44ed)] - **doc**: stabilize util.styleText (Rafael Gonzaga) [#56265](https://github.com/nodejs/node/pull/56265)
237
+ * \[[`0d08756d0c`](https://github.com/nodejs/node/commit/0d08756d0c)] - **doc**: clarify util.aborted resource usage (Kunal Kumar) [#55780](https://github.com/nodejs/node/pull/55780)
238
+ * \[[`f94f21080b`](https://github.com/nodejs/node/commit/f94f21080b)] - **doc**: add esm examples to node:repl (Alfredo González) [#55432](https://github.com/nodejs/node/pull/55432)
239
+ * \[[`7a10ef88d9`](https://github.com/nodejs/node/commit/7a10ef88d9)] - **doc**: add esm examples to node:readline (Alfredo González) [#55335](https://github.com/nodejs/node/pull/55335)
240
+ * \[[`cc7a7c391b`](https://github.com/nodejs/node/commit/cc7a7c391b)] - **doc**: fix 'which' to 'that' and add commas (Selveter Senitro) [#56216](https://github.com/nodejs/node/pull/56216)
241
+ * \[[`c5b086250e`](https://github.com/nodejs/node/commit/c5b086250e)] - **doc**: fix winget config path (Alex Yang) [#56233](https://github.com/nodejs/node/pull/56233)
242
+ * \[[`71c38a24d4`](https://github.com/nodejs/node/commit/71c38a24d4)] - **doc**: add esm examples to node:tls (Alfredo González) [#56229](https://github.com/nodejs/node/pull/56229)
243
+ * \[[`394fffbbde`](https://github.com/nodejs/node/commit/394fffbbde)] - **doc**: add esm examples to node:perf\_hooks (Alfredo González) [#55257](https://github.com/nodejs/node/pull/55257)
244
+ * \[[`7b2a6ee61e`](https://github.com/nodejs/node/commit/7b2a6ee61e)] - **doc**: `sea.getRawAsset(key)` always returns an ArrayBuffer (沈鸿飞) [#56206](https://github.com/nodejs/node/pull/56206)
245
+ * \[[`8092dcf27e`](https://github.com/nodejs/node/commit/8092dcf27e)] - **doc**: update announce documentation for releases (Rafael Gonzaga) [#56200](https://github.com/nodejs/node/pull/56200)
246
+ * \[[`2974667815`](https://github.com/nodejs/node/commit/2974667815)] - **doc**: update blog link to /vulnerability (Rafael Gonzaga) [#56198](https://github.com/nodejs/node/pull/56198)
247
+ * \[[`f3b3ff85e0`](https://github.com/nodejs/node/commit/f3b3ff85e0)] - **doc**: call out import.meta is only supported in ES modules (Anton Kastritskii) [#56186](https://github.com/nodejs/node/pull/56186)
248
+ * \[[`a9e67280e7`](https://github.com/nodejs/node/commit/a9e67280e7)] - **doc**: add ambassador message - benefits of Node.js (Michael Dawson) [#56085](https://github.com/nodejs/node/pull/56085)
249
+ * \[[`e4922ab15f`](https://github.com/nodejs/node/commit/e4922ab15f)] - **doc**: fix incorrect link to style guide (Yuan-Ming Hsu) [#56181](https://github.com/nodejs/node/pull/56181)
250
+ * \[[`114a3e5a05`](https://github.com/nodejs/node/commit/114a3e5a05)] - **doc**: fix c++ addon hello world sample (Edigleysson Silva (Edy)) [#56172](https://github.com/nodejs/node/pull/56172)
251
+ * \[[`f1c2d2f65e`](https://github.com/nodejs/node/commit/f1c2d2f65e)] - **doc**: update blog release-post link (Ruy Adorno) [#56123](https://github.com/nodejs/node/pull/56123)
252
+ * \[[`d48b5224c0`](https://github.com/nodejs/node/commit/d48b5224c0)] - **doc**: fix module.md headings (Chengzhong Wu) [#56131](https://github.com/nodejs/node/pull/56131)
253
+ * \[[`4cc0493a0b`](https://github.com/nodejs/node/commit/4cc0493a0b)] - **fs**: make mutating `options` in Callback `readdir()` not affect results (LiviaMedeiros) [#56057](https://github.com/nodejs/node/pull/56057)
254
+ * \[[`8d485f1c09`](https://github.com/nodejs/node/commit/8d485f1c09)] - **fs**: make mutating `options` in Promises `readdir()` not affect results (LiviaMedeiros) [#56057](https://github.com/nodejs/node/pull/56057)
255
+ * \[[`595851b5ed`](https://github.com/nodejs/node/commit/595851b5ed)] - **fs,win**: fix readdir for named pipe (Hüseyin Açacak) [#56110](https://github.com/nodejs/node/pull/56110)
256
+ * \[[`075b36b7b4`](https://github.com/nodejs/node/commit/075b36b7b4)] - **http**: add setDefaultHeaders option to http.request (Tim Perry) [#56112](https://github.com/nodejs/node/pull/56112)
257
+ * \[[`febd969c46`](https://github.com/nodejs/node/commit/febd969c46)] - **http2**: remove duplicate codeblock (Vitaly Aminev) [#55915](https://github.com/nodejs/node/pull/55915)
258
+ * \[[`b0ebd23e52`](https://github.com/nodejs/node/commit/b0ebd23e52)] - **http2**: support ALPNCallback option (ZYSzys) [#56187](https://github.com/nodejs/node/pull/56187)
259
+ * \[[`f10239fde7`](https://github.com/nodejs/node/commit/f10239fde7)] - **lib**: remove redundant global regexps (Gürgün Dayıoğlu) [#56182](https://github.com/nodejs/node/pull/56182)
260
+ * \[[`fd55d3cbdd`](https://github.com/nodejs/node/commit/fd55d3cbdd)] - **lib**: clean up persisted signals when they are settled (Edigleysson Silva (Edy)) [#56001](https://github.com/nodejs/node/pull/56001)
261
+ * \[[`889094fdbc`](https://github.com/nodejs/node/commit/889094fdbc)] - **lib**: handle Float16Array in node:v8 serdes (Bartek Iwańczuk) [#55996](https://github.com/nodejs/node/pull/55996)
262
+ * \[[`5aec513207`](https://github.com/nodejs/node/commit/5aec513207)] - **lib**: disable default memory leak warning for AbortSignal (Lenz Weber-Tronic) [#55816](https://github.com/nodejs/node/pull/55816)
263
+ * \[[`b5a2c0777d`](https://github.com/nodejs/node/commit/b5a2c0777d)] - **(SEMVER-MINOR)** **module**: add prefix-only modules to `module.builtinModules` (Jordan Harband) [#56185](https://github.com/nodejs/node/pull/56185)
264
+ * \[[`9863d27566`](https://github.com/nodejs/node/commit/9863d27566)] - **(SEMVER-MINOR)** **module**: only emit require(esm) warning under --trace-require-module (Joyee Cheung) [#56194](https://github.com/nodejs/node/pull/56194)
265
+ * \[[`5665e86da6`](https://github.com/nodejs/node/commit/5665e86da6)] - **module**: prevent main thread exiting before esm worker ends (Shima Ryuhei) [#56183](https://github.com/nodejs/node/pull/56183)
266
+ * \[[`8e780bc5ae`](https://github.com/nodejs/node/commit/8e780bc5ae)] - **(SEMVER-MINOR)** **module**: use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) [#55698](https://github.com/nodejs/node/pull/55698)
267
+ * \[[`e5bb6c2303`](https://github.com/nodejs/node/commit/e5bb6c2303)] - **(SEMVER-MINOR)** **module**: implement module.registerHooks() (Joyee Cheung) [#55698](https://github.com/nodejs/node/pull/55698)
268
+ * \[[`f883bedceb`](https://github.com/nodejs/node/commit/f883bedceb)] - **node-api**: allow napi\_delete\_reference in finalizers (Chengzhong Wu) [#55620](https://github.com/nodejs/node/pull/55620)
269
+ * \[[`65bc8e847f`](https://github.com/nodejs/node/commit/65bc8e847f)] - **(SEMVER-MINOR)** **report**: fix typos in report keys and bump the version (Yuan-Ming Hsu) [#56068](https://github.com/nodejs/node/pull/56068)
270
+ * \[[`a6f0cfa468`](https://github.com/nodejs/node/commit/a6f0cfa468)] - **sea**: only assert snapshot main function for main threads (Joyee Cheung) [#56120](https://github.com/nodejs/node/pull/56120)
271
+ * \[[`0ab36e1937`](https://github.com/nodejs/node/commit/0ab36e1937)] - **(SEMVER-MINOR)** **sqlite**: aggregate constants in a single property (Edigleysson Silva (Edy)) [#56213](https://github.com/nodejs/node/pull/56213)
272
+ * \[[`4745798225`](https://github.com/nodejs/node/commit/4745798225)] - **sqlite**: add support for custom functions (Colin Ihrig) [#55985](https://github.com/nodejs/node/pull/55985)
273
+ * \[[`53cc0cc744`](https://github.com/nodejs/node/commit/53cc0cc744)] - **sqlite**: support `db.loadExtension` (Alex Yang) [#53900](https://github.com/nodejs/node/pull/53900)
274
+ * \[[`3968599702`](https://github.com/nodejs/node/commit/3968599702)] - **src**: fix outdated js2c.cc references (Chengzhong Wu) [#56133](https://github.com/nodejs/node/pull/56133)
275
+ * \[[`efcc5d90c5`](https://github.com/nodejs/node/commit/efcc5d90c5)] - **(SEMVER-MINOR)** **src,lib**: stabilize permission model (Rafael Gonzaga) [#56201](https://github.com/nodejs/node/pull/56201)
276
+ * \[[`a4a83613cb`](https://github.com/nodejs/node/commit/a4a83613cb)] - **stream**: commit pull-into descriptors after filling from queue (Mattias Buelens) [#56072](https://github.com/nodejs/node/pull/56072)
277
+ * \[[`3298ef4891`](https://github.com/nodejs/node/commit/3298ef4891)] - **test**: remove test-sqlite-statement-sync flaky designation (Luigi Pinca) [#56051](https://github.com/nodejs/node/pull/56051)
278
+ * \[[`1d8cc6179d`](https://github.com/nodejs/node/commit/1d8cc6179d)] - **test**: use --permission over --experimental-permission (Rafael Gonzaga) [#56239](https://github.com/nodejs/node/pull/56239)
279
+ * \[[`5d252b7a67`](https://github.com/nodejs/node/commit/5d252b7a67)] - **test**: remove exludes for sea tests on PPC (Michael Dawson) [#56217](https://github.com/nodejs/node/pull/56217)
280
+ * \[[`8288f57724`](https://github.com/nodejs/node/commit/8288f57724)] - **test**: fix test-abortsignal-drop-settled-signals flakiness (Edigleysson Silva (Edy)) [#56197](https://github.com/nodejs/node/pull/56197)
281
+ * \[[`683cc15796`](https://github.com/nodejs/node/commit/683cc15796)] - **test**: move localizationd data from `test-icu-env` to external file (Livia Medeiros) [#55618](https://github.com/nodejs/node/pull/55618)
282
+ * \[[`a0c4a5f122`](https://github.com/nodejs/node/commit/a0c4a5f122)] - **test**: update WPT for url to 6fa3fe8a92 (Node.js GitHub Bot) [#56136](https://github.com/nodejs/node/pull/56136)
283
+ * \[[`a0e3926285`](https://github.com/nodejs/node/commit/a0e3926285)] - **test**: remove `hasOpenSSL3x` utils (Antoine du Hamel) [#56164](https://github.com/nodejs/node/pull/56164)
284
+ * \[[`041a49094e`](https://github.com/nodejs/node/commit/041a49094e)] - **test**: update streams wpt (Mattias Buelens) [#56072](https://github.com/nodejs/node/pull/56072)
285
+ * \[[`ea9a675f56`](https://github.com/nodejs/node/commit/ea9a675f56)] - **test\_runner**: exclude test files from coverage by default (Pietro Marchini) [#56060](https://github.com/nodejs/node/pull/56060)
286
+ * \[[`118cd9998f`](https://github.com/nodejs/node/commit/118cd9998f)] - **tools**: fix `node:` enforcement for docs (Antoine du Hamel) [#56284](https://github.com/nodejs/node/pull/56284)
287
+ * \[[`c4c56daae8`](https://github.com/nodejs/node/commit/c4c56daae8)] - **tools**: update github\_reporter to 1.7.2 (Node.js GitHub Bot) [#56205](https://github.com/nodejs/node/pull/56205)
288
+ * \[[`78743b1533`](https://github.com/nodejs/node/commit/78743b1533)] - **tools**: add REPLACEME check to workflow (Mert Can Altin) [#56251](https://github.com/nodejs/node/pull/56251)
289
+ * \[[`002ee71d9b`](https://github.com/nodejs/node/commit/002ee71d9b)] - **tools**: use `github.actor` instead of bot username for release proposals (Antoine du Hamel) [#56232](https://github.com/nodejs/node/pull/56232)
290
+ * \[[`d25d16efeb`](https://github.com/nodejs/node/commit/d25d16efeb)] - _**Revert**_ "**tools**: disable automated libuv updates" (Luigi Pinca) [#56223](https://github.com/nodejs/node/pull/56223)
291
+ * \[[`b395e0c8c9`](https://github.com/nodejs/node/commit/b395e0c8c9)] - **tools**: update gyp-next to 0.19.1 (Anna Henningsen) [#56111](https://github.com/nodejs/node/pull/56111)
292
+ * \[[`a5aaf31c50`](https://github.com/nodejs/node/commit/a5aaf31c50)] - **tools**: fix release proposal linter to support more than 1 folk preparing (Antoine du Hamel) [#56203](https://github.com/nodejs/node/pull/56203)
293
+ * \[[`fa667d609e`](https://github.com/nodejs/node/commit/fa667d609e)] - **tools**: remove has\_absl\_stringify from gyp file (Michaël Zasso) [#56157](https://github.com/nodejs/node/pull/56157)
294
+ * \[[`65b541e70e`](https://github.com/nodejs/node/commit/65b541e70e)] - **tools**: enable linter for `tools/icu/**` (Livia Medeiros) [#56176](https://github.com/nodejs/node/pull/56176)
295
+ * \[[`28a4b6ff58`](https://github.com/nodejs/node/commit/28a4b6ff58)] - **tools**: use commit title as PR title when creating release proposal (Antoine du Hamel) [#56165](https://github.com/nodejs/node/pull/56165)
296
+ * \[[`e20eef659f`](https://github.com/nodejs/node/commit/e20eef659f)] - **tools**: update gyp-next to 0.19.0 (Node.js GitHub Bot) [#56158](https://github.com/nodejs/node/pull/56158)
297
+ * \[[`efcc829085`](https://github.com/nodejs/node/commit/efcc829085)] - **tools**: bump the eslint group in /tools/eslint with 4 updates (dependabot\[bot]) [#56099](https://github.com/nodejs/node/pull/56099)
298
+ * \[[`5620b2be8a`](https://github.com/nodejs/node/commit/5620b2be8a)] - **tools**: improve release proposal PR opening (Antoine du Hamel) [#56161](https://github.com/nodejs/node/pull/56161)
299
+ * \[[`3e17a8e78e`](https://github.com/nodejs/node/commit/3e17a8e78e)] - **util**: harden more built-in classes against prototype pollution (Antoine du Hamel) [#56225](https://github.com/nodejs/node/pull/56225)
300
+ * \[[`13815417c7`](https://github.com/nodejs/node/commit/13815417c7)] - **util**: fix Latin1 decoding to return string output (Mert Can Altin) [#56222](https://github.com/nodejs/node/pull/56222)
301
+ * \[[`77397c5013`](https://github.com/nodejs/node/commit/77397c5013)] - **util**: do not rely on mutable `Object` and `Function`' `constructor` prop (Antoine du Hamel) [#56188](https://github.com/nodejs/node/pull/56188)
302
+ * \[[`84f98e0a74`](https://github.com/nodejs/node/commit/84f98e0a74)] - **v8,tools**: expose experimental wasm revectorize feature (Yolanda-Chen) [#54896](https://github.com/nodejs/node/pull/54896)
303
+ * \[[`8325fa5c04`](https://github.com/nodejs/node/commit/8325fa5c04)] - **worker**: fix crash when a worker joins after exit (Stephen Belanger) [#56191](https://github.com/nodejs/node/pull/56191)
304
+
45
305
  <a id="23.4.0"></a>
46
306
 
47
307
  ## 2024-12-10, Version 23.4.0 (Current), @aduh95 prepared by @targos
@@ -229,6 +489,37 @@ Contributed by Giovanni Bucci in [#54630](https://github.com/nodejs/node/pull/54
229
489
 
230
490
  ### Notable Changes
231
491
 
492
+ #### SQLite Session Extension
493
+
494
+ Basic support for the [SQLite Session Extension](https://www.sqlite.org/sessionintro.html)
495
+ got added to the experimental `node:sqlite` module.
496
+
497
+ ```js
498
+ const sourceDb = new DatabaseSync(':memory:');
499
+ const targetDb = new DatabaseSync(':memory:');
500
+
501
+ sourceDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
502
+ targetDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
503
+
504
+ const session = sourceDb.createSession();
505
+
506
+ const insert = sourceDb.prepare('INSERT INTO data (key, value) VALUES (?, ?)');
507
+ insert.run(1, 'hello');
508
+ insert.run(2, 'world');
509
+
510
+ const changeset = session.changeset();
511
+ targetDb.applyChangeset(changeset);
512
+ // Now that the changeset has been applied, targetDb contains the same data as sourceDb.
513
+ ```
514
+
515
+ Of note to distributors when dynamically linking with SQLite (using the `--shared-sqlite`
516
+ flag): compiling SQLite with `SQLITE_ENABLE_SESSION` and `SQLITE_ENABLE_PREUPDATE_HOOK`
517
+ defines is now required.
518
+
519
+ Contributed by Bart Louwers in [#54181](https://github.com/nodejs/node/pull/54181).
520
+
521
+ #### Other Notable Changes
522
+
232
523
  * \[[`5767b76c30`](https://github.com/nodejs/node/commit/5767b76c30)] - **doc**: enforce strict policy to semver-major releases (Rafael Gonzaga) [#55732](https://github.com/nodejs/node/pull/55732)
233
524
  * \[[`ccb69bb8d5`](https://github.com/nodejs/node/commit/ccb69bb8d5)] - **(SEMVER-MINOR)** **src**: add cli option to preserve env vars on dr (Rafael Gonzaga) [#55697](https://github.com/nodejs/node/pull/55697)
234
525
  * \[[`d4e792643d`](https://github.com/nodejs/node/commit/d4e792643d)] - **(SEMVER-MINOR)** **util**: add sourcemap support to getCallSites (Marco Ippolito) [#55589](https://github.com/nodejs/node/pull/55589)
package/README.md CHANGED
@@ -180,8 +180,6 @@ For information about the governance of the Node.js project, see
180
180
  **Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
181
181
  * [mhdawson](https://github.com/mhdawson) -
182
182
  **Michael Dawson** <<midawson@redhat.com>> (he/him)
183
- * [MoLow](https://github.com/MoLow) -
184
- **Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
185
183
  * [RafaelGSS](https://github.com/RafaelGSS) -
186
184
  **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
187
185
  * [richardlau](https://github.com/richardlau) -
@@ -211,6 +209,8 @@ For information about the governance of the Node.js project, see
211
209
  **Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
212
210
  * [GeoffreyBooth](https://github.com/GeoffreyBooth) -
213
211
  **Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
212
+ * [MoLow](https://github.com/MoLow) -
213
+ **Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
214
214
  * [Trott](https://github.com/Trott) -
215
215
  **Rich Trott** <<rtrott@gmail.com>> (he/him)
216
216
 
@@ -451,8 +451,6 @@ For information about the governance of the Node.js project, see
451
451
  **Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
452
452
  * [VoltrexKeyva](https://github.com/VoltrexKeyva) -
453
453
  **Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
454
- * [watilde](https://github.com/watilde) -
455
- **Daijiro Wachi** <<daijiro.wachi@gmail.com>> (he/him)
456
454
  * [zcbenz](https://github.com/zcbenz) -
457
455
  **Cheng Zhao** <<zcbenz@gmail.com>> (he/him)
458
456
  * [ZYSzys](https://github.com/ZYSzys) -
@@ -707,6 +705,8 @@ For information about the governance of the Node.js project, see
707
705
  **Vladimir Kurchatkin** <<vladimir.kurchatkin@gmail.com>>
708
706
  * [vsemozhetbyt](https://github.com/vsemozhetbyt) -
709
707
  **Vse Mozhet Byt** <<vsemozhetbyt@gmail.com>> (he/him)
708
+ * [watilde](https://github.com/watilde) -
709
+ **Daijiro Wachi** <<daijiro.wachi@gmail.com>> (he/him)
710
710
  * [watson](https://github.com/watson) -
711
711
  **Thomas Watson** <<w@tson.dk>>
712
712
  * [whitlockjc](https://github.com/whitlockjc) -
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.11',
39
+ 'v8_embedder_string': '-node.12',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -27,7 +27,7 @@
27
27
  'icu_ver_major': '76',
28
28
  'libdir': 'lib',
29
29
  'llvm_version': '0.0',
30
- 'napi_build_version': '9',
30
+ 'napi_build_version': '10',
31
31
  'node_builtin_shareable_builtins': [ 'deps/cjs-module-lexer/lexer.js',
32
32
  'deps/cjs-module-lexer/dist/lexer.js',
33
33
  'deps/undici/undici.js',
@@ -186,6 +186,7 @@
186
186
  'lib/internal/main/worker_thread.js',
187
187
  'lib/internal/mime.js',
188
188
  'lib/internal/modules/cjs/loader.js',
189
+ 'lib/internal/modules/customization_hooks.js',
189
190
  'lib/internal/modules/esm/assert.js',
190
191
  'lib/internal/modules/esm/create_dynamic_module.js',
191
192
  'lib/internal/modules/esm/formats.js',
@@ -92,8 +92,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_string_utf16(napi_env env,
92
92
  const char16_t* str,
93
93
  size_t length,
94
94
  napi_value* result);
95
- #ifdef NAPI_EXPERIMENTAL
96
- #define NODE_API_EXPERIMENTAL_HAS_EXTERNAL_STRINGS
95
+ #if NAPI_VERSION >= 10
97
96
  NAPI_EXTERN napi_status NAPI_CDECL node_api_create_external_string_latin1(
98
97
  napi_env env,
99
98
  char* str,
@@ -110,17 +109,14 @@ node_api_create_external_string_utf16(napi_env env,
110
109
  void* finalize_hint,
111
110
  napi_value* result,
112
111
  bool* copied);
113
- #endif // NAPI_EXPERIMENTAL
114
112
 
115
- #ifdef NAPI_EXPERIMENTAL
116
- #define NODE_API_EXPERIMENTAL_HAS_PROPERTY_KEYS
117
113
  NAPI_EXTERN napi_status NAPI_CDECL node_api_create_property_key_latin1(
118
114
  napi_env env, const char* str, size_t length, napi_value* result);
119
115
  NAPI_EXTERN napi_status NAPI_CDECL node_api_create_property_key_utf8(
120
116
  napi_env env, const char* str, size_t length, napi_value* result);
121
117
  NAPI_EXTERN napi_status NAPI_CDECL node_api_create_property_key_utf16(
122
118
  napi_env env, const char16_t* str, size_t length, napi_value* result);
123
- #endif // NAPI_EXPERIMENTAL
119
+ #endif // NAPI_VERSION >= 10
124
120
 
125
121
  NAPI_EXTERN napi_status NAPI_CDECL napi_create_symbol(napi_env env,
126
122
  napi_value description,
@@ -90,9 +90,6 @@ EXTERN_C_START
90
90
 
91
91
  // Deprecated. Replaced by symbol-based registration defined by NAPI_MODULE
92
92
  // and NAPI_MODULE_INIT macros.
93
- #if defined(__cplusplus) && __cplusplus >= 201402L
94
- [[deprecated]]
95
- #endif
96
93
  NAPI_EXTERN void NAPI_CDECL
97
94
  napi_module_register(napi_module* mod);
98
95
 
@@ -136,8 +133,7 @@ napi_create_external_buffer(napi_env env,
136
133
  napi_value* result);
137
134
  #endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
138
135
 
139
- #ifdef NAPI_EXPERIMENTAL
140
- #define NODE_API_EXPERIMENTAL_HAS_CREATE_BUFFER_FROM_ARRAYBUFFER
136
+ #if NAPI_VERSION >= 10
141
137
 
142
138
  NAPI_EXTERN napi_status NAPI_CDECL
143
139
  node_api_create_buffer_from_arraybuffer(napi_env env,
@@ -145,7 +141,7 @@ node_api_create_buffer_from_arraybuffer(napi_env env,
145
141
  size_t byte_offset,
146
142
  size_t byte_length,
147
143
  napi_value* result);
148
- #endif // NAPI_EXPERIMENTAL
144
+ #endif // NAPI_VERSION >= 10
149
145
 
150
146
  NAPI_EXTERN napi_status NAPI_CDECL napi_create_buffer_copy(napi_env env,
151
147
  size_t length,
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 23
26
- #define NODE_MINOR_VERSION 4
26
+ #define NODE_MINOR_VERSION 6
27
27
  #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
@@ -100,7 +100,7 @@
100
100
 
101
101
  // The NAPI_VERSION supported by the runtime. This is the inclusive range of
102
102
  // versions which the Node.js binary being built supports.
103
- #define NODE_API_SUPPORTED_VERSION_MAX 9
103
+ #define NODE_API_SUPPORTED_VERSION_MAX 10
104
104
  #define NODE_API_SUPPORTED_VERSION_MIN 1
105
105
 
106
106
  // Node API modules use NAPI_VERSION 8 by default if it is not explicitly
@@ -32,7 +32,7 @@
32
32
 
33
33
  #define UV_VERSION_MAJOR 1
34
34
  #define UV_VERSION_MINOR 49
35
- #define UV_VERSION_PATCH 1
35
+ #define UV_VERSION_PATCH 2
36
36
  #define UV_VERSION_IS_RELEASE 1
37
37
  #define UV_VERSION_SUFFIX ""
38
38
 
@@ -581,11 +581,15 @@ path. Add it with -I<path> to the command line
581
581
  // functions.
582
582
  // Use like:
583
583
  // V8_NOINLINE V8_PRESERVE_MOST void UnlikelyMethod();
584
+ #if V8_OS_WIN
585
+ # define V8_PRESERVE_MOST
586
+ #else
584
587
  #if V8_HAS_ATTRIBUTE_PRESERVE_MOST
585
588
  # define V8_PRESERVE_MOST __attribute__((preserve_most))
586
589
  #else
587
590
  # define V8_PRESERVE_MOST /* NOT SUPPORTED */
588
591
  #endif
592
+ #endif
589
593
 
590
594
 
591
595
  // A macro (V8_DEPRECATED) to mark classes or functions as deprecated.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-s390x",
3
- "version": "v23.4.0",
3
+ "version": "v23.6.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -163,6 +163,9 @@ Enable Source Map V3 support for stack traces.
163
163
  .It Fl -entry-url
164
164
  Interpret the entry point as a URL.
165
165
  .
166
+ .It Fl -experimental-addon-modules
167
+ Enable experimental addon module support.
168
+ .
166
169
  .It Fl -experimental-import-meta-resolve
167
170
  Enable experimental ES modules support for import.meta.resolve().
168
171
  .
@@ -171,8 +174,8 @@ Specify the
171
174
  .Ar module
172
175
  to use as a custom module loader.
173
176
  .
174
- .It Fl -experimental-permission
175
- Enable the experimental permission model.
177
+ .It Fl -permission
178
+ Enable the permission model.
176
179
  .
177
180
  .It Fl -experimental-shadow-realm
178
181
  Use this flag to enable ShadowRealm support.
@@ -180,15 +183,9 @@ Use this flag to enable ShadowRealm support.
180
183
  .It Fl -experimental-test-coverage
181
184
  Enable code coverage in the test runner.
182
185
  .
183
- .It Fl -experimental-test-isolation Ns = Ns Ar mode
184
- Configures the type of test isolation used in the test runner.
185
- .
186
186
  .It Fl -experimental-test-module-mocks
187
187
  Enable module mocking in the test runner.
188
188
  .
189
- .It Fl -experimental-strip-types
190
- Enable experimental type-stripping for TypeScript files.
191
- .
192
189
  .It Fl -experimental-transform-types
193
190
  Enable transformation of TypeScript-only syntax into JavaScript code.
194
191
  .
@@ -207,6 +204,9 @@ Disable top-level await keyword support in REPL.
207
204
  .It Fl -no-experimental-sqlite
208
205
  Disable the experimental node:sqlite module.
209
206
  .
207
+ .It Fl -no-experimental-strip-types
208
+ Disable experimental type-stripping for TypeScript files.
209
+ .
210
210
  .It Fl -experimental-vm-modules
211
211
  Enable experimental ES module support in VM module.
212
212
  .
@@ -455,6 +455,9 @@ Require a minimum threshold for line coverage (0 - 100).
455
455
  Configures the test runner to exit the process once all known tests have
456
456
  finished executing even if the event loop would otherwise remain active.
457
457
  .
458
+ .It Fl -test-isolation Ns = Ns Ar mode
459
+ Configures the type of test isolation used in the test runner.
460
+ .
458
461
  .It Fl -test-name-pattern
459
462
  A regular expression that configures the test runner to only execute tests
460
463
  whose name matches the provided pattern.