Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
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
66 changes: 66 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# 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:
- '@loopback/testlab > sinon > nise > @sinonjs/formatio > @sinonjs/samsam > lodash':
patched: '2019-07-09T05:48:41.816Z'
- lodash:
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/metadata > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > @loopback/context > @loopback/metadata > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/testlab > sinon > @sinonjs/samsam > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > strong-error-handler > strong-globalize > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/build > strong-docs > typedoc > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/build > mocha > yargs-unparser > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/build > nyc > istanbul-lib-instrument > @babel/types > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/testlab > sinon > @sinonjs/formatio > @sinonjs/samsam > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > strong-error-handler > strong-globalize > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/build > nyc > istanbul-lib-instrument > @babel/traverse > @babel/generator > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/context > @loopback/metadata > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > @loopback/context > @loopback/metadata > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > strong-globalize > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/build > nyc > istanbul-lib-instrument > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > async > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/build > nyc > istanbul-lib-instrument > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > @loopback/core > @loopback/context > @loopback/metadata > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > loopback-connector > strong-globalize > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > strong-globalize > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > async > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > loopback-connector > async > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > loopback-connector > async > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > loopback-datasource-juggler > loopback-connector > strong-globalize > lodash':
patched: '2019-07-09T05:48:41.816Z'
- '@loopback/authentication > @loopback/rest > @loopback/openapi-v3 > @loopback/repository-json-schema > @loopback/repository > @loopback/core > @loopback/context > @loopback/metadata > lodash':
patched: '2019-07-09T05:48:41.816Z'
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"express": "4.16.3",
"lodash": "^4.17.11",
"q": "1.5.1",
"redis": "^2.8.0"
"redis": "^2.8.0",
"snyk": "^1.192.4"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
Expand Down Expand Up @@ -69,7 +70,7 @@
"scripts": {
"build": "lb-tsc es2018 --outDir dist",
"test": "lb-mocha -r ts-node/register test/lib/cache/**/*.spec.ts",
"prepublish": "tsc -p .",
"prepublish": "npm run snyk-protect; tsc -p .",
"prepare": "tsc -p .",
"dev": "tsc -p . -w",
"lint": "npm run prettier:check && npm run tslint",
Expand All @@ -81,7 +82,8 @@
"tslint:fix": "npm run tslint -- --fix",
"coverage:ci": "node packages/build/bin/run-nyc report --reporter=text-lcov | coveralls",
"coverage": "nyc npm run test",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"snyk-protect": "snyk protect"
},
"nyc": {
"include": [
Expand Down Expand Up @@ -112,5 +114,6 @@
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
}
},
"snyk": true
}