Skip to content

Commit 617de45

Browse files
committed
chore(deps): bump up jsonwebtoken types
1 parent 33bce70 commit 617de45

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

app/types/environment.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { StringValue } from 'ms'
2+
13
declare global {
24
namespace NodeJS {
35
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
@@ -17,8 +19,8 @@ declare global {
1719
EMAIL_USER: string
1820
EMAIL_RECEIVER: string
1921
EMAIL_PASSWORD: string
20-
ACCESS_TOKEN_EXPIRES_IN: string
21-
REFRESH_TOKEN_EXPIRES_IN: string
22+
ACCESS_TOKEN_EXPIRES_IN: StringValue
23+
REFRESH_TOKEN_EXPIRES_IN: StringValue
2224
}
2325
}
2426
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@types/bcrypt": "^5.0.2",
3737
"@types/cors": "^2.8.17",
3838
"@types/express": "4.17.21",
39-
"@types/jsonwebtoken": "^9.0.5",
39+
"@types/jsonwebtoken": "^9.0.8",
4040
"@types/morgan": "^1.9.9",
4141
"@types/multer": "^1.4.12",
4242
"@types/node": "^22.13.4",

yarn.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -766,11 +766,12 @@
766766
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841"
767767
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
768768

769-
"@types/jsonwebtoken@^9.0.5":
770-
version "9.0.5"
771-
resolved "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-9.0.5.tgz"
772-
integrity sha512-VRLSGzik+Unrup6BsouBeHsf4d1hOEgYWTm/7Nmw1sXoN1+tRly/Gy/po3yeahnP4jfnQWWAhQAqcNfH7ngOkA==
769+
"@types/jsonwebtoken@^9.0.8":
770+
version "9.0.8"
771+
resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.8.tgz#313490052801edfb031bb32b6bbd77cc9f230852"
772+
integrity sha512-7fx54m60nLFUVYlxAB1xpe9CBWX2vSrk50Y6ogRJ1v5xxtba7qXTg5BgYDN5dq+yuQQ9HaVlHJyAAt1/mxryFg==
773773
dependencies:
774+
"@types/ms" "*"
774775
"@types/node" "*"
775776

776777
"@types/mdast@^4.0.0":
@@ -792,6 +793,11 @@
792793
dependencies:
793794
"@types/node" "*"
794795

796+
"@types/ms@*":
797+
version "2.1.0"
798+
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78"
799+
integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==
800+
795801
"@types/multer@^1.4.12":
796802
version "1.4.12"
797803
resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.12.tgz#da67bd0c809f3a63fe097c458c0d4af1fea50ab7"

0 commit comments

Comments
 (0)