From d0423b4fe13adce4d1d605bf1f5ace5f620fe58a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 24 Jul 2018 09:33:25 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:minimatch:20160620 - https://snyk.io/vuln/npm:uglify-js:20150824 - https://snyk.io/vuln/npm:uglify-js:20151024 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:minimatch:20160620 --- .snyk | 12 ++++++++++++ package.json | 14 +++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7089f1f --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - gulp > vinyl-fs > glob-stream > minimatch: + patched: '2018-07-24T09:33:23.891Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-07-24T09:33:23.891Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-07-24T09:33:23.891Z' diff --git a/package.json b/package.json index 423b5fc..ee08ef1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,9 @@ "description": "Draggable polygons for Google Maps", "author": "Keyvan Akbary (http://twitter.com/keyvanakbary)", "keywords": [ - "google", "maps", "drag" + "google", + "maps", + "drag" ], "homepage": "https://github.com/mybuilder/bermuda", "repository": "git://github.com/mybuilder/bermuda.git", @@ -11,12 +13,18 @@ "gulp": "^3.6.1", "gulp-coffee": "^1.4.3", "gulp-uglify": "^0.3.0", - "gulp-rename": "^1.2.0" + "gulp-rename": "^1.2.0", + "snyk": "^1.89.0" }, "licenses": [ { "type": "MIT", "url": "http://github.com/mybuilder/bermuda/raw/master/LICENSE" } - ] + ], + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file