@marko/babel-utils
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -123,7 +123,7 @@ "use strict";exports.__esModule = true;exports.computeNode = computeNode; /** | ||
case "TemplateLiteral":{ | ||
let value = node.quasis[0].cooked; | ||
let value = node.quasis[0].value.cooked; | ||
for (let i = 0; i < node.expressions.length; i++) { | ||
const expr = computeNode(node.expressions[i]); | ||
if (!expr) return; | ||
value += expr.value + node.quasis[i + 1].cooked; | ||
value += expr.value + node.quasis[i + 1].value.cooked; | ||
} | ||
@@ -130,0 +130,0 @@ return { value }; |
{ | ||
"name": "@marko/babel-utils", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "Utilities for use with Marko babel plugins.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44873