node-aix-ppc64 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.exp +12241 -12068
- 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': '0.0',
|
|
18
18
|
'host_arch': 'ppc64',
|
|
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/_http_agent.js',
|
|
33
34
|
'lib/_http_client.js',
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
'lib/internal/net.js',
|
|
117
118
|
'lib/internal/options.js',
|
|
118
119
|
'lib/internal/priority_queue.js',
|
|
120
|
+
'lib/internal/promise_hooks.js',
|
|
119
121
|
'lib/internal/querystring.js',
|
|
120
122
|
'lib/internal/repl.js',
|
|
121
123
|
'lib/internal/socket_list.js',
|
|
@@ -202,9 +204,12 @@
|
|
|
202
204
|
'lib/internal/modules/run_main.js',
|
|
203
205
|
'lib/internal/modules/cjs/helpers.js',
|
|
204
206
|
'lib/internal/modules/cjs/loader.js',
|
|
207
|
+
'lib/internal/modules/esm/assert.js',
|
|
205
208
|
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
206
209
|
'lib/internal/modules/esm/get_format.js',
|
|
207
210
|
'lib/internal/modules/esm/get_source.js',
|
|
211
|
+
'lib/internal/modules/esm/handle_process_exit.js',
|
|
212
|
+
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
208
213
|
'lib/internal/modules/esm/load.js',
|
|
209
214
|
'lib/internal/modules/esm/loader.js',
|
|
210
215
|
'lib/internal/modules/esm/module_job.js',
|
|
@@ -237,6 +242,7 @@
|
|
|
237
242
|
'lib/internal/process/worker_thread_only.js',
|
|
238
243
|
'lib/internal/readline/callbacks.js',
|
|
239
244
|
'lib/internal/readline/emitKeypressEvents.js',
|
|
245
|
+
'lib/internal/readline/interface.js',
|
|
240
246
|
'lib/internal/readline/utils.js',
|
|
241
247
|
'lib/internal/repl/await.js',
|
|
242
248
|
'lib/internal/repl/history.js',
|
|
@@ -254,6 +260,7 @@
|
|
|
254
260
|
'lib/internal/streams/from.js',
|
|
255
261
|
'lib/internal/streams/lazy_transform.js',
|
|
256
262
|
'lib/internal/streams/legacy.js',
|
|
263
|
+
'lib/internal/streams/operators.js',
|
|
257
264
|
'lib/internal/streams/passthrough.js',
|
|
258
265
|
'lib/internal/streams/pipeline.js',
|
|
259
266
|
'lib/internal/streams/readable.js',
|
|
@@ -273,6 +280,7 @@
|
|
|
273
280
|
'lib/internal/util/iterable_weak_map.js',
|
|
274
281
|
'lib/internal/util/types.js',
|
|
275
282
|
'lib/internal/vm/module.js',
|
|
283
|
+
'lib/internal/webstreams/adapters.js',
|
|
276
284
|
'lib/internal/webstreams/encoding.js',
|
|
277
285
|
'lib/internal/webstreams/queuingstrategies.js',
|
|
278
286
|
'lib/internal/webstreams/readablestream.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);
|