From ac57b5549f828a17bdbebdaca7ace075307a3c9d Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Fri, 28 Apr 2023 21:13:49 +0800 Subject: [PATCH] Upgrade undici to v5.22.0 (#6929) --- .changeset/polite-pears-kneel.md | 6 ++++++ packages/astro/package.json | 2 +- packages/integrations/node/package.json | 2 +- packages/telemetry/package.json | 2 +- packages/webapi/package.json | 2 +- pnpm-lock.yaml | 23 +++++++++++++++-------- 6 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 .changeset/polite-pears-kneel.md diff --git a/.changeset/polite-pears-kneel.md b/.changeset/polite-pears-kneel.md new file mode 100644 index 000000000..2469620ec --- /dev/null +++ b/.changeset/polite-pears-kneel.md @@ -0,0 +1,6 @@ +--- +'@astrojs/telemetry': patch +'@astrojs/webapi': patch +--- + +Upgrade undici to v5.22.0 diff --git a/packages/astro/package.json b/packages/astro/package.json index ac9cb074f..0c1cc0e32 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -198,7 +198,7 @@ "sass": "^1.52.2", "sharp": "^0.31.3", "srcset-parse": "^1.1.0", - "undici": "^5.20.0", + "undici": "^5.22.0", "unified": "^10.1.2" }, "peerDependencies": { diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 3e3a3e16e..da6885f44 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -46,6 +46,6 @@ "cheerio": "^1.0.0-rc.11", "mocha": "^9.2.2", "node-mocks-http": "^1.11.0", - "undici": "^5.20.0" + "undici": "^5.22.0" } } diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 2095775a9..74f3fd637 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -32,7 +32,7 @@ "dset": "^3.1.2", "is-docker": "^3.0.0", "is-wsl": "^2.2.0", - "undici": "^5.20.0", + "undici": "^5.22.0", "which-pm-runs": "^1.1.0" }, "devDependencies": { diff --git a/packages/webapi/package.json b/packages/webapi/package.json index 346d186c8..ef7920102 100644 --- a/packages/webapi/package.json +++ b/packages/webapi/package.json @@ -50,7 +50,7 @@ "bugs": "https://github.com/withastro/astro/issues", "homepage": "https://github.com/withastro/astro/tree/main/packages/webapi#readme", "dependencies": { - "undici": "5.20.0" + "undici": "^5.22.0" }, "devDependencies": { "@rollup/plugin-alias": "^3.1.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index df1b6d1e7..993012ccd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -800,8 +800,8 @@ importers: specifier: ^1.1.0 version: 1.1.0 undici: - specifier: ^5.20.0 - version: 5.20.0 + specifier: ^5.22.0 + version: 5.22.0 unified: specifier: ^10.1.2 version: 10.1.2 @@ -4291,8 +4291,8 @@ importers: specifier: ^1.11.0 version: 1.11.0 undici: - specifier: ^5.20.0 - version: 5.20.0 + specifier: ^5.22.0 + version: 5.22.0 packages/integrations/node/test/fixtures/api-route: dependencies: @@ -4939,8 +4939,8 @@ importers: specifier: ^2.2.0 version: 2.2.0 undici: - specifier: ^5.20.0 - version: 5.20.0 + specifier: ^5.22.0 + version: 5.22.0 which-pm-runs: specifier: ^1.1.0 version: 1.1.0 @@ -4970,8 +4970,8 @@ importers: packages/webapi: dependencies: undici: - specifier: 5.20.0 - version: 5.20.0 + specifier: ^5.22.0 + version: 5.22.0 devDependencies: '@rollup/plugin-alias': specifier: ^3.1.9 @@ -16886,6 +16886,13 @@ packages: engines: {node: '>=12.18'} dependencies: busboy: 1.6.0 + dev: true + + /undici@5.22.0: + resolution: {integrity: sha512-fR9RXCc+6Dxav4P9VV/sp5w3eFiSdOjJYsbtWfd4s5L5C4ogyuVpdKIVHeW0vV1MloM65/f7W45nR9ZxwVdyiA==} + engines: {node: '>=14.0'} + dependencies: + busboy: 1.6.0 /unherit@3.0.1: resolution: {integrity: sha512-akOOQ/Yln8a2sgcLj4U0Jmx0R5jpIg2IUyRrWOzmEbjBtGzBdHtSeFKgoEcoH4KYIG/Pb8GQ/BwtYm0GCq1Sqg==}