From 859b95be02470c85c0bec206e008712ab88195ee Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 12 Apr 2022 16:35:56 +0100 Subject: [PATCH] Updated `node-gyp` to v8.x refs https://github.com/TryGhost/node-sqlite3/issues/1493 refs https://github.com/nodejs/node-gyp/pull/2474 - `node-gyp` 7.x has a minimum `tar` version of 6.0.2, which has a security vulnerability listed against it - `node-gyp` 8.x updates the minimum to 6.1.2, which contains the fix - `node-gyp` 8.x should still allow us to use Node 10, so we're good with Node compatibility - it also seems to fix the `PYTHON` env variable being set, which helps fix the build for MacOS Monterey (coming in the next commit) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 27dbb6ebf..fa5b8b201 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "mocha": "^9.2.2" }, "peerDependencies": { - "node-gyp": "7.x" + "node-gyp": "8.x" }, "peerDependenciesMeta": { "node-gyp": { @@ -57,7 +57,7 @@ } }, "optionalDependencies": { - "node-gyp": "7.x" + "node-gyp": "8.x" }, "scripts": { "install": "node-pre-gyp install --fallback-to-build",