wix / react-native-calendars

React Native Calendar Components 🗓️ 📆
MIT License
9.52k stars 2.95k forks source link

[yarn add] core-js@<3.23.3 is no longer maintained #2090

Open theabhishek2511 opened 1 year ago

theabhishek2511 commented 1 year ago

Description

Warning regarding core-js received while installing module using yarn.

Expected Behavior

react-native-calendars to install without any warnings

Observed Behavior

The following warning was received while installing:

yarn add v1.22.19
[1/4] Resolving packages...
warning react-native-calendars > recyclerlistview > prop-types > fbjs > core-js@1.2.7: 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. 
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 12 new dependencies.
info Direct dependencies
└─ react-native-calendars@1.1291.1
info All dependencies
├─ core-js@1.2.7
├─ encoding@0.1.13
├─ fbjs@0.8.18
├─ immutable@4.1.0
├─ isomorphic-fetch@2.2.1
├─ moment@2.29.4
├─ react-native-calendars@1.1291.1
├─ react-native-swipe-gestures@1.0.5
├─ recyclerlistview@3.0.5
├─ ts-object-utils@0.0.5
├─ ua-parser-js@0.7.32
└─ xdate@0.8.2
Done in 127.46s.

Environment

  1. Device/emulator/simulator & OS version: not applicable, as this happened during installation.

Reproducible Demo

not applicable, as this happened during installation.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jeremyking248 commented 1 year ago

Yep same here. This is the first thing I see when installing the package.

$ npm install --save react-native-calendars
npm WARN deprecated core-js@1.2.7: 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.
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.