fix: package.json, package-lock.json & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
This commit is contained in:
10
package.json
10
package.json
@@ -10,14 +10,17 @@
|
|||||||
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
|
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
|
||||||
"start": "npm run develop",
|
"start": "npm run develop",
|
||||||
"serve": "gatsby serve",
|
"serve": "gatsby serve",
|
||||||
"clean": "gatsby clean"
|
"clean": "gatsby clean",
|
||||||
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepare": "npm run snyk-protect"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dateformat": "^3.0.3",
|
"dateformat": "^3.0.3",
|
||||||
"gatsby": "^2.20.0",
|
"gatsby": "^2.20.0",
|
||||||
"gatsby-plugin-manifest": "^2.3.0",
|
"gatsby-plugin-manifest": "^2.3.0",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-dom": "^16.13.1"
|
"react-dom": "^16.13.1",
|
||||||
|
"snyk": "^1.316.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
@@ -29,5 +32,6 @@
|
|||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/creyD/urban_website/issues"
|
"url": "https://github.com/creyD/urban_website/issues"
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user