diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ac73adf --- /dev/null +++ b/.snyk @@ -0,0 +1,34 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - babel-eslint > @babel/traverse > lodash: + patched: '2022-10-10T20:55:20.092Z' + - gulp-eslint > eslint > lodash: + patched: '2022-10-10T20:55:20.092Z' + - babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2022-10-10T20:55:20.092Z' + - gulp-eslint > eslint > inquirer > lodash: + patched: '2022-10-10T20:55:20.092Z' + - gulp-eslint > eslint > table > lodash: + patched: '2022-10-10T20:55:20.092Z' + - gulp-mocha > mocha > yargs-unparser > lodash: + patched: '2022-10-10T20:55:20.092Z' + - nyc > istanbul-lib-instrument > @babel/core > lodash: + patched: '2022-10-10T20:55:20.092Z' + - babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-10-10T20:55:20.092Z' + - nyc > istanbul-lib-instrument > @babel/core > @babel/traverse > lodash: + patched: '2022-10-10T20:55:20.092Z' + - babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2022-10-10T20:55:20.092Z' + - nyc > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2022-10-10T20:55:20.092Z' + - nyc > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > @babel/generator > lodash: + patched: '2022-10-10T20:55:20.092Z' + - nyc > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-10-10T20:55:20.092Z' + - nyc > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2022-10-10T20:55:20.092Z' diff --git a/package.json b/package.json index 0856f0b..302aaf6 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "plugin-error": "^1.0.1", "through2": "^3.0.1", "useref": "^1.4.3", - "vinyl-fs": "^3.0.3" + "vinyl-fs": "^3.0.3", + "@snyk/protect": "latest" }, "devDependencies": { "async-once": "^1.0.1", @@ -25,7 +26,7 @@ "gulp-eslint": "^6.0.0", "gulp-mocha": "^7.0.2", "gulp-rename": "^2.0.0", - "mocha": "*", + "mocha": "6.2.3", "mock-gulp-dest": "^0.1.1", "nyc": "^15.0.0", "should": "*", @@ -38,7 +39,9 @@ "test": "mocha", "lint": "gulp lint", "coverage": "nyc npm test && nyc report", - "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls" + "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "files": [ "index.js", @@ -54,5 +57,6 @@ "concat" ], "author": "Jonathan Kemp (http://jonkemp.com/)", - "license": "MIT" + "license": "MIT", + "snyk": true }