@lvce-editor/shared-process 0.17.3 → 0.17.4

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.
@@ -147,7 +147,7 @@ const RE_REGEX =
147
147
  const RE_VARIABLE_NAME_SPECIAL = /\p{L}/u
148
148
  const RE_VARIABLE_NAME_SPECIAL_2 = /./u
149
149
  const RE_BUILTIN_CLASS =
150
- /^(?:Array|Object|Promise|ArrayBuffer|URL|URLSearchParams|WebSocket|FileSystemHandle|Function|StorageEvent|MessageEvent|MessageChannel|Int32Array|Boolean|String|Error|Set|RegExp|Map|WeakMap|RangeError|Date|Headers|Response|Request|Buffer|MessagePort|FileHandle|X509Certificate|Blob|HTMLElement|HTMLFormElement)\b/
150
+ /^(?:Array|Object|Promise|ArrayBuffer|URL|URLSearchParams|WebSocket|FileSystemHandle|Function|StorageEvent|MessageEvent|MessageChannel|Int32Array|Boolean|String|Error|Set|RegExp|Map|WeakMap|RangeError|Date|Headers|Response|Request|Buffer|MessagePort|FileHandle|X509Certificate|Blob|HTMLElement|HTMLFormElement|Symbol|WeakSet|DataView)\b/
151
151
 
152
152
  const RE_PROPERTY_NAME = /^[a-z]\w*(?=\s*\:)/
153
153
  const RE_PROPERTY_NAME_FUNCTION = /^[a-z]\w*(?=\s*\()/
@@ -499,7 +499,7 @@ export const tokenizeLine = (line, lineState) => {
499
499
  state = State.InsideBacktickString
500
500
  } else if ((next = part.match(RE_BACKSLASH))) {
501
501
  token = TokenType.String
502
- state = State.InsideDoubleQuoteString
502
+ state = State.InsideBacktickString
503
503
  } else if ((next = part.match(RE_DOLLAR))) {
504
504
  token = TokenType.String
505
505
  state = State.InsideBacktickString
@@ -6,8 +6,11 @@
6
6
  "ActivityBarActiveBackground": "#1f2727",
7
7
  "ActivityBarActiveForeground": "rgb(135, 143, 140)",
8
8
 
9
- "BadgeBackground": "#90599b",
10
- "BadgeForeground": "#eeeeee",
9
+ "BadgeBackground": "rgb(160, 63, 155)",
10
+ "BadgeForeground": "#fff",
11
+
12
+ "BadgeSecondaryBackground": "#90599b",
13
+ "BadgeSecondaryForeground": "#eeeeee",
11
14
 
12
15
  "DropDownBackground": "#3c3c3c",
13
16
  "DropDownForeground": "#f0f0f0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.17.3",
3
+ "version": "0.17.4",
4
4
  "description": "Utility package for @lvce-editor/server",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@babel/code-frame": "^7.22.10",
20
- "@lvce-editor/extension-host": "0.17.3",
21
- "@lvce-editor/extension-host-helper-process": "0.17.3",
22
- "@lvce-editor/pretty-error": "^0.1.1",
23
- "@lvce-editor/pty-host": "0.17.3",
20
+ "@lvce-editor/extension-host": "0.17.4",
21
+ "@lvce-editor/extension-host-helper-process": "0.17.4",
22
+ "@lvce-editor/pretty-error": "^1.0.0",
23
+ "@lvce-editor/pty-host": "0.17.4",
24
24
  "debug": "^4.3.4",
25
25
  "execa": "^7.2.0",
26
26
  "exit-hook": "^3.2.0",
@@ -162,6 +162,7 @@ export const getModuleId = (commandId) => {
162
162
  case 'Platform.getUserKeyBindingsPath':
163
163
  case 'Platform.getVersion':
164
164
  case 'Platform.setEnvironmentVariables':
165
+ case 'Platform.getProductNameLong':
165
166
  return ModuleId.Platform
166
167
  case 'Preferences.getAll':
167
168
  return ModuleId.Preferences
@@ -25,4 +25,5 @@ export const Commands = {
25
25
  getUserSettingsPath: Platform.getUserSettingsPath,
26
26
  getVersion: Platform.getVersion,
27
27
  setEnvironmentVariables: Platform.setEnvironmentVariables,
28
+ getProductNameLong: Platform.getProductNameLong,
28
29
  }
@@ -169,11 +169,11 @@ export const getSetupName = () => {
169
169
  return 'Lvce-Setup'
170
170
  }
171
171
 
172
- export const version = '0.17.3'
172
+ export const version = '0.17.4'
173
173
 
174
- export const commit = '8dd517b'
174
+ export const commit = '7260a79'
175
175
 
176
- export const date = '2023-08-12T15:25:18.000Z'
176
+ export const date = '2023-08-15T20:41:15.000Z'
177
177
 
178
178
  export const getVersion = () => {
179
179
  return version
@@ -186,3 +186,9 @@ export const getCommit = () => {
186
186
  export const getDate = () => {
187
187
  return date
188
188
  }
189
+
190
+ export const productNameLong = 'Lvce Editor - OSS'
191
+
192
+ export const getProductNameLong = () => {
193
+ return productNameLong
194
+ }