node-linux-arm64 18.16.0 → 18.17.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 (188) hide show
  1. package/CHANGELOG.md +601 -0
  2. package/LICENSE +538 -525
  3. package/README.md +44 -33
  4. package/bin/node +0 -0
  5. package/include/node/config.gypi +7 -7
  6. package/include/node/js_native_api.h +6 -6
  7. package/include/node/js_native_api_types.h +2 -1
  8. package/include/node/node.h +27 -5
  9. package/include/node/node_api.h +28 -60
  10. package/include/node/node_version.h +6 -2
  11. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  12. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/cmp.h +4 -3
  13. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
  14. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  15. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/cmp.h +4 -3
  16. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
  17. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +11 -11
  18. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/cmp.h +4 -3
  19. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
  20. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  21. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/cmp.h +4 -3
  22. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
  23. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  24. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/cmp.h +4 -3
  25. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  26. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +9 -9
  27. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/cmp.h +4 -3
  28. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  29. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +24 -24
  30. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/cmp.h +4 -3
  31. package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
  32. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +24 -24
  33. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/cmp.h +4 -3
  34. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
  35. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +24 -24
  36. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/cmp.h +4 -3
  37. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
  38. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  39. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/cmp.h +4 -3
  40. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
  41. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +2 -2
  42. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/cmp.h +4 -3
  43. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
  44. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +2 -2
  45. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/cmp.h +4 -3
  46. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
  47. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +2 -2
  48. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/cmp.h +4 -3
  49. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
  50. package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
  51. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/cmp.h +4 -3
  52. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
  53. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
  54. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/cmp.h +4 -3
  55. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
  56. package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
  57. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/cmp.h +4 -3
  58. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
  59. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  60. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/cmp.h +4 -3
  61. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
  62. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  63. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/cmp.h +4 -3
  64. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  65. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +9 -10
  66. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/cmp.h +4 -3
  67. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
  68. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  69. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/cmp.h +4 -3
  70. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
  71. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  72. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/cmp.h +4 -3
  73. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  74. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +9 -9
  75. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/cmp.h +4 -3
  76. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
  77. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  78. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/cmp.h +4 -3
  79. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
  80. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  81. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/cmp.h +4 -3
  82. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  83. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +9 -9
  84. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/cmp.h +4 -3
  85. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
  86. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  87. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/cmp.h +4 -3
  88. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
  89. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  90. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/cmp.h +4 -3
  91. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
  92. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  93. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/cmp.h +4 -3
  94. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
  95. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  96. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/cmp.h +4 -3
  97. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
  98. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  99. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/cmp.h +4 -3
  100. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
  101. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  102. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/cmp.h +4 -3
  103. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
  104. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  105. package/include/node/openssl/archs/linux-elf/asm/include/openssl/cmp.h +4 -3
  106. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
  107. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  108. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/cmp.h +4 -3
  109. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
  110. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  111. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/cmp.h +4 -3
  112. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
  113. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  114. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/cmp.h +4 -3
  115. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
  116. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  117. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/cmp.h +4 -3
  118. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
  119. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  120. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/cmp.h +4 -3
  121. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
  122. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  123. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/cmp.h +4 -3
  124. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
  125. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  126. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/cmp.h +4 -3
  127. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  128. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  129. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/cmp.h +4 -3
  130. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  131. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  132. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/cmp.h +4 -3
  133. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
  134. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  135. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/cmp.h +4 -3
  136. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  137. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  138. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/cmp.h +4 -3
  139. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
  140. package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +29 -0
  141. package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cmp.h +597 -0
  142. package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +114 -0
  143. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +9 -8
  144. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/cmp.h +4 -3
  145. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
  146. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +9 -8
  147. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/cmp.h +4 -3
  148. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
  149. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  150. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/cmp.h +4 -3
  151. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
  152. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
  153. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/cmp.h +4 -3
  154. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
  155. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  156. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/cmp.h +4 -3
  157. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
  158. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  159. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/cmp.h +4 -3
  160. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  161. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  162. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/cmp.h +4 -3
  163. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
  164. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  165. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/cmp.h +4 -3
  166. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
  167. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  168. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/cmp.h +4 -3
  169. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  170. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  171. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/cmp.h +4 -3
  172. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
  173. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  174. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/cmp.h +4 -3
  175. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
  176. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  177. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/cmp.h +4 -3
  178. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  179. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  180. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/cmp.h +4 -3
  181. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
  182. package/include/node/openssl/cmperr.h +3 -1
  183. package/include/node/openssl/dsaerr.h +2 -1
  184. package/include/node/openssl/ecerr.h +2 -1
  185. package/include/node/zconf.h +5 -1
  186. package/include/node/zlib.h +4 -4
  187. package/package.json +1 -1
  188. package/share/man/man1/node.1 +2 -1
package/README.md CHANGED
@@ -43,7 +43,7 @@ Looking for help? Check out the
43
43
 
44
44
  * **Current**: Under active development. Code for the Current release is in the
45
45
  branch for its major version number (for example,
46
- [v15.x](https://github.com/nodejs/node/tree/v15.x)). Node.js releases a new
46
+ [v19.x](https://github.com/nodejs/node/tree/v19.x)). Node.js releases a new
47
47
  major version every 6 months, allowing for breaking changes. This happens in
48
48
  April and October every year. Releases appearing each October have a support
49
49
  life of 8 months. Releases appearing each April convert to LTS (see below)
@@ -74,8 +74,8 @@ Binaries, installers, and source tarballs are available at
74
74
  The [latest](https://nodejs.org/download/release/latest/) directory is an
75
75
  alias for the latest Current release. The latest-_codename_ directory is an
76
76
  alias for the latest release from an LTS line. For example, the
77
- [latest-fermium](https://nodejs.org/download/release/latest-fermium/) directory
78
- contains the latest Fermium (Node.js 14) release.
77
+ [latest-hydrogen](https://nodejs.org/download/release/latest-hydrogen/)
78
+ directory contains the latest Hydrogen (Node.js 18) release.
79
79
 
80
80
  #### Nightly releases
81
81
 
@@ -158,24 +158,20 @@ For information about the governance of the Node.js project, see
158
158
 
159
159
  ### TSC (Technical Steering Committee)
160
160
 
161
+ #### TSC voting members
162
+
161
163
  <!--lint disable prohibited-strings-->
162
164
 
163
165
  * [aduh95](https://github.com/aduh95) -
164
166
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
165
167
  * [apapirovski](https://github.com/apapirovski) -
166
168
  **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
167
- * [BethGriggs](https://github.com/BethGriggs) -
168
- **Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
169
169
  * [BridgeAR](https://github.com/BridgeAR) -
170
170
  **Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
171
- * [ChALkeR](https://github.com/ChALkeR) -
172
- **Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
173
171
  * [cjihrig](https://github.com/cjihrig) -
174
172
  **Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
175
173
  * [danielleadams](https://github.com/danielleadams) -
176
174
  **Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
177
- * [fhinkel](https://github.com/fhinkel) -
178
- **Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
179
175
  * [GeoffreyBooth](https://github.com/geoffreybooth) -
180
176
  **Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
181
177
  * [gireeshpunathil](https://github.com/gireeshpunathil) -
@@ -190,6 +186,8 @@ For information about the governance of the Node.js project, see
190
186
  **Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
191
187
  * [mhdawson](https://github.com/mhdawson) -
192
188
  **Michael Dawson** <<midawson@redhat.com>> (he/him)
189
+ * [MoLow](https://github.com/MoLow) -
190
+ **Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
193
191
  * [RafaelGSS](https://github.com/RafaelGSS) -
194
192
  **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
195
193
  * [RaisinTen](https://github.com/RaisinTen) -
@@ -198,6 +196,8 @@ For information about the governance of the Node.js project, see
198
196
  **Richard Lau** <<rlau@redhat.com>>
199
197
  * [ronag](https://github.com/ronag) -
200
198
  **Robert Nagy** <<ronagy@icloud.com>>
199
+ * [ruyadorno](https://github.com/ruyadorno) -
200
+ **Ruy Adorno** <<ruyadorno@google.com>> (he/him)
201
201
  * [targos](https://github.com/targos) -
202
202
  **Michaël Zasso** <<targos@protonmail.com>> (he/him)
203
203
  * [tniessen](https://github.com/tniessen) -
@@ -205,28 +205,45 @@ For information about the governance of the Node.js project, see
205
205
  * [Trott](https://github.com/Trott) -
206
206
  **Rich Trott** <<rtrott@gmail.com>> (he/him)
207
207
 
208
+ #### TSC regular members
209
+
210
+ * [BethGriggs](https://github.com/BethGriggs) -
211
+ **Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
212
+ * [bnoordhuis](https://github.com/bnoordhuis) -
213
+ **Ben Noordhuis** <<info@bnoordhuis.nl>>
214
+ * [ChALkeR](https://github.com/ChALkeR) -
215
+ **Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
216
+ * [codebytere](https://github.com/codebytere) -
217
+ **Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
218
+ * [danbev](https://github.com/danbev) -
219
+ **Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
220
+ * [fhinkel](https://github.com/fhinkel) -
221
+ **Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
222
+ * [gabrielschulhof](https://github.com/gabrielschulhof) -
223
+ **Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
224
+ * [mscdex](https://github.com/mscdex) -
225
+ **Brian White** <<mscdex@mscdex.net>>
226
+ * [MylesBorins](https://github.com/MylesBorins) -
227
+ **Myles Borins** <<myles.borins@gmail.com>> (he/him)
228
+ * [rvagg](https://github.com/rvagg) -
229
+ **Rod Vagg** <<r@va.gg>>
230
+ * [TimothyGu](https://github.com/TimothyGu) -
231
+ **Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
232
+
208
233
  <details>
209
234
 
210
- <summary>Emeriti</summary>
235
+ <summary>TSC emeriti members</summary>
211
236
 
212
- ### TSC emeriti
237
+ #### TSC emeriti members
213
238
 
214
239
  * [addaleax](https://github.com/addaleax) -
215
240
  **Anna Henningsen** <<anna@addaleax.net>> (she/her)
216
- * [bnoordhuis](https://github.com/bnoordhuis) -
217
- **Ben Noordhuis** <<info@bnoordhuis.nl>>
218
241
  * [chrisdickinson](https://github.com/chrisdickinson) -
219
242
  **Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
220
- * [codebytere](https://github.com/codebytere) -
221
- **Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
222
- * [danbev](https://github.com/danbev) -
223
- **Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
224
243
  * [evanlucas](https://github.com/evanlucas) -
225
244
  **Evan Lucas** <<evanlucas@me.com>> (he/him)
226
245
  * [Fishrock123](https://github.com/Fishrock123) -
227
246
  **Jeremiah Senkpiel** <<fishrock123@rocketmail.com>> (he/they)
228
- * [gabrielschulhof](https://github.com/gabrielschulhof) -
229
- **Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
230
247
  * [gibfahn](https://github.com/gibfahn) -
231
248
  **Gibson Fahnestock** <<gibfahn@gmail.com>> (he/him)
232
249
  * [indutny](https://github.com/indutny) -
@@ -237,10 +254,6 @@ For information about the governance of the Node.js project, see
237
254
  **Josh Gavant** <<josh.gavant@outlook.com>>
238
255
  * [mmarchini](https://github.com/mmarchini) -
239
256
  **Mary Marchini** <<oss@mmarchini.me>> (she/her)
240
- * [mscdex](https://github.com/mscdex) -
241
- **Brian White** <<mscdex@mscdex.net>>
242
- * [MylesBorins](https://github.com/MylesBorins) -
243
- **Myles Borins** <<myles.borins@gmail.com>> (he/him)
244
257
  * [nebrius](https://github.com/nebrius) -
245
258
  **Bryan Hughes** <<bryan@nebri.us>>
246
259
  * [ofrobots](https://github.com/ofrobots) -
@@ -249,16 +262,12 @@ For information about the governance of the Node.js project, see
249
262
  **Alexis Campailla** <<orangemocha@nodejs.org>>
250
263
  * [piscisaureus](https://github.com/piscisaureus) -
251
264
  **Bert Belder** <<bertbelder@gmail.com>>
252
- * [rvagg](https://github.com/rvagg) -
253
- **Rod Vagg** <<r@va.gg>>
254
265
  * [sam-github](https://github.com/sam-github) -
255
266
  **Sam Roberts** <<vieuxtech@gmail.com>>
256
267
  * [shigeki](https://github.com/shigeki) -
257
268
  **Shigeki Ohtsu** <<ohtsu@ohtsu.org>> (he/him)
258
269
  * [thefourtheye](https://github.com/thefourtheye) -
259
270
  **Sakthipriyan Vairamani** <<thechargingvolcano@gmail.com>> (he/him)
260
- * [TimothyGu](https://github.com/TimothyGu) -
261
- **Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
262
271
  * [trevnorris](https://github.com/trevnorris) -
263
272
  **Trevor Norris** <<trev.norris@gmail.com>>
264
273
 
@@ -364,6 +373,8 @@ For information about the governance of the Node.js project, see
364
373
  **Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
365
374
  * [JungMinu](https://github.com/JungMinu) -
366
375
  **Minwoo Jung** <<nodecorelab@gmail.com>> (he/him)
376
+ * [KhafraDev](https://github.com/KhafraDev) -
377
+ **Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)
367
378
  * [kuriyosh](https://github.com/kuriyosh) -
368
379
  **Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
369
380
  * [legendecas](https://github.com/legendecas) -
@@ -402,12 +413,12 @@ For information about the governance of the Node.js project, see
402
413
  **Brian White** <<mscdex@mscdex.net>>
403
414
  * [MylesBorins](https://github.com/MylesBorins) -
404
415
  **Myles Borins** <<myles.borins@gmail.com>> (he/him)
416
+ * [ovflowd](https://github.com/ovflowd) -
417
+ **Claudio Wunder** <<cwunder@gnome.org>> (he/they)
405
418
  * [oyyd](https://github.com/oyyd) -
406
419
  **Ouyang Yadong** <<oyydoibh@gmail.com>> (he/him)
407
420
  * [panva](https://github.com/panva) -
408
421
  **Filip Skokan** <<panva.ip@gmail.com>> (he/him)
409
- * [puzpuzpuz](https://github.com/puzpuzpuz) -
410
- **Andrey Pechkurov** <<apechkurov@gmail.com>> (he/him)
411
422
  * [Qard](https://github.com/Qard) -
412
423
  **Stephen Belanger** <<admin@stephenbelanger.com>> (he/him)
413
424
  * [RafaelGSS](https://github.com/RafaelGSS) -
@@ -610,6 +621,8 @@ For information about the governance of the Node.js project, see
610
621
  **Prince John Wesley** <<princejohnwesley@gmail.com>>
611
622
  * [psmarshall](https://github.com/psmarshall) -
612
623
  **Peter Marshall** <<petermarshall@chromium.org>> (he/him)
624
+ * [puzpuzpuz](https://github.com/puzpuzpuz) -
625
+ **Andrey Pechkurov** <<apechkurov@gmail.com>> (he/him)
613
626
  * [refack](https://github.com/refack) -
614
627
  **Refael Ackermann (רפאל פלחי)** <<refack@gmail.com>> (he/him/הוא/אתה)
615
628
  * [rexagod](https://github.com/rexagod) -
@@ -678,6 +691,8 @@ maintaining the Node.js project.
678
691
 
679
692
  ### Triagers
680
693
 
694
+ * [atlowChemi](https://github.com/atlowChemi) -
695
+ **Chemi Atlow** <<chemi@atlow.co.il>> (he/him)
681
696
  * [Ayase-252](https://github.com/Ayase-252) -
682
697
  **Qingyu Deng** <<i@ayase-lab.com>>
683
698
  * [bmuenzenmeyer](https://github.com/bmuenzenmeyer) -
@@ -698,8 +713,6 @@ maintaining the Node.js project.
698
713
  **Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
699
714
  * [Mesteery](https://github.com/Mesteery) -
700
715
  **Mestery** <<mestery@protonmail.com>> (he/him)
701
- * [MoLow](https://github.com/MoLow) -
702
- **Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
703
716
  * [PoojaDurgad](https://github.com/PoojaDurgad) -
704
717
  **Pooja Durgad** <<Pooja.D.P@ibm.com>>
705
718
  * [RaisinTen](https://github.com/RaisinTen) -
@@ -801,8 +814,6 @@ releases on a rotation basis as outlined in the
801
814
  * Datadog
802
815
  * [bengl](https://github.com/bengl) -
803
816
  **Bryan English** <<bryan@bryanenglish.com>> (he/him)
804
- * [vdeturckheim](https://github.com/vdeturckheim) -
805
- **Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
806
817
  * NearForm
807
818
  * [RafaelGSS](https://github.com/RafaelGSS) -
808
819
  **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
package/bin/node CHANGED
Binary file
@@ -13,16 +13,16 @@
13
13
  'force_dynamic_crt': 0,
14
14
  'gas_version': '2.30',
15
15
  'host_arch': 'arm64',
16
- 'icu_data_in': '../../deps/icu-tmp/icudt72l.dat',
16
+ 'icu_data_in': '../../deps/icu-tmp/icudt73l.dat',
17
17
  'icu_endianness': 'l',
18
18
  'icu_gyp_path': 'tools/icu/icu-generic.gyp',
19
19
  'icu_path': 'deps/icu-small',
20
20
  'icu_small': 'false',
21
- 'icu_ver_major': '72',
21
+ 'icu_ver_major': '73',
22
22
  'is_debug': 0,
23
23
  'libdir': 'lib',
24
24
  'llvm_version': '0.0',
25
- 'napi_build_version': '8',
25
+ 'napi_build_version': '9',
26
26
  'node_builtin_shareable_builtins': ['deps/cjs-module-lexer/lexer.js', 'deps/cjs-module-lexer/dist/lexer.js', 'deps/undici/undici.js'],
27
27
  'node_byteorder': 'little',
28
28
  'node_debug_lib': 'false',
@@ -112,6 +112,7 @@
112
112
  'lib/internal/crypto/sig.js',
113
113
  'lib/internal/crypto/util.js',
114
114
  'lib/internal/crypto/webcrypto.js',
115
+ 'lib/internal/crypto/webidl.js',
115
116
  'lib/internal/crypto/x509.js',
116
117
  'lib/internal/debugger/inspect.js',
117
118
  'lib/internal/debugger/inspect_client.js',
@@ -258,14 +259,11 @@
258
259
  'lib/internal/test_runner/reporter/dot.js',
259
260
  'lib/internal/test_runner/reporter/spec.js',
260
261
  'lib/internal/test_runner/reporter/tap.js',
262
+ 'lib/internal/test_runner/reporter/v8-serializer.js',
261
263
  'lib/internal/test_runner/runner.js',
262
- 'lib/internal/test_runner/tap_checker.js',
263
- 'lib/internal/test_runner/tap_lexer.js',
264
- 'lib/internal/test_runner/tap_parser.js',
265
264
  'lib/internal/test_runner/test.js',
266
265
  'lib/internal/test_runner/tests_stream.js',
267
266
  'lib/internal/test_runner/utils.js',
268
- 'lib/internal/test_runner/yaml_to_js.js',
269
267
  'lib/internal/timers.js',
270
268
  'lib/internal/tls/secure-context.js',
271
269
  'lib/internal/tls/secure-pair.js',
@@ -291,6 +289,7 @@
291
289
  'lib/internal/wasm_web_api.js',
292
290
  'lib/internal/watch_mode/files_watcher.js',
293
291
  'lib/internal/watchdog.js',
292
+ 'lib/internal/webidl.js',
294
293
  'lib/internal/webstreams/adapters.js',
295
294
  'lib/internal/webstreams/compression.js',
296
295
  'lib/internal/webstreams/encoding.js',
@@ -323,6 +322,7 @@
323
322
  'lib/string_decoder.js',
324
323
  'lib/sys.js',
325
324
  'lib/test.js',
325
+ 'lib/test/reporters.js',
326
326
  'lib/timers.js',
327
327
  'lib/timers/promises.js',
328
328
  'lib/tls.js',
@@ -95,13 +95,13 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_string_utf16(napi_env env,
95
95
  NAPI_EXTERN napi_status NAPI_CDECL napi_create_symbol(napi_env env,
96
96
  napi_value description,
97
97
  napi_value* result);
98
- #ifdef NAPI_EXPERIMENTAL
98
+ #if NAPI_VERSION >= 9
99
99
  NAPI_EXTERN napi_status NAPI_CDECL
100
100
  node_api_symbol_for(napi_env env,
101
101
  const char* utf8description,
102
102
  size_t length,
103
103
  napi_value* result);
104
- #endif // NAPI_EXPERIMENTAL
104
+ #endif // NAPI_VERSION >= 9
105
105
  NAPI_EXTERN napi_status NAPI_CDECL napi_create_function(napi_env env,
106
106
  const char* utf8name,
107
107
  size_t length,
@@ -120,10 +120,10 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_range_error(napi_env env,
120
120
  napi_value code,
121
121
  napi_value msg,
122
122
  napi_value* result);
123
- #ifdef NAPI_EXPERIMENTAL
123
+ #if NAPI_VERSION >= 9
124
124
  NAPI_EXTERN napi_status NAPI_CDECL node_api_create_syntax_error(
125
125
  napi_env env, napi_value code, napi_value msg, napi_value* result);
126
- #endif // NAPI_EXPERIMENTAL
126
+ #endif // NAPI_VERSION >= 9
127
127
 
128
128
  // Methods to get the native napi_value from Primitive type
129
129
  NAPI_EXTERN napi_status NAPI_CDECL napi_typeof(napi_env env,
@@ -378,11 +378,11 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_throw_type_error(napi_env env,
378
378
  NAPI_EXTERN napi_status NAPI_CDECL napi_throw_range_error(napi_env env,
379
379
  const char* code,
380
380
  const char* msg);
381
- #ifdef NAPI_EXPERIMENTAL
381
+ #if NAPI_VERSION >= 9
382
382
  NAPI_EXTERN napi_status NAPI_CDECL node_api_throw_syntax_error(napi_env env,
383
383
  const char* code,
384
384
  const char* msg);
385
- #endif // NAPI_EXPERIMENTAL
385
+ #endif // NAPI_VERSION >= 9
386
386
  NAPI_EXTERN napi_status NAPI_CDECL napi_is_error(napi_env env,
387
387
  napi_value value,
388
388
  bool* result);
@@ -99,7 +99,8 @@ typedef enum {
99
99
  napi_arraybuffer_expected,
100
100
  napi_detachable_arraybuffer_expected,
101
101
  napi_would_deadlock, // unused
102
- napi_no_external_buffers_allowed
102
+ napi_no_external_buffers_allowed,
103
+ napi_cannot_run_js,
103
104
  } napi_status;
104
105
  // Note: when adding a new enum value to `napi_status`, please also update
105
106
  // * `const int last_status` in the definition of `napi_get_last_error_info()'
@@ -75,6 +75,9 @@
75
75
  #include "v8-platform.h" // NOLINT(build/include_order)
76
76
  #include "node_version.h" // NODE_MODULE_VERSION
77
77
 
78
+ #define NAPI_EXPERIMENTAL
79
+ #include "node_api.h"
80
+
78
81
  #include <functional>
79
82
  #include <memory>
80
83
  #include <ostream>
@@ -121,8 +124,6 @@
121
124
  // Forward-declare libuv loop
122
125
  struct uv_loop_s;
123
126
 
124
- struct napi_module;
125
-
126
127
  // Forward-declare these functions now to stop MSVS from becoming
127
128
  // terminally confused when it's done in node_internals.h
128
129
  namespace node {
@@ -361,10 +362,25 @@ inline std::unique_ptr<InitializationResult> InitializeOncePerProcess(
361
362
  }
362
363
 
363
364
  enum OptionEnvvarSettings {
364
- kAllowedInEnvironment,
365
- kDisallowedInEnvironment
365
+ // Allow the options to be set via the environment variable, like
366
+ // `NODE_OPTIONS`.
367
+ kAllowedInEnvvar = 0,
368
+ // Disallow the options to be set via the environment variable, like
369
+ // `NODE_OPTIONS`.
370
+ kDisallowedInEnvvar = 1,
371
+ // Deprecated, use kAllowedInEnvvar instead.
372
+ kAllowedInEnvironment = kAllowedInEnvvar,
373
+ // Deprecated, use kDisallowedInEnvvar instead.
374
+ kDisallowedInEnvironment = kDisallowedInEnvvar,
366
375
  };
367
376
 
377
+ // Process the arguments and set up the per-process options.
378
+ // If the `settings` is set as OptionEnvvarSettings::kAllowedInEnvvar, the
379
+ // options that are allowed in the environment variable are processed. Options
380
+ // that are disallowed to be set via environment variable are processed as
381
+ // errors.
382
+ // Otherwise all the options that are disallowed (and those are allowed) to be
383
+ // set via environment variable are processed.
368
384
  NODE_EXTERN int ProcessGlobalArgs(std::vector<std::string>* args,
369
385
  std::vector<std::string>* exec_args,
370
386
  std::vector<std::string>* errors,
@@ -629,7 +645,8 @@ NODE_EXTERN Environment* GetCurrentEnvironment(v8::Local<v8::Context> context);
629
645
  NODE_EXTERN IsolateData* GetEnvironmentIsolateData(Environment* env);
630
646
  NODE_EXTERN ArrayBufferAllocator* GetArrayBufferAllocator(IsolateData* data);
631
647
 
632
- NODE_EXTERN void OnFatalError(const char* location, const char* message);
648
+ [[noreturn]] NODE_EXTERN void OnFatalError(const char* location,
649
+ const char* message);
633
650
  NODE_EXTERN void PromiseRejectCallback(v8::PromiseRejectMessage message);
634
651
  NODE_EXTERN bool AllowWasmCodeGenerationCallback(v8::Local<v8::Context> context,
635
652
  v8::Local<v8::String>);
@@ -1081,6 +1098,11 @@ NODE_EXTERN void AddLinkedBinding(Environment* env,
1081
1098
  const char* name,
1082
1099
  addon_context_register_func fn,
1083
1100
  void* priv);
1101
+ NODE_EXTERN void AddLinkedBinding(
1102
+ Environment* env,
1103
+ const char* name,
1104
+ napi_addon_register_func fn,
1105
+ int32_t module_api_version = NODE_API_DEFAULT_MODULE_API_VERSION);
1084
1106
 
1085
1107
  /* Registers a callback with the passed-in Environment instance. The callback
1086
1108
  * is called after the event loop exits, but before the VM is disposed.
@@ -30,7 +30,9 @@ struct uv_loop_s; // Forward declaration.
30
30
 
31
31
  typedef napi_value(NAPI_CDECL* napi_addon_register_func)(napi_env env,
32
32
  napi_value exports);
33
+ typedef int32_t(NAPI_CDECL* node_api_addon_get_api_version_func)();
33
34
 
35
+ // Used by deprecated registration method napi_module_register.
34
36
  typedef struct napi_module {
35
37
  int nm_version;
36
38
  unsigned int nm_flags;
@@ -43,85 +45,51 @@ typedef struct napi_module {
43
45
 
44
46
  #define NAPI_MODULE_VERSION 1
45
47
 
46
- #if defined(_MSC_VER)
47
- #if defined(__cplusplus)
48
- #define NAPI_C_CTOR(fn) \
49
- static void NAPI_CDECL fn(void); \
50
- namespace { \
51
- struct fn##_ { \
52
- fn##_() { fn(); } \
53
- } fn##_v_; \
54
- } \
55
- static void NAPI_CDECL fn(void)
56
- #else // !defined(__cplusplus)
57
- #pragma section(".CRT$XCU", read)
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 NAPI_CDECL fn(void); \
66
- __declspec(dllexport, allocate(".CRT$XCU")) void(NAPI_CDECL * fn##_)(void) = \
67
- fn; \
68
- static void NAPI_CDECL fn(void)
69
- #endif // defined(__cplusplus)
70
- #else
71
- #define NAPI_C_CTOR(fn) \
72
- static void fn(void) __attribute__((constructor)); \
73
- static void fn(void)
74
- #endif
75
-
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); } \
88
- EXTERN_C_END
89
-
90
48
  #define NAPI_MODULE_INITIALIZER_X(base, version) \
91
49
  NAPI_MODULE_INITIALIZER_X_HELPER(base, version)
92
50
  #define NAPI_MODULE_INITIALIZER_X_HELPER(base, version) base##version
93
51
 
94
52
  #ifdef __wasm32__
95
- #define NAPI_WASM_INITIALIZER \
96
- NAPI_MODULE_INITIALIZER_X(napi_register_wasm_v, NAPI_MODULE_VERSION)
97
- #define NAPI_MODULE(modname, regfunc) \
98
- EXTERN_C_START \
99
- NAPI_MODULE_EXPORT napi_value NAPI_WASM_INITIALIZER(napi_env env, \
100
- napi_value exports) { \
101
- return regfunc(env, exports); \
102
- } \
103
- EXTERN_C_END
53
+ #define NAPI_MODULE_INITIALIZER_BASE napi_register_wasm_v
104
54
  #else
105
- #define NAPI_MODULE(modname, regfunc) \
106
- NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
55
+ #define NAPI_MODULE_INITIALIZER_BASE napi_register_module_v
107
56
  #endif
108
57
 
109
- #define NAPI_MODULE_INITIALIZER_BASE napi_register_module_v
58
+ #define NODE_API_MODULE_GET_API_VERSION_BASE node_api_module_get_api_version_v
110
59
 
111
60
  #define NAPI_MODULE_INITIALIZER \
112
61
  NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE, NAPI_MODULE_VERSION)
113
62
 
63
+ #define NODE_API_MODULE_GET_API_VERSION \
64
+ NAPI_MODULE_INITIALIZER_X(NODE_API_MODULE_GET_API_VERSION_BASE, \
65
+ NAPI_MODULE_VERSION)
66
+
114
67
  #define NAPI_MODULE_INIT() \
115
68
  EXTERN_C_START \
69
+ NAPI_MODULE_EXPORT int32_t NODE_API_MODULE_GET_API_VERSION() { \
70
+ return NAPI_VERSION; \
71
+ } \
116
72
  NAPI_MODULE_EXPORT napi_value NAPI_MODULE_INITIALIZER(napi_env env, \
117
73
  napi_value exports); \
118
74
  EXTERN_C_END \
119
- NAPI_MODULE(NODE_GYP_MODULE_NAME, NAPI_MODULE_INITIALIZER) \
120
75
  napi_value NAPI_MODULE_INITIALIZER(napi_env env, napi_value exports)
121
76
 
77
+ #define NAPI_MODULE(modname, regfunc) \
78
+ NAPI_MODULE_INIT() { return regfunc(env, exports); }
79
+
80
+ // Deprecated. Use NAPI_MODULE.
81
+ #define NAPI_MODULE_X(modname, regfunc, priv, flags) \
82
+ NAPI_MODULE(modname, regfunc)
83
+
122
84
  EXTERN_C_START
123
85
 
124
- NAPI_EXTERN void NAPI_CDECL napi_module_register(napi_module* mod);
86
+ // Deprecated. Replaced by symbol-based registration defined by NAPI_MODULE
87
+ // and NAPI_MODULE_INIT macros.
88
+ #if defined(__cplusplus) && __cplusplus >= 201402L
89
+ [[deprecated]]
90
+ #endif
91
+ NAPI_EXTERN void NAPI_CDECL
92
+ napi_module_register(napi_module* mod);
125
93
 
126
94
  NAPI_EXTERN NAPI_NO_RETURN void NAPI_CDECL
127
95
  napi_fatal_error(const char* location,
@@ -280,12 +248,12 @@ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
280
248
 
281
249
  #endif // NAPI_VERSION >= 8
282
250
 
283
- #ifdef NAPI_EXPERIMENTAL
251
+ #if NAPI_VERSION >= 9
284
252
 
285
253
  NAPI_EXTERN napi_status NAPI_CDECL
286
254
  node_api_get_module_file_name(napi_env env, const char** result);
287
255
 
288
- #endif // NAPI_EXPERIMENTAL
256
+ #endif // NAPI_VERSION >= 9
289
257
 
290
258
  EXTERN_C_END
291
259
 
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 18
26
- #define NODE_MINOR_VERSION 16
26
+ #define NODE_MINOR_VERSION 17
27
27
  #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 1
@@ -93,6 +93,10 @@
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.
96
- #define NAPI_VERSION 8
96
+ #define NAPI_VERSION 9
97
+
98
+ // Node API modules use NAPI_VERSION 8 by default if it is not explicitly
99
+ // specified. It must be always 8.
100
+ #define NODE_API_DEFAULT_MODULE_API_VERSION 8
97
101
 
98
102
  #endif // SRC_NODE_VERSION_H_
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86"
14
- #define DATE "built on: Mon Feb 13 14:21:06 2023 UTC"
14
+ #define DATE "built on: Fri Jun 9 11:58:46 2023 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -2,7 +2,7 @@
2
2
  * WARNING: do not edit!
3
3
  * Generated by Makefile from include/openssl/cmp.h.in
4
4
  *
5
- * Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
5
+ * Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved.
6
6
  * Copyright Nokia 2007-2019
7
7
  * Copyright Siemens AG 2015-2019
8
8
  *
@@ -442,8 +442,8 @@ int OSSL_CMP_CTX_build_cert_chain(OSSL_CMP_CTX *ctx, X509_STORE *own_trusted,
442
442
  int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey);
443
443
  int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx,
444
444
  const unsigned char *ref, int len);
445
- int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx, const unsigned char *sec,
446
- const int len);
445
+ int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
446
+ const unsigned char *sec, int len);
447
447
  /* CMP message header and extra certificates: */
448
448
  int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name);
449
449
  int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
@@ -503,6 +503,7 @@ ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr);
503
503
  OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg);
504
504
  int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg);
505
505
  int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
506
+ int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
506
507
  OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid);
507
508
  OSSL_CMP_MSG *OSSL_CMP_MSG_read(const char *file, OSSL_LIB_CTX *libctx,
508
509
  const char *propq);
@@ -29,7 +29,7 @@ extern "C" {
29
29
  */
30
30
  # define OPENSSL_VERSION_MAJOR 3
31
31
  # define OPENSSL_VERSION_MINOR 0
32
- # define OPENSSL_VERSION_PATCH 8
32
+ # define OPENSSL_VERSION_PATCH 9
33
33
 
34
34
  /*
35
35
  * Additional version information
@@ -74,21 +74,21 @@ extern "C" {
74
74
  * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
75
75
  * OPENSSL_VERSION_BUILD_METADATA_STR appended.
76
76
  */
77
- # define OPENSSL_VERSION_STR "3.0.8"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.8+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.9"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.9+quic"
79
79
 
80
80
  /*
81
81
  * SECTION 3: ADDITIONAL METADATA
82
82
  *
83
83
  * These strings are defined separately to allow them to be parsable.
84
84
  */
85
- # define OPENSSL_RELEASE_DATE "7 Feb 2023"
85
+ # define OPENSSL_RELEASE_DATE "30 May 2023"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.8+quic 7 Feb 2023"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.9+quic 30 May 2023"
92
92
 
93
93
  /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
94
94
  # ifdef OPENSSL_VERSION_PRE_RELEASE
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: BSD-x86"
14
- #define DATE "built on: Mon Feb 13 14:21:18 2023 UTC"
14
+ #define DATE "built on: Fri Jun 9 11:59:07 2023 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a