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 2.0.1 to 2.0.2

4

build/src/Tokenizer/index.js

@@ -145,2 +145,6 @@ "use strict";

if (this.openedTags.length) {
const latestTag = this.openedTags[this.openedTags.length - 1];
if (tag.type === 'newline' && !latestTag.children.length) {
return;
}
this.openedTags[this.openedTags.length - 1].children.push(tag);

@@ -147,0 +151,0 @@ return;

@@ -0,1 +1,11 @@

<a name="2.0.2"></a>
## [2.0.2](https://github.com/edge-js/edge-lexer/compare/v2.0.1...v2.0.2) (2018-11-09)
### Bug Fixes
* **tokenizer:** do not add newline as first child for the tag ([69677e8](https://github.com/edge-js/edge-lexer/commit/69677e8))
<a name="2.0.1"></a>

@@ -2,0 +12,0 @@ ## [2.0.1](https://github.com/edge-js/edge-lexer/compare/v2.0.0...v2.0.1) (2018-11-08)

2

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

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

@@ -355,6 +355,2 @@ # Edge lexer

{
"type": "newline",
"line": 1
},
{
"type": "raw",

@@ -361,0 +357,0 @@ "value": "<h2> Hello ",

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