nhsuk-frontend icon indicating copy to clipboard operation
nhsuk-frontend copied to clipboard

Slash as Division SASS Deprecation

Open britannio opened this issue 3 years ago • 1 comments

Bug Report

What is the issue?

https://sass-lang.com/documentation/breaking-changes/slash-div The deprecated division operator is being used in SASS files thus producing a series of warnings.

A migration tool is available to fix this issue: https://sass-lang.com/documentation/breaking-changes/slash-div#automatic-migration

What steps are required to reproduce the issue?

What was the environment where this issue occurred?

  • Device:
  • Operating System:
  • Browser:
  • Browser version:
  • NHS.UK frontend package version:
  • Node version:
  • npm version:

Is there anything else you think would be useful in recreating the issue?

britannio avatar Jul 01 '21 09:07 britannio

This will also need an update to the package.json as it is currently "sass": "^1.32.11" and math.div requires sass 1.33 or later

SamNHS avatar Jul 01 '21 10:07 SamNHS