@marko/language-tools 2.2.4 → 2.2.6

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 CHANGED
@@ -1870,7 +1870,7 @@ function ${templateName}() {
1870
1870
  (${varShared("error")}, ${this.#getCastedType("MarkoRun.Context")})
1871
1871
  );
1872
1872
  const out = ${varShared("out")};
1873
- ${varShared("noop")}({ input, component, state, out, $global });
1873
+ ${varShared("noop")}({ input, component, state, out, $global, $signal });
1874
1874
  `);
1875
1875
  const body = this.#processBody(program);
1876
1876
  if (body == null ? void 0 : body.renderBody) {
@@ -2397,7 +2397,7 @@ ${isMutatedVar(tag.parent, valueLiteral) ? `${varLocal("return")}.mutate.` : ""}
2397
2397
  if (dynamicAttrTagParents) {
2398
2398
  this.#writeDynamicAttrTagParents(dynamicAttrTagParents);
2399
2399
  if (wasMerge)
2400
- this.#extractor.write(")");
2400
+ this.#extractor.write(`)${SEP_COMMA_NEW_LINE}`);
2401
2401
  }
2402
2402
  }
2403
2403
  #writeStaticAttrTags(staticAttrTags, wasMerge) {
package/dist/index.mjs CHANGED
@@ -1838,7 +1838,7 @@ function ${templateName}() {
1838
1838
  (${varShared("error")}, ${this.#getCastedType("MarkoRun.Context")})
1839
1839
  );
1840
1840
  const out = ${varShared("out")};
1841
- ${varShared("noop")}({ input, component, state, out, $global });
1841
+ ${varShared("noop")}({ input, component, state, out, $global, $signal });
1842
1842
  `);
1843
1843
  const body = this.#processBody(program);
1844
1844
  if (body == null ? void 0 : body.renderBody) {
@@ -2365,7 +2365,7 @@ ${isMutatedVar(tag.parent, valueLiteral) ? `${varLocal("return")}.mutate.` : ""}
2365
2365
  if (dynamicAttrTagParents) {
2366
2366
  this.#writeDynamicAttrTagParents(dynamicAttrTagParents);
2367
2367
  if (wasMerge)
2368
- this.#extractor.write(")");
2368
+ this.#extractor.write(`)${SEP_COMMA_NEW_LINE}`);
2369
2369
  }
2370
2370
  }
2371
2371
  #writeStaticAttrTags(staticAttrTags, wasMerge) {
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.2.4",
4
+ "version": "2.2.6",
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"