Skip to content

Commit ef160a3

Browse files
committed
1 parent ec35bd6 commit ef160a3

File tree

2 files changed

+115
-3
lines changed

2 files changed

+115
-3
lines changed

.snyk

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.12.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:debug:20170905':
7+
- gitbook > send > debug:
8+
patched: '2018-07-04T07:18:26.470Z'
9+
- gitbook > tiny-lr > body-parser > debug:
10+
patched: '2018-07-04T07:18:26.470Z'
11+
- gitbook > tiny-lr > debug:
12+
patched: '2018-07-04T07:18:26.470Z'
13+
'npm:hoek:20180212':
14+
- gitbook-cli > npmi > npm > node-gyp > request > hawk > hoek:
15+
patched: '2018-07-04T07:18:26.470Z'
16+
- gitbook-cli > npm > node-gyp > request > hawk > hoek:
17+
patched: '2018-07-04T07:18:26.470Z'
18+
- gitbook > request > hawk > hoek:
19+
patched: '2018-07-04T07:18:26.470Z'
20+
- gitbook-cli > npm > request > hawk > hoek:
21+
patched: '2018-07-04T07:18:26.470Z'
22+
- gitbook-cli > npmi > npm > request > hawk > hoek:
23+
patched: '2018-07-04T07:18:26.470Z'
24+
- gitbook > npmi > npm > request > hawk > hoek:
25+
patched: '2018-07-04T07:18:26.470Z'
26+
- gitbook > npm > request > hawk > hoek:
27+
patched: '2018-07-04T07:18:26.470Z'
28+
- gitbook-cli > npmi > npm > node-gyp > request > hawk > boom > hoek:
29+
patched: '2018-07-04T07:18:26.470Z'
30+
- gitbook-cli > npm > node-gyp > request > hawk > boom > hoek:
31+
patched: '2018-07-04T07:18:26.470Z'
32+
- gitbook > request > hawk > boom > hoek:
33+
patched: '2018-07-04T07:18:26.470Z'
34+
- gitbook-cli > npm > request > hawk > boom > hoek:
35+
patched: '2018-07-04T07:18:26.470Z'
36+
- gitbook-cli > npmi > npm > request > hawk > boom > hoek:
37+
patched: '2018-07-04T07:18:26.470Z'
38+
- gitbook > npmi > npm > request > hawk > boom > hoek:
39+
patched: '2018-07-04T07:18:26.470Z'
40+
- gitbook > npm > request > hawk > boom > hoek:
41+
patched: '2018-07-04T07:18:26.470Z'
42+
- gitbook-cli > npmi > npm > node-gyp > request > hawk > cryptiles > boom > hoek:
43+
patched: '2018-07-04T07:18:26.470Z'
44+
- gitbook-cli > npm > node-gyp > request > hawk > cryptiles > boom > hoek:
45+
patched: '2018-07-04T07:18:26.470Z'
46+
- gitbook > request > hawk > cryptiles > boom > hoek:
47+
patched: '2018-07-04T07:18:26.470Z'
48+
- gitbook-cli > npm > request > hawk > cryptiles > boom > hoek:
49+
patched: '2018-07-04T07:18:26.470Z'
50+
- gitbook-cli > npmi > npm > request > hawk > cryptiles > boom > hoek:
51+
patched: '2018-07-04T07:18:26.470Z'
52+
- gitbook > npmi > npm > request > hawk > cryptiles > boom > hoek:
53+
patched: '2018-07-04T07:18:26.470Z'
54+
- gitbook > npm > request > hawk > cryptiles > boom > hoek:
55+
patched: '2018-07-04T07:18:26.470Z'
56+
- gitbook-cli > npmi > npm > node-gyp > request > hawk > sntp > hoek:
57+
patched: '2018-07-04T07:18:26.470Z'
58+
- gitbook-cli > npm > node-gyp > request > hawk > sntp > hoek:
59+
patched: '2018-07-04T07:18:26.470Z'
60+
- gitbook > request > hawk > sntp > hoek:
61+
patched: '2018-07-04T07:18:26.470Z'
62+
- gitbook-cli > npm > request > hawk > sntp > hoek:
63+
patched: '2018-07-04T07:18:26.470Z'
64+
- gitbook-cli > npmi > npm > request > hawk > sntp > hoek:
65+
patched: '2018-07-04T07:18:26.470Z'
66+
- gitbook > npmi > npm > request > hawk > sntp > hoek:
67+
patched: '2018-07-04T07:18:26.470Z'
68+
- gitbook > npm > request > hawk > sntp > hoek:
69+
patched: '2018-07-04T07:18:26.470Z'
70+
'npm:lodash:20180130':
71+
- gitbook > juice > web-resource-inliner > lodash:
72+
patched: '2018-07-04T07:18:26.470Z'
73+
- gitbook > gitbook-plugin-sharing > lodash:
74+
patched: '2018-07-04T07:18:26.470Z'
75+
'npm:mime:20170907':
76+
- gitbook > send > mime:
77+
patched: '2018-07-04T07:18:26.470Z'
78+
'npm:minimatch:20160620':
79+
- gitbook > npm > node-gyp > minimatch:
80+
patched: '2018-07-04T07:18:26.470Z'
81+
- gitbook > npm > node-gyp > glob > minimatch:
82+
patched: '2018-07-04T07:18:26.470Z'
83+
'npm:moment:20161019':
84+
- gitbook > moment:
85+
patched: '2018-07-04T07:18:26.470Z'
86+
'npm:ms:20170412':
87+
- gitbook > send > debug > ms:
88+
patched: '2018-07-04T07:18:26.470Z'
89+
- gitbook > tiny-lr > debug > ms:
90+
patched: '2018-07-04T07:18:26.470Z'
91+
- gitbook > tiny-lr > body-parser > debug > ms:
92+
patched: '2018-07-04T07:18:26.470Z'
93+
- gitbook > send > ms:
94+
patched: '2018-07-04T07:18:26.470Z'
95+
'npm:tough-cookie:20170905':
96+
- gitbook > request > tough-cookie:
97+
patched: '2018-07-04T07:18:26.470Z'
98+
- gitbook > npm > request > tough-cookie:
99+
patched: '2018-07-04T07:18:26.470Z'
100+
'npm:tunnel-agent:20170305':
101+
- gitbook > request > tunnel-agent:
102+
patched: '2018-07-04T07:18:26.470Z'
103+
- gitbook-cli > npmi > npm > request > tunnel-agent:
104+
patched: '2018-07-04T07:18:26.470Z'
105+
- gitbook > npm > request > tunnel-agent:
106+
patched: '2018-07-04T07:18:26.470Z'
107+
- gitbook > npmi > npm > request > tunnel-agent:
108+
patched: '2018-07-04T07:18:26.470Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"dependencies": {
33
"gitbook": "3.2.3",
4-
"gitbook-cli": "2.3.2"
4+
"gitbook-cli": "2.3.2",
5+
"snyk": "^1.88.1"
56
},
67
"scripts": {
78
"build": "./node_modules/.bin/gitbook build && ./node_modules/.bin/gitbook pdf && ./node_modules/.bin/gitbook mobi && ./node_modules/.bin/gitbook epub",
8-
"build-pdf": "./node_modules/.bin/gitbook pdf"
9-
}
9+
"build-pdf": "./node_modules/.bin/gitbook pdf",
10+
"snyk-protect": "snyk protect",
11+
"prepublish": "npm run snyk-protect"
12+
},
13+
"snyk": true
1014
}

0 commit comments

Comments
 (0)