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.
Files changed (221) hide show
  1. package/CHANGELOG.md +177 -1642
  2. package/README.md +2 -2
  3. package/bin/node +0 -0
  4. package/include/node/common.gypi +1 -13
  5. package/include/node/config.gypi +12 -8
  6. package/include/node/cppgc/allocation.h +3 -3
  7. package/include/node/cppgc/cross-thread-persistent.h +25 -29
  8. package/include/node/cppgc/internal/finalizer-trait.h +1 -1
  9. package/include/node/cppgc/internal/gc-info.h +3 -3
  10. package/include/node/cppgc/internal/logging.h +2 -2
  11. package/include/node/cppgc/internal/name-trait.h +1 -1
  12. package/include/node/cppgc/internal/pointer-policies.h +3 -3
  13. package/include/node/cppgc/member.h +10 -4
  14. package/include/node/cppgc/persistent.h +14 -15
  15. package/include/node/cppgc/platform.h +1 -1
  16. package/include/node/cppgc/trace-trait.h +1 -2
  17. package/include/node/cppgc/visitor.h +14 -9
  18. package/include/node/js_native_api.h +21 -1
  19. package/include/node/node.h +34 -78
  20. package/include/node/node_version.h +3 -3
  21. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  22. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h +4 -4
  23. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +8 -13
  24. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  25. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crypto.h +4 -4
  26. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +8 -13
  27. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  28. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crypto.h +4 -4
  29. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +8 -13
  30. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  31. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crypto.h +4 -4
  32. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +8 -13
  33. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  34. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h +4 -4
  35. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +8 -13
  36. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  37. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crypto.h +4 -4
  38. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +8 -13
  39. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  40. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h +4 -4
  41. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +8 -13
  42. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
  43. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h +4 -4
  44. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +8 -13
  45. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  46. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crypto.h +4 -4
  47. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +8 -13
  48. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  49. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h +4 -4
  50. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +8 -13
  51. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  52. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h +4 -4
  53. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +8 -13
  54. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  55. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h +4 -4
  56. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +8 -13
  57. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  58. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crypto.h +4 -4
  59. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +8 -13
  60. package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
  61. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crypto.h +4 -4
  62. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +8 -13
  63. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
  64. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h +4 -4
  65. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +8 -13
  66. package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
  67. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h +4 -4
  68. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +8 -13
  69. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  70. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crypto.h +4 -4
  71. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +8 -13
  72. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  73. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h +4 -4
  74. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +8 -13
  75. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  76. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h +4 -4
  77. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +8 -13
  78. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  79. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h +4 -4
  80. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +8 -13
  81. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  82. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h +4 -4
  83. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +8 -13
  84. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  85. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h +4 -4
  86. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +8 -13
  87. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  88. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h +4 -4
  89. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +8 -13
  90. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  91. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h +4 -4
  92. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +8 -13
  93. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  94. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h +4 -4
  95. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +8 -13
  96. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  97. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h +4 -4
  98. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +8 -13
  99. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  100. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h +4 -4
  101. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +8 -13
  102. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  103. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crypto.h +4 -4
  104. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +8 -13
  105. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  106. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h +4 -4
  107. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +8 -13
  108. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  109. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crypto.h +4 -4
  110. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +8 -13
  111. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  112. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crypto.h +4 -4
  113. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +8 -13
  114. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  115. package/include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h +4 -4
  116. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +8 -13
  117. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  118. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crypto.h +4 -4
  119. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +8 -13
  120. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  121. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/crypto.h +4 -4
  122. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +8 -13
  123. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  124. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h +4 -4
  125. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +8 -13
  126. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  127. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h +4 -4
  128. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +8 -13
  129. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  130. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crypto.h +4 -4
  131. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +8 -13
  132. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  133. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/crypto.h +4 -4
  134. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +8 -13
  135. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  136. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h +4 -4
  137. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +8 -13
  138. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  139. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crypto.h +4 -4
  140. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +8 -13
  141. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  142. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h +4 -4
  143. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +8 -13
  144. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  145. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h +4 -4
  146. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +8 -13
  147. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  148. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crypto.h +4 -4
  149. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +8 -13
  150. package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +1 -1
  151. package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crypto.h +4 -4
  152. package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +8 -13
  153. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  154. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h +4 -4
  155. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +8 -13
  156. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  157. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h +4 -4
  158. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +8 -13
  159. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  160. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crypto.h +4 -4
  161. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +8 -13
  162. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
  163. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crypto.h +4 -4
  164. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +8 -13
  165. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  166. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h +4 -4
  167. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +8 -13
  168. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  169. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h +4 -4
  170. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +8 -13
  171. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  172. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crypto.h +4 -4
  173. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +8 -13
  174. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  175. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crypto.h +4 -4
  176. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +8 -13
  177. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  178. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h +4 -4
  179. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +8 -13
  180. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  181. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h +4 -4
  182. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +8 -13
  183. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  184. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h +4 -4
  185. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +8 -13
  186. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  187. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h +4 -4
  188. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +8 -13
  189. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  190. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h +4 -4
  191. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +8 -13
  192. package/include/node/openssl/proverr.h +1 -0
  193. package/include/node/openssl/self_test.h +1 -0
  194. package/include/node/v8-array-buffer.h +1 -1
  195. package/include/node/v8-callbacks.h +3 -4
  196. package/include/node/v8-context.h +15 -5
  197. package/include/node/v8-data.h +5 -0
  198. package/include/node/v8-debug.h +11 -0
  199. package/include/node/v8-function-callback.h +26 -26
  200. package/include/node/v8-internal.h +136 -36
  201. package/include/node/v8-isolate.h +75 -16
  202. package/include/node/v8-json.h +8 -1
  203. package/include/node/v8-local-handle.h +112 -13
  204. package/include/node/v8-maybe.h +34 -10
  205. package/include/node/v8-memory-span.h +9 -4
  206. package/include/node/v8-message.h +3 -0
  207. package/include/node/v8-object.h +87 -24
  208. package/include/node/v8-persistent-handle.h +4 -4
  209. package/include/node/v8-platform.h +92 -28
  210. package/include/node/v8-primitive.h +22 -9
  211. package/include/node/v8-profiler.h +4 -0
  212. package/include/node/v8-sandbox.h +16 -0
  213. package/include/node/v8-source-location.h +19 -26
  214. package/include/node/v8-template.h +37 -15
  215. package/include/node/v8-traced-handle.h +6 -6
  216. package/include/node/v8-unwinder.h +13 -0
  217. package/include/node/v8-version.h +4 -4
  218. package/include/node/v8config.h +65 -5
  219. package/package.json +5 -1
  220. package/share/doc/node/gdbinit +221 -4
  221. 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(napi_env env,
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);
@@ -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
- const char* message,
843
- const char* trigger,
844
- const std::string& filename,
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
- const char* message,
848
- const char* trigger,
849
- const std::string& filename,
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
- const char* message,
853
- const char* trigger,
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
- const char* message,
858
- const char* trigger,
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
- NODE_DEPRECATED("Use MultiIsolatePlatform::Create() instead",
868
- NODE_EXTERN MultiIsolatePlatform* CreatePlatform(
869
- int thread_pool_size,
870
- v8::TracingController* tracing_controller));
871
- NODE_DEPRECATED("Use MultiIsolatePlatform::Create() instead",
872
- NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform));
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 = target->GetIsolate(); \
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 = target->GetIsolate(); \
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("Use v8::Object::Wrap()",
1614
- NODE_EXTERN void SetCppgcReference(v8::Isolate* isolate,
1615
- v8::Local<v8::Object> object,
1616
- void* wrappable));
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 24
26
- #define NODE_MINOR_VERSION 8
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 137
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
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86"
14
- #define DATE "built on: Tue Aug 5 17:10:12 2025 UTC"
14
+ #define DATE "built on: Wed Oct 1 18:52:09 2025 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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-2024 The OpenSSL Project Authors. All Rights Reserved.
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
- OSSL_CRYPTO_ALLOC void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
362
- OSSL_CRYPTO_ALLOC char *CRYPTO_strdup(const char *str, const char *file, int line);
363
- OSSL_CRYPTO_ALLOC char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
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-2020 The OpenSSL Project Authors. All Rights Reserved.
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 2
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.2"
78
- # define OPENSSL_FULL_VERSION_STR "3.5.2"
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 "5 Aug 2025"
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.2 5 Aug 2025"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
92
92
 
93
- /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
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
- |_OPENSSL_VERSION_PRE_RELEASE )
98
+ |0x0L )
104
99
 
105
100
  # ifdef __cplusplus
106
101
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86"
14
- #define DATE "built on: Tue Aug 5 17:10:29 2025 UTC"
14
+ #define DATE "built on: Wed Oct 1 18:52:26 2025 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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-2024 The OpenSSL Project Authors. All Rights Reserved.
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
- OSSL_CRYPTO_ALLOC void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
362
- OSSL_CRYPTO_ALLOC char *CRYPTO_strdup(const char *str, const char *file, int line);
363
- OSSL_CRYPTO_ALLOC char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
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-2020 The OpenSSL Project Authors. All Rights Reserved.
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 2
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.2"
78
- # define OPENSSL_FULL_VERSION_STR "3.5.2"
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 "5 Aug 2025"
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.2 5 Aug 2025"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
92
92
 
93
- /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
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
- |_OPENSSL_VERSION_PRE_RELEASE )
98
+ |0x0L )
104
99
 
105
100
  # ifdef __cplusplus
106
101
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86"
14
- #define DATE "built on: Tue Aug 5 17:10:45 2025 UTC"
14
+ #define DATE "built on: Wed Oct 1 18:52:42 2025 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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-2024 The OpenSSL Project Authors. All Rights Reserved.
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
- OSSL_CRYPTO_ALLOC void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
362
- OSSL_CRYPTO_ALLOC char *CRYPTO_strdup(const char *str, const char *file, int line);
363
- OSSL_CRYPTO_ALLOC char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
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-2020 The OpenSSL Project Authors. All Rights Reserved.
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 2
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.2"
78
- # define OPENSSL_FULL_VERSION_STR "3.5.2"
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 "5 Aug 2025"
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.2 5 Aug 2025"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
92
92
 
93
- /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
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
- |_OPENSSL_VERSION_PRE_RELEASE )
98
+ |0x0L )
104
99
 
105
100
  # ifdef __cplusplus
106
101
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86_64"
14
- #define DATE "built on: Tue Aug 5 17:11:01 2025 UTC"
14
+ #define DATE "built on: Wed Oct 1 18:52:58 2025 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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-2024 The OpenSSL Project Authors. All Rights Reserved.
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
- OSSL_CRYPTO_ALLOC void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
362
- OSSL_CRYPTO_ALLOC char *CRYPTO_strdup(const char *str, const char *file, int line);
363
- OSSL_CRYPTO_ALLOC char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
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-2020 The OpenSSL Project Authors. All Rights Reserved.
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 2
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.2"
78
- # define OPENSSL_FULL_VERSION_STR "3.5.2"
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 "5 Aug 2025"
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.2 5 Aug 2025"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.5.4 30 Sep 2025"
92
92
 
93
- /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
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
- |_OPENSSL_VERSION_PRE_RELEASE )
98
+ |0x0L )
104
99
 
105
100
  # ifdef __cplusplus
106
101
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86_64"
14
- #define DATE "built on: Tue Aug 5 17:11:25 2025 UTC"
14
+ #define DATE "built on: Wed Oct 1 18:53:22 2025 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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-2024 The OpenSSL Project Authors. All Rights Reserved.
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
- OSSL_CRYPTO_ALLOC void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
362
- OSSL_CRYPTO_ALLOC char *CRYPTO_strdup(const char *str, const char *file, int line);
363
- OSSL_CRYPTO_ALLOC char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
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);