Version 2
Version 2 is ES Modules / ESM and Node >= 22 only. CommonJS / CJS and Node 16 through 20 are no longer supported.
If you require CJS or Node 16 through 20 support then use the v1 releases.
For ESM projects this release should be drop-in and not require any further changes.
This release also contains dependency updates.