Skip to content

Commit 88c261f

Browse files
authored
chore: pin svgo deps and remove unused xmldom deps in importer to mitigate critical vulnerability (#1020)
1 parent 6cbca26 commit 88c261f

6 files changed

Lines changed: 10 additions & 22 deletions

File tree

importer/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
"react": "~17.0.1",
4242
"replace": "^1.2.0",
4343
"shx": "^0.3.2",
44-
"svgo": "^2.8.0",
45-
"xmldom": ">=0.5.0",
44+
"svgo": "2.8.2",
4645
"yargs": "^14.2.3"
4746
}
4847
}

package-lock.json

Lines changed: 5 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"react": "^17.0.1",
5454
"react-dom": "^17.0.2",
5555
"renamer": "^2.0.1",
56-
"svgo": "^2.8.0",
56+
"svgo": "2.8.2",
5757
"typescript": "4.1.6",
5858
"typescript-eslint": "7.18.0",
5959
"vitest": "^3.2.4",

packages/react-native-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"react": "^17.0.1",
3838
"react-native": "^0.68.0",
3939
"renamer": "^2.0.1",
40-
"svgo": "^2.8.0",
40+
"svgo": "2.8.2",
4141
"typescript": "4.1.6",
4242
"yargs": "^14.0.0"
4343
},

packages/svg-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"renamer": "^2.0.1",
2222
"replace": "^1.2.0",
2323
"shx": "^0.3.2",
24-
"svgo": "^2.8.0",
24+
"svgo": "2.8.2",
2525
"yargs": "^14.0.0"
2626
}
2727
}

packages/svg-sprites/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"renamer": "^2.0.1",
2525
"replace": "^1.2.0",
2626
"shx": "^0.3.2",
27-
"svgo": "^2.8.0",
27+
"svgo": "2.8.2",
2828
"svgstore": "^3.0.1",
2929
"yargs": "^14.0.0"
3030
}

0 commit comments

Comments
 (0)