node-linux-s390x 23.5.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 +121 -0
- package/README.md +4 -4
- package/bin/node +0 -0
- package/include/node/config.gypi +1 -1
- package/include/node/js_native_api.h +2 -6
- package/include/node/node_api.h +2 -6
- package/include/node/node_version.h +2 -2
- package/package.json +1 -1
- package/share/man/man1/node.1 +9 -6
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
</tr>
|
|
9
9
|
<tr>
|
|
10
10
|
<td>
|
|
11
|
+
<a href="#23.6.0">23.6.0</a><br/>
|
|
11
12
|
<a href="#23.5.0">23.5.0</a><br/>
|
|
12
13
|
<a href="#23.4.0">23.4.0</a><br/>
|
|
13
14
|
<a href="#23.3.0">23.3.0</a><br/>
|
|
@@ -43,6 +44,95 @@
|
|
|
43
44
|
* [io.js](CHANGELOG_IOJS.md)
|
|
44
45
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
45
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
|
+
|
|
46
136
|
<a id="23.5.0"></a>
|
|
47
137
|
|
|
48
138
|
## 2024-12-19, Version 23.5.0 (Current), @aduh95
|
|
@@ -399,6 +489,37 @@ Contributed by Giovanni Bucci in [#54630](https://github.com/nodejs/node/pull/54
|
|
|
399
489
|
|
|
400
490
|
### Notable Changes
|
|
401
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
|
+
|
|
402
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)
|
|
403
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)
|
|
404
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
|
package/include/node/config.gypi
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
'icu_ver_major': '76',
|
|
28
28
|
'libdir': 'lib',
|
|
29
29
|
'llvm_version': '0.0',
|
|
30
|
-
'napi_build_version': '
|
|
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
|
-
#
|
|
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 //
|
|
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,
|
package/include/node/node_api.h
CHANGED
|
@@ -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
|
-
#
|
|
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 //
|
|
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
|
|
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
|
|
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
package/share/man/man1/node.1
CHANGED
|
@@ -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.
|