node-linux-arm64 17.7.1 → 18.0.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/CHANGELOG.md +219 -1330
- package/LICENSE +111 -9
- package/README.md +17 -21
- package/bin/node +0 -0
- package/include/node/common.gypi +7 -3
- package/include/node/config.gypi +238 -236
- package/include/node/js_native_api.h +35 -46
- package/include/node/js_native_api_types.h +3 -6
- package/include/node/libplatform/libplatform.h +0 -11
- package/include/node/libplatform/v8-tracing.h +0 -1
- package/include/node/node.h +7 -3
- package/include/node/node_api.h +70 -60
- package/include/node/node_api_types.h +1 -2
- package/include/node/node_version.h +4 -4
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/bio.h +3 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/aix-gcc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix-gcc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/ssl.h +4 -1
- package/include/node/openssl/archs/aix-gcc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/bio.h +3 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ssl.h +4 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/progs.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h +3 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h +4 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/progs.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/bio.h +3 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h +4 -1
- package/include/node/openssl/archs/aix64-gcc-as/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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ssl.h +4 -1
- package/include/node/openssl/archs/linux-ppc64le/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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h +4 -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/openssl/bio.h +3 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h +2 -2
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h +4 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h +1 -1
- package/include/node/openssl/asn1_asm.h +2 -0
- package/include/node/openssl/asn1_no-asm.h +2 -0
- package/include/node/openssl/asn1t_asm.h +2 -0
- package/include/node/openssl/asn1t_no-asm.h +2 -0
- package/include/node/openssl/bio_asm.h +2 -0
- package/include/node/openssl/bio_no-asm.h +2 -0
- package/include/node/openssl/bn_conf_asm.h +2 -0
- package/include/node/openssl/bn_conf_no-asm.h +2 -0
- package/include/node/openssl/cmp_asm.h +2 -0
- package/include/node/openssl/cmp_no-asm.h +2 -0
- package/include/node/openssl/cms_asm.h +2 -0
- package/include/node/openssl/cms_no-asm.h +2 -0
- package/include/node/openssl/conf_asm.h +2 -0
- package/include/node/openssl/conf_no-asm.h +2 -0
- package/include/node/openssl/configuration_asm.h +2 -0
- package/include/node/openssl/configuration_no-asm.h +2 -0
- package/include/node/openssl/crmf_asm.h +2 -0
- package/include/node/openssl/crmf_no-asm.h +2 -0
- package/include/node/openssl/crypto_asm.h +2 -0
- package/include/node/openssl/crypto_no-asm.h +2 -0
- package/include/node/openssl/ct_asm.h +2 -0
- package/include/node/openssl/ct_no-asm.h +2 -0
- package/include/node/openssl/dso_conf_asm.h +2 -0
- package/include/node/openssl/dso_conf_no-asm.h +2 -0
- package/include/node/openssl/ec.h +4 -1
- package/include/node/openssl/engine.h +2 -1
- package/include/node/openssl/err_asm.h +2 -0
- package/include/node/openssl/err_no-asm.h +2 -0
- package/include/node/openssl/ess_asm.h +2 -0
- package/include/node/openssl/ess_no-asm.h +2 -0
- package/include/node/openssl/evp.h +3 -3
- package/include/node/openssl/fipskey_asm.h +2 -0
- package/include/node/openssl/fipskey_no-asm.h +2 -0
- package/include/node/openssl/lhash_asm.h +2 -0
- package/include/node/openssl/lhash_no-asm.h +2 -0
- package/include/node/openssl/ocsp_asm.h +2 -0
- package/include/node/openssl/ocsp_no-asm.h +2 -0
- package/include/node/openssl/opensslv_asm.h +2 -0
- package/include/node/openssl/opensslv_no-asm.h +2 -0
- package/include/node/openssl/pkcs12_asm.h +2 -0
- package/include/node/openssl/pkcs12_no-asm.h +2 -0
- package/include/node/openssl/pkcs7_asm.h +2 -0
- package/include/node/openssl/pkcs7_no-asm.h +2 -0
- package/include/node/openssl/safestack_asm.h +2 -0
- package/include/node/openssl/safestack_no-asm.h +2 -0
- package/include/node/openssl/self_test.h +4 -5
- package/include/node/openssl/srp_asm.h +2 -0
- package/include/node/openssl/srp_no-asm.h +2 -0
- package/include/node/openssl/ssl_asm.h +2 -0
- package/include/node/openssl/ssl_no-asm.h +2 -0
- package/include/node/openssl/ui_asm.h +2 -0
- package/include/node/openssl/ui_no-asm.h +2 -0
- package/include/node/openssl/x509_asm.h +2 -0
- package/include/node/openssl/x509_no-asm.h +2 -0
- package/include/node/openssl/x509_vfy_asm.h +2 -0
- package/include/node/openssl/x509_vfy_no-asm.h +2 -0
- package/include/node/openssl/x509v3_asm.h +2 -0
- package/include/node/openssl/x509v3_no-asm.h +2 -0
- package/include/node/v8-array-buffer.h +2 -2
- package/include/node/v8-callbacks.h +26 -6
- package/include/node/v8-context.h +3 -14
- package/include/node/v8-data.h +15 -0
- package/include/node/v8-debug.h +21 -4
- package/include/node/v8-embedder-heap.h +10 -30
- package/include/node/v8-embedder-state-scope.h +51 -0
- package/include/node/v8-exception.h +0 -7
- package/include/node/v8-function.h +3 -0
- package/include/node/v8-initialization.h +64 -31
- package/include/node/v8-internal.h +189 -102
- package/include/node/v8-isolate.h +49 -2
- package/include/node/v8-local-handle.h +0 -4
- package/include/node/v8-locker.h +2 -1
- package/include/node/v8-message.h +19 -44
- package/include/node/v8-object.h +11 -6
- package/include/node/v8-platform.h +365 -6
- package/include/node/v8-primitive.h +14 -6
- package/include/node/v8-profiler.h +78 -2
- package/include/node/v8-script.h +27 -51
- package/include/node/v8-snapshot.h +0 -2
- package/include/node/v8-statistics.h +2 -0
- package/include/node/v8-template.h +31 -4
- package/include/node/v8-traced-handle.h +39 -224
- package/include/node/v8-unwinder.h +10 -7
- package/include/node/v8-value-serializer.h +32 -2
- package/include/node/v8-version.h +4 -4
- package/include/node/v8-wasm.h +13 -1
- package/include/node/v8-weak-callback-info.h +20 -6
- package/include/node/v8.h +0 -1
- package/include/node/v8config.h +56 -11
- package/package.json +1 -1
- package/share/doc/node/gdbinit +14 -6
- package/share/man/man1/node.1 +7 -3
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
#define SRC_JS_NATIVE_API_H_
|
|
3
3
|
|
|
4
4
|
// This file needs to be compatible with C compilers.
|
|
5
|
-
#include <stddef.h> // NOLINT(modernize-deprecated-headers)
|
|
6
5
|
#include <stdbool.h> // NOLINT(modernize-deprecated-headers)
|
|
6
|
+
#include <stddef.h> // NOLINT(modernize-deprecated-headers)
|
|
7
7
|
|
|
8
8
|
// Use INT_MAX, this should only be consumed by the pre-processor anyway.
|
|
9
9
|
#define NAPI_VERSION_EXPERIMENTAL 2147483647
|
|
@@ -26,14 +26,15 @@
|
|
|
26
26
|
// If you need __declspec(dllimport), either include <node_api.h> instead, or
|
|
27
27
|
// define NAPI_EXTERN as __declspec(dllimport) on the compiler's command line.
|
|
28
28
|
#ifndef NAPI_EXTERN
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
#ifdef _WIN32
|
|
30
|
+
#define NAPI_EXTERN __declspec(dllexport)
|
|
31
|
+
#elif defined(__wasm32__)
|
|
32
|
+
#define NAPI_EXTERN \
|
|
33
|
+
__attribute__((visibility("default"))) \
|
|
34
|
+
__attribute__((__import_module__("napi")))
|
|
35
|
+
#else
|
|
36
|
+
#define NAPI_EXTERN __attribute__((visibility("default")))
|
|
37
|
+
#endif
|
|
37
38
|
#endif
|
|
38
39
|
|
|
39
40
|
#define NAPI_AUTO_LENGTH SIZE_MAX
|
|
@@ -49,8 +50,7 @@
|
|
|
49
50
|
EXTERN_C_START
|
|
50
51
|
|
|
51
52
|
NAPI_EXTERN napi_status
|
|
52
|
-
napi_get_last_error_info(napi_env env,
|
|
53
|
-
const napi_extended_error_info** result);
|
|
53
|
+
napi_get_last_error_info(napi_env env, const napi_extended_error_info** result);
|
|
54
54
|
|
|
55
55
|
// Getters for defined singletons
|
|
56
56
|
NAPI_EXTERN napi_status napi_get_undefined(napi_env env, napi_value* result);
|
|
@@ -145,18 +145,12 @@ NAPI_EXTERN napi_status napi_get_value_bool(napi_env env,
|
|
|
145
145
|
bool* result);
|
|
146
146
|
|
|
147
147
|
// Copies LATIN-1 encoded bytes from a string into a buffer.
|
|
148
|
-
NAPI_EXTERN napi_status napi_get_value_string_latin1(
|
|
149
|
-
|
|
150
|
-
char* buf,
|
|
151
|
-
size_t bufsize,
|
|
152
|
-
size_t* result);
|
|
148
|
+
NAPI_EXTERN napi_status napi_get_value_string_latin1(
|
|
149
|
+
napi_env env, napi_value value, char* buf, size_t bufsize, size_t* result);
|
|
153
150
|
|
|
154
151
|
// Copies UTF-8 encoded bytes from a string into a buffer.
|
|
155
|
-
NAPI_EXTERN napi_status napi_get_value_string_utf8(
|
|
156
|
-
|
|
157
|
-
char* buf,
|
|
158
|
-
size_t bufsize,
|
|
159
|
-
size_t* result);
|
|
152
|
+
NAPI_EXTERN napi_status napi_get_value_string_utf8(
|
|
153
|
+
napi_env env, napi_value value, char* buf, size_t bufsize, size_t* result);
|
|
160
154
|
|
|
161
155
|
// Copies UTF-16 encoded bytes from a string into a buffer.
|
|
162
156
|
NAPI_EXTERN napi_status napi_get_value_string_utf16(napi_env env,
|
|
@@ -208,17 +202,17 @@ NAPI_EXTERN napi_status napi_has_own_property(napi_env env,
|
|
|
208
202
|
napi_value key,
|
|
209
203
|
bool* result);
|
|
210
204
|
NAPI_EXTERN napi_status napi_set_named_property(napi_env env,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
205
|
+
napi_value object,
|
|
206
|
+
const char* utf8name,
|
|
207
|
+
napi_value value);
|
|
214
208
|
NAPI_EXTERN napi_status napi_has_named_property(napi_env env,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
209
|
+
napi_value object,
|
|
210
|
+
const char* utf8name,
|
|
211
|
+
bool* result);
|
|
218
212
|
NAPI_EXTERN napi_status napi_get_named_property(napi_env env,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
213
|
+
napi_value object,
|
|
214
|
+
const char* utf8name,
|
|
215
|
+
napi_value* result);
|
|
222
216
|
NAPI_EXTERN napi_status napi_set_element(napi_env env,
|
|
223
217
|
napi_value object,
|
|
224
218
|
uint32_t index,
|
|
@@ -359,12 +353,10 @@ NAPI_EXTERN napi_status napi_open_handle_scope(napi_env env,
|
|
|
359
353
|
napi_handle_scope* result);
|
|
360
354
|
NAPI_EXTERN napi_status napi_close_handle_scope(napi_env env,
|
|
361
355
|
napi_handle_scope scope);
|
|
362
|
-
NAPI_EXTERN napi_status
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
napi_close_escapable_handle_scope(napi_env env,
|
|
367
|
-
napi_escapable_handle_scope scope);
|
|
356
|
+
NAPI_EXTERN napi_status napi_open_escapable_handle_scope(
|
|
357
|
+
napi_env env, napi_escapable_handle_scope* result);
|
|
358
|
+
NAPI_EXTERN napi_status napi_close_escapable_handle_scope(
|
|
359
|
+
napi_env env, napi_escapable_handle_scope scope);
|
|
368
360
|
|
|
369
361
|
NAPI_EXTERN napi_status napi_escape_handle(napi_env env,
|
|
370
362
|
napi_escapable_handle_scope scope,
|
|
@@ -377,11 +369,11 @@ NAPI_EXTERN napi_status napi_throw_error(napi_env env,
|
|
|
377
369
|
const char* code,
|
|
378
370
|
const char* msg);
|
|
379
371
|
NAPI_EXTERN napi_status napi_throw_type_error(napi_env env,
|
|
380
|
-
|
|
381
|
-
|
|
372
|
+
const char* code,
|
|
373
|
+
const char* msg);
|
|
382
374
|
NAPI_EXTERN napi_status napi_throw_range_error(napi_env env,
|
|
383
|
-
|
|
384
|
-
|
|
375
|
+
const char* code,
|
|
376
|
+
const char* msg);
|
|
385
377
|
#ifdef NAPI_EXPERIMENTAL
|
|
386
378
|
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
|
|
387
379
|
const char* code,
|
|
@@ -542,8 +534,7 @@ NAPI_EXTERN napi_status napi_set_instance_data(napi_env env,
|
|
|
542
534
|
napi_finalize finalize_cb,
|
|
543
535
|
void* finalize_hint);
|
|
544
536
|
|
|
545
|
-
NAPI_EXTERN napi_status napi_get_instance_data(napi_env env,
|
|
546
|
-
void** data);
|
|
537
|
+
NAPI_EXTERN napi_status napi_get_instance_data(napi_env env, void** data);
|
|
547
538
|
#endif // NAPI_VERSION >= 6
|
|
548
539
|
|
|
549
540
|
#if NAPI_VERSION >= 7
|
|
@@ -567,10 +558,8 @@ napi_check_object_type_tag(napi_env env,
|
|
|
567
558
|
napi_value value,
|
|
568
559
|
const napi_type_tag* type_tag,
|
|
569
560
|
bool* result);
|
|
570
|
-
NAPI_EXTERN napi_status napi_object_freeze(napi_env env,
|
|
571
|
-
|
|
572
|
-
NAPI_EXTERN napi_status napi_object_seal(napi_env env,
|
|
573
|
-
napi_value object);
|
|
561
|
+
NAPI_EXTERN napi_status napi_object_freeze(napi_env env, napi_value object);
|
|
562
|
+
NAPI_EXTERN napi_status napi_object_seal(napi_env env, napi_value object);
|
|
574
563
|
#endif // NAPI_VERSION >= 8
|
|
575
564
|
|
|
576
565
|
EXTERN_C_END
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
#include <stdint.h> // NOLINT(modernize-deprecated-headers)
|
|
9
9
|
|
|
10
10
|
#if !defined __cplusplus || (defined(_MSC_VER) && _MSC_VER < 1900)
|
|
11
|
-
|
|
11
|
+
typedef uint16_t char16_t;
|
|
12
12
|
#endif
|
|
13
13
|
|
|
14
14
|
// JSVM API types are all opaque pointers for ABI stability
|
|
@@ -36,9 +36,7 @@ typedef enum {
|
|
|
36
36
|
napi_default_method = napi_writable | napi_configurable,
|
|
37
37
|
|
|
38
38
|
// Default for object properties, like in JS obj[prop].
|
|
39
|
-
napi_default_jsproperty = napi_writable |
|
|
40
|
-
napi_enumerable |
|
|
41
|
-
napi_configurable,
|
|
39
|
+
napi_default_jsproperty = napi_writable | napi_enumerable | napi_configurable,
|
|
42
40
|
#endif // NAPI_VERSION >= 8
|
|
43
41
|
} napi_property_attributes;
|
|
44
42
|
|
|
@@ -102,8 +100,7 @@ typedef enum {
|
|
|
102
100
|
// * the definition of `napi_status` in doc/api/n-api.md to reflect the newly
|
|
103
101
|
// added value(s).
|
|
104
102
|
|
|
105
|
-
typedef napi_value (*napi_callback)(napi_env env,
|
|
106
|
-
napi_callback_info info);
|
|
103
|
+
typedef napi_value (*napi_callback)(napi_env env, napi_callback_info info);
|
|
107
104
|
typedef void (*napi_finalize)(napi_env env,
|
|
108
105
|
void* finalize_data,
|
|
109
106
|
void* finalize_hint);
|
|
@@ -89,17 +89,6 @@ V8_PLATFORM_EXPORT void RunIdleTasks(v8::Platform* platform,
|
|
|
89
89
|
v8::Isolate* isolate,
|
|
90
90
|
double idle_time_in_seconds);
|
|
91
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
92
|
/**
|
|
104
93
|
* Notifies the given platform about the Isolate getting deleted soon. Has to be
|
|
105
94
|
* called for all Isolates which are deleted - unless we're shutting down the
|
package/include/node/node.h
CHANGED
|
@@ -440,6 +440,8 @@ enum Flags : uint64_t {
|
|
|
440
440
|
// do not expect to have their behaviors changed because of globally
|
|
441
441
|
// installed modules.
|
|
442
442
|
kNoGlobalSearchPaths = 1 << 7,
|
|
443
|
+
// Do not export browser globals like setTimeout, console, etc.
|
|
444
|
+
kNoBrowserGlobals = 1 << 8,
|
|
443
445
|
// Controls whether or not the Environment should call V8Inspector::create().
|
|
444
446
|
// This control is needed by embedders who may not want to initialize the V8
|
|
445
447
|
// inspector in situations where one has already been created,
|
|
@@ -825,11 +827,13 @@ extern "C" NODE_EXTERN void node_module_register(void* mod);
|
|
|
825
827
|
#endif
|
|
826
828
|
|
|
827
829
|
#if defined(_MSC_VER)
|
|
828
|
-
#pragma section(".CRT$XCU", read)
|
|
829
830
|
#define NODE_C_CTOR(fn) \
|
|
830
831
|
NODE_CTOR_PREFIX void __cdecl fn(void); \
|
|
831
|
-
|
|
832
|
-
|
|
832
|
+
namespace { \
|
|
833
|
+
struct fn##_ { \
|
|
834
|
+
fn##_() { fn(); }; \
|
|
835
|
+
} fn##_v_; \
|
|
836
|
+
} \
|
|
833
837
|
NODE_CTOR_PREFIX void __cdecl fn(void)
|
|
834
838
|
#else
|
|
835
839
|
#define NODE_C_CTOR(fn) \
|
package/include/node/node_api.h
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
#define SRC_NODE_API_H_
|
|
3
3
|
|
|
4
4
|
#ifdef BUILDING_NODE_EXTENSION
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
#ifdef _WIN32
|
|
6
|
+
// Building native module against node
|
|
7
|
+
#define NAPI_EXTERN __declspec(dllimport)
|
|
8
|
+
#elif defined(__wasm32__)
|
|
9
|
+
#define NAPI_EXTERN __attribute__((__import_module__("napi")))
|
|
10
|
+
#endif
|
|
11
11
|
#endif
|
|
12
12
|
#include "js_native_api.h"
|
|
13
13
|
#include "node_api_types.h"
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
struct uv_loop_s; // Forward declaration.
|
|
16
16
|
|
|
17
17
|
#ifdef _WIN32
|
|
18
|
-
#
|
|
18
|
+
#define NAPI_MODULE_EXPORT __declspec(dllexport)
|
|
19
19
|
#else
|
|
20
|
-
#
|
|
20
|
+
#define NAPI_MODULE_EXPORT __attribute__((visibility("default")))
|
|
21
21
|
#endif
|
|
22
22
|
|
|
23
23
|
#if defined(__GNUC__)
|
|
24
|
-
#
|
|
24
|
+
#define NAPI_NO_RETURN __attribute__((noreturn))
|
|
25
25
|
#elif defined(_WIN32)
|
|
26
|
-
#
|
|
26
|
+
#define NAPI_NO_RETURN __declspec(noreturn)
|
|
27
27
|
#else
|
|
28
|
-
#
|
|
28
|
+
#define NAPI_NO_RETURN
|
|
29
29
|
#endif
|
|
30
30
|
|
|
31
31
|
typedef napi_value (*napi_addon_register_func)(napi_env env,
|
|
@@ -41,36 +41,50 @@ typedef struct napi_module {
|
|
|
41
41
|
void* reserved[4];
|
|
42
42
|
} napi_module;
|
|
43
43
|
|
|
44
|
-
#define NAPI_MODULE_VERSION
|
|
44
|
+
#define NAPI_MODULE_VERSION 1
|
|
45
45
|
|
|
46
46
|
#if defined(_MSC_VER)
|
|
47
|
+
#if defined(__cplusplus)
|
|
48
|
+
#define NAPI_C_CTOR(fn) \
|
|
49
|
+
static void __cdecl fn(void); \
|
|
50
|
+
namespace { \
|
|
51
|
+
struct fn##_ { \
|
|
52
|
+
fn##_() { fn(); } \
|
|
53
|
+
} fn##_v_; \
|
|
54
|
+
} \
|
|
55
|
+
static void __cdecl fn(void)
|
|
56
|
+
#else // !defined(__cplusplus)
|
|
47
57
|
#pragma section(".CRT$XCU", read)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
// The NAPI_C_CTOR macro defines a function fn that is called during CRT
|
|
59
|
+
// initialization.
|
|
60
|
+
// C does not support dynamic initialization of static variables and this code
|
|
61
|
+
// simulates C++ behavior. Exporting the function pointer prevents it from being
|
|
62
|
+
// optimized. See for details:
|
|
63
|
+
// https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-initialization?view=msvc-170
|
|
64
|
+
#define NAPI_C_CTOR(fn) \
|
|
65
|
+
static void __cdecl fn(void); \
|
|
66
|
+
__declspec(dllexport, allocate(".CRT$XCU")) void(__cdecl * fn##_)(void) = \
|
|
67
|
+
fn; \
|
|
52
68
|
static void __cdecl fn(void)
|
|
69
|
+
#endif // defined(__cplusplus)
|
|
53
70
|
#else
|
|
54
|
-
#define NAPI_C_CTOR(fn)
|
|
55
|
-
static void fn(void) __attribute__((constructor));
|
|
71
|
+
#define NAPI_C_CTOR(fn) \
|
|
72
|
+
static void fn(void) __attribute__((constructor)); \
|
|
56
73
|
static void fn(void)
|
|
57
74
|
#endif
|
|
58
75
|
|
|
59
|
-
#define NAPI_MODULE_X(modname, regfunc, priv, flags)
|
|
60
|
-
EXTERN_C_START
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
NAPI_C_CTOR(_register_ ## modname) { \
|
|
72
|
-
napi_module_register(&_module); \
|
|
73
|
-
} \
|
|
76
|
+
#define NAPI_MODULE_X(modname, regfunc, priv, flags) \
|
|
77
|
+
EXTERN_C_START \
|
|
78
|
+
static napi_module _module = { \
|
|
79
|
+
NAPI_MODULE_VERSION, \
|
|
80
|
+
flags, \
|
|
81
|
+
__FILE__, \
|
|
82
|
+
regfunc, \
|
|
83
|
+
#modname, \
|
|
84
|
+
priv, \
|
|
85
|
+
{0}, \
|
|
86
|
+
}; \
|
|
87
|
+
NAPI_C_CTOR(_register_##modname) { napi_module_register(&_module); } \
|
|
74
88
|
EXTERN_C_END
|
|
75
89
|
|
|
76
90
|
#define NAPI_MODULE_INITIALIZER_X(base, version) \
|
|
@@ -88,24 +102,22 @@ typedef struct napi_module {
|
|
|
88
102
|
} \
|
|
89
103
|
EXTERN_C_END
|
|
90
104
|
#else
|
|
91
|
-
#define NAPI_MODULE(modname, regfunc)
|
|
105
|
+
#define NAPI_MODULE(modname, regfunc) \
|
|
92
106
|
NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
|
|
93
107
|
#endif
|
|
94
108
|
|
|
95
109
|
#define NAPI_MODULE_INITIALIZER_BASE napi_register_module_v
|
|
96
110
|
|
|
97
|
-
#define NAPI_MODULE_INITIALIZER
|
|
98
|
-
NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE,
|
|
99
|
-
NAPI_MODULE_VERSION)
|
|
111
|
+
#define NAPI_MODULE_INITIALIZER \
|
|
112
|
+
NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE, NAPI_MODULE_VERSION)
|
|
100
113
|
|
|
101
|
-
#define NAPI_MODULE_INIT()
|
|
102
|
-
EXTERN_C_START
|
|
103
|
-
NAPI_MODULE_EXPORT napi_value
|
|
104
|
-
|
|
105
|
-
EXTERN_C_END
|
|
106
|
-
NAPI_MODULE(NODE_GYP_MODULE_NAME, NAPI_MODULE_INITIALIZER)
|
|
107
|
-
napi_value NAPI_MODULE_INITIALIZER(napi_env env,
|
|
108
|
-
napi_value exports)
|
|
114
|
+
#define NAPI_MODULE_INIT() \
|
|
115
|
+
EXTERN_C_START \
|
|
116
|
+
NAPI_MODULE_EXPORT napi_value NAPI_MODULE_INITIALIZER(napi_env env, \
|
|
117
|
+
napi_value exports); \
|
|
118
|
+
EXTERN_C_END \
|
|
119
|
+
NAPI_MODULE(NODE_GYP_MODULE_NAME, NAPI_MODULE_INITIALIZER) \
|
|
120
|
+
napi_value NAPI_MODULE_INITIALIZER(napi_env env, napi_value exports)
|
|
109
121
|
|
|
110
122
|
EXTERN_C_START
|
|
111
123
|
|
|
@@ -225,9 +237,8 @@ napi_create_threadsafe_function(napi_env env,
|
|
|
225
237
|
napi_threadsafe_function_call_js call_js_cb,
|
|
226
238
|
napi_threadsafe_function* result);
|
|
227
239
|
|
|
228
|
-
NAPI_EXTERN napi_status
|
|
229
|
-
|
|
230
|
-
void** result);
|
|
240
|
+
NAPI_EXTERN napi_status napi_get_threadsafe_function_context(
|
|
241
|
+
napi_threadsafe_function func, void** result);
|
|
231
242
|
|
|
232
243
|
NAPI_EXTERN napi_status
|
|
233
244
|
napi_call_threadsafe_function(napi_threadsafe_function func,
|
|
@@ -237,9 +248,8 @@ napi_call_threadsafe_function(napi_threadsafe_function func,
|
|
|
237
248
|
NAPI_EXTERN napi_status
|
|
238
249
|
napi_acquire_threadsafe_function(napi_threadsafe_function func);
|
|
239
250
|
|
|
240
|
-
NAPI_EXTERN napi_status
|
|
241
|
-
|
|
242
|
-
napi_threadsafe_function_release_mode mode);
|
|
251
|
+
NAPI_EXTERN napi_status napi_release_threadsafe_function(
|
|
252
|
+
napi_threadsafe_function func, napi_threadsafe_function_release_mode mode);
|
|
243
253
|
|
|
244
254
|
NAPI_EXTERN napi_status
|
|
245
255
|
napi_unref_threadsafe_function(napi_env env, napi_threadsafe_function func);
|
|
@@ -252,21 +262,21 @@ napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func);
|
|
|
252
262
|
|
|
253
263
|
#if NAPI_VERSION >= 8
|
|
254
264
|
|
|
255
|
-
NAPI_EXTERN napi_status
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
265
|
+
NAPI_EXTERN napi_status
|
|
266
|
+
napi_add_async_cleanup_hook(napi_env env,
|
|
267
|
+
napi_async_cleanup_hook hook,
|
|
268
|
+
void* arg,
|
|
269
|
+
napi_async_cleanup_hook_handle* remove_handle);
|
|
260
270
|
|
|
261
|
-
NAPI_EXTERN napi_status
|
|
262
|
-
|
|
271
|
+
NAPI_EXTERN napi_status
|
|
272
|
+
napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
|
|
263
273
|
|
|
264
274
|
#endif // NAPI_VERSION >= 8
|
|
265
275
|
|
|
266
276
|
#ifdef NAPI_EXPERIMENTAL
|
|
267
277
|
|
|
268
|
-
NAPI_EXTERN napi_status
|
|
269
|
-
|
|
278
|
+
NAPI_EXTERN napi_status node_api_get_module_file_name(napi_env env,
|
|
279
|
+
const char** result);
|
|
270
280
|
|
|
271
281
|
#endif // NAPI_EXPERIMENTAL
|
|
272
282
|
|
|
@@ -22,8 +22,7 @@ typedef enum {
|
|
|
22
22
|
} napi_threadsafe_function_call_mode;
|
|
23
23
|
#endif // NAPI_VERSION >= 4
|
|
24
24
|
|
|
25
|
-
typedef void (*napi_async_execute_callback)(napi_env env,
|
|
26
|
-
void* data);
|
|
25
|
+
typedef void (*napi_async_execute_callback)(napi_env env, void* data);
|
|
27
26
|
typedef void (*napi_async_complete_callback)(napi_env env,
|
|
28
27
|
napi_status status,
|
|
29
28
|
void* data);
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
#ifndef SRC_NODE_VERSION_H_
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
|
-
#define NODE_MAJOR_VERSION
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
25
|
+
#define NODE_MAJOR_VERSION 18
|
|
26
|
+
#define NODE_MINOR_VERSION 0
|
|
27
|
+
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME ""
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
* version matching should open a pull request to reserve a number in this
|
|
90
90
|
* registry.
|
|
91
91
|
*/
|
|
92
|
-
#define NODE_MODULE_VERSION
|
|
92
|
+
#define NODE_MODULE_VERSION 108
|
|
93
93
|
|
|
94
94
|
// The NAPI_VERSION provided by this version of the runtime. This is the version
|
|
95
95
|
// which the Node binary being built supports.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/bio.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -208,6 +208,8 @@ extern "C" {
|
|
|
208
208
|
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
|
209
209
|
# define BIO_FLAGS_IN_EOF 0x800
|
|
210
210
|
|
|
211
|
+
/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
|
|
212
|
+
|
|
211
213
|
typedef union bio_addr_st BIO_ADDR;
|
|
212
214
|
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
|
213
215
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/crypto.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
|
7
7
|
*
|
|
8
8
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
|
|
|
124
124
|
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
|
|
125
125
|
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
|
|
126
126
|
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
|
|
127
|
-
int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *
|
|
127
|
+
int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
|
|
128
128
|
const unsigned char *buf, size_t buflen,
|
|
129
129
|
const char sep);
|
|
130
130
|
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 2
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.2"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "15 Mar 2022"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/ssl.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
|
7
7
|
* Copyright 2005 Nokia. All rights reserved.
|
|
8
8
|
*
|
|
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1380
1380
|
# define SSL_CTRL_GET_SIGNATURE_NID 132
|
|
1381
1381
|
# define SSL_CTRL_GET_TMP_KEY 133
|
|
1382
1382
|
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
|
|
1383
|
+
# define SSL_CTRL_SET_RETRY_VERIFY 136
|
|
1383
1384
|
# define SSL_CERT_SET_FIRST 1
|
|
1384
1385
|
# define SSL_CERT_SET_NEXT 2
|
|
1385
1386
|
# define SSL_CERT_SET_SERVER 3
|
|
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
|
|
|
2202
2203
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
|
|
2203
2204
|
# define SSL_set_max_pipelines(ssl,m) \
|
|
2204
2205
|
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
|
|
2206
|
+
# define SSL_set_retry_verify(ssl) \
|
|
2207
|
+
(SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
|
|
2205
2208
|
|
|
2206
2209
|
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
|
|
2207
2210
|
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
|
|
@@ -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 Apache License 2.0 (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 Makefile from include/openssl/bio.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
8
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -208,6 +208,8 @@ extern "C" {
|
|
|
208
208
|
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
|
209
209
|
# define BIO_FLAGS_IN_EOF 0x800
|
|
210
210
|
|
|
211
|
+
/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
|
|
212
|
+
|
|
211
213
|
typedef union bio_addr_st BIO_ADDR;
|
|
212
214
|
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
|
213
215
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/crypto.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
|
7
7
|
*
|
|
8
8
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
|
|
|
124
124
|
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
|
|
125
125
|
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
|
|
126
126
|
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
|
|
127
|
-
int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *
|
|
127
|
+
int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
|
|
128
128
|
const unsigned char *buf, size_t buflen,
|
|
129
129
|
const char sep);
|
|
130
130
|
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
|