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/SNYK-JS-LODASH-450202
  • Loading branch information
snyk-test committed Jul 4, 2019
1 parent b3d8115 commit 95e3395
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 55 deletions.
14 changes: 14 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-450202:
- request-promise > request-promise-core > lodash:
patched: '2019-07-04T02:46:03.127Z'
- pug > pug-code-gen > constantinople > babel-types > lodash:
patched: '2019-07-04T02:46:03.127Z'
- pug > pug-filters > constantinople > babel-types > lodash:
patched: '2019-07-04T02:46:03.127Z'
- pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash:
patched: '2019-07-04T02:46:03.127Z'
114 changes: 59 additions & 55 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,61 @@
{
"name": "bitbucket-notifications",
"version": "1.2.6",
"description": "Node.js application which can send an email with links to all PRs that have been merged in last 24 hours. It connects to Bitbucket, Gmail and Jira with OAuth2 for higher security by simply adding your credentials in configuration file.",
"main": "index.js",
"scripts": {
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"lint": "eslint ./lib ./test",
"devCoverage": "istanbul cover ./node_modules/mocha/bin/_mocha"
},
"homepage": "https://github.com/Vali0/bitbucket-notifications/#readme",
"repository": {
"type": "git",
"url": "https://github.com/Vali0/bitbucket-notifications"
},
"bugs": {
"url": "https://github.com/Vali0/bitbucket-notifications/issues"
},
"keywords": [
"gmail",
"bitbucket",
"jira",
"push notifications",
"notifications",
"nodejs",
"node",
"javascript",
"nodemailer",
"OAuth2"
],
"author": {
"name": "Valentin Radev",
"email": "mr.v.radev@gmail.com",
"url": "https://github.com/Vali0"
},
"license": "MIT",
"dependencies": {
"moment": "^2.22.2",
"nodemailer": "^4.6.7",
"pug": "^2.0.3",
"request": "^2.87.0",
"request-promise": "^4.2.2"
},
"devDependencies": {
"chai": "^4.1.2",
"coveralls": "^3.0.1",
"eslint": "^5.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"proxyquire": "^2.0.1",
"sinon": "^7.1.1"
},
"engines": {
"node": ">=8.9.4"
}
"name": "bitbucket-notifications",
"version": "1.2.6",
"description": "Node.js application which can send an email with links to all PRs that have been merged in last 24 hours. It connects to Bitbucket, Gmail and Jira with OAuth2 for higher security by simply adding your credentials in configuration file.",
"main": "index.js",
"scripts": {
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"lint": "eslint ./lib ./test",
"devCoverage": "istanbul cover ./node_modules/mocha/bin/_mocha",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"homepage": "https://github.com/Vali0/bitbucket-notifications/#readme",
"repository": {
"type": "git",
"url": "https://github.com/Vali0/bitbucket-notifications"
},
"bugs": {
"url": "https://github.com/Vali0/bitbucket-notifications/issues"
},
"keywords": [
"gmail",
"bitbucket",
"jira",
"push notifications",
"notifications",
"nodejs",
"node",
"javascript",
"nodemailer",
"OAuth2"
],
"author": {
"name": "Valentin Radev",
"email": "mr.v.radev@gmail.com",
"url": "https://github.com/Vali0"
},
"license": "MIT",
"dependencies": {
"moment": "^2.22.2",
"nodemailer": "^4.6.7",
"pug": "^2.0.3",
"request": "^2.87.0",
"request-promise": "^4.2.2",
"snyk": "^1.189.0"
},
"devDependencies": {
"chai": "^4.1.2",
"coveralls": "^3.0.1",
"eslint": "^5.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"proxyquire": "^2.0.1",
"sinon": "^7.1.1"
},
"engines": {
"node": ">=8.9.4"
},
"snyk": true
}

0 comments on commit 95e3395

Please sign in to comment.