node-linux-s390x 16.13.2 → 16.14.2
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 +694 -32
- package/LICENSE +15 -43
- package/README.md +299 -264
- package/bin/node +0 -0
- package/include/node/common.gypi +56 -4
- package/include/node/config.gypi +10 -2
- package/include/node/js_native_api.h +11 -0
- package/include/node/node.h +24 -3
- package/include/node/node_version.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix-gcc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix-gcc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix-gcc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-x32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x32/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x32/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-x32/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x32/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/ec.h +10 -7
- package/include/node/openssl/engine.h +2 -1
- package/include/node/openssl/obj_mac.h +1 -1
- package/include/node/openssl/opensslv.h +2 -2
- package/include/node/uv/unix.h +2 -4
- package/include/node/uv/version.h +1 -1
- package/include/node/uv/win.h +7 -0
- package/include/node/uv.h +3 -0
- package/package.json +1 -1
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
|
@@ -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.
|
|
39
|
+
'v8_embedder_string': '-node.20',
|
|
40
40
|
|
|
41
41
|
##### V8 defaults for Node.js #####
|
|
42
42
|
|
|
@@ -118,6 +118,10 @@
|
|
|
118
118
|
}],
|
|
119
119
|
['OS=="linux"', {
|
|
120
120
|
'node_section_ordering_info%': ''
|
|
121
|
+
}],
|
|
122
|
+
['OS == "zos"', {
|
|
123
|
+
# use ICU data file on z/OS
|
|
124
|
+
'icu_use_data_file_flag%': 1
|
|
121
125
|
}]
|
|
122
126
|
],
|
|
123
127
|
},
|
|
@@ -209,7 +213,11 @@
|
|
|
209
213
|
# pull in V8's postmortem metadata
|
|
210
214
|
'ldflags': [ '-Wl,-z,allextract' ]
|
|
211
215
|
}],
|
|
212
|
-
['OS
|
|
216
|
+
['OS=="zos"', {
|
|
217
|
+
# increase performance, number from experimentation
|
|
218
|
+
'cflags': [ '-qINLINE=::150:100000' ]
|
|
219
|
+
}],
|
|
220
|
+
['OS!="mac" and OS!="win" and OS!="zos"', {
|
|
213
221
|
'cflags': [ '-fno-omit-frame-pointer' ],
|
|
214
222
|
}],
|
|
215
223
|
['OS=="linux"', {
|
|
@@ -333,7 +341,7 @@
|
|
|
333
341
|
[ 'target_arch=="arm64"', {
|
|
334
342
|
'msvs_configuration_platform': 'arm64',
|
|
335
343
|
}],
|
|
336
|
-
['asan == 1 and OS != "mac"', {
|
|
344
|
+
['asan == 1 and OS != "mac" and OS != "zos"', {
|
|
337
345
|
'cflags+': [
|
|
338
346
|
'-fno-omit-frame-pointer',
|
|
339
347
|
'-fsanitize=address',
|
|
@@ -425,7 +433,7 @@
|
|
|
425
433
|
'cflags': [ '-m64', '-mminimal-toc' ],
|
|
426
434
|
'ldflags': [ '-m64' ],
|
|
427
435
|
}],
|
|
428
|
-
[ 'target_arch=="s390x"', {
|
|
436
|
+
[ 'target_arch=="s390x" and OS=="linux"', {
|
|
429
437
|
'cflags': [ '-m64', '-march=z196' ],
|
|
430
438
|
'ldflags': [ '-m64', '-march=z196' ],
|
|
431
439
|
}],
|
|
@@ -572,6 +580,50 @@
|
|
|
572
580
|
'OPENSSL_NO_ASM',
|
|
573
581
|
],
|
|
574
582
|
}],
|
|
583
|
+
['OS == "zos"', {
|
|
584
|
+
'defines': [
|
|
585
|
+
'_XOPEN_SOURCE_EXTENDED',
|
|
586
|
+
'_XOPEN_SOURCE=600',
|
|
587
|
+
'_UNIX03_THREADS',
|
|
588
|
+
'_UNIX03_WITHDRAWN',
|
|
589
|
+
'_UNIX03_SOURCE',
|
|
590
|
+
'_OPEN_SYS_SOCK_IPV6',
|
|
591
|
+
'_OPEN_SYS_FILE_EXT=1',
|
|
592
|
+
'_POSIX_SOURCE',
|
|
593
|
+
'_OPEN_SYS',
|
|
594
|
+
'_OPEN_SYS_IF_EXT',
|
|
595
|
+
'_OPEN_SYS_SOCK_IPV6',
|
|
596
|
+
'_OPEN_MSGQ_EXT',
|
|
597
|
+
'_LARGE_TIME_API',
|
|
598
|
+
'_ALL_SOURCE',
|
|
599
|
+
'_AE_BIMODAL=1',
|
|
600
|
+
'__IBMCPP_TR1__',
|
|
601
|
+
'NODE_PLATFORM="os390"',
|
|
602
|
+
'PATH_MAX=1024',
|
|
603
|
+
'_ENHANCED_ASCII_EXT=0xFFFFFFFF',
|
|
604
|
+
'_Export=extern',
|
|
605
|
+
'__static_assert=static_assert',
|
|
606
|
+
],
|
|
607
|
+
'cflags': [
|
|
608
|
+
'-q64',
|
|
609
|
+
'-Wc,DLL',
|
|
610
|
+
'-Wa,GOFF',
|
|
611
|
+
'-qARCH=10',
|
|
612
|
+
'-qASCII',
|
|
613
|
+
'-qTUNE=12',
|
|
614
|
+
'-qENUM=INT',
|
|
615
|
+
'-qEXPORTALL',
|
|
616
|
+
'-qASM',
|
|
617
|
+
],
|
|
618
|
+
'cflags_cc': [
|
|
619
|
+
'-qxclang=-std=c++14',
|
|
620
|
+
],
|
|
621
|
+
'ldflags': [
|
|
622
|
+
'-q64',
|
|
623
|
+
],
|
|
624
|
+
# for addons due to v8config.h include of "zos-base.h":
|
|
625
|
+
'include_dirs': ['$(ZOSLIB_INCLUDES)'],
|
|
626
|
+
}],
|
|
575
627
|
],
|
|
576
628
|
}
|
|
577
629
|
}
|
package/include/node/config.gypi
CHANGED
|
@@ -16,18 +16,19 @@
|
|
|
16
16
|
'force_dynamic_crt': 0,
|
|
17
17
|
'gas_version': '2.30',
|
|
18
18
|
'host_arch': 's390x',
|
|
19
|
-
'icu_data_in': '../../deps/icu-tmp/
|
|
19
|
+
'icu_data_in': '../../deps/icu-tmp/icudt70l.dat',
|
|
20
20
|
'icu_endianness': 'b',
|
|
21
21
|
'icu_gyp_path': 'tools/icu/icu-generic.gyp',
|
|
22
22
|
'icu_path': 'deps/icu-small',
|
|
23
23
|
'icu_small': 'false',
|
|
24
|
-
'icu_ver_major': '
|
|
24
|
+
'icu_ver_major': '70',
|
|
25
25
|
'is_debug': 0,
|
|
26
26
|
'llvm_version': '0.0',
|
|
27
27
|
'napi_build_version': '8',
|
|
28
28
|
'node_byteorder': 'big',
|
|
29
29
|
'node_debug_lib': 'false',
|
|
30
30
|
'node_enable_d8': 'false',
|
|
31
|
+
'node_install_corepack': 'true',
|
|
31
32
|
'node_install_npm': 'true',
|
|
32
33
|
'node_library_files': [ 'lib/assert.js',
|
|
33
34
|
'lib/querystring.js',
|
|
@@ -105,6 +106,7 @@
|
|
|
105
106
|
'lib/internal/error_serdes.js',
|
|
106
107
|
'lib/internal/stream_base_commons.js',
|
|
107
108
|
'lib/internal/abort_controller.js',
|
|
109
|
+
'lib/internal/promise_hooks.js',
|
|
108
110
|
'lib/internal/socket_list.js',
|
|
109
111
|
'lib/internal/heap_utils.js',
|
|
110
112
|
'lib/internal/socketaddress.js',
|
|
@@ -152,6 +154,7 @@
|
|
|
152
154
|
'lib/internal/streams/add-abort-signal.js',
|
|
153
155
|
'lib/internal/streams/from.js',
|
|
154
156
|
'lib/internal/streams/transform.js',
|
|
157
|
+
'lib/internal/streams/operators.js',
|
|
155
158
|
'lib/internal/streams/passthrough.js',
|
|
156
159
|
'lib/internal/streams/writable.js',
|
|
157
160
|
'lib/internal/streams/end-of-stream.js',
|
|
@@ -198,14 +201,17 @@
|
|
|
198
201
|
'lib/internal/repl/utils.js',
|
|
199
202
|
'lib/internal/modules/run_main.js',
|
|
200
203
|
'lib/internal/modules/package_json_reader.js',
|
|
204
|
+
'lib/internal/modules/esm/assert.js',
|
|
201
205
|
'lib/internal/modules/esm/module_job.js',
|
|
202
206
|
'lib/internal/modules/esm/load.js',
|
|
203
207
|
'lib/internal/modules/esm/resolve.js',
|
|
204
208
|
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
209
|
+
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
205
210
|
'lib/internal/modules/esm/module_map.js',
|
|
206
211
|
'lib/internal/modules/esm/translators.js',
|
|
207
212
|
'lib/internal/modules/esm/get_format.js',
|
|
208
213
|
'lib/internal/modules/esm/get_source.js',
|
|
214
|
+
'lib/internal/modules/esm/handle_process_exit.js',
|
|
209
215
|
'lib/internal/modules/esm/loader.js',
|
|
210
216
|
'lib/internal/modules/cjs/helpers.js',
|
|
211
217
|
'lib/internal/modules/cjs/loader.js',
|
|
@@ -214,6 +220,7 @@
|
|
|
214
220
|
'lib/internal/tls/secure-pair.js',
|
|
215
221
|
'lib/internal/readline/callbacks.js',
|
|
216
222
|
'lib/internal/readline/emitKeypressEvents.js',
|
|
223
|
+
'lib/internal/readline/interface.js',
|
|
217
224
|
'lib/internal/readline/utils.js',
|
|
218
225
|
'lib/internal/worker/io.js',
|
|
219
226
|
'lib/internal/worker/js_transferable.js',
|
|
@@ -227,6 +234,7 @@
|
|
|
227
234
|
'lib/internal/console/global.js',
|
|
228
235
|
'lib/internal/console/constructor.js',
|
|
229
236
|
'lib/internal/webstreams/transfer.js',
|
|
237
|
+
'lib/internal/webstreams/adapters.js',
|
|
230
238
|
'lib/internal/webstreams/writablestream.js',
|
|
231
239
|
'lib/internal/webstreams/readablestream.js',
|
|
232
240
|
'lib/internal/webstreams/encoding.js',
|
|
@@ -111,6 +111,12 @@ NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
|
|
|
111
111
|
napi_value code,
|
|
112
112
|
napi_value msg,
|
|
113
113
|
napi_value* result);
|
|
114
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
115
|
+
NAPI_EXTERN napi_status node_api_create_syntax_error(napi_env env,
|
|
116
|
+
napi_value code,
|
|
117
|
+
napi_value msg,
|
|
118
|
+
napi_value* result);
|
|
119
|
+
#endif // NAPI_EXPERIMENTAL
|
|
114
120
|
|
|
115
121
|
// Methods to get the native napi_value from Primitive type
|
|
116
122
|
NAPI_EXTERN napi_status napi_typeof(napi_env env,
|
|
@@ -370,6 +376,11 @@ NAPI_EXTERN napi_status napi_throw_type_error(napi_env env,
|
|
|
370
376
|
NAPI_EXTERN napi_status napi_throw_range_error(napi_env env,
|
|
371
377
|
const char* code,
|
|
372
378
|
const char* msg);
|
|
379
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
380
|
+
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
|
|
381
|
+
const char* code,
|
|
382
|
+
const char* msg);
|
|
383
|
+
#endif // NAPI_EXPERIMENTAL
|
|
373
384
|
NAPI_EXTERN napi_status napi_is_error(napi_env env,
|
|
374
385
|
napi_value value,
|
|
375
386
|
bool* result);
|
package/include/node/node.h
CHANGED
|
@@ -214,6 +214,20 @@ namespace node {
|
|
|
214
214
|
class IsolateData;
|
|
215
215
|
class Environment;
|
|
216
216
|
|
|
217
|
+
namespace ProcessFlags {
|
|
218
|
+
enum Flags : uint64_t {
|
|
219
|
+
kNoFlags = 0,
|
|
220
|
+
// Enable stdio inheritance, which is disabled by default.
|
|
221
|
+
kEnableStdioInheritance = 1 << 0,
|
|
222
|
+
// Disable reading the NODE_OPTIONS environment variable.
|
|
223
|
+
kDisableNodeOptionsEnv = 1 << 1,
|
|
224
|
+
// Do not parse CLI options.
|
|
225
|
+
kDisableCLIOptions = 1 << 2,
|
|
226
|
+
// Do not initialize ICU.
|
|
227
|
+
kNoICU = 1 << 3,
|
|
228
|
+
};
|
|
229
|
+
} // namespace ProcessFlags
|
|
230
|
+
|
|
217
231
|
// TODO(addaleax): Officially deprecate this and replace it with something
|
|
218
232
|
// better suited for a public embedder API.
|
|
219
233
|
NODE_EXTERN int Start(int argc, char* argv[]);
|
|
@@ -226,9 +240,16 @@ NODE_EXTERN int Stop(Environment* env);
|
|
|
226
240
|
// from argv, fill exec_argv, and possibly add errors resulting from parsing
|
|
227
241
|
// the arguments to `errors`. The return value is a suggested exit code for the
|
|
228
242
|
// program; If it is 0, then initializing Node.js succeeded.
|
|
229
|
-
NODE_EXTERN int InitializeNodeWithArgs(
|
|
230
|
-
|
|
231
|
-
|
|
243
|
+
NODE_EXTERN int InitializeNodeWithArgs(
|
|
244
|
+
std::vector<std::string>* argv,
|
|
245
|
+
std::vector<std::string>* exec_argv,
|
|
246
|
+
std::vector<std::string>* errors);
|
|
247
|
+
// TODO(zcbenz): Turn above overloaded version into below's default argument.
|
|
248
|
+
NODE_EXTERN int InitializeNodeWithArgs(
|
|
249
|
+
std::vector<std::string>* argv,
|
|
250
|
+
std::vector<std::string>* exec_argv,
|
|
251
|
+
std::vector<std::string>* errors,
|
|
252
|
+
ProcessFlags::Flags flags);
|
|
232
253
|
|
|
233
254
|
enum OptionEnvvarSettings {
|
|
234
255
|
kAllowedInEnvironment,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by apps/progs.pl
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|