react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Deprecated Package Warning Adding to New Project

Open AngeloAnolin opened this issue 1 year ago • 0 comments

Current behaviour

Added to existing RN project via the command npm install react-native-paper

And in my terminal, I get these messages about packages originally used that were in proposal stage but has now been merged:

npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.

Expected behaviour

All packages should resolve without the warning deprecation. Getting these warning when adding to a new project would require to update the packages to the non-deprecated version.

How to reproduce?

Add to a newly initialized project as per documentation

npm install react-native-paper

Preview

Screenshot 2024-01-20 at 9 36 17 PM

What have you tried so far?

Since this project has just been initialized, I am planning to manually install the packages as per terminal warning.

Your Environment

[email protected] MacOS Ventura 13.6.3 node v. 18.17.1

AngeloAnolin avatar Jan 21 '24 04:01 AngeloAnolin