node-linux-arm64 18.8.0 → 18.9.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/LICENSE +1 -1
- package/README.md +2 -0
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +237 -235
- package/include/node/node.h +38 -1
- package/include/node/node_version.h +2 -2
- package/include/node/v8-version.h +1 -1
- package/package.json +1 -1
- package/share/man/man1/node.1 +3 -0
- package/share/systemtap/tapset/node.stp +0 -146
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
</tr>
|
|
9
9
|
<tr>
|
|
10
10
|
<td>
|
|
11
|
+
<a href="#18.9.1">18.9.1</a><br/>
|
|
12
|
+
<a href="#18.9.0">18.9.0</a><br/>
|
|
11
13
|
<a href="#18.8.0">18.8.0</a><br/>
|
|
12
14
|
<a href="#18.7.0">18.7.0</a><br/>
|
|
13
15
|
<a href="#18.6.0">18.6.0</a><br/>
|
|
@@ -41,6 +43,158 @@
|
|
|
41
43
|
* [io.js](CHANGELOG_IOJS.md)
|
|
42
44
|
* [Archive](CHANGELOG_ARCHIVE.md)
|
|
43
45
|
|
|
46
|
+
<a id="18.9.1"></a>
|
|
47
|
+
|
|
48
|
+
## 2022-09-23, Version 18.9.1 (Current), @RafaelGSS
|
|
49
|
+
|
|
50
|
+
This is a security release.
|
|
51
|
+
|
|
52
|
+
### Notable changes
|
|
53
|
+
|
|
54
|
+
The following CVEs are fixed in this release:
|
|
55
|
+
|
|
56
|
+
* **[CVE-2022-32212](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32212)**: DNS rebinding in --inspect on macOS (High)
|
|
57
|
+
* Insufficient fix for macOS devices on v18.5.0
|
|
58
|
+
* **[CVE-2022-32222](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32222)**: Node 18 reads openssl.cnf from /home/iojs/build/ upon startup on MacOS (Medium)
|
|
59
|
+
* **[CVE-2022-32213](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32213)**: HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)
|
|
60
|
+
* Insufficient fix on v18.5.0
|
|
61
|
+
* **[CVE-2022-32215](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32215)**: HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)
|
|
62
|
+
* Insufficient fix on v18.5.0
|
|
63
|
+
* **[CVE-2022-35256](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35256)**: HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)
|
|
64
|
+
* **[CVE-2022-35255](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35255)**: Weak randomness in WebCrypto keygen
|
|
65
|
+
|
|
66
|
+
More detailed information on each of the vulnerabilities can be found in [September 22nd 2022 Security Releases](https://nodejs.org/en/blog/vulnerability/september-2022-security-releases/) blog post.
|
|
67
|
+
|
|
68
|
+
#### llhttp updated to 6.0.10
|
|
69
|
+
|
|
70
|
+
`llhttp` is updated to 6.0.10 which includes fixes for the following vulnerabilities.
|
|
71
|
+
|
|
72
|
+
* **HTTP Request Smuggling - CVE-2022-32213 bypass via obs-fold mechanic (Medium)([CVE-2022-32213](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32213) )**: The `llhttp` parser in the `http` module does not correctly parse and validate Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
|
|
73
|
+
* **HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)([CVE-2022-32215](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32215))**: The `llhttp` parser in the `http` module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
|
|
74
|
+
* **HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)([CVE-35256](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35256))**: The llhttp parser in the `http` does not correctly handle header fields that are not terminated with CLRF. This can lead to HTTP Request Smuggling (HRS).
|
|
75
|
+
|
|
76
|
+
### Commits
|
|
77
|
+
|
|
78
|
+
* \[[`0c2a5723be`](https://github.com/nodejs/node/commit/0c2a5723be)] - **crypto**: fix weak randomness in WebCrypto keygen (Ben Noordhuis) [nodejs-private/node-private#](https://github.com/nodejs-private/node-private/pull/346)
|
|
79
|
+
* \[[`ffb6f4d51d`](https://github.com/nodejs/node/commit/ffb6f4d51d)] - **deps**: MacOS - fix location of OpenSSL config file (Michael Dawson) [nodejs-private/node-private#345](https://github.com/nodejs-private/node-private/pull/345)
|
|
80
|
+
* \[[`01bffcdd93`](https://github.com/nodejs/node/commit/01bffcdd93)] - **http**: disable chunked encoding when OBS fold is used (Paolo Insogna) [nodejs-private/node-private#341](https://github.com/nodejs-private/node-private/pull/341)
|
|
81
|
+
* \[[`2c379d341d`](https://github.com/nodejs/node/commit/2c379d341d)] - **src**: fix IPv4 non routable validation (RafaelGSS) [nodejs-private/node-private#337](https://github.com/nodejs-private/node-private/pull/337)
|
|
82
|
+
|
|
83
|
+
<a id="18.9.0"></a>
|
|
84
|
+
|
|
85
|
+
## 2022-09-08, Version 18.9.0 (Current), @RafaelGSS
|
|
86
|
+
|
|
87
|
+
### Notable changes
|
|
88
|
+
|
|
89
|
+
* **doc**
|
|
90
|
+
* add daeyeon to collaborators (Daeyeon Jeong) [#44355](https://github.com/nodejs/node/pull/44355)
|
|
91
|
+
* **lib**
|
|
92
|
+
* (SEMVER-MINOR) add diagnostics channel for process and worker (theanarkh) [#44045](https://github.com/nodejs/node/pull/44045)
|
|
93
|
+
* **os**
|
|
94
|
+
* (SEMVER-MINOR) add machine method (theanarkh) [#44416](https://github.com/nodejs/node/pull/44416)
|
|
95
|
+
* **report**
|
|
96
|
+
* (SEMVER-MINOR) expose report public native apis (Chengzhong Wu) [#44255](https://github.com/nodejs/node/pull/44255)
|
|
97
|
+
* **src**
|
|
98
|
+
* (SEMVER-MINOR) expose environment RequestInterrupt api (Chengzhong Wu) [#44362](https://github.com/nodejs/node/pull/44362)
|
|
99
|
+
* **vm**
|
|
100
|
+
* include vm context in the embedded snapshot (Joyee Cheung) [#44252](https://github.com/nodejs/node/pull/44252)
|
|
101
|
+
|
|
102
|
+
### Commits
|
|
103
|
+
|
|
104
|
+
* \[[`e27e709d3c`](https://github.com/nodejs/node/commit/e27e709d3c)] - **build**: add --libdir flag to configure (Stephen Gallagher) [#44361](https://github.com/nodejs/node/pull/44361)
|
|
105
|
+
* \[[`30da2b4d89`](https://github.com/nodejs/node/commit/30da2b4d89)] - **build**: added NINJA env to customize ninja binary (Jeff Dickey) [#44293](https://github.com/nodejs/node/pull/44293)
|
|
106
|
+
* \[[`3c5354869e`](https://github.com/nodejs/node/commit/3c5354869e)] - **cluster**: fix cluster rr distribute error (theanarkh) [#44202](https://github.com/nodejs/node/pull/44202)
|
|
107
|
+
* \[[`5cefd02618`](https://github.com/nodejs/node/commit/5cefd02618)] - **crypto**: handle invalid prepareAsymmetricKey JWK inputs (Filip Skokan) [#44475](https://github.com/nodejs/node/pull/44475)
|
|
108
|
+
* \[[`c868e36385`](https://github.com/nodejs/node/commit/c868e36385)] - **crypto**: add digest name to INVALID\_DIGEST errors (Tobias Nießen) [#44468](https://github.com/nodejs/node/pull/44468)
|
|
109
|
+
* \[[`35cbe1ad85`](https://github.com/nodejs/node/commit/35cbe1ad85)] - **crypto**: use actual option name in error message (Tobias Nießen) [#44455](https://github.com/nodejs/node/pull/44455)
|
|
110
|
+
* \[[`c3dbe18e4c`](https://github.com/nodejs/node/commit/c3dbe18e4c)] - **crypto**: simplify control flow in HKDF (Tobias Nießen) [#44272](https://github.com/nodejs/node/pull/44272)
|
|
111
|
+
* \[[`28781a1f7e`](https://github.com/nodejs/node/commit/28781a1f7e)] - **crypto**: improve RSA-PSS digest error messages (Tobias Nießen) [#44307](https://github.com/nodejs/node/pull/44307)
|
|
112
|
+
* \[[`b1eafe14fd`](https://github.com/nodejs/node/commit/b1eafe14fd)] - **debugger**: decrease timeout used to wait for the port to be free (Joyee Cheung) [#44359](https://github.com/nodejs/node/pull/44359)
|
|
113
|
+
* \[[`8ef5c40a83`](https://github.com/nodejs/node/commit/8ef5c40a83)] - **deps**: update corepack to 0.14.0 (Node.js GitHub Bot) [#44509](https://github.com/nodejs/node/pull/44509)
|
|
114
|
+
* \[[`cf19a79dfc`](https://github.com/nodejs/node/commit/cf19a79dfc)] - **deps**: upgrade npm to 8.19.1 (npm team) [#44486](https://github.com/nodejs/node/pull/44486)
|
|
115
|
+
* \[[`c5630ad1a7`](https://github.com/nodejs/node/commit/c5630ad1a7)] - **deps**: V8: backport ff8d67c88449 (Michaël Zasso) [#44423](https://github.com/nodejs/node/pull/44423)
|
|
116
|
+
* \[[`255e7fbd08`](https://github.com/nodejs/node/commit/255e7fbd08)] - **deps**: update Acorn to v8.8.0 (Michaël Zasso) [#44437](https://github.com/nodejs/node/pull/44437)
|
|
117
|
+
* \[[`754d26a53e`](https://github.com/nodejs/node/commit/754d26a53e)] - **deps**: patch V8 to 10.2.154.15 (Michaël Zasso) [#44294](https://github.com/nodejs/node/pull/44294)
|
|
118
|
+
* \[[`1b50ff2600`](https://github.com/nodejs/node/commit/1b50ff2600)] - **deps**: update icu tzdata to 2022b (Matías Zúñiga) [#44283](https://github.com/nodejs/node/pull/44283)
|
|
119
|
+
* \[[`1e451dca99`](https://github.com/nodejs/node/commit/1e451dca99)] - **deps**: upgrade llhttp to 6.0.9 (Paolo Insogna) [#44344](https://github.com/nodejs/node/pull/44344)
|
|
120
|
+
* \[[`57da3db522`](https://github.com/nodejs/node/commit/57da3db522)] - **deps**: update undici to 5.9.1 (Node.js GitHub Bot) [#44319](https://github.com/nodejs/node/pull/44319)
|
|
121
|
+
* \[[`1c87a7e8f6`](https://github.com/nodejs/node/commit/1c87a7e8f6)] - **doc**: add missing parenthesis in TLSSocket section (Tobias Nießen) [#44512](https://github.com/nodejs/node/pull/44512)
|
|
122
|
+
* \[[`05006eddb2`](https://github.com/nodejs/node/commit/05006eddb2)] - **doc**: do not use "Returns:" for crypto.constants (Tobias Nießen) [#44481](https://github.com/nodejs/node/pull/44481)
|
|
123
|
+
* \[[`54b6ed58bc`](https://github.com/nodejs/node/commit/54b6ed58bc)] - **doc**: use serial comma in addons docs (Tobias Nießen) [#44482](https://github.com/nodejs/node/pull/44482)
|
|
124
|
+
* \[[`11452a97b3`](https://github.com/nodejs/node/commit/11452a97b3)] - **doc**: add --update-assert-snapshot to node.1 (Colin Ihrig) [#44429](https://github.com/nodejs/node/pull/44429)
|
|
125
|
+
* \[[`ae028e8ac3`](https://github.com/nodejs/node/commit/ae028e8ac3)] - **doc**: improve assert.snapshot() docs (Colin Ihrig) [#44429](https://github.com/nodejs/node/pull/44429)
|
|
126
|
+
* \[[`71c869688a`](https://github.com/nodejs/node/commit/71c869688a)] - **doc**: add missing imports in events sample code (Brian Evans) [#44337](https://github.com/nodejs/node/pull/44337)
|
|
127
|
+
* \[[`92046e8027`](https://github.com/nodejs/node/commit/92046e8027)] - **doc**: apply scroll-margin-top to h2, h3 elements (metonym) [#44414](https://github.com/nodejs/node/pull/44414)
|
|
128
|
+
* \[[`3e6cde5931`](https://github.com/nodejs/node/commit/3e6cde5931)] - **doc**: fix spacing issue in `--build-snapshot` help text (Shohei YOSHIDA) [#44435](https://github.com/nodejs/node/pull/44435)
|
|
129
|
+
* \[[`8e41dbb81b`](https://github.com/nodejs/node/commit/8e41dbb81b)] - **doc**: mention cherry-pick edge-case on release (RafaelGSS) [#44408](https://github.com/nodejs/node/pull/44408)
|
|
130
|
+
* \[[`cef30f9afc`](https://github.com/nodejs/node/commit/cef30f9afc)] - **doc**: note on release guide to update `main` branch (Ruy Adorno) [#44384](https://github.com/nodejs/node/pull/44384)
|
|
131
|
+
* \[[`21437f7a7f`](https://github.com/nodejs/node/commit/21437f7a7f)] - **doc**: fix release guide example consistency (Ruy Adorno) [#44385](https://github.com/nodejs/node/pull/44385)
|
|
132
|
+
* \[[`ed52bd0a18`](https://github.com/nodejs/node/commit/ed52bd0a18)] - **doc**: fix style of n-api.md (theanarkh) [#44377](https://github.com/nodejs/node/pull/44377)
|
|
133
|
+
* \[[`65c1f4015f`](https://github.com/nodejs/node/commit/65c1f4015f)] - **doc**: add history for net.createServer() options (Luigi Pinca) [#44326](https://github.com/nodejs/node/pull/44326)
|
|
134
|
+
* \[[`4a0f750a6c`](https://github.com/nodejs/node/commit/4a0f750a6c)] - **doc**: add daeyeon to collaborators (Daeyeon Jeong) [#44355](https://github.com/nodejs/node/pull/44355)
|
|
135
|
+
* \[[`8cc5556f76`](https://github.com/nodejs/node/commit/8cc5556f76)] - **doc**: fix typo in test runner code examples (Moshe Atlow) [#44351](https://github.com/nodejs/node/pull/44351)
|
|
136
|
+
* \[[`b660b7467d`](https://github.com/nodejs/node/commit/b660b7467d)] - **doc,worker**: document resourceLimits overrides (Keyhan Vakil) [#43992](https://github.com/nodejs/node/pull/43992)
|
|
137
|
+
* \[[`2ed3b30696`](https://github.com/nodejs/node/commit/2ed3b30696)] - **inspector**: prevent integer overflow in open() (Tobias Nießen) [#44367](https://github.com/nodejs/node/pull/44367)
|
|
138
|
+
* \[[`b8f08e5e7e`](https://github.com/nodejs/node/commit/b8f08e5e7e)] - **lib**: codify findSourceMap return value when not found (Chengzhong Wu) [#44397](https://github.com/nodejs/node/pull/44397)
|
|
139
|
+
* \[[`a86ef1ba3e`](https://github.com/nodejs/node/commit/a86ef1ba3e)] - **lib**: use safe `Promise` alternatives when available (Antoine du Hamel) [#43476](https://github.com/nodejs/node/pull/43476)
|
|
140
|
+
* \[[`e519ac7842`](https://github.com/nodejs/node/commit/e519ac7842)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#44511](https://github.com/nodejs/node/pull/44511)
|
|
141
|
+
* \[[`c03f28b960`](https://github.com/nodejs/node/commit/c03f28b960)] - **meta**: update AUTHORS (Node.js GitHub Bot) [#44422](https://github.com/nodejs/node/pull/44422)
|
|
142
|
+
* \[[`ef08cbddac`](https://github.com/nodejs/node/commit/ef08cbddac)] - **node-api**: avoid calling virtual methods in base's dtor (Chengzhong Wu) [#44424](https://github.com/nodejs/node/pull/44424)
|
|
143
|
+
* \[[`256340197c`](https://github.com/nodejs/node/commit/256340197c)] - **node-api**: cleanup redundant static modifiers (Chengzhong Wu) [#44301](https://github.com/nodejs/node/pull/44301)
|
|
144
|
+
* \[[`6714736706`](https://github.com/nodejs/node/commit/6714736706)] - **(SEMVER-MINOR)** **os**: add machine method (theanarkh) [#44416](https://github.com/nodejs/node/pull/44416)
|
|
145
|
+
* \[[`807b1e5533`](https://github.com/nodejs/node/commit/807b1e5533)] - **report**: get stack trace with cross origin contexts (Chengzhong Wu) [#44398](https://github.com/nodejs/node/pull/44398)
|
|
146
|
+
* \[[`b17cc877d0`](https://github.com/nodejs/node/commit/b17cc877d0)] - **report**: fix missing section javascriptHeap on OOMError (Chengzhong Wu) [#44398](https://github.com/nodejs/node/pull/44398)
|
|
147
|
+
* \[[`1f23c17ae0`](https://github.com/nodejs/node/commit/1f23c17ae0)] - **(SEMVER-MINOR)** **report**: expose report public native apis (Chengzhong Wu) [#44255](https://github.com/nodejs/node/pull/44255)
|
|
148
|
+
* \[[`df259005d9`](https://github.com/nodejs/node/commit/df259005d9)] - **report**: add queue info for udp (theanarkh) [#44345](https://github.com/nodejs/node/pull/44345)
|
|
149
|
+
* \[[`fc17b808c9`](https://github.com/nodejs/node/commit/fc17b808c9)] - **src**: rename misleading arg in ClientHelloParser (Tobias Nießen) [#44500](https://github.com/nodejs/node/pull/44500)
|
|
150
|
+
* \[[`125ab7da2a`](https://github.com/nodejs/node/commit/125ab7da2a)] - **src**: improve error handling in CloneSSLCerts (Tobias Nießen) [#44410](https://github.com/nodejs/node/pull/44410)
|
|
151
|
+
* \[[`aa34f7347b`](https://github.com/nodejs/node/commit/aa34f7347b)] - **src**: fix incorrect comments in crypto (Tobias Nießen) [#44470](https://github.com/nodejs/node/pull/44470)
|
|
152
|
+
* \[[`18b720805f`](https://github.com/nodejs/node/commit/18b720805f)] - **src**: avoid casting std::trunc(... / ...) to size\_t (Tobias Nießen) [#44467](https://github.com/nodejs/node/pull/44467)
|
|
153
|
+
* \[[`4331bbe2af`](https://github.com/nodejs/node/commit/4331bbe2af)] - **(SEMVER-MINOR)** **src**: expose environment RequestInterrupt api (Chengzhong Wu) [#44362](https://github.com/nodejs/node/pull/44362)
|
|
154
|
+
* \[[`c5413a1146`](https://github.com/nodejs/node/commit/c5413a1146)] - **src**: simplify enable\_if logic of `ToStringHelper::BaseConvert` (Feng Yu) [#44306](https://github.com/nodejs/node/pull/44306)
|
|
155
|
+
* \[[`dcc1cf4f4e`](https://github.com/nodejs/node/commit/dcc1cf4f4e)] - **src**: add error handling to `uv_uptime` call (Juan José Arboleda) [#44386](https://github.com/nodejs/node/pull/44386)
|
|
156
|
+
* \[[`fd611cc272`](https://github.com/nodejs/node/commit/fd611cc272)] - **src**: remove base64\_select\_table and base64\_table (Tobias Nießen) [#44425](https://github.com/nodejs/node/pull/44425)
|
|
157
|
+
* \[[`4776b4767b`](https://github.com/nodejs/node/commit/4776b4767b)] - **src**: fix uv\_err\_name memory leak (theanarkh) [#44421](https://github.com/nodejs/node/pull/44421)
|
|
158
|
+
* \[[`8db2e66d3a`](https://github.com/nodejs/node/commit/8db2e66d3a)] - **src**: make Endianness an enum class (Tobias Nießen) [#44411](https://github.com/nodejs/node/pull/44411)
|
|
159
|
+
* \[[`048e440878`](https://github.com/nodejs/node/commit/048e440878)] - **src**: fix ssize\_t error from nghttp2.h (Darshan Sen) [#44393](https://github.com/nodejs/node/pull/44393)
|
|
160
|
+
* \[[`dc1c95ede3`](https://github.com/nodejs/node/commit/dc1c95ede3)] - **src**: trace fs async api (theanarkh) [#44057](https://github.com/nodejs/node/pull/44057)
|
|
161
|
+
* \[[`0f4e98ba2c`](https://github.com/nodejs/node/commit/0f4e98ba2c)] - **src**: restore context default IsCodeGenerationFromStringsAllowed value (Chengzhong Wu) [#44324](https://github.com/nodejs/node/pull/44324)
|
|
162
|
+
* \[[`05fb650b54`](https://github.com/nodejs/node/commit/05fb650b54)] - **src**: simplify and optimize GetOpenSSLVersion() (Tobias Nießen) [#44395](https://github.com/nodejs/node/pull/44395)
|
|
163
|
+
* \[[`7f16177f96`](https://github.com/nodejs/node/commit/7f16177f96)] - **src**: use `if constexpr` where appropriate (Anna Henningsen) [#44291](https://github.com/nodejs/node/pull/44291)
|
|
164
|
+
* \[[`2be8acad18`](https://github.com/nodejs/node/commit/2be8acad18)] - **src**: simplify ECDH::GetCurves() (Tobias Nießen) [#44309](https://github.com/nodejs/node/pull/44309)
|
|
165
|
+
* \[[`3eb7918f8e`](https://github.com/nodejs/node/commit/3eb7918f8e)] - **src**: make minor improvements to EnabledDebugList (Tobias Nießen) [#44350](https://github.com/nodejs/node/pull/44350)
|
|
166
|
+
* \[[`88d9566593`](https://github.com/nodejs/node/commit/88d9566593)] - **src**: remove KeyObjectData::symmetric\_key\_len\_ (Tobias Nießen) [#44346](https://github.com/nodejs/node/pull/44346)
|
|
167
|
+
* \[[`768c9cb872`](https://github.com/nodejs/node/commit/768c9cb872)] - **src**: fix multiple format string bugs (Tobias Nießen) [#44314](https://github.com/nodejs/node/pull/44314)
|
|
168
|
+
* \[[`6857ee8299`](https://github.com/nodejs/node/commit/6857ee8299)] - **src**: make minor improvements to SecureBuffer (Tobias Nießen) [#44302](https://github.com/nodejs/node/pull/44302)
|
|
169
|
+
* \[[`2facf8b8e0`](https://github.com/nodejs/node/commit/2facf8b8e0)] - **stream**: fix setting abort reason in `ReadableStream.pipeTo()` (Daeyeon Jeong) [#44418](https://github.com/nodejs/node/pull/44418)
|
|
170
|
+
* \[[`65134d696b`](https://github.com/nodejs/node/commit/65134d696b)] - **stream**: fix `ReadableStreamReader.releaseLock()` (Daeyeon Jeong) [#44292](https://github.com/nodejs/node/pull/44292)
|
|
171
|
+
* \[[`4c33e5d4ce`](https://github.com/nodejs/node/commit/4c33e5d4ce)] - **test**: avoid race in file write stream handle tests (Joyee Cheung) [#44380](https://github.com/nodejs/node/pull/44380)
|
|
172
|
+
* \[[`0d77342a39`](https://github.com/nodejs/node/commit/0d77342a39)] - **test**: style updates for assert.snapshot() (Colin Ihrig) [#44429](https://github.com/nodejs/node/pull/44429)
|
|
173
|
+
* \[[`e36ed44b26`](https://github.com/nodejs/node/commit/e36ed44b26)] - **test**: deflake child process exec timeout tests (Joyee Cheung) [#44390](https://github.com/nodejs/node/pull/44390)
|
|
174
|
+
* \[[`0af15c71fb`](https://github.com/nodejs/node/commit/0af15c71fb)] - **test**: make the vm timeout escape tests more lenient (Joyee Cheung) [#44433](https://github.com/nodejs/node/pull/44433)
|
|
175
|
+
* \[[`0f071b800e`](https://github.com/nodejs/node/commit/0f071b800e)] - **test**: split heap prof tests (Joyee Cheung) [#44388](https://github.com/nodejs/node/pull/44388)
|
|
176
|
+
* \[[`2dd88b8425`](https://github.com/nodejs/node/commit/2dd88b8425)] - **test**: fix multiple incorrect mustNotCall() uses (Tobias Nießen) [#44022](https://github.com/nodejs/node/pull/44022)
|
|
177
|
+
* \[[`4ae1f4990c`](https://github.com/nodejs/node/commit/4ae1f4990c)] - **test**: split report OOM tests (Joyee Cheung) [#44389](https://github.com/nodejs/node/pull/44389)
|
|
178
|
+
* \[[`3a5fdacdc2`](https://github.com/nodejs/node/commit/3a5fdacdc2)] - **test**: fix WPT runner result (Daeyeon Jeong) [#44238](https://github.com/nodejs/node/pull/44238)
|
|
179
|
+
* \[[`e001aafee3`](https://github.com/nodejs/node/commit/e001aafee3)] - **test**: raise sleep times in child process tests (Joyee Cheung) [#44375](https://github.com/nodejs/node/pull/44375)
|
|
180
|
+
* \[[`8e2dcafc24`](https://github.com/nodejs/node/commit/8e2dcafc24)] - **test**: remove duplicate test (Luigi Pinca) [#44313](https://github.com/nodejs/node/pull/44313)
|
|
181
|
+
* \[[`c65d7fb1fa`](https://github.com/nodejs/node/commit/c65d7fb1fa)] - **test**: add OpenSSL 3.x providers test (Richard Lau) [#44148](https://github.com/nodejs/node/pull/44148)
|
|
182
|
+
* \[[`11e9d6e173`](https://github.com/nodejs/node/commit/11e9d6e173)] - **test**: make tmpdir.js importable from esm (Geoffrey Booth) [#44322](https://github.com/nodejs/node/pull/44322)
|
|
183
|
+
* \[[`a35c2f9ef4`](https://github.com/nodejs/node/commit/a35c2f9ef4)] - **test\_runner**: fix `duration_ms` to be milliseconds (Moshe Atlow) [#44450](https://github.com/nodejs/node/pull/44450)
|
|
184
|
+
* \[[`8175c65b4d`](https://github.com/nodejs/node/commit/8175c65b4d)] - **test\_runner**: support programmatically running `--test` (Moshe Atlow) [#44241](https://github.com/nodejs/node/pull/44241)
|
|
185
|
+
* \[[`1cdccbc845`](https://github.com/nodejs/node/commit/1cdccbc845)] - **tls**: remove SecureContext setFreeListLength (Tobias Nießen) [#44300](https://github.com/nodejs/node/pull/44300)
|
|
186
|
+
* \[[`70399166f3`](https://github.com/nodejs/node/commit/70399166f3)] - **tls**: use OpenSSL constant for client random size (Tobias Nießen) [#44305](https://github.com/nodejs/node/pull/44305)
|
|
187
|
+
* \[[`6fe189b62a`](https://github.com/nodejs/node/commit/6fe189b62a)] - **tools**: update lint-md-dependencies to rollup\@2.79.0 (Node.js GitHub Bot) [#44510](https://github.com/nodejs/node/pull/44510)
|
|
188
|
+
* \[[`1e62bb14dd`](https://github.com/nodejs/node/commit/1e62bb14dd)] - **tools**: fix typo in `avoid-prototype-pollution` lint rule (Antoine du Hamel) [#44446](https://github.com/nodejs/node/pull/44446)
|
|
189
|
+
* \[[`78c6827688`](https://github.com/nodejs/node/commit/78c6827688)] - **tools**: don't use f-strings in test.py (Santiago Gimeno) [#44407](https://github.com/nodejs/node/pull/44407)
|
|
190
|
+
* \[[`443730c419`](https://github.com/nodejs/node/commit/443730c419)] - **tools**: update doc to unist-util-visit\@4.1.1 (Node.js GitHub Bot) [#44370](https://github.com/nodejs/node/pull/44370)
|
|
191
|
+
* \[[`96df99375e`](https://github.com/nodejs/node/commit/96df99375e)] - **tools**: update eslint to 8.23.0 (Node.js GitHub Bot) [#44419](https://github.com/nodejs/node/pull/44419)
|
|
192
|
+
* \[[`b6709544e9`](https://github.com/nodejs/node/commit/b6709544e9)] - **tools**: refactor `avoid-prototype-pollution` lint rule (Antoine du Hamel) [#43476](https://github.com/nodejs/node/pull/43476)
|
|
193
|
+
* \[[`8b0a4afcae`](https://github.com/nodejs/node/commit/8b0a4afcae)] - **tty**: fix TypeError when stream is closed (Antoine du Hamel) [#43803](https://github.com/nodejs/node/pull/43803)
|
|
194
|
+
* \[[`c4a45a93f3`](https://github.com/nodejs/node/commit/c4a45a93f3)] - **vm**: avoid unnecessary property getter interceptor calls (Joyee Cheung) [#44252](https://github.com/nodejs/node/pull/44252)
|
|
195
|
+
* \[[`736a04aa13`](https://github.com/nodejs/node/commit/736a04aa13)] - **vm**: include vm context in the embedded snapshot (Joyee Cheung) [#44252](https://github.com/nodejs/node/pull/44252)
|
|
196
|
+
* \[[`bce827e5d1`](https://github.com/nodejs/node/commit/bce827e5d1)] - **vm**: make ContextifyContext template context-independent (Joyee Cheung) [#44252](https://github.com/nodejs/node/pull/44252)
|
|
197
|
+
|
|
44
198
|
<a id="18.8.0"></a>
|
|
45
199
|
|
|
46
200
|
## 2022-08-24, Version 18.8.0 (Current), @ruyadorno
|
package/LICENSE
CHANGED
|
@@ -55,7 +55,7 @@ The externally maintained libraries used by Node.js are:
|
|
|
55
55
|
"""
|
|
56
56
|
MIT License
|
|
57
57
|
|
|
58
|
-
Copyright (C) 2012-
|
|
58
|
+
Copyright (C) 2012-2022 by various contributors (see AUTHORS)
|
|
59
59
|
|
|
60
60
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
61
61
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -298,6 +298,8 @@ For information about the governance of the Node.js project, see
|
|
|
298
298
|
**Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
|
|
299
299
|
* [cola119](https://github.com/cola119) -
|
|
300
300
|
**Kohei Ueno** <<kohei.ueno119@gmail.com>> (he/him)
|
|
301
|
+
* [daeyeon](https://github.com/daeyeon) -
|
|
302
|
+
**Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
|
|
301
303
|
* [danbev](https://github.com/danbev) -
|
|
302
304
|
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
303
305
|
* [danielleadams](https://github.com/danielleadams) -
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
package/include/node/config.gypi
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
'icu_small': 'false',
|
|
20
20
|
'icu_ver_major': '71',
|
|
21
21
|
'is_debug': 0,
|
|
22
|
+
'libdir': 'lib',
|
|
22
23
|
'llvm_version': '0.0',
|
|
23
24
|
'napi_build_version': '8',
|
|
24
25
|
'node_byteorder': 'little',
|
|
@@ -27,292 +28,293 @@
|
|
|
27
28
|
'node_fipsinstall': 'false',
|
|
28
29
|
'node_install_corepack': 'true',
|
|
29
30
|
'node_install_npm': 'true',
|
|
30
|
-
'node_library_files': [ 'lib/
|
|
31
|
-
'lib/
|
|
31
|
+
'node_library_files': [ 'lib/tty.js',
|
|
32
|
+
'lib/process.js',
|
|
32
33
|
'lib/_stream_wrap.js',
|
|
33
|
-
'lib/module.js',
|
|
34
|
-
'lib/_stream_transform.js',
|
|
35
|
-
'lib/punycode.js',
|
|
36
|
-
'lib/buffer.js',
|
|
37
|
-
'lib/_stream_writable.js',
|
|
38
34
|
'lib/string_decoder.js',
|
|
39
|
-
'lib/
|
|
40
|
-
'lib/
|
|
41
|
-
'lib/diagnostics_channel.js',
|
|
42
|
-
'lib/wasi.js',
|
|
43
|
-
'lib/test.js',
|
|
44
|
-
'lib/util.js',
|
|
45
|
-
'lib/sys.js',
|
|
46
|
-
'lib/tls.js',
|
|
47
|
-
'lib/dns.js',
|
|
35
|
+
'lib/child_process.js',
|
|
36
|
+
'lib/async_hooks.js',
|
|
48
37
|
'lib/_tls_common.js',
|
|
49
|
-
'lib/os.js',
|
|
50
|
-
'lib/assert.js',
|
|
51
|
-
'lib/trace_events.js',
|
|
52
|
-
'lib/worker_threads.js',
|
|
53
|
-
'lib/path.js',
|
|
54
|
-
'lib/http2.js',
|
|
55
38
|
'lib/readline.js',
|
|
56
|
-
'lib/
|
|
57
|
-
'lib/
|
|
58
|
-
'lib/
|
|
59
|
-
'lib/
|
|
60
|
-
'lib/_tls_wrap.js',
|
|
61
|
-
'lib/v8.js',
|
|
62
|
-
'lib/events.js',
|
|
63
|
-
'lib/constants.js',
|
|
64
|
-
'lib/tty.js',
|
|
65
|
-
'lib/process.js',
|
|
39
|
+
'lib/buffer.js',
|
|
40
|
+
'lib/util.js',
|
|
41
|
+
'lib/trace_events.js',
|
|
42
|
+
'lib/test.js',
|
|
66
43
|
'lib/dgram.js',
|
|
67
|
-
'lib/
|
|
68
|
-
'lib/
|
|
44
|
+
'lib/_http_incoming.js',
|
|
45
|
+
'lib/url.js',
|
|
46
|
+
'lib/v8.js',
|
|
47
|
+
'lib/zlib.js',
|
|
48
|
+
'lib/wasi.js',
|
|
49
|
+
'lib/punycode.js',
|
|
50
|
+
'lib/net.js',
|
|
51
|
+
'lib/worker_threads.js',
|
|
52
|
+
'lib/sys.js',
|
|
69
53
|
'lib/http.js',
|
|
54
|
+
'lib/http2.js',
|
|
70
55
|
'lib/_stream_duplex.js',
|
|
56
|
+
'lib/querystring.js',
|
|
57
|
+
'lib/diagnostics_channel.js',
|
|
58
|
+
'lib/_stream_passthrough.js',
|
|
59
|
+
'lib/_http_client.js',
|
|
60
|
+
'lib/cluster.js',
|
|
71
61
|
'lib/vm.js',
|
|
72
|
-
'lib/https.js',
|
|
73
|
-
'lib/perf_hooks.js',
|
|
74
|
-
'lib/child_process.js',
|
|
75
|
-
'lib/stream.js',
|
|
76
62
|
'lib/timers.js',
|
|
77
|
-
'lib/
|
|
78
|
-
'lib/
|
|
79
|
-
'lib/
|
|
63
|
+
'lib/_http_server.js',
|
|
64
|
+
'lib/_stream_transform.js',
|
|
65
|
+
'lib/_stream_readable.js',
|
|
66
|
+
'lib/repl.js',
|
|
67
|
+
'lib/module.js',
|
|
68
|
+
'lib/assert.js',
|
|
69
|
+
'lib/dns.js',
|
|
80
70
|
'lib/fs.js',
|
|
81
|
-
'lib/
|
|
71
|
+
'lib/inspector.js',
|
|
72
|
+
'lib/_http_outgoing.js',
|
|
73
|
+
'lib/os.js',
|
|
74
|
+
'lib/path.js',
|
|
75
|
+
'lib/_stream_writable.js',
|
|
76
|
+
'lib/tls.js',
|
|
82
77
|
'lib/console.js',
|
|
83
|
-
'lib/
|
|
84
|
-
'lib/
|
|
78
|
+
'lib/domain.js',
|
|
79
|
+
'lib/perf_hooks.js',
|
|
80
|
+
'lib/events.js',
|
|
81
|
+
'lib/_http_common.js',
|
|
82
|
+
'lib/https.js',
|
|
83
|
+
'lib/crypto.js',
|
|
84
|
+
'lib/stream.js',
|
|
85
85
|
'lib/_http_agent.js',
|
|
86
|
-
'lib/
|
|
87
|
-
'lib/
|
|
88
|
-
'lib/
|
|
89
|
-
'lib/path/win32.js',
|
|
90
|
-
'lib/path/posix.js',
|
|
91
|
-
'lib/stream/promises.js',
|
|
92
|
-
'lib/stream/consumers.js',
|
|
93
|
-
'lib/stream/web.js',
|
|
94
|
-
'lib/fs/promises.js',
|
|
95
|
-
'lib/internal/url.js',
|
|
96
|
-
'lib/internal/priority_queue.js',
|
|
97
|
-
'lib/internal/watchdog.js',
|
|
98
|
-
'lib/internal/socket_list.js',
|
|
99
|
-
'lib/internal/buffer.js',
|
|
100
|
-
'lib/internal/freelist.js',
|
|
86
|
+
'lib/_tls_wrap.js',
|
|
87
|
+
'lib/constants.js',
|
|
88
|
+
'lib/internal/tty.js',
|
|
101
89
|
'lib/internal/trace_events_async_hooks.js',
|
|
102
|
-
'lib/internal/
|
|
103
|
-
'lib/internal/
|
|
90
|
+
'lib/internal/child_process.js',
|
|
91
|
+
'lib/internal/async_hooks.js',
|
|
92
|
+
'lib/internal/buffer.js',
|
|
93
|
+
'lib/internal/priority_queue.js',
|
|
104
94
|
'lib/internal/util.js',
|
|
95
|
+
'lib/internal/error_serdes.js',
|
|
105
96
|
'lib/internal/options.js',
|
|
106
|
-
'lib/internal/
|
|
107
|
-
'lib/internal/
|
|
108
|
-
'lib/internal/heap_utils.js',
|
|
109
|
-
'lib/internal/v8_prof_processor.js',
|
|
110
|
-
'lib/internal/encoding.js',
|
|
111
|
-
'lib/internal/validators.js',
|
|
112
|
-
'lib/internal/worker.js',
|
|
113
|
-
'lib/internal/idna.js',
|
|
97
|
+
'lib/internal/dgram.js',
|
|
98
|
+
'lib/internal/url.js',
|
|
114
99
|
'lib/internal/abort_controller.js',
|
|
115
|
-
'lib/internal/
|
|
116
|
-
'lib/internal/
|
|
117
|
-
'lib/internal/
|
|
118
|
-
'lib/internal/tty.js',
|
|
100
|
+
'lib/internal/structured_clone.js',
|
|
101
|
+
'lib/internal/v8_prof_processor.js',
|
|
102
|
+
'lib/internal/blocklist.js',
|
|
119
103
|
'lib/internal/blob.js',
|
|
120
|
-
'lib/internal/
|
|
104
|
+
'lib/internal/freeze_intrinsics.js',
|
|
105
|
+
'lib/internal/stream_base_commons.js',
|
|
121
106
|
'lib/internal/js_stream_socket.js',
|
|
107
|
+
'lib/internal/net.js',
|
|
122
108
|
'lib/internal/http.js',
|
|
123
|
-
'lib/internal/
|
|
124
|
-
'lib/internal/
|
|
125
|
-
'lib/internal/structured_clone.js',
|
|
126
|
-
'lib/internal/linkedlist.js',
|
|
127
|
-
'lib/internal/child_process.js',
|
|
109
|
+
'lib/internal/querystring.js',
|
|
110
|
+
'lib/internal/event_target.js',
|
|
128
111
|
'lib/internal/histogram.js',
|
|
129
|
-
'lib/internal/error_serdes.js',
|
|
130
112
|
'lib/internal/timers.js',
|
|
131
|
-
'lib/internal/
|
|
132
|
-
'lib/internal/net.js',
|
|
133
|
-
'lib/internal/v8_prof_polyfill.js',
|
|
134
|
-
'lib/internal/freeze_intrinsics.js',
|
|
135
|
-
'lib/internal/wasm_web_api.js',
|
|
136
|
-
'lib/internal/errors.js',
|
|
113
|
+
'lib/internal/promise_hooks.js',
|
|
137
114
|
'lib/internal/socketaddress.js',
|
|
115
|
+
'lib/internal/linkedlist.js',
|
|
116
|
+
'lib/internal/encoding.js',
|
|
138
117
|
'lib/internal/repl.js',
|
|
139
|
-
'lib/internal/
|
|
140
|
-
'lib/internal/
|
|
141
|
-
'lib/internal/
|
|
142
|
-
'lib/internal/
|
|
118
|
+
'lib/internal/idna.js',
|
|
119
|
+
'lib/internal/assert.js',
|
|
120
|
+
'lib/internal/errors.js',
|
|
121
|
+
'lib/internal/heap_utils.js',
|
|
122
|
+
'lib/internal/socket_list.js',
|
|
123
|
+
'lib/internal/freelist.js',
|
|
124
|
+
'lib/internal/v8_prof_polyfill.js',
|
|
125
|
+
'lib/internal/validators.js',
|
|
126
|
+
'lib/internal/inspector_async_hook.js',
|
|
127
|
+
'lib/internal/cli_table.js',
|
|
128
|
+
'lib/internal/worker.js',
|
|
129
|
+
'lib/internal/fixed_queue.js',
|
|
130
|
+
'lib/internal/wasm_web_api.js',
|
|
131
|
+
'lib/internal/dtrace.js',
|
|
132
|
+
'lib/internal/watchdog.js',
|
|
133
|
+
'lib/internal/constants.js',
|
|
134
|
+
'lib/internal/streams/add-abort-signal.js',
|
|
135
|
+
'lib/internal/streams/readable.js',
|
|
136
|
+
'lib/internal/streams/writable.js',
|
|
137
|
+
'lib/internal/streams/destroy.js',
|
|
138
|
+
'lib/internal/streams/buffer_list.js',
|
|
139
|
+
'lib/internal/streams/duplexify.js',
|
|
140
|
+
'lib/internal/streams/passthrough.js',
|
|
141
|
+
'lib/internal/streams/legacy.js',
|
|
142
|
+
'lib/internal/streams/duplex.js',
|
|
143
|
+
'lib/internal/streams/end-of-stream.js',
|
|
144
|
+
'lib/internal/streams/state.js',
|
|
145
|
+
'lib/internal/streams/operators.js',
|
|
146
|
+
'lib/internal/streams/pipeline.js',
|
|
147
|
+
'lib/internal/streams/lazy_transform.js',
|
|
148
|
+
'lib/internal/streams/transform.js',
|
|
149
|
+
'lib/internal/streams/compose.js',
|
|
150
|
+
'lib/internal/streams/utils.js',
|
|
151
|
+
'lib/internal/streams/from.js',
|
|
152
|
+
'lib/internal/webstreams/writablestream.js',
|
|
153
|
+
'lib/internal/webstreams/util.js',
|
|
154
|
+
'lib/internal/webstreams/transformstream.js',
|
|
155
|
+
'lib/internal/webstreams/encoding.js',
|
|
156
|
+
'lib/internal/webstreams/queuingstrategies.js',
|
|
157
|
+
'lib/internal/webstreams/compression.js',
|
|
158
|
+
'lib/internal/webstreams/transfer.js',
|
|
159
|
+
'lib/internal/webstreams/adapters.js',
|
|
160
|
+
'lib/internal/webstreams/readablestream.js',
|
|
143
161
|
'lib/internal/cluster/round_robin_handle.js',
|
|
144
162
|
'lib/internal/cluster/child.js',
|
|
145
|
-
'lib/internal/cluster/worker.js',
|
|
146
|
-
'lib/internal/cluster/utils.js',
|
|
147
163
|
'lib/internal/cluster/shared_handle.js',
|
|
148
164
|
'lib/internal/cluster/primary.js',
|
|
149
|
-
'lib/internal/
|
|
150
|
-
'lib/internal/
|
|
151
|
-
'lib/internal/
|
|
152
|
-
'lib/internal/
|
|
153
|
-
'lib/internal/
|
|
154
|
-
'lib/internal/
|
|
155
|
-
'lib/internal/
|
|
156
|
-
'lib/internal/readline/interface.js',
|
|
165
|
+
'lib/internal/cluster/utils.js',
|
|
166
|
+
'lib/internal/cluster/worker.js',
|
|
167
|
+
'lib/internal/http2/compat.js',
|
|
168
|
+
'lib/internal/http2/core.js',
|
|
169
|
+
'lib/internal/http2/util.js',
|
|
170
|
+
'lib/internal/tls/secure-pair.js',
|
|
171
|
+
'lib/internal/tls/secure-context.js',
|
|
157
172
|
'lib/internal/readline/promises.js',
|
|
158
173
|
'lib/internal/readline/emitKeypressEvents.js',
|
|
159
|
-
'lib/internal/readline/
|
|
174
|
+
'lib/internal/readline/interface.js',
|
|
160
175
|
'lib/internal/readline/utils.js',
|
|
161
|
-
'lib/internal/
|
|
176
|
+
'lib/internal/readline/callbacks.js',
|
|
177
|
+
'lib/internal/console/global.js',
|
|
178
|
+
'lib/internal/console/constructor.js',
|
|
179
|
+
'lib/internal/crypto/cfrg.js',
|
|
180
|
+
'lib/internal/crypto/keys.js',
|
|
181
|
+
'lib/internal/crypto/rsa.js',
|
|
182
|
+
'lib/internal/crypto/util.js',
|
|
183
|
+
'lib/internal/crypto/x509.js',
|
|
184
|
+
'lib/internal/crypto/ec.js',
|
|
185
|
+
'lib/internal/crypto/cipher.js',
|
|
186
|
+
'lib/internal/crypto/hashnames.js',
|
|
187
|
+
'lib/internal/crypto/certificate.js',
|
|
188
|
+
'lib/internal/crypto/aes.js',
|
|
189
|
+
'lib/internal/crypto/sig.js',
|
|
190
|
+
'lib/internal/crypto/mac.js',
|
|
191
|
+
'lib/internal/crypto/pbkdf2.js',
|
|
192
|
+
'lib/internal/crypto/random.js',
|
|
193
|
+
'lib/internal/crypto/scrypt.js',
|
|
194
|
+
'lib/internal/crypto/hash.js',
|
|
195
|
+
'lib/internal/crypto/webcrypto.js',
|
|
196
|
+
'lib/internal/crypto/hkdf.js',
|
|
197
|
+
'lib/internal/crypto/diffiehellman.js',
|
|
198
|
+
'lib/internal/crypto/keygen.js',
|
|
199
|
+
'lib/internal/vm/module.js',
|
|
200
|
+
'lib/internal/dns/promises.js',
|
|
201
|
+
'lib/internal/dns/utils.js',
|
|
202
|
+
'lib/internal/assert/calltracker.js',
|
|
203
|
+
'lib/internal/assert/assertion_error.js',
|
|
204
|
+
'lib/internal/assert/snapshot.js',
|
|
205
|
+
'lib/internal/repl/history.js',
|
|
206
|
+
'lib/internal/repl/await.js',
|
|
207
|
+
'lib/internal/repl/utils.js',
|
|
208
|
+
'lib/internal/debugger/inspect_repl.js',
|
|
209
|
+
'lib/internal/debugger/inspect_client.js',
|
|
210
|
+
'lib/internal/debugger/inspect.js',
|
|
211
|
+
'lib/internal/v8/startup_snapshot.js',
|
|
212
|
+
'lib/internal/legacy/processbinding.js',
|
|
213
|
+
'lib/internal/perf/usertiming.js',
|
|
214
|
+
'lib/internal/perf/performance_entry.js',
|
|
215
|
+
'lib/internal/perf/event_loop_delay.js',
|
|
216
|
+
'lib/internal/perf/nodetiming.js',
|
|
217
|
+
'lib/internal/perf/resource_timing.js',
|
|
218
|
+
'lib/internal/perf/observe.js',
|
|
219
|
+
'lib/internal/perf/timerify.js',
|
|
220
|
+
'lib/internal/perf/event_loop_utilization.js',
|
|
221
|
+
'lib/internal/perf/performance.js',
|
|
222
|
+
'lib/internal/perf/utils.js',
|
|
162
223
|
'lib/internal/modules/run_main.js',
|
|
224
|
+
'lib/internal/modules/package_json_reader.js',
|
|
163
225
|
'lib/internal/modules/cjs/helpers.js',
|
|
164
226
|
'lib/internal/modules/cjs/loader.js',
|
|
165
|
-
'lib/internal/modules/esm/
|
|
166
|
-
'lib/internal/modules/esm/translators.js',
|
|
167
|
-
'lib/internal/modules/esm/load.js',
|
|
227
|
+
'lib/internal/modules/esm/package_config.js',
|
|
168
228
|
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
169
|
-
'lib/internal/modules/esm/
|
|
229
|
+
'lib/internal/modules/esm/resolve.js',
|
|
230
|
+
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
170
231
|
'lib/internal/modules/esm/module_job.js',
|
|
171
|
-
'lib/internal/modules/esm/
|
|
172
|
-
'lib/internal/modules/esm/fetch_module.js',
|
|
232
|
+
'lib/internal/modules/esm/formats.js',
|
|
173
233
|
'lib/internal/modules/esm/get_format.js',
|
|
174
|
-
'lib/internal/modules/esm/
|
|
234
|
+
'lib/internal/modules/esm/assert.js',
|
|
235
|
+
'lib/internal/modules/esm/load.js',
|
|
236
|
+
'lib/internal/modules/esm/translators.js',
|
|
237
|
+
'lib/internal/modules/esm/module_map.js',
|
|
175
238
|
'lib/internal/modules/esm/loader.js',
|
|
176
|
-
'lib/internal/modules/esm/formats.js',
|
|
177
239
|
'lib/internal/modules/esm/handle_process_exit.js',
|
|
178
|
-
'lib/internal/modules/esm/
|
|
179
|
-
'lib/internal/
|
|
180
|
-
'lib/internal/
|
|
181
|
-
'lib/internal/
|
|
182
|
-
'lib/internal/
|
|
183
|
-
'lib/internal/
|
|
184
|
-
'lib/internal/
|
|
185
|
-
'lib/internal/
|
|
186
|
-
'lib/internal/
|
|
187
|
-
'lib/internal/
|
|
188
|
-
'lib/internal/
|
|
189
|
-
'lib/internal/fs/sync_write_stream.js',
|
|
190
|
-
'lib/internal/fs/cp/cp-sync.js',
|
|
191
|
-
'lib/internal/fs/cp/cp.js',
|
|
192
|
-
'lib/internal/streams/compose.js',
|
|
193
|
-
'lib/internal/streams/from.js',
|
|
194
|
-
'lib/internal/streams/state.js',
|
|
195
|
-
'lib/internal/streams/transform.js',
|
|
196
|
-
'lib/internal/streams/end-of-stream.js',
|
|
197
|
-
'lib/internal/streams/destroy.js',
|
|
198
|
-
'lib/internal/streams/writable.js',
|
|
199
|
-
'lib/internal/streams/utils.js',
|
|
200
|
-
'lib/internal/streams/readable.js',
|
|
201
|
-
'lib/internal/streams/add-abort-signal.js',
|
|
202
|
-
'lib/internal/streams/operators.js',
|
|
203
|
-
'lib/internal/streams/duplex.js',
|
|
204
|
-
'lib/internal/streams/duplexify.js',
|
|
205
|
-
'lib/internal/streams/buffer_list.js',
|
|
206
|
-
'lib/internal/streams/passthrough.js',
|
|
207
|
-
'lib/internal/streams/legacy.js',
|
|
208
|
-
'lib/internal/streams/pipeline.js',
|
|
209
|
-
'lib/internal/streams/lazy_transform.js',
|
|
210
|
-
'lib/internal/test_runner/harness.js',
|
|
211
|
-
'lib/internal/test_runner/test.js',
|
|
212
|
-
'lib/internal/test_runner/tap_stream.js',
|
|
213
|
-
'lib/internal/test_runner/utils.js',
|
|
214
|
-
'lib/internal/process/worker_thread_only.js',
|
|
215
|
-
'lib/internal/process/execution.js',
|
|
216
|
-
'lib/internal/process/signal.js',
|
|
217
|
-
'lib/internal/process/promises.js',
|
|
218
|
-
'lib/internal/process/per_thread.js',
|
|
219
|
-
'lib/internal/process/esm_loader.js',
|
|
220
|
-
'lib/internal/process/pre_execution.js',
|
|
221
|
-
'lib/internal/process/task_queues.js',
|
|
222
|
-
'lib/internal/process/warning.js',
|
|
223
|
-
'lib/internal/process/policy.js',
|
|
224
|
-
'lib/internal/process/report.js',
|
|
225
|
-
'lib/internal/per_context/domexception.js',
|
|
240
|
+
'lib/internal/modules/esm/fetch_module.js',
|
|
241
|
+
'lib/internal/test/binding.js',
|
|
242
|
+
'lib/internal/test/transfer.js',
|
|
243
|
+
'lib/internal/bootstrap/loaders.js',
|
|
244
|
+
'lib/internal/bootstrap/browser.js',
|
|
245
|
+
'lib/internal/bootstrap/node.js',
|
|
246
|
+
'lib/internal/bootstrap/switches/is_main_thread.js',
|
|
247
|
+
'lib/internal/bootstrap/switches/does_own_process_state.js',
|
|
248
|
+
'lib/internal/bootstrap/switches/does_not_own_process_state.js',
|
|
249
|
+
'lib/internal/bootstrap/switches/is_not_main_thread.js',
|
|
250
|
+
'lib/internal/child_process/serialization.js',
|
|
226
251
|
'lib/internal/per_context/messageport.js',
|
|
227
252
|
'lib/internal/per_context/primordials.js',
|
|
228
|
-
'lib/internal/
|
|
229
|
-
'lib/internal/tls/secure-context.js',
|
|
230
|
-
'lib/internal/v8/startup_snapshot.js',
|
|
231
|
-
'lib/internal/assert/snapshot.js',
|
|
232
|
-
'lib/internal/assert/assertion_error.js',
|
|
233
|
-
'lib/internal/assert/calltracker.js',
|
|
234
|
-
'lib/internal/console/constructor.js',
|
|
235
|
-
'lib/internal/console/global.js',
|
|
236
|
-
'lib/internal/util/comparisons.js',
|
|
237
|
-
'lib/internal/util/inspector.js',
|
|
238
|
-
'lib/internal/util/iterable_weak_map.js',
|
|
239
|
-
'lib/internal/util/debuglog.js',
|
|
240
|
-
'lib/internal/util/types.js',
|
|
241
|
-
'lib/internal/util/inspect.js',
|
|
242
|
-
'lib/internal/util/parse_args/utils.js',
|
|
243
|
-
'lib/internal/util/parse_args/parse_args.js',
|
|
253
|
+
'lib/internal/per_context/domexception.js',
|
|
244
254
|
'lib/internal/source_map/source_map_cache.js',
|
|
245
255
|
'lib/internal/source_map/source_map.js',
|
|
246
256
|
'lib/internal/source_map/prepare_stack_trace.js',
|
|
247
|
-
'lib/internal/
|
|
248
|
-
'lib/internal/
|
|
249
|
-
'lib/internal/policy
|
|
257
|
+
'lib/internal/process/promises.js',
|
|
258
|
+
'lib/internal/process/report.js',
|
|
259
|
+
'lib/internal/process/policy.js',
|
|
260
|
+
'lib/internal/process/worker_thread_only.js',
|
|
261
|
+
'lib/internal/process/pre_execution.js',
|
|
262
|
+
'lib/internal/process/task_queues.js',
|
|
263
|
+
'lib/internal/process/signal.js',
|
|
264
|
+
'lib/internal/process/esm_loader.js',
|
|
265
|
+
'lib/internal/process/per_thread.js',
|
|
266
|
+
'lib/internal/process/execution.js',
|
|
267
|
+
'lib/internal/process/warning.js',
|
|
250
268
|
'lib/internal/policy/manifest.js',
|
|
251
|
-
'lib/internal/
|
|
269
|
+
'lib/internal/policy/sri.js',
|
|
252
270
|
'lib/internal/main/environment.js',
|
|
253
|
-
'lib/internal/main/eval_stdin.js',
|
|
254
|
-
'lib/internal/main/run_main_module.js',
|
|
255
271
|
'lib/internal/main/print_help.js',
|
|
272
|
+
'lib/internal/main/run_main_module.js',
|
|
273
|
+
'lib/internal/main/check_syntax.js',
|
|
274
|
+
'lib/internal/main/worker_thread.js',
|
|
275
|
+
'lib/internal/main/test_runner.js',
|
|
276
|
+
'lib/internal/main/repl.js',
|
|
277
|
+
'lib/internal/main/inspect.js',
|
|
256
278
|
'lib/internal/main/eval_string.js',
|
|
279
|
+
'lib/internal/main/eval_stdin.js',
|
|
257
280
|
'lib/internal/main/prof_process.js',
|
|
258
281
|
'lib/internal/main/mksnapshot.js',
|
|
259
|
-
'lib/internal/
|
|
260
|
-
'lib/internal/
|
|
261
|
-
'lib/internal/
|
|
262
|
-
'lib/internal/
|
|
263
|
-
'lib/internal/
|
|
264
|
-
'lib/internal/
|
|
265
|
-
'lib/internal/
|
|
266
|
-
'lib/internal/
|
|
267
|
-
'lib/internal/
|
|
268
|
-
'lib/internal/
|
|
269
|
-
'lib/internal/
|
|
270
|
-
'lib/internal/
|
|
271
|
-
'lib/internal/
|
|
272
|
-
'lib/internal/
|
|
273
|
-
'lib/internal/
|
|
274
|
-
'lib/internal/
|
|
275
|
-
'lib/internal/
|
|
276
|
-
'lib/internal/
|
|
277
|
-
'lib/internal/
|
|
278
|
-
'lib/internal/
|
|
279
|
-
'lib/internal/
|
|
280
|
-
'lib/internal/
|
|
281
|
-
'lib/internal/
|
|
282
|
-
'lib/internal/
|
|
283
|
-
'lib/internal/
|
|
284
|
-
'lib/
|
|
285
|
-
'lib/
|
|
286
|
-
'lib/internal/crypto/hash.js',
|
|
287
|
-
'lib/internal/crypto/hkdf.js',
|
|
288
|
-
'lib/internal/crypto/pbkdf2.js',
|
|
289
|
-
'lib/internal/crypto/diffiehellman.js',
|
|
290
|
-
'lib/internal/crypto/random.js',
|
|
291
|
-
'lib/internal/crypto/certificate.js',
|
|
292
|
-
'lib/internal/crypto/ec.js',
|
|
293
|
-
'lib/internal/crypto/hashnames.js',
|
|
294
|
-
'lib/internal/crypto/aes.js',
|
|
295
|
-
'lib/internal/crypto/webcrypto.js',
|
|
296
|
-
'lib/internal/webstreams/transfer.js',
|
|
297
|
-
'lib/internal/webstreams/adapters.js',
|
|
298
|
-
'lib/internal/webstreams/util.js',
|
|
299
|
-
'lib/internal/webstreams/writablestream.js',
|
|
300
|
-
'lib/internal/webstreams/encoding.js',
|
|
301
|
-
'lib/internal/webstreams/transformstream.js',
|
|
302
|
-
'lib/internal/webstreams/readablestream.js',
|
|
303
|
-
'lib/internal/webstreams/queuingstrategies.js',
|
|
304
|
-
'lib/internal/webstreams/compression.js',
|
|
305
|
-
'lib/internal/http2/util.js',
|
|
306
|
-
'lib/internal/http2/compat.js',
|
|
307
|
-
'lib/internal/http2/core.js',
|
|
308
|
-
'lib/internal/test/transfer.js',
|
|
309
|
-
'lib/internal/test/binding.js',
|
|
310
|
-
'lib/internal/debugger/inspect_client.js',
|
|
311
|
-
'lib/internal/debugger/inspect_repl.js',
|
|
312
|
-
'lib/internal/debugger/inspect.js',
|
|
282
|
+
'lib/internal/util/types.js',
|
|
283
|
+
'lib/internal/util/iterable_weak_map.js',
|
|
284
|
+
'lib/internal/util/inspect.js',
|
|
285
|
+
'lib/internal/util/inspector.js',
|
|
286
|
+
'lib/internal/util/comparisons.js',
|
|
287
|
+
'lib/internal/util/debuglog.js',
|
|
288
|
+
'lib/internal/util/parse_args/parse_args.js',
|
|
289
|
+
'lib/internal/util/parse_args/utils.js',
|
|
290
|
+
'lib/internal/worker/io.js',
|
|
291
|
+
'lib/internal/worker/js_transferable.js',
|
|
292
|
+
'lib/internal/test_runner/test.js',
|
|
293
|
+
'lib/internal/test_runner/runner.js',
|
|
294
|
+
'lib/internal/test_runner/tap_stream.js',
|
|
295
|
+
'lib/internal/test_runner/utils.js',
|
|
296
|
+
'lib/internal/test_runner/harness.js',
|
|
297
|
+
'lib/internal/fs/promises.js',
|
|
298
|
+
'lib/internal/fs/dir.js',
|
|
299
|
+
'lib/internal/fs/streams.js',
|
|
300
|
+
'lib/internal/fs/sync_write_stream.js',
|
|
301
|
+
'lib/internal/fs/rimraf.js',
|
|
302
|
+
'lib/internal/fs/read_file_context.js',
|
|
303
|
+
'lib/internal/fs/watchers.js',
|
|
304
|
+
'lib/internal/fs/utils.js',
|
|
305
|
+
'lib/internal/fs/cp/cp-sync.js',
|
|
306
|
+
'lib/internal/fs/cp/cp.js',
|
|
307
|
+
'lib/readline/promises.js',
|
|
308
|
+
'lib/dns/promises.js',
|
|
313
309
|
'lib/assert/strict.js',
|
|
310
|
+
'lib/timers/promises.js',
|
|
311
|
+
'lib/path/posix.js',
|
|
312
|
+
'lib/path/win32.js',
|
|
313
|
+
'lib/stream/promises.js',
|
|
314
|
+
'lib/stream/consumers.js',
|
|
315
|
+
'lib/stream/web.js',
|
|
314
316
|
'lib/util/types.js',
|
|
315
|
-
'lib/
|
|
317
|
+
'lib/fs/promises.js'],
|
|
316
318
|
'node_module_version': 108,
|
|
317
319
|
'node_no_browser_globals': 'false',
|
|
318
320
|
'node_prefix': '/',
|
package/include/node/node.h
CHANGED
|
@@ -75,8 +75,9 @@
|
|
|
75
75
|
#include "v8-platform.h" // NOLINT(build/include_order)
|
|
76
76
|
#include "node_version.h" // NODE_MODULE_VERSION
|
|
77
77
|
|
|
78
|
-
#include <memory>
|
|
79
78
|
#include <functional>
|
|
79
|
+
#include <memory>
|
|
80
|
+
#include <ostream>
|
|
80
81
|
|
|
81
82
|
// We cannot use __POSIX__ in this header because that's only defined when
|
|
82
83
|
// building Node.js.
|
|
@@ -531,6 +532,33 @@ NODE_EXTERN v8::MaybeLocal<v8::Value> PrepareStackTraceCallback(
|
|
|
531
532
|
v8::Local<v8::Value> exception,
|
|
532
533
|
v8::Local<v8::Array> trace);
|
|
533
534
|
|
|
535
|
+
// Writes a diagnostic report to a file. If filename is not provided, the
|
|
536
|
+
// default filename includes the date, time, PID, and a sequence number.
|
|
537
|
+
// The report's JavaScript stack trace is taken from err, if present.
|
|
538
|
+
// If isolate is nullptr, no information about the JavaScript environment
|
|
539
|
+
// is included in the report.
|
|
540
|
+
// Returns the filename of the written report.
|
|
541
|
+
NODE_EXTERN std::string TriggerNodeReport(v8::Isolate* isolate,
|
|
542
|
+
const char* message,
|
|
543
|
+
const char* trigger,
|
|
544
|
+
const std::string& filename,
|
|
545
|
+
v8::Local<v8::Value> error);
|
|
546
|
+
NODE_EXTERN std::string TriggerNodeReport(Environment* env,
|
|
547
|
+
const char* message,
|
|
548
|
+
const char* trigger,
|
|
549
|
+
const std::string& filename,
|
|
550
|
+
v8::Local<v8::Value> error);
|
|
551
|
+
NODE_EXTERN void GetNodeReport(v8::Isolate* isolate,
|
|
552
|
+
const char* message,
|
|
553
|
+
const char* trigger,
|
|
554
|
+
v8::Local<v8::Value> error,
|
|
555
|
+
std::ostream& out);
|
|
556
|
+
NODE_EXTERN void GetNodeReport(Environment* env,
|
|
557
|
+
const char* message,
|
|
558
|
+
const char* trigger,
|
|
559
|
+
v8::Local<v8::Value> error,
|
|
560
|
+
std::ostream& out);
|
|
561
|
+
|
|
534
562
|
// This returns the MultiIsolatePlatform used for an Environment or IsolateData
|
|
535
563
|
// instance, if one exists.
|
|
536
564
|
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(Environment* env);
|
|
@@ -1002,6 +1030,15 @@ inline void RemoveEnvironmentCleanupHook(AsyncCleanupHookHandle holder) {
|
|
|
1002
1030
|
RemoveEnvironmentCleanupHookInternal(holder.get());
|
|
1003
1031
|
}
|
|
1004
1032
|
|
|
1033
|
+
// This behaves like V8's Isolate::RequestInterrupt(), but also wakes up
|
|
1034
|
+
// the event loop if it is currently idle. Interrupt requests are drained
|
|
1035
|
+
// in `FreeEnvironment()`. The passed callback can not call back into
|
|
1036
|
+
// JavaScript.
|
|
1037
|
+
// This function can be called from any thread.
|
|
1038
|
+
NODE_EXTERN void RequestInterrupt(Environment* env,
|
|
1039
|
+
void (*fun)(void* arg),
|
|
1040
|
+
void* arg);
|
|
1041
|
+
|
|
1005
1042
|
/* Returns the id of the current execution context. If the return value is
|
|
1006
1043
|
* zero then no execution has been set. This will happen if the user handles
|
|
1007
1044
|
* I/O from native code. */
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 18
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 9
|
|
27
|
+
#define NODE_PATCH_VERSION 1
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME ""
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#define V8_MAJOR_VERSION 10
|
|
12
12
|
#define V8_MINOR_VERSION 2
|
|
13
13
|
#define V8_BUILD_NUMBER 154
|
|
14
|
-
#define V8_PATCH_LEVEL
|
|
14
|
+
#define V8_PATCH_LEVEL 15
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
|
17
17
|
// (Boolean macro values are not supported by all preprocessors.)
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -483,6 +483,9 @@ Track heap object allocations for heap snapshots.
|
|
|
483
483
|
.It Fl -unhandled-rejections=mode
|
|
484
484
|
Define the behavior for unhandled rejections. Can be one of `strict` (raise an error), `warn` (enforce warnings) or `none` (silence warnings).
|
|
485
485
|
.
|
|
486
|
+
.It Fl -update-assert-snapshot
|
|
487
|
+
Updates snapshot files used by `assert.snapshot()`.
|
|
488
|
+
.
|
|
486
489
|
.It Fl -use-bundled-ca , Fl -use-openssl-ca
|
|
487
490
|
Use bundled Mozilla CA store as supplied by current Node.js version or use OpenSSL's default CA store.
|
|
488
491
|
The default store is selectable at build-time.
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
4
|
-
// copy of this software and associated documentation files (the
|
|
5
|
-
// "Software"), to deal in the Software without restriction, including
|
|
6
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
8
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
9
|
-
// following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included
|
|
12
|
-
// in all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
15
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
17
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
18
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
19
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
20
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
-
|
|
22
|
-
probe node_net_server_connection = process("node").mark("net__server__connection")
|
|
23
|
-
{
|
|
24
|
-
remote = user_string($arg2);
|
|
25
|
-
port = $arg3;
|
|
26
|
-
fd = $arg4;
|
|
27
|
-
|
|
28
|
-
probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
|
|
29
|
-
$$name,
|
|
30
|
-
remote,
|
|
31
|
-
port,
|
|
32
|
-
fd);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
probe node_net_stream_end = process("node").mark("net__stream__end")
|
|
36
|
-
{
|
|
37
|
-
remote = user_string($arg2);
|
|
38
|
-
port = $arg3;
|
|
39
|
-
fd = $arg4;
|
|
40
|
-
|
|
41
|
-
probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
|
|
42
|
-
$$name,
|
|
43
|
-
remote,
|
|
44
|
-
port,
|
|
45
|
-
fd);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
probe node_http_server_request = process("node").mark("http__server__request")
|
|
49
|
-
{
|
|
50
|
-
remote = user_string($arg3);
|
|
51
|
-
port = $arg4;
|
|
52
|
-
method = user_string($arg5);
|
|
53
|
-
url = user_string($arg6);
|
|
54
|
-
fd = $arg7;
|
|
55
|
-
|
|
56
|
-
probestr = sprintf("%s(remote=%s, port=%d, method=%s, url=%s, fd=%d)",
|
|
57
|
-
$$name,
|
|
58
|
-
remote,
|
|
59
|
-
port,
|
|
60
|
-
method,
|
|
61
|
-
url,
|
|
62
|
-
fd);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
probe node_http_server_response = process("node").mark("http__server__response")
|
|
66
|
-
{
|
|
67
|
-
remote = user_string($arg2);
|
|
68
|
-
port = $arg3;
|
|
69
|
-
fd = $arg4;
|
|
70
|
-
|
|
71
|
-
probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
|
|
72
|
-
$$name,
|
|
73
|
-
remote,
|
|
74
|
-
port,
|
|
75
|
-
fd);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
probe node_http_client_request = process("node").mark("http__client__request")
|
|
79
|
-
{
|
|
80
|
-
remote = user_string($arg3);
|
|
81
|
-
port = $arg4;
|
|
82
|
-
method = user_string($arg5);
|
|
83
|
-
url = user_string($arg6);
|
|
84
|
-
fd = $arg7;
|
|
85
|
-
|
|
86
|
-
probestr = sprintf("%s(remote=%s, port=%d, method=%s, url=%s, fd=%d)",
|
|
87
|
-
$$name,
|
|
88
|
-
remote,
|
|
89
|
-
port,
|
|
90
|
-
method,
|
|
91
|
-
url,
|
|
92
|
-
fd);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
probe node_http_client_response = process("node").mark("http__client__response")
|
|
96
|
-
{
|
|
97
|
-
remote = user_string($arg2);
|
|
98
|
-
port = $arg3;
|
|
99
|
-
fd = $arg4;
|
|
100
|
-
|
|
101
|
-
probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
|
|
102
|
-
$$name,
|
|
103
|
-
remote,
|
|
104
|
-
port,
|
|
105
|
-
fd);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
probe node_gc_start = process("node").mark("gc__start")
|
|
109
|
-
{
|
|
110
|
-
scavenge = 1 << 0;
|
|
111
|
-
compact = 1 << 1;
|
|
112
|
-
|
|
113
|
-
if ($arg1 == scavenge)
|
|
114
|
-
type = "kGCTypeScavenge";
|
|
115
|
-
else if ($arg1 == compact)
|
|
116
|
-
type = "kGCTypeMarkSweepCompact";
|
|
117
|
-
else
|
|
118
|
-
type = "kGCTypeAll";
|
|
119
|
-
|
|
120
|
-
flags = $arg2;
|
|
121
|
-
|
|
122
|
-
probestr = sprintf("%s(type=%s,flags=%d)",
|
|
123
|
-
$$name,
|
|
124
|
-
type,
|
|
125
|
-
flags);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
probe node_gc_stop = process("node").mark("gc__done")
|
|
129
|
-
{
|
|
130
|
-
scavenge = 1 << 0;
|
|
131
|
-
compact = 1 << 1;
|
|
132
|
-
|
|
133
|
-
if ($arg1 == scavenge)
|
|
134
|
-
type = "kGCTypeScavenge";
|
|
135
|
-
else if ($arg1 == compact)
|
|
136
|
-
type = "kGCTypeMarkSweepCompact";
|
|
137
|
-
else
|
|
138
|
-
type = "kGCTypeAll";
|
|
139
|
-
|
|
140
|
-
flags = $arg2;
|
|
141
|
-
|
|
142
|
-
probestr = sprintf("%s(type=%s,flags=%d)",
|
|
143
|
-
$$name,
|
|
144
|
-
type,
|
|
145
|
-
flags);
|
|
146
|
-
}
|