Skip to content

Commit a73603e

Browse files
Merge pull request #5761 from BitGo/BG-0000-fix-canvg
fix: force canvg resolution to 4.0.3
2 parents 4ca30fd + 168e56d commit a73603e

File tree

2 files changed

+12
-50
lines changed

2 files changed

+12
-50
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
"web3-utils": "4.2.1",
8585
"@polkadot/api": "14.1.1",
8686
"elliptic": "^6.6.1",
87-
"axios": "^1.8.2"
87+
"axios": "^1.8.2",
88+
"canvg": "4.0.3"
8889
},
8990
"workspaces": [
9091
"modules/*"

yarn.lock

Lines changed: 10 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7872,16 +7872,13 @@ caniuse-lite@^1.0.30001646, caniuse-lite@^1.0.30001688:
78727872
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001700.tgz#26cd429cf09b4fd4e745daf4916039c794d720f6"
78737873
integrity sha512-2S6XIXwaE7K7erT8dY+kLQcpa5ms63XlRkMkReXjle+kf6c5g38vyMl+Z5y8dSxOFDhcFe+nxnn261PLxBSQsQ==
78747874

7875-
canvg@^3.0.6:
7876-
version "3.0.10"
7877-
resolved "https://registry.npmjs.org/canvg/-/canvg-3.0.10.tgz#8e52a2d088b6ffa23ac78970b2a9eebfae0ef4b3"
7878-
integrity sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==
7875+
canvg@4.0.3, canvg@^3.0.6:
7876+
version "4.0.3"
7877+
resolved "https://registry.npmjs.org/canvg/-/canvg-4.0.3.tgz#1073a254ed9aed01a0ab53fb542c5bbecf7cf599"
7878+
integrity sha512-fKzMoMBwus3CWo1Uy8XJc4tqqn98RoRrGV6CsIkaNiQT5lOeHuMh4fOt+LXLzn2Wqtr4p/c2TOLz4xtu4oBlFA==
78797879
dependencies:
7880-
"@babel/runtime" "^7.12.5"
78817880
"@types/raf" "^3.4.0"
7882-
core-js "^3.8.3"
78837881
raf "^3.4.1"
7884-
regenerator-runtime "^0.13.7"
78857882
rgbcolor "^1.0.1"
78867883
stackblur-canvas "^2.0.0"
78877884
svg-pathdata "^6.0.3"
@@ -8699,7 +8696,7 @@ core-js-compat@^3.40.0:
86998696
dependencies:
87008697
browserslist "^4.24.3"
87018698

8702-
core-js@^3.6.0, core-js@^3.8.3:
8699+
core-js@^3.6.0:
87038700
version "3.40.0"
87048701
resolved "https://registry.npmjs.org/core-js/-/core-js-3.40.0.tgz#2773f6b06877d8eda102fc42f828176437062476"
87058702
integrity sha512-7vsMc/Lty6AGnn7uFpYT56QesI5D2Y/UkgKounk87OP9Z2H9Z8kj6jzcSGAxFmUtDOS0ntK6lbQz+Nsa0Jj6mQ==
@@ -12173,18 +12170,7 @@ html-minifier-terser@^6.0.2:
1217312170
tapable "^1.1.3"
1217412171
util.promisify "1.0.0"
1217512172

12176-
"html-webpack-plugin-5@npm:html-webpack-plugin@^5":
12177-
version "5.6.3"
12178-
resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.3.tgz#a31145f0fee4184d53a794f9513147df1e653685"
12179-
integrity sha512-QSf1yjtSAsmf7rYBV7XX86uua4W/vkhIt0xNXKbsi2foEeW7vjJQz4bhnpL3xH+l1ryl1680uNv968Z+X6jSYg==
12180-
dependencies:
12181-
"@types/html-minifier-terser" "^6.0.0"
12182-
html-minifier-terser "^6.0.2"
12183-
lodash "^4.17.21"
12184-
pretty-error "^4.0.0"
12185-
tapable "^2.0.0"
12186-
12187-
html-webpack-plugin@^5.5.0:
12173+
"html-webpack-plugin-5@npm:html-webpack-plugin@^5", html-webpack-plugin@^5.5.0:
1218812174
version "5.6.3"
1218912175
resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.3.tgz#a31145f0fee4184d53a794f9513147df1e653685"
1219012176
integrity sha512-QSf1yjtSAsmf7rYBV7XX86uua4W/vkhIt0xNXKbsi2foEeW7vjJQz4bhnpL3xH+l1ryl1680uNv968Z+X6jSYg==
@@ -17384,7 +17370,7 @@ regenerate@^1.4.2:
1738417370
resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a"
1738517371
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
1738617372

17387-
regenerator-runtime@^0.13.2, regenerator-runtime@^0.13.7:
17373+
regenerator-runtime@^0.13.2:
1738817374
version "0.13.11"
1738917375
resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9"
1739017376
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
@@ -18815,16 +18801,7 @@ string-argv@^0.3.1:
1881518801
resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6"
1881618802
integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==
1881718803

18818-
"string-width-cjs@npm:string-width@^4.2.0":
18819-
version "4.2.3"
18820-
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
18821-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
18822-
dependencies:
18823-
emoji-regex "^8.0.0"
18824-
is-fullwidth-code-point "^3.0.0"
18825-
strip-ansi "^6.0.1"
18826-
18827-
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
18804+
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
1882818805
version "4.2.3"
1882918806
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1883018807
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -18900,7 +18877,7 @@ string_decoder@~1.1.1:
1890018877
dependencies:
1890118878
safe-buffer "~5.1.0"
1890218879

18903-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
18880+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
1890418881
version "6.0.1"
1890518882
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1890618883
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -18914,13 +18891,6 @@ strip-ansi@^3.0.1:
1891418891
dependencies:
1891518892
ansi-regex "^2.0.0"
1891618893

18917-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
18918-
version "6.0.1"
18919-
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
18920-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
18921-
dependencies:
18922-
ansi-regex "^5.0.1"
18923-
1892418894
strip-ansi@^7.0.1:
1892518895
version "7.1.0"
1892618896
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
@@ -20770,7 +20740,7 @@ [email protected]:
2077020740
resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz#827d93c9ba23ee2019c3ffaff5c27fccea289e8b"
2077120741
integrity sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==
2077220742

20773-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
20743+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
2077420744
version "7.0.0"
2077520745
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
2077620746
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -20788,15 +20758,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0:
2078820758
string-width "^4.1.0"
2078920759
strip-ansi "^6.0.0"
2079020760

20791-
wrap-ansi@^7.0.0:
20792-
version "7.0.0"
20793-
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
20794-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
20795-
dependencies:
20796-
ansi-styles "^4.0.0"
20797-
string-width "^4.1.0"
20798-
strip-ansi "^6.0.0"
20799-
2080020761
wrap-ansi@^8.1.0:
2080120762
version "8.1.0"
2080220763
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)