node-aix-ppc64 21.6.2 → 21.7.1

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.
@@ -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 6
27
- #define NODE_PATCH_VERSION 2
26
+ #define NODE_MINOR_VERSION 7
27
+ #define NODE_PATCH_VERSION 1
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-aix-ppc64",
3
- "version": "v21.6.2",
3
+ "version": "v21.7.1",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"