node-linux-arm64 18.10.0 → 18.12.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 +149 -0
- package/README.md +11 -16
- package/bin/node +0 -0
- package/include/node/config.gypi +247 -244
- package/include/node/node.h +99 -13
- package/include/node/node_version.h +3 -3
- package/package.json +1 -1
- package/share/man/man1/node.1 +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
<table>
|
|
6
6
|
<tr>
|
|
7
|
+
<th>LTS 'Hydrogen'</th>
|
|
7
8
|
<th>Current</th>
|
|
8
9
|
</tr>
|
|
9
10
|
<tr>
|
|
10
11
|
<td>
|
|
12
|
+
<a href="#18.12.0">18.12.0</a><br/>
|
|
13
|
+
</td>
|
|
14
|
+
<td>
|
|
15
|
+
<a href="#18.11.0">18.11.0</a><br/>
|
|
11
16
|
<a href="#18.10.0">18.10.0</a><br/>
|
|
12
17
|
<a href="#18.9.1">18.9.1</a><br/>
|
|
13
18
|
<a href="#18.9.0">18.9.0</a><br/>
|
|
@@ -44,6 +49,150 @@
|
|
|
44
49
|
* [io.js](CHANGELOG_IOJS.md)
|
|
45
50
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
46
51
|
|
|
52
|
+
<a id="18.12.0"></a>
|
|
53
|
+
|
|
54
|
+
## 2022-10-25, Version 18.12.0 'Hydrogen' (LTS), @ruyadorno and @RafaelGSS
|
|
55
|
+
|
|
56
|
+
### Notable Changes
|
|
57
|
+
|
|
58
|
+
This release marks the transition of Node.js 18.x into Long Term Support (LTS)
|
|
59
|
+
with the codename 'Hydrogen'. The 18.x release line now moves into "Active LTS"
|
|
60
|
+
and will remain so until October 2023. After that time, it will move into
|
|
61
|
+
"Maintenance" until end of life in April 2025.
|
|
62
|
+
|
|
63
|
+
<a id="18.11.0"></a>
|
|
64
|
+
|
|
65
|
+
## 2022-10-13, Version 18.11.0 (Current), @danielleadams
|
|
66
|
+
|
|
67
|
+
### watch mode (experimental)
|
|
68
|
+
|
|
69
|
+
Running in 'watch' mode using `node --watch` restarts the process when an imported file is changed.
|
|
70
|
+
|
|
71
|
+
Contributed by Moshe Atlow in [#44366](https://github.com/nodejs/node/pull/44366)
|
|
72
|
+
|
|
73
|
+
### Other notable changes
|
|
74
|
+
|
|
75
|
+
* **fs**:
|
|
76
|
+
* (SEMVER-MINOR) add `FileHandle.prototype.readLines` (Antoine du Hamel) [#42590](https://github.com/nodejs/node/pull/42590)
|
|
77
|
+
* **http**:
|
|
78
|
+
* (SEMVER-MINOR) add writeEarlyHints function to ServerResponse (Wing) [#44180](https://github.com/nodejs/node/pull/44180)
|
|
79
|
+
* **http2**:
|
|
80
|
+
* (SEMVER-MINOR) make early hints generic (Yagiz Nizipli) [#44820](https://github.com/nodejs/node/pull/44820)
|
|
81
|
+
* **lib**:
|
|
82
|
+
* (SEMVER-MINOR) refactor transferable AbortSignal (flakey5) [#44048](https://github.com/nodejs/node/pull/44048)
|
|
83
|
+
* **src**:
|
|
84
|
+
* (SEMVER-MINOR) add detailed embedder process initialization API (Anna Henningsen) [#44121](https://github.com/nodejs/node/pull/44121)
|
|
85
|
+
* **util**:
|
|
86
|
+
* (SEMVER-MINOR) add default value option to parsearg (Manuel Spigolon) [#44631](https://github.com/nodejs/node/pull/44631)
|
|
87
|
+
|
|
88
|
+
### Commits
|
|
89
|
+
|
|
90
|
+
* \[[`27b4b782ce`](https://github.com/nodejs/node/commit/27b4b782ce)] - **benchmark**: add vm context global proxy benchmark (Joyee Cheung) [#44796](https://github.com/nodejs/node/pull/44796)
|
|
91
|
+
* \[[`4e82521af1`](https://github.com/nodejs/node/commit/4e82521af1)] - **bootstrap**: update comments in bootstrap/node.js (Joyee Cheung) [#44726](https://github.com/nodejs/node/pull/44726)
|
|
92
|
+
* \[[`725be0ea50`](https://github.com/nodejs/node/commit/725be0ea50)] - **buffer**: initialize TextDecoder once on blob.text() (Yagiz Nizipli) [#44787](https://github.com/nodejs/node/pull/44787)
|
|
93
|
+
* \[[`653c3b1f62`](https://github.com/nodejs/node/commit/653c3b1f62)] - **buffer,lib**: update atob to align wpt's base64.json (Khaidi Chu) [#43901](https://github.com/nodejs/node/pull/43901)
|
|
94
|
+
* \[[`37808b3355`](https://github.com/nodejs/node/commit/37808b3355)] - **build**: convert V8 test JSON to JUnit XML (Keyhan Vakil) [#44049](https://github.com/nodejs/node/pull/44049)
|
|
95
|
+
* \[[`f92871a52b`](https://github.com/nodejs/node/commit/f92871a52b)] - **build**: update timezone-update.yml (Alex) [#44717](https://github.com/nodejs/node/pull/44717)
|
|
96
|
+
* \[[`f85d3471ee`](https://github.com/nodejs/node/commit/f85d3471ee)] - **child\_process**: remove lookup of undefined property (Colin Ihrig) [#44766](https://github.com/nodejs/node/pull/44766)
|
|
97
|
+
* \[[`2f5f41c315`](https://github.com/nodejs/node/commit/2f5f41c315)] - **(SEMVER-MINOR)** **cli**: add `--watch` (Moshe Atlow) [#44366](https://github.com/nodejs/node/pull/44366)
|
|
98
|
+
* \[[`7fb9cc70f3`](https://github.com/nodejs/node/commit/7fb9cc70f3)] - **cluster**: use inspector utils (Moshe Atlow) [#44592](https://github.com/nodejs/node/pull/44592)
|
|
99
|
+
* \[[`99a2c16040`](https://github.com/nodejs/node/commit/99a2c16040)] - **crypto**: add causes to applicable webcrypto's OperationError (Filip Skokan) [#44890](https://github.com/nodejs/node/pull/44890)
|
|
100
|
+
* \[[`e0fbba0939`](https://github.com/nodejs/node/commit/e0fbba0939)] - **crypto**: use EVP\_PKEY\_CTX\_set\_dsa\_paramgen\_q\_bits when available (David Benjamin) [#44561](https://github.com/nodejs/node/pull/44561)
|
|
101
|
+
* \[[`a90386b0a1`](https://github.com/nodejs/node/commit/a90386b0a1)] - **deps**: update undici to 5.11.0 (Node.js GitHub Bot) [#44929](https://github.com/nodejs/node/pull/44929)
|
|
102
|
+
* \[[`aa68d40fbf`](https://github.com/nodejs/node/commit/aa68d40fbf)] - **deps**: update corepack to 0.14.2 (Node.js GitHub Bot) [#44775](https://github.com/nodejs/node/pull/44775)
|
|
103
|
+
* \[[`c892f35815`](https://github.com/nodejs/node/commit/c892f35815)] - **deps**: V8: fix debug build (Ben Noordhuis) [#44392](https://github.com/nodejs/node/pull/44392)
|
|
104
|
+
* \[[`91514393dc`](https://github.com/nodejs/node/commit/91514393dc)] - **dns**: support dns module in the snapshot (Joyee Cheung) [#44633](https://github.com/nodejs/node/pull/44633)
|
|
105
|
+
* \[[`ce3cb29319`](https://github.com/nodejs/node/commit/ce3cb29319)] - **doc**: add fsPromises.readFile() example (Tierney Cyren) [#40237](https://github.com/nodejs/node/pull/40237)
|
|
106
|
+
* \[[`97df9b84a2`](https://github.com/nodejs/node/commit/97df9b84a2)] - **doc**: improve building doc for Android (BuShe Pie) [#44888](https://github.com/nodejs/node/pull/44888)
|
|
107
|
+
* \[[`8c69da893b`](https://github.com/nodejs/node/commit/8c69da893b)] - **doc**: mention `corepack prepare` supports tag or range (Michael Rienstra) [#44646](https://github.com/nodejs/node/pull/44646)
|
|
108
|
+
* \[[`842bc64833`](https://github.com/nodejs/node/commit/842bc64833)] - **doc**: remove Legacy status from querystring (Rich Trott) [#44912](https://github.com/nodejs/node/pull/44912)
|
|
109
|
+
* \[[`ddb5402f5f`](https://github.com/nodejs/node/commit/ddb5402f5f)] - **doc**: fix label name in collaborator guide (Rich Trott) [#44920](https://github.com/nodejs/node/pull/44920)
|
|
110
|
+
* \[[`d08b024a3d`](https://github.com/nodejs/node/commit/d08b024a3d)] - **doc**: fix typo in Node.js 12 changelog (Lorand Horvath) [#42880](https://github.com/nodejs/node/pull/42880)
|
|
111
|
+
* \[[`b6b9c427c5`](https://github.com/nodejs/node/commit/b6b9c427c5)] - **doc**: move release keys we don't use anymore in README (Rich Trott) [#44899](https://github.com/nodejs/node/pull/44899)
|
|
112
|
+
* \[[`e92b074b32`](https://github.com/nodejs/node/commit/e92b074b32)] - **doc**: fix grammar in dns docs (#44850) (Colin Ihrig) [#44850](https://github.com/nodejs/node/pull/44850)
|
|
113
|
+
* \[[`780144c339`](https://github.com/nodejs/node/commit/780144c339)] - **doc**: remove unnecessary leading commas (Colin Ihrig) [#44854](https://github.com/nodejs/node/pull/44854)
|
|
114
|
+
* \[[`6ae9bc8fbc`](https://github.com/nodejs/node/commit/6ae9bc8fbc)] - **doc**: add extra step for reporter pre-approval (Rafael Gonzaga) [#44806](https://github.com/nodejs/node/pull/44806)
|
|
115
|
+
* \[[`ccf31d8bca`](https://github.com/nodejs/node/commit/ccf31d8bca)] - **doc**: add anchor link for --preserve-symlinks (Kohei Ueno) [#44858](https://github.com/nodejs/node/pull/44858)
|
|
116
|
+
* \[[`7c5c19ee54`](https://github.com/nodejs/node/commit/7c5c19ee54)] - **doc**: update node prefix require.cache example (Simone Busoli) [#44724](https://github.com/nodejs/node/pull/44724)
|
|
117
|
+
* \[[`2a5bce6318`](https://github.com/nodejs/node/commit/2a5bce6318)] - **doc**: include last security release date (Vladimir de Turckheim) [#44794](https://github.com/nodejs/node/pull/44794)
|
|
118
|
+
* \[[`4efaf4265c`](https://github.com/nodejs/node/commit/4efaf4265c)] - **doc**: remove "currently" and comma splice from child\_process.md (Rich Trott) [#44789](https://github.com/nodejs/node/pull/44789)
|
|
119
|
+
* \[[`3627616b40`](https://github.com/nodejs/node/commit/3627616b40)] - **doc,crypto**: mark experimental algorithms more visually (Filip Skokan) [#44892](https://github.com/nodejs/node/pull/44892)
|
|
120
|
+
* \[[`3c653cf23a`](https://github.com/nodejs/node/commit/3c653cf23a)] - **doc,crypto**: add missing CFRG curve algorithms to supported lists (Filip Skokan) [#44876](https://github.com/nodejs/node/pull/44876)
|
|
121
|
+
* \[[`70f55020d3`](https://github.com/nodejs/node/commit/70f55020d3)] - **doc,crypto**: add null length to crypto.subtle.deriveBits (Filip Skokan) [#44876](https://github.com/nodejs/node/pull/44876)
|
|
122
|
+
* \[[`910fbd0ece`](https://github.com/nodejs/node/commit/910fbd0ece)] - **esm**: fix duplicated test (Geoffrey Booth) [#44779](https://github.com/nodejs/node/pull/44779)
|
|
123
|
+
* \[[`bc00f3bde1`](https://github.com/nodejs/node/commit/bc00f3bde1)] - **fs**: fix opts.filter issue in cp async (Tho) [#44922](https://github.com/nodejs/node/pull/44922)
|
|
124
|
+
* \[[`11d1c23fa0`](https://github.com/nodejs/node/commit/11d1c23fa0)] - **(SEMVER-MINOR)** **fs**: add `FileHandle.prototype.readLines` (Antoine du Hamel) [#42590](https://github.com/nodejs/node/pull/42590)
|
|
125
|
+
* \[[`67fb76519a`](https://github.com/nodejs/node/commit/67fb76519a)] - **fs**: improve promise based readFile performance for big files (Ruben Bridgewater) [#44295](https://github.com/nodejs/node/pull/44295)
|
|
126
|
+
* \[[`dc6379bdc2`](https://github.com/nodejs/node/commit/dc6379bdc2)] - **fs**: don't hard code name in validatePosition() (Colin Ihrig) [#44767](https://github.com/nodejs/node/pull/44767)
|
|
127
|
+
* \[[`eb19b1e97c`](https://github.com/nodejs/node/commit/eb19b1e97c)] - **http**: be more aggressive to reply 400, 408 and 431 (ywave620) [#44818](https://github.com/nodejs/node/pull/44818)
|
|
128
|
+
* \[[`4c869c8d9e`](https://github.com/nodejs/node/commit/4c869c8d9e)] - **(SEMVER-MINOR)** **http**: add writeEarlyHints function to ServerResponse (Wing) [#44180](https://github.com/nodejs/node/pull/44180)
|
|
129
|
+
* \[[`9c7e66478c`](https://github.com/nodejs/node/commit/9c7e66478c)] - **(SEMVER-MINOR)** **http2**: make early hints generic (Yagiz Nizipli) [#44820](https://github.com/nodejs/node/pull/44820)
|
|
130
|
+
* \[[`3f20e5b15c`](https://github.com/nodejs/node/commit/3f20e5b15c)] - **(SEMVER-MINOR)** **lib**: refactor transferable AbortSignal (flakey5) [#44048](https://github.com/nodejs/node/pull/44048)
|
|
131
|
+
* \[[`ada7d82b16`](https://github.com/nodejs/node/commit/ada7d82b16)] - **lib**: require JSDoc in internal validators code (Rich Trott) [#44896](https://github.com/nodejs/node/pull/44896)
|
|
132
|
+
* \[[`67eaa303af`](https://github.com/nodejs/node/commit/67eaa303af)] - **lib**: add cause to DOMException (flakey5) [#44703](https://github.com/nodejs/node/pull/44703)
|
|
133
|
+
* \[[`0db86ee98e`](https://github.com/nodejs/node/commit/0db86ee98e)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#44930](https://github.com/nodejs/node/pull/44930)
|
|
134
|
+
* \[[`2efe4d985b`](https://github.com/nodejs/node/commit/2efe4d985b)] - **meta**: label test.js and test.md with test\_runner label (Moshe Atlow) [#44863](https://github.com/nodejs/node/pull/44863)
|
|
135
|
+
* \[[`fd9feb3a6c`](https://github.com/nodejs/node/commit/fd9feb3a6c)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#44857](https://github.com/nodejs/node/pull/44857)
|
|
136
|
+
* \[[`a854bb39c9`](https://github.com/nodejs/node/commit/a854bb39c9)] - **node-api**: create reference only when needed (Gerhard Stöbich) [#44827](https://github.com/nodejs/node/pull/44827)
|
|
137
|
+
* \[[`fd5c26b8db`](https://github.com/nodejs/node/commit/fd5c26b8db)] - **path**: change basename() argument from ext to suffix (Rich Trott) [#44774](https://github.com/nodejs/node/pull/44774)
|
|
138
|
+
* \[[`803fbfb168`](https://github.com/nodejs/node/commit/803fbfb168)] - **process**: fix uid/gid validation to avoid crash (Tobias Nießen) [#44910](https://github.com/nodejs/node/pull/44910)
|
|
139
|
+
* \[[`9f2dd48fc3`](https://github.com/nodejs/node/commit/9f2dd48fc3)] - **src**: remove uid\_t/gid\_t casts (Tobias Nießen) [#44914](https://github.com/nodejs/node/pull/44914)
|
|
140
|
+
* \[[`3abb607f3a`](https://github.com/nodejs/node/commit/3abb607f3a)] - **src**: remove UncheckedMalloc(0) workaround (Tobias Nießen) [#44543](https://github.com/nodejs/node/pull/44543)
|
|
141
|
+
* \[[`0606f9298f`](https://github.com/nodejs/node/commit/0606f9298f)] - **src**: deduplicate setting RSA OAEP label (Tobias Nießen) [#44849](https://github.com/nodejs/node/pull/44849)
|
|
142
|
+
* \[[`daf3152f7e`](https://github.com/nodejs/node/commit/daf3152f7e)] - **src**: implement GetDetachedness() in MemoryRetainerNode (Joyee Cheung) [#44803](https://github.com/nodejs/node/pull/44803)
|
|
143
|
+
* \[[`7ca77dd4ef`](https://github.com/nodejs/node/commit/7ca77dd4ef)] - **src**: avoid X509\_free in loops in crypto\_x509.cc (Tobias Nießen) [#44855](https://github.com/nodejs/node/pull/44855)
|
|
144
|
+
* \[[`781ad96227`](https://github.com/nodejs/node/commit/781ad96227)] - **src**: use OnScopeLeave instead of multiple free() (Tobias Nießen) [#44852](https://github.com/nodejs/node/pull/44852)
|
|
145
|
+
* \[[`b27b336a7a`](https://github.com/nodejs/node/commit/b27b336a7a)] - **src**: remove ParseIP() in cares\_wrap.cc (Tobias Nießen) [#44771](https://github.com/nodejs/node/pull/44771)
|
|
146
|
+
* \[[`f99f5d3c01`](https://github.com/nodejs/node/commit/f99f5d3c01)] - **(SEMVER-MINOR)** **src**: add detailed embedder process initialization API (Anna Henningsen) [#44121](https://github.com/nodejs/node/pull/44121)
|
|
147
|
+
* \[[`281fd7a09a`](https://github.com/nodejs/node/commit/281fd7a09a)] - **src,stream**: improve DoWrite() and Write() (ywave620) [#44434](https://github.com/nodejs/node/pull/44434)
|
|
148
|
+
* \[[`a33cc22bf7`](https://github.com/nodejs/node/commit/a33cc22bf7)] - **src,worker**: fix race of WorkerHeapSnapshotTaker (ywave620) [#44745](https://github.com/nodejs/node/pull/44745)
|
|
149
|
+
* \[[`f300f197da`](https://github.com/nodejs/node/commit/f300f197da)] - **stream**: handle enqueuing chunks when a pending BYOB pull request exists (Daeyeon Jeong) [#44770](https://github.com/nodejs/node/pull/44770)
|
|
150
|
+
* \[[`9ac029ea11`](https://github.com/nodejs/node/commit/9ac029ea11)] - **test**: bump memory limit for abort fatal error (Danielle Adams) [#44984](https://github.com/nodejs/node/pull/44984)
|
|
151
|
+
* \[[`b9b671f25f`](https://github.com/nodejs/node/commit/b9b671f25f)] - **test**: debug watch mode inspect (Moshe Atlow) [#44861](https://github.com/nodejs/node/pull/44861)
|
|
152
|
+
* \[[`2308b71d09`](https://github.com/nodejs/node/commit/2308b71d09)] - **test**: don't clobber RegExp.$\_ on startup (Ben Noordhuis) [#44864](https://github.com/nodejs/node/pull/44864)
|
|
153
|
+
* \[[`fe91bebb67`](https://github.com/nodejs/node/commit/fe91bebb67)] - **test**: loosen test for negative timestamps in `test-fs-stat-date` (Livia Medeiros) [#44707](https://github.com/nodejs/node/pull/44707)
|
|
154
|
+
* \[[`a080608552`](https://github.com/nodejs/node/commit/a080608552)] - **test**: check `--test` is disallowed in NODE\_OPTIONS (Kohei Ueno) [#44846](https://github.com/nodejs/node/pull/44846)
|
|
155
|
+
* \[[`dc2af265d7`](https://github.com/nodejs/node/commit/dc2af265d7)] - **test**: improve lib/internal/source\_map/source\_map.js coverage (MURAKAMI Masahiko) [#42771](https://github.com/nodejs/node/pull/42771)
|
|
156
|
+
* \[[`60a05d6dea`](https://github.com/nodejs/node/commit/60a05d6dea)] - **test**: skip some binding tests on IBMi PASE (Richard Lau) [#44810](https://github.com/nodejs/node/pull/44810)
|
|
157
|
+
* \[[`8dacedaa3d`](https://github.com/nodejs/node/commit/8dacedaa3d)] - **test**: remove unused variable in addon test (Joyee Cheung) [#44809](https://github.com/nodejs/node/pull/44809)
|
|
158
|
+
* \[[`c54cee1c3f`](https://github.com/nodejs/node/commit/c54cee1c3f)] - **test**: check server status in test-tls-psk-client (Richard Lau) [#44824](https://github.com/nodejs/node/pull/44824)
|
|
159
|
+
* \[[`ee3c6a4dc5`](https://github.com/nodejs/node/commit/ee3c6a4dc5)] - **test**: use async/await in test-debugger-exceptions (pete3249) [#44690](https://github.com/nodejs/node/pull/44690)
|
|
160
|
+
* \[[`9f14625fe5`](https://github.com/nodejs/node/commit/9f14625fe5)] - **test**: use async/await in test-debugger-help (Chandana) [#44686](https://github.com/nodejs/node/pull/44686)
|
|
161
|
+
* \[[`8033ad846b`](https://github.com/nodejs/node/commit/8033ad846b)] - **test**: update test-debugger-scripts to use await/async (mmeenapriya) [#44692](https://github.com/nodejs/node/pull/44692)
|
|
162
|
+
* \[[`f4f08be384`](https://github.com/nodejs/node/commit/f4f08be384)] - **test**: use await in test-debugger-invalid-json (Anjana Krishnakumar Vellore) [#44689](https://github.com/nodejs/node/pull/44689)
|
|
163
|
+
* \[[`d2f36169f3`](https://github.com/nodejs/node/commit/d2f36169f3)] - **test**: use async/await in test-debugger-random-port-with-inspect-port (Monu-Chaudhary) [#44695](https://github.com/nodejs/node/pull/44695)
|
|
164
|
+
* \[[`ddf029725b`](https://github.com/nodejs/node/commit/ddf029725b)] - **test**: use async/await in test-debugger-heap-profiler (Brinda Ashar) [#44693](https://github.com/nodejs/node/pull/44693)
|
|
165
|
+
* \[[`117f068250`](https://github.com/nodejs/node/commit/117f068250)] - **test**: use async/await in test-debugger-auto-resume (samyuktaprabhu) [#44675](https://github.com/nodejs/node/pull/44675)
|
|
166
|
+
* \[[`143c428cae`](https://github.com/nodejs/node/commit/143c428cae)] - **test**: migrated from Promise chains to Async/Await (Rathi N Das) [#44674](https://github.com/nodejs/node/pull/44674)
|
|
167
|
+
* \[[`e609a3309c`](https://github.com/nodejs/node/commit/e609a3309c)] - **test**: change promises to async/await in test-debugger-backtrace.js (Juliet Zhang) [#44677](https://github.com/nodejs/node/pull/44677)
|
|
168
|
+
* \[[`eeabd23ca6`](https://github.com/nodejs/node/commit/eeabd23ca6)] - **test**: use async/await in test-debugger-sb-before-load (Hope Olaidé) [#44697](https://github.com/nodejs/node/pull/44697)
|
|
169
|
+
* \[[`5c63d1464e`](https://github.com/nodejs/node/commit/5c63d1464e)] - **test**: add extra tests for basename with ext option (Connor Burton) [#44772](https://github.com/nodejs/node/pull/44772)
|
|
170
|
+
* \[[`f8b2d7a059`](https://github.com/nodejs/node/commit/f8b2d7a059)] - **test**: refactor to async/await (Divya Mohan) [#44694](https://github.com/nodejs/node/pull/44694)
|
|
171
|
+
* \[[`9864bde9ab`](https://github.com/nodejs/node/commit/9864bde9ab)] - **test**: modify test-debugger-custom-port.js to use async-await (Priya Shastri) [#44680](https://github.com/nodejs/node/pull/44680)
|
|
172
|
+
* \[[`af30823881`](https://github.com/nodejs/node/commit/af30823881)] - **test**: upgrade all 1024 bit RSA keys to 2048 bits (Momtchil Momtchev) [#44498](https://github.com/nodejs/node/pull/44498)
|
|
173
|
+
* \[[`0fb669e31f`](https://github.com/nodejs/node/commit/0fb669e31f)] - **test**: update test-debugger-breakpoint-exists.js to use async/await (Archana Kamath) [#44682](https://github.com/nodejs/node/pull/44682)
|
|
174
|
+
* \[[`cca253503e`](https://github.com/nodejs/node/commit/cca253503e)] - **test**: use async/await in test-debugger-preserve-breaks (poorvitusam) [#44696](https://github.com/nodejs/node/pull/44696)
|
|
175
|
+
* \[[`0b2e8b1681`](https://github.com/nodejs/node/commit/0b2e8b1681)] - **test**: use async/await in test-debugger-profile (surbhirjain) [#44684](https://github.com/nodejs/node/pull/44684)
|
|
176
|
+
* \[[`4db72a65cf`](https://github.com/nodejs/node/commit/4db72a65cf)] - **test**: change the promises to async/await in test-debugger-exec-scope.js (Ankita Khiratkar) [#44685](https://github.com/nodejs/node/pull/44685)
|
|
177
|
+
* \[[`56c9c98963`](https://github.com/nodejs/node/commit/56c9c98963)] - **test**: fix test-runner-inspect (Moshe Atlow) [#44620](https://github.com/nodejs/node/pull/44620)
|
|
178
|
+
* \[[`36227ed862`](https://github.com/nodejs/node/commit/36227ed862)] - **test**: fix watch mode test flake (Moshe Atlow) [#44739](https://github.com/nodejs/node/pull/44739)
|
|
179
|
+
* \[[`3abd71a0ea`](https://github.com/nodejs/node/commit/3abd71a0ea)] - **test**: deflake watch mode tests (Moshe Atlow) [#44621](https://github.com/nodejs/node/pull/44621)
|
|
180
|
+
* \[[`0c9f38f2be`](https://github.com/nodejs/node/commit/0c9f38f2be)] - **test**: split watch mode inspector tests to sequential (Moshe Atlow) [#44551](https://github.com/nodejs/node/pull/44551)
|
|
181
|
+
* \[[`d762a34128`](https://github.com/nodejs/node/commit/d762a34128)] - **test\_runner**: add --test-name-pattern CLI flag (Colin Ihrig)
|
|
182
|
+
* \[[`c7ece464a1`](https://github.com/nodejs/node/commit/c7ece464a1)] - **test\_runner**: remove runtime experimental warning (Colin Ihrig) [#44844](https://github.com/nodejs/node/pull/44844)
|
|
183
|
+
* \[[`3c1e9d41c8`](https://github.com/nodejs/node/commit/3c1e9d41c8)] - **test\_runner**: support using `--inspect` with `--test` (Moshe Atlow) [#44520](https://github.com/nodejs/node/pull/44520)
|
|
184
|
+
* \[[`4bdef48732`](https://github.com/nodejs/node/commit/4bdef48732)] - **tools**: remove faulty early termination logic from update-timezone.mjs (Darshan Sen) [#44870](https://github.com/nodejs/node/pull/44870)
|
|
185
|
+
* \[[`19d8574996`](https://github.com/nodejs/node/commit/19d8574996)] - **tools**: fix timezone update tool (Darshan Sen) [#44870](https://github.com/nodejs/node/pull/44870)
|
|
186
|
+
* \[[`ad8b8ae7d3`](https://github.com/nodejs/node/commit/ad8b8ae7d3)] - **tools**: update eslint to 8.25.0 (Node.js GitHub Bot) [#44931](https://github.com/nodejs/node/pull/44931)
|
|
187
|
+
* \[[`fd99b17a4d`](https://github.com/nodejs/node/commit/fd99b17a4d)] - **tools**: make `utils.SearchFiles` deterministic (Bruno Pitrus) [#44496](https://github.com/nodejs/node/pull/44496)
|
|
188
|
+
* \[[`131adece37`](https://github.com/nodejs/node/commit/131adece37)] - **tools**: fix typo in tools/update-authors.mjs (Darshan Sen) [#44780](https://github.com/nodejs/node/pull/44780)
|
|
189
|
+
* \[[`ab22777e65`](https://github.com/nodejs/node/commit/ab22777e65)] - **tools**: refactor deprecated format in no-unescaped-regexp-dot (Madhuri) [#44763](https://github.com/nodejs/node/pull/44763)
|
|
190
|
+
* \[[`3ad0fae89d`](https://github.com/nodejs/node/commit/3ad0fae89d)] - **tools**: update eslint-check.js to object style (andiemontoyeah) [#44706](https://github.com/nodejs/node/pull/44706)
|
|
191
|
+
* \[[`e9d572a9bd`](https://github.com/nodejs/node/commit/e9d572a9bd)] - **tools**: update eslint to 8.24.0 (Node.js GitHub Bot) [#44778](https://github.com/nodejs/node/pull/44778)
|
|
192
|
+
* \[[`984b0b4a6c`](https://github.com/nodejs/node/commit/984b0b4a6c)] - **tools**: update lint-md-dependencies to rollup\@2.79.1 (Node.js GitHub Bot) [#44776](https://github.com/nodejs/node/pull/44776)
|
|
193
|
+
* \[[`db5aeed702`](https://github.com/nodejs/node/commit/db5aeed702)] - **(SEMVER-MINOR)** **util**: add default value option to parsearg (Manuel Spigolon) [#44631](https://github.com/nodejs/node/pull/44631)
|
|
194
|
+
* \[[`576ccdf125`](https://github.com/nodejs/node/commit/576ccdf125)] - **util**: increase robustness with primordials (Jordan Harband) [#41212](https://github.com/nodejs/node/pull/41212)
|
|
195
|
+
|
|
47
196
|
<a id="18.10.0"></a>
|
|
48
197
|
|
|
49
198
|
## 2022-09-28, Version 18.10.0 (Current), @RafaelGSS
|
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in
|
|
|
110
110
|
import the keys:
|
|
111
111
|
|
|
112
112
|
```console
|
|
113
|
-
$ gpg --keyserver hkps://keys.openpgp.org --recv-keys
|
|
113
|
+
$ gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
See [Release keys](#release-keys) for a script to import active release keys.
|
|
@@ -695,12 +695,8 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
|
|
|
695
695
|
`4ED778F539E3634C779C87C6D7062848A1AB005C`
|
|
696
696
|
* **Bryan English** <<bryan@bryanenglish.com>>
|
|
697
697
|
`141F07595B7B3FFE74309A937405533BE57C7D57`
|
|
698
|
-
* **Colin Ihrig** <<cjihrig@gmail.com>>
|
|
699
|
-
`94AE36675C464D64BAFA68DD7434390BDBE9B9C5`
|
|
700
698
|
* **Danielle Adams** <<adamzdanielle@gmail.com>>
|
|
701
699
|
`74F12602B6F1C4E913FAA37AD3A89613643B6201`
|
|
702
|
-
* **James M Snell** <<jasnell@keybase.io>>
|
|
703
|
-
`71DCFD284A79C3B38668286BC97EC7A07EDE3FC1`
|
|
704
700
|
* **Juan José Arboleda** <<soyjuanarbol@gmail.com>>
|
|
705
701
|
`61FC681DFB92A079F1685E77973F295594EC4689`
|
|
706
702
|
* **Michaël Zasso** <<targos@protonmail.com>>
|
|
@@ -711,14 +707,8 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
|
|
|
711
707
|
`890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4`
|
|
712
708
|
* **Richard Lau** <<rlau@redhat.com>>
|
|
713
709
|
`C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C`
|
|
714
|
-
* **Rod Vagg** <<rod@vagg.org>>
|
|
715
|
-
`DD8F2338BAE7501E3DD5AC78C273792F7D83545D`
|
|
716
|
-
* **Ruben Bridgewater** <<ruben@bridgewater.de>>
|
|
717
|
-
`A48C2BEE680E841632CD4E44F07496B3EB3C1762`
|
|
718
710
|
* **Ruy Adorno** <<ruyadorno@hotmail.com>>
|
|
719
711
|
`108F52B48DB57BB0CC439B2997B01419BD92F80A`
|
|
720
|
-
* **Shelley Vohr** <<shelley.vohr@gmail.com>>
|
|
721
|
-
`B9E2F5981AA6E0CD28160D9FF13993A75599653C`
|
|
722
712
|
|
|
723
713
|
To import the full set of trusted release keys (including subkeys possibly used
|
|
724
714
|
to sign releases):
|
|
@@ -726,18 +716,13 @@ to sign releases):
|
|
|
726
716
|
```bash
|
|
727
717
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
|
|
728
718
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57
|
|
729
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
|
|
730
719
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
|
|
731
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
|
|
732
720
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 61FC681DFB92A079F1685E77973F295594EC4689
|
|
733
721
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
|
|
734
722
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
|
|
735
723
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4
|
|
736
724
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
|
|
737
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
|
|
738
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys A48C2BEE680E841632CD4E44F07496B3EB3C1762
|
|
739
725
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A
|
|
740
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys B9E2F5981AA6E0CD28160D9FF13993A75599653C
|
|
741
726
|
```
|
|
742
727
|
|
|
743
728
|
See [Verifying binaries](#verifying-binaries) for how to use these keys to
|
|
@@ -749,6 +734,8 @@ verify a downloaded file.
|
|
|
749
734
|
|
|
750
735
|
* **Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
|
|
751
736
|
`9554F04D7259F04124DE6B476D5A82AC7E37093B`
|
|
737
|
+
* **Colin Ihrig** <<cjihrig@gmail.com>>
|
|
738
|
+
`94AE36675C464D64BAFA68DD7434390BDBE9B9C5`
|
|
752
739
|
* **Danielle Adams** <<adamzdanielle@gmail.com>>
|
|
753
740
|
`1C050899334244A8AF75E53792EF661D867B9DFA`
|
|
754
741
|
* **Evan Lucas** <<evanlucas@me.com>>
|
|
@@ -759,10 +746,18 @@ verify a downloaded file.
|
|
|
759
746
|
`93C7E9E91B49E432C2F75674B0A78B0A6C481CF6`
|
|
760
747
|
* **Italo A. Casas** <<me@italoacasas.com>>
|
|
761
748
|
`56730D5401028683275BD23C23EFEFE93C4CFFFE`
|
|
749
|
+
* **James M Snell** <<jasnell@keybase.io>>
|
|
750
|
+
`71DCFD284A79C3B38668286BC97EC7A07EDE3FC1`
|
|
762
751
|
* **Jeremiah Senkpiel** <<fishrock@keybase.io>>
|
|
763
752
|
`FD3A5288F042B6850C66B31F09FE44734EB7990E`
|
|
764
753
|
* **Julien Gilli** <<jgilli@fastmail.fm>>
|
|
765
754
|
`114F43EE0176B71C7BC219DD50A3051F888C628D`
|
|
755
|
+
* **Rod Vagg** <<rod@vagg.org>>
|
|
756
|
+
`DD8F2338BAE7501E3DD5AC78C273792F7D83545D`
|
|
757
|
+
* **Ruben Bridgewater** <<ruben@bridgewater.de>>
|
|
758
|
+
`A48C2BEE680E841632CD4E44F07496B3EB3C1762`
|
|
759
|
+
* **Shelley Vohr** <<shelley.vohr@gmail.com>>
|
|
760
|
+
`B9E2F5981AA6E0CD28160D9FF13993A75599653C`
|
|
766
761
|
* **Timothy J Fontaine** <<tjfontaine@gmail.com>>
|
|
767
762
|
`7937DFD2AB06298B2293C3187D33FF9D0246406D`
|
|
768
763
|
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/config.gypi
CHANGED
|
@@ -28,294 +28,297 @@
|
|
|
28
28
|
'node_fipsinstall': 'false',
|
|
29
29
|
'node_install_corepack': 'true',
|
|
30
30
|
'node_install_npm': 'true',
|
|
31
|
-
'node_library_files': [ 'lib/
|
|
31
|
+
'node_library_files': [ 'lib/_http_agent.js',
|
|
32
|
+
'lib/_http_client.js',
|
|
33
|
+
'lib/_http_common.js',
|
|
34
|
+
'lib/_http_incoming.js',
|
|
35
|
+
'lib/_http_outgoing.js',
|
|
36
|
+
'lib/_http_server.js',
|
|
37
|
+
'lib/_stream_duplex.js',
|
|
32
38
|
'lib/_stream_passthrough.js',
|
|
33
|
-
'lib/
|
|
34
|
-
'lib/module.js',
|
|
39
|
+
'lib/_stream_readable.js',
|
|
35
40
|
'lib/_stream_transform.js',
|
|
36
|
-
'lib/
|
|
37
|
-
'lib/buffer.js',
|
|
41
|
+
'lib/_stream_wrap.js',
|
|
38
42
|
'lib/_stream_writable.js',
|
|
39
|
-
'lib/string_decoder.js',
|
|
40
|
-
'lib/inspector.js',
|
|
41
|
-
'lib/crypto.js',
|
|
42
|
-
'lib/diagnostics_channel.js',
|
|
43
|
-
'lib/wasi.js',
|
|
44
|
-
'lib/test.js',
|
|
45
|
-
'lib/util.js',
|
|
46
|
-
'lib/sys.js',
|
|
47
|
-
'lib/tls.js',
|
|
48
|
-
'lib/dns.js',
|
|
49
43
|
'lib/_tls_common.js',
|
|
50
|
-
'lib/
|
|
44
|
+
'lib/_tls_wrap.js',
|
|
51
45
|
'lib/assert.js',
|
|
52
|
-
'lib/
|
|
53
|
-
'lib/worker_threads.js',
|
|
54
|
-
'lib/path.js',
|
|
55
|
-
'lib/http2.js',
|
|
56
|
-
'lib/readline.js',
|
|
57
|
-
'lib/_http_common.js',
|
|
58
|
-
'lib/_stream_readable.js',
|
|
59
|
-
'lib/_http_client.js',
|
|
46
|
+
'lib/assert/strict.js',
|
|
60
47
|
'lib/async_hooks.js',
|
|
61
|
-
'lib/
|
|
62
|
-
'lib/
|
|
63
|
-
'lib/
|
|
48
|
+
'lib/buffer.js',
|
|
49
|
+
'lib/child_process.js',
|
|
50
|
+
'lib/cluster.js',
|
|
51
|
+
'lib/console.js',
|
|
64
52
|
'lib/constants.js',
|
|
65
|
-
'lib/
|
|
66
|
-
'lib/process.js',
|
|
53
|
+
'lib/crypto.js',
|
|
67
54
|
'lib/dgram.js',
|
|
68
|
-
'lib/
|
|
55
|
+
'lib/diagnostics_channel.js',
|
|
56
|
+
'lib/dns.js',
|
|
57
|
+
'lib/dns/promises.js',
|
|
69
58
|
'lib/domain.js',
|
|
70
|
-
'lib/
|
|
71
|
-
'lib/_stream_duplex.js',
|
|
72
|
-
'lib/vm.js',
|
|
73
|
-
'lib/https.js',
|
|
74
|
-
'lib/perf_hooks.js',
|
|
75
|
-
'lib/child_process.js',
|
|
76
|
-
'lib/stream.js',
|
|
77
|
-
'lib/timers.js',
|
|
78
|
-
'lib/querystring.js',
|
|
79
|
-
'lib/net.js',
|
|
80
|
-
'lib/_http_incoming.js',
|
|
59
|
+
'lib/events.js',
|
|
81
60
|
'lib/fs.js',
|
|
82
|
-
'lib/cluster.js',
|
|
83
|
-
'lib/console.js',
|
|
84
|
-
'lib/repl.js',
|
|
85
|
-
'lib/zlib.js',
|
|
86
|
-
'lib/_http_agent.js',
|
|
87
|
-
'lib/_http_outgoing.js',
|
|
88
|
-
'lib/readline/promises.js',
|
|
89
|
-
'lib/timers/promises.js',
|
|
90
|
-
'lib/path/win32.js',
|
|
91
|
-
'lib/path/posix.js',
|
|
92
|
-
'lib/stream/promises.js',
|
|
93
|
-
'lib/stream/consumers.js',
|
|
94
|
-
'lib/stream/web.js',
|
|
95
61
|
'lib/fs/promises.js',
|
|
96
|
-
'lib/
|
|
97
|
-
'lib/
|
|
98
|
-
'lib/
|
|
99
|
-
'lib/
|
|
100
|
-
'lib/internal/buffer.js',
|
|
101
|
-
'lib/internal/freelist.js',
|
|
102
|
-
'lib/internal/trace_events_async_hooks.js',
|
|
103
|
-
'lib/internal/dtrace.js',
|
|
104
|
-
'lib/internal/inspector_async_hook.js',
|
|
105
|
-
'lib/internal/util.js',
|
|
106
|
-
'lib/internal/options.js',
|
|
107
|
-
'lib/internal/cli_table.js',
|
|
108
|
-
'lib/internal/assert.js',
|
|
109
|
-
'lib/internal/heap_utils.js',
|
|
110
|
-
'lib/internal/v8_prof_processor.js',
|
|
111
|
-
'lib/internal/encoding.js',
|
|
112
|
-
'lib/internal/validators.js',
|
|
113
|
-
'lib/internal/worker.js',
|
|
114
|
-
'lib/internal/idna.js',
|
|
62
|
+
'lib/http.js',
|
|
63
|
+
'lib/http2.js',
|
|
64
|
+
'lib/https.js',
|
|
65
|
+
'lib/inspector.js',
|
|
115
66
|
'lib/internal/abort_controller.js',
|
|
116
|
-
'lib/internal/
|
|
67
|
+
'lib/internal/assert.js',
|
|
68
|
+
'lib/internal/assert/assertion_error.js',
|
|
69
|
+
'lib/internal/assert/calltracker.js',
|
|
70
|
+
'lib/internal/assert/snapshot.js',
|
|
117
71
|
'lib/internal/async_hooks.js',
|
|
118
|
-
'lib/internal/constants.js',
|
|
119
|
-
'lib/internal/tty.js',
|
|
120
72
|
'lib/internal/blob.js',
|
|
121
|
-
'lib/internal/dgram.js',
|
|
122
|
-
'lib/internal/js_stream_socket.js',
|
|
123
|
-
'lib/internal/http.js',
|
|
124
|
-
'lib/internal/fixed_queue.js',
|
|
125
|
-
'lib/internal/stream_base_commons.js',
|
|
126
|
-
'lib/internal/structured_clone.js',
|
|
127
|
-
'lib/internal/linkedlist.js',
|
|
128
|
-
'lib/internal/child_process.js',
|
|
129
|
-
'lib/internal/histogram.js',
|
|
130
|
-
'lib/internal/error_serdes.js',
|
|
131
|
-
'lib/internal/timers.js',
|
|
132
|
-
'lib/internal/querystring.js',
|
|
133
|
-
'lib/internal/net.js',
|
|
134
|
-
'lib/internal/v8_prof_polyfill.js',
|
|
135
|
-
'lib/internal/freeze_intrinsics.js',
|
|
136
|
-
'lib/internal/wasm_web_api.js',
|
|
137
|
-
'lib/internal/errors.js',
|
|
138
|
-
'lib/internal/socketaddress.js',
|
|
139
|
-
'lib/internal/repl.js',
|
|
140
|
-
'lib/internal/event_target.js',
|
|
141
73
|
'lib/internal/blocklist.js',
|
|
142
|
-
'lib/internal/legacy/processbinding.js',
|
|
143
|
-
'lib/internal/child_process/serialization.js',
|
|
144
|
-
'lib/internal/cluster/round_robin_handle.js',
|
|
145
|
-
'lib/internal/cluster/child.js',
|
|
146
|
-
'lib/internal/cluster/worker.js',
|
|
147
|
-
'lib/internal/cluster/utils.js',
|
|
148
|
-
'lib/internal/cluster/shared_handle.js',
|
|
149
|
-
'lib/internal/cluster/primary.js',
|
|
150
|
-
'lib/internal/bootstrap/node.js',
|
|
151
74
|
'lib/internal/bootstrap/browser.js',
|
|
152
75
|
'lib/internal/bootstrap/loaders.js',
|
|
153
|
-
'lib/internal/bootstrap/
|
|
76
|
+
'lib/internal/bootstrap/node.js',
|
|
77
|
+
'lib/internal/bootstrap/switches/does_not_own_process_state.js',
|
|
154
78
|
'lib/internal/bootstrap/switches/does_own_process_state.js',
|
|
155
79
|
'lib/internal/bootstrap/switches/is_main_thread.js',
|
|
156
|
-
'lib/internal/bootstrap/switches/
|
|
157
|
-
'lib/internal/
|
|
158
|
-
'lib/internal/
|
|
159
|
-
'lib/internal/
|
|
160
|
-
'lib/internal/
|
|
161
|
-
'lib/internal/
|
|
162
|
-
'lib/internal/
|
|
163
|
-
'lib/internal/
|
|
80
|
+
'lib/internal/bootstrap/switches/is_not_main_thread.js',
|
|
81
|
+
'lib/internal/buffer.js',
|
|
82
|
+
'lib/internal/child_process.js',
|
|
83
|
+
'lib/internal/child_process/serialization.js',
|
|
84
|
+
'lib/internal/cli_table.js',
|
|
85
|
+
'lib/internal/cluster/child.js',
|
|
86
|
+
'lib/internal/cluster/primary.js',
|
|
87
|
+
'lib/internal/cluster/round_robin_handle.js',
|
|
88
|
+
'lib/internal/cluster/shared_handle.js',
|
|
89
|
+
'lib/internal/cluster/utils.js',
|
|
90
|
+
'lib/internal/cluster/worker.js',
|
|
91
|
+
'lib/internal/console/constructor.js',
|
|
92
|
+
'lib/internal/console/global.js',
|
|
93
|
+
'lib/internal/constants.js',
|
|
94
|
+
'lib/internal/crypto/aes.js',
|
|
95
|
+
'lib/internal/crypto/certificate.js',
|
|
96
|
+
'lib/internal/crypto/cfrg.js',
|
|
97
|
+
'lib/internal/crypto/cipher.js',
|
|
98
|
+
'lib/internal/crypto/diffiehellman.js',
|
|
99
|
+
'lib/internal/crypto/ec.js',
|
|
100
|
+
'lib/internal/crypto/hash.js',
|
|
101
|
+
'lib/internal/crypto/hashnames.js',
|
|
102
|
+
'lib/internal/crypto/hkdf.js',
|
|
103
|
+
'lib/internal/crypto/keygen.js',
|
|
104
|
+
'lib/internal/crypto/keys.js',
|
|
105
|
+
'lib/internal/crypto/mac.js',
|
|
106
|
+
'lib/internal/crypto/pbkdf2.js',
|
|
107
|
+
'lib/internal/crypto/random.js',
|
|
108
|
+
'lib/internal/crypto/rsa.js',
|
|
109
|
+
'lib/internal/crypto/scrypt.js',
|
|
110
|
+
'lib/internal/crypto/sig.js',
|
|
111
|
+
'lib/internal/crypto/util.js',
|
|
112
|
+
'lib/internal/crypto/webcrypto.js',
|
|
113
|
+
'lib/internal/crypto/x509.js',
|
|
114
|
+
'lib/internal/debugger/inspect.js',
|
|
115
|
+
'lib/internal/debugger/inspect_client.js',
|
|
116
|
+
'lib/internal/debugger/inspect_repl.js',
|
|
117
|
+
'lib/internal/dgram.js',
|
|
118
|
+
'lib/internal/dns/callback_resolver.js',
|
|
119
|
+
'lib/internal/dns/promises.js',
|
|
120
|
+
'lib/internal/dns/utils.js',
|
|
121
|
+
'lib/internal/dtrace.js',
|
|
122
|
+
'lib/internal/encoding.js',
|
|
123
|
+
'lib/internal/error_serdes.js',
|
|
124
|
+
'lib/internal/errors.js',
|
|
125
|
+
'lib/internal/event_target.js',
|
|
126
|
+
'lib/internal/fixed_queue.js',
|
|
127
|
+
'lib/internal/freelist.js',
|
|
128
|
+
'lib/internal/freeze_intrinsics.js',
|
|
129
|
+
'lib/internal/fs/cp/cp-sync.js',
|
|
130
|
+
'lib/internal/fs/cp/cp.js',
|
|
131
|
+
'lib/internal/fs/dir.js',
|
|
132
|
+
'lib/internal/fs/promises.js',
|
|
133
|
+
'lib/internal/fs/read_file_context.js',
|
|
134
|
+
'lib/internal/fs/rimraf.js',
|
|
135
|
+
'lib/internal/fs/streams.js',
|
|
136
|
+
'lib/internal/fs/sync_write_stream.js',
|
|
137
|
+
'lib/internal/fs/utils.js',
|
|
138
|
+
'lib/internal/fs/watchers.js',
|
|
139
|
+
'lib/internal/heap_utils.js',
|
|
140
|
+
'lib/internal/histogram.js',
|
|
141
|
+
'lib/internal/http.js',
|
|
142
|
+
'lib/internal/http2/compat.js',
|
|
143
|
+
'lib/internal/http2/core.js',
|
|
144
|
+
'lib/internal/http2/util.js',
|
|
145
|
+
'lib/internal/idna.js',
|
|
146
|
+
'lib/internal/inspector_async_hook.js',
|
|
147
|
+
'lib/internal/js_stream_socket.js',
|
|
148
|
+
'lib/internal/legacy/processbinding.js',
|
|
149
|
+
'lib/internal/linkedlist.js',
|
|
150
|
+
'lib/internal/main/check_syntax.js',
|
|
151
|
+
'lib/internal/main/environment.js',
|
|
152
|
+
'lib/internal/main/eval_stdin.js',
|
|
153
|
+
'lib/internal/main/eval_string.js',
|
|
154
|
+
'lib/internal/main/inspect.js',
|
|
155
|
+
'lib/internal/main/mksnapshot.js',
|
|
156
|
+
'lib/internal/main/print_help.js',
|
|
157
|
+
'lib/internal/main/prof_process.js',
|
|
158
|
+
'lib/internal/main/repl.js',
|
|
159
|
+
'lib/internal/main/run_main_module.js',
|
|
160
|
+
'lib/internal/main/test_runner.js',
|
|
161
|
+
'lib/internal/main/watch_mode.js',
|
|
162
|
+
'lib/internal/main/worker_thread.js',
|
|
164
163
|
'lib/internal/modules/cjs/helpers.js',
|
|
165
164
|
'lib/internal/modules/cjs/loader.js',
|
|
166
|
-
'lib/internal/modules/esm/module_map.js',
|
|
167
|
-
'lib/internal/modules/esm/translators.js',
|
|
168
|
-
'lib/internal/modules/esm/load.js',
|
|
169
|
-
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
170
165
|
'lib/internal/modules/esm/assert.js',
|
|
171
|
-
'lib/internal/modules/esm/module_job.js',
|
|
172
|
-
'lib/internal/modules/esm/package_config.js',
|
|
173
|
-
'lib/internal/modules/esm/fetch_module.js',
|
|
174
|
-
'lib/internal/modules/esm/get_format.js',
|
|
175
166
|
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
176
|
-
'lib/internal/modules/esm/
|
|
167
|
+
'lib/internal/modules/esm/fetch_module.js',
|
|
177
168
|
'lib/internal/modules/esm/formats.js',
|
|
169
|
+
'lib/internal/modules/esm/get_format.js',
|
|
178
170
|
'lib/internal/modules/esm/handle_process_exit.js',
|
|
171
|
+
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
172
|
+
'lib/internal/modules/esm/load.js',
|
|
173
|
+
'lib/internal/modules/esm/loader.js',
|
|
174
|
+
'lib/internal/modules/esm/module_job.js',
|
|
175
|
+
'lib/internal/modules/esm/module_map.js',
|
|
176
|
+
'lib/internal/modules/esm/package_config.js',
|
|
179
177
|
'lib/internal/modules/esm/resolve.js',
|
|
180
|
-
'lib/internal/
|
|
181
|
-
'lib/internal/
|
|
182
|
-
'lib/internal/
|
|
183
|
-
'lib/internal/
|
|
184
|
-
'lib/internal/
|
|
185
|
-
'lib/internal/
|
|
186
|
-
'lib/internal/
|
|
187
|
-
'lib/internal/
|
|
188
|
-
'lib/internal/
|
|
189
|
-
'lib/internal/
|
|
190
|
-
'lib/internal/
|
|
191
|
-
'lib/internal/
|
|
192
|
-
'lib/internal/
|
|
178
|
+
'lib/internal/modules/esm/translators.js',
|
|
179
|
+
'lib/internal/modules/package_json_reader.js',
|
|
180
|
+
'lib/internal/modules/run_main.js',
|
|
181
|
+
'lib/internal/net.js',
|
|
182
|
+
'lib/internal/options.js',
|
|
183
|
+
'lib/internal/per_context/domexception.js',
|
|
184
|
+
'lib/internal/per_context/messageport.js',
|
|
185
|
+
'lib/internal/per_context/primordials.js',
|
|
186
|
+
'lib/internal/perf/event_loop_delay.js',
|
|
187
|
+
'lib/internal/perf/event_loop_utilization.js',
|
|
188
|
+
'lib/internal/perf/nodetiming.js',
|
|
189
|
+
'lib/internal/perf/observe.js',
|
|
190
|
+
'lib/internal/perf/performance.js',
|
|
191
|
+
'lib/internal/perf/performance_entry.js',
|
|
192
|
+
'lib/internal/perf/resource_timing.js',
|
|
193
|
+
'lib/internal/perf/timerify.js',
|
|
194
|
+
'lib/internal/perf/usertiming.js',
|
|
195
|
+
'lib/internal/perf/utils.js',
|
|
196
|
+
'lib/internal/policy/manifest.js',
|
|
197
|
+
'lib/internal/policy/sri.js',
|
|
198
|
+
'lib/internal/priority_queue.js',
|
|
199
|
+
'lib/internal/process/esm_loader.js',
|
|
200
|
+
'lib/internal/process/execution.js',
|
|
201
|
+
'lib/internal/process/per_thread.js',
|
|
202
|
+
'lib/internal/process/policy.js',
|
|
203
|
+
'lib/internal/process/pre_execution.js',
|
|
204
|
+
'lib/internal/process/promises.js',
|
|
205
|
+
'lib/internal/process/report.js',
|
|
206
|
+
'lib/internal/process/signal.js',
|
|
207
|
+
'lib/internal/process/task_queues.js',
|
|
208
|
+
'lib/internal/process/warning.js',
|
|
209
|
+
'lib/internal/process/worker_thread_only.js',
|
|
210
|
+
'lib/internal/promise_hooks.js',
|
|
211
|
+
'lib/internal/querystring.js',
|
|
212
|
+
'lib/internal/readline/callbacks.js',
|
|
213
|
+
'lib/internal/readline/emitKeypressEvents.js',
|
|
214
|
+
'lib/internal/readline/interface.js',
|
|
215
|
+
'lib/internal/readline/promises.js',
|
|
216
|
+
'lib/internal/readline/utils.js',
|
|
217
|
+
'lib/internal/repl.js',
|
|
218
|
+
'lib/internal/repl/await.js',
|
|
219
|
+
'lib/internal/repl/history.js',
|
|
220
|
+
'lib/internal/repl/utils.js',
|
|
221
|
+
'lib/internal/socket_list.js',
|
|
222
|
+
'lib/internal/socketaddress.js',
|
|
223
|
+
'lib/internal/source_map/prepare_stack_trace.js',
|
|
224
|
+
'lib/internal/source_map/source_map.js',
|
|
225
|
+
'lib/internal/source_map/source_map_cache.js',
|
|
226
|
+
'lib/internal/stream_base_commons.js',
|
|
227
|
+
'lib/internal/streams/add-abort-signal.js',
|
|
228
|
+
'lib/internal/streams/buffer_list.js',
|
|
193
229
|
'lib/internal/streams/compose.js',
|
|
194
|
-
'lib/internal/streams/from.js',
|
|
195
|
-
'lib/internal/streams/state.js',
|
|
196
|
-
'lib/internal/streams/transform.js',
|
|
197
|
-
'lib/internal/streams/end-of-stream.js',
|
|
198
230
|
'lib/internal/streams/destroy.js',
|
|
199
|
-
'lib/internal/streams/writable.js',
|
|
200
|
-
'lib/internal/streams/utils.js',
|
|
201
|
-
'lib/internal/streams/readable.js',
|
|
202
|
-
'lib/internal/streams/add-abort-signal.js',
|
|
203
|
-
'lib/internal/streams/operators.js',
|
|
204
231
|
'lib/internal/streams/duplex.js',
|
|
205
232
|
'lib/internal/streams/duplexify.js',
|
|
206
|
-
'lib/internal/streams/
|
|
207
|
-
'lib/internal/streams/
|
|
233
|
+
'lib/internal/streams/end-of-stream.js',
|
|
234
|
+
'lib/internal/streams/from.js',
|
|
235
|
+
'lib/internal/streams/lazy_transform.js',
|
|
208
236
|
'lib/internal/streams/legacy.js',
|
|
237
|
+
'lib/internal/streams/operators.js',
|
|
238
|
+
'lib/internal/streams/passthrough.js',
|
|
209
239
|
'lib/internal/streams/pipeline.js',
|
|
210
|
-
'lib/internal/streams/
|
|
240
|
+
'lib/internal/streams/readable.js',
|
|
241
|
+
'lib/internal/streams/state.js',
|
|
242
|
+
'lib/internal/streams/transform.js',
|
|
243
|
+
'lib/internal/streams/utils.js',
|
|
244
|
+
'lib/internal/streams/writable.js',
|
|
245
|
+
'lib/internal/structured_clone.js',
|
|
246
|
+
'lib/internal/test/binding.js',
|
|
247
|
+
'lib/internal/test/transfer.js',
|
|
211
248
|
'lib/internal/test_runner/harness.js',
|
|
212
|
-
'lib/internal/test_runner/
|
|
249
|
+
'lib/internal/test_runner/runner.js',
|
|
213
250
|
'lib/internal/test_runner/tap_stream.js',
|
|
251
|
+
'lib/internal/test_runner/test.js',
|
|
214
252
|
'lib/internal/test_runner/utils.js',
|
|
215
|
-
'lib/internal/
|
|
216
|
-
'lib/internal/process/worker_thread_only.js',
|
|
217
|
-
'lib/internal/process/execution.js',
|
|
218
|
-
'lib/internal/process/signal.js',
|
|
219
|
-
'lib/internal/process/promises.js',
|
|
220
|
-
'lib/internal/process/per_thread.js',
|
|
221
|
-
'lib/internal/process/esm_loader.js',
|
|
222
|
-
'lib/internal/process/pre_execution.js',
|
|
223
|
-
'lib/internal/process/task_queues.js',
|
|
224
|
-
'lib/internal/process/warning.js',
|
|
225
|
-
'lib/internal/process/policy.js',
|
|
226
|
-
'lib/internal/process/report.js',
|
|
227
|
-
'lib/internal/per_context/domexception.js',
|
|
228
|
-
'lib/internal/per_context/messageport.js',
|
|
229
|
-
'lib/internal/per_context/primordials.js',
|
|
230
|
-
'lib/internal/tls/secure-pair.js',
|
|
253
|
+
'lib/internal/timers.js',
|
|
231
254
|
'lib/internal/tls/secure-context.js',
|
|
232
|
-
'lib/internal/
|
|
233
|
-
'lib/internal/
|
|
234
|
-
'lib/internal/
|
|
235
|
-
'lib/internal/
|
|
236
|
-
'lib/internal/
|
|
237
|
-
'lib/internal/
|
|
255
|
+
'lib/internal/tls/secure-pair.js',
|
|
256
|
+
'lib/internal/trace_events_async_hooks.js',
|
|
257
|
+
'lib/internal/tty.js',
|
|
258
|
+
'lib/internal/url.js',
|
|
259
|
+
'lib/internal/util.js',
|
|
260
|
+
'lib/internal/util/colors.js',
|
|
238
261
|
'lib/internal/util/comparisons.js',
|
|
239
|
-
'lib/internal/util/inspector.js',
|
|
240
|
-
'lib/internal/util/iterable_weak_map.js',
|
|
241
262
|
'lib/internal/util/debuglog.js',
|
|
242
|
-
'lib/internal/util/types.js',
|
|
243
263
|
'lib/internal/util/inspect.js',
|
|
244
|
-
'lib/internal/util/
|
|
264
|
+
'lib/internal/util/inspector.js',
|
|
265
|
+
'lib/internal/util/iterable_weak_map.js',
|
|
245
266
|
'lib/internal/util/parse_args/parse_args.js',
|
|
246
|
-
'lib/internal/
|
|
247
|
-
'lib/internal/
|
|
248
|
-
'lib/internal/
|
|
249
|
-
'lib/internal/
|
|
250
|
-
'lib/internal/
|
|
251
|
-
'lib/internal/
|
|
252
|
-
'lib/internal/
|
|
253
|
-
'lib/internal/
|
|
254
|
-
'lib/internal/
|
|
255
|
-
'lib/internal/
|
|
256
|
-
'lib/internal/main/eval_stdin.js',
|
|
257
|
-
'lib/internal/main/run_main_module.js',
|
|
258
|
-
'lib/internal/main/print_help.js',
|
|
259
|
-
'lib/internal/main/eval_string.js',
|
|
260
|
-
'lib/internal/main/prof_process.js',
|
|
261
|
-
'lib/internal/main/mksnapshot.js',
|
|
262
|
-
'lib/internal/main/inspect.js',
|
|
263
|
-
'lib/internal/main/test_runner.js',
|
|
264
|
-
'lib/internal/main/check_syntax.js',
|
|
265
|
-
'lib/internal/main/repl.js',
|
|
266
|
-
'lib/internal/repl/history.js',
|
|
267
|
-
'lib/internal/repl/utils.js',
|
|
268
|
-
'lib/internal/repl/await.js',
|
|
269
|
-
'lib/internal/perf/nodetiming.js',
|
|
270
|
-
'lib/internal/perf/observe.js',
|
|
271
|
-
'lib/internal/perf/performance_entry.js',
|
|
272
|
-
'lib/internal/perf/usertiming.js',
|
|
273
|
-
'lib/internal/perf/utils.js',
|
|
274
|
-
'lib/internal/perf/event_loop_delay.js',
|
|
275
|
-
'lib/internal/perf/performance.js',
|
|
276
|
-
'lib/internal/perf/timerify.js',
|
|
277
|
-
'lib/internal/perf/event_loop_utilization.js',
|
|
278
|
-
'lib/internal/perf/resource_timing.js',
|
|
279
|
-
'lib/internal/crypto/keygen.js',
|
|
280
|
-
'lib/internal/crypto/cipher.js',
|
|
281
|
-
'lib/internal/crypto/keys.js',
|
|
282
|
-
'lib/internal/crypto/util.js',
|
|
283
|
-
'lib/internal/crypto/mac.js',
|
|
284
|
-
'lib/internal/crypto/scrypt.js',
|
|
285
|
-
'lib/internal/crypto/sig.js',
|
|
286
|
-
'lib/internal/crypto/rsa.js',
|
|
287
|
-
'lib/internal/crypto/cfrg.js',
|
|
288
|
-
'lib/internal/crypto/x509.js',
|
|
289
|
-
'lib/internal/crypto/hash.js',
|
|
290
|
-
'lib/internal/crypto/hkdf.js',
|
|
291
|
-
'lib/internal/crypto/pbkdf2.js',
|
|
292
|
-
'lib/internal/crypto/diffiehellman.js',
|
|
293
|
-
'lib/internal/crypto/random.js',
|
|
294
|
-
'lib/internal/crypto/certificate.js',
|
|
295
|
-
'lib/internal/crypto/ec.js',
|
|
296
|
-
'lib/internal/crypto/hashnames.js',
|
|
297
|
-
'lib/internal/crypto/aes.js',
|
|
298
|
-
'lib/internal/crypto/webcrypto.js',
|
|
299
|
-
'lib/internal/webstreams/transfer.js',
|
|
267
|
+
'lib/internal/util/parse_args/utils.js',
|
|
268
|
+
'lib/internal/util/types.js',
|
|
269
|
+
'lib/internal/v8/startup_snapshot.js',
|
|
270
|
+
'lib/internal/v8_prof_polyfill.js',
|
|
271
|
+
'lib/internal/v8_prof_processor.js',
|
|
272
|
+
'lib/internal/validators.js',
|
|
273
|
+
'lib/internal/vm/module.js',
|
|
274
|
+
'lib/internal/wasm_web_api.js',
|
|
275
|
+
'lib/internal/watch_mode/files_watcher.js',
|
|
276
|
+
'lib/internal/watchdog.js',
|
|
300
277
|
'lib/internal/webstreams/adapters.js',
|
|
301
|
-
'lib/internal/webstreams/
|
|
302
|
-
'lib/internal/webstreams/writablestream.js',
|
|
278
|
+
'lib/internal/webstreams/compression.js',
|
|
303
279
|
'lib/internal/webstreams/encoding.js',
|
|
304
|
-
'lib/internal/webstreams/transformstream.js',
|
|
305
|
-
'lib/internal/webstreams/readablestream.js',
|
|
306
280
|
'lib/internal/webstreams/queuingstrategies.js',
|
|
307
|
-
'lib/internal/webstreams/
|
|
308
|
-
'lib/internal/
|
|
309
|
-
'lib/internal/
|
|
310
|
-
'lib/internal/
|
|
311
|
-
'lib/internal/
|
|
312
|
-
'lib/internal/
|
|
313
|
-
'lib/internal/
|
|
314
|
-
'lib/internal/
|
|
315
|
-
'lib/
|
|
316
|
-
'lib/
|
|
281
|
+
'lib/internal/webstreams/readablestream.js',
|
|
282
|
+
'lib/internal/webstreams/transfer.js',
|
|
283
|
+
'lib/internal/webstreams/transformstream.js',
|
|
284
|
+
'lib/internal/webstreams/util.js',
|
|
285
|
+
'lib/internal/webstreams/writablestream.js',
|
|
286
|
+
'lib/internal/worker.js',
|
|
287
|
+
'lib/internal/worker/io.js',
|
|
288
|
+
'lib/internal/worker/js_transferable.js',
|
|
289
|
+
'lib/module.js',
|
|
290
|
+
'lib/net.js',
|
|
291
|
+
'lib/os.js',
|
|
292
|
+
'lib/path.js',
|
|
293
|
+
'lib/path/posix.js',
|
|
294
|
+
'lib/path/win32.js',
|
|
295
|
+
'lib/perf_hooks.js',
|
|
296
|
+
'lib/process.js',
|
|
297
|
+
'lib/punycode.js',
|
|
298
|
+
'lib/querystring.js',
|
|
299
|
+
'lib/readline.js',
|
|
300
|
+
'lib/readline/promises.js',
|
|
301
|
+
'lib/repl.js',
|
|
302
|
+
'lib/stream.js',
|
|
303
|
+
'lib/stream/consumers.js',
|
|
304
|
+
'lib/stream/promises.js',
|
|
305
|
+
'lib/stream/web.js',
|
|
306
|
+
'lib/string_decoder.js',
|
|
307
|
+
'lib/sys.js',
|
|
308
|
+
'lib/test.js',
|
|
309
|
+
'lib/timers.js',
|
|
310
|
+
'lib/timers/promises.js',
|
|
311
|
+
'lib/tls.js',
|
|
312
|
+
'lib/trace_events.js',
|
|
313
|
+
'lib/tty.js',
|
|
314
|
+
'lib/url.js',
|
|
315
|
+
'lib/util.js',
|
|
317
316
|
'lib/util/types.js',
|
|
318
|
-
'lib/
|
|
317
|
+
'lib/v8.js',
|
|
318
|
+
'lib/vm.js',
|
|
319
|
+
'lib/wasi.js',
|
|
320
|
+
'lib/worker_threads.js',
|
|
321
|
+
'lib/zlib.js'],
|
|
319
322
|
'node_module_version': 108,
|
|
320
323
|
'node_no_browser_globals': 'false',
|
|
321
324
|
'node_prefix': '/',
|
package/include/node/node.h
CHANGED
|
@@ -224,11 +224,14 @@ namespace node {
|
|
|
224
224
|
|
|
225
225
|
class IsolateData;
|
|
226
226
|
class Environment;
|
|
227
|
+
class MultiIsolatePlatform;
|
|
228
|
+
class InitializationResultImpl;
|
|
227
229
|
|
|
228
230
|
namespace ProcessFlags {
|
|
229
231
|
enum Flags : uint64_t {
|
|
230
232
|
kNoFlags = 0,
|
|
231
233
|
// Enable stdio inheritance, which is disabled by default.
|
|
234
|
+
// This flag is also implied by kNoStdioInitialization.
|
|
232
235
|
kEnableStdioInheritance = 1 << 0,
|
|
233
236
|
// Disable reading the NODE_OPTIONS environment variable.
|
|
234
237
|
kDisableNodeOptionsEnv = 1 << 1,
|
|
@@ -236,8 +239,67 @@ enum Flags : uint64_t {
|
|
|
236
239
|
kDisableCLIOptions = 1 << 2,
|
|
237
240
|
// Do not initialize ICU.
|
|
238
241
|
kNoICU = 1 << 3,
|
|
242
|
+
// Do not modify stdio file descriptor or TTY state.
|
|
243
|
+
kNoStdioInitialization = 1 << 4,
|
|
244
|
+
// Do not register Node.js-specific signal handlers
|
|
245
|
+
// and reset other signal handlers to default state.
|
|
246
|
+
kNoDefaultSignalHandling = 1 << 5,
|
|
247
|
+
// Do not perform V8 initialization.
|
|
248
|
+
kNoInitializeV8 = 1 << 6,
|
|
249
|
+
// Do not initialize a default Node.js-provided V8 platform instance.
|
|
250
|
+
kNoInitializeNodeV8Platform = 1 << 7,
|
|
251
|
+
// Do not initialize OpenSSL config.
|
|
252
|
+
kNoInitOpenSSL = 1 << 8,
|
|
253
|
+
// Do not initialize Node.js debugging based on environment variables.
|
|
254
|
+
kNoParseGlobalDebugVariables = 1 << 9,
|
|
255
|
+
// Do not adjust OS resource limits for this process.
|
|
256
|
+
kNoAdjustResourceLimits = 1 << 10,
|
|
257
|
+
// Do not map code segments into large pages for this process.
|
|
258
|
+
kNoUseLargePages = 1 << 11,
|
|
259
|
+
// Skip printing output for --help, --version, --v8-options.
|
|
260
|
+
kNoPrintHelpOrVersionOutput = 1 << 12,
|
|
261
|
+
|
|
262
|
+
// Emulate the behavior of InitializeNodeWithArgs() when passing
|
|
263
|
+
// a flags argument to the InitializeOncePerProcess() replacement
|
|
264
|
+
// function.
|
|
265
|
+
kLegacyInitializeNodeWithArgsBehavior =
|
|
266
|
+
kNoStdioInitialization | kNoDefaultSignalHandling | kNoInitializeV8 |
|
|
267
|
+
kNoInitializeNodeV8Platform | kNoInitOpenSSL |
|
|
268
|
+
kNoParseGlobalDebugVariables | kNoAdjustResourceLimits |
|
|
269
|
+
kNoUseLargePages | kNoPrintHelpOrVersionOutput,
|
|
239
270
|
};
|
|
240
271
|
} // namespace ProcessFlags
|
|
272
|
+
// TODO(addaleax): Make this the canonical name, as it is more descriptive.
|
|
273
|
+
namespace ProcessInitializationFlags = ProcessFlags;
|
|
274
|
+
|
|
275
|
+
class NODE_EXTERN InitializationResult {
|
|
276
|
+
public:
|
|
277
|
+
virtual ~InitializationResult();
|
|
278
|
+
|
|
279
|
+
// Returns a suggested process exit code.
|
|
280
|
+
virtual int exit_code() const = 0;
|
|
281
|
+
|
|
282
|
+
// Returns 'true' if initialization was aborted early due to errors.
|
|
283
|
+
virtual bool early_return() const = 0;
|
|
284
|
+
|
|
285
|
+
// Returns the parsed list of non-Node.js arguments.
|
|
286
|
+
virtual const std::vector<std::string>& args() const = 0;
|
|
287
|
+
|
|
288
|
+
// Returns the parsed list of Node.js arguments.
|
|
289
|
+
virtual const std::vector<std::string>& exec_args() const = 0;
|
|
290
|
+
|
|
291
|
+
// Returns an array of errors. Note that these may be warnings
|
|
292
|
+
// whose existence does not imply a non-zero exit code.
|
|
293
|
+
virtual const std::vector<std::string>& errors() const = 0;
|
|
294
|
+
|
|
295
|
+
// If kNoInitializeNodeV8Platform was not specified, the global Node.js
|
|
296
|
+
// platform instance.
|
|
297
|
+
virtual MultiIsolatePlatform* platform() const = 0;
|
|
298
|
+
|
|
299
|
+
private:
|
|
300
|
+
InitializationResult() = default;
|
|
301
|
+
friend class InitializationResultImpl;
|
|
302
|
+
};
|
|
241
303
|
|
|
242
304
|
// TODO(addaleax): Officially deprecate this and replace it with something
|
|
243
305
|
// better suited for a public embedder API.
|
|
@@ -247,20 +309,44 @@ NODE_EXTERN int Start(int argc, char* argv[]);
|
|
|
247
309
|
// in the loop and / or actively executing JavaScript code).
|
|
248
310
|
NODE_EXTERN int Stop(Environment* env);
|
|
249
311
|
|
|
312
|
+
// This runs a subset of the initialization performed by
|
|
313
|
+
// InitializeOncePerProcess(), which supersedes this function.
|
|
314
|
+
// The subset is roughly equivalent to the one given by
|
|
315
|
+
// `ProcessInitializationFlags::kLegacyInitializeNodeWithArgsBehavior`.
|
|
316
|
+
NODE_DEPRECATED("Use InitializeOncePerProcess() instead",
|
|
317
|
+
NODE_EXTERN int InitializeNodeWithArgs(
|
|
318
|
+
std::vector<std::string>* argv,
|
|
319
|
+
std::vector<std::string>* exec_argv,
|
|
320
|
+
std::vector<std::string>* errors,
|
|
321
|
+
ProcessInitializationFlags::Flags flags));
|
|
322
|
+
NODE_DEPRECATED("Use InitializeOncePerProcess() instead",
|
|
323
|
+
NODE_EXTERN int InitializeNodeWithArgs(
|
|
324
|
+
std::vector<std::string>* argv,
|
|
325
|
+
std::vector<std::string>* exec_argv,
|
|
326
|
+
std::vector<std::string>* errors));
|
|
327
|
+
|
|
250
328
|
// Set up per-process state needed to run Node.js. This will consume arguments
|
|
251
|
-
// from
|
|
252
|
-
// the arguments
|
|
253
|
-
//
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
std::vector<std::string
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
329
|
+
// from args, and return information about the initialization success,
|
|
330
|
+
// including the arguments split into argv/exec_argv, a list of potential
|
|
331
|
+
// errors encountered during initialization, and a potential suggested
|
|
332
|
+
// exit code.
|
|
333
|
+
NODE_EXTERN std::unique_ptr<InitializationResult> InitializeOncePerProcess(
|
|
334
|
+
const std::vector<std::string>& args,
|
|
335
|
+
ProcessInitializationFlags::Flags flags =
|
|
336
|
+
ProcessInitializationFlags::kNoFlags);
|
|
337
|
+
// Undoes the initialization performed by InitializeOncePerProcess(),
|
|
338
|
+
// where cleanup is necessary.
|
|
339
|
+
NODE_EXTERN void TearDownOncePerProcess();
|
|
340
|
+
// Convenience overload for specifying multiple flags without having
|
|
341
|
+
// to worry about casts.
|
|
342
|
+
inline std::unique_ptr<InitializationResult> InitializeOncePerProcess(
|
|
343
|
+
const std::vector<std::string>& args,
|
|
344
|
+
std::initializer_list<ProcessInitializationFlags::Flags> list) {
|
|
345
|
+
uint64_t flags_accum = ProcessInitializationFlags::kNoFlags;
|
|
346
|
+
for (const auto flag : list) flags_accum |= static_cast<uint64_t>(flag);
|
|
347
|
+
return InitializeOncePerProcess(
|
|
348
|
+
args, static_cast<ProcessInitializationFlags::Flags>(flags_accum));
|
|
349
|
+
}
|
|
264
350
|
|
|
265
351
|
enum OptionEnvvarSettings {
|
|
266
352
|
kAllowedInEnvironment,
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 18
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 12
|
|
27
27
|
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
|
-
#define NODE_VERSION_IS_LTS
|
|
30
|
-
#define NODE_VERSION_LTS_CODENAME ""
|
|
29
|
+
#define NODE_VERSION_IS_LTS 1
|
|
30
|
+
#define NODE_VERSION_LTS_CODENAME "Hydrogen"
|
|
31
31
|
|
|
32
32
|
#define NODE_VERSION_IS_RELEASE 1
|
|
33
33
|
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -387,6 +387,10 @@ Specify the minimum allocation from the OpenSSL secure heap. The default is 2. T
|
|
|
387
387
|
.It Fl -test
|
|
388
388
|
Starts the Node.js command line test runner.
|
|
389
389
|
.
|
|
390
|
+
.It Fl -test-name-pattern
|
|
391
|
+
A regular expression that configures the test runner to only execute tests
|
|
392
|
+
whose name matches the provided pattern.
|
|
393
|
+
.
|
|
390
394
|
.It Fl -test-only
|
|
391
395
|
Configures the test runner to only execute top level tests that have the `only`
|
|
392
396
|
option set.
|