diff --git a/package.json b/package.json index 32aa818..e8db2df 100644 --- a/package.json +++ b/package.json @@ -71,17 +71,17 @@ "entities": "^5.0.0" }, "devDependencies": { - "@antfu/eslint-config": "^3.0.0", + "@antfu/eslint-config": "^3.7.1", "@antfu/ni": "^0.23.0", - "@types/node": "^22.5.1", - "@vitest/coverage-v8": "^2.0.5", + "@types/node": "^22.5.5", + "@vitest/coverage-v8": "^2.1.1", "c8": "^10.1.2", - "eslint": "^9.9.1", - "tsup": "^8.2.4", - "typedoc": "^0.26.6", - "typescript": "^5.5.4", - "vite": "^5.4.2", - "vitest": "^2.0.5", - "zeed": "^0.24.13" + "eslint": "^9.11.0", + "tsup": "^8.3.0", + "typedoc": "^0.26.7", + "typescript": "^5.6.2", + "vite": "^5.4.7", + "vitest": "^2.1.1", + "zeed": "^0.24.21" } } diff --git a/src/htmlparser.spec.ts b/src/htmlparser.spec.ts index 05decba..0e998a5 100644 --- a/src/htmlparser.spec.ts +++ b/src/htmlparser.spec.ts @@ -64,6 +64,19 @@ height: 100px;">Test`) as VHTMLDocument `) }) + it('should handle dataset', () => { + const dom = parseHTML(`