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.
Files changed (92) hide show
  1. package/CHANGELOG.md +287 -0
  2. package/LICENSE +11 -0
  3. package/README.md +283 -259
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +2 -1
  6. package/include/node/config.gypi +2 -0
  7. package/include/node/node.h +19 -1
  8. package/include/node/node_version.h +1 -1
  9. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  10. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  11. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  12. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  13. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  14. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  15. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  16. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
  17. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  18. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  19. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  20. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  21. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  22. package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +1 -1
  23. package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +1 -1
  24. package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +1 -1
  25. package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +1 -1
  26. package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  27. package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +1 -1
  28. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  29. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  30. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  31. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  32. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  33. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  34. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  35. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  36. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  37. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  38. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  39. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  40. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  41. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  42. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  43. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  44. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  45. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  46. package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +1 -1
  47. package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +1 -1
  48. package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +1 -1
  49. package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +1 -1
  50. package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +1 -1
  51. package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +1 -1
  52. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  53. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  54. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  55. package/include/node/openssl/archs/linux-x32/asm/crypto/buildinf.h +1 -1
  56. package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h +1 -1
  57. package/include/node/openssl/archs/linux-x32/no-asm/crypto/buildinf.h +1 -1
  58. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  59. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  60. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  61. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  62. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  63. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  64. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  65. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  66. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  67. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +28 -0
  68. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  69. package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  70. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslconf.h +203 -0
  71. package/include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h +507 -0
  72. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  73. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  74. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  75. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  76. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  77. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  78. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  79. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  80. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  81. package/include/node/openssl/e_os2.h +3 -2
  82. package/include/node/openssl/opensslv.h +2 -2
  83. package/include/node/openssl/ssl.h +1 -0
  84. package/include/node/openssl/sslerr.h +4 -1
  85. package/include/node/openssl/x509v3err.h +3 -1
  86. package/include/node/v8-internal.h +1 -0
  87. package/include/node/v8-version.h +3 -3
  88. package/include/node/v8.h +38 -3
  89. package/package.json +1 -1
  90. package/share/doc/node/gdbinit +5 -1
  91. package/share/doc/node/lldb_commands.py +17 -2
  92. 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-2019 The OpenSSL Project Authors. All Rights Reserved.
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 2
13
- #define V8_BUILD_NUMBER 230
14
- #define V8_PATCH_LEVEL 21
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 { return reinterpret_cast<T*>(val_); }
930
- T* operator*() const { return reinterpret_cast<T*>(val_); }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-armv7l",
3
- "version": "v16.7.0",
3
+ "version": "v16.10.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -31,7 +31,11 @@ end
31
31
 
32
32
  # Print Code objects containing given PC.
33
33
  define jco
34
- call (void) _v8_internal_Print_Code((void*)($arg0))
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 lldb
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
- evaluate_result = current_frame(debugger).EvaluateExpression(cmd)
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(
@@ -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
  .