diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..46448ce --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - urllib > proxy-agent > https-proxy-agent: + patched: '2019-10-04T03:29:54.753Z' + - urllib > proxy-agent > pac-proxy-agent > https-proxy-agent: + patched: '2019-10-04T03:29:54.753Z' diff --git a/package.json b/package.json index 4686444..fcdb379 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "debug": "^2.6.3", "humanize-ms": "^1.2.0", "semver-diff": "^2.1.0", - "urllib": "^2.21.2" + "urllib": "^2.21.2", + "snyk": "^1.230.5" }, "devDependencies": { "autod": "^2.8.0", @@ -38,7 +39,9 @@ "cov": "egg-bin cov", "lint": "eslint .", "ci": "npm run lint && npm run cov", - "autod": "autod" + "autod": "autod", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "ci": { "version": "4, 6, 7" @@ -48,5 +51,6 @@ "url": "git@github.com:node-modules/npm-updater" }, "author": "dead-horse ", - "license": "MIT" + "license": "MIT", + "snyk": true }