Skip to content

Commit 92798e9

Browse files
authored
chore: bump typescript from 4.8.2 to 5.1.6 in /site (#8688)
1 parent f6c36d9 commit 92798e9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

site/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"storybook-addon-react-router-v6": "1.0.2",
159159
"storybook-react-context": "0.6.0",
160160
"ts-proto": "1.156.0",
161-
"typescript": "4.8.2",
161+
"typescript": "5.1.6",
162162
"vite-plugin-checker": "0.6.0"
163163
},
164164
"browserslist": [

site/src/pages/CreateTokenPage/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const filterByMaxTokenLifetime = (
4646

4747
// otherwise only return options that are less than or equal to the max lifetime
4848
return lifetimeDayPresets.filter(
49-
(lifetime) => lifetime.value <= maxTokenLifetime / NANO_HOUR / 24,
49+
(lifetime) => Number(lifetime.value) <= maxTokenLifetime / NANO_HOUR / 24,
5050
)
5151
}
5252

site/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -11431,10 +11431,10 @@ typedarray@^0.0.6:
1143111431
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1143211432
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
1143311433

11434-
typescript@4.8.2:
11435-
version "4.8.2"
11436-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.2.tgz#e3b33d5ccfb5914e4eeab6699cf208adee3fd790"
11437-
integrity sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==
11434+
typescript@5.1.6:
11435+
version "5.1.6"
11436+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
11437+
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
1143811438

1143911439
tzdata@1.0.30:
1144011440
version "1.0.30"

0 commit comments

Comments
 (0)