Socket
Socket
Sign inDemoInstall

edge-lexer

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-lexer - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

10

build/src/Tokenizer/index.js

@@ -340,4 +340,6 @@ "use strict";

}
line = line.trim();
const recentTag = this.openedTags[this.openedTags.length - 1];
return line.trim() === `@end${recentTag.properties.name}`;
const endStatement = `@end${recentTag.properties.name}`;
return line === endStatement || line === `${endStatement}~`;
}

@@ -400,2 +402,8 @@ /**

this.consumeNode(this.openedTags.pop());
/**
* Do not add next newline when statement ends with `~`
*/
if (line.endsWith('~')) {
this.dropNewLine = true;
}
return;

@@ -402,0 +410,0 @@ }

2

package.json
{
"name": "edge-lexer",
"version": "3.1.2",
"version": "3.1.3",
"description": "Parses raw markup files to converts them to Edge tokens",

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

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