diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000000..9fc7d72598d4a --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + 'npm:minimatch:20160620': + - grunt-jscs-checker > jscs > minimatch: + patched: '2022-09-29T23:17:15.676Z' + - grunt-jscs-checker > jscs > glob > minimatch: + patched: '2022-09-29T23:17:15.676Z' diff --git a/package.json b/package.json index ba7a4c9324aaf..abf4b9baeebd3 100644 --- a/package.json +++ b/package.json @@ -58,12 +58,16 @@ }, "scripts": { "test": "grunt test", - "coveralls": "grunt karma:coveralls && rm -rf ./coverage" + "coveralls": "grunt karma:coveralls && rm -rf ./coverage", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "license": "Apache License", "dependencies": { - "grunt-jscs-checker": "^0.4.4", + "grunt-jscs-checker": "^0.5.0", "karma-sinon": "^1.0.3", - "sinon": "^1.10.3" - } + "sinon": "^1.10.3", + "@snyk/protect": "latest" + }, + "snyk": true }