Skip to content

1.1.3 make string version compatible with latest node

Compare
Choose a tag to compare
@magynhard magynhard released this 21 Dec 12:23
· 10 commits to master since this release

Added './string' to exports in package.json to be compatible with latest node version.

Error behaviour before

Code

const LuckyCase = require('lucky-case/string');

Runtime error

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './string' is not defined by "exports"