node-linux-arm64 18.12.0 → 19.0.1
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 +142 -1733
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +5 -5
- package/include/node/cppgc/common.h +0 -1
- package/include/node/node.h +6 -6
- package/include/node/node_version.h +6 -6
- 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 +1 -0
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/err.h +13 -1
- 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_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h +1 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/err.h +13 -1
- 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/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h +1 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
- 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 +1 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/err.h +13 -1
- 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_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h +1 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/err.h +13 -1
- 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/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h +1 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/err.h +13 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/v8-callbacks.h +19 -5
- package/include/node/v8-context.h +12 -8
- package/include/node/v8-date.h +5 -0
- package/include/node/v8-embedder-heap.h +8 -3
- package/include/node/v8-exception.h +1 -1
- package/include/node/v8-function.h +8 -0
- package/include/node/v8-initialization.h +23 -49
- package/include/node/v8-internal.h +312 -123
- package/include/node/v8-isolate.h +26 -42
- package/include/node/v8-local-handle.h +5 -5
- package/include/node/v8-locker.h +0 -11
- package/include/node/v8-maybe.h +24 -1
- package/include/node/v8-message.h +2 -4
- package/include/node/v8-microtask-queue.h +1 -1
- package/include/node/v8-object.h +8 -15
- package/include/node/v8-persistent-handle.h +0 -2
- package/include/node/v8-platform.h +54 -25
- package/include/node/v8-primitive.h +8 -8
- package/include/node/v8-profiler.h +84 -22
- package/include/node/v8-regexp.h +2 -1
- package/include/node/v8-script.h +62 -6
- package/include/node/v8-template.h +13 -76
- package/include/node/v8-value-serializer.h +46 -23
- package/include/node/v8-version.h +3 -3
- package/include/node/v8-wasm.h +5 -62
- package/include/node/v8-weak-callback-info.h +0 -7
- package/include/node/v8config.h +247 -13
- package/package.json +1 -1
- package/share/doc/node/gdbinit +9 -1
- package/share/man/man1/node.1 +9 -6
- package/share/systemtap/tapset/node.stp +0 -146
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright 1995-
|
|
2
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
5
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -323,15 +323,27 @@ static ossl_unused ossl_inline int ERR_COMMON_ERROR(unsigned long errcode)
|
|
|
323
323
|
# define ERR_R_DSA_LIB (ERR_LIB_DSA/* 10 */ | ERR_RFLAG_COMMON)
|
|
324
324
|
# define ERR_R_X509_LIB (ERR_LIB_X509/* 11 */ | ERR_RFLAG_COMMON)
|
|
325
325
|
# define ERR_R_ASN1_LIB (ERR_LIB_ASN1/* 13 */ | ERR_RFLAG_COMMON)
|
|
326
|
+
# define ERR_R_CONF_LIB (ERR_LIB_CONF/* 14 */ | ERR_RFLAG_COMMON)
|
|
326
327
|
# define ERR_R_CRYPTO_LIB (ERR_LIB_CRYPTO/* 15 */ | ERR_RFLAG_COMMON)
|
|
327
328
|
# define ERR_R_EC_LIB (ERR_LIB_EC/* 16 */ | ERR_RFLAG_COMMON)
|
|
329
|
+
# define ERR_R_SSL_LIB (ERR_LIB_SSL/* 20 */ | ERR_RFLAG_COMMON)
|
|
328
330
|
# define ERR_R_BIO_LIB (ERR_LIB_BIO/* 32 */ | ERR_RFLAG_COMMON)
|
|
329
331
|
# define ERR_R_PKCS7_LIB (ERR_LIB_PKCS7/* 33 */ | ERR_RFLAG_COMMON)
|
|
330
332
|
# define ERR_R_X509V3_LIB (ERR_LIB_X509V3/* 34 */ | ERR_RFLAG_COMMON)
|
|
333
|
+
# define ERR_R_PKCS12_LIB (ERR_LIB_PKCS12/* 35 */ | ERR_RFLAG_COMMON)
|
|
334
|
+
# define ERR_R_RAND_LIB (ERR_LIB_RAND/* 36 */ | ERR_RFLAG_COMMON)
|
|
335
|
+
# define ERR_R_DSO_LIB (ERR_LIB_DSO/* 37 */ | ERR_RFLAG_COMMON)
|
|
331
336
|
# define ERR_R_ENGINE_LIB (ERR_LIB_ENGINE/* 38 */ | ERR_RFLAG_COMMON)
|
|
332
337
|
# define ERR_R_UI_LIB (ERR_LIB_UI/* 40 */ | ERR_RFLAG_COMMON)
|
|
333
338
|
# define ERR_R_ECDSA_LIB (ERR_LIB_ECDSA/* 42 */ | ERR_RFLAG_COMMON)
|
|
334
339
|
# define ERR_R_OSSL_STORE_LIB (ERR_LIB_OSSL_STORE/* 44 */ | ERR_RFLAG_COMMON)
|
|
340
|
+
# define ERR_R_CMS_LIB (ERR_LIB_CMS/* 46 */ | ERR_RFLAG_COMMON)
|
|
341
|
+
# define ERR_R_TS_LIB (ERR_LIB_TS/* 47 */ | ERR_RFLAG_COMMON)
|
|
342
|
+
# define ERR_R_CT_LIB (ERR_LIB_CT/* 50 */ | ERR_RFLAG_COMMON)
|
|
343
|
+
# define ERR_R_PROV_LIB (ERR_LIB_PROV/* 57 */ | ERR_RFLAG_COMMON)
|
|
344
|
+
# define ERR_R_ESS_LIB (ERR_LIB_ESS/* 54 */ | ERR_RFLAG_COMMON)
|
|
345
|
+
# define ERR_R_CMP_LIB (ERR_LIB_CMP/* 58 */ | ERR_RFLAG_COMMON)
|
|
346
|
+
# define ERR_R_OSSL_ENCODER_LIB (ERR_LIB_OSSL_ENCODER/* 59 */ | ERR_RFLAG_COMMON)
|
|
335
347
|
# define ERR_R_OSSL_DECODER_LIB (ERR_LIB_OSSL_DECODER/* 60 */ | ERR_RFLAG_COMMON)
|
|
336
348
|
|
|
337
349
|
/* Other common error codes, range 256..2^ERR_RFLAGS_OFFSET-1 */
|
|
@@ -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 7
|
|
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.7"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.7+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 "1 Nov 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.7+quic 1 Nov 2022"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -819,6 +819,7 @@ void BIO_copy_next_retry(BIO *b);
|
|
|
819
819
|
|
|
820
820
|
# define ossl_bio__attr__(x)
|
|
821
821
|
# if defined(__GNUC__) && defined(__STDC_VERSION__) \
|
|
822
|
+
&& !defined(__MINGW32__) && !defined(__MINGW64__) \
|
|
822
823
|
&& !defined(__APPLE__)
|
|
823
824
|
/*
|
|
824
825
|
* Because we support the 'z' modifier, which made its appearance in C99,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright 1995-
|
|
2
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
5
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -323,15 +323,27 @@ static ossl_unused ossl_inline int ERR_COMMON_ERROR(unsigned long errcode)
|
|
|
323
323
|
# define ERR_R_DSA_LIB (ERR_LIB_DSA/* 10 */ | ERR_RFLAG_COMMON)
|
|
324
324
|
# define ERR_R_X509_LIB (ERR_LIB_X509/* 11 */ | ERR_RFLAG_COMMON)
|
|
325
325
|
# define ERR_R_ASN1_LIB (ERR_LIB_ASN1/* 13 */ | ERR_RFLAG_COMMON)
|
|
326
|
+
# define ERR_R_CONF_LIB (ERR_LIB_CONF/* 14 */ | ERR_RFLAG_COMMON)
|
|
326
327
|
# define ERR_R_CRYPTO_LIB (ERR_LIB_CRYPTO/* 15 */ | ERR_RFLAG_COMMON)
|
|
327
328
|
# define ERR_R_EC_LIB (ERR_LIB_EC/* 16 */ | ERR_RFLAG_COMMON)
|
|
329
|
+
# define ERR_R_SSL_LIB (ERR_LIB_SSL/* 20 */ | ERR_RFLAG_COMMON)
|
|
328
330
|
# define ERR_R_BIO_LIB (ERR_LIB_BIO/* 32 */ | ERR_RFLAG_COMMON)
|
|
329
331
|
# define ERR_R_PKCS7_LIB (ERR_LIB_PKCS7/* 33 */ | ERR_RFLAG_COMMON)
|
|
330
332
|
# define ERR_R_X509V3_LIB (ERR_LIB_X509V3/* 34 */ | ERR_RFLAG_COMMON)
|
|
333
|
+
# define ERR_R_PKCS12_LIB (ERR_LIB_PKCS12/* 35 */ | ERR_RFLAG_COMMON)
|
|
334
|
+
# define ERR_R_RAND_LIB (ERR_LIB_RAND/* 36 */ | ERR_RFLAG_COMMON)
|
|
335
|
+
# define ERR_R_DSO_LIB (ERR_LIB_DSO/* 37 */ | ERR_RFLAG_COMMON)
|
|
331
336
|
# define ERR_R_ENGINE_LIB (ERR_LIB_ENGINE/* 38 */ | ERR_RFLAG_COMMON)
|
|
332
337
|
# define ERR_R_UI_LIB (ERR_LIB_UI/* 40 */ | ERR_RFLAG_COMMON)
|
|
333
338
|
# define ERR_R_ECDSA_LIB (ERR_LIB_ECDSA/* 42 */ | ERR_RFLAG_COMMON)
|
|
334
339
|
# define ERR_R_OSSL_STORE_LIB (ERR_LIB_OSSL_STORE/* 44 */ | ERR_RFLAG_COMMON)
|
|
340
|
+
# define ERR_R_CMS_LIB (ERR_LIB_CMS/* 46 */ | ERR_RFLAG_COMMON)
|
|
341
|
+
# define ERR_R_TS_LIB (ERR_LIB_TS/* 47 */ | ERR_RFLAG_COMMON)
|
|
342
|
+
# define ERR_R_CT_LIB (ERR_LIB_CT/* 50 */ | ERR_RFLAG_COMMON)
|
|
343
|
+
# define ERR_R_PROV_LIB (ERR_LIB_PROV/* 57 */ | ERR_RFLAG_COMMON)
|
|
344
|
+
# define ERR_R_ESS_LIB (ERR_LIB_ESS/* 54 */ | ERR_RFLAG_COMMON)
|
|
345
|
+
# define ERR_R_CMP_LIB (ERR_LIB_CMP/* 58 */ | ERR_RFLAG_COMMON)
|
|
346
|
+
# define ERR_R_OSSL_ENCODER_LIB (ERR_LIB_OSSL_ENCODER/* 59 */ | ERR_RFLAG_COMMON)
|
|
335
347
|
# define ERR_R_OSSL_DECODER_LIB (ERR_LIB_OSSL_DECODER/* 60 */ | ERR_RFLAG_COMMON)
|
|
336
348
|
|
|
337
349
|
/* Other common error codes, range 256..2^ERR_RFLAGS_OFFSET-1 */
|
|
@@ -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 7
|
|
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.7"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.7+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 "1 Nov 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.7+quic 1 Nov 2022"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
#include "cppgc/common.h"
|
|
13
13
|
#include "v8-data.h" // NOLINT(build/include_directory)
|
|
14
14
|
#include "v8-local-handle.h" // NOLINT(build/include_directory)
|
|
15
|
+
#include "v8-promise.h" // NOLINT(build/include_directory)
|
|
15
16
|
#include "v8config.h" // NOLINT(build/include_directory)
|
|
16
17
|
|
|
17
18
|
#if defined(V8_OS_WIN)
|
|
@@ -105,7 +106,7 @@ struct JitCodeEvent {
|
|
|
105
106
|
size_t line_number_table_size;
|
|
106
107
|
};
|
|
107
108
|
|
|
108
|
-
wasm_source_info_t* wasm_source_info;
|
|
109
|
+
wasm_source_info_t* wasm_source_info = nullptr;
|
|
109
110
|
|
|
110
111
|
union {
|
|
111
112
|
// Only valid for CODE_ADDED.
|
|
@@ -216,7 +217,13 @@ using AddHistogramSampleCallback = void (*)(void* histogram, int sample);
|
|
|
216
217
|
|
|
217
218
|
using FatalErrorCallback = void (*)(const char* location, const char* message);
|
|
218
219
|
|
|
219
|
-
|
|
220
|
+
struct OOMDetails {
|
|
221
|
+
bool is_heap_oom = false;
|
|
222
|
+
const char* detail = nullptr;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
using OOMErrorCallback = void (*)(const char* location,
|
|
226
|
+
const OOMDetails& details);
|
|
220
227
|
|
|
221
228
|
using MessageCallback = void (*)(Local<Message> message, Local<Value> data);
|
|
222
229
|
|
|
@@ -231,8 +238,11 @@ enum class CrashKeyId {
|
|
|
231
238
|
kIsolateAddress,
|
|
232
239
|
kReadonlySpaceFirstPageAddress,
|
|
233
240
|
kMapSpaceFirstPageAddress,
|
|
241
|
+
kCodeRangeBaseAddress,
|
|
234
242
|
kCodeSpaceFirstPageAddress,
|
|
235
243
|
kDumpType,
|
|
244
|
+
kSnapshotChecksumCalculated,
|
|
245
|
+
kSnapshotChecksumExpected,
|
|
236
246
|
};
|
|
237
247
|
|
|
238
248
|
using AddCrashKeyCallback = void (*)(CrashKeyId id, const std::string& value);
|
|
@@ -300,6 +310,13 @@ using ApiImplementationCallback = void (*)(const FunctionCallbackInfo<Value>&);
|
|
|
300
310
|
// --- Callback for WebAssembly.compileStreaming ---
|
|
301
311
|
using WasmStreamingCallback = void (*)(const FunctionCallbackInfo<Value>&);
|
|
302
312
|
|
|
313
|
+
enum class WasmAsyncSuccess { kSuccess, kFail };
|
|
314
|
+
|
|
315
|
+
// --- Callback called when async WebAssembly operations finish ---
|
|
316
|
+
using WasmAsyncResolvePromiseCallback = void (*)(
|
|
317
|
+
Isolate* isolate, Local<Context> context, Local<Promise::Resolver> resolver,
|
|
318
|
+
Local<Value> result, WasmAsyncSuccess success);
|
|
319
|
+
|
|
303
320
|
// --- Callback for loading source map file for Wasm profiling support
|
|
304
321
|
using WasmLoadSourceMapCallback = Local<String> (*)(Isolate* isolate,
|
|
305
322
|
const char* name);
|
|
@@ -310,9 +327,6 @@ using WasmSimdEnabledCallback = bool (*)(Local<Context> context);
|
|
|
310
327
|
// --- Callback for checking if WebAssembly exceptions are enabled ---
|
|
311
328
|
using WasmExceptionsEnabledCallback = bool (*)(Local<Context> context);
|
|
312
329
|
|
|
313
|
-
// --- Callback for checking if WebAssembly dynamic tiering is enabled ---
|
|
314
|
-
using WasmDynamicTieringEnabledCallback = bool (*)(Local<Context> context);
|
|
315
|
-
|
|
316
330
|
// --- Callback for checking if the SharedArrayBuffer constructor is enabled ---
|
|
317
331
|
using SharedArrayBufferConstructorEnabledCallback =
|
|
318
332
|
bool (*)(Local<Context> context);
|
|
@@ -244,6 +244,12 @@ class V8_EXPORT Context : public Data {
|
|
|
244
244
|
*/
|
|
245
245
|
void SetErrorMessageForCodeGenerationFromStrings(Local<String> message);
|
|
246
246
|
|
|
247
|
+
/**
|
|
248
|
+
* Sets the error description for the exception that is thrown when
|
|
249
|
+
* wasm code generation is not allowed.
|
|
250
|
+
*/
|
|
251
|
+
void SetErrorMessageForWasmCodeGeneration(Local<String> message);
|
|
252
|
+
|
|
247
253
|
/**
|
|
248
254
|
* Return data that was previously attached to the context snapshot via
|
|
249
255
|
* SnapshotCreator, and removes the reference to it.
|
|
@@ -374,15 +380,13 @@ void* Context::GetAlignedPointerFromEmbedderData(int index) {
|
|
|
374
380
|
A ctx = *reinterpret_cast<const A*>(this);
|
|
375
381
|
A embedder_data =
|
|
376
382
|
I::ReadTaggedPointerField(ctx, I::kNativeContextEmbedderDataOffset);
|
|
377
|
-
int value_offset =
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
#endif
|
|
382
|
-
internal::Isolate* isolate = I::GetIsolateForSandbox(ctx);
|
|
383
|
+
int value_offset = I::kEmbedderDataArrayHeaderSize +
|
|
384
|
+
(I::kEmbedderDataSlotSize * index) +
|
|
385
|
+
I::kEmbedderDataSlotExternalPointerOffset;
|
|
386
|
+
Isolate* isolate = I::GetIsolateForSandbox(ctx);
|
|
383
387
|
return reinterpret_cast<void*>(
|
|
384
|
-
I::ReadExternalPointerField(
|
|
385
|
-
|
|
388
|
+
I::ReadExternalPointerField<internal::kEmbedderDataSlotPayloadTag>(
|
|
389
|
+
isolate, embedder_data, value_offset));
|
|
386
390
|
#else
|
|
387
391
|
return SlowGetAlignedPointerFromEmbedderData(index);
|
|
388
392
|
#endif
|
package/include/node/v8-date.h
CHANGED
|
@@ -27,6 +27,11 @@ class V8_EXPORT Date : public Object {
|
|
|
27
27
|
*/
|
|
28
28
|
double ValueOf() const;
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Generates ISO string representation.
|
|
32
|
+
*/
|
|
33
|
+
v8::Local<v8::String> ToISOString() const;
|
|
34
|
+
|
|
30
35
|
V8_INLINE static Date* Cast(Value* value) {
|
|
31
36
|
#ifdef V8_ENABLE_CHECKS
|
|
32
37
|
CheckCast(value);
|
|
@@ -69,7 +69,12 @@ class V8_EXPORT EmbedderRootsHandler {
|
|
|
69
69
|
* trace through its heap and use reporter to report each JavaScript object
|
|
70
70
|
* reachable from any of the given wrappers.
|
|
71
71
|
*/
|
|
72
|
-
class V8_EXPORT
|
|
72
|
+
class V8_EXPORT
|
|
73
|
+
// GCC doesn't like combining __attribute__(()) with [[deprecated]].
|
|
74
|
+
#ifdef __clang__
|
|
75
|
+
V8_DEPRECATE_SOON("Use CppHeap when working with v8::TracedReference.")
|
|
76
|
+
#endif // __clang__
|
|
77
|
+
EmbedderHeapTracer {
|
|
73
78
|
public:
|
|
74
79
|
using EmbedderStackState = cppgc::EmbedderStackState;
|
|
75
80
|
|
|
@@ -205,10 +210,10 @@ class V8_EXPORT EmbedderHeapTracer {
|
|
|
205
210
|
* Returns the v8::Isolate this tracer is attached too and |nullptr| if it
|
|
206
211
|
* is not attached to any v8::Isolate.
|
|
207
212
|
*/
|
|
208
|
-
v8::Isolate* isolate() const { return
|
|
213
|
+
v8::Isolate* isolate() const { return v8_isolate_; }
|
|
209
214
|
|
|
210
215
|
protected:
|
|
211
|
-
v8::Isolate*
|
|
216
|
+
v8::Isolate* v8_isolate_ = nullptr;
|
|
212
217
|
|
|
213
218
|
friend class internal::LocalEmbedderHeapTracer;
|
|
214
219
|
};
|
|
@@ -106,6 +106,14 @@ class V8_EXPORT Function : public Object {
|
|
|
106
106
|
V8_WARN_UNUSED_RESULT MaybeLocal<String> FunctionProtoToString(
|
|
107
107
|
Local<Context> context);
|
|
108
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Returns true if the function does nothing.
|
|
111
|
+
* The function returns false on error.
|
|
112
|
+
* Note that this function is experimental. Embedders should not rely on
|
|
113
|
+
* this existing. We may remove this function in the future.
|
|
114
|
+
*/
|
|
115
|
+
V8_WARN_UNUSED_RESULT bool Experimental_IsNopFunction() const;
|
|
116
|
+
|
|
109
117
|
ScriptOrigin GetScriptOrigin() const;
|
|
110
118
|
V8_INLINE static Function* Cast(Value* value) {
|
|
111
119
|
#ifdef V8_ENABLE_CHECKS
|
|
@@ -100,9 +100,6 @@ class V8_EXPORT V8 {
|
|
|
100
100
|
const int kBuildConfiguration =
|
|
101
101
|
(internal::PointerCompressionIsEnabled() ? kPointerCompression : 0) |
|
|
102
102
|
(internal::SmiValuesAre31Bits() ? k31BitSmis : 0) |
|
|
103
|
-
(internal::SandboxedExternalPointersAreEnabled()
|
|
104
|
-
? kSandboxedExternalPointers
|
|
105
|
-
: 0) |
|
|
106
103
|
(internal::SandboxIsEnabled() ? kSandbox : 0);
|
|
107
104
|
return Initialize(kBuildConfiguration);
|
|
108
105
|
}
|
|
@@ -184,30 +181,19 @@ class V8_EXPORT V8 {
|
|
|
184
181
|
* V8 was disposed.
|
|
185
182
|
*/
|
|
186
183
|
static void DisposePlatform();
|
|
187
|
-
V8_DEPRECATED("Use DisposePlatform()")
|
|
188
|
-
static void ShutdownPlatform() { DisposePlatform(); }
|
|
189
|
-
|
|
190
|
-
#ifdef V8_SANDBOX
|
|
191
|
-
//
|
|
192
|
-
// Sandbox related API.
|
|
193
|
-
//
|
|
194
|
-
// This API is not yet stable and subject to changes in the future.
|
|
195
|
-
//
|
|
196
184
|
|
|
185
|
+
#if defined(V8_ENABLE_SANDBOX)
|
|
197
186
|
/**
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
* This must be invoked after the platform was initialized but before V8 is
|
|
201
|
-
* initialized. The sandbox is torn down during platform shutdown.
|
|
202
|
-
* Returns true on success, false otherwise.
|
|
187
|
+
* Returns true if the sandbox is configured securely.
|
|
203
188
|
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
189
|
+
* If V8 cannot create a regular sandbox during initialization, for example
|
|
190
|
+
* because not enough virtual address space can be reserved, it will instead
|
|
191
|
+
* create a fallback sandbox that still allows it to function normally but
|
|
192
|
+
* does not have the same security properties as a regular sandbox. This API
|
|
193
|
+
* can be used to determine if such a fallback sandbox is being used, in
|
|
194
|
+
* which case it will return false.
|
|
207
195
|
*/
|
|
208
|
-
static bool
|
|
209
|
-
V8_DEPRECATE_SOON("Use InitializeSandbox()")
|
|
210
|
-
static bool InitializeVirtualMemoryCage() { return InitializeSandbox(); }
|
|
196
|
+
static bool IsSandboxConfiguredSecurely();
|
|
211
197
|
|
|
212
198
|
/**
|
|
213
199
|
* Provides access to the virtual address subspace backing the sandbox.
|
|
@@ -220,39 +206,29 @@ class V8_EXPORT V8 {
|
|
|
220
206
|
* and so in particular the contents of pages allocagted in this virtual
|
|
221
207
|
* address space, arbitrarily and concurrently. Due to this, it is
|
|
222
208
|
* recommended to to only place pure data buffers in them.
|
|
223
|
-
*
|
|
224
|
-
* This function must only be called after initializing the sandbox.
|
|
225
209
|
*/
|
|
226
210
|
static VirtualAddressSpace* GetSandboxAddressSpace();
|
|
227
|
-
V8_DEPRECATE_SOON("Use GetSandboxAddressSpace()")
|
|
228
|
-
static PageAllocator* GetVirtualMemoryCagePageAllocator();
|
|
229
211
|
|
|
230
212
|
/**
|
|
231
213
|
* Returns the size of the sandbox in bytes.
|
|
232
214
|
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
215
|
+
* This represents the size of the address space that V8 can directly address
|
|
216
|
+
* and in which it allocates its objects.
|
|
235
217
|
*/
|
|
236
218
|
static size_t GetSandboxSizeInBytes();
|
|
237
|
-
V8_DEPRECATE_SOON("Use GetSandboxSizeInBytes()")
|
|
238
|
-
static size_t GetVirtualMemoryCageSizeInBytes() {
|
|
239
|
-
return GetSandboxSizeInBytes();
|
|
240
|
-
}
|
|
241
219
|
|
|
242
220
|
/**
|
|
243
|
-
* Returns
|
|
221
|
+
* Returns the size of the address space reservation backing the sandbox.
|
|
244
222
|
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
223
|
+
* This may be larger than the sandbox (i.e. |GetSandboxSizeInBytes()|) due
|
|
224
|
+
* to surrounding guard regions, or may be smaller than the sandbox in case a
|
|
225
|
+
* fallback sandbox is being used, which will use a smaller virtual address
|
|
226
|
+
* space reservation. In the latter case this will also be different from
|
|
227
|
+
* |GetSandboxAddressSpace()->size()| as that will cover a larger part of the
|
|
228
|
+
* address space than what has actually been reserved.
|
|
249
229
|
*/
|
|
250
|
-
static
|
|
251
|
-
|
|
252
|
-
static bool IsUsingSecureVirtualMemoryCage() {
|
|
253
|
-
return IsSandboxConfiguredSecurely();
|
|
254
|
-
}
|
|
255
|
-
#endif
|
|
230
|
+
static size_t GetSandboxReservationSizeInBytes();
|
|
231
|
+
#endif // V8_ENABLE_SANDBOX
|
|
256
232
|
|
|
257
233
|
/**
|
|
258
234
|
* Activate trap-based bounds checking for WebAssembly.
|
|
@@ -273,7 +249,7 @@ class V8_EXPORT V8 {
|
|
|
273
249
|
* exceptions in V8-generated code.
|
|
274
250
|
*/
|
|
275
251
|
static void SetUnhandledExceptionCallback(
|
|
276
|
-
UnhandledExceptionCallback
|
|
252
|
+
UnhandledExceptionCallback callback);
|
|
277
253
|
#endif
|
|
278
254
|
|
|
279
255
|
/**
|
|
@@ -281,8 +257,7 @@ class V8_EXPORT V8 {
|
|
|
281
257
|
* v8 has encountered a fatal failure to allocate memory and is about to
|
|
282
258
|
* terminate.
|
|
283
259
|
*/
|
|
284
|
-
|
|
285
|
-
static void SetFatalMemoryErrorCallback(OOMErrorCallback oom_error_callback);
|
|
260
|
+
static void SetFatalMemoryErrorCallback(OOMErrorCallback callback);
|
|
286
261
|
|
|
287
262
|
/**
|
|
288
263
|
* Get statistics about the shared memory usage.
|
|
@@ -295,8 +270,7 @@ class V8_EXPORT V8 {
|
|
|
295
270
|
enum BuildConfigurationFeatures {
|
|
296
271
|
kPointerCompression = 1 << 0,
|
|
297
272
|
k31BitSmis = 1 << 1,
|
|
298
|
-
|
|
299
|
-
kSandbox = 1 << 3,
|
|
273
|
+
kSandbox = 1 << 2,
|
|
300
274
|
};
|
|
301
275
|
|
|
302
276
|
/**
|