@marko/compiler 5.21.5 → 5.21.6

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.
@@ -213,7 +213,7 @@ function parseMarko(file) {
213
213
 
214
214
 
215
215
  },
216
- onTagName(part) {
216
+ onOpenTagName(part) {
217
217
  const tagName = parseTemplateString(part);
218
218
  const node = t.markoTag(tagName, [], t.markoTagBody());
219
219
  let parseType = _htmljsParser.TagType.html;
@@ -436,13 +436,13 @@ function parseMarko(file) {
436
436
  parseOptions.statement ||
437
437
  parseOptions.openTagOnly)
438
438
  {
439
- this.onCloseTag(part);
439
+ this.onCloseTagEnd(part);
440
440
  }
441
441
  } else if (part.selfClosed) {
442
- this.onCloseTag(part);
442
+ this.onCloseTagEnd(part);
443
443
  }
444
444
  },
445
- onCloseTag(part) {var _node$tagDef3;
445
+ onCloseTagEnd(part) {var _node$tagDef3;
446
446
  const { node } = currentTag;
447
447
  const parserPlugin = (_node$tagDef3 = node.tagDef) == null ? void 0 : _node$tagDef3.parser;
448
448
  if (preservingWhitespaceUntil === node) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
3
  "description": "Marko template to JS compiler.",
4
- "version": "5.21.5",
4
+ "version": "5.21.6",
5
5
  "author": "Dylan Piercey <dpiercey@ebay.com>",
6
6
  "bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
7
7
  "dependencies": {
@@ -16,7 +16,7 @@
16
16
  "@marko/babel-utils": "^5.21.1",
17
17
  "complain": "^1.6.0",
18
18
  "he": "^1.2.0",
19
- "htmljs-parser": "^4.0.0",
19
+ "htmljs-parser": "^5.0.0",
20
20
  "jsesc": "^3.0.2",
21
21
  "lasso-package-root": "^1.0.1",
22
22
  "property-handlers": "^1.1.1",