Skip to content

Commit e0fe465

Browse files
fhembergerfen
authored andcommitted
Add snyk for npm package security (#841)
* Update depencencies * Add snyk
1 parent 8be75d7 commit e0fe465

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

.snyk

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: v1.5.2
2+
ignore: {}
3+
patch:
4+
'npm:marked:20150520':
5+
- marked:
6+
patched: '2016-07-09T09:33:23.222Z'
7+
- metalsmith-markdown > marked:
8+
patched: '2016-07-09T09:33:23.222Z'
9+
'npm:minimatch:20160620':
10+
- metalsmith-stylus > minimatch:
11+
patched: '2016-07-09T09:33:23.222Z'
12+
- metalsmith > recursive-readdir > minimatch:
13+
patched: '2016-07-09T09:33:23.222Z'
14+
- metalsmith-prism > metalsmith > recursive-readdir > minimatch:
15+
patched: '2016-07-09T09:33:23.222Z'
16+
- metalsmith-stylus > stylus > glob > minimatch:
17+
patched: '2016-07-09T09:33:23.222Z'
18+
- chokidar > fsevents > node-pre-gyp > tar > fstream > rimraf > glob > minimatch:
19+
patched: '2016-07-09T09:33:23.222Z'
20+
- chokidar > fsevents > node-pre-gyp > tar-pack > fstream > rimraf > glob > minimatch:
21+
patched: '2016-07-09T09:33:23.222Z'
22+
- chokidar > fsevents > node-pre-gyp > tar-pack > fstream-ignore > fstream > rimraf > glob > minimatch:
23+
patched: '2016-07-09T09:33:23.222Z'
24+
- chokidar > fsevents > node-pre-gyp > tar-pack > rimraf > glob > minimatch:
25+
patched: '2016-07-09T09:33:23.222Z'
26+
- chokidar > fsevents > node-pre-gyp > rimraf > glob > minimatch:
27+
patched: '2016-07-09T09:33:23.222Z'
28+
- chokidar > fsevents > node-pre-gyp > tar-pack > tar > fstream > rimraf > glob > minimatch:
29+
patched: '2016-07-09T09:33:23.222Z'
30+
- chokidar > fsevents > node-pre-gyp > tar-pack > fstream-ignore > minimatch:
31+
patched: '2016-07-09T09:33:23.222Z'
32+
- metalsmith-collections > minimatch:
33+
patched: '2016-07-09T09:33:23.222Z'
34+
'npm:tough-cookie:20160722':
35+
- chokidar > fsevents > node-pre-gyp > request > tough-cookie:
36+
patched: '2016-07-26T18:26:02.202Z'

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"test": "npm run test:lint && npm run test:unit && npm run test:smoke",
1414
"test:lint": "standard && htmllint **/*.hbs && stylint layouts/css",
1515
"test:unit": "tape tests/**/*.test.js | faucet",
16-
"test:smoke": "tape tests/*.smoketest.js | faucet"
16+
"test:smoke": "tape tests/*.smoketest.js | faucet",
17+
"test:snyk": "snyk test",
18+
"postinstall": "snyk protect"
1719
},
1820
"repository": {
1921
"type": "git",
@@ -59,6 +61,7 @@
5961
"request": "2.74.0",
6062
"require-dir": "0.3.0",
6163
"semver": "5.3.0",
64+
"snyk": "1.17.2",
6265
"st": "1.2.0",
6366
"strftime": "0.9.2"
6467
},
@@ -71,5 +74,6 @@
7174
"standard": "^7.0.0",
7275
"stylint": "^1.3.8",
7376
"tape": "^4.5.1"
74-
}
77+
},
78+
"snyk": true
7579
}

0 commit comments

Comments
 (0)