Skip to content

Commit

Permalink
fix: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
izatop committed Mar 27, 2022
1 parent 8a92f46 commit 8ad5929
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 326 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"cross-env": "^7.0.3",
"eslint": "^8.10.0",
"eslint": "^8.12.0",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^27.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"resolutions": {
"minimist": "1.2.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@bunt/unit": "^0.23.0",
"@bunt/util": "^0.23.0",
"@types/ioredis": "^4.28.8",
"@types/ioredis": "^4.28.10",
"ioredis": "^4.28.5"
},
"license": "MIT"
Expand Down
8 changes: 4 additions & 4 deletions packages/web/src/Transport/Response/Cookie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ export class Cookie {
string.push(`Max-Age=${maxAge}`);
}

if (httpOnly) {
string.push("HttpOnly");
}

if (sameSite) {
string.push(`SameSite=${sameSite}`);
}
Expand All @@ -79,10 +83,6 @@ export class Cookie {
string.push("Secure");
}

if (httpOnly) {
string.push("HttpOnly");
}

return string.join("; ");
}
}
Loading

0 comments on commit 8ad5929

Please sign in to comment.