-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade NPM and Dependancies of UI portals #2942
Comments
All three portals were built using Proceeding to update the deprecated dependancies. |
Changing |
Upgraded the dependencies related to |
Update (14-06-2024) Admin Portal pending :
[1] https://webpack.js.org/migrate/4/ |
[Admin Portal] Update Upgraded Eslint and web pack in the admin portal. Patched the remaining vulnerabilities and fixed Intl message extraction.
|
Note on running : The following error cannot be fixed since it's not fix in a the latest version of a dependent library (node:19163) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created) |
Devportal update
[1] postmanlabs/graphql-to-postman#22 |
Update Fixed the dev portal swagger UI style rendering issue and related dependancies. The remaining vulnerabilities are from |
Admin portal latest lognpm i
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm warn deprecated [email protected]: Please switch to @apidevtools/json-schema-ref-parser
added 1514 packages, and audited 1515 packages in 3m
236 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities |
Publisher portal update
The |
Cannot migrate to ESLint 9 yet since several dependent libraries are not supported yet for the newly introduced flat config and other breaking API changes [1] |
UI testsRunning UI tests to confirm functionality as usual after the upgrades First run : Spec Tests Passing Failing Pending Skipped
✖ 30 of 115 failed (26%) 7:31:28 157 118 40 - - PS : have intermittent failures due to screensaver and network sleep. Rerunning to validate again |
Remaining test cases to verify / fix :
|
All the test cases are passing except for the ones identified as intermittent / BE errors. |
Remaining sub tasks to resolve
|
Problem
The product UI portals are built on Node.js 16.x and the latest LTS version is 20.x (22.x will enter LTS in Oct 2024). Many of the dependancies in the portals are also deprecated or using older versions. This issue will track the effort upgrade dependancies and the node version.
Solution
Upgrade :
Affected Component
APIM
Version
4.4.0
Implementation
No response
Related Issues
#2191
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: