Skip to content

Commit 69ce3e1

Browse files
authoredDec 12, 2023
chore(clerk-js): Update zxcvbn dependency (#2326)
* chore(clerk-js): Update zxcvbn dependency * chore(repo): Add changesets
1 parent 75ea300 commit 69ce3e1

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed
 

‎.changeset/angry-clocks-attend.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
Update `@zxcvbn-ts/core` from `2.2.1` to `3.0.4`. Update `@zxcvbn-ts/language-common` from `3.0.2` to `3.0.4`.

‎.changeset/long-dancers-whisper.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/types': patch
3+
---
4+
5+
Adjust `ZxcvbnResult` interface to use current `feedback.warning` type as used in the upstream `@zxcvbn-ts/core` library.

‎package-lock.json

+8-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/clerk-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
"@emotion/cache": "11.11.0",
5757
"@emotion/react": "11.11.1",
5858
"@floating-ui/react": "0.25.4",
59-
"@zxcvbn-ts/core": "2.2.1",
60-
"@zxcvbn-ts/language-common": "3.0.2",
59+
"@zxcvbn-ts/core": "3.0.4",
60+
"@zxcvbn-ts/language-common": "3.0.4",
6161
"browser-tabs-lock": "1.2.15",
6262
"copy-to-clipboard": "3.3.3",
6363
"core-js": "3.26.1",

‎packages/types/src/passwords.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { PasswordSettingsData } from './userSettings';
22

33
export interface ZxcvbnResult {
44
feedback: {
5-
warning: string;
5+
warning: string | null;
66
suggestions: string[];
77
};
88
score: 0 | 1 | 2 | 3 | 4;

0 commit comments

Comments
 (0)
Please sign in to comment.