5.0.5
5.0.5
Bug Fixes
-
fix: downgrade date-fns to v3.x for CommonJS compatibility (c739fb9)
date-fnsv4.x is ESM-only which causes the following error when used with CommonJS bundling in Strapi plugins:Cannot destructure property 'differenceInHours' of 'dates__namespace.default' as it is undefinedThis fix downgrades
date-fnsfrom^4.1.0to^3.6.0which maintains full CommonJS support.
Full Changelog: 5.0.4...5.0.5