diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2a147e5 --- /dev/null +++ b/.snyk @@ -0,0 +1,68 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - babel-cli > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-generator > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-traverse > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-template > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-register > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-generator > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-traverse > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-template > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T03:09:23.100Z' + - babel-cli > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T03:09:23.100Z' diff --git a/package.json b/package.json index 11cd5d4..eb076ac 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "rm -rf build/* && babel-node index.js" + "start": "rm -rf build/* && babel-node index.js", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "author": "lqs469", "license": "MIT", @@ -17,6 +19,8 @@ "figlet": "^1.2.0", "isomorphic-fetch": "^2.2.1", "moment": "^2.17.1", - "request": "^2.81.0" - } + "request": "^2.81.0", + "snyk": "^1.316.1" + }, + "snyk": true }