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

@lezer/html

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/html - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.3.3 (2023-02-21)
### Bug fixes
Make sure build output is strictly ES6 again.
## 1.3.2 (2023-02-16)

@@ -2,0 +8,0 @@

2

dist/index.es.js

@@ -344,3 +344,3 @@ import { ContextTracker, ExternalTokenizer, LRParser } from '@lezer/lr';

let from = value.from + 1;
let to = value.to - (value.lastChild?.isError ? 0 : 1);
let last = value.lastChild, to = value.to - (last && last.isError ? 0 : 1);
if (to > from) return {parser: attr.parser, overlay: [{from, to}]}

@@ -347,0 +347,0 @@ } else if (value.type.id == UnquotedAttributeValue) {

{
"name": "@lezer/html",
"version": "1.3.2",
"version": "1.3.3",
"description": "lezer-based HTML grammar",

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

@@ -75,3 +75,3 @@ import {ScriptText, StyleText, TextareaText,

let from = value.from + 1
let to = value.to - (value.lastChild?.isError ? 0 : 1)
let last = value.lastChild, to = value.to - (last && last.isError ? 0 : 1)
if (to > from) return {parser: attr.parser, overlay: [{from, to}]}

@@ -78,0 +78,0 @@ } else if (value.type.id == UnquotedAttributeValue) {

Sorry, the diff of this file is not supported yet

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