@riotjs/compiler
Advanced tools
Comparing version 4.8.1 to 4.8.2
# Compiler Changes | ||
### v4.8.2 | ||
- Fix make sure that all the text expressions mixed with comments are properly rendered | ||
### v4.8.1 | ||
@@ -4,0 +7,0 @@ - Fix improve the solution for https://github.com/riot/riot/issues/2836 |
{ | ||
"name": "@riotjs/compiler", | ||
"version": "4.8.1", | ||
"version": "4.8.2", | ||
"description": "Compiler for riot .tag files", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -29,5 +29,2 @@ import { | ||
// comments are not supported here | ||
if (isCommentString(string)) return chunks | ||
// trimStart the first string | ||
@@ -46,2 +43,4 @@ chunks.push(index === 0 ? string.trimStart() : string) | ||
}, []) | ||
// comments are not supported here | ||
.filter(str => !isCommentString(str)) | ||
.map(str => node.unescape ? unescapeChar(str, node.unescape) : str) | ||
@@ -48,0 +47,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2055281