@lvce-editor/shared-process 0.100.6 → 0.100.8

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.100.6",
3
+ "version": "0.100.8",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "1.9.0",
21
- "@lvce-editor/extension-host-helper-process": "0.100.6",
21
+ "@lvce-editor/extension-host-helper-process": "0.100.8",
22
22
  "@lvce-editor/ipc": "16.10.0",
23
23
  "@lvce-editor/json-rpc": "8.6.0",
24
24
  "@lvce-editor/jsonc-parser": "1.5.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', '8f0f636', 'extensions')
6
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '2dcfa19', 'extensions')
7
7
  return builtinExtensionsPath
8
8
  }
@@ -6,6 +6,7 @@ import {
6
6
  executeMarkdownLanguageServerRequest,
7
7
  isMarkdownLanguageServerRequest,
8
8
  } from '../MarkdownLanguageServerRequest/MarkdownLanguageServerRequest.js'
9
+ import { normalizeLanguageServerDocumentUri } from '../NormalizeLanguageServerDocumentUri/NormalizeLanguageServerDocumentUri.js'
9
10
 
10
11
 
11
12
 
@@ -411,12 +412,13 @@ export class LanguageServerConnection {
411
412
  if (typeof uri !== 'string' || !Array.isArray(diagnostics)) {
412
413
  return
413
414
  }
414
- this.publishedDiagnostics.set(uri, diagnostics)
415
- const waiters = this.diagnosticWaiters.get(uri)
415
+ const normalizedUri = normalizeLanguageServerDocumentUri(uri)
416
+ this.publishedDiagnostics.set(normalizedUri, diagnostics)
417
+ const waiters = this.diagnosticWaiters.get(normalizedUri)
416
418
  if (!waiters) {
417
419
  return
418
420
  }
419
- this.diagnosticWaiters.delete(uri)
421
+ this.diagnosticWaiters.delete(normalizedUri)
420
422
  for (const waiter of waiters) {
421
423
  waiter.resolve(diagnostics)
422
424
  }
@@ -15,9 +15,6 @@ const normalizeRemoteFileUrl = (uri) => {
15
15
  }
16
16
 
17
17
  export const normalizeLanguageServerDocumentUri = (uri) => {
18
- if (uri.startsWith('/')) {
19
- return pathToFileURL(uri).href
20
- }
21
- const normalizedUri = normalizeRemoteFileUrl(uri) || uri
22
- return normalizedUri.replace(windowsFileUriRegex, (_, driveLetter) => `file:///${driveLetter.toLowerCase()}%3A`)
18
+ const normalizedUri = uri.startsWith('/') ? pathToFileURL(uri).href : normalizeRemoteFileUrl(uri) || uri
19
+ return normalizedUri.replace(windowsFileUriRegex, (_, driveLetter) => `file:///${driveLetter.toLowerCase()}:`)
23
20
  }
@@ -61,11 +61,11 @@ export const getSetupName = () => {
61
61
  return 'Lvce-Setup'
62
62
  }
63
63
 
64
- export const version = '0.100.6'
64
+ export const version = '0.100.8'
65
65
 
66
- export const commit = '8f0f636'
66
+ export const commit = '2dcfa19'
67
67
 
68
- export const date = '2026-08-10T16:49:24.000Z'
68
+ export const date = '2026-08-10T18:21:59.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', '8f0f636', 'packages', 'preload', 'dist', 'index.js')
5
+ return join(Root.root, 'static', '2dcfa19', 'packages', 'preload', 'dist', 'index.js')
6
6
  }