node-linux-arm64 22.9.0 → 23.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 (169) hide show
  1. package/CHANGELOG.md +395 -1901
  2. package/README.md +13 -4
  3. package/bin/node +0 -0
  4. package/include/node/common.gypi +3 -3
  5. package/include/node/config.gypi +5 -5
  6. package/include/node/cppgc/allocation.h +10 -11
  7. package/include/node/cppgc/garbage-collected.h +8 -0
  8. package/include/node/cppgc/heap-statistics.h +2 -0
  9. package/include/node/cppgc/internal/api-constants.h +6 -1
  10. package/include/node/cppgc/internal/compiler-specific.h +9 -1
  11. package/include/node/cppgc/internal/gc-info.h +12 -10
  12. package/include/node/cppgc/internal/member-storage.h +6 -0
  13. package/include/node/cppgc/internal/name-trait.h +5 -1
  14. package/include/node/cppgc/name-provider.h +7 -0
  15. package/include/node/node.h +8 -18
  16. package/include/node/node_api.h +12 -0
  17. package/include/node/node_version.h +3 -3
  18. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  19. package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
  20. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  21. package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
  22. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  23. package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
  24. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  25. package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
  26. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  27. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  28. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  29. package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  30. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  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 +1 -1
  33. package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
  34. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  35. package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
  36. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  37. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
  38. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  39. package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
  40. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  41. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
  42. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  43. package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
  44. package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
  45. package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
  46. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
  47. package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
  48. package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
  49. package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
  50. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  51. package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
  52. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  53. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  54. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  55. package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
  56. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  57. package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
  58. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  59. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  60. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  61. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
  62. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  63. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
  64. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  65. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
  66. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  67. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
  68. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  69. package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
  70. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  71. package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
  72. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  73. package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
  74. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  75. package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
  76. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  77. package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
  78. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  79. package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
  80. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  81. package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
  82. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  83. package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
  84. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  85. package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
  86. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  87. package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
  88. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  89. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
  90. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  91. package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
  92. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  93. package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
  94. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  95. package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
  96. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  97. package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
  98. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  99. package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
  100. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  101. package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  102. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  103. package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
  104. package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +1 -1
  105. package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +5 -5
  106. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  107. package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
  108. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  109. package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
  110. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  111. package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
  112. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
  113. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
  114. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  115. package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
  116. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  117. package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
  118. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  119. package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
  120. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  121. package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
  122. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  123. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  124. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  125. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
  126. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  127. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
  128. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  129. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
  130. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  131. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
  132. package/include/node/openssl/sslerr.h +3 -1
  133. package/include/node/openssl/tls1.h +3 -1
  134. package/include/node/v8-array-buffer.h +44 -24
  135. package/include/node/v8-callbacks.h +10 -5
  136. package/include/node/v8-context.h +41 -9
  137. package/include/node/v8-cppgc.h +3 -55
  138. package/include/node/v8-date.h +9 -0
  139. package/include/node/v8-embedder-heap.h +4 -1
  140. package/include/node/v8-exception.h +70 -0
  141. package/include/node/v8-function-callback.h +203 -62
  142. package/include/node/v8-function.h +4 -3
  143. package/include/node/v8-handle-base.h +2 -2
  144. package/include/node/v8-initialization.h +18 -1
  145. package/include/node/v8-internal.h +303 -58
  146. package/include/node/v8-isolate.h +51 -39
  147. package/include/node/v8-local-handle.h +18 -19
  148. package/include/node/v8-message.h +0 -21
  149. package/include/node/v8-microtask-queue.h +0 -5
  150. package/include/node/v8-object.h +284 -35
  151. package/include/node/v8-persistent-handle.h +0 -19
  152. package/include/node/v8-platform.h +21 -35
  153. package/include/node/v8-primitive.h +92 -1
  154. package/include/node/v8-profiler.h +38 -1
  155. package/include/node/v8-promise.h +2 -2
  156. package/include/node/v8-sandbox.h +173 -0
  157. package/include/node/v8-script.h +44 -14
  158. package/include/node/v8-snapshot.h +38 -2
  159. package/include/node/v8-template.h +105 -263
  160. package/include/node/v8-traced-handle.h +4 -15
  161. package/include/node/v8-unwinder.h +2 -1
  162. package/include/node/v8-value.h +3 -2
  163. package/include/node/v8-version.h +3 -3
  164. package/include/node/v8-wasm.h +3 -0
  165. package/include/node/v8config.h +47 -7
  166. package/package.json +1 -1
  167. package/share/doc/node/gdbinit +41 -3
  168. package/share/doc/node/lldb_commands.py +7 -2
  169. package/share/man/man1/node.1 +3 -14
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
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: linux64-s390x"
14
- #define DATE "built on: Wed Jan 31 13:04:34 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:12:38 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
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: linux64-s390x"
14
- #define DATE "built on: Wed Jan 31 13:04:46 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:12:51 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
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: linux64-s390x"
14
- #define DATE "built on: Wed Jan 31 13:04:59 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:13:04 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
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: solaris-x86-gcc"
14
- #define DATE "built on: Wed Jan 31 13:05:47 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:13:52 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
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: solaris-x86-gcc"
14
- #define DATE "built on: Wed Jan 31 13:06:00 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:14:05 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
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: solaris-x86-gcc"
14
- #define DATE "built on: Wed Jan 31 13:06:14 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:14:18 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
92
92
 
93
93
  /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
94
94
  # ifdef OPENSSL_VERSION_PRE_RELEASE
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: solaris64-x86_64-gcc"
14
- #define DATE "built on: Wed Jan 31 13:06:25 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:14:30 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
92
92
 
93
93
  /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
94
94
  # ifdef OPENSSL_VERSION_PRE_RELEASE
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: solaris64-x86_64-gcc"
14
- #define DATE "built on: Wed Jan 31 13:06:41 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:14:46 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
92
92
 
93
93
  /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
94
94
  # ifdef OPENSSL_VERSION_PRE_RELEASE
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  #define PLATFORM "platform: solaris64-x86_64-gcc"
14
- #define DATE "built on: Wed Jan 31 13:06:57 2024 UTC"
14
+ #define DATE "built on: Mon Sep 30 17:15:02 2024 UTC"
15
15
 
16
16
  /*
17
17
  * Generate compiler_flags as an array of individual characters. This is a
@@ -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 13
32
+ # define OPENSSL_VERSION_PATCH 15
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.13"
78
- # define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
77
+ # define OPENSSL_VERSION_STR "3.0.15"
78
+ # define OPENSSL_FULL_VERSION_STR "3.0.15+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 "30 Jan 2024"
85
+ # define OPENSSL_RELEASE_DATE "3 Sep 2024"
86
86
 
87
87
  /*
88
88
  * SECTION 4: BACKWARD COMPATIBILITY
89
89
  */
90
90
 
91
- # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
91
+ # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
92
92
 
93
93
  /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
94
94
  # ifdef OPENSSL_VERSION_PRE_RELEASE
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Generated by util/mkerr.pl DO NOT EDIT
3
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License 2.0 (the "License"). You may not use
6
6
  * this file except in compliance with the License. You can obtain a copy
@@ -284,10 +284,12 @@
284
284
  # define SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK 1086
285
285
  # define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY 1071
286
286
  # define SSL_R_TLSV1_ALERT_INTERNAL_ERROR 1080
287
+ # define SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL 1120
287
288
  # define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION 1100
288
289
  # define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION 1070
289
290
  # define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW 1022
290
291
  # define SSL_R_TLSV1_ALERT_UNKNOWN_CA 1048
292
+ # define SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY 1115
291
293
  # define SSL_R_TLSV1_ALERT_USER_CANCELLED 1090
292
294
  # define SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
293
295
  # define SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
2
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
3
3
  * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
4
4
  * Copyright 2005 Nokia. All rights reserved.
5
5
  *
@@ -214,6 +214,8 @@ extern "C" {
214
214
  # define TLSEXT_max_fragment_length_1024 2
215
215
  # define TLSEXT_max_fragment_length_2048 3
216
216
  # define TLSEXT_max_fragment_length_4096 4
217
+ /* OpenSSL value for unset maximum fragment length extension */
218
+ # define TLSEXT_max_fragment_length_UNSPECIFIED 255
217
219
 
218
220
  int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
219
221
  int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);
@@ -18,11 +18,12 @@ namespace v8 {
18
18
  class SharedArrayBuffer;
19
19
 
20
20
  #ifndef V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT
21
- // The number of required internal fields can be defined by embedder.
21
+ // Defined using gn arg `v8_array_buffer_internal_field_count`.
22
22
  #define V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT 2
23
23
  #endif
24
24
 
25
25
  enum class ArrayBufferCreationMode { kInternalized, kExternalized };
26
+ enum class BackingStoreInitializationMode { kZeroInitialized, kUninitialized };
26
27
 
27
28
  /**
28
29
  * A wrapper around the backing store (i.e. the raw memory) of an array buffer.
@@ -87,6 +88,9 @@ class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase {
87
88
  * Assumes that the backing_store was allocated by the ArrayBuffer allocator
88
89
  * of the given isolate.
89
90
  */
91
+ V8_DEPRECATED(
92
+ "Reallocate is unsafe, please do not use. Please allocate a new "
93
+ "BackingStore and copy instead.")
90
94
  static std::unique_ptr<BackingStore> Reallocate(
91
95
  v8::Isolate* isolate, std::unique_ptr<BackingStore> backing_store,
92
96
  size_t byte_length);
@@ -179,6 +183,9 @@ class V8_EXPORT ArrayBuffer : public Object {
179
183
  *
180
184
  * The default implementation allocates a new block and copies data.
181
185
  */
186
+ V8_DEPRECATED(
187
+ "Reallocate is unsafe, please do not use. Please allocate new memory "
188
+ "and copy instead.")
182
189
  virtual void* Reallocate(void* data, size_t old_length, size_t new_length);
183
190
 
184
191
  /**
@@ -211,12 +218,15 @@ class V8_EXPORT ArrayBuffer : public Object {
211
218
  size_t MaxByteLength() const;
212
219
 
213
220
  /**
214
- * Create a new ArrayBuffer. Allocate |byte_length| bytes.
215
- * Allocated memory will be owned by a created ArrayBuffer and
216
- * will be deallocated when it is garbage-collected,
221
+ * Create a new ArrayBuffer. Allocate |byte_length| bytes, which are either
222
+ * zero-initialized or uninitialized. Allocated memory will be owned by a
223
+ * created ArrayBuffer and will be deallocated when it is garbage-collected,
217
224
  * unless the object is externalized.
218
225
  */
219
- static Local<ArrayBuffer> New(Isolate* isolate, size_t byte_length);
226
+ static Local<ArrayBuffer> New(
227
+ Isolate* isolate, size_t byte_length,
228
+ BackingStoreInitializationMode initialization_mode =
229
+ BackingStoreInitializationMode::kZeroInitialized);
220
230
 
221
231
  /**
222
232
  * Create a new ArrayBuffer with an existing backing store.
@@ -235,15 +245,18 @@ class V8_EXPORT ArrayBuffer : public Object {
235
245
 
236
246
  /**
237
247
  * Returns a new standalone BackingStore that is allocated using the array
238
- * buffer allocator of the isolate. The result can be later passed to
248
+ * buffer allocator of the isolate. The allocation can either be zero
249
+ * intialized, or uninitialized. The result can be later passed to
239
250
  * ArrayBuffer::New.
240
251
  *
241
252
  * If the allocator returns nullptr, then the function may cause GCs in the
242
253
  * given isolate and re-try the allocation. If GCs do not help, then the
243
254
  * function will crash with an out-of-memory error.
244
255
  */
245
- static std::unique_ptr<BackingStore> NewBackingStore(Isolate* isolate,
246
- size_t byte_length);
256
+ static std::unique_ptr<BackingStore> NewBackingStore(
257
+ Isolate* isolate, size_t byte_length,
258
+ BackingStoreInitializationMode initialization_mode =
259
+ BackingStoreInitializationMode::kZeroInitialized);
247
260
  /**
248
261
  * Returns a new standalone BackingStore that takes over the ownership of
249
262
  * the given buffer. The destructor of the BackingStore invokes the given
@@ -287,7 +300,7 @@ class V8_EXPORT ArrayBuffer : public Object {
287
300
  * preventing JavaScript from ever accessing underlying backing store.
288
301
  * ArrayBuffer should have been externalized and must be detachable.
289
302
  */
290
- V8_DEPRECATE_SOON(
303
+ V8_DEPRECATED(
291
304
  "Use the version which takes a key parameter (passing a null handle is "
292
305
  "ok).")
293
306
  void Detach();
@@ -337,8 +350,9 @@ class V8_EXPORT ArrayBuffer : public Object {
337
350
  return static_cast<ArrayBuffer*>(value);
338
351
  }
339
352
 
340
- static const int kInternalFieldCount = V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
341
- static const int kEmbedderFieldCount = V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
353
+ static constexpr int kInternalFieldCount =
354
+ V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
355
+ static constexpr int kEmbedderFieldCount = kInternalFieldCount;
342
356
 
343
357
  private:
344
358
  ArrayBuffer();
@@ -346,7 +360,7 @@ class V8_EXPORT ArrayBuffer : public Object {
346
360
  };
347
361
 
348
362
  #ifndef V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT
349
- // The number of required internal fields can be defined by embedder.
363
+ // Defined using gn arg `v8_array_buffer_view_internal_field_count`.
350
364
  #define V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT 2
351
365
  #endif
352
366
 
@@ -393,10 +407,9 @@ class V8_EXPORT ArrayBufferView : public Object {
393
407
  return static_cast<ArrayBufferView*>(value);
394
408
  }
395
409
 
396
- static const int kInternalFieldCount =
397
- V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT;
398
- static const int kEmbedderFieldCount =
410
+ static constexpr int kInternalFieldCount =
399
411
  V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT;
412
+ static const int kEmbedderFieldCount = kInternalFieldCount;
400
413
 
401
414
  private:
402
415
  ArrayBufferView();
@@ -440,12 +453,15 @@ class V8_EXPORT SharedArrayBuffer : public Object {
440
453
  size_t MaxByteLength() const;
441
454
 
442
455
  /**
443
- * Create a new SharedArrayBuffer. Allocate |byte_length| bytes.
444
- * Allocated memory will be owned by a created SharedArrayBuffer and
445
- * will be deallocated when it is garbage-collected,
446
- * unless the object is externalized.
456
+ * Create a new SharedArrayBuffer. Allocate |byte_length| bytes, which are
457
+ * either zero-initialized or uninitialized. Allocated memory will be owned by
458
+ * a created SharedArrayBuffer and will be deallocated when it is
459
+ * garbage-collected, unless the object is externalized.
447
460
  */
448
- static Local<SharedArrayBuffer> New(Isolate* isolate, size_t byte_length);
461
+ static Local<SharedArrayBuffer> New(
462
+ Isolate* isolate, size_t byte_length,
463
+ BackingStoreInitializationMode initialization_mode =
464
+ BackingStoreInitializationMode::kZeroInitialized);
449
465
 
450
466
  /**
451
467
  * Create a new SharedArrayBuffer with an existing backing store.
@@ -464,15 +480,18 @@ class V8_EXPORT SharedArrayBuffer : public Object {
464
480
 
465
481
  /**
466
482
  * Returns a new standalone BackingStore that is allocated using the array
467
- * buffer allocator of the isolate. The result can be later passed to
483
+ * buffer allocator of the isolate. The allocation can either be zero
484
+ * intialized, or uninitialized. The result can be later passed to
468
485
  * SharedArrayBuffer::New.
469
486
  *
470
487
  * If the allocator returns nullptr, then the function may cause GCs in the
471
488
  * given isolate and re-try the allocation. If GCs do not help, then the
472
489
  * function will crash with an out-of-memory error.
473
490
  */
474
- static std::unique_ptr<BackingStore> NewBackingStore(Isolate* isolate,
475
- size_t byte_length);
491
+ static std::unique_ptr<BackingStore> NewBackingStore(
492
+ Isolate* isolate, size_t byte_length,
493
+ BackingStoreInitializationMode initialization_mode =
494
+ BackingStoreInitializationMode::kZeroInitialized);
476
495
  /**
477
496
  * Returns a new standalone BackingStore that takes over the ownership of
478
497
  * the given buffer. The destructor of the BackingStore invokes the given
@@ -506,7 +525,8 @@ class V8_EXPORT SharedArrayBuffer : public Object {
506
525
  return static_cast<SharedArrayBuffer*>(value);
507
526
  }
508
527
 
509
- static const int kInternalFieldCount = V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
528
+ static constexpr int kInternalFieldCount =
529
+ V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
510
530
 
511
531
  private:
512
532
  SharedArrayBuffer();