Skip to content

Commit

Permalink
fix: .snyk & package.json to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:lodash:20180130
  • Loading branch information
snyk-bot committed Jul 5, 2018
1 parent 08bbba8 commit 96cfe94
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:lodash:20180130':
- '@dadi/logger > aws-kinesis-writable > lodash':
patched: '2018-07-05T23:23:10.204Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@
"test": "snazzy 'lib/*.js' && env NODE_ENV=test ./node_modules/.bin/istanbul cover --report cobertura --report text --report html --report lcov ./node_modules/mocha/bin/_mocha",
"posttest": "./scripts/coverage.js",
"start": "node ./index.js --node-env=development",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"dependencies": {
"@dadi/logger": "^1.0.0",
"colors": "^1.1.2",
"console-stamp": "^0.2.5",
"convict": "^4.0.0",
"mkdirp": "^0.5.1",
"rsmq-worker": "^0.4.3"
"rsmq-worker": "^0.4.3",
"snyk": "^1.88.1"
},
"devDependencies": {
"env-test": "^1.0.0",
Expand All @@ -38,5 +41,6 @@
"type": "git",
"url": "https://github.com/dadi/queue.git"
},
"author": "Robert Stanford <rs@dadi.co>"
"author": "Robert Stanford <rs@dadi.co>",
"snyk": true
}

0 comments on commit 96cfe94

Please sign in to comment.