node-aix-ppc64 21.7.2 → 22.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 (43) hide show
  1. package/CHANGELOG.md +335 -1499
  2. package/README.md +22 -18
  3. package/bin/node +0 -0
  4. package/include/node/common.gypi +29 -2
  5. package/include/node/config.gypi +6 -4
  6. package/include/node/cppgc/internal/api-constants.h +1 -1
  7. package/include/node/cppgc/type-traits.h +25 -4
  8. package/include/node/node.exp +10321 -5241
  9. package/include/node/node.h +23 -2
  10. package/include/node/node_api.h +1 -1
  11. package/include/node/node_buffer.h +1 -1
  12. package/include/node/node_version.h +4 -4
  13. package/include/node/v8-array-buffer.h +6 -0
  14. package/include/node/v8-callbacks.h +6 -12
  15. package/include/node/v8-container.h +54 -0
  16. package/include/node/v8-context.h +51 -22
  17. package/include/node/v8-embedder-heap.h +19 -3
  18. package/include/node/v8-embedder-state-scope.h +2 -1
  19. package/include/node/v8-exception.h +15 -9
  20. package/include/node/v8-forward.h +1 -0
  21. package/include/node/v8-function-callback.h +129 -20
  22. package/include/node/v8-handle-base.h +32 -80
  23. package/include/node/v8-internal.h +472 -65
  24. package/include/node/v8-isolate.h +86 -51
  25. package/include/node/v8-local-handle.h +257 -31
  26. package/include/node/v8-memory-span.h +157 -2
  27. package/include/node/v8-message.h +22 -3
  28. package/include/node/v8-object.h +29 -10
  29. package/include/node/v8-persistent-handle.h +5 -3
  30. package/include/node/v8-platform.h +81 -44
  31. package/include/node/v8-script.h +61 -11
  32. package/include/node/v8-snapshot.h +94 -23
  33. package/include/node/v8-statistics.h +10 -24
  34. package/include/node/v8-template.h +410 -131
  35. package/include/node/v8-traced-handle.h +81 -46
  36. package/include/node/v8-typed-array.h +115 -7
  37. package/include/node/v8-value.h +92 -4
  38. package/include/node/v8-version.h +4 -4
  39. package/include/node/v8config.h +35 -10
  40. package/package.json +1 -1
  41. package/share/doc/node/gdbinit +77 -38
  42. package/share/doc/node/lldb_commands.py +59 -29
  43. package/share/man/man1/node.1 +7 -6
package/README.md CHANGED
@@ -195,7 +195,7 @@ For information about the governance of the Node.js project, see
195
195
  * [ronag](https://github.com/ronag) -
196
196
  **Robert Nagy** <<ronagy@icloud.com>>
197
197
  * [ruyadorno](https://github.com/ruyadorno) -
198
- **Ruy Adorno** <<ruyadorno@google.com>> (he/him)
198
+ **Ruy Adorno** <<ruy@vlt.sh>> (he/him)
199
199
  * [ShogunPanda](https://github.com/ShogunPanda) -
200
200
  **Paolo Insogna** <<paolo@cowtech.it>> (he/him)
201
201
  * [targos](https://github.com/targos) -
@@ -215,20 +215,10 @@ For information about the governance of the Node.js project, see
215
215
  **Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
216
216
  * [codebytere](https://github.com/codebytere) -
217
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
218
  * [danielleadams](https://github.com/danielleadams) -
221
219
  **Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
222
- * [fhinkel](https://github.com/fhinkel) -
223
- **Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
224
- * [gabrielschulhof](https://github.com/gabrielschulhof) -
225
- **Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
226
- * [mscdex](https://github.com/mscdex) -
227
- **Brian White** <<mscdex@mscdex.net>>
228
220
  * [MylesBorins](https://github.com/MylesBorins) -
229
221
  **Myles Borins** <<myles.borins@gmail.com>> (he/him)
230
- * [rvagg](https://github.com/rvagg) -
231
- **Rod Vagg** <<r@va.gg>>
232
222
  * [TimothyGu](https://github.com/TimothyGu) -
233
223
  **Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
234
224
  * [Trott](https://github.com/Trott) -
@@ -244,10 +234,16 @@ For information about the governance of the Node.js project, see
244
234
  **Anna Henningsen** <<anna@addaleax.net>> (she/her)
245
235
  * [chrisdickinson](https://github.com/chrisdickinson) -
246
236
  **Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
237
+ * [danbev](https://github.com/danbev) -
238
+ **Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
247
239
  * [evanlucas](https://github.com/evanlucas) -
248
240
  **Evan Lucas** <<evanlucas@me.com>> (he/him)
241
+ * [fhinkel](https://github.com/fhinkel) -
242
+ **Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
249
243
  * [Fishrock123](https://github.com/Fishrock123) -
250
244
  **Jeremiah Senkpiel** <<fishrock123@rocketmail.com>> (he/they)
245
+ * [gabrielschulhof](https://github.com/gabrielschulhof) -
246
+ **Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
251
247
  * [gibfahn](https://github.com/gibfahn) -
252
248
  **Gibson Fahnestock** <<gibfahn@gmail.com>> (he/him)
253
249
  * [indutny](https://github.com/indutny) -
@@ -258,6 +254,8 @@ For information about the governance of the Node.js project, see
258
254
  **Josh Gavant** <<josh.gavant@outlook.com>>
259
255
  * [mmarchini](https://github.com/mmarchini) -
260
256
  **Mary Marchini** <<oss@mmarchini.me>> (she/her)
257
+ * [mscdex](https://github.com/mscdex) -
258
+ **Brian White** <<mscdex@mscdex.net>>
261
259
  * [nebrius](https://github.com/nebrius) -
262
260
  **Bryan Hughes** <<bryan@nebri.us>>
263
261
  * [ofrobots](https://github.com/ofrobots) -
@@ -268,6 +266,8 @@ For information about the governance of the Node.js project, see
268
266
  **Bert Belder** <<bertbelder@gmail.com>>
269
267
  * [RaisinTen](https://github.com/RaisinTen) -
270
268
  **Darshan Sen** <<raisinten@gmail.com>> (he/him)
269
+ * [rvagg](https://github.com/rvagg) -
270
+ **Rod Vagg** <<r@va.gg>>
271
271
  * [sam-github](https://github.com/sam-github) -
272
272
  **Sam Roberts** <<vieuxtech@gmail.com>>
273
273
  * [shigeki](https://github.com/shigeki) -
@@ -365,8 +365,6 @@ For information about the governance of the Node.js project, see
365
365
  **Harshitha K P** <<harshitha014@gmail.com>> (she/her)
366
366
  * [himself65](https://github.com/himself65) -
367
367
  **Zeyu "Alex" Yang** <<himself65@outlook.com>> (he/him)
368
- * [iansu](https://github.com/iansu) -
369
- **Ian Sutherland** <<ian@iansutherland.ca>>
370
368
  * [JakobJingleheimer](https://github.com/JakobJingleheimer) -
371
369
  **Jacob Smith** <<jacob@frende.me>> (he/him)
372
370
  * [jasnell](https://github.com/jasnell) -
@@ -440,7 +438,7 @@ For information about the governance of the Node.js project, see
440
438
  * [ronag](https://github.com/ronag) -
441
439
  **Robert Nagy** <<ronagy@icloud.com>>
442
440
  * [ruyadorno](https://github.com/ruyadorno) -
443
- **Ruy Adorno** <<ruyadorno@google.com>> (he/him)
441
+ **Ruy Adorno** <<ruy@vlt.sh>> (he/him)
444
442
  * [ryzokuken](https://github.com/ryzokuken) -
445
443
  **Ujjwal Sharma** <<ryzokuken@disroot.org>> (he/him)
446
444
  * [santigimeno](https://github.com/santigimeno) -
@@ -465,6 +463,8 @@ For information about the governance of the Node.js project, see
465
463
  **Trivikram Kamat** <<trivikr.dev@gmail.com>>
466
464
  * [Trott](https://github.com/Trott) -
467
465
  **Rich Trott** <<rtrott@gmail.com>> (he/him)
466
+ * [UlisesGascon](https://github.com/ulisesgascon) -
467
+ **Ulises Gascón** <<ulisesgascongonzalez@gmail.com>> (he/him)
468
468
  * [vdeturckheim](https://github.com/vdeturckheim) -
469
469
  **Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
470
470
  * [vmoroz](https://github.com/vmoroz) -
@@ -480,7 +480,7 @@ For information about the governance of the Node.js project, see
480
480
  * [ZYSzys](https://github.com/ZYSzys) -
481
481
  **Yongsheng Zhang** <<zyszys98@gmail.com>> (he/him)
482
482
  * [zcbenz](https://github.com/zcbenz) -
483
- **Cheng Zhao** <zcbenz@gmail.com> (he/him)
483
+ **Cheng Zhao** <<zcbenz@gmail.com>> (he/him)
484
484
 
485
485
  <details>
486
486
 
@@ -553,6 +553,8 @@ For information about the governance of the Node.js project, see
553
553
  **Yang Guo** <<yangguo@chromium.org>> (he/him)
554
554
  * [hiroppy](https://github.com/hiroppy) -
555
555
  **Yuta Hiroto** <<hello@hiroppy.me>> (he/him)
556
+ * [iansu](https://github.com/iansu) -
557
+ **Ian Sutherland** <<ian@iansutherland.ca>>
556
558
  * [iarna](https://github.com/iarna) -
557
559
  **Rebecca Turner** <<me@re-becca.org>>
558
560
  * [imran-iq](https://github.com/imran-iq) -
@@ -761,6 +763,8 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
761
763
  `74F12602B6F1C4E913FAA37AD3A89613643B6201`
762
764
  * **Juan José Arboleda** <<soyjuanarbol@gmail.com>>
763
765
  `DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7`
766
+ * **Marco Ippolito** <<marcoippolito54@gmail.com>>
767
+ `CC68F5A3106FF448322E48ED27F5E38D5B0A215F`
764
768
  * **Michaël Zasso** <<targos@protonmail.com>>
765
769
  `8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600`
766
770
  * **Myles Borins** <<myles.borins@gmail.com>>
@@ -782,6 +786,7 @@ gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D706
782
786
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57
783
787
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
784
788
  gpg --keyserver hkps://keys.openpgp.org --recv-keys DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7
789
+ gpg --keyserver hkps://keys.openpgp.org --recv-keys CC68F5A3106FF448322E48ED27F5E38D5B0A215F
785
790
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
786
791
  gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
787
792
  gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4
@@ -843,12 +848,11 @@ releases on a rotation basis as outlined in the
843
848
  * Datadog
844
849
  * [bengl](https://github.com/bengl) -
845
850
  **Bryan English** <<bryan@bryanenglish.com>> (he/him)
846
- * NearForm
847
- * [RafaelGSS](https://github.com/RafaelGSS) -
848
- **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
849
851
  * NodeSource
850
852
  * [juanarbol](https://github.com/juanarbol) -
851
853
  **Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
854
+ * [RafaelGSS](https://github.com/RafaelGSS) -
855
+ **Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
852
856
  * Platformatic
853
857
  * [mcollina](https://github.com/mcollina) -
854
858
  **Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
package/bin/node CHANGED
Binary file
@@ -2,6 +2,7 @@
2
2
  'variables': {
3
3
  'configuring_node%': 0,
4
4
  'asan%': 0,
5
+ 'ubsan%': 0,
5
6
  'werror': '', # Turn off -Werror in V8 build.
6
7
  'visibility%': 'hidden', # V8's visibility setting
7
8
  'target_arch%': 'ia32', # set v8's target architecture
@@ -36,7 +37,7 @@
36
37
 
37
38
  # Reset this number to 0 on major V8 upgrades.
38
39
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.20',
40
+ 'v8_embedder_string': '-node.10',
40
41
 
41
42
  ##### V8 defaults for Node.js #####
42
43
 
@@ -285,7 +286,10 @@
285
286
  'VCCLCompilerTool': {
286
287
  'AdditionalOptions': [
287
288
  '/Zc:__cplusplus',
288
- '-std:c++17'
289
+ # The following option enables c++20 on Windows. This is needed for V8 v12.4+
290
+ '-std:c++20',
291
+ # The following option reduces the "error C1060: compiler is out of heap space"
292
+ '/Zm2000',
289
293
  ],
290
294
  'BufferSecurityCheck': 'true',
291
295
  'DebugInformationFormat': 1, # /Z7 embed info in .obj files
@@ -374,6 +378,29 @@
374
378
  }],
375
379
  ],
376
380
  }],
381
+ ['ubsan == 1 and OS != "mac" and OS != "zos"', {
382
+ 'cflags+': [
383
+ '-fno-omit-frame-pointer',
384
+ '-fsanitize=undefined',
385
+ ],
386
+ 'defines': [ 'UNDEFINED_SANITIZER'],
387
+ 'cflags!': [ '-fno-omit-frame-pointer' ],
388
+ 'ldflags': [ '-fsanitize=undefined' ],
389
+ }],
390
+ ['ubsan == 1 and OS == "mac"', {
391
+ 'xcode_settings': {
392
+ 'OTHER_CFLAGS+': [
393
+ '-fno-omit-frame-pointer',
394
+ '-fsanitize=undefined',
395
+ '-DUNDEFINED_SANITIZER'
396
+ ],
397
+ },
398
+ 'target_conditions': [
399
+ ['_type!="static_library"', {
400
+ 'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=undefined']},
401
+ }],
402
+ ],
403
+ }],
377
404
  # The defines bellow must include all things from the external_v8_defines
378
405
  # list in v8/BUILD.gn.
379
406
  ['v8_enable_v8_checks == 1', {
@@ -127,6 +127,7 @@
127
127
  'lib/internal/error_serdes.js',
128
128
  'lib/internal/errors.js',
129
129
  'lib/internal/event_target.js',
130
+ 'lib/internal/events/abort_listener.js',
130
131
  'lib/internal/events/symbols.js',
131
132
  'lib/internal/file.js',
132
133
  'lib/internal/fixed_queue.js',
@@ -164,6 +165,7 @@
164
165
  'lib/internal/main/print_help.js',
165
166
  'lib/internal/main/prof_process.js',
166
167
  'lib/internal/main/repl.js',
168
+ 'lib/internal/main/run.js',
167
169
  'lib/internal/main/run_main_module.js',
168
170
  'lib/internal/main/test_runner.js',
169
171
  'lib/internal/main/watch_mode.js',
@@ -175,7 +177,6 @@
175
177
  'lib/internal/modules/esm/fetch_module.js',
176
178
  'lib/internal/modules/esm/formats.js',
177
179
  'lib/internal/modules/esm/get_format.js',
178
- 'lib/internal/modules/esm/handle_process_exit.js',
179
180
  'lib/internal/modules/esm/hooks.js',
180
181
  'lib/internal/modules/esm/initialize_import_meta.js',
181
182
  'lib/internal/modules/esm/load.js',
@@ -209,7 +210,6 @@
209
210
  'lib/internal/policy/manifest.js',
210
211
  'lib/internal/policy/sri.js',
211
212
  'lib/internal/priority_queue.js',
212
- 'lib/internal/process/esm_loader.js',
213
213
  'lib/internal/process/execution.js',
214
214
  'lib/internal/process/per_thread.js',
215
215
  'lib/internal/process/permission.js',
@@ -232,6 +232,7 @@
232
232
  'lib/internal/repl/await.js',
233
233
  'lib/internal/repl/history.js',
234
234
  'lib/internal/repl/utils.js',
235
+ 'lib/internal/shell.js',
235
236
  'lib/internal/socket_list.js',
236
237
  'lib/internal/socketaddress.js',
237
238
  'lib/internal/source_map/prepare_stack_trace.js',
@@ -345,7 +346,7 @@
345
346
  'lib/wasi.js',
346
347
  'lib/worker_threads.js',
347
348
  'lib/zlib.js'],
348
- 'node_module_version': 120,
349
+ 'node_module_version': 127,
349
350
  'node_no_browser_globals': 'false',
350
351
  'node_prefix': '/',
351
352
  'node_release_urlbase': 'https://nodejs.org/download/release/',
@@ -372,9 +373,10 @@
372
373
  'openssl_is_fips': 'false',
373
374
  'openssl_quic': 'true',
374
375
  'ossfuzz': 'false',
375
- 'shlib_suffix': '120.a',
376
+ 'shlib_suffix': '127.a',
376
377
  'single_executable_application': 'true',
377
378
  'target_arch': 'ppc64',
379
+ 'ubsan': 0,
378
380
  'use_prefix_to_find_headers': 'false',
379
381
  'v8_enable_31bit_smis_on_64bit_arch': 0,
380
382
  'v8_enable_extensible_ro_snapshot': 0,
@@ -32,7 +32,7 @@ static constexpr uint16_t kFullyConstructedBitMask = uint16_t{1};
32
32
 
33
33
  static constexpr size_t kPageSize = size_t{1} << 17;
34
34
 
35
- #if defined(V8_TARGET_ARCH_ARM64) && defined(V8_OS_DARWIN)
35
+ #if defined(V8_HOST_ARCH_ARM64) && defined(V8_OS_DARWIN)
36
36
  constexpr size_t kGuardPageSize = 0;
37
37
  #else
38
38
  constexpr size_t kGuardPageSize = 4096;
@@ -128,13 +128,13 @@ struct IsSubclassOfBasicMemberTemplate {
128
128
  private:
129
129
  template <typename T, typename CheckingPolicy, typename StorageType>
130
130
  static std::true_type SubclassCheck(
131
- BasicMember<T, WeaknessTag, WriteBarrierPolicy, CheckingPolicy,
132
- StorageType>*);
131
+ const BasicMember<T, WeaknessTag, WriteBarrierPolicy, CheckingPolicy,
132
+ StorageType>*);
133
133
  static std::false_type SubclassCheck(...);
134
134
 
135
135
  public:
136
- static constexpr bool value =
137
- decltype(SubclassCheck(std::declval<BasicMemberCandidate*>()))::value;
136
+ static constexpr bool value = decltype(SubclassCheck(
137
+ std::declval<std::decay_t<BasicMemberCandidate>*>()))::value;
138
138
  };
139
139
 
140
140
  template <typename T,
@@ -180,6 +180,14 @@ constexpr bool IsStrictlyBaseOfV =
180
180
  std::is_base_of_v<std::decay_t<B>, std::decay_t<D>> &&
181
181
  !IsDecayedSameV<B, D>;
182
182
 
183
+ template <typename T>
184
+ constexpr bool IsAnyMemberTypeV = false;
185
+
186
+ template <typename T, typename WeaknessTag, typename WriteBarrierPolicy,
187
+ typename CheckingPolicy, typename StorageType>
188
+ constexpr bool IsAnyMemberTypeV<internal::BasicMember<
189
+ T, WeaknessTag, WriteBarrierPolicy, CheckingPolicy, StorageType>> = true;
190
+
183
191
  } // namespace internal
184
192
 
185
193
  /**
@@ -245,6 +253,19 @@ constexpr bool IsWeakV = internal::IsWeak<T>::value;
245
253
  template <typename T>
246
254
  constexpr bool IsCompleteV = internal::IsComplete<T>::value;
247
255
 
256
+ /**
257
+ * Value is true for member types `Member<T>` and `WeakMember<T>`.
258
+ */
259
+ template <typename T>
260
+ constexpr bool IsMemberOrWeakMemberTypeV =
261
+ IsMemberTypeV<T> || IsWeakMemberTypeV<T>;
262
+
263
+ /**
264
+ * Value is true for any member type.
265
+ */
266
+ template <typename T>
267
+ constexpr bool IsAnyMemberTypeV = internal::IsAnyMemberTypeV<std::decay_t<T>>;
268
+
248
269
  } // namespace cppgc
249
270
 
250
271
  #endif // INCLUDE_CPPGC_TYPE_TRAITS_H_