node-linux-arm64 17.7.2 → 18.1.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 (303) hide show
  1. package/CHANGELOG.md +320 -1347
  2. package/LICENSE +111 -9
  3. package/README.md +25 -27
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +7 -3
  6. package/include/node/config.gypi +239 -234
  7. package/include/node/js_native_api.h +35 -46
  8. package/include/node/js_native_api_types.h +3 -6
  9. package/include/node/libplatform/libplatform.h +0 -11
  10. package/include/node/libplatform/v8-tracing.h +0 -1
  11. package/include/node/node.h +7 -3
  12. package/include/node/node_api.h +70 -60
  13. package/include/node/node_api_types.h +1 -2
  14. package/include/node/node_version.h +4 -4
  15. package/include/node/openssl/asn1_asm.h +0 -6
  16. package/include/node/openssl/asn1_no-asm.h +0 -6
  17. package/include/node/openssl/asn1t_asm.h +0 -6
  18. package/include/node/openssl/asn1t_no-asm.h +0 -6
  19. package/include/node/openssl/bio_asm.h +0 -6
  20. package/include/node/openssl/bio_no-asm.h +0 -6
  21. package/include/node/openssl/bn_conf_asm.h +0 -6
  22. package/include/node/openssl/bn_conf_no-asm.h +0 -6
  23. package/include/node/openssl/cmp_asm.h +0 -6
  24. package/include/node/openssl/cmp_no-asm.h +0 -6
  25. package/include/node/openssl/cms_asm.h +0 -6
  26. package/include/node/openssl/cms_no-asm.h +0 -6
  27. package/include/node/openssl/conf_asm.h +0 -6
  28. package/include/node/openssl/conf_no-asm.h +0 -6
  29. package/include/node/openssl/configuration_asm.h +0 -6
  30. package/include/node/openssl/configuration_no-asm.h +0 -6
  31. package/include/node/openssl/crmf_asm.h +0 -6
  32. package/include/node/openssl/crmf_no-asm.h +0 -6
  33. package/include/node/openssl/crypto_asm.h +0 -6
  34. package/include/node/openssl/crypto_no-asm.h +0 -6
  35. package/include/node/openssl/ct_asm.h +0 -6
  36. package/include/node/openssl/ct_no-asm.h +0 -6
  37. package/include/node/openssl/dso_conf_asm.h +0 -6
  38. package/include/node/openssl/dso_conf_no-asm.h +0 -6
  39. package/include/node/openssl/err_asm.h +0 -6
  40. package/include/node/openssl/err_no-asm.h +0 -6
  41. package/include/node/openssl/ess_asm.h +0 -6
  42. package/include/node/openssl/ess_no-asm.h +0 -6
  43. package/include/node/openssl/fipskey_asm.h +0 -6
  44. package/include/node/openssl/fipskey_no-asm.h +0 -6
  45. package/include/node/openssl/lhash_asm.h +0 -6
  46. package/include/node/openssl/lhash_no-asm.h +0 -6
  47. package/include/node/openssl/ocsp_asm.h +0 -6
  48. package/include/node/openssl/ocsp_no-asm.h +0 -6
  49. package/include/node/openssl/opensslv_asm.h +0 -6
  50. package/include/node/openssl/opensslv_no-asm.h +0 -6
  51. package/include/node/openssl/pkcs12_asm.h +0 -6
  52. package/include/node/openssl/pkcs12_no-asm.h +0 -6
  53. package/include/node/openssl/pkcs7_asm.h +0 -6
  54. package/include/node/openssl/pkcs7_no-asm.h +0 -6
  55. package/include/node/openssl/safestack_asm.h +0 -6
  56. package/include/node/openssl/safestack_no-asm.h +0 -6
  57. package/include/node/openssl/srp_asm.h +0 -6
  58. package/include/node/openssl/srp_no-asm.h +0 -6
  59. package/include/node/openssl/ssl_asm.h +0 -6
  60. package/include/node/openssl/ssl_no-asm.h +0 -6
  61. package/include/node/openssl/ui_asm.h +0 -6
  62. package/include/node/openssl/ui_no-asm.h +0 -6
  63. package/include/node/openssl/x509_asm.h +0 -6
  64. package/include/node/openssl/x509_no-asm.h +0 -6
  65. package/include/node/openssl/x509_vfy_asm.h +0 -6
  66. package/include/node/openssl/x509_vfy_no-asm.h +0 -6
  67. package/include/node/openssl/x509v3_asm.h +0 -6
  68. package/include/node/openssl/x509v3_no-asm.h +0 -6
  69. package/include/node/v8-array-buffer.h +2 -2
  70. package/include/node/v8-callbacks.h +26 -6
  71. package/include/node/v8-context.h +3 -14
  72. package/include/node/v8-data.h +15 -0
  73. package/include/node/v8-debug.h +21 -4
  74. package/include/node/v8-embedder-heap.h +10 -30
  75. package/include/node/v8-embedder-state-scope.h +51 -0
  76. package/include/node/v8-exception.h +0 -7
  77. package/include/node/v8-function.h +3 -0
  78. package/include/node/v8-initialization.h +64 -31
  79. package/include/node/v8-internal.h +189 -102
  80. package/include/node/v8-isolate.h +49 -2
  81. package/include/node/v8-local-handle.h +0 -4
  82. package/include/node/v8-locker.h +2 -1
  83. package/include/node/v8-message.h +19 -44
  84. package/include/node/v8-object.h +11 -6
  85. package/include/node/v8-platform.h +365 -6
  86. package/include/node/v8-primitive.h +14 -6
  87. package/include/node/v8-profiler.h +78 -2
  88. package/include/node/v8-script.h +27 -51
  89. package/include/node/v8-snapshot.h +0 -2
  90. package/include/node/v8-statistics.h +2 -0
  91. package/include/node/v8-template.h +31 -4
  92. package/include/node/v8-traced-handle.h +39 -224
  93. package/include/node/v8-unwinder.h +10 -7
  94. package/include/node/v8-value-serializer.h +32 -2
  95. package/include/node/v8-version.h +4 -4
  96. package/include/node/v8-wasm.h +13 -1
  97. package/include/node/v8-weak-callback-info.h +20 -6
  98. package/include/node/v8.h +0 -1
  99. package/include/node/v8config.h +56 -11
  100. package/package.json +1 -1
  101. package/share/doc/node/gdbinit +14 -6
  102. package/share/man/man1/node.1 +11 -4
  103. package/include/node/openssl/archs/BSD-x86/asm/crypto/include/internal/bn_conf.h +0 -28
  104. package/include/node/openssl/archs/BSD-x86/asm/crypto/include/internal/dso_conf.h +0 -17
  105. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslconf.h +0 -197
  106. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  107. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  108. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslconf.h +0 -197
  109. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/include/internal/bn_conf.h +0 -28
  110. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/include/internal/dso_conf.h +0 -17
  111. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslconf.h +0 -200
  112. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/bn_conf.h +0 -28
  113. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/dso_conf.h +0 -17
  114. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslconf.h +0 -197
  115. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  116. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  117. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslconf.h +0 -197
  118. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/bn_conf.h +0 -28
  119. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/dso_conf.h +0 -17
  120. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslconf.h +0 -200
  121. package/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/bn_conf.h +0 -28
  122. package/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/dso_conf.h +0 -16
  123. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslconf.h +0 -203
  124. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  125. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/dso_conf.h +0 -16
  126. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslconf.h +0 -203
  127. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/bn_conf.h +0 -28
  128. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/dso_conf.h +0 -16
  129. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslconf.h +0 -206
  130. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/bn_conf.h +0 -28
  131. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/dso_conf.h +0 -16
  132. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslconf.h +0 -203
  133. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/bn_conf.h +0 -28
  134. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/dso_conf.h +0 -16
  135. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslconf.h +0 -203
  136. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  137. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/dso_conf.h +0 -16
  138. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslconf.h +0 -203
  139. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/bn_conf.h +0 -28
  140. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/dso_conf.h +0 -16
  141. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslconf.h +0 -206
  142. package/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/bn_conf.h +0 -28
  143. package/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/dso_conf.h +0 -17
  144. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslconf.h +0 -203
  145. package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  146. package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  147. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslconf.h +0 -203
  148. package/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  149. package/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  150. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslconf.h +0 -206
  151. package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +0 -38
  152. package/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/bn_conf.h +0 -28
  153. package/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/dso_conf.h +0 -17
  154. package/include/node/openssl/archs/aix64-gcc/asm/include/openssl/opensslconf.h +0 -203
  155. package/include/node/openssl/archs/aix64-gcc/asm/include/progs.h +0 -507
  156. package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +0 -39
  157. package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  158. package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  159. package/include/node/openssl/archs/aix64-gcc/asm_avx2/include/openssl/opensslconf.h +0 -203
  160. package/include/node/openssl/archs/aix64-gcc/asm_avx2/include/progs.h +0 -507
  161. package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +0 -27
  162. package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  163. package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  164. package/include/node/openssl/archs/aix64-gcc/no-asm/include/openssl/opensslconf.h +0 -206
  165. package/include/node/openssl/archs/aix64-gcc/no-asm/include/progs.h +0 -507
  166. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/bn_conf.h +0 -28
  167. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/dso_conf.h +0 -17
  168. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslconf.h +0 -203
  169. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  170. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  171. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslconf.h +0 -203
  172. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  173. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  174. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslconf.h +0 -206
  175. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/include/internal/bn_conf.h +0 -28
  176. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/include/internal/dso_conf.h +0 -17
  177. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslconf.h +0 -203
  178. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  179. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  180. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslconf.h +0 -203
  181. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  182. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  183. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslconf.h +0 -206
  184. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/bn_conf.h +0 -28
  185. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/dso_conf.h +0 -17
  186. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslconf.h +0 -203
  187. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  188. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  189. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslconf.h +0 -203
  190. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  191. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  192. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslconf.h +0 -206
  193. package/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/bn_conf.h +0 -28
  194. package/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/dso_conf.h +0 -17
  195. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslconf.h +0 -200
  196. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  197. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  198. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslconf.h +0 -200
  199. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/bn_conf.h +0 -28
  200. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/dso_conf.h +0 -17
  201. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslconf.h +0 -203
  202. package/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/bn_conf.h +0 -28
  203. package/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/dso_conf.h +0 -17
  204. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslconf.h +0 -200
  205. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  206. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  207. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslconf.h +0 -200
  208. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/bn_conf.h +0 -28
  209. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/dso_conf.h +0 -17
  210. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslconf.h +0 -203
  211. package/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/bn_conf.h +0 -28
  212. package/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/dso_conf.h +0 -17
  213. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslconf.h +0 -200
  214. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  215. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  216. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslconf.h +0 -200
  217. package/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/bn_conf.h +0 -28
  218. package/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/dso_conf.h +0 -17
  219. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslconf.h +0 -203
  220. package/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/bn_conf.h +0 -28
  221. package/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/dso_conf.h +0 -17
  222. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslconf.h +0 -200
  223. package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  224. package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  225. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslconf.h +0 -200
  226. package/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  227. package/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  228. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslconf.h +0 -203
  229. package/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/bn_conf.h +0 -28
  230. package/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/dso_conf.h +0 -17
  231. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslconf.h +0 -200
  232. package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  233. package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  234. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslconf.h +0 -200
  235. package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/bn_conf.h +0 -28
  236. package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/dso_conf.h +0 -17
  237. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslconf.h +0 -203
  238. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/bn_conf.h +0 -28
  239. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/dso_conf.h +0 -17
  240. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslconf.h +0 -200
  241. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  242. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  243. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslconf.h +0 -200
  244. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/bn_conf.h +0 -28
  245. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/dso_conf.h +0 -17
  246. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslconf.h +0 -203
  247. package/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/bn_conf.h +0 -28
  248. package/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/dso_conf.h +0 -17
  249. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslconf.h +0 -200
  250. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  251. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  252. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslconf.h +0 -200
  253. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/bn_conf.h +0 -28
  254. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/dso_conf.h +0 -17
  255. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslconf.h +0 -203
  256. package/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/bn_conf.h +0 -28
  257. package/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/dso_conf.h +0 -17
  258. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslconf.h +0 -200
  259. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  260. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  261. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslconf.h +0 -200
  262. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/bn_conf.h +0 -28
  263. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/dso_conf.h +0 -17
  264. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslconf.h +0 -203
  265. package/include/node/openssl/archs/linux64-mips64/asm/crypto/include/internal/bn_conf.h +0 -28
  266. package/include/node/openssl/archs/linux64-mips64/asm/crypto/include/internal/dso_conf.h +0 -17
  267. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslconf.h +0 -200
  268. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  269. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  270. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslconf.h +0 -200
  271. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/include/internal/bn_conf.h +0 -28
  272. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/include/internal/dso_conf.h +0 -17
  273. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslconf.h +0 -203
  274. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/bn_conf.h +0 -28
  275. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/dso_conf.h +0 -17
  276. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslconf.h +0 -203
  277. package/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/bn_conf.h +0 -28
  278. package/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/dso_conf.h +0 -17
  279. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslconf.h +0 -200
  280. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  281. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  282. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslconf.h +0 -200
  283. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/bn_conf.h +0 -28
  284. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/dso_conf.h +0 -17
  285. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslconf.h +0 -203
  286. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/bn_conf.h +0 -28
  287. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/dso_conf.h +0 -17
  288. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslconf.h +0 -200
  289. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  290. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  291. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslconf.h +0 -200
  292. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  293. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  294. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslconf.h +0 -203
  295. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/bn_conf.h +0 -28
  296. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/dso_conf.h +0 -17
  297. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslconf.h +0 -200
  298. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/bn_conf.h +0 -28
  299. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/dso_conf.h +0 -17
  300. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslconf.h +0 -200
  301. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/bn_conf.h +0 -28
  302. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/dso_conf.h +0 -17
  303. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslconf.h +0 -203
@@ -2,8 +2,8 @@
2
2
  #define SRC_JS_NATIVE_API_H_
3
3
 
4
4
  // This file needs to be compatible with C compilers.
5
- #include <stddef.h> // NOLINT(modernize-deprecated-headers)
6
5
  #include <stdbool.h> // NOLINT(modernize-deprecated-headers)
6
+ #include <stddef.h> // NOLINT(modernize-deprecated-headers)
7
7
 
8
8
  // Use INT_MAX, this should only be consumed by the pre-processor anyway.
9
9
  #define NAPI_VERSION_EXPERIMENTAL 2147483647
@@ -26,14 +26,15 @@
26
26
  // If you need __declspec(dllimport), either include <node_api.h> instead, or
27
27
  // define NAPI_EXTERN as __declspec(dllimport) on the compiler's command line.
28
28
  #ifndef NAPI_EXTERN
29
- #ifdef _WIN32
30
- #define NAPI_EXTERN __declspec(dllexport)
31
- #elif defined(__wasm32__)
32
- #define NAPI_EXTERN __attribute__((visibility("default"))) \
33
- __attribute__((__import_module__("napi")))
34
- #else
35
- #define NAPI_EXTERN __attribute__((visibility("default")))
36
- #endif
29
+ #ifdef _WIN32
30
+ #define NAPI_EXTERN __declspec(dllexport)
31
+ #elif defined(__wasm32__)
32
+ #define NAPI_EXTERN \
33
+ __attribute__((visibility("default"))) \
34
+ __attribute__((__import_module__("napi")))
35
+ #else
36
+ #define NAPI_EXTERN __attribute__((visibility("default")))
37
+ #endif
37
38
  #endif
38
39
 
39
40
  #define NAPI_AUTO_LENGTH SIZE_MAX
@@ -49,8 +50,7 @@
49
50
  EXTERN_C_START
50
51
 
51
52
  NAPI_EXTERN napi_status
52
- napi_get_last_error_info(napi_env env,
53
- const napi_extended_error_info** result);
53
+ napi_get_last_error_info(napi_env env, const napi_extended_error_info** result);
54
54
 
55
55
  // Getters for defined singletons
56
56
  NAPI_EXTERN napi_status napi_get_undefined(napi_env env, napi_value* result);
@@ -145,18 +145,12 @@ NAPI_EXTERN napi_status napi_get_value_bool(napi_env env,
145
145
  bool* result);
146
146
 
147
147
  // Copies LATIN-1 encoded bytes from a string into a buffer.
148
- NAPI_EXTERN napi_status napi_get_value_string_latin1(napi_env env,
149
- napi_value value,
150
- char* buf,
151
- size_t bufsize,
152
- size_t* result);
148
+ NAPI_EXTERN napi_status napi_get_value_string_latin1(
149
+ napi_env env, napi_value value, char* buf, size_t bufsize, size_t* result);
153
150
 
154
151
  // Copies UTF-8 encoded bytes from a string into a buffer.
155
- NAPI_EXTERN napi_status napi_get_value_string_utf8(napi_env env,
156
- napi_value value,
157
- char* buf,
158
- size_t bufsize,
159
- size_t* result);
152
+ NAPI_EXTERN napi_status napi_get_value_string_utf8(
153
+ napi_env env, napi_value value, char* buf, size_t bufsize, size_t* result);
160
154
 
161
155
  // Copies UTF-16 encoded bytes from a string into a buffer.
162
156
  NAPI_EXTERN napi_status napi_get_value_string_utf16(napi_env env,
@@ -208,17 +202,17 @@ NAPI_EXTERN napi_status napi_has_own_property(napi_env env,
208
202
  napi_value key,
209
203
  bool* result);
210
204
  NAPI_EXTERN napi_status napi_set_named_property(napi_env env,
211
- napi_value object,
212
- const char* utf8name,
213
- napi_value value);
205
+ napi_value object,
206
+ const char* utf8name,
207
+ napi_value value);
214
208
  NAPI_EXTERN napi_status napi_has_named_property(napi_env env,
215
- napi_value object,
216
- const char* utf8name,
217
- bool* result);
209
+ napi_value object,
210
+ const char* utf8name,
211
+ bool* result);
218
212
  NAPI_EXTERN napi_status napi_get_named_property(napi_env env,
219
- napi_value object,
220
- const char* utf8name,
221
- napi_value* result);
213
+ napi_value object,
214
+ const char* utf8name,
215
+ napi_value* result);
222
216
  NAPI_EXTERN napi_status napi_set_element(napi_env env,
223
217
  napi_value object,
224
218
  uint32_t index,
@@ -359,12 +353,10 @@ NAPI_EXTERN napi_status napi_open_handle_scope(napi_env env,
359
353
  napi_handle_scope* result);
360
354
  NAPI_EXTERN napi_status napi_close_handle_scope(napi_env env,
361
355
  napi_handle_scope scope);
362
- NAPI_EXTERN napi_status
363
- napi_open_escapable_handle_scope(napi_env env,
364
- napi_escapable_handle_scope* result);
365
- NAPI_EXTERN napi_status
366
- napi_close_escapable_handle_scope(napi_env env,
367
- napi_escapable_handle_scope scope);
356
+ NAPI_EXTERN napi_status napi_open_escapable_handle_scope(
357
+ napi_env env, napi_escapable_handle_scope* result);
358
+ NAPI_EXTERN napi_status napi_close_escapable_handle_scope(
359
+ napi_env env, napi_escapable_handle_scope scope);
368
360
 
369
361
  NAPI_EXTERN napi_status napi_escape_handle(napi_env env,
370
362
  napi_escapable_handle_scope scope,
@@ -377,11 +369,11 @@ NAPI_EXTERN napi_status napi_throw_error(napi_env env,
377
369
  const char* code,
378
370
  const char* msg);
379
371
  NAPI_EXTERN napi_status napi_throw_type_error(napi_env env,
380
- const char* code,
381
- const char* msg);
372
+ const char* code,
373
+ const char* msg);
382
374
  NAPI_EXTERN napi_status napi_throw_range_error(napi_env env,
383
- const char* code,
384
- const char* msg);
375
+ const char* code,
376
+ const char* msg);
385
377
  #ifdef NAPI_EXPERIMENTAL
386
378
  NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
387
379
  const char* code,
@@ -542,8 +534,7 @@ NAPI_EXTERN napi_status napi_set_instance_data(napi_env env,
542
534
  napi_finalize finalize_cb,
543
535
  void* finalize_hint);
544
536
 
545
- NAPI_EXTERN napi_status napi_get_instance_data(napi_env env,
546
- void** data);
537
+ NAPI_EXTERN napi_status napi_get_instance_data(napi_env env, void** data);
547
538
  #endif // NAPI_VERSION >= 6
548
539
 
549
540
  #if NAPI_VERSION >= 7
@@ -567,10 +558,8 @@ napi_check_object_type_tag(napi_env env,
567
558
  napi_value value,
568
559
  const napi_type_tag* type_tag,
569
560
  bool* result);
570
- NAPI_EXTERN napi_status napi_object_freeze(napi_env env,
571
- napi_value object);
572
- NAPI_EXTERN napi_status napi_object_seal(napi_env env,
573
- napi_value object);
561
+ NAPI_EXTERN napi_status napi_object_freeze(napi_env env, napi_value object);
562
+ NAPI_EXTERN napi_status napi_object_seal(napi_env env, napi_value object);
574
563
  #endif // NAPI_VERSION >= 8
575
564
 
576
565
  EXTERN_C_END
@@ -8,7 +8,7 @@
8
8
  #include <stdint.h> // NOLINT(modernize-deprecated-headers)
9
9
 
10
10
  #if !defined __cplusplus || (defined(_MSC_VER) && _MSC_VER < 1900)
11
- typedef uint16_t char16_t;
11
+ typedef uint16_t char16_t;
12
12
  #endif
13
13
 
14
14
  // JSVM API types are all opaque pointers for ABI stability
@@ -36,9 +36,7 @@ typedef enum {
36
36
  napi_default_method = napi_writable | napi_configurable,
37
37
 
38
38
  // Default for object properties, like in JS obj[prop].
39
- napi_default_jsproperty = napi_writable |
40
- napi_enumerable |
41
- napi_configurable,
39
+ napi_default_jsproperty = napi_writable | napi_enumerable | napi_configurable,
42
40
  #endif // NAPI_VERSION >= 8
43
41
  } napi_property_attributes;
44
42
 
@@ -102,8 +100,7 @@ typedef enum {
102
100
  // * the definition of `napi_status` in doc/api/n-api.md to reflect the newly
103
101
  // added value(s).
104
102
 
105
- typedef napi_value (*napi_callback)(napi_env env,
106
- napi_callback_info info);
103
+ typedef napi_value (*napi_callback)(napi_env env, napi_callback_info info);
107
104
  typedef void (*napi_finalize)(napi_env env,
108
105
  void* finalize_data,
109
106
  void* finalize_hint);
@@ -89,17 +89,6 @@ V8_PLATFORM_EXPORT void RunIdleTasks(v8::Platform* platform,
89
89
  v8::Isolate* isolate,
90
90
  double idle_time_in_seconds);
91
91
 
92
- /**
93
- * Attempts to set the tracing controller for the given platform.
94
- *
95
- * The |platform| has to be created using |NewDefaultPlatform|.
96
- *
97
- */
98
- V8_DEPRECATE_SOON("Access the DefaultPlatform directly")
99
- V8_PLATFORM_EXPORT void SetTracingController(
100
- v8::Platform* platform,
101
- v8::platform::tracing::TracingController* tracing_controller);
102
-
103
92
  /**
104
93
  * Notifies the given platform about the Isolate getting deleted soon. Has to be
105
94
  * called for all Isolates which are deleted - unless we're shutting down the
@@ -37,7 +37,6 @@ const int kTraceMaxNumArgs = 2;
37
37
  class V8_PLATFORM_EXPORT TraceObject {
38
38
  public:
39
39
  union ArgValue {
40
- V8_DEPRECATED("use as_uint ? true : false") bool as_bool;
41
40
  uint64_t as_uint;
42
41
  int64_t as_int;
43
42
  double as_double;
@@ -440,6 +440,8 @@ enum Flags : uint64_t {
440
440
  // do not expect to have their behaviors changed because of globally
441
441
  // installed modules.
442
442
  kNoGlobalSearchPaths = 1 << 7,
443
+ // Do not export browser globals like setTimeout, console, etc.
444
+ kNoBrowserGlobals = 1 << 8,
443
445
  // Controls whether or not the Environment should call V8Inspector::create().
444
446
  // This control is needed by embedders who may not want to initialize the V8
445
447
  // inspector in situations where one has already been created,
@@ -825,11 +827,13 @@ extern "C" NODE_EXTERN void node_module_register(void* mod);
825
827
  #endif
826
828
 
827
829
  #if defined(_MSC_VER)
828
- #pragma section(".CRT$XCU", read)
829
830
  #define NODE_C_CTOR(fn) \
830
831
  NODE_CTOR_PREFIX void __cdecl fn(void); \
831
- __declspec(dllexport, allocate(".CRT$XCU")) \
832
- void (__cdecl*fn ## _)(void) = fn; \
832
+ namespace { \
833
+ struct fn##_ { \
834
+ fn##_() { fn(); }; \
835
+ } fn##_v_; \
836
+ } \
833
837
  NODE_CTOR_PREFIX void __cdecl fn(void)
834
838
  #else
835
839
  #define NODE_C_CTOR(fn) \
@@ -2,12 +2,12 @@
2
2
  #define SRC_NODE_API_H_
3
3
 
4
4
  #ifdef BUILDING_NODE_EXTENSION
5
- #ifdef _WIN32
6
- // Building native module against node
7
- #define NAPI_EXTERN __declspec(dllimport)
8
- #elif defined(__wasm32__)
9
- #define NAPI_EXTERN __attribute__((__import_module__("napi")))
10
- #endif
5
+ #ifdef _WIN32
6
+ // Building native module against node
7
+ #define NAPI_EXTERN __declspec(dllimport)
8
+ #elif defined(__wasm32__)
9
+ #define NAPI_EXTERN __attribute__((__import_module__("napi")))
10
+ #endif
11
11
  #endif
12
12
  #include "js_native_api.h"
13
13
  #include "node_api_types.h"
@@ -15,17 +15,17 @@
15
15
  struct uv_loop_s; // Forward declaration.
16
16
 
17
17
  #ifdef _WIN32
18
- # define NAPI_MODULE_EXPORT __declspec(dllexport)
18
+ #define NAPI_MODULE_EXPORT __declspec(dllexport)
19
19
  #else
20
- # define NAPI_MODULE_EXPORT __attribute__((visibility("default")))
20
+ #define NAPI_MODULE_EXPORT __attribute__((visibility("default")))
21
21
  #endif
22
22
 
23
23
  #if defined(__GNUC__)
24
- # define NAPI_NO_RETURN __attribute__((noreturn))
24
+ #define NAPI_NO_RETURN __attribute__((noreturn))
25
25
  #elif defined(_WIN32)
26
- # define NAPI_NO_RETURN __declspec(noreturn)
26
+ #define NAPI_NO_RETURN __declspec(noreturn)
27
27
  #else
28
- # define NAPI_NO_RETURN
28
+ #define NAPI_NO_RETURN
29
29
  #endif
30
30
 
31
31
  typedef napi_value (*napi_addon_register_func)(napi_env env,
@@ -41,36 +41,50 @@ typedef struct napi_module {
41
41
  void* reserved[4];
42
42
  } napi_module;
43
43
 
44
- #define NAPI_MODULE_VERSION 1
44
+ #define NAPI_MODULE_VERSION 1
45
45
 
46
46
  #if defined(_MSC_VER)
47
+ #if defined(__cplusplus)
48
+ #define NAPI_C_CTOR(fn) \
49
+ static void __cdecl fn(void); \
50
+ namespace { \
51
+ struct fn##_ { \
52
+ fn##_() { fn(); } \
53
+ } fn##_v_; \
54
+ } \
55
+ static void __cdecl fn(void)
56
+ #else // !defined(__cplusplus)
47
57
  #pragma section(".CRT$XCU", read)
48
- #define NAPI_C_CTOR(fn) \
49
- static void __cdecl fn(void); \
50
- __declspec(dllexport, allocate(".CRT$XCU")) void(__cdecl * fn##_)(void) = \
51
- fn; \
58
+ // The NAPI_C_CTOR macro defines a function fn that is called during CRT
59
+ // initialization.
60
+ // C does not support dynamic initialization of static variables and this code
61
+ // simulates C++ behavior. Exporting the function pointer prevents it from being
62
+ // optimized. See for details:
63
+ // https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-initialization?view=msvc-170
64
+ #define NAPI_C_CTOR(fn) \
65
+ static void __cdecl fn(void); \
66
+ __declspec(dllexport, allocate(".CRT$XCU")) void(__cdecl * fn##_)(void) = \
67
+ fn; \
52
68
  static void __cdecl fn(void)
69
+ #endif // defined(__cplusplus)
53
70
  #else
54
- #define NAPI_C_CTOR(fn) \
55
- static void fn(void) __attribute__((constructor)); \
71
+ #define NAPI_C_CTOR(fn) \
72
+ static void fn(void) __attribute__((constructor)); \
56
73
  static void fn(void)
57
74
  #endif
58
75
 
59
- #define NAPI_MODULE_X(modname, regfunc, priv, flags) \
60
- EXTERN_C_START \
61
- static napi_module _module = \
62
- { \
63
- NAPI_MODULE_VERSION, \
64
- flags, \
65
- __FILE__, \
66
- regfunc, \
67
- #modname, \
68
- priv, \
69
- {0}, \
70
- }; \
71
- NAPI_C_CTOR(_register_ ## modname) { \
72
- napi_module_register(&_module); \
73
- } \
76
+ #define NAPI_MODULE_X(modname, regfunc, priv, flags) \
77
+ EXTERN_C_START \
78
+ static napi_module _module = { \
79
+ NAPI_MODULE_VERSION, \
80
+ flags, \
81
+ __FILE__, \
82
+ regfunc, \
83
+ #modname, \
84
+ priv, \
85
+ {0}, \
86
+ }; \
87
+ NAPI_C_CTOR(_register_##modname) { napi_module_register(&_module); } \
74
88
  EXTERN_C_END
75
89
 
76
90
  #define NAPI_MODULE_INITIALIZER_X(base, version) \
@@ -88,24 +102,22 @@ typedef struct napi_module {
88
102
  } \
89
103
  EXTERN_C_END
90
104
  #else
91
- #define NAPI_MODULE(modname, regfunc) \
105
+ #define NAPI_MODULE(modname, regfunc) \
92
106
  NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
93
107
  #endif
94
108
 
95
109
  #define NAPI_MODULE_INITIALIZER_BASE napi_register_module_v
96
110
 
97
- #define NAPI_MODULE_INITIALIZER \
98
- NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE, \
99
- NAPI_MODULE_VERSION)
111
+ #define NAPI_MODULE_INITIALIZER \
112
+ NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE, NAPI_MODULE_VERSION)
100
113
 
101
- #define NAPI_MODULE_INIT() \
102
- EXTERN_C_START \
103
- NAPI_MODULE_EXPORT napi_value \
104
- NAPI_MODULE_INITIALIZER(napi_env env, napi_value exports); \
105
- EXTERN_C_END \
106
- NAPI_MODULE(NODE_GYP_MODULE_NAME, NAPI_MODULE_INITIALIZER) \
107
- napi_value NAPI_MODULE_INITIALIZER(napi_env env, \
108
- napi_value exports)
114
+ #define NAPI_MODULE_INIT() \
115
+ EXTERN_C_START \
116
+ NAPI_MODULE_EXPORT napi_value NAPI_MODULE_INITIALIZER(napi_env env, \
117
+ napi_value exports); \
118
+ EXTERN_C_END \
119
+ NAPI_MODULE(NODE_GYP_MODULE_NAME, NAPI_MODULE_INITIALIZER) \
120
+ napi_value NAPI_MODULE_INITIALIZER(napi_env env, napi_value exports)
109
121
 
110
122
  EXTERN_C_START
111
123
 
@@ -225,9 +237,8 @@ napi_create_threadsafe_function(napi_env env,
225
237
  napi_threadsafe_function_call_js call_js_cb,
226
238
  napi_threadsafe_function* result);
227
239
 
228
- NAPI_EXTERN napi_status
229
- napi_get_threadsafe_function_context(napi_threadsafe_function func,
230
- void** result);
240
+ NAPI_EXTERN napi_status napi_get_threadsafe_function_context(
241
+ napi_threadsafe_function func, void** result);
231
242
 
232
243
  NAPI_EXTERN napi_status
233
244
  napi_call_threadsafe_function(napi_threadsafe_function func,
@@ -237,9 +248,8 @@ napi_call_threadsafe_function(napi_threadsafe_function func,
237
248
  NAPI_EXTERN napi_status
238
249
  napi_acquire_threadsafe_function(napi_threadsafe_function func);
239
250
 
240
- NAPI_EXTERN napi_status
241
- napi_release_threadsafe_function(napi_threadsafe_function func,
242
- napi_threadsafe_function_release_mode mode);
251
+ NAPI_EXTERN napi_status napi_release_threadsafe_function(
252
+ napi_threadsafe_function func, napi_threadsafe_function_release_mode mode);
243
253
 
244
254
  NAPI_EXTERN napi_status
245
255
  napi_unref_threadsafe_function(napi_env env, napi_threadsafe_function func);
@@ -252,21 +262,21 @@ napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func);
252
262
 
253
263
  #if NAPI_VERSION >= 8
254
264
 
255
- NAPI_EXTERN napi_status napi_add_async_cleanup_hook(
256
- napi_env env,
257
- napi_async_cleanup_hook hook,
258
- void* arg,
259
- napi_async_cleanup_hook_handle* remove_handle);
265
+ NAPI_EXTERN napi_status
266
+ napi_add_async_cleanup_hook(napi_env env,
267
+ napi_async_cleanup_hook hook,
268
+ void* arg,
269
+ napi_async_cleanup_hook_handle* remove_handle);
260
270
 
261
- NAPI_EXTERN napi_status napi_remove_async_cleanup_hook(
262
- napi_async_cleanup_hook_handle remove_handle);
271
+ NAPI_EXTERN napi_status
272
+ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
263
273
 
264
274
  #endif // NAPI_VERSION >= 8
265
275
 
266
276
  #ifdef NAPI_EXPERIMENTAL
267
277
 
268
- NAPI_EXTERN napi_status
269
- node_api_get_module_file_name(napi_env env, const char** result);
278
+ NAPI_EXTERN napi_status node_api_get_module_file_name(napi_env env,
279
+ const char** result);
270
280
 
271
281
  #endif // NAPI_EXPERIMENTAL
272
282
 
@@ -22,8 +22,7 @@ typedef enum {
22
22
  } napi_threadsafe_function_call_mode;
23
23
  #endif // NAPI_VERSION >= 4
24
24
 
25
- typedef void (*napi_async_execute_callback)(napi_env env,
26
- void* data);
25
+ typedef void (*napi_async_execute_callback)(napi_env env, void* data);
27
26
  typedef void (*napi_async_complete_callback)(napi_env env,
28
27
  napi_status status,
29
28
  void* data);
@@ -22,9 +22,9 @@
22
22
  #ifndef SRC_NODE_VERSION_H_
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
- #define NODE_MAJOR_VERSION 17
26
- #define NODE_MINOR_VERSION 7
27
- #define NODE_PATCH_VERSION 2
25
+ #define NODE_MAJOR_VERSION 18
26
+ #define NODE_MINOR_VERSION 1
27
+ #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
@@ -89,7 +89,7 @@
89
89
  * version matching should open a pull request to reserve a number in this
90
90
  * registry.
91
91
  */
92
- #define NODE_MODULE_VERSION 102
92
+ #define NODE_MODULE_VERSION 108
93
93
 
94
94
  // The NAPI_VERSION provided by this version of the runtime. This is the version
95
95
  // which the Node binary being built supports.
@@ -33,14 +33,8 @@
33
33
  # include "./archs/solaris64-x86_64-gcc/asm/include/openssl/asn1.h"
34
34
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
35
35
  # include "./archs/linux-ppc64le/asm/include/openssl/asn1.h"
36
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
37
- # include "./archs/linux-ppc64/asm/include/openssl/asn1.h"
38
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
39
- # include "./archs/linux-ppc/asm/include/openssl/asn1.h"
40
36
  #elif defined(_AIX) && defined(_ARCH_PPC64)
41
37
  # include "./archs/aix64-gcc-as/asm/include/openssl/asn1.h"
42
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
43
- # include "./archs/aix-gcc/asm/include/openssl/asn1.h"
44
38
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
45
39
  # include "./archs/linux64-s390x/asm/include/openssl/asn1.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -35,14 +35,8 @@
35
35
  # include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/asn1.h"
36
36
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
37
37
  # include "./archs/linux-ppc64le/no-asm/include/openssl/asn1.h"
38
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
39
- # include "./archs/linux-ppc64/no-asm/include/openssl/asn1.h"
40
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
41
- # include "./archs/linux-ppc/no-asm/include/openssl/asn1.h"
42
38
  #elif defined(_AIX) && defined(_ARCH_PPC64)
43
39
  # include "./archs/aix64-gcc-as/no-asm/include/openssl/asn1.h"
44
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
45
- # include "./archs/aix-gcc/no-asm/include/openssl/asn1.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
47
41
  # include "./archs/linux64-s390x/no-asm/include/openssl/asn1.h"
48
42
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -33,14 +33,8 @@
33
33
  # include "./archs/solaris64-x86_64-gcc/asm/include/openssl/asn1t.h"
34
34
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
35
35
  # include "./archs/linux-ppc64le/asm/include/openssl/asn1t.h"
36
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
37
- # include "./archs/linux-ppc64/asm/include/openssl/asn1t.h"
38
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
39
- # include "./archs/linux-ppc/asm/include/openssl/asn1t.h"
40
36
  #elif defined(_AIX) && defined(_ARCH_PPC64)
41
37
  # include "./archs/aix64-gcc-as/asm/include/openssl/asn1t.h"
42
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
43
- # include "./archs/aix-gcc/asm/include/openssl/asn1t.h"
44
38
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
45
39
  # include "./archs/linux64-s390x/asm/include/openssl/asn1t.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -35,14 +35,8 @@
35
35
  # include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/asn1t.h"
36
36
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
37
37
  # include "./archs/linux-ppc64le/no-asm/include/openssl/asn1t.h"
38
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
39
- # include "./archs/linux-ppc64/no-asm/include/openssl/asn1t.h"
40
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
41
- # include "./archs/linux-ppc/no-asm/include/openssl/asn1t.h"
42
38
  #elif defined(_AIX) && defined(_ARCH_PPC64)
43
39
  # include "./archs/aix64-gcc-as/no-asm/include/openssl/asn1t.h"
44
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
45
- # include "./archs/aix-gcc/no-asm/include/openssl/asn1t.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
47
41
  # include "./archs/linux64-s390x/no-asm/include/openssl/asn1t.h"
48
42
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -33,14 +33,8 @@
33
33
  # include "./archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h"
34
34
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
35
35
  # include "./archs/linux-ppc64le/asm/include/openssl/bio.h"
36
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
37
- # include "./archs/linux-ppc64/asm/include/openssl/bio.h"
38
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
39
- # include "./archs/linux-ppc/asm/include/openssl/bio.h"
40
36
  #elif defined(_AIX) && defined(_ARCH_PPC64)
41
37
  # include "./archs/aix64-gcc-as/asm/include/openssl/bio.h"
42
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
43
- # include "./archs/aix-gcc/asm/include/openssl/bio.h"
44
38
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
45
39
  # include "./archs/linux64-s390x/asm/include/openssl/bio.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -35,14 +35,8 @@
35
35
  # include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h"
36
36
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
37
37
  # include "./archs/linux-ppc64le/no-asm/include/openssl/bio.h"
38
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
39
- # include "./archs/linux-ppc64/no-asm/include/openssl/bio.h"
40
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
41
- # include "./archs/linux-ppc/no-asm/include/openssl/bio.h"
42
38
  #elif defined(_AIX) && defined(_ARCH_PPC64)
43
39
  # include "./archs/aix64-gcc-as/no-asm/include/openssl/bio.h"
44
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
45
- # include "./archs/aix-gcc/no-asm/include/openssl/bio.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
47
41
  # include "./archs/linux64-s390x/no-asm/include/openssl/bio.h"
48
42
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -33,14 +33,8 @@
33
33
  # include "./archs/solaris64-x86_64-gcc/asm/include/crypto/bn_conf.h"
34
34
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
35
35
  # include "./archs/linux-ppc64le/asm/include/crypto/bn_conf.h"
36
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
37
- # include "./archs/linux-ppc64/asm/include/crypto/bn_conf.h"
38
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
39
- # include "./archs/linux-ppc/asm/include/crypto/bn_conf.h"
40
36
  #elif defined(_AIX) && defined(_ARCH_PPC64)
41
37
  # include "./archs/aix64-gcc-as/asm/include/crypto/bn_conf.h"
42
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
43
- # include "./archs/aix-gcc/asm/include/crypto/bn_conf.h"
44
38
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
45
39
  # include "./archs/linux64-s390x/asm/include/crypto/bn_conf.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -35,14 +35,8 @@
35
35
  # include "./archs/solaris64-x86_64-gcc/no-asm/include/crypto/bn_conf.h"
36
36
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
37
37
  # include "./archs/linux-ppc64le/no-asm/include/crypto/bn_conf.h"
38
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
39
- # include "./archs/linux-ppc64/no-asm/include/crypto/bn_conf.h"
40
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
41
- # include "./archs/linux-ppc/no-asm/include/crypto/bn_conf.h"
42
38
  #elif defined(_AIX) && defined(_ARCH_PPC64)
43
39
  # include "./archs/aix64-gcc-as/no-asm/include/crypto/bn_conf.h"
44
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
45
- # include "./archs/aix-gcc/no-asm/include/crypto/bn_conf.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
47
41
  # include "./archs/linux64-s390x/no-asm/include/crypto/bn_conf.h"
48
42
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -33,14 +33,8 @@
33
33
  # include "./archs/solaris64-x86_64-gcc/asm/include/openssl/cmp.h"
34
34
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
35
35
  # include "./archs/linux-ppc64le/asm/include/openssl/cmp.h"
36
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
37
- # include "./archs/linux-ppc64/asm/include/openssl/cmp.h"
38
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
39
- # include "./archs/linux-ppc/asm/include/openssl/cmp.h"
40
36
  #elif defined(_AIX) && defined(_ARCH_PPC64)
41
37
  # include "./archs/aix64-gcc-as/asm/include/openssl/cmp.h"
42
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
43
- # include "./archs/aix-gcc/asm/include/openssl/cmp.h"
44
38
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
45
39
  # include "./archs/linux64-s390x/asm/include/openssl/cmp.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390__)
@@ -35,14 +35,8 @@
35
35
  # include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/cmp.h"
36
36
  #elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN)
37
37
  # include "./archs/linux-ppc64le/no-asm/include/openssl/cmp.h"
38
- #elif defined(OPENSSL_LINUX) && defined(__PPC64__)
39
- # include "./archs/linux-ppc64/no-asm/include/openssl/cmp.h"
40
- #elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__)
41
- # include "./archs/linux-ppc/no-asm/include/openssl/cmp.h"
42
38
  #elif defined(_AIX) && defined(_ARCH_PPC64)
43
39
  # include "./archs/aix64-gcc-as/no-asm/include/openssl/cmp.h"
44
- #elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC)
45
- # include "./archs/aix-gcc/no-asm/include/openssl/cmp.h"
46
40
  #elif defined(OPENSSL_LINUX) && defined(__s390x__)
47
41
  # include "./archs/linux64-s390x/no-asm/include/openssl/cmp.h"
48
42
  #elif defined(OPENSSL_LINUX) && defined(__s390__)