@lvce-editor/server 0.116.6 → 0.116.8

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.
@@ -2,7 +2,7 @@ This project incorporates components from the projects listed below, that may ha
2
2
  differing from this project:
3
3
 
4
4
 
5
- 1) License Notice for static/d773431/icons (from https://github.com/microsoft/vscode-codicons)
5
+ 1) License Notice for static/722f31e/icons (from https://github.com/microsoft/vscode-codicons)
6
6
  ---------------------------------------
7
7
 
8
8
  Attribution 4.0 International
@@ -402,7 +402,7 @@ public licenses.
402
402
  Creative Commons may be contacted at creativecommons.org.
403
403
 
404
404
 
405
- 2) License Notice for static/d773431/fonts/FiraCode-VariableFont.ttf (from https://github.com/tonsky/FiraCode)
405
+ 2) License Notice for static/722f31e/fonts/FiraCode-VariableFont.ttf (from https://github.com/tonsky/FiraCode)
406
406
  ---------------------------------------
407
407
 
408
408
  Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/server",
3
- "version": "0.116.6",
3
+ "version": "0.116.8",
4
4
  "description": "Run LVCE Editor as a server.",
5
5
  "main": "index.js",
6
6
  "bin": "bin/server.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@lvce-editor/jsonc-parser": "^1.5.2",
24
- "@lvce-editor/shared-process": "0.116.6",
25
- "@lvce-editor/static-server": "0.116.6"
24
+ "@lvce-editor/shared-process": "0.116.8",
25
+ "@lvce-editor/static-server": "0.116.8"
26
26
  }
27
27
  }
package/src/server.js CHANGED
@@ -77,7 +77,7 @@ const isStatic = (url) => {
77
77
  if (url === '/index.html' || url.startsWith('/index.html?')) {
78
78
  return !hasLinkedExtensions
79
79
  }
80
- if (url.startsWith('/d773431')) {
80
+ if (url.startsWith('/722f31e')) {
81
81
  return true
82
82
  }
83
83
  if (url.startsWith('/favicon.ico')) {
@@ -204,7 +204,7 @@ const launchProcess = async (processPath, execArgv) => {
204
204
  * @returns {Promise<ChildProcess>}
205
205
  */
206
206
  const launchSharedProcess = async () => {
207
- const sharedProcessUrl = new URL('src/sharedProcessMain.js', import.meta.resolve('@lvce-editor/shared-process')).toString()
207
+ const sharedProcessUrl = new URL('../../shared-process/src/sharedProcessMain.js', import.meta.url).toString()
208
208
  const sharedProcessPath = fileURLToPath(sharedProcessUrl)
209
209
  const ipc = await launchProcess(sharedProcessPath, ['--enable-source-maps', '--ipc-type=node-forked-process', ...argvSliced])
210
210
  ipc.on('message', handleMessage)
@@ -227,7 +227,7 @@ const getOrCreateSharedProcess = () => {
227
227
  * @returns {Promise<ChildProcess>}
228
228
  */
229
229
  const launchStaticServerProcess = async () => {
230
- const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'))
230
+ const staticServerPath = fileURLToPath(new URL('../../static-server/dist/static-server.js', import.meta.url))
231
231
  const ipc = await launchProcess(staticServerPath, ['--ipc-type=node-worker'])
232
232
  ipc.on('message', handleMessage)
233
233