diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..beebd38 --- /dev/null +++ b/.snyk @@ -0,0 +1,18 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.21.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - karma > socket.io > socket.io-adapter > socket.io-parser > debug: + patched: '2021-08-05T07:14:56.825Z' + 'npm:minimatch:20160620': + - gulp > vinyl-fs > glob-stream > minimatch: + patched: '2021-08-05T07:14:56.825Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2021-08-05T07:14:56.825Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2021-08-05T07:14:56.825Z' + 'npm:ms:20170412': + - karma > socket.io > socket.io-adapter > socket.io-parser > debug > ms: + patched: '2021-08-05T07:14:56.825Z' diff --git a/package.json b/package.json index 6994daf..b73270a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "js/VPAIDHTML5Client.js", "scripts": { "start": "gulp serve", - "test": "gulp test:ci" + "test": "gulp test:ci", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "repository": { "type": "git", @@ -29,28 +31,32 @@ "devDependencies": { "browser-sync": "^2.11.1", "browserify": "^13.0.0", - "browserify-istanbul": "^0.2.1", + "browserify-istanbul": "^2.0.0", "chai": "^3.0.0", - "gulp": "^3.9.0", + "gulp": "^4.0.0", "gulp-gh-pages": "^0.5.2", "gulp-sourcemaps": "^1.5.2", "gulp-util": "^3.0.5", - "karma": "^0.13.19", + "karma": "^6.0.0", "karma-browserify": "^5.0.1", "karma-chai-sinon": "^0.1.5", "karma-chrome-launcher": "^0.2.2", - "karma-coverage": "^0.5.3", + "karma-coverage": "^2.0.2", "karma-firefox-launcher": "^0.1.6", "karma-mocha": "^0.2.1", "karma-source-map-support": "^1.0.0", "karma-spec-reporter": "^0.0.23", "lodash": "^4.0.1", - "mocha": "^2.2.5", - "mversion": "^1.10.1", + "mocha": "^6.2.3", + "mversion": "^2.0.1", "sinon": "^1.14.1", "sinon-chai": "^2.8.0", "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^1.1.0", - "watchify": "^3.7.0" + "watchify": "^4.0.0" + }, + "snyk": true, + "dependencies": { + "@snyk/protect": "latest" } }