From e628d02fa3ea6c646087b06351a65cf26d7c4469 Mon Sep 17 00:00:00 2001 From: "quisi.do" Date: Sat, 16 Mar 2024 13:59:53 -0700 Subject: [PATCH] set `node-gyp` as an optional peer dependency --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5b8eb683..30b9c92e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ssh2", - "version": "1.15.0", + "version": "1.15.1", "author": "Brian White ", "description": "SSH2 client and server modules written in pure JavaScript for node.js", "main": "./lib/index.js", @@ -19,6 +19,14 @@ "cpu-features": "~0.0.9", "nan": "^2.18.0" }, + "peerDependencies": { + "node-gyp": "*" + }, + "peerDependenciesMeta": { + "node-gyp": { + "optional": true + } + }, "scripts": { "install": "node install.js", "rebuild": "node install.js",