Skip to content

Commit

Permalink
chore(script): move compression repo out of monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWook committed Oct 4, 2024
1 parent ba2428a commit bef0a62
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@vuepress/bundler-vite": "2.0.0-rc.17",
"@vuepress/plugin-register-components": "2.0.0-rc.52",
"@vuepress/theme-default": "2.0.0-rc.52",
"@zxcvbn-ts/dictionary-compression": "1.0.0",
"@zxcvbn-ts/dictionary-compression": "^2.0.0",
"axios": "1.7.7",
"byline": "5.0.0",
"cross-fetch": "4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/languages/ar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"arabic"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"common"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/cs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"czech"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/da-dk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"danish"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/de/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"german"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/en/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"english"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/es-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"spain"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/fi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"finnish"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/fr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"french"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"indonesia"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/it/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"italian"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/ja/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"japanese"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/nl-be/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"belgium"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/pl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"pl"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/languages/pt-br/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"ptbr"
],
"dependencies": {
"@zxcvbn-ts/dictionary-compression": "^1.0.0"
"@zxcvbn-ts/dictionary-compression": "^2.0.0"
}
}
1 change: 0 additions & 1 deletion packages/libraries/main/src/matcher/sequence/matching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class MatchSequence {
password,
result,
})
console.log(result)
return result
}

Expand Down
5 changes: 3 additions & 2 deletions scripts/jsonPlugin.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { compress } from '@zxcvbn-ts/dictionary-compression'
// eslint-disable-next-line import/extensions
import compress from '@zxcvbn-ts/dictionary-compression/compress'

const json = () => {
return {
Expand All @@ -17,7 +18,7 @@ const json = () => {
const encoded = compress(parsed)

code = `
import { decompress } from '@zxcvbn-ts/dictionary-compression'
import decompress from '@zxcvbn-ts/dictionary-compression/decompress'
export default decompress('${encoded}')`
} else {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3339,10 +3339,10 @@
dependencies:
argparse "^2.0.1"

"@zxcvbn-ts/dictionary-compression@1.0.0", "@zxcvbn-ts/dictionary-compression@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/dictionary-compression/-/dictionary-compression-1.0.0.tgz#e7aa181a6f3e387a2532f4dec9d78eeec38da9b5"
integrity sha512-K4Ge15UqrDpGX9SMTgZYEhZNVqP4n8GIA7Cjk+URIw52TcaQ3QQde8s0khhGtitD53dBaQN7uY6FOInrD+h+vQ==
"@zxcvbn-ts/dictionary-compression@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/dictionary-compression/-/dictionary-compression-2.0.0.tgz#6a180a9ecf0fba98d87d58c5955fdab9245b65f5"
integrity sha512-gTUSR73B2IDfg7PccGRbwOm5wurK0D1LobQsUyLPqe7pOZ4iQYMJfJ3F0dyMjFlRsc2hmdM2gyPX8HWq4nl9VQ==
dependencies:
"@alttiri/base85" "1.8.0"
fflate "^0.8.2"
Expand Down

0 comments on commit bef0a62

Please sign in to comment.