node-linux-armv7l 17.7.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 (496) hide show
  1. package/CHANGELOG.md +219 -1330
  2. package/LICENSE +111 -9
  3. package/README.md +17 -21
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +7 -3
  6. package/include/node/config.gypi +12 -10
  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/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  16. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/bio.h +3 -1
  17. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h +2 -2
  18. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
  19. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/ssl.h +4 -1
  20. package/include/node/openssl/archs/BSD-x86/asm/include/progs.h +1 -1
  21. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  22. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/bio.h +3 -1
  23. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crypto.h +2 -2
  24. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
  25. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ssl.h +4 -1
  26. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/progs.h +1 -1
  27. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  28. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/bio.h +3 -1
  29. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crypto.h +2 -2
  30. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
  31. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ssl.h +4 -1
  32. package/include/node/openssl/archs/BSD-x86/no-asm/include/progs.h +1 -1
  33. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  34. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/bio.h +3 -1
  35. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crypto.h +2 -2
  36. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
  37. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ssl.h +4 -1
  38. package/include/node/openssl/archs/BSD-x86_64/asm/include/progs.h +1 -1
  39. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  40. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h +3 -1
  41. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h +2 -2
  42. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  43. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h +4 -1
  44. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/progs.h +1 -1
  45. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  46. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/bio.h +3 -1
  47. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crypto.h +2 -2
  48. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  49. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ssl.h +4 -1
  50. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/progs.h +1 -1
  51. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  52. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/bio.h +3 -1
  53. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h +2 -2
  54. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
  55. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/ssl.h +4 -1
  56. package/include/node/openssl/archs/VC-WIN32/asm/include/progs.h +1 -1
  57. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
  58. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/bio.h +3 -1
  59. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h +2 -2
  60. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
  61. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h +4 -1
  62. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/progs.h +1 -1
  63. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  64. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/bio.h +3 -1
  65. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crypto.h +2 -2
  66. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
  67. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ssl.h +4 -1
  68. package/include/node/openssl/archs/VC-WIN32/no-asm/include/progs.h +1 -1
  69. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  70. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h +3 -1
  71. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h +2 -2
  72. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
  73. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h +4 -1
  74. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/progs.h +1 -1
  75. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  76. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/bio.h +3 -1
  77. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h +2 -2
  78. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
  79. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ssl.h +4 -1
  80. package/include/node/openssl/archs/VC-WIN64A/asm/include/progs.h +1 -1
  81. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  82. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h +3 -1
  83. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h +2 -2
  84. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
  85. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h +4 -1
  86. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/progs.h +1 -1
  87. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  88. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/bio.h +3 -1
  89. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crypto.h +2 -2
  90. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
  91. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ssl.h +4 -1
  92. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/progs.h +1 -1
  93. package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +1 -1
  94. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/bio.h +3 -1
  95. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/crypto.h +2 -2
  96. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslv.h +5 -5
  97. package/include/node/openssl/archs/aix-gcc/asm/include/openssl/ssl.h +4 -1
  98. package/include/node/openssl/archs/aix-gcc/asm/include/progs.h +1 -1
  99. package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +1 -1
  100. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/bio.h +3 -1
  101. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/crypto.h +2 -2
  102. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  103. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/ssl.h +4 -1
  104. package/include/node/openssl/archs/aix-gcc/asm_avx2/include/progs.h +1 -1
  105. package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +1 -1
  106. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/bio.h +3 -1
  107. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/crypto.h +2 -2
  108. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslv.h +5 -5
  109. package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/ssl.h +4 -1
  110. package/include/node/openssl/archs/aix-gcc/no-asm/include/progs.h +1 -1
  111. package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
  112. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/bio.h +3 -1
  113. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crypto.h +2 -2
  114. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
  115. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ssl.h +4 -1
  116. package/include/node/openssl/archs/aix64-gcc-as/asm/include/progs.h +1 -1
  117. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
  118. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h +3 -1
  119. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h +2 -2
  120. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
  121. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h +4 -1
  122. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/progs.h +1 -1
  123. package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
  124. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/bio.h +3 -1
  125. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h +2 -2
  126. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
  127. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h +4 -1
  128. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/progs.h +1 -1
  129. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  130. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/bio.h +3 -1
  131. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crypto.h +2 -2
  132. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
  133. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ssl.h +4 -1
  134. package/include/node/openssl/archs/darwin-i386-cc/asm/include/progs.h +1 -1
  135. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  136. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h +3 -1
  137. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h +2 -2
  138. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  139. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h +4 -1
  140. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/progs.h +1 -1
  141. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  142. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/bio.h +3 -1
  143. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h +2 -2
  144. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
  145. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h +4 -1
  146. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/progs.h +1 -1
  147. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  148. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/bio.h +3 -1
  149. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h +2 -2
  150. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
  151. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h +4 -1
  152. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/progs.h +1 -1
  153. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  154. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h +3 -1
  155. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h +2 -2
  156. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  157. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h +4 -1
  158. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/progs.h +1 -1
  159. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  160. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h +3 -1
  161. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h +2 -2
  162. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
  163. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h +4 -1
  164. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/progs.h +1 -1
  165. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  166. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h +3 -1
  167. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h +2 -2
  168. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
  169. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h +4 -1
  170. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/progs.h +1 -1
  171. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  172. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h +3 -1
  173. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h +2 -2
  174. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  175. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h +4 -1
  176. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h +1 -1
  177. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  178. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h +3 -1
  179. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h +2 -2
  180. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
  181. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h +4 -1
  182. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/progs.h +1 -1
  183. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  184. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/bio.h +3 -1
  185. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h +2 -2
  186. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
  187. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/ssl.h +4 -1
  188. package/include/node/openssl/archs/linux-aarch64/asm/include/progs.h +1 -1
  189. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  190. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/bio.h +3 -1
  191. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h +2 -2
  192. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
  193. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h +4 -1
  194. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/progs.h +1 -1
  195. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  196. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/bio.h +3 -1
  197. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crypto.h +2 -2
  198. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
  199. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ssl.h +4 -1
  200. package/include/node/openssl/archs/linux-aarch64/no-asm/include/progs.h +1 -1
  201. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  202. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/bio.h +3 -1
  203. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h +2 -2
  204. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
  205. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/ssl.h +4 -1
  206. package/include/node/openssl/archs/linux-armv4/asm/include/progs.h +1 -1
  207. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  208. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/bio.h +3 -1
  209. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crypto.h +2 -2
  210. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
  211. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ssl.h +4 -1
  212. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/progs.h +1 -1
  213. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  214. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/bio.h +3 -1
  215. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crypto.h +2 -2
  216. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
  217. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ssl.h +4 -1
  218. package/include/node/openssl/archs/linux-armv4/no-asm/include/progs.h +1 -1
  219. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  220. package/include/node/openssl/archs/linux-elf/asm/include/openssl/bio.h +3 -1
  221. package/include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h +2 -2
  222. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
  223. package/include/node/openssl/archs/linux-elf/asm/include/openssl/ssl.h +4 -1
  224. package/include/node/openssl/archs/linux-elf/asm/include/progs.h +1 -1
  225. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  226. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/bio.h +3 -1
  227. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crypto.h +2 -2
  228. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
  229. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ssl.h +4 -1
  230. package/include/node/openssl/archs/linux-elf/asm_avx2/include/progs.h +1 -1
  231. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  232. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/bio.h +3 -1
  233. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/crypto.h +2 -2
  234. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
  235. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/ssl.h +4 -1
  236. package/include/node/openssl/archs/linux-elf/no-asm/include/progs.h +1 -1
  237. package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +1 -1
  238. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/bio.h +3 -1
  239. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/crypto.h +2 -2
  240. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslv.h +5 -5
  241. package/include/node/openssl/archs/linux-ppc/asm/include/openssl/ssl.h +4 -1
  242. package/include/node/openssl/archs/linux-ppc/asm/include/progs.h +1 -1
  243. package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +1 -1
  244. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/bio.h +3 -1
  245. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/crypto.h +2 -2
  246. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h +5 -5
  247. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/ssl.h +4 -1
  248. package/include/node/openssl/archs/linux-ppc/asm_avx2/include/progs.h +1 -1
  249. package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +1 -1
  250. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/bio.h +3 -1
  251. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/crypto.h +2 -2
  252. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslv.h +5 -5
  253. package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/ssl.h +4 -1
  254. package/include/node/openssl/archs/linux-ppc/no-asm/include/progs.h +1 -1
  255. package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +1 -1
  256. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/bio.h +3 -1
  257. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/crypto.h +2 -2
  258. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslv.h +5 -5
  259. package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/ssl.h +4 -1
  260. package/include/node/openssl/archs/linux-ppc64/asm/include/progs.h +1 -1
  261. package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +1 -1
  262. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/bio.h +3 -1
  263. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h +2 -2
  264. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h +5 -5
  265. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h +4 -1
  266. package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/progs.h +1 -1
  267. package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +1 -1
  268. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/bio.h +3 -1
  269. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/crypto.h +2 -2
  270. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslv.h +5 -5
  271. package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/ssl.h +4 -1
  272. package/include/node/openssl/archs/linux-ppc64/no-asm/include/progs.h +1 -1
  273. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  274. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/bio.h +3 -1
  275. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h +2 -2
  276. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
  277. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ssl.h +4 -1
  278. package/include/node/openssl/archs/linux-ppc64le/asm/include/progs.h +1 -1
  279. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  280. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h +3 -1
  281. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h +2 -2
  282. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
  283. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h +4 -1
  284. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/progs.h +1 -1
  285. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  286. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/bio.h +3 -1
  287. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crypto.h +2 -2
  288. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
  289. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ssl.h +4 -1
  290. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/progs.h +1 -1
  291. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  292. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/bio.h +3 -1
  293. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/crypto.h +2 -2
  294. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
  295. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/ssl.h +4 -1
  296. package/include/node/openssl/archs/linux-x86_64/asm/include/progs.h +1 -1
  297. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  298. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/bio.h +3 -1
  299. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h +2 -2
  300. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  301. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h +4 -1
  302. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/progs.h +1 -1
  303. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  304. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/bio.h +3 -1
  305. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crypto.h +2 -2
  306. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  307. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ssl.h +4 -1
  308. package/include/node/openssl/archs/linux-x86_64/no-asm/include/progs.h +1 -1
  309. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  310. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/bio.h +3 -1
  311. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h +2 -2
  312. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
  313. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/ssl.h +4 -1
  314. package/include/node/openssl/archs/linux32-s390x/asm/include/progs.h +1 -1
  315. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  316. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/bio.h +3 -1
  317. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h +2 -2
  318. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  319. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h +4 -1
  320. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/progs.h +1 -1
  321. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  322. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/bio.h +3 -1
  323. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crypto.h +2 -2
  324. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
  325. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ssl.h +4 -1
  326. package/include/node/openssl/archs/linux32-s390x/no-asm/include/progs.h +1 -1
  327. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  328. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/bio.h +3 -1
  329. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h +2 -2
  330. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
  331. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/ssl.h +4 -1
  332. package/include/node/openssl/archs/linux64-mips64/asm/include/progs.h +1 -1
  333. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  334. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/bio.h +3 -1
  335. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h +2 -2
  336. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
  337. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h +4 -1
  338. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/progs.h +1 -1
  339. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  340. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/bio.h +3 -1
  341. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crypto.h +2 -2
  342. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
  343. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ssl.h +4 -1
  344. package/include/node/openssl/archs/linux64-mips64/no-asm/include/progs.h +1 -1
  345. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
  346. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/bio.h +3 -1
  347. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crypto.h +2 -2
  348. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
  349. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ssl.h +4 -1
  350. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h +1 -1
  351. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  352. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/bio.h +3 -1
  353. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h +2 -2
  354. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
  355. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/ssl.h +4 -1
  356. package/include/node/openssl/archs/linux64-s390x/asm/include/progs.h +1 -1
  357. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  358. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/bio.h +3 -1
  359. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h +2 -2
  360. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  361. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h +4 -1
  362. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/progs.h +1 -1
  363. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  364. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/bio.h +3 -1
  365. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crypto.h +2 -2
  366. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
  367. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ssl.h +4 -1
  368. package/include/node/openssl/archs/linux64-s390x/no-asm/include/progs.h +1 -1
  369. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  370. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/bio.h +3 -1
  371. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crypto.h +2 -2
  372. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
  373. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ssl.h +4 -1
  374. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/progs.h +1 -1
  375. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  376. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h +3 -1
  377. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h +2 -2
  378. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  379. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h +4 -1
  380. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/progs.h +1 -1
  381. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  382. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h +3 -1
  383. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h +2 -2
  384. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
  385. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h +4 -1
  386. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/progs.h +1 -1
  387. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  388. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h +3 -1
  389. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h +2 -2
  390. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
  391. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h +4 -1
  392. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/progs.h +1 -1
  393. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  394. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h +3 -1
  395. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h +2 -2
  396. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  397. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h +4 -1
  398. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h +1 -1
  399. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  400. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h +3 -1
  401. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h +2 -2
  402. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
  403. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h +4 -1
  404. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h +1 -1
  405. package/include/node/openssl/asn1_asm.h +2 -0
  406. package/include/node/openssl/asn1_no-asm.h +2 -0
  407. package/include/node/openssl/asn1t_asm.h +2 -0
  408. package/include/node/openssl/asn1t_no-asm.h +2 -0
  409. package/include/node/openssl/bio_asm.h +2 -0
  410. package/include/node/openssl/bio_no-asm.h +2 -0
  411. package/include/node/openssl/bn_conf_asm.h +2 -0
  412. package/include/node/openssl/bn_conf_no-asm.h +2 -0
  413. package/include/node/openssl/cmp_asm.h +2 -0
  414. package/include/node/openssl/cmp_no-asm.h +2 -0
  415. package/include/node/openssl/cms_asm.h +2 -0
  416. package/include/node/openssl/cms_no-asm.h +2 -0
  417. package/include/node/openssl/conf_asm.h +2 -0
  418. package/include/node/openssl/conf_no-asm.h +2 -0
  419. package/include/node/openssl/configuration_asm.h +2 -0
  420. package/include/node/openssl/configuration_no-asm.h +2 -0
  421. package/include/node/openssl/crmf_asm.h +2 -0
  422. package/include/node/openssl/crmf_no-asm.h +2 -0
  423. package/include/node/openssl/crypto_asm.h +2 -0
  424. package/include/node/openssl/crypto_no-asm.h +2 -0
  425. package/include/node/openssl/ct_asm.h +2 -0
  426. package/include/node/openssl/ct_no-asm.h +2 -0
  427. package/include/node/openssl/dso_conf_asm.h +2 -0
  428. package/include/node/openssl/dso_conf_no-asm.h +2 -0
  429. package/include/node/openssl/ec.h +4 -1
  430. package/include/node/openssl/engine.h +2 -1
  431. package/include/node/openssl/err_asm.h +2 -0
  432. package/include/node/openssl/err_no-asm.h +2 -0
  433. package/include/node/openssl/ess_asm.h +2 -0
  434. package/include/node/openssl/ess_no-asm.h +2 -0
  435. package/include/node/openssl/evp.h +3 -3
  436. package/include/node/openssl/fipskey_asm.h +2 -0
  437. package/include/node/openssl/fipskey_no-asm.h +2 -0
  438. package/include/node/openssl/lhash_asm.h +2 -0
  439. package/include/node/openssl/lhash_no-asm.h +2 -0
  440. package/include/node/openssl/ocsp_asm.h +2 -0
  441. package/include/node/openssl/ocsp_no-asm.h +2 -0
  442. package/include/node/openssl/opensslv_asm.h +2 -0
  443. package/include/node/openssl/opensslv_no-asm.h +2 -0
  444. package/include/node/openssl/pkcs12_asm.h +2 -0
  445. package/include/node/openssl/pkcs12_no-asm.h +2 -0
  446. package/include/node/openssl/pkcs7_asm.h +2 -0
  447. package/include/node/openssl/pkcs7_no-asm.h +2 -0
  448. package/include/node/openssl/safestack_asm.h +2 -0
  449. package/include/node/openssl/safestack_no-asm.h +2 -0
  450. package/include/node/openssl/self_test.h +4 -5
  451. package/include/node/openssl/srp_asm.h +2 -0
  452. package/include/node/openssl/srp_no-asm.h +2 -0
  453. package/include/node/openssl/ssl_asm.h +2 -0
  454. package/include/node/openssl/ssl_no-asm.h +2 -0
  455. package/include/node/openssl/ui_asm.h +2 -0
  456. package/include/node/openssl/ui_no-asm.h +2 -0
  457. package/include/node/openssl/x509_asm.h +2 -0
  458. package/include/node/openssl/x509_no-asm.h +2 -0
  459. package/include/node/openssl/x509_vfy_asm.h +2 -0
  460. package/include/node/openssl/x509_vfy_no-asm.h +2 -0
  461. package/include/node/openssl/x509v3_asm.h +2 -0
  462. package/include/node/openssl/x509v3_no-asm.h +2 -0
  463. package/include/node/v8-array-buffer.h +2 -2
  464. package/include/node/v8-callbacks.h +26 -6
  465. package/include/node/v8-context.h +3 -14
  466. package/include/node/v8-data.h +15 -0
  467. package/include/node/v8-debug.h +21 -4
  468. package/include/node/v8-embedder-heap.h +10 -30
  469. package/include/node/v8-embedder-state-scope.h +51 -0
  470. package/include/node/v8-exception.h +0 -7
  471. package/include/node/v8-function.h +3 -0
  472. package/include/node/v8-initialization.h +64 -31
  473. package/include/node/v8-internal.h +189 -102
  474. package/include/node/v8-isolate.h +49 -2
  475. package/include/node/v8-local-handle.h +0 -4
  476. package/include/node/v8-locker.h +2 -1
  477. package/include/node/v8-message.h +19 -44
  478. package/include/node/v8-object.h +11 -6
  479. package/include/node/v8-platform.h +365 -6
  480. package/include/node/v8-primitive.h +14 -6
  481. package/include/node/v8-profiler.h +78 -2
  482. package/include/node/v8-script.h +27 -51
  483. package/include/node/v8-snapshot.h +0 -2
  484. package/include/node/v8-statistics.h +2 -0
  485. package/include/node/v8-template.h +31 -4
  486. package/include/node/v8-traced-handle.h +39 -224
  487. package/include/node/v8-unwinder.h +10 -7
  488. package/include/node/v8-value-serializer.h +32 -2
  489. package/include/node/v8-version.h +4 -4
  490. package/include/node/v8-wasm.h +13 -1
  491. package/include/node/v8-weak-callback-info.h +20 -6
  492. package/include/node/v8.h +0 -1
  493. package/include/node/v8config.h +56 -11
  494. package/package.json +1 -1
  495. package/share/doc/node/gdbinit +14 -6
  496. package/share/man/man1/node.1 +7 -3
package/LICENSE CHANGED
@@ -109,9 +109,22 @@ The externally maintained libraries used by Node.js are:
109
109
 
110
110
  - ICU, located at deps/icu-small, is licensed as follows:
111
111
  """
112
- COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)
112
+ UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
113
113
 
114
- Copyright © 1991-2020 Unicode, Inc. All rights reserved.
114
+ See Terms of Use
115
+ for definitions of Unicode Inc.’s Data Files and Software.
116
+
117
+ NOTICE TO USER: Carefully read the following legal agreement.
118
+ BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
119
+ DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
120
+ YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
121
+ TERMS AND CONDITIONS OF THIS AGREEMENT.
122
+ IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
123
+ THE DATA FILES OR SOFTWARE.
124
+
125
+ COPYRIGHT AND PERMISSION NOTICE
126
+
127
+ Copyright © 1991-2022 Unicode, Inc. All rights reserved.
115
128
  Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
116
129
 
117
130
  Permission is hereby granted, free of charge, to any person obtaining
@@ -143,7 +156,7 @@ The externally maintained libraries used by Node.js are:
143
156
  use or other dealings in these Data Files or Software without prior
144
157
  written authorization of the copyright holder.
145
158
 
146
- ---------------------
159
+ ----------------------------------------------------------------------
147
160
 
148
161
  Third-Party Software Licenses
149
162
 
@@ -151,7 +164,9 @@ The externally maintained libraries used by Node.js are:
151
164
  terms for licensed third-party software components included within ICU
152
165
  libraries.
153
166
 
154
- 1. ICU License - ICU 1.8.1 to ICU 57.1
167
+ ----------------------------------------------------------------------
168
+
169
+ ICU License - ICU 1.8.1 to ICU 57.1
155
170
 
156
171
  COPYRIGHT AND PERMISSION NOTICE
157
172
 
@@ -186,7 +201,9 @@ The externally maintained libraries used by Node.js are:
186
201
  All trademarks and registered trademarks mentioned herein are the
187
202
  property of their respective owners.
188
203
 
189
- 2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
204
+ ----------------------------------------------------------------------
205
+
206
+ Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
190
207
 
191
208
  # The Google Chrome software developed by Google is licensed under
192
209
  # the BSD license. Other software included in this distribution is
@@ -390,7 +407,9 @@ The externally maintained libraries used by Node.js are:
390
407
  #
391
408
  # ---------------COPYING.ipadic-----END----------------------------------
392
409
 
393
- 3. Lao Word Break Dictionary Data (laodict.txt)
410
+ ----------------------------------------------------------------------
411
+
412
+ Lao Word Break Dictionary Data (laodict.txt)
394
413
 
395
414
  # Copyright (C) 2016 and later: Unicode, Inc. and others.
396
415
  # License & terms of use: http://www.unicode.org/copyright.html
@@ -430,7 +449,9 @@ The externally maintained libraries used by Node.js are:
430
449
  # OF THE POSSIBILITY OF SUCH DAMAGE.
431
450
  # --------------------------------------------------------------------------
432
451
 
433
- 4. Burmese Word Break Dictionary Data (burmesedict.txt)
452
+ ----------------------------------------------------------------------
453
+
454
+ Burmese Word Break Dictionary Data (burmesedict.txt)
434
455
 
435
456
  # Copyright (c) 2014 International Business Machines Corporation
436
457
  # and others. All Rights Reserved.
@@ -470,7 +491,9 @@ The externally maintained libraries used by Node.js are:
470
491
  # SUCH DAMAGE.
471
492
  # --------------------------------------------------------------------------
472
493
 
473
- 5. Time Zone Database
494
+ ----------------------------------------------------------------------
495
+
496
+ Time Zone Database
474
497
 
475
498
  ICU uses the public domain data and code derived from Time Zone
476
499
  Database for its time zone support. The ownership of the TZ database
@@ -493,7 +516,9 @@ The externally maintained libraries used by Node.js are:
493
516
  # making a contribution to the database or code waives all rights to
494
517
  # future claims in that contribution or in the TZ Database.
495
518
 
496
- 6. Google double-conversion
519
+ ----------------------------------------------------------------------
520
+
521
+ Google double-conversion
497
522
 
498
523
  Copyright 2006-2011, the V8 project authors. All rights reserved.
499
524
  Redistribution and use in source and binary forms, with or without
@@ -521,6 +546,83 @@ The externally maintained libraries used by Node.js are:
521
546
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
522
547
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
523
548
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
549
+
550
+ ----------------------------------------------------------------------
551
+
552
+ File: aclocal.m4 (only for ICU4C)
553
+ Section: pkg.m4 - Macros to locate and utilise pkg-config.
554
+
555
+ Copyright © 2004 Scott James Remnant .
556
+ Copyright © 2012-2015 Dan Nicholson
557
+
558
+ This program is free software; you can redistribute it and/or modify
559
+ it under the terms of the GNU General Public License as published by
560
+ the Free Software Foundation; either version 2 of the License, or
561
+ (at your option) any later version.
562
+
563
+ This program is distributed in the hope that it will be useful, but
564
+ WITHOUT ANY WARRANTY; without even the implied warranty of
565
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
566
+ General Public License for more details.
567
+
568
+ You should have received a copy of the GNU General Public License
569
+ along with this program; if not, write to the Free Software
570
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
571
+ 02111-1307, USA.
572
+
573
+ As a special exception to the GNU General Public License, if you
574
+ distribute this file as part of a program that contains a
575
+ configuration script generated by Autoconf, you may include it under
576
+ the same distribution terms that you use for the rest of that
577
+ program.
578
+
579
+ (The condition for the exception is fulfilled because
580
+ ICU4C includes a configuration script generated by Autoconf,
581
+ namely the `configure` script.)
582
+
583
+ ----------------------------------------------------------------------
584
+
585
+ File: config.guess (only for ICU4C)
586
+
587
+ This file is free software; you can redistribute it and/or modify it
588
+ under the terms of the GNU General Public License as published by
589
+ the Free Software Foundation; either version 3 of the License, or
590
+ (at your option) any later version.
591
+
592
+ This program is distributed in the hope that it will be useful, but
593
+ WITHOUT ANY WARRANTY; without even the implied warranty of
594
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
595
+ General Public License for more details.
596
+
597
+ You should have received a copy of the GNU General Public License
598
+ along with this program; if not, see .
599
+
600
+ As a special exception to the GNU General Public License, if you
601
+ distribute this file as part of a program that contains a
602
+ configuration script generated by Autoconf, you may include it under
603
+ the same distribution terms that you use for the rest of that
604
+ program. This Exception is an additional permission under section 7
605
+ of the GNU General Public License, version 3 ("GPLv3").
606
+
607
+ (The condition for the exception is fulfilled because
608
+ ICU4C includes a configuration script generated by Autoconf,
609
+ namely the `configure` script.)
610
+
611
+ ----------------------------------------------------------------------
612
+
613
+ File: install-sh (only for ICU4C)
614
+
615
+ Copyright 1991 by the Massachusetts Institute of Technology
616
+
617
+ Permission to use, copy, modify, distribute, and sell this software and its
618
+ documentation for any purpose is hereby granted without fee, provided that
619
+ the above copyright notice appear in all copies and that both that
620
+ copyright notice and this permission notice appear in supporting
621
+ documentation, and that the name of M.I.T. not be used in advertising or
622
+ publicity pertaining to distribution of the software without specific,
623
+ written prior permission. M.I.T. makes no representations about the
624
+ suitability of this software for any purpose. It is provided "as is"
625
+ without express or implied warranty.
524
626
  """
525
627
 
526
628
  - libuv, located at deps/uv, is licensed as follows:
package/README.md CHANGED
@@ -1,14 +1,4 @@
1
- <!--lint disable no-literal-urls-->
2
-
3
- <p align="center">
4
- <a href="https://nodejs.org/">
5
- <img
6
- alt="Node.js"
7
- src="https://nodejs.org/static/images/logo-light.svg"
8
- width="400"
9
- />
10
- </a>
11
- </p>
1
+ # Node.js
12
2
 
13
3
  Node.js is an open-source, cross-platform, JavaScript runtime environment.
14
4
 
@@ -19,7 +9,7 @@ The Node.js project uses an [open governance model](./GOVERNANCE.md). The
19
9
 
20
10
  **This project has a [Code of Conduct][].**
21
11
 
22
- # Table of contents
12
+ ## Table of contents
23
13
 
24
14
  * [Support](#support)
25
15
  * [Release types](#release-types)
@@ -61,7 +51,7 @@ Looking for help? Check out the
61
51
  * **Nightly**: Code from the Current branch built every 24-hours when there are
62
52
  changes. Use with caution.
63
53
 
64
- Current and LTS releases follow [Semantic Versioning](https://semver.org). A
54
+ Current and LTS releases follow [semantic versioning](https://semver.org). A
65
55
  member of the Release Team [signs](#release-keys) each Current and LTS release.
66
56
  For more information, see the
67
57
  [Release README](https://github.com/nodejs/Release#readme).
@@ -123,7 +113,7 @@ import the keys:
123
113
  $ gpg --keyserver hkps://keys.openpgp.org --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
124
114
  ```
125
115
 
126
- See the bottom of this README for a full script to import active release keys.
116
+ See [Release keys](#release-keys) for a script to import active release keys.
127
117
 
128
118
  Next, download the `SHASUMS256.txt.sig` for the release:
129
119
 
@@ -296,8 +286,6 @@ For information about the governance of the Node.js project, see
296
286
  **Tierney Cyren** <<hello@bnb.im>> (they/he)
297
287
  * [bnoordhuis](https://github.com/bnoordhuis) -
298
288
  **Ben Noordhuis** <<info@bnoordhuis.nl>>
299
- * [boneskull](https://github.com/boneskull) -
300
- **Christopher Hiller** <<boneskull@boneskull.com>> (he/him)
301
289
  * [BridgeAR](https://github.com/BridgeAR) -
302
290
  **Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
303
291
  * [bzoz](https://github.com/bzoz) -
@@ -342,8 +330,6 @@ For information about the governance of the Node.js project, see
342
330
  **Guy Bedford** <<guybedford@gmail.com>> (he/him)
343
331
  * [HarshithaKP](https://github.com/HarshithaKP) -
344
332
  **Harshitha K P** <<harshitha014@gmail.com>> (she/her)
345
- * [hashseed](https://github.com/hashseed) -
346
- **Yang Guo** <<yangguo@chromium.org>> (he/him)
347
333
  * [himself65](https://github.com/himself65) -
348
334
  **Zeyu Yang** <<himself65@outlook.com>> (he/him)
349
335
  * [hiroppy](https://github.com/hiroppy) -
@@ -384,6 +370,8 @@ For information about the governance of the Node.js project, see
384
370
  **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
385
371
  * [mcollina](https://github.com/mcollina) -
386
372
  **Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
373
+ * [meixg](https://github.com/meixg) -
374
+ **Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
387
375
  * [Mesteery](https://github.com/Mesteery) -
388
376
  **Mestery** <<mestery@protonmail.com>> (he/him)
389
377
  * [mhdawson](https://github.com/mhdawson) -
@@ -408,6 +396,8 @@ For information about the governance of the Node.js project, see
408
396
  **Andrey Pechkurov** <<apechkurov@gmail.com>> (he/him)
409
397
  * [Qard](https://github.com/Qard) -
410
398
  **Stephen Belanger** <<admin@stephenbelanger.com>> (he/him)
399
+ * [RafaelGSS](https://github.com/RafaelGSS) -
400
+ **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
411
401
  * [RaisinTen](https://github.com/RaisinTen) -
412
402
  **Darshan Sen** <<raisinten@gmail.com>> (he/him)
413
403
  * [rexagod](https://github.com/rexagod) -
@@ -428,6 +418,8 @@ For information about the governance of the Node.js project, see
428
418
  **Santiago Gimeno** <<santiago.gimeno@gmail.com>>
429
419
  * [shisama](https://github.com/shisama) -
430
420
  **Masashi Hirano** <<shisama07@gmail.com>> (he/him)
421
+ * [ShogunPanda](https://github.com/ShogunPanda) -
422
+ **Paolo Insogna** <<paolo@cowtech.it>> (he/him)
431
423
  * [srl295](https://github.com/srl295) -
432
424
  **Steven R Loomis** <<srloomis@us.ibm.com>>
433
425
  * [starkwang](https://github.com/starkwang) -
@@ -478,6 +470,8 @@ For information about the governance of the Node.js project, see
478
470
  **Alexey Orlenko** <<eaglexrlnk@gmail.com>> (he/him)
479
471
  * [bmeurer](https://github.com/bmeurer) -
480
472
  **Benedikt Meurer** <<benedikt.meurer@gmail.com>>
473
+ * [boneskull](https://github.com/boneskull) -
474
+ **Christopher Hiller** <<boneskull@boneskull.com>> (he/him)
481
475
  * [brendanashworth](https://github.com/brendanashworth) -
482
476
  **Brendan Ashworth** <<brendan.ashworth@me.com>>
483
477
  * [calvinmetcalf](https://github.com/calvinmetcalf) -
@@ -510,6 +504,8 @@ For information about the governance of the Node.js project, see
510
504
  **Gibson Fahnestock** <<gibfahn@gmail.com>> (he/him)
511
505
  * [glentiki](https://github.com/glentiki) -
512
506
  **Glen Keane** <<glenkeane.94@gmail.com>> (he/him)
507
+ * [hashseed](https://github.com/hashseed) -
508
+ **Yang Guo** <<yangguo@chromium.org>> (he/him)
513
509
  * [iarna](https://github.com/iarna) -
514
510
  **Rebecca Turner** <<me@re-becca.org>>
515
511
  * [imran-iq](https://github.com/imran-iq) -
@@ -653,7 +649,7 @@ maintaining the Node.js project.
653
649
  * [marsonya](https://github.com/marsonya) -
654
650
  **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
655
651
  * [meixg](https://github.com/meixg) -
656
- **Xuguang Mei** <<meixg@foxmail.com>> (he/him)
652
+ **Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
657
653
  * [Mesteery](https://github.com/Mesteery) -
658
654
  **Mestery** <<mestery@protonmail.com>> (he/him)
659
655
  * [PoojaDurgad](https://github.com/PoojaDurgad) -
@@ -710,8 +706,8 @@ gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B0
710
706
  gpg --keyserver hkps://keys.openpgp.org --recv-keys B9E2F5981AA6E0CD28160D9FF13993A75599653C
711
707
  ```
712
708
 
713
- See the section above on [Verifying binaries](#verifying-binaries) for how to
714
- use these keys to verify a downloaded file.
709
+ See [Verifying binaries](#verifying-binaries) for how to use these keys to
710
+ verify a downloaded file.
715
711
 
716
712
  <details>
717
713
 
package/bin/node CHANGED
Binary file
@@ -36,7 +36,7 @@
36
36
 
37
37
  # Reset this number to 0 on major V8 upgrades.
38
38
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.15',
39
+ 'v8_embedder_string': '-node.13',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -280,7 +280,11 @@
280
280
  '-std:c++17'
281
281
  ],
282
282
  'BufferSecurityCheck': 'true',
283
- 'DebugInformationFormat': 1, # /Z7 embed info in .obj files
283
+ 'target_conditions': [
284
+ ['_toolset=="target"', {
285
+ 'DebugInformationFormat': 1 # /Z7 embed info in .obj files
286
+ }],
287
+ ],
284
288
  'ExceptionHandling': 0, # /EHsc
285
289
  'MultiProcessorCompilation': 'true',
286
290
  'StringPooling': 'true', # pool string literals
@@ -497,7 +501,7 @@
497
501
  'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
498
502
  'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
499
503
  'PREBINDING': 'NO', # No -Wl,-prebind
500
- 'MACOSX_DEPLOYMENT_TARGET': '10.13', # -mmacosx-version-min=10.13
504
+ 'MACOSX_DEPLOYMENT_TARGET': '10.15', # -mmacosx-version-min=10.15
501
505
  'USE_HEADERMAP': 'NO',
502
506
  'OTHER_CFLAGS': [
503
507
  '-fno-strict-aliasing',
@@ -1,9 +1,5 @@
1
1
  # Do not edit. Generated by the configure script.
2
- { 'target_defaults': { 'cflags': [],
3
- 'default_configuration': 'Release',
4
- 'defines': ['NODE_OPENSSL_HAS_QUIC'],
5
- 'include_dirs': [],
6
- 'libraries': []},
2
+ { 'target_defaults': {'cflags': [], 'default_configuration': 'Release', 'defines': ['NODE_OPENSSL_HAS_QUIC'], 'include_dirs': [], 'libraries': []},
7
3
  'variables': { 'arm_float_abi': 'hard',
8
4
  'arm_fpu': 'vfpv3',
9
5
  'arm_thumb': 0,
@@ -20,12 +16,12 @@
20
16
  'force_dynamic_crt': 0,
21
17
  'gas_version': '2.28',
22
18
  'host_arch': 'ia32',
23
- 'icu_data_in': '../../deps/icu-tmp/icudt70l.dat',
19
+ 'icu_data_in': '../../deps/icu-tmp/icudt71l.dat',
24
20
  'icu_endianness': 'l',
25
21
  'icu_gyp_path': 'tools/icu/icu-generic.gyp',
26
22
  'icu_path': 'deps/icu-small',
27
23
  'icu_small': 'false',
28
- 'icu_ver_major': '70',
24
+ 'icu_ver_major': '71',
29
25
  'is_debug': 0,
30
26
  'llvm_version': '0.0',
31
27
  'napi_build_version': '8',
@@ -63,6 +59,7 @@
63
59
  'lib/http.js',
64
60
  'lib/path.js',
65
61
  'lib/process.js',
62
+ 'lib/test.js',
66
63
  'lib/v8.js',
67
64
  'lib/wasi.js',
68
65
  'lib/string_decoder.js',
@@ -141,6 +138,9 @@
141
138
  'lib/internal/querystring.js',
142
139
  'lib/internal/errors.js',
143
140
  'lib/internal/constants.js',
141
+ 'lib/internal/test_runner/harness.js',
142
+ 'lib/internal/test_runner/test.js',
143
+ 'lib/internal/test_runner/tap_stream.js',
144
144
  'lib/internal/process/warning.js',
145
145
  'lib/internal/process/per_thread.js',
146
146
  'lib/internal/process/execution.js',
@@ -174,7 +174,6 @@
174
174
  'lib/internal/fs/cp/cp-sync.js',
175
175
  'lib/internal/tls/secure-pair.js',
176
176
  'lib/internal/tls/secure-context.js',
177
- 'lib/internal/tls/parse-cert-string.js',
178
177
  'lib/internal/test/binding.js',
179
178
  'lib/internal/test/transfer.js',
180
179
  'lib/internal/vm/module.js',
@@ -208,6 +207,7 @@
208
207
  'lib/internal/perf/utils.js',
209
208
  'lib/internal/perf/observe.js',
210
209
  'lib/internal/bootstrap/node.js',
210
+ 'lib/internal/bootstrap/browser.js',
211
211
  'lib/internal/bootstrap/pre_execution.js',
212
212
  'lib/internal/bootstrap/environment.js',
213
213
  'lib/internal/bootstrap/loaders.js',
@@ -295,6 +295,7 @@
295
295
  'lib/internal/policy/manifest.js',
296
296
  'lib/internal/main/print_help.js',
297
297
  'lib/internal/main/eval_string.js',
298
+ 'lib/internal/main/mksnapshot.js',
298
299
  'lib/internal/main/prof_process.js',
299
300
  'lib/internal/main/eval_stdin.js',
300
301
  'lib/internal/main/worker_thread.js',
@@ -308,7 +309,7 @@
308
309
  'lib/timers/promises.js',
309
310
  'lib/util/types.js',
310
311
  'lib/dns/promises.js'],
311
- 'node_module_version': 102,
312
+ 'node_module_version': 108,
312
313
  'node_no_browser_globals': 'false',
313
314
  'node_prefix': '/',
314
315
  'node_release_urlbase': 'https://nodejs.org/download/release/',
@@ -337,13 +338,14 @@
337
338
  'openssl_is_fips': 'false',
338
339
  'openssl_quic': 'true',
339
340
  'ossfuzz': 'false',
340
- 'shlib_suffix': 'so.102',
341
+ 'shlib_suffix': 'so.108',
341
342
  'target_arch': 'arm',
342
343
  'v8_enable_31bit_smis_on_64bit_arch': 0,
343
344
  'v8_enable_gdbjit': 0,
344
345
  'v8_enable_hugepage': 0,
345
346
  'v8_enable_i18n_support': 1,
346
347
  'v8_enable_inspector': 1,
348
+ 'v8_enable_javascript_promise_hooks': 1,
347
349
  'v8_enable_lite_mode': 0,
348
350
  'v8_enable_object_print': 1,
349
351
  'v8_enable_pointer_compression': 0,
@@ -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) \