marko 6.0.101 → 6.0.103

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.
@@ -102,8 +102,8 @@ export declare const bindingUtil: Sorted<Binding>;
102
102
  export declare function dropReferences(node: t.Node | t.Node[]): void;
103
103
  export declare function getCanonicalBinding(binding: Binding): Binding;
104
104
  export declare function getAllTagReferenceNodes(tag: t.MarkoTag, referenceNodes?: t.Node[]): t.Node[];
105
- export declare function getScopeAccessorLiteral(binding: Binding, includeId?: boolean): t.StringLiteral | t.NumericLiteral;
106
- export declare function getScopeAccessor(binding: Binding, includeId?: boolean): string;
105
+ export declare function getScopeAccessorLiteral(binding: Binding, encoded?: boolean, includeId?: boolean): t.StringLiteral | t.NumericLiteral;
106
+ export declare function getScopeAccessor(binding: Binding, encoded?: boolean, includeId?: boolean): string;
107
107
  export declare function getDebugScopeAccess(binding: Binding): {
108
108
  root: Binding;
109
109
  access: string;
@@ -3,4 +3,4 @@ import { type Binding, type ReferencedBindings } from "./references";
3
3
  import type { Section } from "./sections";
4
4
  export declare function createScopeReadPattern(section: Section, referencedBindings: ReferencedBindings): t.ObjectPattern;
5
5
  export declare function getScopeExpression(section: Section, targetSection: Section): t.Identifier | t.MemberExpression;
6
- export declare function createScopeReadExpression(section: Section, reference: Binding): t.MemberExpression;
6
+ export declare function createScopeReadExpression(reference: Binding, section?: Section | undefined): t.MemberExpression;
@@ -5,7 +5,6 @@ import { type Binding, type ReferencedBindings } from "./references";
5
5
  import { type Section } from "./sections";
6
6
  export type Signal = {
7
7
  identifier: t.Identifier;
8
- valueAccessor?: t.Expression;
9
8
  referencedBindings: ReferencedBindings;
10
9
  section: Section;
11
10
  build: undefined | (() => t.Expression | undefined);
@@ -13,4 +13,4 @@ export declare enum TagNameType {
13
13
  DynamicTag = 2,
14
14
  AttributeTag = 3
15
15
  }
16
- export default function analyzeTagNameType(tag: t.NodePath<t.MarkoTag>): TagNameType;
16
+ export default function analyzeTagNameType(tag: t.NodePath<t.MarkoTag>, allowDynamic?: boolean): TagNameType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.101",
3
+ "version": "6.0.103",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",