node-linux-s390x 20.15.1 → 20.17.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 +458 -0
- package/LICENSE +0 -33
- package/README.md +31 -23
- package/bin/node +0 -0
- package/include/node/common.gypi +5 -1
- package/include/node/config.gypi +2 -0
- package/include/node/js_native_api.h +26 -25
- package/include/node/js_native_api_types.h +13 -9
- package/include/node/node.h +7 -3
- package/include/node/node_api.h +13 -13
- package/include/node/node_version.h +2 -2
- package/package.json +1 -1
- package/share/man/man1/node.1 +3 -8
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
</tr>
|
|
10
10
|
<tr>
|
|
11
11
|
<td>
|
|
12
|
+
<a href="#20.17.0">20.17.0</a><br/>
|
|
13
|
+
<a href="#20.16.0">20.16.0</a><br/>
|
|
12
14
|
<a href="#20.15.1">20.15.1</a><br/>
|
|
13
15
|
<a href="#20.15.0">20.15.0</a><br/>
|
|
14
16
|
<a href="#20.14.0">20.14.0</a><br/>
|
|
@@ -62,6 +64,462 @@
|
|
|
62
64
|
* [io.js](CHANGELOG_IOJS.md)
|
|
63
65
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
64
66
|
|
|
67
|
+
<a id="20.17.0"></a>
|
|
68
|
+
|
|
69
|
+
## 2024-08-21, Version 20.17.0 'Iron' (LTS), @marco-ippolito
|
|
70
|
+
|
|
71
|
+
### module: support require()ing synchronous ESM graphs
|
|
72
|
+
|
|
73
|
+
This release adds `require()` support for synchronous ESM graphs under
|
|
74
|
+
the flag `--experimental-require-module`.
|
|
75
|
+
|
|
76
|
+
If `--experimental-require-module` is enabled, and the ECMAScript
|
|
77
|
+
module being loaded by `require()` meets the following requirements:
|
|
78
|
+
|
|
79
|
+
* Explicitly marked as an ES module with a "type": "module" field in the closest package.json or a .mjs extension.
|
|
80
|
+
* Fully synchronous (contains no top-level await).
|
|
81
|
+
|
|
82
|
+
`require()` will load the requested module as an ES Module, and return
|
|
83
|
+
the module name space object. In this case it is similar to dynamic
|
|
84
|
+
`import()` but is run synchronously and returns the name space object
|
|
85
|
+
directly.
|
|
86
|
+
|
|
87
|
+
Contributed by Joyee Cheung in [#51977](https://github.com/nodejs/node/pull/51977)
|
|
88
|
+
|
|
89
|
+
### path: add `matchesGlob` method
|
|
90
|
+
|
|
91
|
+
Glob patterns can now be tested against individual paths via the `path.matchesGlob(path, pattern)` method.
|
|
92
|
+
|
|
93
|
+
Contributed by Aviv Keller in [#52881](https://github.com/nodejs/node/pull/52881)
|
|
94
|
+
|
|
95
|
+
### stream: expose DuplexPair API
|
|
96
|
+
|
|
97
|
+
The function `duplexPair` returns an array with two items,
|
|
98
|
+
each being a `Duplex` stream connected to the other side:
|
|
99
|
+
|
|
100
|
+
```js
|
|
101
|
+
const [ sideA, sideB ] = duplexPair();
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Whatever is written to one stream is made readable on the other. It provides
|
|
105
|
+
behavior analogous to a network connection, where the data written by the client
|
|
106
|
+
becomes readable by the server, and vice-versa.
|
|
107
|
+
|
|
108
|
+
Contributed by Austin Wright in [#34111](https://github.com/nodejs/node/pull/34111)
|
|
109
|
+
|
|
110
|
+
### Other Notable Changes
|
|
111
|
+
|
|
112
|
+
* \[[`8e64c02b19`](https://github.com/nodejs/node/commit/8e64c02b19)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://github.com/nodejs/node/pull/54054)
|
|
113
|
+
* \[[`ae30674991`](https://github.com/nodejs/node/commit/ae30674991)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://github.com/nodejs/node/pull/54004)
|
|
114
|
+
* \[[`4a3ecbfc9b`](https://github.com/nodejs/node/commit/4a3ecbfc9b)] - **(SEMVER-MINOR)** **stream**: implement `min` option for `ReadableStreamBYOBReader.read` (Mattias Buelens) [#50888](https://github.com/nodejs/node/pull/50888)
|
|
115
|
+
|
|
116
|
+
### Commits
|
|
117
|
+
|
|
118
|
+
* \[[`b3a2726cbc`](https://github.com/nodejs/node/commit/b3a2726cbc)] - **assert**: use isError instead of instanceof in innerOk (Pietro Marchini) [#53980](https://github.com/nodejs/node/pull/53980)
|
|
119
|
+
* \[[`c7e4c3daf4`](https://github.com/nodejs/node/commit/c7e4c3daf4)] - **benchmark**: add cpSync benchmark (Yagiz Nizipli) [#53612](https://github.com/nodejs/node/pull/53612)
|
|
120
|
+
* \[[`a52de8c5ff`](https://github.com/nodejs/node/commit/a52de8c5ff)] - **bootstrap**: print `--help` message using `console.log` (Jacob Hummer) [#51463](https://github.com/nodejs/node/pull/51463)
|
|
121
|
+
* \[[`61b90e7c5e`](https://github.com/nodejs/node/commit/61b90e7c5e)] - **build**: update gcovr to 7.2 and codecov config (Benjamin E. Coe) [#54019](https://github.com/nodejs/node/pull/54019)
|
|
122
|
+
* \[[`a9c04eaa27`](https://github.com/nodejs/node/commit/a9c04eaa27)] - **build**: ensure v8\_pointer\_compression\_sandbox is enabled on 64bit (Shelley Vohr) [#53884](https://github.com/nodejs/node/pull/53884)
|
|
123
|
+
* \[[`342a663d7a`](https://github.com/nodejs/node/commit/342a663d7a)] - **build**: trigger coverage ci when updating codecov (Yagiz Nizipli) [#53929](https://github.com/nodejs/node/pull/53929)
|
|
124
|
+
* \[[`5727b4d129`](https://github.com/nodejs/node/commit/5727b4d129)] - **build**: update codecov coverage build count (Yagiz Nizipli) [#53929](https://github.com/nodejs/node/pull/53929)
|
|
125
|
+
* \[[`977af25870`](https://github.com/nodejs/node/commit/977af25870)] - **build**: disable test-asan workflow (Michaël Zasso) [#53844](https://github.com/nodejs/node/pull/53844)
|
|
126
|
+
* \[[`04798fb104`](https://github.com/nodejs/node/commit/04798fb104)] - **build**: fix build warning of c-ares under GN build (Cheng) [#53750](https://github.com/nodejs/node/pull/53750)
|
|
127
|
+
* \[[`5ec5e78574`](https://github.com/nodejs/node/commit/5ec5e78574)] - **build**: fix mac build error of c-ares under GN (Cheng) [#53687](https://github.com/nodejs/node/pull/53687)
|
|
128
|
+
* \[[`3d8721f0a4`](https://github.com/nodejs/node/commit/3d8721f0a4)] - **build**: add version-specific library path for AIX (Richard Lau) [#53585](https://github.com/nodejs/node/pull/53585)
|
|
129
|
+
* \[[`ffb0bd344d`](https://github.com/nodejs/node/commit/ffb0bd344d)] - **build, tools**: drop leading `/` from `r2dir` (Richard Lau) [#53951](https://github.com/nodejs/node/pull/53951)
|
|
130
|
+
* \[[`a2d74f4c31`](https://github.com/nodejs/node/commit/a2d74f4c31)] - **build,tools**: simplify upload of shasum signatures (Michaël Zasso) [#53892](https://github.com/nodejs/node/pull/53892)
|
|
131
|
+
* \[[`993bb3b6e7`](https://github.com/nodejs/node/commit/993bb3b6e7)] - **child\_process**: fix incomplete prototype pollution hardening (Liran Tal) [#53781](https://github.com/nodejs/node/pull/53781)
|
|
132
|
+
* \[[`137a2e5766`](https://github.com/nodejs/node/commit/137a2e5766)] - **cli**: document `--inspect` port `0` behavior (Aviv Keller) [#53782](https://github.com/nodejs/node/pull/53782)
|
|
133
|
+
* \[[`820e6e1737`](https://github.com/nodejs/node/commit/820e6e1737)] - **cli**: update `node.1` to reflect Atom's sunset (Aviv Keller) [#53734](https://github.com/nodejs/node/pull/53734)
|
|
134
|
+
* \[[`fa0e8d7b3b`](https://github.com/nodejs/node/commit/fa0e8d7b3b)] - **crypto**: avoid std::function (Tobias Nießen) [#53683](https://github.com/nodejs/node/pull/53683)
|
|
135
|
+
* \[[`460240c368`](https://github.com/nodejs/node/commit/460240c368)] - **crypto**: make deriveBits length parameter optional and nullable (Filip Skokan) [#53601](https://github.com/nodejs/node/pull/53601)
|
|
136
|
+
* \[[`ceb1d5e00a`](https://github.com/nodejs/node/commit/ceb1d5e00a)] - **crypto**: avoid taking ownership of OpenSSL objects (Tobias Nießen) [#53460](https://github.com/nodejs/node/pull/53460)
|
|
137
|
+
* \[[`44268c27eb`](https://github.com/nodejs/node/commit/44268c27eb)] - **deps**: update corepack to 0.29.3 (Node.js GitHub Bot) [#54072](https://github.com/nodejs/node/pull/54072)
|
|
138
|
+
* \[[`496975ece0`](https://github.com/nodejs/node/commit/496975ece0)] - **deps**: update c-ares to v1.32.3 (Node.js GitHub Bot) [#54020](https://github.com/nodejs/node/pull/54020)
|
|
139
|
+
* \[[`5eea419349`](https://github.com/nodejs/node/commit/5eea419349)] - **deps**: update c-ares to v1.32.2 (Node.js GitHub Bot) [#53865](https://github.com/nodejs/node/pull/53865)
|
|
140
|
+
* \[[`8c8e3688c5`](https://github.com/nodejs/node/commit/8c8e3688c5)] - **deps**: update googletest to 4b21f1a (Node.js GitHub Bot) [#53842](https://github.com/nodejs/node/pull/53842)
|
|
141
|
+
* \[[`78f6b34c77`](https://github.com/nodejs/node/commit/78f6b34c77)] - **deps**: update minimatch to 10.0.1 (Node.js GitHub Bot) [#53841](https://github.com/nodejs/node/pull/53841)
|
|
142
|
+
* \[[`398f7acca3`](https://github.com/nodejs/node/commit/398f7acca3)] - **deps**: update corepack to 0.29.2 (Node.js GitHub Bot) [#53838](https://github.com/nodejs/node/pull/53838)
|
|
143
|
+
* \[[`fa8f99d90b`](https://github.com/nodejs/node/commit/fa8f99d90b)] - **deps**: update simdutf to 5.3.0 (Node.js GitHub Bot) [#53837](https://github.com/nodejs/node/pull/53837)
|
|
144
|
+
* \[[`a19b28336b`](https://github.com/nodejs/node/commit/a19b28336b)] - **deps**: update ada to 2.9.0 (Node.js GitHub Bot) [#53748](https://github.com/nodejs/node/pull/53748)
|
|
145
|
+
* \[[`2f66c7e707`](https://github.com/nodejs/node/commit/2f66c7e707)] - **deps**: upgrade npm to 10.8.2 (npm team) [#53799](https://github.com/nodejs/node/pull/53799)
|
|
146
|
+
* \[[`2a2620e7c0`](https://github.com/nodejs/node/commit/2a2620e7c0)] - **deps**: update googletest to 34ad51b (Node.js GitHub Bot) [#53157](https://github.com/nodejs/node/pull/53157)
|
|
147
|
+
* \[[`c01ce60ce7`](https://github.com/nodejs/node/commit/c01ce60ce7)] - **deps**: update googletest to 305e5a2 (Node.js GitHub Bot) [#53157](https://github.com/nodejs/node/pull/53157)
|
|
148
|
+
* \[[`832328ea01`](https://github.com/nodejs/node/commit/832328ea01)] - **deps**: update c-ares to v1.32.1 (Node.js GitHub Bot) [#53753](https://github.com/nodejs/node/pull/53753)
|
|
149
|
+
* \[[`878e9a4ae7`](https://github.com/nodejs/node/commit/878e9a4ae7)] - **deps**: update minimatch to 9.0.5 (Node.js GitHub Bot) [#53646](https://github.com/nodejs/node/pull/53646)
|
|
150
|
+
* \[[`4647e6b5c5`](https://github.com/nodejs/node/commit/4647e6b5c5)] - **deps**: update c-ares to v1.32.0 (Node.js GitHub Bot) [#53722](https://github.com/nodejs/node/pull/53722)
|
|
151
|
+
* \[[`30310bf887`](https://github.com/nodejs/node/commit/30310bf887)] - **doc**: move numCPUs require to top of file in cluster CJS example (Alfredo González) [#53932](https://github.com/nodejs/node/pull/53932)
|
|
152
|
+
* \[[`36170eddca`](https://github.com/nodejs/node/commit/36170eddca)] - **doc**: update security-release process to automated one (Rafael Gonzaga) [#53877](https://github.com/nodejs/node/pull/53877)
|
|
153
|
+
* \[[`55f5e76ba7`](https://github.com/nodejs/node/commit/55f5e76ba7)] - **doc**: fix typo in technical-priorities.md (YoonSoo\_Shin) [#54094](https://github.com/nodejs/node/pull/54094)
|
|
154
|
+
* \[[`1c0ccc0ca8`](https://github.com/nodejs/node/commit/1c0ccc0ca8)] - **doc**: fix typo in diagnostic tooling support tiers document (Taejin Kim) [#54058](https://github.com/nodejs/node/pull/54058)
|
|
155
|
+
* \[[`6a5120ff0f`](https://github.com/nodejs/node/commit/6a5120ff0f)] - **doc**: move GeoffreyBooth to TSC regular member (Geoffrey Booth) [#54047](https://github.com/nodejs/node/pull/54047)
|
|
156
|
+
* \[[`ead05aad2a`](https://github.com/nodejs/node/commit/ead05aad2a)] - **doc**: fix typo in recognizing-contributors (Marco Ippolito) [#53990](https://github.com/nodejs/node/pull/53990)
|
|
157
|
+
* \[[`25e59aebac`](https://github.com/nodejs/node/commit/25e59aebac)] - **doc**: update boxstarter README (Aviv Keller) [#53785](https://github.com/nodejs/node/pull/53785)
|
|
158
|
+
* \[[`a3183fb927`](https://github.com/nodejs/node/commit/a3183fb927)] - **doc**: add info about prefix-only modules to `module.builtinModules` (Grigory) [#53954](https://github.com/nodejs/node/pull/53954)
|
|
159
|
+
* \[[`89599e025f`](https://github.com/nodejs/node/commit/89599e025f)] - **doc**: remove `scroll-behavior: smooth;` (Cloyd Lau) [#53942](https://github.com/nodejs/node/pull/53942)
|
|
160
|
+
* \[[`139c62e40c`](https://github.com/nodejs/node/commit/139c62e40c)] - **doc**: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) [#53926](https://github.com/nodejs/node/pull/53926)
|
|
161
|
+
* \[[`233aba90ea`](https://github.com/nodejs/node/commit/233aba90ea)] - **doc**: update `api_assets` README for new files (Aviv Keller) [#53676](https://github.com/nodejs/node/pull/53676)
|
|
162
|
+
* \[[`44a1cbe98a`](https://github.com/nodejs/node/commit/44a1cbe98a)] - **doc**: add MattiasBuelens to collaborators (Mattias Buelens) [#53895](https://github.com/nodejs/node/pull/53895)
|
|
163
|
+
* \[[`f5280ddbc5`](https://github.com/nodejs/node/commit/f5280ddbc5)] - **doc**: fix casing of GitHub handle for two collaborators (Antoine du Hamel) [#53857](https://github.com/nodejs/node/pull/53857)
|
|
164
|
+
* \[[`9224e3eef1`](https://github.com/nodejs/node/commit/9224e3eef1)] - **doc**: update release-post nodejs.org script (Rafael Gonzaga) [#53762](https://github.com/nodejs/node/pull/53762)
|
|
165
|
+
* \[[`f87eed8de4`](https://github.com/nodejs/node/commit/f87eed8de4)] - **doc**: move MylesBorins to emeritus (Myles Borins) [#53760](https://github.com/nodejs/node/pull/53760)
|
|
166
|
+
* \[[`32ac80ae8d`](https://github.com/nodejs/node/commit/32ac80ae8d)] - **doc**: add Rafael to the last security release (Rafael Gonzaga) [#53769](https://github.com/nodejs/node/pull/53769)
|
|
167
|
+
* \[[`e71aa7e98b`](https://github.com/nodejs/node/commit/e71aa7e98b)] - **doc**: use mock.callCount() in examples (Sébastien Règne) [#53754](https://github.com/nodejs/node/pull/53754)
|
|
168
|
+
* \[[`f64db24312`](https://github.com/nodejs/node/commit/f64db24312)] - **doc**: clarify authenticity of plaintexts in update (Tobias Nießen) [#53784](https://github.com/nodejs/node/pull/53784)
|
|
169
|
+
* \[[`51e736ac83`](https://github.com/nodejs/node/commit/51e736ac83)] - **doc**: add option to have support me link (Michael Dawson) [#53312](https://github.com/nodejs/node/pull/53312)
|
|
170
|
+
* \[[`9804731d0f`](https://github.com/nodejs/node/commit/9804731d0f)] - **doc**: update `scroll-padding-top` to 4rem (Cloyd Lau) [#53662](https://github.com/nodejs/node/pull/53662)
|
|
171
|
+
* \[[`229f7f8b8a`](https://github.com/nodejs/node/commit/229f7f8b8a)] - **doc**: mention v8.setFlagsFromString to pm (Rafael Gonzaga) [#53731](https://github.com/nodejs/node/pull/53731)
|
|
172
|
+
* \[[`98d59aa929`](https://github.com/nodejs/node/commit/98d59aa929)] - **doc**: remove the last \<pre> tag (Claudio W) [#53741](https://github.com/nodejs/node/pull/53741)
|
|
173
|
+
* \[[`60ee41df08`](https://github.com/nodejs/node/commit/60ee41df08)] - **doc**: exclude voting and regular TSC from spotlight (Michael Dawson) [#53694](https://github.com/nodejs/node/pull/53694)
|
|
174
|
+
* \[[`c3536cfa99`](https://github.com/nodejs/node/commit/c3536cfa99)] - **doc**: fix releases guide for recent Git versions (Michaël Zasso) [#53709](https://github.com/nodejs/node/pull/53709)
|
|
175
|
+
* \[[`3b632e1871`](https://github.com/nodejs/node/commit/3b632e1871)] - **doc**: require `node:process` in assert doc examples (Alfredo González) [#53702](https://github.com/nodejs/node/pull/53702)
|
|
176
|
+
* \[[`754090c110`](https://github.com/nodejs/node/commit/754090c110)] - **doc**: add additional explanation to the wildcard section in permissions (jakecastelli) [#53664](https://github.com/nodejs/node/pull/53664)
|
|
177
|
+
* \[[`4346de7267`](https://github.com/nodejs/node/commit/4346de7267)] - **doc**: mark NODE\_MODULE\_VERSION for Node.js 22.0.0 (Michaël Zasso) [#53650](https://github.com/nodejs/node/pull/53650)
|
|
178
|
+
* \[[`758178bd72`](https://github.com/nodejs/node/commit/758178bd72)] - **doc**: include node.module\_timer on available categories (Vinicius Lourenço) [#53638](https://github.com/nodejs/node/pull/53638)
|
|
179
|
+
* \[[`e0d213df2b`](https://github.com/nodejs/node/commit/e0d213df2b)] - **doc**: fix module customization hook examples (Elliot Goodrich) [#53637](https://github.com/nodejs/node/pull/53637)
|
|
180
|
+
* \[[`43ac5a2441`](https://github.com/nodejs/node/commit/43ac5a2441)] - **doc**: fix doc for correct usage with plan & TestContext (Emil Tayeb) [#53615](https://github.com/nodejs/node/pull/53615)
|
|
181
|
+
* \[[`5076f0d292`](https://github.com/nodejs/node/commit/5076f0d292)] - **doc**: remove some news issues that are no longer (Michael Dawson) [#53608](https://github.com/nodejs/node/pull/53608)
|
|
182
|
+
* \[[`c997dbef34`](https://github.com/nodejs/node/commit/c997dbef34)] - **doc**: add issue for news from ambassadors (Michael Dawson) [#53607](https://github.com/nodejs/node/pull/53607)
|
|
183
|
+
* \[[`16d55f1d25`](https://github.com/nodejs/node/commit/16d55f1d25)] - **doc**: add esm example for os (Leonardo Peixoto) [#53604](https://github.com/nodejs/node/pull/53604)
|
|
184
|
+
* \[[`156fc536f2`](https://github.com/nodejs/node/commit/156fc536f2)] - **doc**: clarify usage of coverage reporters (Eliphaz Bouye) [#53523](https://github.com/nodejs/node/pull/53523)
|
|
185
|
+
* \[[`f8f247bc99`](https://github.com/nodejs/node/commit/f8f247bc99)] - **doc**: document addition testing options (Aviv Keller) [#53569](https://github.com/nodejs/node/pull/53569)
|
|
186
|
+
* \[[`73860aca56`](https://github.com/nodejs/node/commit/73860aca56)] - **doc**: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) [#53566](https://github.com/nodejs/node/pull/53566)
|
|
187
|
+
* \[[`59c5c5c73e`](https://github.com/nodejs/node/commit/59c5c5c73e)] - **doc**: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) [#53560](https://github.com/nodejs/node/pull/53560)
|
|
188
|
+
* \[[`1cd3c8eb27`](https://github.com/nodejs/node/commit/1cd3c8eb27)] - **doc**: fix typo (EhsanKhaki) [#53397](https://github.com/nodejs/node/pull/53397)
|
|
189
|
+
* \[[`3c5e593e2a`](https://github.com/nodejs/node/commit/3c5e593e2a)] - **doc, meta**: add PTAL to glossary (Aviv Keller) [#53770](https://github.com/nodejs/node/pull/53770)
|
|
190
|
+
* \[[`f336e61257`](https://github.com/nodejs/node/commit/f336e61257)] - **doc, test**: tracing channel hasSubscribers getter (Thomas Hunter II) [#52908](https://github.com/nodejs/node/pull/52908)
|
|
191
|
+
* \[[`4187b81439`](https://github.com/nodejs/node/commit/4187b81439)] - **doc, typings**: events.once accepts symbol event type (René) [#53542](https://github.com/nodejs/node/pull/53542)
|
|
192
|
+
* \[[`3cdf94d403`](https://github.com/nodejs/node/commit/3cdf94d403)] - **doc,tty**: add documentation for ReadStream and WriteStream (jakecastelli) [#53567](https://github.com/nodejs/node/pull/53567)
|
|
193
|
+
* \[[`5d03f6fab7`](https://github.com/nodejs/node/commit/5d03f6fab7)] - **esm**: move hooks test with others (Geoffrey Booth) [#53558](https://github.com/nodejs/node/pull/53558)
|
|
194
|
+
* \[[`490f15a99b`](https://github.com/nodejs/node/commit/490f15a99b)] - **fs**: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) [#53776](https://github.com/nodejs/node/pull/53776)
|
|
195
|
+
* \[[`8e64c02b19`](https://github.com/nodejs/node/commit/8e64c02b19)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://github.com/nodejs/node/pull/54054)
|
|
196
|
+
* \[[`0d70c79ebf`](https://github.com/nodejs/node/commit/0d70c79ebf)] - **lib**: optimize copyError with ObjectAssign in primordials (HEESEUNG) [#53999](https://github.com/nodejs/node/pull/53999)
|
|
197
|
+
* \[[`a4ff2ac0f0`](https://github.com/nodejs/node/commit/a4ff2ac0f0)] - **lib**: improve cluster/primary code (Ehsan Khakifirooz) [#53756](https://github.com/nodejs/node/pull/53756)
|
|
198
|
+
* \[[`c667fbd988`](https://github.com/nodejs/node/commit/c667fbd988)] - **lib**: improve error message when index not found on cjs (Vinicius Lourenço) [#53859](https://github.com/nodejs/node/pull/53859)
|
|
199
|
+
* \[[`51ba566171`](https://github.com/nodejs/node/commit/51ba566171)] - **lib**: decorate async stack trace in source maps (Chengzhong Wu) [#53860](https://github.com/nodejs/node/pull/53860)
|
|
200
|
+
* \[[`d012dd3d29`](https://github.com/nodejs/node/commit/d012dd3d29)] - **lib**: remove path.resolve from permissions.js (Rafael Gonzaga) [#53729](https://github.com/nodejs/node/pull/53729)
|
|
201
|
+
* \[[`1e9ff50446`](https://github.com/nodejs/node/commit/1e9ff50446)] - **lib**: add toJSON to PerformanceMeasure (theanarkh) [#53603](https://github.com/nodejs/node/pull/53603)
|
|
202
|
+
* \[[`3a2d8bffa5`](https://github.com/nodejs/node/commit/3a2d8bffa5)] - **lib**: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) [#52095](https://github.com/nodejs/node/pull/52095)
|
|
203
|
+
* \[[`e326342bd7`](https://github.com/nodejs/node/commit/e326342bd7)] - **meta**: add `sqlite` to js subsystems (Alex Yang) [#53911](https://github.com/nodejs/node/pull/53911)
|
|
204
|
+
* \[[`bfabfb4d17`](https://github.com/nodejs/node/commit/bfabfb4d17)] - **meta**: move tsc member to emeritus (Michael Dawson) [#54029](https://github.com/nodejs/node/pull/54029)
|
|
205
|
+
* \[[`ae30674991`](https://github.com/nodejs/node/commit/ae30674991)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://github.com/nodejs/node/pull/54004)
|
|
206
|
+
* \[[`6ca0cfc602`](https://github.com/nodejs/node/commit/6ca0cfc602)] - **meta**: remove license for hljs (Aviv Keller) [#53970](https://github.com/nodejs/node/pull/53970)
|
|
207
|
+
* \[[`e6ba121e83`](https://github.com/nodejs/node/commit/e6ba121e83)] - **meta**: make more bug-report information required (Aviv Keller) [#53718](https://github.com/nodejs/node/pull/53718)
|
|
208
|
+
* \[[`1864cddd0c`](https://github.com/nodejs/node/commit/1864cddd0c)] - **meta**: store actions secrets in environment (Aviv Keller) [#53930](https://github.com/nodejs/node/pull/53930)
|
|
209
|
+
* \[[`c0b24e5071`](https://github.com/nodejs/node/commit/c0b24e5071)] - **meta**: move anonrig to tsc voting members (Yagiz Nizipli) [#53888](https://github.com/nodejs/node/pull/53888)
|
|
210
|
+
* \[[`e60b089f7f`](https://github.com/nodejs/node/commit/e60b089f7f)] - **meta**: remove redudant logging from dep updaters (Aviv Keller) [#53783](https://github.com/nodejs/node/pull/53783)
|
|
211
|
+
* \[[`bff6995ec3`](https://github.com/nodejs/node/commit/bff6995ec3)] - **meta**: change email address of anonrig (Yagiz Nizipli) [#53829](https://github.com/nodejs/node/pull/53829)
|
|
212
|
+
* \[[`c2bb46020a`](https://github.com/nodejs/node/commit/c2bb46020a)] - **meta**: add `node_sqlite.c` to PR label config (Aviv Keller) [#53797](https://github.com/nodejs/node/pull/53797)
|
|
213
|
+
* \[[`b8d2bbc6d6`](https://github.com/nodejs/node/commit/b8d2bbc6d6)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#53758](https://github.com/nodejs/node/pull/53758)
|
|
214
|
+
* \[[`0ad4b7c1f7`](https://github.com/nodejs/node/commit/0ad4b7c1f7)] - **meta**: use HTML entities in commit-queue comment (Aviv Keller) [#53744](https://github.com/nodejs/node/pull/53744)
|
|
215
|
+
* \[[`aa0c5c25d1`](https://github.com/nodejs/node/commit/aa0c5c25d1)] - **meta**: move regular TSC member to emeritus (Michael Dawson) [#53693](https://github.com/nodejs/node/pull/53693)
|
|
216
|
+
* \[[`a5f5b4550b`](https://github.com/nodejs/node/commit/a5f5b4550b)] - **meta**: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot\[bot]) [#53675](https://github.com/nodejs/node/pull/53675)
|
|
217
|
+
* \[[`f84e215c90`](https://github.com/nodejs/node/commit/f84e215c90)] - **meta**: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot\[bot]) [#53674](https://github.com/nodejs/node/pull/53674)
|
|
218
|
+
* \[[`d5a9c249d3`](https://github.com/nodejs/node/commit/d5a9c249d3)] - **meta**: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot\[bot]) [#53673](https://github.com/nodejs/node/pull/53673)
|
|
219
|
+
* \[[`39d6c780c8`](https://github.com/nodejs/node/commit/39d6c780c8)] - **meta**: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot\[bot]) [#53672](https://github.com/nodejs/node/pull/53672)
|
|
220
|
+
* \[[`bb6fe38a34`](https://github.com/nodejs/node/commit/bb6fe38a34)] - **meta**: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot\[bot]) [#53671](https://github.com/nodejs/node/pull/53671)
|
|
221
|
+
* \[[`5dcdfb5e6b`](https://github.com/nodejs/node/commit/5dcdfb5e6b)] - **meta**: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot\[bot]) [#53670](https://github.com/nodejs/node/pull/53670)
|
|
222
|
+
* \[[`44d901a1c9`](https://github.com/nodejs/node/commit/44d901a1c9)] - **meta**: move member from TSC regular to emeriti (Michael Dawson) [#53599](https://github.com/nodejs/node/pull/53599)
|
|
223
|
+
* \[[`0c91186afa`](https://github.com/nodejs/node/commit/0c91186afa)] - **meta**: warnings bypass deprecation cycle (Benjamin Gruenbaum) [#53513](https://github.com/nodejs/node/pull/53513)
|
|
224
|
+
* \[[`bcd08bef60`](https://github.com/nodejs/node/commit/bcd08bef60)] - **meta**: prevent constant references to issues in versioning (Aviv Keller) [#53564](https://github.com/nodejs/node/pull/53564)
|
|
225
|
+
* \[[`7625dc4927`](https://github.com/nodejs/node/commit/7625dc4927)] - **module**: fix submodules loaded by require() and import() (Joyee Cheung) [#52487](https://github.com/nodejs/node/pull/52487)
|
|
226
|
+
* \[[`6c4f4772e3`](https://github.com/nodejs/node/commit/6c4f4772e3)] - **module**: tidy code and comments (Jacob Smith) [#52437](https://github.com/nodejs/node/pull/52437)
|
|
227
|
+
* \[[`51b88faeac`](https://github.com/nodejs/node/commit/51b88faeac)] - **module**: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) [#52264](https://github.com/nodejs/node/pull/52264)
|
|
228
|
+
* \[[`4dae68ced4`](https://github.com/nodejs/node/commit/4dae68ced4)] - **module**: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) [#52291](https://github.com/nodejs/node/pull/52291)
|
|
229
|
+
* \[[`cad46afc07`](https://github.com/nodejs/node/commit/cad46afc07)] - **(SEMVER-MINOR)** **module**: support require()ing synchronous ESM graphs (Joyee Cheung) [#51977](https://github.com/nodejs/node/pull/51977)
|
|
230
|
+
* \[[`ac58c829a1`](https://github.com/nodejs/node/commit/ac58c829a1)] - **node-api**: add property keys benchmark (Chengzhong Wu) [#54012](https://github.com/nodejs/node/pull/54012)
|
|
231
|
+
* \[[`e6a4104bd1`](https://github.com/nodejs/node/commit/e6a4104bd1)] - **node-api**: rename nogc to basic (Gabriel Schulhof) [#53830](https://github.com/nodejs/node/pull/53830)
|
|
232
|
+
* \[[`57b8b8e18e`](https://github.com/nodejs/node/commit/57b8b8e18e)] - **(SEMVER-MINOR)** **path**: add `matchesGlob` method (Aviv Keller) [#52881](https://github.com/nodejs/node/pull/52881)
|
|
233
|
+
* \[[`bf6aa53299`](https://github.com/nodejs/node/commit/bf6aa53299)] - **process**: unify experimental warning messages (Aviv Keller) [#53704](https://github.com/nodejs/node/pull/53704)
|
|
234
|
+
* \[[`2a3ae16e62`](https://github.com/nodejs/node/commit/2a3ae16e62)] - **src**: expose LookupAndCompile with parameters (Shelley Vohr) [#53886](https://github.com/nodejs/node/pull/53886)
|
|
235
|
+
* \[[`0109f9c961`](https://github.com/nodejs/node/commit/0109f9c961)] - **src**: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) [#53890](https://github.com/nodejs/node/pull/53890)
|
|
236
|
+
* \[[`6bafe8a457`](https://github.com/nodejs/node/commit/6bafe8a457)] - **src**: fix -Wshadow warning (Shelley Vohr) [#53885](https://github.com/nodejs/node/pull/53885)
|
|
237
|
+
* \[[`4c36d6c47a`](https://github.com/nodejs/node/commit/4c36d6c47a)] - **src**: fix slice of slice of file-backed Blob (Josh Lee) [#53972](https://github.com/nodejs/node/pull/53972)
|
|
238
|
+
* \[[`848c2d59fb`](https://github.com/nodejs/node/commit/848c2d59fb)] - **src**: cache invariant code motion (Rafael Gonzaga) [#53879](https://github.com/nodejs/node/pull/53879)
|
|
239
|
+
* \[[`acaf5dd1cd`](https://github.com/nodejs/node/commit/acaf5dd1cd)] - **src**: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) [#53813](https://github.com/nodejs/node/pull/53813)
|
|
240
|
+
* \[[`b71250aaf9`](https://github.com/nodejs/node/commit/b71250aaf9)] - **src**: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) [#53869](https://github.com/nodejs/node/pull/53869)
|
|
241
|
+
* \[[`aff9a5339a`](https://github.com/nodejs/node/commit/aff9a5339a)] - **src**: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) [#53786](https://github.com/nodejs/node/pull/53786)
|
|
242
|
+
* \[[`e352a4ef27`](https://github.com/nodejs/node/commit/e352a4ef27)] - **src**: update outdated references to spec sections (Tobias Nießen) [#53832](https://github.com/nodejs/node/pull/53832)
|
|
243
|
+
* \[[`1a4da22a60`](https://github.com/nodejs/node/commit/1a4da22a60)] - **src**: use Maybe\<void> in ManagedEVPPKey (Tobias Nießen) [#53811](https://github.com/nodejs/node/pull/53811)
|
|
244
|
+
* \[[`0c24b91bd2`](https://github.com/nodejs/node/commit/0c24b91bd2)] - **src**: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) [#53767](https://github.com/nodejs/node/pull/53767)
|
|
245
|
+
* \[[`81cd84c716`](https://github.com/nodejs/node/commit/81cd84c716)] - **src**: use Maybe\<void> in node::crypto::error (Tobias Nießen) [#53766](https://github.com/nodejs/node/pull/53766)
|
|
246
|
+
* \[[`8135f3616d`](https://github.com/nodejs/node/commit/8135f3616d)] - **src**: fix typo in node.h (Daeyeon Jeong) [#53759](https://github.com/nodejs/node/pull/53759)
|
|
247
|
+
* \[[`e6d735a997`](https://github.com/nodejs/node/commit/e6d735a997)] - **src**: document the Node.js context embedder data (Joyee Cheung) [#53611](https://github.com/nodejs/node/pull/53611)
|
|
248
|
+
* \[[`584beaa2ed`](https://github.com/nodejs/node/commit/584beaa2ed)] - **src**: zero-initialize data that are copied into the snapshot (Joyee Cheung) [#53563](https://github.com/nodejs/node/pull/53563)
|
|
249
|
+
* \[[`ef5dabd8c6`](https://github.com/nodejs/node/commit/ef5dabd8c6)] - **src**: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) [#53724](https://github.com/nodejs/node/pull/53724)
|
|
250
|
+
* \[[`62f4f6f48e`](https://github.com/nodejs/node/commit/62f4f6f48e)] - **src**: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) [#52910](https://github.com/nodejs/node/pull/52910)
|
|
251
|
+
* \[[`a6dd8643fa`](https://github.com/nodejs/node/commit/a6dd8643fa)] - **src**: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) [#52451](https://github.com/nodejs/node/pull/52451)
|
|
252
|
+
* \[[`31fdb881cf`](https://github.com/nodejs/node/commit/31fdb881cf)] - **src,lib**: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) [#53602](https://github.com/nodejs/node/pull/53602)
|
|
253
|
+
* \[[`2eea8502e1`](https://github.com/nodejs/node/commit/2eea8502e1)] - **src,test**: further cleanup references to osx (Daniel Bayley) [#53820](https://github.com/nodejs/node/pull/53820)
|
|
254
|
+
* \[[`7c21bb99a5`](https://github.com/nodejs/node/commit/7c21bb99a5)] - **(SEMVER-MINOR)** **stream**: expose DuplexPair API (Austin Wright) [#34111](https://github.com/nodejs/node/pull/34111)
|
|
255
|
+
* \[[`56299f7309`](https://github.com/nodejs/node/commit/56299f7309)] - **stream**: improve inspector ergonomics (Benjamin Gruenbaum) [#53800](https://github.com/nodejs/node/pull/53800)
|
|
256
|
+
* \[[`9b82b15230`](https://github.com/nodejs/node/commit/9b82b15230)] - **stream**: update ongoing promise in async iterator return() method (Mattias Buelens) [#52657](https://github.com/nodejs/node/pull/52657)
|
|
257
|
+
* \[[`4a3ecbfc9b`](https://github.com/nodejs/node/commit/4a3ecbfc9b)] - **(SEMVER-MINOR)** **stream**: implement `min` option for `ReadableStreamBYOBReader.read` (Mattias Buelens) [#50888](https://github.com/nodejs/node/pull/50888)
|
|
258
|
+
* \[[`bd996bf694`](https://github.com/nodejs/node/commit/bd996bf694)] - **test**: do not swallow uncaughtException errors in exit code tests (Meghan Denny) [#54039](https://github.com/nodejs/node/pull/54039)
|
|
259
|
+
* \[[`77761af077`](https://github.com/nodejs/node/commit/77761af077)] - **test**: move shared module to `test/common` (Rich Trott) [#54042](https://github.com/nodejs/node/pull/54042)
|
|
260
|
+
* \[[`bec88ce138`](https://github.com/nodejs/node/commit/bec88ce138)] - **test**: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) [#53996](https://github.com/nodejs/node/pull/53996)
|
|
261
|
+
* \[[`9a98ad47cd`](https://github.com/nodejs/node/commit/9a98ad47cd)] - **test**: remove unnecessary console log (KAYYY) [#53812](https://github.com/nodejs/node/pull/53812)
|
|
262
|
+
* \[[`364d09cf0a`](https://github.com/nodejs/node/commit/364d09cf0a)] - **test**: add comments and rename test for timer robustness (Rich Trott) [#54008](https://github.com/nodejs/node/pull/54008)
|
|
263
|
+
* \[[`5c5093dc0a`](https://github.com/nodejs/node/commit/5c5093dc0a)] - **test**: add test for one arg timers to increase coverage (Carlos Espa) [#54007](https://github.com/nodejs/node/pull/54007)
|
|
264
|
+
* \[[`43ede1ae0b`](https://github.com/nodejs/node/commit/43ede1ae0b)] - **test**: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) [#54031](https://github.com/nodejs/node/pull/54031)
|
|
265
|
+
* \[[`0ad783cb42`](https://github.com/nodejs/node/commit/0ad783cb42)] - **test**: mark test-pipe-file-to-http as flaky (jakecastelli) [#53751](https://github.com/nodejs/node/pull/53751)
|
|
266
|
+
* \[[`f2b4fd3544`](https://github.com/nodejs/node/commit/f2b4fd3544)] - **test**: compare paths on Windows without considering case (Early Riser) [#53993](https://github.com/nodejs/node/pull/53993)
|
|
267
|
+
* \[[`2e69e5f4d2`](https://github.com/nodejs/node/commit/2e69e5f4d2)] - **test**: skip sea tests in large debug builds (Chengzhong Wu) [#53918](https://github.com/nodejs/node/pull/53918)
|
|
268
|
+
* \[[`56c26fe6e5`](https://github.com/nodejs/node/commit/56c26fe6e5)] - **test**: skip --title check on IBM i (Abdirahim Musse) [#53952](https://github.com/nodejs/node/pull/53952)
|
|
269
|
+
* \[[`6d0b8ded00`](https://github.com/nodejs/node/commit/6d0b8ded00)] - **test**: reduce flakiness of `test-assert-esm-cjs-message-verify` (Antoine du Hamel) [#53967](https://github.com/nodejs/node/pull/53967)
|
|
270
|
+
* \[[`edb75aebd7`](https://github.com/nodejs/node/commit/edb75aebd7)] - **test**: use `PYTHON` executable from env in `assertSnapshot` (Antoine du Hamel) [#53938](https://github.com/nodejs/node/pull/53938)
|
|
271
|
+
* \[[`be94e470a6`](https://github.com/nodejs/node/commit/be94e470a6)] - **test**: deflake test-blob-file-backed (Luigi Pinca) [#53920](https://github.com/nodejs/node/pull/53920)
|
|
272
|
+
* \[[`c2b0dcd165`](https://github.com/nodejs/node/commit/c2b0dcd165)] - **test**: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) [#53692](https://github.com/nodejs/node/pull/53692)
|
|
273
|
+
* \[[`6dc18981ac`](https://github.com/nodejs/node/commit/6dc18981ac)] - **test**: use python3 instead of python in pummel test (Mathis Wiehl) [#53057](https://github.com/nodejs/node/pull/53057)
|
|
274
|
+
* \[[`662bf524e1`](https://github.com/nodejs/node/commit/662bf524e1)] - **test**: do not assume cwd in snapshot tests (Antoine du Hamel) [#53146](https://github.com/nodejs/node/pull/53146)
|
|
275
|
+
* \[[`a07526702a`](https://github.com/nodejs/node/commit/a07526702a)] - **test**: fix OpenSSL version checks (Richard Lau) [#53503](https://github.com/nodejs/node/pull/53503)
|
|
276
|
+
* \[[`2b70018d11`](https://github.com/nodejs/node/commit/2b70018d11)] - **test**: refactor, add assertion to http-request-end (jakecastelli) [#53411](https://github.com/nodejs/node/pull/53411)
|
|
277
|
+
* \[[`c0262c1561`](https://github.com/nodejs/node/commit/c0262c1561)] - **test\_runner**: switched to internal readline interface (Emil Tayeb) [#54000](https://github.com/nodejs/node/pull/54000)
|
|
278
|
+
* \[[`fb7342246c`](https://github.com/nodejs/node/commit/fb7342246c)] - **test\_runner**: do not throw on mocked clearTimeout() (Aksinya Bykova) [#54005](https://github.com/nodejs/node/pull/54005)
|
|
279
|
+
* \[[`367f9e77f3`](https://github.com/nodejs/node/commit/367f9e77f3)] - **test\_runner**: cleanup global event listeners after run (Eddie Abbondanzio) [#53878](https://github.com/nodejs/node/pull/53878)
|
|
280
|
+
* \[[`206c668ee7`](https://github.com/nodejs/node/commit/206c668ee7)] - **test\_runner**: remove plan option from run() (Colin Ihrig) [#53834](https://github.com/nodejs/node/pull/53834)
|
|
281
|
+
* \[[`8660d481e5`](https://github.com/nodejs/node/commit/8660d481e5)] - **tls**: add setKeyCert() to tls.Socket (Brian White) [#53636](https://github.com/nodejs/node/pull/53636)
|
|
282
|
+
* \[[`9c5beabd83`](https://github.com/nodejs/node/commit/9c5beabd83)] - **tools**: fix `SLACK_TITLE` in invalid commit workflow (Antoine du Hamel) [#53912](https://github.com/nodejs/node/pull/53912)
|
|
283
|
+
* \[[`4dedf2aead`](https://github.com/nodejs/node/commit/4dedf2aead)] - **tools**: update lint-md-dependencies (Node.js GitHub Bot) [#53840](https://github.com/nodejs/node/pull/53840)
|
|
284
|
+
* \[[`642d5c5d30`](https://github.com/nodejs/node/commit/642d5c5d30)] - **tools**: use v8\_features.json to populate config.gypi (Cheng) [#53749](https://github.com/nodejs/node/pull/53749)
|
|
285
|
+
* \[[`031206544d`](https://github.com/nodejs/node/commit/031206544d)] - **tools**: update lint-md-dependencies to unified\@11.0.5 (Node.js GitHub Bot) [#53555](https://github.com/nodejs/node/pull/53555)
|
|
286
|
+
* \[[`8404421ea6`](https://github.com/nodejs/node/commit/8404421ea6)] - **tools**: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) [#53544](https://github.com/nodejs/node/pull/53544)
|
|
287
|
+
* \[[`2d8490fed5`](https://github.com/nodejs/node/commit/2d8490fed5)] - **typings**: add `fs_dir` types (Yagiz Nizipli) [#53631](https://github.com/nodejs/node/pull/53631)
|
|
288
|
+
* \[[`325eae0b3f`](https://github.com/nodejs/node/commit/325eae0b3f)] - **url**: fix typo (KAYYY) [#53827](https://github.com/nodejs/node/pull/53827)
|
|
289
|
+
* \[[`7fc45f5e3f`](https://github.com/nodejs/node/commit/7fc45f5e3f)] - **url**: reduce unnecessary string copies (Yagiz Nizipli) [#53628](https://github.com/nodejs/node/pull/53628)
|
|
290
|
+
* \[[`1d961facf1`](https://github.com/nodejs/node/commit/1d961facf1)] - **url**: add missing documentation for `URL.parse()` (Yagiz Nizipli) [#53733](https://github.com/nodejs/node/pull/53733)
|
|
291
|
+
* \[[`ce877c6d0f`](https://github.com/nodejs/node/commit/ce877c6d0f)] - **util**: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) [#53089](https://github.com/nodejs/node/pull/53089)
|
|
292
|
+
* \[[`d6d04279ca`](https://github.com/nodejs/node/commit/d6d04279ca)] - **worker**: allow copied NODE\_OPTIONS in the env setting (Joyee Cheung) [#53596](https://github.com/nodejs/node/pull/53596)
|
|
293
|
+
|
|
294
|
+
<a id="20.16.0"></a>
|
|
295
|
+
|
|
296
|
+
## 2024-07-24, Version 20.16.0 'Iron' (LTS), @marco-ippolito
|
|
297
|
+
|
|
298
|
+
### process: add process.getBuiltinModule(id)
|
|
299
|
+
|
|
300
|
+
`process.getBuiltinModule(id)` provides a way to load built-in modules
|
|
301
|
+
in a globally available function. ES Modules that need to support
|
|
302
|
+
other environments can use it to conditionally load a Node.js built-in
|
|
303
|
+
when it is run in Node.js, without having to deal with the resolution
|
|
304
|
+
error that can be thrown by `import` in a non-Node.js environment or
|
|
305
|
+
having to use dynamic `import()` which either turns the module into
|
|
306
|
+
an asynchronous module, or turns a synchronous API into an asynchronous one.
|
|
307
|
+
|
|
308
|
+
```mjs
|
|
309
|
+
if (globalThis.process?.getBuiltinModule) {
|
|
310
|
+
// Run in Node.js, use the Node.js fs module.
|
|
311
|
+
const fs = globalThis.process.getBuiltinModule('fs');
|
|
312
|
+
// If `require()` is needed to load user-modules, use createRequire()
|
|
313
|
+
const module = globalThis.process.getBuiltinModule('module');
|
|
314
|
+
const require = module.createRequire(import.meta.url);
|
|
315
|
+
const foo = require('foo');
|
|
316
|
+
}
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
If `id` specifies a built-in module available in the current Node.js process,
|
|
320
|
+
`process.getBuiltinModule(id)` method returns the corresponding built-in
|
|
321
|
+
module. If `id` does not correspond to any built-in module, `undefined`
|
|
322
|
+
is returned.
|
|
323
|
+
|
|
324
|
+
`process.getBuiltinModule(id)` accepts built-in module IDs that are recognized
|
|
325
|
+
by `module.isBuiltin(id)`.
|
|
326
|
+
|
|
327
|
+
The references returned by `process.getBuiltinModule(id)` always point to
|
|
328
|
+
the built-in module corresponding to `id` even if users modify
|
|
329
|
+
`require.cache` so that `require(id)` returns something else.
|
|
330
|
+
|
|
331
|
+
Contributed by Joyee Cheung in [#52762](https://github.com/nodejs/node/pull/52762)
|
|
332
|
+
|
|
333
|
+
### doc: doc-only deprecate OpenSSL engine-based APIs
|
|
334
|
+
|
|
335
|
+
OpenSSL 3 deprecated support for custom engines with a recommendation to switch to its new provider model.
|
|
336
|
+
The `clientCertEngine` option for `https.request()`, `tls.createSecureContext()`, and `tls.createServer()`; the `privateKeyEngine` and `privateKeyIdentifier` for `tls.createSecureContext();` and `crypto.setEngine()` all depend on this functionality from OpenSSL.
|
|
337
|
+
|
|
338
|
+
Contributed by Richard Lau in [#53329](https://github.com/nodejs/node/pull/53329)
|
|
339
|
+
|
|
340
|
+
### inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth
|
|
341
|
+
|
|
342
|
+
`Debugger.setAsyncCallStackDepth` was previously calling the enable function by mistake. As a result, when profiling using Chrome DevTools, the async hooks won't be turned off properly after receiving `Debugger.setAsyncCallStackDepth` with depth 0.
|
|
343
|
+
|
|
344
|
+
Contributed by Joyee Cheung in [#53473](https://github.com/nodejs/node/pull/53473)
|
|
345
|
+
|
|
346
|
+
### Other Notable Changes
|
|
347
|
+
|
|
348
|
+
* \[[`09e2191432`](https://github.com/nodejs/node/commit/09e2191432)] - **(SEMVER-MINOR)** **buffer**: add .bytes() method to Blob (Matthew Aitken) [#53221](https://github.com/nodejs/node/pull/53221)
|
|
349
|
+
* \[[`394e00f41c`](https://github.com/nodejs/node/commit/394e00f41c)] - **(SEMVER-MINOR)** **doc**: add context.assert docs (Colin Ihrig) [#53169](https://github.com/nodejs/node/pull/53169)
|
|
350
|
+
* \[[`a8601efa5e`](https://github.com/nodejs/node/commit/a8601efa5e)] - **(SEMVER-MINOR)** **doc**: improve explanation about built-in modules (Joyee Cheung) [#52762](https://github.com/nodejs/node/pull/52762)
|
|
351
|
+
* \[[`5e76c258f7`](https://github.com/nodejs/node/commit/5e76c258f7)] - **doc**: add StefanStojanovic to collaborators (StefanStojanovic) [#53118](https://github.com/nodejs/node/pull/53118)
|
|
352
|
+
* \[[`5e694026f1`](https://github.com/nodejs/node/commit/5e694026f1)] - **doc**: add Marco Ippolito to TSC (Rafael Gonzaga) [#53008](https://github.com/nodejs/node/pull/53008)
|
|
353
|
+
* \[[`f3ba1eb72f`](https://github.com/nodejs/node/commit/f3ba1eb72f)] - **(SEMVER-MINOR)** **net**: add new net.server.listen tracing channel (Paolo Insogna) [#53136](https://github.com/nodejs/node/pull/53136)
|
|
354
|
+
* \[[`2bcce3255b`](https://github.com/nodejs/node/commit/2bcce3255b)] - **(SEMVER-MINOR)** **src,permission**: --allow-wasi & prevent WASI exec (Rafael Gonzaga) [#53124](https://github.com/nodejs/node/pull/53124)
|
|
355
|
+
* \[[`a03a4c7bdd`](https://github.com/nodejs/node/commit/a03a4c7bdd)] - **(SEMVER-MINOR)** **test\_runner**: add context.fullName (Colin Ihrig) [#53169](https://github.com/nodejs/node/pull/53169)
|
|
356
|
+
* \[[`69b828f5a5`](https://github.com/nodejs/node/commit/69b828f5a5)] - **(SEMVER-MINOR)** **util**: support `--no-` for argument with boolean type for parseArgs (Zhenwei Jin) [#53107](https://github.com/nodejs/node/pull/53107)
|
|
357
|
+
|
|
358
|
+
### Commits
|
|
359
|
+
|
|
360
|
+
* \[[`76fd0ea92e`](https://github.com/nodejs/node/commit/76fd0ea92e)] - **assert,util**: correct comparison when both contain same reference (Daniel Lemire) [#53431](https://github.com/nodejs/node/pull/53431)
|
|
361
|
+
* \[[`65308b6692`](https://github.com/nodejs/node/commit/65308b6692)] - **benchmark**: fix api restriction for the permission category (Ryan Tsien) [#51528](https://github.com/nodejs/node/pull/51528)
|
|
362
|
+
* \[[`1e2bc2c2d0`](https://github.com/nodejs/node/commit/1e2bc2c2d0)] - **benchmark**: fix napi/ref addon (Michaël Zasso) [#53233](https://github.com/nodejs/node/pull/53233)
|
|
363
|
+
* \[[`09e2191432`](https://github.com/nodejs/node/commit/09e2191432)] - **(SEMVER-MINOR)** **buffer**: add .bytes() method to Blob (Matthew Aitken) [#53221](https://github.com/nodejs/node/pull/53221)
|
|
364
|
+
* \[[`e1951a4804`](https://github.com/nodejs/node/commit/e1951a4804)] - **build**: fix spacing before NINJA\_ARGS (jakecastelli) [#53181](https://github.com/nodejs/node/pull/53181)
|
|
365
|
+
* \[[`76f3bb3460`](https://github.com/nodejs/node/commit/76f3bb3460)] - **build**: generate binlog in out directories (Chengzhong Wu) [#53325](https://github.com/nodejs/node/pull/53325)
|
|
366
|
+
* \[[`eded0c187b`](https://github.com/nodejs/node/commit/eded0c187b)] - **build**: support python 3.13 (Chengzhong Wu) [#53190](https://github.com/nodejs/node/pull/53190)
|
|
367
|
+
* \[[`1e57c67fdb`](https://github.com/nodejs/node/commit/1e57c67fdb)] - **build**: update ruff to v0.4.5 (Yagiz Nizipli) [#53180](https://github.com/nodejs/node/pull/53180)
|
|
368
|
+
* \[[`28e71ede63`](https://github.com/nodejs/node/commit/28e71ede63)] - **build**: add `--skip-tests` to `test-ci-js` target (Antoine du Hamel) [#53105](https://github.com/nodejs/node/pull/53105)
|
|
369
|
+
* \[[`bb06778a65`](https://github.com/nodejs/node/commit/bb06778a65)] - **build**: fix building embedtest in GN build (Cheng) [#53145](https://github.com/nodejs/node/pull/53145)
|
|
370
|
+
* \[[`117ff5f139`](https://github.com/nodejs/node/commit/117ff5f139)] - **build**: use broader detection for 'help' (Aviv Keller) [#53045](https://github.com/nodejs/node/pull/53045)
|
|
371
|
+
* \[[`9aa896e7f5`](https://github.com/nodejs/node/commit/9aa896e7f5)] - **build**: fix -j propagation to ninja (Tobias Nießen) [#53088](https://github.com/nodejs/node/pull/53088)
|
|
372
|
+
* \[[`acdbc78955`](https://github.com/nodejs/node/commit/acdbc78955)] - **build**: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) [#52882](https://github.com/nodejs/node/pull/52882)
|
|
373
|
+
* \[[`bf3d94478e`](https://github.com/nodejs/node/commit/bf3d94478e)] - **build**: fix `--enable-d8` builds (Richard Lau) [#53106](https://github.com/nodejs/node/pull/53106)
|
|
374
|
+
* \[[`99da7d7237`](https://github.com/nodejs/node/commit/99da7d7237)] - **build**: set "clang" in config.gypi in GN build (Cheng) [#53004](https://github.com/nodejs/node/pull/53004)
|
|
375
|
+
* \[[`9446278f03`](https://github.com/nodejs/node/commit/9446278f03)] - **crypto**: improve GetECGroupBits signature (Tobias Nießen) [#53364](https://github.com/nodejs/node/pull/53364)
|
|
376
|
+
* \[[`dc2a4af68d`](https://github.com/nodejs/node/commit/dc2a4af68d)] - **crypto**: fix propagation of "memory limit exceeded" (Tobias Nießen) [#53300](https://github.com/nodejs/node/pull/53300)
|
|
377
|
+
* \[[`c5174f5e60`](https://github.com/nodejs/node/commit/c5174f5e60)] - **deps**: update c-ares to v1.31.0 (Node.js GitHub Bot) [#53554](https://github.com/nodejs/node/pull/53554)
|
|
378
|
+
* \[[`28e932dc7a`](https://github.com/nodejs/node/commit/28e932dc7a)] - **deps**: update undici to 6.19.2 (Node.js GitHub Bot) [#53468](https://github.com/nodejs/node/pull/53468)
|
|
379
|
+
* \[[`e4f9c663c4`](https://github.com/nodejs/node/commit/e4f9c663c4)] - **deps**: update undici to 6.19.1 (Node.js GitHub Bot) [#53468](https://github.com/nodejs/node/pull/53468)
|
|
380
|
+
* \[[`171dc50fdc`](https://github.com/nodejs/node/commit/171dc50fdc)] - **deps**: update undici to 6.19.1 (Node.js GitHub Bot) [#53468](https://github.com/nodejs/node/pull/53468)
|
|
381
|
+
* \[[`6bb6a9100d`](https://github.com/nodejs/node/commit/6bb6a9100d)] - **deps**: update undici to 6.19.0 (Node.js GitHub Bot) [#53468](https://github.com/nodejs/node/pull/53468)
|
|
382
|
+
* \[[`815d71b4cd`](https://github.com/nodejs/node/commit/815d71b4cd)] - **deps**: update acorn-walk to 8.3.3 (Node.js GitHub Bot) [#53466](https://github.com/nodejs/node/pull/53466)
|
|
383
|
+
* \[[`8b5f1d765a`](https://github.com/nodejs/node/commit/8b5f1d765a)] - **deps**: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) [#53156](https://github.com/nodejs/node/pull/53156)
|
|
384
|
+
* \[[`fc73da6f50`](https://github.com/nodejs/node/commit/fc73da6f50)] - **deps**: update c-ares to v1.30.0 (Node.js GitHub Bot) [#53416](https://github.com/nodejs/node/pull/53416)
|
|
385
|
+
* \[[`a6b803abd6`](https://github.com/nodejs/node/commit/a6b803abd6)] - **deps**: update undici to 6.18.2 (Node.js GitHub Bot) [#53255](https://github.com/nodejs/node/pull/53255)
|
|
386
|
+
* \[[`0f235535bb`](https://github.com/nodejs/node/commit/0f235535bb)] - **deps**: update ada to 2.8.0 (Node.js GitHub Bot) [#53254](https://github.com/nodejs/node/pull/53254)
|
|
387
|
+
* \[[`63407269a8`](https://github.com/nodejs/node/commit/63407269a8)] - **deps**: update corepack to 0.28.2 (Node.js GitHub Bot) [#53253](https://github.com/nodejs/node/pull/53253)
|
|
388
|
+
* \[[`7a126e8773`](https://github.com/nodejs/node/commit/7a126e8773)] - **deps**: update c-ares to 1.29.0 (Node.js GitHub Bot) [#53155](https://github.com/nodejs/node/pull/53155)
|
|
389
|
+
* \[[`0c8fcceefa`](https://github.com/nodejs/node/commit/0c8fcceefa)] - **deps**: upgrade npm to 10.8.1 (npm team) [#53207](https://github.com/nodejs/node/pull/53207)
|
|
390
|
+
* \[[`23866979f2`](https://github.com/nodejs/node/commit/23866979f2)] - **deps**: update undici to 6.18.1 (Node.js GitHub Bot) [#53073](https://github.com/nodejs/node/pull/53073)
|
|
391
|
+
* \[[`4987a00142`](https://github.com/nodejs/node/commit/4987a00142)] - **deps**: update undici to 6.18.0 (Node.js GitHub Bot) [#53073](https://github.com/nodejs/node/pull/53073)
|
|
392
|
+
* \[[`af226d0d9c`](https://github.com/nodejs/node/commit/af226d0d9c)] - **deps**: update undici to 6.17.0 (Node.js GitHub Bot) [#53034](https://github.com/nodejs/node/pull/53034)
|
|
393
|
+
* \[[`c9c6bf8bfb`](https://github.com/nodejs/node/commit/c9c6bf8bfb)] - **deps**: update undici to 6.16.1 (Node.js GitHub Bot) [#52948](https://github.com/nodejs/node/pull/52948)
|
|
394
|
+
* \[[`b32b62d590`](https://github.com/nodejs/node/commit/b32b62d590)] - **deps**: update undici to 6.15.0 (Matthew Aitken) [#52763](https://github.com/nodejs/node/pull/52763)
|
|
395
|
+
* \[[`6e6641bea2`](https://github.com/nodejs/node/commit/6e6641bea2)] - **deps**: update googletest to 33af80a (Node.js GitHub Bot) [#53053](https://github.com/nodejs/node/pull/53053)
|
|
396
|
+
* \[[`aa96fbe03e`](https://github.com/nodejs/node/commit/aa96fbe03e)] - **deps**: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) [#53052](https://github.com/nodejs/node/pull/53052)
|
|
397
|
+
* \[[`ba3310ded5`](https://github.com/nodejs/node/commit/ba3310ded5)] - **deps**: upgrade npm to 10.8.0 (npm team) [#53014](https://github.com/nodejs/node/pull/53014)
|
|
398
|
+
* \[[`8537a2aecf`](https://github.com/nodejs/node/commit/8537a2aecf)] - **doc**: recommend not using libuv node-api function (Michael Dawson) [#53521](https://github.com/nodejs/node/pull/53521)
|
|
399
|
+
* \[[`c13600f0db`](https://github.com/nodejs/node/commit/c13600f0db)] - **doc**: add additional guidance for PRs to deps (Michael Dawson) [#53499](https://github.com/nodejs/node/pull/53499)
|
|
400
|
+
* \[[`7c3edd952e`](https://github.com/nodejs/node/commit/7c3edd952e)] - **doc**: only apply content-visibility on all.html (Filip Skokan) [#53510](https://github.com/nodejs/node/pull/53510)
|
|
401
|
+
* \[[`ac5be14ed8`](https://github.com/nodejs/node/commit/ac5be14ed8)] - **doc**: update the description of the return type for options.filter (Zhenwei Jin) [#52742](https://github.com/nodejs/node/pull/52742)
|
|
402
|
+
* \[[`cac300e351`](https://github.com/nodejs/node/commit/cac300e351)] - **doc**: remove first timer badge (Aviv Keller) [#53338](https://github.com/nodejs/node/pull/53338)
|
|
403
|
+
* \[[`feb61459fd`](https://github.com/nodejs/node/commit/feb61459fd)] - **doc**: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) [#52801](https://github.com/nodejs/node/pull/52801)
|
|
404
|
+
* \[[`9e0a6e938b`](https://github.com/nodejs/node/commit/9e0a6e938b)] - **doc**: add initial text for ambassadors program (Michael Dawson) [#52857](https://github.com/nodejs/node/pull/52857)
|
|
405
|
+
* \[[`55ac53cb0b`](https://github.com/nodejs/node/commit/55ac53cb0b)] - **doc**: define more cases for stream event emissions (Aviv Keller) [#53317](https://github.com/nodejs/node/pull/53317)
|
|
406
|
+
* \[[`7128e0f9c9`](https://github.com/nodejs/node/commit/7128e0f9c9)] - **doc**: remove mentions of policy model from security info (Aviv Keller) [#53249](https://github.com/nodejs/node/pull/53249)
|
|
407
|
+
* \[[`3e290433df`](https://github.com/nodejs/node/commit/3e290433df)] - **doc**: fix mistakes in the module `load` hook api (István Donkó) [#53349](https://github.com/nodejs/node/pull/53349)
|
|
408
|
+
* \[[`3445c08144`](https://github.com/nodejs/node/commit/3445c08144)] - **doc**: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) [#53329](https://github.com/nodejs/node/pull/53329)
|
|
409
|
+
* \[[`a3e8cda019`](https://github.com/nodejs/node/commit/a3e8cda019)] - **doc**: mark --heap-prof and related flags stable (Joyee Cheung) [#53343](https://github.com/nodejs/node/pull/53343)
|
|
410
|
+
* \[[`0b9daaae4d`](https://github.com/nodejs/node/commit/0b9daaae4d)] - **doc**: mark --cpu-prof and related flags stable (Joyee Cheung) [#53343](https://github.com/nodejs/node/pull/53343)
|
|
411
|
+
* \[[`daf91834f6`](https://github.com/nodejs/node/commit/daf91834f6)] - **doc**: remove IRC from man page (Tobias Nießen) [#53344](https://github.com/nodejs/node/pull/53344)
|
|
412
|
+
* \[[`4246c8fa31`](https://github.com/nodejs/node/commit/4246c8fa31)] - **doc**: fix broken link in `static-analysis.md` (Richard Lau) [#53345](https://github.com/nodejs/node/pull/53345)
|
|
413
|
+
* \[[`955b98a0e4`](https://github.com/nodejs/node/commit/955b98a0e4)] - **doc**: remove cases for keys not containing "\*" in PATTERN\_KEY\_COMPARE (Maarten Zuidhoorn) [#53215](https://github.com/nodejs/node/pull/53215)
|
|
414
|
+
* \[[`7832b1815f`](https://github.com/nodejs/node/commit/7832b1815f)] - **doc**: add err param to fs.cp callback (Feng Yu) [#53234](https://github.com/nodejs/node/pull/53234)
|
|
415
|
+
* \[[`01533df87f`](https://github.com/nodejs/node/commit/01533df87f)] - **doc**: add `err` param to fs.copyFile callback (Feng Yu) [#53234](https://github.com/nodejs/node/pull/53234)
|
|
416
|
+
* \[[`b081bc7d5e`](https://github.com/nodejs/node/commit/b081bc7d5e)] - **doc**: reserve 128 for Electron 32 (Keeley Hammond) [#53203](https://github.com/nodejs/node/pull/53203)
|
|
417
|
+
* \[[`6b8460b560`](https://github.com/nodejs/node/commit/6b8460b560)] - **doc**: add note to ninjia build for macOS using -jn flag (jakecastelli) [#53187](https://github.com/nodejs/node/pull/53187)
|
|
418
|
+
* \[[`394e00f41c`](https://github.com/nodejs/node/commit/394e00f41c)] - **(SEMVER-MINOR)** **doc**: add context.assert docs (Colin Ihrig) [#53169](https://github.com/nodejs/node/pull/53169)
|
|
419
|
+
* \[[`c143d61d0e`](https://github.com/nodejs/node/commit/c143d61d0e)] - **doc**: include ESM import for HTTP (Aviv Keller) [#53165](https://github.com/nodejs/node/pull/53165)
|
|
420
|
+
* \[[`a8601efa5e`](https://github.com/nodejs/node/commit/a8601efa5e)] - **(SEMVER-MINOR)** **doc**: improve explanation about built-in modules (Joyee Cheung) [#52762](https://github.com/nodejs/node/pull/52762)
|
|
421
|
+
* \[[`560392de3d`](https://github.com/nodejs/node/commit/560392de3d)] - **doc**: fix minor grammar and style issues in SECURITY.md (Rich Trott) [#53168](https://github.com/nodejs/node/pull/53168)
|
|
422
|
+
* \[[`9f8e34323d`](https://github.com/nodejs/node/commit/9f8e34323d)] - **doc**: mention pm is not enforced when using fd (Rafael Gonzaga) [#53125](https://github.com/nodejs/node/pull/53125)
|
|
423
|
+
* \[[`3ac775b015`](https://github.com/nodejs/node/commit/3ac775b015)] - **doc**: fix format in `esm.md` (Pop Moore) [#53170](https://github.com/nodejs/node/pull/53170)
|
|
424
|
+
* \[[`41b08bdcf7`](https://github.com/nodejs/node/commit/41b08bdcf7)] - **doc**: fix wrong variable name in example of `timers.tick()` (Deokjin Kim) [#53147](https://github.com/nodejs/node/pull/53147)
|
|
425
|
+
* \[[`698ea7aa5a`](https://github.com/nodejs/node/commit/698ea7aa5a)] - **doc**: fix wrong function name in example of `context.plan()` (Deokjin Kim) [#53140](https://github.com/nodejs/node/pull/53140)
|
|
426
|
+
* \[[`a99359d79d`](https://github.com/nodejs/node/commit/a99359d79d)] - **doc**: add note for windows users and symlinks (Aviv Keller) [#53117](https://github.com/nodejs/node/pull/53117)
|
|
427
|
+
* \[[`61ec2af292`](https://github.com/nodejs/node/commit/61ec2af292)] - **doc**: move all TLS-PSK documentation to its section (Alba Mendez) [#35717](https://github.com/nodejs/node/pull/35717)
|
|
428
|
+
* \[[`5e76c258f7`](https://github.com/nodejs/node/commit/5e76c258f7)] - **doc**: add StefanStojanovic to collaborators (StefanStojanovic) [#53118](https://github.com/nodejs/node/pull/53118)
|
|
429
|
+
* \[[`1dc406ba62`](https://github.com/nodejs/node/commit/1dc406ba62)] - **doc**: improve ninja build for --built-in-modules-path (jakecastelli) [#53007](https://github.com/nodejs/node/pull/53007)
|
|
430
|
+
* \[[`2854585662`](https://github.com/nodejs/node/commit/2854585662)] - **doc**: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) [#45131](https://github.com/nodejs/node/pull/45131)
|
|
431
|
+
* \[[`3f432f829f`](https://github.com/nodejs/node/commit/3f432f829f)] - **doc**: remove unavailable youtube link in pull requests (Deokjin Kim) [#52982](https://github.com/nodejs/node/pull/52982)
|
|
432
|
+
* \[[`5e694026f1`](https://github.com/nodejs/node/commit/5e694026f1)] - **doc**: add Marco Ippolito to TSC (Rafael Gonzaga) [#53008](https://github.com/nodejs/node/pull/53008)
|
|
433
|
+
* \[[`231e44043e`](https://github.com/nodejs/node/commit/231e44043e)] - **doc**: add missing supported timer values in `timers.enable()` (Deokjin Kim) [#52969](https://github.com/nodejs/node/pull/52969)
|
|
434
|
+
* \[[`b8944f6938`](https://github.com/nodejs/node/commit/b8944f6938)] - **doc, http**: add `rejectNonStandardBodyWrites` option, clear its behaviour (jakecastelli) [#53396](https://github.com/nodejs/node/pull/53396)
|
|
435
|
+
* \[[`0354584738`](https://github.com/nodejs/node/commit/0354584738)] - **doc, meta**: organize contributing to Node-API guide (Aviv Keller) [#53243](https://github.com/nodejs/node/pull/53243)
|
|
436
|
+
* \[[`9ae3719c4e`](https://github.com/nodejs/node/commit/9ae3719c4e)] - **doc, meta**: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) [#53235](https://github.com/nodejs/node/pull/53235)
|
|
437
|
+
* \[[`621e073c96`](https://github.com/nodejs/node/commit/621e073c96)] - **fs**: do not crash if the watched file is removed while setting up watch (Matteo Collina) [#53452](https://github.com/nodejs/node/pull/53452)
|
|
438
|
+
* \[[`f00ee1c377`](https://github.com/nodejs/node/commit/f00ee1c377)] - **fs**: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) [#53150](https://github.com/nodejs/node/pull/53150)
|
|
439
|
+
* \[[`655b960418`](https://github.com/nodejs/node/commit/655b960418)] - **http2**: reject failed http2.connect when used with promisify (ehsankhfr) [#53475](https://github.com/nodejs/node/pull/53475)
|
|
440
|
+
* \[[`eb0b68bb29`](https://github.com/nodejs/node/commit/eb0b68bb29)] - **inspector**: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) [#53473](https://github.com/nodejs/node/pull/53473)
|
|
441
|
+
* \[[`1c0b89be4c`](https://github.com/nodejs/node/commit/1c0b89be4c)] - **lib**: fix typo in comment (codediverdev) [#53543](https://github.com/nodejs/node/pull/53543)
|
|
442
|
+
* \[[`55922d9cb0`](https://github.com/nodejs/node/commit/55922d9cb0)] - **lib**: remove the unused code (theanarkh) [#53463](https://github.com/nodejs/node/pull/53463)
|
|
443
|
+
* \[[`06374ef96b`](https://github.com/nodejs/node/commit/06374ef96b)] - **lib**: fix naming convention of `Symbol` (Deokjin Kim) [#53387](https://github.com/nodejs/node/pull/53387)
|
|
444
|
+
* \[[`d1a780039a`](https://github.com/nodejs/node/commit/d1a780039a)] - **lib**: fix timer leak (theanarkh) [#53337](https://github.com/nodejs/node/pull/53337)
|
|
445
|
+
* \[[`8689ce4b41`](https://github.com/nodejs/node/commit/8689ce4b41)] - **lib**: fix misleading argument of validateUint32 (Tobias Nießen) [#53307](https://github.com/nodejs/node/pull/53307)
|
|
446
|
+
* \[[`57d7bbf624`](https://github.com/nodejs/node/commit/57d7bbf624)] - **lib**: fix the name of the fetch global function (Gabriel Bota) [#53227](https://github.com/nodejs/node/pull/53227)
|
|
447
|
+
* \[[`23f086c363`](https://github.com/nodejs/node/commit/23f086c363)] - **lib**: do not call callback if socket is closed (theanarkh) [#52829](https://github.com/nodejs/node/pull/52829)
|
|
448
|
+
* \[[`f325c54c80`](https://github.com/nodejs/node/commit/f325c54c80)] - **meta**: use correct source for workflow in PR (Aviv Keller) [#53490](https://github.com/nodejs/node/pull/53490)
|
|
449
|
+
* \[[`8172412dbe`](https://github.com/nodejs/node/commit/8172412dbe)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#53480](https://github.com/nodejs/node/pull/53480)
|
|
450
|
+
* \[[`01b61d65d3`](https://github.com/nodejs/node/commit/01b61d65d3)] - **meta**: fix typo in dependency updates (Aviv Keller) [#53471](https://github.com/nodejs/node/pull/53471)
|
|
451
|
+
* \[[`12f5737cd3`](https://github.com/nodejs/node/commit/12f5737cd3)] - **meta**: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot\[bot]) [#53245](https://github.com/nodejs/node/pull/53245)
|
|
452
|
+
* \[[`102e4eee3c`](https://github.com/nodejs/node/commit/102e4eee3c)] - **meta**: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot\[bot]) [#53248](https://github.com/nodejs/node/pull/53248)
|
|
453
|
+
* \[[`5ba185580d`](https://github.com/nodejs/node/commit/5ba185580d)] - **meta**: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot\[bot]) [#53247](https://github.com/nodejs/node/pull/53247)
|
|
454
|
+
* \[[`9d186cce2b`](https://github.com/nodejs/node/commit/9d186cce2b)] - **meta**: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot\[bot]) [#53246](https://github.com/nodejs/node/pull/53246)
|
|
455
|
+
* \[[`29ab74009e`](https://github.com/nodejs/node/commit/29ab74009e)] - **meta**: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot\[bot]) [#53244](https://github.com/nodejs/node/pull/53244)
|
|
456
|
+
* \[[`bd4b593f30`](https://github.com/nodejs/node/commit/bd4b593f30)] - **meta**: remove `initializeCommand` from devcontainer (Aviv Keller) [#53137](https://github.com/nodejs/node/pull/53137)
|
|
457
|
+
* \[[`61b1f573cf`](https://github.com/nodejs/node/commit/61b1f573cf)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#53065](https://github.com/nodejs/node/pull/53065)
|
|
458
|
+
* \[[`f3ba1eb72f`](https://github.com/nodejs/node/commit/f3ba1eb72f)] - **(SEMVER-MINOR)** **net**: add new net.server.listen tracing channel (Paolo Insogna) [#53136](https://github.com/nodejs/node/pull/53136)
|
|
459
|
+
* \[[`67333a5796`](https://github.com/nodejs/node/commit/67333a5796)] - **(SEMVER-MINOR)** **process**: add process.getBuiltinModule(id) (Joyee Cheung) [#52762](https://github.com/nodejs/node/pull/52762)
|
|
460
|
+
* \[[`092aa09eb3`](https://github.com/nodejs/node/commit/092aa09eb3)] - **repl**: fix await object patterns without values (Luke Haas) [#53331](https://github.com/nodejs/node/pull/53331)
|
|
461
|
+
* \[[`554d25f526`](https://github.com/nodejs/node/commit/554d25f526)] - **src**: reset `process.versions` during pre-execution (Richard Lau) [#53444](https://github.com/nodejs/node/pull/53444)
|
|
462
|
+
* \[[`a0879ad628`](https://github.com/nodejs/node/commit/a0879ad628)] - **src**: fix dynamically linked OpenSSL version (Richard Lau) [#53456](https://github.com/nodejs/node/pull/53456)
|
|
463
|
+
* \[[`91c05f34de`](https://github.com/nodejs/node/commit/91c05f34de)] - **src**: remove `SetEncoding` from StringEncoder (Yagiz Nizipli) [#53441](https://github.com/nodejs/node/pull/53441)
|
|
464
|
+
* \[[`4f49384be5`](https://github.com/nodejs/node/commit/4f49384be5)] - **src**: fix typo in env.cc (EhsanKhaki) [#53418](https://github.com/nodejs/node/pull/53418)
|
|
465
|
+
* \[[`9730d1e186`](https://github.com/nodejs/node/commit/9730d1e186)] - **src**: avoid strcmp in favor of operator== (Tobias Nießen) [#53439](https://github.com/nodejs/node/pull/53439)
|
|
466
|
+
* \[[`436ad8ceb9`](https://github.com/nodejs/node/commit/436ad8ceb9)] - **src**: print v8::OOMDetails::detail when it's available (Joyee Cheung) [#53360](https://github.com/nodejs/node/pull/53360)
|
|
467
|
+
* \[[`f773b289eb`](https://github.com/nodejs/node/commit/f773b289eb)] - **src**: fix IsIPAddress for IPv6 (Hüseyin Açacak) [#53400](https://github.com/nodejs/node/pull/53400)
|
|
468
|
+
* \[[`7705efd860`](https://github.com/nodejs/node/commit/7705efd860)] - **src**: fix permission inspector crash (theanarkh) [#53389](https://github.com/nodejs/node/pull/53389)
|
|
469
|
+
* \[[`260d8d9ae1`](https://github.com/nodejs/node/commit/260d8d9ae1)] - **src**: use \_\_FUNCSIG\_\_ on Windows in backtrace (Joyee Cheung) [#53135](https://github.com/nodejs/node/pull/53135)
|
|
470
|
+
* \[[`3b79e9c24e`](https://github.com/nodejs/node/commit/3b79e9c24e)] - **src**: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) [#52905](https://github.com/nodejs/node/pull/52905)
|
|
471
|
+
* \[[`32839c63cb`](https://github.com/nodejs/node/commit/32839c63cb)] - **src**: reduce unnecessary `GetCwd` calls (Yagiz Nizipli) [#53064](https://github.com/nodejs/node/pull/53064)
|
|
472
|
+
* \[[`840dd092ce`](https://github.com/nodejs/node/commit/840dd092ce)] - **src**: improve node::Dotenv declarations (Tobias Nießen) [#52973](https://github.com/nodejs/node/pull/52973)
|
|
473
|
+
* \[[`2bcce3255b`](https://github.com/nodejs/node/commit/2bcce3255b)] - **(SEMVER-MINOR)** **src,permission**: --allow-wasi & prevent WASI exec (Rafael Gonzaga) [#53124](https://github.com/nodejs/node/pull/53124)
|
|
474
|
+
* \[[`e092c62a22`](https://github.com/nodejs/node/commit/e092c62a22)] - **stream**: update outdated highwatermark doc (Jay Kim) [#53494](https://github.com/nodejs/node/pull/53494)
|
|
475
|
+
* \[[`71af3e8172`](https://github.com/nodejs/node/commit/71af3e8172)] - **stream**: support dispose in writable (Benjamin Gruenbaum) [#48547](https://github.com/nodejs/node/pull/48547)
|
|
476
|
+
* \[[`33a15be32f`](https://github.com/nodejs/node/commit/33a15be32f)] - **stream**: callback should be called when pendingcb is 0 (jakecastelli) [#53438](https://github.com/nodejs/node/pull/53438)
|
|
477
|
+
* \[[`1b46ebbf69`](https://github.com/nodejs/node/commit/1b46ebbf69)] - **stream**: make sure \_destroy is called (jakecastelli) [#53213](https://github.com/nodejs/node/pull/53213)
|
|
478
|
+
* \[[`9f95d41947`](https://github.com/nodejs/node/commit/9f95d41947)] - **stream**: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) [#53261](https://github.com/nodejs/node/pull/53261)
|
|
479
|
+
* \[[`d02651c9d6`](https://github.com/nodejs/node/commit/d02651c9d6)] - **stream**: micro-optimize writable condition (Orgad Shaneh) [#53189](https://github.com/nodejs/node/pull/53189)
|
|
480
|
+
* \[[`324070c410`](https://github.com/nodejs/node/commit/324070c410)] - **stream**: fix memory usage regression in writable (Orgad Shaneh) [#53188](https://github.com/nodejs/node/pull/53188)
|
|
481
|
+
* \[[`48138afd35`](https://github.com/nodejs/node/commit/48138afd35)] - **stream**: fixes for webstreams (Mattias Buelens) [#51168](https://github.com/nodejs/node/pull/51168)
|
|
482
|
+
* \[[`24f078a22b`](https://github.com/nodejs/node/commit/24f078a22b)] - **test**: mark `test-benchmark-crypto` as flaky (Antoine du Hamel) [#52955](https://github.com/nodejs/node/pull/52955)
|
|
483
|
+
* \[[`0d69ce3474`](https://github.com/nodejs/node/commit/0d69ce3474)] - **test**: extend env for `test-node-output-errors` (Richard Lau) [#53535](https://github.com/nodejs/node/pull/53535)
|
|
484
|
+
* \[[`1aaaad8518`](https://github.com/nodejs/node/commit/1aaaad8518)] - **test**: update encoding web-platform tests (Yagiz Nizipli) [#53477](https://github.com/nodejs/node/pull/53477)
|
|
485
|
+
* \[[`54e0ba8771`](https://github.com/nodejs/node/commit/54e0ba8771)] - **test**: check against run-time OpenSSL version (Richard Lau) [#53456](https://github.com/nodejs/node/pull/53456)
|
|
486
|
+
* \[[`059e47c320`](https://github.com/nodejs/node/commit/059e47c320)] - **test**: update tests for OpenSSL 3.0.14 (Richard Lau) [#53373](https://github.com/nodejs/node/pull/53373)
|
|
487
|
+
* \[[`49e6f33021`](https://github.com/nodejs/node/commit/49e6f33021)] - **test**: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) [#53292](https://github.com/nodejs/node/pull/53292)
|
|
488
|
+
* \[[`292d13a289`](https://github.com/nodejs/node/commit/292d13a289)] - **test**: update TLS tests for OpenSSL 3.2 (Richard Lau) [#53384](https://github.com/nodejs/node/pull/53384)
|
|
489
|
+
* \[[`82017c90bb`](https://github.com/nodejs/node/commit/82017c90bb)] - **test**: fix test when compiled without engine support (Richard Lau) [#53232](https://github.com/nodejs/node/pull/53232)
|
|
490
|
+
* \[[`a54090b385`](https://github.com/nodejs/node/commit/a54090b385)] - **test**: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) [#53229](https://github.com/nodejs/node/pull/53229)
|
|
491
|
+
* \[[`3a1693421d`](https://github.com/nodejs/node/commit/3a1693421d)] - **test**: fix Windows native test suites (Stefan Stojanovic) [#53173](https://github.com/nodejs/node/pull/53173)
|
|
492
|
+
* \[[`2b07d01272`](https://github.com/nodejs/node/commit/2b07d01272)] - **test**: skip `test-setproctitle` when `ps` is not available (Antoine du Hamel) [#53104](https://github.com/nodejs/node/pull/53104)
|
|
493
|
+
* \[[`0051d1c83d`](https://github.com/nodejs/node/commit/0051d1c83d)] - **test**: increase allocation so it fails for the test (Adam Majer) [#53099](https://github.com/nodejs/node/pull/53099)
|
|
494
|
+
* \[[`048cbe3304`](https://github.com/nodejs/node/commit/048cbe3304)] - **test**: remove timers from test-tls-socket-close (Luigi Pinca) [#53019](https://github.com/nodejs/node/pull/53019)
|
|
495
|
+
* \[[`8653d9223e`](https://github.com/nodejs/node/commit/8653d9223e)] - **test**: replace `.substr` with `.slice` (Antoine du Hamel) [#53070](https://github.com/nodejs/node/pull/53070)
|
|
496
|
+
* \[[`d74bda4241`](https://github.com/nodejs/node/commit/d74bda4241)] - **test**: add AbortController to knownGlobals (Luigi Pinca) [#53020](https://github.com/nodejs/node/pull/53020)
|
|
497
|
+
* \[[`f29e1e9838`](https://github.com/nodejs/node/commit/f29e1e9838)] - **test**: skip unstable shadow realm gc tests (Chengzhong Wu) [#52855](https://github.com/nodejs/node/pull/52855)
|
|
498
|
+
* \[[`dfa498697e`](https://github.com/nodejs/node/commit/dfa498697e)] - **test,doc**: enable running embedtest for Windows (Vladimir Morozov) [#52646](https://github.com/nodejs/node/pull/52646)
|
|
499
|
+
* \[[`0381817f1d`](https://github.com/nodejs/node/commit/0381817f1d)] - **test\_runner**: calculate executed lines using source map (Moshe Atlow) [#53315](https://github.com/nodejs/node/pull/53315)
|
|
500
|
+
* \[[`9d3699b5b0`](https://github.com/nodejs/node/commit/9d3699b5b0)] - **test\_runner**: handle file rename and deletion under watch mode (jakecastelli) [#53114](https://github.com/nodejs/node/pull/53114)
|
|
501
|
+
* \[[`9a36258ca0`](https://github.com/nodejs/node/commit/9a36258ca0)] - **test\_runner**: refactor to use min/max of `validateInteger` (Deokjin Kim) [#53148](https://github.com/nodejs/node/pull/53148)
|
|
502
|
+
* \[[`a03a4c7bdd`](https://github.com/nodejs/node/commit/a03a4c7bdd)] - **(SEMVER-MINOR)** **test\_runner**: add context.fullName (Colin Ihrig) [#53169](https://github.com/nodejs/node/pull/53169)
|
|
503
|
+
* \[[`a72157077a`](https://github.com/nodejs/node/commit/a72157077a)] - **test\_runner**: fix t.assert methods (Colin Ihrig) [#53049](https://github.com/nodejs/node/pull/53049)
|
|
504
|
+
* \[[`ba764db9ab`](https://github.com/nodejs/node/commit/ba764db9ab)] - **test\_runner**: avoid error when coverage line not found (Moshe Atlow) [#53000](https://github.com/nodejs/node/pull/53000)
|
|
505
|
+
* \[[`3a4a0ebd06`](https://github.com/nodejs/node/commit/3a4a0ebd06)] - **test\_runner,doc**: align documentation with actual stdout/stderr behavior (Moshe Atlow) [#53131](https://github.com/nodejs/node/pull/53131)
|
|
506
|
+
* \[[`6e6646bdd5`](https://github.com/nodejs/node/commit/6e6646bdd5)] - **tls**: check result of SSL\_CTX\_set\_\*\_proto\_version (Tobias Nießen) [#53459](https://github.com/nodejs/node/pull/53459)
|
|
507
|
+
* \[[`2aceed4297`](https://github.com/nodejs/node/commit/2aceed4297)] - **tls**: avoid taking ownership of OpenSSL objects (Tobias Nießen) [#53436](https://github.com/nodejs/node/pull/53436)
|
|
508
|
+
* \[[`faa5cac18c`](https://github.com/nodejs/node/commit/faa5cac18c)] - **tls**: use SSL\_get\_peer\_tmp\_key (Tobias Nießen) [#53366](https://github.com/nodejs/node/pull/53366)
|
|
509
|
+
* \[[`68fcbb635e`](https://github.com/nodejs/node/commit/68fcbb635e)] - **tls**: fix negative sessionTimeout handling (Tobias Nießen) [#53002](https://github.com/nodejs/node/pull/53002)
|
|
510
|
+
* \[[`61a1c43ef1`](https://github.com/nodejs/node/commit/61a1c43ef1)] - **tools**: fix skip detection of test runner output (Richard Lau) [#53545](https://github.com/nodejs/node/pull/53545)
|
|
511
|
+
* \[[`53a7b6e1c0`](https://github.com/nodejs/node/commit/53a7b6e1c0)] - **tools**: fix c-ares update script (Marco Ippolito) [#53414](https://github.com/nodejs/node/pull/53414)
|
|
512
|
+
* \[[`3bd5f46a15`](https://github.com/nodejs/node/commit/3bd5f46a15)] - **tools**: update lint-md-dependencies (Node.js GitHub Bot) [#53158](https://github.com/nodejs/node/pull/53158)
|
|
513
|
+
* \[[`daab9e170f`](https://github.com/nodejs/node/commit/daab9e170f)] - **tools**: do not run Corepack code before it's reviewed (Antoine du Hamel) [#53405](https://github.com/nodejs/node/pull/53405)
|
|
514
|
+
* \[[`d18a67f937`](https://github.com/nodejs/node/commit/d18a67f937)] - **tools**: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) [#53212](https://github.com/nodejs/node/pull/53212)
|
|
515
|
+
* \[[`e9b7a52848`](https://github.com/nodejs/node/commit/e9b7a52848)] - **tools**: add stream label on PR when related files being changed in lib (jakecastelli) [#53269](https://github.com/nodejs/node/pull/53269)
|
|
516
|
+
* \[[`04d78dd56d`](https://github.com/nodejs/node/commit/04d78dd56d)] - **tools**: remove no-goma arg from make-v8 script (Michaël Zasso) [#53336](https://github.com/nodejs/node/pull/53336)
|
|
517
|
+
* \[[`37e725a500`](https://github.com/nodejs/node/commit/37e725a500)] - **tools**: use sccache Github action (Moshe Atlow) [#53316](https://github.com/nodejs/node/pull/53316)
|
|
518
|
+
* \[[`2a1fde7e32`](https://github.com/nodejs/node/commit/2a1fde7e32)] - **tools**: update error message for Type Error (Aviv Keller) [#53047](https://github.com/nodejs/node/pull/53047)
|
|
519
|
+
* \[[`8f5fb4192d`](https://github.com/nodejs/node/commit/8f5fb4192d)] - _**Revert**_ "**tools**: add --certify-safe to nci-ci" (Antoine du Hamel) [#53098](https://github.com/nodejs/node/pull/53098)
|
|
520
|
+
* \[[`69b828f5a5`](https://github.com/nodejs/node/commit/69b828f5a5)] - **(SEMVER-MINOR)** **util**: support `--no-` for argument with boolean type for parseArgs (Zhenwei Jin) [#53107](https://github.com/nodejs/node/pull/53107)
|
|
521
|
+
* \[[`1a2f3ab4f5`](https://github.com/nodejs/node/commit/1a2f3ab4f5)] - **watch**: fix variable naming (jakecastelli) [#53101](https://github.com/nodejs/node/pull/53101)
|
|
522
|
+
|
|
65
523
|
<a id="20.15.1"></a>
|
|
66
524
|
|
|
67
525
|
## 2024-07-08, Version 20.15.1 'Iron' (LTS), @RafaelGSS
|
package/LICENSE
CHANGED
|
@@ -1989,39 +1989,6 @@ The externally maintained libraries used by Node.js are:
|
|
|
1989
1989
|
THE POSSIBILITY OF SUCH DAMAGE.
|
|
1990
1990
|
"""
|
|
1991
1991
|
|
|
1992
|
-
- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows:
|
|
1993
|
-
"""
|
|
1994
|
-
BSD 3-Clause License
|
|
1995
|
-
|
|
1996
|
-
Copyright (c) 2006, Ivan Sagalaev.
|
|
1997
|
-
All rights reserved.
|
|
1998
|
-
|
|
1999
|
-
Redistribution and use in source and binary forms, with or without
|
|
2000
|
-
modification, are permitted provided that the following conditions are met:
|
|
2001
|
-
|
|
2002
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
2003
|
-
list of conditions and the following disclaimer.
|
|
2004
|
-
|
|
2005
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
|
2006
|
-
this list of conditions and the following disclaimer in the documentation
|
|
2007
|
-
and/or other materials provided with the distribution.
|
|
2008
|
-
|
|
2009
|
-
* Neither the name of the copyright holder nor the names of its
|
|
2010
|
-
contributors may be used to endorse or promote products derived from
|
|
2011
|
-
this software without specific prior written permission.
|
|
2012
|
-
|
|
2013
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
2014
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
2015
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
2016
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
2017
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
2018
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
2019
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
2020
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
2021
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
2022
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2023
|
-
"""
|
|
2024
|
-
|
|
2025
1992
|
- node-heapdump, located at src/heap_utils.cc, is licensed as follows:
|
|
2026
1993
|
"""
|
|
2027
1994
|
ISC License
|
package/README.md
CHANGED
|
@@ -164,14 +164,12 @@ For information about the governance of the Node.js project, see
|
|
|
164
164
|
|
|
165
165
|
* [aduh95](https://github.com/aduh95) -
|
|
166
166
|
**Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
|
|
167
|
-
* [
|
|
168
|
-
**
|
|
167
|
+
* [anonrig](https://github.com/anonrig) -
|
|
168
|
+
**Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
|
|
169
169
|
* [benjamingr](https://github.com/benjamingr) -
|
|
170
170
|
**Benjamin Gruenbaum** <<benjamingr@gmail.com>>
|
|
171
171
|
* [BridgeAR](https://github.com/BridgeAR) -
|
|
172
172
|
**Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
|
|
173
|
-
* [GeoffreyBooth](https://github.com/geoffreybooth) -
|
|
174
|
-
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
|
|
175
173
|
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
|
176
174
|
**Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
|
|
177
175
|
* [jasnell](https://github.com/jasnell) -
|
|
@@ -180,6 +178,8 @@ For information about the governance of the Node.js project, see
|
|
|
180
178
|
**Joyee Cheung** <<joyeec9h3@gmail.com>> (she/her)
|
|
181
179
|
* [legendecas](https://github.com/legendecas) -
|
|
182
180
|
**Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
|
|
181
|
+
* [marco-ippolito](https://github.com/marco-ippolito) -
|
|
182
|
+
**Marco Ippolito** <<marcoippolito54@gmail.com>> (he/him)
|
|
183
183
|
* [mcollina](https://github.com/mcollina) -
|
|
184
184
|
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
|
|
185
185
|
* [mhdawson](https://github.com/mhdawson) -
|
|
@@ -203,8 +203,8 @@ For information about the governance of the Node.js project, see
|
|
|
203
203
|
|
|
204
204
|
#### TSC regular members
|
|
205
205
|
|
|
206
|
-
* [
|
|
207
|
-
**
|
|
206
|
+
* [apapirovski](https://github.com/apapirovski) -
|
|
207
|
+
**Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
|
|
208
208
|
* [BethGriggs](https://github.com/BethGriggs) -
|
|
209
209
|
**Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
|
|
210
210
|
* [bnoordhuis](https://github.com/bnoordhuis) -
|
|
@@ -213,10 +213,8 @@ For information about the governance of the Node.js project, see
|
|
|
213
213
|
**Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
|
|
214
214
|
* [codebytere](https://github.com/codebytere) -
|
|
215
215
|
**Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
|
|
216
|
-
* [
|
|
217
|
-
**
|
|
218
|
-
* [MylesBorins](https://github.com/MylesBorins) -
|
|
219
|
-
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
|
|
216
|
+
* [GeoffreyBooth](https://github.com/GeoffreyBooth) -
|
|
217
|
+
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
|
|
220
218
|
* [Trott](https://github.com/Trott) -
|
|
221
219
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
222
220
|
|
|
@@ -234,6 +232,8 @@ For information about the governance of the Node.js project, see
|
|
|
234
232
|
**Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
|
|
235
233
|
* [danbev](https://github.com/danbev) -
|
|
236
234
|
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
235
|
+
* [danielleadams](https://github.com/danielleadams) -
|
|
236
|
+
**Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
|
|
237
237
|
* [evanlucas](https://github.com/evanlucas) -
|
|
238
238
|
**Evan Lucas** <<evanlucas@me.com>> (he/him)
|
|
239
239
|
* [fhinkel](https://github.com/fhinkel) -
|
|
@@ -254,6 +254,8 @@ For information about the governance of the Node.js project, see
|
|
|
254
254
|
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
|
|
255
255
|
* [mscdex](https://github.com/mscdex) -
|
|
256
256
|
**Brian White** <<mscdex@mscdex.net>>
|
|
257
|
+
* [MylesBorins](https://github.com/MylesBorins) -
|
|
258
|
+
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
|
|
257
259
|
* [nebrius](https://github.com/nebrius) -
|
|
258
260
|
**Bryan Hughes** <<bryan@nebri.us>>
|
|
259
261
|
* [ofrobots](https://github.com/ofrobots) -
|
|
@@ -290,7 +292,7 @@ For information about the governance of the Node.js project, see
|
|
|
290
292
|
* [aduh95](https://github.com/aduh95) -
|
|
291
293
|
**Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
|
|
292
294
|
* [anonrig](https://github.com/anonrig) -
|
|
293
|
-
**Yagiz Nizipli** <<yagiz
|
|
295
|
+
**Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
|
|
294
296
|
* [apapirovski](https://github.com/apapirovski) -
|
|
295
297
|
**Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
|
|
296
298
|
* [atlowChemi](https://github.com/atlowChemi) -
|
|
@@ -327,7 +329,7 @@ For information about the governance of the Node.js project, see
|
|
|
327
329
|
**Deokjin Kim** <<deokjin81.kim@gmail.com>> (he/him)
|
|
328
330
|
* [edsadr](https://github.com/edsadr) -
|
|
329
331
|
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
|
|
330
|
-
* [
|
|
332
|
+
* [ErickWendel](https://github.com/ErickWendel) -
|
|
331
333
|
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
|
|
332
334
|
* [Ethan-Arrowood](https://github.com/Ethan-Arrowood) -
|
|
333
335
|
**Ethan Arrowood** <<ethan@arrowood.dev>> (he/him)
|
|
@@ -341,7 +343,7 @@ For information about the governance of the Node.js project, see
|
|
|
341
343
|
**Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
|
|
342
344
|
* [gengjiawen](https://github.com/gengjiawen) -
|
|
343
345
|
**Jiawen Geng** <<technicalcute@gmail.com>>
|
|
344
|
-
* [GeoffreyBooth](https://github.com/
|
|
346
|
+
* [GeoffreyBooth](https://github.com/GeoffreyBooth) -
|
|
345
347
|
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
|
|
346
348
|
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
|
347
349
|
**Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
|
|
@@ -353,6 +355,8 @@ For information about the governance of the Node.js project, see
|
|
|
353
355
|
**Harshitha K P** <<harshitha014@gmail.com>> (she/her)
|
|
354
356
|
* [himself65](https://github.com/himself65) -
|
|
355
357
|
**Zeyu "Alex" Yang** <<himself65@outlook.com>> (he/him)
|
|
358
|
+
* [jakecastelli](https://github.com/jakecastelli) -
|
|
359
|
+
**Jake Yuesong Li** <<jake.yuesong@gmail.com>> (he/him)
|
|
356
360
|
* [JakobJingleheimer](https://github.com/JakobJingleheimer) -
|
|
357
361
|
**Jacob Smith** <<jacob@frende.me>> (he/him)
|
|
358
362
|
* [jasnell](https://github.com/jasnell) -
|
|
@@ -377,7 +381,7 @@ For information about the governance of the Node.js project, see
|
|
|
377
381
|
**Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
|
|
378
382
|
* [lemire](https://github.com/lemire) -
|
|
379
383
|
**Daniel Lemire** <<daniel@lemire.me>>
|
|
380
|
-
* [
|
|
384
|
+
* [Linkgoron](https://github.com/Linkgoron) -
|
|
381
385
|
**Nitzan Uziely** <<linkgoron@gmail.com>>
|
|
382
386
|
* [LiviaMedeiros](https://github.com/LiviaMedeiros) -
|
|
383
387
|
**LiviaMedeiros** <<livia@cirno.name>>
|
|
@@ -391,12 +395,12 @@ For information about the governance of the Node.js project, see
|
|
|
391
395
|
**Marco Ippolito** <<marcoippolito54@gmail.com>> (he/him)
|
|
392
396
|
* [marsonya](https://github.com/marsonya) -
|
|
393
397
|
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
|
|
398
|
+
* [MattiasBuelens](https://github.com/MattiasBuelens) -
|
|
399
|
+
**Mattias Buelens** <<mattias@buelens.com>> (he/him)
|
|
394
400
|
* [mcollina](https://github.com/mcollina) -
|
|
395
401
|
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
|
|
396
402
|
* [meixg](https://github.com/meixg) -
|
|
397
403
|
**Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
|
|
398
|
-
* [Mesteery](https://github.com/Mesteery) -
|
|
399
|
-
**Mestery** <<mestery@protonmail.com>> (he/him)
|
|
400
404
|
* [mhdawson](https://github.com/mhdawson) -
|
|
401
405
|
**Michael Dawson** <<midawson@redhat.com>> (he/him)
|
|
402
406
|
* [mildsunrise](https://github.com/mildsunrise) -
|
|
@@ -405,8 +409,6 @@ For information about the governance of the Node.js project, see
|
|
|
405
409
|
**Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
|
|
406
410
|
* [MrJithil](https://github.com/MrJithil) -
|
|
407
411
|
**Jithil P Ponnan** <<jithil@outlook.com>> (he/him)
|
|
408
|
-
* [MylesBorins](https://github.com/MylesBorins) -
|
|
409
|
-
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
|
|
410
412
|
* [ovflowd](https://github.com/ovflowd) -
|
|
411
413
|
**Claudio Wunder** <<cwunder@gnome.org>> (he/they)
|
|
412
414
|
* [panva](https://github.com/panva) -
|
|
@@ -431,6 +433,8 @@ For information about the governance of the Node.js project, see
|
|
|
431
433
|
**Paolo Insogna** <<paolo@cowtech.it>> (he/him)
|
|
432
434
|
* [srl295](https://github.com/srl295) -
|
|
433
435
|
**Steven R Loomis** <<srl295@gmail.com>>
|
|
436
|
+
* [StefanStojanovic](https://github.com/StefanStojanovic) -
|
|
437
|
+
**Stefan Stojanovic** <<stefan.stojanovic@janeasystems.com>> (he/him)
|
|
434
438
|
* [sxa](https://github.com/sxa) -
|
|
435
439
|
**Stewart X Addison** <<sxa@redhat.com>> (he/him)
|
|
436
440
|
* [targos](https://github.com/targos) -
|
|
@@ -443,7 +447,7 @@ For information about the governance of the Node.js project, see
|
|
|
443
447
|
**Trivikram Kamat** <<trivikr.dev@gmail.com>>
|
|
444
448
|
* [Trott](https://github.com/Trott) -
|
|
445
449
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
446
|
-
* [UlisesGascon](https://github.com/
|
|
450
|
+
* [UlisesGascon](https://github.com/UlisesGascon) -
|
|
447
451
|
**Ulises Gascón** <<ulisesgascongonzalez@gmail.com>> (he/him)
|
|
448
452
|
* [vmoroz](https://github.com/vmoroz) -
|
|
449
453
|
**Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
|
|
@@ -451,10 +455,6 @@ For information about the governance of the Node.js project, see
|
|
|
451
455
|
**Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
|
|
452
456
|
* [watilde](https://github.com/watilde) -
|
|
453
457
|
**Daijiro Wachi** <<daijiro.wachi@gmail.com>> (he/him)
|
|
454
|
-
* [XadillaX](https://github.com/XadillaX) -
|
|
455
|
-
**Khaidi Chu** <<i@2333.moe>> (he/him)
|
|
456
|
-
* [yashLadha](https://github.com/yashLadha) -
|
|
457
|
-
**Yash Ladha** <<yash@yashladha.in>> (he/him)
|
|
458
458
|
* [zcbenz](https://github.com/zcbenz) -
|
|
459
459
|
**Cheng Zhao** <<zcbenz@gmail.com>> (he/him)
|
|
460
460
|
* [ZYSzys](https://github.com/ZYSzys) -
|
|
@@ -593,6 +593,8 @@ For information about the governance of the Node.js project, see
|
|
|
593
593
|
**Mathias Buus** <<mathiasbuus@gmail.com>> (he/him)
|
|
594
594
|
* [matthewloring](https://github.com/matthewloring) -
|
|
595
595
|
**Matthew Loring** <<mattloring@google.com>>
|
|
596
|
+
* [Mesteery](https://github.com/Mesteery) -
|
|
597
|
+
**Mestery** <<mestery@protonmail.com>> (he/him)
|
|
596
598
|
* [micnic](https://github.com/micnic) -
|
|
597
599
|
**Nicu Micleușanu** <<micnic90@gmail.com>> (he/him)
|
|
598
600
|
* [mikeal](https://github.com/mikeal) -
|
|
@@ -609,6 +611,8 @@ For information about the governance of the Node.js project, see
|
|
|
609
611
|
**Chen Gang** <<gangc.cxy@foxmail.com>>
|
|
610
612
|
* [mscdex](https://github.com/mscdex) -
|
|
611
613
|
**Brian White** <<mscdex@mscdex.net>>
|
|
614
|
+
* [MylesBorins](https://github.com/MylesBorins) -
|
|
615
|
+
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
|
|
612
616
|
* [not-an-aardvark](https://github.com/not-an-aardvark) -
|
|
613
617
|
**Teddy Katz** <<teddy.katz@gmail.com>> (he/him)
|
|
614
618
|
* [ofrobots](https://github.com/ofrobots) -
|
|
@@ -703,6 +707,10 @@ For information about the governance of the Node.js project, see
|
|
|
703
707
|
**Thomas Watson** <<w@tson.dk>>
|
|
704
708
|
* [whitlockjc](https://github.com/whitlockjc) -
|
|
705
709
|
**Jeremy Whitlock** <<jwhitlock@apache.org>>
|
|
710
|
+
* [XadillaX](https://github.com/XadillaX) -
|
|
711
|
+
**Khaidi Chu** <<i@2333.moe>> (he/him)
|
|
712
|
+
* [yashLadha](https://github.com/yashLadha) -
|
|
713
|
+
**Yash Ladha** <<yash@yashladha.in>> (he/him)
|
|
706
714
|
* [yhwang](https://github.com/yhwang) -
|
|
707
715
|
**Yihong Wang** <<yh.wang@ibm.com>>
|
|
708
716
|
* [yorkie](https://github.com/yorkie) -
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
['target_arch in "arm ia32 mips mipsel ppc"', {
|
|
116
116
|
'v8_enable_pointer_compression': 0,
|
|
117
117
|
'v8_enable_31bit_smis_on_64bit_arch': 0,
|
|
118
|
+
'v8_enable_sandbox': 0
|
|
118
119
|
}],
|
|
119
120
|
['target_arch in "ppc64 s390x"', {
|
|
120
121
|
'v8_enable_backtrace': 1,
|
|
@@ -554,6 +555,9 @@
|
|
|
554
555
|
'-Wl,-brtl',
|
|
555
556
|
],
|
|
556
557
|
}, { # else it's `AIX`
|
|
558
|
+
'variables': {
|
|
559
|
+
'gcc_major': '<!(<(python) -c "import os; import subprocess; CXX=os.environ.get(\'CXX\', \'g++\'); subprocess.run([CXX, \'-dumpversion\'])")'
|
|
560
|
+
},
|
|
557
561
|
# Disable the following compiler warning:
|
|
558
562
|
#
|
|
559
563
|
# warning: visibility attribute not supported in this
|
|
@@ -564,7 +568,7 @@
|
|
|
564
568
|
# out more relevant warnings.
|
|
565
569
|
'cflags': [ '-Wno-attributes' ],
|
|
566
570
|
'ldflags': [
|
|
567
|
-
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64',
|
|
571
|
+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/>(gcc_major)/pthread/ppc64:/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/>(gcc_major)/pthread/ppc64:/opt/freeware/lib/pthread/ppc64',
|
|
568
572
|
],
|
|
569
573
|
}],
|
|
570
574
|
],
|
package/include/node/config.gypi
CHANGED
|
@@ -242,6 +242,7 @@
|
|
|
242
242
|
'lib/internal/streams/destroy.js',
|
|
243
243
|
'lib/internal/streams/duplex.js',
|
|
244
244
|
'lib/internal/streams/duplexify.js',
|
|
245
|
+
'lib/internal/streams/duplexpair.js',
|
|
245
246
|
'lib/internal/streams/end-of-stream.js',
|
|
246
247
|
'lib/internal/streams/from.js',
|
|
247
248
|
'lib/internal/streams/lazy_transform.js',
|
|
@@ -391,6 +392,7 @@
|
|
|
391
392
|
'v8_enable_maglev': 0,
|
|
392
393
|
'v8_enable_object_print': 1,
|
|
393
394
|
'v8_enable_pointer_compression': 0,
|
|
395
|
+
'v8_enable_sandbox': 0,
|
|
394
396
|
'v8_enable_shared_ro_heap': 1,
|
|
395
397
|
'v8_enable_v8_checks': 0,
|
|
396
398
|
'v8_enable_webassembly': 1,
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
EXTERN_C_START
|
|
51
51
|
|
|
52
52
|
NAPI_EXTERN napi_status NAPI_CDECL napi_get_last_error_info(
|
|
53
|
-
|
|
53
|
+
node_api_basic_env env, const napi_extended_error_info** result);
|
|
54
54
|
|
|
55
55
|
// Getters for defined singletons
|
|
56
56
|
NAPI_EXTERN napi_status NAPI_CDECL napi_get_undefined(napi_env env,
|
|
@@ -94,19 +94,19 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_string_utf16(napi_env env,
|
|
|
94
94
|
napi_value* result);
|
|
95
95
|
#ifdef NAPI_EXPERIMENTAL
|
|
96
96
|
#define NODE_API_EXPERIMENTAL_HAS_EXTERNAL_STRINGS
|
|
97
|
-
NAPI_EXTERN napi_status NAPI_CDECL
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
97
|
+
NAPI_EXTERN napi_status NAPI_CDECL node_api_create_external_string_latin1(
|
|
98
|
+
napi_env env,
|
|
99
|
+
char* str,
|
|
100
|
+
size_t length,
|
|
101
|
+
node_api_basic_finalize finalize_callback,
|
|
102
|
+
void* finalize_hint,
|
|
103
|
+
napi_value* result,
|
|
104
|
+
bool* copied);
|
|
105
105
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
106
106
|
node_api_create_external_string_utf16(napi_env env,
|
|
107
107
|
char16_t* str,
|
|
108
108
|
size_t length,
|
|
109
|
-
|
|
109
|
+
node_api_basic_finalize finalize_callback,
|
|
110
110
|
void* finalize_hint,
|
|
111
111
|
napi_value* result,
|
|
112
112
|
bool* copied);
|
|
@@ -318,12 +318,13 @@ napi_define_class(napi_env env,
|
|
|
318
318
|
napi_value* result);
|
|
319
319
|
|
|
320
320
|
// Methods to work with external data objects
|
|
321
|
-
NAPI_EXTERN napi_status NAPI_CDECL
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
321
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
322
|
+
napi_wrap(napi_env env,
|
|
323
|
+
napi_value js_object,
|
|
324
|
+
void* native_object,
|
|
325
|
+
node_api_basic_finalize finalize_cb,
|
|
326
|
+
void* finalize_hint,
|
|
327
|
+
napi_ref* result);
|
|
327
328
|
NAPI_EXTERN napi_status NAPI_CDECL napi_unwrap(napi_env env,
|
|
328
329
|
napi_value js_object,
|
|
329
330
|
void** result);
|
|
@@ -333,7 +334,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_remove_wrap(napi_env env,
|
|
|
333
334
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
334
335
|
napi_create_external(napi_env env,
|
|
335
336
|
void* data,
|
|
336
|
-
|
|
337
|
+
node_api_basic_finalize finalize_cb,
|
|
337
338
|
void* finalize_hint,
|
|
338
339
|
napi_value* result);
|
|
339
340
|
NAPI_EXTERN napi_status NAPI_CDECL napi_get_value_external(napi_env env,
|
|
@@ -432,7 +433,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
|
|
|
432
433
|
napi_create_external_arraybuffer(napi_env env,
|
|
433
434
|
void* external_data,
|
|
434
435
|
size_t byte_length,
|
|
435
|
-
|
|
436
|
+
node_api_basic_finalize finalize_cb,
|
|
436
437
|
void* finalize_hint,
|
|
437
438
|
napi_value* result);
|
|
438
439
|
#endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
|
|
@@ -474,7 +475,7 @@ napi_get_dataview_info(napi_env env,
|
|
|
474
475
|
size_t* byte_offset);
|
|
475
476
|
|
|
476
477
|
// version management
|
|
477
|
-
NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(
|
|
478
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_basic_env env,
|
|
478
479
|
uint32_t* result);
|
|
479
480
|
|
|
480
481
|
// Promises
|
|
@@ -498,7 +499,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_run_script(napi_env env,
|
|
|
498
499
|
|
|
499
500
|
// Memory management
|
|
500
501
|
NAPI_EXTERN napi_status NAPI_CDECL napi_adjust_external_memory(
|
|
501
|
-
|
|
502
|
+
node_api_basic_env env, int64_t change_in_bytes, int64_t* adjusted_value);
|
|
502
503
|
|
|
503
504
|
#if NAPI_VERSION >= 5
|
|
504
505
|
|
|
@@ -520,7 +521,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
|
|
|
520
521
|
napi_add_finalizer(napi_env env,
|
|
521
522
|
napi_value js_object,
|
|
522
523
|
void* finalize_data,
|
|
523
|
-
|
|
524
|
+
node_api_basic_finalize finalize_cb,
|
|
524
525
|
void* finalize_hint,
|
|
525
526
|
napi_ref* result);
|
|
526
527
|
|
|
@@ -530,7 +531,7 @@ napi_add_finalizer(napi_env env,
|
|
|
530
531
|
#define NODE_API_EXPERIMENTAL_HAS_POST_FINALIZER
|
|
531
532
|
|
|
532
533
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
533
|
-
node_api_post_finalizer(
|
|
534
|
+
node_api_post_finalizer(node_api_basic_env env,
|
|
534
535
|
napi_finalize finalize_cb,
|
|
535
536
|
void* finalize_data,
|
|
536
537
|
void* finalize_hint);
|
|
@@ -575,13 +576,13 @@ napi_get_all_property_names(napi_env env,
|
|
|
575
576
|
|
|
576
577
|
// Instance data
|
|
577
578
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
578
|
-
napi_set_instance_data(
|
|
579
|
+
napi_set_instance_data(node_api_basic_env env,
|
|
579
580
|
void* data,
|
|
580
581
|
napi_finalize finalize_cb,
|
|
581
582
|
void* finalize_hint);
|
|
582
583
|
|
|
583
|
-
NAPI_EXTERN napi_status NAPI_CDECL
|
|
584
|
-
|
|
584
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
585
|
+
napi_get_instance_data(node_api_basic_env env, void** data);
|
|
585
586
|
#endif // NAPI_VERSION >= 6
|
|
586
587
|
|
|
587
588
|
#if NAPI_VERSION >= 7
|
|
@@ -27,7 +27,7 @@ typedef struct napi_env__* napi_env;
|
|
|
27
27
|
// meaning that they do not affect the state of the JS engine, and can
|
|
28
28
|
// therefore be called synchronously from a finalizer that itself runs
|
|
29
29
|
// synchronously during GC. Such APIs can receive either a `napi_env` or a
|
|
30
|
-
// `
|
|
30
|
+
// `node_api_basic_env` as their first parameter, because we should be able to
|
|
31
31
|
// also call them during normal, non-garbage-collecting operations, whereas
|
|
32
32
|
// APIs that affect the state of the JS engine can only receive a `napi_env` as
|
|
33
33
|
// their first parameter, because we must not call them during GC. In lieu of
|
|
@@ -37,19 +37,21 @@ typedef struct napi_env__* napi_env;
|
|
|
37
37
|
// expecting a non-const value.
|
|
38
38
|
//
|
|
39
39
|
// In conjunction with appropriate CFLAGS to warn us if we're passing a const
|
|
40
|
-
// (
|
|
41
|
-
// definition of
|
|
42
|
-
//
|
|
43
|
-
// (unless the user explicitly casts the environment), we achieve
|
|
44
|
-
// to ensure at compile time that we do not call APIs that affect
|
|
45
|
-
// the JS engine from a synchronous (
|
|
40
|
+
// (basic) environment into an API that expects a non-const environment, and
|
|
41
|
+
// the definition of basic finalizer function pointer types below, which
|
|
42
|
+
// receive a basic environment as their first parameter, and can thus only call
|
|
43
|
+
// basic APIs (unless the user explicitly casts the environment), we achieve
|
|
44
|
+
// the ability to ensure at compile time that we do not call APIs that affect
|
|
45
|
+
// the state of the JS engine from a synchronous (basic) finalizer.
|
|
46
46
|
#if !defined(NAPI_EXPERIMENTAL) || \
|
|
47
47
|
(defined(NAPI_EXPERIMENTAL) && \
|
|
48
|
-
defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT)
|
|
48
|
+
(defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT) || \
|
|
49
|
+
defined(NODE_API_EXPERIMENTAL_BASIC_ENV_OPT_OUT)))
|
|
49
50
|
typedef struct napi_env__* node_api_nogc_env;
|
|
50
51
|
#else
|
|
51
52
|
typedef const struct napi_env__* node_api_nogc_env;
|
|
52
53
|
#endif
|
|
54
|
+
typedef node_api_nogc_env node_api_basic_env;
|
|
53
55
|
|
|
54
56
|
typedef struct napi_value__* napi_value;
|
|
55
57
|
typedef struct napi_ref__* napi_ref;
|
|
@@ -147,13 +149,15 @@ typedef void(NAPI_CDECL* napi_finalize)(napi_env env,
|
|
|
147
149
|
|
|
148
150
|
#if !defined(NAPI_EXPERIMENTAL) || \
|
|
149
151
|
(defined(NAPI_EXPERIMENTAL) && \
|
|
150
|
-
defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT)
|
|
152
|
+
(defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT) || \
|
|
153
|
+
defined(NODE_API_EXPERIMENTAL_BASIC_ENV_OPT_OUT)))
|
|
151
154
|
typedef napi_finalize node_api_nogc_finalize;
|
|
152
155
|
#else
|
|
153
156
|
typedef void(NAPI_CDECL* node_api_nogc_finalize)(node_api_nogc_env env,
|
|
154
157
|
void* finalize_data,
|
|
155
158
|
void* finalize_hint);
|
|
156
159
|
#endif
|
|
160
|
+
typedef node_api_nogc_finalize node_api_basic_finalize;
|
|
157
161
|
|
|
158
162
|
typedef struct {
|
|
159
163
|
// One of utf8name or name should be NULL.
|
package/include/node/node.h
CHANGED
|
@@ -658,10 +658,14 @@ enum Flags : uint64_t {
|
|
|
658
658
|
// inspector in situations where one has already been created,
|
|
659
659
|
// e.g. Blink's in Chromium.
|
|
660
660
|
kNoCreateInspector = 1 << 9,
|
|
661
|
-
// Controls
|
|
662
|
-
// call StartDebugSignalHandler.
|
|
661
|
+
// Controls whether or not the InspectorAgent for this Environment should
|
|
662
|
+
// call StartDebugSignalHandler. This control is needed by embedders who may
|
|
663
663
|
// not want to allow other processes to start the V8 inspector.
|
|
664
|
-
kNoStartDebugSignalHandler = 1 << 10
|
|
664
|
+
kNoStartDebugSignalHandler = 1 << 10,
|
|
665
|
+
// Controls whether the InspectorAgent created for this Environment waits for
|
|
666
|
+
// Inspector frontend events during the Environment creation. It's used to
|
|
667
|
+
// call node::Stop(env) on a Worker thread that is waiting for the events.
|
|
668
|
+
kNoWaitForInspectorFrontend = 1 << 11
|
|
665
669
|
};
|
|
666
670
|
} // namespace EnvironmentFlags
|
|
667
671
|
|
package/include/node/node_api.h
CHANGED
|
@@ -131,7 +131,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
|
|
|
131
131
|
napi_create_external_buffer(napi_env env,
|
|
132
132
|
size_t length,
|
|
133
133
|
void* data,
|
|
134
|
-
|
|
134
|
+
node_api_basic_finalize finalize_cb,
|
|
135
135
|
void* finalize_hint,
|
|
136
136
|
napi_value* result);
|
|
137
137
|
#endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
|
|
@@ -159,20 +159,20 @@ napi_create_async_work(napi_env env,
|
|
|
159
159
|
napi_async_work* result);
|
|
160
160
|
NAPI_EXTERN napi_status NAPI_CDECL napi_delete_async_work(napi_env env,
|
|
161
161
|
napi_async_work work);
|
|
162
|
-
NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(
|
|
162
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(node_api_basic_env env,
|
|
163
163
|
napi_async_work work);
|
|
164
|
-
NAPI_EXTERN napi_status NAPI_CDECL
|
|
165
|
-
|
|
164
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
165
|
+
napi_cancel_async_work(node_api_basic_env env, napi_async_work work);
|
|
166
166
|
|
|
167
167
|
// version management
|
|
168
|
-
NAPI_EXTERN napi_status NAPI_CDECL
|
|
169
|
-
|
|
168
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_get_node_version(
|
|
169
|
+
node_api_basic_env env, const napi_node_version** version);
|
|
170
170
|
|
|
171
171
|
#if NAPI_VERSION >= 2
|
|
172
172
|
|
|
173
173
|
// Return the current libuv event loop for a given environment
|
|
174
174
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
175
|
-
napi_get_uv_event_loop(
|
|
175
|
+
napi_get_uv_event_loop(node_api_basic_env env, struct uv_loop_s** loop);
|
|
176
176
|
|
|
177
177
|
#endif // NAPI_VERSION >= 2
|
|
178
178
|
|
|
@@ -182,10 +182,10 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_fatal_exception(napi_env env,
|
|
|
182
182
|
napi_value err);
|
|
183
183
|
|
|
184
184
|
NAPI_EXTERN napi_status NAPI_CDECL napi_add_env_cleanup_hook(
|
|
185
|
-
|
|
185
|
+
node_api_basic_env env, napi_cleanup_hook fun, void* arg);
|
|
186
186
|
|
|
187
187
|
NAPI_EXTERN napi_status NAPI_CDECL napi_remove_env_cleanup_hook(
|
|
188
|
-
|
|
188
|
+
node_api_basic_env env, napi_cleanup_hook fun, void* arg);
|
|
189
189
|
|
|
190
190
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
191
191
|
napi_open_callback_scope(napi_env env,
|
|
@@ -229,17 +229,17 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_release_threadsafe_function(
|
|
|
229
229
|
napi_threadsafe_function func, napi_threadsafe_function_release_mode mode);
|
|
230
230
|
|
|
231
231
|
NAPI_EXTERN napi_status NAPI_CDECL napi_unref_threadsafe_function(
|
|
232
|
-
|
|
232
|
+
node_api_basic_env env, napi_threadsafe_function func);
|
|
233
233
|
|
|
234
234
|
NAPI_EXTERN napi_status NAPI_CDECL napi_ref_threadsafe_function(
|
|
235
|
-
|
|
235
|
+
node_api_basic_env env, napi_threadsafe_function func);
|
|
236
236
|
|
|
237
237
|
#endif // NAPI_VERSION >= 4
|
|
238
238
|
|
|
239
239
|
#if NAPI_VERSION >= 8
|
|
240
240
|
|
|
241
241
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
242
|
-
napi_add_async_cleanup_hook(
|
|
242
|
+
napi_add_async_cleanup_hook(node_api_basic_env env,
|
|
243
243
|
napi_async_cleanup_hook hook,
|
|
244
244
|
void* arg,
|
|
245
245
|
napi_async_cleanup_hook_handle* remove_handle);
|
|
@@ -252,7 +252,7 @@ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
|
|
|
252
252
|
#if NAPI_VERSION >= 9
|
|
253
253
|
|
|
254
254
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
255
|
-
node_api_get_module_file_name(
|
|
255
|
+
node_api_get_module_file_name(node_api_basic_env env, const char** result);
|
|
256
256
|
|
|
257
257
|
#endif // NAPI_VERSION >= 9
|
|
258
258
|
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 20
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 17
|
|
27
|
+
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 1
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME "Iron"
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
.\" * Language reference:
|
|
5
5
|
.\" https://man.openbsd.org/mdoc.7
|
|
6
6
|
.\"
|
|
7
|
-
.\" * Atom editor support:
|
|
8
|
-
.\" https://atom.io/packages/language-roff
|
|
9
|
-
.\"
|
|
10
7
|
.\" * Linting changes:
|
|
11
8
|
.\" mandoc -Wall -Tlint /path/to/this.file # BSD
|
|
12
9
|
.\" groff -w all -z /path/to/this.file # GNU/Linux, macOS
|
|
@@ -88,6 +85,9 @@ Allow using native addons when using the permission model.
|
|
|
88
85
|
.It Fl -allow-child-process
|
|
89
86
|
Allow spawning process when using the permission model.
|
|
90
87
|
.
|
|
88
|
+
.It Fl -allow-wasi
|
|
89
|
+
Allow execution of WASI when using the permission model.
|
|
90
|
+
.
|
|
91
91
|
.It Fl -allow-worker
|
|
92
92
|
Allow creating worker threads when using the permission model.
|
|
93
93
|
.
|
|
@@ -802,8 +802,3 @@ Documentation:
|
|
|
802
802
|
.Pp
|
|
803
803
|
GitHub repository and issue tracker:
|
|
804
804
|
.Sy https://github.com/nodejs/node
|
|
805
|
-
.
|
|
806
|
-
.Pp
|
|
807
|
-
IRC (general questions):
|
|
808
|
-
.Sy "libera.chat #node.js"
|
|
809
|
-
(unofficial)
|