@zxcvbn-ts/language-cs
Advanced tools
Comparing version 3.0.1 to 4.0.0-beta.0
import translations from './translations'; | ||
declare const dictionary: { | ||
commonWords: string[]; | ||
firstnames: string[]; | ||
lastnames: string[]; | ||
wikipedia: string[]; | ||
'commonWords-cs': string[]; | ||
'firstnames-cs': string[]; | ||
'lastnames-cs': string[]; | ||
'wikipedia-cs': string[]; | ||
}; | ||
export { dictionary, translations }; |
@@ -9,6 +9,6 @@ import commonWords from './commonWords.json.esm.js'; | ||
const dictionary = { | ||
commonWords, | ||
firstnames, | ||
lastnames, | ||
wikipedia | ||
'commonWords-cs': commonWords, | ||
'firstnames-cs': firstnames, | ||
'lastnames-cs': lastnames, | ||
'wikipedia-cs': wikipedia | ||
}; | ||
@@ -15,0 +15,0 @@ |
@@ -11,6 +11,6 @@ 'use strict'; | ||
const dictionary = { | ||
commonWords, | ||
firstnames, | ||
lastnames, | ||
wikipedia | ||
'commonWords-cs': commonWords, | ||
'firstnames-cs': firstnames, | ||
'lastnames-cs': lastnames, | ||
'wikipedia-cs': wikipedia | ||
}; | ||
@@ -17,0 +17,0 @@ |
{ | ||
"name": "@zxcvbn-ts/language-cs", | ||
"version": "3.0.1", | ||
"version": "4.0.0-beta.0", | ||
"main": "dist/index.js", | ||
@@ -29,3 +29,3 @@ "module": "dist/index.esm.js", | ||
], | ||
"gitHead": "7163801a8b17608073231b8d5de6966e5fae521d" | ||
"gitHead": "b7f8950e4a4b03716c55203815d7b58bff93b369" | ||
} |
@@ -19,3 +19,3 @@ # @zxcvbn-ts/language-cs | ||
```js | ||
import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core' | ||
import { ZxcvbnFactory } from '@zxcvbn-ts/core' | ||
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common' | ||
@@ -33,6 +33,4 @@ import * as zxcvbnCsPackage from '@zxcvbn-ts/language-cs' | ||
} | ||
zxcvbnOptions.setOptions(options) | ||
zxcvbn(password) | ||
const zxcvbn = new ZxcvbnFactory(options) | ||
zxcvbn.check(password) | ||
``` |
@@ -8,4 +8,9 @@ // This file is auto generated by data-scripts/_helpers/runtime.ts | ||
const dictionary = { commonWords, firstnames, lastnames, wikipedia } | ||
const dictionary = { | ||
'commonWords-cs': commonWords, | ||
'firstnames-cs': firstnames, | ||
'lastnames-cs': lastnames, | ||
'wikipedia-cs': wikipedia, | ||
} | ||
export { dictionary, translations } |
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 too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3159575
39
9702
1
35