| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-07-17 | 1.8 kB | |
| v1.10.1 source code.tar.gz | 2026-07-17 | 142.2 kB | |
| v1.10.1 source code.zip | 2026-07-17 | 174.5 kB | |
| Totals: 3 Items | 318.5 kB | 2 | |
Highlights
- Fixed
require()/ CommonJS resolution.package.jsondeclares"type": "module", which makes Node parse every.jsfile in the package as ESM — so the CommonJS build shipped asdist/thumbmark.cjs.jswas loaded as ESM and threwReferenceError: exports is not defined in ES module scope. This broke any consumer resolving through therequirecondition (CommonJSrequire(), SSR /target: 'node'bundles,esbuild --format=cjs); bundlers like webpack often hid it, surfacing later asX is not a constructor. The CJS artifact is now correctly nameddist/thumbmark.cjs. This has been present in every release since 0.20.6. Not a breaking change — the exports map has no wildcard, so the old path was never importable. Thanks @timofeevAV. (#144)
Maintenance
- Security: pinned transitive dev dep
js-yaml→ 3.15.0 (quadratic-complexity DoS in merge-key handling, MODERATE) via an npmoverrides, resolving a Dependabot alert. (#145) - Build: declared
tslibas a devDependency — it's an undeclared peer requirement of@rollup/plugin-typescript, and a cleannpm ci && npm run buildfailed without it. (#145) - Release safety: added a
prepublishOnlyhook that builds and runs the full test suite before every publish, so a stale or broken artifact can no longer be shipped. (#145) - Added
src/packaging.test.ts, which loads the built CommonJS artifact in a realnodeprocess to guard the packaging regression above (Jest's own module wrapper masks it). (#144)
Note on fingerprint stability
The fingerprint output is unchanged from 1.10.0. This release is packaging and maintenance only — no component or hashing changes — so existing fingerprint hashes remain stable across this upgrade.