node-aix-ppc64 21.6.2 → 21.7.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 +355 -0
- package/README.md +18 -14
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +2 -0
- package/include/node/js_native_api.h +7 -0
- package/include/node/node.exp +704 -99
- package/include/node/node_version.h +2 -2
- package/include/node/v8-script.h +21 -0
- package/package.json +1 -1
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 21
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
27
|
-
#define NODE_PATCH_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 7
|
|
27
|
+
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 0
|
|
30
30
|
#define NODE_VERSION_LTS_CODENAME ""
|
package/include/node/v8-script.h
CHANGED
|
@@ -388,6 +388,27 @@ class V8_EXPORT ScriptCompiler {
|
|
|
388
388
|
CachedData(const uint8_t* data, int length,
|
|
389
389
|
BufferPolicy buffer_policy = BufferNotOwned);
|
|
390
390
|
~CachedData();
|
|
391
|
+
|
|
392
|
+
enum CompatibilityCheckResult {
|
|
393
|
+
// Don't change order/existing values of this enum since it keys into the
|
|
394
|
+
// `code_cache_reject_reason` histogram. Append-only!
|
|
395
|
+
kSuccess = 0,
|
|
396
|
+
kMagicNumberMismatch = 1,
|
|
397
|
+
kVersionMismatch = 2,
|
|
398
|
+
kSourceMismatch = 3,
|
|
399
|
+
kFlagsMismatch = 5,
|
|
400
|
+
kChecksumMismatch = 6,
|
|
401
|
+
kInvalidHeader = 7,
|
|
402
|
+
kLengthMismatch = 8,
|
|
403
|
+
kReadOnlySnapshotChecksumMismatch = 9,
|
|
404
|
+
|
|
405
|
+
// This should always point at the last real enum value.
|
|
406
|
+
kLast = kReadOnlySnapshotChecksumMismatch
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
// Check if the CachedData can be loaded in the given isolate.
|
|
410
|
+
CompatibilityCheckResult CompatibilityCheck(Isolate* isolate);
|
|
411
|
+
|
|
391
412
|
// TODO(marja): Async compilation; add constructors which take a callback
|
|
392
413
|
// which will be called when V8 no longer needs the data.
|
|
393
414
|
const uint8_t* data;
|