node-linux-s390x 17.1.0 → 17.2.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 +126 -0
- package/LICENSE +15 -17
- package/README.md +9 -8
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +2 -2
- package/include/node/js_native_api.h +11 -0
- package/include/node/node_version.h +1 -1
- package/include/node/v8-callbacks.h +3 -0
- package/include/node/v8-forward.h +5 -3
- package/include/node/v8-initialization.h +25 -9
- package/include/node/v8-internal.h +9 -20
- package/include/node/v8-isolate.h +3 -0
- package/include/node/v8-locker.h +7 -2
- package/include/node/v8-message.h +4 -1
- package/include/node/v8-template.h +1 -0
- package/include/node/v8-version.h +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
</tr>
|
|
9
9
|
<tr>
|
|
10
10
|
<td>
|
|
11
|
+
<a href="#17.2.0">17.2.0</a><br/>
|
|
11
12
|
<a href="#17.1.0">17.1.0</a><br/>
|
|
12
13
|
<a href="#17.0.1">17.0.1</a><br/>
|
|
13
14
|
<a href="#17.0.0">17.0.0</a><br/>
|
|
@@ -34,6 +35,131 @@
|
|
|
34
35
|
* [io.js](CHANGELOG_IOJS.md)
|
|
35
36
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
36
37
|
|
|
38
|
+
<a id="17.2.0"></a>
|
|
39
|
+
|
|
40
|
+
## 2021-11-30, Version 17.2.0 (Current), @targos
|
|
41
|
+
|
|
42
|
+
### Notable Changes
|
|
43
|
+
|
|
44
|
+
* \[[`06916490af`](https://github.com/nodejs/node/commit/06916490af)] - **(SEMVER-MINOR)** **async\_hooks**: expose async\_wrap providers (Rafael Gonzaga) [#40760](https://github.com/nodejs/node/pull/40760)
|
|
45
|
+
* \[[`371ee64c92`](https://github.com/nodejs/node/commit/371ee64c92)] - **(SEMVER-MINOR)** **deps**: update V8 to 9.6.180.14 (Michaël Zasso) [#40488](https://github.com/nodejs/node/pull/40488)
|
|
46
|
+
* \[[`675c210b04`](https://github.com/nodejs/node/commit/675c210b04)] - **(SEMVER-MINOR)** **lib**: add reason to AbortSignal (James M Snell) [#40807](https://github.com/nodejs/node/pull/40807)
|
|
47
|
+
* \[[`0de2850680`](https://github.com/nodejs/node/commit/0de2850680)] - **(SEMVER-MINOR)** **src**: add x509.fingerprint512 to crypto module (3nprob) [#39809](https://github.com/nodejs/node/pull/39809)
|
|
48
|
+
* \[[`fa9b5c35d2`](https://github.com/nodejs/node/commit/fa9b5c35d2)] - **stream**: deprecate thenable support (Antoine du Hamel) [#40860](https://github.com/nodejs/node/pull/40860)
|
|
49
|
+
* \[[`534409d4e7`](https://github.com/nodejs/node/commit/534409d4e7)] - **stream**: fix finished regression when working with legacy Stream (Matteo Collina) [#40858](https://github.com/nodejs/node/pull/40858)
|
|
50
|
+
|
|
51
|
+
### Commits
|
|
52
|
+
|
|
53
|
+
* \[[`48157c44c2`](https://github.com/nodejs/node/commit/48157c44c2)] - _**Revert**_ "**async\_hooks**: merge resource\_symbol with owner\_symbol" (Darshan Sen) [#40741](https://github.com/nodejs/node/pull/40741)
|
|
54
|
+
* \[[`4a971f67e4`](https://github.com/nodejs/node/commit/4a971f67e4)] - **async\_hooks**: eliminate require side effects (Stephen Belanger) [#40782](https://github.com/nodejs/node/pull/40782)
|
|
55
|
+
* \[[`06916490af`](https://github.com/nodejs/node/commit/06916490af)] - **(SEMVER-MINOR)** **async\_hooks**: expose async\_wrap providers (Rafael Gonzaga) [#40760](https://github.com/nodejs/node/pull/40760)
|
|
56
|
+
* \[[`65b33ba510`](https://github.com/nodejs/node/commit/65b33ba510)] - **build**: remove extraneous quotation marks from commit body (Rich Trott) [#40963](https://github.com/nodejs/node/pull/40963)
|
|
57
|
+
* \[[`05d652a555`](https://github.com/nodejs/node/commit/05d652a555)] - **build**: fix branch name for lint-md-dependencies update (Rich Trott) [#40924](https://github.com/nodejs/node/pull/40924)
|
|
58
|
+
* \[[`1482c4415f`](https://github.com/nodejs/node/commit/1482c4415f)] - **build**: fix `make` invocation in tools.yml (Rich Trott) [#40890](https://github.com/nodejs/node/pull/40890)
|
|
59
|
+
* \[[`69de8c8143`](https://github.com/nodejs/node/commit/69de8c8143)] - **build**: reset embedder string to "-node.0" (Michaël Zasso) [#40488](https://github.com/nodejs/node/pull/40488)
|
|
60
|
+
* \[[`e793331322`](https://github.com/nodejs/node/commit/e793331322)] - **build**: fix tools.yml errors (Rich Trott) [#40870](https://github.com/nodejs/node/pull/40870)
|
|
61
|
+
* \[[`51ac59b047`](https://github.com/nodejs/node/commit/51ac59b047)] - **build**: add GitHub Action to update tools modules (Rich Trott) [#40644](https://github.com/nodejs/node/pull/40644)
|
|
62
|
+
* \[[`a8cc8b6554`](https://github.com/nodejs/node/commit/a8cc8b6554)] - **crypto**: trim input for NETSCAPE\_SPKI\_b64\_decode (Shelley Vohr) [#40757](https://github.com/nodejs/node/pull/40757)
|
|
63
|
+
* \[[`2979c58fb0`](https://github.com/nodejs/node/commit/2979c58fb0)] - **crypto**: throw errors in SignTraits::DeriveBits (Tobias Nießen) [#40796](https://github.com/nodejs/node/pull/40796)
|
|
64
|
+
* \[[`7f5931d03f`](https://github.com/nodejs/node/commit/7f5931d03f)] - **crypto**: fix build without scrypt (Martin Jansa) [#40613](https://github.com/nodejs/node/pull/40613)
|
|
65
|
+
* \[[`90f35fc329`](https://github.com/nodejs/node/commit/90f35fc329)] - **deps**: upgrade npm to 8.1.4 (npm team) [#40865](https://github.com/nodejs/node/pull/40865)
|
|
66
|
+
* \[[`d461603d71`](https://github.com/nodejs/node/commit/d461603d71)] - **deps**: V8: cherry-pick cced52a97ee9 (Ray Wang) [#40656](https://github.com/nodejs/node/pull/40656)
|
|
67
|
+
* \[[`d6ae50ff96`](https://github.com/nodejs/node/commit/d6ae50ff96)] - **deps**: V8: cherry-pick 7ae0b77628f6 (Ray Wang) [#40882](https://github.com/nodejs/node/pull/40882)
|
|
68
|
+
* \[[`e60053deee`](https://github.com/nodejs/node/commit/e60053deee)] - **deps**: V8: cherry-pick 2a0bc36dec12 (Michaël Zasso) [#40178](https://github.com/nodejs/node/pull/40178)
|
|
69
|
+
* \[[`94acaae3d4`](https://github.com/nodejs/node/commit/94acaae3d4)] - **deps**: V8: patch jinja2 for Python 3.10 compat (Michaël Zasso) [#40296](https://github.com/nodejs/node/pull/40296)
|
|
70
|
+
* \[[`37c9828d39`](https://github.com/nodejs/node/commit/37c9828d39)] - **deps**: disable trap handler for Windows cross-compiler (Michaël Zasso) [#40488](https://github.com/nodejs/node/pull/40488)
|
|
71
|
+
* \[[`dfb97fb501`](https://github.com/nodejs/node/commit/dfb97fb501)] - **deps**: silence irrelevant V8 warning (Michaël Zasso) [#38990](https://github.com/nodejs/node/pull/38990)
|
|
72
|
+
* \[[`9ecf4be0c2`](https://github.com/nodejs/node/commit/9ecf4be0c2)] - **deps**: silence irrelevant V8 warning (Michaël Zasso) [#37587](https://github.com/nodejs/node/pull/37587)
|
|
73
|
+
* \[[`82a8736dec`](https://github.com/nodejs/node/commit/82a8736dec)] - **deps**: fix V8 build issue with inline methods (Jiawen Geng) [#38807](https://github.com/nodejs/node/pull/38807)
|
|
74
|
+
* \[[`eab5ef5505`](https://github.com/nodejs/node/commit/eab5ef5505)] - **deps**: make v8.h compatible with VS2015 (Joao Reis) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
75
|
+
* \[[`d6e5dd56ff`](https://github.com/nodejs/node/commit/d6e5dd56ff)] - **deps**: V8: forward declaration of `Rtl*FunctionTable` (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
76
|
+
* \[[`29a6e15480`](https://github.com/nodejs/node/commit/29a6e15480)] - **deps**: V8: patch register-arm64.h (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
77
|
+
* \[[`1ff83c4945`](https://github.com/nodejs/node/commit/1ff83c4945)] - **deps**: V8: un-cherry-pick bd019bd (Refael Ackermann) [#32116](https://github.com/nodejs/node/pull/32116)
|
|
78
|
+
* \[[`371ee64c92`](https://github.com/nodejs/node/commit/371ee64c92)] - **(SEMVER-MINOR)** **deps**: update V8 to 9.6.180.14 (Michaël Zasso) [#40488](https://github.com/nodejs/node/pull/40488)
|
|
79
|
+
* \[[`6506a42c16`](https://github.com/nodejs/node/commit/6506a42c16)] - **deps**: V8: cherry-pick cced52a97ee9 (Ray Wang) [#40656](https://github.com/nodejs/node/pull/40656)
|
|
80
|
+
* \[[`a612ecb42f`](https://github.com/nodejs/node/commit/a612ecb42f)] - **deps**: V8: cherry-pick 7ae0b77628f6 (Ray Wang) [#40882](https://github.com/nodejs/node/pull/40882)
|
|
81
|
+
* \[[`b46184df5e`](https://github.com/nodejs/node/commit/b46184df5e)] - **deps**: update to uvwasi 0.0.12 (Colin Ihrig) [#40847](https://github.com/nodejs/node/pull/40847)
|
|
82
|
+
* \[[`fa37428472`](https://github.com/nodejs/node/commit/fa37428472)] - **deps**: add -fno-strict-aliasing flag to libuv (Daniel Bevenius) [#40631](https://github.com/nodejs/node/pull/40631)
|
|
83
|
+
* \[[`9711ccfe08`](https://github.com/nodejs/node/commit/9711ccfe08)] - **deps**: upgrade npm to 8.1.3 (npm team) [#40726](https://github.com/nodejs/node/pull/40726)
|
|
84
|
+
* \[[`8e525634c6`](https://github.com/nodejs/node/commit/8e525634c6)] - **deps**: update ICU to 70.1 (Michaël Zasso) [#40658](https://github.com/nodejs/node/pull/40658)
|
|
85
|
+
* \[[`3bfc9f5b47`](https://github.com/nodejs/node/commit/3bfc9f5b47)] - **doc**: add information on suppressing initial break in debugger (Rich Trott) [#40960](https://github.com/nodejs/node/pull/40960)
|
|
86
|
+
* \[[`8966ab3c57`](https://github.com/nodejs/node/commit/8966ab3c57)] - **doc**: improve grammar in API description (Tobias Nießen) [#40959](https://github.com/nodejs/node/pull/40959)
|
|
87
|
+
* \[[`130777a61c`](https://github.com/nodejs/node/commit/130777a61c)] - **doc**: update BUILDING.md section on running tests (Rich Trott) [#40933](https://github.com/nodejs/node/pull/40933)
|
|
88
|
+
* \[[`6e9b6652e5`](https://github.com/nodejs/node/commit/6e9b6652e5)] - **doc**: remove experimental abortcontroller flag (FrankQiu) [#38968](https://github.com/nodejs/node/pull/38968)
|
|
89
|
+
* \[[`b92416ff02`](https://github.com/nodejs/node/commit/b92416ff02)] - **doc**: fix spelling of 'WebAssembly' (Geoffrey Booth) [#40785](https://github.com/nodejs/node/pull/40785)
|
|
90
|
+
* \[[`cf495a6293`](https://github.com/nodejs/node/commit/cf495a6293)] - **doc**: clarify more optional parameters in node-api (Michael Dawson) [#40888](https://github.com/nodejs/node/pull/40888)
|
|
91
|
+
* \[[`694012b392`](https://github.com/nodejs/node/commit/694012b392)] - **doc**: define "types", "deno" community conditions (Guy Bedford) [#40708](https://github.com/nodejs/node/pull/40708)
|
|
92
|
+
* \[[`4c47b0150b`](https://github.com/nodejs/node/commit/4c47b0150b)] - **doc**: document optional params in napi\_get\_cb\_info (Michael Dawson) [#40821](https://github.com/nodejs/node/pull/40821)
|
|
93
|
+
* \[[`dfdf68f4d0`](https://github.com/nodejs/node/commit/dfdf68f4d0)] - **doc**: improve README.md lede section (Rich Trott) [#40837](https://github.com/nodejs/node/pull/40837)
|
|
94
|
+
* \[[`9c200e1de4`](https://github.com/nodejs/node/commit/9c200e1de4)] - **doc**: add pref to using draft PR versus WIP label (Michael Dawson) [#40824](https://github.com/nodejs/node/pull/40824)
|
|
95
|
+
* \[[`fe2cd09750`](https://github.com/nodejs/node/commit/fe2cd09750)] - **doc**: fix `added:` info for `Readable.fromWeb()` (Luigi Pinca) [#40820](https://github.com/nodejs/node/pull/40820)
|
|
96
|
+
* \[[`c91a9ab095`](https://github.com/nodejs/node/commit/c91a9ab095)] - **doc**: tweak guidance for modules in core (Michael Dawson) [#40601](https://github.com/nodejs/node/pull/40601)
|
|
97
|
+
* \[[`2ea08e9b55`](https://github.com/nodejs/node/commit/2ea08e9b55)] - **doc**: claim ABI version for Electron 18 (Keeley Hammond) [#40768](https://github.com/nodejs/node/pull/40768)
|
|
98
|
+
* \[[`8166b07ddc`](https://github.com/nodejs/node/commit/8166b07ddc)] - **doc**: fix transform stream example (Evan Lucas) [#40777](https://github.com/nodejs/node/pull/40777)
|
|
99
|
+
* \[[`5ceb06cddf`](https://github.com/nodejs/node/commit/5ceb06cddf)] - **doc**: fix linter-enforced formatting in crypto.md (Mohammed Keyvanzadeh) [#40780](https://github.com/nodejs/node/pull/40780)
|
|
100
|
+
* \[[`d3070d8eea`](https://github.com/nodejs/node/commit/d3070d8eea)] - **doc**: fix corepack grammar for `--force` flag (Steven) [#40762](https://github.com/nodejs/node/pull/40762)
|
|
101
|
+
* \[[`9271f23e3a`](https://github.com/nodejs/node/commit/9271f23e3a)] - **doc**: update maintaining ICU guide (Michaël Zasso) [#40658](https://github.com/nodejs/node/pull/40658)
|
|
102
|
+
* \[[`20d7d657bb`](https://github.com/nodejs/node/commit/20d7d657bb)] - **doc**: clarify getAuthTag with authTagLength (Tobias Nießen) [#40713](https://github.com/nodejs/node/pull/40713)
|
|
103
|
+
* \[[`75288fbc6b`](https://github.com/nodejs/node/commit/75288fbc6b)] - **doc**: fix order of announce work (Michael Dawson) [#40725](https://github.com/nodejs/node/pull/40725)
|
|
104
|
+
* \[[`429915aa6c`](https://github.com/nodejs/node/commit/429915aa6c)] - **doc**: add initial list of technical priorities (Michael Dawson) [#40235](https://github.com/nodejs/node/pull/40235)
|
|
105
|
+
* \[[`a5a1691514`](https://github.com/nodejs/node/commit/a5a1691514)] - **fs**: nullish coalescing to respect zero positional reads (Omar El-Mihilmy) [#40716](https://github.com/nodejs/node/pull/40716)
|
|
106
|
+
* \[[`bddb4c69b7`](https://github.com/nodejs/node/commit/bddb4c69b7)] - **http**: add missing initialization (Michael Dawson) [#40555](https://github.com/nodejs/node/pull/40555)
|
|
107
|
+
* \[[`80ce97f514`](https://github.com/nodejs/node/commit/80ce97f514)] - **http**: change totalSocketCount only on socket creation/close (Subhi Al Hasan) [#40572](https://github.com/nodejs/node/pull/40572)
|
|
108
|
+
* \[[`675c210b04`](https://github.com/nodejs/node/commit/675c210b04)] - **(SEMVER-MINOR)** **lib**: add reason to AbortSignal (James M Snell) [#40807](https://github.com/nodejs/node/pull/40807)
|
|
109
|
+
* \[[`b614b17525`](https://github.com/nodejs/node/commit/b614b17525)] - _**Revert**_ "**lib**: use helper for readability" (Darshan Sen) [#40741](https://github.com/nodejs/node/pull/40741)
|
|
110
|
+
* \[[`10a842d2d1`](https://github.com/nodejs/node/commit/10a842d2d1)] - **lib**: fix typos in lib code comments (Yoshiki) [#40792](https://github.com/nodejs/node/pull/40792)
|
|
111
|
+
* \[[`3ec78d1570`](https://github.com/nodejs/node/commit/3ec78d1570)] - **meta**: add feature request label for issue template (Mestery) [#40970](https://github.com/nodejs/node/pull/40970)
|
|
112
|
+
* \[[`9c897b69a1`](https://github.com/nodejs/node/commit/9c897b69a1)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#40900](https://github.com/nodejs/node/pull/40900)
|
|
113
|
+
* \[[`dfc6fc987a`](https://github.com/nodejs/node/commit/dfc6fc987a)] - **meta**: update name and email (Viero Fernando) [#40848](https://github.com/nodejs/node/pull/40848)
|
|
114
|
+
* \[[`813cf746a8`](https://github.com/nodejs/node/commit/813cf746a8)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#40809](https://github.com/nodejs/node/pull/40809)
|
|
115
|
+
* \[[`e451ec9ec1`](https://github.com/nodejs/node/commit/e451ec9ec1)] - **meta**: edit GOVERNANCE.md for minor updates (Rich Trott) [#40798](https://github.com/nodejs/node/pull/40798)
|
|
116
|
+
* \[[`2536be7528`](https://github.com/nodejs/node/commit/2536be7528)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#40748](https://github.com/nodejs/node/pull/40748)
|
|
117
|
+
* \[[`3c8aa211cd`](https://github.com/nodejs/node/commit/3c8aa211cd)] - **module**: import assertions improvements (Geoffrey Booth) [#40785](https://github.com/nodejs/node/pull/40785)
|
|
118
|
+
* \[[`3a4f3873be`](https://github.com/nodejs/node/commit/3a4f3873be)] - **process**: support hrtime in the snapshot (Joyee Cheung) [#40649](https://github.com/nodejs/node/pull/40649)
|
|
119
|
+
* \[[`1555dbdddc`](https://github.com/nodejs/node/commit/1555dbdddc)] - **repl**: fix and extend require/import tab complete (Mestery) [#40216](https://github.com/nodejs/node/pull/40216)
|
|
120
|
+
* \[[`c2259c974b`](https://github.com/nodejs/node/commit/c2259c974b)] - **src**: reset error struct if error code is napi\_ok (JckXia) [#40552](https://github.com/nodejs/node/pull/40552)
|
|
121
|
+
* \[[`3be49d6853`](https://github.com/nodejs/node/commit/3be49d6853)] - **src**: prevent extra copies of `TimerWrap::TimerCb` (Darshan Sen) [#40665](https://github.com/nodejs/node/pull/40665)
|
|
122
|
+
* \[[`0de2850680`](https://github.com/nodejs/node/commit/0de2850680)] - **(SEMVER-MINOR)** **src**: add x509.fingerprint512 to crypto module (3nprob) [#39809](https://github.com/nodejs/node/pull/39809)
|
|
123
|
+
* \[[`924d29e88f`](https://github.com/nodejs/node/commit/924d29e88f)] - **src**: add and fix some preprocessor comments (Tobias Nießen) [#40701](https://github.com/nodejs/node/pull/40701)
|
|
124
|
+
* \[[`acbd8220a7`](https://github.com/nodejs/node/commit/acbd8220a7)] - **src,crypto**: use `ByteSource::ToBuffer()` in `crypto_dh` (Darshan Sen) [#40903](https://github.com/nodejs/node/pull/40903)
|
|
125
|
+
* \[[`82b422663d`](https://github.com/nodejs/node/commit/82b422663d)] - **src,crypto**: remove `AllocatedBuffer`s from `crypto_spkac` (Darshan Sen) [#40752](https://github.com/nodejs/node/pull/40752)
|
|
126
|
+
* \[[`415b42fbdf`](https://github.com/nodejs/node/commit/415b42fbdf)] - **src,crypto**: refactor `crypto_tls.*` (Darshan Sen) [#40675](https://github.com/nodejs/node/pull/40675)
|
|
127
|
+
* \[[`88b57bc9d3`](https://github.com/nodejs/node/commit/88b57bc9d3)] - **src,doc**: add SyntaxError napi support (Idan Attias) [#40736](https://github.com/nodejs/node/pull/40736)
|
|
128
|
+
* \[[`70bd90e039`](https://github.com/nodejs/node/commit/70bd90e039)] - **stream**: stricter isReadableNodeStream (Robert Nagy) [#40941](https://github.com/nodejs/node/pull/40941)
|
|
129
|
+
* \[[`86d1c0b19d`](https://github.com/nodejs/node/commit/86d1c0b19d)] - **stream**: drain Transform with 0 highWaterMark (Robert Nagy) [#40947](https://github.com/nodejs/node/pull/40947)
|
|
130
|
+
* \[[`fa9b5c35d2`](https://github.com/nodejs/node/commit/fa9b5c35d2)] - **stream**: deprecate thenable support (Antoine du Hamel) [#40860](https://github.com/nodejs/node/pull/40860)
|
|
131
|
+
* \[[`dc99ae3bd6`](https://github.com/nodejs/node/commit/dc99ae3bd6)] - **stream**: fix the ReadableStreamBYOBReader error message (James M Snell) [#40846](https://github.com/nodejs/node/pull/40846)
|
|
132
|
+
* \[[`650c9bd022`](https://github.com/nodejs/node/commit/650c9bd022)] - **stream**: pipeline with end option (Robert Nagy) [#40886](https://github.com/nodejs/node/pull/40886)
|
|
133
|
+
* \[[`534409d4e7`](https://github.com/nodejs/node/commit/534409d4e7)] - **stream**: fix finished regression when working with legacy Stream (Matteo Collina) [#40858](https://github.com/nodejs/node/pull/40858)
|
|
134
|
+
* \[[`16ee8423d6`](https://github.com/nodejs/node/commit/16ee8423d6)] - **stream**: pipeline should drain empty readable (Robert Nagy) [#40654](https://github.com/nodejs/node/pull/40654)
|
|
135
|
+
* \[[`7d127d2fc1`](https://github.com/nodejs/node/commit/7d127d2fc1)] - **stream**: fix non readable Duplex readableAborted (Robert Nagy) [#40801](https://github.com/nodejs/node/pull/40801)
|
|
136
|
+
* \[[`7c4f9a34ae`](https://github.com/nodejs/node/commit/7c4f9a34ae)] - **stream**: allow calling callback before promise (Robert Nagy) [#40772](https://github.com/nodejs/node/pull/40772)
|
|
137
|
+
* \[[`62171eb516`](https://github.com/nodejs/node/commit/62171eb516)] - **test**: mark test-fs-watch-non-recursive flaky on Windows (Luigi Pinca) [#40916](https://github.com/nodejs/node/pull/40916)
|
|
138
|
+
* \[[`ae12a609a5`](https://github.com/nodejs/node/commit/ae12a609a5)] - **test**: improve test coverage of readline/promises (Yoshiki Kurihara) [#40876](https://github.com/nodejs/node/pull/40876)
|
|
139
|
+
* \[[`4288c6a26e`](https://github.com/nodejs/node/commit/4288c6a26e)] - **test**: deflake cluster-concurrent-disconnect (Luigi Pinca) [#40877](https://github.com/nodejs/node/pull/40877)
|
|
140
|
+
* \[[`009ab4d9bb`](https://github.com/nodejs/node/commit/009ab4d9bb)] - **test**: deflake fs-promises-watch (Luigi Pinca) [#40863](https://github.com/nodejs/node/pull/40863)
|
|
141
|
+
* \[[`522a30f469`](https://github.com/nodejs/node/commit/522a30f469)] - **test**: fix argument order in assertion (Luigi Pinca) [#40842](https://github.com/nodejs/node/pull/40842)
|
|
142
|
+
* \[[`b190b0e77b`](https://github.com/nodejs/node/commit/b190b0e77b)] - **test**: deflake http2-pipe-named-pipe (Luigi Pinca) [#40842](https://github.com/nodejs/node/pull/40842)
|
|
143
|
+
* \[[`c485460793`](https://github.com/nodejs/node/commit/c485460793)] - **test**: use descriptive name for destination file (Luigi Pinca) [#40842](https://github.com/nodejs/node/pull/40842)
|
|
144
|
+
* \[[`43e86508ae`](https://github.com/nodejs/node/commit/43e86508ae)] - **test**: add AsyncLocalStorage tests using udp, tcp and tls sockets (Darshan Sen) [#40741](https://github.com/nodejs/node/pull/40741)
|
|
145
|
+
* \[[`896073be47`](https://github.com/nodejs/node/commit/896073be47)] - **test**: deflake child-process-pipe-dataflow (Luigi Pinca) [#40838](https://github.com/nodejs/node/pull/40838)
|
|
146
|
+
* \[[`150c0f1b76`](https://github.com/nodejs/node/commit/150c0f1b76)] - **test**: add tests for invalid UTF-8 (git-srinivas) [#40351](https://github.com/nodejs/node/pull/40351)
|
|
147
|
+
* \[[`3d896231cd`](https://github.com/nodejs/node/commit/3d896231cd)] - **test**: fix flaky test-policy-integrity (Rich Trott) [#40763](https://github.com/nodejs/node/pull/40763)
|
|
148
|
+
* \[[`dc9e68899d`](https://github.com/nodejs/node/commit/dc9e68899d)] - **test**: add semicolons for linter update (Rich Trott) [#40720](https://github.com/nodejs/node/pull/40720)
|
|
149
|
+
* \[[`747247bc59`](https://github.com/nodejs/node/commit/747247bc59)] - **tools**: update gyp-next to v0.10.1 (Michaël Zasso) [#40934](https://github.com/nodejs/node/pull/40934)
|
|
150
|
+
* \[[`6ebbd0d9dc`](https://github.com/nodejs/node/commit/6ebbd0d9dc)] - **tools**: fix commit-lint GH Actions CI (Antoine du Hamel) [#40845](https://github.com/nodejs/node/pull/40845)
|
|
151
|
+
* \[[`0201f3f604`](https://github.com/nodejs/node/commit/0201f3f604)] - **tools**: ping TSC members identified as inactive (Rich Trott) [#40915](https://github.com/nodejs/node/pull/40915)
|
|
152
|
+
* \[[`22265e3fb6`](https://github.com/nodejs/node/commit/22265e3fb6)] - **tools**: update lint-md-dependencies to rollup\@2.60.1 (Node.js GitHub Bot) [#40929](https://github.com/nodejs/node/pull/40929)
|
|
153
|
+
* \[[`3d593aa4ed`](https://github.com/nodejs/node/commit/3d593aa4ed)] - **tools**: update lint-md dependencies (Rich Trott) [#40894](https://github.com/nodejs/node/pull/40894)
|
|
154
|
+
* \[[`e674f61720`](https://github.com/nodejs/node/commit/e674f61720)] - **tools**: update ESLint to 8.3.0 (Luigi Pinca) [#40917](https://github.com/nodejs/node/pull/40917)
|
|
155
|
+
* \[[`878ba91bf6`](https://github.com/nodejs/node/commit/878ba91bf6)] - **tools**: add find-inactive-tsc (Rich Trott) [#40884](https://github.com/nodejs/node/pull/40884)
|
|
156
|
+
* \[[`d97ad3080f`](https://github.com/nodejs/node/commit/d97ad3080f)] - **tools**: disable trap handler for Windows cross-compiler (Michaël Zasso) [#40488](https://github.com/nodejs/node/pull/40488)
|
|
157
|
+
* \[[`e3f8988118`](https://github.com/nodejs/node/commit/e3f8988118)] - **tools**: update V8 gypfiles for 9.6 (Michaël Zasso) [#40488](https://github.com/nodejs/node/pull/40488)
|
|
158
|
+
* \[[`de4d0180dc`](https://github.com/nodejs/node/commit/de4d0180dc)] - **tools**: update @babel/eslint-parser to 7.16.3 (Node.js GitHub Bot) [#40889](https://github.com/nodejs/node/pull/40889)
|
|
159
|
+
* \[[`727b34ec95`](https://github.com/nodejs/node/commit/727b34ec95)] - **tools**: only validate first commit message of a PR (Antoine du Hamel) [#40740](https://github.com/nodejs/node/pull/40740)
|
|
160
|
+
* \[[`5b08e908ea`](https://github.com/nodejs/node/commit/5b08e908ea)] - **tools**: update babel-eslint-parser to 7.16.0 (Rich Trott) [#40720](https://github.com/nodejs/node/pull/40720)
|
|
161
|
+
* \[[`30623c283a`](https://github.com/nodejs/node/commit/30623c283a)] - **tools**: improve update scripts (Rich Trott) [#40644](https://github.com/nodejs/node/pull/40644)
|
|
162
|
+
|
|
37
163
|
<a id="17.1.0"></a>
|
|
38
164
|
|
|
39
165
|
## 2021-11-09, Version 17.1.0 (Current), @targos
|
package/LICENSE
CHANGED
|
@@ -392,31 +392,29 @@ The externally maintained libraries used by Node.js are:
|
|
|
392
392
|
|
|
393
393
|
3. Lao Word Break Dictionary Data (laodict.txt)
|
|
394
394
|
|
|
395
|
-
#
|
|
396
|
-
#
|
|
395
|
+
# Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
396
|
+
# License & terms of use: http://www.unicode.org/copyright.html
|
|
397
|
+
# Copyright (c) 2015 International Business Machines Corporation
|
|
398
|
+
# and others. All Rights Reserved.
|
|
397
399
|
#
|
|
398
|
-
# Project: https://github.com/
|
|
399
|
-
# Dictionary: https://github.com/
|
|
400
|
-
# License: https://github.com/
|
|
401
|
-
#
|
|
400
|
+
# Project: https://github.com/rober42539/lao-dictionary
|
|
401
|
+
# Dictionary: https://github.com/rober42539/lao-dictionary/laodict.txt
|
|
402
|
+
# License: https://github.com/rober42539/lao-dictionary/LICENSE.txt
|
|
403
|
+
# (copied below)
|
|
402
404
|
#
|
|
403
|
-
#
|
|
404
|
-
# modifications.
|
|
405
|
+
# This file is derived from the above dictionary version of Nov 22, 2020
|
|
405
406
|
# ----------------------------------------------------------------------
|
|
406
407
|
# Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell.
|
|
407
408
|
# All rights reserved.
|
|
408
409
|
#
|
|
409
410
|
# Redistribution and use in source and binary forms, with or without
|
|
410
|
-
# modification,
|
|
411
|
-
# are permitted provided that the following conditions are met:
|
|
412
|
-
#
|
|
413
|
-
#
|
|
414
|
-
# Redistributions of source code must retain the above copyright notice, this
|
|
415
|
-
# list of conditions and the following disclaimer. Redistributions in
|
|
416
|
-
# binary form must reproduce the above copyright notice, this list of
|
|
417
|
-
# conditions and the following disclaimer in the documentation and/or
|
|
418
|
-
# other materials provided with the distribution.
|
|
411
|
+
# modification, are permitted provided that the following conditions are met:
|
|
419
412
|
#
|
|
413
|
+
# Redistributions of source code must retain the above copyright notice, this
|
|
414
|
+
# list of conditions and the following disclaimer. Redistributions in binary
|
|
415
|
+
# form must reproduce the above copyright notice, this list of conditions and
|
|
416
|
+
# the following disclaimer in the documentation and/or other materials
|
|
417
|
+
# provided with the distribution.
|
|
420
418
|
#
|
|
421
419
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
422
420
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
package/README.md
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
</a>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
|
-
Node.js is an open-source, cross-platform, JavaScript runtime environment.
|
|
14
|
-
|
|
15
|
-
Node.js, see the [Node.js Website][].
|
|
13
|
+
Node.js is an open-source, cross-platform, JavaScript runtime environment.
|
|
14
|
+
|
|
15
|
+
For information on using Node.js, see the [Node.js Website][].
|
|
16
16
|
|
|
17
17
|
The Node.js project uses an [open governance model](./GOVERNANCE.md). The
|
|
18
18
|
[OpenJS Foundation][] provides support for the project.
|
|
19
19
|
|
|
20
|
-
**This project
|
|
20
|
+
**This project has a [Code of Conduct][].**
|
|
21
21
|
|
|
22
22
|
# Table of contents
|
|
23
23
|
|
|
@@ -156,8 +156,9 @@ For information on reporting security vulnerabilities in Node.js, see
|
|
|
156
156
|
For information about the governance of the Node.js project, see
|
|
157
157
|
[GOVERNANCE.md](./GOVERNANCE.md).
|
|
158
158
|
|
|
159
|
-
<!-- node-core-utils
|
|
160
|
-
format changes, those utilities need to be tested and
|
|
159
|
+
<!-- node-core-utils and find-inactive-tsc.mjs depend on the format of the TSC
|
|
160
|
+
list. If the format changes, those utilities need to be tested and
|
|
161
|
+
updated. -->
|
|
161
162
|
|
|
162
163
|
### TSC (Technical Steering Committee)
|
|
163
164
|
|
|
@@ -446,7 +447,7 @@ For information about the governance of the Node.js project, see
|
|
|
446
447
|
* [vdeturckheim](https://github.com/vdeturckheim) -
|
|
447
448
|
**Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
|
|
448
449
|
* [VoltrexMaster](https://github.com/VoltrexMaster) -
|
|
449
|
-
**
|
|
450
|
+
**Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
|
|
450
451
|
* [watilde](https://github.com/watilde) -
|
|
451
452
|
**Daijiro Wachi** <<daijiro.wachi@gmail.com>> (he/him)
|
|
452
453
|
* [watson](https://github.com/watson) -
|
|
@@ -648,7 +649,7 @@ maintaining the Node.js project.
|
|
|
648
649
|
* [RaisinTen](https://github.com/RaisinTen) -
|
|
649
650
|
**Darshan Sen** <<raisinten@gmail.com>>
|
|
650
651
|
* [VoltrexMaster](https://github.com/VoltrexMaster) -
|
|
651
|
-
**
|
|
652
|
+
**Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
|
|
652
653
|
|
|
653
654
|
### Release keys
|
|
654
655
|
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
package/include/node/config.gypi
CHANGED
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
'force_dynamic_crt': 0,
|
|
17
17
|
'gas_version': '2.30',
|
|
18
18
|
'host_arch': 's390x',
|
|
19
|
-
'icu_data_in': '../../deps/icu-tmp/
|
|
19
|
+
'icu_data_in': '../../deps/icu-tmp/icudt70l.dat',
|
|
20
20
|
'icu_endianness': 'b',
|
|
21
21
|
'icu_gyp_path': 'tools/icu/icu-generic.gyp',
|
|
22
22
|
'icu_path': 'deps/icu-small',
|
|
23
23
|
'icu_small': 'false',
|
|
24
|
-
'icu_ver_major': '
|
|
24
|
+
'icu_ver_major': '70',
|
|
25
25
|
'is_debug': 0,
|
|
26
26
|
'llvm_version': '0.0',
|
|
27
27
|
'napi_build_version': '8',
|
|
@@ -111,6 +111,12 @@ NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
|
|
|
111
111
|
napi_value code,
|
|
112
112
|
napi_value msg,
|
|
113
113
|
napi_value* result);
|
|
114
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
115
|
+
NAPI_EXTERN napi_status node_api_create_syntax_error(napi_env env,
|
|
116
|
+
napi_value code,
|
|
117
|
+
napi_value msg,
|
|
118
|
+
napi_value* result);
|
|
119
|
+
#endif // NAPI_EXPERIMENTAL
|
|
114
120
|
|
|
115
121
|
// Methods to get the native napi_value from Primitive type
|
|
116
122
|
NAPI_EXTERN napi_status napi_typeof(napi_env env,
|
|
@@ -370,6 +376,11 @@ NAPI_EXTERN napi_status napi_throw_type_error(napi_env env,
|
|
|
370
376
|
NAPI_EXTERN napi_status napi_throw_range_error(napi_env env,
|
|
371
377
|
const char* code,
|
|
372
378
|
const char* msg);
|
|
379
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
380
|
+
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
|
|
381
|
+
const char* code,
|
|
382
|
+
const char* msg);
|
|
383
|
+
#endif // NAPI_EXPERIMENTAL
|
|
373
384
|
NAPI_EXTERN napi_status napi_is_error(napi_env env,
|
|
374
385
|
napi_value value,
|
|
375
386
|
bool* result);
|
|
@@ -308,6 +308,9 @@ using WasmSimdEnabledCallback = bool (*)(Local<Context> context);
|
|
|
308
308
|
// --- Callback for checking if WebAssembly exceptions are enabled ---
|
|
309
309
|
using WasmExceptionsEnabledCallback = bool (*)(Local<Context> context);
|
|
310
310
|
|
|
311
|
+
// --- Callback for checking if WebAssembly dynamic tiering is enabled ---
|
|
312
|
+
using WasmDynamicTieringEnabledCallback = bool (*)(Local<Context> context);
|
|
313
|
+
|
|
311
314
|
// --- Callback for checking if the SharedArrayBuffer constructor is enabled ---
|
|
312
315
|
using SharedArrayBufferConstructorEnabledCallback =
|
|
313
316
|
bool (*)(Local<Context> context);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
-
#ifndef
|
|
6
|
-
#define
|
|
5
|
+
#ifndef INCLUDE_V8_FORWARD_H_
|
|
6
|
+
#define INCLUDE_V8_FORWARD_H_
|
|
7
7
|
|
|
8
8
|
// This header is intended to be used by headers that pass around V8 types,
|
|
9
9
|
// either by pointer or using Local<Type>. The full definitions can be included
|
|
@@ -27,6 +27,7 @@ class Context;
|
|
|
27
27
|
class DataView;
|
|
28
28
|
class Data;
|
|
29
29
|
class Date;
|
|
30
|
+
class Extension;
|
|
30
31
|
class External;
|
|
31
32
|
class FixedArray;
|
|
32
33
|
class Float32Array;
|
|
@@ -63,6 +64,7 @@ class StringObject;
|
|
|
63
64
|
class Symbol;
|
|
64
65
|
class SymbolObject;
|
|
65
66
|
class Template;
|
|
67
|
+
class TryCatch;
|
|
66
68
|
class TypedArray;
|
|
67
69
|
class Uint16Array;
|
|
68
70
|
class Uint32;
|
|
@@ -76,4 +78,4 @@ class WasmModuleObject;
|
|
|
76
78
|
|
|
77
79
|
} // namespace v8
|
|
78
80
|
|
|
79
|
-
#endif //
|
|
81
|
+
#endif // INCLUDE_V8_FORWARD_H_
|
|
@@ -195,22 +195,38 @@ class V8_EXPORT V8 {
|
|
|
195
195
|
* This must be invoked after the platform was initialized but before V8 is
|
|
196
196
|
* initialized. The virtual memory cage is torn down during platform shutdown.
|
|
197
197
|
* Returns true on success, false otherwise.
|
|
198
|
+
*
|
|
199
|
+
* TODO(saelo) Once it is no longer optional to create the virtual memory
|
|
200
|
+
* cage when compiling with V8_VIRTUAL_MEMORY_CAGE, the cage initialization
|
|
201
|
+
* will likely happen as part of V8::Initialize, at which point this function
|
|
202
|
+
* should be removed.
|
|
198
203
|
*/
|
|
199
204
|
static bool InitializeVirtualMemoryCage();
|
|
200
205
|
|
|
201
206
|
/**
|
|
202
|
-
* Provides access to the
|
|
207
|
+
* Provides access to the virtual memory cage page allocator.
|
|
208
|
+
*
|
|
209
|
+
* This allocator allocates pages inside the virtual memory cage. It can for
|
|
210
|
+
* example be used to obtain virtual memory for ArrayBuffer backing stores,
|
|
211
|
+
* which must be located inside the cage.
|
|
212
|
+
*
|
|
213
|
+
* It should be assumed that an attacker can corrupt data inside the cage,
|
|
214
|
+
* and so in particular the contents of pages returned by this allocator,
|
|
215
|
+
* arbitrarily and concurrently. Due to this, it is recommended to to only
|
|
216
|
+
* place pure data buffers in pages obtained through this allocator.
|
|
203
217
|
*
|
|
204
|
-
* This
|
|
205
|
-
*
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
218
|
+
* This function must only be called after initializing the virtual memory
|
|
219
|
+
* cage and V8.
|
|
220
|
+
*/
|
|
221
|
+
static PageAllocator* GetVirtualMemoryCagePageAllocator();
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Returns the size of the virtual memory cage in bytes.
|
|
210
225
|
*
|
|
211
|
-
*
|
|
226
|
+
* If the cage has not been initialized, or if the initialization failed,
|
|
227
|
+
* this returns zero.
|
|
212
228
|
*/
|
|
213
|
-
static
|
|
229
|
+
static size_t GetVirtualMemoryCageSizeInBytes();
|
|
214
230
|
#endif
|
|
215
231
|
|
|
216
232
|
/**
|
|
@@ -495,15 +495,10 @@ constexpr bool VirtualMemoryCageIsEnabled() {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
#ifdef V8_VIRTUAL_MEMORY_CAGE
|
|
498
|
-
// Size of the pointer compression cage located at the start of the virtual
|
|
499
|
-
// memory cage.
|
|
500
|
-
constexpr size_t kVirtualMemoryCagePointerCageSize =
|
|
501
|
-
Internals::kPtrComprCageReservationSize;
|
|
502
|
-
|
|
503
498
|
// Size of the virtual memory cage, excluding the guard regions surrounding it.
|
|
504
499
|
constexpr size_t kVirtualMemoryCageSize = size_t{1} << 40; // 1 TB
|
|
505
500
|
|
|
506
|
-
static_assert(kVirtualMemoryCageSize >
|
|
501
|
+
static_assert(kVirtualMemoryCageSize > Internals::kPtrComprCageReservationSize,
|
|
507
502
|
"The virtual memory cage must be larger than the pointer "
|
|
508
503
|
"compression cage contained within it.");
|
|
509
504
|
|
|
@@ -525,19 +520,21 @@ static_assert((kVirtualMemoryCageGuardRegionSize %
|
|
|
525
520
|
"The size of the virtual memory cage guard region must be a "
|
|
526
521
|
"multiple of its required alignment.");
|
|
527
522
|
|
|
528
|
-
// Minimum
|
|
529
|
-
// surrounding it.
|
|
530
|
-
|
|
531
|
-
|
|
523
|
+
// Minimum size of the virtual memory cage, excluding the guard regions
|
|
524
|
+
// surrounding it. If the cage reservation fails, its size is currently halved
|
|
525
|
+
// until either the reservation succeeds or the minimum size is reached. A
|
|
526
|
+
// minimum of 32GB allows the 4GB pointer compression region as well as the
|
|
527
|
+
// ArrayBuffer partition and two 10GB WASM memory cages to fit into the cage.
|
|
528
|
+
constexpr size_t kVirtualMemoryCageMinimumSize = size_t{32} << 30; // 32 GB
|
|
532
529
|
|
|
533
530
|
// For now, even if the virtual memory cage is enabled, we still allow backing
|
|
534
531
|
// stores to be allocated outside of it as fallback. This will simplify the
|
|
535
532
|
// initial rollout. However, if the heap sandbox is also enabled, we already use
|
|
536
533
|
// the "enforcing mode" of the virtual memory cage. This is useful for testing.
|
|
537
534
|
#ifdef V8_HEAP_SANDBOX
|
|
538
|
-
constexpr bool
|
|
535
|
+
constexpr bool kAllowBackingStoresOutsideCage = false;
|
|
539
536
|
#else
|
|
540
|
-
constexpr bool
|
|
537
|
+
constexpr bool kAllowBackingStoresOutsideCage = true;
|
|
541
538
|
#endif // V8_HEAP_SANDBOX
|
|
542
539
|
|
|
543
540
|
#endif // V8_VIRTUAL_MEMORY_CAGE
|
|
@@ -572,14 +569,6 @@ class BackingStoreBase {};
|
|
|
572
569
|
|
|
573
570
|
} // namespace internal
|
|
574
571
|
|
|
575
|
-
V8_EXPORT bool CopyAndConvertArrayToCppBufferInt32(Local<Array> src,
|
|
576
|
-
int32_t* dst,
|
|
577
|
-
uint32_t max_length);
|
|
578
|
-
|
|
579
|
-
V8_EXPORT bool CopyAndConvertArrayToCppBufferFloat64(Local<Array> src,
|
|
580
|
-
double* dst,
|
|
581
|
-
uint32_t max_length);
|
|
582
|
-
|
|
583
572
|
} // namespace v8
|
|
584
573
|
|
|
585
574
|
#endif // INCLUDE_V8_INTERNAL_H_
|
|
@@ -1482,6 +1482,9 @@ class V8_EXPORT Isolate {
|
|
|
1482
1482
|
|
|
1483
1483
|
void SetWasmExceptionsEnabledCallback(WasmExceptionsEnabledCallback callback);
|
|
1484
1484
|
|
|
1485
|
+
void SetWasmDynamicTieringEnabledCallback(
|
|
1486
|
+
WasmDynamicTieringEnabledCallback callback);
|
|
1487
|
+
|
|
1485
1488
|
void SetSharedArrayBufferConstructorEnabledCallback(
|
|
1486
1489
|
SharedArrayBufferConstructorEnabledCallback callback);
|
|
1487
1490
|
|
package/include/node/v8-locker.h
CHANGED
|
@@ -64,7 +64,7 @@ class Isolate;
|
|
|
64
64
|
* given thread. This can be useful if you have code that can be called either
|
|
65
65
|
* from code that holds the lock or from code that does not. The Unlocker is
|
|
66
66
|
* not recursive so you can not have several Unlockers on the stack at once, and
|
|
67
|
-
* you
|
|
67
|
+
* you cannot use an Unlocker in a thread that is not inside a Locker's scope.
|
|
68
68
|
*
|
|
69
69
|
* An unlocker will unlock several lockers if it has to and reinstate the
|
|
70
70
|
* correct depth of locking on its destruction, e.g.:
|
|
@@ -122,8 +122,13 @@ class V8_EXPORT Locker {
|
|
|
122
122
|
static bool IsLocked(Isolate* isolate);
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* Returns whether v8::Locker
|
|
125
|
+
* Returns whether any v8::Locker has ever been used in this process.
|
|
126
|
+
* TODO(cbruni, chromium:1240851): Fix locking checks on a per-thread basis.
|
|
127
|
+
* The current implementation is quite confusing and leads to unexpected
|
|
128
|
+
* results if anybody uses v8::Locker in the current process.
|
|
126
129
|
*/
|
|
130
|
+
static bool WasEverUsed();
|
|
131
|
+
V8_DEPRECATE_SOON("Use WasEverUsed instead")
|
|
127
132
|
static bool IsActive();
|
|
128
133
|
|
|
129
134
|
// Disallow copying and assigning.
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#include <stdio.h>
|
|
9
9
|
|
|
10
|
+
#include <iosfwd>
|
|
11
|
+
|
|
10
12
|
#include "v8-local-handle.h" // NOLINT(build/include_directory)
|
|
11
13
|
#include "v8-maybe.h" // NOLINT(build/include_directory)
|
|
12
14
|
#include "v8config.h" // NOLINT(build/include_directory)
|
|
@@ -210,8 +212,9 @@ class V8_EXPORT Message {
|
|
|
210
212
|
bool IsSharedCrossOrigin() const;
|
|
211
213
|
bool IsOpaque() const;
|
|
212
214
|
|
|
213
|
-
|
|
215
|
+
V8_DEPRECATE_SOON("Use the version that takes a std::ostream&.")
|
|
214
216
|
static void PrintCurrentStackTrace(Isolate* isolate, FILE* out);
|
|
217
|
+
static void PrintCurrentStackTrace(Isolate* isolate, std::ostream& out);
|
|
215
218
|
|
|
216
219
|
static const int kNoLineNumberInfo = 0;
|
|
217
220
|
static const int kNoColumnInfo = 0;
|
|
@@ -27,6 +27,7 @@ class Signature;
|
|
|
27
27
|
F(ArrayProto_forEach, array_for_each_iterator) \
|
|
28
28
|
F(ArrayProto_keys, array_keys_iterator) \
|
|
29
29
|
F(ArrayProto_values, array_values_iterator) \
|
|
30
|
+
F(ArrayPrototype, initial_array_prototype) \
|
|
30
31
|
F(AsyncIteratorPrototype, initial_async_iterator_prototype) \
|
|
31
32
|
F(ErrorPrototype, initial_error_prototype) \
|
|
32
33
|
F(IteratorPrototype, initial_iterator_prototype) \
|
|
@@ -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 6
|
|
13
|
+
#define V8_BUILD_NUMBER 180
|
|
14
|
+
#define V8_PATCH_LEVEL 14
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
|
17
17
|
// (Boolean macro values are not supported by all preprocessors.)
|