Download Latest Version v1.9.1 source code.tar.gz (200.0 kB)
Email in envelope

Get an email when there's a new version of ThumbmarkJS

Home / v1.9.1
Name Modified Size InfoDownloads / 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.exclude and options.include now 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 of undefined/null inputs. See #132.

Internal

  • Added Array.isArray() narrowing at the two call sites in src/functions/filterComponents.ts.
  • Added Jest tests covering string, object, and null inputs for both options.
  • Excluded perf/ from Jest test discovery so the new Playwright perf harness doesn't conflict with the unit test runner.
  • New perf npm script (playwright test perf/perf.spec.ts) for local benchmarks; baseline seeded in perf/baseline.json.

Full diff

https://github.com/thumbmarkjs/thumbmarkjs/compare/v1.8.2...v1.9.1

Source: README.md, updated 2026-05-22