From 631805e36bbfefa43af3e1780cb04d712565c7c6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 Jul 2016 12:18:41 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities --- .snyk | 6 ++++++ package.json | 12 ++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..98ed53cce4 --- /dev/null +++ b/.snyk @@ -0,0 +1,6 @@ +version: v1.5.0 +ignore: {} +patch: + 'npm:uglify-js:20151024': + - meanio > swig > uglify-js: + patched: '2016-07-04T12:18:40.216Z' diff --git a/package.json b/package.json index 063606bc14..e6d6e27423 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,9 @@ "karma": "node node_modules/karma/bin/karma start karma.conf.js", "test": "gulp test", "test-e2e": "gulp e2e.test", - "postinstall": "node tools/scripts/postinstall.js" + "postinstall": "node tools/scripts/postinstall.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "angular": "^1.5.5", @@ -48,7 +50,8 @@ "q": "latest", "request": "latest", "shelljs": "latest", - "view-helpers": "latest" + "view-helpers": "latest", + "snyk": "1.16.0" }, "devDependencies": { "babel-core": "^6.7.2", @@ -103,5 +106,6 @@ "url-loader": "^0.5.7", "webpack": "^1.12.14", "webpack-dev-server": "^1.14.1" - } -} + }, + "snyk": true +} \ No newline at end of file