node-bin-darwin-arm64 16.4.2 → 16.6.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/README.md CHANGED
@@ -144,7 +144,7 @@ For information on reporting security vulnerabilities in Node.js, see
144
144
 
145
145
  * [Contributing to the project][]
146
146
  * [Working Groups][]
147
- * [Strategic Initiatives][]
147
+ * [Strategic initiatives][]
148
148
  * [Technical values and prioritization][]
149
149
 
150
150
  ## Current project team members
@@ -200,6 +200,10 @@ For information about the governance of the Node.js project, see
200
200
  * [Trott](https://github.com/Trott) -
201
201
  **Rich Trott** <rtrott@gmail.com> (he/him)
202
202
 
203
+ <details>
204
+
205
+ <summary>Emeriti</summary>
206
+
203
207
  ### TSC emeriti
204
208
 
205
209
  * [addaleax](https://github.com/addaleax) -
@@ -215,7 +219,7 @@ For information about the governance of the Node.js project, see
215
219
  * [gibfahn](https://github.com/gibfahn) -
216
220
  **Gibson Fahnestock** &lt;gibfahn@gmail.com&gt; (he/him)
217
221
  * [indutny](https://github.com/indutny) -
218
- **Fedor Indutny** &lt;fedor.indutny@gmail.com&gt;
222
+ **Fedor Indutny** &lt;fedor@indutny.com&gt;
219
223
  * [isaacs](https://github.com/isaacs) -
220
224
  **Isaac Z. Schlueter** &lt;i@izs.me&gt;
221
225
  * [joshgav](https://github.com/joshgav) -
@@ -243,6 +247,8 @@ For information about the governance of the Node.js project, see
243
247
  * [trevnorris](https://github.com/trevnorris) -
244
248
  **Trevor Norris** &lt;trev.norris@gmail.com&gt;
245
249
 
250
+ </details>
251
+
246
252
  ### Collaborators
247
253
 
248
254
  * [addaleax](https://github.com/addaleax) -
@@ -251,8 +257,6 @@ For information about the governance of the Node.js project, see
251
257
  **Antoine du Hamel** &lt;duhamelantoine1995@gmail.com&gt; (he/him)
252
258
  * [ak239](https://github.com/ak239) -
253
259
  **Aleksei Koziatinskii** &lt;ak239spb@gmail.com&gt;
254
- * [AndreasMadsen](https://github.com/AndreasMadsen) -
255
- **Andreas Madsen** &lt;amwebdk@gmail.com&gt; (he/him)
256
260
  * [antsmartian](https://github.com/antsmartian) -
257
261
  **Anto Aravinth** &lt;anto.aravinth.cse@gmail.com&gt; (he/him)
258
262
  * [apapirovski](https://github.com/apapirovski) -
@@ -316,7 +320,7 @@ For information about the governance of the Node.js project, see
316
320
  * [gabrielschulhof](https://github.com/gabrielschulhof) -
317
321
  **Gabriel Schulhof** &lt;gabrielschulhof@gmail.com&gt;
318
322
  * [gdams](https://github.com/gdams) -
319
- **George Adams** &lt;george.adams@uk.ibm.com&gt; (he/him)
323
+ **George Adams** &lt;george.adams@microsoft.com&gt; (he/him)
320
324
  * [geek](https://github.com/geek) -
321
325
  **Wyatt Preul** &lt;wpreul@gmail.com&gt;
322
326
  * [gengjiawen](https://github.com/gengjiawen) -
@@ -338,13 +342,11 @@ For information about the governance of the Node.js project, see
338
342
  * [iansu](https://github.com/iansu) -
339
343
  **Ian Sutherland** &lt;ian@iansutherland.ca&gt;
340
344
  * [indutny](https://github.com/indutny) -
341
- **Fedor Indutny** &lt;fedor.indutny@gmail.com&gt;
345
+ **Fedor Indutny** &lt;fedor@indutny.com&gt;
342
346
  * [JacksonTian](https://github.com/JacksonTian) -
343
347
  **Jackson Tian** &lt;shyvo1987@gmail.com&gt;
344
348
  * [jasnell](https://github.com/jasnell) -
345
349
  **James M Snell** &lt;jasnell@gmail.com&gt; (he/him)
346
- * [jdalton](https://github.com/jdalton) -
347
- **John-David Dalton** &lt;john.david.dalton@gmail.com&gt;
348
350
  * [jkrems](https://github.com/jkrems) -
349
351
  **Jan Krems** &lt;jan.krems@gmail.com&gt; (he/him)
350
352
  * [joaocgreis](https://github.com/joaocgreis) -
@@ -355,8 +357,6 @@ For information about the governance of the Node.js project, see
355
357
  **Juan José Arboleda** &lt;soyjuanarbol@gmail.com&gt; (he/him)
356
358
  * [JungMinu](https://github.com/JungMinu) -
357
359
  **Minwoo Jung** &lt;nodecorelab@gmail.com&gt; (he/him)
358
- * [lance](https://github.com/lance) -
359
- **Lance Ball** &lt;lball@redhat.com&gt; (he/him)
360
360
  * [legendecas](https://github.com/legendecas) -
361
361
  **Chengzhong Wu** &lt;legendecas@gmail.com&gt; (he/him)
362
362
  * [Leko](https://github.com/Leko) -
@@ -380,15 +380,13 @@ For information about the governance of the Node.js project, see
380
380
  * [mildsunrise](https://github.com/mildsunrise) -
381
381
  **Alba Mendez** &lt;me@alba.sh&gt; (she/her)
382
382
  * [misterdjules](https://github.com/misterdjules) -
383
- **Julien Gilli** &lt;jgilli@nodejs.org&gt;
383
+ **Julien Gilli** &lt;jgilli@netflix.com&gt;
384
384
  * [mmarchini](https://github.com/mmarchini) -
385
385
  **Mary Marchini** &lt;oss@mmarchini.me&gt; (she/her)
386
386
  * [mscdex](https://github.com/mscdex) -
387
387
  **Brian White** &lt;mscdex@mscdex.net&gt;
388
388
  * [MylesBorins](https://github.com/MylesBorins) -
389
389
  **Myles Borins** &lt;myles.borins@gmail.com&gt; (he/him)
390
- * [ofrobots](https://github.com/ofrobots) -
391
- **Ali Ijaz Sheikh** &lt;ofrobots@google.com&gt; (he/him)
392
390
  * [oyyd](https://github.com/oyyd) -
393
391
  **Ouyang Yadong** &lt;oyydoibh@gmail.com&gt; (he/him)
394
392
  * [panva](https://github.com/panva) -
@@ -411,8 +409,6 @@ For information about the governance of the Node.js project, see
411
409
  **Ricky Zhou** &lt;0x19951125@gmail.com&gt; (he/him)
412
410
  * [ronag](https://github.com/ronag) -
413
411
  **Robert Nagy** &lt;ronagy@icloud.com&gt;
414
- * [rubys](https://github.com/rubys) -
415
- **Sam Ruby** &lt;rubys@intertwingly.net&gt;
416
412
  * [ruyadorno](https://github.com/ruyadorno) -
417
413
  **Ruy Adorno** &lt;ruyadorno@github.com&gt; (he/him)
418
414
  * [rvagg](https://github.com/rvagg) -
@@ -420,7 +416,7 @@ For information about the governance of the Node.js project, see
420
416
  * [ryzokuken](https://github.com/ryzokuken) -
421
417
  **Ujjwal Sharma** &lt;ryzokuken@disroot.org&gt; (he/him)
422
418
  * [saghul](https://github.com/saghul) -
423
- **Saúl Ibarra Corretgé** &lt;saghul@gmail.com&gt;
419
+ **Saúl Ibarra Corretgé** &lt;s@saghul.net&gt;
424
420
  * [santigimeno](https://github.com/santigimeno) -
425
421
  **Santiago Gimeno** &lt;santiago.gimeno@gmail.com&gt;
426
422
  * [seishun](https://github.com/seishun) -
@@ -464,12 +460,18 @@ For information about the governance of the Node.js project, see
464
460
  * [ZYSzys](https://github.com/ZYSzys) -
465
461
  **Yongsheng Zhang** &lt;zyszys98@gmail.com&gt; (he/him)
466
462
 
463
+ <details>
464
+
465
+ <summary>Emeriti</summary>
466
+
467
467
  ### Collaborator emeriti
468
468
 
469
469
  * [andrasq](https://github.com/andrasq) -
470
470
  **Andras** &lt;andras@kinvey.com&gt;
471
471
  * [AnnaMag](https://github.com/AnnaMag) -
472
472
  **Anna M. Kedzierska** &lt;anna.m.kedzierska@gmail.com&gt;
473
+ * [AndreasMadsen](https://github.com/AndreasMadsen) -
474
+ **Andreas Madsen** &lt;amwebdk@gmail.com&gt; (he/him)
473
475
  * [aqrln](https://github.com/aqrln) -
474
476
  **Alexey Orlenko** &lt;eaglexrlnk@gmail.com&gt; (he/him)
475
477
  * [bnoordhuis](https://github.com/bnoordhuis) -
@@ -510,6 +512,8 @@ For information about the governance of the Node.js project, see
510
512
  **Jason Ginchereau** &lt;jasongin@microsoft.com&gt;
511
513
  * [jbergstroem](https://github.com/jbergstroem) -
512
514
  **Johan Bergström** &lt;bugs@bergstroem.nu&gt;
515
+ * [jdalton](https://github.com/jdalton) -
516
+ **John-David Dalton** &lt;john.david.dalton@gmail.com&gt;
513
517
  * [jhamhader](https://github.com/jhamhader) -
514
518
  **Yuval Brik** &lt;yuval@brik.org.il&gt;
515
519
  * [joshgav](https://github.com/joshgav) -
@@ -520,6 +524,8 @@ For information about the governance of the Node.js project, see
520
524
  **Kyle Farnung** &lt;kfarnung@microsoft.com&gt; (he/him)
521
525
  * [kunalspathak](https://github.com/kunalspathak) -
522
526
  **Kunal Pathak** &lt;kunal.pathak@microsoft.com&gt;
527
+ * [lance](https://github.com/lance) -
528
+ **Lance Ball** &lt;lball@redhat.com&gt; (he/him)
523
529
  * [lucamaraschi](https://github.com/lucamaraschi) -
524
530
  **Luca Maraschi** &lt;luca.maraschi@gmail.com&gt; (he/him)
525
531
  * [lxe](https://github.com/lxe) -
@@ -538,6 +544,8 @@ For information about the governance of the Node.js project, see
538
544
  **Chen Gang** &lt;gangc.cxy@foxmail.com&gt;
539
545
  * [not-an-aardvark](https://github.com/not-an-aardvark) -
540
546
  **Teddy Katz** &lt;teddy.katz@gmail.com&gt; (he/him)
547
+ * [ofrobots](https://github.com/ofrobots) -
548
+ **Ali Ijaz Sheikh** &lt;ofrobots@google.com&gt; (he/him)
541
549
  * [Olegas](https://github.com/Olegas) -
542
550
  **Oleg Elifantiev** &lt;oleg@elifantiev.ru&gt;
543
551
  * [orangemocha](https://github.com/orangemocha) -
@@ -568,6 +576,8 @@ For information about the governance of the Node.js project, see
568
576
  **Ron Korving** &lt;ron@ronkorving.nl&gt;
569
577
  * [RReverser](https://github.com/RReverser) -
570
578
  **Ingvar Stepanyan** &lt;me@rreverser.com&gt;
579
+ * [rubys](https://github.com/rubys) -
580
+ **Sam Ruby** &lt;rubys@intertwingly.net&gt;
571
581
  * [sam-github](https://github.com/sam-github) -
572
582
  **Sam Roberts** &lt;vieuxtech@gmail.com&gt;
573
583
  * [sebdeckers](https://github.com/sebdeckers) -
@@ -592,6 +602,8 @@ For information about the governance of the Node.js project, see
592
602
  **Vse Mozhet Byt** &lt;vsemozhetbyt@gmail.com&gt; (he/him)
593
603
  * [whitlockjc](https://github.com/whitlockjc) -
594
604
  **Jeremy Whitlock** &lt;jwhitlock@apache.org&gt;
605
+
606
+ </details>
595
607
  <!--lint enable prohibited-strings-->
596
608
 
597
609
  Collaborators follow the [Collaborator Guide](./doc/guides/collaborator-guide.md) in
@@ -655,7 +667,9 @@ gpg --keyserver pool.sks-keyservers.net --recv-keys B9E2F5981AA6E0CD28160D9FF139
655
667
  See the section above on [Verifying Binaries](#verifying-binaries) for how to
656
668
  use these keys to verify a downloaded file.
657
669
 
658
- Other keys used to sign some previous releases:
670
+ <details>
671
+
672
+ <summary>Other keys used to sign some previous releases</summary>
659
673
 
660
674
  * **Chris Dickinson** &lt;christopher.s.dickinson@gmail.com&gt;
661
675
  `9554F04D7259F04124DE6B476D5A82AC7E37093B`
@@ -676,6 +690,8 @@ Other keys used to sign some previous releases:
676
690
  * **Timothy J Fontaine** &lt;tjfontaine@gmail.com&gt;
677
691
  `7937DFD2AB06298B2293C3187D33FF9D0246406D`
678
692
 
693
+ </details>
694
+
679
695
  ## License
680
696
 
681
697
  Node.js is available under the
@@ -688,6 +704,6 @@ license text.
688
704
  [Contributing to the project]: CONTRIBUTING.md
689
705
  [Node.js Website]: https://nodejs.org/
690
706
  [OpenJS Foundation]: https://openjsf.org/
691
- [Strategic Initiatives]: https://github.com/nodejs/TSC/blob/HEAD/Strategic-Initiatives.md
707
+ [Strategic initiatives]: doc/guides/strategic-initiatives.md
692
708
  [Technical values and prioritization]: doc/guides/technical-values.md
693
709
  [Working Groups]: https://github.com/nodejs/TSC/blob/HEAD/WORKING_GROUPS.md
package/bin/node CHANGED
Binary file
@@ -36,7 +36,7 @@
36
36
 
37
37
  # Reset this number to 0 on major V8 upgrades.
38
38
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.14',
39
+ 'v8_embedder_string': '-node.18',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -28,6 +28,261 @@
28
28
  'node_debug_lib': 'false',
29
29
  'node_enable_d8': 'false',
30
30
  'node_install_npm': 'true',
31
+ 'node_library_files': [ 'lib/constants.js',
32
+ 'lib/net.js',
33
+ 'lib/trace_events.js',
34
+ 'lib/events.js',
35
+ 'lib/repl.js',
36
+ 'lib/util.js',
37
+ 'lib/dgram.js',
38
+ 'lib/vm.js',
39
+ 'lib/stream.js',
40
+ 'lib/child_process.js',
41
+ 'lib/assert.js',
42
+ 'lib/_tls_wrap.js',
43
+ 'lib/http2.js',
44
+ 'lib/inspector.js',
45
+ 'lib/os.js',
46
+ 'lib/_http_server.js',
47
+ 'lib/console.js',
48
+ 'lib/perf_hooks.js',
49
+ 'lib/readline.js',
50
+ 'lib/punycode.js',
51
+ 'lib/_http_incoming.js',
52
+ 'lib/https.js',
53
+ 'lib/_stream_wrap.js',
54
+ 'lib/domain.js',
55
+ 'lib/dns.js',
56
+ 'lib/_http_client.js',
57
+ 'lib/diagnostics_channel.js',
58
+ 'lib/tty.js',
59
+ 'lib/_http_agent.js',
60
+ 'lib/timers.js',
61
+ 'lib/_http_outgoing.js',
62
+ 'lib/querystring.js',
63
+ 'lib/_tls_common.js',
64
+ 'lib/module.js',
65
+ 'lib/_stream_passthrough.js',
66
+ 'lib/_stream_transform.js',
67
+ 'lib/worker_threads.js',
68
+ 'lib/sys.js',
69
+ 'lib/_stream_duplex.js',
70
+ 'lib/path.js',
71
+ 'lib/_http_common.js',
72
+ 'lib/string_decoder.js',
73
+ 'lib/cluster.js',
74
+ 'lib/v8.js',
75
+ 'lib/crypto.js',
76
+ 'lib/wasi.js',
77
+ 'lib/_stream_readable.js',
78
+ 'lib/zlib.js',
79
+ 'lib/url.js',
80
+ 'lib/tls.js',
81
+ 'lib/_stream_writable.js',
82
+ 'lib/async_hooks.js',
83
+ 'lib/process.js',
84
+ 'lib/http.js',
85
+ 'lib/buffer.js',
86
+ 'lib/fs.js',
87
+ 'lib/util/types.js',
88
+ 'lib/timers/promises.js',
89
+ 'lib/path/win32.js',
90
+ 'lib/path/posix.js',
91
+ 'lib/stream/promises.js',
92
+ 'lib/stream/web.js',
93
+ 'lib/internal/constants.js',
94
+ 'lib/internal/abort_controller.js',
95
+ 'lib/internal/net.js',
96
+ 'lib/internal/v8_prof_processor.js',
97
+ 'lib/internal/event_target.js',
98
+ 'lib/internal/inspector_async_hook.js',
99
+ 'lib/internal/validators.js',
100
+ 'lib/internal/linkedlist.js',
101
+ 'lib/internal/cli_table.js',
102
+ 'lib/internal/repl.js',
103
+ 'lib/internal/util.js',
104
+ 'lib/internal/histogram.js',
105
+ 'lib/internal/error_serdes.js',
106
+ 'lib/internal/dgram.js',
107
+ 'lib/internal/child_process.js',
108
+ 'lib/internal/assert.js',
109
+ 'lib/internal/fixed_queue.js',
110
+ 'lib/internal/blocklist.js',
111
+ 'lib/internal/v8_prof_polyfill.js',
112
+ 'lib/internal/options.js',
113
+ 'lib/internal/worker.js',
114
+ 'lib/internal/dtrace.js',
115
+ 'lib/internal/idna.js',
116
+ 'lib/internal/watchdog.js',
117
+ 'lib/internal/encoding.js',
118
+ 'lib/internal/tty.js',
119
+ 'lib/internal/freeze_intrinsics.js',
120
+ 'lib/internal/timers.js',
121
+ 'lib/internal/heap_utils.js',
122
+ 'lib/internal/querystring.js',
123
+ 'lib/internal/js_stream_socket.js',
124
+ 'lib/internal/errors.js',
125
+ 'lib/internal/priority_queue.js',
126
+ 'lib/internal/freelist.js',
127
+ 'lib/internal/blob.js',
128
+ 'lib/internal/socket_list.js',
129
+ 'lib/internal/socketaddress.js',
130
+ 'lib/internal/stream_base_commons.js',
131
+ 'lib/internal/url.js',
132
+ 'lib/internal/async_hooks.js',
133
+ 'lib/internal/http.js',
134
+ 'lib/internal/buffer.js',
135
+ 'lib/internal/trace_events_async_hooks.js',
136
+ 'lib/internal/crypto/sig.js',
137
+ 'lib/internal/crypto/rsa.js',
138
+ 'lib/internal/crypto/aes.js',
139
+ 'lib/internal/crypto/util.js',
140
+ 'lib/internal/crypto/scrypt.js',
141
+ 'lib/internal/crypto/random.js',
142
+ 'lib/internal/crypto/keys.js',
143
+ 'lib/internal/crypto/x509.js',
144
+ 'lib/internal/crypto/certificate.js',
145
+ 'lib/internal/crypto/ec.js',
146
+ 'lib/internal/crypto/keygen.js',
147
+ 'lib/internal/crypto/mac.js',
148
+ 'lib/internal/crypto/diffiehellman.js',
149
+ 'lib/internal/crypto/hkdf.js',
150
+ 'lib/internal/crypto/cipher.js',
151
+ 'lib/internal/crypto/hash.js',
152
+ 'lib/internal/crypto/pbkdf2.js',
153
+ 'lib/internal/crypto/webcrypto.js',
154
+ 'lib/internal/crypto/dsa.js',
155
+ 'lib/internal/crypto/hashnames.js',
156
+ 'lib/internal/cluster/shared_handle.js',
157
+ 'lib/internal/cluster/round_robin_handle.js',
158
+ 'lib/internal/cluster/worker.js',
159
+ 'lib/internal/cluster/primary.js',
160
+ 'lib/internal/cluster/utils.js',
161
+ 'lib/internal/cluster/child.js',
162
+ 'lib/internal/webstreams/util.js',
163
+ 'lib/internal/webstreams/writablestream.js',
164
+ 'lib/internal/webstreams/readablestream.js',
165
+ 'lib/internal/webstreams/queuingstrategies.js',
166
+ 'lib/internal/webstreams/encoding.js',
167
+ 'lib/internal/webstreams/transformstream.js',
168
+ 'lib/internal/webstreams/transfer.js',
169
+ 'lib/internal/bootstrap/loaders.js',
170
+ 'lib/internal/bootstrap/pre_execution.js',
171
+ 'lib/internal/bootstrap/node.js',
172
+ 'lib/internal/bootstrap/environment.js',
173
+ 'lib/internal/bootstrap/switches/does_not_own_process_state.js',
174
+ 'lib/internal/bootstrap/switches/is_not_main_thread.js',
175
+ 'lib/internal/bootstrap/switches/does_own_process_state.js',
176
+ 'lib/internal/bootstrap/switches/is_main_thread.js',
177
+ 'lib/internal/test/binding.js',
178
+ 'lib/internal/test/transfer.js',
179
+ 'lib/internal/util/types.js',
180
+ 'lib/internal/util/inspector.js',
181
+ 'lib/internal/util/comparisons.js',
182
+ 'lib/internal/util/debuglog.js',
183
+ 'lib/internal/util/inspect.js',
184
+ 'lib/internal/util/iterable_weak_map.js',
185
+ 'lib/internal/streams/add-abort-signal.js',
186
+ 'lib/internal/streams/destroy.js',
187
+ 'lib/internal/streams/legacy.js',
188
+ 'lib/internal/streams/passthrough.js',
189
+ 'lib/internal/streams/readable.js',
190
+ 'lib/internal/streams/from.js',
191
+ 'lib/internal/streams/writable.js',
192
+ 'lib/internal/streams/state.js',
193
+ 'lib/internal/streams/buffer_list.js',
194
+ 'lib/internal/streams/end-of-stream.js',
195
+ 'lib/internal/streams/utils.js',
196
+ 'lib/internal/streams/transform.js',
197
+ 'lib/internal/streams/lazy_transform.js',
198
+ 'lib/internal/streams/duplex.js',
199
+ 'lib/internal/streams/pipeline.js',
200
+ 'lib/internal/readline/utils.js',
201
+ 'lib/internal/readline/emitKeypressEvents.js',
202
+ 'lib/internal/readline/callbacks.js',
203
+ 'lib/internal/repl/history.js',
204
+ 'lib/internal/repl/utils.js',
205
+ 'lib/internal/repl/await.js',
206
+ 'lib/internal/legacy/processbinding.js',
207
+ 'lib/internal/assert/calltracker.js',
208
+ 'lib/internal/assert/assertion_error.js',
209
+ 'lib/internal/http2/util.js',
210
+ 'lib/internal/http2/core.js',
211
+ 'lib/internal/http2/compat.js',
212
+ 'lib/internal/per_context/messageport.js',
213
+ 'lib/internal/per_context/primordials.js',
214
+ 'lib/internal/per_context/domexception.js',
215
+ 'lib/internal/vm/module.js',
216
+ 'lib/internal/tls/secure-pair.js',
217
+ 'lib/internal/tls/parse-cert-string.js',
218
+ 'lib/internal/tls/secure-context.js',
219
+ 'lib/internal/child_process/serialization.js',
220
+ 'lib/internal/debugger/inspect_repl.js',
221
+ 'lib/internal/debugger/inspect_client.js',
222
+ 'lib/internal/debugger/inspect.js',
223
+ 'lib/internal/worker/io.js',
224
+ 'lib/internal/worker/js_transferable.js',
225
+ 'lib/internal/main/repl.js',
226
+ 'lib/internal/main/print_help.js',
227
+ 'lib/internal/main/eval_string.js',
228
+ 'lib/internal/main/check_syntax.js',
229
+ 'lib/internal/main/prof_process.js',
230
+ 'lib/internal/main/worker_thread.js',
231
+ 'lib/internal/main/inspect.js',
232
+ 'lib/internal/main/eval_stdin.js',
233
+ 'lib/internal/main/run_main_module.js',
234
+ 'lib/internal/modules/run_main.js',
235
+ 'lib/internal/modules/package_json_reader.js',
236
+ 'lib/internal/modules/esm/module_job.js',
237
+ 'lib/internal/modules/esm/get_source.js',
238
+ 'lib/internal/modules/esm/translators.js',
239
+ 'lib/internal/modules/esm/resolve.js',
240
+ 'lib/internal/modules/esm/create_dynamic_module.js',
241
+ 'lib/internal/modules/esm/module_map.js',
242
+ 'lib/internal/modules/esm/get_format.js',
243
+ 'lib/internal/modules/esm/transform_source.js',
244
+ 'lib/internal/modules/esm/loader.js',
245
+ 'lib/internal/modules/cjs/helpers.js',
246
+ 'lib/internal/modules/cjs/loader.js',
247
+ 'lib/internal/source_map/source_map.js',
248
+ 'lib/internal/source_map/prepare_stack_trace.js',
249
+ 'lib/internal/source_map/source_map_cache.js',
250
+ 'lib/internal/dns/promises.js',
251
+ 'lib/internal/dns/utils.js',
252
+ 'lib/internal/fs/watchers.js',
253
+ 'lib/internal/fs/promises.js',
254
+ 'lib/internal/fs/read_file_context.js',
255
+ 'lib/internal/fs/rimraf.js',
256
+ 'lib/internal/fs/sync_write_stream.js',
257
+ 'lib/internal/fs/dir.js',
258
+ 'lib/internal/fs/streams.js',
259
+ 'lib/internal/fs/utils.js',
260
+ 'lib/internal/perf/nodetiming.js',
261
+ 'lib/internal/perf/usertiming.js',
262
+ 'lib/internal/perf/performance_entry.js',
263
+ 'lib/internal/perf/performance.js',
264
+ 'lib/internal/perf/timerify.js',
265
+ 'lib/internal/perf/utils.js',
266
+ 'lib/internal/perf/observe.js',
267
+ 'lib/internal/perf/event_loop_delay.js',
268
+ 'lib/internal/perf/event_loop_utilization.js',
269
+ 'lib/internal/policy/manifest.js',
270
+ 'lib/internal/policy/sri.js',
271
+ 'lib/internal/process/task_queues.js',
272
+ 'lib/internal/process/per_thread.js',
273
+ 'lib/internal/process/warning.js',
274
+ 'lib/internal/process/policy.js',
275
+ 'lib/internal/process/promises.js',
276
+ 'lib/internal/process/signal.js',
277
+ 'lib/internal/process/execution.js',
278
+ 'lib/internal/process/esm_loader.js',
279
+ 'lib/internal/process/report.js',
280
+ 'lib/internal/process/worker_thread_only.js',
281
+ 'lib/internal/console/constructor.js',
282
+ 'lib/internal/console/global.js',
283
+ 'lib/assert/strict.js',
284
+ 'lib/dns/promises.js',
285
+ 'lib/fs/promises.js'],
31
286
  'node_module_version': 93,
32
287
  'node_no_browser_globals': 'false',
33
288
  'node_prefix': '/',
@@ -0,0 +1,29 @@
1
+ // Copyright 2016 the V8 project authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ #ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
6
+ #define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
7
+
8
+ #if defined(_WIN32)
9
+
10
+ #ifdef BUILDING_V8_PLATFORM_SHARED
11
+ #define V8_PLATFORM_EXPORT __declspec(dllexport)
12
+ #elif USING_V8_PLATFORM_SHARED
13
+ #define V8_PLATFORM_EXPORT __declspec(dllimport)
14
+ #else
15
+ #define V8_PLATFORM_EXPORT
16
+ #endif // BUILDING_V8_PLATFORM_SHARED
17
+
18
+ #else // defined(_WIN32)
19
+
20
+ // Setup for Linux shared library export.
21
+ #ifdef BUILDING_V8_PLATFORM_SHARED
22
+ #define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
23
+ #else
24
+ #define V8_PLATFORM_EXPORT
25
+ #endif
26
+
27
+ #endif // defined(_WIN32)
28
+
29
+ #endif // V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
@@ -0,0 +1,117 @@
1
+ // Copyright 2014 the V8 project authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_
6
+ #define V8_LIBPLATFORM_LIBPLATFORM_H_
7
+
8
+ #include <memory>
9
+
10
+ #include "libplatform/libplatform-export.h"
11
+ #include "libplatform/v8-tracing.h"
12
+ #include "v8-platform.h" // NOLINT(build/include_directory)
13
+ #include "v8config.h" // NOLINT(build/include_directory)
14
+
15
+ namespace v8 {
16
+ namespace platform {
17
+
18
+ enum class IdleTaskSupport { kDisabled, kEnabled };
19
+ enum class InProcessStackDumping { kDisabled, kEnabled };
20
+
21
+ enum class MessageLoopBehavior : bool {
22
+ kDoNotWait = false,
23
+ kWaitForWork = true
24
+ };
25
+
26
+ /**
27
+ * Returns a new instance of the default v8::Platform implementation.
28
+ *
29
+ * The caller will take ownership of the returned pointer. |thread_pool_size|
30
+ * is the number of worker threads to allocate for background jobs. If a value
31
+ * of zero is passed, a suitable default based on the current number of
32
+ * processors online will be chosen.
33
+ * If |idle_task_support| is enabled then the platform will accept idle
34
+ * tasks (IdleTasksEnabled will return true) and will rely on the embedder
35
+ * calling v8::platform::RunIdleTasks to process the idle tasks.
36
+ * If |tracing_controller| is nullptr, the default platform will create a
37
+ * v8::platform::TracingController instance and use it.
38
+ */
39
+ V8_PLATFORM_EXPORT std::unique_ptr<v8::Platform> NewDefaultPlatform(
40
+ int thread_pool_size = 0,
41
+ IdleTaskSupport idle_task_support = IdleTaskSupport::kDisabled,
42
+ InProcessStackDumping in_process_stack_dumping =
43
+ InProcessStackDumping::kDisabled,
44
+ std::unique_ptr<v8::TracingController> tracing_controller = {});
45
+
46
+ /**
47
+ * The same as NewDefaultPlatform but disables the worker thread pool.
48
+ * It must be used with the --single-threaded V8 flag.
49
+ */
50
+ V8_PLATFORM_EXPORT std::unique_ptr<v8::Platform>
51
+ NewSingleThreadedDefaultPlatform(
52
+ IdleTaskSupport idle_task_support = IdleTaskSupport::kDisabled,
53
+ InProcessStackDumping in_process_stack_dumping =
54
+ InProcessStackDumping::kDisabled,
55
+ std::unique_ptr<v8::TracingController> tracing_controller = {});
56
+
57
+ /**
58
+ * Returns a new instance of the default v8::JobHandle implementation.
59
+ *
60
+ * The job will be executed by spawning up to |num_worker_threads| many worker
61
+ * threads on the provided |platform| with the given |priority|.
62
+ */
63
+ V8_PLATFORM_EXPORT std::unique_ptr<v8::JobHandle> NewDefaultJobHandle(
64
+ v8::Platform* platform, v8::TaskPriority priority,
65
+ std::unique_ptr<v8::JobTask> job_task, size_t num_worker_threads);
66
+
67
+ /**
68
+ * Pumps the message loop for the given isolate.
69
+ *
70
+ * The caller has to make sure that this is called from the right thread.
71
+ * Returns true if a task was executed, and false otherwise. If the call to
72
+ * PumpMessageLoop is nested within another call to PumpMessageLoop, only
73
+ * nestable tasks may run. Otherwise, any task may run. Unless requested through
74
+ * the |behavior| parameter, this call does not block if no task is pending. The
75
+ * |platform| has to be created using |NewDefaultPlatform|.
76
+ */
77
+ V8_PLATFORM_EXPORT bool PumpMessageLoop(
78
+ v8::Platform* platform, v8::Isolate* isolate,
79
+ MessageLoopBehavior behavior = MessageLoopBehavior::kDoNotWait);
80
+
81
+ /**
82
+ * Runs pending idle tasks for at most |idle_time_in_seconds| seconds.
83
+ *
84
+ * The caller has to make sure that this is called from the right thread.
85
+ * This call does not block if no task is pending. The |platform| has to be
86
+ * created using |NewDefaultPlatform|.
87
+ */
88
+ V8_PLATFORM_EXPORT void RunIdleTasks(v8::Platform* platform,
89
+ v8::Isolate* isolate,
90
+ double idle_time_in_seconds);
91
+
92
+ /**
93
+ * Attempts to set the tracing controller for the given platform.
94
+ *
95
+ * The |platform| has to be created using |NewDefaultPlatform|.
96
+ *
97
+ */
98
+ V8_DEPRECATE_SOON("Access the DefaultPlatform directly")
99
+ V8_PLATFORM_EXPORT void SetTracingController(
100
+ v8::Platform* platform,
101
+ v8::platform::tracing::TracingController* tracing_controller);
102
+
103
+ /**
104
+ * Notifies the given platform about the Isolate getting deleted soon. Has to be
105
+ * called for all Isolates which are deleted - unless we're shutting down the
106
+ * platform.
107
+ *
108
+ * The |platform| has to be created using |NewDefaultPlatform|.
109
+ *
110
+ */
111
+ V8_PLATFORM_EXPORT void NotifyIsolateShutdown(v8::Platform* platform,
112
+ Isolate* isolate);
113
+
114
+ } // namespace platform
115
+ } // namespace v8
116
+
117
+ #endif // V8_LIBPLATFORM_LIBPLATFORM_H_