Skip to content

Commit

Permalink
Fixed ts-md5 import error through different import, bumped ts-md5 lib…
Browse files Browse the repository at this point in the history
…rary
  • Loading branch information
anoek committed Oct 8, 2023
1 parent 1349bbc commit a663187
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"resize-observer-polyfill": "^1.5.1",
"sanitize-html": "^2.3.2",
"sweetalert2": "^11.4.17",
"ts-md5": "=1.2.11",
"ts-md5": "^1.3.1",
"valid-url": "^1.0.9",
"whatwg-fetch": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/SignIn/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Card } from "material";
import { errorAlerter, uuid } from "misc";
import { post } from "requests";
import cached from "cached";
import { Md5 } from "ts-md5/dist/md5";
import { Md5 } from "ts-md5/dist/esm/md5";
import { useUser } from "hooks";

import { SocialLoginButtons } from "SocialLoginButtons";
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10263,10 +10263,10 @@ ts-loader@^9.4.2:
micromatch "^4.0.0"
semver "^7.3.4"

ts-md5@=1.2.11:
version "1.2.11"
resolved "https://registry.yarnpkg.com/ts-md5/-/ts-md5-1.2.11.tgz#0bbdf884eecf7da3952fe8671a109d7e55d322c6"
integrity sha512-vAwy9rEuRE6a8xa1MavIVkLFyyU0ydk4CLMFA5vOVccmQKLOuGb/BHm3oEN7XHf2FoqS+z0pSvhaad/ombd1Vg==
ts-md5@=1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/ts-md5/-/ts-md5-1.3.1.tgz#f5b860c0d5241dd9bb4e909dd73991166403f511"
integrity sha512-DiwiXfwvcTeZ5wCE0z+2A9EseZsztaiZtGrtSaY5JOD7ekPnR/GoIVD5gXZAlK9Na9Kvpo9Waz5rW64WKAWApg==

ts-toolbelt@^9.6.0:
version "9.6.0"
Expand Down

0 comments on commit a663187

Please sign in to comment.