Skip to content

Commit 3bbce65

Browse files
committed
🔥 Removed strict options
1 parent 473f432 commit 3bbce65

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/characterspool.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ const uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
66
const numbers = '0123456789';
77
const symbols = '\\!@#$%&*(){}[]/.,><';
88
const similarCharacters = /[ilLI|`oO0]/g;
9-
const strictRules = [
10-
{ name: 'lowercase', rule: /[a-z]/ },
11-
{ name: 'uppercase', rule: /[A-Z]/ },
12-
{ name: 'numbers', rule: /[0-9]/ },
13-
{ name: 'symbols', rule: /[\\!@#$%&*(){}[\]/.,><]/ },
14-
];
159

1610
function getCharPool(options: Options): string {
1711
let pool = '';

src/options.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ export interface Options {
55
uppercase?: boolean;
66
lowercase?: boolean;
77
excludeSimilarCharacters?: boolean;
8-
strict?: boolean;
98
}

0 commit comments

Comments
 (0)