Skip to content

Commit

Permalink
Chore: upgrade deps (#598)
Browse files Browse the repository at this point in the history
* upgrade deps

* fix mobile phone valid
  • Loading branch information
an-lee committed May 10, 2024
1 parent fb30ef3 commit fcd9217
Show file tree
Hide file tree
Showing 3 changed files with 413 additions and 515 deletions.
14 changes: 7 additions & 7 deletions enjoy/package.json
Expand Up @@ -51,7 +51,7 @@
"@types/intl-tel-input": "^18.1.4",
"@types/lodash": "^4.17.1",
"@types/mark.js": "^8.11.12",
"@types/node": "^20.12.10",
"@types/node": "^20.12.11",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/validator": "^13.11.9",
Expand All @@ -60,13 +60,13 @@
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"electron": "^30.0.2",
"electron": "^30.0.3",
"electron-playwright-helpers": "^1.7.1",
"eslint": "^9.2.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"flora-colossus": "^2.0.0",
"octokit": "^3.2.1",
"octokit": "^4.0.2",
"progress": "^2.0.3",
"tailwind-merge": "^2.3.0",
"tailwind-scrollbar": "^3.1.0",
Expand Down Expand Up @@ -129,9 +129,9 @@
"dayjs": "^1.11.11",
"decamelize": "^6.0.0",
"decamelize-keys": "^2.0.1",
"echogarden": "^1.3.0",
"echogarden": "^1.3.3",
"electron-context-menu": "^4.0.0",
"electron-log": "^5.1.2",
"electron-log": "^5.1.4",
"electron-settings": "^4.0.4",
"electron-squirrel-startup": "^1.0.0",
"ffmpeg-static": "^5.2.0",
Expand All @@ -148,7 +148,7 @@
"mark.js": "^8.11.1",
"microsoft-cognitiveservices-speech-sdk": "^1.36.0",
"next-themes": "^0.3.0",
"openai": "^4.42.0",
"openai": "^4.44.0",
"pitchfinder": "^2.3.2",
"postcss": "^8.4.38",
"proxy-agent": "^6.4.0",
Expand All @@ -171,7 +171,7 @@
"umzug": "^3.8.0",
"update-electron-app": "^3.0.0",
"wavesurfer.js": "^7.7.13",
"zod": "^3.23.6",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.0"
}
}
2 changes: 1 addition & 1 deletion enjoy/src/renderer/components/misc/login-form.tsx
Expand Up @@ -339,7 +339,7 @@ const PandoLoginForm = () => {
const validatePhone = () => {
if (
iti?.isValidNumber() &&
iti?.getNumberType() === intlTelInputUtils.numberType.MOBILE
iti?.getNumberType() === (intlTelInput.utils.numberType as any)?.MOBILE
) {
setPhoneNumber(iti.getNumber());
} else {
Expand Down

0 comments on commit fcd9217

Please sign in to comment.