@riotjs/compiler
Advanced tools
Comparing version 4.0.0-alpha.18 to 4.0.0-alpha.19
# Compiler Changes | ||
### v4.0.0-alpha.19 | ||
- Fix bug in nodes with a single expression | ||
### v4.0.0-alpha.18 | ||
@@ -4,0 +7,0 @@ - Add the `name` key to the tag exports |
@@ -1426,3 +1426,3 @@ /* Riot Compiler WIP, @license MIT */ | ||
function mergeNodeExpressions(node, sourceFile, sourceCode) { | ||
if (node.expressions.length === 1) | ||
if (node.parts.length === 1) | ||
return transformExpression(node.expressions[0], sourceFile, sourceCode) | ||
@@ -1429,0 +1429,0 @@ |
@@ -1433,3 +1433,3 @@ /* Riot Compiler WIP, @license MIT */ | ||
function mergeNodeExpressions(node, sourceFile, sourceCode) { | ||
if (node.expressions.length === 1) | ||
if (node.parts.length === 1) | ||
return transformExpression(node.expressions[0], sourceFile, sourceCode) | ||
@@ -1436,0 +1436,0 @@ |
{ | ||
"name": "@riotjs/compiler", | ||
"version": "4.0.0-alpha.18", | ||
"version": "4.0.0-alpha.19", | ||
"description": "Compiler for riot .tag files", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -42,3 +42,3 @@ import { | ||
export function mergeNodeExpressions(node, sourceFile, sourceCode) { | ||
if (node.expressions.length === 1) | ||
if (node.parts.length === 1) | ||
return transformExpression(node.expressions[0], sourceFile, sourceCode) | ||
@@ -45,0 +45,0 @@ |
Sorry, the diff of this file is too big to display
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
1233216