AtlasOfLivingAustralia/ala-api-portal

Address Critical and other build issues

Opened this issue · 0 comments

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 #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 #92