node-aix-ppc64 20.18.2 → 20.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 +424 -0
- package/LICENSE +29 -33
- package/README.md +22 -23
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +4 -4
- package/include/node/node.exp +13827 -13829
- package/include/node/node.h +32 -38
- package/include/node/node_api.h +0 -3
- package/include/node/node_version.h +2 -2
- package/package.json +1 -1
package/include/node/node.h
CHANGED
|
@@ -1023,44 +1023,38 @@ NODE_DEPRECATED("Use v8::Date::ValueOf() directly",
|
|
|
1023
1023
|
})
|
|
1024
1024
|
#define NODE_V8_UNIXTIME node::NODE_V8_UNIXTIME
|
|
1025
1025
|
|
|
1026
|
-
#define NODE_DEFINE_CONSTANT(target, constant)
|
|
1027
|
-
do {
|
|
1028
|
-
v8::Isolate* isolate = target->GetIsolate();
|
|
1029
|
-
v8::Local<v8::Context> context = isolate->GetCurrentContext();
|
|
1030
|
-
v8::Local<v8::String> constant_name =
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
v8::
|
|
1047
|
-
|
|
1048
|
-
v8::Local<v8::
|
|
1049
|
-
v8::
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
(target)->DefineOwnProperty(context, \
|
|
1059
|
-
constant_name, \
|
|
1060
|
-
constant_value, \
|
|
1061
|
-
constant_attributes).Check(); \
|
|
1062
|
-
} \
|
|
1063
|
-
while (0)
|
|
1026
|
+
#define NODE_DEFINE_CONSTANT(target, constant) \
|
|
1027
|
+
do { \
|
|
1028
|
+
v8::Isolate* isolate = target->GetIsolate(); \
|
|
1029
|
+
v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
|
|
1030
|
+
v8::Local<v8::String> constant_name = v8::String::NewFromUtf8Literal( \
|
|
1031
|
+
isolate, #constant, v8::NewStringType::kInternalized); \
|
|
1032
|
+
v8::Local<v8::Number> constant_value = \
|
|
1033
|
+
v8::Number::New(isolate, static_cast<double>(constant)); \
|
|
1034
|
+
v8::PropertyAttribute constant_attributes = \
|
|
1035
|
+
static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete); \
|
|
1036
|
+
(target) \
|
|
1037
|
+
->DefineOwnProperty( \
|
|
1038
|
+
context, constant_name, constant_value, constant_attributes) \
|
|
1039
|
+
.Check(); \
|
|
1040
|
+
} while (0)
|
|
1041
|
+
|
|
1042
|
+
#define NODE_DEFINE_HIDDEN_CONSTANT(target, constant) \
|
|
1043
|
+
do { \
|
|
1044
|
+
v8::Isolate* isolate = target->GetIsolate(); \
|
|
1045
|
+
v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
|
|
1046
|
+
v8::Local<v8::String> constant_name = v8::String::NewFromUtf8Literal( \
|
|
1047
|
+
isolate, #constant, v8::NewStringType::kInternalized); \
|
|
1048
|
+
v8::Local<v8::Number> constant_value = \
|
|
1049
|
+
v8::Number::New(isolate, static_cast<double>(constant)); \
|
|
1050
|
+
v8::PropertyAttribute constant_attributes = \
|
|
1051
|
+
static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete | \
|
|
1052
|
+
v8::DontEnum); \
|
|
1053
|
+
(target) \
|
|
1054
|
+
->DefineOwnProperty( \
|
|
1055
|
+
context, constant_name, constant_value, constant_attributes) \
|
|
1056
|
+
.Check(); \
|
|
1057
|
+
} while (0)
|
|
1064
1058
|
|
|
1065
1059
|
// Used to be a macro, hence the uppercase name.
|
|
1066
1060
|
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
|
package/include/node/node_api.h
CHANGED
|
@@ -90,9 +90,6 @@ EXTERN_C_START
|
|
|
90
90
|
|
|
91
91
|
// Deprecated. Replaced by symbol-based registration defined by NAPI_MODULE
|
|
92
92
|
// and NAPI_MODULE_INIT macros.
|
|
93
|
-
#if defined(__cplusplus) && __cplusplus >= 201402L
|
|
94
|
-
[[deprecated]]
|
|
95
|
-
#endif
|
|
96
93
|
NAPI_EXTERN void NAPI_CDECL
|
|
97
94
|
napi_module_register(napi_module* mod);
|
|
98
95
|
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 20
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 19
|
|
27
|
+
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 1
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME "Iron"
|