diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7be57fa --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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: + - lodash: + patched: '2020-05-01T02:41:36.397Z' + - lyndon-io > lodash: + patched: '2020-05-01T02:41:36.397Z' + - lyndon-helper > lodash: + patched: '2020-05-01T02:41:36.397Z' + - lyndon-helper > lyndon-io > lodash: + patched: '2020-05-01T02:41:36.397Z' + - guidancejs > lyndon-test > fancy-test > lodash: + patched: '2020-05-01T02:41:36.397Z' + - lyndon-helper > guidancejs > lyndon-test > fancy-test > lodash: + patched: '2020-05-01T02:41:36.397Z' + - lyndon-helper > houston-plugin-help > guidancejs > lyndon-test > fancy-test > lodash: + patched: '2020-05-01T02:41:36.397Z' diff --git a/package.json b/package.json index f4022c1..f9dee74 100755 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "lyndon-helper": "latest", "lyndon-io": "latest", "semver": "^5.5.0", - "tar-fs": "^1.16.0" + "tar-fs": "^1.16.0", + "snyk": "^1.316.1" }, "devDependencies": { "@types/chai": "^4.1.3", @@ -77,6 +78,9 @@ "posttest": "tsc -p test --noEmit && tslint -p test -t stylish", "prepack": "rm -rf lib && tsc && lyndon-helper manifest", "test": "mocha --forbid-only \"test/**/*.test.ts\"", - "version": "lyndon-helper readme && git add README.md" - } + "version": "lyndon-helper readme && git add README.md", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }