diff --git a/cyclic-dep-simple/.snyk b/cyclic-dep-simple/.snyk new file mode 100644 index 000000000..c630d5426 --- /dev/null +++ b/cyclic-dep-simple/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - debug > ms > debug: + patched: '2022-10-06T20:31:06.831Z' diff --git a/cyclic-dep-simple/package-lock.json b/cyclic-dep-simple/package-lock.json index 58dfd250b..9013c6c26 100644 --- a/cyclic-dep-simple/package-lock.json +++ b/cyclic-dep-simple/package-lock.json @@ -4,21 +4,23 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "@snyk/protect": { + "version": "1.1024.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.1024.0.tgz", + "integrity": "sha512-x73h7YS8MWLTOyBPCOhnipqseS3CNavjGvpg3VRqpEGdbHh2bhW2X6K03ZXQobGWXo6jAuG7Aey+Ad6iuY9qKw==" + }, "debug": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.0.0.tgz", - "integrity": "sha1-ib2d9nMrUSVrxnBTQrugLtEhMe8=", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "requires": { - "ms": "0.6.2" + "ms": "2.0.0" } }, "ms": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz", - "integrity": "sha1-2JwhJMb9wTU9Zai3e/GqxLGTcIw=", - "requires": { - "debug": "2.0.0" - } + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" } } } diff --git a/cyclic-dep-simple/package.json b/cyclic-dep-simple/package.json index b9e2f140d..5b77cd752 100644 --- a/cyclic-dep-simple/package.json +++ b/cyclic-dep-simple/package.json @@ -6,11 +6,17 @@ "main": "index.js", "module": "index.mjs", "dependencies": { - "debug": "2.0.x" + "debug": "2.6.9", + "@snyk/protect": "latest" }, "engines": { "node": ">=8.0" }, "homepage": "https://github.com/MarkGriffiths/trucolor", - "license": "MIT" + "license": "MIT", + "scripts": { + "prepare": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "snyk": true }