@marko/compiler 5.39.61 → 5.39.63

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.
package/babel-utils.d.ts CHANGED
@@ -143,7 +143,10 @@ export interface Tag {
143
143
  controlFlow?: boolean;
144
144
  ignoreAttributes?: boolean;
145
145
  relaxRequireCommas?: boolean;
146
+ statement?: boolean;
147
+ preserveWhitespace?: boolean;
146
148
  text?: boolean;
149
+ html?: boolean;
147
150
  };
148
151
  }
149
152
 
@@ -78,7 +78,7 @@ class AttrLoader {
78
78
  *
79
79
  * Example:
80
80
  *
81
- * "pattern": "myprefix-*"
81
+ * "pattern": "prefix-*"
82
82
  */
83
83
  pattern(value) {
84
84
  var attr = this.attr;
@@ -33,7 +33,7 @@ function normalizeHook(dirname, value) {
33
33
  }
34
34
 
35
35
  /**
36
- * We load a taglib definion using this class. Properties in the taglib
36
+ * We load a taglib definition using this class. Properties in the taglib
37
37
  * definition (which is just a JavaScript object with properties)
38
38
  * are mapped to handler methods in an instance of this type.
39
39
  *
@@ -158,7 +158,7 @@ class TaglibLoader {
158
158
  // The value of the "attributes" property will be an object
159
159
  // where each property maps to an attribute definition. Since these
160
160
  // attributes are on the taglib they will be "global" attribute
161
- // defintions.
161
+ // definitions.
162
162
  //
163
163
  // The property key will be the attribute name and the property value
164
164
  // will be the attribute definition. Example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.39.61",
3
+ "version": "5.39.63",
4
4
  "description": "Marko template to JS compiler.",
5
5
  "keywords": [
6
6
  "babel",
@@ -38,6 +38,7 @@
38
38
  },
39
39
  "./modules": "./modules.js",
40
40
  "./internal/babel": {
41
+ "types": "./internal/babel/index.ts",
41
42
  "browser": "./dist/babel.web.js",
42
43
  "default": "./dist/babel.js"
43
44
  },
@@ -82,7 +83,7 @@
82
83
  "source-map-support": "^0.5.21"
83
84
  },
84
85
  "devDependencies": {
85
- "marko": "^5.38.31"
86
+ "marko": "^5.38.32"
86
87
  },
87
88
  "engines": {
88
89
  "node": "18 || 20 || >=22"