node-linux-armv7l 16.7.0 → 16.10.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 +287 -0
- package/LICENSE +11 -0
- package/README.md +283 -259
- package/bin/node +0 -0
- package/include/node/common.gypi +2 -1
- package/include/node/config.gypi +2 -0
- package/include/node/node.h +19 -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-x32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x32/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 +28 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h +507 -0
- 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/e_os2.h +3 -2
- package/include/node/openssl/opensslv.h +2 -2
- package/include/node/openssl/ssl.h +1 -0
- package/include/node/openssl/sslerr.h +4 -1
- package/include/node/openssl/x509v3err.h +3 -1
- package/include/node/v8-internal.h +1 -0
- package/include/node/v8-version.h +3 -3
- package/include/node/v8.h +38 -3
- package/package.json +1 -1
- package/share/doc/node/gdbinit +5 -1
- package/share/doc/node/lldb_commands.py +17 -2
- package/share/man/man1/node.1 +8 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
-
* Copyright 1995-
|
|
3
|
+
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
6
6
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -38,6 +38,7 @@ int ERR_load_X509V3_strings(void);
|
|
|
38
38
|
# define X509V3_F_I2S_ASN1_IA5STRING 149
|
|
39
39
|
# define X509V3_F_I2S_ASN1_INTEGER 120
|
|
40
40
|
# define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 138
|
|
41
|
+
# define X509V3_F_I2V_AUTHORITY_KEYID 173
|
|
41
42
|
# define X509V3_F_LEVEL_ADD_NODE 168
|
|
42
43
|
# define X509V3_F_NOTICE_SECTION 132
|
|
43
44
|
# define X509V3_F_NREF_NOS 133
|
|
@@ -78,6 +79,7 @@ int ERR_load_X509V3_strings(void);
|
|
|
78
79
|
# define X509V3_F_V2I_TLS_FEATURE 165
|
|
79
80
|
# define X509V3_F_V3_GENERIC_EXTENSION 116
|
|
80
81
|
# define X509V3_F_X509V3_ADD1_I2D 140
|
|
82
|
+
# define X509V3_F_X509V3_ADD_LEN_VALUE 174
|
|
81
83
|
# define X509V3_F_X509V3_ADD_VALUE 105
|
|
82
84
|
# define X509V3_F_X509V3_EXT_ADD 104
|
|
83
85
|
# define X509V3_F_X509V3_EXT_ADD_ALIAS 106
|
|
@@ -145,6 +145,7 @@ enum ExternalPointerTag : uint64_t {
|
|
|
145
145
|
kForeignForeignAddressTag = 0x01f7000000000000, // 0b000000111110111
|
|
146
146
|
kNativeContextMicrotaskQueueTag = 0x01fb000000000000, // 0b000000111111011
|
|
147
147
|
kEmbedderDataSlotPayloadTag = 0x01fd000000000000, // 0b000000111111101
|
|
148
|
+
kCodeEntryPointTag = 0x01fe000000000000, // 0b000000111111110
|
|
148
149
|
};
|
|
149
150
|
|
|
150
151
|
constexpr uint64_t kExternalPointerTagMask = 0xffff000000000000;
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
// NOTE these macros are used by some of the tool scripts and the build
|
|
10
10
|
// system so their names cannot be changed without changing the scripts.
|
|
11
11
|
#define V8_MAJOR_VERSION 9
|
|
12
|
-
#define V8_MINOR_VERSION
|
|
13
|
-
#define V8_BUILD_NUMBER
|
|
14
|
-
#define V8_PATCH_LEVEL
|
|
12
|
+
#define V8_MINOR_VERSION 3
|
|
13
|
+
#define V8_BUILD_NUMBER 345
|
|
14
|
+
#define V8_PATCH_LEVEL 19
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
|
17
17
|
// (Boolean macro values are not supported by all preprocessors.)
|
package/include/node/v8.h
CHANGED
|
@@ -50,6 +50,7 @@ class CFunction;
|
|
|
50
50
|
class CallHandlerHelper;
|
|
51
51
|
class Context;
|
|
52
52
|
class CppHeap;
|
|
53
|
+
class CTypeInfo;
|
|
53
54
|
class Data;
|
|
54
55
|
class Date;
|
|
55
56
|
class EscapableHandleScope;
|
|
@@ -885,6 +886,8 @@ class TracedReferenceBase {
|
|
|
885
886
|
std::memory_order_relaxed);
|
|
886
887
|
}
|
|
887
888
|
|
|
889
|
+
V8_EXPORT void CheckValue() const;
|
|
890
|
+
|
|
888
891
|
// val_ points to a GlobalHandles node.
|
|
889
892
|
internal::Address* val_ = nullptr;
|
|
890
893
|
|
|
@@ -926,8 +929,18 @@ class BasicTracedReference : public TracedReferenceBase {
|
|
|
926
929
|
const_cast<BasicTracedReference<T>&>(*this));
|
|
927
930
|
}
|
|
928
931
|
|
|
929
|
-
T* operator->() const {
|
|
930
|
-
|
|
932
|
+
T* operator->() const {
|
|
933
|
+
#ifdef V8_ENABLE_CHECKS
|
|
934
|
+
CheckValue();
|
|
935
|
+
#endif // V8_ENABLE_CHECKS
|
|
936
|
+
return reinterpret_cast<T*>(val_);
|
|
937
|
+
}
|
|
938
|
+
T* operator*() const {
|
|
939
|
+
#ifdef V8_ENABLE_CHECKS
|
|
940
|
+
CheckValue();
|
|
941
|
+
#endif // V8_ENABLE_CHECKS
|
|
942
|
+
return reinterpret_cast<T*>(val_);
|
|
943
|
+
}
|
|
931
944
|
|
|
932
945
|
private:
|
|
933
946
|
enum DestructionMode { kWithDestructor, kWithoutDestructor };
|
|
@@ -4427,6 +4440,7 @@ class V8_EXPORT Array : public Object {
|
|
|
4427
4440
|
static Local<Array> New(Isolate* isolate, Local<Value>* elements,
|
|
4428
4441
|
size_t length);
|
|
4429
4442
|
V8_INLINE static Array* Cast(Value* obj);
|
|
4443
|
+
|
|
4430
4444
|
private:
|
|
4431
4445
|
Array();
|
|
4432
4446
|
static void CheckCast(Value* obj);
|
|
@@ -4913,6 +4927,12 @@ class V8_EXPORT Promise : public Object {
|
|
|
4913
4927
|
*/
|
|
4914
4928
|
void MarkAsHandled();
|
|
4915
4929
|
|
|
4930
|
+
/**
|
|
4931
|
+
* Marks this promise as silent to prevent pausing the debugger when the
|
|
4932
|
+
* promise is rejected.
|
|
4933
|
+
*/
|
|
4934
|
+
void MarkAsSilent();
|
|
4935
|
+
|
|
4916
4936
|
V8_INLINE static Promise* Cast(Value* obj);
|
|
4917
4937
|
|
|
4918
4938
|
static const int kEmbedderFieldCount = V8_PROMISE_INTERNAL_FIELD_COUNT;
|
|
@@ -8811,7 +8831,7 @@ class V8_EXPORT Isolate {
|
|
|
8811
8831
|
kDateToLocaleTimeString = 68,
|
|
8812
8832
|
kAttemptOverrideReadOnlyOnPrototypeSloppy = 69,
|
|
8813
8833
|
kAttemptOverrideReadOnlyOnPrototypeStrict = 70,
|
|
8814
|
-
kOptimizedFunctionWithOneShotBytecode = 71,
|
|
8834
|
+
kOptimizedFunctionWithOneShotBytecode = 71, // Unused.
|
|
8815
8835
|
kRegExpMatchIsTrueishOnNonJSRegExp = 72,
|
|
8816
8836
|
kRegExpMatchIsFalseishOnJSRegExp = 73,
|
|
8817
8837
|
kDateGetTimezoneOffset = 74, // Unused.
|
|
@@ -8913,6 +8933,14 @@ class V8_EXPORT Isolate {
|
|
|
8913
8933
|
*/
|
|
8914
8934
|
static Isolate* GetCurrent();
|
|
8915
8935
|
|
|
8936
|
+
/**
|
|
8937
|
+
* Returns the entered isolate for the current thread or NULL in
|
|
8938
|
+
* case there is no current isolate.
|
|
8939
|
+
*
|
|
8940
|
+
* No checks are performed by this method.
|
|
8941
|
+
*/
|
|
8942
|
+
static Isolate* TryGetCurrent();
|
|
8943
|
+
|
|
8916
8944
|
/**
|
|
8917
8945
|
* Clears the set of objects held strongly by the heap. This set of
|
|
8918
8946
|
* objects are originally built when a WeakRef is created or
|
|
@@ -8979,6 +9007,13 @@ class V8_EXPORT Isolate {
|
|
|
8979
9007
|
*/
|
|
8980
9008
|
void MemoryPressureNotification(MemoryPressureLevel level);
|
|
8981
9009
|
|
|
9010
|
+
/**
|
|
9011
|
+
* Drop non-essential caches. Should only be called from testing code.
|
|
9012
|
+
* The method can potentially block for a long time and does not necessarily
|
|
9013
|
+
* trigger GC.
|
|
9014
|
+
*/
|
|
9015
|
+
void ClearCachesForTesting();
|
|
9016
|
+
|
|
8982
9017
|
/**
|
|
8983
9018
|
* Methods below this point require holding a lock (using Locker) in
|
|
8984
9019
|
* a multi-threaded environment.
|
package/package.json
CHANGED
package/share/doc/node/gdbinit
CHANGED
|
@@ -31,7 +31,11 @@ end
|
|
|
31
31
|
|
|
32
32
|
# Print Code objects containing given PC.
|
|
33
33
|
define jco
|
|
34
|
-
|
|
34
|
+
if $argc == 0
|
|
35
|
+
call (void) _v8_internal_Print_Code((void*)($pc))
|
|
36
|
+
else
|
|
37
|
+
call (void) _v8_internal_Print_Code((void*)($arg0))
|
|
38
|
+
end
|
|
35
39
|
end
|
|
36
40
|
document jco
|
|
37
41
|
Print a v8 Code object from an internal code address
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
# for py2/py3 compatibility
|
|
9
9
|
from __future__ import print_function
|
|
10
10
|
|
|
11
|
-
import
|
|
11
|
+
import os
|
|
12
12
|
import re
|
|
13
13
|
|
|
14
|
+
import lldb
|
|
15
|
+
|
|
14
16
|
#####################
|
|
15
17
|
# Helper functions. #
|
|
16
18
|
#####################
|
|
@@ -21,7 +23,8 @@ def current_frame(debugger):
|
|
|
21
23
|
return current_thread(debugger).GetSelectedFrame()
|
|
22
24
|
|
|
23
25
|
def no_arg_cmd(debugger, cmd):
|
|
24
|
-
|
|
26
|
+
cast_to_void_expr = '(void) {}'.format(cmd)
|
|
27
|
+
evaluate_result = current_frame(debugger).EvaluateExpression(cast_to_void_expr)
|
|
25
28
|
# When a void function is called the return value type is 0x1001 which
|
|
26
29
|
# is specified in http://tiny.cc/bigskz. This does not indicate
|
|
27
30
|
# an error so we check for that value below.
|
|
@@ -112,7 +115,19 @@ def bta(debugger, *args):
|
|
|
112
115
|
print("%s -> %s %s (%s)\033[0m" % (
|
|
113
116
|
color, prefix, match.group(2), match.group(1)))
|
|
114
117
|
|
|
118
|
+
def setup_source_map_for_relative_paths(debugger):
|
|
119
|
+
# Copied from Chromium's tools/lldb/lldbinit.py.
|
|
120
|
+
# When relative paths are used for debug symbols, lldb cannot find source
|
|
121
|
+
# files. Set up a source map to point to V8's root.
|
|
122
|
+
this_dir = os.path.dirname(os.path.abspath(__file__))
|
|
123
|
+
source_dir = os.path.join(this_dir, os.pardir)
|
|
124
|
+
|
|
125
|
+
debugger.HandleCommand(
|
|
126
|
+
'settings set target.source-map ../.. ' + source_dir)
|
|
127
|
+
|
|
128
|
+
|
|
115
129
|
def __lldb_init_module(debugger, dict):
|
|
130
|
+
setup_source_map_for_relative_paths(debugger)
|
|
116
131
|
debugger.HandleCommand('settings set target.x86-disassembly-flavor intel')
|
|
117
132
|
for cmd in ('job', 'jlh', 'jco', 'jld', 'jtt', 'jst', 'jss', 'bta'):
|
|
118
133
|
debugger.HandleCommand(
|
package/share/man/man1/node.1
CHANGED
|
@@ -277,6 +277,14 @@ Silence deprecation warnings.
|
|
|
277
277
|
Disable runtime checks for `async_hooks`.
|
|
278
278
|
These will still be enabled dynamically when `async_hooks` is enabled.
|
|
279
279
|
.
|
|
280
|
+
.It Fl -no-addons
|
|
281
|
+
Disable the `node-addons` exports condition as well as disable loading native
|
|
282
|
+
addons. When `--no-addons` is specified, calling `process.dlopen` or requiring
|
|
283
|
+
a native C++ addon will fail and throw an exception.
|
|
284
|
+
.
|
|
285
|
+
.It Fl -no-global-search-paths
|
|
286
|
+
Do not search modules from global paths.
|
|
287
|
+
.
|
|
280
288
|
.It Fl -no-warnings
|
|
281
289
|
Silence all process warnings (including deprecations).
|
|
282
290
|
.
|