node-linux-x64 16.17.1 → 16.18.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Node.js
2
2
 
3
- Node.js is an open-source, cross-platform, JavaScript runtime environment.
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@github.com>> (he/him)
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
@@ -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,110 +27,109 @@
26
27
  'node_enable_d8': 'false',
27
28
  'node_install_corepack': 'true',
28
29
  'node_install_npm': 'true',
29
- 'node_library_files': [ 'lib/buffer.js',
30
- 'lib/net.js',
31
- 'lib/os.js',
32
- 'lib/perf_hooks.js',
33
- 'lib/crypto.js',
30
+ 'node_library_files': [ 'lib/path.js',
31
+ 'lib/tls.js',
34
32
  'lib/worker_threads.js',
33
+ 'lib/_http_common.js',
35
34
  'lib/_stream_wrap.js',
36
- 'lib/_http_client.js',
37
- 'lib/dns.js',
35
+ 'lib/_http_server.js',
36
+ 'lib/_stream_duplex.js',
37
+ 'lib/_stream_passthrough.js',
38
+ 'lib/_stream_writable.js',
38
39
  'lib/console.js',
39
40
  'lib/constants.js',
40
- 'lib/_stream_readable.js',
41
- 'lib/timers.js',
42
- 'lib/_stream_transform.js',
43
- 'lib/module.js',
41
+ 'lib/child_process.js',
42
+ 'lib/crypto.js',
43
+ 'lib/perf_hooks.js',
44
+ 'lib/punycode.js',
45
+ 'lib/querystring.js',
44
46
  'lib/test.js',
47
+ 'lib/module.js',
45
48
  'lib/process.js',
49
+ 'lib/_http_incoming.js',
46
50
  'lib/sys.js',
47
51
  'lib/http2.js',
48
52
  'lib/trace_events.js',
49
- 'lib/_http_server.js',
50
- 'lib/_tls_wrap.js',
51
- 'lib/dgram.js',
52
- 'lib/domain.js',
53
- 'lib/tls.js',
54
- 'lib/_stream_writable.js',
55
53
  'lib/_tls_common.js',
56
- 'lib/child_process.js',
54
+ 'lib/_tls_wrap.js',
57
55
  'lib/events.js',
58
56
  'lib/url.js',
59
57
  'lib/util.js',
60
- 'lib/tty.js',
58
+ 'lib/_http_outgoing.js',
61
59
  'lib/async_hooks.js',
60
+ 'lib/tty.js',
61
+ 'lib/v8.js',
62
+ 'lib/cluster.js',
63
+ 'lib/fs.js',
64
+ 'lib/_stream_readable.js',
65
+ 'lib/_stream_transform.js',
66
+ 'lib/diagnostics_channel.js',
67
+ 'lib/dns.js',
68
+ 'lib/domain.js',
62
69
  'lib/http.js',
63
- 'lib/_http_common.js',
64
- 'lib/_http_outgoing.js',
65
- 'lib/_stream_duplex.js',
70
+ 'lib/net.js',
66
71
  'lib/assert.js',
67
- 'lib/diagnostics_channel.js',
68
- 'lib/fs.js',
69
- 'lib/_http_incoming.js',
70
- 'lib/_stream_passthrough.js',
71
72
  'lib/https.js',
72
73
  'lib/inspector.js',
73
- 'lib/path.js',
74
- 'lib/punycode.js',
75
- 'lib/querystring.js',
76
74
  'lib/readline.js',
77
75
  'lib/repl.js',
78
76
  'lib/stream.js',
79
77
  'lib/string_decoder.js',
80
- 'lib/v8.js',
81
- 'lib/wasi.js',
78
+ 'lib/timers.js',
82
79
  'lib/zlib.js',
83
80
  'lib/_http_agent.js',
84
- 'lib/cluster.js',
81
+ 'lib/buffer.js',
82
+ 'lib/dgram.js',
83
+ 'lib/os.js',
85
84
  'lib/vm.js',
86
- 'lib/stream/consumers.js',
87
- 'lib/stream/promises.js',
88
- 'lib/stream/web.js',
85
+ 'lib/wasi.js',
86
+ 'lib/_http_client.js',
87
+ 'lib/dns/promises.js',
88
+ 'lib/util/types.js',
89
89
  'lib/internal/assert.js',
90
- 'lib/internal/http.js',
90
+ 'lib/internal/async_hooks.js',
91
91
  'lib/internal/constants.js',
92
92
  'lib/internal/dtrace.js',
93
- 'lib/internal/child_process.js',
94
- 'lib/internal/encoding.js',
95
- 'lib/internal/fixed_queue.js',
93
+ 'lib/internal/socketaddress.js',
94
+ 'lib/internal/tty.js',
96
95
  'lib/internal/heap_utils.js',
97
- 'lib/internal/blob.js',
98
- 'lib/internal/buffer.js',
99
- 'lib/internal/cli_table.js',
100
- 'lib/internal/histogram.js',
96
+ 'lib/internal/http.js',
97
+ 'lib/internal/idna.js',
98
+ 'lib/internal/js_stream_socket.js',
99
+ 'lib/internal/watchdog.js',
101
100
  'lib/internal/socket_list.js',
102
- 'lib/internal/util.js',
101
+ 'lib/internal/abort_controller.js',
103
102
  'lib/internal/dgram.js',
104
- 'lib/internal/tty.js',
105
- 'lib/internal/v8_prof_polyfill.js',
106
- 'lib/internal/v8_prof_processor.js',
107
- 'lib/internal/watchdog.js',
108
- 'lib/internal/freelist.js',
109
- 'lib/internal/repl.js',
110
103
  'lib/internal/worker.js',
111
- 'lib/internal/abort_controller.js',
112
- 'lib/internal/async_hooks.js',
104
+ 'lib/internal/encoding.js',
105
+ 'lib/internal/error_serdes.js',
106
+ 'lib/internal/errors.js',
107
+ 'lib/internal/freelist.js',
113
108
  'lib/internal/options.js',
109
+ 'lib/internal/repl.js',
110
+ 'lib/internal/cli_table.js',
111
+ 'lib/internal/fixed_queue.js',
112
+ 'lib/internal/stream_base_commons.js',
113
+ 'lib/internal/timers.js',
114
114
  'lib/internal/inspector_async_hook.js',
115
115
  'lib/internal/priority_queue.js',
116
116
  'lib/internal/querystring.js',
117
- 'lib/internal/socketaddress.js',
118
- 'lib/internal/stream_base_commons.js',
119
- 'lib/internal/timers.js',
117
+ 'lib/internal/url.js',
118
+ 'lib/internal/util.js',
119
+ 'lib/internal/v8_prof_processor.js',
120
120
  'lib/internal/blocklist.js',
121
121
  'lib/internal/net.js',
122
- 'lib/internal/js_stream_socket.js',
123
- 'lib/internal/idna.js',
124
122
  'lib/internal/linkedlist.js',
125
- 'lib/internal/validators.js',
126
- 'lib/internal/promise_hooks.js',
127
- 'lib/internal/trace_events_async_hooks.js',
128
- 'lib/internal/error_serdes.js',
129
- 'lib/internal/errors.js',
130
123
  'lib/internal/event_target.js',
131
124
  'lib/internal/freeze_intrinsics.js',
132
- 'lib/internal/url.js',
125
+ 'lib/internal/blob.js',
126
+ 'lib/internal/buffer.js',
127
+ 'lib/internal/child_process.js',
128
+ 'lib/internal/histogram.js',
129
+ 'lib/internal/trace_events_async_hooks.js',
130
+ 'lib/internal/v8_prof_polyfill.js',
131
+ 'lib/internal/validators.js',
132
+ 'lib/internal/promise_hooks.js',
133
133
  'lib/internal/assert/assertion_error.js',
134
134
  'lib/internal/assert/calltracker.js',
135
135
  'lib/internal/bootstrap/environment.js',
@@ -149,6 +149,12 @@
149
149
  'lib/internal/cluster/worker.js',
150
150
  'lib/internal/console/constructor.js',
151
151
  'lib/internal/console/global.js',
152
+ 'lib/internal/crypto/rsa.js',
153
+ 'lib/internal/crypto/scrypt.js',
154
+ 'lib/internal/crypto/sig.js',
155
+ 'lib/internal/crypto/util.js',
156
+ 'lib/internal/crypto/webcrypto.js',
157
+ 'lib/internal/crypto/x509.js',
152
158
  'lib/internal/crypto/aes.js',
153
159
  'lib/internal/crypto/certificate.js',
154
160
  'lib/internal/crypto/cfrg.js',
@@ -163,14 +169,9 @@
163
169
  'lib/internal/crypto/mac.js',
164
170
  'lib/internal/crypto/pbkdf2.js',
165
171
  'lib/internal/crypto/random.js',
166
- 'lib/internal/crypto/rsa.js',
167
- 'lib/internal/crypto/scrypt.js',
168
- 'lib/internal/crypto/sig.js',
169
- 'lib/internal/crypto/util.js',
170
- 'lib/internal/crypto/webcrypto.js',
171
- 'lib/internal/crypto/x509.js',
172
172
  'lib/internal/dns/promises.js',
173
173
  'lib/internal/dns/utils.js',
174
+ 'lib/internal/legacy/processbinding.js',
174
175
  'lib/internal/fs/dir.js',
175
176
  'lib/internal/fs/promises.js',
176
177
  'lib/internal/fs/read_file_context.js',
@@ -186,32 +187,33 @@
186
187
  'lib/internal/http2/util.js',
187
188
  'lib/internal/main/eval_stdin.js',
188
189
  'lib/internal/main/prof_process.js',
189
- 'lib/internal/main/run_main_module.js',
190
190
  'lib/internal/main/repl.js',
191
191
  'lib/internal/main/check_syntax.js',
192
192
  'lib/internal/main/eval_string.js',
193
193
  'lib/internal/main/inspect.js',
194
194
  'lib/internal/main/mksnapshot.js',
195
195
  'lib/internal/main/print_help.js',
196
+ 'lib/internal/main/run_main_module.js',
196
197
  'lib/internal/main/test_runner.js',
197
198
  'lib/internal/main/worker_thread.js',
198
199
  'lib/internal/modules/package_json_reader.js',
199
200
  'lib/internal/modules/run_main.js',
200
201
  'lib/internal/modules/cjs/helpers.js',
201
202
  'lib/internal/modules/cjs/loader.js',
203
+ 'lib/internal/modules/esm/handle_process_exit.js',
204
+ 'lib/internal/modules/esm/initialize_import_meta.js',
202
205
  'lib/internal/modules/esm/create_dynamic_module.js',
203
206
  'lib/internal/modules/esm/load.js',
204
207
  'lib/internal/modules/esm/loader.js',
205
208
  'lib/internal/modules/esm/module_job.js',
206
209
  'lib/internal/modules/esm/module_map.js',
210
+ 'lib/internal/modules/esm/package_config.js',
207
211
  'lib/internal/modules/esm/resolve.js',
208
212
  'lib/internal/modules/esm/translators.js',
209
213
  'lib/internal/modules/esm/assert.js',
210
214
  'lib/internal/modules/esm/fetch_module.js',
211
215
  'lib/internal/modules/esm/formats.js',
212
216
  'lib/internal/modules/esm/get_format.js',
213
- 'lib/internal/modules/esm/handle_process_exit.js',
214
- 'lib/internal/modules/esm/initialize_import_meta.js',
215
217
  'lib/internal/per_context/domexception.js',
216
218
  'lib/internal/per_context/messageport.js',
217
219
  'lib/internal/per_context/primordials.js',
@@ -234,9 +236,15 @@
234
236
  'lib/internal/repl/await.js',
235
237
  'lib/internal/repl/history.js',
236
238
  'lib/internal/repl/utils.js',
237
- 'lib/internal/source_map/source_map_cache.js',
238
239
  'lib/internal/source_map/prepare_stack_trace.js',
239
240
  'lib/internal/source_map/source_map.js',
241
+ 'lib/internal/source_map/source_map_cache.js',
242
+ 'lib/internal/streams/pipeline.js',
243
+ 'lib/internal/streams/readable.js',
244
+ 'lib/internal/streams/state.js',
245
+ 'lib/internal/streams/transform.js',
246
+ 'lib/internal/streams/utils.js',
247
+ 'lib/internal/streams/writable.js',
240
248
  'lib/internal/streams/add-abort-signal.js',
241
249
  'lib/internal/streams/buffer_list.js',
242
250
  'lib/internal/streams/compose.js',
@@ -247,16 +255,19 @@
247
255
  'lib/internal/streams/from.js',
248
256
  'lib/internal/streams/lazy_transform.js',
249
257
  'lib/internal/streams/operators.js',
250
- 'lib/internal/streams/pipeline.js',
251
- 'lib/internal/streams/readable.js',
252
- 'lib/internal/streams/state.js',
253
- 'lib/internal/streams/transform.js',
254
- 'lib/internal/streams/utils.js',
255
- 'lib/internal/streams/writable.js',
256
258
  'lib/internal/streams/legacy.js',
257
259
  'lib/internal/streams/passthrough.js',
258
260
  'lib/internal/test/binding.js',
259
261
  'lib/internal/test/transfer.js',
262
+ 'lib/internal/webstreams/adapters.js',
263
+ 'lib/internal/webstreams/compression.js',
264
+ 'lib/internal/webstreams/encoding.js',
265
+ 'lib/internal/webstreams/queuingstrategies.js',
266
+ 'lib/internal/webstreams/readablestream.js',
267
+ 'lib/internal/webstreams/transfer.js',
268
+ 'lib/internal/webstreams/transformstream.js',
269
+ 'lib/internal/webstreams/util.js',
270
+ 'lib/internal/webstreams/writablestream.js',
260
271
  'lib/internal/util/comparisons.js',
261
272
  'lib/internal/util/debuglog.js',
262
273
  'lib/internal/util/inspect.js',
@@ -265,21 +276,12 @@
265
276
  'lib/internal/util/types.js',
266
277
  'lib/internal/util/parse_args/parse_args.js',
267
278
  'lib/internal/util/parse_args/utils.js',
268
- 'lib/internal/v8/startup_snapshot.js',
269
279
  'lib/internal/vm/module.js',
270
280
  'lib/internal/worker/io.js',
271
281
  'lib/internal/worker/js_transferable.js',
272
- 'lib/internal/test_runner/harness.js',
273
- 'lib/internal/test_runner/tap_stream.js',
274
- 'lib/internal/test_runner/test.js',
275
- 'lib/internal/test_runner/utils.js',
276
- 'lib/internal/tls/parse-cert-string.js',
277
- 'lib/internal/tls/secure-context.js',
278
- 'lib/internal/tls/secure-pair.js',
279
282
  'lib/internal/debugger/inspect.js',
280
283
  'lib/internal/debugger/inspect_client.js',
281
284
  'lib/internal/debugger/inspect_repl.js',
282
- 'lib/internal/legacy/processbinding.js',
283
285
  'lib/internal/perf/event_loop_delay.js',
284
286
  'lib/internal/perf/event_loop_utilization.js',
285
287
  'lib/internal/perf/nodetiming.js',
@@ -290,20 +292,20 @@
290
292
  'lib/internal/perf/timerify.js',
291
293
  'lib/internal/perf/usertiming.js',
292
294
  'lib/internal/perf/utils.js',
293
- 'lib/internal/webstreams/adapters.js',
294
- 'lib/internal/webstreams/compression.js',
295
- 'lib/internal/webstreams/encoding.js',
296
- 'lib/internal/webstreams/queuingstrategies.js',
297
- 'lib/internal/webstreams/readablestream.js',
298
- 'lib/internal/webstreams/transfer.js',
299
- 'lib/internal/webstreams/transformstream.js',
300
- 'lib/internal/webstreams/util.js',
301
- 'lib/internal/webstreams/writablestream.js',
295
+ 'lib/internal/test_runner/harness.js',
296
+ 'lib/internal/test_runner/tap_stream.js',
297
+ 'lib/internal/test_runner/test.js',
298
+ 'lib/internal/test_runner/utils.js',
299
+ 'lib/internal/tls/parse-cert-string.js',
300
+ 'lib/internal/tls/secure-context.js',
301
+ 'lib/internal/tls/secure-pair.js',
302
+ 'lib/internal/v8/startup_snapshot.js',
302
303
  'lib/fs/promises.js',
303
- 'lib/dns/promises.js',
304
- 'lib/timers/promises.js',
305
304
  'lib/assert/strict.js',
306
- 'lib/util/types.js',
305
+ 'lib/stream/consumers.js',
306
+ 'lib/stream/promises.js',
307
+ 'lib/stream/web.js',
308
+ 'lib/timers/promises.js',
307
309
  'lib/path/posix.js',
308
310
  'lib/path/win32.js'],
309
311
  'node_module_version': 93,
@@ -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. */
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 16
26
- #define NODE_MINOR_VERSION 17
26
+ #define NODE_MINOR_VERSION 18
27
27
  #define NODE_PATCH_VERSION 1
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-x64",
3
- "version": "v16.17.1",
3
+ "version": "v16.18.1",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -429,6 +429,7 @@ favour of TLSv1.3, which is more secure.
429
429
  Print short summaries of calls to
430
430
  .Sy Atomics.wait() .
431
431
  .
432
+ This flag is deprecated.
432
433
  .It Fl -trace-deprecation
433
434
  Print stack traces for deprecations.
434
435
  .
@@ -645,6 +646,7 @@ instead of printing to stderr.
645
646
  Equivalent to passing
646
647
  .Fl -redirect-warnings Ar file
647
648
  on the command line.
649
+ .
648
650
  .It Ev NODE_REPL_HISTORY Ar file
649
651
  Path to the
650
652
  .Ar file
@@ -654,6 +656,10 @@ The default path is
654
656
  which is overridden by this variable.
655
657
  Setting the value to an empty string ("" or " ") will disable persistent REPL history.
656
658
  .
659
+ .It Ev NODE_REPL_EXTERNAL_MODULE Ar file
660
+ Path to a Node.js module which will be loaded in place of the built-in REPL.
661
+ Overriding this value to an empty string (`''`) will use the built-in REPL.
662
+ .
657
663
  .It Ev NODE_SKIP_PLATFORM_CHECK
658
664
  When set to
659
665
  .Ar 1 ,
@@ -689,6 +695,9 @@ If
689
695
  .Fl -use-openssl-ca
690
696
  is enabled, this overrides and sets OpenSSL's file containing trusted certificates.
691
697
  .
698
+ .It Ev TZ
699
+ Specify the timezone configuration.
700
+ .
692
701
  .It Ev UV_THREADPOOL_SIZE Ar size
693
702
  Sets the number of threads used in libuv's threadpool to
694
703
  .Ar size .