@lcap/nasl-unified-frontend-generator 4.0.0-beta.21 → 4.0.0-beta.22
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 +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/playground.js +4 -1
- package/dist/playground.js.map +1 -1
- package/dist/playground.mjs +4 -1
- package/dist/playground.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -4589,7 +4589,10 @@ function bindAttrToIR(b) {
|
|
|
4589
4589
|
throw new Error("string\u4E0D\u53EF\u4E3Async");
|
|
4590
4590
|
}
|
|
4591
4591
|
if (b.i18nKey && b.value && b.frontend?.i18nInfo?.enabled) {
|
|
4592
|
-
|
|
4592
|
+
const frameworkKind = b.frontend?.frameworkKind;
|
|
4593
|
+
if (!["vue3"].includes(frameworkKind)) {
|
|
4594
|
+
b.type = "dynamic";
|
|
4595
|
+
}
|
|
4593
4596
|
const wrapperExpr = import_nasl_concepts9.CallFunction.from(
|
|
4594
4597
|
{
|
|
4595
4598
|
calleeNamespace: "$i18n",
|