mapbox / mapbox/spritezero

Migrate to svgo 2.x

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete
Dominant language
JavaScript
Stars
186
Forks
70
PR merge metrics
No merged PRs in 30d

Description

svgo 1.x is deprecated. svgo 2.0 was released over a year ago. svgo contains a transitive dependency to [high-risk vulnerability](https://github.com/advisories/GHSA-rp65-9cf3-cjxr) in nth-check.

svgo 2 has an updated API so this requires some code changes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the svgo 1.x dependency and every place its API is used in the repository. Read the svgo 2 migration guidance and run the existing test suite before changing anything. Done means the dependency is upgraded, affected calls work with svgo 2, and the tests pass without the reported vulnerable transitive dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.