@bitwarden/cli 1.22.1 → 2022.6.2

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.
@@ -40,5 +40,8 @@
40
40
  },
41
41
  "sessionTimeout": {
42
42
  "message": "Your session has timed out. Please go back and try logging in again."
43
+ },
44
+ "ssoKeyConnectorError": {
45
+ "message": "Key Connector error: make sure Key Connector is available and working correctly."
43
46
  }
44
47
  }
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.22.1",
4
+ "version": "2022.6.2",
5
5
  "keywords": [
6
6
  "bitwarden",
7
7
  "password",
@@ -17,13 +17,7 @@
17
17
  },
18
18
  "license": "GPL-3.0-only",
19
19
  "scripts": {
20
- "sub:init": "git submodule update --init --recursive",
21
- "sub:update": "git submodule update --remote",
22
- "sub:pull": "git submodule foreach git pull origin master",
23
20
  "clean": "rimraf dist/**/*",
24
- "symlink:win": "rmdir /S /Q ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
25
- "symlink:mac": "npm run symlink:lin",
26
- "symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
27
21
  "build": "webpack",
28
22
  "build:debug": "npm run build && node --inspect ./build/bw.js",
29
23
  "build:watch": "webpack --watch",
@@ -39,12 +33,9 @@
39
33
  "dist:mac": "npm run build:prod && npm run clean && npm run package:mac",
40
34
  "dist:lin": "npm run build:prod && npm run clean && npm run package:lin",
41
35
  "publish:npm": "npm run build:prod && npm publish --access public",
42
- "lint": "eslint . && prettier --check .",
43
- "lint:fix": "eslint . --fix",
44
- "prettier": "prettier --write .",
45
- "prepare": "husky install",
46
- "test": "jasmine-ts -r tsconfig-paths/register -P spec/tsconfig.json",
47
- "test:watch": "nodemon -w ./spec -w ./src -w ./jslib --ext \"ts,js,mjs,json\" --exec jasmine-ts -r tsconfig-paths/register -P spec/tsconfig.json"
36
+ "test": "jest",
37
+ "test:watch": "jest --watch",
38
+ "test:watch:all": "jest --watchAll"
48
39
  },
49
40
  "bin": {
50
41
  "bw": "build/bw.js"
@@ -52,53 +43,6 @@
52
43
  "pkg": {
53
44
  "assets": "./build/**/*"
54
45
  },
55
- "devDependencies": {
56
- "@fluffy-spoon/substitute": "^1.208.0",
57
- "@types/inquirer": "^7.3.1",
58
- "@types/jasmine": "^3.7.0",
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",
65
- "@types/lowdb": "^1.0.10",
66
- "@types/lunr": "^2.3.3",
67
- "@types/node": "^16.11.12",
68
- "@types/node-fetch": "^2.5.10",
69
- "@types/node-forge": "^0.9.7",
70
- "@types/papaparse": "^5.2.5",
71
- "@types/proper-lockfile": "^4.1.2",
72
- "@types/retry": "^0.12.1",
73
- "@types/tldjs": "^2.3.0",
74
- "@types/zxcvbn": "^4.4.1",
75
- "@typescript-eslint/eslint-plugin": "^5.12.1",
76
- "@typescript-eslint/parser": "^5.12.1",
77
- "clean-webpack-plugin": "^4.0.0",
78
- "copy-webpack-plugin": "^10.2.0",
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",
84
- "husky": "^7.0.4",
85
- "jasmine": "^3.7.0",
86
- "jasmine-core": "^3.7.1",
87
- "jasmine-ts": "^0.4.0",
88
- "jasmine-ts-console-reporter": "^3.1.1",
89
- "lint-staged": "^12.1.3",
90
- "pkg": "^5.5.1",
91
- "prettier": "^2.5.1",
92
- "rimraf": "^3.0.2",
93
- "ts-loader": "^8.2.0",
94
- "ts-node": "^10.4.0",
95
- "tsconfig-paths": "^3.12.0",
96
- "tsconfig-paths-webpack-plugin": "^3.5.2",
97
- "typescript": "4.1.5",
98
- "webpack": "^5.65.0",
99
- "webpack-cli": "^4.9.1",
100
- "webpack-node-externals": "^3.0.0"
101
- },
102
46
  "dependencies": {
103
47
  "@koa/multer": "^3.0.0",
104
48
  "@koa/router": "^10.1.1",
@@ -118,20 +62,12 @@
118
62
  "lunr": "^2.3.9",
119
63
  "multer": "^1.4.4",
120
64
  "node-fetch": "^2.6.1",
121
- "node-forge": "0.10.0",
65
+ "node-forge": "1.3.1",
122
66
  "open": "^8.0.8",
123
67
  "papaparse": "^5.3.0",
124
68
  "proper-lockfile": "^4.1.2",
125
69
  "rxjs": "6.6.7",
126
70
  "tldjs": "^2.3.1",
127
71
  "zxcvbn": "^4.4.2"
128
- },
129
- "engines": {
130
- "node": "~16",
131
- "npm": ">=7 <=8"
132
- },
133
- "lint-staged": {
134
- "./!(jslib)**": "prettier --ignore-unknown --write",
135
- "*.ts": "eslint --fix"
136
72
  }
137
73
  }