node-linux-arm64 25.2.1 → 25.4.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.
@@ -197,6 +197,12 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_coerce_to_string(napi_env env,
197
197
  napi_value* result);
198
198
 
199
199
  // Methods to work with Objects
200
+ #ifdef NAPI_EXPERIMENTAL
201
+ #define NODE_API_EXPERIMENTAL_HAS_SET_PROTOTYPE
202
+ NAPI_EXTERN napi_status NAPI_CDECL node_api_set_prototype(napi_env env,
203
+ napi_value object,
204
+ napi_value value);
205
+ #endif
200
206
  NAPI_EXTERN napi_status NAPI_CDECL napi_get_prototype(napi_env env,
201
207
  napi_value object,
202
208
  napi_value* result);
@@ -133,6 +133,8 @@ typedef enum {
133
133
  napi_float64_array,
134
134
  napi_bigint64_array,
135
135
  napi_biguint64_array,
136
+ #define NODE_API_HAS_FLOAT16_ARRAY
137
+ napi_float16_array,
136
138
  } napi_typedarray_type;
137
139
 
138
140
  typedef enum {
@@ -1461,7 +1461,7 @@ class NODE_EXTERN CallbackScope {
1461
1461
  CallbackScope(CallbackScope&&) = delete;
1462
1462
 
1463
1463
  private:
1464
- void* resource_storage_global_;
1464
+ [[maybe_unused]] void* reserved_;
1465
1465
  union {
1466
1466
  v8::Local<v8::Object> local;
1467
1467
  v8::Global<v8::Object>* global_ptr;
@@ -5,6 +5,8 @@
5
5
 
6
6
  typedef napi_value(NAPI_CDECL* napi_addon_register_func)(napi_env env,
7
7
  napi_value exports);
8
+ // False positive: https://github.com/cpplint/cpplint/issues/409
9
+ // NOLINTNEXTLINE (readability/casting)
8
10
  typedef int32_t(NAPI_CDECL* node_api_addon_get_api_version_func)(void);
9
11
 
10
12
  typedef struct napi_callback_scope__* napi_callback_scope;
@@ -23,8 +23,8 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 25
26
- #define NODE_MINOR_VERSION 2
27
- #define NODE_PATCH_VERSION 1
26
+ #define NODE_MINOR_VERSION 4
27
+ #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-linux-arm64",
3
- "version": "25.2.1",
3
+ "version": "25.4.0",
4
4
  "description": "node",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/aredridel/node-bin-gen.git"
@@ -216,6 +216,9 @@ Disable top-level await keyword support in REPL.
216
216
  .It Fl -no-experimental-sqlite
217
217
  Disable the experimental node:sqlite module.
218
218
  .
219
+ .It Fl -no-require-module
220
+ Disable support for loading ECMAScript modules with require().
221
+ .
219
222
  .It Fl -no-strip-types
220
223
  Disable type-stripping for TypeScript files.
221
224
  .