@intlayer/lsp 9.5.9-canary.0 → 9.5.9

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.
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { parseText, walkAst } from "./oxcUtils.mjs";
3
+ import { DICTIONARIES_NOT_BUILT_NOTIFICATION } from "./protocol.mjs";
4
+ import { formatDictionaryHover, formatFieldHover, formatFieldValue, getFieldByPath, getFieldsAtPath } from "./dictionaryUtils.mjs";
3
5
  import { collectNamespaceReferences, findMessageUsageAtOffset, matchCallNamespace } from "./usageAnalyzer.mjs";
4
- import { findKeyAtOffset } from "./findKeyAtOffset.mjs";
5
6
  import { escapeRegularExpression, findFieldRangesInFile, offsetToRange } from "./findFieldInFile.mjs";
6
7
  import { buildCallerWithKeyPattern, buildKeyUsagePatterns, getCallerNamesAlternation } from "./callers/patterns.mjs";
7
- import { formatDictionaryHover, formatFieldHover, formatFieldValue, getFieldByPath, getFieldsAtPath } from "./dictionaryUtils.mjs";
8
+ import { findKeyAtOffset } from "./findKeyAtOffset.mjs";
8
9
  import { findContentFieldAtOffset, findKeyInContentFile } from "./findKeyInContentFile.mjs";
9
- import { DICTIONARIES_NOT_BUILT_NOTIFICATION } from "./protocol.mjs";
10
10
  import { existsSync } from "node:fs";
11
11
  import { readFile } from "node:fs/promises";
12
12
  import { dirname, isAbsolute, join } from "node:path";
@@ -1,5 +1,5 @@
1
- import { callers_exports } from "./callers/index.mjs";
2
1
  import { buildParentMap, getObjectPropertyNode, getObjectPropertyString, getPropertyKeyName, getStaticStringValue, nodeEnd, nodeStart, parseText, walkAst } from "./oxcUtils.mjs";
2
+ import { callers_exports } from "./callers/index.mjs";
3
3
 
4
4
  //#region src/usageAnalyzer.ts
5
5
  /**
@@ -1,13 +1,13 @@
1
- import { callers_exports } from "./callers/index.mjs";
2
1
  import { buildParentMap, getFirstStringArg, getObjectPropertyNode, getObjectPropertyString, getPropertyKeyName, getStaticStringValue, getStringArgAt, isStringLiteralNode, nodeContainsOffset, nodeEnd, nodeStart, parseText, walkAst } from "./oxcUtils.mjs";
2
+ import { DICTIONARIES_NOT_BUILT_NOTIFICATION } from "./protocol.mjs";
3
+ import { callers_exports } from "./callers/index.mjs";
3
4
  import { collectCallerBindings, collectMessageUsages, collectNamespaceReferences, findMessageUsageAtOffset, matchCallNamespace } from "./usageAnalyzer.mjs";
4
- import { findTCallAtOffset } from "./findTCallAtOffset.mjs";
5
- import { findKeyAtOffset } from "./findKeyAtOffset.mjs";
6
5
  import { escapeRegularExpression, findFieldRangesInFile, offsetToRange } from "./findFieldInFile.mjs";
7
6
  import { buildCallerWithKeyPattern, buildKeyUsagePatterns, getCallerNamesAlternation } from "./callers/patterns.mjs";
7
+ import { findKeyAtOffset } from "./findKeyAtOffset.mjs";
8
8
  import { findContentFieldAtOffset, findKeyInContentFile } from "./findKeyInContentFile.mjs";
9
- import { DICTIONARIES_NOT_BUILT_NOTIFICATION } from "./protocol.mjs";
10
9
  import { findUsageFieldAtOffset } from "./findUsageFieldAtOffset.mjs";
10
+ import { findTCallAtOffset } from "./findTCallAtOffset.mjs";
11
11
 
12
12
  var ALL_CALLERS = callers_exports.ALL_CALLERS;
13
13
  var BASE_CALLERS = callers_exports.BASE_CALLERS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/lsp",
3
- "version": "9.5.9-canary.0",
3
+ "version": "9.5.9",
4
4
  "private": false,
5
5
  "description": "Intlayer Language Server. Handle LSP to help IDE and AI agent to use Intlayer",
6
6
  "keywords": [
@@ -87,10 +87,10 @@
87
87
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
88
88
  },
89
89
  "dependencies": {
90
- "@intlayer/config": "9.5.8",
91
- "@intlayer/dictionaries-entry": "9.5.8",
92
- "@intlayer/engine": "9.5.8",
93
- "@intlayer/types": "9.5.8",
90
+ "@intlayer/config": "9.5.9",
91
+ "@intlayer/dictionaries-entry": "9.5.9",
92
+ "@intlayer/engine": "9.5.9",
93
+ "@intlayer/types": "9.5.9",
94
94
  "oxc-parser": "0.151.0",
95
95
  "vscode-languageserver": "10.1.1",
96
96
  "vscode-languageserver-textdocument": "1.0.14"