domutils
domutils copied to clipboard
Utilities for working with htmlparser2's DOM
RDF feeds seem to miss the `pubDate` field. This small change uses the `dc:date`if `pubDate` is missing.
I got multiple problems when using DomUtils with `typescript` 1. ```typescript DomUtils.findAll(el => el.name === 'div' && el.parent?.name === 'body', dom.children') ``` > TS2339: Property 'name' does not exist on...
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.2 to 3.2.4. Release notes Sourced from prettier's releases. 3.2.4 Fix .eslintrc.json format #15947 🔗 Changelog 3.2.3 Format tsconfig.json file with jsonc parser #15927 🔗 Changelog Changelog...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.21.0 to 7.8.0. Release notes Sourced from @typescript-eslint/parser's releases. v7.8.0 7.8.0 (2024-04-29) 🚀 Features rule-tester: assert suggestion messages are unique (#8995) typescript-estree: add maximumDefaultProjectFileMatchCount and wide allowDefaultProjectForFiles...
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.6.0 to 2.1.0. Release notes Sourced from dependabot/fetch-metadata's releases. v2.1.0 What's Changed Relax engine-strict=true by @jeffwidman in dependabot/fetch-metadata#510 Handle branch names containing hyphen separators by @tspencer244 in...
```js const dom: Domhandler.Document = htmlparser2.parseDocument(wxmlText, { xmlMode: true, }); ``` When I use `domUtils.getElementsByTagName('tagName', dom)`, I can pass in the `dom` and get the expected element. However, when I...
Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4 to 5. Release notes Sourced from actions/configure-pages's releases. v5.0.0 Changelog Attempt to auto-detect configuration files with varying file extensions @JamesMGreene (#139) Convert errors into Actions-compatible logging...
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5. Release notes Sourced from prettier's releases. 3.2.5 🔗 Changelog Changelog Sourced from prettier's changelog. 3.2.5 diff Support Angular inline styles as single template literal...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.18.0 to 8.2.0. Release notes Sourced from @typescript-eslint/eslint-plugin's releases. v8.2.0 8.2.0 (2024-08-19) 🚀 Features eslint-plugin: add suggestion to require-await to remove async keyword (#9718) typescript-estree: special-case error...