node-linux-s390x 23.5.0 → 23.6.1

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.1">23.6.1</a><br/>
12
+ <a href="#23.6.0">23.6.0</a><br/>
11
13
  <a href="#23.5.0">23.5.0</a><br/>
12
14
  <a href="#23.4.0">23.4.0</a><br/>
13
15
  <a href="#23.3.0">23.3.0</a><br/>
@@ -43,6 +45,118 @@
43
45
  * [io.js](CHANGELOG_IOJS.md)
44
46
  * [Archive](CHANGELOG_ARCHIVE.md)
45
47
 
48
+ <a id="23.6.1"></a>
49
+
50
+ ## 2025-01-21, Version 23.6.1 (Current), @RafaelGSS
51
+
52
+ This is a security release.
53
+
54
+ ### Notable Changes
55
+
56
+ * CVE-2025-23083 - src,loader,permission: throw on InternalWorker use when permission model is enabled (High)
57
+ * CVE-2025-23085 - src: fix HTTP2 mem leak on premature close and ERR\_PROTO (Medium)
58
+ * CVE-2025-23084 - path: fix path traversal in normalize() on Windows (Medium)
59
+
60
+ Dependency update:
61
+
62
+ * CVE-2025-22150 - Use of Insufficiently Random Values in undici fetch() (Medium)
63
+
64
+ ### Commits
65
+
66
+ * \[[`f2ad4d3af8`](https://github.com/nodejs/node/commit/f2ad4d3af8)] - **(CVE-2025-22150)** **deps**: update undici to v6.21.1 (Matteo Collina) [nodejs-private/node-private#654](https://github.com/nodejs-private/node-private/pull/654)
67
+ * \[[`0afc6f9600`](https://github.com/nodejs/node/commit/0afc6f9600)] - **(CVE-2025-23084)** **path**: fix path traversal in normalize() on Windows (RafaelGSS) [nodejs-private/node-private#555](https://github.com/nodejs-private/node-private/pull/555)
68
+ * \[[`3c7686163e`](https://github.com/nodejs/node/commit/3c7686163e)] - **(CVE-2025-23085)** **src**: fix HTTP2 mem leak on premature close and ERR\_PROTO (RafaelGSS) [nodejs-private/node-private#650](https://github.com/nodejs-private/node-private/pull/650)
69
+ * \[[`51938f023a`](https://github.com/nodejs/node/commit/51938f023a)] - **(CVE-2025-23083)** **src,loader,permission**: throw on InternalWorker use (RafaelGSS) [nodejs-private/node-private#629](https://github.com/nodejs-private/node-private/pull/629)
70
+
71
+ <a id="23.6.0"></a>
72
+
73
+ ## 2025-01-07, Version 23.6.0 (Current), @marco-ippolito
74
+
75
+ ### Notable Changes
76
+
77
+ #### Unflagging --experimental-strip-types
78
+
79
+ This release enables the flag `--experimental-strip-types` by default.
80
+ Node.js will be able to execute TypeScript files without additional configuration:
81
+
82
+ ```bash
83
+ node file.ts
84
+ ```
85
+
86
+ There are some limitations in the supported syntax documented at <https://nodejs.org/api/typescript.html#type-stripping>
87
+ This feature is experimental and is subject to change.
88
+
89
+ Contributed by Marco Ippolito in [#56350](https://github.com/nodejs/node/pull/56350)
90
+
91
+ ### Other Notable Changes
92
+
93
+ * \[[`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)
94
+ * \[[`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)
95
+ * \[[`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)
96
+
97
+ ### Commits
98
+
99
+ * \[[`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)
100
+ * \[[`0ec2ed0a0b`](https://github.com/nodejs/node/commit/0ec2ed0a0b)] - **build**: fix GN build for ngtcp2 (Cheng) [#56300](https://github.com/nodejs/node/pull/56300)
101
+ * \[[`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)
102
+ * \[[`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)
103
+ * \[[`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)
104
+ * \[[`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)
105
+ * \[[`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)
106
+ * \[[`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)
107
+ * \[[`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)
108
+ * \[[`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)
109
+ * \[[`03df76cdec`](https://github.com/nodejs/node/commit/03df76cdec)] - **doc**: add example for piping ReadableStream (Gabriel Schulhof) [#56415](https://github.com/nodejs/node/pull/56415)
110
+ * \[[`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)
111
+ * \[[`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)
112
+ * \[[`3db4809130`](https://github.com/nodejs/node/commit/3db4809130)] - **doc**: clarify that WASM is trusted (Matteo Collina) [#56345](https://github.com/nodejs/node/pull/56345)
113
+ * \[[`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)
114
+ * \[[`3943986e88`](https://github.com/nodejs/node/commit/3943986e88)] - **doc**: fix the `crc32` documentation (Kevin Toshihiro Uehara) [#55898](https://github.com/nodejs/node/pull/55898)
115
+ * \[[`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)
116
+ * \[[`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)
117
+ * \[[`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)
118
+ * \[[`db83d2f0ee`](https://github.com/nodejs/node/commit/db83d2f0ee)] - _**Revert**_ "**events**: add hasEventListener util for validate" (origranot) [#56282](https://github.com/nodejs/node/pull/56282)
119
+ * \[[`c2baae84ce`](https://github.com/nodejs/node/commit/c2baae84ce)] - **lib**: refactor execution.js (Marco Ippolito) [#56358](https://github.com/nodejs/node/pull/56358)
120
+ * \[[`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)
121
+ * \[[`e4b795ec4a`](https://github.com/nodejs/node/commit/e4b795ec4a)] - **lib**: optimize `prepareStackTrace` on builtin frames (Chengzhong Wu) [#56299](https://github.com/nodejs/node/pull/56299)
122
+ * \[[`d1b009b623`](https://github.com/nodejs/node/commit/d1b009b623)] - **lib**: suppress source map lookup exceptions (Chengzhong Wu) [#56299](https://github.com/nodejs/node/pull/56299)
123
+ * \[[`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)
124
+ * \[[`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)
125
+ * \[[`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)
126
+ * \[[`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)
127
+ * \[[`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)
128
+ * \[[`717cfa4fac`](https://github.com/nodejs/node/commit/717cfa4fac)] - **module**: use buffer.toString base64 (Chengzhong Wu) [#56315](https://github.com/nodejs/node/pull/56315)
129
+ * \[[`c2f4d8d688`](https://github.com/nodejs/node/commit/c2f4d8d688)] - **node-api**: define version 10 (Gabriel Schulhof) [#55676](https://github.com/nodejs/node/pull/55676)
130
+ * \[[`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)
131
+ * \[[`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)
132
+ * \[[`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)
133
+ * \[[`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)
134
+ * \[[`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)
135
+ * \[[`3a3f5c9a64`](https://github.com/nodejs/node/commit/3a3f5c9a64)] - **stream**: validate undefined sizeAlgorithm in WritableStream (Jason Zhang) [#56067](https://github.com/nodejs/node/pull/56067)
136
+ * \[[`6e6f6b071a`](https://github.com/nodejs/node/commit/6e6f6b071a)] - **test**: add ts eval snapshots (Marco Ippolito) [#56358](https://github.com/nodejs/node/pull/56358)
137
+ * \[[`8a87e39052`](https://github.com/nodejs/node/commit/8a87e39052)] - **test**: remove empty lines from snapshots (Marco Ippolito) [#56358](https://github.com/nodejs/node/pull/56358)
138
+ * \[[`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)
139
+ * \[[`54f6d681a0`](https://github.com/nodejs/node/commit/54f6d681a0)] - **test**: remove flaky designation (Luigi Pinca) [#56369](https://github.com/nodejs/node/pull/56369)
140
+ * \[[`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)
141
+ * \[[`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)
142
+ * \[[`64556baddc`](https://github.com/nodejs/node/commit/64556baddc)] - **test**: improve abort signal dropping test (Edy Silva) [#56339](https://github.com/nodejs/node/pull/56339)
143
+ * \[[`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)
144
+ * \[[`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)
145
+ * \[[`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)
146
+ * \[[`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)
147
+ * \[[`c062ffc242`](https://github.com/nodejs/node/commit/c062ffc242)] - **test**: add coverage for pipeline (jakecastelli) [#56278](https://github.com/nodejs/node/pull/56278)
148
+ * \[[`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)
149
+ * \[[`9369942745`](https://github.com/nodejs/node/commit/9369942745)] - **test**: check typescript loader (Marco Ippolito) [#54657](https://github.com/nodejs/node/pull/54657)
150
+ * \[[`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)
151
+ * \[[`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)
152
+ * \[[`e9762bf005`](https://github.com/nodejs/node/commit/e9762bf005)] - **test**: add test case for listeners (origranot) [#56282](https://github.com/nodejs/node/pull/56282)
153
+ * \[[`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)
154
+ * \[[`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)
155
+ * \[[`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)
156
+ * \[[`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)
157
+ * \[[`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)
158
+ * \[[`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)
159
+
46
160
  <a id="23.5.0"></a>
47
161
 
48
162
  ## 2024-12-19, Version 23.5.0 (Current), @aduh95
@@ -399,6 +513,37 @@ Contributed by Giovanni Bucci in [#54630](https://github.com/nodejs/node/pull/54
399
513
 
400
514
  ### Notable Changes
401
515
 
516
+ #### SQLite Session Extension
517
+
518
+ Basic support for the [SQLite Session Extension](https://www.sqlite.org/sessionintro.html)
519
+ got added to the experimental `node:sqlite` module.
520
+
521
+ ```js
522
+ const sourceDb = new DatabaseSync(':memory:');
523
+ const targetDb = new DatabaseSync(':memory:');
524
+
525
+ sourceDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
526
+ targetDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
527
+
528
+ const session = sourceDb.createSession();
529
+
530
+ const insert = sourceDb.prepare('INSERT INTO data (key, value) VALUES (?, ?)');
531
+ insert.run(1, 'hello');
532
+ insert.run(2, 'world');
533
+
534
+ const changeset = session.changeset();
535
+ targetDb.applyChangeset(changeset);
536
+ // Now that the changeset has been applied, targetDb contains the same data as sourceDb.
537
+ ```
538
+
539
+ Of note to distributors when dynamically linking with SQLite (using the `--shared-sqlite`
540
+ flag): compiling SQLite with `SQLITE_ENABLE_SESSION` and `SQLITE_ENABLE_PREUPDATE_HOOK`
541
+ defines is now required.
542
+
543
+ Contributed by Bart Louwers in [#54181](https://github.com/nodejs/node/pull/54181).
544
+
545
+ #### Other Notable Changes
546
+
402
547
  * \[[`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)
403
548
  * \[[`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)
404
549
  * \[[`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
@@ -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',
@@ -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,8 +23,8 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 23
26
- #define NODE_MINOR_VERSION 5
27
- #define NODE_PATCH_VERSION 0
26
+ #define NODE_MINOR_VERSION 6
27
+ #define NODE_PATCH_VERSION 1
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-s390x",
3
- "version": "v23.5.0",
3
+ "version": "v23.6.1",
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
  .
@@ -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.