Skip to content
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 functions/datastore/.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:
- '@google-cloud/datastore > google-gax > lodash':
patched: '2020-05-01T03:33:16.262Z'
- '@google-cloud/datastore > google-gax > @grpc/proto-loader > lodash':
patched: '2020-05-01T03:33:16.262Z'
10 changes: 7 additions & 3 deletions functions/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@
"scripts": {
"e2e-test": "export FUNCTIONS_CMD='gcloud functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCF_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" ava -T 20s --verbose test/*.test.js",
"system-test": "export FUNCTIONS_CMD='functions' && sh test/updateFunctions.sh && BASE_URL=\"http://localhost:8010/$GCLOUD_PROJECT/$GCF_REGION\" ava -T 20s --verbose test/*.test.js",
"test": "npm run system-test"
"test": "npm run system-test",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"@google-cloud/datastore": "2.0.0",
"supertest": "^3.0.0"
"supertest": "^3.0.0",
"snyk": "^1.316.1"
},
"devDependencies": {
"@google-cloud/functions-emulator": "^1.0.0-beta.4",
Expand All @@ -36,5 +39,6 @@
"GCF_REGION",
"FUNCTIONS_CMD"
]
}
},
"snyk": true
}