Skip to content

Commit 5eb3717

Browse files
committed
fix: plugins/google-cloud/package.json & plugins/google-cloud/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131
1 parent caf4f89 commit 5eb3717

File tree

2 files changed

+43
-3
lines changed

2 files changed

+43
-3
lines changed

plugins/google-cloud/.snyk

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-HTTPSPROXYAGENT-469131:
7+
- '@google-cloud/storage > @google-cloud/common > google-auth-library > gaxios > https-proxy-agent':
8+
patched: '2019-10-04T05:12:08.723Z'
9+
- '@google-cloud/storage > gaxios > https-proxy-agent':
10+
patched: '2019-10-04T05:12:08.723Z'
11+
- '@google-cloud/datastore > google-auth-library > gaxios > https-proxy-agent':
12+
patched: '2019-10-04T05:12:08.723Z'
13+
- '@google-cloud/storage > gcs-resumable-upload > gaxios > https-proxy-agent':
14+
patched: '2019-10-04T05:12:08.723Z'
15+
- '@google-cloud/datastore > google-auth-library > gtoken > gaxios > https-proxy-agent':
16+
patched: '2019-10-04T05:12:08.723Z'
17+
- '@google-cloud/datastore > google-auth-library > gcp-metadata > gaxios > https-proxy-agent':
18+
patched: '2019-10-04T05:12:08.723Z'
19+
- '@google-cloud/datastore > google-gax > google-auth-library > gaxios > https-proxy-agent':
20+
patched: '2019-10-04T05:12:08.723Z'
21+
- '@google-cloud/storage > @google-cloud/common > teeny-request > https-proxy-agent':
22+
patched: '2019-10-04T05:12:08.723Z'
23+
- '@google-cloud/storage > gcs-resumable-upload > google-auth-library > gaxios > https-proxy-agent':
24+
patched: '2019-10-04T05:12:08.723Z'
25+
- '@google-cloud/datastore > google-gax > google-auth-library > gtoken > gaxios > https-proxy-agent':
26+
patched: '2019-10-04T05:12:08.723Z'
27+
- '@google-cloud/datastore > google-gax > google-auth-library > gcp-metadata > gaxios > https-proxy-agent':
28+
patched: '2019-10-04T05:12:08.723Z'
29+
- '@google-cloud/storage > @google-cloud/common > google-auth-library > gtoken > gaxios > https-proxy-agent':
30+
patched: '2019-10-04T05:12:08.723Z'
31+
- '@google-cloud/storage > @google-cloud/common > google-auth-library > gcp-metadata > gaxios > https-proxy-agent':
32+
patched: '2019-10-04T05:12:08.723Z'
33+
- '@google-cloud/storage > gcs-resumable-upload > google-auth-library > gcp-metadata > gaxios > https-proxy-agent':
34+
patched: '2019-10-04T05:12:08.723Z'
35+
- '@google-cloud/storage > gcs-resumable-upload > google-auth-library > gtoken > gaxios > https-proxy-agent':
36+
patched: '2019-10-04T05:12:08.723Z'

plugins/google-cloud/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"@google-cloud/datastore": "4.3.0",
3333
"@google-cloud/storage": "3.2.1",
3434
"@verdaccio/commons-api": "^8.1.2",
35-
"@verdaccio/streams": "^8.1.2"
35+
"@verdaccio/streams": "^8.1.2",
36+
"snyk": "^1.230.5"
3637
},
3738
"devDependencies": {
3839
"@verdaccio/babel-preset": "^8.1.2",
@@ -51,6 +52,9 @@
5152
"lint": "eslint \"**/*.{js,ts}\"",
5253
"test": " jest --config ./jest.config.js",
5354
"type-check": "tsc --noEmit",
54-
"type-check:watch": "npm run type-check -- --watch"
55-
}
55+
"type-check:watch": "npm run type-check -- --watch",
56+
"snyk-protect": "snyk protect",
57+
"prepublish": "npm run snyk-protect"
58+
},
59+
"snyk": true
5660
}

0 commit comments

Comments
 (0)