Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- node-google-calendar > request-promise > request-promise-core > lodash:
patched: '2020-04-30T21:03:40.455Z'
- slimbot > request-promise > request-promise-core > lodash:
patched: '2020-04-30T21:03:40.455Z'
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
"license": "MIT",
"scripts": {
"start": "babel-node src",
"start:prod": "npm run build; pm2 start build/index.js",
"migrate": "babel-node utils/initdb.js",
"start:prod": "npm run build; pm2 start build/index.js",
"migrate": "babel-node utils/initdb.js",
"build": "babel src -d build --copy-files",
"test": "mocha --compilers js:babel-register --require babel-polyfill",
"test watch": "mocha -w --compilers js:babel-register"
"test watch": "mocha -w --compilers js:babel-register",
"snyk-protect": "snyk protect",
"prepare": "yarn run snyk-protect"
},
"dependencies": {
"bluebird": "^3.5.0",
Expand All @@ -39,7 +41,8 @@
"lokijs": "^1.5.3",
"node-google-calendar": "^0.1.5",
"slimbot": "^0.5.7",
"winston": "^2.3.1"
"winston": "^2.3.1",
"snyk": "^1.316.1"
},
"devDependencies": {
"babel-cli": "^6.24.0",
Expand All @@ -57,5 +60,6 @@
"bugs": {
"url": "https://github.com/GovTechSG/butler-bot/issues"
},
"homepage": "https://github.com/GovTechSG/butler-bot#readme"
"homepage": "https://github.com/GovTechSG/butler-bot#readme",
"snyk": true
}