node-linux-s390x 22.5.1 → 22.7.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 +380 -1
- package/LICENSE +25 -33
- package/README.md +31 -33
- package/bin/node +0 -0
- package/include/node/common.gypi +9 -5
- package/include/node/config.gypi +18 -6
- package/include/node/js_native_api.h +26 -25
- package/include/node/js_native_api_types.h +13 -9
- package/include/node/node_api.h +13 -13
- package/include/node/node_version.h +2 -2
- package/include/node/v8-local-handle.h +1 -2
- package/package.json +1 -1
- package/share/man/man1/node.1 +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
</tr>
|
|
9
9
|
<tr>
|
|
10
10
|
<td>
|
|
11
|
+
<a href="#22.7.0">22.7.0</a><br/>
|
|
12
|
+
<a href="#22.6.0">22.6.0</a><br/>
|
|
11
13
|
<a href="#22.5.1">22.5.1</a><br/>
|
|
12
14
|
<a href="#22.5.0">22.5.0</a><br/>
|
|
13
15
|
<a href="#22.4.1">22.4.1</a><br/>
|
|
@@ -44,6 +46,383 @@
|
|
|
44
46
|
* [io.js](CHANGELOG_IOJS.md)
|
|
45
47
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
46
48
|
|
|
49
|
+
<a id="22.7.0"></a>
|
|
50
|
+
|
|
51
|
+
## 2024-08-22, Version 22.7.0 (Current), @RafaelGSS
|
|
52
|
+
|
|
53
|
+
### Experimental transform types support
|
|
54
|
+
|
|
55
|
+
With the new flag `--experimental-transform-types` it is possible to enable the
|
|
56
|
+
transformation of TypeScript-only syntax into JavaScript code.
|
|
57
|
+
|
|
58
|
+
This feature allows Node.js to support TypeScript syntax such as `Enum` and `namespace`.
|
|
59
|
+
|
|
60
|
+
Thanks to Marco Ippolito for making this work on [#54283](https://github.com/nodejs/node/pull/54283).
|
|
61
|
+
|
|
62
|
+
### Module syntax detection is now enabled by default.
|
|
63
|
+
|
|
64
|
+
Module syntax detection (the `--experimental-detect-module` flag) is now
|
|
65
|
+
enabled by default. Use `--no-experimental-detect-module` to disable it if
|
|
66
|
+
needed.
|
|
67
|
+
|
|
68
|
+
Syntax detection attempts to run ambiguous files as CommonJS, and if the module
|
|
69
|
+
fails to parse as CommonJS due to ES module syntax, Node.js tries again and runs
|
|
70
|
+
the file as an ES module.
|
|
71
|
+
Ambiguous files are those with a `.js` or no extension, where the nearest parent
|
|
72
|
+
`package.json` has no `"type"` field (either `"type": "module"` or
|
|
73
|
+
`"type": "commonjs"`).
|
|
74
|
+
Syntax detection should have no performance impact on CommonJS modules, but it
|
|
75
|
+
incurs a slight performance penalty for ES modules; add `"type": "module"` to
|
|
76
|
+
the nearest parent `package.json` file to eliminate the performance cost.
|
|
77
|
+
A use case unlocked by this feature is the ability to use ES module syntax in
|
|
78
|
+
extensionless scripts with no nearby `package.json`.
|
|
79
|
+
|
|
80
|
+
Thanks to Geoffrey Booth for making this work on [#53619](https://github.com/nodejs/node/pull/53619).
|
|
81
|
+
|
|
82
|
+
### Performance Improvements to Buffer
|
|
83
|
+
|
|
84
|
+
Performance of Node.js Buffers have been optimized through multiple PR's with significant
|
|
85
|
+
improvements to the `Buffer.copy` and `Buffer.write` methods. These are used throughout
|
|
86
|
+
the codebase and should give a nice boost across the board.
|
|
87
|
+
|
|
88
|
+
Thanks to Robert Nagy for making this work on [#54311](https://github.com/nodejs/node/pull/54311),
|
|
89
|
+
[#54324](https://github.com/nodejs/node/pull/54324), and [#54087](https://github.com/nodejs/node/pull/54087).
|
|
90
|
+
|
|
91
|
+
### Other Notable Changes
|
|
92
|
+
|
|
93
|
+
* \[[`911de7dd6d`](https://github.com/nodejs/node/commit/911de7dd6d)] - **(SEMVER-MINOR)** **inspector**: support `Network.loadingFailed` event (Kohei Ueno) [#54246](https://github.com/nodejs/node/pull/54246)
|
|
94
|
+
* \[[`9ee4b16bd8`](https://github.com/nodejs/node/commit/9ee4b16bd8)] - **(SEMVER-MINOR)** **lib**: rewrite AsyncLocalStorage without async\_hooks (Stephen Belanger) [#48528](https://github.com/nodejs/node/pull/48528)
|
|
95
|
+
|
|
96
|
+
### Commits
|
|
97
|
+
|
|
98
|
+
* \[[`c6544ff5a6`](https://github.com/nodejs/node/commit/c6544ff5a6)] - **benchmark**: use assert.ok searchparams (Rafael Gonzaga) [#54334](https://github.com/nodejs/node/pull/54334)
|
|
99
|
+
* \[[`51b8576897`](https://github.com/nodejs/node/commit/51b8576897)] - **benchmark**: add stream.compose benchmark (jakecastelli) [#54308](https://github.com/nodejs/node/pull/54308)
|
|
100
|
+
* \[[`c166036515`](https://github.com/nodejs/node/commit/c166036515)] - **benchmark**: rename count to n (Rafael Gonzaga) [#54271](https://github.com/nodejs/node/pull/54271)
|
|
101
|
+
* \[[`1be0ee76ef`](https://github.com/nodejs/node/commit/1be0ee76ef)] - **benchmark**: change assert() to assert.ok() (Rafael Gonzaga) [#54254](https://github.com/nodejs/node/pull/54254)
|
|
102
|
+
* \[[`4dd229f546`](https://github.com/nodejs/node/commit/4dd229f546)] - **benchmark**: support --help in CLI (Aviv Keller) [#53358](https://github.com/nodejs/node/pull/53358)
|
|
103
|
+
* \[[`a5a320cd5b`](https://github.com/nodejs/node/commit/a5a320cd5b)] - **benchmark**: remove force option as force defaults to true (Yelim Koo) [#54203](https://github.com/nodejs/node/pull/54203)
|
|
104
|
+
* \[[`db0a80a0eb`](https://github.com/nodejs/node/commit/db0a80a0eb)] - **benchmark**: use assert.ok instead of assert (Rafael Gonzaga) [#54176](https://github.com/nodejs/node/pull/54176)
|
|
105
|
+
* \[[`8ba53ae7b7`](https://github.com/nodejs/node/commit/8ba53ae7b7)] - **buffer**: properly apply dst offset and src length on fast path (Robert Nagy) [#54391](https://github.com/nodejs/node/pull/54391)
|
|
106
|
+
* \[[`a5a60e6823`](https://github.com/nodejs/node/commit/a5a60e6823)] - **buffer**: use fast API for writing one-byte strings (Robert Nagy) [#54311](https://github.com/nodejs/node/pull/54311)
|
|
107
|
+
* \[[`7b641bc2bd`](https://github.com/nodejs/node/commit/7b641bc2bd)] - **buffer**: optimize byteLength for short strings (Robert Nagy) [#54345](https://github.com/nodejs/node/pull/54345)
|
|
108
|
+
* \[[`28ca678f81`](https://github.com/nodejs/node/commit/28ca678f81)] - **buffer**: optimize byteLength for common encodings (Robert Nagy) [#54342](https://github.com/nodejs/node/pull/54342)
|
|
109
|
+
* \[[`12785559be`](https://github.com/nodejs/node/commit/12785559be)] - **buffer**: optimize createFromString (Robert Nagy) [#54324](https://github.com/nodejs/node/pull/54324)
|
|
110
|
+
* \[[`f7f7b0c498`](https://github.com/nodejs/node/commit/f7f7b0c498)] - **buffer**: optimize for common encodings (Robert Nagy) [#54319](https://github.com/nodejs/node/pull/54319)
|
|
111
|
+
* \[[`37631f826b`](https://github.com/nodejs/node/commit/37631f826b)] - **buffer**: add JSDoc to blob bytes method (Roberto Simonini) [#54117](https://github.com/nodejs/node/pull/54117)
|
|
112
|
+
* \[[`ab6fae9dbf`](https://github.com/nodejs/node/commit/ab6fae9dbf)] - **buffer**: faster type check (Robert Nagy) [#54088](https://github.com/nodejs/node/pull/54088)
|
|
113
|
+
* \[[`9f8f26eb2f`](https://github.com/nodejs/node/commit/9f8f26eb2f)] - **buffer**: use native copy impl (Robert Nagy) [#54087](https://github.com/nodejs/node/pull/54087)
|
|
114
|
+
* \[[`019ebf03c1`](https://github.com/nodejs/node/commit/019ebf03c1)] - **buffer**: use faster integer argument check (Robert Nagy) [#54089](https://github.com/nodejs/node/pull/54089)
|
|
115
|
+
* \[[`c640a2f24c`](https://github.com/nodejs/node/commit/c640a2f24c)] - **build**: always disable strict aliasing (Michaël Zasso) [#54339](https://github.com/nodejs/node/pull/54339)
|
|
116
|
+
* \[[`6aa1d9e855`](https://github.com/nodejs/node/commit/6aa1d9e855)] - **build**: update `ruff` to `0.5.2` (Aviv Keller) [#53909](https://github.com/nodejs/node/pull/53909)
|
|
117
|
+
* \[[`350e699443`](https://github.com/nodejs/node/commit/350e699443)] - **build**: support `lint-js-fix` in `vcbuild.bat` (Aviv Keller) [#53695](https://github.com/nodejs/node/pull/53695)
|
|
118
|
+
* \[[`98fed763f7`](https://github.com/nodejs/node/commit/98fed763f7)] - **build**: add `--without-amaro` build flag (Antoine du Hamel) [#54136](https://github.com/nodejs/node/pull/54136)
|
|
119
|
+
* \[[`1ca598c5ce`](https://github.com/nodejs/node/commit/1ca598c5ce)] - **cli**: allow `--test-[name/skip]-pattern` in `NODE_OPTIONS` (Aviv Keller) [#53001](https://github.com/nodejs/node/pull/53001)
|
|
120
|
+
* \[[`37960a67ae`](https://github.com/nodejs/node/commit/37960a67ae)] - **console**: use validateOneOf for colorMode validation (HEESEUNG) [#54245](https://github.com/nodejs/node/pull/54245)
|
|
121
|
+
* \[[`d52f515bab`](https://github.com/nodejs/node/commit/d52f515bab)] - **crypto**: include NODE\_EXTRA\_CA\_CERTS in all secure contexts by default (Eric Bickle) [#44529](https://github.com/nodejs/node/pull/44529)
|
|
122
|
+
* \[[`b6a3e61353`](https://github.com/nodejs/node/commit/b6a3e61353)] - **deps**: update amaro to 0.1.6 (Node.js GitHub Bot) [#54374](https://github.com/nodejs/node/pull/54374)
|
|
123
|
+
* \[[`0d716ad3f3`](https://github.com/nodejs/node/commit/0d716ad3f3)] - **deps**: update simdutf to 5.3.4 (Node.js GitHub Bot) [#54312](https://github.com/nodejs/node/pull/54312)
|
|
124
|
+
* \[[`18bfea5f33`](https://github.com/nodejs/node/commit/18bfea5f33)] - **deps**: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
|
|
125
|
+
* \[[`d0c23f332f`](https://github.com/nodejs/node/commit/d0c23f332f)] - **deps**: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
|
|
126
|
+
* \[[`e7db63972c`](https://github.com/nodejs/node/commit/e7db63972c)] - **deps**: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
|
|
127
|
+
* \[[`713ae95555`](https://github.com/nodejs/node/commit/713ae95555)] - **deps**: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
|
|
128
|
+
* \[[`758c9df36e`](https://github.com/nodejs/node/commit/758c9df36e)] - **deps**: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
|
|
129
|
+
* \[[`fe7e6c9563`](https://github.com/nodejs/node/commit/fe7e6c9563)] - **deps**: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) [#53464](https://github.com/nodejs/node/pull/53464)
|
|
130
|
+
* \[[`35722b7bca`](https://github.com/nodejs/node/commit/35722b7bca)] - **deps**: update simdjson to 3.10.0 (Node.js GitHub Bot) [#54197](https://github.com/nodejs/node/pull/54197)
|
|
131
|
+
* \[[`a2a41557db`](https://github.com/nodejs/node/commit/a2a41557db)] - **deps**: fix GN build warning in ncrypto (Cheng) [#54222](https://github.com/nodejs/node/pull/54222)
|
|
132
|
+
* \[[`869da204d7`](https://github.com/nodejs/node/commit/869da204d7)] - **deps**: update c-ares to v1.33.0 (Node.js GitHub Bot) [#54198](https://github.com/nodejs/node/pull/54198)
|
|
133
|
+
* \[[`e0d503a715`](https://github.com/nodejs/node/commit/e0d503a715)] - **deps**: update nbytes to 0.1.1 (Node.js GitHub Bot) [#54277](https://github.com/nodejs/node/pull/54277)
|
|
134
|
+
* \[[`b0c768dae1`](https://github.com/nodejs/node/commit/b0c768dae1)] - **deps**: update undici to 6.19.7 (Node.js GitHub Bot) [#54286](https://github.com/nodejs/node/pull/54286)
|
|
135
|
+
* \[[`ef9a950cb9`](https://github.com/nodejs/node/commit/ef9a950cb9)] - **deps**: update acorn to 8.12.1 (Node.js GitHub Bot) [#53465](https://github.com/nodejs/node/pull/53465)
|
|
136
|
+
* \[[`1597a1139a`](https://github.com/nodejs/node/commit/1597a1139a)] - **deps**: update undici to 6.19.5 (Node.js GitHub Bot) [#54076](https://github.com/nodejs/node/pull/54076)
|
|
137
|
+
* \[[`103e4db3e0`](https://github.com/nodejs/node/commit/103e4db3e0)] - **deps**: update simdutf to 5.3.1 (Node.js GitHub Bot) [#54196](https://github.com/nodejs/node/pull/54196)
|
|
138
|
+
* \[[`9f115ba9e9`](https://github.com/nodejs/node/commit/9f115ba9e9)] - **doc**: fix error description of the max header size (Egawa Ryo) [#54125](https://github.com/nodejs/node/pull/54125)
|
|
139
|
+
* \[[`f967ab3810`](https://github.com/nodejs/node/commit/f967ab3810)] - **doc**: add git node security --cleanup (Rafael Gonzaga) [#54381](https://github.com/nodejs/node/pull/54381)
|
|
140
|
+
* \[[`8883c01afa`](https://github.com/nodejs/node/commit/8883c01afa)] - **doc**: add note on weakness of permission model (Tobias Nießen) [#54268](https://github.com/nodejs/node/pull/54268)
|
|
141
|
+
* \[[`824bd58bc5`](https://github.com/nodejs/node/commit/824bd58bc5)] - **doc**: add versions when `--watch-preserve-output` was added (Théo LUDWIG) [#54328](https://github.com/nodejs/node/pull/54328)
|
|
142
|
+
* \[[`33795cfd49`](https://github.com/nodejs/node/commit/33795cfd49)] - **doc**: replace v19 mention in Current release (Rafael Gonzaga) [#54361](https://github.com/nodejs/node/pull/54361)
|
|
143
|
+
* \[[`aa6e770ea5`](https://github.com/nodejs/node/commit/aa6e770ea5)] - **doc**: correct peformance entry types (Jason Zhang) [#54263](https://github.com/nodejs/node/pull/54263)
|
|
144
|
+
* \[[`4b099ce1bd`](https://github.com/nodejs/node/commit/4b099ce1bd)] - **doc**: fix typo in method name in the sea doc (Eliyah Sundström) [#54027](https://github.com/nodejs/node/pull/54027)
|
|
145
|
+
* \[[`8a8d1d2281`](https://github.com/nodejs/node/commit/8a8d1d2281)] - **doc**: mark process.nextTick legacy (Marco Ippolito) [#51280](https://github.com/nodejs/node/pull/51280)
|
|
146
|
+
* \[[`6f4b5d998e`](https://github.com/nodejs/node/commit/6f4b5d998e)] - **doc**: add esm examples to node:http2 (Alfredo González) [#54292](https://github.com/nodejs/node/pull/54292)
|
|
147
|
+
* \[[`1535469c12`](https://github.com/nodejs/node/commit/1535469c12)] - **doc**: explicitly mention node:fs module restriction (Rafael Gonzaga) [#54269](https://github.com/nodejs/node/pull/54269)
|
|
148
|
+
* \[[`26c37f7910`](https://github.com/nodejs/node/commit/26c37f7910)] - **doc**: remove module-based permission doc (Rafael Gonzaga) [#54266](https://github.com/nodejs/node/pull/54266)
|
|
149
|
+
* \[[`971b9f31f5`](https://github.com/nodejs/node/commit/971b9f31f5)] - **doc**: update `buffer.constants.MAX_LENGTH` size (Samuli Asmala) [#54207](https://github.com/nodejs/node/pull/54207)
|
|
150
|
+
* \[[`3106149965`](https://github.com/nodejs/node/commit/3106149965)] - **doc**: warn for windows build bug (Jason Zhang) [#54217](https://github.com/nodejs/node/pull/54217)
|
|
151
|
+
* \[[`55f8ac3e89`](https://github.com/nodejs/node/commit/55f8ac3e89)] - **doc**: make some parameters optional in `tracingChannel.traceCallback` (Deokjin Kim) [#54068](https://github.com/nodejs/node/pull/54068)
|
|
152
|
+
* \[[`e3e2f22cab`](https://github.com/nodejs/node/commit/e3e2f22cab)] - **doc**: add esm examples to node:dns (Alfredo González) [#54172](https://github.com/nodejs/node/pull/54172)
|
|
153
|
+
* \[[`0429b1eb9d`](https://github.com/nodejs/node/commit/0429b1eb9d)] - **doc**: add KevinEady as a triager (Chengzhong Wu) [#54179](https://github.com/nodejs/node/pull/54179)
|
|
154
|
+
* \[[`4bfa7d8e54`](https://github.com/nodejs/node/commit/4bfa7d8e54)] - **doc**: add esm examples to node:console (Alfredo González) [#54108](https://github.com/nodejs/node/pull/54108)
|
|
155
|
+
* \[[`2f5309fc22`](https://github.com/nodejs/node/commit/2f5309fc22)] - **doc**: fix sea assets example (Sadzurami) [#54192](https://github.com/nodejs/node/pull/54192)
|
|
156
|
+
* \[[`88aef5a39d`](https://github.com/nodejs/node/commit/88aef5a39d)] - **doc**: add links to security steward companies (Aviv Keller) [#52981](https://github.com/nodejs/node/pull/52981)
|
|
157
|
+
* \[[`5175903c23`](https://github.com/nodejs/node/commit/5175903c23)] - **doc**: move `onread` option from `socket.connect()` to `new net.socket()` (sendoru) [#54194](https://github.com/nodejs/node/pull/54194)
|
|
158
|
+
* \[[`144637e845`](https://github.com/nodejs/node/commit/144637e845)] - **doc**: move release key for Myles Borins (Richard Lau) [#54059](https://github.com/nodejs/node/pull/54059)
|
|
159
|
+
* \[[`358fdacec6`](https://github.com/nodejs/node/commit/358fdacec6)] - **doc**: refresh instructions for building node from source (Liran Tal) [#53768](https://github.com/nodejs/node/pull/53768)
|
|
160
|
+
* \[[`11fdaa6ad2`](https://github.com/nodejs/node/commit/11fdaa6ad2)] - **doc**: add documentation for blob.bytes() method (jaexxin) [#54114](https://github.com/nodejs/node/pull/54114)
|
|
161
|
+
* \[[`db3b0df42c`](https://github.com/nodejs/node/commit/db3b0df42c)] - **doc**: add missing new lines to custom test reporter examples (Eddie Abbondanzio) [#54152](https://github.com/nodejs/node/pull/54152)
|
|
162
|
+
* \[[`1cafefd2cf`](https://github.com/nodejs/node/commit/1cafefd2cf)] - **doc**: fix worker threadId/destination typo (Thomas Hunter II) [#53933](https://github.com/nodejs/node/pull/53933)
|
|
163
|
+
* \[[`7772b46038`](https://github.com/nodejs/node/commit/7772b46038)] - **doc**: update list of Triagers on the `README.md` (Antoine du Hamel) [#54138](https://github.com/nodejs/node/pull/54138)
|
|
164
|
+
* \[[`af99ba3dc9`](https://github.com/nodejs/node/commit/af99ba3dc9)] - **doc**: remove unused imports from worker\_threads.md (Yelim Koo) [#54147](https://github.com/nodejs/node/pull/54147)
|
|
165
|
+
* \[[`826edc4341`](https://github.com/nodejs/node/commit/826edc4341)] - **doc**: expand troubleshooting section (Liran Tal) [#53808](https://github.com/nodejs/node/pull/53808)
|
|
166
|
+
* \[[`923195b624`](https://github.com/nodejs/node/commit/923195b624)] - **doc**: clarify `useCodeCache` setting for cross-platform SEA generation (Yelim Koo) [#53994](https://github.com/nodejs/node/pull/53994)
|
|
167
|
+
* \[[`7c305a4900`](https://github.com/nodejs/node/commit/7c305a4900)] - **doc, meta**: replace command with link to keys (Aviv Keller) [#53745](https://github.com/nodejs/node/pull/53745)
|
|
168
|
+
* \[[`6f986e0ee6`](https://github.com/nodejs/node/commit/6f986e0ee6)] - **doc, test**: simplify test README table (Aviv Keller) [#53971](https://github.com/nodejs/node/pull/53971)
|
|
169
|
+
* \[[`112228c15a`](https://github.com/nodejs/node/commit/112228c15a)] - **fs**: remove unnecessary option argument validation (Jonas) [#53958](https://github.com/nodejs/node/pull/53958)
|
|
170
|
+
* \[[`911de7dd6d`](https://github.com/nodejs/node/commit/911de7dd6d)] - **(SEMVER-MINOR)** **inspector**: support `Network.loadingFailed` event (Kohei Ueno) [#54246](https://github.com/nodejs/node/pull/54246)
|
|
171
|
+
* \[[`1e825915d5`](https://github.com/nodejs/node/commit/1e825915d5)] - **inspector**: provide detailed info to fix DevTools frontend errors (Kohei Ueno) [#54156](https://github.com/nodejs/node/pull/54156)
|
|
172
|
+
* \[[`417120a3a3`](https://github.com/nodejs/node/commit/417120a3a3)] - **lib**: replace spread operator with primordials function (YoonSoo\_Shin) [#54053](https://github.com/nodejs/node/pull/54053)
|
|
173
|
+
* \[[`09f411e6f6`](https://github.com/nodejs/node/commit/09f411e6f6)] - **lib**: avoid for of loop and remove unnecessary variable in zlib (YoonSoo\_Shin) [#54258](https://github.com/nodejs/node/pull/54258)
|
|
174
|
+
* \[[`b8970570b0`](https://github.com/nodejs/node/commit/b8970570b0)] - **lib**: improve async\_context\_frame structure (Stephen Belanger) [#54239](https://github.com/nodejs/node/pull/54239)
|
|
175
|
+
* \[[`783322fa16`](https://github.com/nodejs/node/commit/783322fa16)] - **lib**: fix unhandled errors in webstream adapters (Fedor Indutny) [#54206](https://github.com/nodejs/node/pull/54206)
|
|
176
|
+
* \[[`425b9562b9`](https://github.com/nodejs/node/commit/425b9562b9)] - **lib**: fix typos in comments within internal/streams (YoonSoo\_Shin) [#54093](https://github.com/nodejs/node/pull/54093)
|
|
177
|
+
* \[[`9ee4b16bd8`](https://github.com/nodejs/node/commit/9ee4b16bd8)] - **(SEMVER-MINOR)** **lib**: rewrite AsyncLocalStorage without async\_hooks (Stephen Belanger) [#48528](https://github.com/nodejs/node/pull/48528)
|
|
178
|
+
* \[[`8c9a4ae12b`](https://github.com/nodejs/node/commit/8c9a4ae12b)] - **lib,permission**: support Buffer to permission.has (Rafael Gonzaga) [#54104](https://github.com/nodejs/node/pull/54104)
|
|
179
|
+
* \[[`c8e358c96c`](https://github.com/nodejs/node/commit/c8e358c96c)] - **meta**: add test-permission-\* CODEOWNERS (Rafael Gonzaga) [#54267](https://github.com/nodejs/node/pull/54267)
|
|
180
|
+
* \[[`581c155cf8`](https://github.com/nodejs/node/commit/581c155cf8)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#54210](https://github.com/nodejs/node/pull/54210)
|
|
181
|
+
* \[[`3f0d7344e3`](https://github.com/nodejs/node/commit/3f0d7344e3)] - **meta**: add module label for the lib/internal/modules folder (Aviv Keller) [#52858](https://github.com/nodejs/node/pull/52858)
|
|
182
|
+
* \[[`0157ec6bbd`](https://github.com/nodejs/node/commit/0157ec6bbd)] - **meta**: bump `actions/upload-artifact` from 4.3.3 to 4.3.4 (dependabot\[bot]) [#54166](https://github.com/nodejs/node/pull/54166)
|
|
183
|
+
* \[[`7fa95d2360`](https://github.com/nodejs/node/commit/7fa95d2360)] - **meta**: bump `actions/download-artifact` from 4.1.7 to 4.1.8 (dependabot\[bot]) [#54167](https://github.com/nodejs/node/pull/54167)
|
|
184
|
+
* \[[`acc5b9a0c5`](https://github.com/nodejs/node/commit/acc5b9a0c5)] - **meta**: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot\[bot]) [#54165](https://github.com/nodejs/node/pull/54165)
|
|
185
|
+
* \[[`dede30a8d0`](https://github.com/nodejs/node/commit/dede30a8d0)] - **meta**: bump `step-security/harden-runner` from 2.8.1 to 2.9.0 (dependabot\[bot]) [#54169](https://github.com/nodejs/node/pull/54169)
|
|
186
|
+
* \[[`b733854eac`](https://github.com/nodejs/node/commit/b733854eac)] - **meta**: bump `actions/setup-node` from 4.0.2 to 4.0.3 (dependabot\[bot]) [#54170](https://github.com/nodejs/node/pull/54170)
|
|
187
|
+
* \[[`6a9f168cc6`](https://github.com/nodejs/node/commit/6a9f168cc6)] - **meta**: bump `github/codeql-action` from 3.25.11 to 3.25.15 (dependabot\[bot]) [#54168](https://github.com/nodejs/node/pull/54168)
|
|
188
|
+
* \[[`9bbd85e4fe`](https://github.com/nodejs/node/commit/9bbd85e4fe)] - **meta**: bump `ossf/scorecard-action` from 2.3.3 to 2.4.0 (dependabot\[bot]) [#54171](https://github.com/nodejs/node/pull/54171)
|
|
189
|
+
* \[[`33633eebd9`](https://github.com/nodejs/node/commit/33633eebd9)] - **meta**: add typescript team to codeowners (Marco Ippolito) [#54101](https://github.com/nodejs/node/pull/54101)
|
|
190
|
+
* \[[`240d9296c1`](https://github.com/nodejs/node/commit/240d9296c1)] - **(SEMVER-MINOR)** **module**: add --experimental-transform-types flag (Marco Ippolito) [#54283](https://github.com/nodejs/node/pull/54283)
|
|
191
|
+
* \[[`66dcb2a571`](https://github.com/nodejs/node/commit/66dcb2a571)] - **(SEMVER-MINOR)** **module**: unflag detect-module (Geoffrey Booth) [#53619](https://github.com/nodejs/node/pull/53619)
|
|
192
|
+
* \[[`100225fbe1`](https://github.com/nodejs/node/commit/100225fbe1)] - **module**: do not attempt to strip type when there's no source (Antoine du Hamel) [#54287](https://github.com/nodejs/node/pull/54287)
|
|
193
|
+
* \[[`1ba2000703`](https://github.com/nodejs/node/commit/1ba2000703)] - **module**: refactor ts parser loading (Marco Ippolito) [#54243](https://github.com/nodejs/node/pull/54243)
|
|
194
|
+
* \[[`13cc480030`](https://github.com/nodejs/node/commit/13cc480030)] - **module**: remove outdated comment (Michaël Zasso) [#54118](https://github.com/nodejs/node/pull/54118)
|
|
195
|
+
* \[[`e676d98435`](https://github.com/nodejs/node/commit/e676d98435)] - **module,win**: fix long path resolve (Hüseyin Açacak) [#53294](https://github.com/nodejs/node/pull/53294)
|
|
196
|
+
* \[[`9aec536083`](https://github.com/nodejs/node/commit/9aec536083)] - **path**: change `posix.join` to use array (Wiyeong Seo) [#54331](https://github.com/nodejs/node/pull/54331)
|
|
197
|
+
* \[[`8a770cf5c9`](https://github.com/nodejs/node/commit/8a770cf5c9)] - **path**: fix relative on Windows (Hüseyin Açacak) [#53991](https://github.com/nodejs/node/pull/53991)
|
|
198
|
+
* \[[`267cd7f361`](https://github.com/nodejs/node/commit/267cd7f361)] - **path**: use the correct name in `validateString` (Benjamin Pasero) [#53669](https://github.com/nodejs/node/pull/53669)
|
|
199
|
+
* \[[`31adeea855`](https://github.com/nodejs/node/commit/31adeea855)] - **sea**: don't set code cache flags when snapshot is used (Joyee Cheung) [#54120](https://github.com/nodejs/node/pull/54120)
|
|
200
|
+
* \[[`7f1bf1ce24`](https://github.com/nodejs/node/commit/7f1bf1ce24)] - **sqlite**: split up large test file (Colin Ihrig) [#54014](https://github.com/nodejs/node/pull/54014)
|
|
201
|
+
* \[[`94e2ea6f5c`](https://github.com/nodejs/node/commit/94e2ea6f5c)] - **sqlite**: ensure statement finalization on db close (Colin Ihrig) [#54014](https://github.com/nodejs/node/pull/54014)
|
|
202
|
+
* \[[`e077ff1f38`](https://github.com/nodejs/node/commit/e077ff1f38)] - **src**: update compile cache storage structure (Joyee Cheung) [#54291](https://github.com/nodejs/node/pull/54291)
|
|
203
|
+
* \[[`4e4d1def7e`](https://github.com/nodejs/node/commit/4e4d1def7e)] - **src**: refactor http parser binding initialization (Joyee Cheung) [#54276](https://github.com/nodejs/node/pull/54276)
|
|
204
|
+
* \[[`409d9eb09b`](https://github.com/nodejs/node/commit/409d9eb09b)] - **src**: shift even moar x509 to ncrypto (James M Snell) [#54340](https://github.com/nodejs/node/pull/54340)
|
|
205
|
+
* \[[`f87aa27274`](https://github.com/nodejs/node/commit/f87aa27274)] - **src**: don't match after `--` in `Dotenv::GetPathFromArgs` (Aviv Keller) [#54237](https://github.com/nodejs/node/pull/54237)
|
|
206
|
+
* \[[`b6927dd981`](https://github.com/nodejs/node/commit/b6927dd981)] - **src**: move some X509Certificate stuff to ncrypto (James M Snell) [#54241](https://github.com/nodejs/node/pull/54241)
|
|
207
|
+
* \[[`a394219fa5`](https://github.com/nodejs/node/commit/a394219fa5)] - **src**: skip inspector wait in internal workers (Chengzhong Wu) [#54219](https://github.com/nodejs/node/pull/54219)
|
|
208
|
+
* \[[`8daeccfe92`](https://github.com/nodejs/node/commit/8daeccfe92)] - **src**: shift more crypto impl details to ncrypto (James M Snell) [#54028](https://github.com/nodejs/node/pull/54028)
|
|
209
|
+
* \[[`e619133ac9`](https://github.com/nodejs/node/commit/e619133ac9)] - **src**: move spkac methods to ncrypto (James M Snell) [#53985](https://github.com/nodejs/node/pull/53985)
|
|
210
|
+
* \[[`b52c2fff75`](https://github.com/nodejs/node/commit/b52c2fff75)] - **src**: account for OpenSSL unexpected version (Shelley Vohr) [#54038](https://github.com/nodejs/node/pull/54038)
|
|
211
|
+
* \[[`0b16af1689`](https://github.com/nodejs/node/commit/0b16af1689)] - **src,test**: track `URL.canParse` fast API calls (Michaël Zasso) [#54356](https://github.com/nodejs/node/pull/54356)
|
|
212
|
+
* \[[`2be78b03c3`](https://github.com/nodejs/node/commit/2be78b03c3)] - **src,test**: ensure that V8 fast APIs are called (Michaël Zasso) [#54317](https://github.com/nodejs/node/pull/54317)
|
|
213
|
+
* \[[`9297d29cdb`](https://github.com/nodejs/node/commit/9297d29cdb)] - **stream**: make checking pendingcb on WritableStream backward compatible (jakecastelli) [#54142](https://github.com/nodejs/node/pull/54142)
|
|
214
|
+
* \[[`2a6a12e493`](https://github.com/nodejs/node/commit/2a6a12e493)] - **stream**: throw TypeError when criteria fulfilled in getIterator (jakecastelli) [#53825](https://github.com/nodejs/node/pull/53825)
|
|
215
|
+
* \[[`7f68cc0f7f`](https://github.com/nodejs/node/commit/7f68cc0f7f)] - **test**: make snapshot comparison more flexible (Shelley Vohr) [#54375](https://github.com/nodejs/node/pull/54375)
|
|
216
|
+
* \[[`3df7938832`](https://github.com/nodejs/node/commit/3df7938832)] - **test**: make sure current run result is pushed and reset (jakecastelli) [#54332](https://github.com/nodejs/node/pull/54332)
|
|
217
|
+
* \[[`3e25be7b28`](https://github.com/nodejs/node/commit/3e25be7b28)] - **test**: use relative paths in test-cli-permission tests (sendoru) [#54188](https://github.com/nodejs/node/pull/54188)
|
|
218
|
+
* \[[`f49f1bb3e9`](https://github.com/nodejs/node/commit/f49f1bb3e9)] - **test**: unmark test-sqlite as flaky (Colin Ihrig) [#54014](https://github.com/nodejs/node/pull/54014)
|
|
219
|
+
* \[[`2f68a74702`](https://github.com/nodejs/node/commit/2f68a74702)] - **test**: fix timeout not being cleared (Isaac-yz-Liu) [#54242](https://github.com/nodejs/node/pull/54242)
|
|
220
|
+
* \[[`f5cfa4454e`](https://github.com/nodejs/node/commit/f5cfa4454e)] - **test**: refactor `test-runner-module-mocking` (Antoine du Hamel) [#54233](https://github.com/nodejs/node/pull/54233)
|
|
221
|
+
* \[[`b85b13b418`](https://github.com/nodejs/node/commit/b85b13b418)] - **test**: use assert.{s,deepS}trictEqual() (Luigi Pinca) [#54208](https://github.com/nodejs/node/pull/54208)
|
|
222
|
+
* \[[`6bcbfcd7bc`](https://github.com/nodejs/node/commit/6bcbfcd7bc)] - **test**: add subtests to test-node-run (sungpaks) [#54204](https://github.com/nodejs/node/pull/54204)
|
|
223
|
+
* \[[`dafe97548f`](https://github.com/nodejs/node/commit/dafe97548f)] - **test**: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) [#54115](https://github.com/nodejs/node/pull/54115)
|
|
224
|
+
* \[[`be61793db5`](https://github.com/nodejs/node/commit/be61793db5)] - **test**: update wpt test for streams (devstone) [#54129](https://github.com/nodejs/node/pull/54129)
|
|
225
|
+
* \[[`670c796449`](https://github.com/nodejs/node/commit/670c796449)] - **test**: fix typo in test (Sonny) [#54137](https://github.com/nodejs/node/pull/54137)
|
|
226
|
+
* \[[`1a15f3f613`](https://github.com/nodejs/node/commit/1a15f3f613)] - **test**: add initial pull delay and prototype pollution prevention tests (Sonny) [#54061](https://github.com/nodejs/node/pull/54061)
|
|
227
|
+
* \[[`5dbff81b71`](https://github.com/nodejs/node/commit/5dbff81b71)] - **test**: add coverage for webstorage quota (jakecastelli) [#53964](https://github.com/nodejs/node/pull/53964)
|
|
228
|
+
* \[[`141e9fe7cc`](https://github.com/nodejs/node/commit/141e9fe7cc)] - **test\_runner**: use validateStringArray for `timers.enable()` (Deokjin Kim) [#49534](https://github.com/nodejs/node/pull/49534)
|
|
229
|
+
* \[[`e70711e190`](https://github.com/nodejs/node/commit/e70711e190)] - **test\_runner**: report failures in filtered suites (Colin Ihrig) [#54387](https://github.com/nodejs/node/pull/54387)
|
|
230
|
+
* \[[`7766c1dc9b`](https://github.com/nodejs/node/commit/7766c1dc9b)] - **test\_runner**: remove parseCommandLine() from test.js (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
|
|
231
|
+
* \[[`961cbf0be0`](https://github.com/nodejs/node/commit/961cbf0be0)] - **test\_runner**: refactor hook creation (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
|
|
232
|
+
* \[[`69c78ca2f5`](https://github.com/nodejs/node/commit/69c78ca2f5)] - **test\_runner**: return setup() from parseCommandLine() (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
|
|
233
|
+
* \[[`ed1ede8c26`](https://github.com/nodejs/node/commit/ed1ede8c26)] - **test\_runner**: pass global options to createTestTree() (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
|
|
234
|
+
* \[[`1e88045a69`](https://github.com/nodejs/node/commit/1e88045a69)] - **test\_runner**: pass harness object as option to root test (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
|
|
235
|
+
* \[[`e3378f0679`](https://github.com/nodejs/node/commit/e3378f0679)] - **test\_runner**: use run() argument names in parseCommandLine() (Colin Ihrig) [#54353](https://github.com/nodejs/node/pull/54353)
|
|
236
|
+
* \[[`676bbd5c09`](https://github.com/nodejs/node/commit/676bbd5c09)] - **test\_runner**: fix delete test file cause dependency file not watched (jakecastelli) [#53533](https://github.com/nodejs/node/pull/53533)
|
|
237
|
+
* \[[`fe793a6103`](https://github.com/nodejs/node/commit/fe793a6103)] - **test\_runner**: do not expose internal loader (Antoine du Hamel) [#54106](https://github.com/nodejs/node/pull/54106)
|
|
238
|
+
* \[[`7fad771bbf`](https://github.com/nodejs/node/commit/7fad771bbf)] - **test\_runner**: fix erroneous diagnostic warning when only: false (Pietro Marchini) [#54116](https://github.com/nodejs/node/pull/54116)
|
|
239
|
+
* \[[`dc465736fb`](https://github.com/nodejs/node/commit/dc465736fb)] - **test\_runner**: make mock\_loader not confuse CJS and ESM resolution (Sung Ye In) [#53846](https://github.com/nodejs/node/pull/53846)
|
|
240
|
+
* \[[`5a1afb2139`](https://github.com/nodejs/node/commit/5a1afb2139)] - **test\_runner**: remove outdated comment (Colin Ihrig) [#54146](https://github.com/nodejs/node/pull/54146)
|
|
241
|
+
* \[[`20a01fcc39`](https://github.com/nodejs/node/commit/20a01fcc39)] - **test\_runner**: run after hooks even if test is aborted (Colin Ihrig) [#54151](https://github.com/nodejs/node/pull/54151)
|
|
242
|
+
* \[[`df428adb6c`](https://github.com/nodejs/node/commit/df428adb6c)] - **tools**: remove header from c-ares license (Aviv Keller) [#54335](https://github.com/nodejs/node/pull/54335)
|
|
243
|
+
* \[[`b659fc0f2b`](https://github.com/nodejs/node/commit/b659fc0f2b)] - **tools**: add find pyenv path on windows (Marco Ippolito) [#54314](https://github.com/nodejs/node/pull/54314)
|
|
244
|
+
* \[[`b93c6d9f38`](https://github.com/nodejs/node/commit/b93c6d9f38)] - **tools**: make undici updater build wasm from src (Michael Dawson) [#54128](https://github.com/nodejs/node/pull/54128)
|
|
245
|
+
* \[[`3835131559`](https://github.com/nodejs/node/commit/3835131559)] - **tools**: add workflow to ensure `README` lists are in sync with gh teams (Antoine du Hamel) [#53901](https://github.com/nodejs/node/pull/53901)
|
|
246
|
+
* \[[`e218b7ca8a`](https://github.com/nodejs/node/commit/e218b7ca8a)] - **tools**: add strip-types to label system (Marco Ippolito) [#54185](https://github.com/nodejs/node/pull/54185)
|
|
247
|
+
* \[[`8b35f0e601`](https://github.com/nodejs/node/commit/8b35f0e601)] - **tools**: update eslint to 9.8.0 (Node.js GitHub Bot) [#54073](https://github.com/nodejs/node/pull/54073)
|
|
248
|
+
* \[[`d83421fbe5`](https://github.com/nodejs/node/commit/d83421fbe5)] - **tty**: initialize winSize array with values (Michaël Zasso) [#54281](https://github.com/nodejs/node/pull/54281)
|
|
249
|
+
* \[[`a4768374f2`](https://github.com/nodejs/node/commit/a4768374f2)] - **typings**: add util.styleText type definition (Rafael Gonzaga) [#54252](https://github.com/nodejs/node/pull/54252)
|
|
250
|
+
* \[[`a4aecd2755`](https://github.com/nodejs/node/commit/a4aecd2755)] - **typings**: add missing binding function `writeFileUtf8()` (Jungku Lee) [#54110](https://github.com/nodejs/node/pull/54110)
|
|
251
|
+
* \[[`0bed600df9`](https://github.com/nodejs/node/commit/0bed600df9)] - **url**: modify pathToFileURL to handle extended UNC path (Early Riser) [#54262](https://github.com/nodejs/node/pull/54262)
|
|
252
|
+
* \[[`037672f15d`](https://github.com/nodejs/node/commit/037672f15d)] - **url**: improve resolveObject with ObjectAssign (Early Riser) [#54092](https://github.com/nodejs/node/pull/54092)
|
|
253
|
+
* \[[`4d8b53e475`](https://github.com/nodejs/node/commit/4d8b53e475)] - **watch**: reload changes in contents of --env-file (Marek Piechut) [#54109](https://github.com/nodejs/node/pull/54109)
|
|
254
|
+
|
|
255
|
+
<a id="22.6.0"></a>
|
|
256
|
+
|
|
257
|
+
## 2024-08-06, Version 22.6.0 (Current), @RafaelGSS
|
|
258
|
+
|
|
259
|
+
### Experimental TypeScript support via strip types
|
|
260
|
+
|
|
261
|
+
Node.js introduces the `--experimental-strip-types` flag for initial TypeScript support.
|
|
262
|
+
This feature strips type annotations from .ts files, allowing them to run
|
|
263
|
+
without transforming TypeScript-specific syntax. Current limitations include:
|
|
264
|
+
|
|
265
|
+
* Supports only inline type annotations, not features like `enums` or `namespaces`.
|
|
266
|
+
* Requires explicit file extensions in import and require statements.
|
|
267
|
+
* Enforces the use of the type keyword for type imports to avoid runtime errors.
|
|
268
|
+
* Disabled for TypeScript in _node\_modules_ by default.
|
|
269
|
+
|
|
270
|
+
Thanks [Marco Ippolito](https://github.com/marco-ippolito) for working on this.
|
|
271
|
+
|
|
272
|
+
### Experimental Network Inspection Support in Node.js
|
|
273
|
+
|
|
274
|
+
This update introduces the initial support for network inspection in Node.js.
|
|
275
|
+
Currently, this is an experimental feature, so you need to enable it using the `--experimental-network-inspection` flag.
|
|
276
|
+
With this feature enabled, you can inspect network activities occurring within a JavaScript application.
|
|
277
|
+
|
|
278
|
+
To use network inspection, start your Node.js application with the following command:
|
|
279
|
+
|
|
280
|
+
```console
|
|
281
|
+
$ node --inspect-wait --experimental-network-inspection index.js
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Please note that the network inspection capabilities are in active development.
|
|
285
|
+
We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
|
|
286
|
+
|
|
287
|
+
* Network inspection is limited to the `http` and `https` modules only.
|
|
288
|
+
* The Network tab in Chrome DevTools will not be available until the
|
|
289
|
+
[feature request on the Chrome DevTools side](https://issues.chromium.org/issues/353924015) is addressed.
|
|
290
|
+
|
|
291
|
+
Thanks [Kohei Ueno](https://github.com/cola119) for working on this.
|
|
292
|
+
|
|
293
|
+
### Other Notable Changes
|
|
294
|
+
|
|
295
|
+
* \[[`15a94e67b1`](https://github.com/nodejs/node/commit/15a94e67b1)] - **lib,src**: drop --experimental-network-imports (Rafael Gonzaga) [#53822](https://github.com/nodejs/node/pull/53822)
|
|
296
|
+
* \[[`68e444d2d8`](https://github.com/nodejs/node/commit/68e444d2d8)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://github.com/nodejs/node/pull/54054)
|
|
297
|
+
* \[[`2d982d3dee`](https://github.com/nodejs/node/commit/2d982d3dee)] - **(SEMVER-MINOR)** **deps**: V8: backport 7857eb34db42 (Stephen Belanger) [#53997](https://github.com/nodejs/node/pull/53997)
|
|
298
|
+
* \[[`15816bd0dd`](https://github.com/nodejs/node/commit/15816bd0dd)] - **(SEMVER-MINOR)** **stream**: expose DuplexPair API (Austin Wright) [#34111](https://github.com/nodejs/node/pull/34111)
|
|
299
|
+
* \[[`893c864542`](https://github.com/nodejs/node/commit/893c864542)] - **(SEMVER-MINOR)** **test\_runner**: fix support watch with run(), add globPatterns option (Matteo Collina) [#53866](https://github.com/nodejs/node/pull/53866)
|
|
300
|
+
* \[[`048d421ad1`](https://github.com/nodejs/node/commit/048d421ad1)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://github.com/nodejs/node/pull/54004)
|
|
301
|
+
* \[[`6ad6e01bf3`](https://github.com/nodejs/node/commit/6ad6e01bf3)] - **(SEMVER-MINOR)** **test\_runner**: refactor snapshots to get file from context (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
|
|
302
|
+
* \[[`698e44f8e7`](https://github.com/nodejs/node/commit/698e44f8e7)] - **(SEMVER-MINOR)** **test\_runner**: add context.filePath (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
|
|
303
|
+
|
|
304
|
+
### Commits
|
|
305
|
+
|
|
306
|
+
* \[[`063f46dc2a`](https://github.com/nodejs/node/commit/063f46dc2a)] - **assert**: use isError instead of instanceof in innerOk (Pietro Marchini) [#53980](https://github.com/nodejs/node/pull/53980)
|
|
307
|
+
* \[[`10bea42f81`](https://github.com/nodejs/node/commit/10bea42f81)] - **build**: update gcovr to 7.2 and codecov config (Benjamin E. Coe) [#54019](https://github.com/nodejs/node/pull/54019)
|
|
308
|
+
* \[[`7c417c6cf4`](https://github.com/nodejs/node/commit/7c417c6cf4)] - **build**: avoid compiling with VS v17.10 (Hüseyin Açacak) [#53863](https://github.com/nodejs/node/pull/53863)
|
|
309
|
+
* \[[`ee97c045b4`](https://github.com/nodejs/node/commit/ee97c045b4)] - **build**: ensure v8\_pointer\_compression\_sandbox is enabled on 64bit (Shelley Vohr) [#53884](https://github.com/nodejs/node/pull/53884)
|
|
310
|
+
* \[[`bfbed0afd5`](https://github.com/nodejs/node/commit/bfbed0afd5)] - **build**: fix conflict gyp configs (Chengzhong Wu) [#53605](https://github.com/nodejs/node/pull/53605)
|
|
311
|
+
* \[[`0f1fe63e32`](https://github.com/nodejs/node/commit/0f1fe63e32)] - **build**: trigger coverage ci when updating codecov (Yagiz Nizipli) [#53929](https://github.com/nodejs/node/pull/53929)
|
|
312
|
+
* \[[`ad62b945f0`](https://github.com/nodejs/node/commit/ad62b945f0)] - **build**: update codecov coverage build count (Yagiz Nizipli) [#53929](https://github.com/nodejs/node/pull/53929)
|
|
313
|
+
* \[[`3c40868fd3`](https://github.com/nodejs/node/commit/3c40868fd3)] - **build**: disable test-asan workflow (Michaël Zasso) [#53844](https://github.com/nodejs/node/pull/53844)
|
|
314
|
+
* \[[`2a62d6ca57`](https://github.com/nodejs/node/commit/2a62d6ca57)] - **build, tools**: drop leading `/` from `r2dir` (Richard Lau) [#53951](https://github.com/nodejs/node/pull/53951)
|
|
315
|
+
* \[[`9c7b009f47`](https://github.com/nodejs/node/commit/9c7b009f47)] - **build,tools**: simplify upload of shasum signatures (Michaël Zasso) [#53892](https://github.com/nodejs/node/pull/53892)
|
|
316
|
+
* \[[`057bd44f9f`](https://github.com/nodejs/node/commit/057bd44f9f)] - **child\_process**: fix incomplete prototype pollution hardening (Liran Tal) [#53781](https://github.com/nodejs/node/pull/53781)
|
|
317
|
+
* \[[`66f7c595c7`](https://github.com/nodejs/node/commit/66f7c595c7)] - **cli**: document `--inspect` port `0` behavior (Aviv Keller) [#53782](https://github.com/nodejs/node/pull/53782)
|
|
318
|
+
* \[[`fad3e74b47`](https://github.com/nodejs/node/commit/fad3e74b47)] - **console**: fix issues with frozen intrinsics (Vinicius Lourenço) [#54070](https://github.com/nodejs/node/pull/54070)
|
|
319
|
+
* \[[`e685ecd7ae`](https://github.com/nodejs/node/commit/e685ecd7ae)] - **deps**: update corepack to 0.29.3 (Node.js GitHub Bot) [#54072](https://github.com/nodejs/node/pull/54072)
|
|
320
|
+
* \[[`e5f7250e6d`](https://github.com/nodejs/node/commit/e5f7250e6d)] - **deps**: update amaro to 0.0.6 (Node.js GitHub Bot) [#54199](https://github.com/nodejs/node/pull/54199)
|
|
321
|
+
* \[[`2c1e9082e8`](https://github.com/nodejs/node/commit/2c1e9082e8)] - **deps**: update amaro to 0.0.5 (Node.js GitHub Bot) [#54199](https://github.com/nodejs/node/pull/54199)
|
|
322
|
+
* \[[`2d982d3dee`](https://github.com/nodejs/node/commit/2d982d3dee)] - **(SEMVER-MINOR)** **deps**: V8: backport 7857eb34db42 (Stephen Belanger) [#53997](https://github.com/nodejs/node/pull/53997)
|
|
323
|
+
* \[[`1061898462`](https://github.com/nodejs/node/commit/1061898462)] - **deps**: update c-ares to v1.32.3 (Node.js GitHub Bot) [#54020](https://github.com/nodejs/node/pull/54020)
|
|
324
|
+
* \[[`f4a7ac5e18`](https://github.com/nodejs/node/commit/f4a7ac5e18)] - **deps**: V8: cherry-pick 35888fee7bba (Joyee Cheung) [#53728](https://github.com/nodejs/node/pull/53728)
|
|
325
|
+
* \[[`1176310226`](https://github.com/nodejs/node/commit/1176310226)] - **deps**: add gn build files for ncrypto (Cheng) [#53940](https://github.com/nodejs/node/pull/53940)
|
|
326
|
+
* \[[`7a1d5a4f84`](https://github.com/nodejs/node/commit/7a1d5a4f84)] - **deps**: update c-ares to v1.32.2 (Node.js GitHub Bot) [#53865](https://github.com/nodejs/node/pull/53865)
|
|
327
|
+
* \[[`66f6a2aec9`](https://github.com/nodejs/node/commit/66f6a2aec9)] - **deps**: V8: cherry-pick 9812cb486e2b (Michaël Zasso) [#53966](https://github.com/nodejs/node/pull/53966)
|
|
328
|
+
* \[[`8e66a18ef0`](https://github.com/nodejs/node/commit/8e66a18ef0)] - **deps**: start working on ncrypto dep (James M Snell) [#53803](https://github.com/nodejs/node/pull/53803)
|
|
329
|
+
* \[[`c114082b12`](https://github.com/nodejs/node/commit/c114082b12)] - **deps**: fix include\_dirs of nbytes (Cheng) [#53862](https://github.com/nodejs/node/pull/53862)
|
|
330
|
+
* \[[`b7315281be`](https://github.com/nodejs/node/commit/b7315281be)] - **doc**: move numCPUs require to top of file in cluster CJS example (Alfredo González) [#53932](https://github.com/nodejs/node/pull/53932)
|
|
331
|
+
* \[[`8e7c30c2a4`](https://github.com/nodejs/node/commit/8e7c30c2a4)] - **doc**: update security-release process to automated one (Rafael Gonzaga) [#53877](https://github.com/nodejs/node/pull/53877)
|
|
332
|
+
* \[[`52a4206be2`](https://github.com/nodejs/node/commit/52a4206be2)] - **doc**: fix typo in technical-priorities.md (YoonSoo\_Shin) [#54094](https://github.com/nodejs/node/pull/54094)
|
|
333
|
+
* \[[`30e18a04a3`](https://github.com/nodejs/node/commit/30e18a04a3)] - **doc**: fix typo in diagnostic tooling support tiers document (Taejin Kim) [#54058](https://github.com/nodejs/node/pull/54058)
|
|
334
|
+
* \[[`58aebfd31e`](https://github.com/nodejs/node/commit/58aebfd31e)] - **doc**: move GeoffreyBooth to TSC regular member (Geoffrey Booth) [#54047](https://github.com/nodejs/node/pull/54047)
|
|
335
|
+
* \[[`c1634c7213`](https://github.com/nodejs/node/commit/c1634c7213)] - **doc**: correct typescript stdin support (Marco Ippolito) [#54036](https://github.com/nodejs/node/pull/54036)
|
|
336
|
+
* \[[`64812d5c22`](https://github.com/nodejs/node/commit/64812d5c22)] - **doc**: fix typo in recognizing-contributors (Marco Ippolito) [#53990](https://github.com/nodejs/node/pull/53990)
|
|
337
|
+
* \[[`6b35994b6f`](https://github.com/nodejs/node/commit/6b35994b6f)] - **doc**: fix documentation for `--run` (Aviv Keller) [#53976](https://github.com/nodejs/node/pull/53976)
|
|
338
|
+
* \[[`04d203a233`](https://github.com/nodejs/node/commit/04d203a233)] - **doc**: update boxstarter README (Aviv Keller) [#53785](https://github.com/nodejs/node/pull/53785)
|
|
339
|
+
* \[[`86fa46db1c`](https://github.com/nodejs/node/commit/86fa46db1c)] - **doc**: add info about prefix-only modules to `module.builtinModules` (Grigory) [#53954](https://github.com/nodejs/node/pull/53954)
|
|
340
|
+
* \[[`defdc3c568`](https://github.com/nodejs/node/commit/defdc3c568)] - **doc**: remove `scroll-behavior: smooth;` (Cloyd Lau) [#53942](https://github.com/nodejs/node/pull/53942)
|
|
341
|
+
* \[[`e907236dd9`](https://github.com/nodejs/node/commit/e907236dd9)] - **doc**: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) [#53926](https://github.com/nodejs/node/pull/53926)
|
|
342
|
+
* \[[`8bf9960b98`](https://github.com/nodejs/node/commit/8bf9960b98)] - **doc**: add `--experimental-sqlite` note (Aviv Keller) [#53907](https://github.com/nodejs/node/pull/53907)
|
|
343
|
+
* \[[`d7615004d8`](https://github.com/nodejs/node/commit/d7615004d8)] - **doc**: update `api_assets` README for new files (Aviv Keller) [#53676](https://github.com/nodejs/node/pull/53676)
|
|
344
|
+
* \[[`63cf715aa0`](https://github.com/nodejs/node/commit/63cf715aa0)] - **doc**: add MattiasBuelens to collaborators (Mattias Buelens) [#53895](https://github.com/nodejs/node/pull/53895)
|
|
345
|
+
* \[[`5b8dd78112`](https://github.com/nodejs/node/commit/5b8dd78112)] - **doc**: fix release date for 22.5.0 (Antoine du Hamel) [#53889](https://github.com/nodejs/node/pull/53889)
|
|
346
|
+
* \[[`dd2c0f349a`](https://github.com/nodejs/node/commit/dd2c0f349a)] - **doc**: fix casing of GitHub handle for two collaborators (Antoine du Hamel) [#53857](https://github.com/nodejs/node/pull/53857)
|
|
347
|
+
* \[[`b47c2308e1`](https://github.com/nodejs/node/commit/b47c2308e1)] - **doc**: update release-post nodejs.org script (Rafael Gonzaga) [#53762](https://github.com/nodejs/node/pull/53762)
|
|
348
|
+
* \[[`88539527d5`](https://github.com/nodejs/node/commit/88539527d5)] - **doc, test**: tracing channel hasSubscribers getter (Thomas Hunter II) [#52908](https://github.com/nodejs/node/pull/52908)
|
|
349
|
+
* \[[`44a08f75b0`](https://github.com/nodejs/node/commit/44a08f75b0)] - **doc,tools**: enforce use of `node:` prefix (Antoine du Hamel) [#53950](https://github.com/nodejs/node/pull/53950)
|
|
350
|
+
* \[[`87bab76df2`](https://github.com/nodejs/node/commit/87bab76df2)] - **doc,tty**: add documentation for ReadStream and WriteStream (jakecastelli) [#53567](https://github.com/nodejs/node/pull/53567)
|
|
351
|
+
* \[[`dcca9ba560`](https://github.com/nodejs/node/commit/dcca9ba560)] - **esm**: refactor `get_format` (Antoine du Hamel) [#53872](https://github.com/nodejs/node/pull/53872)
|
|
352
|
+
* \[[`5e03c17aae`](https://github.com/nodejs/node/commit/5e03c17aae)] - **fs**: optimize `fs.cpSync` js calls (Yagiz Nizipli) [#53614](https://github.com/nodejs/node/pull/53614)
|
|
353
|
+
* \[[`e0054ee0a7`](https://github.com/nodejs/node/commit/e0054ee0a7)] - **fs**: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) [#53776](https://github.com/nodejs/node/pull/53776)
|
|
354
|
+
* \[[`8086337ea9`](https://github.com/nodejs/node/commit/8086337ea9)] - **fs**: remove unnecessary option argument validation (Jonas) [#53861](https://github.com/nodejs/node/pull/53861)
|
|
355
|
+
* \[[`b377b93a3f`](https://github.com/nodejs/node/commit/b377b93a3f)] - **fs**: correctly pass dirent to exclude `withFileTypes` (RedYetiDev) [#53823](https://github.com/nodejs/node/pull/53823)
|
|
356
|
+
* \[[`68e444d2d8`](https://github.com/nodejs/node/commit/68e444d2d8)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://github.com/nodejs/node/pull/54054)
|
|
357
|
+
* \[[`de1fbc292f`](https://github.com/nodejs/node/commit/de1fbc292f)] - **(SEMVER-MINOR)** **inspector**: add initial support for network inspection (Kohei Ueno) [#53593](https://github.com/nodejs/node/pull/53593)
|
|
358
|
+
* \[[`744df0be24`](https://github.com/nodejs/node/commit/744df0be24)] - **lib**: support dynamic trace events on debugWithTimer (Vinicius Lourenço) [#53913](https://github.com/nodejs/node/pull/53913)
|
|
359
|
+
* \[[`546dab29c1`](https://github.com/nodejs/node/commit/546dab29c1)] - **lib**: optimize copyError with ObjectAssign in primordials (HEESEUNG) [#53999](https://github.com/nodejs/node/pull/53999)
|
|
360
|
+
* \[[`494df9835a`](https://github.com/nodejs/node/commit/494df9835a)] - **lib**: improve cluster/primary code (Ehsan Khakifirooz) [#53756](https://github.com/nodejs/node/pull/53756)
|
|
361
|
+
* \[[`03f353293b`](https://github.com/nodejs/node/commit/03f353293b)] - **lib**: improve error message when index not found on cjs (Vinicius Lourenço) [#53859](https://github.com/nodejs/node/pull/53859)
|
|
362
|
+
* \[[`d8375d6236`](https://github.com/nodejs/node/commit/d8375d6236)] - **lib**: decorate async stack trace in source maps (Chengzhong Wu) [#53860](https://github.com/nodejs/node/pull/53860)
|
|
363
|
+
* \[[`15a94e67b1`](https://github.com/nodejs/node/commit/15a94e67b1)] - **lib,src**: drop --experimental-network-imports (Rafael Gonzaga) [#53822](https://github.com/nodejs/node/pull/53822)
|
|
364
|
+
* \[[`a6eedc401d`](https://github.com/nodejs/node/commit/a6eedc401d)] - **meta**: add `sqlite` to js subsystems (Alex Yang) [#53911](https://github.com/nodejs/node/pull/53911)
|
|
365
|
+
* \[[`21098856de`](https://github.com/nodejs/node/commit/21098856de)] - **meta**: move tsc member to emeritus (Michael Dawson) [#54029](https://github.com/nodejs/node/pull/54029)
|
|
366
|
+
* \[[`048d421ad1`](https://github.com/nodejs/node/commit/048d421ad1)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://github.com/nodejs/node/pull/54004)
|
|
367
|
+
* \[[`20a8c96c41`](https://github.com/nodejs/node/commit/20a8c96c41)] - **meta**: remove license for hljs (Aviv Keller) [#53970](https://github.com/nodejs/node/pull/53970)
|
|
368
|
+
* \[[`2fd4ac4859`](https://github.com/nodejs/node/commit/2fd4ac4859)] - **meta**: make more bug-report information required (Aviv Keller) [#53718](https://github.com/nodejs/node/pull/53718)
|
|
369
|
+
* \[[`b312ec0b0c`](https://github.com/nodejs/node/commit/b312ec0b0c)] - **meta**: reword linter messages (Aviv Keller) [#53949](https://github.com/nodejs/node/pull/53949)
|
|
370
|
+
* \[[`d2526126a9`](https://github.com/nodejs/node/commit/d2526126a9)] - **meta**: store actions secrets in environment (Aviv Keller) [#53930](https://github.com/nodejs/node/pull/53930)
|
|
371
|
+
* \[[`1688f00dce`](https://github.com/nodejs/node/commit/1688f00dce)] - **meta**: move anonrig to tsc voting members (Yagiz Nizipli) [#53888](https://github.com/nodejs/node/pull/53888)
|
|
372
|
+
* \[[`c20e8418de`](https://github.com/nodejs/node/commit/c20e8418de)] - **module**: fix strip-types interaction with detect-module (Marco Ippolito) [#54164](https://github.com/nodejs/node/pull/54164)
|
|
373
|
+
* \[[`ab1f0b415f`](https://github.com/nodejs/node/commit/ab1f0b415f)] - **module**: fix extensionless typescript in cjs loader (Marco Ippolito) [#54062](https://github.com/nodejs/node/pull/54062)
|
|
374
|
+
* \[[`92439fc160`](https://github.com/nodejs/node/commit/92439fc160)] - **(SEMVER-MINOR)** **module**: add --experimental-strip-types (Marco Ippolito) [#53725](https://github.com/nodejs/node/pull/53725)
|
|
375
|
+
* \[[`f755d31bec`](https://github.com/nodejs/node/commit/f755d31bec)] - **node-api**: add property keys benchmark (Chengzhong Wu) [#54012](https://github.com/nodejs/node/pull/54012)
|
|
376
|
+
* \[[`7382eefae5`](https://github.com/nodejs/node/commit/7382eefae5)] - **node-api**: rename nogc to basic (Gabriel Schulhof) [#53830](https://github.com/nodejs/node/pull/53830)
|
|
377
|
+
* \[[`2c4470625b`](https://github.com/nodejs/node/commit/2c4470625b)] - **process**: unify experimental warning messages (Aviv Keller) [#53704](https://github.com/nodejs/node/pull/53704)
|
|
378
|
+
* \[[`98a7ad2e0d`](https://github.com/nodejs/node/commit/98a7ad2e0d)] - **src**: expose LookupAndCompile with parameters (Shelley Vohr) [#53886](https://github.com/nodejs/node/pull/53886)
|
|
379
|
+
* \[[`dd3c66be0a`](https://github.com/nodejs/node/commit/dd3c66be0a)] - **src**: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) [#53890](https://github.com/nodejs/node/pull/53890)
|
|
380
|
+
* \[[`ee82f224ff`](https://github.com/nodejs/node/commit/ee82f224ff)] - **src**: remove redundant RsaPointer (use RSAPointer) (James M Snell) [#54003](https://github.com/nodejs/node/pull/54003)
|
|
381
|
+
* \[[`2d77bd2929`](https://github.com/nodejs/node/commit/2d77bd2929)] - **src**: fix -Wshadow warning (Shelley Vohr) [#53885](https://github.com/nodejs/node/pull/53885)
|
|
382
|
+
* \[[`bd4a9ffe8c`](https://github.com/nodejs/node/commit/bd4a9ffe8c)] - **src**: start using ncrypto for CSPRNG calls (James M Snell) [#53984](https://github.com/nodejs/node/pull/53984)
|
|
383
|
+
* \[[`3fdcf7a47d`](https://github.com/nodejs/node/commit/3fdcf7a47d)] - **src**: return `undefined` if no rows are returned in SQLite (Deokjin Kim) [#53981](https://github.com/nodejs/node/pull/53981)
|
|
384
|
+
* \[[`ca6854443d`](https://github.com/nodejs/node/commit/ca6854443d)] - **src**: fix slice of slice of file-backed Blob (Josh Lee) [#53972](https://github.com/nodejs/node/pull/53972)
|
|
385
|
+
* \[[`c457f9ed5a`](https://github.com/nodejs/node/commit/c457f9ed5a)] - **src**: cache invariant code motion (Rafael Gonzaga) [#53879](https://github.com/nodejs/node/pull/53879)
|
|
386
|
+
* \[[`fd0da6c2cf`](https://github.com/nodejs/node/commit/fd0da6c2cf)] - **src**: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) [#53813](https://github.com/nodejs/node/pull/53813)
|
|
387
|
+
* \[[`fbf74bcf99`](https://github.com/nodejs/node/commit/fbf74bcf99)] - **src**: switch from ToLocalChecked to ToLocal in node\_webstorage (James M Snell) [#53959](https://github.com/nodejs/node/pull/53959)
|
|
388
|
+
* \[[`04bb6778e5`](https://github.com/nodejs/node/commit/04bb6778e5)] - **src**: move `ToNamespacedPath` call of webstorage (Yagiz Nizipli) [#53875](https://github.com/nodejs/node/pull/53875)
|
|
389
|
+
* \[[`9ffaf763e9`](https://github.com/nodejs/node/commit/9ffaf763e9)] - **src**: use Maybe\<void> in SecureContext (Tobias Nießen) [#53883](https://github.com/nodejs/node/pull/53883)
|
|
390
|
+
* \[[`a94c3ae06f`](https://github.com/nodejs/node/commit/a94c3ae06f)] - **src**: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) [#53869](https://github.com/nodejs/node/pull/53869)
|
|
391
|
+
* \[[`55461be05f`](https://github.com/nodejs/node/commit/55461be05f)] - **src**: refactor webstorage implementation (Yagiz Nizipli) [#53876](https://github.com/nodejs/node/pull/53876)
|
|
392
|
+
* \[[`c53cf449a6`](https://github.com/nodejs/node/commit/c53cf449a6)] - **src**: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) [#53786](https://github.com/nodejs/node/pull/53786)
|
|
393
|
+
* \[[`bac3a485f6`](https://github.com/nodejs/node/commit/bac3a485f6)] - **src**: fix potential segmentation fault in SQLite (Tobias Nießen) [#53850](https://github.com/nodejs/node/pull/53850)
|
|
394
|
+
* \[[`df5083e5f9`](https://github.com/nodejs/node/commit/df5083e5f9)] - **src,lib**: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) [#53602](https://github.com/nodejs/node/pull/53602)
|
|
395
|
+
* \[[`8664b9ad60`](https://github.com/nodejs/node/commit/8664b9ad60)] - **src,test**: disallow unsafe integer coercion in SQLite (Tobias Nießen) [#53851](https://github.com/nodejs/node/pull/53851)
|
|
396
|
+
* \[[`15816bd0dd`](https://github.com/nodejs/node/commit/15816bd0dd)] - **(SEMVER-MINOR)** **stream**: expose DuplexPair API (Austin Wright) [#34111](https://github.com/nodejs/node/pull/34111)
|
|
397
|
+
* \[[`718f6bc78c`](https://github.com/nodejs/node/commit/718f6bc78c)] - **test**: do not swallow uncaughtException errors in exit code tests (Meghan Denny) [#54039](https://github.com/nodejs/node/pull/54039)
|
|
398
|
+
* \[[`c6656c9251`](https://github.com/nodejs/node/commit/c6656c9251)] - **test**: move shared module to `test/common` (Rich Trott) [#54042](https://github.com/nodejs/node/pull/54042)
|
|
399
|
+
* \[[`e471e32d46`](https://github.com/nodejs/node/commit/e471e32d46)] - **test**: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) [#53996](https://github.com/nodejs/node/pull/53996)
|
|
400
|
+
* \[[`61971ec929`](https://github.com/nodejs/node/commit/61971ec929)] - **test**: remove unnecessary console log (KAYYY) [#53812](https://github.com/nodejs/node/pull/53812)
|
|
401
|
+
* \[[`1344bd2d6f`](https://github.com/nodejs/node/commit/1344bd2d6f)] - **test**: add comments and rename test for timer robustness (Rich Trott) [#54008](https://github.com/nodejs/node/pull/54008)
|
|
402
|
+
* \[[`da3573409c`](https://github.com/nodejs/node/commit/da3573409c)] - **test**: add test for one arg timers to increase coverage (Carlos Espa) [#54007](https://github.com/nodejs/node/pull/54007)
|
|
403
|
+
* \[[`fc67abd97e`](https://github.com/nodejs/node/commit/fc67abd97e)] - **test**: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) [#54031](https://github.com/nodejs/node/pull/54031)
|
|
404
|
+
* \[[`aa0ac3b57c`](https://github.com/nodejs/node/commit/aa0ac3b57c)] - **test**: mark test-pipe-file-to-http as flaky (jakecastelli) [#53751](https://github.com/nodejs/node/pull/53751)
|
|
405
|
+
* \[[`52bc8ec360`](https://github.com/nodejs/node/commit/52bc8ec360)] - **test**: compare paths on Windows without considering case (Early Riser) [#53993](https://github.com/nodejs/node/pull/53993)
|
|
406
|
+
* \[[`7e8a609579`](https://github.com/nodejs/node/commit/7e8a609579)] - **test**: skip sea tests in large debug builds (Chengzhong Wu) [#53918](https://github.com/nodejs/node/pull/53918)
|
|
407
|
+
* \[[`30a94ca0c4`](https://github.com/nodejs/node/commit/30a94ca0c4)] - **test**: skip --title check on IBM i (Abdirahim Musse) [#53952](https://github.com/nodejs/node/pull/53952)
|
|
408
|
+
* \[[`5cea7ed706`](https://github.com/nodejs/node/commit/5cea7ed706)] - **test**: reduce flakiness of `test-assert-esm-cjs-message-verify` (Antoine du Hamel) [#53967](https://github.com/nodejs/node/pull/53967)
|
|
409
|
+
* \[[`58cb0dd8a6`](https://github.com/nodejs/node/commit/58cb0dd8a6)] - **test**: use `PYTHON` executable from env in `assertSnapshot` (Antoine du Hamel) [#53938](https://github.com/nodejs/node/pull/53938)
|
|
410
|
+
* \[[`c247582591`](https://github.com/nodejs/node/commit/c247582591)] - **test**: deflake test-blob-file-backed (Luigi Pinca) [#53920](https://github.com/nodejs/node/pull/53920)
|
|
411
|
+
* \[[`3999021653`](https://github.com/nodejs/node/commit/3999021653)] - **test\_runner**: switched to internal readline interface (Emil Tayeb) [#54000](https://github.com/nodejs/node/pull/54000)
|
|
412
|
+
* \[[`3fb97a90ee`](https://github.com/nodejs/node/commit/3fb97a90ee)] - **test\_runner**: remove redundant bootstrap boolean (Colin Ihrig) [#54013](https://github.com/nodejs/node/pull/54013)
|
|
413
|
+
* \[[`edd80e2bdc`](https://github.com/nodejs/node/commit/edd80e2bdc)] - **test\_runner**: do not throw on mocked clearTimeout() (Aksinya Bykova) [#54005](https://github.com/nodejs/node/pull/54005)
|
|
414
|
+
* \[[`893c864542`](https://github.com/nodejs/node/commit/893c864542)] - **(SEMVER-MINOR)** **test\_runner**: fix support watch with run(), add globPatterns option (Matteo Collina) [#53866](https://github.com/nodejs/node/pull/53866)
|
|
415
|
+
* \[[`4887213f2e`](https://github.com/nodejs/node/commit/4887213f2e)] - **test\_runner**: added colors to dot reporter (Giovanni) [#53450](https://github.com/nodejs/node/pull/53450)
|
|
416
|
+
* \[[`c4848c53e6`](https://github.com/nodejs/node/commit/c4848c53e6)] - **test\_runner**: cleanup global event listeners after run (Eddie Abbondanzio) [#53878](https://github.com/nodejs/node/pull/53878)
|
|
417
|
+
* \[[`876e7b3226`](https://github.com/nodejs/node/commit/876e7b3226)] - **test\_runner**: refactor coverage to pass in config options (Colin Ihrig) [#53931](https://github.com/nodejs/node/pull/53931)
|
|
418
|
+
* \[[`f45edb4b5e`](https://github.com/nodejs/node/commit/f45edb4b5e)] - **test\_runner**: refactor and simplify internals (Colin Ihrig) [#53921](https://github.com/nodejs/node/pull/53921)
|
|
419
|
+
* \[[`6ad6e01bf3`](https://github.com/nodejs/node/commit/6ad6e01bf3)] - **(SEMVER-MINOR)** **test\_runner**: refactor snapshots to get file from context (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
|
|
420
|
+
* \[[`698e44f8e7`](https://github.com/nodejs/node/commit/698e44f8e7)] - **(SEMVER-MINOR)** **test\_runner**: add context.filePath (Colin Ihrig) [#53853](https://github.com/nodejs/node/pull/53853)
|
|
421
|
+
* \[[`97da7ca11b`](https://github.com/nodejs/node/commit/97da7ca11b)] - **test\_runner**: consolidate option parsing (Colin Ihrig) [#53849](https://github.com/nodejs/node/pull/53849)
|
|
422
|
+
* \[[`43afcbf9dd`](https://github.com/nodejs/node/commit/43afcbf9dd)] - **tools**: fix `SLACK_TITLE` in invalid commit workflow (Antoine du Hamel) [#53912](https://github.com/nodejs/node/pull/53912)
|
|
423
|
+
* \[[`eed0963391`](https://github.com/nodejs/node/commit/eed0963391)] - **typings**: apply lint (1ilsang) [#54065](https://github.com/nodejs/node/pull/54065)
|
|
424
|
+
* \[[`e8ea49b256`](https://github.com/nodejs/node/commit/e8ea49b256)] - **typings**: fix typo on quic onSessionDatagram (1ilsang) [#54064](https://github.com/nodejs/node/pull/54064)
|
|
425
|
+
|
|
47
426
|
<a id="22.5.1"></a>
|
|
48
427
|
|
|
49
428
|
## 2024-07-19, Version 22.5.1 (Current), @richardlau
|
|
@@ -62,7 +441,7 @@ This release fixes a regression introduced in Node.js 22.5.0. The problem is kno
|
|
|
62
441
|
|
|
63
442
|
<a id="22.5.0"></a>
|
|
64
443
|
|
|
65
|
-
## 2024-07-
|
|
444
|
+
## 2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95
|
|
66
445
|
|
|
67
446
|
### Notable Changes
|
|
68
447
|
|
package/LICENSE
CHANGED
|
@@ -130,6 +130,31 @@ The externally maintained libraries used by Node.js are:
|
|
|
130
130
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
131
131
|
"""
|
|
132
132
|
|
|
133
|
+
- amaro, located at deps/amaro, is licensed as follows:
|
|
134
|
+
"""
|
|
135
|
+
MIT License
|
|
136
|
+
|
|
137
|
+
Copyright (c) Marco Ippolito and Amaro contributors
|
|
138
|
+
|
|
139
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
140
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
141
|
+
in the Software without restriction, including without limitation the rights
|
|
142
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
143
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
144
|
+
furnished to do so, subject to the following conditions:
|
|
145
|
+
|
|
146
|
+
The above copyright notice and this permission notice shall be included in all
|
|
147
|
+
copies or substantial portions of the Software.
|
|
148
|
+
|
|
149
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
150
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
151
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
152
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
153
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
154
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
155
|
+
SOFTWARE.
|
|
156
|
+
"""
|
|
157
|
+
|
|
133
158
|
- ICU, located at deps/icu-small, is licensed as follows:
|
|
134
159
|
"""
|
|
135
160
|
UNICODE LICENSE V3
|
|
@@ -2194,39 +2219,6 @@ The externally maintained libraries used by Node.js are:
|
|
|
2194
2219
|
THE POSSIBILITY OF SUCH DAMAGE.
|
|
2195
2220
|
"""
|
|
2196
2221
|
|
|
2197
|
-
- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows:
|
|
2198
|
-
"""
|
|
2199
|
-
BSD 3-Clause License
|
|
2200
|
-
|
|
2201
|
-
Copyright (c) 2006, Ivan Sagalaev.
|
|
2202
|
-
All rights reserved.
|
|
2203
|
-
|
|
2204
|
-
Redistribution and use in source and binary forms, with or without
|
|
2205
|
-
modification, are permitted provided that the following conditions are met:
|
|
2206
|
-
|
|
2207
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
2208
|
-
list of conditions and the following disclaimer.
|
|
2209
|
-
|
|
2210
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
|
2211
|
-
this list of conditions and the following disclaimer in the documentation
|
|
2212
|
-
and/or other materials provided with the distribution.
|
|
2213
|
-
|
|
2214
|
-
* Neither the name of the copyright holder nor the names of its
|
|
2215
|
-
contributors may be used to endorse or promote products derived from
|
|
2216
|
-
this software without specific prior written permission.
|
|
2217
|
-
|
|
2218
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
2219
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
2220
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
2221
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
2222
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
2223
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
2224
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
2225
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
2226
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
2227
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2228
|
-
"""
|
|
2229
|
-
|
|
2230
2222
|
- node-heapdump, located at src/heap_utils.cc, is licensed as follows:
|
|
2231
2223
|
"""
|
|
2232
2224
|
ISC License
|
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Looking for help? Check out the
|
|
|
43
43
|
|
|
44
44
|
* **Current**: Under active development. Code for the Current release is in the
|
|
45
45
|
branch for its major version number (for example,
|
|
46
|
-
[
|
|
46
|
+
[v22.x](https://github.com/nodejs/node/tree/v22.x)). Node.js releases a new
|
|
47
47
|
major version every 6 months, allowing for breaking changes. This happens in
|
|
48
48
|
April and October every year. Releases appearing each October have a support
|
|
49
49
|
life of 8 months. Releases appearing each April convert to LTS (see below)
|
|
@@ -112,14 +112,9 @@ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -
|
|
|
112
112
|
For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in
|
|
113
113
|
`SHASUMS256.txt.sig`. You can use it with `gpg` to verify the integrity of
|
|
114
114
|
`SHASUMS256.txt`. You will first need to import
|
|
115
|
-
[the GPG keys of individuals authorized to create releases](#release-keys).
|
|
116
|
-
import the keys:
|
|
115
|
+
[the GPG keys of individuals authorized to create releases](#release-keys).
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
See [Release keys](#release-keys) for a script to import active release keys.
|
|
117
|
+
See [Release keys](#release-keys) for commands to import active release keys.
|
|
123
118
|
|
|
124
119
|
Next, download the `SHASUMS256.txt.sig` for the release:
|
|
125
120
|
|
|
@@ -164,14 +159,12 @@ For information about the governance of the Node.js project, see
|
|
|
164
159
|
|
|
165
160
|
* [aduh95](https://github.com/aduh95) -
|
|
166
161
|
**Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
|
|
167
|
-
* [
|
|
168
|
-
**
|
|
162
|
+
* [anonrig](https://github.com/anonrig) -
|
|
163
|
+
**Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
|
|
169
164
|
* [benjamingr](https://github.com/benjamingr) -
|
|
170
165
|
**Benjamin Gruenbaum** <<benjamingr@gmail.com>>
|
|
171
166
|
* [BridgeAR](https://github.com/BridgeAR) -
|
|
172
167
|
**Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
|
|
173
|
-
* [GeoffreyBooth](https://github.com/geoffreybooth) -
|
|
174
|
-
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
|
|
175
168
|
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
|
176
169
|
**Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
|
|
177
170
|
* [jasnell](https://github.com/jasnell) -
|
|
@@ -205,8 +198,8 @@ For information about the governance of the Node.js project, see
|
|
|
205
198
|
|
|
206
199
|
#### TSC regular members
|
|
207
200
|
|
|
208
|
-
* [
|
|
209
|
-
**
|
|
201
|
+
* [apapirovski](https://github.com/apapirovski) -
|
|
202
|
+
**Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
|
|
210
203
|
* [BethGriggs](https://github.com/BethGriggs) -
|
|
211
204
|
**Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
|
|
212
205
|
* [bnoordhuis](https://github.com/bnoordhuis) -
|
|
@@ -215,6 +208,8 @@ For information about the governance of the Node.js project, see
|
|
|
215
208
|
**Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
|
|
216
209
|
* [codebytere](https://github.com/codebytere) -
|
|
217
210
|
**Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
|
|
211
|
+
* [GeoffreyBooth](https://github.com/GeoffreyBooth) -
|
|
212
|
+
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
|
|
218
213
|
* [Trott](https://github.com/Trott) -
|
|
219
214
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
220
215
|
|
|
@@ -329,7 +324,7 @@ For information about the governance of the Node.js project, see
|
|
|
329
324
|
**Deokjin Kim** <<deokjin81.kim@gmail.com>> (he/him)
|
|
330
325
|
* [edsadr](https://github.com/edsadr) -
|
|
331
326
|
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
|
|
332
|
-
* [
|
|
327
|
+
* [ErickWendel](https://github.com/ErickWendel) -
|
|
333
328
|
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
|
|
334
329
|
* [Ethan-Arrowood](https://github.com/Ethan-Arrowood) -
|
|
335
330
|
**Ethan Arrowood** <<ethan@arrowood.dev>> (he/him)
|
|
@@ -343,7 +338,7 @@ For information about the governance of the Node.js project, see
|
|
|
343
338
|
**Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
|
|
344
339
|
* [gengjiawen](https://github.com/gengjiawen) -
|
|
345
340
|
**Jiawen Geng** <<technicalcute@gmail.com>>
|
|
346
|
-
* [GeoffreyBooth](https://github.com/
|
|
341
|
+
* [GeoffreyBooth](https://github.com/GeoffreyBooth) -
|
|
347
342
|
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
|
|
348
343
|
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
|
349
344
|
**Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
|
|
@@ -355,6 +350,8 @@ For information about the governance of the Node.js project, see
|
|
|
355
350
|
**Harshitha K P** <<harshitha014@gmail.com>> (she/her)
|
|
356
351
|
* [himself65](https://github.com/himself65) -
|
|
357
352
|
**Zeyu "Alex" Yang** <<himself65@outlook.com>> (he/him)
|
|
353
|
+
* [jakecastelli](https://github.com/jakecastelli) -
|
|
354
|
+
**Jake Yuesong Li** <<jake.yuesong@gmail.com>> (he/him)
|
|
358
355
|
* [JakobJingleheimer](https://github.com/JakobJingleheimer) -
|
|
359
356
|
**Jacob Smith** <<jacob@frende.me>> (he/him)
|
|
360
357
|
* [jasnell](https://github.com/jasnell) -
|
|
@@ -371,15 +368,13 @@ For information about the governance of the Node.js project, see
|
|
|
371
368
|
**Minwoo Jung** <<nodecorelab@gmail.com>> (he/him)
|
|
372
369
|
* [KhafraDev](https://github.com/KhafraDev) -
|
|
373
370
|
**Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)
|
|
374
|
-
* [kuriyosh](https://github.com/kuriyosh) -
|
|
375
|
-
**Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
|
|
376
371
|
* [kvakil](https://github.com/kvakil) -
|
|
377
372
|
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>>
|
|
378
373
|
* [legendecas](https://github.com/legendecas) -
|
|
379
374
|
**Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
|
|
380
375
|
* [lemire](https://github.com/lemire) -
|
|
381
376
|
**Daniel Lemire** <<daniel@lemire.me>>
|
|
382
|
-
* [
|
|
377
|
+
* [Linkgoron](https://github.com/Linkgoron) -
|
|
383
378
|
**Nitzan Uziely** <<linkgoron@gmail.com>>
|
|
384
379
|
* [LiviaMedeiros](https://github.com/LiviaMedeiros) -
|
|
385
380
|
**LiviaMedeiros** <<livia@cirno.name>>
|
|
@@ -393,6 +388,8 @@ For information about the governance of the Node.js project, see
|
|
|
393
388
|
**Marco Ippolito** <<marcoippolito54@gmail.com>> (he/him)
|
|
394
389
|
* [marsonya](https://github.com/marsonya) -
|
|
395
390
|
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
|
|
391
|
+
* [MattiasBuelens](https://github.com/MattiasBuelens) -
|
|
392
|
+
**Mattias Buelens** <<mattias@buelens.com>> (he/him)
|
|
396
393
|
* [mcollina](https://github.com/mcollina) -
|
|
397
394
|
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
|
|
398
395
|
* [meixg](https://github.com/meixg) -
|
|
@@ -443,7 +440,7 @@ For information about the governance of the Node.js project, see
|
|
|
443
440
|
**Trivikram Kamat** <<trivikr.dev@gmail.com>>
|
|
444
441
|
* [Trott](https://github.com/Trott) -
|
|
445
442
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
446
|
-
* [UlisesGascon](https://github.com/
|
|
443
|
+
* [UlisesGascon](https://github.com/UlisesGascon) -
|
|
447
444
|
**Ulises Gascón** <<ulisesgascongonzalez@gmail.com>> (he/him)
|
|
448
445
|
* [vmoroz](https://github.com/vmoroz) -
|
|
449
446
|
**Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
|
|
@@ -573,6 +570,8 @@ For information about the governance of the Node.js project, see
|
|
|
573
570
|
**Kyle Farnung** <<kfarnung@microsoft.com>> (he/him)
|
|
574
571
|
* [kunalspathak](https://github.com/kunalspathak) -
|
|
575
572
|
**Kunal Pathak** <<kunal.pathak@microsoft.com>>
|
|
573
|
+
* [kuriyosh](https://github.com/kuriyosh) -
|
|
574
|
+
**Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
|
|
576
575
|
* [lance](https://github.com/lance) -
|
|
577
576
|
**Lance Ball** <<lball@redhat.com>> (he/him)
|
|
578
577
|
* [Leko](https://github.com/Leko) -
|
|
@@ -735,20 +734,20 @@ maintaining the Node.js project.
|
|
|
735
734
|
**Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
|
|
736
735
|
* [F3n67u](https://github.com/F3n67u) -
|
|
737
736
|
**Feng Yu** <<F3n67u@outlook.com>> (he/him)
|
|
738
|
-
* [
|
|
739
|
-
**
|
|
737
|
+
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
|
738
|
+
**Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
|
|
740
739
|
* [iam-frankqiu](https://github.com/iam-frankqiu) -
|
|
741
740
|
**Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
|
|
741
|
+
* [KevinEady](https://github.com/KevinEady) -
|
|
742
|
+
**Kevin Eady** <<kevin.c.eady@gmail.com>> (he/him)
|
|
743
|
+
* [kvakil](https://github.com/kvakil) -
|
|
744
|
+
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>>
|
|
742
745
|
* [marsonya](https://github.com/marsonya) -
|
|
743
746
|
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
|
|
744
747
|
* [meixg](https://github.com/meixg) -
|
|
745
748
|
**Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
|
|
746
749
|
* [mertcanaltin](https://github.com/mertcanaltin) -
|
|
747
750
|
**Mert Can Altin** <<mertgold60@gmail.com>>
|
|
748
|
-
* [Mesteery](https://github.com/Mesteery) -
|
|
749
|
-
**Mestery** <<mestery@protonmail.com>> (he/him)
|
|
750
|
-
* [PoojaDurgad](https://github.com/PoojaDurgad) -
|
|
751
|
-
**Pooja Durgad** <<Pooja.D.P@ibm.com>>
|
|
752
751
|
* [preveen-stack](https://github.com/preveen-stack) -
|
|
753
752
|
**Preveen Padmanabhan** <<wide4head@gmail.com>> (he/him)
|
|
754
753
|
* [RedYetiDev](https://github.com/redyetidev) -
|
|
@@ -775,8 +774,6 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
|
|
|
775
774
|
`CC68F5A3106FF448322E48ED27F5E38D5B0A215F`
|
|
776
775
|
* **Michaël Zasso** <<targos@protonmail.com>>
|
|
777
776
|
`8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600`
|
|
778
|
-
* **Myles Borins** <<myles.borins@gmail.com>>
|
|
779
|
-
`C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8`
|
|
780
777
|
* **Rafael Gonzaga** <<rafael.nunu@hotmail.com>>
|
|
781
778
|
`890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4`
|
|
782
779
|
* **Richard Lau** <<rlau@redhat.com>>
|
|
@@ -796,7 +793,6 @@ gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A8
|
|
|
796
793
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 # Juan José Arboleda
|
|
797
794
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys CC68F5A3106FF448322E48ED27F5E38D5B0A215F # Marco Ippolito
|
|
798
795
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 # Michaël Zasso
|
|
799
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins
|
|
800
796
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 # Rafael Gonzaga
|
|
801
797
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C # Richard Lau
|
|
802
798
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A # Ruy Adorno
|
|
@@ -832,6 +828,8 @@ verify a downloaded file.
|
|
|
832
828
|
`61FC681DFB92A079F1685E77973F295594EC4689`
|
|
833
829
|
* **Julien Gilli** <<jgilli@fastmail.fm>>
|
|
834
830
|
`114F43EE0176B71C7BC219DD50A3051F888C628D`
|
|
831
|
+
* **Myles Borins** <<myles.borins@gmail.com>>
|
|
832
|
+
`C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8`
|
|
835
833
|
* **Rod Vagg** <<rod@vagg.org>>
|
|
836
834
|
`DD8F2338BAE7501E3DD5AC78C273792F7D83545D`
|
|
837
835
|
* **Ruben Bridgewater** <<ruben@bridgewater.de>>
|
|
@@ -853,18 +851,18 @@ prioritize security releases. Security release stewards manage security
|
|
|
853
851
|
releases on a rotation basis as outlined in the
|
|
854
852
|
[security release process](./doc/contributing/security-release-process.md).
|
|
855
853
|
|
|
856
|
-
* Datadog
|
|
854
|
+
* [Datadog](https://www.datadoghq.com/)
|
|
857
855
|
* [bengl](https://github.com/bengl) -
|
|
858
856
|
**Bryan English** <<bryan@bryanenglish.com>> (he/him)
|
|
859
|
-
* NodeSource
|
|
857
|
+
* [NodeSource](https://nodesource.com/)
|
|
860
858
|
* [juanarbol](https://github.com/juanarbol) -
|
|
861
859
|
**Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
|
|
862
860
|
* [RafaelGSS](https://github.com/RafaelGSS) -
|
|
863
861
|
**Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
|
|
864
|
-
* Platformatic
|
|
862
|
+
* [Platformatic](https://platformatic.dev/)
|
|
865
863
|
* [mcollina](https://github.com/mcollina) -
|
|
866
864
|
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
|
|
867
|
-
* Red Hat
|
|
865
|
+
* [Red Hat](https://redhat.com) / [IBM](https://ibm.com)
|
|
868
866
|
* [joesepi](https://github.com/joesepi) -
|
|
869
867
|
**Joe Sepi** <<joesepi@ibm.com>> (he/him)
|
|
870
868
|
* [mhdawson](https://github.com/mhdawson) -
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
# Reset this number to 0 on major V8 upgrades.
|
|
38
38
|
# Increment by one for each non-official patch applied to deps/v8.
|
|
39
|
-
'v8_embedder_string': '-node.
|
|
39
|
+
'v8_embedder_string': '-node.18',
|
|
40
40
|
|
|
41
41
|
##### V8 defaults for Node.js #####
|
|
42
42
|
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
['target_arch in "arm ia32 mips mipsel ppc"', {
|
|
114
114
|
'v8_enable_pointer_compression': 0,
|
|
115
115
|
'v8_enable_31bit_smis_on_64bit_arch': 0,
|
|
116
|
+
'v8_enable_sandbox': 0
|
|
116
117
|
}],
|
|
117
118
|
['target_arch in "ppc64 s390x"', {
|
|
118
119
|
'v8_enable_backtrace': 1,
|
|
@@ -488,7 +489,12 @@
|
|
|
488
489
|
}],
|
|
489
490
|
[ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', {
|
|
490
491
|
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
|
|
491
|
-
'cflags_cc': [
|
|
492
|
+
'cflags_cc': [
|
|
493
|
+
'-fno-rtti',
|
|
494
|
+
'-fno-exceptions',
|
|
495
|
+
'-fno-strict-aliasing',
|
|
496
|
+
'-std=gnu++17',
|
|
497
|
+
],
|
|
492
498
|
'defines': [ '__STDC_FORMAT_MACROS' ],
|
|
493
499
|
'ldflags': [ '-rdynamic' ],
|
|
494
500
|
'target_conditions': [
|
|
@@ -619,12 +625,10 @@
|
|
|
619
625
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
|
|
620
626
|
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
|
|
621
627
|
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
|
|
628
|
+
'GCC_STRICT_ALIASING': 'NO', # -fno-strict-aliasing
|
|
622
629
|
'PREBINDING': 'NO', # No -Wl,-prebind
|
|
623
630
|
'MACOSX_DEPLOYMENT_TARGET': '11.0', # -mmacosx-version-min=11.0
|
|
624
631
|
'USE_HEADERMAP': 'NO',
|
|
625
|
-
'OTHER_CFLAGS': [
|
|
626
|
-
'-fno-strict-aliasing',
|
|
627
|
-
],
|
|
628
632
|
'WARNING_CFLAGS': [
|
|
629
633
|
'-Wall',
|
|
630
634
|
'-Wendif-labels',
|
package/include/node/config.gypi
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Do not edit. Generated by the configure script.
|
|
2
|
-
{ 'target_defaults': {'cflags': [],
|
|
2
|
+
{ 'target_defaults': { 'cflags': [],
|
|
3
|
+
'configurations': { 'Debug': {'v8_enable_v8_checks': 0, 'variables': {}},
|
|
4
|
+
'Release': {'v8_enable_v8_checks': 1, 'variables': {}}},
|
|
5
|
+
'default_configuration': 'Release',
|
|
6
|
+
'defines': ['NODE_OPENSSL_CONF_NAME=nodejs_conf', 'NODE_OPENSSL_HAS_QUIC', 'ICU_NO_USER_DATA_OVERRIDE'],
|
|
7
|
+
'include_dirs': [],
|
|
8
|
+
'libraries': []},
|
|
3
9
|
'variables': { 'asan': 0,
|
|
4
10
|
'clang': 0,
|
|
5
11
|
'coverage': 'false',
|
|
@@ -19,11 +25,12 @@
|
|
|
19
25
|
'icu_path': 'deps/icu-small',
|
|
20
26
|
'icu_small': 'false',
|
|
21
27
|
'icu_ver_major': '75',
|
|
22
|
-
'is_debug': 0,
|
|
23
28
|
'libdir': 'lib',
|
|
24
29
|
'llvm_version': '0.0',
|
|
25
30
|
'napi_build_version': '9',
|
|
26
|
-
'node_builtin_shareable_builtins': [
|
|
31
|
+
'node_builtin_shareable_builtins': [ 'deps/cjs-module-lexer/lexer.js',
|
|
32
|
+
'deps/cjs-module-lexer/dist/lexer.js',
|
|
33
|
+
'deps/undici/undici.js'],
|
|
27
34
|
'node_byteorder': 'big',
|
|
28
35
|
'node_debug_lib': 'false',
|
|
29
36
|
'node_enable_d8': 'false',
|
|
@@ -71,7 +78,10 @@
|
|
|
71
78
|
'lib/internal/assert.js',
|
|
72
79
|
'lib/internal/assert/assertion_error.js',
|
|
73
80
|
'lib/internal/assert/calltracker.js',
|
|
81
|
+
'lib/internal/async_context_frame.js',
|
|
74
82
|
'lib/internal/async_hooks.js',
|
|
83
|
+
'lib/internal/async_local_storage/async_context_frame.js',
|
|
84
|
+
'lib/internal/async_local_storage/async_hooks.js',
|
|
75
85
|
'lib/internal/blob.js',
|
|
76
86
|
'lib/internal/blocklist.js',
|
|
77
87
|
'lib/internal/bootstrap/node.js',
|
|
@@ -154,6 +164,7 @@
|
|
|
154
164
|
'lib/internal/http2/util.js',
|
|
155
165
|
'lib/internal/idna.js',
|
|
156
166
|
'lib/internal/inspector_async_hook.js',
|
|
167
|
+
'lib/internal/inspector_network_tracking.js',
|
|
157
168
|
'lib/internal/js_stream_socket.js',
|
|
158
169
|
'lib/internal/legacy/processbinding.js',
|
|
159
170
|
'lib/internal/linkedlist.js',
|
|
@@ -242,6 +253,7 @@
|
|
|
242
253
|
'lib/internal/streams/destroy.js',
|
|
243
254
|
'lib/internal/streams/duplex.js',
|
|
244
255
|
'lib/internal/streams/duplexify.js',
|
|
256
|
+
'lib/internal/streams/duplexpair.js',
|
|
245
257
|
'lib/internal/streams/end-of-stream.js',
|
|
246
258
|
'lib/internal/streams/from.js',
|
|
247
259
|
'lib/internal/streams/lazy_transform.js',
|
|
@@ -258,6 +270,7 @@
|
|
|
258
270
|
'lib/internal/test/transfer.js',
|
|
259
271
|
'lib/internal/test_runner/coverage.js',
|
|
260
272
|
'lib/internal/test_runner/harness.js',
|
|
273
|
+
'lib/internal/test_runner/mock/loader.js',
|
|
261
274
|
'lib/internal/test_runner/mock/mock.js',
|
|
262
275
|
'lib/internal/test_runner/mock/mock_timers.js',
|
|
263
276
|
'lib/internal/test_runner/reporter/dot.js',
|
|
@@ -333,7 +346,6 @@
|
|
|
333
346
|
'lib/string_decoder.js',
|
|
334
347
|
'lib/sys.js',
|
|
335
348
|
'lib/test.js',
|
|
336
|
-
'lib/test/mock_loader.js',
|
|
337
349
|
'lib/test/reporters.js',
|
|
338
350
|
'lib/timers.js',
|
|
339
351
|
'lib/timers/promises.js',
|
|
@@ -370,6 +382,7 @@
|
|
|
370
382
|
'node_shared_zlib': 'false',
|
|
371
383
|
'node_tag': '',
|
|
372
384
|
'node_target_type': 'executable',
|
|
385
|
+
'node_use_amaro': 'true',
|
|
373
386
|
'node_use_bundled_v8': 'true',
|
|
374
387
|
'node_use_node_code_cache': 'true',
|
|
375
388
|
'node_use_node_snapshot': 'true',
|
|
@@ -397,10 +410,9 @@
|
|
|
397
410
|
'v8_enable_maglev': 0,
|
|
398
411
|
'v8_enable_object_print': 1,
|
|
399
412
|
'v8_enable_pointer_compression': 0,
|
|
413
|
+
'v8_enable_sandbox': 0,
|
|
400
414
|
'v8_enable_shared_ro_heap': 1,
|
|
401
|
-
'v8_enable_v8_checks': 0,
|
|
402
415
|
'v8_enable_webassembly': 1,
|
|
403
|
-
'v8_no_strict_aliasing': 1,
|
|
404
416
|
'v8_optimized_debug': 1,
|
|
405
417
|
'v8_promise_internal_field_count': 1,
|
|
406
418
|
'v8_random_seed': 0,
|
|
@@ -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_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 22
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 7
|
|
27
|
+
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME ""
|
|
@@ -398,8 +398,7 @@ class V8_TRIVIAL_ABI Local : public LocalBase<T>,
|
|
|
398
398
|
explicit Local(const Local<T>& other, no_checking_tag do_not_check)
|
|
399
399
|
: LocalBase<T>(other), StackAllocated(do_not_check) {}
|
|
400
400
|
|
|
401
|
-
V8_INLINE explicit Local
|
|
402
|
-
: LocalBase<T>(other) {}
|
|
401
|
+
V8_INLINE explicit Local(const LocalBase<T>& other) : LocalBase<T>(other) {}
|
|
403
402
|
|
|
404
403
|
V8_INLINE static Local<T> FromSlot(internal::Address* slot) {
|
|
405
404
|
return Local<T>(LocalBase<T>::FromSlot(slot));
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -173,9 +173,6 @@ Specify the
|
|
|
173
173
|
.Ar module
|
|
174
174
|
to use as a custom module loader.
|
|
175
175
|
.
|
|
176
|
-
.It Fl -experimental-network-imports
|
|
177
|
-
Enable experimental support for loading modules using `import` over `https:`.
|
|
178
|
-
.
|
|
179
176
|
.It Fl -experimental-permission
|
|
180
177
|
Enable the experimental permission model.
|
|
181
178
|
.
|
|
@@ -194,6 +191,12 @@ Enable module mocking in the test runner.
|
|
|
194
191
|
.It Fl -experimental-test-snapshots
|
|
195
192
|
Enable snapshot testing in the test runner.
|
|
196
193
|
.
|
|
194
|
+
.It Fl -experimental-strip-types
|
|
195
|
+
Enable experimental type-stripping for TypeScript files.
|
|
196
|
+
.
|
|
197
|
+
.It Fl -experimental-transform-types
|
|
198
|
+
Enable transformation of TypeScript-only syntax into JavaScript code.
|
|
199
|
+
.
|
|
197
200
|
.It Fl -experimental-eventsource
|
|
198
201
|
Enable experimental support for the EventSource Web API.
|
|
199
202
|
.
|