node-linux-arm64 19.8.1 → 20.0.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 +211 -1516
- package/README.md +28 -23
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +14 -7
- package/include/node/libplatform/v8-tracing.h +2 -2
- package/include/node/node.h +22 -35
- package/include/node/node_api.h +17 -59
- package/include/node/node_version.h +4 -4
- 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/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/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-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/v8-array-buffer.h +59 -0
- package/include/node/v8-callbacks.h +14 -1
- package/include/node/v8-context.h +50 -3
- package/include/node/v8-data.h +1 -1
- package/include/node/v8-embedder-heap.h +0 -169
- package/include/node/v8-function-callback.h +69 -42
- package/include/node/v8-function.h +1 -0
- package/include/node/v8-internal.h +242 -150
- package/include/node/v8-isolate.h +30 -40
- package/include/node/v8-local-handle.h +81 -48
- package/include/node/v8-microtask-queue.h +5 -0
- package/include/node/v8-object.h +21 -3
- package/include/node/v8-persistent-handle.h +25 -16
- package/include/node/v8-platform.h +79 -10
- package/include/node/v8-primitive.h +19 -12
- package/include/node/v8-profiler.h +49 -31
- package/include/node/v8-script.h +29 -1
- package/include/node/v8-snapshot.h +4 -8
- package/include/node/v8-template.h +3 -1
- package/include/node/v8-traced-handle.h +22 -28
- package/include/node/v8-value.h +31 -4
- package/include/node/v8-version.h +4 -4
- package/include/node/v8-wasm.h +2 -1
- package/include/node/v8config.h +73 -2
- package/package.json +1 -1
- package/share/doc/node/gdbinit +4 -3
- package/share/man/man1/node.1 +17 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: solaris64-x86_64-gcc"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Mon Feb 13 14:12:08 2023 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: solaris64-x86_64-gcc"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Mon Feb 13 14:12:22 2023 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: solaris64-x86_64-gcc"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Mon Feb 13 14:12:36 2023 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -53,12 +53,28 @@ class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase {
|
|
|
53
53
|
*/
|
|
54
54
|
size_t ByteLength() const;
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
* The maximum length (in bytes) that this backing store may grow to.
|
|
58
|
+
*
|
|
59
|
+
* If this backing store was created for a resizable ArrayBuffer or a growable
|
|
60
|
+
* SharedArrayBuffer, it is >= ByteLength(). Otherwise it is ==
|
|
61
|
+
* ByteLength().
|
|
62
|
+
*/
|
|
63
|
+
size_t MaxByteLength() const;
|
|
64
|
+
|
|
56
65
|
/**
|
|
57
66
|
* Indicates whether the backing store was created for an ArrayBuffer or
|
|
58
67
|
* a SharedArrayBuffer.
|
|
59
68
|
*/
|
|
60
69
|
bool IsShared() const;
|
|
61
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Indicates whether the backing store was created for a resizable ArrayBuffer
|
|
73
|
+
* or a growable SharedArrayBuffer, and thus may be resized by user JavaScript
|
|
74
|
+
* code.
|
|
75
|
+
*/
|
|
76
|
+
bool IsResizableByUserJavaScript() const;
|
|
77
|
+
|
|
62
78
|
/**
|
|
63
79
|
* Prevent implicit instantiation of operator delete with size_t argument.
|
|
64
80
|
* The size_t argument would be incorrect because ptr points to the
|
|
@@ -189,6 +205,11 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
189
205
|
*/
|
|
190
206
|
size_t ByteLength() const;
|
|
191
207
|
|
|
208
|
+
/**
|
|
209
|
+
* Maximum length in bytes.
|
|
210
|
+
*/
|
|
211
|
+
size_t MaxByteLength() const;
|
|
212
|
+
|
|
192
213
|
/**
|
|
193
214
|
* Create a new ArrayBuffer. Allocate |byte_length| bytes.
|
|
194
215
|
* Allocated memory will be owned by a created ArrayBuffer and
|
|
@@ -235,6 +256,21 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
235
256
|
void* data, size_t byte_length, v8::BackingStore::DeleterCallback deleter,
|
|
236
257
|
void* deleter_data);
|
|
237
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Returns a new resizable standalone BackingStore that is allocated using the
|
|
261
|
+
* array buffer allocator of the isolate. The result can be later passed to
|
|
262
|
+
* ArrayBuffer::New.
|
|
263
|
+
*
|
|
264
|
+
* |byte_length| must be <= |max_byte_length|.
|
|
265
|
+
*
|
|
266
|
+
* This function is usable without an isolate. Unlike |NewBackingStore| calls
|
|
267
|
+
* with an isolate, GCs cannot be triggered, and there are no
|
|
268
|
+
* retries. Allocation failure will cause the function to crash with an
|
|
269
|
+
* out-of-memory error.
|
|
270
|
+
*/
|
|
271
|
+
static std::unique_ptr<BackingStore> NewResizableBackingStore(
|
|
272
|
+
size_t byte_length, size_t max_byte_length);
|
|
273
|
+
|
|
238
274
|
/**
|
|
239
275
|
* Returns true if this ArrayBuffer may be detached.
|
|
240
276
|
*/
|
|
@@ -251,8 +287,26 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
251
287
|
* preventing JavaScript from ever accessing underlying backing store.
|
|
252
288
|
* ArrayBuffer should have been externalized and must be detachable.
|
|
253
289
|
*/
|
|
290
|
+
V8_DEPRECATE_SOON(
|
|
291
|
+
"Use the version which takes a key parameter (passing a null handle is "
|
|
292
|
+
"ok).")
|
|
254
293
|
void Detach();
|
|
255
294
|
|
|
295
|
+
/**
|
|
296
|
+
* Detaches this ArrayBuffer and all its views (typed arrays).
|
|
297
|
+
* Detaching sets the byte length of the buffer and all typed arrays to zero,
|
|
298
|
+
* preventing JavaScript from ever accessing underlying backing store.
|
|
299
|
+
* ArrayBuffer should have been externalized and must be detachable. Returns
|
|
300
|
+
* Nothing if the key didn't pass the [[ArrayBufferDetachKey]] check,
|
|
301
|
+
* Just(true) otherwise.
|
|
302
|
+
*/
|
|
303
|
+
V8_WARN_UNUSED_RESULT Maybe<bool> Detach(v8::Local<v8::Value> key);
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Sets the ArrayBufferDetachKey.
|
|
307
|
+
*/
|
|
308
|
+
void SetDetachKey(v8::Local<v8::Value> key);
|
|
309
|
+
|
|
256
310
|
/**
|
|
257
311
|
* Get a shared pointer to the backing store of this array buffer. This
|
|
258
312
|
* pointer coordinates the lifetime management of the internal storage
|
|
@@ -374,6 +428,11 @@ class V8_EXPORT SharedArrayBuffer : public Object {
|
|
|
374
428
|
*/
|
|
375
429
|
size_t ByteLength() const;
|
|
376
430
|
|
|
431
|
+
/**
|
|
432
|
+
* Maximum length in bytes.
|
|
433
|
+
*/
|
|
434
|
+
size_t MaxByteLength() const;
|
|
435
|
+
|
|
377
436
|
/**
|
|
378
437
|
* Create a new SharedArrayBuffer. Allocate |byte_length| bytes.
|
|
379
438
|
* Allocated memory will be owned by a created SharedArrayBuffer and
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
#include <stddef.h>
|
|
9
9
|
|
|
10
|
+
#include <functional>
|
|
10
11
|
#include <string>
|
|
11
12
|
|
|
12
13
|
#include "cppgc/common.h"
|
|
@@ -237,7 +238,8 @@ using LogEventCallback = void (*)(const char* name,
|
|
|
237
238
|
enum class CrashKeyId {
|
|
238
239
|
kIsolateAddress,
|
|
239
240
|
kReadonlySpaceFirstPageAddress,
|
|
240
|
-
kMapSpaceFirstPageAddress,
|
|
241
|
+
kMapSpaceFirstPageAddress V8_ENUM_DEPRECATE_SOON("Map space got removed"),
|
|
242
|
+
kOldSpaceFirstPageAddress,
|
|
241
243
|
kCodeRangeBaseAddress,
|
|
242
244
|
kCodeSpaceFirstPageAddress,
|
|
243
245
|
kDumpType,
|
|
@@ -327,6 +329,10 @@ using WasmSimdEnabledCallback = bool (*)(Local<Context> context);
|
|
|
327
329
|
// --- Callback for checking if WebAssembly exceptions are enabled ---
|
|
328
330
|
using WasmExceptionsEnabledCallback = bool (*)(Local<Context> context);
|
|
329
331
|
|
|
332
|
+
// --- Callback for checking if WebAssembly GC is enabled ---
|
|
333
|
+
// If the callback returns true, it will also enable Wasm stringrefs.
|
|
334
|
+
using WasmGCEnabledCallback = bool (*)(Local<Context> context);
|
|
335
|
+
|
|
330
336
|
// --- Callback for checking if the SharedArrayBuffer constructor is enabled ---
|
|
331
337
|
using SharedArrayBufferConstructorEnabledCallback =
|
|
332
338
|
bool (*)(Local<Context> context);
|
|
@@ -367,6 +373,13 @@ using HostImportModuleDynamicallyCallback = MaybeLocal<Promise> (*)(
|
|
|
367
373
|
Local<Value> resource_name, Local<String> specifier,
|
|
368
374
|
Local<FixedArray> import_assertions);
|
|
369
375
|
|
|
376
|
+
/**
|
|
377
|
+
* Callback for requesting a compile hint for a function from the embedder. The
|
|
378
|
+
* first parameter is the position of the function in source code and the second
|
|
379
|
+
* parameter is embedder data to be passed back.
|
|
380
|
+
*/
|
|
381
|
+
using CompileHintCallback = bool (*)(int, void*);
|
|
382
|
+
|
|
370
383
|
/**
|
|
371
384
|
* HostInitializeImportMetaObjectCallback is called the first time import.meta
|
|
372
385
|
* is accessed for a module. Subsequent access will reuse the same value.
|