Skip to content

Commit 82d350b

Browse files
committed
fix: upgrade @google-cloud/storage@7.19.0 to address a vilnarability in fast-xml-parser
1 parent 4d4426d commit 82d350b

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

package-lock.json

Lines changed: 23 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
},
221221
"optionalDependencies": {
222222
"@google-cloud/firestore": "^7.11.0",
223-
"@google-cloud/storage": "^7.14.0"
223+
"@google-cloud/storage": "^7.19.0"
224224
},
225225
"devDependencies": {
226226
"@firebase/api-documenter": "^0.5.0",
@@ -271,7 +271,7 @@
271271
"sinon": "^18.0.0",
272272
"sinon-chai": "^3.0.0",
273273
"ts-node": "^10.2.0",
274-
"typescript": "5.5.4",
274+
"typescript": "^5.7.3",
275275
"yargs": "^17.0.1"
276276
}
277277
}

src/utils/api-request.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ class AsyncHttpCall extends AsyncRequestCall {
730730
try {
731731
this.httpConfigImpl = httpConfigImpl;
732732
this.options = this.httpConfigImpl.buildRequestOptions();
733-
this.entity = this.httpConfigImpl.buildEntity(this.options.headers!);
733+
this.entity = this.httpConfigImpl.buildEntity(this.options.headers as http.OutgoingHttpHeaders);
734734
this.promise = new Promise((resolve, reject) => {
735735
this.resolve = resolve;
736736
this.reject = reject;
@@ -828,7 +828,7 @@ class AsyncHttp2Call extends AsyncRequestCall {
828828
try {
829829
this.http2ConfigImpl = http2ConfigImpl;
830830
this.options = this.http2ConfigImpl.buildRequestOptions();
831-
this.entity = this.http2ConfigImpl.buildEntity(this.options.headers!);
831+
this.entity = this.http2ConfigImpl.buildEntity(this.options.headers as http.OutgoingHttpHeaders);
832832
this.promise = new Promise((resolve, reject) => {
833833
this.resolve = resolve;
834834
this.reject = reject;

0 commit comments

Comments
 (0)