@marko/language-tools 2.5.52 → 2.5.54
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 +3 -1
- package/dist/index.mjs +3 -1
- package/marko.internal.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2582,7 +2582,9 @@ scope: ${scopeExpr}
|
|
|
2582
2582
|
);
|
|
2583
2583
|
}
|
|
2584
2584
|
}
|
|
2585
|
-
|
|
2585
|
+
if (needsHoist || !isHTML) {
|
|
2586
|
+
this.#extractor.write(`const ${renderVar} = `);
|
|
2587
|
+
}
|
|
2586
2588
|
}
|
|
2587
2589
|
if (isHTML) {
|
|
2588
2590
|
this.#extractor.write(`${varShared("renderNativeTag")}("`).copy(isEmptyRange2(tag.name) ? tagName : tag.name).write('")');
|
package/dist/index.mjs
CHANGED
|
@@ -2545,7 +2545,9 @@ scope: ${scopeExpr}
|
|
|
2545
2545
|
);
|
|
2546
2546
|
}
|
|
2547
2547
|
}
|
|
2548
|
-
|
|
2548
|
+
if (needsHoist || !isHTML) {
|
|
2549
|
+
this.#extractor.write(`const ${renderVar} = `);
|
|
2550
|
+
}
|
|
2549
2551
|
}
|
|
2550
2552
|
if (isHTML) {
|
|
2551
2553
|
this.#extractor.write(`${varShared("renderNativeTag")}("`).copy(isEmptyRange2(tag.name) ? tagName : tag.name).write('")');
|
package/marko.internal.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/language-tools",
|
|
3
3
|
"description": "Marko Language Tools",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.54",
|
|
5
5
|
"bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@marko/compiler": "^5.28.4"
|