| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-22 | 914 Bytes | |
| v1.9.1 source code.tar.gz | 2026-05-22 | 200.0 kB | |
| v1.9.1 source code.zip | 2026-05-22 | 232.2 kB | |
| Totals: 3 Items | 433.1 kB | 2 | |
Patch release: v1.9.1
Fixed
options.excludeandoptions.includenow tolerate non-array truthy inputs (e.g. an accidentally-passed string or object). Previously these would throw when the downstream spread or.some()ran; now they fall back to an empty array, matching the behavior ofundefined/nullinputs. See #132.
Internal
- Added
Array.isArray()narrowing at the two call sites insrc/functions/filterComponents.ts. - Added Jest tests covering string, object, and
nullinputs for both options. - Excluded
perf/from Jest test discovery so the new Playwright perf harness doesn't conflict with the unit test runner. - New
perfnpm script (playwright test perf/perf.spec.ts) for local benchmarks; baseline seeded inperf/baseline.json.
Full diff
https://github.com/thumbmarkjs/thumbmarkjs/compare/v1.8.2...v1.9.1