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
Seems like there is a regression in 4.0 with 'culori/fn' import because of new itp color space.
Both in Node.js and browser (after Vite):
import{useMode}from'culori/fn'
Error:
Uncaught ReferenceError: Cannot access 'modeItp' before initialization
at file:///home/ai/Dev/oklch-picker/node_modules/.pnpm/culori@4.0.0/node_modules/culori/src/index.js:274:28
Seems like we forgot modeItp in ./itp/definition.js.
The text was updated successfully, but these errors were encountered:
Fixed in culori@4.0.1, thanks for the report! It remains a small puzzle to figure out why test/api.test.js was not throwing this error when importing from src/index-fn.js…
Seems like there is a regression in 4.0 with
'culori/fn'
import because of newitp
color space.Both in Node.js and browser (after Vite):
Error:
Seems like we forgot
modeItp
in./itp/definition.js
.The text was updated successfully, but these errors were encountered: