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.
Files changed (47) hide show
  1. package/CHANGELOG.md +187 -1
  2. package/LICENSE +515 -520
  3. package/README.md +6 -2
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +1 -1
  6. package/include/node/config.gypi +2 -1
  7. package/include/node/js_native_api.h +18 -0
  8. package/include/node/node.h +10 -0
  9. package/include/node/node_version.h +2 -2
  10. package/include/node/openssl/asn1_no-asm.h +2 -0
  11. package/include/node/openssl/asn1t_no-asm.h +2 -0
  12. package/include/node/openssl/bio_no-asm.h +2 -0
  13. package/include/node/openssl/bn_conf_no-asm.h +2 -0
  14. package/include/node/openssl/cmp_no-asm.h +2 -0
  15. package/include/node/openssl/cms_no-asm.h +2 -0
  16. package/include/node/openssl/conf_no-asm.h +2 -0
  17. package/include/node/openssl/configuration_no-asm.h +2 -0
  18. package/include/node/openssl/crmf_no-asm.h +2 -0
  19. package/include/node/openssl/crypto_no-asm.h +2 -0
  20. package/include/node/openssl/ct_no-asm.h +2 -0
  21. package/include/node/openssl/dso_conf_no-asm.h +2 -0
  22. package/include/node/openssl/err_no-asm.h +2 -0
  23. package/include/node/openssl/ess_no-asm.h +2 -0
  24. package/include/node/openssl/fipskey_no-asm.h +2 -0
  25. package/include/node/openssl/lhash_no-asm.h +2 -0
  26. package/include/node/openssl/ocsp_no-asm.h +2 -0
  27. package/include/node/openssl/opensslv_no-asm.h +2 -0
  28. package/include/node/openssl/pkcs12_no-asm.h +2 -0
  29. package/include/node/openssl/pkcs7_no-asm.h +2 -0
  30. package/include/node/openssl/safestack_no-asm.h +2 -0
  31. package/include/node/openssl/srp_no-asm.h +2 -0
  32. package/include/node/openssl/ssl_no-asm.h +2 -0
  33. package/include/node/openssl/ui_no-asm.h +2 -0
  34. package/include/node/openssl/x509_no-asm.h +2 -0
  35. package/include/node/openssl/x509_vfy_no-asm.h +2 -0
  36. package/include/node/openssl/x509v3_no-asm.h +2 -0
  37. package/include/node/uv/darwin.h +3 -3
  38. package/include/node/uv/errno.h +6 -0
  39. package/include/node/uv/linux.h +1 -1
  40. package/include/node/uv/threadpool.h +1 -1
  41. package/include/node/uv/unix.h +25 -23
  42. package/include/node/uv/version.h +1 -1
  43. package/include/node/uv/win.h +2 -2
  44. package/include/node/uv.h +25 -4
  45. package/include/node/zconf.h +1 -1
  46. package/include/node/zlib.h +175 -175
  47. package/package.json +1 -1
@@ -357,7 +357,7 @@ typedef struct {
357
357
  /* Counter to started timer */ \
358
358
  uint64_t timer_counter; \
359
359
  /* Threadpool */ \
360
- void* wq[2]; \
360
+ struct uv__queue wq; \
361
361
  uv_mutex_t wq_mutex; \
362
362
  uv_async_t wq_async;
363
363
 
@@ -486,7 +486,7 @@ typedef struct {
486
486
  uint32_t payload_remaining; \
487
487
  uint64_t dummy; /* TODO: retained for ABI compat; remove this in v2.x. */ \
488
488
  } ipc_data_frame; \
489
- void* ipc_xfer_queue[2]; \
489
+ struct uv__queue ipc_xfer_queue; \
490
490
  int ipc_xfer_queue_length; \
491
491
  uv_write_t* non_overlapped_writes_tail; \
492
492
  CRITICAL_SECTION readfile_thread_lock; \
package/include/node/uv.h CHANGED
@@ -59,6 +59,12 @@ extern "C" {
59
59
  #include <stdio.h>
60
60
  #include <stdint.h>
61
61
 
62
+ /* Internal type, do not use. */
63
+ struct uv__queue {
64
+ struct uv__queue* next;
65
+ struct uv__queue* prev;
66
+ };
67
+
62
68
  #if defined(_WIN32)
63
69
  # include "uv/win.h"
64
70
  #else
@@ -150,6 +156,7 @@ extern "C" {
150
156
  XX(EILSEQ, "illegal byte sequence") \
151
157
  XX(ESOCKTNOSUPPORT, "socket type not supported") \
152
158
  XX(ENODATA, "no data available") \
159
+ XX(EUNATCH, "protocol driver not attached") \
153
160
 
154
161
  #define UV_HANDLE_TYPE_MAP(XX) \
155
162
  XX(ASYNC, async) \
@@ -283,13 +290,13 @@ UV_EXTERN int uv_loop_init(uv_loop_t* loop);
283
290
  UV_EXTERN int uv_loop_close(uv_loop_t* loop);
284
291
  /*
285
292
  * NOTE:
286
- * This function is DEPRECATED (to be removed after 0.12), users should
293
+ * This function is DEPRECATED, users should
287
294
  * allocate the loop manually and use uv_loop_init instead.
288
295
  */
289
296
  UV_EXTERN uv_loop_t* uv_loop_new(void);
290
297
  /*
291
298
  * NOTE:
292
- * This function is DEPRECATED (to be removed after 0.12). Users should use
299
+ * This function is DEPRECATED. Users should use
293
300
  * uv_loop_close and free the memory manually instead.
294
301
  */
295
302
  UV_EXTERN void uv_loop_delete(uv_loop_t*);
@@ -459,7 +466,7 @@ struct uv_shutdown_s {
459
466
  uv_handle_type type; \
460
467
  /* private */ \
461
468
  uv_close_cb close_cb; \
462
- void* handle_queue[2]; \
469
+ struct uv__queue handle_queue; \
463
470
  union { \
464
471
  int fd; \
465
472
  void* reserved[4]; \
@@ -801,6 +808,10 @@ inline int uv_tty_set_mode(uv_tty_t* handle, int mode) {
801
808
 
802
809
  UV_EXTERN uv_handle_type uv_guess_handle(uv_file file);
803
810
 
811
+ enum {
812
+ UV_PIPE_NO_TRUNCATE = 1u << 0
813
+ };
814
+
804
815
  /*
805
816
  * uv_pipe_t is a subclass of uv_stream_t.
806
817
  *
@@ -817,10 +828,20 @@ struct uv_pipe_s {
817
828
  UV_EXTERN int uv_pipe_init(uv_loop_t*, uv_pipe_t* handle, int ipc);
818
829
  UV_EXTERN int uv_pipe_open(uv_pipe_t*, uv_file file);
819
830
  UV_EXTERN int uv_pipe_bind(uv_pipe_t* handle, const char* name);
831
+ UV_EXTERN int uv_pipe_bind2(uv_pipe_t* handle,
832
+ const char* name,
833
+ size_t namelen,
834
+ unsigned int flags);
820
835
  UV_EXTERN void uv_pipe_connect(uv_connect_t* req,
821
836
  uv_pipe_t* handle,
822
837
  const char* name,
823
838
  uv_connect_cb cb);
839
+ UV_EXTERN int uv_pipe_connect2(uv_connect_t* req,
840
+ uv_pipe_t* handle,
841
+ const char* name,
842
+ size_t namelen,
843
+ unsigned int flags,
844
+ uv_connect_cb cb);
824
845
  UV_EXTERN int uv_pipe_getsockname(const uv_pipe_t* handle,
825
846
  char* buffer,
826
847
  size_t* size);
@@ -1849,7 +1870,7 @@ struct uv_loop_s {
1849
1870
  void* data;
1850
1871
  /* Loop reference counting. */
1851
1872
  unsigned int active_handles;
1852
- void* handle_queue[2];
1873
+ struct uv__queue handle_queue;
1853
1874
  union {
1854
1875
  void* unused;
1855
1876
  unsigned int count;
@@ -539,7 +539,7 @@ typedef uLong FAR uLongf;
539
539
  #if !defined(_WIN32) && defined(Z_LARGE64)
540
540
  # define z_off64_t off64_t
541
541
  #else
542
- # if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
542
+ # if defined(_WIN32) && !defined(__GNUC__)
543
543
  # define z_off64_t __int64
544
544
  # else
545
545
  # define z_off64_t z_off_t