@lvce-editor/shared-process 0.121.22 → 0.121.24
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
CHANGED
|
@@ -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', 'd3f0854', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -274,6 +274,12 @@ export const stat = async (path) => {
|
|
|
274
274
|
return type
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
+
export const statWithMetadata = async (uri) => {
|
|
278
|
+
const path = fileURLToPath(uri)
|
|
279
|
+
const stats = await fs.stat(path)
|
|
280
|
+
return { mtimeMs: stats.mtimeMs, size: stats.size, type: GetDirentType.getDirentType(stats) }
|
|
281
|
+
}
|
|
282
|
+
|
|
277
283
|
export const chmod = async (path, permissions) => {
|
|
278
284
|
await fs.chmod(path, permissions)
|
|
279
285
|
}
|
|
@@ -56,11 +56,11 @@ export const getSetupName = () => {
|
|
|
56
56
|
return 'Lvce-Setup'
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export const version = '0.121.
|
|
59
|
+
export const version = '0.121.24'
|
|
60
60
|
|
|
61
|
-
export const commit = '
|
|
61
|
+
export const commit = 'd3f0854'
|
|
62
62
|
|
|
63
|
-
export const date = '2026-10-
|
|
63
|
+
export const date = '2026-10-10T22:21:04.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', 'd3f0854', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|