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

@html-eslint/parser

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@html-eslint/parser - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

13

lib/ast-converter/ast-converter.js

@@ -18,2 +18,3 @@ /**

this.traverser = createTraverser(this.emitter, ["childNodes"]);
this.parentStack = createStack();
}

@@ -31,2 +32,3 @@

}
if (this.convertedStack.isEmpty()) {

@@ -37,9 +39,8 @@ this.ast = converted;

while (this.convertedStack.top() === null) {
this.convertedStack.pop();
let parent = this.parentStack.top();
if (parent === converted) {
parent = this.parentStack.pop();
}
parent = this.parentStack.top();
const parent = this.convertedStack.top();
!Array.isArray(parent.childNodes) && (parent.childNodes = []);
parent.childNodes.push(converted);

@@ -51,3 +52,3 @@ }

if (esNode) {
esNode.childNodes = [];
this.parentStack.push(esNode);
}

@@ -54,0 +55,0 @@ this.convertedStack.push(esNode);

@@ -16,2 +16,3 @@ const utils = require("./utils");

...utils.toESLocation(sourceCodeLocation, childNodes),
childNodes: [],
};

@@ -18,0 +19,0 @@ addTags(baseNode, sourceCodeLocation);

{
"name": "@html-eslint/parser",
"version": "0.7.0",
"version": "0.7.1",
"description": "Parser for @html-eslint/eslint-plugin",

@@ -35,3 +35,3 @@ "author": "yeonjuan",

},
"gitHead": "a88f7f4b5199ead03455753d07a6f8669dc46427"
"gitHead": "7600a568f75ad0aeed4680f60b8d1317cc1e35f6"
}
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