Backwards compatibility broken in 2.5.0
zawias-pro opened this issue ยท 3 comments
zawias-pro commented
I used to import interfaces in my typescript app like this:
import { RGBA } from '@ctrl/tinycolor/interfaces';
but after upgrade to 2.5.0 I get an error:
TS2307: Cannot find module '@ctrl/tinycolor/interfaces'.
Imports must be changed manually:
import { RGBA } from '@ctrl/tinycolor/dist/interfaces';
I found this issue critical, because it can unexpectedly affect each TS app that have tinycolor as a dependency in following manner:
"@ctrl/tinycolor": "^2.2.1",
Like I used to have above entry in my package.json
.
zawias-pro commented
scttcper commented
@zawias-pro okay that looks like it was a bug to begin with. All imports should be "@ctrl/tinycolor" fixed in latest soon
scttcper commented
๐ This issue has been resolved in version 2.5.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐