node-linux-s390x 20.0.0 → 20.2.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.
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
 
@@ -166,8 +166,6 @@ For information about the governance of the Node.js project, see
166
166
  **Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
167
167
  * [apapirovski](https://github.com/apapirovski) -
168
168
  **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
169
- * [BethGriggs](https://github.com/BethGriggs) -
170
- **Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
171
169
  * [BridgeAR](https://github.com/BridgeAR) -
172
170
  **Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
173
171
  * [cjihrig](https://github.com/cjihrig) -
@@ -207,8 +205,8 @@ For information about the governance of the Node.js project, see
207
205
 
208
206
  #### TSC regular members
209
207
 
210
- * [addaleax](https://github.com/addaleax) -
211
- **Anna Henningsen** <<anna@addaleax.net>> (she/her)
208
+ * [BethGriggs](https://github.com/BethGriggs) -
209
+ **Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
212
210
  * [bnoordhuis](https://github.com/bnoordhuis) -
213
211
  **Ben Noordhuis** <<info@bnoordhuis.nl>>
214
212
  * [ChALkeR](https://github.com/ChALkeR) -
@@ -236,6 +234,8 @@ For information about the governance of the Node.js project, see
236
234
 
237
235
  #### TSC emeriti members
238
236
 
237
+ * [addaleax](https://github.com/addaleax) -
238
+ **Anna Henningsen** <<anna@addaleax.net>> (she/her)
239
239
  * [chrisdickinson](https://github.com/chrisdickinson) -
240
240
  **Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
241
241
  * [evanlucas](https://github.com/evanlucas) -
@@ -371,6 +371,8 @@ For information about the governance of the Node.js project, see
371
371
  **Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
372
372
  * [JungMinu](https://github.com/JungMinu) -
373
373
  **Minwoo Jung** <<nodecorelab@gmail.com>> (he/him)
374
+ * [KhafraDev](https://github.com/KhafraDev) -
375
+ **Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)
374
376
  * [kuriyosh](https://github.com/kuriyosh) -
375
377
  **Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
376
378
  * [legendecas](https://github.com/legendecas) -
@@ -409,6 +411,8 @@ For information about the governance of the Node.js project, see
409
411
  **Brian White** <<mscdex@mscdex.net>>
410
412
  * [MylesBorins](https://github.com/MylesBorins) -
411
413
  **Myles Borins** <<myles.borins@gmail.com>> (he/him)
414
+ * [ovflowd](https://github.com/ovflowd) -
415
+ **Claudio Wunder** <<cwunder@gnome.org>> (he/they)
412
416
  * [oyyd](https://github.com/oyyd) -
413
417
  **Ouyang Yadong** <<oyydoibh@gmail.com>> (he/him)
414
418
  * [panva](https://github.com/panva) -
@@ -705,8 +709,6 @@ maintaining the Node.js project.
705
709
  **Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
706
710
  * [Mesteery](https://github.com/Mesteery) -
707
711
  **Mestery** <<mestery@protonmail.com>> (he/him)
708
- * [MoLow](https://github.com/MoLow) -
709
- **Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
710
712
  * [PoojaDurgad](https://github.com/PoojaDurgad) -
711
713
  **Pooja Durgad** <<Pooja.D.P@ibm.com>>
712
714
  * [RaisinTen](https://github.com/RaisinTen) -
package/bin/node CHANGED
Binary file
@@ -36,7 +36,7 @@
36
36
 
37
37
  # Reset this number to 0 on major V8 upgrades.
38
38
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.3',
39
+ 'v8_embedder_string': '-node.9',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -12,12 +12,12 @@
12
12
  'force_dynamic_crt': 0,
13
13
  'gas_version': '2.35',
14
14
  'host_arch': 's390x',
15
- 'icu_data_in': '../../deps/icu-tmp/icudt72l.dat',
15
+ 'icu_data_in': '../../deps/icu-tmp/icudt73l.dat',
16
16
  'icu_endianness': 'b',
17
17
  'icu_gyp_path': 'tools/icu/icu-generic.gyp',
18
18
  'icu_path': 'deps/icu-small',
19
19
  'icu_small': 'false',
20
- 'icu_ver_major': '72',
20
+ 'icu_ver_major': '73',
21
21
  'is_debug': 0,
22
22
  'libdir': 'lib',
23
23
  'llvm_version': '0.0',
@@ -263,14 +263,11 @@
263
263
  'lib/internal/test_runner/reporter/dot.js',
264
264
  'lib/internal/test_runner/reporter/spec.js',
265
265
  'lib/internal/test_runner/reporter/tap.js',
266
+ 'lib/internal/test_runner/reporter/v8-serializer.js',
266
267
  'lib/internal/test_runner/runner.js',
267
- 'lib/internal/test_runner/tap_checker.js',
268
- 'lib/internal/test_runner/tap_lexer.js',
269
- 'lib/internal/test_runner/tap_parser.js',
270
268
  'lib/internal/test_runner/test.js',
271
269
  'lib/internal/test_runner/tests_stream.js',
272
270
  'lib/internal/test_runner/utils.js',
273
- 'lib/internal/test_runner/yaml_to_js.js',
274
271
  'lib/internal/timers.js',
275
272
  'lib/internal/tls/secure-context.js',
276
273
  'lib/internal/tls/secure-pair.js',
@@ -505,6 +505,9 @@ struct IsolateSettings {
505
505
  // feature during the build step by passing the --disable-shared-readonly-heap
506
506
  // flag to the configure script.
507
507
  //
508
+ // The snapshot *must* be kept alive during the execution of the Isolate
509
+ // that was created using it.
510
+ //
508
511
  // Snapshots are an *experimental* feature. In particular, the embedder API
509
512
  // exposed through this class is subject to change or removal between Node.js
510
513
  // versions, including possible API and ABI breakage.
@@ -722,7 +725,8 @@ NODE_EXTERN ArrayBufferAllocator* GetArrayBufferAllocator(IsolateData* data);
722
725
  // a snapshot and have a main context that was read from that snapshot.
723
726
  NODE_EXTERN v8::Local<v8::Context> GetMainContext(Environment* env);
724
727
 
725
- NODE_EXTERN void OnFatalError(const char* location, const char* message);
728
+ [[noreturn]] NODE_EXTERN void OnFatalError(const char* location,
729
+ const char* message);
726
730
  NODE_EXTERN void PromiseRejectCallback(v8::PromiseRejectMessage message);
727
731
  NODE_EXTERN bool AllowWasmCodeGenerationCallback(v8::Local<v8::Context> context,
728
732
  v8::Local<v8::String>);
@@ -1236,9 +1240,11 @@ NODE_EXTERN void AddLinkedBinding(Environment* env,
1236
1240
  const char* name,
1237
1241
  addon_context_register_func fn,
1238
1242
  void* priv);
1239
- NODE_EXTERN void AddLinkedBinding(Environment* env,
1240
- const char* name,
1241
- napi_addon_register_func fn);
1243
+ NODE_EXTERN void AddLinkedBinding(
1244
+ Environment* env,
1245
+ const char* name,
1246
+ napi_addon_register_func fn,
1247
+ int32_t module_api_version = NODE_API_DEFAULT_MODULE_API_VERSION);
1242
1248
 
1243
1249
  /* Registers a callback with the passed-in Environment instance. The callback
1244
1250
  * is called after the event loop exits, but before the VM is disposed.
@@ -30,6 +30,7 @@ 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
 
34
35
  // Used by deprecated registration method napi_module_register.
35
36
  typedef struct napi_module {
@@ -54,11 +55,20 @@ typedef struct napi_module {
54
55
  #define NAPI_MODULE_INITIALIZER_BASE napi_register_module_v
55
56
  #endif
56
57
 
58
+ #define NODE_API_MODULE_GET_API_VERSION_BASE node_api_module_get_api_version_v
59
+
57
60
  #define NAPI_MODULE_INITIALIZER \
58
61
  NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE, NAPI_MODULE_VERSION)
59
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
+
60
67
  #define NAPI_MODULE_INIT() \
61
68
  EXTERN_C_START \
69
+ NAPI_MODULE_EXPORT int32_t NODE_API_MODULE_GET_API_VERSION() { \
70
+ return NAPI_VERSION; \
71
+ } \
62
72
  NAPI_MODULE_EXPORT napi_value NAPI_MODULE_INITIALIZER(napi_env env, \
63
73
  napi_value exports); \
64
74
  EXTERN_C_END \
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 20
26
- #define NODE_MINOR_VERSION 0
26
+ #define NODE_MINOR_VERSION 2
27
27
  #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
@@ -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 8
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
  #define V8_MAJOR_VERSION 11
12
12
  #define V8_MINOR_VERSION 3
13
13
  #define V8_BUILD_NUMBER 244
14
- #define V8_PATCH_LEVEL 4
14
+ #define V8_PATCH_LEVEL 8
15
15
 
16
16
  // Use 1 for candidates and 0 otherwise.
17
17
  // (Boolean macro values are not supported by all preprocessors.)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-s390x",
3
- "version": "v20.0.0",
3
+ "version": "v20.2.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"