node-darwin-x64 24.8.0 → 25.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 +177 -1642
- package/README.md +2 -2
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -13
- package/include/node/config.gypi +12 -8
- package/include/node/cppgc/allocation.h +3 -3
- package/include/node/cppgc/cross-thread-persistent.h +25 -29
- package/include/node/cppgc/internal/finalizer-trait.h +1 -1
- package/include/node/cppgc/internal/gc-info.h +3 -3
- package/include/node/cppgc/internal/logging.h +2 -2
- package/include/node/cppgc/internal/name-trait.h +1 -1
- package/include/node/cppgc/internal/pointer-policies.h +3 -3
- package/include/node/cppgc/member.h +10 -4
- package/include/node/cppgc/persistent.h +14 -15
- package/include/node/cppgc/platform.h +1 -1
- package/include/node/cppgc/trace-trait.h +1 -2
- package/include/node/cppgc/visitor.h +14 -9
- package/include/node/js_native_api.h +21 -1
- package/include/node/node.h +34 -78
- package/include/node/node_version.h +3 -3
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +8 -13
- 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/crypto.h +4 -4
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +8 -13
- package/include/node/openssl/proverr.h +1 -0
- package/include/node/openssl/self_test.h +1 -0
- package/include/node/v8-array-buffer.h +1 -1
- package/include/node/v8-callbacks.h +3 -4
- package/include/node/v8-context.h +15 -5
- package/include/node/v8-data.h +5 -0
- package/include/node/v8-debug.h +11 -0
- package/include/node/v8-function-callback.h +26 -26
- package/include/node/v8-internal.h +136 -36
- package/include/node/v8-isolate.h +75 -16
- package/include/node/v8-json.h +8 -1
- package/include/node/v8-local-handle.h +112 -13
- package/include/node/v8-maybe.h +34 -10
- package/include/node/v8-memory-span.h +9 -4
- package/include/node/v8-message.h +3 -0
- package/include/node/v8-object.h +87 -24
- package/include/node/v8-persistent-handle.h +4 -4
- package/include/node/v8-platform.h +92 -28
- package/include/node/v8-primitive.h +22 -9
- package/include/node/v8-profiler.h +4 -0
- package/include/node/v8-sandbox.h +16 -0
- package/include/node/v8-source-location.h +19 -26
- package/include/node/v8-template.h +37 -15
- package/include/node/v8-traced-handle.h +6 -6
- package/include/node/v8-unwinder.h +13 -0
- package/include/node/v8-version.h +4 -4
- package/include/node/v8config.h +65 -5
- package/package.json +5 -1
- package/share/doc/node/gdbinit +221 -4
- package/share/man/man1/node.1 +21 -4
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
#endif
|
|
22
22
|
#endif
|
|
23
23
|
|
|
24
|
+
#if defined(NAPI_EXPERIMENTAL) && \
|
|
25
|
+
!defined(NODE_API_EXPERIMENTAL_NO_WARNING) && \
|
|
26
|
+
!defined(NODE_WANT_INTERNALS)
|
|
27
|
+
#ifdef _MSC_VER
|
|
28
|
+
#pragma message("NAPI_EXPERIMENTAL is enabled. " \
|
|
29
|
+
"Experimental features may be unstable.")
|
|
30
|
+
#else
|
|
31
|
+
#warning "NAPI_EXPERIMENTAL is enabled. " \
|
|
32
|
+
"Experimental features may be unstable."
|
|
33
|
+
#endif
|
|
34
|
+
#endif
|
|
35
|
+
|
|
24
36
|
#include "js_native_api_types.h"
|
|
25
37
|
|
|
26
38
|
// If you need __declspec(dllimport), either include <node_api.h> instead, or
|
|
@@ -352,7 +364,7 @@ napi_create_reference(napi_env env,
|
|
|
352
364
|
|
|
353
365
|
// Deletes a reference. The referenced value is released, and may
|
|
354
366
|
// be GC'd unless there are other references to it.
|
|
355
|
-
NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(
|
|
367
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(node_api_basic_env env,
|
|
356
368
|
napi_ref ref);
|
|
357
369
|
|
|
358
370
|
// Increments the reference count, optionally returning the resulting count.
|
|
@@ -474,6 +486,14 @@ napi_get_dataview_info(napi_env env,
|
|
|
474
486
|
napi_value* arraybuffer,
|
|
475
487
|
size_t* byte_offset);
|
|
476
488
|
|
|
489
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
490
|
+
#define NODE_API_EXPERIMENTAL_HAS_SHAREDARRAYBUFFER
|
|
491
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
492
|
+
node_api_is_sharedarraybuffer(napi_env env, napi_value value, bool* result);
|
|
493
|
+
NAPI_EXTERN napi_status NAPI_CDECL node_api_create_sharedarraybuffer(
|
|
494
|
+
napi_env env, size_t byte_length, void** data, napi_value* result);
|
|
495
|
+
#endif // NAPI_EXPERIMENTAL
|
|
496
|
+
|
|
477
497
|
// version management
|
|
478
498
|
NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_basic_env env,
|
|
479
499
|
uint32_t* result);
|
package/include/node/node.h
CHANGED
|
@@ -175,35 +175,6 @@ NODE_DEPRECATED("Use UVException(isolate, ...)",
|
|
|
175
175
|
path);
|
|
176
176
|
})
|
|
177
177
|
|
|
178
|
-
/*
|
|
179
|
-
* These methods need to be called in a HandleScope.
|
|
180
|
-
*
|
|
181
|
-
* It is preferred that you use the `MakeCallback` overloads taking
|
|
182
|
-
* `async_context` arguments.
|
|
183
|
-
*/
|
|
184
|
-
|
|
185
|
-
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
|
|
186
|
-
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
|
|
187
|
-
v8::Isolate* isolate,
|
|
188
|
-
v8::Local<v8::Object> recv,
|
|
189
|
-
const char* method,
|
|
190
|
-
int argc,
|
|
191
|
-
v8::Local<v8::Value>* argv));
|
|
192
|
-
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
|
|
193
|
-
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
|
|
194
|
-
v8::Isolate* isolate,
|
|
195
|
-
v8::Local<v8::Object> recv,
|
|
196
|
-
v8::Local<v8::String> symbol,
|
|
197
|
-
int argc,
|
|
198
|
-
v8::Local<v8::Value>* argv));
|
|
199
|
-
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
|
|
200
|
-
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
|
|
201
|
-
v8::Isolate* isolate,
|
|
202
|
-
v8::Local<v8::Object> recv,
|
|
203
|
-
v8::Local<v8::Function> callback,
|
|
204
|
-
int argc,
|
|
205
|
-
v8::Local<v8::Value>* argv));
|
|
206
|
-
|
|
207
178
|
} // namespace node
|
|
208
179
|
|
|
209
180
|
#include <cassert>
|
|
@@ -329,22 +300,6 @@ NODE_EXTERN int Start(int argc, char* argv[]);
|
|
|
329
300
|
NODE_EXTERN int Stop(Environment* env,
|
|
330
301
|
StopFlags::Flags flags = StopFlags::kNoFlags);
|
|
331
302
|
|
|
332
|
-
// Set up per-process state needed to run Node.js. This will consume arguments
|
|
333
|
-
// from argv, fill exec_argv, and possibly add errors resulting from parsing
|
|
334
|
-
// the arguments to `errors`. The return value is a suggested exit code for the
|
|
335
|
-
// program; If it is 0, then initializing Node.js succeeded.
|
|
336
|
-
// This runs a subset of the initialization performed by
|
|
337
|
-
// InitializeOncePerProcess(), which supersedes this function.
|
|
338
|
-
// The subset is roughly equivalent to the one given by
|
|
339
|
-
// `ProcessInitializationFlags::kLegacyInitializeNodeWithArgsBehavior`.
|
|
340
|
-
NODE_DEPRECATED("Use InitializeOncePerProcess() instead",
|
|
341
|
-
NODE_EXTERN int InitializeNodeWithArgs(
|
|
342
|
-
std::vector<std::string>* argv,
|
|
343
|
-
std::vector<std::string>* exec_argv,
|
|
344
|
-
std::vector<std::string>* errors,
|
|
345
|
-
ProcessInitializationFlags::Flags flags =
|
|
346
|
-
ProcessInitializationFlags::kNoFlags));
|
|
347
|
-
|
|
348
303
|
// Set up per-process state needed to run Node.js. This will consume arguments
|
|
349
304
|
// from args, and return information about the initialization success,
|
|
350
305
|
// including the arguments split into argv/exec_argv, a list of potential
|
|
@@ -839,23 +794,23 @@ NODE_EXTERN v8::MaybeLocal<v8::Value> PrepareStackTraceCallback(
|
|
|
839
794
|
// is included in the report.
|
|
840
795
|
// Returns the filename of the written report.
|
|
841
796
|
NODE_EXTERN std::string TriggerNodeReport(v8::Isolate* isolate,
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
797
|
+
std::string_view message,
|
|
798
|
+
std::string_view trigger,
|
|
799
|
+
std::string_view filename,
|
|
845
800
|
v8::Local<v8::Value> error);
|
|
846
801
|
NODE_EXTERN std::string TriggerNodeReport(Environment* env,
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
802
|
+
std::string_view message,
|
|
803
|
+
std::string_view trigger,
|
|
804
|
+
std::string_view filename,
|
|
850
805
|
v8::Local<v8::Value> error);
|
|
851
806
|
NODE_EXTERN void GetNodeReport(v8::Isolate* isolate,
|
|
852
|
-
|
|
853
|
-
|
|
807
|
+
std::string_view message,
|
|
808
|
+
std::string_view trigger,
|
|
854
809
|
v8::Local<v8::Value> error,
|
|
855
810
|
std::ostream& out);
|
|
856
811
|
NODE_EXTERN void GetNodeReport(Environment* env,
|
|
857
|
-
|
|
858
|
-
|
|
812
|
+
std::string_view message,
|
|
813
|
+
std::string_view trigger,
|
|
859
814
|
v8::Local<v8::Value> error,
|
|
860
815
|
std::ostream& out);
|
|
861
816
|
|
|
@@ -864,32 +819,21 @@ NODE_EXTERN void GetNodeReport(Environment* env,
|
|
|
864
819
|
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(Environment* env);
|
|
865
820
|
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(IsolateData* env);
|
|
866
821
|
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
// Get/set the currently active tracing controller. Using CreatePlatform()
|
|
875
|
-
// will implicitly set this by default. This is global and should be initialized
|
|
876
|
-
// along with the v8::Platform instance that is being used. `controller`
|
|
877
|
-
// is allowed to be `nullptr`.
|
|
878
|
-
// This is used for tracing events from Node.js itself. V8 uses the tracing
|
|
879
|
-
// controller returned from the active `v8::Platform` instance.
|
|
822
|
+
// Get/set the currently active tracing controller. Using
|
|
823
|
+
// MultiIsolatePlatform::Create() will implicitly set this by default. This is
|
|
824
|
+
// global and should be initialized along with the v8::Platform instance that is
|
|
825
|
+
// being used. `controller` is allowed to be `nullptr`. This is used for tracing
|
|
826
|
+
// events from Node.js itself. V8 uses the tracing controller returned from the
|
|
827
|
+
// active `v8::Platform` instance.
|
|
880
828
|
NODE_EXTERN v8::TracingController* GetTracingController();
|
|
881
829
|
NODE_EXTERN void SetTracingController(v8::TracingController* controller);
|
|
882
830
|
|
|
883
831
|
// Run `process.emit('beforeExit')` as it would usually happen when Node.js is
|
|
884
832
|
// run in standalone mode.
|
|
885
833
|
NODE_EXTERN v8::Maybe<bool> EmitProcessBeforeExit(Environment* env);
|
|
886
|
-
NODE_DEPRECATED("Use Maybe version (EmitProcessBeforeExit) instead",
|
|
887
|
-
NODE_EXTERN void EmitBeforeExit(Environment* env));
|
|
888
834
|
// Run `process.emit('exit')` as it would usually happen when Node.js is run
|
|
889
835
|
// in standalone mode. The return value corresponds to the exit code.
|
|
890
836
|
NODE_EXTERN v8::Maybe<int> EmitProcessExit(Environment* env);
|
|
891
|
-
NODE_DEPRECATED("Use Maybe version (EmitProcessExit) instead",
|
|
892
|
-
NODE_EXTERN int EmitExit(Environment* env));
|
|
893
837
|
|
|
894
838
|
// Runs hooks added through `AtExit()`. This is part of `FreeEnvironment()`,
|
|
895
839
|
// so calling it manually is typically not necessary.
|
|
@@ -1057,7 +1001,7 @@ NODE_DEPRECATED("Use v8::Date::ValueOf() directly",
|
|
|
1057
1001
|
|
|
1058
1002
|
#define NODE_DEFINE_CONSTANT(target, constant) \
|
|
1059
1003
|
do { \
|
|
1060
|
-
v8::Isolate* isolate =
|
|
1004
|
+
v8::Isolate* isolate = v8::Isolate::GetCurrent(); \
|
|
1061
1005
|
v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
|
|
1062
1006
|
v8::Local<v8::String> constant_name = v8::String::NewFromUtf8Literal( \
|
|
1063
1007
|
isolate, #constant, v8::NewStringType::kInternalized); \
|
|
@@ -1073,7 +1017,7 @@ NODE_DEPRECATED("Use v8::Date::ValueOf() directly",
|
|
|
1073
1017
|
|
|
1074
1018
|
#define NODE_DEFINE_HIDDEN_CONSTANT(target, constant) \
|
|
1075
1019
|
do { \
|
|
1076
|
-
v8::Isolate* isolate =
|
|
1020
|
+
v8::Isolate* isolate = v8::Isolate::GetCurrent(); \
|
|
1077
1021
|
v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
|
|
1078
1022
|
v8::Local<v8::String> constant_name = v8::String::NewFromUtf8Literal( \
|
|
1079
1023
|
isolate, #constant, v8::NewStringType::kInternalized); \
|
|
@@ -1500,6 +1444,12 @@ class NODE_EXTERN CallbackScope {
|
|
|
1500
1444
|
CallbackScope(Environment* env,
|
|
1501
1445
|
v8::Local<v8::Object> resource,
|
|
1502
1446
|
async_context asyncContext);
|
|
1447
|
+
// `resource` needs to outlive the scope in this case.
|
|
1448
|
+
// This is for the rare situation in which `CallbackScope` cannot be
|
|
1449
|
+
// stack-allocated. `resource` needs to outlive this scope.
|
|
1450
|
+
CallbackScope(Environment* env,
|
|
1451
|
+
v8::Global<v8::Object>* resource,
|
|
1452
|
+
async_context asyncContext);
|
|
1503
1453
|
~CallbackScope();
|
|
1504
1454
|
|
|
1505
1455
|
void operator=(const CallbackScope&) = delete;
|
|
@@ -1508,6 +1458,11 @@ class NODE_EXTERN CallbackScope {
|
|
|
1508
1458
|
CallbackScope(CallbackScope&&) = delete;
|
|
1509
1459
|
|
|
1510
1460
|
private:
|
|
1461
|
+
void* resource_storage_global_;
|
|
1462
|
+
union {
|
|
1463
|
+
v8::Local<v8::Object> local;
|
|
1464
|
+
v8::Global<v8::Object>* global_ptr;
|
|
1465
|
+
} resource_storage_;
|
|
1511
1466
|
InternalCallbackScope* private_;
|
|
1512
1467
|
v8::TryCatch try_catch_;
|
|
1513
1468
|
};
|
|
@@ -1610,10 +1565,11 @@ void RegisterSignalHandler(int signal,
|
|
|
1610
1565
|
// objects on Node.js versions without v8::Object::Wrap(). Addons created to
|
|
1611
1566
|
// work with only Node.js versions with v8::Object::Wrap() should use that
|
|
1612
1567
|
// instead.
|
|
1613
|
-
NODE_DEPRECATED(
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1568
|
+
NODE_DEPRECATED(
|
|
1569
|
+
"Use v8::Object::Wrap()",
|
|
1570
|
+
NODE_EXTERN void SetCppgcReference(v8::Isolate* isolate,
|
|
1571
|
+
v8::Local<v8::Object> object,
|
|
1572
|
+
v8::Object::Wrappable* wrappable));
|
|
1617
1573
|
|
|
1618
1574
|
} // namespace node
|
|
1619
1575
|
|
|
@@ -22,8 +22,8 @@
|
|
|
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
|
|
25
|
+
#define NODE_MAJOR_VERSION 25
|
|
26
|
+
#define NODE_MINOR_VERSION 0
|
|
27
27
|
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
#if defined(NODE_EMBEDDER_MODULE_VERSION)
|
|
96
96
|
#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION
|
|
97
97
|
#else
|
|
98
|
-
#define NODE_MODULE_VERSION
|
|
98
|
+
#define NODE_MODULE_VERSION 141
|
|
99
99
|
#endif
|
|
100
100
|
|
|
101
101
|
// The NAPI_VERSION supported by the runtime. This is the inclusive range of
|
|
@@ -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-2025 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
|
|
@@ -358,9 +358,9 @@ OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
|
|
|
358
358
|
OSSL_CRYPTO_ALLOC void *CRYPTO_aligned_alloc(size_t num, size_t align,
|
|
359
359
|
void **freeptr, const char *file,
|
|
360
360
|
int line);
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
|
|
362
|
+
char *CRYPTO_strdup(const char *str, const char *file, int line);
|
|
363
|
+
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
|
|
364
364
|
void CRYPTO_free(void *ptr, const char *file, int line);
|
|
365
365
|
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
|
|
366
366
|
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/opensslv.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1999-
|
|
5
|
+
* Copyright 1999-2025 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
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 5
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 4
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,33 +74,28 @@ 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.5.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.5.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.5.4"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.5.4"
|
|
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 "30 Sep 2025"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
|
|
92
92
|
|
|
93
|
-
/* Synthesize OPENSSL_VERSION_NUMBER with the layout
|
|
94
|
-
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
95
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0x0L
|
|
96
|
-
# else
|
|
97
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0xfL
|
|
98
|
-
# endif
|
|
93
|
+
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */
|
|
99
94
|
# define OPENSSL_VERSION_NUMBER \
|
|
100
95
|
( (OPENSSL_VERSION_MAJOR<<28) \
|
|
101
96
|
|(OPENSSL_VERSION_MINOR<<20) \
|
|
102
97
|
|(OPENSSL_VERSION_PATCH<<4) \
|
|
103
|
-
|
|
|
98
|
+
|0x0L )
|
|
104
99
|
|
|
105
100
|
# ifdef __cplusplus
|
|
106
101
|
}
|
|
@@ -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-2025 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
|
|
@@ -358,9 +358,9 @@ OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
|
|
|
358
358
|
OSSL_CRYPTO_ALLOC void *CRYPTO_aligned_alloc(size_t num, size_t align,
|
|
359
359
|
void **freeptr, const char *file,
|
|
360
360
|
int line);
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
|
|
362
|
+
char *CRYPTO_strdup(const char *str, const char *file, int line);
|
|
363
|
+
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
|
|
364
364
|
void CRYPTO_free(void *ptr, const char *file, int line);
|
|
365
365
|
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
|
|
366
366
|
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/opensslv.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1999-
|
|
5
|
+
* Copyright 1999-2025 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
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 5
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 4
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,33 +74,28 @@ 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.5.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.5.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.5.4"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.5.4"
|
|
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 "30 Sep 2025"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
|
|
92
92
|
|
|
93
|
-
/* Synthesize OPENSSL_VERSION_NUMBER with the layout
|
|
94
|
-
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
95
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0x0L
|
|
96
|
-
# else
|
|
97
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0xfL
|
|
98
|
-
# endif
|
|
93
|
+
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */
|
|
99
94
|
# define OPENSSL_VERSION_NUMBER \
|
|
100
95
|
( (OPENSSL_VERSION_MAJOR<<28) \
|
|
101
96
|
|(OPENSSL_VERSION_MINOR<<20) \
|
|
102
97
|
|(OPENSSL_VERSION_PATCH<<4) \
|
|
103
|
-
|
|
|
98
|
+
|0x0L )
|
|
104
99
|
|
|
105
100
|
# ifdef __cplusplus
|
|
106
101
|
}
|
|
@@ -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-2025 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
|
|
@@ -358,9 +358,9 @@ OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
|
|
|
358
358
|
OSSL_CRYPTO_ALLOC void *CRYPTO_aligned_alloc(size_t num, size_t align,
|
|
359
359
|
void **freeptr, const char *file,
|
|
360
360
|
int line);
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
|
|
362
|
+
char *CRYPTO_strdup(const char *str, const char *file, int line);
|
|
363
|
+
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
|
|
364
364
|
void CRYPTO_free(void *ptr, const char *file, int line);
|
|
365
365
|
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
|
|
366
366
|
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/opensslv.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1999-
|
|
5
|
+
* Copyright 1999-2025 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
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 5
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 4
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,33 +74,28 @@ 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.5.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.5.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.5.4"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.5.4"
|
|
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 "30 Sep 2025"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
|
|
92
92
|
|
|
93
|
-
/* Synthesize OPENSSL_VERSION_NUMBER with the layout
|
|
94
|
-
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
95
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0x0L
|
|
96
|
-
# else
|
|
97
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0xfL
|
|
98
|
-
# endif
|
|
93
|
+
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */
|
|
99
94
|
# define OPENSSL_VERSION_NUMBER \
|
|
100
95
|
( (OPENSSL_VERSION_MAJOR<<28) \
|
|
101
96
|
|(OPENSSL_VERSION_MINOR<<20) \
|
|
102
97
|
|(OPENSSL_VERSION_PATCH<<4) \
|
|
103
|
-
|
|
|
98
|
+
|0x0L )
|
|
104
99
|
|
|
105
100
|
# ifdef __cplusplus
|
|
106
101
|
}
|
|
@@ -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-2025 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
|
|
@@ -358,9 +358,9 @@ OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
|
|
|
358
358
|
OSSL_CRYPTO_ALLOC void *CRYPTO_aligned_alloc(size_t num, size_t align,
|
|
359
359
|
void **freeptr, const char *file,
|
|
360
360
|
int line);
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
|
|
362
|
+
char *CRYPTO_strdup(const char *str, const char *file, int line);
|
|
363
|
+
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
|
|
364
364
|
void CRYPTO_free(void *ptr, const char *file, int line);
|
|
365
365
|
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
|
|
366
366
|
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/opensslv.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1999-
|
|
5
|
+
* Copyright 1999-2025 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
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 5
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 4
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,33 +74,28 @@ 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.5.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.5.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.5.4"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.5.4"
|
|
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 "30 Sep 2025"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
|
|
92
92
|
|
|
93
|
-
/* Synthesize OPENSSL_VERSION_NUMBER with the layout
|
|
94
|
-
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
95
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0x0L
|
|
96
|
-
# else
|
|
97
|
-
# define _OPENSSL_VERSION_PRE_RELEASE 0xfL
|
|
98
|
-
# endif
|
|
93
|
+
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */
|
|
99
94
|
# define OPENSSL_VERSION_NUMBER \
|
|
100
95
|
( (OPENSSL_VERSION_MAJOR<<28) \
|
|
101
96
|
|(OPENSSL_VERSION_MINOR<<20) \
|
|
102
97
|
|(OPENSSL_VERSION_PATCH<<4) \
|
|
103
|
-
|
|
|
98
|
+
|0x0L )
|
|
104
99
|
|
|
105
100
|
# ifdef __cplusplus
|
|
106
101
|
}
|
|
@@ -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-2025 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
|
|
@@ -358,9 +358,9 @@ OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
|
|
|
358
358
|
OSSL_CRYPTO_ALLOC void *CRYPTO_aligned_alloc(size_t num, size_t align,
|
|
359
359
|
void **freeptr, const char *file,
|
|
360
360
|
int line);
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
|
|
362
|
+
char *CRYPTO_strdup(const char *str, const char *file, int line);
|
|
363
|
+
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
|
|
364
364
|
void CRYPTO_free(void *ptr, const char *file, int line);
|
|
365
365
|
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
|
|
366
366
|
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
|