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

@riotjs/parser

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@riotjs/parser - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

3

CHANGELOG.md
# Changes for riot-parser
### v4.0.2
- Fix parsing of nested svg nodes https://github.com/riot/riot/issues/2723
### v4.0.1

@@ -4,0 +7,0 @@ - Fix the creation of the `parts` array in nodes containing expressions

3

index.js

@@ -1472,3 +1472,3 @@ 'use strict';

store.scryle = null;
} else {
} else if (store.stack.length) {
store.last = store.stack.pop();

@@ -1529,2 +1529,3 @@ }

const parent = store.last;
const pack = this.compact && !parent[IS_RAW];

@@ -1531,0 +1532,0 @@ if (pack && empty) {

{
"name": "@riotjs/parser",
"version": "4.0.1",
"version": "4.0.2",
"description": "The parser for Riot tags",

@@ -50,9 +50,9 @@ "main": "./index.js",

"chai": "^4.2.0",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"coveralls": "^3.0.4",
"eslint": "^6.0.1",
"eslint-config-riot": "^2.0.0",
"mocha": "^6.1.4",
"nyc": "^13.3.0",
"rollup": "^1.8.0",
"rollup-plugin-node-resolve": "^4.0.1"
"nyc": "^14.1.1",
"rollup": "^1.16.3",
"rollup-plugin-node-resolve": "^5.2.0"
},

@@ -59,0 +59,0 @@ "dependencies": {

@@ -106,3 +106,3 @@ /*---------------------------------------------------------------------

store.scryle = null
} else {
} else if (store.stack.length) {
store.last = store.stack.pop()

@@ -163,2 +163,3 @@ }

const parent = store.last
const pack = this.compact && !parent[IS_RAW]

@@ -165,0 +166,0 @@ if (pack && empty) {

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