@riotjs/compiler
Advanced tools
Comparing version 4.0.1 to 4.0.2
# Compiler Changes | ||
### v4.0.2 | ||
- Fix spread operator on each directives [riot#2679](https://github.com/riot/riot/issues/2679) | ||
### v4.0.1 | ||
- Fix attributes mixed with expressions [riot#2681](https://github.com/riot/riot/issues/2681) | ||
@@ -6,0 +8,0 @@ |
{ | ||
"name": "@riotjs/compiler", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Compiler for riot .tag files", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -90,3 +90,3 @@ import { | ||
* @param { string } sourceCode - original source | ||
* @returns { AST.Node } an each binding node | ||
* @returns { AST.Node } tag binding node | ||
*/ | ||
@@ -93,0 +93,0 @@ export default function createTagBinding(sourceNode, selectorAttribute, sourceFile, sourceCode) { |
@@ -317,3 +317,3 @@ import { | ||
...node, | ||
attributes: getNodeAttributes(node).filter(attribute => attribute.name !== selectorAttribute) | ||
attributes: getNodeAttributes(node).filter(attribute => attribute.name === selectorAttribute) | ||
} | ||
@@ -320,0 +320,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
1243315