diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..376f625b --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-HTTPSPROXYAGENT-469131: + - puppeteer > https-proxy-agent: + patched: '2019-10-03T23:18:48.281Z' diff --git a/package.json b/package.json index 1f62ef50..d50e93da 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,16 @@ "description": "Dependencies for building Lambda containers for headless Chrome in domain-scan.", "dependencies": { "puppeteer": "^1.0.0", - "tar": "^4.0.1" + "tar": "^4.0.1", + "snyk": "^1.230.5" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-preset-env": "^1.6.0" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }