node-linux-arm64 14.17.6 → 14.18.3
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 +592 -0
- package/LICENSE +2 -25
- package/README.md +46 -21
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +218 -0
- package/include/node/node.h +37 -5
- package/include/node/node_api.h +7 -0
- package/include/node/node_version.h +2 -2
- package/include/node/uv/errno.h +12 -0
- package/include/node/uv/tree.h +1 -1
- package/include/node/uv/version.h +1 -1
- package/include/node/uv.h +14 -1
- package/include/node/v8.h +12 -0
- package/package.json +1 -1
- package/share/man/man1/node.1 +10 -2
package/LICENSE
CHANGED
|
@@ -55,30 +55,7 @@ The externally maintained libraries used by Node.js are:
|
|
|
55
55
|
"""
|
|
56
56
|
MIT License
|
|
57
57
|
|
|
58
|
-
Copyright (C) 2012-
|
|
59
|
-
|
|
60
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
61
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
62
|
-
in the Software without restriction, including without limitation the rights
|
|
63
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
64
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
65
|
-
furnished to do so, subject to the following conditions:
|
|
66
|
-
|
|
67
|
-
The above copyright notice and this permission notice shall be included in
|
|
68
|
-
all copies or substantial portions of the Software.
|
|
69
|
-
|
|
70
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
71
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
72
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
73
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
74
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
75
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
76
|
-
THE SOFTWARE.
|
|
77
|
-
"""
|
|
78
|
-
|
|
79
|
-
- Acorn plugins, located at deps/acorn-plugins, is licensed as follows:
|
|
80
|
-
"""
|
|
81
|
-
Copyright (C) 2017-2018 by Adrian Heine
|
|
58
|
+
Copyright (C) 2012-2020 by various contributors (see AUTHORS)
|
|
82
59
|
|
|
83
60
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
84
61
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1274,7 +1251,7 @@ The externally maintained libraries used by Node.js are:
|
|
|
1274
1251
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1275
1252
|
"""
|
|
1276
1253
|
|
|
1277
|
-
- gtest, located at
|
|
1254
|
+
- gtest, located at deps/googletest, is licensed as follows:
|
|
1278
1255
|
"""
|
|
1279
1256
|
Copyright 2008, Google Inc.
|
|
1280
1257
|
All rights reserved.
|
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
|
|
147
|
+
* [Strategic initiatives][]
|
|
148
148
|
* [Technical values and prioritization][]
|
|
149
149
|
|
|
150
150
|
## Current project team members
|
|
@@ -152,6 +152,8 @@ For information on reporting security vulnerabilities in Node.js, see
|
|
|
152
152
|
For information about the governance of the Node.js project, see
|
|
153
153
|
[GOVERNANCE.md](./GOVERNANCE.md).
|
|
154
154
|
|
|
155
|
+
<!-- node-core-utils depends on the format of the TSC list. If the
|
|
156
|
+
format changes, those utilities need to be tested and updated. -->
|
|
155
157
|
### TSC (Technical Steering Committee)
|
|
156
158
|
|
|
157
159
|
<!--lint disable prohibited-strings-->
|
|
@@ -168,7 +170,7 @@ For information about the governance of the Node.js project, see
|
|
|
168
170
|
* [cjihrig](https://github.com/cjihrig) -
|
|
169
171
|
**Colin Ihrig** <cjihrig@gmail.com> (he/him)
|
|
170
172
|
* [codebytere](https://github.com/codebytere) -
|
|
171
|
-
**Shelley Vohr** <
|
|
173
|
+
**Shelley Vohr** <shelley.vohr@gmail.com> (she/her)
|
|
172
174
|
* [danbev](https://github.com/danbev) -
|
|
173
175
|
**Daniel Bevenius** <daniel.bevenius@gmail.com> (he/him)
|
|
174
176
|
* [danielleadams](https://github.com/danielleadams) -
|
|
@@ -200,6 +202,10 @@ For information about the governance of the Node.js project, see
|
|
|
200
202
|
* [Trott](https://github.com/Trott) -
|
|
201
203
|
**Rich Trott** <rtrott@gmail.com> (he/him)
|
|
202
204
|
|
|
205
|
+
<details>
|
|
206
|
+
|
|
207
|
+
<summary>Emeriti</summary>
|
|
208
|
+
|
|
203
209
|
### TSC emeriti
|
|
204
210
|
|
|
205
211
|
* [addaleax](https://github.com/addaleax) -
|
|
@@ -215,7 +221,7 @@ For information about the governance of the Node.js project, see
|
|
|
215
221
|
* [gibfahn](https://github.com/gibfahn) -
|
|
216
222
|
**Gibson Fahnestock** <gibfahn@gmail.com> (he/him)
|
|
217
223
|
* [indutny](https://github.com/indutny) -
|
|
218
|
-
**Fedor Indutny** <fedor
|
|
224
|
+
**Fedor Indutny** <fedor@indutny.com>
|
|
219
225
|
* [isaacs](https://github.com/isaacs) -
|
|
220
226
|
**Isaac Z. Schlueter** <i@izs.me>
|
|
221
227
|
* [joshgav](https://github.com/joshgav) -
|
|
@@ -243,6 +249,11 @@ For information about the governance of the Node.js project, see
|
|
|
243
249
|
* [trevnorris](https://github.com/trevnorris) -
|
|
244
250
|
**Trevor Norris** <trev.norris@gmail.com>
|
|
245
251
|
|
|
252
|
+
</details>
|
|
253
|
+
|
|
254
|
+
<!-- node-core-utils and find-inactive-collaborators.mjs depend on the format
|
|
255
|
+
of the collaborator list. If the format changes, those utilities need to be
|
|
256
|
+
tested and updated. -->
|
|
246
257
|
### Collaborators
|
|
247
258
|
|
|
248
259
|
* [addaleax](https://github.com/addaleax) -
|
|
@@ -251,8 +262,6 @@ For information about the governance of the Node.js project, see
|
|
|
251
262
|
**Antoine du Hamel** <duhamelantoine1995@gmail.com> (he/him)
|
|
252
263
|
* [ak239](https://github.com/ak239) -
|
|
253
264
|
**Aleksei Koziatinskii** <ak239spb@gmail.com>
|
|
254
|
-
* [AndreasMadsen](https://github.com/AndreasMadsen) -
|
|
255
|
-
**Andreas Madsen** <amwebdk@gmail.com> (he/him)
|
|
256
265
|
* [antsmartian](https://github.com/antsmartian) -
|
|
257
266
|
**Anto Aravinth** <anto.aravinth.cse@gmail.com> (he/him)
|
|
258
267
|
* [apapirovski](https://github.com/apapirovski) -
|
|
@@ -284,7 +293,7 @@ For information about the governance of the Node.js project, see
|
|
|
284
293
|
* [cjihrig](https://github.com/cjihrig) -
|
|
285
294
|
**Colin Ihrig** <cjihrig@gmail.com> (he/him)
|
|
286
295
|
* [codebytere](https://github.com/codebytere) -
|
|
287
|
-
**Shelley Vohr** <
|
|
296
|
+
**Shelley Vohr** <shelley.vohr@gmail.com> (she/her)
|
|
288
297
|
* [danbev](https://github.com/danbev) -
|
|
289
298
|
**Daniel Bevenius** <daniel.bevenius@gmail.com> (he/him)
|
|
290
299
|
* [danielleadams](https://github.com/danielleadams) -
|
|
@@ -315,8 +324,6 @@ For information about the governance of the Node.js project, see
|
|
|
315
324
|
**Gerhard Stöbich** <deb2001-github@yahoo.de> (he/they)
|
|
316
325
|
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
|
317
326
|
**Gabriel Schulhof** <gabrielschulhof@gmail.com>
|
|
318
|
-
* [gdams](https://github.com/gdams) -
|
|
319
|
-
**George Adams** <george.adams@uk.ibm.com> (he/him)
|
|
320
327
|
* [geek](https://github.com/geek) -
|
|
321
328
|
**Wyatt Preul** <wpreul@gmail.com>
|
|
322
329
|
* [gengjiawen](https://github.com/gengjiawen) -
|
|
@@ -338,13 +345,11 @@ For information about the governance of the Node.js project, see
|
|
|
338
345
|
* [iansu](https://github.com/iansu) -
|
|
339
346
|
**Ian Sutherland** <ian@iansutherland.ca>
|
|
340
347
|
* [indutny](https://github.com/indutny) -
|
|
341
|
-
**Fedor Indutny** <fedor
|
|
348
|
+
**Fedor Indutny** <fedor@indutny.com>
|
|
342
349
|
* [JacksonTian](https://github.com/JacksonTian) -
|
|
343
350
|
**Jackson Tian** <shyvo1987@gmail.com>
|
|
344
351
|
* [jasnell](https://github.com/jasnell) -
|
|
345
352
|
**James M Snell** <jasnell@gmail.com> (he/him)
|
|
346
|
-
* [jdalton](https://github.com/jdalton) -
|
|
347
|
-
**John-David Dalton** <john.david.dalton@gmail.com>
|
|
348
353
|
* [jkrems](https://github.com/jkrems) -
|
|
349
354
|
**Jan Krems** <jan.krems@gmail.com> (he/him)
|
|
350
355
|
* [joaocgreis](https://github.com/joaocgreis) -
|
|
@@ -355,8 +360,6 @@ For information about the governance of the Node.js project, see
|
|
|
355
360
|
**Juan José Arboleda** <soyjuanarbol@gmail.com> (he/him)
|
|
356
361
|
* [JungMinu](https://github.com/JungMinu) -
|
|
357
362
|
**Minwoo Jung** <nodecorelab@gmail.com> (he/him)
|
|
358
|
-
* [lance](https://github.com/lance) -
|
|
359
|
-
**Lance Ball** <lball@redhat.com> (he/him)
|
|
360
363
|
* [legendecas](https://github.com/legendecas) -
|
|
361
364
|
**Chengzhong Wu** <legendecas@gmail.com> (he/him)
|
|
362
365
|
* [Leko](https://github.com/Leko) -
|
|
@@ -380,15 +383,13 @@ For information about the governance of the Node.js project, see
|
|
|
380
383
|
* [mildsunrise](https://github.com/mildsunrise) -
|
|
381
384
|
**Alba Mendez** <me@alba.sh> (she/her)
|
|
382
385
|
* [misterdjules](https://github.com/misterdjules) -
|
|
383
|
-
**Julien Gilli** <jgilli@
|
|
386
|
+
**Julien Gilli** <jgilli@netflix.com>
|
|
384
387
|
* [mmarchini](https://github.com/mmarchini) -
|
|
385
388
|
**Mary Marchini** <oss@mmarchini.me> (she/her)
|
|
386
389
|
* [mscdex](https://github.com/mscdex) -
|
|
387
390
|
**Brian White** <mscdex@mscdex.net>
|
|
388
391
|
* [MylesBorins](https://github.com/MylesBorins) -
|
|
389
392
|
**Myles Borins** <myles.borins@gmail.com> (he/him)
|
|
390
|
-
* [ofrobots](https://github.com/ofrobots) -
|
|
391
|
-
**Ali Ijaz Sheikh** <ofrobots@google.com> (he/him)
|
|
392
393
|
* [oyyd](https://github.com/oyyd) -
|
|
393
394
|
**Ouyang Yadong** <oyydoibh@gmail.com> (he/him)
|
|
394
395
|
* [panva](https://github.com/panva) -
|
|
@@ -411,8 +412,6 @@ For information about the governance of the Node.js project, see
|
|
|
411
412
|
**Ricky Zhou** <0x19951125@gmail.com> (he/him)
|
|
412
413
|
* [ronag](https://github.com/ronag) -
|
|
413
414
|
**Robert Nagy** <ronagy@icloud.com>
|
|
414
|
-
* [rubys](https://github.com/rubys) -
|
|
415
|
-
**Sam Ruby** <rubys@intertwingly.net>
|
|
416
415
|
* [ruyadorno](https://github.com/ruyadorno) -
|
|
417
416
|
**Ruy Adorno** <ruyadorno@github.com> (he/him)
|
|
418
417
|
* [rvagg](https://github.com/rvagg) -
|
|
@@ -420,7 +419,7 @@ For information about the governance of the Node.js project, see
|
|
|
420
419
|
* [ryzokuken](https://github.com/ryzokuken) -
|
|
421
420
|
**Ujjwal Sharma** <ryzokuken@disroot.org> (he/him)
|
|
422
421
|
* [saghul](https://github.com/saghul) -
|
|
423
|
-
**Saúl Ibarra Corretgé** <saghul
|
|
422
|
+
**Saúl Ibarra Corretgé** <s@saghul.net>
|
|
424
423
|
* [santigimeno](https://github.com/santigimeno) -
|
|
425
424
|
**Santiago Gimeno** <santiago.gimeno@gmail.com>
|
|
426
425
|
* [seishun](https://github.com/seishun) -
|
|
@@ -464,12 +463,20 @@ For information about the governance of the Node.js project, see
|
|
|
464
463
|
* [ZYSzys](https://github.com/ZYSzys) -
|
|
465
464
|
**Yongsheng Zhang** <zyszys98@gmail.com> (he/him)
|
|
466
465
|
|
|
466
|
+
<details>
|
|
467
|
+
|
|
468
|
+
<summary>Emeriti</summary>
|
|
469
|
+
|
|
470
|
+
<!-- find-inactive-collaborators.mjs depends on the format of the emeriti list.
|
|
471
|
+
If the format changes, those utilities need to be tested and updated. -->
|
|
467
472
|
### Collaborator emeriti
|
|
468
473
|
|
|
469
474
|
* [andrasq](https://github.com/andrasq) -
|
|
470
475
|
**Andras** <andras@kinvey.com>
|
|
471
476
|
* [AnnaMag](https://github.com/AnnaMag) -
|
|
472
477
|
**Anna M. Kedzierska** <anna.m.kedzierska@gmail.com>
|
|
478
|
+
* [AndreasMadsen](https://github.com/AndreasMadsen) -
|
|
479
|
+
**Andreas Madsen** <amwebdk@gmail.com> (he/him)
|
|
473
480
|
* [aqrln](https://github.com/aqrln) -
|
|
474
481
|
**Alexey Orlenko** <eaglexrlnk@gmail.com> (he/him)
|
|
475
482
|
* [bnoordhuis](https://github.com/bnoordhuis) -
|
|
@@ -492,6 +499,8 @@ For information about the governance of the Node.js project, see
|
|
|
492
499
|
**Alexander Makarenko** <estliberitas@gmail.com>
|
|
493
500
|
* [firedfox](https://github.com/firedfox) -
|
|
494
501
|
**Daniel Wang** <wangyang0123@gmail.com>
|
|
502
|
+
* [gdams](https://github.com/gdams) -
|
|
503
|
+
**George Adams** <george.adams@microsoft.com> (he/him)
|
|
495
504
|
* [gibfahn](https://github.com/gibfahn) -
|
|
496
505
|
**Gibson Fahnestock** <gibfahn@gmail.com> (he/him)
|
|
497
506
|
* [glentiki](https://github.com/glentiki) -
|
|
@@ -510,6 +519,8 @@ For information about the governance of the Node.js project, see
|
|
|
510
519
|
**Jason Ginchereau** <jasongin@microsoft.com>
|
|
511
520
|
* [jbergstroem](https://github.com/jbergstroem) -
|
|
512
521
|
**Johan Bergström** <bugs@bergstroem.nu>
|
|
522
|
+
* [jdalton](https://github.com/jdalton) -
|
|
523
|
+
**John-David Dalton** <john.david.dalton@gmail.com>
|
|
513
524
|
* [jhamhader](https://github.com/jhamhader) -
|
|
514
525
|
**Yuval Brik** <yuval@brik.org.il>
|
|
515
526
|
* [joshgav](https://github.com/joshgav) -
|
|
@@ -520,6 +531,8 @@ For information about the governance of the Node.js project, see
|
|
|
520
531
|
**Kyle Farnung** <kfarnung@microsoft.com> (he/him)
|
|
521
532
|
* [kunalspathak](https://github.com/kunalspathak) -
|
|
522
533
|
**Kunal Pathak** <kunal.pathak@microsoft.com>
|
|
534
|
+
* [lance](https://github.com/lance) -
|
|
535
|
+
**Lance Ball** <lball@redhat.com> (he/him)
|
|
523
536
|
* [lucamaraschi](https://github.com/lucamaraschi) -
|
|
524
537
|
**Luca Maraschi** <luca.maraschi@gmail.com> (he/him)
|
|
525
538
|
* [lxe](https://github.com/lxe) -
|
|
@@ -538,6 +551,8 @@ For information about the governance of the Node.js project, see
|
|
|
538
551
|
**Chen Gang** <gangc.cxy@foxmail.com>
|
|
539
552
|
* [not-an-aardvark](https://github.com/not-an-aardvark) -
|
|
540
553
|
**Teddy Katz** <teddy.katz@gmail.com> (he/him)
|
|
554
|
+
* [ofrobots](https://github.com/ofrobots) -
|
|
555
|
+
**Ali Ijaz Sheikh** <ofrobots@google.com> (he/him)
|
|
541
556
|
* [Olegas](https://github.com/Olegas) -
|
|
542
557
|
**Oleg Elifantiev** <oleg@elifantiev.ru>
|
|
543
558
|
* [orangemocha](https://github.com/orangemocha) -
|
|
@@ -568,6 +583,8 @@ For information about the governance of the Node.js project, see
|
|
|
568
583
|
**Ron Korving** <ron@ronkorving.nl>
|
|
569
584
|
* [RReverser](https://github.com/RReverser) -
|
|
570
585
|
**Ingvar Stepanyan** <me@rreverser.com>
|
|
586
|
+
* [rubys](https://github.com/rubys) -
|
|
587
|
+
**Sam Ruby** <rubys@intertwingly.net>
|
|
571
588
|
* [sam-github](https://github.com/sam-github) -
|
|
572
589
|
**Sam Roberts** <vieuxtech@gmail.com>
|
|
573
590
|
* [sebdeckers](https://github.com/sebdeckers) -
|
|
@@ -592,6 +609,8 @@ For information about the governance of the Node.js project, see
|
|
|
592
609
|
**Vse Mozhet Byt** <vsemozhetbyt@gmail.com> (he/him)
|
|
593
610
|
* [whitlockjc](https://github.com/whitlockjc) -
|
|
594
611
|
**Jeremy Whitlock** <jwhitlock@apache.org>
|
|
612
|
+
|
|
613
|
+
</details>
|
|
595
614
|
<!--lint enable prohibited-strings-->
|
|
596
615
|
|
|
597
616
|
Collaborators follow the [Collaborator Guide](./doc/guides/collaborator-guide.md) in
|
|
@@ -601,6 +620,8 @@ maintaining the Node.js project.
|
|
|
601
620
|
|
|
602
621
|
* [Ayase-252](https://github.com/Ayase-252) -
|
|
603
622
|
**Qingyu Deng** <i@ayase-lab.com>
|
|
623
|
+
* [himadriganguly](https://github.com/himadriganguly) -
|
|
624
|
+
**Himadri Ganguly** <himadri.tech@gmail.com> (he/him)
|
|
604
625
|
* [marsonya](https://github.com/marsonya) -
|
|
605
626
|
**Akhil Marsonya** <akhil.marsonya27@gmail.com> (he/him)
|
|
606
627
|
* [PoojaDurgad](https://github.com/PoojaDurgad) -
|
|
@@ -655,7 +676,9 @@ gpg --keyserver pool.sks-keyservers.net --recv-keys B9E2F5981AA6E0CD28160D9FF139
|
|
|
655
676
|
See the section above on [Verifying Binaries](#verifying-binaries) for how to
|
|
656
677
|
use these keys to verify a downloaded file.
|
|
657
678
|
|
|
658
|
-
|
|
679
|
+
<details>
|
|
680
|
+
|
|
681
|
+
<summary>Other keys used to sign some previous releases</summary>
|
|
659
682
|
|
|
660
683
|
* **Chris Dickinson** <christopher.s.dickinson@gmail.com>
|
|
661
684
|
`9554F04D7259F04124DE6B476D5A82AC7E37093B`
|
|
@@ -676,6 +699,8 @@ Other keys used to sign some previous releases:
|
|
|
676
699
|
* **Timothy J Fontaine** <tjfontaine@gmail.com>
|
|
677
700
|
`7937DFD2AB06298B2293C3187D33FF9D0246406D`
|
|
678
701
|
|
|
702
|
+
</details>
|
|
703
|
+
|
|
679
704
|
## License
|
|
680
705
|
|
|
681
706
|
Node.js is available under the
|
|
@@ -688,6 +713,6 @@ license text.
|
|
|
688
713
|
[Contributing to the project]: CONTRIBUTING.md
|
|
689
714
|
[Node.js Website]: https://nodejs.org/
|
|
690
715
|
[OpenJS Foundation]: https://openjsf.org/
|
|
691
|
-
[Strategic
|
|
716
|
+
[Strategic initiatives]: doc/guides/strategic-initiatives.md
|
|
692
717
|
[Technical values and prioritization]: doc/guides/technical-values.md
|
|
693
718
|
[Working Groups]: https://github.com/nodejs/TSC/blob/HEAD/WORKING_GROUPS.md
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
package/include/node/config.gypi
CHANGED
|
@@ -30,6 +30,224 @@
|
|
|
30
30
|
'node_debug_lib': 'false',
|
|
31
31
|
'node_enable_d8': 'false',
|
|
32
32
|
'node_install_npm': 'true',
|
|
33
|
+
'node_library_files': [ 'lib/_http_client.js',
|
|
34
|
+
'lib/diagnostics_channel.js',
|
|
35
|
+
'lib/util.js',
|
|
36
|
+
'lib/worker_threads.js',
|
|
37
|
+
'lib/perf_hooks.js',
|
|
38
|
+
'lib/_tls_common.js',
|
|
39
|
+
'lib/zlib.js',
|
|
40
|
+
'lib/_stream_transform.js',
|
|
41
|
+
'lib/v8.js',
|
|
42
|
+
'lib/_http_incoming.js',
|
|
43
|
+
'lib/_stream_writable.js',
|
|
44
|
+
'lib/querystring.js',
|
|
45
|
+
'lib/net.js',
|
|
46
|
+
'lib/https.js',
|
|
47
|
+
'lib/_http_server.js',
|
|
48
|
+
'lib/_http_outgoing.js',
|
|
49
|
+
'lib/buffer.js',
|
|
50
|
+
'lib/module.js',
|
|
51
|
+
'lib/dgram.js',
|
|
52
|
+
'lib/child_process.js',
|
|
53
|
+
'lib/url.js',
|
|
54
|
+
'lib/timers.js',
|
|
55
|
+
'lib/cluster.js',
|
|
56
|
+
'lib/_http_agent.js',
|
|
57
|
+
'lib/console.js',
|
|
58
|
+
'lib/http.js',
|
|
59
|
+
'lib/stream.js',
|
|
60
|
+
'lib/repl.js',
|
|
61
|
+
'lib/string_decoder.js',
|
|
62
|
+
'lib/tty.js',
|
|
63
|
+
'lib/_stream_passthrough.js',
|
|
64
|
+
'lib/readline.js',
|
|
65
|
+
'lib/process.js',
|
|
66
|
+
'lib/fs.js',
|
|
67
|
+
'lib/vm.js',
|
|
68
|
+
'lib/events.js',
|
|
69
|
+
'lib/os.js',
|
|
70
|
+
'lib/tls.js',
|
|
71
|
+
'lib/punycode.js',
|
|
72
|
+
'lib/_stream_duplex.js',
|
|
73
|
+
'lib/async_hooks.js',
|
|
74
|
+
'lib/path.js',
|
|
75
|
+
'lib/dns.js',
|
|
76
|
+
'lib/sys.js',
|
|
77
|
+
'lib/constants.js',
|
|
78
|
+
'lib/http2.js',
|
|
79
|
+
'lib/crypto.js',
|
|
80
|
+
'lib/domain.js',
|
|
81
|
+
'lib/_stream_wrap.js',
|
|
82
|
+
'lib/_stream_readable.js',
|
|
83
|
+
'lib/_tls_wrap.js',
|
|
84
|
+
'lib/assert.js',
|
|
85
|
+
'lib/wasi.js',
|
|
86
|
+
'lib/trace_events.js',
|
|
87
|
+
'lib/inspector.js',
|
|
88
|
+
'lib/_http_common.js',
|
|
89
|
+
'lib/internal/util.js',
|
|
90
|
+
'lib/internal/watchdog.js',
|
|
91
|
+
'lib/internal/blob.js',
|
|
92
|
+
'lib/internal/blocklist.js',
|
|
93
|
+
'lib/internal/idna.js',
|
|
94
|
+
'lib/internal/querystring.js',
|
|
95
|
+
'lib/internal/abort_controller.js',
|
|
96
|
+
'lib/internal/net.js',
|
|
97
|
+
'lib/internal/error_serdes.js',
|
|
98
|
+
'lib/internal/buffer.js',
|
|
99
|
+
'lib/internal/js_stream_socket.js',
|
|
100
|
+
'lib/internal/dgram.js',
|
|
101
|
+
'lib/internal/child_process.js',
|
|
102
|
+
'lib/internal/dtrace.js',
|
|
103
|
+
'lib/internal/url.js',
|
|
104
|
+
'lib/internal/timers.js',
|
|
105
|
+
'lib/internal/http.js',
|
|
106
|
+
'lib/internal/worker.js',
|
|
107
|
+
'lib/internal/repl.js',
|
|
108
|
+
'lib/internal/linkedlist.js',
|
|
109
|
+
'lib/internal/event_target.js',
|
|
110
|
+
'lib/internal/tty.js',
|
|
111
|
+
'lib/internal/v8_prof_polyfill.js',
|
|
112
|
+
'lib/internal/fixed_queue.js',
|
|
113
|
+
'lib/internal/validators.js',
|
|
114
|
+
'lib/internal/socket_list.js',
|
|
115
|
+
'lib/internal/tls.js',
|
|
116
|
+
'lib/internal/encoding.js',
|
|
117
|
+
'lib/internal/errors.js',
|
|
118
|
+
'lib/internal/heap_utils.js',
|
|
119
|
+
'lib/internal/async_hooks.js',
|
|
120
|
+
'lib/internal/freeze_intrinsics.js',
|
|
121
|
+
'lib/internal/cli_table.js',
|
|
122
|
+
'lib/internal/trace_events_async_hooks.js',
|
|
123
|
+
'lib/internal/stream_base_commons.js',
|
|
124
|
+
'lib/internal/constants.js',
|
|
125
|
+
'lib/internal/priority_queue.js',
|
|
126
|
+
'lib/internal/socketaddress.js',
|
|
127
|
+
'lib/internal/options.js',
|
|
128
|
+
'lib/internal/inspector_async_hook.js',
|
|
129
|
+
'lib/internal/histogram.js',
|
|
130
|
+
'lib/internal/assert.js',
|
|
131
|
+
'lib/internal/freelist.js',
|
|
132
|
+
'lib/internal/v8_prof_processor.js',
|
|
133
|
+
'lib/internal/console/global.js',
|
|
134
|
+
'lib/internal/console/constructor.js',
|
|
135
|
+
'lib/internal/readline/utils.js',
|
|
136
|
+
'lib/internal/child_process/serialization.js',
|
|
137
|
+
'lib/internal/repl/history.js',
|
|
138
|
+
'lib/internal/repl/await.js',
|
|
139
|
+
'lib/internal/repl/utils.js',
|
|
140
|
+
'lib/internal/process/promises.js',
|
|
141
|
+
'lib/internal/process/policy.js',
|
|
142
|
+
'lib/internal/process/report.js',
|
|
143
|
+
'lib/internal/process/signal.js',
|
|
144
|
+
'lib/internal/process/esm_loader.js',
|
|
145
|
+
'lib/internal/process/warning.js',
|
|
146
|
+
'lib/internal/process/per_thread.js',
|
|
147
|
+
'lib/internal/process/execution.js',
|
|
148
|
+
'lib/internal/process/task_queues.js',
|
|
149
|
+
'lib/internal/process/worker_thread_only.js',
|
|
150
|
+
'lib/internal/util/debuglog.js',
|
|
151
|
+
'lib/internal/util/iterable_weak_map.js',
|
|
152
|
+
'lib/internal/util/comparisons.js',
|
|
153
|
+
'lib/internal/util/inspect.js',
|
|
154
|
+
'lib/internal/util/types.js',
|
|
155
|
+
'lib/internal/util/inspector.js',
|
|
156
|
+
'lib/internal/source_map/prepare_stack_trace.js',
|
|
157
|
+
'lib/internal/source_map/source_map.js',
|
|
158
|
+
'lib/internal/source_map/source_map_cache.js',
|
|
159
|
+
'lib/internal/per_context/messageport.js',
|
|
160
|
+
'lib/internal/per_context/domexception.js',
|
|
161
|
+
'lib/internal/per_context/primordials.js',
|
|
162
|
+
'lib/internal/test/binding.js',
|
|
163
|
+
'lib/internal/policy/sri.js',
|
|
164
|
+
'lib/internal/policy/manifest.js',
|
|
165
|
+
'lib/internal/fs/dir.js',
|
|
166
|
+
'lib/internal/fs/promises.js',
|
|
167
|
+
'lib/internal/fs/streams.js',
|
|
168
|
+
'lib/internal/fs/rimraf.js',
|
|
169
|
+
'lib/internal/fs/watchers.js',
|
|
170
|
+
'lib/internal/fs/sync_write_stream.js',
|
|
171
|
+
'lib/internal/fs/utils.js',
|
|
172
|
+
'lib/internal/fs/read_file_context.js',
|
|
173
|
+
'lib/internal/worker/js_transferable.js',
|
|
174
|
+
'lib/internal/worker/io.js',
|
|
175
|
+
'lib/internal/dns/promises.js',
|
|
176
|
+
'lib/internal/dns/utils.js',
|
|
177
|
+
'lib/internal/vm/module.js',
|
|
178
|
+
'lib/internal/timers/promises.js',
|
|
179
|
+
'lib/internal/assert/calltracker.js',
|
|
180
|
+
'lib/internal/assert/assertion_error.js',
|
|
181
|
+
'lib/internal/bootstrap/pre_execution.js',
|
|
182
|
+
'lib/internal/bootstrap/node.js',
|
|
183
|
+
'lib/internal/bootstrap/loaders.js',
|
|
184
|
+
'lib/internal/bootstrap/environment.js',
|
|
185
|
+
'lib/internal/bootstrap/switches/is_not_main_thread.js',
|
|
186
|
+
'lib/internal/bootstrap/switches/is_main_thread.js',
|
|
187
|
+
'lib/internal/bootstrap/switches/does_own_process_state.js',
|
|
188
|
+
'lib/internal/bootstrap/switches/does_not_own_process_state.js',
|
|
189
|
+
'lib/internal/main/print_help.js',
|
|
190
|
+
'lib/internal/main/run_third_party_main.js',
|
|
191
|
+
'lib/internal/main/check_syntax.js',
|
|
192
|
+
'lib/internal/main/worker_thread.js',
|
|
193
|
+
'lib/internal/main/eval_stdin.js',
|
|
194
|
+
'lib/internal/main/repl.js',
|
|
195
|
+
'lib/internal/main/eval_string.js',
|
|
196
|
+
'lib/internal/main/inspect.js',
|
|
197
|
+
'lib/internal/main/run_main_module.js',
|
|
198
|
+
'lib/internal/main/prof_process.js',
|
|
199
|
+
'lib/internal/modules/package_json_reader.js',
|
|
200
|
+
'lib/internal/modules/run_main.js',
|
|
201
|
+
'lib/internal/modules/esm/transform_source.js',
|
|
202
|
+
'lib/internal/modules/esm/loader.js',
|
|
203
|
+
'lib/internal/modules/esm/resolve.js',
|
|
204
|
+
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
205
|
+
'lib/internal/modules/esm/translators.js',
|
|
206
|
+
'lib/internal/modules/esm/get_format.js',
|
|
207
|
+
'lib/internal/modules/esm/get_source.js',
|
|
208
|
+
'lib/internal/modules/esm/module_job.js',
|
|
209
|
+
'lib/internal/modules/esm/module_map.js',
|
|
210
|
+
'lib/internal/modules/cjs/helpers.js',
|
|
211
|
+
'lib/internal/modules/cjs/loader.js',
|
|
212
|
+
'lib/internal/debugger/inspect_client.js',
|
|
213
|
+
'lib/internal/debugger/inspect_repl.js',
|
|
214
|
+
'lib/internal/debugger/inspect.js',
|
|
215
|
+
'lib/internal/cluster/child.js',
|
|
216
|
+
'lib/internal/cluster/round_robin_handle.js',
|
|
217
|
+
'lib/internal/cluster/shared_handle.js',
|
|
218
|
+
'lib/internal/cluster/worker.js',
|
|
219
|
+
'lib/internal/cluster/utils.js',
|
|
220
|
+
'lib/internal/cluster/master.js',
|
|
221
|
+
'lib/internal/crypto/util.js',
|
|
222
|
+
'lib/internal/crypto/pbkdf2.js',
|
|
223
|
+
'lib/internal/crypto/hash.js',
|
|
224
|
+
'lib/internal/crypto/scrypt.js',
|
|
225
|
+
'lib/internal/crypto/sig.js',
|
|
226
|
+
'lib/internal/crypto/certificate.js',
|
|
227
|
+
'lib/internal/crypto/keygen.js',
|
|
228
|
+
'lib/internal/crypto/keys.js',
|
|
229
|
+
'lib/internal/crypto/random.js',
|
|
230
|
+
'lib/internal/crypto/cipher.js',
|
|
231
|
+
'lib/internal/crypto/diffiehellman.js',
|
|
232
|
+
'lib/internal/http2/core.js',
|
|
233
|
+
'lib/internal/http2/util.js',
|
|
234
|
+
'lib/internal/http2/compat.js',
|
|
235
|
+
'lib/internal/streams/state.js',
|
|
236
|
+
'lib/internal/streams/end-of-stream.js',
|
|
237
|
+
'lib/internal/streams/buffer_list.js',
|
|
238
|
+
'lib/internal/streams/pipeline.js',
|
|
239
|
+
'lib/internal/streams/lazy_transform.js',
|
|
240
|
+
'lib/internal/streams/destroy.js',
|
|
241
|
+
'lib/internal/streams/legacy.js',
|
|
242
|
+
'lib/internal/streams/transform.js',
|
|
243
|
+
'lib/internal/streams/readable.js',
|
|
244
|
+
'lib/internal/streams/writable.js',
|
|
245
|
+
'lib/internal/streams/duplex.js',
|
|
246
|
+
'lib/internal/streams/duplexpair.js',
|
|
247
|
+
'lib/internal/streams/utils.js',
|
|
248
|
+
'lib/internal/streams/passthrough.js',
|
|
249
|
+
'lib/internal/streams/from.js',
|
|
250
|
+
'lib/fs/promises.js'],
|
|
33
251
|
'node_module_version': 83,
|
|
34
252
|
'node_no_browser_globals': 'false',
|
|
35
253
|
'node_prefix': '/',
|
package/include/node/node.h
CHANGED
|
@@ -336,7 +336,8 @@ class NODE_EXTERN MultiIsolatePlatform : public v8::Platform {
|
|
|
336
336
|
enum IsolateSettingsFlags {
|
|
337
337
|
MESSAGE_LISTENER_WITH_ERROR_LEVEL = 1 << 0,
|
|
338
338
|
DETAILED_SOURCE_POSITIONS_FOR_PROFILING = 1 << 1,
|
|
339
|
-
SHOULD_NOT_SET_PROMISE_REJECTION_CALLBACK = 1 << 2
|
|
339
|
+
SHOULD_NOT_SET_PROMISE_REJECTION_CALLBACK = 1 << 2,
|
|
340
|
+
SHOULD_NOT_SET_PREPARE_STACK_TRACE_CALLBACK = 1 << 3
|
|
340
341
|
};
|
|
341
342
|
|
|
342
343
|
struct IsolateSettings {
|
|
@@ -423,7 +424,11 @@ enum Flags : uint64_t {
|
|
|
423
424
|
kNoRegisterESMLoader = 1 << 3,
|
|
424
425
|
// Set this flag to make Node.js track "raw" file descriptors, i.e. managed
|
|
425
426
|
// by fs.open() and fs.close(), and close them during FreeEnvironment().
|
|
426
|
-
kTrackUnmanagedFds = 1 << 4
|
|
427
|
+
kTrackUnmanagedFds = 1 << 4,
|
|
428
|
+
// Set this flag to force hiding console windows when spawning child
|
|
429
|
+
// processes. This is usually used when embedding Node.js in GUI programs on
|
|
430
|
+
// Windows.
|
|
431
|
+
kHideConsoleWindows = 1 << 5
|
|
427
432
|
};
|
|
428
433
|
} // namespace EnvironmentFlags
|
|
429
434
|
|
|
@@ -499,6 +504,8 @@ NODE_EXTERN void DefaultProcessExitHandler(Environment* env, int exit_code);
|
|
|
499
504
|
|
|
500
505
|
// This may return nullptr if context is not associated with a Node instance.
|
|
501
506
|
NODE_EXTERN Environment* GetCurrentEnvironment(v8::Local<v8::Context> context);
|
|
507
|
+
NODE_EXTERN IsolateData* GetEnvironmentIsolateData(Environment* env);
|
|
508
|
+
NODE_EXTERN ArrayBufferAllocator* GetArrayBufferAllocator(IsolateData* data);
|
|
502
509
|
|
|
503
510
|
NODE_EXTERN void OnFatalError(const char* location, const char* message);
|
|
504
511
|
NODE_EXTERN void PromiseRejectCallback(v8::PromiseRejectMessage message);
|
|
@@ -539,8 +546,19 @@ NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform);
|
|
|
539
546
|
NODE_EXTERN v8::TracingController* GetTracingController();
|
|
540
547
|
NODE_EXTERN void SetTracingController(v8::TracingController* controller);
|
|
541
548
|
|
|
542
|
-
|
|
543
|
-
|
|
549
|
+
// Run `process.emit('beforeExit')` as it would usually happen when Node.js is
|
|
550
|
+
// run in standalone mode.
|
|
551
|
+
NODE_EXTERN v8::Maybe<bool> EmitProcessBeforeExit(Environment* env);
|
|
552
|
+
NODE_DEPRECATED("Use Maybe version (EmitProcessBeforeExit) instead",
|
|
553
|
+
NODE_EXTERN void EmitBeforeExit(Environment* env));
|
|
554
|
+
// Run `process.emit('exit')` as it would usually happen when Node.js is run
|
|
555
|
+
// in standalone mode. The return value corresponds to the exit code.
|
|
556
|
+
NODE_EXTERN v8::Maybe<int> EmitProcessExit(Environment* env);
|
|
557
|
+
NODE_DEPRECATED("Use Maybe version (EmitProcessExit) instead",
|
|
558
|
+
NODE_EXTERN int EmitExit(Environment* env));
|
|
559
|
+
|
|
560
|
+
// Runs hooks added through `AtExit()`. This is part of `FreeEnvironment()`,
|
|
561
|
+
// so calling it manually is typically not necessary.
|
|
544
562
|
NODE_EXTERN void RunAtExit(Environment* env);
|
|
545
563
|
|
|
546
564
|
// This may return nullptr if the current v8::Context is not associated
|
|
@@ -650,7 +668,18 @@ inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,
|
|
|
650
668
|
#define NODE_SET_PROTOTYPE_METHOD node::NODE_SET_PROTOTYPE_METHOD
|
|
651
669
|
|
|
652
670
|
// BINARY is a deprecated alias of LATIN1.
|
|
653
|
-
|
|
671
|
+
// BASE64URL is not currently exposed to the JavaScript side.
|
|
672
|
+
enum encoding {
|
|
673
|
+
ASCII,
|
|
674
|
+
UTF8,
|
|
675
|
+
BASE64,
|
|
676
|
+
UCS2,
|
|
677
|
+
BINARY,
|
|
678
|
+
HEX,
|
|
679
|
+
BUFFER,
|
|
680
|
+
BASE64URL,
|
|
681
|
+
LATIN1 = BINARY
|
|
682
|
+
};
|
|
654
683
|
|
|
655
684
|
NODE_EXTERN enum encoding ParseEncoding(
|
|
656
685
|
v8::Isolate* isolate,
|
|
@@ -958,6 +987,9 @@ class NODE_EXTERN CallbackScope {
|
|
|
958
987
|
CallbackScope(v8::Isolate* isolate,
|
|
959
988
|
v8::Local<v8::Object> resource,
|
|
960
989
|
async_context asyncContext);
|
|
990
|
+
CallbackScope(Environment* env,
|
|
991
|
+
v8::Local<v8::Object> resource,
|
|
992
|
+
async_context asyncContext);
|
|
961
993
|
~CallbackScope();
|
|
962
994
|
|
|
963
995
|
void operator=(const CallbackScope&) = delete;
|
package/include/node/node_api.h
CHANGED
|
@@ -263,6 +263,13 @@ NAPI_EXTERN napi_status napi_remove_async_cleanup_hook(
|
|
|
263
263
|
|
|
264
264
|
#endif // NAPI_VERSION >= 8
|
|
265
265
|
|
|
266
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
267
|
+
|
|
268
|
+
NAPI_EXTERN napi_status
|
|
269
|
+
node_api_get_module_file_name(napi_env env, const char** result);
|
|
270
|
+
|
|
271
|
+
#endif // NAPI_EXPERIMENTAL
|
|
272
|
+
|
|
266
273
|
EXTERN_C_END
|
|
267
274
|
|
|
268
275
|
#endif // SRC_NODE_API_H_
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 14
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 18
|
|
27
|
+
#define NODE_PATCH_VERSION 3
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 1
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME "Fermium"
|