File tree 2 files changed +20
-6
lines changed
2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change
1
+ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2
+ version: v1.13.5
3
+ ignore: {}
4
+ # patches apply the minimum changes required to fix a vulnerability
5
+ patch:
6
+ SNYK-JS-LODASH-450202:
7
+ - winston > async > lodash:
8
+ patched: '2019-07-04T01:41:56.163Z'
9
+ - hapi-swagger > handlebars > async > lodash:
10
+ patched: '2019-07-04T01:41:56.163Z'
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"name" : " typescript-hapi-starter" ,
10
10
"version" : " 1.0.0" ,
11
- "engines" : {
12
- "node" : " >=10.0"
13
- },
11
+ "engines" : {
12
+ "node" : " >=10.0"
13
+ },
14
14
"scripts" : {
15
15
"build-ts" : " tsc" ,
16
16
"start" : " node dist/src/index.js" ,
23
23
"format:lint" : " ./node_modules/.bin/tslint -c tslint.json 'src/**/*.ts'" ,
24
24
"format:prettier" : " ./node_modules/.bin/prettier --tab-width 4 --print-width 120 --single-quote --trailing-comma all --write 'src/**/*.ts'" ,
25
25
"postinstall" : " npm run build-ts" ,
26
- "test" : " NODE_ENV=test nyc --reporter=lcov --require ts-node/register tape test/**/*.spec.{ts,js} | tap-spec"
26
+ "test" : " NODE_ENV=test nyc --reporter=lcov --require ts-node/register tape test/**/*.spec.{ts,js} | tap-spec" ,
27
+ "snyk-protect" : " snyk protect" ,
28
+ "prepublish" : " npm run snyk-protect"
27
29
},
28
30
"nyc" : {
29
31
"include" : [
50
52
"nedb" : " ^1.8.0" ,
51
53
"vision" : " ^5.4.4" ,
52
54
"winston" : " ^3.1.0" ,
53
- "dotenv" : " ^6.2.0"
55
+ "dotenv" : " ^6.2.0" ,
56
+ "snyk" : " ^1.189.0"
54
57
},
55
58
"devDependencies" : {
56
59
"nodemon" : " ^1.11.0" ,
68
71
" hapi" ,
69
72
" typescript" ,
70
73
" swagger"
71
- ]
74
+ ],
75
+ "snyk" : true
72
76
}
You can’t perform that action at this time.
0 commit comments