From 768bdd9ac47f852422176429bf4f8c55c1e80b45 Mon Sep 17 00:00:00 2001 From: Igor Klopov Date: Mon, 18 Jun 2018 12:26:09 +0300 Subject: [PATCH] adjust for updated v8 in 8.11 --- lib/verify.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/verify.js b/lib/verify.js index 8d6e1a7..5db201d 100644 --- a/lib/verify.js +++ b/lib/verify.js @@ -21,6 +21,9 @@ const script = ` kCpuFeaturesOffset = 0x0c; } else if (modules === 57) { + if (v8 === '6.2') { + kCpuFeaturesOffset = 0x0c; + } else if (v8 === '5.8') { kCpuFeaturesOffset = 0x0c; } else {