marko 6.0.0-next.3.51 → 6.0.0-next.3.52

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.
@@ -24,18 +24,17 @@ export type Signal = {
24
24
  renderReferencedBindings: ReferencedBindings;
25
25
  effect: t.Statement[];
26
26
  effectReferencedBindings: ReferencedBindings;
27
- closures: Map<Section, Signal>;
28
27
  hasDownstreamIntersections: () => boolean;
29
28
  hasDynamicSubscribers?: true;
30
29
  export: boolean;
31
30
  extraArgs?: t.Expression[];
31
+ prependStatements?: t.Statement[];
32
32
  buildAssignment?: (valueSection: Section, value: t.Expression) => t.Expression;
33
33
  };
34
- type closureSignalBuilder = (signal: Signal, render: t.Expression) => t.Expression;
34
+ type closureSignalBuilder = (closure: Binding, render: t.Expression) => t.Expression;
35
35
  export declare function setClosureSignalBuilder(tag: t.NodePath<t.MarkoTag>, builder: closureSignalBuilder): void;
36
36
  export declare function setForceResumeScope(section: Section): void;
37
37
  export declare function setSerializedProperty(section: Section, key: string, value: t.Expression): void;
38
- export declare const getSectionSubscriberIdentifier: (section: Section) => t.Identifier | undefined, setSectionSubscriberIdentifiers: (section: Section, value: t.Identifier | undefined) => void;
39
38
  export declare const getHTMLSectionStatements: (section: Section) => t.Statement[];
40
39
  export declare function getHoistFunctionIdentifier(hoistedBinding: Binding): t.Identifier;
41
40
  export declare function getSignal(section: Section, referencedBindings: ReferencedBindings, name?: string): Signal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.0-next.3.51",
3
+ "version": "6.0.0-next.3.52",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",