Skip to content

Commit

Permalink
Update all dependencies (#9138)
Browse files Browse the repository at this point in the history
Co-authored-by: delucis <delucis@users.noreply.github.com>
  • Loading branch information
bluwy and delucis authored Nov 21, 2023
1 parent 8306e88 commit fd7f6ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/integrations/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
"@types/send": "^0.17.1",
"@types/server-destroy": "^1.0.1",
"@types/send": "^0.17.4",
"@types/server-destroy": "^1.0.3",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"chai": "^4.3.7",
Expand Down
3 changes: 1 addition & 2 deletions packages/integrations/node/src/createOutgoingHttpHeaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export const createOutgoingHttpHeaders = (

// if there is > 1 set-cookie header, we have to fix it to be an array of values
if (headers.has('set-cookie')) {
// @ts-expect-error
const cookieHeaders = headers.getSetCookie() as string[];
const cookieHeaders = headers.getSetCookie();
if (cookieHeaders.length > 1) {
// the Headers.entries() API already normalized all header names to lower case so we can safely index this as 'set-cookie'
nodeHeaders['set-cookie'] = cookieHeaders;
Expand Down

0 comments on commit fd7f6ac

Please sign in to comment.