@marko/language-tools 2.0.9 → 2.0.11
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1821,7 +1821,7 @@ var ScriptExtractor = class {
|
|
|
1821
1821
|
this.#extractor.write(
|
|
1822
1822
|
`/** @typedef {import("${stripExt(
|
|
1823
1823
|
(0, import_relative_import_path.relativeImportPath)(this.#filename, componentFileName)
|
|
1824
|
-
)}")
|
|
1824
|
+
)}") extends infer Component ? Component extends { default: infer Component } ? Component : Component : never} Component */
|
|
1825
1825
|
`
|
|
1826
1826
|
);
|
|
1827
1827
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1790,7 +1790,7 @@ var ScriptExtractor = class {
|
|
|
1790
1790
|
this.#extractor.write(
|
|
1791
1791
|
`/** @typedef {import("${stripExt(
|
|
1792
1792
|
relativeImportPath(this.#filename, componentFileName)
|
|
1793
|
-
)}")
|
|
1793
|
+
)}") extends infer Component ? Component extends { default: infer Component } ? Component : Component : never} Component */
|
|
1794
1794
|
`
|
|
1795
1795
|
);
|
|
1796
1796
|
}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/language-tools",
|
|
3
3
|
"description": "Marko Language Tools",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.11",
|
|
5
5
|
"bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@babel/helper-validator-identifier": "^7.22.5",
|
|
8
8
|
"@babel/parser": "^7.22.5",
|
|
9
9
|
"@marko/compiler": "5.28.4",
|
|
10
|
-
"@marko/translator-default": "5.26.
|
|
10
|
+
"@marko/translator-default": "5.26.5",
|
|
11
11
|
"htmljs-parser": "^5.5.0",
|
|
12
12
|
"relative-import-path": "^1.0.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@babel/code-frame": "^7.22.5",
|
|
16
|
-
"@marko/compiler": "^5.28.
|
|
16
|
+
"@marko/compiler": "^5.28.5",
|
|
17
17
|
"@types/babel__code-frame": "^7.0.3",
|
|
18
18
|
"@types/babel__helper-validator-identifier": "^7.15.0",
|
|
19
19
|
"@typescript/vfs": "^1.4.0",
|
|
20
|
-
"marko": "^5.26.
|
|
20
|
+
"marko": "^5.26.5",
|
|
21
21
|
"mitata": "^0.1.6",
|
|
22
22
|
"tsx": "^3.12.7"
|
|
23
23
|
},
|