slevithan / xregexp

Extended JavaScript regular expressions
http://xregexp.com/
MIT License
3.31k stars 278 forks source link

deprecated core-js@2.6.10 #273

Closed tdjastrzebski closed 4 years ago

tdjastrzebski commented 4 years ago

Installing xregexp I get this warning

npm install xregexp --save
npm WARN deprecated core-js@2.6.10: core-js@<3.0 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
tdjastrzebski commented 4 years ago

opss, the problem does not seem to be caused by xregexp

bmarcotte commented 4 years ago

I would recommend that this ticket be re-opened, as that deprecation warning is due to dependencies used in this package. As long as xregexp depends on @babel/runtime-corejs2, it will depend on core-js@2, which causes that deprecation warning. If this package could use @babel/runtime-corejs3 instead, that warning would go away.

fchiumeo commented 4 years ago

@slevithan

this is a problem of xregexp package.json