@zxcvbn-ts/core
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -6,2 +6,20 @@ # Change Log | ||
# [0.2.0](https://github.com/zxcvbn-ts/zxcvbn/compare/@zxcvbn-ts/core@0.1.0...@zxcvbn-ts/core@0.2.0) (2021-01-18) | ||
### Bug Fixes | ||
* **feedback:** get feedback for gendered firstnames ([41ce7f5](https://github.com/zxcvbn-ts/zxcvbn/commit/41ce7f500220f77b81382a6185d4f3801579c737)) | ||
* **rollup:** Fix browser package ([#18](https://github.com/zxcvbn-ts/zxcvbn/issues/18)) ([444aabd](https://github.com/zxcvbn-ts/zxcvbn/commit/444aabd4c37d449f600eaa4ad6d144f3c8ca5780)) | ||
### Features | ||
* **keyboard:** Add new AZERTY keyboard layout ([#17](https://github.com/zxcvbn-ts/zxcvbn/issues/17)) ([f0a7382](https://github.com/zxcvbn-ts/zxcvbn/commit/f0a7382e9b4a140b97967c3c546f2217d64a5e14)) | ||
* **translations:** improve straight row translation ([#22](https://github.com/zxcvbn-ts/zxcvbn/issues/22)) ([9e1f6e0](https://github.com/zxcvbn-ts/zxcvbn/commit/9e1f6e073f2baf5fb72a9eb507a7f0ad59dd32e9)) | ||
# [0.1.0](https://github.com/dropbox/zxcvbn/compare/v4.4.2...zxcvbn-ts:@zxcvbn-ts/core@0.1.0) (2021-01-05) | ||
@@ -8,0 +26,0 @@ |
declare const _default: { | ||
azerty: { | ||
'0': (string | null)[]; | ||
'1': (string | null)[]; | ||
'2': (string | null)[]; | ||
'3': (string | null)[]; | ||
'4': (string | null)[]; | ||
'5': (string | null)[]; | ||
'6': (string | null)[]; | ||
'7': (string | null)[]; | ||
'8': (string | null)[]; | ||
'9': (string | null)[]; | ||
'\u00B2': (string | null)[]; | ||
'~': (string | null)[]; | ||
'&': (string | null)[]; | ||
é: (string | null)[]; | ||
'"': string[]; | ||
"'": (string | null)[]; | ||
'(': (string | null)[]; | ||
'-': (string | null)[]; | ||
è: (string | null)[]; | ||
_: (string | null)[]; | ||
ç: (string | null)[]; | ||
à: (string | null)[]; | ||
')': (string | null)[]; | ||
'\u00B0': (string | null)[]; | ||
'+': (string | null)[]; | ||
'=': (string | null)[]; | ||
a: (string | null)[]; | ||
A: (string | null)[]; | ||
z: string[]; | ||
Z: string[]; | ||
e: string[]; | ||
E: string[]; | ||
r: string[]; | ||
R: string[]; | ||
t: string[]; | ||
T: string[]; | ||
y: string[]; | ||
Y: string[]; | ||
u: string[]; | ||
U: string[]; | ||
i: string[]; | ||
I: string[]; | ||
o: string[]; | ||
O: string[]; | ||
p: string[]; | ||
P: string[]; | ||
'^': string[]; | ||
$: (string | null)[]; | ||
'\u00A3': (string | null)[]; | ||
q: (string | null)[]; | ||
Q: (string | null)[]; | ||
s: string[]; | ||
S: string[]; | ||
d: string[]; | ||
D: string[]; | ||
f: string[]; | ||
F: string[]; | ||
g: string[]; | ||
G: string[]; | ||
h: string[]; | ||
H: string[]; | ||
j: string[]; | ||
J: string[]; | ||
k: string[]; | ||
K: string[]; | ||
l: string[]; | ||
L: string[]; | ||
m: string[]; | ||
M: string[]; | ||
ù: (string | null)[]; | ||
'%': (string | null)[]; | ||
'*': (string | null)[]; | ||
µ: (string | null)[]; | ||
'<': (string | null)[]; | ||
'>': (string | null)[]; | ||
w: (string | null)[]; | ||
W: (string | null)[]; | ||
x: (string | null)[]; | ||
X: (string | null)[]; | ||
c: (string | null)[]; | ||
C: (string | null)[]; | ||
v: (string | null)[]; | ||
V: (string | null)[]; | ||
b: (string | null)[]; | ||
B: (string | null)[]; | ||
n: (string | null)[]; | ||
N: (string | null)[]; | ||
',': (string | null)[]; | ||
'?': (string | null)[]; | ||
';': (string | null)[]; | ||
'.': (string | null)[]; | ||
':': (string | null)[]; | ||
'/': (string | null)[]; | ||
'!': (string | null)[]; | ||
'\u00A7': (string | null)[]; | ||
}; | ||
dvorak: { | ||
@@ -29,3 +126,3 @@ '0': (string | null)[]; | ||
'}': (string | null)[]; | ||
'\'': (string | null)[]; | ||
"'": (string | null)[]; | ||
'"': (string | null)[]; | ||
@@ -205,3 +302,3 @@ ',': string[]; | ||
':': string[]; | ||
'\'': (string | null)[]; | ||
"'": (string | null)[]; | ||
'"': (string | null)[]; | ||
@@ -303,3 +400,5 @@ z: (string | null)[]; | ||
'#': (string | null)[]; | ||
'\'': (string | null)[]; | ||
"'": (string | null)[]; | ||
'<': (string | null)[]; | ||
'>': (string | null)[]; | ||
y: (string | null)[]; | ||
@@ -306,0 +405,0 @@ Y: (string | null)[]; |
var graphs = { | ||
'dvorak': { | ||
azerty: { | ||
'0': ['ç9', null, null, ')°', 'pP', 'oO'], | ||
'1': ['²~', null, null, 'é2', 'aA', null], | ||
'2': ['&1', null, null, '"3', 'zZ', 'aA'], | ||
'3': ['é2', null, null, "'4", 'eE', 'zZ'], | ||
'4': ['"3', null, null, '(5', 'rR', 'eE'], | ||
'5': ["'4", null, null, '-6', 'tT', 'rR'], | ||
'6': ['(5', null, null, 'è7', 'yY', 'tT'], | ||
'7': ['-6', null, null, '_8', 'uU', 'yY'], | ||
'8': ['è7', null, null, 'ç9', 'iI', 'uU'], | ||
'9': ['_8', null, null, 'à0', 'oO', 'iI'], | ||
'²': [null, null, null, '&1', null, null], | ||
'~': [null, null, null, '&1', null, null], | ||
'&': ['²~', null, null, 'é2', 'aA', null], | ||
'é': ['&1', null, null, '"3', 'zZ', 'aA'], | ||
'"': ['pP', ')°', '+=', '$£', 'ù%', 'mM'], | ||
"'": ['"3', null, null, '(5', 'rR', 'eE'], | ||
'(': ["'4", null, null, '-6', 'tT', 'rR'], | ||
'-': ['(5', null, null, 'è7', 'yY', 'tT'], | ||
'è': ['-6', null, null, '_8', 'uU', 'yY'], | ||
'_': ['è7', null, null, 'ç9', 'iI', 'uU'], | ||
'ç': ['_8', null, null, 'à0', 'oO', 'iI'], | ||
'à': ['ç9', null, null, ')°', 'pP', 'oO'], | ||
')': ['à0', null, null, '+=', '^"', 'pP'], | ||
'°': ['à0', null, null, '+=', '^"', 'pP'], | ||
'+': [')°', null, null, null, '$£', '^"'], | ||
'=': [')°', null, null, null, '$£', '^"'], | ||
'a': [null, '&1', 'é2', 'zZ', 'qQ', null], | ||
'A': [null, '&1', 'é2', 'zZ', 'qQ', null], | ||
'z': ['aA', 'é2', '"3', 'eE', 'sS', 'qQ'], | ||
'Z': ['aA', 'é2', '"3', 'eE', 'sS', 'qQ'], | ||
'e': ['zZ', '"3', "'4", 'rR', 'dD', 'sS'], | ||
'E': ['zZ', '"3', "'4", 'rR', 'dD', 'sS'], | ||
'r': ['eE', "'4", '(5', 'tT', 'fF', 'dD'], | ||
'R': ['eE', "'4", '(5', 'tT', 'fF', 'dD'], | ||
't': ['rR', '(5', '-6', 'yY', 'gG', 'fF'], | ||
'T': ['rR', '(5', '-6', 'yY', 'gG', 'fF'], | ||
'y': ['tT', '-6', 'è7', 'uU', 'hH', 'gG'], | ||
'Y': ['tT', '-6', 'è7', 'uU', 'hH', 'gG'], | ||
'u': ['yY', 'è7', '_8', 'iI', 'jJ', 'hH'], | ||
'U': ['yY', 'è7', '_8', 'iI', 'jJ', 'hH'], | ||
'i': ['uU', '_8', 'ç9', 'oO', 'kK', 'jJ'], | ||
'I': ['uU', '_8', 'ç9', 'oO', 'kK', 'jJ'], | ||
'o': ['iI', 'ç9', 'à0', 'pP', 'lL', 'kK'], | ||
'O': ['iI', 'ç9', 'à0', 'pP', 'lL', 'kK'], | ||
'p': ['oO', 'à0', ')°', '^"', 'mM', 'lL'], | ||
'P': ['oO', 'à0', ')°', '^"', 'mM', 'lL'], | ||
'^': ['pP', ')°', '+=', '$£', 'ù%', 'mM'], | ||
'$': ['^"', '+=', null, null, '*µ', 'ù%'], | ||
'£': ['^"', '+=', null, null, '*µ', 'ù%'], | ||
'q': [null, 'aA', 'zZ', 'sS', 'wW', '<>'], | ||
'Q': [null, 'aA', 'zZ', 'sS', 'wW', '<>'], | ||
's': ['qQ', 'zZ', 'eE', 'dD', 'xX', 'wW'], | ||
'S': ['qQ', 'zZ', 'eE', 'dD', 'xX', 'wW'], | ||
'd': ['sS', 'eE', 'rR', 'fF', 'cC', 'xX'], | ||
'D': ['sS', 'eE', 'rR', 'fF', 'cC', 'xX'], | ||
'f': ['dD', 'rR', 'tT', 'gG', 'vV', 'cC'], | ||
'F': ['dD', 'rR', 'tT', 'gG', 'vV', 'cC'], | ||
'g': ['fF', 'tT', 'yY', 'hH', 'bB', 'vV'], | ||
'G': ['fF', 'tT', 'yY', 'hH', 'bB', 'vV'], | ||
'h': ['gG', 'yY', 'uU', 'jJ', 'nN', 'bB'], | ||
'H': ['gG', 'yY', 'uU', 'jJ', 'nN', 'bB'], | ||
'j': ['hH', 'uU', 'iI', 'kK', ',?', 'nN'], | ||
'J': ['hH', 'uU', 'iI', 'kK', ',?', 'nN'], | ||
'k': ['jJ', 'iI', 'oO', 'lL', ';.', ',?'], | ||
'K': ['jJ', 'iI', 'oO', 'lL', ';.', ',?'], | ||
'l': ['kK', 'oO', 'pP', 'mM', ':/', ';.'], | ||
'L': ['kK', 'oO', 'pP', 'mM', ':/', ';.'], | ||
'm': ['lL', 'pP', '^"', 'ù%', '!§', ':/'], | ||
'M': ['lL', 'pP', '^"', 'ù%', '!§', ':/'], | ||
'ù': ['mM', '^"', '$£', '*µ', null, '!§'], | ||
'%': ['mM', '^"', '$£', '*µ', null, '!§'], | ||
'*': ['ù%', '$£', null, null, null, null], | ||
'µ': ['ù%', '$£', null, null, null, null], | ||
'<': [null, null, 'qQ', 'wW', null, null], | ||
'>': [null, null, 'qQ', 'wW', null, null], | ||
'w': ['<>', 'qQ', 'sS', 'xX', null, null], | ||
'W': ['<>', 'qQ', 'sS', 'xX', null, null], | ||
'x': ['wW', 'sS', 'dD', 'cC', null, null], | ||
'X': ['wW', 'sS', 'dD', 'cC', null, null], | ||
'c': ['xX', 'dD', 'fF', 'vV', null, null], | ||
'C': ['xX', 'dD', 'fF', 'vV', null, null], | ||
'v': ['cC', 'fF', 'gG', 'bB', null, null], | ||
'V': ['cC', 'fF', 'gG', 'bB', null, null], | ||
'b': ['vV', 'gG', 'hH', 'nN', null, null], | ||
'B': ['vV', 'gG', 'hH', 'nN', null, null], | ||
'n': ['bB', 'hH', 'jJ', ',?', null, null], | ||
'N': ['bB', 'hH', 'jJ', ',?', null, null], | ||
',': ['nN', 'jJ', 'kK', ';.', null, null], | ||
'?': ['nN', 'jJ', 'kK', ';.', null, null], | ||
';': [',?', 'kK', 'lL', ':/', null, null], | ||
'.': [',?', 'kK', 'lL', ':/', null, null], | ||
':': [';.', 'lL', 'mM', '!§', null, null], | ||
'/': [';.', 'lL', 'mM', '!§', null, null], | ||
'!': [':/', 'mM', 'ù%', null, null, null], | ||
'§': [':/', 'mM', 'ù%', null, null, null] | ||
}, | ||
dvorak: { | ||
'0': ['9(', null, null, '[{', 'lL', 'rR'], | ||
@@ -29,3 +126,3 @@ '1': ['`~', null, null, '2@', '\'"', null], | ||
'}': ['[{', null, null, null, '=+', '/?'], | ||
'\'': [null, '1!', '2@', ',<', 'aA', null], | ||
"'": [null, '1!', '2@', ',<', 'aA', null], | ||
'"': [null, '1!', '2@', ',<', 'aA', null], | ||
@@ -98,3 +195,3 @@ ',': ['\'"', '2@', '3#', '.>', 'oO', 'aA'], | ||
}, | ||
'keypad': { | ||
keypad: { | ||
'0': [null, '1', '2', '3', '.', null, null, null], | ||
@@ -116,3 +213,3 @@ '1': [null, null, '4', '5', '2', '0', null, null], | ||
}, | ||
'keypadMac': { | ||
keypadMac: { | ||
'0': [null, '1', '2', '3', '.', null, null, null], | ||
@@ -135,3 +232,3 @@ '1': [null, null, '4', '5', '2', '0', null, null], | ||
}, | ||
'qwerty': { | ||
qwerty: { | ||
'0': ['9(', null, null, '-_', 'pP', 'oO'], | ||
@@ -208,3 +305,3 @@ '1': ['`~', null, null, '2@', 'qQ', null], | ||
':': ['lL', 'pP', '[{', '\'"', '/?', '.>'], | ||
'\'': [';:', '[{', ']}', null, null, '/?'], | ||
"'": [';:', '[{', ']}', null, null, '/?'], | ||
'"': [';:', '[{', ']}', null, null, '/?'], | ||
@@ -232,3 +329,3 @@ 'z': [null, 'aA', 'sS', 'xX', null, null], | ||
}, | ||
'qwertz': { | ||
qwertz: { | ||
'0': ['9)', null, null, 'ß?', 'pP', 'oO'], | ||
@@ -282,6 +379,6 @@ '1': ['^°', null, null, '2"', 'qQ', null], | ||
'Ü': ['pP', 'ß?', '´`', '+*', 'äÄ', 'öÖ'], | ||
'+': ['üÜ', '´`', null, null, '#\'', 'äÄ'], | ||
'*': ['üÜ', '´`', null, null, '#\'', 'äÄ'], | ||
'a': [null, 'qQ', 'wW', 'sS', 'yY', null], | ||
'A': [null, 'qQ', 'wW', 'sS', 'yY', null], | ||
'+': ['üÜ', '´`', null, null, "#'", 'äÄ'], | ||
'*': ['üÜ', '´`', null, null, "#'", 'äÄ'], | ||
'a': [null, 'qQ', 'wW', 'sS', 'yY', '<>'], | ||
'A': [null, 'qQ', 'wW', 'sS', 'yY', '<>'], | ||
's': ['aA', 'wW', 'eE', 'dD', 'xX', 'yY'], | ||
@@ -305,8 +402,10 @@ 'S': ['aA', 'wW', 'eE', 'dD', 'xX', 'yY'], | ||
'Ö': ['lL', 'pP', 'üÜ', 'äÄ', '-_', '.:'], | ||
'ä': ['öÖ', 'üÜ', '+*', '#\'', null, '-_'], | ||
'Ä': ['öÖ', 'üÜ', '+*', '#\'', null, '-_'], | ||
'ä': ['öÖ', 'üÜ', '+*', "#'", null, '-_'], | ||
'Ä': ['öÖ', 'üÜ', '+*', "#'", null, '-_'], | ||
'#': ['äÄ', '+*', null, null, null, null], | ||
'\'': ['äÄ', '+*', null, null, null, null], | ||
'y': [null, 'aA', 'sS', 'xX', null, null], | ||
'Y': [null, 'aA', 'sS', 'xX', null, null], | ||
"'": ['äÄ', '+*', null, null, null, null], | ||
'<': [null, null, 'aA', 'yY', null, null], | ||
'>': [null, null, 'aA', 'yY', null, null], | ||
'y': ['<>', 'aA', 'sS', 'xX', null, null], | ||
'Y': ['<>', 'aA', 'sS', 'xX', null, null], | ||
'x': ['yY', 'sS', 'dD', 'cC', null, null], | ||
@@ -313,0 +412,0 @@ 'X': ['yY', 'sS', 'dD', 'cC', null, null], |
'use strict'; | ||
var graphs = { | ||
'dvorak': { | ||
azerty: { | ||
'0': ['ç9', null, null, ')°', 'pP', 'oO'], | ||
'1': ['²~', null, null, 'é2', 'aA', null], | ||
'2': ['&1', null, null, '"3', 'zZ', 'aA'], | ||
'3': ['é2', null, null, "'4", 'eE', 'zZ'], | ||
'4': ['"3', null, null, '(5', 'rR', 'eE'], | ||
'5': ["'4", null, null, '-6', 'tT', 'rR'], | ||
'6': ['(5', null, null, 'è7', 'yY', 'tT'], | ||
'7': ['-6', null, null, '_8', 'uU', 'yY'], | ||
'8': ['è7', null, null, 'ç9', 'iI', 'uU'], | ||
'9': ['_8', null, null, 'à0', 'oO', 'iI'], | ||
'²': [null, null, null, '&1', null, null], | ||
'~': [null, null, null, '&1', null, null], | ||
'&': ['²~', null, null, 'é2', 'aA', null], | ||
'é': ['&1', null, null, '"3', 'zZ', 'aA'], | ||
'"': ['pP', ')°', '+=', '$£', 'ù%', 'mM'], | ||
"'": ['"3', null, null, '(5', 'rR', 'eE'], | ||
'(': ["'4", null, null, '-6', 'tT', 'rR'], | ||
'-': ['(5', null, null, 'è7', 'yY', 'tT'], | ||
'è': ['-6', null, null, '_8', 'uU', 'yY'], | ||
'_': ['è7', null, null, 'ç9', 'iI', 'uU'], | ||
'ç': ['_8', null, null, 'à0', 'oO', 'iI'], | ||
'à': ['ç9', null, null, ')°', 'pP', 'oO'], | ||
')': ['à0', null, null, '+=', '^"', 'pP'], | ||
'°': ['à0', null, null, '+=', '^"', 'pP'], | ||
'+': [')°', null, null, null, '$£', '^"'], | ||
'=': [')°', null, null, null, '$£', '^"'], | ||
'a': [null, '&1', 'é2', 'zZ', 'qQ', null], | ||
'A': [null, '&1', 'é2', 'zZ', 'qQ', null], | ||
'z': ['aA', 'é2', '"3', 'eE', 'sS', 'qQ'], | ||
'Z': ['aA', 'é2', '"3', 'eE', 'sS', 'qQ'], | ||
'e': ['zZ', '"3', "'4", 'rR', 'dD', 'sS'], | ||
'E': ['zZ', '"3', "'4", 'rR', 'dD', 'sS'], | ||
'r': ['eE', "'4", '(5', 'tT', 'fF', 'dD'], | ||
'R': ['eE', "'4", '(5', 'tT', 'fF', 'dD'], | ||
't': ['rR', '(5', '-6', 'yY', 'gG', 'fF'], | ||
'T': ['rR', '(5', '-6', 'yY', 'gG', 'fF'], | ||
'y': ['tT', '-6', 'è7', 'uU', 'hH', 'gG'], | ||
'Y': ['tT', '-6', 'è7', 'uU', 'hH', 'gG'], | ||
'u': ['yY', 'è7', '_8', 'iI', 'jJ', 'hH'], | ||
'U': ['yY', 'è7', '_8', 'iI', 'jJ', 'hH'], | ||
'i': ['uU', '_8', 'ç9', 'oO', 'kK', 'jJ'], | ||
'I': ['uU', '_8', 'ç9', 'oO', 'kK', 'jJ'], | ||
'o': ['iI', 'ç9', 'à0', 'pP', 'lL', 'kK'], | ||
'O': ['iI', 'ç9', 'à0', 'pP', 'lL', 'kK'], | ||
'p': ['oO', 'à0', ')°', '^"', 'mM', 'lL'], | ||
'P': ['oO', 'à0', ')°', '^"', 'mM', 'lL'], | ||
'^': ['pP', ')°', '+=', '$£', 'ù%', 'mM'], | ||
'$': ['^"', '+=', null, null, '*µ', 'ù%'], | ||
'£': ['^"', '+=', null, null, '*µ', 'ù%'], | ||
'q': [null, 'aA', 'zZ', 'sS', 'wW', '<>'], | ||
'Q': [null, 'aA', 'zZ', 'sS', 'wW', '<>'], | ||
's': ['qQ', 'zZ', 'eE', 'dD', 'xX', 'wW'], | ||
'S': ['qQ', 'zZ', 'eE', 'dD', 'xX', 'wW'], | ||
'd': ['sS', 'eE', 'rR', 'fF', 'cC', 'xX'], | ||
'D': ['sS', 'eE', 'rR', 'fF', 'cC', 'xX'], | ||
'f': ['dD', 'rR', 'tT', 'gG', 'vV', 'cC'], | ||
'F': ['dD', 'rR', 'tT', 'gG', 'vV', 'cC'], | ||
'g': ['fF', 'tT', 'yY', 'hH', 'bB', 'vV'], | ||
'G': ['fF', 'tT', 'yY', 'hH', 'bB', 'vV'], | ||
'h': ['gG', 'yY', 'uU', 'jJ', 'nN', 'bB'], | ||
'H': ['gG', 'yY', 'uU', 'jJ', 'nN', 'bB'], | ||
'j': ['hH', 'uU', 'iI', 'kK', ',?', 'nN'], | ||
'J': ['hH', 'uU', 'iI', 'kK', ',?', 'nN'], | ||
'k': ['jJ', 'iI', 'oO', 'lL', ';.', ',?'], | ||
'K': ['jJ', 'iI', 'oO', 'lL', ';.', ',?'], | ||
'l': ['kK', 'oO', 'pP', 'mM', ':/', ';.'], | ||
'L': ['kK', 'oO', 'pP', 'mM', ':/', ';.'], | ||
'm': ['lL', 'pP', '^"', 'ù%', '!§', ':/'], | ||
'M': ['lL', 'pP', '^"', 'ù%', '!§', ':/'], | ||
'ù': ['mM', '^"', '$£', '*µ', null, '!§'], | ||
'%': ['mM', '^"', '$£', '*µ', null, '!§'], | ||
'*': ['ù%', '$£', null, null, null, null], | ||
'µ': ['ù%', '$£', null, null, null, null], | ||
'<': [null, null, 'qQ', 'wW', null, null], | ||
'>': [null, null, 'qQ', 'wW', null, null], | ||
'w': ['<>', 'qQ', 'sS', 'xX', null, null], | ||
'W': ['<>', 'qQ', 'sS', 'xX', null, null], | ||
'x': ['wW', 'sS', 'dD', 'cC', null, null], | ||
'X': ['wW', 'sS', 'dD', 'cC', null, null], | ||
'c': ['xX', 'dD', 'fF', 'vV', null, null], | ||
'C': ['xX', 'dD', 'fF', 'vV', null, null], | ||
'v': ['cC', 'fF', 'gG', 'bB', null, null], | ||
'V': ['cC', 'fF', 'gG', 'bB', null, null], | ||
'b': ['vV', 'gG', 'hH', 'nN', null, null], | ||
'B': ['vV', 'gG', 'hH', 'nN', null, null], | ||
'n': ['bB', 'hH', 'jJ', ',?', null, null], | ||
'N': ['bB', 'hH', 'jJ', ',?', null, null], | ||
',': ['nN', 'jJ', 'kK', ';.', null, null], | ||
'?': ['nN', 'jJ', 'kK', ';.', null, null], | ||
';': [',?', 'kK', 'lL', ':/', null, null], | ||
'.': [',?', 'kK', 'lL', ':/', null, null], | ||
':': [';.', 'lL', 'mM', '!§', null, null], | ||
'/': [';.', 'lL', 'mM', '!§', null, null], | ||
'!': [':/', 'mM', 'ù%', null, null, null], | ||
'§': [':/', 'mM', 'ù%', null, null, null] | ||
}, | ||
dvorak: { | ||
'0': ['9(', null, null, '[{', 'lL', 'rR'], | ||
@@ -31,3 +128,3 @@ '1': ['`~', null, null, '2@', '\'"', null], | ||
'}': ['[{', null, null, null, '=+', '/?'], | ||
'\'': [null, '1!', '2@', ',<', 'aA', null], | ||
"'": [null, '1!', '2@', ',<', 'aA', null], | ||
'"': [null, '1!', '2@', ',<', 'aA', null], | ||
@@ -100,3 +197,3 @@ ',': ['\'"', '2@', '3#', '.>', 'oO', 'aA'], | ||
}, | ||
'keypad': { | ||
keypad: { | ||
'0': [null, '1', '2', '3', '.', null, null, null], | ||
@@ -118,3 +215,3 @@ '1': [null, null, '4', '5', '2', '0', null, null], | ||
}, | ||
'keypadMac': { | ||
keypadMac: { | ||
'0': [null, '1', '2', '3', '.', null, null, null], | ||
@@ -137,3 +234,3 @@ '1': [null, null, '4', '5', '2', '0', null, null], | ||
}, | ||
'qwerty': { | ||
qwerty: { | ||
'0': ['9(', null, null, '-_', 'pP', 'oO'], | ||
@@ -210,3 +307,3 @@ '1': ['`~', null, null, '2@', 'qQ', null], | ||
':': ['lL', 'pP', '[{', '\'"', '/?', '.>'], | ||
'\'': [';:', '[{', ']}', null, null, '/?'], | ||
"'": [';:', '[{', ']}', null, null, '/?'], | ||
'"': [';:', '[{', ']}', null, null, '/?'], | ||
@@ -234,3 +331,3 @@ 'z': [null, 'aA', 'sS', 'xX', null, null], | ||
}, | ||
'qwertz': { | ||
qwertz: { | ||
'0': ['9)', null, null, 'ß?', 'pP', 'oO'], | ||
@@ -284,6 +381,6 @@ '1': ['^°', null, null, '2"', 'qQ', null], | ||
'Ü': ['pP', 'ß?', '´`', '+*', 'äÄ', 'öÖ'], | ||
'+': ['üÜ', '´`', null, null, '#\'', 'äÄ'], | ||
'*': ['üÜ', '´`', null, null, '#\'', 'äÄ'], | ||
'a': [null, 'qQ', 'wW', 'sS', 'yY', null], | ||
'A': [null, 'qQ', 'wW', 'sS', 'yY', null], | ||
'+': ['üÜ', '´`', null, null, "#'", 'äÄ'], | ||
'*': ['üÜ', '´`', null, null, "#'", 'äÄ'], | ||
'a': [null, 'qQ', 'wW', 'sS', 'yY', '<>'], | ||
'A': [null, 'qQ', 'wW', 'sS', 'yY', '<>'], | ||
's': ['aA', 'wW', 'eE', 'dD', 'xX', 'yY'], | ||
@@ -307,8 +404,10 @@ 'S': ['aA', 'wW', 'eE', 'dD', 'xX', 'yY'], | ||
'Ö': ['lL', 'pP', 'üÜ', 'äÄ', '-_', '.:'], | ||
'ä': ['öÖ', 'üÜ', '+*', '#\'', null, '-_'], | ||
'Ä': ['öÖ', 'üÜ', '+*', '#\'', null, '-_'], | ||
'ä': ['öÖ', 'üÜ', '+*', "#'", null, '-_'], | ||
'Ä': ['öÖ', 'üÜ', '+*', "#'", null, '-_'], | ||
'#': ['äÄ', '+*', null, null, null, null], | ||
'\'': ['äÄ', '+*', null, null, null, null], | ||
'y': [null, 'aA', 'sS', 'xX', null, null], | ||
'Y': [null, 'aA', 'sS', 'xX', null, null], | ||
"'": ['äÄ', '+*', null, null, null, null], | ||
'<': [null, null, 'aA', 'yY', null, null], | ||
'>': [null, null, 'aA', 'yY', null, null], | ||
'y': ['<>', 'aA', 'sS', 'xX', null, null], | ||
'Y': ['<>', 'aA', 'sS', 'xX', null, null], | ||
'x': ['yY', 'sS', 'dD', 'cC', null, null], | ||
@@ -315,0 +414,0 @@ 'X': ['yY', 'sS', 'dD', 'cC', null, null], |
@@ -149,3 +149,3 @@ import Options from './Options.esm.js'; | ||
} | ||
} else if (dictName === 'lastnames' || dictName === 'firstnames') { | ||
} else if (dictName === 'lastnames' || dictName.toLowerCase().includes('firstnames')) { | ||
if (isSoleMatch) { | ||
@@ -152,0 +152,0 @@ warning = Options.translations.warnings.namesByThemselves; |
@@ -151,3 +151,3 @@ 'use strict'; | ||
} | ||
} else if (dictName === 'lastnames' || dictName === 'firstnames') { | ||
} else if (dictName === 'lastnames' || dictName.toLowerCase().includes('firstnames')) { | ||
if (isSoleMatch) { | ||
@@ -154,0 +154,0 @@ warning = Options.translations.warnings.namesByThemselves; |
{ | ||
"name": "@zxcvbn-ts/core", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,4 @@ "module": "dist/index.esm.js", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
@@ -37,3 +38,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "f0567eed744717a0af2c20a69cf623479b1d2eae" | ||
"gitHead": "b98284a9f8ee9fcd9129c07665d9631e704d73e5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
646973
194
9871