node-linux-s390x 22.11.0 → 22.13.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 +530 -0
- package/LICENSE +29 -1
- package/README.md +16 -19
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +7 -2
- package/include/node/node.h +32 -38
- package/include/node/node_api.h +12 -0
- package/include/node/node_version.h +1 -1
- package/include/node/uv/tree.h +3 -250
- package/include/node/uv/version.h +2 -2
- package/include/node/uv/win.h +2 -2
- package/include/node/uv.h +45 -17
- package/include/node/v8config.h +4 -0
- package/package.json +1 -1
- package/share/man/man1/node.1 +5 -8
package/include/node/uv.h
CHANGED
|
@@ -260,7 +260,9 @@ typedef struct uv_metrics_s uv_metrics_t;
|
|
|
260
260
|
|
|
261
261
|
typedef enum {
|
|
262
262
|
UV_LOOP_BLOCK_SIGNAL = 0,
|
|
263
|
-
UV_METRICS_IDLE_TIME
|
|
263
|
+
UV_METRICS_IDLE_TIME,
|
|
264
|
+
UV_LOOP_USE_IO_URING_SQPOLL
|
|
265
|
+
#define UV_LOOP_USE_IO_URING_SQPOLL UV_LOOP_USE_IO_URING_SQPOLL
|
|
264
266
|
} uv_loop_option;
|
|
265
267
|
|
|
266
268
|
typedef enum {
|
|
@@ -604,7 +606,18 @@ UV_EXTERN int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable);
|
|
|
604
606
|
|
|
605
607
|
enum uv_tcp_flags {
|
|
606
608
|
/* Used with uv_tcp_bind, when an IPv6 address is used. */
|
|
607
|
-
UV_TCP_IPV6ONLY = 1
|
|
609
|
+
UV_TCP_IPV6ONLY = 1,
|
|
610
|
+
|
|
611
|
+
/* Enable SO_REUSEPORT socket option when binding the handle.
|
|
612
|
+
* This allows completely duplicate bindings by multiple processes
|
|
613
|
+
* or threads if they all set SO_REUSEPORT before binding the port.
|
|
614
|
+
* Incoming connections are distributed across the participating
|
|
615
|
+
* listener sockets.
|
|
616
|
+
*
|
|
617
|
+
* This flag is available only on Linux 3.9+, DragonFlyBSD 3.6+,
|
|
618
|
+
* FreeBSD 12.0+, Solaris 11.4, and AIX 7.2.5+ for now.
|
|
619
|
+
*/
|
|
620
|
+
UV_TCP_REUSEPORT = 2,
|
|
608
621
|
};
|
|
609
622
|
|
|
610
623
|
UV_EXTERN int uv_tcp_bind(uv_tcp_t* handle,
|
|
@@ -645,10 +658,13 @@ enum uv_udp_flags {
|
|
|
645
658
|
UV_UDP_PARTIAL = 2,
|
|
646
659
|
/*
|
|
647
660
|
* Indicates if SO_REUSEADDR will be set when binding the handle.
|
|
648
|
-
* This sets the SO_REUSEPORT socket flag on the BSDs
|
|
649
|
-
*
|
|
650
|
-
*
|
|
651
|
-
*
|
|
661
|
+
* This sets the SO_REUSEPORT socket flag on the BSDs (except for
|
|
662
|
+
* DragonFlyBSD), OS X, and other platforms where SO_REUSEPORTs don't
|
|
663
|
+
* have the capability of load balancing, as the opposite of what
|
|
664
|
+
* UV_UDP_REUSEPORT would do. On other Unix platforms, it sets the
|
|
665
|
+
* SO_REUSEADDR flag. What that means is that multiple threads or
|
|
666
|
+
* processes can bind to the same address without error (provided
|
|
667
|
+
* they all set the flag) but only the last one to bind will receive
|
|
652
668
|
* any traffic, in effect "stealing" the port from the previous listener.
|
|
653
669
|
*/
|
|
654
670
|
UV_UDP_REUSEADDR = 4,
|
|
@@ -671,6 +687,18 @@ enum uv_udp_flags {
|
|
|
671
687
|
* This flag is no-op on platforms other than Linux.
|
|
672
688
|
*/
|
|
673
689
|
UV_UDP_LINUX_RECVERR = 32,
|
|
690
|
+
/*
|
|
691
|
+
* Indicates if SO_REUSEPORT will be set when binding the handle.
|
|
692
|
+
* This sets the SO_REUSEPORT socket option on supported platforms.
|
|
693
|
+
* Unlike UV_UDP_REUSEADDR, this flag will make multiple threads or
|
|
694
|
+
* processes that are binding to the same address and port "share"
|
|
695
|
+
* the port, which means incoming datagrams are distributed across
|
|
696
|
+
* the receiving sockets among threads or processes.
|
|
697
|
+
*
|
|
698
|
+
* This flag is available only on Linux 3.9+, DragonFlyBSD 3.6+,
|
|
699
|
+
* FreeBSD 12.0+, Solaris 11.4, and AIX 7.2.5+ for now.
|
|
700
|
+
*/
|
|
701
|
+
UV_UDP_REUSEPORT = 64,
|
|
674
702
|
/*
|
|
675
703
|
* Indicates that recvmmsg should be used, if available.
|
|
676
704
|
*/
|
|
@@ -1903,17 +1931,17 @@ struct uv_loop_s {
|
|
|
1903
1931
|
UV_EXTERN void* uv_loop_get_data(const uv_loop_t*);
|
|
1904
1932
|
UV_EXTERN void uv_loop_set_data(uv_loop_t*, void* data);
|
|
1905
1933
|
|
|
1906
|
-
/*
|
|
1907
|
-
size_t uv_utf16_length_as_wtf8(const uint16_t* utf16,
|
|
1908
|
-
|
|
1909
|
-
int uv_utf16_to_wtf8(const uint16_t* utf16,
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
ssize_t uv_wtf8_length_as_utf16(const char* wtf8);
|
|
1914
|
-
void uv_wtf8_to_utf16(const char* wtf8,
|
|
1915
|
-
|
|
1916
|
-
|
|
1934
|
+
/* Unicode utilities needed for dealing with Windows. */
|
|
1935
|
+
UV_EXTERN size_t uv_utf16_length_as_wtf8(const uint16_t* utf16,
|
|
1936
|
+
ssize_t utf16_len);
|
|
1937
|
+
UV_EXTERN int uv_utf16_to_wtf8(const uint16_t* utf16,
|
|
1938
|
+
ssize_t utf16_len,
|
|
1939
|
+
char** wtf8_ptr,
|
|
1940
|
+
size_t* wtf8_len_ptr);
|
|
1941
|
+
UV_EXTERN ssize_t uv_wtf8_length_as_utf16(const char* wtf8);
|
|
1942
|
+
UV_EXTERN void uv_wtf8_to_utf16(const char* wtf8,
|
|
1943
|
+
uint16_t* utf16,
|
|
1944
|
+
size_t utf16_len);
|
|
1917
1945
|
|
|
1918
1946
|
/* Don't export the private CPP symbols. */
|
|
1919
1947
|
#undef UV_HANDLE_TYPE_PRIVATE
|
package/include/node/v8config.h
CHANGED
|
@@ -549,11 +549,15 @@ path. Add it with -I<path> to the command line
|
|
|
549
549
|
// functions.
|
|
550
550
|
// Use like:
|
|
551
551
|
// V8_NOINLINE V8_PRESERVE_MOST void UnlikelyMethod();
|
|
552
|
+
#if V8_OS_WIN
|
|
553
|
+
# define V8_PRESERVE_MOST
|
|
554
|
+
#else
|
|
552
555
|
#if V8_HAS_ATTRIBUTE_PRESERVE_MOST
|
|
553
556
|
# define V8_PRESERVE_MOST __attribute__((preserve_most))
|
|
554
557
|
#else
|
|
555
558
|
# define V8_PRESERVE_MOST /* NOT SUPPORTED */
|
|
556
559
|
#endif
|
|
560
|
+
#endif
|
|
557
561
|
|
|
558
562
|
|
|
559
563
|
// A macro (V8_DEPRECATED) to mark classes or functions as deprecated.
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -176,15 +176,12 @@ Specify the
|
|
|
176
176
|
.Ar module
|
|
177
177
|
to use as a custom module loader.
|
|
178
178
|
.
|
|
179
|
-
.It Fl -
|
|
180
|
-
Enable the
|
|
179
|
+
.It Fl -permission
|
|
180
|
+
Enable the permission model.
|
|
181
181
|
.
|
|
182
182
|
.It Fl -experimental-shadow-realm
|
|
183
183
|
Use this flag to enable ShadowRealm support.
|
|
184
184
|
.
|
|
185
|
-
.It Fl -experimental-sqlite
|
|
186
|
-
Enable the experimental node:sqlite module.
|
|
187
|
-
.
|
|
188
185
|
.It Fl -experimental-test-coverage
|
|
189
186
|
Enable code coverage in the test runner.
|
|
190
187
|
.
|
|
@@ -194,9 +191,6 @@ Configures the type of test isolation used in the test runner.
|
|
|
194
191
|
.It Fl -experimental-test-module-mocks
|
|
195
192
|
Enable module mocking in the test runner.
|
|
196
193
|
.
|
|
197
|
-
.It Fl -experimental-test-snapshots
|
|
198
|
-
Enable snapshot testing in the test runner.
|
|
199
|
-
.
|
|
200
194
|
.It Fl -experimental-strip-types
|
|
201
195
|
Enable experimental type-stripping for TypeScript files.
|
|
202
196
|
.
|
|
@@ -224,6 +218,9 @@ Disable exposition of the Web Crypto API on the global scope.
|
|
|
224
218
|
.It Fl -no-experimental-repl-await
|
|
225
219
|
Disable top-level await keyword support in REPL.
|
|
226
220
|
.
|
|
221
|
+
.It Fl -no-experimental-sqlite
|
|
222
|
+
Disable the experimental node:sqlite module.
|
|
223
|
+
.
|
|
227
224
|
.It Fl -experimental-vm-modules
|
|
228
225
|
Enable experimental ES module support in VM module.
|
|
229
226
|
.
|