Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.0-alpha.18 to 4.0.0-alpha.19

3

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

2

dist/index.esm.js

@@ -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

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