node-linux-s390x 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.
Files changed (262) hide show
  1. package/CHANGELOG.md +142 -1733
  2. package/bin/node +0 -0
  3. package/include/node/common.gypi +1 -1
  4. package/include/node/config.gypi +5 -5
  5. package/include/node/cppgc/common.h +0 -1
  6. package/include/node/node.h +6 -6
  7. package/include/node/node_version.h +6 -6
  8. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  9. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/bio.h +1 -0
  10. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/err.h +13 -1
  11. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
  12. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  13. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/bio.h +1 -0
  14. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/err.h +13 -1
  15. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
  16. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  17. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/bio.h +1 -0
  18. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/err.h +13 -1
  19. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
  20. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  21. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/bio.h +1 -0
  22. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/err.h +13 -1
  23. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
  24. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  25. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h +1 -0
  26. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/err.h +13 -1
  27. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  28. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  29. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/bio.h +1 -0
  30. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/err.h +13 -1
  31. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  32. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  33. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/bio.h +1 -0
  34. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/err.h +13 -1
  35. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
  36. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
  37. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/bio.h +1 -0
  38. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/err.h +13 -1
  39. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
  40. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  41. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/bio.h +1 -0
  42. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/err.h +13 -1
  43. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
  44. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  45. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h +1 -0
  46. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/err.h +13 -1
  47. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
  48. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  49. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/bio.h +1 -0
  50. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/err.h +13 -1
  51. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
  52. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  53. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h +1 -0
  54. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/err.h +13 -1
  55. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
  56. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  57. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/bio.h +1 -0
  58. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/err.h +13 -1
  59. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
  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/bio.h +1 -0
  62. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/err.h +13 -1
  63. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
  64. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
  65. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h +1 -0
  66. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/err.h +13 -1
  67. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
  68. package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
  69. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/bio.h +1 -0
  70. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/err.h +13 -1
  71. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
  72. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  73. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/bio.h +1 -0
  74. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/err.h +13 -1
  75. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
  76. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  77. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h +1 -0
  78. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/err.h +13 -1
  79. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  80. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  81. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/bio.h +1 -0
  82. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/err.h +13 -1
  83. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
  84. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  85. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/bio.h +1 -0
  86. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/err.h +13 -1
  87. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
  88. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  89. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h +1 -0
  90. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/err.h +13 -1
  91. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  92. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  93. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h +1 -0
  94. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/err.h +13 -1
  95. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
  96. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  97. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h +1 -0
  98. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/err.h +13 -1
  99. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
  100. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  101. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h +1 -0
  102. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/err.h +13 -1
  103. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  104. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  105. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h +1 -0
  106. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/err.h +13 -1
  107. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
  108. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  109. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/bio.h +1 -0
  110. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/err.h +13 -1
  111. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
  112. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  113. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/bio.h +1 -0
  114. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/err.h +13 -1
  115. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
  116. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  117. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/bio.h +1 -0
  118. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/err.h +13 -1
  119. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
  120. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  121. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/bio.h +1 -0
  122. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/err.h +13 -1
  123. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
  124. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  125. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/bio.h +1 -0
  126. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/err.h +13 -1
  127. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
  128. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  129. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/bio.h +1 -0
  130. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/err.h +13 -1
  131. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
  132. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  133. package/include/node/openssl/archs/linux-elf/asm/include/openssl/bio.h +1 -0
  134. package/include/node/openssl/archs/linux-elf/asm/include/openssl/err.h +13 -1
  135. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
  136. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  137. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/bio.h +1 -0
  138. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/err.h +13 -1
  139. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
  140. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  141. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/bio.h +1 -0
  142. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/err.h +13 -1
  143. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
  144. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  145. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/bio.h +1 -0
  146. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/err.h +13 -1
  147. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
  148. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  149. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h +1 -0
  150. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/err.h +13 -1
  151. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
  152. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  153. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/bio.h +1 -0
  154. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/err.h +13 -1
  155. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
  156. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  157. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/bio.h +1 -0
  158. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/err.h +13 -1
  159. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
  160. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  161. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/bio.h +1 -0
  162. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/err.h +13 -1
  163. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  164. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  165. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/bio.h +1 -0
  166. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/err.h +13 -1
  167. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  168. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  169. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/bio.h +1 -0
  170. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/err.h +13 -1
  171. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
  172. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  173. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/bio.h +1 -0
  174. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/err.h +13 -1
  175. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  176. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  177. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/bio.h +1 -0
  178. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/err.h +13 -1
  179. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
  180. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  181. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/bio.h +1 -0
  182. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/err.h +13 -1
  183. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
  184. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  185. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/bio.h +1 -0
  186. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/err.h +13 -1
  187. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
  188. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  189. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/bio.h +1 -0
  190. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/err.h +13 -1
  191. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
  192. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
  193. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/bio.h +1 -0
  194. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/err.h +13 -1
  195. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
  196. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  197. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/bio.h +1 -0
  198. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/err.h +13 -1
  199. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
  200. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  201. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/bio.h +1 -0
  202. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/err.h +13 -1
  203. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  204. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  205. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/bio.h +1 -0
  206. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/err.h +13 -1
  207. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
  208. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  209. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/bio.h +1 -0
  210. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/err.h +13 -1
  211. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
  212. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  213. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h +1 -0
  214. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/err.h +13 -1
  215. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  216. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  217. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h +1 -0
  218. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/err.h +13 -1
  219. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
  220. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  221. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h +1 -0
  222. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/err.h +13 -1
  223. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
  224. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  225. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h +1 -0
  226. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/err.h +13 -1
  227. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  228. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  229. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h +1 -0
  230. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/err.h +13 -1
  231. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
  232. package/include/node/v8-callbacks.h +19 -5
  233. package/include/node/v8-context.h +12 -8
  234. package/include/node/v8-date.h +5 -0
  235. package/include/node/v8-embedder-heap.h +8 -3
  236. package/include/node/v8-exception.h +1 -1
  237. package/include/node/v8-function.h +8 -0
  238. package/include/node/v8-initialization.h +23 -49
  239. package/include/node/v8-internal.h +312 -123
  240. package/include/node/v8-isolate.h +26 -42
  241. package/include/node/v8-local-handle.h +5 -5
  242. package/include/node/v8-locker.h +0 -11
  243. package/include/node/v8-maybe.h +24 -1
  244. package/include/node/v8-message.h +2 -4
  245. package/include/node/v8-microtask-queue.h +1 -1
  246. package/include/node/v8-object.h +8 -15
  247. package/include/node/v8-persistent-handle.h +0 -2
  248. package/include/node/v8-platform.h +54 -25
  249. package/include/node/v8-primitive.h +8 -8
  250. package/include/node/v8-profiler.h +84 -22
  251. package/include/node/v8-regexp.h +2 -1
  252. package/include/node/v8-script.h +62 -6
  253. package/include/node/v8-template.h +13 -76
  254. package/include/node/v8-value-serializer.h +46 -23
  255. package/include/node/v8-version.h +3 -3
  256. package/include/node/v8-wasm.h +5 -62
  257. package/include/node/v8-weak-callback-info.h +0 -7
  258. package/include/node/v8config.h +247 -13
  259. package/package.json +1 -1
  260. package/share/doc/node/gdbinit +9 -1
  261. package/share/man/man1/node.1 +9 -6
  262. package/share/systemtap/tapset/node.stp +0 -146
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
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 5
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.5"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.5+quic"
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 "5 Jul 2022"
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.5+quic 5 Jul 2022"
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
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: solaris64-x86_64-gcc"
14
- #define DATE "built on: Fri Jul 8 16:50:45 2022 UTC"
14
+ #define DATE "built on: Thu Nov 3 02:20:14 2022 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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-2021 The OpenSSL Project Authors. All Rights Reserved.
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 5
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.5"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.5+quic"
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 "5 Jul 2022"
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.5+quic 5 Jul 2022"
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
- using OOMErrorCallback = void (*)(const char* location, bool is_heap_oom);
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
- I::kEmbedderDataArrayHeaderSize + (I::kEmbedderDataSlotSize * index);
379
- #ifdef V8_SANDBOXED_EXTERNAL_POINTERS
380
- value_offset += I::kEmbedderDataSlotRawPayloadOffset;
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(isolate, embedder_data, value_offset,
385
- internal::kEmbedderDataSlotPayloadTag));
388
+ I::ReadExternalPointerField<internal::kEmbedderDataSlotPayloadTag>(
389
+ isolate, embedder_data, value_offset));
386
390
  #else
387
391
  return SlowGetAlignedPointerFromEmbedderData(index);
388
392
  #endif
@@ -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 EmbedderHeapTracer {
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 isolate_; }
213
+ v8::Isolate* isolate() const { return v8_isolate_; }
209
214
 
210
215
  protected:
211
- v8::Isolate* isolate_ = nullptr;
216
+ v8::Isolate* v8_isolate_ = nullptr;
212
217
 
213
218
  friend class internal::LocalEmbedderHeapTracer;
214
219
  };
@@ -197,7 +197,7 @@ class V8_EXPORT TryCatch {
197
197
 
198
198
  void ResetInternal();
199
199
 
200
- internal::Isolate* isolate_;
200
+ internal::Isolate* i_isolate_;
201
201
  TryCatch* next_;
202
202
  void* exception_;
203
203
  void* message_obj_;
@@ -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
- * Initializes the V8 sandbox.
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
- * TODO(saelo) Once it is no longer optional to initialize the sandbox when
205
- * compiling with V8_SANDBOX, the sandbox initialization will likely happen
206
- * as part of V8::Initialize, at which point this function should be removed.
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 InitializeSandbox();
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
- * If the sandbox has not been initialized, or if the initialization failed,
234
- * this returns zero.
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 whether the sandbox is configured securely.
221
+ * Returns the size of the address space reservation backing the sandbox.
244
222
  *
245
- * If V8 cannot create a proper sandbox, it will fall back to creating a
246
- * sandbox that doesn't have the desired security properties but at least
247
- * still allows V8 to function. This API can be used to determine if such an
248
- * insecure sandbox is being used, in which case it will return false.
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 bool IsSandboxConfiguredSecurely();
251
- V8_DEPRECATE_SOON("Use IsSandboxConfiguredSecurely()")
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 unhandled_exception_callback);
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
- kSandboxedExternalPointers = 1 << 2,
299
- kSandbox = 1 << 3,
273
+ kSandbox = 1 << 2,
300
274
  };
301
275
 
302
276
  /**