Releases: cyberuni/color-map-rainbow
Release list
v3.0.0
Major Changes
-
11560d6: Ship real ESM and CJS builds, with types.
The package is now
"type": "module"with anexportsmap:esm/index.jsfor
import,cjs/index.jsforrequire, andesm/index.d.tsfor types. That
replacesdist-es5/anddist-es2015/, so a deep import of either path no
longer resolves — hence the major.This also fixes types never reaching consumers at all. 2.1.5 declared
typings: dist-es5/index.d.tsandmodule: dist-es2015/index.js, butfiles
listed onlydist, so neither path was in the published tarball. TypeScript
consumers have been falling back toanysince 2.0.The two browser bundles keep their published filenames —
dist/color-map-rainbow.es5.js(readscolor-mapoff theColorMapglobal) and
dist/color-map-rainbow.es2015.js(self-contained) — so<script src>and the
badgesize links are unaffected.The
color-mapdependency moves from^1.1.0to^2.2.0. The public API of
createRainbowandrainbowis unchanged.
v2.1.5
Patch Changes
- 0e1ceee: Move the release pipeline to changesets and npm trusted publishing (OIDC), with no repository secrets.