From c88406c6bb4a7866f939b94195ebb97633cbb1ff Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Tue, 26 Jul 2016 20:24:43 +0200 Subject: [PATCH 1/2] Update depencencies --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5eb42377c8a35..7bab0a48412c8 100644 --- a/package.json +++ b/package.json @@ -53,10 +53,10 @@ "metalsmith-stylus": "2.0.0", "metalsmith-yearly-pagination": "2.0.0", "ncp": "2.0.0", - "node-geocoder": "3.13.0", + "node-geocoder": "3.13.1", "node-version-data": "1.0.1", "octonode": "0.7.6", - "request": "2.73.0", + "request": "2.74.0", "require-dir": "0.3.0", "semver": "5.3.0", "st": "1.2.0", From 4846ef3a625a22c7536217295a978428473768ff Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Tue, 26 Jul 2016 20:31:34 +0200 Subject: [PATCH 2/2] Add snyk --- .snyk | 36 ++++++++++++++++++++++++++++++++++++ package.json | 8 ++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000000..c12cd532b4cc4 --- /dev/null +++ b/.snyk @@ -0,0 +1,36 @@ +version: v1.5.2 +ignore: {} +patch: + 'npm:marked:20150520': + - marked: + patched: '2016-07-09T09:33:23.222Z' + - metalsmith-markdown > marked: + patched: '2016-07-09T09:33:23.222Z' + 'npm:minimatch:20160620': + - metalsmith-stylus > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - metalsmith > recursive-readdir > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - metalsmith-prism > metalsmith > recursive-readdir > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - metalsmith-stylus > stylus > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > tar > fstream > rimraf > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > tar-pack > fstream > rimraf > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > tar-pack > fstream-ignore > fstream > rimraf > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > tar-pack > rimraf > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > rimraf > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > tar-pack > tar > fstream > rimraf > glob > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - chokidar > fsevents > node-pre-gyp > tar-pack > fstream-ignore > minimatch: + patched: '2016-07-09T09:33:23.222Z' + - metalsmith-collections > minimatch: + patched: '2016-07-09T09:33:23.222Z' + 'npm:tough-cookie:20160722': + - chokidar > fsevents > node-pre-gyp > request > tough-cookie: + patched: '2016-07-26T18:26:02.202Z' diff --git a/package.json b/package.json index 7bab0a48412c8..cc09fa232d88f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "test": "npm run test:lint && npm run test:unit && npm run test:smoke", "test:lint": "standard && htmllint **/*.hbs && stylint layouts/css", "test:unit": "tape tests/**/*.test.js | faucet", - "test:smoke": "tape tests/*.smoketest.js | faucet" + "test:smoke": "tape tests/*.smoketest.js | faucet", + "test:snyk": "snyk test", + "postinstall": "snyk protect" }, "repository": { "type": "git", @@ -59,6 +61,7 @@ "request": "2.74.0", "require-dir": "0.3.0", "semver": "5.3.0", + "snyk": "1.17.2", "st": "1.2.0", "strftime": "0.9.2" }, @@ -71,5 +74,6 @@ "standard": "^7.0.0", "stylint": "^1.3.8", "tape": "^4.5.1" - } + }, + "snyk": true }