From 2115c80e826fcf6a1e83cd70552c8800b5be6fd2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 23:53:47 +0800 Subject: [PATCH] Bump the npm_and_yarn group across 1 directories with 1 update (#51) * Bump the npm_and_yarn group across 1 directories with 1 update Bumps the npm_and_yarn group with 1 update in the /. directory: [undici](https://github.com/nodejs/undici). Updates `undici` from 5.28.2 to 5.28.3 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v5.28.2...v5.28.3) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] * Add files via upload --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rimo <4203620+yizhoumo@users.noreply.github.com> --- dist/index.js | 3 +++ package-lock.json | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 72b2fa9..1be5c4b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17756,6 +17756,9 @@ function httpRedirectFetch (fetchParams, response) { // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name request.headersList.delete('authorization') + // https://fetch.spec.whatwg.org/#authentication-entries + request.headersList.delete('proxy-authorization', true) + // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement. request.headersList.delete('cookie') request.headersList.delete('host') diff --git a/package-lock.json b/package-lock.json index c656508..c56f761 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7205,9 +7205,9 @@ } }, "node_modules/undici": { - "version": "5.28.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.2.tgz", - "integrity": "sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==", + "version": "5.28.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz", + "integrity": "sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==", "dependencies": { "@fastify/busboy": "^2.0.0" },