refactor: parse options with multiple = in cli
There was a case with the hashed-password which had multiple equal signs in the value and it wasn't being parsed correctly. This uses a new function and adds a few tests.
Showing
... | ... | @@ -36,7 +36,6 @@ |
"main": "out/node/entry.js", | ||
"devDependencies": { | ||
"@schemastore/package": "^0.0.6", | ||
"@types/bcrypt": "^5.0.0", | ||
"@types/body-parser": "^1.19.0", | ||
"@types/compression": "^1.7.0", | ||
"@types/cookie-parser": "^1.4.2", | ||
... | ... | @@ -90,7 +89,6 @@ |
"dependencies": { | ||
"@coder/logger": "1.1.16", | ||
"argon2": "^0.28.0", | ||
"bcrypt": "^5.0.1", | ||
"body-parser": "^1.19.0", | ||
"compression": "^1.7.4", | ||
"cookie-parser": "^1.4.5", | ||
... | ... |
想要评论请 注册 或 登录