You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like chroma-js is not exporting scale, limits or brewer anymore. If I'm not wrong those were still available in 2.4.2. Removing these exports is a breaking change. Unfortunately this wasn't respected in the naming of the chroma-js releases. With a breaking change the major version should increase.
The text was updated successfully, but these errors were encountered:
Thanks for your demo. For me it looks like that its fixed with a newer version of chroma-js. Try changing the import to: import { brewer } from 'chroma-js@2.5.0';
Ah, yes I remember. Unfortunately I don't know that it's possible to "retract" a version from npm. Have you tried updating to v3? The only breaking changes involved the exporting of modern CSS colors, which shouldn't really break anything.
It looks like
chroma-js
is not exportingscale
,limits
orbrewer
anymore. If I'm not wrong those were still available in 2.4.2. Removing these exports is a breaking change. Unfortunately this wasn't respected in the naming of thechroma-js
releases. With a breaking change the major version should increase.The text was updated successfully, but these errors were encountered: