node-bin-darwin-arm64 16.3.0 → 16.4.1
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 +154 -0
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +1 -0
- package/include/node/node_version.h +2 -2
- package/include/node/v8-internal.h +10 -8
- package/include/node/v8-platform.h +0 -1
- package/include/node/v8-version.h +3 -3
- package/include/node/v8.h +33 -2
- package/package.json +1 -1
- package/share/man/man1/node.1 +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
</tr>
|
|
11
11
|
<tr>
|
|
12
12
|
<td>
|
|
13
|
+
<a href="#16.4.1">16.4.1</a><br/>
|
|
14
|
+
<a href="#16.4.0">16.4.0</a><br/>
|
|
13
15
|
<a href="#16.3.0">16.3.0</a><br/>
|
|
14
16
|
<a href="#16.2.0">16.2.0</a><br/>
|
|
15
17
|
<a href="#16.1.0">16.1.0</a><br/>
|
|
@@ -36,6 +38,158 @@
|
|
|
36
38
|
* [io.js](CHANGELOG_IOJS.md)
|
|
37
39
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
38
40
|
|
|
41
|
+
<a id="16.4.1"></a>
|
|
42
|
+
## 2021-07-01, Version 16.4.1 (Current), @BethGriggs
|
|
43
|
+
|
|
44
|
+
This is a security release.
|
|
45
|
+
|
|
46
|
+
### Notable Changes
|
|
47
|
+
|
|
48
|
+
Vulnerabilities fixed:
|
|
49
|
+
|
|
50
|
+
* **CVE-2021-22918**: libuv upgrade - Out of bounds read (Medium)
|
|
51
|
+
* Node.js is vulnerable to out-of-bounds read in libuv's uv__idna_toascii() function which is used to convert strings to ASCII. This is called by Node's dns module's lookup() function and can lead to information disclosures or crashes. You can read more about it in https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22918
|
|
52
|
+
* **CVE-2021-22921**: Windows installer - Node Installer Local Privilege Escalation (Medium)
|
|
53
|
+
* Node.js is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specifically, improper configuration of permissions in the installation directory allows an attacker to perform two different escalation attacks: PATH and DLL hijacking. You can read more about it in https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22921
|
|
54
|
+
|
|
55
|
+
### Commits
|
|
56
|
+
|
|
57
|
+
* [[`d33aead28b`](https://github.com/nodejs/node/commit/d33aead28b)] - **deps**: uv: cherry-pick 99c29c9c2c9b (Ben Noordhuis) [nodejs-private/node-private#267](https://github.com/nodejs-private/node-private/pull/267)
|
|
58
|
+
* [[`2690907b81`](https://github.com/nodejs/node/commit/2690907b81)] - **win,msi**: set install directory permission (AkshayK) [nodejs-private/node-private#269](https://github.com/nodejs-private/node-private/pull/269)
|
|
59
|
+
|
|
60
|
+
<a id="16.4.0"></a>
|
|
61
|
+
## 2021-06-23, Version 16.4.0 (Current), @danielleadams
|
|
62
|
+
|
|
63
|
+
### Notable changes
|
|
64
|
+
|
|
65
|
+
* **async_hooks**:
|
|
66
|
+
* stabilize part of AsyncLocalStorage (Vladimir de Turckheim) [#37675](https://github.com/nodejs/node/pull/37675)
|
|
67
|
+
* **deps**:
|
|
68
|
+
* upgrade npm to 7.18.1 (npm-robot) [#39065](https://github.com/nodejs/node/pull/39065)
|
|
69
|
+
* update V8 to 9.1.269.36 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
70
|
+
* **dns**:
|
|
71
|
+
* allow `--dns-result-order` to change default dns verbatim (Ouyang Yadong) [#38099](https://github.com/nodejs/node/pull/38099)
|
|
72
|
+
|
|
73
|
+
### Commits
|
|
74
|
+
|
|
75
|
+
* [[`d2b972ee52`](https://github.com/nodejs/node/commit/d2b972ee52)] - **async_hooks**: check for empty contexts before removing (Bryan English) [#39095](https://github.com/nodejs/node/pull/39095)
|
|
76
|
+
* [[`03e75fda4c`](https://github.com/nodejs/node/commit/03e75fda4c)] - **async_hooks**: switch between native and context hooks correctly (Stephen Belanger) [#38912](https://github.com/nodejs/node/pull/38912)
|
|
77
|
+
* [[`8115e6ee6d`](https://github.com/nodejs/node/commit/8115e6ee6d)] - **(SEMVER-MINOR)** **async_hooks**: stabilize part of AsyncLocalStorage (Vladimir de Turckheim) [#37675](https://github.com/nodejs/node/pull/37675)
|
|
78
|
+
* [[`5f51729014`](https://github.com/nodejs/node/commit/5f51729014)] - **bootstrap**: move event loop handle checking into snapshot builder (Joyee Cheung) [#39007](https://github.com/nodejs/node/pull/39007)
|
|
79
|
+
* [[`9d100aa269`](https://github.com/nodejs/node/commit/9d100aa269)] - **bootstrap**: split NodeMainInstance::Run() (Joyee Cheung) [#39007](https://github.com/nodejs/node/pull/39007)
|
|
80
|
+
* [[`2aaf2f231f`](https://github.com/nodejs/node/commit/2aaf2f231f)] - **build**: reconfigure when gyp files change on Windows (Joyee Cheung) [#39066](https://github.com/nodejs/node/pull/39066)
|
|
81
|
+
* [[`7f225a05ee`](https://github.com/nodejs/node/commit/7f225a05ee)] - ***Revert*** "**build**: work around bug in MSBuild v16.10.0" (Michaël Zasso) [#38977](https://github.com/nodejs/node/pull/38977)
|
|
82
|
+
* [[`1853127dde`](https://github.com/nodejs/node/commit/1853127dde)] - **build**: reset embedder string to "-node.0" (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
83
|
+
* [[`c0d236f5ea`](https://github.com/nodejs/node/commit/c0d236f5ea)] - **build**: make build-addons errors fail the build (Richard Lau) [#38983](https://github.com/nodejs/node/pull/38983)
|
|
84
|
+
* [[`173292bcf8`](https://github.com/nodejs/node/commit/173292bcf8)] - **build**: fix commit-queue default branch (Mary Marchini) [#38998](https://github.com/nodejs/node/pull/38998)
|
|
85
|
+
* [[`e939e243bf`](https://github.com/nodejs/node/commit/e939e243bf)] - **build**: don't pass python override to V8 build (Richard Lau) [#38969](https://github.com/nodejs/node/pull/38969)
|
|
86
|
+
* [[`651c58b412`](https://github.com/nodejs/node/commit/651c58b412)] - **build**: correct Xcode spelling in .gitignore (bl-ue) [#38895](https://github.com/nodejs/node/pull/38895)
|
|
87
|
+
* [[`5203c9ced7`](https://github.com/nodejs/node/commit/5203c9ced7)] - **build**: fast-track npm PRs and dont-land them on LTS (Michaël Zasso) [#38885](https://github.com/nodejs/node/pull/38885)
|
|
88
|
+
* [[`7de57d4d33`](https://github.com/nodejs/node/commit/7de57d4d33)] - **build**: dont-land gyp-next PRs on LTS branches (Michaël Zasso) [#38887](https://github.com/nodejs/node/pull/38887)
|
|
89
|
+
* [[`e87cd4542b`](https://github.com/nodejs/node/commit/e87cd4542b)] - **child_process**: refactor to use `validateBoolean` (Qingyu Deng) [#38927](https://github.com/nodejs/node/pull/38927)
|
|
90
|
+
* [[`69fa9e16e9`](https://github.com/nodejs/node/commit/69fa9e16e9)] - **(SEMVER-MINOR)** **child_process**: allow `options.cwd` receive a URL (Khaidi Chu) [#38862](https://github.com/nodejs/node/pull/38862)
|
|
91
|
+
* [[`cf9d686c35`](https://github.com/nodejs/node/commit/cf9d686c35)] - **crypto**: fix aes crash when tag length too small (Khaidi Chu) [#38914](https://github.com/nodejs/node/pull/38914)
|
|
92
|
+
* [[`1799ea36f0`](https://github.com/nodejs/node/commit/1799ea36f0)] - **crypto**: use compatible version of EVP\_CIPHER\_name (Shelley Vohr) [#38925](https://github.com/nodejs/node/pull/38925)
|
|
93
|
+
* [[`6d5dc63ae4`](https://github.com/nodejs/node/commit/6d5dc63ae4)] - **crypto**: fix label cast in EVP\_PKEY\_CTX\_set0\_rsa\_oaep\_label (Shelley Vohr) [#38926](https://github.com/nodejs/node/pull/38926)
|
|
94
|
+
* [[`6e93c17bf5`](https://github.com/nodejs/node/commit/6e93c17bf5)] - **crypto**: use EVP\_get\_cipherbynid directly (Shelley Vohr) [#38901](https://github.com/nodejs/node/pull/38901)
|
|
95
|
+
* [[`82c293959e`](https://github.com/nodejs/node/commit/82c293959e)] - **crypto**: add missing rand.h include (Shelley Vohr) [#38864](https://github.com/nodejs/node/pull/38864)
|
|
96
|
+
* [[`e4f802de9a`](https://github.com/nodejs/node/commit/e4f802de9a)] - **debugger**: rename internal library for clarity (Rich Trott) [#39080](https://github.com/nodejs/node/pull/39080)
|
|
97
|
+
* [[`1e8bdab581`](https://github.com/nodejs/node/commit/1e8bdab581)] - **debugger**: use ERR\_DEBUGGER\_STARTUP\_ERROR in \_inspect.js (Rich Trott) [#39024](https://github.com/nodejs/node/pull/39024)
|
|
98
|
+
* [[`b43cb69fbb`](https://github.com/nodejs/node/commit/b43cb69fbb)] - **debugger**: use error codes in debugger REPL (Rich Trott) [#39024](https://github.com/nodejs/node/pull/39024)
|
|
99
|
+
* [[`dc9218136b`](https://github.com/nodejs/node/commit/dc9218136b)] - **debugger**: use ERR\_DEBUGGER\_ERROR in debugger client (Rich Trott) [#39024](https://github.com/nodejs/node/pull/39024)
|
|
100
|
+
* [[`711916a271`](https://github.com/nodejs/node/commit/711916a271)] - **debugger**: remove unnecessary boilerplate copyright comment (Rich Trott) [#38952](https://github.com/nodejs/node/pull/38952)
|
|
101
|
+
* [[`0f65e41442`](https://github.com/nodejs/node/commit/0f65e41442)] - **debugger**: reduce scope of eslint disable comment (Rich Trott) [#38946](https://github.com/nodejs/node/pull/38946)
|
|
102
|
+
* [[`1fa724ec5a`](https://github.com/nodejs/node/commit/1fa724ec5a)] - **deps**: upgrade npm to 7.18.1 (npm-robot) [#39065](https://github.com/nodejs/node/pull/39065)
|
|
103
|
+
* [[`c6aa68598d`](https://github.com/nodejs/node/commit/c6aa68598d)] - **deps**: upgrade npm to 7.17.0 (npm-robot) [#38999](https://github.com/nodejs/node/pull/38999)
|
|
104
|
+
* [[`864fe9910b`](https://github.com/nodejs/node/commit/864fe9910b)] - **deps**: make V8 9.1 abi-compatible with 9.0 (Michaël Zasso) [#38991](https://github.com/nodejs/node/pull/38991)
|
|
105
|
+
* [[`c93f3573eb`](https://github.com/nodejs/node/commit/c93f3573eb)] - **deps**: V8: cherry-pick fa4cb172cde2 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
106
|
+
* [[`3c6c28b0a1`](https://github.com/nodejs/node/commit/3c6c28b0a1)] - **deps**: V8: cherry-pick 4c074516397b (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
107
|
+
* [[`3c37396d5c`](https://github.com/nodejs/node/commit/3c37396d5c)] - **deps**: V8: cherry-pick 5f4413194480 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
108
|
+
* [[`3433559a55`](https://github.com/nodejs/node/commit/3433559a55)] - **deps**: V8: cherry-pick 272445f10927 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
109
|
+
* [[`f56c78574e`](https://github.com/nodejs/node/commit/f56c78574e)] - **deps**: V8: cherry-pick c0fceaa0669b (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
110
|
+
* [[`7197fcec93`](https://github.com/nodejs/node/commit/7197fcec93)] - **deps**: V8: cherry-pick d59db06bf542 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
111
|
+
* [[`bf7aa9fef8`](https://github.com/nodejs/node/commit/bf7aa9fef8)] - **deps**: silence irrelevant V8 warnings (Michaël Zasso) [#37587](https://github.com/nodejs/node/pull/37587)
|
|
112
|
+
* [[`eac377bc15`](https://github.com/nodejs/node/commit/eac377bc15)] - **deps**: V8: backport aaacffa1e003 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
113
|
+
* [[`1a7c8a12c1`](https://github.com/nodejs/node/commit/1a7c8a12c1)] - **deps**: fix V8 build issue with inline methods (Jiawen Geng) [#35415](https://github.com/nodejs/node/pull/35415)
|
|
114
|
+
* [[`3c9a75522b`](https://github.com/nodejs/node/commit/3c9a75522b)] - **deps**: make v8.h compatible with VS2015 (Joao Reis) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
115
|
+
* [[`8ed258339a`](https://github.com/nodejs/node/commit/8ed258339a)] - **deps**: V8: forward declaration of `Rtl*FunctionTable` (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
116
|
+
* [[`4ef37c83a9`](https://github.com/nodejs/node/commit/4ef37c83a9)] - **deps**: V8: patch register-arm64.h (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
117
|
+
* [[`7c61c6ee25`](https://github.com/nodejs/node/commit/7c61c6ee25)] - **deps**: V8: un-cherry-pick bd019bd (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
118
|
+
* [[`e82ef4148e`](https://github.com/nodejs/node/commit/e82ef4148e)] - **(SEMVER-MINOR)** **deps**: update V8 to 9.1.269.36 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
119
|
+
* [[`70af146745`](https://github.com/nodejs/node/commit/70af146745)] - **deps**: upgrade npm to 7.16.0 (npm-robot) [#38920](https://github.com/nodejs/node/pull/38920)
|
|
120
|
+
* [[`a71df7630e`](https://github.com/nodejs/node/commit/a71df7630e)] - **(SEMVER-MINOR)** **dns**: allow `--dns-result-order` to change default dns verbatim (Ouyang Yadong) [#38099](https://github.com/nodejs/node/pull/38099)
|
|
121
|
+
* [[`dce256b210`](https://github.com/nodejs/node/commit/dce256b210)] - **doc**: remove references to deleted freenode channels (devsnek) [#39047](https://github.com/nodejs/node/pull/39047)
|
|
122
|
+
* [[`1afff98805`](https://github.com/nodejs/node/commit/1afff98805)] - **doc**: fix typos (bl-ue) [#39049](https://github.com/nodejs/node/pull/39049)
|
|
123
|
+
* [[`858f66e691`](https://github.com/nodejs/node/commit/858f66e691)] - **doc**: add missing parameter types (Voltrex) [#39013](https://github.com/nodejs/node/pull/39013)
|
|
124
|
+
* [[`ed91379186`](https://github.com/nodejs/node/commit/ed91379186)] - **doc**: clearify that http does chunked encoding itself (Mao Wtm) [#28379](https://github.com/nodejs/node/pull/28379)
|
|
125
|
+
* [[`51561f390a`](https://github.com/nodejs/node/commit/51561f390a)] - **doc**: add missing changelog links (Antoine du Hamel) [#39016](https://github.com/nodejs/node/pull/39016)
|
|
126
|
+
* [[`a19170eb9d`](https://github.com/nodejs/node/commit/a19170eb9d)] - **doc**: clarify that only one Python version is required to build (bl-ue) [#38894](https://github.com/nodejs/node/pull/38894)
|
|
127
|
+
* [[`7b219992e0`](https://github.com/nodejs/node/commit/7b219992e0)] - **doc**: fix markup for aesImportParams (Tobias Nießen) [#38898](https://github.com/nodejs/node/pull/38898)
|
|
128
|
+
* [[`405b50cdba`](https://github.com/nodejs/node/commit/405b50cdba)] - **doc**: use `await` in filehandle.truncate() snippet (RA80533) [#38939](https://github.com/nodejs/node/pull/38939)
|
|
129
|
+
* [[`5218fe86d1`](https://github.com/nodejs/node/commit/5218fe86d1)] - **doc**: fixed typo in process.md (Derevianchenko Maksym) [#38941](https://github.com/nodejs/node/pull/38941)
|
|
130
|
+
* [[`f903ad85f2`](https://github.com/nodejs/node/commit/f903ad85f2)] - **doc**: add missing semis after classes (Darshan Sen) [#38931](https://github.com/nodejs/node/pull/38931)
|
|
131
|
+
* [[`0bdeeda3b5`](https://github.com/nodejs/node/commit/0bdeeda3b5)] - **doc**: update write callback documentation (Simone Busoli) [#38959](https://github.com/nodejs/node/pull/38959)
|
|
132
|
+
* [[`7a7c0588ad`](https://github.com/nodejs/node/commit/7a7c0588ad)] - **doc**: mark util.inherits as legacy (Voltrex) [#38896](https://github.com/nodejs/node/pull/38896)
|
|
133
|
+
* [[`f6964dc506`](https://github.com/nodejs/node/commit/f6964dc506)] - **doc**: clarify when `readable._read(...)` is called (Shaun Keys) [#38726](https://github.com/nodejs/node/pull/38726)
|
|
134
|
+
* [[`3481b02e77`](https://github.com/nodejs/node/commit/3481b02e77)] - **doc**: mark Node.js v15.x as EOL (Antoine du Hamel) [#38891](https://github.com/nodejs/node/pull/38891)
|
|
135
|
+
* [[`17a9846920`](https://github.com/nodejs/node/commit/17a9846920)] - **doc**: fix .mjs syntax in crypto.md (himself65) [#38882](https://github.com/nodejs/node/pull/38882)
|
|
136
|
+
* [[`8c7b2bab5f`](https://github.com/nodejs/node/commit/8c7b2bab5f)] - **doc,fs**: remove experimental status for WHATWG URL as path (Antoine du Hamel) [#38870](https://github.com/nodejs/node/pull/38870)
|
|
137
|
+
* [[`eddde6c31a`](https://github.com/nodejs/node/commit/eddde6c31a)] - **errors**: don't rekey on primitive type (Benjamin Coe) [#39025](https://github.com/nodejs/node/pull/39025)
|
|
138
|
+
* [[`3d7892ef39`](https://github.com/nodejs/node/commit/3d7892ef39)] - **errors**: add ERR\_DEBUGGER\_STARTUP\_ERROR (Rich Trott) [#39024](https://github.com/nodejs/node/pull/39024)
|
|
139
|
+
* [[`631856ea32`](https://github.com/nodejs/node/commit/631856ea32)] - **errors**: add ERR\_DEBUGGER\_ERROR (Rich Trott) [#39024](https://github.com/nodejs/node/pull/39024)
|
|
140
|
+
* [[`336571fbdd`](https://github.com/nodejs/node/commit/336571fbdd)] - ***Revert*** "**http**: make HEAD method to work with keep-alive" (Michaël Zasso) [#38949](https://github.com/nodejs/node/pull/38949)
|
|
141
|
+
* [[`c2b4fbba0f`](https://github.com/nodejs/node/commit/c2b4fbba0f)] - **lib**: remove semicolon in preparation for babel/eslint-parser update (Rich Trott) [#39094](https://github.com/nodejs/node/pull/39094)
|
|
142
|
+
* [[`f17dde81f3`](https://github.com/nodejs/node/commit/f17dde81f3)] - **lib**: make internal/options lazy (Joyee Cheung) [#38993](https://github.com/nodejs/node/pull/38993)
|
|
143
|
+
* [[`551430514b`](https://github.com/nodejs/node/commit/551430514b)] - **lib**: add JSDoc typings for child\_process (Voltrex) [#38222](https://github.com/nodejs/node/pull/38222)
|
|
144
|
+
* [[`ded83350a0`](https://github.com/nodejs/node/commit/ded83350a0)] - **lib**: make primordials Promise methods safe (Antoine du Hamel) [#38650](https://github.com/nodejs/node/pull/38650)
|
|
145
|
+
* [[`637c1fa83c`](https://github.com/nodejs/node/commit/637c1fa83c)] - **lib**: refactor debuglog init (Antoine du Hamel) [#38838](https://github.com/nodejs/node/pull/38838)
|
|
146
|
+
* [[`5b5e07a2cc`](https://github.com/nodejs/node/commit/5b5e07a2cc)] - **meta**: update label-pr-config (Michaël Zasso) [#38950](https://github.com/nodejs/node/pull/38950)
|
|
147
|
+
* [[`92ed1c6cce`](https://github.com/nodejs/node/commit/92ed1c6cce)] - **module**: fix legacy `node` specifier resolution to resolve `"main"` field (Antoine du Hamel) [#38979](https://github.com/nodejs/node/pull/38979)
|
|
148
|
+
* [[`4174f139b6`](https://github.com/nodejs/node/commit/4174f139b6)] - **net**: use missing validator (Voltrex) [#38984](https://github.com/nodejs/node/pull/38984)
|
|
149
|
+
* [[`f7724ab342`](https://github.com/nodejs/node/commit/f7724ab342)] - **node-api**: avoid crashing on passed-in null string (Gabriel Schulhof) [#38923](https://github.com/nodejs/node/pull/38923)
|
|
150
|
+
* [[`ec3e5b4c15`](https://github.com/nodejs/node/commit/ec3e5b4c15)] - **node-api**: avoid SecondPassCallback crash (Michael Dawson) [#38899](https://github.com/nodejs/node/pull/38899)
|
|
151
|
+
* [[`74f5e30d69`](https://github.com/nodejs/node/commit/74f5e30d69)] - **node-api**: rtn pending excep on napi\_new\_instance (legendecas) [#38798](https://github.com/nodejs/node/pull/38798)
|
|
152
|
+
* [[`4c6193fea1`](https://github.com/nodejs/node/commit/4c6193fea1)] - **report**: generates report on threads with no isolates (legendecas) [#38994](https://github.com/nodejs/node/pull/38994)
|
|
153
|
+
* [[`3c7a7d9ee4`](https://github.com/nodejs/node/commit/3c7a7d9ee4)] - **(SEMVER-MINOR)** **src**: allow to negate boolean CLI flags (Michaël Zasso) [#39023](https://github.com/nodejs/node/pull/39023)
|
|
154
|
+
* [[`284d9c6228`](https://github.com/nodejs/node/commit/284d9c6228)] - **src**: cleanup uv\_fs\_t regardless of success or not (legendecas) [#38996](https://github.com/nodejs/node/pull/38996)
|
|
155
|
+
* [[`902bb858d7`](https://github.com/nodejs/node/commit/902bb858d7)] - **src**: refactor to use locale functions (Darshan Sen) [#39014](https://github.com/nodejs/node/pull/39014)
|
|
156
|
+
* [[`10370c5e8a`](https://github.com/nodejs/node/commit/10370c5e8a)] - **src**: fix multiple AddLinkedBinding() calls (Anna Henningsen) [#39012](https://github.com/nodejs/node/pull/39012)
|
|
157
|
+
* [[`ff8313c3a5`](https://github.com/nodejs/node/commit/ff8313c3a5)] - **src**: throw error in LoadBuiltinModuleSource when reading fails (Joyee Cheung) [#38904](https://github.com/nodejs/node/pull/38904)
|
|
158
|
+
* [[`9ba5518f08`](https://github.com/nodejs/node/commit/9ba5518f08)] - **src**: skip test\_fatal/test\_threads for Debug builds (Daniel Bevenius) [#38805](https://github.com/nodejs/node/pull/38805)
|
|
159
|
+
* [[`06afb8df65`](https://github.com/nodejs/node/commit/06afb8df65)] - **(SEMVER-MINOR)** **src**: make InitializeOncePerProcess more flexible (Shelley Vohr) [#38888](https://github.com/nodejs/node/pull/38888)
|
|
160
|
+
* [[`db4b192113`](https://github.com/nodejs/node/commit/db4b192113)] - **src**: add not-weak DCHECK to PersistentToLocal::Strong (Anna Henningsen) [#38875](https://github.com/nodejs/node/pull/38875)
|
|
161
|
+
* [[`08b2a4a138`](https://github.com/nodejs/node/commit/08b2a4a138)] - **src,test**: raise error for --enable-fips when no FIPS (Daniel Bevenius) [#38859](https://github.com/nodejs/node/pull/38859)
|
|
162
|
+
* [[`5d92c09bbf`](https://github.com/nodejs/node/commit/5d92c09bbf)] - **src,url**: separate some tables out of node\_url.cc (Khaidi Chu) [#38988](https://github.com/nodejs/node/pull/38988)
|
|
163
|
+
* [[`c20e28e1a0`](https://github.com/nodejs/node/commit/c20e28e1a0)] - **stream**: fix pipeline pump (Robert Nagy) [#39006](https://github.com/nodejs/node/pull/39006)
|
|
164
|
+
* [[`7b026d8a72`](https://github.com/nodejs/node/commit/7b026d8a72)] - **test**: move inspector-cli tests to sequential (Rich Trott) [#39079](https://github.com/nodejs/node/pull/39079)
|
|
165
|
+
* [[`a53911b166`](https://github.com/nodejs/node/commit/a53911b166)] - **test**: improve buffer coverage (Rongjian Zhang) [#38538](https://github.com/nodejs/node/pull/38538)
|
|
166
|
+
* [[`5e9175f148`](https://github.com/nodejs/node/commit/5e9175f148)] - **test**: fix name of variable in inspector-cli test (Tobias Nießen) [#38869](https://github.com/nodejs/node/pull/38869)
|
|
167
|
+
* [[`bd924610ec`](https://github.com/nodejs/node/commit/bd924610ec)] - **test**: fix typo (Houssem Chebab) [#39045](https://github.com/nodejs/node/pull/39045)
|
|
168
|
+
* [[`d50df5dec1`](https://github.com/nodejs/node/commit/d50df5dec1)] - **test**: fix typo in test-http2-invalidheaderfield.js (Ikko Ashimine) [#39021](https://github.com/nodejs/node/pull/39021)
|
|
169
|
+
* [[`6111671d45`](https://github.com/nodejs/node/commit/6111671d45)] - **test**: adapt abort tests for new Windows code (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
170
|
+
* [[`1816d46cef`](https://github.com/nodejs/node/commit/1816d46cef)] - **test**: adapt test-linux-perf to V8 changes (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
171
|
+
* [[`32961c4781`](https://github.com/nodejs/node/commit/32961c4781)] - **test**: fix V8 serdes test for V8 9.1 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
172
|
+
* [[`f652284b3b`](https://github.com/nodejs/node/commit/f652284b3b)] - **test**: remove obsolete TLS test (Rich Trott) [#39001](https://github.com/nodejs/node/pull/39001)
|
|
173
|
+
* [[`81bbeab3bd`](https://github.com/nodejs/node/commit/81bbeab3bd)] - **test**: improve coverage of lib/events.js (Rongjian Zhang) [#38582](https://github.com/nodejs/node/pull/38582)
|
|
174
|
+
* [[`e82111f890`](https://github.com/nodejs/node/commit/e82111f890)] - **test**: http outgoing \_headers setter null (ycjcl868) [#38881](https://github.com/nodejs/node/pull/38881)
|
|
175
|
+
* [[`1f10e84939`](https://github.com/nodejs/node/commit/1f10e84939)] - **test**: suppress warning in test\_environment.cc (Daniel Bevenius) [#38868](https://github.com/nodejs/node/pull/38868)
|
|
176
|
+
* [[`379b5f79a9`](https://github.com/nodejs/node/commit/379b5f79a9)] - **tls**: tweak clientCertEngine argument parsing (Shelley Vohr) [#38900](https://github.com/nodejs/node/pull/38900)
|
|
177
|
+
* [[`78d2e0ed8e`](https://github.com/nodejs/node/commit/78d2e0ed8e)] - **tools**: update babel-eslint-parser to 7.14.5 (Rich Trott) [#39094](https://github.com/nodejs/node/pull/39094)
|
|
178
|
+
* [[`fed641127a`](https://github.com/nodejs/node/commit/fed641127a)] - **tools**: update ESLint to 7.29.0 (Rich Trott) [#39083](https://github.com/nodejs/node/pull/39083)
|
|
179
|
+
* [[`3ae2a0be48`](https://github.com/nodejs/node/commit/3ae2a0be48)] - **tools**: fix typo (Houssem Chebab) [#39044](https://github.com/nodejs/node/pull/39044)
|
|
180
|
+
* [[`a1d0aef60e`](https://github.com/nodejs/node/commit/a1d0aef60e)] - **tools**: update doctool dependencies, migrate to ESM (Michaël Zasso) [#38966](https://github.com/nodejs/node/pull/38966)
|
|
181
|
+
* [[`2a292cf574`](https://github.com/nodejs/node/commit/2a292cf574)] - **tools**: update V8 gypfiles for 9.1 (Michaël Zasso) [#38273](https://github.com/nodejs/node/pull/38273)
|
|
182
|
+
* [[`0c90fd8454`](https://github.com/nodejs/node/commit/0c90fd8454)] - **tools**: avoid crashing CQ when git push fails (Antoine du Hamel) [#36861](https://github.com/nodejs/node/pull/36861)
|
|
183
|
+
* [[`f817c2d3bb`](https://github.com/nodejs/node/commit/f817c2d3bb)] - **tools**: fix typo in commit-queue.sh (bl-ue) [#39000](https://github.com/nodejs/node/pull/39000)
|
|
184
|
+
* [[`be5101eb32`](https://github.com/nodejs/node/commit/be5101eb32)] - **tools**: update ESLint to 7.28.0 (Luigi Pinca) [#38955](https://github.com/nodejs/node/pull/38955)
|
|
185
|
+
* [[`9bf9ddb490`](https://github.com/nodejs/node/commit/9bf9ddb490)] - **tools**: refactor snapshot builder (Joyee Cheung) [#38902](https://github.com/nodejs/node/pull/38902)
|
|
186
|
+
* [[`0706565097`](https://github.com/nodejs/node/commit/0706565097)] - **tools**: bump remark-preset-lint-node to 2.3.0 (Rich Trott) [#38910](https://github.com/nodejs/node/pull/38910)
|
|
187
|
+
* [[`7d35fa7938`](https://github.com/nodejs/node/commit/7d35fa7938)] - **tools**: update gyp-next to v0.9.1 (Jiawen Geng) [#38867](https://github.com/nodejs/node/pull/38867)
|
|
188
|
+
* [[`00c20e621f`](https://github.com/nodejs/node/commit/00c20e621f)] - **tools,doc**: forbid CJS globals in ESM code snippets (Antoine du Hamel) [#38889](https://github.com/nodejs/node/pull/38889)
|
|
189
|
+
* [[`99161b09f6`](https://github.com/nodejs/node/commit/99161b09f6)] - **url,src**: simplify ipv6 logic by using uv\_inet\_pton (Khaidi Chu) [#38842](https://github.com/nodejs/node/pull/38842)
|
|
190
|
+
* [[`f40725f2a1`](https://github.com/nodejs/node/commit/f40725f2a1)] - **vm**: use missing validator (Voltrex) [#38935](https://github.com/nodejs/node/pull/38935)
|
|
191
|
+
* [[`f959cb3c68`](https://github.com/nodejs/node/commit/f959cb3c68)] - **worker**: do not look up context twice in PostMessage (Anna Henningsen) [#38784](https://github.com/nodejs/node/pull/38784)
|
|
192
|
+
|
|
39
193
|
<a id="16.3.0"></a>
|
|
40
194
|
## 2021-06-02, Version 16.3.0 (Current), @danielleadams
|
|
41
195
|
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
package/include/node/config.gypi
CHANGED
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 16
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 4
|
|
27
|
+
#define NODE_PATCH_VERSION 1
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME ""
|
|
@@ -358,8 +358,9 @@ class Internals {
|
|
|
358
358
|
internal::Address heap_object_ptr, int offset) {
|
|
359
359
|
#ifdef V8_COMPRESS_POINTERS
|
|
360
360
|
uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
|
|
361
|
-
internal::Address
|
|
362
|
-
|
|
361
|
+
internal::Address base =
|
|
362
|
+
GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
|
|
363
|
+
return base + static_cast<internal::Address>(static_cast<uintptr_t>(value));
|
|
363
364
|
#else
|
|
364
365
|
return ReadRawField<internal::Address>(heap_object_ptr, offset);
|
|
365
366
|
#endif
|
|
@@ -411,18 +412,19 @@ class Internals {
|
|
|
411
412
|
|
|
412
413
|
#ifdef V8_COMPRESS_POINTERS
|
|
413
414
|
// See v8:7703 or src/ptr-compr.* for details about pointer compression.
|
|
414
|
-
static constexpr size_t
|
|
415
|
-
static constexpr size_t
|
|
415
|
+
static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
|
|
416
|
+
static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
|
|
416
417
|
|
|
417
|
-
V8_INLINE static internal::Address
|
|
418
|
+
V8_INLINE static internal::Address GetPtrComprCageBaseFromOnHeapAddress(
|
|
418
419
|
internal::Address addr) {
|
|
419
|
-
return addr & -static_cast<intptr_t>(
|
|
420
|
+
return addr & -static_cast<intptr_t>(kPtrComprCageBaseAlignment);
|
|
420
421
|
}
|
|
421
422
|
|
|
422
423
|
V8_INLINE static internal::Address DecompressTaggedAnyField(
|
|
423
424
|
internal::Address heap_object_ptr, uint32_t value) {
|
|
424
|
-
internal::Address
|
|
425
|
-
|
|
425
|
+
internal::Address base =
|
|
426
|
+
GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
|
|
427
|
+
return base + static_cast<internal::Address>(static_cast<uintptr_t>(value));
|
|
426
428
|
}
|
|
427
429
|
|
|
428
430
|
#endif // V8_COMPRESS_POINTERS
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
// NOTE these macros are used by some of the tool scripts and the build
|
|
10
10
|
// system so their names cannot be changed without changing the scripts.
|
|
11
11
|
#define V8_MAJOR_VERSION 9
|
|
12
|
-
#define V8_MINOR_VERSION
|
|
13
|
-
#define V8_BUILD_NUMBER
|
|
14
|
-
#define V8_PATCH_LEVEL
|
|
12
|
+
#define V8_MINOR_VERSION 1
|
|
13
|
+
#define V8_BUILD_NUMBER 269
|
|
14
|
+
#define V8_PATCH_LEVEL 36
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
|
17
17
|
// (Boolean macro values are not supported by all preprocessors.)
|
package/include/node/v8.h
CHANGED
|
@@ -1940,7 +1940,7 @@ class V8_EXPORT ScriptCompiler {
|
|
|
1940
1940
|
*/
|
|
1941
1941
|
class V8_EXPORT StreamedSource {
|
|
1942
1942
|
public:
|
|
1943
|
-
enum Encoding { ONE_BYTE, TWO_BYTE, UTF8 };
|
|
1943
|
+
enum Encoding { ONE_BYTE, TWO_BYTE, UTF8, WINDOWS_1252 };
|
|
1944
1944
|
|
|
1945
1945
|
#if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
|
|
1946
1946
|
V8_DEPRECATED(
|
|
@@ -2013,7 +2013,8 @@ class V8_EXPORT ScriptCompiler {
|
|
|
2013
2013
|
*
|
|
2014
2014
|
* Note that when producing cached data, the source must point to NULL for
|
|
2015
2015
|
* cached data. When consuming cached data, the cached data must have been
|
|
2016
|
-
* produced by the same version of V8
|
|
2016
|
+
* produced by the same version of V8, and the embedder needs to ensure the
|
|
2017
|
+
* cached data is the correct one for the given script.
|
|
2017
2018
|
*
|
|
2018
2019
|
* \param source Script source code.
|
|
2019
2020
|
* \return Compiled script object (context independent; for running it must be
|
|
@@ -2173,6 +2174,8 @@ class V8_EXPORT Message {
|
|
|
2173
2174
|
*/
|
|
2174
2175
|
Isolate* GetIsolate() const;
|
|
2175
2176
|
|
|
2177
|
+
V8_WARN_UNUSED_RESULT MaybeLocal<String> GetSource(
|
|
2178
|
+
Local<Context> context) const;
|
|
2176
2179
|
V8_WARN_UNUSED_RESULT MaybeLocal<String> GetSourceLine(
|
|
2177
2180
|
Local<Context> context) const;
|
|
2178
2181
|
|
|
@@ -2347,6 +2350,17 @@ class V8_EXPORT StackFrame {
|
|
|
2347
2350
|
*/
|
|
2348
2351
|
Local<String> GetScriptNameOrSourceURL() const;
|
|
2349
2352
|
|
|
2353
|
+
/**
|
|
2354
|
+
* Returns the source of the script for the function for this StackFrame.
|
|
2355
|
+
*/
|
|
2356
|
+
Local<String> GetScriptSource() const;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* Returns the source mapping URL (if one is present) of the script for
|
|
2360
|
+
* the function for this StackFrame.
|
|
2361
|
+
*/
|
|
2362
|
+
Local<String> GetScriptSourceMappingURL() const;
|
|
2363
|
+
|
|
2350
2364
|
/**
|
|
2351
2365
|
* Returns the name of the function associated with this stack frame.
|
|
2352
2366
|
*/
|
|
@@ -3253,6 +3267,11 @@ class V8_EXPORT String : public Name {
|
|
|
3253
3267
|
*/
|
|
3254
3268
|
V8_INLINE static Local<String> Empty(Isolate* isolate);
|
|
3255
3269
|
|
|
3270
|
+
/**
|
|
3271
|
+
* Returns true if the string is external.
|
|
3272
|
+
*/
|
|
3273
|
+
bool IsExternal() const;
|
|
3274
|
+
|
|
3256
3275
|
/**
|
|
3257
3276
|
* Returns true if the string is both external and two-byte.
|
|
3258
3277
|
*/
|
|
@@ -9550,6 +9569,11 @@ class V8_EXPORT Isolate {
|
|
|
9550
9569
|
*/
|
|
9551
9570
|
void SetRAILMode(RAILMode rail_mode);
|
|
9552
9571
|
|
|
9572
|
+
/**
|
|
9573
|
+
* Update load start time of the RAIL mode
|
|
9574
|
+
*/
|
|
9575
|
+
void UpdateLoadStartTime();
|
|
9576
|
+
|
|
9553
9577
|
/**
|
|
9554
9578
|
* Optional notification to tell V8 the current isolate is used for debugging
|
|
9555
9579
|
* and requires higher heap limit.
|
|
@@ -9715,6 +9739,13 @@ class V8_EXPORT Isolate {
|
|
|
9715
9739
|
|
|
9716
9740
|
void SetWasmExceptionsEnabledCallback(WasmExceptionsEnabledCallback callback);
|
|
9717
9741
|
|
|
9742
|
+
/**
|
|
9743
|
+
* This function can be called by the embedder to signal V8 that the dynamic
|
|
9744
|
+
* enabling of features has finished. V8 can now set up dynamically added
|
|
9745
|
+
* features.
|
|
9746
|
+
*/
|
|
9747
|
+
void InstallConditionalFeatures(Local<Context> context);
|
|
9748
|
+
|
|
9718
9749
|
/**
|
|
9719
9750
|
* Check if V8 is dead and therefore unusable. This is the case after
|
|
9720
9751
|
* fatal errors such as out-of-memory situations.
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -703,13 +703,9 @@ GitHub repository & Issue Tracker:
|
|
|
703
703
|
.
|
|
704
704
|
.Pp
|
|
705
705
|
IRC (general questions):
|
|
706
|
-
.Sy "chat
|
|
706
|
+
.Sy "libera.chat #node.js"
|
|
707
707
|
(unofficial)
|
|
708
708
|
.
|
|
709
|
-
.Pp
|
|
710
|
-
IRC (Node.js core development):
|
|
711
|
-
.Sy "chat.freenode.net #node-dev"
|
|
712
|
-
.
|
|
713
709
|
.\"======================================================================
|
|
714
710
|
.Sh AUTHORS
|
|
715
711
|
Written and maintained by 1000+ contributors:
|