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.
@@ -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
- v8::String::NewFromUtf8(isolate, #constant, \
1032
- v8::NewStringType::kInternalized).ToLocalChecked(); \
1033
- v8::Local<v8::Number> constant_value = \
1034
- v8::Number::New(isolate, static_cast<double>(constant)); \
1035
- v8::PropertyAttribute constant_attributes = \
1036
- static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete); \
1037
- (target)->DefineOwnProperty(context, \
1038
- constant_name, \
1039
- constant_value, \
1040
- constant_attributes).Check(); \
1041
- } \
1042
- while (0)
1043
-
1044
- #define NODE_DEFINE_HIDDEN_CONSTANT(target, constant) \
1045
- do { \
1046
- v8::Isolate* isolate = target->GetIsolate(); \
1047
- v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
1048
- v8::Local<v8::String> constant_name = \
1049
- v8::String::NewFromUtf8(isolate, #constant, \
1050
- v8::NewStringType::kInternalized) \
1051
- .ToLocalChecked(); \
1052
- v8::Local<v8::Number> constant_value = \
1053
- v8::Number::New(isolate, static_cast<double>(constant)); \
1054
- v8::PropertyAttribute constant_attributes = \
1055
- static_cast<v8::PropertyAttribute>(v8::ReadOnly | \
1056
- v8::DontDelete | \
1057
- v8::DontEnum); \
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,
@@ -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 18
27
- #define NODE_PATCH_VERSION 2
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-aix-ppc64",
3
- "version": "v20.18.2",
3
+ "version": "v20.19.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"