From b7c9118a463f13fd3c71a89c0cf344b0bb0409e4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 15 Jul 2025 09:40:15 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 10 ++++++++++ package.json | 10 ++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7fa056b --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - inquirer > lodash: + patched: '2025-07-15T09:40:13.299Z' + id: SNYK-JS-LODASH-567746 + path: inquirer > lodash diff --git a/package.json b/package.json index 8c4c542..61ad05b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,13 @@ "inquirer": "^7.0.1", "commander": "^4.0.1", "js-yaml": "^3.13.1", - "file-send": "^4.0.3" + "file-send": "^4.0.3", + "@snyk/protect": "latest" }, - "readmeFilename": "README.md" + "readmeFilename": "README.md", + "scripts": { + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "snyk": true }