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.0 to 4.0.1

3

CHANGELOG.md
# Changes for riot-parser
### v4.0.1
- Fix the creation of the `parts` array in nodes containing expressions
### v4.0.0

@@ -4,0 +7,0 @@ - Stable release

2

index.js

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

if ((pos += start) < node.end) {
if (pos < node.end) {
parts.push(this.sanitise(node, source.slice(pos), pack));

@@ -1555,0 +1555,0 @@ }

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

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -186,3 +186,3 @@ /*---------------------------------------------------------------------

if ((pos += start) < node.end) {
if (pos < node.end) {
parts.push(this.sanitise(node, source.slice(pos), pack))

@@ -189,0 +189,0 @@ }

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