AlaskaAirlines / WebCoreStyleSheets

The core front-end framework for building experiences with the Orion Design System and transition to the Auro Design System.
https://auro.alaskaair.com/webcorestylesheets
Apache License 2.0
5 stars 5 forks source link

npm updates #155

Closed blackfalcon closed 1 year ago

blackfalcon commented 1 year ago

General Support Request

WCSS still supports a number of outdated dependencies that need to be updated.

npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated opn@6.0.0: The package has been renamed to `open`
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
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.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.12: 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.

This also includes the need to move from node-sass to Dart Sass and upgrade the repo support to Node 18.

Support request

Update the repo's dependencies and node version support. Specifically...

  1. Update to use the latest version of Husky
  2. Update to use latest version of Chalk
  3. Remove node-sass
  4. Update to latest version of stylelint
  5. Update all other dependencies
  6. There may be issues with updating sass-true 5.0.0 ❯ 7.0.0

There are migration methods required for moving from 5-6 and then 6-7. See the release notes https://github.com/oddbird/true/releases

There may be some issues with updating

Cost of not doing

There are a growing number of security vulnerabilities that need to be addressed.

Exit criteria

This issue can be closed since all dependencies are updated to their latest version and the repo supports Node 18+