peggyjs / peggy

Peggy: Parser generator for JavaScript
https://peggyjs.org/
MIT License
883 stars 63 forks source link

4.0.1 dropped support for Node 18 #495

Closed caugner closed 4 months ago

caugner commented 4 months ago

peggy itself requires Node >=18, but 4.0.1 added a dependency on @peggyjs/from-mem in https://github.com/peggyjs/peggy/pull/480, which requires Node >=20.8, effectively introducing a breaking change.

hildjj commented 4 months ago

Nod, will fix. Parts of from-mem require 20.8, but not all of it. It does a runtime check and throws an error, so I think it's safe to change the min version on from-mem back to 18.

hildjj commented 4 months ago

See https://github.com/peggyjs/from-mem/pull/8

hildjj commented 4 months ago

Fixed in 4.0.2