node-aix-ppc64 22.13.1 → 22.14.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.
@@ -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
 
@@ -136,8 +133,7 @@ napi_create_external_buffer(napi_env env,
136
133
  napi_value* result);
137
134
  #endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
138
135
 
139
- #ifdef NAPI_EXPERIMENTAL
140
- #define NODE_API_EXPERIMENTAL_HAS_CREATE_BUFFER_FROM_ARRAYBUFFER
136
+ #if NAPI_VERSION >= 10
141
137
 
142
138
  NAPI_EXTERN napi_status NAPI_CDECL
143
139
  node_api_create_buffer_from_arraybuffer(napi_env env,
@@ -145,7 +141,7 @@ node_api_create_buffer_from_arraybuffer(napi_env env,
145
141
  size_t byte_offset,
146
142
  size_t byte_length,
147
143
  napi_value* result);
148
- #endif // NAPI_EXPERIMENTAL
144
+ #endif // NAPI_VERSION >= 10
149
145
 
150
146
  NAPI_EXTERN napi_status NAPI_CDECL napi_create_buffer_copy(napi_env env,
151
147
  size_t length,
@@ -23,8 +23,8 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 22
26
- #define NODE_MINOR_VERSION 13
27
- #define NODE_PATCH_VERSION 1
26
+ #define NODE_MINOR_VERSION 14
27
+ #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 1
30
30
  #define NODE_VERSION_LTS_CODENAME "Jod"
@@ -100,7 +100,7 @@
100
100
 
101
101
  // The NAPI_VERSION supported by the runtime. This is the inclusive range of
102
102
  // versions which the Node.js binary being built supports.
103
- #define NODE_API_SUPPORTED_VERSION_MAX 9
103
+ #define NODE_API_SUPPORTED_VERSION_MAX 10
104
104
  #define NODE_API_SUPPORTED_VERSION_MIN 1
105
105
 
106
106
  // Node API modules use NAPI_VERSION 8 by default if it is not explicitly
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-aix-ppc64",
3
- "version": "v22.13.1",
3
+ "version": "v22.14.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"