From 17748edcc5fc32c1ad6430fd476cf6886669dd32 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 4 Aug 2021 00:19:47 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905 - https://snyk.io/vuln/SNYK-JS-LODASH-1018905 - https://snyk.io/vuln/SNYK-JS-LODASH-1040724 - https://snyk.io/vuln/SNYK-JS-LODASH-450202 - https://snyk.io/vuln/SNYK-JS-LODASH-567746 - https://snyk.io/vuln/SNYK-JS-LODASH-590103 - https://snyk.io/vuln/SNYK-JS-LODASH-608086 - https://snyk.io/vuln/SNYK-JS-LODASH-73638 - https://snyk.io/vuln/SNYK-JS-LODASH-73639 - https://snyk.io/vuln/SNYK-JS-MINIMATCH-1019388 - https://snyk.io/vuln/npm:braces:20180219 - https://snyk.io/vuln/npm:lodash:20180130 - https://snyk.io/vuln/npm:minimatch:20160620 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130 --- .snyk | 8 ++++++++ package.json | 12 ++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ba2ba50 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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:lodash:20180130': + - radium > babel > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2021-08-04T00:19:45.776Z' diff --git a/package.json b/package.json index 7ef45ae..ceffe73 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "node-sass": "~3.3.0", "normalize.css": "3.0.3", "object-assign": "~4.0.1", - "radium": "~0.14.1", + "radium": "~0.16.0", "react": "0.13.3", "react-motion": "^0.3.0", "react-router": "0.13.3", @@ -47,7 +47,8 @@ "history": "1.12.0", "envify": "3.4.0", "express-http-proxy": "0.6.0", - "transform-loader": "0.2.3" + "transform-loader": "0.2.3", + "@snyk/protect": "latest" }, "devDependencies": { "autoprefixer-core": "~5.2.0", @@ -100,6 +101,9 @@ "coverage": "jest --coverage", "build": "gulp build", "serve": "gulp serve", - "sync": "gulp sync" - } + "sync": "gulp sync", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "snyk": true }