node-aix-ppc64 16.10.0 → 16.11.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 +122 -5
- package/README.md +15 -14
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/node.exp +1085 -837
- package/include/node/node_version.h +1 -1
- package/include/node/v8-internal.h +12 -0
- package/include/node/v8-version.h +2 -2
- package/include/node/v8.h +15 -11
- package/include/node/v8config.h +47 -2
- package/package.json +1 -1
|
@@ -15,9 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
namespace v8 {
|
|
17
17
|
|
|
18
|
+
class Array;
|
|
18
19
|
class Context;
|
|
19
20
|
class Data;
|
|
20
21
|
class Isolate;
|
|
22
|
+
template <typename T>
|
|
23
|
+
class Local;
|
|
21
24
|
|
|
22
25
|
namespace internal {
|
|
23
26
|
|
|
@@ -494,6 +497,15 @@ V8_INLINE void PerformCastCheck(T* data) {
|
|
|
494
497
|
class BackingStoreBase {};
|
|
495
498
|
|
|
496
499
|
} // namespace internal
|
|
500
|
+
|
|
501
|
+
V8_EXPORT bool CopyAndConvertArrayToCppBufferInt32(Local<Array> src,
|
|
502
|
+
int32_t* dst,
|
|
503
|
+
uint32_t max_length);
|
|
504
|
+
|
|
505
|
+
V8_EXPORT bool CopyAndConvertArrayToCppBufferFloat64(Local<Array> src,
|
|
506
|
+
double* dst,
|
|
507
|
+
uint32_t max_length);
|
|
508
|
+
|
|
497
509
|
} // namespace v8
|
|
498
510
|
|
|
499
511
|
#endif // INCLUDE_V8_INTERNAL_H_
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
12
|
+
#define V8_MINOR_VERSION 4
|
|
13
|
+
#define V8_BUILD_NUMBER 146
|
|
14
14
|
#define V8_PATCH_LEVEL 19
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
package/include/node/v8.h
CHANGED
|
@@ -1441,7 +1441,7 @@ class ScriptOriginOptions {
|
|
|
1441
1441
|
class ScriptOrigin {
|
|
1442
1442
|
public:
|
|
1443
1443
|
#if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
|
|
1444
|
-
|
|
1444
|
+
V8_DEPRECATED("Use constructor with primitive C++ types")
|
|
1445
1445
|
#endif
|
|
1446
1446
|
V8_INLINE explicit ScriptOrigin(
|
|
1447
1447
|
Local<Value> resource_name, Local<Integer> resource_line_offset,
|
|
@@ -1454,7 +1454,7 @@ class ScriptOrigin {
|
|
|
1454
1454
|
Local<Boolean> is_module = Local<Boolean>(),
|
|
1455
1455
|
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
|
|
1456
1456
|
#if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
|
|
1457
|
-
|
|
1457
|
+
V8_DEPRECATED("Use constructor that takes an isolate")
|
|
1458
1458
|
#endif
|
|
1459
1459
|
V8_INLINE explicit ScriptOrigin(
|
|
1460
1460
|
Local<Value> resource_name, int resource_line_offset = 0,
|
|
@@ -1474,11 +1474,11 @@ class ScriptOrigin {
|
|
|
1474
1474
|
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
|
|
1475
1475
|
|
|
1476
1476
|
V8_INLINE Local<Value> ResourceName() const;
|
|
1477
|
-
|
|
1477
|
+
V8_DEPRECATED("Use getter with primitvie C++ types.")
|
|
1478
1478
|
V8_INLINE Local<Integer> ResourceLineOffset() const;
|
|
1479
|
-
|
|
1479
|
+
V8_DEPRECATED("Use getter with primitvie C++ types.")
|
|
1480
1480
|
V8_INLINE Local<Integer> ResourceColumnOffset() const;
|
|
1481
|
-
|
|
1481
|
+
V8_DEPRECATED("Use getter with primitvie C++ types.")
|
|
1482
1482
|
V8_INLINE Local<Integer> ScriptID() const;
|
|
1483
1483
|
V8_INLINE int LineOffset() const;
|
|
1484
1484
|
V8_INLINE int ColumnOffset() const;
|
|
@@ -1630,14 +1630,14 @@ class V8_EXPORT Module : public Data {
|
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Returns the number of modules requested by this module.
|
|
1632
1632
|
*/
|
|
1633
|
-
|
|
1633
|
+
V8_DEPRECATED("Use Module::GetModuleRequests() and FixedArray::Length().")
|
|
1634
1634
|
int GetModuleRequestsLength() const;
|
|
1635
1635
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Returns the ith module specifier in this module.
|
|
1638
1638
|
* i must be < GetModuleRequestsLength() and >= 0.
|
|
1639
1639
|
*/
|
|
1640
|
-
|
|
1640
|
+
V8_DEPRECATED(
|
|
1641
1641
|
"Use Module::GetModuleRequests() and ModuleRequest::GetSpecifier().")
|
|
1642
1642
|
Local<String> GetModuleRequest(int i) const;
|
|
1643
1643
|
|
|
@@ -1645,7 +1645,7 @@ class V8_EXPORT Module : public Data {
|
|
|
1645
1645
|
* Returns the source location (line number and column number) of the ith
|
|
1646
1646
|
* module specifier's first occurrence in this module.
|
|
1647
1647
|
*/
|
|
1648
|
-
|
|
1648
|
+
V8_DEPRECATED(
|
|
1649
1649
|
"Use Module::GetModuleRequests(), ModuleRequest::GetSourceOffset(), and "
|
|
1650
1650
|
"Module::SourceOffsetToLocation().")
|
|
1651
1651
|
Location GetModuleRequestLocation(int i) const;
|
|
@@ -1680,7 +1680,7 @@ class V8_EXPORT Module : public Data {
|
|
|
1680
1680
|
* instantiation. (In the case where the callback throws an exception, that
|
|
1681
1681
|
* exception is propagated.)
|
|
1682
1682
|
*/
|
|
1683
|
-
|
|
1683
|
+
V8_DEPRECATED(
|
|
1684
1684
|
"Use the version of InstantiateModule that takes a ResolveModuleCallback "
|
|
1685
1685
|
"parameter")
|
|
1686
1686
|
V8_WARN_UNUSED_RESULT Maybe<bool> InstantiateModule(Local<Context> context,
|
|
@@ -4311,11 +4311,13 @@ class V8_EXPORT Object : public Value {
|
|
|
4311
4311
|
/**
|
|
4312
4312
|
* Returns the context in which the object was created.
|
|
4313
4313
|
*/
|
|
4314
|
+
// TODO(chromium:1166077): Mark as deprecate once users are updated.
|
|
4314
4315
|
V8_DEPRECATE_SOON("Use MaybeLocal<Context> GetCreationContext()")
|
|
4315
4316
|
Local<Context> CreationContext();
|
|
4316
4317
|
MaybeLocal<Context> GetCreationContext();
|
|
4317
4318
|
|
|
4318
4319
|
/** Same as above, but works for Persistents */
|
|
4320
|
+
// TODO(chromium:1166077): Mark as deprecate once users are updated.
|
|
4319
4321
|
V8_DEPRECATE_SOON(
|
|
4320
4322
|
"Use MaybeLocal<Context> GetCreationContext(const "
|
|
4321
4323
|
"PersistentBase<Object>& object)")
|
|
@@ -7507,7 +7509,9 @@ using MessageCallback = void (*)(Local<Message> message, Local<Value> data);
|
|
|
7507
7509
|
|
|
7508
7510
|
// --- Tracing ---
|
|
7509
7511
|
|
|
7510
|
-
|
|
7512
|
+
enum LogEventStatus : int { kStart = 0, kEnd = 1, kStamp = 2 };
|
|
7513
|
+
using LogEventCallback = void (*)(const char* name,
|
|
7514
|
+
int /* LogEventStatus */ status);
|
|
7511
7515
|
|
|
7512
7516
|
/**
|
|
7513
7517
|
* Create new error objects by calling the corresponding error object
|
|
@@ -8973,7 +8977,7 @@ class V8_EXPORT Isolate {
|
|
|
8973
8977
|
* This specifies the callback called by the upcoming dynamic
|
|
8974
8978
|
* import() language feature to load modules.
|
|
8975
8979
|
*/
|
|
8976
|
-
|
|
8980
|
+
V8_DEPRECATED(
|
|
8977
8981
|
"Use the version of SetHostImportModuleDynamicallyCallback that takes a "
|
|
8978
8982
|
"HostImportModuleDynamicallyWithImportAssertionsCallback instead")
|
|
8979
8983
|
void SetHostImportModuleDynamicallyCallback(
|
package/include/node/v8config.h
CHANGED
|
@@ -86,51 +86,80 @@ path. Add it with -I<path> to the command line
|
|
|
86
86
|
# define V8_OS_ANDROID 1
|
|
87
87
|
# define V8_OS_LINUX 1
|
|
88
88
|
# define V8_OS_POSIX 1
|
|
89
|
+
# define V8_OS_STRING "android"
|
|
90
|
+
|
|
89
91
|
#elif defined(__APPLE__)
|
|
90
92
|
# define V8_OS_BSD 1
|
|
91
93
|
# define V8_OS_MACOSX 1
|
|
92
94
|
# define V8_OS_POSIX 1
|
|
93
95
|
# if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
|
|
94
96
|
# define V8_OS_IOS 1
|
|
97
|
+
# define V8_OS_STRING "ios"
|
|
98
|
+
# else
|
|
99
|
+
# define V8_OS_STRING "macos"
|
|
95
100
|
# endif // defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
|
|
101
|
+
|
|
96
102
|
#elif defined(__CYGWIN__)
|
|
97
103
|
# define V8_OS_CYGWIN 1
|
|
98
104
|
# define V8_OS_POSIX 1
|
|
105
|
+
# define V8_OS_STRING "cygwin"
|
|
106
|
+
|
|
99
107
|
#elif defined(__linux__)
|
|
100
108
|
# define V8_OS_LINUX 1
|
|
101
109
|
# define V8_OS_POSIX 1
|
|
110
|
+
# define V8_OS_STRING "linux"
|
|
111
|
+
|
|
102
112
|
#elif defined(__sun)
|
|
103
113
|
# define V8_OS_POSIX 1
|
|
104
114
|
# define V8_OS_SOLARIS 1
|
|
115
|
+
# define V8_OS_STRING "sun"
|
|
116
|
+
|
|
105
117
|
#elif defined(STARBOARD)
|
|
106
118
|
# define V8_OS_STARBOARD 1
|
|
119
|
+
# define V8_OS_STRING "starboard"
|
|
120
|
+
|
|
107
121
|
#elif defined(_AIX)
|
|
108
|
-
#define V8_OS_POSIX 1
|
|
109
|
-
#define V8_OS_AIX 1
|
|
122
|
+
# define V8_OS_POSIX 1
|
|
123
|
+
# define V8_OS_AIX 1
|
|
124
|
+
# define V8_OS_STRING "aix"
|
|
125
|
+
|
|
110
126
|
#elif defined(__FreeBSD__)
|
|
111
127
|
# define V8_OS_BSD 1
|
|
112
128
|
# define V8_OS_FREEBSD 1
|
|
113
129
|
# define V8_OS_POSIX 1
|
|
130
|
+
# define V8_OS_STRING "freebsd"
|
|
131
|
+
|
|
114
132
|
#elif defined(__Fuchsia__)
|
|
115
133
|
# define V8_OS_FUCHSIA 1
|
|
116
134
|
# define V8_OS_POSIX 1
|
|
135
|
+
# define V8_OS_STRING "fuchsia"
|
|
136
|
+
|
|
117
137
|
#elif defined(__DragonFly__)
|
|
118
138
|
# define V8_OS_BSD 1
|
|
119
139
|
# define V8_OS_DRAGONFLYBSD 1
|
|
120
140
|
# define V8_OS_POSIX 1
|
|
141
|
+
# define V8_OS_STRING "dragonflybsd"
|
|
142
|
+
|
|
121
143
|
#elif defined(__NetBSD__)
|
|
122
144
|
# define V8_OS_BSD 1
|
|
123
145
|
# define V8_OS_NETBSD 1
|
|
124
146
|
# define V8_OS_POSIX 1
|
|
147
|
+
# define V8_OS_STRING "netbsd"
|
|
148
|
+
|
|
125
149
|
#elif defined(__OpenBSD__)
|
|
126
150
|
# define V8_OS_BSD 1
|
|
127
151
|
# define V8_OS_OPENBSD 1
|
|
128
152
|
# define V8_OS_POSIX 1
|
|
153
|
+
# define V8_OS_STRING "openbsd"
|
|
154
|
+
|
|
129
155
|
#elif defined(__QNXNTO__)
|
|
130
156
|
# define V8_OS_POSIX 1
|
|
131
157
|
# define V8_OS_QNX 1
|
|
158
|
+
# define V8_OS_STRING "qnx"
|
|
159
|
+
|
|
132
160
|
#elif defined(_WIN32)
|
|
133
161
|
# define V8_OS_WIN 1
|
|
162
|
+
# define V8_OS_STRING "windows"
|
|
134
163
|
#endif
|
|
135
164
|
|
|
136
165
|
// -----------------------------------------------------------------------------
|
|
@@ -195,6 +224,22 @@ path. Add it with -I<path> to the command line
|
|
|
195
224
|
|
|
196
225
|
#endif // V8_HAVE_TARGET_OS
|
|
197
226
|
|
|
227
|
+
#if defined(V8_TARGET_OS_ANDROID)
|
|
228
|
+
# define V8_TARGET_OS_STRING "android"
|
|
229
|
+
#elif defined(V8_TARGET_OS_FUCHSIA)
|
|
230
|
+
# define V8_TARGET_OS_STRING "fuchsia"
|
|
231
|
+
#elif defined(V8_TARGET_OS_IOS)
|
|
232
|
+
# define V8_TARGET_OS_STRING "ios"
|
|
233
|
+
#elif defined(V8_TARGET_OS_LINUX)
|
|
234
|
+
# define V8_TARGET_OS_STRING "linux"
|
|
235
|
+
#elif defined(V8_TARGET_OS_MACOSX)
|
|
236
|
+
# define V8_TARGET_OS_STRING "macos"
|
|
237
|
+
#elif defined(V8_TARGET_OS_WINDOWS)
|
|
238
|
+
# define V8_TARGET_OS_STRING "windows"
|
|
239
|
+
#else
|
|
240
|
+
# define V8_TARGET_OS_STRING "unknown"
|
|
241
|
+
#endif
|
|
242
|
+
|
|
198
243
|
// -----------------------------------------------------------------------------
|
|
199
244
|
// C library detection
|
|
200
245
|
//
|