Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit ba9e22a

Browse files
committed
Setup snyk
1 parent e21d842 commit ba9e22a

File tree

4 files changed

+698
-196
lines changed

4 files changed

+698
-196
lines changed

.snyk

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version: v1.5.2
2+
ignore: {}
3+
patch: {}

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Coverage Status](https://coveralls.io/repos/github/micromata/http-fake-backend/badge.svg?branch=master)](https://coveralls.io/github/micromata/http-fake-backend?branch=master)
55
[![Dependency Status](https://david-dm.org/micromata/http-fake-backend.svg)](https://david-dm.org/micromata/http-fake-backend)
66
[![devDependency Status](https://david-dm.org/micromata/http-fake-backend/dev-status.svg?theme=shields.io)](https://david-dm.org/micromata/http-fake-backend#info=devDependencies)
7+
[![Known Vulnerabilities](https://snyk.io/test/github/micromata/http-fake-backend/badge.svg)](https://snyk.io/test/github/micromata/http-fake-backend)
78
[![Unicorn](https://img.shields.io/badge/unicorn-approved-ff69b4.svg?style=flat)](https://www.youtube.com/watch?v=qRC4Vk6kisY)
89

910
# http-fake-backend
@@ -229,5 +230,3 @@ API_PREFIX=/api
229230

230231
Please be aware of the licenses of the components we use in this project.
231232
Everything else that has been developed by the contributions to this project is under [MIT License](LICENSE).
232-
233-

package.json

+18-11
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@
1212
"start": "node server.js",
1313
"start:dev": "nodemon server.js",
1414
"test": "lab -v -c -L",
15+
"posttest": "snyk test",
1516
"coverage": "lab -v -c -r html -o ./test/artifacts/coverage.html && open ./test/artifacts/coverage.html",
16-
"coveralls": "lab -r lcov | ./node_modules/.bin/coveralls"
17+
"coveralls": "lab -r lcov | ./node_modules/.bin/coveralls",
18+
"snyk:protect": "snyk protect",
19+
"snyk:test": "snyk test",
20+
"snyk:wizard": "snyk wizard",
21+
"snyk:monitor": "snyk monitor"
1722
},
1823
"eslintConfig": {
1924
"extends": "eslint-config-hapi"
@@ -23,26 +28,28 @@
2328
},
2429
"dependencies": {
2530
"boom": "^4.2.0",
26-
"confidence": "3.0.2",
27-
"dotenv": "2.0.0",
28-
"glue": "4.0.0",
31+
"confidence": "^3.0.2",
32+
"dotenv": "^2.0.0",
33+
"glue": "^4.0.0",
2934
"good": "^7.1.0",
3035
"good-console": "^6.3.1",
3136
"good-squeeze": "^5.0.1",
3237
"handlebars": "^4.0.6",
3338
"hapi": "^16.0.1",
3439
"inert": "^4.0.3",
35-
"require-dir": "0.3.1",
40+
"require-dir": "^0.3.1",
3641
"vision": "^4.1.1",
37-
"visionary": "6.0.2"
42+
"visionary": "^6.0.2"
3843
},
3944
"devDependencies": {
40-
"code": "4.0.0",
45+
"code": "^4.0.0",
4146
"coveralls": "^2.11.15",
4247
"eslint": "^3.11.1",
43-
"eslint-config-hapi": "10.0.0",
44-
"eslint-plugin-hapi": "4.0.0",
48+
"eslint-config-hapi": "^10.0.0",
49+
"eslint-plugin-hapi": "^4.0.0",
4550
"lab": "^11.2.1",
46-
"nodemon": "1.11.0"
47-
}
51+
"nodemon": "^1.11.0",
52+
"snyk": "^1.21.2"
53+
},
54+
"snyk": true
4855
}

0 commit comments

Comments
 (0)