mirror of
https://github.com/sexybiggetje/pixdisp.git
synced 2024-11-22 13:41:01 +01:00
fix: .snyk, package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202
This commit is contained in:
parent
26209e9fab
commit
2e5172b3d6
3 changed files with 2122 additions and 143 deletions
10
.snyk
Normal file
10
.snyk
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.13.5
|
||||||
|
ignore: {}
|
||||||
|
# patches apply the minimum changes required to fix a vulnerability
|
||||||
|
patch:
|
||||||
|
SNYK-JS-LODASH-450202:
|
||||||
|
- restify > lodash:
|
||||||
|
patched: '2019-07-03T21:06:51.075Z'
|
||||||
|
- restify > restify-errors > lodash:
|
||||||
|
patched: '2019-07-03T21:06:51.075Z'
|
2245
package-lock.json
generated
2245
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -11,7 +11,8 @@
|
||||||
"mjpeg-server": "^0.3.0",
|
"mjpeg-server": "^0.3.0",
|
||||||
"pi-spi": "^1.0.3",
|
"pi-spi": "^1.0.3",
|
||||||
"restify": "^6.4.0",
|
"restify": "^6.4.0",
|
||||||
"vm2": "^3.6.10"
|
"vm2": "^3.6.10",
|
||||||
|
"snyk": "^1.189.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^4.19.1",
|
"eslint": "^4.19.1",
|
||||||
|
@ -20,7 +21,9 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest --forceExit",
|
"test": "jest --forceExit",
|
||||||
"lint": "./node_modules/.bin/eslint drivers/* controllers/*"
|
"lint": "./node_modules/.bin/eslint drivers/* controllers/*",
|
||||||
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepare": "npm run snyk-protect"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"name": "pixdisp",
|
"name": "pixdisp",
|
||||||
|
@ -36,5 +39,6 @@
|
||||||
"drivers/**",
|
"drivers/**",
|
||||||
"controllers/**"
|
"controllers/**"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue