diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8fefe14 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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:37:50.027Z' diff --git a/package.json b/package.json index 921e805..f5b1625 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "is-glob": "^4.0.0", "joi": "^13.1.3", "js-yaml": "^3.10.0", - "lodash": "^4.17.5" + "lodash": "^4.17.5", + "snyk": "^1.316.1" }, "devDependencies": { "@commitlint/cli": "^6.1.2", @@ -127,7 +128,9 @@ "test:coverage:integration": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:integration", "test:coverage:functional": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:functional", "test:coverage:acceptance": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:acceptance", - "test:coverage:watch": "yarn run test:coverage:clean && chokidar 'lib/**/*.js' 'test/**/*.js' -c 'reset && cross-env COVERAGE=true yarn run test:coverage'" + "test:coverage:watch": "yarn run test:coverage:clean && chokidar 'lib/**/*.js' 'test/**/*.js' -c 'reset && cross-env COVERAGE=true yarn run test:coverage'", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "keywords": [ "atom", @@ -143,5 +146,6 @@ "testing", "runner", "spec" - ] + ], + "snyk": true }