@lvce-editor/shared-process 0.115.1 → 0.115.3
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/BrowserFind/BrowserFind.ipc.js +4 -0
- package/src/parts/BrowserFind/BrowserFind.js +7 -0
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/Module/Module.js +2 -0
- package/src/parts/ModuleId/ModuleId.js +1 -0
- package/src/parts/ModuleMap/ModuleMap.js +3 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.115.
|
|
3
|
+
"version": "0.115.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"optionalDependencies": {
|
|
33
33
|
"@lvce-editor/auth-process": "1.17.0",
|
|
34
34
|
"@lvce-editor/cookie-import-view": "0.3.2",
|
|
35
|
-
"@lvce-editor/embeds-process": "4.
|
|
35
|
+
"@lvce-editor/embeds-process": "4.22.0",
|
|
36
36
|
"@lvce-editor/file-system-process": "5.17.0",
|
|
37
37
|
"@lvce-editor/file-watcher-process": "4.14.0",
|
|
38
38
|
"@lvce-editor/network-process": "5.2.0",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as MainProcess from '../MainProcess/MainProcess.js'
|
|
2
|
+
|
|
3
|
+
export const find = (id, text, forward, matchCase, newSession) => {
|
|
4
|
+
return MainProcess.invoke('BrowserFind.find', id, text, forward, matchCase, newSession)
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const stop = (id) => MainProcess.invoke('BrowserFind.stop', id)
|
|
@@ -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', '736a6f4', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -10,6 +10,8 @@ export const load = (moduleId) => {
|
|
|
10
10
|
return import('../AutoUpdaterAppImage/AutoUpdaterAppImage.ipc.js')
|
|
11
11
|
case ModuleId.AutoUpdaterWindowsNsis:
|
|
12
12
|
return import('../AutoUpdaterWindowsNsis/AutoUpdaterWindowsNsis.ipc.js')
|
|
13
|
+
case ModuleId.BrowserFind:
|
|
14
|
+
return import('../BrowserFind/BrowserFind.ipc.js')
|
|
13
15
|
case ModuleId.BulkReplacement:
|
|
14
16
|
return import('../BulkReplacement/BulkReplacement.ipc.js')
|
|
15
17
|
case ModuleId.ClipBoard:
|
|
@@ -16,6 +16,9 @@ export const getModuleId = (commandId) => {
|
|
|
16
16
|
case 'AutoUpdaterWindowsNsis.downloadUpdate':
|
|
17
17
|
case 'AutoUpdaterWindowsNsis.installAndRestart':
|
|
18
18
|
return ModuleId.AutoUpdaterWindowsNsis
|
|
19
|
+
case 'BrowserFind.find':
|
|
20
|
+
case 'BrowserFind.stop':
|
|
21
|
+
return ModuleId.BrowserFind
|
|
19
22
|
case 'BulkReplacement.applyBulkReplacement':
|
|
20
23
|
return ModuleId.BulkReplacement
|
|
21
24
|
case 'ChromeExtension.install':
|
|
@@ -56,11 +56,11 @@ export const getSetupName = () => {
|
|
|
56
56
|
return 'Lvce-Setup'
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export const version = '0.115.
|
|
59
|
+
export const version = '0.115.3'
|
|
60
60
|
|
|
61
|
-
export const commit = '
|
|
61
|
+
export const commit = '736a6f4'
|
|
62
62
|
|
|
63
|
-
export const date = '2026-09-
|
|
63
|
+
export const date = '2026-09-12T11:17:19.000Z'
|
|
64
64
|
|
|
65
65
|
export const getVersion = () => {
|
|
66
66
|
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', '736a6f4', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|