facebook / regenerator

Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.
http://facebook.github.io/regenerator/
MIT License
3.82k stars 1.16k forks source link

`npm deprecate` regenerator-runtmie@<0.13.8 #699

Open nicolo-ribaudo opened 12 months ago

nicolo-ribaudo commented 12 months ago

Hi @benjamn :)

Old versions of regenerator-runtime (when used together with another library) are making it impossible to ship the new iterator helpers proposal (https://github.com/tc39/proposal-iterator-helpers/issues/286).

Would it be possible to npm deprecate all the affected versions, asking people to upgrade to 0.14, hoping that this will be enough after a while to avoid the web compatibility issue?

michaelficarra commented 12 months ago

@nicolo-ribaudo I think you mean <0.14.8? The relevant fix is https://github.com/facebook/regenerator/pull/411.

nicolo-ribaudo commented 12 months ago

Uhm, the last version on npm is 0.14.0. I think GitHub's "this PR was released in" tag is not working well for that PR.