electerm 1.27.5 → 1.27.20

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +58 -61
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <h1 align="center">
1
+ <h1 align="center" style="padding-top: 60px;padding-bottom: 40px;">
2
2
  <a href="https://electerm.github.io/electerm">
3
3
  <img src="https://github.com/electerm/electerm-resource/raw/master/static/images/electerm.png", alt="" />
4
4
  </a>
@@ -140,7 +140,8 @@ npm run fix
140
140
  ## Test
141
141
 
142
142
  ```bash
143
- npm run pre-test
143
+ npm run prepare-build
144
+ npm run prepare-test
144
145
  cp .sample.env .env
145
146
 
146
147
  # edit .env, fill your test host/username/password, may only works in mac OS
@@ -156,7 +157,7 @@ npm run test
156
157
 
157
158
  # Build linux only with -l
158
159
  npm i
159
- npm run pre-test
160
+ npm run prepare-build
160
161
  npm run release -l
161
162
  # check dist/ folder
162
163
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electerm",
3
- "version": "1.27.5",
3
+ "version": "1.27.20",
4
4
  "description": "Terminal/ssh/telnet/serialport/sftp client(linux, mac, win)",
5
5
  "main": "app.js",
6
6
  "bin": "npm/electerm",
@@ -16,6 +16,7 @@
16
16
  "prepublishOnly": "node bin/prepublish",
17
17
  "postpublish": "node bin/postpublish",
18
18
  "prepare-file": "node bin/prepare",
19
+ "prepare-test": "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -E playwright@1.28.1 --no-save && npm i -E @playwright/test@1.28.1 --no-save",
19
20
  "output": "./node_modules/.bin/electron-builder",
20
21
  "build-mac": "node bin/build-mac",
21
22
  "build-mac-arm": "node bin/build-mac-arm",
@@ -31,7 +32,7 @@
31
32
  "test": "npm run test1 && npm run test2",
32
33
  "test1": "./node_modules/.bin/playwright test test/e2e/00*.js --workers=1",
33
34
  "test2": "./node_modules/.bin/playwright test test/e2e/01*.js --workers=1",
34
- "pre-test": "npm run compile && npm run prepare-file",
35
+ "prepare-build": "npm run compile && npm run prepare-file",
35
36
  "lock": "npm i --package-lock-only"
36
37
  },
37
38
  "license": "MIT",
@@ -58,112 +59,108 @@
58
59
  "preferGlobal": true,
59
60
  "devDependencies": {
60
61
  "@ant-design/icons": "4.8.0",
61
- "@babel/cli": "7.15.7",
62
- "@babel/core": "7.15.8",
63
- "@babel/plugin-proposal-class-properties": "7.14.5",
64
- "@babel/plugin-proposal-decorators": "7.15.8",
62
+ "@babel/cli": "7.22.5",
63
+ "@babel/core": "7.22.5",
64
+ "@babel/plugin-proposal-class-properties": "7.18.6",
65
+ "@babel/plugin-proposal-decorators": "7.22.5",
65
66
  "@babel/plugin-syntax-dynamic-import": "7.8.3",
66
- "@babel/plugin-transform-runtime": "7.15.8",
67
- "@babel/preset-env": "7.15.8",
68
- "@babel/preset-react": "7.14.5",
69
- "@babel/register": "7.15.3",
70
- "@babel/runtime": "7.15.4",
67
+ "@babel/plugin-transform-runtime": "7.22.5",
68
+ "@babel/preset-env": "7.22.5",
69
+ "@babel/preset-react": "7.22.5",
70
+ "@babel/register": "7.22.5",
71
+ "@babel/runtime": "7.22.5",
71
72
  "@electerm/antd-dayjs-webpack-plugin": "1.0.7",
72
73
  "@electerm/electerm-resource": "1.3.7",
73
- "@electerm/pug-html-loader": "^1.1.6",
74
- "@playwright/test": "1.28.1",
75
- "antd": "4.24.4",
74
+ "@electerm/pug-html-loader": "1.1.6",
75
+ "antd": "4.24.12",
76
76
  "apply-loader": "2.0.0",
77
77
  "babel-eslint": "10.1.0",
78
- "babel-loader": "8.2.2",
79
- "babel-plugin-import": "1.13.3",
78
+ "babel-loader": "9.1.3",
79
+ "babel-plugin-import": "1.13.6",
80
80
  "babel-plugin-syntax-dynamic-import": "6.18.0",
81
81
  "babel-plugin-transform-runtime": "6.23.0",
82
- "badges": "4.24.0",
83
- "chai": "4.3.4",
84
- "classnames": "2.3.1",
82
+ "chai": "4.3.7",
83
+ "classnames": "2.3.2",
85
84
  "concat-loader": "0.1.0",
86
- "copy-webpack-plugin": "9.0.1",
85
+ "copy-webpack-plugin": "11.0.0",
87
86
  "cross-env": "7.0.3",
88
- "css-loader": "6.6.0",
89
- "css-minimizer-webpack-plugin": "3.0.2",
90
- "dayjs": "1.10.5",
91
- "dotenv": "10.0.0",
87
+ "css-loader": "6.8.1",
88
+ "css-minimizer-webpack-plugin": "5.0.1",
89
+ "dayjs": "1.11.9",
90
+ "dotenv": "16.3.1",
92
91
  "electron": "18.3.15",
93
92
  "electron-builder": "24.4.0",
94
93
  "extract-loader": "5.1.0",
95
94
  "file-loader": "6.2.0",
96
- "filesize": "6.4.0",
95
+ "filesize": "10.0.7",
97
96
  "filesize-parser": "1.5.0",
98
- "glob": "7.1.7",
99
- "html-loader": "2.1.2",
100
- "less-loader": "10.0.1",
97
+ "html-loader": "4.2.0",
98
+ "less-loader": "11.1.3",
101
99
  "manate": "0.3.9",
102
- "memoize-one": "5.2.1",
103
- "mini-css-extract-plugin": "2.0.0",
104
- "playwright": "^1.28.1",
105
- "png2icons": "2.0.1",
100
+ "memoize-one": "6.0.0",
101
+ "mini-css-extract-plugin": "2.7.6",
106
102
  "prop-types": "15.7.2",
107
103
  "react": "17.0.2",
108
- "react-delta": "^1.1.2",
104
+ "react-delta": "1.1.2",
109
105
  "react-dom": "17.0.2",
110
- "replace-in-file": "6.2.0",
106
+ "replace-in-file": "6.3.5",
111
107
  "shelljs": "0.8.5",
112
- "standard": "^13.1.0",
113
- "style-loader": "3.0.0",
114
- "stylus-loader": "6.1.0",
108
+ "standard": "13.1.0",
109
+ "style-loader": "3.3.3",
110
+ "stylus-loader": "7.1.3",
115
111
  "url-loader": "4.1.1",
116
- "useragent": "2.3.0",
117
- "vscode-icons": "vscode-icons/vscode-icons",
118
- "vscode-icons-js": "11.1.0",
119
- "webpack": "5.75.0",
120
- "webpack-cli": "5.0.0",
121
- "webpack-dev-server": "4.11.1",
122
- "xterm": "5.1.0",
123
- "xterm-addon-attach": "0.7.0",
124
- "xterm-addon-canvas": "0.3.0",
112
+ "vscode-icons": "12.0.1",
113
+ "vscode-icons-js": "11.6.1",
114
+ "webpack": "5.88.1",
115
+ "webpack-cli": "5.1.4",
116
+ "webpack-dev-server": "4.15.1",
117
+ "xterm": "5.2.1",
118
+ "xterm-addon-attach": "0.8.0",
119
+ "xterm-addon-canvas": "0.4.0",
125
120
  "xterm-addon-fit": "0.7.0",
126
121
  "xterm-addon-ligatures": "0.6.0",
127
- "xterm-addon-search": "0.11.0",
128
- "xterm-addon-serialize": "0.9.0",
122
+ "xterm-addon-search": "0.12.0",
123
+ "xterm-addon-serialize": "0.10.0",
129
124
  "xterm-addon-unicode11": "0.5.0",
130
125
  "xterm-addon-web-links": "0.8.0",
131
- "xterm-addon-webgl": "0.14.0",
126
+ "xterm-addon-webgl": "0.15.0",
132
127
  "zmodem.js": "0.1.10"
133
128
  },
134
129
  "dependencies": {
135
130
  "@electerm/electerm-locales": "0.17.12",
136
131
  "@electerm/ssh2": "1.11.2",
137
- "@electerm/strip-ansi": "^1.0.0",
132
+ "@electerm/strip-ansi": "1.0.0",
138
133
  "@yetzt/nedb": "1.8.0",
139
134
  "axios": "0.26.0",
140
- "body-parser": "1.19.0",
135
+ "body-parser": "1.20.2",
141
136
  "commander": "8.0.0",
142
137
  "cors": "2.8.5",
138
+ "electerm-sync": "1.1.0",
143
139
  "electron-log": "4.3.5",
144
- "express": "^5.0.0-beta.1",
140
+ "express": "5.0.0-beta.1",
145
141
  "express-ws": "5.0.2",
146
142
  "fast-deep-equal": "3.1.3",
147
143
  "find-free-port": "2.0.0",
148
144
  "font-list": "1.3.1",
149
145
  "gist-wrapper": "0.4.1",
150
146
  "gitee-client": "0.2.0",
151
- "https-proxy-agent": "5.0.0",
152
- "json-deep-copy": "1.1.8",
147
+ "https-proxy-agent": "7.0.1",
148
+ "json-deep-copy": "1.3.0",
149
+ "jsonwebtoken": "^9.0.1",
153
150
  "less": "4.1.1",
154
151
  "lodash": "4.17.21",
155
152
  "nanoid": "3.1.31",
156
153
  "node-bash": "5.0.1",
157
154
  "node-powershell": "5.0.1",
158
- "node-pty": "1.0.0",
155
+ "node-pty": "1.1.0-beta2",
159
156
  "os-locale-s": "1.0.8",
160
157
  "serialport": "10.4.0",
161
- "socks": "2.6.1",
162
- "socks-proxy-agent": "6.0.0",
163
- "ssh-config": "4.0.6",
164
- "stylus": "0.54.8",
165
- "tar": "^6.1.9",
166
- "telnet-client": "^2.0.6",
158
+ "socks": "2.7.1",
159
+ "socks-proxy-agent": "8.0.1",
160
+ "ssh-config": "4.2.1",
161
+ "stylus": "0.59.0",
162
+ "tar": "6.1.15",
163
+ "telnet-client": "2.0.8",
167
164
  "trzsz": "1.1.1",
168
165
  "util-promisifyall": "1.0.6",
169
166
  "v8-compile-cache": "2.3.0"