Upgrade node packages in APPM Publisher UI
Description
Most of the npm packages are outdated. Upgrade them to the latest and test the application.
Also, remove unused packages
[INFO] Running 'npm install' in /Users/jayasanka/CONTRIBUTIONS/ENTGRA/REPOS/carbon-device-mgt/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app
[WARNING] npm WARN deprecated babel-preset-es2015@6.24.1: Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
[WARNING] npm WARN deprecated core-js@2.6.11: core-js@<3 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.
[WARNING] npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[WARNING] npm WARN deprecated intl-relativeformat@2.2.0: This package has been deprecated, please see migration guide at 'https://github.com/formatjs/formatjs/tree/master/packages/intl-relativeformat#migration-guide'
[WARNING] npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[WARNING] npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[WARNING] npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
[WARNING] npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
Affected Product Version:
v4.1.0-SNAPSHOT
Steps to reproduce:
- Clone https://gitlab.com/entgra/carbon-device-mgt
- Build
/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.uicomponent
Edited by Amith Liyanage