node-linux-arm64 21.2.0 → 21.3.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 CHANGED
@@ -8,6 +8,7 @@
8
8
  </tr>
9
9
  <tr>
10
10
  <td>
11
+ <a href="#21.3.0">21.3.0</a><br/>
11
12
  <a href="#21.2.0">21.2.0</a><br/>
12
13
  <a href="#21.1.0">21.1.0</a><br/>
13
14
  <a href="#21.0.0">21.0.0</a><br/>
@@ -38,6 +39,183 @@
38
39
  * [io.js](CHANGELOG_IOJS.md)
39
40
  * [Archive](CHANGELOG_ARCHIVE.md)
40
41
 
42
+ <a id="21.3.0"></a>
43
+
44
+ ## 2023-11-30, Version 21.3.0 (Current), @RafaelGSS
45
+
46
+ ### Notable Changes
47
+
48
+ #### New `--disable-warning` flag
49
+
50
+ This version adds a new `--disable-warning` option that allows users to disable specific warnings either by code
51
+ (i.e. DEP0025) or type (i.e. DeprecationWarning, ExperimentalWarning).
52
+
53
+ This option works alongside existing `--warnings` and `--no-warnings`.
54
+
55
+ For example, the following script will not emit DEP0025 `require('node:sys')` when executed with
56
+ `node --disable-warning=DEP0025`:
57
+
58
+ ```mjs
59
+ import sys from 'node:sys';
60
+ ```
61
+
62
+ Contributed by Ethan-Arrowood in [#50661](https://github.com/nodejs/node/pull/50661)
63
+
64
+ #### Update Root Certificates to NSS 3.95
65
+
66
+ This is the [certdata.txt](https://hg.mozilla.org/projects/nss/raw-file/NSS_3_95_RTM/lib/ckfw/builtins/certdata.txt) from NSS 3.95, released on 2023-11-16.
67
+
68
+ This is the version of NSS that will ship in Firefox 121 on
69
+ 2023-12-19.
70
+
71
+ Certificates added:
72
+
73
+ * TrustAsia Global Root CA G3
74
+ * TrustAsia Global Root CA G4
75
+ * CommScope Public Trust ECC Root-01
76
+ * CommScope Public Trust ECC Root-02
77
+ * CommScope Public Trust RSA Root-01
78
+ * CommScope Public Trust RSA Root-02
79
+
80
+ Certificates removed:
81
+
82
+ * Autoridad de Certificacion Firmaprofesional CIF A62634068
83
+
84
+ #### Fast fs.writeFileSync with UTF-8 Strings
85
+
86
+ Enhanced writeFileSync functionality by implementing a highly efficient fast path primarily in C++ for UTF8-encoded string data.
87
+ Additionally, optimized the `appendFileSync` method by leveraging the improved `writeFileSync` functionality.
88
+ For simplicity and performance considerations, the current implementation supports only string data,
89
+ as benchmark results raise concerns about the efficacy of using Buffer for this purpose.
90
+ Future optimizations and expansions may be explored, but for now, the focus is on maximizing efficiency for string data operations.
91
+
92
+ Contributed by CanadaHonk in [#49884](https://github.com/nodejs/node/pull/49884).
93
+
94
+ #### Other Notable Changes
95
+
96
+ * \[[`c7a7493ca2`](https://github.com/nodejs/node/commit/c7a7493ca2)] - **(SEMVER-MINOR)** **module**: bootstrap module loaders in shadow realm (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
97
+ * \[[`bc3f7b5401`](https://github.com/nodejs/node/commit/bc3f7b5401)] - **(SEMVER-MINOR)** **module**: remove useCustomLoadersIfPresent flag (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
98
+ * \[[`aadff07e59`](https://github.com/nodejs/node/commit/aadff07e59)] - **(SEMVER-MINOR)** **src**: create per isolate proxy env template (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
99
+ * \[[`91aa9dd23a`](https://github.com/nodejs/node/commit/91aa9dd23a)] - **(SEMVER-MINOR)** **src**: create fs\_dir per isolate properties (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
100
+ * \[[`5c5834190a`](https://github.com/nodejs/node/commit/5c5834190a)] - **(SEMVER-MINOR)** **src**: create worker per isolate properties (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
101
+ * \[[`4a1ce45181`](https://github.com/nodejs/node/commit/4a1ce45181)] - **(SEMVER-MINOR)** **src**: make process binding data weak (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
102
+
103
+ ### Commits
104
+
105
+ * \[[`4a20912279`](https://github.com/nodejs/node/commit/4a20912279)] - **benchmark**: update iterations in benchmark/util/splice-one.js (Liu Jia) [#50698](https://github.com/nodejs/node/pull/50698)
106
+ * \[[`36380eb53d`](https://github.com/nodejs/node/commit/36380eb53d)] - **benchmark**: increase the iteration number to an appropriate value (Lei Shi) [#50766](https://github.com/nodejs/node/pull/50766)
107
+ * \[[`23f56d8bb3`](https://github.com/nodejs/node/commit/23f56d8bb3)] - **benchmark**: rewrite import.meta benchmark (Joyee Cheung) [#50683](https://github.com/nodejs/node/pull/50683)
108
+ * \[[`f7245d73d9`](https://github.com/nodejs/node/commit/f7245d73d9)] - **benchmark**: add misc/startup-cli-version benchmark (Joyee Cheung) [#50684](https://github.com/nodejs/node/pull/50684)
109
+ * \[[`c81d2acfe0`](https://github.com/nodejs/node/commit/c81d2acfe0)] - **benchmark**: remove punycode from require-builtins fixture (Joyee Cheung) [#50689](https://github.com/nodejs/node/pull/50689)
110
+ * \[[`5849f09874`](https://github.com/nodejs/node/commit/5849f09874)] - **build**: add GN configurations for simdjson (Cheng Zhao) [#50831](https://github.com/nodejs/node/pull/50831)
111
+ * \[[`12605e8f7d`](https://github.com/nodejs/node/commit/12605e8f7d)] - **build**: add configuration flag to enable Maglev (Keyhan Vakil) [#50692](https://github.com/nodejs/node/pull/50692)
112
+ * \[[`43da9ea9e5`](https://github.com/nodejs/node/commit/43da9ea9e5)] - **build**: fix GN configuration for deps/base64 (Cheng Zhao) [#50696](https://github.com/nodejs/node/pull/50696)
113
+ * \[[`465f75b58a`](https://github.com/nodejs/node/commit/465f75b58a)] - **build**: disable flag v8\_scriptormodule\_legacy\_lifetime (Chengzhong Wu) [#50616](https://github.com/nodejs/node/pull/50616)
114
+ * \[[`d2c0dfb1b7`](https://github.com/nodejs/node/commit/d2c0dfb1b7)] - **crypto**: update root certificates to NSS 3.95 (Node.js GitHub Bot) [#50805](https://github.com/nodejs/node/pull/50805)
115
+ * \[[`8d3a1d8911`](https://github.com/nodejs/node/commit/8d3a1d8911)] - **deps**: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) [#50803](https://github.com/nodejs/node/pull/50803)
116
+ * \[[`e02f304de7`](https://github.com/nodejs/node/commit/e02f304de7)] - **deps**: V8: cherry-pick 0f9ebbc672c7 (Chengzhong Wu) [#50867](https://github.com/nodejs/node/pull/50867)
117
+ * \[[`c31ad5ceaa`](https://github.com/nodejs/node/commit/c31ad5ceaa)] - **deps**: update icu to 74.1 (Node.js GitHub Bot) [#50515](https://github.com/nodejs/node/pull/50515)
118
+ * \[[`3ff2bda34e`](https://github.com/nodejs/node/commit/3ff2bda34e)] - **deps**: update ada to 2.7.4 (Node.js GitHub Bot) [#50815](https://github.com/nodejs/node/pull/50815)
119
+ * \[[`221f02df6d`](https://github.com/nodejs/node/commit/221f02df6d)] - **deps**: update undici to 5.27.2 (Node.js GitHub Bot) [#50813](https://github.com/nodejs/node/pull/50813)
120
+ * \[[`ee69c613a2`](https://github.com/nodejs/node/commit/ee69c613a2)] - **deps**: update minimatch to 9.0.3 (Node.js GitHub Bot) [#50806](https://github.com/nodejs/node/pull/50806)
121
+ * \[[`00dab30fd2`](https://github.com/nodejs/node/commit/00dab30fd2)] - **deps**: V8: cherry-pick 475c8cdf9a95 (Keyhan Vakil) [#50680](https://github.com/nodejs/node/pull/50680)
122
+ * \[[`a0c01b23b4`](https://github.com/nodejs/node/commit/a0c01b23b4)] - **deps**: update simdutf to 4.0.4 (Node.js GitHub Bot) [#50772](https://github.com/nodejs/node/pull/50772)
123
+ * \[[`071e46ae56`](https://github.com/nodejs/node/commit/071e46ae56)] - **deps**: upgrade npm to 10.2.4 (npm team) [#50751](https://github.com/nodejs/node/pull/50751)
124
+ * \[[`5d28f8d18f`](https://github.com/nodejs/node/commit/5d28f8d18f)] - **deps**: escape Python strings correctly (Michaël Zasso) [#50695](https://github.com/nodejs/node/pull/50695)
125
+ * \[[`3731f836ed`](https://github.com/nodejs/node/commit/3731f836ed)] - **deps**: V8: cherry-pick 8f0b94671ddb (Lu Yahan) [#50654](https://github.com/nodejs/node/pull/50654)
126
+ * \[[`6dfe1023c3`](https://github.com/nodejs/node/commit/6dfe1023c3)] - **dns**: call handle.setServers() with a valid array (Luigi Pinca) [#50811](https://github.com/nodejs/node/pull/50811)
127
+ * \[[`2f13db475e`](https://github.com/nodejs/node/commit/2f13db475e)] - **doc**: make theme consistent across api and other docs (Dima Demakov) [#50877](https://github.com/nodejs/node/pull/50877)
128
+ * \[[`8c4976b732`](https://github.com/nodejs/node/commit/8c4976b732)] - **doc**: add a section regarding `instanceof` in `primordials.md` (Antoine du Hamel) [#50874](https://github.com/nodejs/node/pull/50874)
129
+ * \[[`6485687642`](https://github.com/nodejs/node/commit/6485687642)] - **doc**: update email to reflect affiliation (Yagiz Nizipli) [#50856](https://github.com/nodejs/node/pull/50856)
130
+ * \[[`bc31375a09`](https://github.com/nodejs/node/commit/bc31375a09)] - **doc**: shard not supported with watch mode (Pulkit Gupta) [#50640](https://github.com/nodejs/node/pull/50640)
131
+ * \[[`08c3b0ab20`](https://github.com/nodejs/node/commit/08c3b0ab20)] - **doc**: get rid of unnecessary `eslint-skip` comments (Antoine du Hamel) [#50829](https://github.com/nodejs/node/pull/50829)
132
+ * \[[`98fb1faff1`](https://github.com/nodejs/node/commit/98fb1faff1)] - **doc**: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) [#50486](https://github.com/nodejs/node/pull/50486)
133
+ * \[[`e116fcdb01`](https://github.com/nodejs/node/commit/e116fcdb01)] - **doc**: add CanadaHonk to triagers (CanadaHonk) [#50848](https://github.com/nodejs/node/pull/50848)
134
+ * \[[`a37d9ee1e3`](https://github.com/nodejs/node/commit/a37d9ee1e3)] - **doc**: fix typos in --allow-fs-\* (Tobias Nießen) [#50845](https://github.com/nodejs/node/pull/50845)
135
+ * \[[`8468daf1a9`](https://github.com/nodejs/node/commit/8468daf1a9)] - **doc**: update Crypto API doc for x509.keyUsage (Daniel Meechan) [#50603](https://github.com/nodejs/node/pull/50603)
136
+ * \[[`b4935dde60`](https://github.com/nodejs/node/commit/b4935dde60)] - **doc**: fix fs.writeFileSync return value documentation (Ryan Zimmerman) [#50760](https://github.com/nodejs/node/pull/50760)
137
+ * \[[`ead9879a04`](https://github.com/nodejs/node/commit/ead9879a04)] - **doc**: update print results(detail) in `PerformanceEntry` (Jungku Lee) [#50723](https://github.com/nodejs/node/pull/50723)
138
+ * \[[`6b7403c5df`](https://github.com/nodejs/node/commit/6b7403c5df)] - **doc**: fix `Buffer.allocUnsafe` documentation (Mert Can Altın) [#50686](https://github.com/nodejs/node/pull/50686)
139
+ * \[[`713fdf1fc3`](https://github.com/nodejs/node/commit/713fdf1fc3)] - **doc**: run license-builder (github-actions\[bot]) [#50691](https://github.com/nodejs/node/pull/50691)
140
+ * \[[`50f336c06f`](https://github.com/nodejs/node/commit/50f336c06f)] - **esm**: fallback to `getSource` when `load` returns nullish `source` (Antoine du Hamel) [#50825](https://github.com/nodejs/node/pull/50825)
141
+ * \[[`bd58870556`](https://github.com/nodejs/node/commit/bd58870556)] - **esm**: do not call `getSource` when format is `commonjs` (Francesco Trotta) [#50465](https://github.com/nodejs/node/pull/50465)
142
+ * \[[`e59268a076`](https://github.com/nodejs/node/commit/e59268a076)] - **fs**: add c++ fast path for writeFileSync utf8 (CanadaHonk) [#49884](https://github.com/nodejs/node/pull/49884)
143
+ * \[[`483200f68f`](https://github.com/nodejs/node/commit/483200f68f)] - **fs**: improve error performance for `rmdirSync` (CanadaHonk) [#49846](https://github.com/nodejs/node/pull/49846)
144
+ * \[[`e4e0add0de`](https://github.com/nodejs/node/commit/e4e0add0de)] - **fs**: fix glob returning duplicates (Moshe Atlow) [#50881](https://github.com/nodejs/node/pull/50881)
145
+ * \[[`45b2bb09f2`](https://github.com/nodejs/node/commit/45b2bb09f2)] - **fs**: fix to not return for void function (Jungku Lee) [#50769](https://github.com/nodejs/node/pull/50769)
146
+ * \[[`492e3e30b7`](https://github.com/nodejs/node/commit/492e3e30b7)] - **fs**: replace deprecated `path._makeLong` in copyFile (CanadaHonk) [#50844](https://github.com/nodejs/node/pull/50844)
147
+ * \[[`9dc4cde75b`](https://github.com/nodejs/node/commit/9dc4cde75b)] - **fs**: improve error perf of sync `lstat`+`fstat` (CanadaHonk) [#49868](https://github.com/nodejs/node/pull/49868)
148
+ * \[[`c3eee590be`](https://github.com/nodejs/node/commit/c3eee590be)] - **inspector**: use private fields instead of symbols (Yagiz Nizipli) [#50776](https://github.com/nodejs/node/pull/50776)
149
+ * \[[`1a0069b13d`](https://github.com/nodejs/node/commit/1a0069b13d)] - **meta**: clarify nomination process according to Node.js charter (Matteo Collina) [#50834](https://github.com/nodejs/node/pull/50834)
150
+ * \[[`65a811a86d`](https://github.com/nodejs/node/commit/65a811a86d)] - **meta**: clarify recommendation for bug reproductions (Antoine du Hamel) [#50882](https://github.com/nodejs/node/pull/50882)
151
+ * \[[`5811a59016`](https://github.com/nodejs/node/commit/5811a59016)] - **meta**: move cjihrig to TSC regular member (Colin Ihrig) [#50816](https://github.com/nodejs/node/pull/50816)
152
+ * \[[`c7a7493ca2`](https://github.com/nodejs/node/commit/c7a7493ca2)] - **(SEMVER-MINOR)** **module**: bootstrap module loaders in shadow realm (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
153
+ * \[[`bc3f7b5401`](https://github.com/nodejs/node/commit/bc3f7b5401)] - **(SEMVER-MINOR)** **module**: remove useCustomLoadersIfPresent flag (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
154
+ * \[[`9197b0f2fc`](https://github.com/nodejs/node/commit/9197b0f2fc)] - **net**: check pipe mode and path (theanarkh) [#50770](https://github.com/nodejs/node/pull/50770)
155
+ * \[[`673de300b4`](https://github.com/nodejs/node/commit/673de300b4)] - **node-api**: factor out common code into macros (Gabriel Schulhof) [#50664](https://github.com/nodejs/node/pull/50664)
156
+ * \[[`aebe2fc702`](https://github.com/nodejs/node/commit/aebe2fc702)] - **perf\_hooks**: implement performance.now() with fast API calls (Joyee Cheung) [#50492](https://github.com/nodejs/node/pull/50492)
157
+ * \[[`3fdecc4a8b`](https://github.com/nodejs/node/commit/3fdecc4a8b)] - **permission**: do not create symlinks if target is relative (Tobias Nießen) [#49156](https://github.com/nodejs/node/pull/49156)
158
+ * \[[`27a4f58640`](https://github.com/nodejs/node/commit/27a4f58640)] - **permission**: mark const functions as such (Tobias Nießen) [#50705](https://github.com/nodejs/node/pull/50705)
159
+ * \[[`feb8ff9427`](https://github.com/nodejs/node/commit/feb8ff9427)] - **src**: assert return value of BN\_bn2binpad (Tobias Nießen) [#50860](https://github.com/nodejs/node/pull/50860)
160
+ * \[[`fd9195d750`](https://github.com/nodejs/node/commit/fd9195d750)] - **src**: fix coverity warning (Michael Dawson) [#50846](https://github.com/nodejs/node/pull/50846)
161
+ * \[[`adcab85c0c`](https://github.com/nodejs/node/commit/adcab85c0c)] - **src**: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) [#50709](https://github.com/nodejs/node/pull/50709)
162
+ * \[[`79ef39b8c8`](https://github.com/nodejs/node/commit/79ef39b8c8)] - **(SEMVER-MINOR)** **src**: add `--disable-warning` option (Ethan Arrowood) [#50661](https://github.com/nodejs/node/pull/50661)
163
+ * \[[`faf6a04ba6`](https://github.com/nodejs/node/commit/faf6a04ba6)] - **src**: add IsolateScopes before using isolates (Keyhan Vakil) [#50680](https://github.com/nodejs/node/pull/50680)
164
+ * \[[`eacf4ba485`](https://github.com/nodejs/node/commit/eacf4ba485)] - **src**: iterate on import attributes array correctly (Michaël Zasso) [#50703](https://github.com/nodejs/node/pull/50703)
165
+ * \[[`0fb35b6a67`](https://github.com/nodejs/node/commit/0fb35b6a67)] - **src**: avoid copying strings in FSPermission::Apply (Tobias Nießen) [#50662](https://github.com/nodejs/node/pull/50662)
166
+ * \[[`83ad272fa6`](https://github.com/nodejs/node/commit/83ad272fa6)] - **src**: remove erroneous default argument in RadixTree (Tobias Nießen) [#50736](https://github.com/nodejs/node/pull/50736)
167
+ * \[[`2e8e237ce2`](https://github.com/nodejs/node/commit/2e8e237ce2)] - **src**: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) [#50688](https://github.com/nodejs/node/pull/50688)
168
+ * \[[`0d3aa725cf`](https://github.com/nodejs/node/commit/0d3aa725cf)] - **src**: return error --env-file if file is not found (Ardi Nugraha) [#50588](https://github.com/nodejs/node/pull/50588)
169
+ * \[[`aadff07e59`](https://github.com/nodejs/node/commit/aadff07e59)] - **(SEMVER-MINOR)** **src**: create per isolate proxy env template (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
170
+ * \[[`91aa9dd23a`](https://github.com/nodejs/node/commit/91aa9dd23a)] - **(SEMVER-MINOR)** **src**: create fs\_dir per isolate properties (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
171
+ * \[[`5c5834190a`](https://github.com/nodejs/node/commit/5c5834190a)] - **(SEMVER-MINOR)** **src**: create worker per isolate properties (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
172
+ * \[[`4a1ce45181`](https://github.com/nodejs/node/commit/4a1ce45181)] - **(SEMVER-MINOR)** **src**: make process binding data weak (Chengzhong Wu) [#48655](https://github.com/nodejs/node/pull/48655)
173
+ * \[[`8746073664`](https://github.com/nodejs/node/commit/8746073664)] - **src**: avoid silent coercion to signed/unsigned int (Tobias Nießen) [#50663](https://github.com/nodejs/node/pull/50663)
174
+ * \[[`57587de1fa`](https://github.com/nodejs/node/commit/57587de1fa)] - **src**: handle errors from uv\_pipe\_connect2() (Deokjin Kim) [#50657](https://github.com/nodejs/node/pull/50657)
175
+ * \[[`e5cce004e8`](https://github.com/nodejs/node/commit/e5cce004e8)] - **stream**: fix enumerability of ReadableStream.from (Mattias Buelens) [#50779](https://github.com/nodejs/node/pull/50779)
176
+ * \[[`4522e229c0`](https://github.com/nodejs/node/commit/4522e229c0)] - **stream**: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) [#50779](https://github.com/nodejs/node/pull/50779)
177
+ * \[[`2e0abed973`](https://github.com/nodejs/node/commit/2e0abed973)] - **stream**: yield expected Error class on zlib errors (Filip Skokan) [#50712](https://github.com/nodejs/node/pull/50712)
178
+ * \[[`a275155e81`](https://github.com/nodejs/node/commit/a275155e81)] - **stream**: add Symbol.toStringTag to Compression Streams (Filip Skokan) [#50712](https://github.com/nodejs/node/pull/50712)
179
+ * \[[`146ad9cab0`](https://github.com/nodejs/node/commit/146ad9cab0)] - **stream**: treat compression web stream format per its WebIDL definition (Filip Skokan) [#50631](https://github.com/nodejs/node/pull/50631)
180
+ * \[[`087cffc7c2`](https://github.com/nodejs/node/commit/087cffc7c2)] - **test**: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) [#50730](https://github.com/nodejs/node/pull/50730)
181
+ * \[[`7de900a442`](https://github.com/nodejs/node/commit/7de900a442)] - **test**: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) [#50743](https://github.com/nodejs/node/pull/50743)
182
+ * \[[`b1b6c44712`](https://github.com/nodejs/node/commit/b1b6c44712)] - **test**: replace forEach with for of (Conor Watson) [#50594](https://github.com/nodejs/node/pull/50594)
183
+ * \[[`7f44164ad4`](https://github.com/nodejs/node/commit/7f44164ad4)] - **test**: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) [#50795](https://github.com/nodejs/node/pull/50795)
184
+ * \[[`9d76de1993`](https://github.com/nodejs/node/commit/9d76de1993)] - **test**: replace foreach with for in test-https-simple.js (Shikha Mehta) [#49793](https://github.com/nodejs/node/pull/49793)
185
+ * \[[`ce8fc56ee4`](https://github.com/nodejs/node/commit/ce8fc56ee4)] - **test**: add note about unresolved spec issue (Mattias Buelens) [#50779](https://github.com/nodejs/node/pull/50779)
186
+ * \[[`628a12ac18`](https://github.com/nodejs/node/commit/628a12ac18)] - **test**: add note about readable streams with type owning (Mattias Buelens) [#50779](https://github.com/nodejs/node/pull/50779)
187
+ * \[[`82f0882ce0`](https://github.com/nodejs/node/commit/82f0882ce0)] - **test**: replace forEach with for-of in test-url-relative (vitosorriso) [#50788](https://github.com/nodejs/node/pull/50788)
188
+ * \[[`3b7998305d`](https://github.com/nodejs/node/commit/3b7998305d)] - **test**: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) [#50600](https://github.com/nodejs/node/pull/50600)
189
+ * \[[`0e4d25eb5c`](https://github.com/nodejs/node/commit/0e4d25eb5c)] - **test**: use requires instead of flaky in console WPT status (Filip Skokan) [#50812](https://github.com/nodejs/node/pull/50812)
190
+ * \[[`221952a88e`](https://github.com/nodejs/node/commit/221952a88e)] - **test**: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) [#50828](https://github.com/nodejs/node/pull/50828)
191
+ * \[[`0e3b714069`](https://github.com/nodejs/node/commit/0e3b714069)] - **test**: enable idlharness tests for encoding (Mattias Buelens) [#50778](https://github.com/nodejs/node/pull/50778)
192
+ * \[[`c8d4cd68b4`](https://github.com/nodejs/node/commit/c8d4cd68b4)] - **test**: replace forEach in whatwg-encoding-custom-interop (Honza Machala) [#50607](https://github.com/nodejs/node/pull/50607)
193
+ * \[[`f25637b5c9`](https://github.com/nodejs/node/commit/f25637b5c9)] - **test**: update WPT files for WebIDL tests (Filip Skokan) [#50712](https://github.com/nodejs/node/pull/50712)
194
+ * \[[`f2e0fce389`](https://github.com/nodejs/node/commit/f2e0fce389)] - **test**: replace forEach() with for-loop (Jan) [#50596](https://github.com/nodejs/node/pull/50596)
195
+ * \[[`4b26f14a53`](https://github.com/nodejs/node/commit/4b26f14a53)] - **test**: improve test-bootstrap-modules.js (Joyee Cheung) [#50708](https://github.com/nodejs/node/pull/50708)
196
+ * \[[`28d78de0dd`](https://github.com/nodejs/node/commit/28d78de0dd)] - **test**: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) [#50764](https://github.com/nodejs/node/pull/50764)
197
+ * \[[`4088b750e7`](https://github.com/nodejs/node/commit/4088b750e7)] - **test**: mark SEA tests as flaky on PowerPC (Joyee Cheung) [#50750](https://github.com/nodejs/node/pull/50750)
198
+ * \[[`6475cee6a4`](https://github.com/nodejs/node/commit/6475cee6a4)] - **test**: give more time to GC in test-shadow-realm-gc-\* (Joyee Cheung) [#50735](https://github.com/nodejs/node/pull/50735)
199
+ * \[[`0e8275b610`](https://github.com/nodejs/node/commit/0e8275b610)] - **test**: replace foreach with for (Markus Muschol) [#50599](https://github.com/nodejs/node/pull/50599)
200
+ * \[[`377deded59`](https://github.com/nodejs/node/commit/377deded59)] - **test**: test streambase has already has a consumer (Jithil P Ponnan) [#48059](https://github.com/nodejs/node/pull/48059)
201
+ * \[[`342a83e728`](https://github.com/nodejs/node/commit/342a83e728)] - **test**: change forEach to for...of in path extname (Kyriakos Markakis) [#50667](https://github.com/nodejs/node/pull/50667)
202
+ * \[[`75265e491d`](https://github.com/nodejs/node/commit/75265e491d)] - **test**: replace forEach with for...of (Ryan Williams) [#50611](https://github.com/nodejs/node/pull/50611)
203
+ * \[[`982b57651b`](https://github.com/nodejs/node/commit/982b57651b)] - **test**: migrate message v8 tests from Python to JS (Joshua LeMay) [#50421](https://github.com/nodejs/node/pull/50421)
204
+ * \[[`7ebc8c2aed`](https://github.com/nodejs/node/commit/7ebc8c2aed)] - **test,stream**: enable compression WPTs (Filip Skokan) [#50631](https://github.com/nodejs/node/pull/50631)
205
+ * \[[`0bd694ab64`](https://github.com/nodejs/node/commit/0bd694ab64)] - **test\_runner**: add tests for various mock timer issues (Mika Fischer) [#50384](https://github.com/nodejs/node/pull/50384)
206
+ * \[[`dee8039c9b`](https://github.com/nodejs/node/commit/dee8039c9b)] - **tls**: fix order of setting cipher before setting cert and key (Kumar Rishav) [#50186](https://github.com/nodejs/node/pull/50186)
207
+ * \[[`5de30531b8`](https://github.com/nodejs/node/commit/5de30531b8)] - **tools**: add macOS notarization verification step (Ulises Gascón) [#50833](https://github.com/nodejs/node/pull/50833)
208
+ * \[[`a12d9e03f2`](https://github.com/nodejs/node/commit/a12d9e03f2)] - **tools**: use macOS keychain to notarize the releases (Ulises Gascón) [#50715](https://github.com/nodejs/node/pull/50715)
209
+ * \[[`f21637717f`](https://github.com/nodejs/node/commit/f21637717f)] - **tools**: update eslint to 8.54.0 (Node.js GitHub Bot) [#50809](https://github.com/nodejs/node/pull/50809)
210
+ * \[[`daa933d93a`](https://github.com/nodejs/node/commit/daa933d93a)] - **tools**: update lint-md-dependencies to rollup\@4.5.0 (Node.js GitHub Bot) [#50807](https://github.com/nodejs/node/pull/50807)
211
+ * \[[`52830b71cc`](https://github.com/nodejs/node/commit/52830b71cc)] - **tools**: add workflow to update release links (Michaël Zasso) [#50710](https://github.com/nodejs/node/pull/50710)
212
+ * \[[`db8ce5bbdd`](https://github.com/nodejs/node/commit/db8ce5bbdd)] - **tools**: recognize GN files in dep\_updaters (Cheng Zhao) [#50693](https://github.com/nodejs/node/pull/50693)
213
+ * \[[`5ef6729b66`](https://github.com/nodejs/node/commit/5ef6729b66)] - **tools**: remove unused file (Ulises Gascon) [#50622](https://github.com/nodejs/node/pull/50622)
214
+ * \[[`c49483820a`](https://github.com/nodejs/node/commit/c49483820a)] - **tools**: change minimatch install strategy (Marco Ippolito) [#50476](https://github.com/nodejs/node/pull/50476)
215
+ * \[[`0d556d9a59`](https://github.com/nodejs/node/commit/0d556d9a59)] - **tools**: update lint-md-dependencies to rollup\@4.3.1 (Node.js GitHub Bot) [#50675](https://github.com/nodejs/node/pull/50675)
216
+ * \[[`eaa4c14e6b`](https://github.com/nodejs/node/commit/eaa4c14e6b)] - **util**: improve performance of normalizeEncoding (kylo5aby) [#50721](https://github.com/nodejs/node/pull/50721)
217
+ * \[[`a5d959b765`](https://github.com/nodejs/node/commit/a5d959b765)] - **v8,tools**: expose necessary V8 defines (Cheng Zhao) [#50820](https://github.com/nodejs/node/pull/50820)
218
+
41
219
  <a id="21.2.0"></a>
42
220
 
43
221
  ## 2023-11-14, Version 21.2.0 (Current), @targos
package/LICENSE CHANGED
@@ -2153,9 +2153,9 @@ The externally maintained libraries used by Node.js are:
2153
2153
  - base64, located at deps/base64/base64/, is licensed as follows:
2154
2154
  """
2155
2155
  Copyright (c) 2005-2007, Nick Galbreath
2156
- Copyright (c) 2013-2019, Alfred Klomp
2157
- Copyright (c) 2015-2017, Wojciech Mula
2156
+ Copyright (c) 2015-2018, Wojciech Muła
2158
2157
  Copyright (c) 2016-2017, Matthieu Darbois
2158
+ Copyright (c) 2013-2022, Alfred Klomp
2159
2159
  All rights reserved.
2160
2160
 
2161
2161
  Redistribution and use in source and binary forms, with or without
package/README.md CHANGED
@@ -165,15 +165,13 @@ For information about the governance of the Node.js project, see
165
165
  * [aduh95](https://github.com/aduh95) -
166
166
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
167
167
  * [anonrig](https://github.com/anonrig) -
168
- **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
168
+ **Yagiz Nizipli** <<yagiz.nizipli@sentry.io>> (he/him)
169
169
  * [apapirovski](https://github.com/apapirovski) -
170
170
  **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
171
171
  * [benjamingr](https://github.com/benjamingr) -
172
172
  **Benjamin Gruenbaum** <<benjamingr@gmail.com>>
173
173
  * [BridgeAR](https://github.com/BridgeAR) -
174
174
  **Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
175
- * [cjihrig](https://github.com/cjihrig) -
176
- **Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
177
175
  * [GeoffreyBooth](https://github.com/geoffreybooth) -
178
176
  **Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
179
177
  * [gireeshpunathil](https://github.com/gireeshpunathil) -
@@ -213,6 +211,8 @@ For information about the governance of the Node.js project, see
213
211
  **Ben Noordhuis** <<info@bnoordhuis.nl>>
214
212
  * [ChALkeR](https://github.com/ChALkeR) -
215
213
  **Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
214
+ * [cjihrig](https://github.com/cjihrig) -
215
+ **Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
216
216
  * [codebytere](https://github.com/codebytere) -
217
217
  **Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
218
218
  * [danbev](https://github.com/danbev) -
@@ -288,7 +288,7 @@ For information about the governance of the Node.js project, see
288
288
  * [aduh95](https://github.com/aduh95) -
289
289
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
290
290
  * [anonrig](https://github.com/anonrig) -
291
- **Yagiz Nizipli** <<yagiz@nizipli.com>> (he/him)
291
+ **Yagiz Nizipli** <<yagiz.nizipli@sentry.io>> (he/him)
292
292
  * [antsmartian](https://github.com/antsmartian) -
293
293
  **Anto Aravinth** <<anto.aravinth.cse@gmail.com>> (he/him)
294
294
  * [apapirovski](https://github.com/apapirovski) -
@@ -715,6 +715,8 @@ maintaining the Node.js project.
715
715
  **Qingyu Deng** <<i@ayase-lab.com>>
716
716
  * [bmuenzenmeyer](https://github.com/bmuenzenmeyer) -
717
717
  **Brian Muenzenmeyer** <<brian.muenzenmeyer@gmail.com>> (he/him)
718
+ * [CanadaHonk](https://github.com/CanadaHonk) -
719
+ **Oliver Medhurst** <<honk@goose.icu>> (they/them)
718
720
  * [daeyeon](https://github.com/daeyeon) -
719
721
  **Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
720
722
  * [F3n67u](https://github.com/F3n67u) -
package/bin/node CHANGED
Binary file
@@ -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.15',
39
+ 'v8_embedder_string': '-node.17',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -75,8 +75,16 @@
75
75
 
76
76
  'v8_win64_unwinding_info': 1,
77
77
 
78
- # TODO(refack): make v8-perfetto happen
78
+ # Variables controlling external defines exposed in public headers.
79
+ 'v8_enable_conservative_stack_scanning%': 0,
80
+ 'v8_enable_direct_local%': 0,
81
+ 'v8_enable_map_packing%': 0,
82
+ 'v8_enable_pointer_compression_shared_cage%': 0,
83
+ 'v8_enable_sandbox%': 0,
84
+ 'v8_enable_v8_checks%': 0,
85
+ 'v8_enable_zone_compression%': 0,
79
86
  'v8_use_perfetto': 0,
87
+ 'tsan%': 0,
80
88
 
81
89
  ##### end V8 defaults #####
82
90
 
@@ -134,7 +142,7 @@
134
142
  }],
135
143
  ],
136
144
  },
137
- 'defines': [ 'DEBUG', '_DEBUG', 'V8_ENABLE_CHECKS' ],
145
+ 'defines': [ 'DEBUG', '_DEBUG' ],
138
146
  'cflags': [ '-g', '-O0' ],
139
147
  'conditions': [
140
148
  ['OS in "aix os400"', {
@@ -257,11 +265,8 @@
257
265
  }
258
266
  },
259
267
 
260
- # Defines these mostly for node-gyp to pickup, and warn addon authors of
261
- # imminent V8 deprecations, also to sync how dependencies are configured.
268
+ # Defines these mostly for node-gyp to pickup.
262
269
  'defines': [
263
- 'V8_DEPRECATION_WARNINGS',
264
- 'V8_IMMINENT_DEPRECATION_WARNINGS',
265
270
  '_GLIBCXX_USE_CXX11_ABI=1',
266
271
  ],
267
272
 
@@ -369,15 +374,50 @@
369
374
  }],
370
375
  ],
371
376
  }],
377
+ # The defines bellow must include all things from the external_v8_defines
378
+ # list in v8/BUILD.gn.
379
+ ['v8_enable_v8_checks == 1', {
380
+ 'defines': ['V8_ENABLE_CHECKS'],
381
+ }],
372
382
  ['v8_enable_pointer_compression == 1', {
373
- 'defines': [
374
- 'V8_COMPRESS_POINTERS',
375
- 'V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE',
376
- ],
383
+ 'defines': ['V8_COMPRESS_POINTERS'],
384
+ }],
385
+ ['v8_enable_pointer_compression_shared_cage == 1', {
386
+ 'defines': ['V8_COMPRESS_POINTERS_IN_SHARED_CAGE'],
387
+ }],
388
+ ['v8_enable_pointer_compression == 1 and v8_enable_pointer_compression_shared_cage != 1', {
389
+ 'defines': ['V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE'],
377
390
  }],
378
391
  ['v8_enable_pointer_compression == 1 or v8_enable_31bit_smis_on_64bit_arch == 1', {
379
392
  'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH'],
380
393
  }],
394
+ ['v8_enable_zone_compression == 1', {
395
+ 'defines': ['V8_COMPRESS_ZONES',],
396
+ }],
397
+ ['v8_enable_sandbox == 1', {
398
+ 'defines': ['V8_ENABLE_SANDBOX',],
399
+ }],
400
+ ['v8_deprecation_warnings == 1', {
401
+ 'defines': ['V8_DEPRECATION_WARNINGS',],
402
+ }],
403
+ ['v8_imminent_deprecation_warnings == 1', {
404
+ 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',],
405
+ }],
406
+ ['v8_use_perfetto == 1', {
407
+ 'defines': ['V8_USE_PERFETTO',],
408
+ }],
409
+ ['v8_enable_map_packing == 1', {
410
+ 'defines': ['V8_MAP_PACKING',],
411
+ }],
412
+ ['tsan == 1', {
413
+ 'defines': ['V8_IS_TSAN',],
414
+ }],
415
+ ['v8_enable_conservative_stack_scanning == 1', {
416
+ 'defines': ['V8_ENABLE_CONSERVATIVE_STACK_SCANNING',],
417
+ }],
418
+ ['v8_enable_direct_local == 1', {
419
+ 'defines': ['V8_ENABLE_DIRECT_LOCAL',],
420
+ }],
381
421
  ['OS == "win"', {
382
422
  'defines': [
383
423
  'WIN32',
@@ -13,12 +13,12 @@
13
13
  'force_dynamic_crt': 0,
14
14
  'gas_version': '2.35',
15
15
  'host_arch': 'arm64',
16
- 'icu_data_in': '../../deps/icu-tmp/icudt73l.dat',
16
+ 'icu_data_in': '../../deps/icu-tmp/icudt74l.dat',
17
17
  'icu_endianness': 'l',
18
18
  'icu_gyp_path': 'tools/icu/icu-generic.gyp',
19
19
  'icu_path': 'deps/icu-small',
20
20
  'icu_small': 'false',
21
- 'icu_ver_major': '73',
21
+ 'icu_ver_major': '74',
22
22
  'is_debug': 0,
23
23
  'libdir': 'lib',
24
24
  'llvm_version': '0.0',
@@ -76,6 +76,7 @@
76
76
  'lib/internal/blocklist.js',
77
77
  'lib/internal/bootstrap/node.js',
78
78
  'lib/internal/bootstrap/realm.js',
79
+ 'lib/internal/bootstrap/shadow_realm.js',
79
80
  'lib/internal/bootstrap/switches/does_not_own_process_state.js',
80
81
  'lib/internal/bootstrap/switches/does_own_process_state.js',
81
82
  'lib/internal/bootstrap/switches/is_main_thread.js',
@@ -384,9 +385,11 @@
384
385
  'v8_enable_inspector': 1,
385
386
  'v8_enable_javascript_promise_hooks': 1,
386
387
  'v8_enable_lite_mode': 0,
388
+ 'v8_enable_maglev': 0,
387
389
  'v8_enable_object_print': 1,
388
390
  'v8_enable_pointer_compression': 0,
389
391
  'v8_enable_shared_ro_heap': 1,
392
+ 'v8_enable_v8_checks': 0,
390
393
  'v8_enable_webassembly': 1,
391
394
  'v8_no_strict_aliasing': 1,
392
395
  'v8_optimized_debug': 1,
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 21
26
- #define NODE_MINOR_VERSION 2
26
+ #define NODE_MINOR_VERSION 3
27
27
  #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
@@ -230,7 +230,7 @@ ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level);
230
230
  Initializes the internal stream state for compression. The fields
231
231
  zalloc, zfree and opaque must be initialized before by the caller. If
232
232
  zalloc and zfree are set to Z_NULL, deflateInit updates them to use default
233
- allocation functions.
233
+ allocation functions. total_in, total_out, adler, and msg are initialized.
234
234
 
235
235
  The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
236
236
  1 gives best speed, 9 gives best compression, 0 gives no compression at all
@@ -382,7 +382,8 @@ ZEXTERN int ZEXPORT inflateInit(z_streamp strm);
382
382
  read or consumed. The allocation of a sliding window will be deferred to
383
383
  the first call of inflate (if the decompression does not complete on the
384
384
  first call). If zalloc and zfree are set to Z_NULL, inflateInit updates
385
- them to use default allocation functions.
385
+ them to use default allocation functions. total_in, total_out, adler, and
386
+ msg are initialized.
386
387
 
387
388
  inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
388
389
  memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
@@ -695,7 +696,7 @@ ZEXTERN int ZEXPORT deflateReset(z_streamp strm);
695
696
  This function is equivalent to deflateEnd followed by deflateInit, but
696
697
  does not free and reallocate the internal compression state. The stream
697
698
  will leave the compression level and any other attributes that may have been
698
- set unchanged.
699
+ set unchanged. total_in, total_out, adler, and msg are initialized.
699
700
 
700
701
  deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
701
702
  stream state was inconsistent (such as zalloc or state being Z_NULL).
@@ -820,8 +821,9 @@ ZEXTERN int ZEXPORT deflateSetHeader(z_streamp strm,
820
821
  gzip file" and give up.
821
822
 
822
823
  If deflateSetHeader is not used, the default gzip header has text false,
823
- the time set to zero, and os set to 255, with no extra, name, or comment
824
- fields. The gzip header is returned to the default state by deflateReset().
824
+ the time set to zero, and os set to the current operating system, with no
825
+ extra, name, or comment fields. The gzip header is returned to the default
826
+ state by deflateReset().
825
827
 
826
828
  deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
827
829
  stream state was inconsistent.
@@ -960,6 +962,7 @@ ZEXTERN int ZEXPORT inflateReset(z_streamp strm);
960
962
  This function is equivalent to inflateEnd followed by inflateInit,
961
963
  but does not free and reallocate the internal decompression state. The
962
964
  stream will keep attributes that may have been set by inflateInit2.
965
+ total_in, total_out, adler, and msg are initialized.
963
966
 
964
967
  inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
965
968
  stream state was inconsistent (such as zalloc or state being Z_NULL).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-arm64",
3
- "version": "v21.2.0",
3
+ "version": "v21.3.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"