Skip to content
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

Fix warnings and new packages replacements #31

Closed
3 tasks
RMCampos opened this issue Aug 23, 2023 · 2 comments
Closed
3 tasks

Fix warnings and new packages replacements #31

RMCampos opened this issue Aug 23, 2023 · 2 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@RMCampos
Copy link
Contributor

Describe the task
When building or running the webapp locally one can see warnings about packages that should be updated or replaced by new ones.

E.g.:

=> # npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead                                                                      
=> # npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated                                                      
=> # npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser                 
=> # npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated                                                                        
=> # npm WARN deprecated redux-devtools-extension@2.13.9: Package moved to @redux-devtools/extension.                                                               
=> # npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
=> # npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details. 

Acceptance Criteria

  • Webapp running locally with 'npm start` without warnings
  • Webapp building for prod without warnings
  • Webapp working fine locally, locally with Docker Compose and deployed

Additional context

  • No additional notes.
@RMCampos RMCampos added the dependencies Pull requests that update a dependency file label Aug 23, 2023
@DerekRoberts
Copy link
Member

DerekRoberts commented Jan 11, 2024

2024-01-11:

frontend: npm ci
npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: 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/plugin-proposal-class-properties@7.18.6: 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/plugin-proposal-optional-catch-binding@7.18.6: 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/plugin-proposal-numeric-separator@7.18.6: 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/plugin-proposal-optional-chaining@7.21.0: 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/plugin-proposal-async-generator-functions@7.20.7: 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/plugin-proposal-object-rest-spread@7.20.7: 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.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

uuid and querystring are subdependencies of aws-amplify, covered here.

babel packages are subdependencies of react-redux, which is currently up-to-date.

@DerekRoberts
Copy link
Member

DerekRoberts commented Jan 11, 2024

Since these deprecations are all caused by two packages, one which is separately ticketed and one that's up to date, this can be closed. Surprisingly tidy news!

@DerekRoberts DerekRoberts self-assigned this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Archived in project
Development

No branches or pull requests

2 participants