node-linux-arm64 20.3.1 → 20.4.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 +187 -1
- package/LICENSE +515 -520
- package/README.md +6 -2
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +2 -1
- package/include/node/js_native_api.h +18 -0
- package/include/node/node.h +10 -0
- package/include/node/node_version.h +2 -2
- package/include/node/openssl/asn1_no-asm.h +2 -0
- package/include/node/openssl/asn1t_no-asm.h +2 -0
- package/include/node/openssl/bio_no-asm.h +2 -0
- package/include/node/openssl/bn_conf_no-asm.h +2 -0
- package/include/node/openssl/cmp_no-asm.h +2 -0
- package/include/node/openssl/cms_no-asm.h +2 -0
- package/include/node/openssl/conf_no-asm.h +2 -0
- package/include/node/openssl/configuration_no-asm.h +2 -0
- package/include/node/openssl/crmf_no-asm.h +2 -0
- package/include/node/openssl/crypto_no-asm.h +2 -0
- package/include/node/openssl/ct_no-asm.h +2 -0
- package/include/node/openssl/dso_conf_no-asm.h +2 -0
- package/include/node/openssl/err_no-asm.h +2 -0
- package/include/node/openssl/ess_no-asm.h +2 -0
- package/include/node/openssl/fipskey_no-asm.h +2 -0
- package/include/node/openssl/lhash_no-asm.h +2 -0
- package/include/node/openssl/ocsp_no-asm.h +2 -0
- package/include/node/openssl/opensslv_no-asm.h +2 -0
- package/include/node/openssl/pkcs12_no-asm.h +2 -0
- package/include/node/openssl/pkcs7_no-asm.h +2 -0
- package/include/node/openssl/safestack_no-asm.h +2 -0
- package/include/node/openssl/srp_no-asm.h +2 -0
- package/include/node/openssl/ssl_no-asm.h +2 -0
- package/include/node/openssl/ui_no-asm.h +2 -0
- package/include/node/openssl/x509_no-asm.h +2 -0
- package/include/node/openssl/x509_vfy_no-asm.h +2 -0
- package/include/node/openssl/x509v3_no-asm.h +2 -0
- package/include/node/uv/darwin.h +3 -3
- package/include/node/uv/errno.h +6 -0
- package/include/node/uv/linux.h +1 -1
- package/include/node/uv/threadpool.h +1 -1
- package/include/node/uv/unix.h +25 -23
- package/include/node/uv/version.h +1 -1
- package/include/node/uv/win.h +2 -2
- package/include/node/uv.h +25 -4
- package/include/node/zconf.h +1 -1
- package/include/node/zlib.h +175 -175
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -377,6 +377,8 @@ For information about the governance of the Node.js project, see
|
|
|
377
377
|
**Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)
|
|
378
378
|
* [kuriyosh](https://github.com/kuriyosh) -
|
|
379
379
|
**Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
|
|
380
|
+
* [kvakil](https://github.com/kvakil) -
|
|
381
|
+
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>>
|
|
380
382
|
* [legendecas](https://github.com/legendecas) -
|
|
381
383
|
**Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
|
|
382
384
|
* [Leko](https://github.com/Leko) -
|
|
@@ -461,6 +463,8 @@ For information about the governance of the Node.js project, see
|
|
|
461
463
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
462
464
|
* [vdeturckheim](https://github.com/vdeturckheim) -
|
|
463
465
|
**Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
|
|
466
|
+
* [vmoroz](https://github.com/vmoroz) -
|
|
467
|
+
**Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
|
|
464
468
|
* [VoltrexKeyva](https://github.com/VoltrexKeyva) -
|
|
465
469
|
**Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
|
|
466
470
|
* [watilde](https://github.com/watilde) -
|
|
@@ -705,14 +709,14 @@ maintaining the Node.js project.
|
|
|
705
709
|
**Himadri Ganguly** <<himadri.tech@gmail.com>> (he/him)
|
|
706
710
|
* [iam-frankqiu](https://github.com/iam-frankqiu) -
|
|
707
711
|
**Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
|
|
708
|
-
* [kvakil](https://github.com/kvakil) -
|
|
709
|
-
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>> (they/them)
|
|
710
712
|
* [marsonya](https://github.com/marsonya) -
|
|
711
713
|
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
|
|
712
714
|
* [meixg](https://github.com/meixg) -
|
|
713
715
|
**Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
|
|
714
716
|
* [Mesteery](https://github.com/Mesteery) -
|
|
715
717
|
**Mestery** <<mestery@protonmail.com>> (he/him)
|
|
718
|
+
* [preveen-stack](https://github.com/preveen-stack) -
|
|
719
|
+
**Preveen Padmanabhan** <<wide4head@gmail.com>> (he/him)
|
|
716
720
|
* [PoojaDurgad](https://github.com/PoojaDurgad) -
|
|
717
721
|
**Pooja Durgad** <<Pooja.D.P@ibm.com>>
|
|
718
722
|
* [RaisinTen](https://github.com/RaisinTen) -
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
package/include/node/config.gypi
CHANGED
|
@@ -260,7 +260,8 @@
|
|
|
260
260
|
'lib/internal/test/transfer.js',
|
|
261
261
|
'lib/internal/test_runner/coverage.js',
|
|
262
262
|
'lib/internal/test_runner/harness.js',
|
|
263
|
-
'lib/internal/test_runner/mock.js',
|
|
263
|
+
'lib/internal/test_runner/mock/mock.js',
|
|
264
|
+
'lib/internal/test_runner/mock/mock_timers.js',
|
|
264
265
|
'lib/internal/test_runner/reporter/dot.js',
|
|
265
266
|
'lib/internal/test_runner/reporter/spec.js',
|
|
266
267
|
'lib/internal/test_runner/reporter/tap.js',
|
|
@@ -92,6 +92,24 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_string_utf16(napi_env env,
|
|
|
92
92
|
const char16_t* str,
|
|
93
93
|
size_t length,
|
|
94
94
|
napi_value* result);
|
|
95
|
+
#ifdef NAPI_EXPERIMENTAL
|
|
96
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
97
|
+
node_api_create_external_string_latin1(napi_env env,
|
|
98
|
+
char* str,
|
|
99
|
+
size_t length,
|
|
100
|
+
napi_finalize finalize_callback,
|
|
101
|
+
void* finalize_hint,
|
|
102
|
+
napi_value* result,
|
|
103
|
+
bool* copied);
|
|
104
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
105
|
+
node_api_create_external_string_utf16(napi_env env,
|
|
106
|
+
char16_t* str,
|
|
107
|
+
size_t length,
|
|
108
|
+
napi_finalize finalize_callback,
|
|
109
|
+
void* finalize_hint,
|
|
110
|
+
napi_value* result,
|
|
111
|
+
bool* copied);
|
|
112
|
+
#endif // NAPI_EXPERIMENTAL
|
|
95
113
|
NAPI_EXTERN napi_status NAPI_CDECL napi_create_symbol(napi_env env,
|
|
96
114
|
napi_value description,
|
|
97
115
|
napi_value* result);
|
package/include/node/node.h
CHANGED
|
@@ -816,6 +816,8 @@ NODE_EXTERN struct uv_loop_s* GetCurrentEventLoop(v8::Isolate* isolate);
|
|
|
816
816
|
// This function only works if `env` has an associated `MultiIsolatePlatform`.
|
|
817
817
|
NODE_EXTERN v8::Maybe<int> SpinEventLoop(Environment* env);
|
|
818
818
|
|
|
819
|
+
NODE_EXTERN std::string GetAnonymousMainPath();
|
|
820
|
+
|
|
819
821
|
class NODE_EXTERN CommonEnvironmentSetup {
|
|
820
822
|
public:
|
|
821
823
|
~CommonEnvironmentSetup();
|
|
@@ -848,6 +850,13 @@ class NODE_EXTERN CommonEnvironmentSetup {
|
|
|
848
850
|
// no support for native/host objects other than Node.js builtins
|
|
849
851
|
// in the snapshot.
|
|
850
852
|
//
|
|
853
|
+
// If the embedder wants to use LoadEnvironment() later to run a snapshot
|
|
854
|
+
// builder script they should make sure args[1] contains the path of the
|
|
855
|
+
// snapshot script, which will be used to create __filename and __dirname
|
|
856
|
+
// in the context where the builder script is run. If they do not want to
|
|
857
|
+
// include the build-time paths into the snapshot, use the string returned
|
|
858
|
+
// by GetAnonymousMainPath() as args[1] to anonymize the script.
|
|
859
|
+
//
|
|
851
860
|
// Snapshots are an *experimental* feature. In particular, the embedder API
|
|
852
861
|
// exposed through this class is subject to change or removal between Node.js
|
|
853
862
|
// versions, including possible API and ABI breakage.
|
|
@@ -909,6 +918,7 @@ std::unique_ptr<CommonEnvironmentSetup> CommonEnvironmentSetup::Create(
|
|
|
909
918
|
if (!errors->empty()) ret.reset();
|
|
910
919
|
return ret;
|
|
911
920
|
}
|
|
921
|
+
|
|
912
922
|
// Implementation for ::CreateFromSnapshot -- the ::Create() method
|
|
913
923
|
// could call this with a nullptr snapshot_data in a major version.
|
|
914
924
|
template <typename... EnvironmentArgs>
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 20
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 4
|
|
27
|
+
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME ""
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/asn1.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/asn1.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/asn1.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/asn1t.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/asn1t.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1t.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/bio.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/bio.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/bio.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/bio.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/crypto/bn_conf.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/crypto/bn_conf.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/crypto/bn_conf.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/cmp.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/cmp.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/cmp.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/cmp.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/cms.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/cms.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/cms.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/cms.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/conf.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/conf.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/conf.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/conf.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/configuration.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/configuration.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/configuration.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/configuration.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/crmf.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/crmf.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/crmf.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/crmf.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/crypto.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/crypto.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/crypto.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/crypto.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/ct.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/ct.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ct.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ct.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/crypto/dso_conf.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/crypto/dso_conf.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/crypto/dso_conf.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/err.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/err.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/err.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/err.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/ess.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/ess.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ess.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ess.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/fipskey.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/fipskey.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/fipskey.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/lhash.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/lhash.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/lhash.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/lhash.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/ocsp.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/ocsp.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ocsp.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/opensslv.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/opensslv.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/pkcs12.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs12.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs12.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/pkcs7.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs7.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs7.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/safestack.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/safestack.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/safestack.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/safestack.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/srp.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/srp.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/srp.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/srp.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/ssl.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/ssl.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ssl.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ssl.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/ui.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/ui.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ui.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ui.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/x509.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/x509.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/x509.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/x509_vfy.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/x509_vfy.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509_vfy.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
# include "./archs/linux-armv4/no-asm/include/openssl/x509v3.h"
|
|
14
14
|
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
|
|
15
15
|
# include "./archs/linux-aarch64/no-asm/include/openssl/x509v3.h"
|
|
16
|
+
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
|
|
17
|
+
# include "./archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h"
|
|
16
18
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
|
|
17
19
|
# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509v3.h"
|
|
18
20
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
|
package/include/node/uv/darwin.h
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
void* cf_state; \
|
|
41
41
|
uv_mutex_t cf_mutex; \
|
|
42
42
|
uv_sem_t cf_sem; \
|
|
43
|
-
|
|
43
|
+
struct uv__queue cf_signals; \
|
|
44
44
|
|
|
45
45
|
#define UV_PLATFORM_FS_EVENT_FIELDS \
|
|
46
46
|
uv__io_t event_watcher; \
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
int realpath_len; \
|
|
49
49
|
int cf_flags; \
|
|
50
50
|
uv_async_t* cf_cb; \
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
struct uv__queue cf_events; \
|
|
52
|
+
struct uv__queue cf_member; \
|
|
53
53
|
int cf_error; \
|
|
54
54
|
uv_mutex_t cf_mutex; \
|
|
55
55
|
|
package/include/node/uv/errno.h
CHANGED
package/include/node/uv/linux.h
CHANGED
package/include/node/uv/unix.h
CHANGED
|
@@ -92,8 +92,8 @@ typedef struct uv__io_s uv__io_t;
|
|
|
92
92
|
|
|
93
93
|
struct uv__io_s {
|
|
94
94
|
uv__io_cb cb;
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
struct uv__queue pending_queue;
|
|
96
|
+
struct uv__queue watcher_queue;
|
|
97
97
|
unsigned int pevents; /* Pending event mask i.e. mask at next tick. */
|
|
98
98
|
unsigned int events; /* Current event mask. */
|
|
99
99
|
int fd;
|
|
@@ -220,21 +220,21 @@ typedef struct {
|
|
|
220
220
|
#define UV_LOOP_PRIVATE_FIELDS \
|
|
221
221
|
unsigned long flags; \
|
|
222
222
|
int backend_fd; \
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
struct uv__queue pending_queue; \
|
|
224
|
+
struct uv__queue watcher_queue; \
|
|
225
225
|
uv__io_t** watchers; \
|
|
226
226
|
unsigned int nwatchers; \
|
|
227
227
|
unsigned int nfds; \
|
|
228
|
-
|
|
228
|
+
struct uv__queue wq; \
|
|
229
229
|
uv_mutex_t wq_mutex; \
|
|
230
230
|
uv_async_t wq_async; \
|
|
231
231
|
uv_rwlock_t cloexec_lock; \
|
|
232
232
|
uv_handle_t* closing_handles; \
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
233
|
+
struct uv__queue process_handles; \
|
|
234
|
+
struct uv__queue prepare_handles; \
|
|
235
|
+
struct uv__queue check_handles; \
|
|
236
|
+
struct uv__queue idle_handles; \
|
|
237
|
+
struct uv__queue async_handles; \
|
|
238
238
|
void (*async_unused)(void); /* TODO(bnoordhuis) Remove in libuv v2. */ \
|
|
239
239
|
uv__io_t async_io_watcher; \
|
|
240
240
|
int async_wfd; \
|
|
@@ -257,7 +257,7 @@ typedef struct {
|
|
|
257
257
|
#define UV_PRIVATE_REQ_TYPES /* empty */
|
|
258
258
|
|
|
259
259
|
#define UV_WRITE_PRIVATE_FIELDS \
|
|
260
|
-
|
|
260
|
+
struct uv__queue queue; \
|
|
261
261
|
unsigned int write_index; \
|
|
262
262
|
uv_buf_t* bufs; \
|
|
263
263
|
unsigned int nbufs; \
|
|
@@ -265,12 +265,12 @@ typedef struct {
|
|
|
265
265
|
uv_buf_t bufsml[4]; \
|
|
266
266
|
|
|
267
267
|
#define UV_CONNECT_PRIVATE_FIELDS \
|
|
268
|
-
|
|
268
|
+
struct uv__queue queue; \
|
|
269
269
|
|
|
270
270
|
#define UV_SHUTDOWN_PRIVATE_FIELDS /* empty */
|
|
271
271
|
|
|
272
272
|
#define UV_UDP_SEND_PRIVATE_FIELDS \
|
|
273
|
-
|
|
273
|
+
struct uv__queue queue; \
|
|
274
274
|
struct sockaddr_storage addr; \
|
|
275
275
|
unsigned int nbufs; \
|
|
276
276
|
uv_buf_t* bufs; \
|
|
@@ -286,8 +286,8 @@ typedef struct {
|
|
|
286
286
|
uv_connect_t *connect_req; \
|
|
287
287
|
uv_shutdown_t *shutdown_req; \
|
|
288
288
|
uv__io_t io_watcher; \
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
struct uv__queue write_queue; \
|
|
290
|
+
struct uv__queue write_completed_queue; \
|
|
291
291
|
uv_connection_cb connection_cb; \
|
|
292
292
|
int delayed_error; \
|
|
293
293
|
int accepted_fd; \
|
|
@@ -300,30 +300,30 @@ typedef struct {
|
|
|
300
300
|
uv_alloc_cb alloc_cb; \
|
|
301
301
|
uv_udp_recv_cb recv_cb; \
|
|
302
302
|
uv__io_t io_watcher; \
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
struct uv__queue write_queue; \
|
|
304
|
+
struct uv__queue write_completed_queue; \
|
|
305
305
|
|
|
306
306
|
#define UV_PIPE_PRIVATE_FIELDS \
|
|
307
|
-
const char* pipe_fname; /* strdup'ed */
|
|
307
|
+
const char* pipe_fname; /* NULL or strdup'ed */
|
|
308
308
|
|
|
309
309
|
#define UV_POLL_PRIVATE_FIELDS \
|
|
310
310
|
uv__io_t io_watcher;
|
|
311
311
|
|
|
312
312
|
#define UV_PREPARE_PRIVATE_FIELDS \
|
|
313
313
|
uv_prepare_cb prepare_cb; \
|
|
314
|
-
|
|
314
|
+
struct uv__queue queue; \
|
|
315
315
|
|
|
316
316
|
#define UV_CHECK_PRIVATE_FIELDS \
|
|
317
317
|
uv_check_cb check_cb; \
|
|
318
|
-
|
|
318
|
+
struct uv__queue queue; \
|
|
319
319
|
|
|
320
320
|
#define UV_IDLE_PRIVATE_FIELDS \
|
|
321
321
|
uv_idle_cb idle_cb; \
|
|
322
|
-
|
|
322
|
+
struct uv__queue queue; \
|
|
323
323
|
|
|
324
324
|
#define UV_ASYNC_PRIVATE_FIELDS \
|
|
325
325
|
uv_async_cb async_cb; \
|
|
326
|
-
|
|
326
|
+
struct uv__queue queue; \
|
|
327
327
|
int pending; \
|
|
328
328
|
|
|
329
329
|
#define UV_TIMER_PRIVATE_FIELDS \
|
|
@@ -352,7 +352,7 @@ typedef struct {
|
|
|
352
352
|
int retcode;
|
|
353
353
|
|
|
354
354
|
#define UV_PROCESS_PRIVATE_FIELDS \
|
|
355
|
-
|
|
355
|
+
struct uv__queue queue; \
|
|
356
356
|
int status; \
|
|
357
357
|
|
|
358
358
|
#define UV_FS_PRIVATE_FIELDS \
|
|
@@ -417,6 +417,8 @@ typedef struct {
|
|
|
417
417
|
# define UV_FS_O_DIRECT 0x04000
|
|
418
418
|
#elif defined(__linux__) && defined(__x86_64__)
|
|
419
419
|
# define UV_FS_O_DIRECT 0x04000
|
|
420
|
+
#elif defined(__linux__) && defined(__loongarch__)
|
|
421
|
+
# define UV_FS_O_DIRECT 0x04000
|
|
420
422
|
#elif defined(O_DIRECT)
|
|
421
423
|
# define UV_FS_O_DIRECT O_DIRECT
|
|
422
424
|
#else
|