Skip to content

Commit

Permalink
Update undici dependency (#8432)
Browse files Browse the repository at this point in the history
Update our dependency on Undici to `6.19.7`. Earlier implementations contained a memory leak.

Fixes #8431.
  • Loading branch information
DellaBitta authored Aug 20, 2024
1 parent 2ee2a90 commit 62348e1
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 19 deletions.
10 changes: 10 additions & 0 deletions .changeset/sixty-cycles-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@firebase/auth-compat': patch
'@firebase/firestore': patch
'@firebase/functions': patch
'@firebase/storage': patch
'@firebase/auth': patch
'firebase': patch
---

Update undici dependency to 6.19.7 due to a memory leak in older versions.
2 changes: 1 addition & 1 deletion integration/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"express": "4.19.2",
"geckodriver": "2.0.4",
"mocha": "9.2.2",
"undici": "5.28.4",
"undici": "6.19.7",
"selenium-assistant": "6.1.1"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"tslint": "6.1.3",
"typedoc": "0.16.11",
"typescript": "4.7.4",
"undici": "5.28.4",
"undici": "6.19.7",
"watch": "1.0.2",
"webpack": "5.76.0",
"yargs": "17.7.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@firebase/auth-types": "0.12.2",
"@firebase/component": "0.6.8",
"@firebase/util": "1.9.7",
"undici": "5.28.4",
"undici": "6.19.7",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"@firebase/component": "0.6.8",
"@firebase/logger": "0.4.2",
"@firebase/util": "1.9.7",
"undici": "5.28.4",
"undici": "6.19.7",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"@firebase/webchannel-wrapper": "1.0.1",
"@grpc/grpc-js": "~1.9.0",
"@grpc/proto-loader": "^0.7.8",
"undici": "5.28.4",
"undici": "6.19.7",
"tslib": "^2.1.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@firebase/auth-interop-types": "0.2.3",
"@firebase/app-check-interop-types": "0.3.2",
"@firebase/util": "1.9.7",
"undici": "5.28.4",
"undici": "6.19.7",
"tslib": "^2.1.0"
},
"nyc": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@firebase/util": "1.9.7",
"@firebase/component": "0.6.8",
"undici": "5.28.4",
"undici": "6.19.7",
"tslib": "^2.1.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion repo-scripts/changelog-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@changesets/types": "3.3.0",
"@changesets/get-github-info": "0.5.2",
"@types/node": "20.8.10",
"undici": "5.28.4"
"undici": "6.19.7"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1639,11 +1639,6 @@
resolved "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b"
integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==

"@fastify/busboy@^2.0.0":
version "2.0.0"
resolved "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz#f22824caff3ae506b18207bad4126dbc6ccdb6b8"
integrity sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==

"@gar/promisify@^1.0.1":
version "1.1.2"
resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz"
Expand Down Expand Up @@ -17393,12 +17388,10 @@ undici-types@~5.26.4:
resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==

undici@5.28.4:
version "5.28.4"
resolved "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068"
integrity sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==
dependencies:
"@fastify/busboy" "^2.0.0"
undici@6.19.7:
version "6.19.7"
resolved "https://registry.npmjs.org/undici/-/undici-6.19.7.tgz#7d4cf26dc689838aa8b6753a3c5c4288fc1e0216"
integrity sha512-HR3W/bMGPSr90i8AAp2C4DM3wChFdJPLrWYpIS++LxS8K+W535qftjt+4MyjNYHeWabMj1nvtmLIi7l++iq91A==

unicode-canonical-property-names-ecmascript@^2.0.0:
version "2.0.0"
Expand Down

0 comments on commit 62348e1

Please sign in to comment.