🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@marko/compiler

Package Overview
Dependencies
Maintainers
7
Versions
378
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marko/compiler - npm Package Compare versions

Comparing version
5.39.64
to
5.39.65
+10
-0
dist/babel-plugin/parser.js

@@ -632,2 +632,12 @@ "use strict";exports.__esModule = true;exports.parseMarko = parseMarko;var _babelUtils = require("@marko/compiler/babel-utils");

if (isControlFlow) {
if (!parentTag) {
onNext();
throw file.buildCodeFrameError(
attributeTags.find(
(child) => _babel.types.isMarkoTag(child) && isAttrTag(child)
)?.name || node.name,
"@tags must be nested within another element."
);
}
currentTag.remove();

@@ -634,0 +644,0 @@ parentTag.pushContainer("attributeTags", node);

+1
-1
{
"name": "@marko/compiler",
"version": "5.39.64",
"version": "5.39.65",
"description": "Marko template to JS compiler.",

@@ -5,0 +5,0 @@ "keywords": [