semantic-release / env-ci

Get environment variables exposed by CI services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ES Module

gr2m opened this issue ยท comments

Part of our efforts to migrate semantic-release to native ES Modules: semantic-release/semantic-release#2133

A main motivation, just like for @semantic-release itself, is that env-ci depends on many packages by @sindresorhus, and we are locked out from updating them as all of Sindre's packages are being upgraded to ESM. We have several dependencies we cannot upgrade for that reason: https://github.com/semantic-release/env-ci/pulls

We are aware that env-ci is widely used beyond @semantic-release, so we will try to maintain the current version (v5.x.x) for a while. But v6 will most likely be ESM, and we won't release any breaking changes to the CJS Version (v5) any more.

Please let us know if you have any questions or concerns

Todos

  • remove fromentries, use native Object.fromEntries() instead

๐ŸŽ‰ This issue has been resolved in version 7.4.0-beta.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€