@intlayer/lsp 9.5.9-canary.0 → 9.5.10
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/dist/esm/index.mjs +3 -3
- package/dist/esm/usageAnalyzer.mjs +1 -1
- package/dist/esm/utils.mjs +4 -4
- package/package.json +8 -8
package/dist/esm/index.mjs
CHANGED
|
@@ -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 {
|
|
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
|
/**
|
package/dist/esm/utils.mjs
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "9.5.10",
|
|
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,13 +87,13 @@
|
|
|
87
87
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@intlayer/config": "9.5.
|
|
91
|
-
"@intlayer/dictionaries-entry": "9.5.
|
|
92
|
-
"@intlayer/engine": "9.5.
|
|
93
|
-
"@intlayer/types": "9.5.
|
|
90
|
+
"@intlayer/config": "9.5.10",
|
|
91
|
+
"@intlayer/dictionaries-entry": "9.5.10",
|
|
92
|
+
"@intlayer/engine": "9.5.10",
|
|
93
|
+
"@intlayer/types": "9.5.10",
|
|
94
94
|
"oxc-parser": "0.151.0",
|
|
95
|
-
"vscode-languageserver": "10.1.
|
|
96
|
-
"vscode-languageserver-textdocument": "1.0.
|
|
95
|
+
"vscode-languageserver": "10.1.2",
|
|
96
|
+
"vscode-languageserver-textdocument": "1.0.15"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@types/node": "^22",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"rimraf": "6.1.3",
|
|
104
104
|
"tsdown": "0.23.0",
|
|
105
105
|
"typescript": "7.0.2",
|
|
106
|
-
"vitest": "5.0.
|
|
106
|
+
"vitest": "5.0.2"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
109
109
|
"node": ">=14.18"
|