Socket
Socket
Sign inDemoInstall

pug-lexer

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pug-lexer - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

5

History.md

@@ -0,1 +1,6 @@

2.1.0 / 2016-08-22
==================
* Allow attributes that start with a colon
2.0.3 / 2016-08-07

@@ -2,0 +7,0 @@ ==================

5

index.js

@@ -1085,7 +1085,2 @@ 'use strict';

if (key[0] === ':') this.incrementColumn(-key.length);
else if (key[key.length - 1] === ':') this.incrementColumn(-1);
if (key[0] === ':' || key[key.length - 1] === ':') {
this.error('COLON_ATTRIBUTE', '":" is not valid as the start or end of an un-quoted attribute.');
}
key = key.trim();

@@ -1092,0 +1087,0 @@ key = key.replace(/^['"]|['"]$/g, '');

2

package.json
{
"name": "pug-lexer",
"version": "2.0.3",
"version": "2.1.0",
"description": "The pug lexer (takes a string and converts it to an array of tokens)",

@@ -5,0 +5,0 @@ "keywords": [

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