Commits on Source (32)
-
Millicent Billette authored
ADD : CheckKey FIX : B64
-
Millicent Billette authored
crypto: test if it's pubkey See merge request !1
-
Millicent Billette authored
ADD: isPubKey checkKey and return true or false (instead of throwing error) FIX: checkKey allow key without checksum (and perform internal check on them) FIX: checkKey allow binary key as input v3.2.0 is previous commit. This-one will be v3.3.0 if all work like espected.
-
Millicent Billette authored
-
Millicent Billette authored
DOC: french CHANGELOG.fr.md updated
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
FIX: remove ambiguous isPubkey ( a deprecated version of isPubKey )
-
Millicent Billette authored
FIX: import artefact generating error in browser FIX: finish dictionary-tree skipped test FIX: timeout start in multi-node-layer.test to have more deterministic test result
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
FIX: no more import "crypto" from browser
-
Millicent Billette authored
ADD: textEncrypt and textDecrypt to read and write cesium+ messages.
-
Millicent Billette authored
FIX: checkKey now throw named errors
-
Millicent Billette authored
FIX: checkKey throw too_short error on <43 base58 key and no more fill them up to 43 characters
-
Millicent Billette authored
FIX: checkKey throw too_long error on binary RangeError (>32bit)
-
Millicent Billette authored
FIX: a little bit too mutch end2end in gva-client test.
-
Millicent Billette authored
-
Millicent Billette authored
DOC: USE in readme talk about UNPKG
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
-
Millicent Billette authored
FIX: Dictionary now fallback to no-regex string if regex parse fail or options.escapeAll=1 FIX: trivialDedup to sort and better dedup REFACTO: dictionary-parse now have options parameter and no more a long list of parameters
-
Millicent Billette authored
FIX: Dictonary lowerCase option now have only 3 mode but there are more consistent : 0 for no change (like before) 1 for classic variation ALL UPPERCASE, all lowercase, First Letter Only (and original string) 2 for Every individual variation from Capitalized version. MAJ: bump dependencies version.
-
Millicent Billette authored
FIX: variants are now correctly generated and are independent between salt and password.
-
Millicent Billette authored
FIX: dictionary-tree don't remove empty case to handle "(|a)" and similar cases.
-
Millicent Billette authored
FIX: dictionary-parser no more create duplicate with variable qty operator. example: "A{0,5}"
-
Millicent Billette authored
Showing
- .gitlab-ci.yml 41 additions, 0 deletions.gitlab-ci.yml
- CHANGELOG.fr.md 119 additions, 14 deletionsCHANGELOG.fr.md
- CI/cp-src-to-context-specific.js 1 addition, 0 deletionsCI/cp-src-to-context-specific.js
- CI/minify.mjs 3 additions, 14 deletionsCI/minify.mjs
- CI/rollup.config.mjs 1 addition, 1 deletionCI/rollup.config.mjs
- CI/vendors.js 18 additions, 1 deletionCI/vendors.js
- CI/zeroDependency.mjs 12 additions, 0 deletionsCI/zeroDependency.mjs
- README.fr.md 11 additions, 9 deletionsREADME.fr.md
- README.md 9 additions, 8 deletionsREADME.md
- npm/package.json 1 addition, 1 deletionnpm/package.json
- package-lock.json 9434 additions, 9580 deletionspackage-lock.json
- package.json 28 additions, 19 deletionspackage.json
- src/basex.mjs 11 additions, 9 deletionssrc/basex.mjs
- src/basex.test.mjs 11 additions, 0 deletionssrc/basex.test.mjs
- src/context-dependant/generics.mjs 2 additions, 3 deletionssrc/context-dependant/generics.mjs
- src/context-dependant/only-browser.mjs 18 additions, 2 deletionssrc/context-dependant/only-browser.mjs
- src/context-dependant/only-nodejs.mjs 18 additions, 1 deletionsrc/context-dependant/only-nodejs.mjs
- src/crypto.mjs 137 additions, 28 deletionssrc/crypto.mjs
- src/crypto.test.mjs 91 additions, 24 deletionssrc/crypto.test.mjs
- src/dictionary-builder.mjs 0 additions, 157 deletionssrc/dictionary-builder.mjs
CI/zeroDependency.mjs
0 → 100644
This diff is collapsed.
... | ... | @@ -8,16 +8,17 @@ |
"build:mk": "node CI/mk-generated.mjs", | ||
"build:vendors": "node CI/vendors.js", | ||
"build:cpSrcToContextSpecific": "node CI/cp-src-to-context-specific.js", | ||
"build:npm:rollup": "rollup --config CI/rollup.config.js", | ||
"build:npm:rollup": "rollup --config CI/rollup.config.mjs", | ||
"build:npm:cp": "cp npm/* generated/npm/", | ||
"build:npm:cp:readme": "cp README* generated/npm/", | ||
"build:npm:min:terser": "node CI/minify.mjs", | ||
"build:npm:min": "node CI/minify.mjs", | ||
"build:npm:zeroDep": "node CI/zeroDependency.mjs", | ||
"test": "run-s test:dev", | ||
"test:dev": "run-s test:dev:**", | ||
"test:dev": "run-p test:dev:**", | ||
"xtest:dev:qualityCheck": "xo", | ||
"test:dev:duplication": "jscpd ./ -s", | ||
"test:dev:runTests": "ava src/**.test.mjs", | ||
"xtest:dev:complexity": "codehawk ./", | ||
"test:dev:complexity": "codehawk ./", | ||
"test-e2e": "ava generated/tmpNodejs/**.test-e2e.mjs", | ||
"test:production": "run-s test:production:**", | ||
"xtest:production:qualityCheck": "xo", | ||
... | ... | @@ -29,36 +30,44 @@ |
"test:production:npm:nodejs:test": "cd generated/npm/nodejs/ && ava **.test.mjs", | ||
"test:production:npm:nodejs:test-e2e": "cd generated/npm/nodejs/ && ava **.test-e2e.mjs", | ||
"test:production:npm:nodejs:clean": "rm -rf generated/npm/nodejs/*.test*.mjs", | ||
"test:browser": "run-s test:browser:**", | ||
"test:browser:cp": "cp generated/tmpBrowser/*.test*.mjs generated/npm/browser/", | ||
"test:browser:test": "cd generated/npm/browser/ && PORT=8478 browser-ava **.test.mjs --chromium --firefox", | ||
"test:browser:test-e2e": "cd generated/npm/browser/ && browser-ava **.test-e2e.mjs --chromium --firefox", | ||
"test:browser:clean": "rm -rf generated/npm/browser/*.test*.mjs", | ||
"watch": "chokidar src/* -c \"npm run test:dev:runTests\"", | ||
"watch2null": "chokidar src/* -c \"npm run test:dev:runTests 2>/dev/null\"" | ||
}, | ||
"dependencies": { | ||
"cross-fetch": "^3.1.4", | ||
"js-sha256": "https://github.com/1000i100/js-sha256#master", | ||
"@noble/ed25519": "^1.7.1", | ||
"cross-fetch": "^3.1.5", | ||
"ed2curve": "https://github.com/1000i100/ed2curve#master", | ||
"js-sha256": "github:1000i100/js-sha256#master", | ||
"latinize-to-ascii": "^0.5.2", | ||
"node-fetch": "^2.6.1", | ||
"node-fetch": "^2.6.7", | ||
"scrypt-async-modern": "^3.0.12", | ||
"tweetnacl": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
"@jscpd/badge-reporter": "^3.3.23", | ||
"ava": "^3.15.0", | ||
"@jscpd/badge-reporter": "^3.4.5", | ||
"ava": "^5.1.0", | ||
"badgen": "^3.2.2", | ||
"c8": "^7.6.0", | ||
"chokidar-cli": "^2.1.0", | ||
"browser-ava": "^1.3.13", | ||
"c8": "^7.12.0", | ||
"chokidar-cli": "^3.0.0", | ||
"codehawk-cli": "^10.0.1", | ||
"es6-plato": "https://github.com/1000i100/es6-plato#master", | ||
"eslint-plugin-ava": "^12.0.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-unicorn": "^33.0.1", | ||
"jscpd": "^3.3.25", | ||
"esbuild": "^0.16.12", | ||
"eslint-plugin-ava": "^13.2.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-unicorn": "^45.0.2", | ||
"jscpd": "^3.5.3", | ||
"mkdirp": "^1.0.4", | ||
"npm-run-all": "^4.1.5", | ||
"rollup": "^2.42.4", | ||
"terser": "^5.7.0", | ||
"xo": "^0.40.3" | ||
"rollup": "^3.9.0", | ||
"xo": "^0.44.0" | ||
}, | ||
"disabledDependenciesTODOAddComplexityQualityCheck": { | ||
"noble-ed25519": "https://github.com/1000i100/noble-ed25519#master", | ||
"ecma-nacl": "^2.5.0", | ||
"codehawk-cli": "^8.3.0" | ||
}, | ||
... | ... |
src/dictionary-builder.mjs
deleted
100644 → 0