marko 6.0.157 → 6.0.159

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.
@@ -20,6 +20,6 @@ declare module "@marko/compiler/dist/types" {
20
20
  }
21
21
  export declare function knownTagAnalyze(tag: t.NodePath<t.MarkoTag>, contentSection: Section, propTree: BindingPropTree | undefined): void;
22
22
  export declare function knownTagTranslateHTML(tag: t.NodePath<t.MarkoTag>, tagIdentifier: t.Expression, contentSection: Section, propTree: BindingPropTree | undefined): void;
23
- export declare function knownTagTranslateDOM(tag: t.NodePath<t.MarkoTag>, propTree: BindingPropTree | undefined, getBindingIdentifier: (binding: Binding, preferedName?: string) => t.Identifier, callSetup: (section: Section, childBinding: Binding) => void): void;
23
+ export declare function knownTagTranslateDOM(tag: t.NodePath<t.MarkoTag>, propTree: BindingPropTree | undefined, getBindingIdentifier: (binding: Binding, preferredName?: string) => t.Identifier, callSetup: (section: Section, childBinding: Binding) => void): void;
24
24
  export declare function finalizeKnownTags(section: Section): void;
25
25
  export {};
@@ -38,6 +38,7 @@ export interface Section {
38
38
  serializeReason: undefined | SerializeReason;
39
39
  serializeReasons: Map<symbol, SerializeReason>;
40
40
  paramReasonGroups: ParamSerializeReasonGroups | undefined;
41
+ returnValueExpr: t.NodeExtra | undefined;
41
42
  returnSerializeReason: SerializeReason | undefined;
42
43
  isHoistThrough: true | undefined;
43
44
  upstreamExpression: t.NodeExtra | undefined;
@@ -16,7 +16,6 @@ export declare function isScopeIdentifier(node: t.Node): node is t.Identifier;
16
16
  export type TemplateExports = BindingPropTree["props"];
17
17
  declare module "@marko/compiler/dist/types" {
18
18
  interface ProgramExtra {
19
- returnValueExpr?: t.NodeExtra;
20
19
  domExports?: {
21
20
  template: string;
22
21
  walks: string;
package/index.d.ts CHANGED
@@ -79,7 +79,7 @@ declare global {
79
79
  /** The top level api for a Marko Template. */
80
80
  export abstract class Template<Input = unknown, Return = unknown> {
81
81
  /**
82
- * The folowing types are processed up by the @marko/language-tools
82
+ * The following types are processed up by the @marko/language-tools
83
83
  * and inlined into the compiled template.
84
84
  *
85
85
  * This is done to support generics on each of these methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.157",
3
+ "version": "6.0.159",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",
@@ -49,7 +49,7 @@
49
49
  "build": "node -r ~ts ./scripts/bundle.ts"
50
50
  },
51
51
  "dependencies": {
52
- "@marko/compiler": "^5.39.61",
52
+ "@marko/compiler": "^5.39.62",
53
53
  "csstype": "^3.2.3",
54
54
  "fastest-levenshtein": "^1.0.16",
55
55
  "magic-string": "^0.30.21"
package/tags-html.d.ts CHANGED
@@ -5673,7 +5673,7 @@ interface CommonAttributes<T extends Element> {
5673
5673
  /**
5674
5674
  * Identifies the element (or elements) that labels the current element.
5675
5675
  * @see https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby
5676
- * @see aria-decribedby
5676
+ * @see aria-describedby
5677
5677
  */
5678
5678
  "aria-labelledby"?: AttrString;
5679
5679
  /**