@lvce-editor/shared-process 0.108.14 → 0.108.16
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.
- package/package.json +2 -2
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/ContentSecurityPolicyDocument/ContentSecurityPolicyDocument.js +1 -1
- package/src/parts/ExportStatic/ExportStatic.js +1 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
- package/src/parts/Workers/Workers.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.108.
|
|
3
|
+
"version": "0.108.16",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@lvce-editor/jsonc-parser": "1.5.0",
|
|
24
24
|
"@lvce-editor/pretty-error": "2.0.0",
|
|
25
25
|
"@lvce-editor/process-explorer": "3.19.0",
|
|
26
|
-
"@lvce-editor/rpc-registry": "9.
|
|
26
|
+
"@lvce-editor/rpc-registry": "9.55.0",
|
|
27
27
|
"@lvce-editor/verror": "1.7.0",
|
|
28
28
|
"is-object": "^1.0.2",
|
|
29
29
|
"xdg-basedir": "^5.1.0"
|
|
@@ -3,6 +3,6 @@ import { fileURLToPath } from 'url'
|
|
|
3
3
|
|
|
4
4
|
export const getBuiltinExtensionsPath = () => {
|
|
5
5
|
const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'))
|
|
6
|
-
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '
|
|
6
|
+
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '9767c84', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -20,7 +20,7 @@ const getConnectSrc = () => {
|
|
|
20
20
|
if (IsElectron.isElectron) {
|
|
21
21
|
return []
|
|
22
22
|
}
|
|
23
|
-
return [`connect-src 'self' ws://127.0.0.1:* ws://localhost:*`]
|
|
23
|
+
return [`connect-src 'self' https: wss: http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*`]
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const getFrameAncestors = () => {
|
|
@@ -13,6 +13,7 @@ const backslashRegex = /\\/g
|
|
|
13
13
|
|
|
14
14
|
const staticContentSecurityPolicy = GetContentSecurityPolicy.getContentSecurityPolicy([
|
|
15
15
|
`default-src 'none'`,
|
|
16
|
+
`connect-src 'self' https: wss: http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*`,
|
|
16
17
|
`font-src 'self'`,
|
|
17
18
|
`img-src 'self' https: data: blob:`, // TODO maybe disallow https and data images
|
|
18
19
|
`manifest-src 'self'`,
|
|
@@ -61,11 +61,11 @@ export const getSetupName = () => {
|
|
|
61
61
|
return 'Lvce-Setup'
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export const version = '0.108.
|
|
64
|
+
export const version = '0.108.16'
|
|
65
65
|
|
|
66
|
-
export const commit = '
|
|
66
|
+
export const commit = '9767c84'
|
|
67
67
|
|
|
68
|
-
export const date = '2026-08-
|
|
68
|
+
export const date = '2026-08-24T22:17:19.000Z'
|
|
69
69
|
|
|
70
70
|
export const getVersion = () => {
|
|
71
71
|
return version
|
|
@@ -2,5 +2,5 @@ import { join } from 'node:path'
|
|
|
2
2
|
import * as Root from '../Root/Root.js'
|
|
3
3
|
|
|
4
4
|
export const getPreloadUrl = () => {
|
|
5
|
-
return join(Root.root, 'static', '
|
|
5
|
+
return join(Root.root, 'static', '9767c84', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
{
|
|
1236
1236
|
"id": "processExplorer",
|
|
1237
1237
|
"fileName": "process-explorer-worker/index.js",
|
|
1238
|
-
"contentSecurityPolicy": ["default-src 'none'", "connect-src 'self' ws://127.0.0.1:* ws://localhost:*"],
|
|
1238
|
+
"contentSecurityPolicy": ["default-src 'none'", "connect-src 'self' https: wss: http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*"],
|
|
1239
1239
|
"defaultPath": "/packages/renderer-worker/node_modules/@lvce-editor/process-explorer-worker/index.js",
|
|
1240
1240
|
"productionPath": "/packages/process-explorer-worker/index.js",
|
|
1241
1241
|
"settingName": "develop.processExplorerWorkerPath",
|
|
@@ -1541,7 +1541,7 @@
|
|
|
1541
1541
|
{
|
|
1542
1542
|
"id": "terminalWorker",
|
|
1543
1543
|
"fileName": "terminalWorkerMain.js",
|
|
1544
|
-
"contentSecurityPolicy": ["default-src 'none'", "connect-src 'self' ws://127.0.0.1:* ws://localhost:*", "script-src 'self'"],
|
|
1544
|
+
"contentSecurityPolicy": ["default-src 'none'", "connect-src 'self' https: wss: http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*", "script-src 'self'"],
|
|
1545
1545
|
"defaultPath": "/packages/renderer-worker/node_modules/@lvce-editor/terminal-worker/dist/terminalWorkerMain.js",
|
|
1546
1546
|
"productionPath": "/packages/terminal-worker/dist/terminalWorkerMain.js",
|
|
1547
1547
|
"settingName": "develop.terminalWorkerPath",
|
|
@@ -1572,7 +1572,7 @@
|
|
|
1572
1572
|
"productionPath": "/packages/text-search-worker/dist/textSearchWorkerMain.js",
|
|
1573
1573
|
"settingName": "develop.textSearchWorkerPath",
|
|
1574
1574
|
"hotReloadCommand": "Search.hotReload",
|
|
1575
|
-
"contentSecurityPolicy": ["default-src 'none'", "connect-src 'self' ws://127.0.0.1:* ws://localhost:*", "sandbox allow-same-origin"]
|
|
1575
|
+
"contentSecurityPolicy": ["default-src 'none'", "connect-src 'self' https: wss: http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*", "sandbox allow-same-origin"]
|
|
1576
1576
|
},
|
|
1577
1577
|
{
|
|
1578
1578
|
"id": "titleBar",
|