From 5f42cf9599845550d2fea69837f14c03d2e82eb0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 4 Aug 2021 23:11:33 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:growl:20160721 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:minimatch:20160620 --- .snyk | 12 ++++++++++++ package.json | 12 ++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..d18c2cf --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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:minimatch:20160620': + - jasmine-node > gaze > fileset > glob > minimatch: + patched: '2021-08-04T23:11:32.041Z' + - jasmine-node > gaze > fileset > minimatch: + patched: '2021-08-04T23:11:32.041Z' + - jasmine-node > gaze > minimatch: + patched: '2021-08-04T23:11:32.041Z' diff --git a/package.json b/package.json index 2c11ce1..88d79d4 100644 --- a/package.json +++ b/package.json @@ -7,14 +7,17 @@ "grunt": "^1.0.0", "grunt-jasmine-node": "^0.3.1", "grunt-contrib-jshint": "^1.0.0", - "jasmine-node": "1.14.5" + "jasmine-node": "1.14.6" }, "dependencies": { "googleapis": "^4.0.0", - "soap": "^0.13.0" + "soap": "^0.13.0", + "@snyk/protect": "latest" }, "scripts": { - "test": "grunt all" + "test": "grunt all", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "author": "ShinyAds", "contributors": [ @@ -37,5 +40,6 @@ "DFP", "DoubleClick", "adserver" - ] + ], + "snyk": true }