node-linux-s390x 20.1.0 → 20.3.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/CHANGELOG.md +283 -1
- package/LICENSE +0 -11
- package/README.md +19 -13
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +2 -5
- package/include/node/js_native_api.h +6 -6
- package/include/node/js_native_api_types.h +2 -1
- package/include/node/node.h +8 -3
- package/include/node/node_api.h +12 -2
- package/include/node/node_version.h +6 -2
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h +19 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1.h +1128 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h +946 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/bio.h +887 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cmp.h +596 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cms.h +493 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/conf.h +211 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/configuration.h +137 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crmf.h +227 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crypto.h +558 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ct.h +573 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/err.h +504 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ess.h +128 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h +36 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/lhash.h +288 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h +483 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +114 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h +350 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h +427 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/safestack.h +297 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/srp.h +285 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ssl.h +2668 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ui.h +407 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509.h +1276 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h +894 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h +1450 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/progs.h +123 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_digests.h +160 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_dsa.h +94 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ec.h +286 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ecx.h +50 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_rsa.h +187 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_sm2.h +37 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_wrap.h +46 -0
- package/include/node/uv/errno.h +12 -1
- package/include/node/uv/unix.h +0 -1
- package/include/node/uv/version.h +2 -2
- package/include/node/uv/win.h +18 -15
- package/include/node/uv.h +57 -16
- package/include/node/zconf.h +5 -1
- package/include/node/zlib.h +4 -4
- package/package.json +1 -1
- package/include/node/uv/stdint-msvc2008.h +0 -247
package/include/node/node.h
CHANGED
|
@@ -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.
|
|
@@ -1237,9 +1240,11 @@ NODE_EXTERN void AddLinkedBinding(Environment* env,
|
|
|
1237
1240
|
const char* name,
|
|
1238
1241
|
addon_context_register_func fn,
|
|
1239
1242
|
void* priv);
|
|
1240
|
-
NODE_EXTERN void AddLinkedBinding(
|
|
1241
|
-
|
|
1242
|
-
|
|
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);
|
|
1243
1248
|
|
|
1244
1249
|
/* Registers a callback with the passed-in Environment instance. The callback
|
|
1245
1250
|
* is called after the event loop exits, but before the VM is disposed.
|
package/include/node/node_api.h
CHANGED
|
@@ -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 \
|
|
@@ -238,12 +248,12 @@ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
|
|
|
238
248
|
|
|
239
249
|
#endif // NAPI_VERSION >= 8
|
|
240
250
|
|
|
241
|
-
#
|
|
251
|
+
#if NAPI_VERSION >= 9
|
|
242
252
|
|
|
243
253
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
244
254
|
node_api_get_module_file_name(napi_env env, const char** result);
|
|
245
255
|
|
|
246
|
-
#endif //
|
|
256
|
+
#endif // NAPI_VERSION >= 9
|
|
247
257
|
|
|
248
258
|
EXTERN_C_END
|
|
249
259
|
|
|
@@ -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
|
|
26
|
+
#define NODE_MINOR_VERSION 3
|
|
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
|
|
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_
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by util/mkbuildinf.pl
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
9
|
+
* in the file LICENSE in the source distribution or at
|
|
10
|
+
* https://www.openssl.org/source/license.html
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
#define PLATFORM "platform: linux64-loongarch64"
|
|
14
|
+
#define DATE "built on: Thu May 4 02:11:25 2023 UTC"
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Generate compiler_flags as an array of individual characters. This is a
|
|
18
|
+
* workaround for the situation where CFLAGS gets too long for a C90 string
|
|
19
|
+
* literal
|
|
20
|
+
*/
|
|
21
|
+
static const char compiler_flags[] = {
|
|
22
|
+
'c','o','m','p','i','l','e','r',':',' ','g','c','c',' ','-','f',
|
|
23
|
+
'P','I','C',' ','-','p','t','h','r','e','a','d',' ','-','W','a',
|
|
24
|
+
'l','l',' ','-','O','3',' ','-','D','O','P','E','N','S','S','L',
|
|
25
|
+
'_','U','S','E','_','N','O','D','E','L','E','T','E',' ','-','D',
|
|
26
|
+
'O','P','E','N','S','S','L','_','P','I','C',' ','-','D','O','P',
|
|
27
|
+
'E','N','S','S','L','_','B','U','I','L','D','I','N','G','_','O',
|
|
28
|
+
'P','E','N','S','S','L',' ','-','D','N','D','E','B','U','G','\0'
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* WARNING: do not edit! */
|
|
2
|
+
/* Generated by Makefile from include/crypto/bn_conf.h.in */
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
7
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
8
|
+
* in the file LICENSE in the source distribution or at
|
|
9
|
+
* https://www.openssl.org/source/license.html
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
#ifndef OSSL_CRYPTO_BN_CONF_H
|
|
13
|
+
# define OSSL_CRYPTO_BN_CONF_H
|
|
14
|
+
# pragma once
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* The contents of this file are not used in the UEFI build, as
|
|
18
|
+
* both 32-bit and 64-bit builds are supported from a single run
|
|
19
|
+
* of the Configure script.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/* Should we define BN_DIV2W here? */
|
|
23
|
+
|
|
24
|
+
/* Only one for the following should be defined */
|
|
25
|
+
#define SIXTY_FOUR_BIT_LONG
|
|
26
|
+
#undef SIXTY_FOUR_BIT
|
|
27
|
+
#undef THIRTY_TWO_BIT
|
|
28
|
+
|
|
29
|
+
#endif
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* WARNING: do not edit! */
|
|
2
|
+
/* Generated by Makefile from include/crypto/dso_conf.h.in */
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
7
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
8
|
+
* in the file LICENSE in the source distribution or at
|
|
9
|
+
* https://www.openssl.org/source/license.html
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
#ifndef OSSL_CRYPTO_DSO_CONF_H
|
|
13
|
+
# define OSSL_CRYPTO_DSO_CONF_H
|
|
14
|
+
# pragma once
|
|
15
|
+
|
|
16
|
+
# define DSO_DLFCN
|
|
17
|
+
# define HAVE_DLFCN_H
|
|
18
|
+
# define DSO_EXTENSION ".so"
|
|
19
|
+
#endif
|