stoically / temporary-containers

Firefox Add-on that lets you open automatically managed disposable containers
https://addons.mozilla.org/firefox/addon/temporary-containers/
MIT License
852 stars 60 forks source link

Bumping dependencies #587

Open stoically opened 2 years ago

stoically commented 2 years ago

In order to bump my dependency tree I would need to bump some of my testing libraries as well

But bumping the dev dependencies in those libraries is blocked behind https://github.com/piotrwitek/ts-mocha/issues/70, which essentially boils down to the challenge: If you have an esm module in the dependency tree, it changes how imports work with typescript which interferes with how mocha does things. One solution is to convert the library itself to ESM, but then you are no longer exporting CJS to your consumers. Workarounds for that would be to either compile an additional CJS version or have an ESM wrapper for your CJS somehow. I'm not going to invest time into that, but instead wait until upstream figures stuff out. :shrug:

Some interesting reads I encountered along the way