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 }