diff --git a/cyclic-dep-simple/.snyk b/cyclic-dep-simple/.snyk new file mode 100644 index 00000000..30848dbc --- /dev/null +++ b/cyclic-dep-simple/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.22.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - debug > ms > debug: + patched: '2022-04-30T04:00:52.179Z' diff --git a/cyclic-dep-simple/package-lock.json b/cyclic-dep-simple/package-lock.json index 58dfd250..c46a353b 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.914.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.914.0.tgz", + "integrity": "sha512-UdN6fw2XXRi5O6mAnzRI3juJU1NsmF+VfU86dCeXWozjWq/YFCSIiB+gOk77tKhNb8Z8sWXF2QnPSgDOtzUO5g==" + }, "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": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" } } } 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 }