html-dom-parser
Advanced tools
Comparing version 5.0.9 to 5.0.10
@@ -83,3 +83,2 @@ (function (global, factory) { | ||
var template = typeof document === 'object' && document.createElement('template'); | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
var parseFromTemplate; | ||
@@ -86,0 +85,0 @@ if (template && template.content) { |
@@ -80,3 +80,2 @@ "use strict"; | ||
var template = typeof document === 'object' && document.createElement('template'); | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
var parseFromTemplate; | ||
@@ -83,0 +82,0 @@ if (template && template.content) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = HTMLDOMParser; | ||
var domhandler_1 = require("domhandler"); | ||
var htmlparser2_1 = require("htmlparser2"); | ||
var domhandler_1 = require("domhandler"); | ||
var utilities_1 = require("./utilities"); | ||
@@ -7,0 +7,0 @@ /** |
{ | ||
"name": "html-dom-parser", | ||
"version": "5.0.9", | ||
"version": "5.0.10", | ||
"description": "HTML to DOM parser.", | ||
@@ -29,3 +29,3 @@ "author": "Mark <mark@remarkablemark.org>", | ||
"clean": "rm -rf .nyc_output coverage dist lib", | ||
"lint": "eslint . --ignore-path .gitignore", | ||
"lint": "eslint .", | ||
"lint:fix": "npm run lint -- --fix", | ||
@@ -63,4 +63,7 @@ "lint:tsc": "tsc --noEmit", | ||
"devDependencies": { | ||
"@commitlint/cli": "19.3.0", | ||
"@commitlint/config-conventional": "19.2.2", | ||
"@commitlint/cli": "19.4.1", | ||
"@commitlint/config-conventional": "19.4.1", | ||
"@eslint/compat": "1.1.1", | ||
"@eslint/eslintrc": "3.1.0", | ||
"@eslint/js": "9.9.1", | ||
"@rollup/plugin-alias": "5.1.0", | ||
@@ -75,11 +78,13 @@ "@rollup/plugin-commonjs": "26.0.1", | ||
"@types/mocha": "10.0.7", | ||
"@typescript-eslint/eslint-plugin": "7.16.1", | ||
"@typescript-eslint/parser": "7.16.1", | ||
"chai": "4.4.1", | ||
"eslint": "8.57.0", | ||
"@typescript-eslint/eslint-plugin": "8.3.0", | ||
"@typescript-eslint/parser": "8.3.0", | ||
"chai": "4.5.0", | ||
"eslint": "9.9.1", | ||
"eslint-plugin-prettier": "5.2.1", | ||
"eslint-plugin-simple-import-sort": "12.1.1", | ||
"globals": "15.9.0", | ||
"html-minifier": "4.0.0", | ||
"husky": "9.1.1", | ||
"husky": "9.1.5", | ||
"jsdomify": "3.1.1", | ||
"karma": "6.4.3", | ||
"karma": "6.4.4", | ||
"karma-chai": "0.1.0", | ||
@@ -90,11 +95,11 @@ "karma-chrome-launcher": "3.2.0", | ||
"karma-mocha-reporter": "2.2.5", | ||
"lint-staged": "15.2.7", | ||
"mocha": "10.6.0", | ||
"lint-staged": "15.2.9", | ||
"mocha": "10.7.3", | ||
"npm-run-all": "4.1.5", | ||
"nyc": "17.0.0", | ||
"prettier": "3.3.3", | ||
"rollup": "4.18.1", | ||
"rollup": "4.21.1", | ||
"size-limit": "11.1.4", | ||
"ts-node": "10.9.2", | ||
"typescript": "5.5.3" | ||
"typescript": "5.5.4" | ||
}, | ||
@@ -101,0 +106,0 @@ "files": [ |
@@ -97,3 +97,2 @@ // constants | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
let parseFromTemplate: (html: string) => NodeList; | ||
@@ -100,0 +99,0 @@ |
import { Comment, Element, ProcessingInstruction, Text } from 'domhandler'; | ||
import type { DOMNode } from '../types'; | ||
import { CASE_SENSITIVE_TAG_NAMES_MAP } from './constants'; | ||
import type { DOMNode } from '../types'; | ||
@@ -6,0 +6,0 @@ /** |
@@ -8,3 +8,2 @@ /** | ||
export { default } from './server/html-to-dom'; | ||
export * from './types'; |
@@ -1,4 +0,4 @@ | ||
import { Parser } from 'htmlparser2'; | ||
import { DomHandler } from 'domhandler'; | ||
import type { ParserOptions } from 'htmlparser2'; | ||
import { Parser } from 'htmlparser2'; | ||
@@ -5,0 +5,0 @@ import { unsetRootParent } from './utilities'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126861
39
1557