@lvce-editor/shared-process 0.0.20 → 0.0.21

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.
@@ -7,6 +7,11 @@
7
7
  "id": "typescript",
8
8
  "extensions": [".ts"],
9
9
  "tokenize": "src/tokenizeTypeScript.js"
10
+ },
11
+ {
12
+ "id": "typescriptreact",
13
+ "extensions": [".tsx"],
14
+ "tokenize": "src/tokenizeTypeScript.js"
10
15
  }
11
16
  ]
12
17
  }
@@ -82,7 +82,7 @@ export const initialLineState = {
82
82
  }
83
83
 
84
84
  const RE_KEYWORD =
85
- /^(?:yield|with|while|void|var|typeof|type|true|try|throw|this|static|switch|super|return|public|protected|private|package|null|new|let|interface|instanceof|in|import|implements|if|function|for|finally|false|extends|export|enum|else|do|delete|default|debugger|declare|continue|const|class|catch|case|break|await)\b/
85
+ /^(?:yield|with|while|void|var|typeof|type|true|try|throw|this|static|switch|super|return|public|protected|private|package|null|new|let|interface|instanceof|in|import|implements|if|function|for|finally|from|false|extends|export|enum|else|do|delete|default|debugger|declare|continue|const|class|catch|case|break|await)\b/
86
86
  const RE_WHITESPACE = /^\s+/
87
87
  const RE_VARIABLE_NAME = /^[\$a-zA-Z]+/
88
88
  const RE_PUNCTUATION = /^[:,;\{\}\[\]\.=\(\)>\+]/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -31,8 +31,8 @@
31
31
  "verror": "^1.10.1",
32
32
  "ws": "^8.8.0",
33
33
  "xdg-basedir": "^5.1.0",
34
- "@lvce-editor/pty-host": "0.0.20",
35
- "@lvce-editor/extension-host": "0.0.20"
34
+ "@lvce-editor/pty-host": "0.0.21",
35
+ "@lvce-editor/extension-host": "0.0.21"
36
36
  },
37
37
  "optionalDependencies": {
38
38
  "electron-clipboard-ex": "^1.3.3",