Skip to content

v0.0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mrcgrtz mrcgrtz released this 12 May 13:19
· 277 commits to main since this release
5cb3178

Release name: Sallingsund Bridge 🌉

Breaking Changes

  • This package is now pure ESM. It cannot be require()'d from CommonJS. This means you have the following choices:

    1. Use ESM yourself. (preferred)
      Use import foo from 'foo' instead of const foo = require('foo') to import the package.
    2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
    3. If you cannot move to ESM yet, do not upgrade to this version.

    I would strongly recommend moving to ESM. ESM can still import CommonJS packages, but CommonJS packages cannot import ESM packages synchronously.

    ESM is natively supported by Node.js 12 and later.

    Please note: My repos are not the place to ask ESM support questions.