node-linux-x64 16.17.0 → 16.18.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 +386 -0
- package/LICENSE +33 -1
- package/README.md +18 -4
- package/bin/node +0 -0
- package/include/node/config.gypi +139 -137
- package/include/node/node.h +38 -1
- package/include/node/node_version.h +1 -1
- package/package.json +1 -1
- package/share/man/man1/node.1 +9 -0
- package/share/systemtap/tapset/node.stp +0 -146
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Node.js
|
|
2
2
|
|
|
3
|
-
Node.js is an open-source, cross-platform
|
|
3
|
+
Node.js is an open-source, cross-platform JavaScript runtime environment.
|
|
4
4
|
|
|
5
5
|
For information on using Node.js, see the [Node.js website][].
|
|
6
6
|
|
|
@@ -178,6 +178,8 @@ For information about the governance of the Node.js project, see
|
|
|
178
178
|
**James M Snell** <<jasnell@gmail.com>> (he/him)
|
|
179
179
|
* [joyeecheung](https://github.com/joyeecheung) -
|
|
180
180
|
**Joyee Cheung** <<joyeec9h3@gmail.com>> (she/her)
|
|
181
|
+
* [legendecas](https://github.com/legendecas) -
|
|
182
|
+
**Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
|
|
181
183
|
* [mcollina](https://github.com/mcollina) -
|
|
182
184
|
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
|
|
183
185
|
* [mhdawson](https://github.com/mhdawson) -
|
|
@@ -296,6 +298,10 @@ For information about the governance of the Node.js project, see
|
|
|
296
298
|
**Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
|
|
297
299
|
* [codebytere](https://github.com/codebytere) -
|
|
298
300
|
**Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
|
|
301
|
+
* [cola119](https://github.com/cola119) -
|
|
302
|
+
**Kohei Ueno** <<kohei.ueno119@gmail.com>> (he/him)
|
|
303
|
+
* [daeyeon](https://github.com/daeyeon) -
|
|
304
|
+
**Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
|
|
299
305
|
* [danbev](https://github.com/danbev) -
|
|
300
306
|
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
301
307
|
* [danielleadams](https://github.com/danielleadams) -
|
|
@@ -306,10 +312,10 @@ For information about the governance of the Node.js project, see
|
|
|
306
312
|
**Gus Caplan** <<me@gus.host>> (they/them)
|
|
307
313
|
* [dmabupt](https://github.com/dmabupt) -
|
|
308
314
|
**Xu Meng** <<dmabupt@gmail.com>> (he/him)
|
|
309
|
-
* [dnlup](https://github.com/dnlup)
|
|
310
|
-
**Daniele Belardi** <<dwon.dnl@gmail.com>> (he/him)
|
|
311
315
|
* [edsadr](https://github.com/edsadr) -
|
|
312
316
|
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
|
|
317
|
+
* [erickwendel](https://github.com/erickwendel) -
|
|
318
|
+
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
|
|
313
319
|
* [evanlucas](https://github.com/evanlucas) -
|
|
314
320
|
**Evan Lucas** <<evanlucas@me.com>> (he/him)
|
|
315
321
|
* [fhinkel](https://github.com/fhinkel) -
|
|
@@ -380,6 +386,8 @@ For information about the governance of the Node.js project, see
|
|
|
380
386
|
**Milad Fa** <<mfarazma@redhat.com>> (he/him)
|
|
381
387
|
* [mildsunrise](https://github.com/mildsunrise) -
|
|
382
388
|
**Alba Mendez** <<me@alba.sh>> (she/her)
|
|
389
|
+
* [MoLow](https://github.com/MoLow) -
|
|
390
|
+
**Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
|
|
383
391
|
* [mscdex](https://github.com/mscdex) -
|
|
384
392
|
**Brian White** <<mscdex@mscdex.net>>
|
|
385
393
|
* [MylesBorins](https://github.com/MylesBorins) -
|
|
@@ -405,7 +413,7 @@ For information about the governance of the Node.js project, see
|
|
|
405
413
|
* [ronag](https://github.com/ronag) -
|
|
406
414
|
**Robert Nagy** <<ronagy@icloud.com>>
|
|
407
415
|
* [ruyadorno](https://github.com/ruyadorno) -
|
|
408
|
-
**Ruy Adorno** <<ruyadorno@
|
|
416
|
+
**Ruy Adorno** <<ruyadorno@google.com>> (he/him)
|
|
409
417
|
* [rvagg](https://github.com/rvagg) -
|
|
410
418
|
**Rod Vagg** <<rod@vagg.org>>
|
|
411
419
|
* [ryzokuken](https://github.com/ryzokuken) -
|
|
@@ -424,6 +432,8 @@ For information about the governance of the Node.js project, see
|
|
|
424
432
|
**Stewart X Addison** <<sxa@redhat.com>> (he/him)
|
|
425
433
|
* [targos](https://github.com/targos) -
|
|
426
434
|
**Michaël Zasso** <<targos@protonmail.com>> (he/him)
|
|
435
|
+
* [theanarkh](https://github.com/theanarkh) -
|
|
436
|
+
**theanarkh** <<theratliter@gmail.com>> (he/him)
|
|
427
437
|
* [TimothyGu](https://github.com/TimothyGu) -
|
|
428
438
|
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
|
|
429
439
|
* [tniessen](https://github.com/tniessen) -
|
|
@@ -484,6 +494,8 @@ For information about the governance of the Node.js project, see
|
|
|
484
494
|
**Jamie Davis** <<davisjam@vt.edu>> (he/him)
|
|
485
495
|
* [digitalinfinity](https://github.com/digitalinfinity) -
|
|
486
496
|
**Hitesh Kanwathirtha** <<digitalinfinity@gmail.com>> (he/him)
|
|
497
|
+
* [dnlup](https://github.com/dnlup)
|
|
498
|
+
**dnlup** <<dnlup.dev@gmail.com>>
|
|
487
499
|
* [eljefedelrodeodeljefe](https://github.com/eljefedelrodeodeljefe) -
|
|
488
500
|
**Robert Jefe Lindstaedt** <<robert.lindstaedt@gmail.com>>
|
|
489
501
|
* [estliberitas](https://github.com/estliberitas) -
|
|
@@ -658,6 +670,8 @@ maintaining the Node.js project.
|
|
|
658
670
|
**Himadri Ganguly** <<himadri.tech@gmail.com>> (he/him)
|
|
659
671
|
* [iam-frankqiu](https://github.com/iam-frankqiu) -
|
|
660
672
|
**Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
|
|
673
|
+
* [kvakil](https://github.com/kvakil) -
|
|
674
|
+
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>> (they/them)
|
|
661
675
|
* [marsonya](https://github.com/marsonya) -
|
|
662
676
|
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
|
|
663
677
|
* [meixg](https://github.com/meixg) -
|
package/bin/node
CHANGED
|
Binary file
|
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',
|
|
@@ -26,200 +27,193 @@
|
|
|
26
27
|
'node_enable_d8': 'false',
|
|
27
28
|
'node_install_corepack': 'true',
|
|
28
29
|
'node_install_npm': 'true',
|
|
29
|
-
'node_library_files': [ 'lib/
|
|
30
|
-
'lib/_stream_readable.js',
|
|
31
|
-
'lib/_http_incoming.js',
|
|
32
|
-
'lib/buffer.js',
|
|
33
|
-
'lib/net.js',
|
|
34
|
-
'lib/_stream_wrap.js',
|
|
35
|
-
'lib/fs.js',
|
|
30
|
+
'node_library_files': [ 'lib/perf_hooks.js',
|
|
36
31
|
'lib/os.js',
|
|
37
|
-
'lib/
|
|
38
|
-
'lib/readline.js',
|
|
39
|
-
'lib/repl.js',
|
|
40
|
-
'lib/stream.js',
|
|
41
|
-
'lib/vm.js',
|
|
42
|
-
'lib/console.js',
|
|
43
|
-
'lib/constants.js',
|
|
44
|
-
'lib/url.js',
|
|
32
|
+
'lib/crypto.js',
|
|
45
33
|
'lib/worker_threads.js',
|
|
34
|
+
'lib/_stream_wrap.js',
|
|
46
35
|
'lib/_http_outgoing.js',
|
|
47
|
-
'lib/
|
|
36
|
+
'lib/inspector.js',
|
|
37
|
+
'lib/_http_client.js',
|
|
38
|
+
'lib/console.js',
|
|
39
|
+
'lib/constants.js',
|
|
40
|
+
'lib/_stream_readable.js',
|
|
48
41
|
'lib/timers.js',
|
|
42
|
+
'lib/buffer.js',
|
|
43
|
+
'lib/_stream_transform.js',
|
|
44
|
+
'lib/child_process.js',
|
|
49
45
|
'lib/module.js',
|
|
50
|
-
'lib/
|
|
51
|
-
'lib/wasi.js',
|
|
46
|
+
'lib/path.js',
|
|
52
47
|
'lib/process.js',
|
|
53
|
-
'lib/
|
|
54
|
-
'lib/string_decoder.js',
|
|
48
|
+
'lib/test.js',
|
|
55
49
|
'lib/sys.js',
|
|
56
50
|
'lib/http2.js',
|
|
57
|
-
'lib/cluster.js',
|
|
58
|
-
'lib/querystring.js',
|
|
59
51
|
'lib/trace_events.js',
|
|
60
|
-
'lib/
|
|
61
|
-
'lib/
|
|
62
|
-
'lib/
|
|
63
|
-
'lib/
|
|
52
|
+
'lib/_tls_wrap.js',
|
|
53
|
+
'lib/dgram.js',
|
|
54
|
+
'lib/v8.js',
|
|
55
|
+
'lib/domain.js',
|
|
64
56
|
'lib/tls.js',
|
|
65
|
-
'lib/
|
|
57
|
+
'lib/_http_server.js',
|
|
58
|
+
'lib/_stream_writable.js',
|
|
66
59
|
'lib/_tls_common.js',
|
|
67
|
-
'lib/
|
|
60
|
+
'lib/events.js',
|
|
61
|
+
'lib/url.js',
|
|
68
62
|
'lib/util.js',
|
|
63
|
+
'lib/net.js',
|
|
69
64
|
'lib/tty.js',
|
|
70
|
-
'lib/
|
|
71
|
-
'lib/
|
|
72
|
-
'lib/
|
|
65
|
+
'lib/async_hooks.js',
|
|
66
|
+
'lib/dns.js',
|
|
67
|
+
'lib/_http_common.js',
|
|
73
68
|
'lib/_stream_duplex.js',
|
|
74
|
-
'lib/_stream_passthrough.js',
|
|
75
|
-
'lib/_stream_writable.js',
|
|
76
|
-
'lib/_http_client.js',
|
|
77
69
|
'lib/assert.js',
|
|
78
70
|
'lib/diagnostics_channel.js',
|
|
79
|
-
'lib/
|
|
80
|
-
'lib/
|
|
81
|
-
'lib/
|
|
71
|
+
'lib/fs.js',
|
|
72
|
+
'lib/_http_incoming.js',
|
|
73
|
+
'lib/_stream_passthrough.js',
|
|
74
|
+
'lib/https.js',
|
|
82
75
|
'lib/punycode.js',
|
|
83
|
-
'lib/
|
|
84
|
-
'lib/
|
|
85
|
-
'lib/
|
|
86
|
-
'lib/
|
|
76
|
+
'lib/querystring.js',
|
|
77
|
+
'lib/readline.js',
|
|
78
|
+
'lib/repl.js',
|
|
79
|
+
'lib/stream.js',
|
|
80
|
+
'lib/string_decoder.js',
|
|
81
|
+
'lib/wasi.js',
|
|
82
|
+
'lib/zlib.js',
|
|
83
|
+
'lib/http.js',
|
|
84
|
+
'lib/_http_agent.js',
|
|
85
|
+
'lib/cluster.js',
|
|
86
|
+
'lib/vm.js',
|
|
87
|
+
'lib/stream/consumers.js',
|
|
88
|
+
'lib/stream/promises.js',
|
|
89
|
+
'lib/stream/web.js',
|
|
87
90
|
'lib/internal/assert.js',
|
|
88
|
-
'lib/internal/
|
|
89
|
-
'lib/internal/worker.js',
|
|
91
|
+
'lib/internal/url.js',
|
|
90
92
|
'lib/internal/constants.js',
|
|
91
93
|
'lib/internal/dtrace.js',
|
|
92
|
-
'lib/internal/
|
|
94
|
+
'lib/internal/encoding.js',
|
|
93
95
|
'lib/internal/fixed_queue.js',
|
|
94
|
-
'lib/internal/
|
|
95
|
-
'lib/internal/tty.js',
|
|
96
|
-
'lib/internal/socket_list.js',
|
|
97
|
-
'lib/internal/promise_hooks.js',
|
|
98
|
-
'lib/internal/url.js',
|
|
96
|
+
'lib/internal/http.js',
|
|
99
97
|
'lib/internal/socketaddress.js',
|
|
100
|
-
'lib/internal/
|
|
98
|
+
'lib/internal/heap_utils.js',
|
|
99
|
+
'lib/internal/blob.js',
|
|
101
100
|
'lib/internal/buffer.js',
|
|
102
101
|
'lib/internal/cli_table.js',
|
|
103
|
-
'lib/internal/
|
|
102
|
+
'lib/internal/histogram.js',
|
|
103
|
+
'lib/internal/socket_list.js',
|
|
104
|
+
'lib/internal/validators.js',
|
|
105
|
+
'lib/internal/dgram.js',
|
|
106
|
+
'lib/internal/worker.js',
|
|
107
|
+
'lib/internal/tty.js',
|
|
108
|
+
'lib/internal/v8_prof_polyfill.js',
|
|
109
|
+
'lib/internal/v8_prof_processor.js',
|
|
110
|
+
'lib/internal/watchdog.js',
|
|
111
|
+
'lib/internal/child_process.js',
|
|
104
112
|
'lib/internal/freelist.js',
|
|
105
|
-
'lib/internal/errors.js',
|
|
106
113
|
'lib/internal/repl.js',
|
|
107
|
-
'lib/internal/
|
|
108
|
-
'lib/internal/
|
|
109
|
-
'lib/internal/
|
|
110
|
-
'lib/internal/
|
|
114
|
+
'lib/internal/errors.js',
|
|
115
|
+
'lib/internal/abort_controller.js',
|
|
116
|
+
'lib/internal/async_hooks.js',
|
|
117
|
+
'lib/internal/options.js',
|
|
111
118
|
'lib/internal/inspector_async_hook.js',
|
|
112
119
|
'lib/internal/priority_queue.js',
|
|
113
120
|
'lib/internal/querystring.js',
|
|
114
|
-
'lib/internal/
|
|
115
|
-
'lib/internal/
|
|
116
|
-
'lib/internal/http.js',
|
|
117
|
-
'lib/internal/options.js',
|
|
121
|
+
'lib/internal/stream_base_commons.js',
|
|
122
|
+
'lib/internal/timers.js',
|
|
118
123
|
'lib/internal/blocklist.js',
|
|
119
124
|
'lib/internal/net.js',
|
|
120
|
-
'lib/internal/async_hooks.js',
|
|
121
|
-
'lib/internal/event_target.js',
|
|
122
|
-
'lib/internal/freeze_intrinsics.js',
|
|
123
125
|
'lib/internal/js_stream_socket.js',
|
|
124
|
-
'lib/internal/util.js',
|
|
125
126
|
'lib/internal/idna.js',
|
|
126
127
|
'lib/internal/linkedlist.js',
|
|
127
|
-
'lib/internal/
|
|
128
|
+
'lib/internal/event_target.js',
|
|
129
|
+
'lib/internal/promise_hooks.js',
|
|
128
130
|
'lib/internal/trace_events_async_hooks.js',
|
|
129
|
-
'lib/internal/
|
|
130
|
-
'lib/internal/
|
|
131
|
+
'lib/internal/error_serdes.js',
|
|
132
|
+
'lib/internal/freeze_intrinsics.js',
|
|
133
|
+
'lib/internal/util.js',
|
|
131
134
|
'lib/internal/assert/assertion_error.js',
|
|
132
135
|
'lib/internal/assert/calltracker.js',
|
|
133
136
|
'lib/internal/bootstrap/environment.js',
|
|
134
137
|
'lib/internal/bootstrap/loaders.js',
|
|
135
|
-
'lib/internal/bootstrap/node.js',
|
|
136
138
|
'lib/internal/bootstrap/pre_execution.js',
|
|
139
|
+
'lib/internal/bootstrap/node.js',
|
|
137
140
|
'lib/internal/bootstrap/switches/does_not_own_process_state.js',
|
|
138
141
|
'lib/internal/bootstrap/switches/does_own_process_state.js',
|
|
139
142
|
'lib/internal/bootstrap/switches/is_main_thread.js',
|
|
140
143
|
'lib/internal/bootstrap/switches/is_not_main_thread.js',
|
|
141
144
|
'lib/internal/child_process/serialization.js',
|
|
142
145
|
'lib/internal/cluster/shared_handle.js',
|
|
143
|
-
'lib/internal/cluster/utils.js',
|
|
144
146
|
'lib/internal/cluster/child.js',
|
|
145
147
|
'lib/internal/cluster/primary.js',
|
|
146
|
-
'lib/internal/cluster/
|
|
148
|
+
'lib/internal/cluster/utils.js',
|
|
147
149
|
'lib/internal/cluster/worker.js',
|
|
150
|
+
'lib/internal/cluster/round_robin_handle.js',
|
|
148
151
|
'lib/internal/console/constructor.js',
|
|
149
152
|
'lib/internal/console/global.js',
|
|
150
153
|
'lib/internal/crypto/certificate.js',
|
|
151
154
|
'lib/internal/crypto/cipher.js',
|
|
152
|
-
'lib/internal/crypto/
|
|
155
|
+
'lib/internal/crypto/diffiehellman.js',
|
|
156
|
+
'lib/internal/crypto/hash.js',
|
|
157
|
+
'lib/internal/crypto/hashnames.js',
|
|
158
|
+
'lib/internal/crypto/random.js',
|
|
159
|
+
'lib/internal/crypto/scrypt.js',
|
|
153
160
|
'lib/internal/crypto/sig.js',
|
|
161
|
+
'lib/internal/crypto/x509.js',
|
|
154
162
|
'lib/internal/crypto/aes.js',
|
|
155
163
|
'lib/internal/crypto/cfrg.js',
|
|
156
|
-
'lib/internal/crypto/diffiehellman.js',
|
|
157
164
|
'lib/internal/crypto/ec.js',
|
|
158
|
-
'lib/internal/crypto/hash.js',
|
|
159
|
-
'lib/internal/crypto/hashnames.js',
|
|
160
165
|
'lib/internal/crypto/hkdf.js',
|
|
161
166
|
'lib/internal/crypto/keygen.js',
|
|
162
167
|
'lib/internal/crypto/keys.js',
|
|
163
168
|
'lib/internal/crypto/mac.js',
|
|
164
|
-
'lib/internal/crypto/
|
|
169
|
+
'lib/internal/crypto/pbkdf2.js',
|
|
165
170
|
'lib/internal/crypto/rsa.js',
|
|
166
|
-
'lib/internal/crypto/scrypt.js',
|
|
167
171
|
'lib/internal/crypto/util.js',
|
|
168
172
|
'lib/internal/crypto/webcrypto.js',
|
|
169
|
-
'lib/internal/crypto/x509.js',
|
|
170
173
|
'lib/internal/dns/promises.js',
|
|
171
174
|
'lib/internal/dns/utils.js',
|
|
172
|
-
'lib/internal/fs/rimraf.js',
|
|
173
175
|
'lib/internal/fs/dir.js',
|
|
174
176
|
'lib/internal/fs/promises.js',
|
|
175
177
|
'lib/internal/fs/read_file_context.js',
|
|
178
|
+
'lib/internal/fs/rimraf.js',
|
|
176
179
|
'lib/internal/fs/streams.js',
|
|
177
180
|
'lib/internal/fs/sync_write_stream.js',
|
|
178
|
-
'lib/internal/fs/utils.js',
|
|
179
181
|
'lib/internal/fs/watchers.js',
|
|
182
|
+
'lib/internal/fs/utils.js',
|
|
180
183
|
'lib/internal/fs/cp/cp-sync.js',
|
|
181
184
|
'lib/internal/fs/cp/cp.js',
|
|
182
185
|
'lib/internal/http2/compat.js',
|
|
183
|
-
'lib/internal/http2/core.js',
|
|
184
186
|
'lib/internal/http2/util.js',
|
|
185
|
-
'lib/internal/
|
|
186
|
-
'lib/internal/perf/performance_entry.js',
|
|
187
|
-
'lib/internal/perf/utils.js',
|
|
188
|
-
'lib/internal/perf/event_loop_delay.js',
|
|
189
|
-
'lib/internal/perf/nodetiming.js',
|
|
190
|
-
'lib/internal/perf/observe.js',
|
|
191
|
-
'lib/internal/perf/performance.js',
|
|
192
|
-
'lib/internal/perf/resource_timing.js',
|
|
193
|
-
'lib/internal/perf/timerify.js',
|
|
194
|
-
'lib/internal/perf/usertiming.js',
|
|
187
|
+
'lib/internal/http2/core.js',
|
|
195
188
|
'lib/internal/main/eval_stdin.js',
|
|
196
189
|
'lib/internal/main/prof_process.js',
|
|
197
|
-
'lib/internal/main/run_main_module.js',
|
|
198
190
|
'lib/internal/main/repl.js',
|
|
199
191
|
'lib/internal/main/check_syntax.js',
|
|
200
192
|
'lib/internal/main/eval_string.js',
|
|
201
193
|
'lib/internal/main/inspect.js',
|
|
202
194
|
'lib/internal/main/mksnapshot.js',
|
|
203
|
-
'lib/internal/main/print_help.js',
|
|
204
195
|
'lib/internal/main/test_runner.js',
|
|
196
|
+
'lib/internal/main/print_help.js',
|
|
197
|
+
'lib/internal/main/run_main_module.js',
|
|
205
198
|
'lib/internal/main/worker_thread.js',
|
|
206
199
|
'lib/internal/modules/package_json_reader.js',
|
|
207
200
|
'lib/internal/modules/run_main.js',
|
|
208
201
|
'lib/internal/modules/cjs/helpers.js',
|
|
209
202
|
'lib/internal/modules/cjs/loader.js',
|
|
210
|
-
'lib/internal/modules/esm/
|
|
211
|
-
'lib/internal/modules/esm/fetch_module.js',
|
|
203
|
+
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
212
204
|
'lib/internal/modules/esm/load.js',
|
|
213
|
-
'lib/internal/modules/esm/
|
|
205
|
+
'lib/internal/modules/esm/module_map.js',
|
|
206
|
+
'lib/internal/modules/esm/get_format.js',
|
|
214
207
|
'lib/internal/modules/esm/loader.js',
|
|
215
|
-
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
216
|
-
'lib/internal/modules/esm/formats.js',
|
|
217
|
-
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
218
208
|
'lib/internal/modules/esm/module_job.js',
|
|
209
|
+
'lib/internal/modules/esm/package_config.js',
|
|
210
|
+
'lib/internal/modules/esm/resolve.js',
|
|
219
211
|
'lib/internal/modules/esm/translators.js',
|
|
220
212
|
'lib/internal/modules/esm/assert.js',
|
|
221
|
-
'lib/internal/modules/esm/
|
|
213
|
+
'lib/internal/modules/esm/fetch_module.js',
|
|
214
|
+
'lib/internal/modules/esm/formats.js',
|
|
222
215
|
'lib/internal/modules/esm/handle_process_exit.js',
|
|
216
|
+
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
223
217
|
'lib/internal/per_context/messageport.js',
|
|
224
218
|
'lib/internal/per_context/domexception.js',
|
|
225
219
|
'lib/internal/per_context/primordials.js',
|
|
@@ -227,14 +221,14 @@
|
|
|
227
221
|
'lib/internal/policy/sri.js',
|
|
228
222
|
'lib/internal/process/policy.js',
|
|
229
223
|
'lib/internal/process/worker_thread_only.js',
|
|
230
|
-
'lib/internal/process/
|
|
224
|
+
'lib/internal/process/esm_loader.js',
|
|
225
|
+
'lib/internal/process/per_thread.js',
|
|
226
|
+
'lib/internal/process/promises.js',
|
|
231
227
|
'lib/internal/process/report.js',
|
|
232
228
|
'lib/internal/process/signal.js',
|
|
233
229
|
'lib/internal/process/task_queues.js',
|
|
234
230
|
'lib/internal/process/warning.js',
|
|
235
|
-
'lib/internal/process/
|
|
236
|
-
'lib/internal/process/per_thread.js',
|
|
237
|
-
'lib/internal/process/promises.js',
|
|
231
|
+
'lib/internal/process/execution.js',
|
|
238
232
|
'lib/internal/readline/callbacks.js',
|
|
239
233
|
'lib/internal/readline/emitKeypressEvents.js',
|
|
240
234
|
'lib/internal/readline/interface.js',
|
|
@@ -242,68 +236,76 @@
|
|
|
242
236
|
'lib/internal/repl/await.js',
|
|
243
237
|
'lib/internal/repl/history.js',
|
|
244
238
|
'lib/internal/repl/utils.js',
|
|
245
|
-
'lib/internal/source_map/source_map.js',
|
|
246
|
-
'lib/internal/source_map/prepare_stack_trace.js',
|
|
247
239
|
'lib/internal/source_map/source_map_cache.js',
|
|
240
|
+
'lib/internal/source_map/prepare_stack_trace.js',
|
|
241
|
+
'lib/internal/source_map/source_map.js',
|
|
242
|
+
'lib/internal/streams/add-abort-signal.js',
|
|
243
|
+
'lib/internal/streams/buffer_list.js',
|
|
248
244
|
'lib/internal/streams/compose.js',
|
|
245
|
+
'lib/internal/streams/duplex.js',
|
|
246
|
+
'lib/internal/streams/duplexify.js',
|
|
247
|
+
'lib/internal/streams/end-of-stream.js',
|
|
249
248
|
'lib/internal/streams/from.js',
|
|
249
|
+
'lib/internal/streams/lazy_transform.js',
|
|
250
250
|
'lib/internal/streams/pipeline.js',
|
|
251
|
+
'lib/internal/streams/readable.js',
|
|
251
252
|
'lib/internal/streams/state.js',
|
|
253
|
+
'lib/internal/streams/transform.js',
|
|
252
254
|
'lib/internal/streams/utils.js',
|
|
253
|
-
'lib/internal/streams/add-abort-signal.js',
|
|
254
|
-
'lib/internal/streams/duplexify.js',
|
|
255
|
-
'lib/internal/streams/lazy_transform.js',
|
|
256
|
-
'lib/internal/streams/readable.js',
|
|
257
255
|
'lib/internal/streams/writable.js',
|
|
258
|
-
'lib/internal/streams/buffer_list.js',
|
|
259
256
|
'lib/internal/streams/destroy.js',
|
|
260
|
-
'lib/internal/streams/duplex.js',
|
|
261
|
-
'lib/internal/streams/end-of-stream.js',
|
|
262
257
|
'lib/internal/streams/operators.js',
|
|
263
|
-
'lib/internal/streams/transform.js',
|
|
264
258
|
'lib/internal/streams/legacy.js',
|
|
265
259
|
'lib/internal/streams/passthrough.js',
|
|
266
260
|
'lib/internal/test/binding.js',
|
|
267
261
|
'lib/internal/test/transfer.js',
|
|
268
|
-
'lib/internal/webstreams/compression.js',
|
|
269
|
-
'lib/internal/webstreams/queuingstrategies.js',
|
|
270
|
-
'lib/internal/webstreams/transformstream.js',
|
|
271
|
-
'lib/internal/webstreams/writablestream.js',
|
|
272
|
-
'lib/internal/webstreams/adapters.js',
|
|
273
|
-
'lib/internal/webstreams/encoding.js',
|
|
274
|
-
'lib/internal/webstreams/readablestream.js',
|
|
275
|
-
'lib/internal/webstreams/transfer.js',
|
|
276
|
-
'lib/internal/webstreams/util.js',
|
|
277
|
-
'lib/internal/test_runner/harness.js',
|
|
278
|
-
'lib/internal/test_runner/tap_stream.js',
|
|
279
|
-
'lib/internal/test_runner/test.js',
|
|
280
|
-
'lib/internal/test_runner/utils.js',
|
|
281
262
|
'lib/internal/util/comparisons.js',
|
|
282
|
-
'lib/internal/util/iterable_weak_map.js',
|
|
283
263
|
'lib/internal/util/debuglog.js',
|
|
284
|
-
'lib/internal/util/inspect.js',
|
|
285
264
|
'lib/internal/util/inspector.js',
|
|
265
|
+
'lib/internal/util/iterable_weak_map.js',
|
|
286
266
|
'lib/internal/util/types.js',
|
|
267
|
+
'lib/internal/util/inspect.js',
|
|
287
268
|
'lib/internal/util/parse_args/parse_args.js',
|
|
288
269
|
'lib/internal/util/parse_args/utils.js',
|
|
270
|
+
'lib/internal/v8/startup_snapshot.js',
|
|
289
271
|
'lib/internal/vm/module.js',
|
|
290
|
-
'lib/internal/worker/io.js',
|
|
291
272
|
'lib/internal/worker/js_transferable.js',
|
|
273
|
+
'lib/internal/worker/io.js',
|
|
274
|
+
'lib/internal/test_runner/harness.js',
|
|
275
|
+
'lib/internal/test_runner/tap_stream.js',
|
|
276
|
+
'lib/internal/test_runner/test.js',
|
|
277
|
+
'lib/internal/test_runner/utils.js',
|
|
278
|
+
'lib/internal/tls/parse-cert-string.js',
|
|
279
|
+
'lib/internal/tls/secure-pair.js',
|
|
280
|
+
'lib/internal/tls/secure-context.js',
|
|
292
281
|
'lib/internal/debugger/inspect_client.js',
|
|
293
282
|
'lib/internal/debugger/inspect.js',
|
|
294
283
|
'lib/internal/debugger/inspect_repl.js',
|
|
295
|
-
'lib/internal/tls/parse-cert-string.js',
|
|
296
|
-
'lib/internal/tls/secure-context.js',
|
|
297
|
-
'lib/internal/tls/secure-pair.js',
|
|
298
284
|
'lib/internal/legacy/processbinding.js',
|
|
299
|
-
'lib/internal/
|
|
285
|
+
'lib/internal/perf/event_loop_delay.js',
|
|
286
|
+
'lib/internal/perf/event_loop_utilization.js',
|
|
287
|
+
'lib/internal/perf/nodetiming.js',
|
|
288
|
+
'lib/internal/perf/observe.js',
|
|
289
|
+
'lib/internal/perf/performance.js',
|
|
290
|
+
'lib/internal/perf/performance_entry.js',
|
|
291
|
+
'lib/internal/perf/resource_timing.js',
|
|
292
|
+
'lib/internal/perf/timerify.js',
|
|
293
|
+
'lib/internal/perf/usertiming.js',
|
|
294
|
+
'lib/internal/perf/utils.js',
|
|
295
|
+
'lib/internal/webstreams/compression.js',
|
|
296
|
+
'lib/internal/webstreams/encoding.js',
|
|
297
|
+
'lib/internal/webstreams/queuingstrategies.js',
|
|
298
|
+
'lib/internal/webstreams/transfer.js',
|
|
299
|
+
'lib/internal/webstreams/writablestream.js',
|
|
300
|
+
'lib/internal/webstreams/adapters.js',
|
|
301
|
+
'lib/internal/webstreams/readablestream.js',
|
|
302
|
+
'lib/internal/webstreams/transformstream.js',
|
|
303
|
+
'lib/internal/webstreams/util.js',
|
|
300
304
|
'lib/fs/promises.js',
|
|
305
|
+
'lib/dns/promises.js',
|
|
301
306
|
'lib/timers/promises.js',
|
|
302
307
|
'lib/assert/strict.js',
|
|
303
|
-
'lib/
|
|
304
|
-
'lib/stream/promises.js',
|
|
305
|
-
'lib/stream/web.js',
|
|
306
|
-
'lib/dns/promises.js',
|
|
308
|
+
'lib/util/types.js',
|
|
307
309
|
'lib/path/posix.js',
|
|
308
310
|
'lib/path/win32.js'],
|
|
309
311
|
'node_module_version': 93,
|
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.
|
|
@@ -528,6 +529,33 @@ NODE_EXTERN v8::MaybeLocal<v8::Value> PrepareStackTraceCallback(
|
|
|
528
529
|
v8::Local<v8::Value> exception,
|
|
529
530
|
v8::Local<v8::Array> trace);
|
|
530
531
|
|
|
532
|
+
// Writes a diagnostic report to a file. If filename is not provided, the
|
|
533
|
+
// default filename includes the date, time, PID, and a sequence number.
|
|
534
|
+
// The report's JavaScript stack trace is taken from err, if present.
|
|
535
|
+
// If isolate is nullptr, no information about the JavaScript environment
|
|
536
|
+
// is included in the report.
|
|
537
|
+
// Returns the filename of the written report.
|
|
538
|
+
NODE_EXTERN std::string TriggerNodeReport(v8::Isolate* isolate,
|
|
539
|
+
const char* message,
|
|
540
|
+
const char* trigger,
|
|
541
|
+
const std::string& filename,
|
|
542
|
+
v8::Local<v8::Value> error);
|
|
543
|
+
NODE_EXTERN std::string TriggerNodeReport(Environment* env,
|
|
544
|
+
const char* message,
|
|
545
|
+
const char* trigger,
|
|
546
|
+
const std::string& filename,
|
|
547
|
+
v8::Local<v8::Value> error);
|
|
548
|
+
NODE_EXTERN void GetNodeReport(v8::Isolate* isolate,
|
|
549
|
+
const char* message,
|
|
550
|
+
const char* trigger,
|
|
551
|
+
v8::Local<v8::Value> error,
|
|
552
|
+
std::ostream& out);
|
|
553
|
+
NODE_EXTERN void GetNodeReport(Environment* env,
|
|
554
|
+
const char* message,
|
|
555
|
+
const char* trigger,
|
|
556
|
+
v8::Local<v8::Value> error,
|
|
557
|
+
std::ostream& out);
|
|
558
|
+
|
|
531
559
|
// This returns the MultiIsolatePlatform used for an Environment or IsolateData
|
|
532
560
|
// instance, if one exists.
|
|
533
561
|
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(Environment* env);
|
|
@@ -999,6 +1027,15 @@ inline void RemoveEnvironmentCleanupHook(AsyncCleanupHookHandle holder) {
|
|
|
999
1027
|
RemoveEnvironmentCleanupHookInternal(holder.get());
|
|
1000
1028
|
}
|
|
1001
1029
|
|
|
1030
|
+
// This behaves like V8's Isolate::RequestInterrupt(), but also wakes up
|
|
1031
|
+
// the event loop if it is currently idle. Interrupt requests are drained
|
|
1032
|
+
// in `FreeEnvironment()`. The passed callback can not call back into
|
|
1033
|
+
// JavaScript.
|
|
1034
|
+
// This function can be called from any thread.
|
|
1035
|
+
NODE_EXTERN void RequestInterrupt(Environment* env,
|
|
1036
|
+
void (*fun)(void* arg),
|
|
1037
|
+
void* arg);
|
|
1038
|
+
|
|
1002
1039
|
/* Returns the id of the current execution context. If the return value is
|
|
1003
1040
|
* zero then no execution has been set. This will happen if the user handles
|
|
1004
1041
|
* I/O from native code. */
|