heap / react-native-heap

A React Native integration for Heap
MIT License
81 stars 36 forks source link

core-js deprecation warning - Intentions to upgrade? #413

Open jwhenshaw opened 1 year ago

jwhenshaw commented 1 year ago

This does not prevent the use of Heap, its more of a question and currently I'm reluctant to make use of heap due to the dependancy on a version of core-js that is considered 'full of issues'

To get the exact detail upon installing @heap/react-native-heap@^0.22.5 the following warning is given:

@heap/react-native-heap > babel-types > babel-runtime > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js

As babel-types and babel-runtime are within the dependancies I'm assuming it is being bundled and therefore this package is making use of core-js@2.6.12 which, as the warning states, could result in some issues.

Are there plans to upgrade core-js or are my assumptions that this could lead to issues incorrect?

Thanks in advance

jwhenshaw commented 1 year ago

Also, didn't see any issue templates so wasn't entirely sure how to raise this. Apologies if not as desired