@lvce-editor/shared-process 0.121.22 → 0.121.23

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.121.22",
3
+ "version": "0.121.23",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -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', '5315318', 'extensions')
6
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '55768ff', 'extensions')
7
7
  return builtinExtensionsPath
8
8
  }
@@ -32,5 +32,6 @@ export const Commands = {
32
32
  remove: FileSystem.remove,
33
33
  rename: FileSystem.rename,
34
34
  stat: FileSystem.stat,
35
+ statWithMetadata: FileSystem.statWithMetadata,
35
36
  writeFile: FileSystem.writeFile,
36
37
  }
@@ -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.22'
59
+ export const version = '0.121.23'
60
60
 
61
- export const commit = '5315318'
61
+ export const commit = '55768ff'
62
62
 
63
- export const date = '2026-10-10T06:12:51.000Z'
63
+ export const date = '2026-10-10T22:19:41.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', '5315318', 'packages', 'preload', 'dist', 'index.js')
5
+ return join(Root.root, 'static', '55768ff', 'packages', 'preload', 'dist', 'index.js')
6
6
  }