node-linux-arm64 14.17.6 → 14.18.3

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.
@@ -445,4 +445,16 @@
445
445
  # define UV__EILSEQ (-4027)
446
446
  #endif
447
447
 
448
+ #if defined(EOVERFLOW) && !defined(_WIN32)
449
+ # define UV__EOVERFLOW UV__ERR(EOVERFLOW)
450
+ #else
451
+ # define UV__EOVERFLOW (-4026)
452
+ #endif
453
+
454
+ #if defined(ESOCKTNOSUPPORT) && !defined(_WIN32)
455
+ # define UV__ESOCKTNOSUPPORT UV__ERR(ESOCKTNOSUPPORT)
456
+ #else
457
+ # define UV__ESOCKTNOSUPPORT (-4025)
458
+ #endif
459
+
448
460
  #endif /* UV_ERRNO_H_ */
@@ -251,7 +251,7 @@ void name##_SPLAY_MINMAX(struct name *head, int __comp) \
251
251
  SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL; \
252
252
  __left = __right = &__node; \
253
253
  \
254
- while (1) { \
254
+ for (;;) { \
255
255
  if (__comp < 0) { \
256
256
  __tmp = SPLAY_LEFT((head)->sph_root, field); \
257
257
  if (__tmp == NULL) \
@@ -31,7 +31,7 @@
31
31
  */
32
32
 
33
33
  #define UV_VERSION_MAJOR 1
34
- #define UV_VERSION_MINOR 41
34
+ #define UV_VERSION_MINOR 42
35
35
  #define UV_VERSION_PATCH 0
36
36
  #define UV_VERSION_IS_RELEASE 1
37
37
  #define UV_VERSION_SUFFIX ""
package/include/node/uv.h CHANGED
@@ -126,6 +126,7 @@ extern "C" {
126
126
  XX(ENOTEMPTY, "directory not empty") \
127
127
  XX(ENOTSOCK, "socket operation on non-socket") \
128
128
  XX(ENOTSUP, "operation not supported on socket") \
129
+ XX(EOVERFLOW, "value too large for defined data type") \
129
130
  XX(EPERM, "operation not permitted") \
130
131
  XX(EPIPE, "broken pipe") \
131
132
  XX(EPROTO, "protocol error") \
@@ -148,6 +149,7 @@ extern "C" {
148
149
  XX(ENOTTY, "inappropriate ioctl for device") \
149
150
  XX(EFTYPE, "inappropriate file type or format") \
150
151
  XX(EILSEQ, "illegal byte sequence") \
152
+ XX(ESOCKTNOSUPPORT, "socket type not supported") \
151
153
 
152
154
  #define UV_HANDLE_TYPE_MAP(XX) \
153
155
  XX(ASYNC, async) \
@@ -526,6 +528,10 @@ UV_EXTERN int uv_write2(uv_write_t* req,
526
528
  UV_EXTERN int uv_try_write(uv_stream_t* handle,
527
529
  const uv_buf_t bufs[],
528
530
  unsigned int nbufs);
531
+ UV_EXTERN int uv_try_write2(uv_stream_t* handle,
532
+ const uv_buf_t bufs[],
533
+ unsigned int nbufs,
534
+ uv_stream_t* send_handle);
529
535
 
530
536
  /* uv_write_t is a subclass of uv_req_t. */
531
537
  struct uv_write_s {
@@ -626,7 +632,14 @@ enum uv_udp_flags {
626
632
  * in uv_udp_recv_cb, nread will always be 0 and addr will always be NULL.
627
633
  */
628
634
  UV_UDP_MMSG_FREE = 16,
629
-
635
+ /*
636
+ * Indicates if IP_RECVERR/IPV6_RECVERR will be set when binding the handle.
637
+ * This sets IP_RECVERR for IPv4 and IPV6_RECVERR for IPv6 UDP sockets on
638
+ * Linux. This stops the Linux kernel from suppressing some ICMP error
639
+ * messages and enables full ICMP error reporting for faster failover.
640
+ * This flag is no-op on platforms other than Linux.
641
+ */
642
+ UV_UDP_LINUX_RECVERR = 32,
630
643
  /*
631
644
  * Indicates that recvmmsg should be used, if available.
632
645
  */
package/include/node/v8.h CHANGED
@@ -10488,6 +10488,18 @@ class V8_EXPORT Context {
10488
10488
  */
10489
10489
  void SetContinuationPreservedEmbedderData(Local<Value> context);
10490
10490
 
10491
+ /**
10492
+ * Set or clear hooks to be invoked for promise lifecycle operations.
10493
+ * To clear a hook, set it to an empty v8::Function. Each function will
10494
+ * receive the observed promise as the first argument. If a chaining
10495
+ * operation is used on a promise, the init will additionally receive
10496
+ * the parent promise as the second argument.
10497
+ */
10498
+ void SetPromiseHooks(Local<Function> init_hook,
10499
+ Local<Function> before_hook,
10500
+ Local<Function> after_hook,
10501
+ Local<Function> resolve_hook);
10502
+
10491
10503
  /**
10492
10504
  * Stack-allocated class which sets the execution context for all
10493
10505
  * operations executed within a local scope.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-arm64",
3
- "version": "v14.17.6",
3
+ "version": "v14.18.3",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -78,7 +78,7 @@ Aborting instead of exiting causes a core file to be generated for analysis.
78
78
  .It Fl -completion-bash
79
79
  Print source-able bash completion script for Node.js.
80
80
  .
81
- .It Fl -conditions Ar string
81
+ .It Fl C , Fl -conditions Ar string
82
82
  Use custom conditional exports conditions.
83
83
  .Ar string
84
84
  .
@@ -185,6 +185,10 @@ Same requirements as
185
185
  .It Fl -frozen-intrinsics
186
186
  Enable experimental frozen intrinsics support.
187
187
  .
188
+ .It Fl -heapsnapshot-near-heap-limit Ns = Ns Ar max_count
189
+ Generate heap snapshot when the V8 heap usage is approaching the heap limit.
190
+ No more than the specified number of snapshots will be generated.
191
+ .
188
192
  .It Fl -heapsnapshot-signal Ns = Ns Ar signal
189
193
  Generate heap snapshot on specified signal.
190
194
  .
@@ -281,6 +285,10 @@ These will still be enabled dynamically when `async_hooks` is enabled.
281
285
  .It Fl -no-warnings
282
286
  Silence all process warnings (including deprecations).
283
287
  .
288
+ .It Fl -node-memory-debug
289
+ Enable extra debug checks for memory leaks in Node.js internals. This is
290
+ usually only useful for developers debugging Node.js itself.
291
+ .
284
292
  .It Fl -openssl-config Ns = Ns Ar file
285
293
  Load an OpenSSL configuration file on startup.
286
294
  Among other uses, this can be used to enable FIPS-compliant crypto if Node.js is built with
@@ -686,7 +694,7 @@ Documentation:
686
694
  .Sy https://nodejs.org/api/
687
695
  .
688
696
  .Pp
689
- GitHub repository & Issue Tracker:
697
+ GitHub repository and issue tracker:
690
698
  .Sy https://github.com/nodejs/node
691
699
  .
692
700
  .Pp