busypeoples / spected

Validation library
MIT License
703 stars 32 forks source link

Doesn't work with Node.js > 16 #111

Open simonhaenisch opened 1 year ago

simonhaenisch commented 1 year ago

Ramda needs to be upgraded to 0.29.0 (see upgrade guide) otherwise you can't run with Node.js > 16 (i.e. 17+) because you'll get an error like

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './src/identity' is not defined by "exports" in [...]/node_modules/spected/node_modules/ramda/package.json

Relevant fix from Ramda that only landed in version 0.29.0: https://github.com/ramda/ramda/pull/3270.