node-linux-arm64 17.9.1 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/CHANGELOG.md +219 -1570
  2. package/LICENSE +111 -9
  3. package/README.md +4 -2
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +2 -2
  6. package/include/node/config.gypi +233 -228
  7. package/include/node/libplatform/libplatform.h +0 -11
  8. package/include/node/libplatform/v8-tracing.h +0 -1
  9. package/include/node/node.h +7 -3
  10. package/include/node/node_api.h +17 -0
  11. package/include/node/node_version.h +4 -4
  12. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  13. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h +0 -2
  14. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
  15. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/ssl.h +0 -11
  16. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/x509.h +4 -4
  17. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  18. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crypto.h +0 -2
  19. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
  20. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ssl.h +0 -11
  21. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/x509.h +4 -4
  22. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  23. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crypto.h +0 -2
  24. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
  25. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ssl.h +0 -11
  26. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/x509.h +4 -4
  27. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  28. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crypto.h +0 -2
  29. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
  30. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ssl.h +0 -11
  31. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/x509.h +4 -4
  32. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  33. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h +0 -2
  34. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  35. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h +0 -11
  36. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/x509.h +4 -4
  37. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  38. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crypto.h +0 -2
  39. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  40. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ssl.h +0 -11
  41. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/x509.h +4 -4
  42. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  43. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h +0 -2
  44. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
  45. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/ssl.h +0 -11
  46. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/x509.h +4 -4
  47. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
  48. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h +0 -2
  49. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
  50. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h +0 -11
  51. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/x509.h +4 -4
  52. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  53. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crypto.h +0 -2
  54. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
  55. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ssl.h +0 -11
  56. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/x509.h +4 -4
  57. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  58. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h +0 -2
  59. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
  60. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h +0 -11
  61. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/x509.h +4 -4
  62. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  63. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h +0 -2
  64. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
  65. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ssl.h +0 -11
  66. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/x509.h +4 -4
  67. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  68. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h +0 -2
  69. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
  70. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h +0 -11
  71. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/x509.h +4 -4
  72. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  73. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crypto.h +0 -2
  74. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
  75. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ssl.h +0 -11
  76. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/x509.h +4 -4
  77. package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +1 -1
  78. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/crypto.h +0 -2
  79. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslv.h +5 -5
  80. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/ssl.h +0 -11
  81. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/x509.h +4 -4
  82. package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +1 -1
  83. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/crypto.h +0 -2
  84. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  85. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/ssl.h +0 -11
  86. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/x509.h +4 -4
  87. package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +1 -1
  88. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/crypto.h +0 -2
  89. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslv.h +5 -5
  90. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/ssl.h +0 -11
  91. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/x509.h +4 -4
  92. package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
  93. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crypto.h +0 -2
  94. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
  95. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ssl.h +0 -11
  96. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/x509.h +4 -4
  97. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
  98. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h +0 -2
  99. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
  100. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h +0 -11
  101. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/x509.h +4 -4
  102. package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
  103. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h +0 -2
  104. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
  105. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h +0 -11
  106. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/x509.h +4 -4
  107. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  108. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crypto.h +0 -2
  109. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
  110. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ssl.h +0 -11
  111. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/x509.h +4 -4
  112. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  113. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h +0 -2
  114. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  115. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h +0 -11
  116. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/x509.h +4 -4
  117. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  118. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h +0 -2
  119. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
  120. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h +0 -11
  121. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/x509.h +4 -4
  122. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  123. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h +0 -2
  124. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
  125. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h +0 -11
  126. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/x509.h +4 -4
  127. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  128. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h +0 -2
  129. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  130. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h +0 -11
  131. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/x509.h +4 -4
  132. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  133. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h +0 -2
  134. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
  135. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h +0 -11
  136. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/x509.h +4 -4
  137. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  138. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h +0 -2
  139. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
  140. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h +0 -11
  141. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/x509.h +4 -4
  142. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  143. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h +0 -2
  144. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  145. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h +0 -11
  146. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/x509.h +4 -4
  147. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  148. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h +0 -2
  149. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
  150. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h +0 -11
  151. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/x509.h +4 -4
  152. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  153. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h +0 -2
  154. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
  155. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/ssl.h +0 -11
  156. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/x509.h +4 -4
  157. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  158. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h +0 -2
  159. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
  160. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h +0 -11
  161. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/x509.h +4 -4
  162. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  163. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crypto.h +0 -2
  164. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
  165. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ssl.h +0 -11
  166. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/x509.h +4 -4
  167. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  168. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h +0 -2
  169. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
  170. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/ssl.h +0 -11
  171. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/x509.h +4 -4
  172. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  173. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crypto.h +0 -2
  174. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
  175. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ssl.h +0 -11
  176. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/x509.h +4 -4
  177. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  178. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crypto.h +0 -2
  179. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
  180. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ssl.h +0 -11
  181. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/x509.h +4 -4
  182. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  183. package/include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h +0 -2
  184. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
  185. package/include/node/openssl/archs/linux-elf/asm/include/openssl/ssl.h +0 -11
  186. package/include/node/openssl/archs/linux-elf/asm/include/openssl/x509.h +4 -4
  187. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  188. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crypto.h +0 -2
  189. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
  190. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ssl.h +0 -11
  191. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/x509.h +4 -4
  192. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  193. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/crypto.h +0 -2
  194. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
  195. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/ssl.h +0 -11
  196. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/x509.h +4 -4
  197. package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +1 -1
  198. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/crypto.h +0 -2
  199. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslv.h +5 -5
  200. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/ssl.h +0 -11
  201. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/x509.h +4 -4
  202. package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +1 -1
  203. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/crypto.h +0 -2
  204. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h +5 -5
  205. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/ssl.h +0 -11
  206. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/x509.h +4 -4
  207. package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +1 -1
  208. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/crypto.h +0 -2
  209. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslv.h +5 -5
  210. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/ssl.h +0 -11
  211. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/x509.h +4 -4
  212. package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +1 -1
  213. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/crypto.h +0 -2
  214. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslv.h +5 -5
  215. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/ssl.h +0 -11
  216. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/x509.h +4 -4
  217. package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +1 -1
  218. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h +0 -2
  219. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h +5 -5
  220. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h +0 -11
  221. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/x509.h +4 -4
  222. package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +1 -1
  223. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/crypto.h +0 -2
  224. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslv.h +5 -5
  225. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/ssl.h +0 -11
  226. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/x509.h +4 -4
  227. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  228. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h +0 -2
  229. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
  230. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ssl.h +0 -11
  231. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/x509.h +4 -4
  232. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  233. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h +0 -2
  234. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
  235. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h +0 -11
  236. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/x509.h +4 -4
  237. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  238. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crypto.h +0 -2
  239. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
  240. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ssl.h +0 -11
  241. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/x509.h +4 -4
  242. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  243. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/crypto.h +0 -2
  244. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
  245. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/ssl.h +0 -11
  246. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/x509.h +4 -4
  247. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  248. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h +0 -2
  249. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  250. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h +0 -11
  251. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/x509.h +4 -4
  252. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  253. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crypto.h +0 -2
  254. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  255. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ssl.h +0 -11
  256. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/x509.h +4 -4
  257. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  258. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h +0 -2
  259. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
  260. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/ssl.h +0 -11
  261. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/x509.h +4 -4
  262. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  263. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h +0 -2
  264. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  265. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h +0 -11
  266. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/x509.h +4 -4
  267. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  268. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crypto.h +0 -2
  269. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
  270. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ssl.h +0 -11
  271. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/x509.h +4 -4
  272. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  273. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h +0 -2
  274. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
  275. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/ssl.h +0 -11
  276. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/x509.h +4 -4
  277. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  278. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h +0 -2
  279. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
  280. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h +0 -11
  281. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/x509.h +4 -4
  282. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  283. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crypto.h +0 -2
  284. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
  285. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ssl.h +0 -11
  286. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/x509.h +4 -4
  287. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
  288. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crypto.h +0 -2
  289. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
  290. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ssl.h +0 -11
  291. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/x509.h +4 -4
  292. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  293. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h +0 -2
  294. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
  295. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/ssl.h +0 -11
  296. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/x509.h +4 -4
  297. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  298. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h +0 -2
  299. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  300. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h +0 -11
  301. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/x509.h +4 -4
  302. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  303. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crypto.h +0 -2
  304. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
  305. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ssl.h +0 -11
  306. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/x509.h +4 -4
  307. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  308. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crypto.h +0 -2
  309. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
  310. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ssl.h +0 -11
  311. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/x509.h +4 -4
  312. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  313. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h +0 -2
  314. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  315. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h +0 -11
  316. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/x509.h +4 -4
  317. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  318. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h +0 -2
  319. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
  320. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h +0 -11
  321. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/x509.h +4 -4
  322. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  323. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h +0 -2
  324. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
  325. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h +0 -11
  326. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/x509.h +4 -4
  327. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  328. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h +0 -2
  329. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  330. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h +0 -11
  331. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/x509.h +4 -4
  332. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  333. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h +0 -2
  334. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
  335. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h +0 -11
  336. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509.h +4 -4
  337. package/include/node/openssl/ecerr.h +1 -2
  338. package/include/node/v8-array-buffer.h +2 -2
  339. package/include/node/v8-callbacks.h +26 -6
  340. package/include/node/v8-context.h +3 -14
  341. package/include/node/v8-data.h +15 -0
  342. package/include/node/v8-debug.h +21 -4
  343. package/include/node/v8-embedder-heap.h +10 -30
  344. package/include/node/v8-embedder-state-scope.h +51 -0
  345. package/include/node/v8-exception.h +0 -7
  346. package/include/node/v8-function.h +3 -0
  347. package/include/node/v8-initialization.h +64 -31
  348. package/include/node/v8-internal.h +189 -102
  349. package/include/node/v8-isolate.h +49 -2
  350. package/include/node/v8-local-handle.h +0 -4
  351. package/include/node/v8-locker.h +2 -1
  352. package/include/node/v8-message.h +19 -44
  353. package/include/node/v8-object.h +11 -6
  354. package/include/node/v8-platform.h +365 -6
  355. package/include/node/v8-primitive.h +14 -6
  356. package/include/node/v8-profiler.h +78 -2
  357. package/include/node/v8-script.h +27 -51
  358. package/include/node/v8-snapshot.h +0 -2
  359. package/include/node/v8-statistics.h +2 -0
  360. package/include/node/v8-template.h +31 -4
  361. package/include/node/v8-traced-handle.h +39 -224
  362. package/include/node/v8-unwinder.h +10 -7
  363. package/include/node/v8-value-serializer.h +32 -2
  364. package/include/node/v8-version.h +4 -4
  365. package/include/node/v8-wasm.h +13 -1
  366. package/include/node/v8-weak-callback-info.h +20 -6
  367. package/include/node/v8.h +0 -1
  368. package/include/node/v8config.h +56 -11
  369. package/package.json +1 -1
  370. package/share/doc/node/gdbinit +14 -6
  371. package/share/man/man1/node.1 +7 -3
@@ -1381,8 +1381,6 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1381
1381
  # define SSL_CTRL_GET_TMP_KEY 133
1382
1382
  # define SSL_CTRL_GET_NEGOTIATED_GROUP 134
1383
1383
  # define SSL_CTRL_SET_RETRY_VERIFY 136
1384
- # define SSL_CTRL_GET_VERIFY_CERT_STORE 137
1385
- # define SSL_CTRL_GET_CHAIN_CERT_STORE 138
1386
1384
  # define SSL_CERT_SET_FIRST 1
1387
1385
  # define SSL_CERT_SET_NEXT 2
1388
1386
  # define SSL_CERT_SET_SERVER 3
@@ -1444,14 +1442,10 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1444
1442
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
1445
1443
  # define SSL_CTX_set1_verify_cert_store(ctx,st) \
1446
1444
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
1447
- # define SSL_CTX_get0_verify_cert_store(ctx,st) \
1448
- SSL_CTX_ctrl(ctx,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
1449
1445
  # define SSL_CTX_set0_chain_cert_store(ctx,st) \
1450
1446
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
1451
1447
  # define SSL_CTX_set1_chain_cert_store(ctx,st) \
1452
1448
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
1453
- # define SSL_CTX_get0_chain_cert_store(ctx,st) \
1454
- SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
1455
1449
  # define SSL_set0_chain(s,sk) \
1456
1450
  SSL_ctrl(s,SSL_CTRL_CHAIN,0,(char *)(sk))
1457
1451
  # define SSL_set1_chain(s,sk) \
@@ -1474,15 +1468,10 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1474
1468
  SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
1475
1469
  # define SSL_set1_verify_cert_store(s,st) \
1476
1470
  SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
1477
- #define SSL_get0_verify_cert_store(s,st) \
1478
- SSL_ctrl(s,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
1479
1471
  # define SSL_set0_chain_cert_store(s,st) \
1480
1472
  SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
1481
1473
  # define SSL_set1_chain_cert_store(s,st) \
1482
1474
  SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
1483
- #define SSL_get0_chain_cert_store(s,st) \
1484
- SSL_ctrl(s,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
1485
-
1486
1475
  # define SSL_get1_groups(s, glist) \
1487
1476
  SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
1488
1477
  # define SSL_CTX_set1_groups(ctx, glist, glistlen) \
@@ -2,7 +2,7 @@
2
2
  * WARNING: do not edit!
3
3
  * Generated by Makefile from include/openssl/x509.h.in
4
4
  *
5
- * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
5
+ * Copyright 1995-2021 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
@@ -552,11 +552,11 @@ int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
552
552
  X509 *X509_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
553
553
  X509_CRL *X509_CRL_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
554
554
  # ifndef OPENSSL_NO_DEPRECATED_3_0
555
- # include <openssl/http.h> /* OSSL_HTTP_REQ_CTX_nbio_d2i */
555
+ # include <openssl/ocsp.h> /* OCSP_REQ_CTX_nbio_d2i */
556
556
  # define X509_http_nbio(rctx, pcert) \
557
- OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
557
+ OCSP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
558
558
  # define X509_CRL_http_nbio(rctx, pcrl) \
559
- OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcrl, ASN1_ITEM_rptr(X509_CRL))
559
+ OCSP_REQ_CTX_nbio_d2i(rctx, pcrl, ASN1_ITEM_rptr(X509_CRL))
560
560
  # endif
561
561
 
562
562
  # ifndef OPENSSL_NO_STDIO
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: solaris64-x86_64-gcc"
14
- #define DATE "built on: Mon May 9 19:51:34 2022 UTC"
14
+ #define DATE "built on: Wed Mar 16 05:02:37 2022 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -132,8 +132,6 @@ int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
132
132
  const char *str, const char sep);
133
133
  unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
134
134
  int OPENSSL_hexchar2int(unsigned char c);
135
- int OPENSSL_strcasecmp(const char *s1, const char *s2);
136
- int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
137
135
 
138
136
  # define OPENSSL_MALLOC_MAX_NELEMS(type) (((1U<<(sizeof(int)*8-1))-1)/sizeof(type))
139
137
 
@@ -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 3
32
+ # define OPENSSL_VERSION_PATCH 2
33
33
 
34
34
  /*
35
35
  * Additional version information
@@ -74,21 +74,21 @@ extern "C" {
74
74
  * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
75
75
  * OPENSSL_VERSION_BUILD_METADATA_STR appended.
76
76
  */
77
- # define OPENSSL_VERSION_STR "3.0.3"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.3+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.2"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
79
79
 
80
80
  /*
81
81
  * SECTION 3: ADDITIONAL METADATA
82
82
  *
83
83
  * These strings are defined separately to allow them to be parsable.
84
84
  */
85
- # define OPENSSL_RELEASE_DATE "3 May 2022"
85
+ # define OPENSSL_RELEASE_DATE "15 Mar 2022"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.3+quic 3 May 2022"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
92
92
 
93
93
  /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
94
94
  # ifdef OPENSSL_VERSION_PRE_RELEASE
@@ -1381,8 +1381,6 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1381
1381
  # define SSL_CTRL_GET_TMP_KEY 133
1382
1382
  # define SSL_CTRL_GET_NEGOTIATED_GROUP 134
1383
1383
  # define SSL_CTRL_SET_RETRY_VERIFY 136
1384
- # define SSL_CTRL_GET_VERIFY_CERT_STORE 137
1385
- # define SSL_CTRL_GET_CHAIN_CERT_STORE 138
1386
1384
  # define SSL_CERT_SET_FIRST 1
1387
1385
  # define SSL_CERT_SET_NEXT 2
1388
1386
  # define SSL_CERT_SET_SERVER 3
@@ -1444,14 +1442,10 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1444
1442
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
1445
1443
  # define SSL_CTX_set1_verify_cert_store(ctx,st) \
1446
1444
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
1447
- # define SSL_CTX_get0_verify_cert_store(ctx,st) \
1448
- SSL_CTX_ctrl(ctx,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
1449
1445
  # define SSL_CTX_set0_chain_cert_store(ctx,st) \
1450
1446
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
1451
1447
  # define SSL_CTX_set1_chain_cert_store(ctx,st) \
1452
1448
  SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
1453
- # define SSL_CTX_get0_chain_cert_store(ctx,st) \
1454
- SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
1455
1449
  # define SSL_set0_chain(s,sk) \
1456
1450
  SSL_ctrl(s,SSL_CTRL_CHAIN,0,(char *)(sk))
1457
1451
  # define SSL_set1_chain(s,sk) \
@@ -1474,15 +1468,10 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1474
1468
  SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
1475
1469
  # define SSL_set1_verify_cert_store(s,st) \
1476
1470
  SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
1477
- #define SSL_get0_verify_cert_store(s,st) \
1478
- SSL_ctrl(s,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
1479
1471
  # define SSL_set0_chain_cert_store(s,st) \
1480
1472
  SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
1481
1473
  # define SSL_set1_chain_cert_store(s,st) \
1482
1474
  SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
1483
- #define SSL_get0_chain_cert_store(s,st) \
1484
- SSL_ctrl(s,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
1485
-
1486
1475
  # define SSL_get1_groups(s, glist) \
1487
1476
  SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
1488
1477
  # define SSL_CTX_set1_groups(ctx, glist, glistlen) \
@@ -2,7 +2,7 @@
2
2
  * WARNING: do not edit!
3
3
  * Generated by Makefile from include/openssl/x509.h.in
4
4
  *
5
- * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
5
+ * Copyright 1995-2021 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
@@ -552,11 +552,11 @@ int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
552
552
  X509 *X509_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
553
553
  X509_CRL *X509_CRL_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
554
554
  # ifndef OPENSSL_NO_DEPRECATED_3_0
555
- # include <openssl/http.h> /* OSSL_HTTP_REQ_CTX_nbio_d2i */
555
+ # include <openssl/ocsp.h> /* OCSP_REQ_CTX_nbio_d2i */
556
556
  # define X509_http_nbio(rctx, pcert) \
557
- OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
557
+ OCSP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
558
558
  # define X509_CRL_http_nbio(rctx, pcrl) \
559
- OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcrl, ASN1_ITEM_rptr(X509_CRL))
559
+ OCSP_REQ_CTX_nbio_d2i(rctx, pcrl, ASN1_ITEM_rptr(X509_CRL))
560
560
  # endif
561
561
 
562
562
  # ifndef OPENSSL_NO_STDIO
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Generated by util/mkerr.pl DO NOT EDIT
3
- * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
3
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License 2.0 (the "License"). You may not use
6
6
  * this file except in compliance with the License. You can obtain a copy
@@ -35,7 +35,6 @@
35
35
  # define EC_R_DECODE_ERROR 142
36
36
  # define EC_R_DISCRIMINANT_IS_ZERO 118
37
37
  # define EC_R_EC_GROUP_NEW_BY_NAME_FAILURE 119
38
- # define EC_R_EXPLICIT_PARAMS_NOT_SUPPORTED 127
39
38
  # define EC_R_FAILED_MAKING_PUBLIC_KEY 166
40
39
  # define EC_R_FIELD_TOO_LARGE 143
41
40
  # define EC_R_GF2M_NOT_SUPPORTED 147
@@ -175,8 +175,8 @@ class V8_EXPORT ArrayBuffer : public Object {
175
175
  /**
176
176
  * Convenience allocator.
177
177
  *
178
- * When the virtual memory cage is enabled, this allocator will allocate its
179
- * backing memory inside the cage. Otherwise, it will rely on malloc/free.
178
+ * When the sandbox is enabled, this allocator will allocate its backing
179
+ * memory inside the sandbox. Otherwise, it will rely on malloc/free.
180
180
  *
181
181
  * Caller takes ownership, i.e. the returned object needs to be freed using
182
182
  * |delete allocator| once it is no longer in use.
@@ -148,11 +148,13 @@ using JitCodeEventHandler = void (*)(const JitCodeEvent* event);
148
148
  */
149
149
  enum GCType {
150
150
  kGCTypeScavenge = 1 << 0,
151
- kGCTypeMarkSweepCompact = 1 << 1,
152
- kGCTypeIncrementalMarking = 1 << 2,
153
- kGCTypeProcessWeakCallbacks = 1 << 3,
154
- kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact |
155
- kGCTypeIncrementalMarking | kGCTypeProcessWeakCallbacks
151
+ kGCTypeMinorMarkCompact = 1 << 1,
152
+ kGCTypeMarkSweepCompact = 1 << 2,
153
+ kGCTypeIncrementalMarking = 1 << 3,
154
+ kGCTypeProcessWeakCallbacks = 1 << 4,
155
+ kGCTypeAll = kGCTypeScavenge | kGCTypeMinorMarkCompact |
156
+ kGCTypeMarkSweepCompact | kGCTypeIncrementalMarking |
157
+ kGCTypeProcessWeakCallbacks
156
158
  };
157
159
 
158
160
  /**
@@ -316,7 +318,7 @@ using SharedArrayBufferConstructorEnabledCallback =
316
318
  bool (*)(Local<Context> context);
317
319
 
318
320
  /**
319
- * HostImportModuleDynamicallyWithImportAssertionsCallback is called when we
321
+ * HostImportModuleDynamicallyCallback is called when we
320
322
  * require the embedder to load a module. This is used as part of the dynamic
321
323
  * import syntax.
322
324
  *
@@ -346,6 +348,10 @@ using HostImportModuleDynamicallyWithImportAssertionsCallback =
346
348
  Local<ScriptOrModule> referrer,
347
349
  Local<String> specifier,
348
350
  Local<FixedArray> import_assertions);
351
+ using HostImportModuleDynamicallyCallback = MaybeLocal<Promise> (*)(
352
+ Local<Context> context, Local<Data> host_defined_options,
353
+ Local<Value> resource_name, Local<String> specifier,
354
+ Local<FixedArray> import_assertions);
349
355
 
350
356
  /**
351
357
  * HostInitializeImportMetaObjectCallback is called the first time import.meta
@@ -361,6 +367,20 @@ using HostInitializeImportMetaObjectCallback = void (*)(Local<Context> context,
361
367
  Local<Module> module,
362
368
  Local<Object> meta);
363
369
 
370
+ /**
371
+ * HostCreateShadowRealmContextCallback is called each time a ShadowRealm is
372
+ * being constructed in the initiator_context.
373
+ *
374
+ * The method combines Context creation and implementation defined abstract
375
+ * operation HostInitializeShadowRealm into one.
376
+ *
377
+ * The embedder should use v8::Context::New or v8::Context:NewFromSnapshot to
378
+ * create a new context. If the creation fails, the embedder must propagate
379
+ * that exception by returning an empty MaybeLocal.
380
+ */
381
+ using HostCreateShadowRealmContextCallback =
382
+ MaybeLocal<Context> (*)(Local<Context> initiator_context);
383
+
364
384
  /**
365
385
  * PrepareStackTraceCallback is called when the stack property of an error is
366
386
  * first accessed. The return value will be used as the stack value. If this
@@ -313,17 +313,6 @@ class V8_EXPORT Context : public Data {
313
313
  explicit BackupIncumbentScope(Local<Context> backup_incumbent_context);
314
314
  ~BackupIncumbentScope();
315
315
 
316
- /**
317
- * Returns address that is comparable with JS stack address. Note that JS
318
- * stack may be allocated separately from the native stack. See also
319
- * |TryCatch::JSStackComparableAddressPrivate| for details.
320
- */
321
- V8_DEPRECATE_SOON(
322
- "This is private V8 information that should not be exposed in the API.")
323
- uintptr_t JSStackComparableAddress() const {
324
- return JSStackComparableAddressPrivate();
325
- }
326
-
327
316
  private:
328
317
  friend class internal::Isolate;
329
318
 
@@ -379,7 +368,7 @@ Local<Value> Context::GetEmbedderData(int index) {
379
368
  }
380
369
 
381
370
  void* Context::GetAlignedPointerFromEmbedderData(int index) {
382
- #ifndef V8_ENABLE_CHECKS
371
+ #if !defined(V8_ENABLE_CHECKS)
383
372
  using A = internal::Address;
384
373
  using I = internal::Internals;
385
374
  A ctx = *reinterpret_cast<const A*>(this);
@@ -387,10 +376,10 @@ void* Context::GetAlignedPointerFromEmbedderData(int index) {
387
376
  I::ReadTaggedPointerField(ctx, I::kNativeContextEmbedderDataOffset);
388
377
  int value_offset =
389
378
  I::kEmbedderDataArrayHeaderSize + (I::kEmbedderDataSlotSize * index);
390
- #ifdef V8_HEAP_SANDBOX
379
+ #ifdef V8_SANDBOXED_EXTERNAL_POINTERS
391
380
  value_offset += I::kEmbedderDataSlotRawPayloadOffset;
392
381
  #endif
393
- internal::Isolate* isolate = I::GetIsolateForHeapSandbox(ctx);
382
+ internal::Isolate* isolate = I::GetIsolateForSandbox(ctx);
394
383
  return reinterpret_cast<void*>(
395
384
  I::ReadExternalPointerField(isolate, embedder_data, value_offset,
396
385
  internal::kEmbedderDataSlotPayloadTag));
@@ -27,6 +27,11 @@ class V8_EXPORT Data {
27
27
  */
28
28
  bool IsModule() const;
29
29
 
30
+ /**
31
+ * Returns tru if this data is a |v8::FixedArray|
32
+ */
33
+ bool IsFixedArray() const;
34
+
30
35
  /**
31
36
  * Returns true if this data is a |v8::Private|.
32
37
  */
@@ -58,6 +63,16 @@ class V8_EXPORT FixedArray : public Data {
58
63
  public:
59
64
  int Length() const;
60
65
  Local<Data> Get(Local<Context> context, int i) const;
66
+
67
+ V8_INLINE static FixedArray* Cast(Data* data) {
68
+ #ifdef V8_ENABLE_CHECKS
69
+ CheckCast(data);
70
+ #endif
71
+ return reinterpret_cast<FixedArray*>(data);
72
+ }
73
+
74
+ private:
75
+ static void CheckCast(Data* obj);
61
76
  };
62
77
 
63
78
  } // namespace v8
@@ -7,8 +7,8 @@
7
7
 
8
8
  #include <stdint.h>
9
9
 
10
- #include "v8-local-handle.h" // NOLINT(build/include_directory)
11
- #include "v8config.h" // NOLINT(build/include_directory)
10
+ #include "v8-script.h" // NOLINT(build/include_directory)
11
+ #include "v8config.h" // NOLINT(build/include_directory)
12
12
 
13
13
  namespace v8 {
14
14
 
@@ -20,13 +20,18 @@ class String;
20
20
  */
21
21
  class V8_EXPORT StackFrame {
22
22
  public:
23
+ /**
24
+ * Returns the source location, 0-based, for the associated function call.
25
+ */
26
+ Location GetLocation() const;
27
+
23
28
  /**
24
29
  * Returns the number, 1-based, of the line for the associate function call.
25
30
  * This method will return Message::kNoLineNumberInfo if it is unable to
26
31
  * retrieve the line number, or if kLineNumber was not passed as an option
27
32
  * when capturing the StackTrace.
28
33
  */
29
- int GetLineNumber() const;
34
+ int GetLineNumber() const { return GetLocation().GetLineNumber() + 1; }
30
35
 
31
36
  /**
32
37
  * Returns the 1-based column offset on the line for the associated function
@@ -35,7 +40,7 @@ class V8_EXPORT StackFrame {
35
40
  * the column number, or if kColumnOffset was not passed as an option when
36
41
  * capturing the StackTrace.
37
42
  */
38
- int GetColumn() const;
43
+ int GetColumn() const { return GetLocation().GetColumnNumber() + 1; }
39
44
 
40
45
  /**
41
46
  * Returns the id of the script for the function for this StackFrame.
@@ -144,6 +149,18 @@ class V8_EXPORT StackTrace {
144
149
  */
145
150
  static Local<StackTrace> CurrentStackTrace(
146
151
  Isolate* isolate, int frame_limit, StackTraceOptions options = kDetailed);
152
+
153
+ /**
154
+ * Returns the first valid script name or source URL starting at the top of
155
+ * the JS stack. The returned string is either an empty handle if no script
156
+ * name/url was found or a non-zero-length string.
157
+ *
158
+ * This method is equivalent to calling StackTrace::CurrentStackTrace and
159
+ * walking the resulting frames from the beginning until a non-empty script
160
+ * name/url is found. The difference is that this method won't allocate
161
+ * a stack trace.
162
+ */
163
+ static Local<String> CurrentScriptNameOrSourceURL(Isolate* isolate);
147
164
  };
148
165
 
149
166
  } // namespace v8
@@ -34,24 +34,21 @@ class V8_EXPORT EmbedderRootsHandler {
34
34
  virtual ~EmbedderRootsHandler() = default;
35
35
 
36
36
  /**
37
- * Returns true if the TracedGlobal handle should be considered as root for
38
- * the currently running non-tracing garbage collection and false otherwise.
39
- * The default implementation will keep all TracedGlobal references as roots.
37
+ * Returns true if the |TracedReference| handle should be considered as root
38
+ * for the currently running non-tracing garbage collection and false
39
+ * otherwise. The default implementation will keep all |TracedReference|
40
+ * references as roots.
40
41
  *
41
42
  * If this returns false, then V8 may decide that the object referred to by
42
- * such a handle is reclaimed. In that case:
43
- * - No action is required if handles are used with destructors, i.e., by just
44
- * using |TracedGlobal|.
45
- * - When run without destructors, i.e., by using |TracedReference|, V8 calls
46
- * |ResetRoot|.
43
+ * such a handle is reclaimed. In that case, V8 calls |ResetRoot()| for the
44
+ * |TracedReference|.
47
45
  *
48
- * Note that the |handle| is different from the handle that the embedder holds
46
+ * Note that the `handle` is different from the handle that the embedder holds
49
47
  * for retaining the object. The embedder may use |WrapperClassId()| to
50
48
  * distinguish cases where it wants handles to be treated as roots from not
51
49
  * being treated as roots.
52
50
  */
53
51
  virtual bool IsRoot(const v8::TracedReference<v8::Value>& handle) = 0;
54
- virtual bool IsRoot(const v8::TracedGlobal<v8::Value>& handle) = 0;
55
52
 
56
53
  /**
57
54
  * Used in combination with |IsRoot|. Called by V8 when an
@@ -83,12 +80,11 @@ class V8_EXPORT EmbedderHeapTracer {
83
80
  };
84
81
 
85
82
  /**
86
- * Interface for iterating through TracedGlobal handles.
83
+ * Interface for iterating through |TracedReference| handles.
87
84
  */
88
85
  class V8_EXPORT TracedGlobalHandleVisitor {
89
86
  public:
90
87
  virtual ~TracedGlobalHandleVisitor() = default;
91
- virtual void VisitTracedGlobalHandle(const TracedGlobal<Value>& handle) {}
92
88
  virtual void VisitTracedReference(const TracedReference<Value>& handle) {}
93
89
  };
94
90
 
@@ -113,8 +109,8 @@ class V8_EXPORT EmbedderHeapTracer {
113
109
  virtual ~EmbedderHeapTracer() = default;
114
110
 
115
111
  /**
116
- * Iterates all TracedGlobal handles created for the v8::Isolate the tracer is
117
- * attached to.
112
+ * Iterates all |TracedReference| handles created for the |v8::Isolate| the
113
+ * tracer is attached to.
118
114
  */
119
115
  void IterateTracedGlobalHandles(TracedGlobalHandleVisitor* visitor);
120
116
 
@@ -124,14 +120,6 @@ class V8_EXPORT EmbedderHeapTracer {
124
120
  */
125
121
  void SetStackStart(void* stack_start);
126
122
 
127
- /**
128
- * Called by the embedder to notify V8 of an empty execution stack.
129
- */
130
- V8_DEPRECATE_SOON(
131
- "This call only optimized internal caches which V8 is able to figure out "
132
- "on its own now.")
133
- void NotifyEmptyEmbedderStack();
134
-
135
123
  /**
136
124
  * Called by v8 to register internal fields of found wrappers.
137
125
  *
@@ -197,7 +185,6 @@ class V8_EXPORT EmbedderHeapTracer {
197
185
  */
198
186
  virtual bool IsRootForNonTracingGC(
199
187
  const v8::TracedReference<v8::Value>& handle);
200
- virtual bool IsRootForNonTracingGC(const v8::TracedGlobal<v8::Value>& handle);
201
188
 
202
189
  /**
203
190
  * See documentation on EmbedderRootsHandler.
@@ -205,13 +192,6 @@ class V8_EXPORT EmbedderHeapTracer {
205
192
  virtual void ResetHandleInNonTracingGC(
206
193
  const v8::TracedReference<v8::Value>& handle);
207
194
 
208
- /*
209
- * Called by the embedder to immediately perform a full garbage collection.
210
- *
211
- * Should only be used in testing code.
212
- */
213
- void GarbageCollectionForTesting(EmbedderStackState stack_state);
214
-
215
195
  /*
216
196
  * Called by the embedder to signal newly allocated or freed memory. Not bound
217
197
  * to tracing phases. Embedders should trade off when increments are reported
@@ -0,0 +1,51 @@
1
+ // Copyright 2021 the V8 project authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ #ifndef INCLUDE_V8_EMBEDDER_STATE_SCOPE_H_
6
+ #define INCLUDE_V8_EMBEDDER_STATE_SCOPE_H_
7
+
8
+ #include <memory>
9
+
10
+ #include "v8-context.h" // NOLINT(build/include_directory)
11
+ #include "v8-internal.h" // NOLINT(build/include_directory)
12
+ #include "v8-local-handle.h" // NOLINT(build/include_directory)
13
+
14
+ namespace v8 {
15
+
16
+ namespace internal {
17
+ class EmbedderState;
18
+ } // namespace internal
19
+
20
+ // A StateTag represents a possible state of the embedder.
21
+ enum class EmbedderStateTag : uint8_t {
22
+ // reserved
23
+ EMPTY = 0,
24
+ OTHER = 1,
25
+ // embedder can define any state after
26
+ };
27
+
28
+ // A stack-allocated class that manages an embedder state on the isolate.
29
+ // After an EmbedderState scope has been created, a new embedder state will be
30
+ // pushed on the isolate stack.
31
+ class V8_EXPORT EmbedderStateScope {
32
+ public:
33
+ EmbedderStateScope(Isolate* isolate, Local<v8::Context> context,
34
+ EmbedderStateTag tag);
35
+
36
+ ~EmbedderStateScope();
37
+
38
+ private:
39
+ // Declaring operator new and delete as deleted is not spec compliant.
40
+ // Therefore declare them private instead to disable dynamic alloc
41
+ void* operator new(size_t size);
42
+ void* operator new[](size_t size);
43
+ void operator delete(void*, size_t);
44
+ void operator delete[](void*, size_t);
45
+
46
+ std::unique_ptr<internal::EmbedderState> embedder_state_;
47
+ };
48
+
49
+ } // namespace v8
50
+
51
+ #endif // INCLUDE_V8_EMBEDDER_STATE_SCOPE_H_
@@ -169,13 +169,6 @@ class V8_EXPORT TryCatch {
169
169
  */
170
170
  void SetCaptureMessage(bool value);
171
171
 
172
- V8_DEPRECATE_SOON(
173
- "This is private information that should not be exposed by the API")
174
- static void* JSStackComparableAddress(TryCatch* handler) {
175
- if (handler == nullptr) return nullptr;
176
- return reinterpret_cast<void*>(handler->JSStackComparableAddressPrivate());
177
- }
178
-
179
172
  TryCatch(const TryCatch&) = delete;
180
173
  void operator=(const TryCatch&) = delete;
181
174
 
@@ -18,6 +18,7 @@
18
18
  namespace v8 {
19
19
 
20
20
  class Context;
21
+ class UnboundScript;
21
22
 
22
23
  /**
23
24
  * A JavaScript function object (ECMA-262, 15.3).
@@ -58,6 +59,8 @@ class V8_EXPORT Function : public Object {
58
59
  void SetName(Local<String> name);
59
60
  Local<Value> GetName() const;
60
61
 
62
+ MaybeLocal<UnboundScript> GetUnboundScript() const;
63
+
61
64
  /**
62
65
  * Name inferred from variable or property assignment of this function.
63
66
  * Used to facilitate debugging and profiling of JavaScript code written