node-bin-darwin-arm64 16.10.0 → 16.11.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 +122 -5
- package/README.md +15 -14
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/node_version.h +1 -1
- package/include/node/v8-internal.h +12 -0
- package/include/node/v8-version.h +2 -2
- package/include/node/v8.h +15 -11
- package/include/node/v8config.h +47 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Node.js 16 ChangeLog
|
|
2
2
|
|
|
3
|
-
<!--lint disable prohibited-strings-->
|
|
4
|
-
<!--lint disable maximum-line-length-->
|
|
5
|
-
<!--lint disable no-literal-urls-->
|
|
3
|
+
<!--lint disable maximum-line-length no-literal-urls prohibited-strings-->
|
|
6
4
|
|
|
7
5
|
<table>
|
|
8
6
|
<tr>
|
|
@@ -10,6 +8,7 @@
|
|
|
10
8
|
</tr>
|
|
11
9
|
<tr>
|
|
12
10
|
<td>
|
|
11
|
+
<a href="#16.11.0">16.11.0</a><br/>
|
|
13
12
|
<a href="#16.10.0">16.10.0</a><br/>
|
|
14
13
|
<a href="#16.9.1">16.9.1</a><br/>
|
|
15
14
|
<a href="#16.9.0">16.9.0</a><br/>
|
|
@@ -48,6 +47,124 @@
|
|
|
48
47
|
* [io.js](CHANGELOG_IOJS.md)
|
|
49
48
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
50
49
|
|
|
50
|
+
<a id="16.11.0"></a>
|
|
51
|
+
## 2021-10-08, Version 16.11.0 (Current), @danielleadams
|
|
52
|
+
|
|
53
|
+
### Notable Changes
|
|
54
|
+
|
|
55
|
+
* **crypto**
|
|
56
|
+
* update root certificates (Richard Lau) [#40280](https://github.com/nodejs/node/pull/40280)
|
|
57
|
+
* **deps**
|
|
58
|
+
* upgrade npm to 8.0.0 (npm team) [#40369](https://github.com/nodejs/node/pull/40369)
|
|
59
|
+
* update `nghttp2` to v1.45.1 (thunder-coding) [#40206](https://github.com/nodejs/node/pull/40206)
|
|
60
|
+
* update V8 to 9.4.146.19 (Michaël Zasso) [#40285](https://github.com/nodejs/node/pull/40285)
|
|
61
|
+
* **tools**
|
|
62
|
+
* update certdata.txt (Richard Lau) [#40280](https://github.com/nodejs/node/pull/40280)
|
|
63
|
+
|
|
64
|
+
### Commits
|
|
65
|
+
|
|
66
|
+
* [[`34f3021ca3`](https://github.com/nodejs/node/commit/34f3021ca3)] - **benchmark**: add `util.toUSVString()`'s benchmark (Khaidi Chu) [#40203](https://github.com/nodejs/node/pull/40203)
|
|
67
|
+
* [[`f83b9bcb6f`](https://github.com/nodejs/node/commit/f83b9bcb6f)] - **build**: support Python 3.10.0 (FrankQiu) [#40296](https://github.com/nodejs/node/pull/40296)
|
|
68
|
+
* [[`3148f9b64e`](https://github.com/nodejs/node/commit/3148f9b64e)] - **build**: check for duplicates in new AUTHORS entries (Rich Trott) [#40264](https://github.com/nodejs/node/pull/40264)
|
|
69
|
+
* [[`48c162d457`](https://github.com/nodejs/node/commit/48c162d457)] - **build**: set DESTCPU correctly for 'make binary' on Apple Silicon (Chris Heisterkamp) [#40147](https://github.com/nodejs/node/pull/40147)
|
|
70
|
+
* [[`7fbfb66d41`](https://github.com/nodejs/node/commit/7fbfb66d41)] - **build**: limit update authors CI scope (Jiawen Geng) [#40219](https://github.com/nodejs/node/pull/40219)
|
|
71
|
+
* [[`a1bee94502`](https://github.com/nodejs/node/commit/a1bee94502)] - **build**: pass a tuple of alternatives to str.endswith() (Christian Clauss) [#40017](https://github.com/nodejs/node/pull/40017)
|
|
72
|
+
* [[`eaf9d08332`](https://github.com/nodejs/node/commit/eaf9d08332)] - **build**: add --no-user for pip commands in Makefile (Rich Trott) [#40169](https://github.com/nodejs/node/pull/40169)
|
|
73
|
+
* [[`e22ca06ac4`](https://github.com/nodejs/node/commit/e22ca06ac4)] - **build**: fix "test-internet.yml" workflows (SURYAPRATAP SINGH SURYAVANSHI) [#40177](https://github.com/nodejs/node/pull/40177)
|
|
74
|
+
* [[`4da73d09bf`](https://github.com/nodejs/node/commit/4da73d09bf)] - **(SEMVER-MINOR)** **build**: reset embedder string to "-node.0" (Michaël Zasso) [#40285](https://github.com/nodejs/node/pull/40285)
|
|
75
|
+
* [[`4b117fbc81`](https://github.com/nodejs/node/commit/4b117fbc81)] - **console**: use validators for consistency (Voltrex) [#39812](https://github.com/nodejs/node/pull/39812)
|
|
76
|
+
* [[`6489423187`](https://github.com/nodejs/node/commit/6489423187)] - **console**: avoid unnecessary variables (Pancake) [#40183](https://github.com/nodejs/node/pull/40183)
|
|
77
|
+
* [[`9af2592e69`](https://github.com/nodejs/node/commit/9af2592e69)] - **crypto**: update root certificates (Richard Lau) [#40280](https://github.com/nodejs/node/pull/40280)
|
|
78
|
+
* [[`2fa5e5011f`](https://github.com/nodejs/node/commit/2fa5e5011f)] - **crypto**: handle initEDRaw pkey failure (Shelley Vohr) [#40188](https://github.com/nodejs/node/pull/40188)
|
|
79
|
+
* [[`7968c79301`](https://github.com/nodejs/node/commit/7968c79301)] - **crypto**: don't call callback twice in case crypto.randomBytes fails (Guilherme Bernal) [#40157](https://github.com/nodejs/node/pull/40157)
|
|
80
|
+
* [[`b89c7ae297`](https://github.com/nodejs/node/commit/b89c7ae297)] - **deps**: upgrade npm to 8.0.0 (npm team) [#40369](https://github.com/nodejs/node/pull/40369)
|
|
81
|
+
* [[`947f3dc9af`](https://github.com/nodejs/node/commit/947f3dc9af)] - **deps**: V8: patch jinja2 for Python 3.10 compat (Michaël Zasso) [#40296](https://github.com/nodejs/node/pull/40296)
|
|
82
|
+
* [[`685c7d43a5`](https://github.com/nodejs/node/commit/685c7d43a5)] - **(SEMVER-MINOR)** **deps**: update `nghttp2` to v1.45.1 (thunder-coding) [#40206](https://github.com/nodejs/node/pull/40206)
|
|
83
|
+
* [[`e7046e0ff1`](https://github.com/nodejs/node/commit/e7046e0ff1)] - **deps**: restore minimum ICU version to 68 (Michaël Zasso) [#39470](https://github.com/nodejs/node/pull/39470)
|
|
84
|
+
* [[`a3db2033d4`](https://github.com/nodejs/node/commit/a3db2033d4)] - **(SEMVER-MINOR)** **deps**: make V8 9.4 abi-compatible with 9.0 (Michaël Zasso) [#40285](https://github.com/nodejs/node/pull/40285)
|
|
85
|
+
* [[`5cc24e6d76`](https://github.com/nodejs/node/commit/5cc24e6d76)] - **deps**: V8: cherry-pick 9a607043cb31 (Jiawen Geng) [#40046](https://github.com/nodejs/node/pull/40046)
|
|
86
|
+
* [[`8de5eb88d3`](https://github.com/nodejs/node/commit/8de5eb88d3)] - **deps**: V8: cherry-pick 5681a6565828 (Michaël Zasso) [#39945](https://github.com/nodejs/node/pull/39945)
|
|
87
|
+
* [[`150d816edb`](https://github.com/nodejs/node/commit/150d816edb)] - **deps**: V8: cherry-pick bdcda72cd1d8 (Michaël Zasso) [#39945](https://github.com/nodejs/node/pull/39945)
|
|
88
|
+
* [[`807b68b430`](https://github.com/nodejs/node/commit/807b68b430)] - **deps**: V8: cherry-pick 00bb1a77c03e (Darshan Sen) [#39829](https://github.com/nodejs/node/pull/39829)
|
|
89
|
+
* [[`be016948df`](https://github.com/nodejs/node/commit/be016948df)] - **deps**: silence irrelevant V8 warning (Michaël Zasso) [#38990](https://github.com/nodejs/node/pull/38990)
|
|
90
|
+
* [[`22dcd3e4dc`](https://github.com/nodejs/node/commit/22dcd3e4dc)] - **deps**: silence irrelevant V8 warnings (Michaël Zasso) [#37587](https://github.com/nodejs/node/pull/37587)
|
|
91
|
+
* [[`1aea6a771b`](https://github.com/nodejs/node/commit/1aea6a771b)] - **deps**: fix V8 build issue with inline methods (Jiawen Geng) [#40060](https://github.com/nodejs/node/pull/40060)
|
|
92
|
+
* [[`e9812157f0`](https://github.com/nodejs/node/commit/e9812157f0)] - **deps**: make v8.h compatible with VS2015 (Joao Reis) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
93
|
+
* [[`88ae710057`](https://github.com/nodejs/node/commit/88ae710057)] - **deps**: V8: forward declaration of `Rtl*FunctionTable` (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
94
|
+
* [[`e810f0766f`](https://github.com/nodejs/node/commit/e810f0766f)] - **deps**: V8: patch register-arm64.h (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
95
|
+
* [[`b8aabd5622`](https://github.com/nodejs/node/commit/b8aabd5622)] - **deps**: V8: un-cherry-pick bd019bd (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
96
|
+
* [[`309c4f05df`](https://github.com/nodejs/node/commit/309c4f05df)] - **(SEMVER-MINOR)** **deps**: update V8 to 9.4.146.19 (Michaël Zasso) [#40285](https://github.com/nodejs/node/pull/40285)
|
|
97
|
+
* [[`69eaaf6321`](https://github.com/nodejs/node/commit/69eaaf6321)] - **doc**: format general markdown files (Rich Trott) [#40322](https://github.com/nodejs/node/pull/40322)
|
|
98
|
+
* [[`dc9c31985c`](https://github.com/nodejs/node/commit/dc9c31985c)] - **doc**: fix the inline code-block at the NodeDhKeyGenParams class (Justin) [#40341](https://github.com/nodejs/node/pull/40341)
|
|
99
|
+
* [[`8d0546db39`](https://github.com/nodejs/node/commit/8d0546db39)] - **doc**: correct the codeblock for `hmacImportParams.hash` (Justin) [#40340](https://github.com/nodejs/node/pull/40340)
|
|
100
|
+
* [[`1db2ffd008`](https://github.com/nodejs/node/commit/1db2ffd008)] - **doc**: fix typo in stream docs (Juan José Arboleda) [#40337](https://github.com/nodejs/node/pull/40337)
|
|
101
|
+
* [[`abfcbcd14c`](https://github.com/nodejs/node/commit/abfcbcd14c)] - **doc**: update fast-track approval comment request (voltrexmaster) [#40316](https://github.com/nodejs/node/pull/40316)
|
|
102
|
+
* [[`e2cd2f44f2`](https://github.com/nodejs/node/commit/e2cd2f44f2)] - **doc**: fix CVE-2021-22940 references (Michaël Zasso) [#40308](https://github.com/nodejs/node/pull/40308)
|
|
103
|
+
* [[`88bdbf1e29`](https://github.com/nodejs/node/commit/88bdbf1e29)] - **doc**: format markdown files in test directory (Rich Trott) [#40290](https://github.com/nodejs/node/pull/40290)
|
|
104
|
+
* [[`f71ac57a86`](https://github.com/nodejs/node/commit/f71ac57a86)] - **doc**: add triagers to the table of contents (FrankQiu) [#39969](https://github.com/nodejs/node/pull/39969)
|
|
105
|
+
* [[`a5218b5313`](https://github.com/nodejs/node/commit/a5218b5313)] - **doc**: update Forrest Norvell's pronouns (Forrest L Norvell) [#40292](https://github.com/nodejs/node/pull/40292)
|
|
106
|
+
* [[`d2e54e5d0c`](https://github.com/nodejs/node/commit/d2e54e5d0c)] - **doc**: reorder stream 'readable' paragraphs (Vincent Weevers) [#40212](https://github.com/nodejs/node/pull/40212)
|
|
107
|
+
* [[`1d0a3e1a0c`](https://github.com/nodejs/node/commit/1d0a3e1a0c)] - **doc**: fix typo in fs (Brian White) [#40257](https://github.com/nodejs/node/pull/40257)
|
|
108
|
+
* [[`66edb7bfe1`](https://github.com/nodejs/node/commit/66edb7bfe1)] - **doc**: fix typo in fs.md (Arslan Ali) [#40254](https://github.com/nodejs/node/pull/40254)
|
|
109
|
+
* [[`614a7c21f8`](https://github.com/nodejs/node/commit/614a7c21f8)] - **doc**: fix typo in packages.md (Arslan Ali) [#40230](https://github.com/nodejs/node/pull/40230)
|
|
110
|
+
* [[`9fa6dfbe76`](https://github.com/nodejs/node/commit/9fa6dfbe76)] - **doc**: fix example of crypto.generateKeySync (Gary Ho) [#40225](https://github.com/nodejs/node/pull/40225)
|
|
111
|
+
* [[`9a2b94a142`](https://github.com/nodejs/node/commit/9a2b94a142)] - **doc**: update fs.watchFile doc (Clément Nardi) [#40134](https://github.com/nodejs/node/pull/40134)
|
|
112
|
+
* [[`a68f91c884`](https://github.com/nodejs/node/commit/a68f91c884)] - **doc**: add version when diagnostics\_channel APIs were added (Gerhard Stöbich) [#40208](https://github.com/nodejs/node/pull/40208)
|
|
113
|
+
* [[`6bf67909ad`](https://github.com/nodejs/node/commit/6bf67909ad)] - **doc**: fix typo in 'maxHeaderSize' (Rebhi Alfa) [#40164](https://github.com/nodejs/node/pull/40164)
|
|
114
|
+
* [[`73a127ba7b`](https://github.com/nodejs/node/commit/73a127ba7b)] - **doc**: fix buffer api example code's token error (m3m0ry) [#40125](https://github.com/nodejs/node/pull/40125)
|
|
115
|
+
* [[`59db8293f4`](https://github.com/nodejs/node/commit/59db8293f4)] - **doc**: fix typo in `async_hooks.md` (xuchaobei) [#40187](https://github.com/nodejs/node/pull/40187)
|
|
116
|
+
* [[`779dfd199b`](https://github.com/nodejs/node/commit/779dfd199b)] - **doc**: make version picker usable on mobile (Evan Lucas) [#39958](https://github.com/nodejs/node/pull/39958)
|
|
117
|
+
* [[`7bd62f4809`](https://github.com/nodejs/node/commit/7bd62f4809)] - **doc**: fix typos in http.md (Luigi Pinca) [#40161](https://github.com/nodejs/node/pull/40161)
|
|
118
|
+
* [[`94b415b980`](https://github.com/nodejs/node/commit/94b415b980)] - **doc**: add blank line between comments (Rich Trott) [#40160](https://github.com/nodejs/node/pull/40160)
|
|
119
|
+
* [[`847b451d88`](https://github.com/nodejs/node/commit/847b451d88)] - **doc**: update markdown files in src for upcoming linting/formatting (Rich Trott) [#40159](https://github.com/nodejs/node/pull/40159)
|
|
120
|
+
* [[`cea7395858`](https://github.com/nodejs/node/commit/cea7395858)] - **doc**: update benchmarks README.md for upcoming linting/formatting (Rich Trott) [#40158](https://github.com/nodejs/node/pull/40158)
|
|
121
|
+
* [[`c231745837`](https://github.com/nodejs/node/commit/c231745837)] - **doc**: prepare markdown file for upcoming formatting/linting (Rich Trott) [#40156](https://github.com/nodejs/node/pull/40156)
|
|
122
|
+
* [[`7e58cda6e0`](https://github.com/nodejs/node/commit/7e58cda6e0)] - **doc**: update tools .md files for upcoming lint/formatting (Rich Trott) [#40155](https://github.com/nodejs/node/pull/40155)
|
|
123
|
+
* [[`02a87b096c`](https://github.com/nodejs/node/commit/02a87b096c)] - **doc**: update markdown formatting for \*.md files (Rich Trott) [#40154](https://github.com/nodejs/node/pull/40154)
|
|
124
|
+
* [[`9b0e61a67f`](https://github.com/nodejs/node/commit/9b0e61a67f)] - **doc,src**: update crypto/README.md (Tobias Nießen) [#40332](https://github.com/nodejs/node/pull/40332)
|
|
125
|
+
* [[`88e7bd073a`](https://github.com/nodejs/node/commit/88e7bd073a)] - **events**: allow dispatch many times without listener (MrBBot) [#39772](https://github.com/nodejs/node/pull/39772)
|
|
126
|
+
* [[`c7f3294d02`](https://github.com/nodejs/node/commit/c7f3294d02)] - **(SEMVER-MINOR)** **fs**: add stream utilities to `FileHandle` (Antoine du Hamel) [#40009](https://github.com/nodejs/node/pull/40009)
|
|
127
|
+
* [[`555af5b808`](https://github.com/nodejs/node/commit/555af5b808)] - **http**: remove 'data' and 'end' listener if client parser error (Matteo Collina) [#40244](https://github.com/nodejs/node/pull/40244)
|
|
128
|
+
* [[`22725f5bdd`](https://github.com/nodejs/node/commit/22725f5bdd)] - **http**: use 0 as default for requests limit (Artur K) [#40192](https://github.com/nodejs/node/pull/40192)
|
|
129
|
+
* [[`3d5eba8042`](https://github.com/nodejs/node/commit/3d5eba8042)] - **lib**: refactor to avoid unsafe array iteration (Antoine du Hamel) [#40271](https://github.com/nodejs/node/pull/40271)
|
|
130
|
+
* [[`547fc86371`](https://github.com/nodejs/node/commit/547fc86371)] - **lib**: use `validateArray` (Voltrex) [#39774](https://github.com/nodejs/node/pull/39774)
|
|
131
|
+
* [[`a37527ce8f`](https://github.com/nodejs/node/commit/a37527ce8f)] - **meta**: add mailmap entry for ratracegrad (Rich Trott) [#40291](https://github.com/nodejs/node/pull/40291)
|
|
132
|
+
* [[`a75a8f2ca0`](https://github.com/nodejs/node/commit/a75a8f2ca0)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#40289](https://github.com/nodejs/node/pull/40289)
|
|
133
|
+
* [[`66ab278bae`](https://github.com/nodejs/node/commit/66ab278bae)] - **meta**: add .mailmap entry for Jimbly (Rich Trott) [#40267](https://github.com/nodejs/node/pull/40267)
|
|
134
|
+
* [[`e040f2cf0d`](https://github.com/nodejs/node/commit/e040f2cf0d)] - **meta**: add .mailmap entry for daguej (Rich Trott) [#40223](https://github.com/nodejs/node/pull/40223)
|
|
135
|
+
* [[`d64740fbb3`](https://github.com/nodejs/node/commit/d64740fbb3)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#40217](https://github.com/nodejs/node/pull/40217)
|
|
136
|
+
* [[`9ee9e41f5c`](https://github.com/nodejs/node/commit/9ee9e41f5c)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#40115](https://github.com/nodejs/node/pull/40115)
|
|
137
|
+
* [[`da6c82b425`](https://github.com/nodejs/node/commit/da6c82b425)] - **meta**: update gdams contact information (Rich Trott) [#40233](https://github.com/nodejs/node/pull/40233)
|
|
138
|
+
* [[`a660017915`](https://github.com/nodejs/node/commit/a660017915)] - **meta**: add .mailmap entry for kunalspathak (Rich Trott) [#40202](https://github.com/nodejs/node/pull/40202)
|
|
139
|
+
* [[`4d46bde22e`](https://github.com/nodejs/node/commit/4d46bde22e)] - **meta**: add mailmap entry for ralphtheninja (Rich Trott) [#40153](https://github.com/nodejs/node/pull/40153)
|
|
140
|
+
* [[`b856886d00`](https://github.com/nodejs/node/commit/b856886d00)] - **meta**: update mailmap for LakshmiSwethaG (Rich Trott) [#40172](https://github.com/nodejs/node/pull/40172)
|
|
141
|
+
* [[`972d921855`](https://github.com/nodejs/node/commit/972d921855)] - **module**: fix ERR\_REQUIRE\_ESM for parentPath null (Guy Bedford) [#40145](https://github.com/nodejs/node/pull/40145)
|
|
142
|
+
* [[`344c03b2e6`](https://github.com/nodejs/node/commit/344c03b2e6)] - **repl**: skip EmptyStatements and return result with TLA (Mestery) [#40194](https://github.com/nodejs/node/pull/40194)
|
|
143
|
+
* [[`b694b0ca52`](https://github.com/nodejs/node/commit/b694b0ca52)] - **src**: use `As()` instead of `Cast()` for conversions (Darshan Sen) [#40287](https://github.com/nodejs/node/pull/40287)
|
|
144
|
+
* [[`383dbe940d`](https://github.com/nodejs/node/commit/383dbe940d)] - **src**: implement changes suggested by @addaleax (kokke) [#40128](https://github.com/nodejs/node/pull/40128)
|
|
145
|
+
* [[`a6112dd1de`](https://github.com/nodejs/node/commit/a6112dd1de)] - **src**: fix time-of-use vs time-of-check "bugs" (kokke) [#40128](https://github.com/nodejs/node/pull/40128)
|
|
146
|
+
* [[`bbf1ed7c78`](https://github.com/nodejs/node/commit/bbf1ed7c78)] - **src**: remove AllocatedBuffer from crypto\_common.cc (Darshan Sen) [#40213](https://github.com/nodejs/node/pull/40213)
|
|
147
|
+
* [[`528f9228fd`](https://github.com/nodejs/node/commit/528f9228fd)] - **src**: remove usage of AllocatedBuffer from udp\_wrap.cc (Darshan Sen) [#40151](https://github.com/nodejs/node/pull/40151)
|
|
148
|
+
* [[`d36127d862`](https://github.com/nodejs/node/commit/d36127d862)] - **src**: move `ToUSVString()` to node\_util.cc (Khaidi Chu) [#40204](https://github.com/nodejs/node/pull/40204)
|
|
149
|
+
* [[`bddf8c28d9`](https://github.com/nodejs/node/commit/bddf8c28d9)] - **src,crypto**: eliminate code duplication between StatelessDiffieHellman\* (Darshan Sen) [#40084](https://github.com/nodejs/node/pull/40084)
|
|
150
|
+
* [[`6a8689f1f9`](https://github.com/nodejs/node/commit/6a8689f1f9)] - **test**: fix typo in test/common/index.js (Tobias Nießen) [#40297](https://github.com/nodejs/node/pull/40297)
|
|
151
|
+
* [[`dc0c2744cf`](https://github.com/nodejs/node/commit/dc0c2744cf)] - **test**: suppress compiler warning in test\_bigint (Daniel Bevenius) [#40253](https://github.com/nodejs/node/pull/40253)
|
|
152
|
+
* [[`18820bfa58`](https://github.com/nodejs/node/commit/18820bfa58)] - **tools**: patch jinja2 for Python 3.10 compat (Michaël Zasso) [#40296](https://github.com/nodejs/node/pull/40296)
|
|
153
|
+
* [[`8d7710e6c3`](https://github.com/nodejs/node/commit/8d7710e6c3)] - **tools**: update rollup entry in lint-md package.json (FrankQiu) [#40281](https://github.com/nodejs/node/pull/40281)
|
|
154
|
+
* [[`7bb4dc2406`](https://github.com/nodejs/node/commit/7bb4dc2406)] - **tools**: update certdata.txt (Richard Lau) [#40280](https://github.com/nodejs/node/pull/40280)
|
|
155
|
+
* [[`f31b0c9700`](https://github.com/nodejs/node/commit/f31b0c9700)] - **tools**: update remark-preset-lint-node to 3.2.0 (Rich Trott) [#40278](https://github.com/nodejs/node/pull/40278)
|
|
156
|
+
* [[`9c4e7a5158`](https://github.com/nodejs/node/commit/9c4e7a5158)] - **tools**: fix lint-md autolinking (Rich Trott) [#40181](https://github.com/nodejs/node/pull/40181)
|
|
157
|
+
* [[`26db6db87f`](https://github.com/nodejs/node/commit/26db6db87f)] - **tools**: implement markdown formatting (Rich Trott) [#40181](https://github.com/nodejs/node/pull/40181)
|
|
158
|
+
* [[`67812e8c65`](https://github.com/nodejs/node/commit/67812e8c65)] - **tools**: re-implement lint-md without unified-args (Rich Trott) [#40180](https://github.com/nodejs/node/pull/40180)
|
|
159
|
+
* [[`0232f94175`](https://github.com/nodejs/node/commit/0232f94175)] - **tools**: update remark-preset-lint-node to 3.1.0 (Rich Trott) [#40166](https://github.com/nodejs/node/pull/40166)
|
|
160
|
+
* [[`80fdedd184`](https://github.com/nodejs/node/commit/80fdedd184)] - **tools**: fix find-inactive-collaborators for recent README change (Rich Trott) [#40163](https://github.com/nodejs/node/pull/40163)
|
|
161
|
+
* [[`ebf17102d1`](https://github.com/nodejs/node/commit/ebf17102d1)] - **tools**: extend default yamllint config (Michaël Zasso) [#40150](https://github.com/nodejs/node/pull/40150)
|
|
162
|
+
* [[`f7c82749a7`](https://github.com/nodejs/node/commit/f7c82749a7)] - **tools**: update V8 gypfiles for 9.4 (Michaël Zasso) [#39945](https://github.com/nodejs/node/pull/39945)
|
|
163
|
+
* [[`dd39422b8b`](https://github.com/nodejs/node/commit/dd39422b8b)] - **typings**: define types for symbols binding (Michaël Zasso) [#40143](https://github.com/nodejs/node/pull/40143)
|
|
164
|
+
* [[`ced8467e20`](https://github.com/nodejs/node/commit/ced8467e20)] - **typings**: define types for worker and messaging bindings (Michaël Zasso) [#40143](https://github.com/nodejs/node/pull/40143)
|
|
165
|
+
* [[`66d3101677`](https://github.com/nodejs/node/commit/66d3101677)] - **(SEMVER-MINOR)** **util**: improve ansi escape code regex (Colin Ihrig) [#40214](https://github.com/nodejs/node/pull/40214)
|
|
166
|
+
* [[`f4164fa4c3`](https://github.com/nodejs/node/commit/f4164fa4c3)] - **(SEMVER-MINOR)** **util**: expose stripVTControlCharacters() (Colin Ihrig) [#40214](https://github.com/nodejs/node/pull/40214)
|
|
167
|
+
|
|
51
168
|
<a id="16.10.0"></a>
|
|
52
169
|
## 2021-09-22, Version 16.10.0 (Current), @BethGriggs
|
|
53
170
|
|
|
@@ -469,8 +586,8 @@ This is a security release.
|
|
|
469
586
|
|
|
470
587
|
* **CVE-2021-3672/CVE-2021-22931**: Improper handling of untypical characters in domain names (High)
|
|
471
588
|
* Node.js was vulnerable to Remote Code Execution, XSS, application crashes due to missing input validation of hostnames returned by Domain Name Servers in the Node.js DNS library which can lead to the output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library. You can read more about it at https://nvd.nist.gov/vuln/detail/CVE-2021-22931.
|
|
472
|
-
* **CVE-2021-
|
|
473
|
-
* Node.js was vulnerable to a use after free attack where an attacker might be able to exploit memory corruption to change process behavior. This release includes a follow-up fix for CVE-2021-22930 as the issue was not completely resolved by the previous fix. You can read more about it at https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-
|
|
589
|
+
* **CVE-2021-22940**: Use after free on close http2 on stream canceling (High)
|
|
590
|
+
* Node.js was vulnerable to a use after free attack where an attacker might be able to exploit memory corruption to change process behavior. This release includes a follow-up fix for CVE-2021-22930 as the issue was not completely resolved by the previous fix. You can read more about it at https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22940.
|
|
474
591
|
* **CVE-2021-22939**: Incomplete validation of rejectUnauthorized parameter (Low)
|
|
475
592
|
* If the Node.js HTTPS API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted. You can read more about it at https://nvd.nist.gov/vuln/detail/CVE-2021-22939.
|
|
476
593
|
|
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ The Node.js project uses an [open governance model](./GOVERNANCE.md). The
|
|
|
34
34
|
* [Current project team members](#current-project-team-members)
|
|
35
35
|
* [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
|
|
36
36
|
* [Collaborators](#collaborators)
|
|
37
|
+
* [Triagers](#triagers)
|
|
37
38
|
* [Release keys](#release-keys)
|
|
38
39
|
* [License](#license)
|
|
39
40
|
|
|
@@ -286,8 +287,6 @@ For information about the governance of the Node.js project, see
|
|
|
286
287
|
**Beth Griggs** \<bgriggs@redhat.com> (she/her)
|
|
287
288
|
* [bmeck](https://github.com/bmeck) -
|
|
288
289
|
**Bradley Farias** \<bradley.meck@gmail.com>
|
|
289
|
-
* [bmeurer](https://github.com/bmeurer) -
|
|
290
|
-
**Benedikt Meurer** \<benedikt.meurer@gmail.com>
|
|
291
290
|
* [boneskull](https://github.com/boneskull) -
|
|
292
291
|
**Christopher Hiller** \<boneskull@boneskull.com> (he/him)
|
|
293
292
|
* [BridgeAR](https://github.com/BridgeAR) -
|
|
@@ -332,8 +331,6 @@ For information about the governance of the Node.js project, see
|
|
|
332
331
|
**Gerhard Stöbich** \<deb2001-github@yahoo.de> (he/they)
|
|
333
332
|
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
|
334
333
|
**Gabriel Schulhof** \<gabrielschulhof@gmail.com>
|
|
335
|
-
* [geek](https://github.com/geek) -
|
|
336
|
-
**Wyatt Preul** \<wpreul@gmail.com>
|
|
337
334
|
* [gengjiawen](https://github.com/gengjiawen) -
|
|
338
335
|
**Jiawen Geng** \<technicalcute@gmail.com>
|
|
339
336
|
* [GeoffreyBooth](https://github.com/geoffreybooth) -
|
|
@@ -390,8 +387,6 @@ For information about the governance of the Node.js project, see
|
|
|
390
387
|
**Milad Fa** \<mfarazma@redhat.com> (he/him)
|
|
391
388
|
* [mildsunrise](https://github.com/mildsunrise) -
|
|
392
389
|
**Alba Mendez** \<me@alba.sh> (she/her)
|
|
393
|
-
* [misterdjules](https://github.com/misterdjules) -
|
|
394
|
-
**Julien Gilli** \<jgilli@netflix.com>
|
|
395
390
|
* [mmarchini](https://github.com/mmarchini) -
|
|
396
391
|
**Mary Marchini** \<oss@mmarchini.me> (she/her)
|
|
397
392
|
* [mscdex](https://github.com/mscdex) -
|
|
@@ -410,8 +405,6 @@ For information about the governance of the Node.js project, see
|
|
|
410
405
|
**Stephen Belanger** \<admin@stephenbelanger.com> (he/him)
|
|
411
406
|
* [RaisinTen](https://github.com/RaisinTen) -
|
|
412
407
|
**Darshan Sen** \<raisinten@gmail.com> (he/him)
|
|
413
|
-
* [refack](https://github.com/refack) -
|
|
414
|
-
**Refael Ackermann (רפאל פלחי)** \<refack@gmail.com> (he/him/הוא/אתה)
|
|
415
408
|
* [rexagod](https://github.com/rexagod) -
|
|
416
409
|
**Pranshu Srivastava** \<rexagod@gmail.com> (he/him)
|
|
417
410
|
* [richardlau](https://github.com/richardlau) -
|
|
@@ -426,8 +419,6 @@ For information about the governance of the Node.js project, see
|
|
|
426
419
|
**Rod Vagg** \<rod@vagg.org>
|
|
427
420
|
* [ryzokuken](https://github.com/ryzokuken) -
|
|
428
421
|
**Ujjwal Sharma** \<ryzokuken@disroot.org> (he/him)
|
|
429
|
-
* [saghul](https://github.com/saghul) -
|
|
430
|
-
**Saúl Ibarra Corretgé** \<s@saghul.net>
|
|
431
422
|
* [santigimeno](https://github.com/santigimeno) -
|
|
432
423
|
**Santiago Gimeno** \<santiago.gimeno@gmail.com>
|
|
433
424
|
* [seishun](https://github.com/seishun) -
|
|
@@ -464,8 +455,6 @@ For information about the governance of the Node.js project, see
|
|
|
464
455
|
**Yash Ladha** \<yash@yashladha.in> (he/him)
|
|
465
456
|
* [yhwang](https://github.com/yhwang) -
|
|
466
457
|
**Yihong Wang** \<yh.wang@ibm.com>
|
|
467
|
-
* [yorkie](https://github.com/yorkie) -
|
|
468
|
-
**Yorkie Liu** \<yorkiefixer@gmail.com>
|
|
469
458
|
* [yosuke-furukawa](https://github.com/yosuke-furukawa) -
|
|
470
459
|
**Yosuke Furukawa** \<yosuke.furukawa@gmail.com>
|
|
471
460
|
* [ZYSzys](https://github.com/ZYSzys) -
|
|
@@ -488,6 +477,8 @@ For information about the governance of the Node.js project, see
|
|
|
488
477
|
**Andreas Madsen** \<amwebdk@gmail.com> (he/him)
|
|
489
478
|
* [aqrln](https://github.com/aqrln) -
|
|
490
479
|
**Alexey Orlenko** \<eaglexrlnk@gmail.com> (he/him)
|
|
480
|
+
* [bmeurer](https://github.com/bmeurer) -
|
|
481
|
+
**Benedikt Meurer** \<benedikt.meurer@gmail.com>
|
|
491
482
|
* [bnoordhuis](https://github.com/bnoordhuis) -
|
|
492
483
|
**Ben Noordhuis** \<info@bnoordhuis.nl>
|
|
493
484
|
* [brendanashworth](https://github.com/brendanashworth) -
|
|
@@ -509,7 +500,9 @@ For information about the governance of the Node.js project, see
|
|
|
509
500
|
* [firedfox](https://github.com/firedfox) -
|
|
510
501
|
**Daniel Wang** \<wangyang0123@gmail.com>
|
|
511
502
|
* [gdams](https://github.com/gdams) -
|
|
512
|
-
**George Adams** \<
|
|
503
|
+
**George Adams** \<gadams@microsoft.com> (he/him)
|
|
504
|
+
* [geek](https://github.com/geek) -
|
|
505
|
+
**Wyatt Preul** \<wpreul@gmail.com>
|
|
513
506
|
* [gibfahn](https://github.com/gibfahn) -
|
|
514
507
|
**Gibson Fahnestock** \<gibfahn@gmail.com> (he/him)
|
|
515
508
|
* [glentiki](https://github.com/glentiki) -
|
|
@@ -554,6 +547,8 @@ For information about the governance of the Node.js project, see
|
|
|
554
547
|
**Nicu Micleușanu** \<micnic90@gmail.com> (he/him)
|
|
555
548
|
* [mikeal](https://github.com/mikeal) -
|
|
556
549
|
**Mikeal Rogers** \<mikeal.rogers@gmail.com>
|
|
550
|
+
* [misterdjules](https://github.com/misterdjules) -
|
|
551
|
+
**Julien Gilli** \<jgilli@netflix.com>
|
|
557
552
|
* [monsanto](https://github.com/monsanto) -
|
|
558
553
|
**Christopher Monsanto** \<chris@monsan.to>
|
|
559
554
|
* [MoonBall](https://github.com/MoonBall) -
|
|
@@ -567,7 +562,7 @@ For information about the governance of the Node.js project, see
|
|
|
567
562
|
* [orangemocha](https://github.com/orangemocha) -
|
|
568
563
|
**Alexis Campailla** \<orangemocha@nodejs.org>
|
|
569
564
|
* [othiym23](https://github.com/othiym23) -
|
|
570
|
-
**Forrest L Norvell** \<ogd@aoaioxxysz.net> (
|
|
565
|
+
**Forrest L Norvell** \<ogd@aoaioxxysz.net> (they/them/themself)
|
|
571
566
|
* [petkaantonov](https://github.com/petkaantonov) -
|
|
572
567
|
**Petka Antonov** \<petka_antonov@hotmail.com>
|
|
573
568
|
* [phillipj](https://github.com/phillipj) -
|
|
@@ -580,6 +575,8 @@ For information about the governance of the Node.js project, see
|
|
|
580
575
|
**Prince John Wesley** \<princejohnwesley@gmail.com>
|
|
581
576
|
* [psmarshall](https://github.com/psmarshall) -
|
|
582
577
|
**Peter Marshall** \<petermarshall@chromium.org> (he/him)
|
|
578
|
+
* [refack](https://github.com/refack) -
|
|
579
|
+
**Refael Ackermann (רפאל פלחי)** \<refack@gmail.com> (he/him/הוא/אתה)
|
|
583
580
|
* [rlidwka](https://github.com/rlidwka) -
|
|
584
581
|
**Alex Kocharin** \<alex@kocharin.ru>
|
|
585
582
|
* [rmg](https://github.com/rmg) -
|
|
@@ -594,6 +591,8 @@ For information about the governance of the Node.js project, see
|
|
|
594
591
|
**Ingvar Stepanyan** \<me@rreverser.com>
|
|
595
592
|
* [rubys](https://github.com/rubys) -
|
|
596
593
|
**Sam Ruby** \<rubys@intertwingly.net>
|
|
594
|
+
* [saghul](https://github.com/saghul) -
|
|
595
|
+
**Saúl Ibarra Corretgé** \<s@saghul.net>
|
|
597
596
|
* [sam-github](https://github.com/sam-github) -
|
|
598
597
|
**Sam Roberts** \<vieuxtech@gmail.com>
|
|
599
598
|
* [sebdeckers](https://github.com/sebdeckers) -
|
|
@@ -618,6 +617,8 @@ For information about the governance of the Node.js project, see
|
|
|
618
617
|
**Vse Mozhet Byt** \<vsemozhetbyt@gmail.com> (he/him)
|
|
619
618
|
* [whitlockjc](https://github.com/whitlockjc) -
|
|
620
619
|
**Jeremy Whitlock** \<jwhitlock@apache.org>
|
|
620
|
+
* [yorkie](https://github.com/yorkie) -
|
|
621
|
+
**Yorkie Liu** \<yorkiefixer@gmail.com>
|
|
621
622
|
|
|
622
623
|
</details>
|
|
623
624
|
<!--lint enable prohibited-strings-->
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
|
@@ -15,9 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
namespace v8 {
|
|
17
17
|
|
|
18
|
+
class Array;
|
|
18
19
|
class Context;
|
|
19
20
|
class Data;
|
|
20
21
|
class Isolate;
|
|
22
|
+
template <typename T>
|
|
23
|
+
class Local;
|
|
21
24
|
|
|
22
25
|
namespace internal {
|
|
23
26
|
|
|
@@ -494,6 +497,15 @@ V8_INLINE void PerformCastCheck(T* data) {
|
|
|
494
497
|
class BackingStoreBase {};
|
|
495
498
|
|
|
496
499
|
} // namespace internal
|
|
500
|
+
|
|
501
|
+
V8_EXPORT bool CopyAndConvertArrayToCppBufferInt32(Local<Array> src,
|
|
502
|
+
int32_t* dst,
|
|
503
|
+
uint32_t max_length);
|
|
504
|
+
|
|
505
|
+
V8_EXPORT bool CopyAndConvertArrayToCppBufferFloat64(Local<Array> src,
|
|
506
|
+
double* dst,
|
|
507
|
+
uint32_t max_length);
|
|
508
|
+
|
|
497
509
|
} // namespace v8
|
|
498
510
|
|
|
499
511
|
#endif // INCLUDE_V8_INTERNAL_H_
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
12
|
+
#define V8_MINOR_VERSION 4
|
|
13
|
+
#define V8_BUILD_NUMBER 146
|
|
14
14
|
#define V8_PATCH_LEVEL 19
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
package/include/node/v8.h
CHANGED
|
@@ -1441,7 +1441,7 @@ class ScriptOriginOptions {
|
|
|
1441
1441
|
class ScriptOrigin {
|
|
1442
1442
|
public:
|
|
1443
1443
|
#if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
|
|
1444
|
-
|
|
1444
|
+
V8_DEPRECATED("Use constructor with primitive C++ types")
|
|
1445
1445
|
#endif
|
|
1446
1446
|
V8_INLINE explicit ScriptOrigin(
|
|
1447
1447
|
Local<Value> resource_name, Local<Integer> resource_line_offset,
|
|
@@ -1454,7 +1454,7 @@ class ScriptOrigin {
|
|
|
1454
1454
|
Local<Boolean> is_module = Local<Boolean>(),
|
|
1455
1455
|
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
|
|
1456
1456
|
#if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
|
|
1457
|
-
|
|
1457
|
+
V8_DEPRECATED("Use constructor that takes an isolate")
|
|
1458
1458
|
#endif
|
|
1459
1459
|
V8_INLINE explicit ScriptOrigin(
|
|
1460
1460
|
Local<Value> resource_name, int resource_line_offset = 0,
|
|
@@ -1474,11 +1474,11 @@ class ScriptOrigin {
|
|
|
1474
1474
|
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
|
|
1475
1475
|
|
|
1476
1476
|
V8_INLINE Local<Value> ResourceName() const;
|
|
1477
|
-
|
|
1477
|
+
V8_DEPRECATED("Use getter with primitvie C++ types.")
|
|
1478
1478
|
V8_INLINE Local<Integer> ResourceLineOffset() const;
|
|
1479
|
-
|
|
1479
|
+
V8_DEPRECATED("Use getter with primitvie C++ types.")
|
|
1480
1480
|
V8_INLINE Local<Integer> ResourceColumnOffset() const;
|
|
1481
|
-
|
|
1481
|
+
V8_DEPRECATED("Use getter with primitvie C++ types.")
|
|
1482
1482
|
V8_INLINE Local<Integer> ScriptID() const;
|
|
1483
1483
|
V8_INLINE int LineOffset() const;
|
|
1484
1484
|
V8_INLINE int ColumnOffset() const;
|
|
@@ -1630,14 +1630,14 @@ class V8_EXPORT Module : public Data {
|
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Returns the number of modules requested by this module.
|
|
1632
1632
|
*/
|
|
1633
|
-
|
|
1633
|
+
V8_DEPRECATED("Use Module::GetModuleRequests() and FixedArray::Length().")
|
|
1634
1634
|
int GetModuleRequestsLength() const;
|
|
1635
1635
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Returns the ith module specifier in this module.
|
|
1638
1638
|
* i must be < GetModuleRequestsLength() and >= 0.
|
|
1639
1639
|
*/
|
|
1640
|
-
|
|
1640
|
+
V8_DEPRECATED(
|
|
1641
1641
|
"Use Module::GetModuleRequests() and ModuleRequest::GetSpecifier().")
|
|
1642
1642
|
Local<String> GetModuleRequest(int i) const;
|
|
1643
1643
|
|
|
@@ -1645,7 +1645,7 @@ class V8_EXPORT Module : public Data {
|
|
|
1645
1645
|
* Returns the source location (line number and column number) of the ith
|
|
1646
1646
|
* module specifier's first occurrence in this module.
|
|
1647
1647
|
*/
|
|
1648
|
-
|
|
1648
|
+
V8_DEPRECATED(
|
|
1649
1649
|
"Use Module::GetModuleRequests(), ModuleRequest::GetSourceOffset(), and "
|
|
1650
1650
|
"Module::SourceOffsetToLocation().")
|
|
1651
1651
|
Location GetModuleRequestLocation(int i) const;
|
|
@@ -1680,7 +1680,7 @@ class V8_EXPORT Module : public Data {
|
|
|
1680
1680
|
* instantiation. (In the case where the callback throws an exception, that
|
|
1681
1681
|
* exception is propagated.)
|
|
1682
1682
|
*/
|
|
1683
|
-
|
|
1683
|
+
V8_DEPRECATED(
|
|
1684
1684
|
"Use the version of InstantiateModule that takes a ResolveModuleCallback "
|
|
1685
1685
|
"parameter")
|
|
1686
1686
|
V8_WARN_UNUSED_RESULT Maybe<bool> InstantiateModule(Local<Context> context,
|
|
@@ -4311,11 +4311,13 @@ class V8_EXPORT Object : public Value {
|
|
|
4311
4311
|
/**
|
|
4312
4312
|
* Returns the context in which the object was created.
|
|
4313
4313
|
*/
|
|
4314
|
+
// TODO(chromium:1166077): Mark as deprecate once users are updated.
|
|
4314
4315
|
V8_DEPRECATE_SOON("Use MaybeLocal<Context> GetCreationContext()")
|
|
4315
4316
|
Local<Context> CreationContext();
|
|
4316
4317
|
MaybeLocal<Context> GetCreationContext();
|
|
4317
4318
|
|
|
4318
4319
|
/** Same as above, but works for Persistents */
|
|
4320
|
+
// TODO(chromium:1166077): Mark as deprecate once users are updated.
|
|
4319
4321
|
V8_DEPRECATE_SOON(
|
|
4320
4322
|
"Use MaybeLocal<Context> GetCreationContext(const "
|
|
4321
4323
|
"PersistentBase<Object>& object)")
|
|
@@ -7507,7 +7509,9 @@ using MessageCallback = void (*)(Local<Message> message, Local<Value> data);
|
|
|
7507
7509
|
|
|
7508
7510
|
// --- Tracing ---
|
|
7509
7511
|
|
|
7510
|
-
|
|
7512
|
+
enum LogEventStatus : int { kStart = 0, kEnd = 1, kStamp = 2 };
|
|
7513
|
+
using LogEventCallback = void (*)(const char* name,
|
|
7514
|
+
int /* LogEventStatus */ status);
|
|
7511
7515
|
|
|
7512
7516
|
/**
|
|
7513
7517
|
* Create new error objects by calling the corresponding error object
|
|
@@ -8973,7 +8977,7 @@ class V8_EXPORT Isolate {
|
|
|
8973
8977
|
* This specifies the callback called by the upcoming dynamic
|
|
8974
8978
|
* import() language feature to load modules.
|
|
8975
8979
|
*/
|
|
8976
|
-
|
|
8980
|
+
V8_DEPRECATED(
|
|
8977
8981
|
"Use the version of SetHostImportModuleDynamicallyCallback that takes a "
|
|
8978
8982
|
"HostImportModuleDynamicallyWithImportAssertionsCallback instead")
|
|
8979
8983
|
void SetHostImportModuleDynamicallyCallback(
|
package/include/node/v8config.h
CHANGED
|
@@ -86,51 +86,80 @@ path. Add it with -I<path> to the command line
|
|
|
86
86
|
# define V8_OS_ANDROID 1
|
|
87
87
|
# define V8_OS_LINUX 1
|
|
88
88
|
# define V8_OS_POSIX 1
|
|
89
|
+
# define V8_OS_STRING "android"
|
|
90
|
+
|
|
89
91
|
#elif defined(__APPLE__)
|
|
90
92
|
# define V8_OS_BSD 1
|
|
91
93
|
# define V8_OS_MACOSX 1
|
|
92
94
|
# define V8_OS_POSIX 1
|
|
93
95
|
# if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
|
|
94
96
|
# define V8_OS_IOS 1
|
|
97
|
+
# define V8_OS_STRING "ios"
|
|
98
|
+
# else
|
|
99
|
+
# define V8_OS_STRING "macos"
|
|
95
100
|
# endif // defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
|
|
101
|
+
|
|
96
102
|
#elif defined(__CYGWIN__)
|
|
97
103
|
# define V8_OS_CYGWIN 1
|
|
98
104
|
# define V8_OS_POSIX 1
|
|
105
|
+
# define V8_OS_STRING "cygwin"
|
|
106
|
+
|
|
99
107
|
#elif defined(__linux__)
|
|
100
108
|
# define V8_OS_LINUX 1
|
|
101
109
|
# define V8_OS_POSIX 1
|
|
110
|
+
# define V8_OS_STRING "linux"
|
|
111
|
+
|
|
102
112
|
#elif defined(__sun)
|
|
103
113
|
# define V8_OS_POSIX 1
|
|
104
114
|
# define V8_OS_SOLARIS 1
|
|
115
|
+
# define V8_OS_STRING "sun"
|
|
116
|
+
|
|
105
117
|
#elif defined(STARBOARD)
|
|
106
118
|
# define V8_OS_STARBOARD 1
|
|
119
|
+
# define V8_OS_STRING "starboard"
|
|
120
|
+
|
|
107
121
|
#elif defined(_AIX)
|
|
108
|
-
#define V8_OS_POSIX 1
|
|
109
|
-
#define V8_OS_AIX 1
|
|
122
|
+
# define V8_OS_POSIX 1
|
|
123
|
+
# define V8_OS_AIX 1
|
|
124
|
+
# define V8_OS_STRING "aix"
|
|
125
|
+
|
|
110
126
|
#elif defined(__FreeBSD__)
|
|
111
127
|
# define V8_OS_BSD 1
|
|
112
128
|
# define V8_OS_FREEBSD 1
|
|
113
129
|
# define V8_OS_POSIX 1
|
|
130
|
+
# define V8_OS_STRING "freebsd"
|
|
131
|
+
|
|
114
132
|
#elif defined(__Fuchsia__)
|
|
115
133
|
# define V8_OS_FUCHSIA 1
|
|
116
134
|
# define V8_OS_POSIX 1
|
|
135
|
+
# define V8_OS_STRING "fuchsia"
|
|
136
|
+
|
|
117
137
|
#elif defined(__DragonFly__)
|
|
118
138
|
# define V8_OS_BSD 1
|
|
119
139
|
# define V8_OS_DRAGONFLYBSD 1
|
|
120
140
|
# define V8_OS_POSIX 1
|
|
141
|
+
# define V8_OS_STRING "dragonflybsd"
|
|
142
|
+
|
|
121
143
|
#elif defined(__NetBSD__)
|
|
122
144
|
# define V8_OS_BSD 1
|
|
123
145
|
# define V8_OS_NETBSD 1
|
|
124
146
|
# define V8_OS_POSIX 1
|
|
147
|
+
# define V8_OS_STRING "netbsd"
|
|
148
|
+
|
|
125
149
|
#elif defined(__OpenBSD__)
|
|
126
150
|
# define V8_OS_BSD 1
|
|
127
151
|
# define V8_OS_OPENBSD 1
|
|
128
152
|
# define V8_OS_POSIX 1
|
|
153
|
+
# define V8_OS_STRING "openbsd"
|
|
154
|
+
|
|
129
155
|
#elif defined(__QNXNTO__)
|
|
130
156
|
# define V8_OS_POSIX 1
|
|
131
157
|
# define V8_OS_QNX 1
|
|
158
|
+
# define V8_OS_STRING "qnx"
|
|
159
|
+
|
|
132
160
|
#elif defined(_WIN32)
|
|
133
161
|
# define V8_OS_WIN 1
|
|
162
|
+
# define V8_OS_STRING "windows"
|
|
134
163
|
#endif
|
|
135
164
|
|
|
136
165
|
// -----------------------------------------------------------------------------
|
|
@@ -195,6 +224,22 @@ path. Add it with -I<path> to the command line
|
|
|
195
224
|
|
|
196
225
|
#endif // V8_HAVE_TARGET_OS
|
|
197
226
|
|
|
227
|
+
#if defined(V8_TARGET_OS_ANDROID)
|
|
228
|
+
# define V8_TARGET_OS_STRING "android"
|
|
229
|
+
#elif defined(V8_TARGET_OS_FUCHSIA)
|
|
230
|
+
# define V8_TARGET_OS_STRING "fuchsia"
|
|
231
|
+
#elif defined(V8_TARGET_OS_IOS)
|
|
232
|
+
# define V8_TARGET_OS_STRING "ios"
|
|
233
|
+
#elif defined(V8_TARGET_OS_LINUX)
|
|
234
|
+
# define V8_TARGET_OS_STRING "linux"
|
|
235
|
+
#elif defined(V8_TARGET_OS_MACOSX)
|
|
236
|
+
# define V8_TARGET_OS_STRING "macos"
|
|
237
|
+
#elif defined(V8_TARGET_OS_WINDOWS)
|
|
238
|
+
# define V8_TARGET_OS_STRING "windows"
|
|
239
|
+
#else
|
|
240
|
+
# define V8_TARGET_OS_STRING "unknown"
|
|
241
|
+
#endif
|
|
242
|
+
|
|
198
243
|
// -----------------------------------------------------------------------------
|
|
199
244
|
// C library detection
|
|
200
245
|
//
|