@lvce-editor/pty-host 3.1.0 → 4.0.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.
Files changed (2) hide show
  1. package/dist/ptyHostMain.js +2 -2
  2. package/package.json +10 -10
@@ -182,12 +182,14 @@ class DataEvent extends Event {
182
182
  this.data = data;
183
183
  }
184
184
  }
185
+
185
186
  class ExitEvent extends Event {
186
187
  constructor(data) {
187
188
  super('exit');
188
189
  this.data = data;
189
190
  }
190
191
  }
192
+
191
193
  class Pty extends EventTarget {
192
194
  /**
193
195
  *
@@ -405,8 +407,6 @@ const firstErrorLine = error => {
405
407
  }
406
408
  return `${error}`;
407
409
  };
408
-
409
- // @ts-ignore
410
410
  const handleUncaughtExceptionMonitor$1 = error$1 => {
411
411
  info(`[pty host] uncaught exception: ${firstErrorLine(error$1)}`);
412
412
  if (isIgnoredError(error$1)) {
package/package.json CHANGED
@@ -1,31 +1,31 @@
1
1
  {
2
2
  "name": "@lvce-editor/pty-host",
3
- "version": "3.1.0",
3
+ "version": "4.0.0",
4
4
  "description": "",
5
- "main": "dist/ptyHostMain.js",
6
- "bin": "bin/ptyHost.js",
7
- "type": "module",
8
5
  "keywords": [
9
6
  "lvce-editor",
10
7
  "pty-host"
11
8
  ],
12
- "author": "Lvce Editor",
13
- "license": "MIT",
14
9
  "repository": {
15
10
  "type": "git",
16
11
  "url": "https://github.com/lvce-editor/pty-host.git"
17
12
  },
13
+ "license": "MIT",
14
+ "author": "Lvce Editor",
15
+ "type": "module",
16
+ "main": "dist/ptyHostMain.js",
17
+ "bin": "bin/ptyHost.js",
18
18
  "dependencies": {
19
19
  "@lvce-editor/assert": "^1.3.0",
20
20
  "@lvce-editor/command": "^1.2.0",
21
- "@lvce-editor/ipc": "^13.6.0",
21
+ "@lvce-editor/ipc": "^13.8.0",
22
22
  "@lvce-editor/json-rpc": "^5.4.0",
23
- "@lvce-editor/pretty-error": "^1.6.0",
24
- "@lvce-editor/rpc": "^1.21.0",
23
+ "@lvce-editor/pretty-error": "^2.0.0",
24
+ "@lvce-editor/rpc": "^1.27.0",
25
25
  "@lvce-editor/verror": "^1.6.0",
26
26
  "debug": "^4.4.0"
27
27
  },
28
28
  "optionalDependencies": {
29
- "node-pty": "^1.1.0-beta27"
29
+ "node-pty": "^1.1.0-beta34"
30
30
  }
31
31
  }