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.
- package/CHANGELOG.md +341 -0
- package/LICENSE +52 -12
- package/README.md +17 -8
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +532 -488
- package/include/node/js_native_api.h +6 -0
- package/include/node/js_native_api_types.h +2 -0
- package/include/node/node.h +1 -1
- package/include/node/node_api_types.h +2 -0
- package/include/node/node_version.h +2 -2
- package/package.json +1 -1
- package/share/man/man1/node.1 +3 -0
|
@@ -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);
|
package/include/node/node.h
CHANGED
|
@@ -1461,7 +1461,7 @@ class NODE_EXTERN CallbackScope {
|
|
|
1461
1461
|
CallbackScope(CallbackScope&&) = delete;
|
|
1462
1462
|
|
|
1463
1463
|
private:
|
|
1464
|
-
void*
|
|
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
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
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
package/share/man/man1/node.1
CHANGED
|
@@ -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
|
.
|