@lvce-editor/shared-process 0.83.1 → 0.84.1

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.83.1",
3
+ "version": "0.84.1",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -19,12 +19,12 @@
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "1.5.1",
21
21
  "@lvce-editor/auth-process": "1.6.0",
22
- "@lvce-editor/extension-host-helper-process": "0.83.1",
22
+ "@lvce-editor/extension-host-helper-process": "0.84.1",
23
23
  "@lvce-editor/ipc": "16.0.0",
24
24
  "@lvce-editor/json-rpc": "8.0.0",
25
25
  "@lvce-editor/jsonc-parser": "1.5.0",
26
26
  "@lvce-editor/pretty-error": "2.0.0",
27
- "@lvce-editor/rpc-registry": "9.25.0",
27
+ "@lvce-editor/rpc-registry": "9.27.0",
28
28
  "@lvce-editor/verror": "1.7.0",
29
29
  "is-object": "^1.0.2",
30
30
  "xdg-basedir": "^5.1.0"
@@ -37,7 +37,7 @@
37
37
  "@lvce-editor/preload": "1.5.0",
38
38
  "@lvce-editor/preview-process": "11.0.0",
39
39
  "@lvce-editor/pty-host": "8.1.0",
40
- "@lvce-editor/search-process": "13.1.0",
40
+ "@lvce-editor/search-process": "15.0.0",
41
41
  "@lvce-editor/typescript-compile-process": "5.1.0",
42
42
  "open": "^11.0.0",
43
43
  "tail": "^2.2.6",
@@ -2,6 +2,6 @@ import { join } from 'path';
2
2
  import { fileURLToPath } from 'url';
3
3
  export const getBuiltinExtensionsPath = () => {
4
4
  const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'));
5
- const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '7c12bd7', 'extensions');
5
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '50d6c96', 'extensions');
6
6
  return builtinExtensionsPath;
7
7
  };
@@ -4,6 +4,9 @@ const isTestFile = (dirent) => {
4
4
  }
5
5
  return dirent.endsWith('.js') || dirent.endsWith('.ts');
6
6
  };
7
+ const toTestName = (dirent) => {
8
+ return dirent.replace(/\.(js|ts)$/, '');
9
+ };
7
10
  export const createTestOverviewHtml = (dirents) => {
8
11
  const pre = `<!DOCTYPE html>
9
12
  <html lang="en">
@@ -21,7 +24,7 @@ export const createTestOverviewHtml = (dirents) => {
21
24
  // TODO properly escape name
22
25
  for (const dirent of dirents) {
23
26
  if (isTestFile(dirent)) {
24
- const name = dirent.slice(0, -'.js'.length);
27
+ const name = toTestName(dirent);
25
28
  middle += ` <li><a href="./${name}.html">${name}</a></li>
26
29
  `;
27
30
  }
@@ -374,10 +374,13 @@ const generateTestOverviewHtml = (dirents) => {
374
374
  return pre + middle + post;
375
375
  };
376
376
  const getName = (name) => {
377
- return name.slice(0, -'.js'.length);
377
+ return name.replace(/\.(js|ts)$/, '');
378
378
  };
379
379
  const isTestFile = (file) => {
380
- return file !== '_all.js';
380
+ if (file.startsWith('_')) {
381
+ return false;
382
+ }
383
+ return file.endsWith('.js') || file.endsWith('.ts');
381
384
  };
382
385
  const getTestFiles = (testFilesRaw) => {
383
386
  return testFilesRaw.map(getName).filter(isTestFile);
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
41
41
  export const getSetupName = () => {
42
42
  return 'Lvce-Setup';
43
43
  };
44
- export const version = '0.83.1';
45
- export const commit = '7c12bd7';
46
- export const date = '2026-06-03T15:08:42.000Z';
44
+ export const version = '0.84.1';
45
+ export const commit = '50d6c96';
46
+ export const date = '2026-06-18T12:51:42.000Z';
47
47
  export const getVersion = () => {
48
48
  return version;
49
49
  };
@@ -1,5 +1,5 @@
1
1
  import { join } from 'node:path';
2
2
  import * as Root from '../Root/Root.js';
3
3
  export const getPreloadUrl = () => {
4
- return join(Root.root, 'static', '7c12bd7', 'packages', 'preload', 'dist', 'index.js');
4
+ return join(Root.root, 'static', '50d6c96', 'packages', 'preload', 'dist', 'index.js');
5
5
  };