Skip to content

Commit

Permalink
Upgrade Node version from v16 (EOL) to v20 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdi-torabi authored Mar 3, 2024
1 parent 3160fa3 commit fac1c23
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ inputs:
required: false
default: "none"
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70427,6 +70427,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')
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fac1c23

Please sign in to comment.