node-linux-x64 16.18.0 → 16.19.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 +130 -0
- package/LICENSE +124 -51
- package/bin/node +0 -0
- package/include/node/common.gypi +2 -6
- package/include/node/config.gypi +129 -125
- package/include/node/js_native_api.h +2 -0
- package/include/node/js_native_api_types.h +2 -1
- package/include/node/node_api.h +3 -1
- package/include/node/node_version.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/opensslv.h +2 -2
- package/package.json +1 -1
- package/share/systemtap/tapset/node.stp +146 -0
package/include/node/config.gypi
CHANGED
|
@@ -27,116 +27,113 @@
|
|
|
27
27
|
'node_enable_d8': 'false',
|
|
28
28
|
'node_install_corepack': 'true',
|
|
29
29
|
'node_install_npm': 'true',
|
|
30
|
-
'node_library_files': [ 'lib/
|
|
31
|
-
'lib/
|
|
32
|
-
'lib/
|
|
33
|
-
'lib/
|
|
30
|
+
'node_library_files': [ 'lib/_http_server.js',
|
|
31
|
+
'lib/_stream_passthrough.js',
|
|
32
|
+
'lib/_tls_wrap.js',
|
|
33
|
+
'lib/perf_hooks.js',
|
|
34
|
+
'lib/process.js',
|
|
35
|
+
'lib/querystring.js',
|
|
36
|
+
'lib/repl.js',
|
|
37
|
+
'lib/tty.js',
|
|
34
38
|
'lib/_stream_wrap.js',
|
|
35
|
-
'lib/
|
|
36
|
-
'lib/inspector.js',
|
|
37
|
-
'lib/_http_client.js',
|
|
39
|
+
'lib/assert.js',
|
|
38
40
|
'lib/console.js',
|
|
39
41
|
'lib/constants.js',
|
|
40
|
-
'lib/
|
|
41
|
-
'lib/
|
|
42
|
-
'lib/
|
|
43
|
-
'lib/
|
|
44
|
-
'lib/child_process.js',
|
|
42
|
+
'lib/_http_agent.js',
|
|
43
|
+
'lib/_http_client.js',
|
|
44
|
+
'lib/_http_common.js',
|
|
45
|
+
'lib/_stream_writable.js',
|
|
45
46
|
'lib/module.js',
|
|
46
|
-
'lib/
|
|
47
|
-
'lib/process.js',
|
|
48
|
-
'lib/test.js',
|
|
47
|
+
'lib/url.js',
|
|
49
48
|
'lib/sys.js',
|
|
50
49
|
'lib/http2.js',
|
|
51
|
-
'lib/trace_events.js',
|
|
52
|
-
'lib/_tls_wrap.js',
|
|
53
|
-
'lib/dgram.js',
|
|
54
|
-
'lib/v8.js',
|
|
55
|
-
'lib/domain.js',
|
|
56
|
-
'lib/tls.js',
|
|
57
|
-
'lib/_http_server.js',
|
|
58
|
-
'lib/_stream_writable.js',
|
|
59
|
-
'lib/_tls_common.js',
|
|
60
|
-
'lib/events.js',
|
|
61
|
-
'lib/url.js',
|
|
62
50
|
'lib/util.js',
|
|
63
|
-
'lib/net.js',
|
|
64
|
-
'lib/tty.js',
|
|
65
51
|
'lib/async_hooks.js',
|
|
66
|
-
'lib/
|
|
67
|
-
'lib/
|
|
68
|
-
'lib/
|
|
69
|
-
'lib/
|
|
70
|
-
'lib/diagnostics_channel.js',
|
|
52
|
+
'lib/cluster.js',
|
|
53
|
+
'lib/v8.js',
|
|
54
|
+
'lib/vm.js',
|
|
55
|
+
'lib/buffer.js',
|
|
71
56
|
'lib/fs.js',
|
|
72
|
-
'lib/
|
|
73
|
-
'lib/
|
|
57
|
+
'lib/_stream_transform.js',
|
|
58
|
+
'lib/diagnostics_channel.js',
|
|
59
|
+
'lib/dns.js',
|
|
60
|
+
'lib/domain.js',
|
|
61
|
+
'lib/http.js',
|
|
62
|
+
'lib/net.js',
|
|
63
|
+
'lib/worker_threads.js',
|
|
64
|
+
'lib/child_process.js',
|
|
74
65
|
'lib/https.js',
|
|
75
|
-
'lib/
|
|
76
|
-
'lib/querystring.js',
|
|
77
|
-
'lib/readline.js',
|
|
78
|
-
'lib/repl.js',
|
|
66
|
+
'lib/inspector.js',
|
|
79
67
|
'lib/stream.js',
|
|
80
68
|
'lib/string_decoder.js',
|
|
81
|
-
'lib/
|
|
69
|
+
'lib/timers.js',
|
|
70
|
+
'lib/tls.js',
|
|
71
|
+
'lib/trace_events.js',
|
|
82
72
|
'lib/zlib.js',
|
|
83
|
-
'lib/
|
|
84
|
-
'lib/
|
|
85
|
-
'lib/
|
|
86
|
-
'lib/
|
|
87
|
-
'lib/
|
|
88
|
-
'lib/
|
|
89
|
-
'lib/
|
|
73
|
+
'lib/_tls_common.js',
|
|
74
|
+
'lib/crypto.js',
|
|
75
|
+
'lib/dgram.js',
|
|
76
|
+
'lib/os.js',
|
|
77
|
+
'lib/wasi.js',
|
|
78
|
+
'lib/_http_incoming.js',
|
|
79
|
+
'lib/_http_outgoing.js',
|
|
80
|
+
'lib/_stream_duplex.js',
|
|
81
|
+
'lib/_stream_readable.js',
|
|
82
|
+
'lib/events.js',
|
|
83
|
+
'lib/path.js',
|
|
84
|
+
'lib/punycode.js',
|
|
85
|
+
'lib/readline.js',
|
|
86
|
+
'lib/test.js',
|
|
90
87
|
'lib/internal/assert.js',
|
|
91
|
-
'lib/internal/
|
|
88
|
+
'lib/internal/watchdog.js',
|
|
92
89
|
'lib/internal/constants.js',
|
|
93
90
|
'lib/internal/dtrace.js',
|
|
94
|
-
'lib/internal/encoding.js',
|
|
95
|
-
'lib/internal/fixed_queue.js',
|
|
96
|
-
'lib/internal/http.js',
|
|
97
|
-
'lib/internal/socketaddress.js',
|
|
98
|
-
'lib/internal/heap_utils.js',
|
|
99
|
-
'lib/internal/blob.js',
|
|
100
91
|
'lib/internal/buffer.js',
|
|
101
92
|
'lib/internal/cli_table.js',
|
|
102
|
-
'lib/internal/
|
|
93
|
+
'lib/internal/linkedlist.js',
|
|
94
|
+
'lib/internal/net.js',
|
|
95
|
+
'lib/internal/heap_utils.js',
|
|
96
|
+
'lib/internal/abort_controller.js',
|
|
103
97
|
'lib/internal/socket_list.js',
|
|
104
|
-
'lib/internal/
|
|
105
|
-
'lib/internal/
|
|
98
|
+
'lib/internal/encoding.js',
|
|
99
|
+
'lib/internal/error_serdes.js',
|
|
100
|
+
'lib/internal/errors.js',
|
|
106
101
|
'lib/internal/worker.js',
|
|
107
|
-
'lib/internal/
|
|
108
|
-
'lib/internal/
|
|
109
|
-
'lib/internal/
|
|
110
|
-
'lib/internal/
|
|
111
|
-
'lib/internal/
|
|
102
|
+
'lib/internal/async_hooks.js',
|
|
103
|
+
'lib/internal/event_target.js',
|
|
104
|
+
'lib/internal/fixed_queue.js',
|
|
105
|
+
'lib/internal/freeze_intrinsics.js',
|
|
106
|
+
'lib/internal/histogram.js',
|
|
112
107
|
'lib/internal/freelist.js',
|
|
113
108
|
'lib/internal/repl.js',
|
|
114
|
-
'lib/internal/
|
|
115
|
-
'lib/internal/
|
|
116
|
-
'lib/internal/
|
|
117
|
-
'lib/internal/
|
|
109
|
+
'lib/internal/timers.js',
|
|
110
|
+
'lib/internal/tty.js',
|
|
111
|
+
'lib/internal/url.js',
|
|
112
|
+
'lib/internal/util.js',
|
|
113
|
+
'lib/internal/v8_prof_polyfill.js',
|
|
114
|
+
'lib/internal/validators.js',
|
|
118
115
|
'lib/internal/inspector_async_hook.js',
|
|
119
116
|
'lib/internal/priority_queue.js',
|
|
120
117
|
'lib/internal/querystring.js',
|
|
121
|
-
'lib/internal/
|
|
122
|
-
'lib/internal/timers.js',
|
|
118
|
+
'lib/internal/blob.js',
|
|
123
119
|
'lib/internal/blocklist.js',
|
|
124
|
-
'lib/internal/
|
|
125
|
-
'lib/internal/js_stream_socket.js',
|
|
126
|
-
'lib/internal/idna.js',
|
|
127
|
-
'lib/internal/linkedlist.js',
|
|
128
|
-
'lib/internal/event_target.js',
|
|
120
|
+
'lib/internal/options.js',
|
|
129
121
|
'lib/internal/promise_hooks.js',
|
|
122
|
+
'lib/internal/child_process.js',
|
|
123
|
+
'lib/internal/http.js',
|
|
124
|
+
'lib/internal/idna.js',
|
|
125
|
+
'lib/internal/js_stream_socket.js',
|
|
126
|
+
'lib/internal/socketaddress.js',
|
|
127
|
+
'lib/internal/stream_base_commons.js',
|
|
130
128
|
'lib/internal/trace_events_async_hooks.js',
|
|
131
|
-
'lib/internal/
|
|
132
|
-
'lib/internal/
|
|
133
|
-
'lib/internal/util.js',
|
|
129
|
+
'lib/internal/dgram.js',
|
|
130
|
+
'lib/internal/v8_prof_processor.js',
|
|
134
131
|
'lib/internal/assert/assertion_error.js',
|
|
135
132
|
'lib/internal/assert/calltracker.js',
|
|
136
133
|
'lib/internal/bootstrap/environment.js',
|
|
137
134
|
'lib/internal/bootstrap/loaders.js',
|
|
138
|
-
'lib/internal/bootstrap/pre_execution.js',
|
|
139
135
|
'lib/internal/bootstrap/node.js',
|
|
136
|
+
'lib/internal/bootstrap/pre_execution.js',
|
|
140
137
|
'lib/internal/bootstrap/switches/does_not_own_process_state.js',
|
|
141
138
|
'lib/internal/bootstrap/switches/does_own_process_state.js',
|
|
142
139
|
'lib/internal/bootstrap/switches/is_main_thread.js',
|
|
@@ -145,46 +142,58 @@
|
|
|
145
142
|
'lib/internal/cluster/shared_handle.js',
|
|
146
143
|
'lib/internal/cluster/child.js',
|
|
147
144
|
'lib/internal/cluster/primary.js',
|
|
145
|
+
'lib/internal/cluster/round_robin_handle.js',
|
|
148
146
|
'lib/internal/cluster/utils.js',
|
|
149
147
|
'lib/internal/cluster/worker.js',
|
|
150
|
-
'lib/internal/cluster/round_robin_handle.js',
|
|
151
148
|
'lib/internal/console/constructor.js',
|
|
152
149
|
'lib/internal/console/global.js',
|
|
153
|
-
'lib/internal/crypto/
|
|
154
|
-
'lib/internal/crypto/cipher.js',
|
|
155
|
-
'lib/internal/crypto/diffiehellman.js',
|
|
156
|
-
'lib/internal/crypto/hash.js',
|
|
157
|
-
'lib/internal/crypto/hashnames.js',
|
|
158
|
-
'lib/internal/crypto/random.js',
|
|
150
|
+
'lib/internal/crypto/rsa.js',
|
|
159
151
|
'lib/internal/crypto/scrypt.js',
|
|
160
152
|
'lib/internal/crypto/sig.js',
|
|
153
|
+
'lib/internal/crypto/util.js',
|
|
154
|
+
'lib/internal/crypto/webcrypto.js',
|
|
161
155
|
'lib/internal/crypto/x509.js',
|
|
162
156
|
'lib/internal/crypto/aes.js',
|
|
157
|
+
'lib/internal/crypto/certificate.js',
|
|
163
158
|
'lib/internal/crypto/cfrg.js',
|
|
159
|
+
'lib/internal/crypto/cipher.js',
|
|
160
|
+
'lib/internal/crypto/diffiehellman.js',
|
|
164
161
|
'lib/internal/crypto/ec.js',
|
|
162
|
+
'lib/internal/crypto/hash.js',
|
|
163
|
+
'lib/internal/crypto/hashnames.js',
|
|
165
164
|
'lib/internal/crypto/hkdf.js',
|
|
166
165
|
'lib/internal/crypto/keygen.js',
|
|
167
166
|
'lib/internal/crypto/keys.js',
|
|
168
167
|
'lib/internal/crypto/mac.js',
|
|
169
168
|
'lib/internal/crypto/pbkdf2.js',
|
|
170
|
-
'lib/internal/crypto/
|
|
171
|
-
'lib/internal/crypto/util.js',
|
|
172
|
-
'lib/internal/crypto/webcrypto.js',
|
|
169
|
+
'lib/internal/crypto/random.js',
|
|
173
170
|
'lib/internal/dns/promises.js',
|
|
174
171
|
'lib/internal/dns/utils.js',
|
|
172
|
+
'lib/internal/tls/parse-cert-string.js',
|
|
173
|
+
'lib/internal/tls/secure-context.js',
|
|
174
|
+
'lib/internal/tls/secure-pair.js',
|
|
175
|
+
'lib/internal/webstreams/adapters.js',
|
|
176
|
+
'lib/internal/webstreams/compression.js',
|
|
177
|
+
'lib/internal/webstreams/encoding.js',
|
|
178
|
+
'lib/internal/webstreams/queuingstrategies.js',
|
|
179
|
+
'lib/internal/webstreams/readablestream.js',
|
|
180
|
+
'lib/internal/webstreams/transfer.js',
|
|
181
|
+
'lib/internal/webstreams/transformstream.js',
|
|
182
|
+
'lib/internal/webstreams/util.js',
|
|
183
|
+
'lib/internal/webstreams/writablestream.js',
|
|
175
184
|
'lib/internal/fs/dir.js',
|
|
176
185
|
'lib/internal/fs/promises.js',
|
|
177
186
|
'lib/internal/fs/read_file_context.js',
|
|
178
187
|
'lib/internal/fs/rimraf.js',
|
|
179
188
|
'lib/internal/fs/streams.js',
|
|
180
189
|
'lib/internal/fs/sync_write_stream.js',
|
|
181
|
-
'lib/internal/fs/watchers.js',
|
|
182
190
|
'lib/internal/fs/utils.js',
|
|
191
|
+
'lib/internal/fs/watchers.js',
|
|
183
192
|
'lib/internal/fs/cp/cp-sync.js',
|
|
184
193
|
'lib/internal/fs/cp/cp.js',
|
|
185
194
|
'lib/internal/http2/compat.js',
|
|
186
|
-
'lib/internal/http2/util.js',
|
|
187
195
|
'lib/internal/http2/core.js',
|
|
196
|
+
'lib/internal/http2/util.js',
|
|
188
197
|
'lib/internal/main/eval_stdin.js',
|
|
189
198
|
'lib/internal/main/prof_process.js',
|
|
190
199
|
'lib/internal/main/repl.js',
|
|
@@ -192,43 +201,44 @@
|
|
|
192
201
|
'lib/internal/main/eval_string.js',
|
|
193
202
|
'lib/internal/main/inspect.js',
|
|
194
203
|
'lib/internal/main/mksnapshot.js',
|
|
195
|
-
'lib/internal/main/test_runner.js',
|
|
196
204
|
'lib/internal/main/print_help.js',
|
|
197
205
|
'lib/internal/main/run_main_module.js',
|
|
206
|
+
'lib/internal/main/test_runner.js',
|
|
207
|
+
'lib/internal/main/watch_mode.js',
|
|
198
208
|
'lib/internal/main/worker_thread.js',
|
|
199
209
|
'lib/internal/modules/package_json_reader.js',
|
|
200
210
|
'lib/internal/modules/run_main.js',
|
|
201
211
|
'lib/internal/modules/cjs/helpers.js',
|
|
202
212
|
'lib/internal/modules/cjs/loader.js',
|
|
203
213
|
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
204
|
-
'lib/internal/modules/esm/
|
|
205
|
-
'lib/internal/modules/esm/
|
|
214
|
+
'lib/internal/modules/esm/assert.js',
|
|
215
|
+
'lib/internal/modules/esm/fetch_module.js',
|
|
216
|
+
'lib/internal/modules/esm/formats.js',
|
|
206
217
|
'lib/internal/modules/esm/get_format.js',
|
|
218
|
+
'lib/internal/modules/esm/handle_process_exit.js',
|
|
219
|
+
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
220
|
+
'lib/internal/modules/esm/load.js',
|
|
207
221
|
'lib/internal/modules/esm/loader.js',
|
|
208
222
|
'lib/internal/modules/esm/module_job.js',
|
|
223
|
+
'lib/internal/modules/esm/module_map.js',
|
|
209
224
|
'lib/internal/modules/esm/package_config.js',
|
|
210
225
|
'lib/internal/modules/esm/resolve.js',
|
|
211
226
|
'lib/internal/modules/esm/translators.js',
|
|
212
|
-
'lib/internal/modules/esm/assert.js',
|
|
213
|
-
'lib/internal/modules/esm/fetch_module.js',
|
|
214
|
-
'lib/internal/modules/esm/formats.js',
|
|
215
|
-
'lib/internal/modules/esm/handle_process_exit.js',
|
|
216
|
-
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
217
|
-
'lib/internal/per_context/messageport.js',
|
|
218
227
|
'lib/internal/per_context/domexception.js',
|
|
228
|
+
'lib/internal/per_context/messageport.js',
|
|
219
229
|
'lib/internal/per_context/primordials.js',
|
|
220
230
|
'lib/internal/policy/manifest.js',
|
|
221
231
|
'lib/internal/policy/sri.js',
|
|
222
232
|
'lib/internal/process/policy.js',
|
|
223
233
|
'lib/internal/process/worker_thread_only.js',
|
|
224
234
|
'lib/internal/process/esm_loader.js',
|
|
235
|
+
'lib/internal/process/execution.js',
|
|
225
236
|
'lib/internal/process/per_thread.js',
|
|
226
237
|
'lib/internal/process/promises.js',
|
|
227
238
|
'lib/internal/process/report.js',
|
|
228
239
|
'lib/internal/process/signal.js',
|
|
229
240
|
'lib/internal/process/task_queues.js',
|
|
230
241
|
'lib/internal/process/warning.js',
|
|
231
|
-
'lib/internal/process/execution.js',
|
|
232
242
|
'lib/internal/readline/callbacks.js',
|
|
233
243
|
'lib/internal/readline/emitKeypressEvents.js',
|
|
234
244
|
'lib/internal/readline/interface.js',
|
|
@@ -236,52 +246,44 @@
|
|
|
236
246
|
'lib/internal/repl/await.js',
|
|
237
247
|
'lib/internal/repl/history.js',
|
|
238
248
|
'lib/internal/repl/utils.js',
|
|
239
|
-
'lib/internal/source_map/source_map_cache.js',
|
|
240
249
|
'lib/internal/source_map/prepare_stack_trace.js',
|
|
241
250
|
'lib/internal/source_map/source_map.js',
|
|
251
|
+
'lib/internal/source_map/source_map_cache.js',
|
|
242
252
|
'lib/internal/streams/add-abort-signal.js',
|
|
243
253
|
'lib/internal/streams/buffer_list.js',
|
|
244
254
|
'lib/internal/streams/compose.js',
|
|
255
|
+
'lib/internal/streams/destroy.js',
|
|
245
256
|
'lib/internal/streams/duplex.js',
|
|
246
257
|
'lib/internal/streams/duplexify.js',
|
|
247
258
|
'lib/internal/streams/end-of-stream.js',
|
|
248
259
|
'lib/internal/streams/from.js',
|
|
249
260
|
'lib/internal/streams/lazy_transform.js',
|
|
261
|
+
'lib/internal/streams/operators.js',
|
|
250
262
|
'lib/internal/streams/pipeline.js',
|
|
251
263
|
'lib/internal/streams/readable.js',
|
|
252
264
|
'lib/internal/streams/state.js',
|
|
253
265
|
'lib/internal/streams/transform.js',
|
|
254
266
|
'lib/internal/streams/utils.js',
|
|
255
267
|
'lib/internal/streams/writable.js',
|
|
256
|
-
'lib/internal/streams/destroy.js',
|
|
257
|
-
'lib/internal/streams/operators.js',
|
|
258
268
|
'lib/internal/streams/legacy.js',
|
|
259
269
|
'lib/internal/streams/passthrough.js',
|
|
260
270
|
'lib/internal/test/binding.js',
|
|
261
271
|
'lib/internal/test/transfer.js',
|
|
272
|
+
'lib/internal/util/colors.js',
|
|
262
273
|
'lib/internal/util/comparisons.js',
|
|
263
274
|
'lib/internal/util/debuglog.js',
|
|
275
|
+
'lib/internal/util/inspect.js',
|
|
264
276
|
'lib/internal/util/inspector.js',
|
|
265
277
|
'lib/internal/util/iterable_weak_map.js',
|
|
266
278
|
'lib/internal/util/types.js',
|
|
267
|
-
'lib/internal/util/inspect.js',
|
|
268
279
|
'lib/internal/util/parse_args/parse_args.js',
|
|
269
280
|
'lib/internal/util/parse_args/utils.js',
|
|
270
|
-
'lib/internal/v8/startup_snapshot.js',
|
|
271
281
|
'lib/internal/vm/module.js',
|
|
272
|
-
'lib/internal/worker/js_transferable.js',
|
|
273
282
|
'lib/internal/worker/io.js',
|
|
274
|
-
'lib/internal/
|
|
275
|
-
'lib/internal/test_runner/tap_stream.js',
|
|
276
|
-
'lib/internal/test_runner/test.js',
|
|
277
|
-
'lib/internal/test_runner/utils.js',
|
|
278
|
-
'lib/internal/tls/parse-cert-string.js',
|
|
279
|
-
'lib/internal/tls/secure-pair.js',
|
|
280
|
-
'lib/internal/tls/secure-context.js',
|
|
281
|
-
'lib/internal/debugger/inspect_client.js',
|
|
283
|
+
'lib/internal/worker/js_transferable.js',
|
|
282
284
|
'lib/internal/debugger/inspect.js',
|
|
285
|
+
'lib/internal/debugger/inspect_client.js',
|
|
283
286
|
'lib/internal/debugger/inspect_repl.js',
|
|
284
|
-
'lib/internal/legacy/processbinding.js',
|
|
285
287
|
'lib/internal/perf/event_loop_delay.js',
|
|
286
288
|
'lib/internal/perf/event_loop_utilization.js',
|
|
287
289
|
'lib/internal/perf/nodetiming.js',
|
|
@@ -292,20 +294,22 @@
|
|
|
292
294
|
'lib/internal/perf/timerify.js',
|
|
293
295
|
'lib/internal/perf/usertiming.js',
|
|
294
296
|
'lib/internal/perf/utils.js',
|
|
295
|
-
'lib/internal/
|
|
296
|
-
'lib/internal/
|
|
297
|
-
'lib/internal/
|
|
298
|
-
'lib/internal/
|
|
299
|
-
'lib/internal/
|
|
300
|
-
'lib/internal/
|
|
301
|
-
'lib/internal/
|
|
302
|
-
'lib/internal/
|
|
303
|
-
'lib/
|
|
297
|
+
'lib/internal/test_runner/harness.js',
|
|
298
|
+
'lib/internal/test_runner/runner.js',
|
|
299
|
+
'lib/internal/test_runner/tap_stream.js',
|
|
300
|
+
'lib/internal/test_runner/test.js',
|
|
301
|
+
'lib/internal/test_runner/utils.js',
|
|
302
|
+
'lib/internal/legacy/processbinding.js',
|
|
303
|
+
'lib/internal/v8/startup_snapshot.js',
|
|
304
|
+
'lib/internal/watch_mode/files_watcher.js',
|
|
305
|
+
'lib/stream/consumers.js',
|
|
306
|
+
'lib/stream/promises.js',
|
|
307
|
+
'lib/stream/web.js',
|
|
304
308
|
'lib/fs/promises.js',
|
|
305
|
-
'lib/dns/promises.js',
|
|
306
|
-
'lib/timers/promises.js',
|
|
307
309
|
'lib/assert/strict.js',
|
|
308
310
|
'lib/util/types.js',
|
|
311
|
+
'lib/dns/promises.js',
|
|
312
|
+
'lib/timers/promises.js',
|
|
309
313
|
'lib/path/posix.js',
|
|
310
314
|
'lib/path/win32.js'],
|
|
311
315
|
'node_module_version': 93,
|
|
@@ -401,6 +401,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_arraybuffer(napi_env env,
|
|
|
401
401
|
size_t byte_length,
|
|
402
402
|
void** data,
|
|
403
403
|
napi_value* result);
|
|
404
|
+
#ifndef NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
|
|
404
405
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
405
406
|
napi_create_external_arraybuffer(napi_env env,
|
|
406
407
|
void* external_data,
|
|
@@ -408,6 +409,7 @@ napi_create_external_arraybuffer(napi_env env,
|
|
|
408
409
|
napi_finalize finalize_cb,
|
|
409
410
|
void* finalize_hint,
|
|
410
411
|
napi_value* result);
|
|
412
|
+
#endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
|
|
411
413
|
NAPI_EXTERN napi_status NAPI_CDECL napi_get_arraybuffer_info(
|
|
412
414
|
napi_env env, napi_value arraybuffer, void** data, size_t* byte_length);
|
|
413
415
|
NAPI_EXTERN napi_status NAPI_CDECL napi_is_typedarray(napi_env env,
|
|
@@ -98,7 +98,8 @@ typedef enum {
|
|
|
98
98
|
napi_date_expected,
|
|
99
99
|
napi_arraybuffer_expected,
|
|
100
100
|
napi_detachable_arraybuffer_expected,
|
|
101
|
-
napi_would_deadlock // unused
|
|
101
|
+
napi_would_deadlock, // unused
|
|
102
|
+
napi_no_external_buffers_allowed
|
|
102
103
|
} napi_status;
|
|
103
104
|
// Note: when adding a new enum value to `napi_status`, please also update
|
|
104
105
|
// * `const int last_status` in the definition of `napi_get_last_error_info()'
|
package/include/node/node_api.h
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#ifdef BUILDING_NODE_EXTENSION
|
|
5
5
|
#ifdef _WIN32
|
|
6
|
-
// Building native
|
|
6
|
+
// Building native addon against node
|
|
7
7
|
#define NAPI_EXTERN __declspec(dllimport)
|
|
8
8
|
#elif defined(__wasm32__)
|
|
9
9
|
#define NAPI_EXTERN __attribute__((__import_module__("napi")))
|
|
@@ -153,6 +153,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_buffer(napi_env env,
|
|
|
153
153
|
size_t length,
|
|
154
154
|
void** data,
|
|
155
155
|
napi_value* result);
|
|
156
|
+
#ifndef NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
|
|
156
157
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
157
158
|
napi_create_external_buffer(napi_env env,
|
|
158
159
|
size_t length,
|
|
@@ -160,6 +161,7 @@ napi_create_external_buffer(napi_env env,
|
|
|
160
161
|
napi_finalize finalize_cb,
|
|
161
162
|
void* finalize_hint,
|
|
162
163
|
napi_value* result);
|
|
164
|
+
#endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
|
|
163
165
|
NAPI_EXTERN napi_status NAPI_CDECL napi_create_buffer_copy(napi_env env,
|
|
164
166
|
size_t length,
|
|
165
167
|
const void* data,
|