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

@linthtml/html-parser

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linthtml/html-parser - npm Package Compare versions

Comparing version 0.9.0-alpha.7 to 0.9.0-beta.1

4

dist/dom_builder.js

@@ -31,5 +31,3 @@ "use strict";

const column = line === -1 ? index - this.lineOffsets[this.lineOffsets.length - 1] : index - this.lineOffsets[line - 1];
return new dom_utils_1.Position(line === -1
? this.lineOffsets.length
: line, column + 1);
return new dom_utils_1.Position(line === -1 ? this.lineOffsets.length : line, column + 1);
}

@@ -36,0 +34,0 @@ __createAttributeNode(name, attribute_value) {

{
"name": "@linthtml/html-parser",
"version": "0.9.0-alpha.7",
"version": "0.9.0-beta.1",
"description": "LintHTML HTML parser",

@@ -23,3 +23,3 @@ "author": "BenjaminJ <kamikillerto@gmail.com>",

"clean": "rm -rf dist",
"test": "mocha -r ts-node/register '__tests__/*.ts' --bail",
"test": "mocha -r ts-node/register -r tsconfig-paths/register '__tests__/*.ts' --bail",
"build": "tsc --build"

@@ -31,19 +31,10 @@ },

"dependencies": {
"@linthtml/dom-utils": "^0.9.0-alpha.7",
"@linthtml/dom-utils": "^0.9.0-beta.1",
"domhandler": "^4.2.2",
"htmlparser2": "^7.1.2"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.1",
"chai": "^4.3.4",
"mocha": "^9.1.1",
"ts-node": "^10.4.0",
"typescript": "^4.4.2"
},
"publishConfig": {
"access": "public"
},
"gitHead": "c207441c3c94a9ab6d4cf2ceaec003f8bd4b2483"
"gitHead": "e08415701e08836f0fae86ce08eab6834189e989"
}

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