AtlasOfLivingAustralia / ala-api-portal

ALA API portal
https://slatedocs.github.io/slate
0 stars 0 forks source link

Address Critical and other build issues #113

Open joe-lipson opened 4 months ago

joe-lipson commented 4 months ago

There are numerous critical issues and deprecation messages in the build. These need to be addressed especially the security vulnerabilities

Some of these may be resolved by updating to a current version of Node https://github.com/AtlasOfLivingAustralia/ala-api-portal/issues/112

A few examples from the build:

49 vulnerabilities (24 moderate, 19 high, 6 critical)
[Container] 2024/06/17 03:11:16.161735 Running command cd ./slate && bundle exec middleman build && cd ..
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
== Sprockets will render css with ruby sass
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100%, 3) or calc(100% / 3)

This is a sub task of https://github.com/AtlasOfLivingAustralia/ala-api-portal/issues/92