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

simple-html-tokenizer

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-html-tokenizer - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

lib/simple-html-tokenizer/.tern-port

6

dist/simple-html-tokenizer.js

@@ -397,14 +397,18 @@ (function (global, factory) {

attributeValueUnquoted: function() {
var char = this.consume();
var char = this.peek();
if (isSpace(char)) {
this.delegate.finishAttributeValue();
this.consume();
this.state = 'beforeAttributeName';
} else if (char === "&") {
this.consume();
this.delegate.appendToAttributeValue(this.consumeCharRef(">") || "&");
} else if (char === ">") {
this.delegate.finishAttributeValue();
this.consume();
this.delegate.finishTag();
this.state = 'beforeData';
} else {
this.consume();
this.delegate.appendToAttributeValue(char);

@@ -411,0 +415,0 @@ }

@@ -347,14 +347,18 @@ import { preprocessInput, isAlpha, isSpace } from './utils';

attributeValueUnquoted: function() {
var char = this.consume();
var char = this.peek();
if (isSpace(char)) {
this.delegate.finishAttributeValue();
this.consume();
this.state = 'beforeAttributeName';
} else if (char === "&") {
this.consume();
this.delegate.appendToAttributeValue(this.consumeCharRef(">") || "&");
} else if (char === ">") {
this.delegate.finishAttributeValue();
this.consume();
this.delegate.finishTag();
this.state = 'beforeData';
} else {
this.consume();
this.delegate.appendToAttributeValue(char);

@@ -361,0 +365,0 @@ }

2

package.json
{
"name": "simple-html-tokenizer",
"version": "0.2.3",
"version": "0.2.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.",

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