Skip to content

Commit 26a03a0

Browse files
author
snyk-test
committed
fix: .snyk & package.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202
1 parent 8c7dfd4 commit 26a03a0

2 files changed

Lines changed: 36 additions & 3 deletions

File tree

.snyk

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
- '@iopipe/profiler > archiver > zip-stream > archiver-utils > lodash':
8+
patched: '2019-07-04T01:08:54.716Z'
9+
- async > lodash:
10+
patched: '2019-07-04T01:08:54.716Z'
11+
- winston > async > lodash:
12+
patched: '2019-07-04T01:08:54.716Z'
13+
- '@iopipe/profiler > archiver > archiver-utils > lodash':
14+
patched: '2019-07-04T01:08:54.716Z'
15+
- '@iopipe/profiler > archiver > async > lodash':
16+
patched: '2019-07-04T01:08:54.716Z'
17+
- '@iopipe/profiler > archiver > zip-stream > lodash':
18+
patched: '2019-07-04T01:08:54.716Z'
19+
- '@iopipe/profiler > archiver > lodash':
20+
patched: '2019-07-04T01:08:54.716Z'
21+
- '@iopipe/iopipe > @iopipe/config > @iopipe/profiler > archiver > lodash':
22+
patched: '2019-07-04T01:08:54.716Z'
23+
- '@iopipe/iopipe > @iopipe/config > @iopipe/profiler > archiver > zip-stream > lodash':
24+
patched: '2019-07-04T01:08:54.716Z'
25+
- '@iopipe/iopipe > @iopipe/config > @iopipe/profiler > archiver > archiver-utils > lodash':
26+
patched: '2019-07-04T01:08:54.716Z'
27+
- '@iopipe/iopipe > @iopipe/config > @iopipe/profiler > archiver > async > lodash':
28+
patched: '2019-07-04T01:08:54.716Z'
29+
- '@iopipe/iopipe > @iopipe/config > @iopipe/profiler > archiver > zip-stream > archiver-utils > lodash':
30+
patched: '2019-07-04T01:08:54.716Z'

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "./node_modules/.bin/babel-node ./node_modules/.bin/babel-istanbul cover ./node_modules/.bin/_mocha \"tests/unit/**/*.js\" --report text",
88
"build": "babel src --presets babel-preset-env --out-dir dist --copy-files",
9-
"prepublish": "npm run build"
9+
"prepublish": "npm run snyk-protect; npm run build",
10+
"snyk-protect": "snyk protect"
1011
},
1112
"author": "Adam Clark",
1213
"license": "ISC",
@@ -52,6 +53,8 @@
5253
"uuid": "^3.3.2",
5354
"validate.js": "^0.12.0",
5455
"winston": "^3.0.0",
55-
"xml2js": "^0.4.19"
56-
}
56+
"xml2js": "^0.4.19",
57+
"snyk": "^1.189.0"
58+
},
59+
"snyk": true
5760
}

0 commit comments

Comments
 (0)