mirror of
https://github.com/cupcakearmy/canihazusername.git
synced 2024-12-21 15:16:24 +00:00
update wordlist
This commit is contained in:
parent
26c9dff309
commit
6909217ad6
@ -1 +1 @@
|
||||
Subproject commit 7cec9b716babec59b68075abf27fdfae90f51871
|
||||
Subproject commit 3aab59e6844fe899a3fcc3949859efbc74977510
|
@ -27,13 +27,12 @@ function convertAndSaveWordlistAsJSON() {
|
||||
.filter((entry) => entry !== '')
|
||||
.map((entry) => entry.trim())
|
||||
|
||||
// Remove duplicates
|
||||
const set = new Set(lines)
|
||||
const name = basename(filename, 'utf-8').slice(0, -4)
|
||||
const set = new Set(lines) // remove duplicates
|
||||
const name = basename(filename, 'utf-8').slice(0, -4) // trim .txt
|
||||
wordlist[name] = [...set]
|
||||
})
|
||||
|
||||
writeFileSync('./src/wordlist.json', JSON.stringify(wordlist))
|
||||
writeFileSync('./src/wordlist.json', JSON.stringify(wordlist), 'utf-8')
|
||||
}
|
||||
|
||||
convertAndSaveWordlistAsJSON()
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "canihazusername",
|
||||
"version": "2.3.6",
|
||||
"version": "2.4.0",
|
||||
"description": "username generator. typed, simple and customizable",
|
||||
"packageManager": "pnpm@8.6.7",
|
||||
"type": "module",
|
||||
@ -24,7 +24,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"generate": "git submodule update && node ./generate/wordlist.js",
|
||||
"generate": "git submodule update --recursive --remote --init && node ./generate/wordlist.js",
|
||||
"dev": "tsc -w",
|
||||
"build": "tsup src/index.ts --format cjs,esm --dts --sourcemap",
|
||||
"docs": "pnpm run build && parcel build --target docs demo/index.html",
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user