chore: update SQL script, dev script, and add zxcvbnjs

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-06-18 16:26:52 +01:00
co-authored by Sisyphus
parent f7cc278423
commit 3ff14fdd5a
5 changed files with 3429 additions and 140 deletions
+17
View File
@@ -0,0 +1,17 @@
const { zxcvbn, zxcvbnOptions } = require('@zxcvbn-ts/core');
const { dictionary: commonDictionary, adjacencyGraphs } = require('@zxcvbn-ts/language-common');
const { dictionary: enDictionary, translations } = require('@zxcvbn-ts/language-en');
zxcvbnOptions.setOptions({
dictionary: {
...commonDictionary,
...enDictionary,
},
graphs: adjacencyGraphs,
translations,
});
// Called from Go via goja
globalThis.zxcvbnScore = function (password) {
return zxcvbn(password).score;
};