mirror of
https://github.com/ankitects/anki.git
synced 2026-06-10 05:04:35 -04:00
## Summary Closes #4954. `_functions.scss` already had `@use "sass:map"` at the top but was still calling the deprecated global functions `map-get` and `map-merge`. Replaced all occurrences with their namespaced equivalents `map.get` and `map.merge`. This eliminates the `[global-builtin]` deprecation warnings visible in every Check (Linux) CI run, which will become hard errors in Dart Sass 3.0. ## Test plan - [x] `just lint` passes - [x] `just test-ts` passes with no deprecation warnings ## Before / after behavior (optional) ### at main branch <img width="1325" height="906" alt="Image" src="https://github.com/user-attachments/assets/6a35ac2d-418a-4ded-baf6-f959b06b8d48" /> ### at this branch <img width="1156" height="921" alt="image" src="https://github.com/user-attachments/assets/276a15ce-b319-4ee5-9ae2-122cd4d4d45e" />
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias