fix: .snyk & package.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130
This commit is contained in:
parent
bb9428a4fa
commit
9034b0f26f
|
@ -0,0 +1,14 @@
|
||||||
|
# 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:lodash:20180130':
|
||||||
|
- coffee-fmt > lodash:
|
||||||
|
patched: '2018-07-05T04:03:08.305Z'
|
||||||
|
- jscs > lodash:
|
||||||
|
patched: '2018-07-05T04:03:08.305Z'
|
||||||
|
- jscs > jscs-jsdoc > jsdoctypeparser > lodash:
|
||||||
|
patched: '2018-07-05T04:03:08.305Z'
|
||||||
|
- jscs > xmlbuilder > lodash:
|
||||||
|
patched: '2018-07-05T04:03:08.305Z'
|
11
package.json
11
package.json
|
@ -218,7 +218,8 @@
|
||||||
"uuid": "^3.1.0",
|
"uuid": "^3.1.0",
|
||||||
"which": "^1.3.0",
|
"which": "^1.3.0",
|
||||||
"winston": "^2.4.0",
|
"winston": "^2.4.0",
|
||||||
"yaml-front-matter": "3.4.1"
|
"yaml-front-matter": "3.4.1",
|
||||||
|
"snyk": "^1.88.1"
|
||||||
},
|
},
|
||||||
"activationHooks": [
|
"activationHooks": [
|
||||||
"core:loaded-shell-environment"
|
"core:loaded-shell-environment"
|
||||||
|
@ -455,11 +456,12 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-options": "node script/build-options.js",
|
"build-options": "node script/build-options.js",
|
||||||
"docs": "npm run build-options && coffee docs/",
|
"docs": "npm run build-options && coffee docs/",
|
||||||
"prepare": "npm run docs",
|
"prepare": "npm run snyk-protect; npm run docs",
|
||||||
"lint": "coffeelint src/ spec/",
|
"lint": "coffeelint src/ spec/",
|
||||||
"code-docs": "codo && open docs/code/index.html",
|
"code-docs": "codo && open docs/code/index.html",
|
||||||
"pretest": "npm run lint",
|
"pretest": "npm run lint",
|
||||||
"test": "atom --test spec"
|
"test": "atom --test spec",
|
||||||
|
"snyk-protect": "snyk protect"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"next-update": {
|
"next-update": {
|
||||||
|
@ -484,5 +486,6 @@
|
||||||
"underscore-plus",
|
"underscore-plus",
|
||||||
"prettydiff2"
|
"prettydiff2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue