diff --git a/cyclic-dep-simple/.snyk b/cyclic-dep-simple/.snyk new file mode 100644 index 00000000..e7944ae7 --- /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-05T10:54:57.070Z' diff --git a/cyclic-dep-simple/package-lock.json b/cyclic-dep-simple/package-lock.json index 58dfd250..fc310cf7 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.1021.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.1021.0.tgz", + "integrity": "sha512-d301HqyFvhvXa6SOIL5OSDYECOooMs4ARZdBlg7pY5SOW7jXksPBP95imaIRrS7qos9CZ5f7h8orkM9J2B3EOQ==" + }, "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 b9e2f140..5b77cd75 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 }