hexpunk
1c31dfe1e3
fix(types): re-export types from domhandler ( #4353 )
...
* [#4256 ] Re-export types from domhandler
* add `excludeExternals`
---------
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2026-02-10 09:14:04 +00:00
Felix
ae6d66d431
fix(traversing): Restrict reContextSelector to :scope
...
#4967 was overly broad
2026-01-21 11:50:33 +00:00
T0nd0Tara
1ed7173ada
feat(traversing): allow : selectors in find ( #4967 )
2026-01-21 11:46:13 +00:00
Galipelli Sai Mallikarjun
4fc2bef5a6
fix: add input type validation to isHtml utility ( #4523 )
...
Co-authored-by: Felix Boehm <188768+fb55@users.noreply.github.com >
2026-01-21 11:39:37 +00:00
Kaio Duarte
08326d0e8c
feat(attributes): support button value on .val() ( #4175 )
2026-01-21 11:35:44 +00:00
Felix Boehm
2eef3ebc73
chore(deps): Bump deps ( #4970 )
2025-12-20 23:00:49 +00:00
Noritaka Kobayashi
db4dbd319e
chore: fix typos ( #4740 )
2025-10-28 21:01:46 +00:00
Felix Boehm
48a6e0eeb4
Fix fromURL baseURI issues ( #4696 )
...
Fixes #4690
2025-07-21 09:05:51 +00:00
Felix Boehm
91a2b3d70b
Fix Undici issues ( #4689 )
...
Fixes #4688 , #4618
- Bumps the minimum NodeJS version in line with Undici@7
- Fixes `maxRedirections`
2025-07-20 21:17:07 +00:00
Felix
5568537907
feat(options): Document DomSerializer options
2025-06-08 20:25:01 +01:00
Luke Rohde
9b4f59dcc4
Update attr setter jsdoc ( #4469 )
...
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2025-05-26 11:53:59 +00:00
dependabot[bot]
a68a260b37
chore: Bump deps, remove undici interceptor
...
* build(deps-dev): bump vitest from 2.1.8 to 3.1.4
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 2.1.8 to 3.1.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.4/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 3.1.4
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* bump
* undici?
* no mo interceptor
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2025-05-26 09:28:42 +00:00
Ben Tilden
6e3124136b
fix(types): fix ExtractedValue type ( #4334 )
2025-02-19 08:39:23 +00:00
Felix
8a29c5c565
chore: Break extract spec into multiple parts
2024-12-25 15:27:37 +01:00
Felix Boehm
e4ecc99c2a
chore: Replace eslint-expect-type with vitest type tests ( #4323 )
2024-12-25 14:19:30 +00:00
Felix Boehm
c879058007
test(attributes): Add tests for missing href prop ( #4322 )
...
Fixes #4239
2024-12-25 14:01:44 +00:00
Felix Boehm
4d2d51d81e
docs: Replace .html with .prop for outerHTML ( #4321 )
...
Fixes #4165
2024-12-25 13:35:07 +00:00
Felix Boehm
52def8cfc1
fix(attributes): support .prop on document nodes ( #4320 )
...
Fixes #4139
2024-12-25 13:25:18 +00:00
dependabot[bot]
014d52e0e6
build(deps): bump undici from 6.21.0 to 7.2.0 ( #4309 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2024-12-25 13:03:19 +00:00
Felix Boehm
5f4e84b19b
Bump dev deps, use @typescript-eslint type checked style preset ( #4313 )
2024-12-23 12:15:54 +00:00
Richard Smith
7dd43d7f02
docs: correct loadBuffer() name ( #4270 )
2024-12-01 13:42:33 +00:00
luotao
6642a81e10
docs: fix function load() link ( #4013 )
2024-08-17 14:40:46 +00:00
Felix Boehm
eb7122bbad
chore(traversing): Add test case for lowerCaseTags ( #3981 )
...
Fixes #3495
2024-08-08 08:19:40 +00:00
Felix
ca00ea5cad
refactor: Make exports explicit
2024-08-06 16:02:24 +01:00
Felix
5f9b028979
refactor: Remove unused eslint disable directives
2024-08-06 16:01:49 +01:00
Felix Boehm
d4eb8d314c
Remove deprecated exports ( #3974 )
2024-08-06 00:06:55 +00:00
Felix Boehm
c07bbf0168
Fix web builds ( #3973 )
2024-08-05 23:34:17 +00:00
Felix Boehm
caab0694ff
Update build tooling, update imports, require Node 16 ( #3970 )
2024-08-05 23:02:58 +00:00
Felix Boehm
e6c0988a44
refactor: Remove type re-exports ( #3969 )
...
This made the docs difficult to read, as all types ended up in the docs.
BREAKING CHANGE; if you previously imported node types from Cheerio, you will now have to import them directly from `domhandler`.
2024-08-05 20:32:55 +00:00
Felix Boehm
802bedaf9d
Add explicit type annotations ( #3919 )
...
To make `isolatedModules` happy
2024-07-16 08:40:22 +00:00
dependabot[bot]
91158eb510
build(deps-dev): bump eslint-plugin-unicorn from 52.0.0 to 54.0.0 ( #3877 )
...
* build(deps-dev): bump eslint-plugin-unicorn from 52.0.0 to 54.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 52.0.0 to 54.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v52.0.0...v54.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2024-07-16 08:12:43 +00:00
dependabot[bot]
8ce7ff5aff
build(deps-dev): bump prettier from 3.0.3 to 3.1.1 ( #3536 )
...
* build(deps-dev): bump prettier from 3.0.3 to 3.1.1
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* format
* format
* format
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Boehm <188768+fb55@users.noreply.github.com >
2024-01-02 18:30:22 +00:00
dependabot[bot]
a8ed72eeca
build(deps-dev): bump prettier from 2.8.8 to 3.0.0 ( #3275 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2023-07-31 10:08:04 +00:00
dependabot[bot]
01f57bf5f2
build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.0.0 ( #3285 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2023-07-16 10:06:07 +00:00
Felix
4abb508c40
refactor(batteries): Bump htmlparser2, use custom stream ( #3177 )
2023-05-10 09:13:37 +00:00
Felix
47084c5a35
refactor(traversing): Simplify _matcher ( #3156 )
2023-04-28 09:59:35 +00:00
Erik Demaine
1984fa19ba
docs: Improve documentation, esp. selections of size >1 ( #3130 )
...
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2023-04-27 18:36:14 +01:00
dependabot[bot]
de776c4144
build(deps-dev): bump eslint-plugin-jsdoc from 41.1.2 to 43.0.7 ( #3136 )
...
Co-authored-by: Felix <188768+fb55@users.noreply.github.com >
2023-04-24 13:22:56 +00:00
Felix
317f459752
New Website ( #2950 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-02-13 11:51:51 +00:00
dependabot[bot]
6e8774f56d
build(deps-dev): bump undici from 5.16.0 to 5.18.0 ( #2993 )
...
* build(deps-dev): bump undici from 5.16.0 to 5.18.0
Bumps [undici](https://github.com/nodejs/undici ) from 5.16.0 to 5.18.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.16.0...v5.18.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update batteries.ts
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Böhm <188768+fb55@users.noreply.github.com >
2023-02-08 11:11:57 +00:00
Felix
95ef0ea66f
refactor: Inline cloneDom, simplify types ( #2976 )
2023-01-25 10:13:19 +00:00
Felix
73ef084c65
chore(prettier): Set proseWrap: always ( #2968 )
2023-01-23 16:46:18 +00:00
Felix Böhm
ae441b87b9
fix(types): Fix Cheerio.prototype.splice type
2023-01-22 15:43:13 +00:00
Simon
603861faf0
chore(docs): Fix typo in JSDoc ( #2943 )
2023-01-09 07:00:26 -08:00
Felix
21f3120c9b
refactor(util): Remove isTag, split out spec ( #2938 )
...
* chore(tests): Split util tests to separate file
* refactor(utils): Remove `isTag` util
This was just re-exporting domhandler's `isTag` function. Let's use that directly
2023-01-07 02:09:11 +00:00
Felix
f4be47d73d
chore(test): Unify test structure, use never ( #2922 )
2022-12-29 18:06:04 +00:00
Felix Böhm
9a91d01b9d
chore(test): Remove unnecessary any
2022-12-25 16:59:03 +01:00
Felix
16c314987f
refactor(options): Revamp option handling ( #2916 )
2022-12-24 12:29:23 +00:00
Felix
fa00a9dc56
refactor(types): Make types easier to consume ( #2915 )
...
TypeDoc will now resolve several symbols to external documentation
2022-12-23 13:21:23 +00:00
Felix
7081059d05
docs(tsdoc): Improve TSDoc comments ( #2906 )
2022-12-18 11:15:21 +00:00