electerm 1.26.2 → 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 +6 -4
  2. package/package.json +63 -68
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>
@@ -9,7 +9,7 @@
9
9
  # electerm [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Open%20sourced%20terminal%2Fssh%2Fsftp%20client(linux%2C%20mac%2C%20win)&url=https%3A%2F%2Fgithub.com%2Felecterm%2Felecterm&hashtags=electerm,ssh,terminal,sftp)
10
10
 
11
11
  [![GitHub version](https://img.shields.io/github/release/electerm/electerm/all.svg)](https://github.com/electerm/electerm/releases)
12
- [![GitHub Actions](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fatrox%2Fsync-dotenv%2Fbadge)](https://github.com/electerm/electerm/actions)
12
+ [![Build Status](https://github.com/electerm/electerm/actions/workflows/mac-test-1.yml/badge.svg)](https://github.com/electerm/electerm/actions)
13
13
  [![license](https://img.shields.io/github/license/electerm/electerm.svg)](https://github.com/electerm/electerm/blob/master/LICENSE)
14
14
  [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
15
15
  [![Get it from the Snap Store](https://img.shields.io/badge/Snap-Store-green)](https://snapcraft.io/electerm)
@@ -31,6 +31,7 @@ Open-sourced terminal/ssh/telnet/serialport/sftp client(linux, mac, win).
31
31
  - Double click to directly edit (small) remote files.
32
32
  - Auth with publicKey + password.
33
33
  - Support Zmodem(rz, sz).
34
+ - Support ssh tunnel.
34
35
  - Support [Trzsz](https://github.com/trzsz/trzsz)(trz/tsz), similar to rz/sz, and compatible with tmux.
35
36
  - Transparent window(Mac, win).
36
37
  - Terminal background image.
@@ -139,7 +140,8 @@ npm run fix
139
140
  ## Test
140
141
 
141
142
  ```bash
142
- npm run pre-test
143
+ npm run prepare-build
144
+ npm run prepare-test
143
145
  cp .sample.env .env
144
146
 
145
147
  # edit .env, fill your test host/username/password, may only works in mac OS
@@ -155,7 +157,7 @@ npm run test
155
157
 
156
158
  # Build linux only with -l
157
159
  npm i
158
- npm run pre-test
160
+ npm run prepare-build
159
161
  npm run release -l
160
162
  # check dist/ folder
161
163
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electerm",
3
- "version": "1.26.2",
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",
@@ -26,12 +27,12 @@
26
27
  "release": "npm run pre-test && npm run output",
27
28
  "install": "node bin/install",
28
29
  "postinstall": "node bin/post-install",
29
- "lint": "./node_modules/.bin/standard --verbose | snazzy",
30
+ "lint": "./node_modules/.bin/standard --verbose",
30
31
  "fix": "./node_modules/.bin/standard --fix",
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,115 +59,109 @@
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
- "@electron/rebuild": "3.2.10",
75
- "@playwright/test": "1.28.1",
76
- "@tylerlong/use-proxy": "1.2.8",
77
- "antd": "4.24.4",
74
+ "@electerm/pug-html-loader": "1.1.6",
75
+ "antd": "4.24.12",
78
76
  "apply-loader": "2.0.0",
79
77
  "babel-eslint": "10.1.0",
80
- "babel-loader": "8.2.2",
81
- "babel-plugin-import": "1.13.3",
78
+ "babel-loader": "9.1.3",
79
+ "babel-plugin-import": "1.13.6",
82
80
  "babel-plugin-syntax-dynamic-import": "6.18.0",
83
81
  "babel-plugin-transform-runtime": "6.23.0",
84
- "badges": "4.24.0",
85
- "chai": "4.3.4",
86
- "classnames": "2.3.1",
82
+ "chai": "4.3.7",
83
+ "classnames": "2.3.2",
87
84
  "concat-loader": "0.1.0",
88
- "copy-webpack-plugin": "9.0.1",
85
+ "copy-webpack-plugin": "11.0.0",
89
86
  "cross-env": "7.0.3",
90
- "css-loader": "6.6.0",
91
- "css-minimizer-webpack-plugin": "3.0.2",
92
- "dayjs": "1.10.5",
93
- "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",
94
91
  "electron": "18.3.15",
95
- "electron-builder": "23.6.0",
92
+ "electron-builder": "24.4.0",
96
93
  "extract-loader": "5.1.0",
97
94
  "file-loader": "6.2.0",
98
- "filesize": "6.4.0",
95
+ "filesize": "10.0.7",
99
96
  "filesize-parser": "1.5.0",
100
- "glob": "7.1.7",
101
- "html-loader": "2.1.2",
102
- "less-loader": "10.0.1",
103
- "memoize-one": "5.2.1",
104
- "mini-css-extract-plugin": "2.0.0",
105
- "playwright": "^1.28.1",
106
- "png2icons": "2.0.1",
97
+ "html-loader": "4.2.0",
98
+ "less-loader": "11.1.3",
99
+ "manate": "0.3.9",
100
+ "memoize-one": "6.0.0",
101
+ "mini-css-extract-plugin": "2.7.6",
107
102
  "prop-types": "15.7.2",
108
103
  "react": "17.0.2",
109
- "react-delta": "^1.1.2",
104
+ "react-delta": "1.1.2",
110
105
  "react-dom": "17.0.2",
111
- "replace-in-file": "6.2.0",
106
+ "replace-in-file": "6.3.5",
112
107
  "shelljs": "0.8.5",
113
- "snazzy": "9.0.0",
114
- "standard": "^13.1.0",
115
- "style-loader": "3.0.0",
116
- "stylus-loader": "6.1.0",
108
+ "standard": "13.1.0",
109
+ "style-loader": "3.3.3",
110
+ "stylus-loader": "7.1.3",
117
111
  "url-loader": "4.1.1",
118
- "useragent": "2.3.0",
119
- "vscode-icons": "vscode-icons/vscode-icons",
120
- "vscode-icons-js": "11.1.0",
121
- "webpack": "5.75.0",
122
- "webpack-cli": "5.0.0",
123
- "webpack-dev-server": "4.11.1",
124
- "xterm": "5.1.0",
125
- "xterm-addon-attach": "0.7.0",
126
- "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",
127
120
  "xterm-addon-fit": "0.7.0",
128
121
  "xterm-addon-ligatures": "0.6.0",
129
- "xterm-addon-search": "0.11.0",
130
- "xterm-addon-serialize": "0.9.0",
122
+ "xterm-addon-search": "0.12.0",
123
+ "xterm-addon-serialize": "0.10.0",
131
124
  "xterm-addon-unicode11": "0.5.0",
132
125
  "xterm-addon-web-links": "0.8.0",
133
- "xterm-addon-webgl": "0.14.0",
126
+ "xterm-addon-webgl": "0.15.0",
134
127
  "zmodem.js": "0.1.10"
135
128
  },
136
129
  "dependencies": {
137
- "@electerm/electerm-locales": "0.17.1",
130
+ "@electerm/electerm-locales": "0.17.12",
138
131
  "@electerm/ssh2": "1.11.2",
139
- "@electerm/strip-ansi": "^1.0.0",
132
+ "@electerm/strip-ansi": "1.0.0",
140
133
  "@yetzt/nedb": "1.8.0",
141
134
  "axios": "0.26.0",
142
- "body-parser": "1.19.0",
135
+ "body-parser": "1.20.2",
143
136
  "commander": "8.0.0",
144
137
  "cors": "2.8.5",
138
+ "electerm-sync": "1.1.0",
145
139
  "electron-log": "4.3.5",
146
- "express": "^5.0.0-beta.1",
140
+ "express": "5.0.0-beta.1",
147
141
  "express-ws": "5.0.2",
148
142
  "fast-deep-equal": "3.1.3",
149
143
  "find-free-port": "2.0.0",
150
144
  "font-list": "1.3.1",
151
145
  "gist-wrapper": "0.4.1",
152
146
  "gitee-client": "0.2.0",
153
- "https-proxy-agent": "5.0.0",
154
- "json-deep-copy": "1.1.6",
147
+ "https-proxy-agent": "7.0.1",
148
+ "json-deep-copy": "1.3.0",
149
+ "jsonwebtoken": "^9.0.1",
155
150
  "less": "4.1.1",
156
151
  "lodash": "4.17.21",
157
152
  "nanoid": "3.1.31",
158
153
  "node-bash": "5.0.1",
159
154
  "node-powershell": "5.0.1",
160
- "node-pty": "0.11.0-beta19",
155
+ "node-pty": "1.1.0-beta2",
161
156
  "os-locale-s": "1.0.8",
162
157
  "serialport": "10.4.0",
163
- "socks": "2.6.1",
164
- "socks-proxy-agent": "6.0.0",
165
- "ssh-config": "4.0.6",
166
- "stylus": "0.54.8",
167
- "tar": "^6.1.9",
168
- "telnet-client": "^2.0.6",
169
- "trzsz": "1.0.0",
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",
164
+ "trzsz": "1.1.1",
170
165
  "util-promisifyall": "1.0.6",
171
166
  "v8-compile-cache": "2.3.0"
172
167
  },