marko 6.0.127 → 6.0.128

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.
@@ -2868,7 +2868,7 @@ function getFilteredGlobals($global2) {
2868
2868
  }
2869
2869
  function _subscribe(subscribers, scope) {
2870
2870
  $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add");
2871
- referenceScope(scope);
2871
+ return referenceScope(scope);
2872
2872
  }
2873
2873
 
2874
2874
  // src/html/attrs.ts
@@ -2775,7 +2775,7 @@ function getFilteredGlobals($global2) {
2775
2775
  }
2776
2776
  function _subscribe(subscribers, scope) {
2777
2777
  $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add");
2778
- referenceScope(scope);
2778
+ return referenceScope(scope);
2779
2779
  }
2780
2780
 
2781
2781
  // src/html/attrs.ts
@@ -146,4 +146,4 @@ export declare function _trailers(html: string): void;
146
146
  type QueueCallback = (ticked: true) => void;
147
147
  export declare function queueTick(cb: QueueCallback): void;
148
148
  export declare function offTick(cb: QueueCallback): void;
149
- export declare function _subscribe(subscribers: Set<ScopeInternals>, scope: ScopeInternals): void;
149
+ export declare function _subscribe(subscribers: Set<ScopeInternals>, scope: ScopeInternals): ScopeInternals;
package/dist/html.js CHANGED
@@ -1764,7 +1764,7 @@ function getFilteredGlobals($global2) {
1764
1764
  return filtered;
1765
1765
  }
1766
1766
  function _subscribe(subscribers, scope) {
1767
- $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
1767
+ return $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
1768
1768
  }
1769
1769
 
1770
1770
  // src/html/attrs.ts
package/dist/html.mjs CHANGED
@@ -1674,7 +1674,7 @@ function getFilteredGlobals($global2) {
1674
1674
  return filtered;
1675
1675
  }
1676
1676
  function _subscribe(subscribers, scope) {
1677
- $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
1677
+ return $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
1678
1678
  }
1679
1679
 
1680
1680
  // src/html/attrs.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.127",
3
+ "version": "6.0.128",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",