@bitwarden/cli 1.21.1 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/build/bw.js +5217 -3725
- package/build/bw.js.map +1 -1
- package/build/locales/en/messages.json +9 -0
- package/package.json +23 -10
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
"noneFolder": {
|
|
15
15
|
"message": "No Folder"
|
|
16
16
|
},
|
|
17
|
+
"importEncKeyError": {
|
|
18
|
+
"message": "Invalid file password."
|
|
19
|
+
},
|
|
20
|
+
"importPasswordRequired": {
|
|
21
|
+
"message": "File is password protected, please provide a decryption password."
|
|
22
|
+
},
|
|
17
23
|
"importFormatError": {
|
|
18
24
|
"message": "Data is not formatted correctly. Please check your import file and try again."
|
|
19
25
|
},
|
|
@@ -31,5 +37,8 @@
|
|
|
31
37
|
},
|
|
32
38
|
"invalidMasterPassword": {
|
|
33
39
|
"message": "Invalid master password."
|
|
40
|
+
},
|
|
41
|
+
"sessionTimeout": {
|
|
42
|
+
"message": "Your session has timed out. Please go back and try logging in again."
|
|
34
43
|
}
|
|
35
44
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitwarden/cli",
|
|
3
3
|
"description": "A secure and free password manager for all of your devices.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.22.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitwarden",
|
|
7
7
|
"password",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"dist:mac": "npm run build:prod && npm run clean && npm run package:mac",
|
|
40
40
|
"dist:lin": "npm run build:prod && npm run clean && npm run package:lin",
|
|
41
41
|
"publish:npm": "npm run build:prod && npm publish --access public",
|
|
42
|
-
"lint": "
|
|
43
|
-
"lint:fix": "
|
|
42
|
+
"lint": "eslint . && prettier --check .",
|
|
43
|
+
"lint:fix": "eslint . --fix",
|
|
44
44
|
"prettier": "prettier --write .",
|
|
45
45
|
"prepare": "husky install",
|
|
46
46
|
"test": "jasmine-ts -r tsconfig-paths/register -P spec/tsconfig.json",
|
|
@@ -54,13 +54,16 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@fluffy-spoon/substitute": "^1.208.0",
|
|
57
|
-
"@types/express": "^4.17.13",
|
|
58
57
|
"@types/inquirer": "^7.3.1",
|
|
59
58
|
"@types/jasmine": "^3.7.0",
|
|
60
59
|
"@types/jsdom": "^16.2.10",
|
|
60
|
+
"@types/koa": "^2.13.4",
|
|
61
|
+
"@types/koa__multer": "^2.0.4",
|
|
62
|
+
"@types/koa__router": "^8.0.11",
|
|
63
|
+
"@types/koa-bodyparser": "^4.3.5",
|
|
64
|
+
"@types/koa-json": "^2.0.20",
|
|
61
65
|
"@types/lowdb": "^1.0.10",
|
|
62
66
|
"@types/lunr": "^2.3.3",
|
|
63
|
-
"@types/multer": "^1.4.7",
|
|
64
67
|
"@types/node": "^16.11.12",
|
|
65
68
|
"@types/node-fetch": "^2.5.10",
|
|
66
69
|
"@types/node-forge": "^0.9.7",
|
|
@@ -69,9 +72,15 @@
|
|
|
69
72
|
"@types/retry": "^0.12.1",
|
|
70
73
|
"@types/tldjs": "^2.3.0",
|
|
71
74
|
"@types/zxcvbn": "^4.4.1",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
76
|
+
"@typescript-eslint/parser": "^5.12.1",
|
|
72
77
|
"clean-webpack-plugin": "^4.0.0",
|
|
73
78
|
"copy-webpack-plugin": "^10.2.0",
|
|
74
79
|
"cross-env": "^7.0.3",
|
|
80
|
+
"eslint": "^8.9.0",
|
|
81
|
+
"eslint-config-prettier": "^8.4.0",
|
|
82
|
+
"eslint-import-resolver-typescript": "^2.5.0",
|
|
83
|
+
"eslint-plugin-import": "^2.25.4",
|
|
75
84
|
"husky": "^7.0.4",
|
|
76
85
|
"jasmine": "^3.7.0",
|
|
77
86
|
"jasmine-core": "^3.7.1",
|
|
@@ -85,26 +94,29 @@
|
|
|
85
94
|
"ts-node": "^10.4.0",
|
|
86
95
|
"tsconfig-paths": "^3.12.0",
|
|
87
96
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
88
|
-
"tslint": "^6.1.3",
|
|
89
|
-
"tslint-loader": "^3.5.4",
|
|
90
97
|
"typescript": "4.1.5",
|
|
91
98
|
"webpack": "^5.65.0",
|
|
92
99
|
"webpack-cli": "^4.9.1",
|
|
93
100
|
"webpack-node-externals": "^3.0.0"
|
|
94
101
|
},
|
|
95
102
|
"dependencies": {
|
|
103
|
+
"@koa/multer": "^3.0.0",
|
|
104
|
+
"@koa/router": "^10.1.1",
|
|
96
105
|
"big-integer": "1.6.48",
|
|
97
106
|
"browser-hrtime": "^1.1.8",
|
|
98
107
|
"chalk": "^4.1.1",
|
|
99
108
|
"commander": "7.2.0",
|
|
100
|
-
"express": "^4.17.1",
|
|
101
109
|
"form-data": "4.0.0",
|
|
102
110
|
"https-proxy-agent": "5.0.0",
|
|
103
111
|
"inquirer": "8.0.0",
|
|
104
112
|
"jsdom": "^16.5.3",
|
|
113
|
+
"jszip": "^3.7.1",
|
|
114
|
+
"koa": "^2.13.4",
|
|
115
|
+
"koa-bodyparser": "^4.3.0",
|
|
116
|
+
"koa-json": "^2.0.2",
|
|
105
117
|
"lowdb": "1.0.0",
|
|
106
118
|
"lunr": "^2.3.9",
|
|
107
|
-
"multer": "^1.4.
|
|
119
|
+
"multer": "^1.4.4",
|
|
108
120
|
"node-fetch": "^2.6.1",
|
|
109
121
|
"node-forge": "0.10.0",
|
|
110
122
|
"open": "^8.0.8",
|
|
@@ -119,6 +131,7 @@
|
|
|
119
131
|
"npm": ">=7 <=8"
|
|
120
132
|
},
|
|
121
133
|
"lint-staged": {
|
|
122
|
-
"
|
|
134
|
+
"./!(jslib)**": "prettier --ignore-unknown --write",
|
|
135
|
+
"*.ts": "eslint --fix"
|
|
123
136
|
}
|
|
124
137
|
}
|