Closed BrannenGH closed 5 days ago
I have to say that using CJS in the 21.2 century is a bit silly, but I plan to publish as both ESM and CJS dual formats in a single NPM package in the next point release.
@smorimoto I fully understand that you want to move away from CJS but releasing breaking change as patch update (13.0.8 to 13.0.9) can cause quite a bit of trouble for others. In such case (when changes are backwards incompatible), it should be considered as new version entirely. Thanks!
@BrannenGH @serrg https://github.com/acacode/swagger-typescript-api/releases/tag/13.0.10
Hello,
With the recent update to 13.0.9, all my usages of
swagger-typescript-api
using CommonJS modules has broken.For example, consider the following import:
With the new version, this fails with:
Would it be possible to ship a version transpiled to CommonJS to NPM as well for backwards compatibility?
Thank you!