marko 6.0.60 → 6.0.61

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.
@@ -1,15 +1,15 @@
1
1
  import { types as t } from "@marko/compiler";
2
2
  import type { Falsy } from "../../common/types";
3
- import { attr, classAttr, escapeScript, escapeStyle, escapeXML, styleAttr, toString } from "../../html";
3
+ import { _attr, _attr_class, _attr_style, _escape, _escape_script, _escape_style, _unescaped } from "../../html";
4
4
  export declare function importRuntime(name: keyof typeof import("../../dom") | keyof typeof import("../../html")): t.MemberExpression;
5
5
  export declare function callRuntime(name: keyof typeof import("../../dom") | keyof typeof import("../../html"), ...args: Array<Parameters<typeof t.callExpression>[1][number] | Falsy>): t.CallExpression;
6
6
  export declare function getHTMLRuntime(): {
7
- escapeXML: typeof escapeXML;
8
- toString: typeof toString;
9
- attr: typeof attr;
10
- classAttr: typeof classAttr;
11
- styleAttr: typeof styleAttr;
12
- escapeScript: typeof escapeScript;
13
- escapeStyle: typeof escapeStyle;
7
+ _escape: typeof _escape;
8
+ _unescaped: typeof _unescaped;
9
+ _attr: typeof _attr;
10
+ _attr_class: typeof _attr_class;
11
+ _attr_style: typeof _attr_style;
12
+ _escape_script: typeof _escape_script;
13
+ _escape_style: typeof _escape_style;
14
14
  };
15
15
  export declare function getCompatRuntimeFile(): string;
@@ -33,7 +33,7 @@ export declare function setSerializedValue(section: Section, key: string, expres
33
33
  export declare const getHTMLSectionStatements: (section: Section) => t.Statement[];
34
34
  export declare function getHoistFunctionIdentifier(hoistedBinding: Binding): t.Identifier;
35
35
  export declare function getSignal(section: Section, referencedBindings: ReferencedBindings, name?: string): Signal;
36
- export declare function initValue(binding: Binding, runtimeHelper?: "value" | "state"): Signal;
36
+ export declare function initValue(binding: Binding, isLet?: boolean): Signal;
37
37
  export declare function getSignalFn(signal: Signal): t.Expression;
38
38
  export declare function subscribe(references: ReferencedBindings, subscriber: Signal): void;
39
39
  export declare function replaceNullishAndEmptyFunctionsWith0(args: (t.Expression | undefined | false)[]): t.Expression[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.60",
3
+ "version": "6.0.61",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",