Socket
Socket
Sign inDemoInstall

@riotjs/compiler

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@riotjs/compiler - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

4

CHANGELOG.md
# 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc