build: Update SVGO to v3.0.2

svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: I6889eb9898c664a42c398ba810f5402f11b03fcf
This commit is contained in:
Volker E 2023-06-15 08:29:13 -07:00 committed by Jdlrobson
parent c50d87484d
commit e3f0eda1a3
3 changed files with 144 additions and 223 deletions

View file

@ -1,11 +1,12 @@
/** /**
* SVGO Configuration * SVGO Configuration
* Compatible to v2.4.0+ * Compatible to v3.0.0+
* Recommended options from: * Recommended options from:
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration * https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
*/ */
// eslint-disable-next-line strict 'use strict';
module.exports = { module.exports = {
plugins: [ plugins: [
{ {
@ -13,7 +14,7 @@ module.exports = {
name: 'preset-default', name: 'preset-default',
params: { params: {
overrides: { overrides: {
cleanupIDs: false, cleanupIds: false,
removeDesc: false, removeDesc: false,
removeTitle: false, removeTitle: false,
removeViewBox: false, removeViewBox: false,
@ -30,7 +31,7 @@ module.exports = {
'sortAttrs' 'sortAttrs'
], ],
// Set whitespace according to Wikimedia Coding Conventions. // Set whitespace according to Wikimedia Coding Conventions.
// @see https://github.com/svg/svgo/blob/v2.8.0/lib/stringifier.js#L41 for available options. // @see https://github.com/svg/svgo/blob/main/lib/stringifier.js#L39 for available options.
js2svg: { js2svg: {
eol: 'lf', eol: 'lf',
finalNewline: true, finalNewline: true,

356
package-lock.json generated
View file

@ -18,7 +18,7 @@
"mwbot": "2.0.0", "mwbot": "2.0.0",
"pre-commit": "1.2.2", "pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.15.0", "stylelint-config-wikimedia": "0.15.0",
"svgo": "2.8.0", "svgo": "3.0.2",
"wdio-mediawiki": "2.1.0", "wdio-mediawiki": "2.1.0",
"wmf-a11y": "0.0.0" "wmf-a11y": "0.0.0"
} }
@ -3038,15 +3038,15 @@
} }
}, },
"node_modules/css-select": { "node_modules/css-select": {
"version": "4.3.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
"integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"boolbase": "^1.0.0", "boolbase": "^1.0.0",
"css-what": "^6.0.1", "css-what": "^6.1.0",
"domhandler": "^4.3.1", "domhandler": "^5.0.2",
"domutils": "^2.8.0", "domutils": "^3.0.1",
"nth-check": "^2.0.1" "nth-check": "^2.0.1"
}, },
"funding": { "funding": {
@ -3088,25 +3088,16 @@
"dev": true "dev": true
}, },
"node_modules/css-tree": { "node_modules/css-tree": {
"version": "1.1.3", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
"integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"mdn-data": "2.0.14", "mdn-data": "2.0.30",
"source-map": "^0.6.1" "source-map-js": "^1.0.1"
}, },
"engines": { "engines": {
"node": ">=8.0.0" "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
}
},
"node_modules/css-tree/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true,
"engines": {
"node": ">=0.10.0"
} }
}, },
"node_modules/css-value": { "node_modules/css-value": {
@ -3140,17 +3131,38 @@
} }
}, },
"node_modules/csso": { "node_modules/csso": {
"version": "4.2.0", "version": "5.0.5",
"resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz", "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",
"integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"css-tree": "^1.1.2" "css-tree": "~2.2.0"
}, },
"engines": { "engines": {
"node": ">=8.0.0" "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
"npm": ">=7.0.0"
} }
}, },
"node_modules/csso/node_modules/css-tree": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",
"integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",
"dev": true,
"dependencies": {
"mdn-data": "2.0.28",
"source-map-js": "^1.0.1"
},
"engines": {
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/csso/node_modules/mdn-data": {
"version": "2.0.28",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",
"integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",
"dev": true
},
"node_modules/d": { "node_modules/d": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
@ -3468,14 +3480,14 @@
} }
}, },
"node_modules/dom-serializer": { "node_modules/dom-serializer": {
"version": "1.4.1", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"domelementtype": "^2.0.1", "domelementtype": "^2.3.0",
"domhandler": "^4.2.0", "domhandler": "^5.0.2",
"entities": "^2.0.0" "entities": "^4.2.0"
}, },
"funding": { "funding": {
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
@ -3494,12 +3506,12 @@
] ]
}, },
"node_modules/domhandler": { "node_modules/domhandler": {
"version": "4.3.1", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"domelementtype": "^2.2.0" "domelementtype": "^2.3.0"
}, },
"engines": { "engines": {
"node": ">= 4" "node": ">= 4"
@ -3509,14 +3521,14 @@
} }
}, },
"node_modules/domutils": { "node_modules/domutils": {
"version": "2.8.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz",
"integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"dom-serializer": "^1.0.1", "dom-serializer": "^2.0.0",
"domelementtype": "^2.2.0", "domelementtype": "^2.3.0",
"domhandler": "^4.2.0" "domhandler": "^5.0.3"
}, },
"funding": { "funding": {
"url": "https://github.com/fb55/domutils?sponsor=1" "url": "https://github.com/fb55/domutils?sponsor=1"
@ -3622,10 +3634,13 @@
} }
}, },
"node_modules/entities": { "node_modules/entities": {
"version": "2.2.0", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"dev": true, "dev": true,
"engines": {
"node": ">=0.12"
},
"funding": { "funding": {
"url": "https://github.com/fb55/entities?sponsor=1" "url": "https://github.com/fb55/entities?sponsor=1"
} }
@ -5236,61 +5251,6 @@
"entities": "^4.4.0" "entities": "^4.4.0"
} }
}, },
"node_modules/htmlparser2/node_modules/dom-serializer": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"dev": true,
"dependencies": {
"domelementtype": "^2.3.0",
"domhandler": "^5.0.2",
"entities": "^4.2.0"
},
"funding": {
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
"node_modules/htmlparser2/node_modules/domhandler": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"dev": true,
"dependencies": {
"domelementtype": "^2.3.0"
},
"engines": {
"node": ">= 4"
},
"funding": {
"url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/htmlparser2/node_modules/domutils": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz",
"integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==",
"dev": true,
"dependencies": {
"dom-serializer": "^2.0.0",
"domelementtype": "^2.3.0",
"domhandler": "^5.0.1"
},
"funding": {
"url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/htmlparser2/node_modules/entities": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz",
"integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==",
"dev": true,
"engines": {
"node": ">=0.12"
},
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
"node_modules/http-cache-semantics": { "node_modules/http-cache-semantics": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
@ -7137,9 +7097,9 @@
} }
}, },
"node_modules/mdn-data": { "node_modules/mdn-data": {
"version": "2.0.14", "version": "2.0.30",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
"integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
"dev": true "dev": true
}, },
"node_modules/mdurl": { "node_modules/mdurl": {
@ -9541,13 +9501,6 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/stable": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
"integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
"deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility",
"dev": true
},
"node_modules/stack-chain": { "node_modules/stack-chain": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-2.0.0.tgz", "resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-2.0.0.tgz",
@ -9855,24 +9808,27 @@
"dev": true "dev": true
}, },
"node_modules/svgo": { "node_modules/svgo": {
"version": "2.8.0", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.0.2.tgz",
"integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", "integrity": "sha512-Z706C1U2pb1+JGP48fbazf3KxHrWOsLme6Rv7imFBn5EnuanDW1GPaA/P1/dvObE670JDePC3mnj0k0B7P0jjQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@trysound/sax": "0.2.0", "@trysound/sax": "0.2.0",
"commander": "^7.2.0", "commander": "^7.2.0",
"css-select": "^4.1.3", "css-select": "^5.1.0",
"css-tree": "^1.1.3", "css-tree": "^2.2.1",
"csso": "^4.2.0", "csso": "^5.0.5",
"picocolors": "^1.0.0", "picocolors": "^1.0.0"
"stable": "^0.1.8"
}, },
"bin": { "bin": {
"svgo": "bin/svgo" "svgo": "bin/svgo"
}, },
"engines": { "engines": {
"node": ">=10.13.0" "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/svgo"
} }
}, },
"node_modules/svgo/node_modules/commander": { "node_modules/svgo/node_modules/commander": {
@ -13383,15 +13339,15 @@
} }
}, },
"css-select": { "css-select": {
"version": "4.3.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
"integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==",
"dev": true, "dev": true,
"requires": { "requires": {
"boolbase": "^1.0.0", "boolbase": "^1.0.0",
"css-what": "^6.0.1", "css-what": "^6.1.0",
"domhandler": "^4.3.1", "domhandler": "^5.0.2",
"domutils": "^2.8.0", "domutils": "^3.0.1",
"nth-check": "^2.0.1" "nth-check": "^2.0.1"
} }
}, },
@ -13432,21 +13388,13 @@
} }
}, },
"css-tree": { "css-tree": {
"version": "1.1.3", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
"integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
"dev": true, "dev": true,
"requires": { "requires": {
"mdn-data": "2.0.14", "mdn-data": "2.0.30",
"source-map": "^0.6.1" "source-map-js": "^1.0.1"
},
"dependencies": {
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
}
} }
}, },
"css-value": { "css-value": {
@ -13468,12 +13416,30 @@
"dev": true "dev": true
}, },
"csso": { "csso": {
"version": "4.2.0", "version": "5.0.5",
"resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz", "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",
"integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"css-tree": "^1.1.2" "css-tree": "~2.2.0"
},
"dependencies": {
"css-tree": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",
"integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",
"dev": true,
"requires": {
"mdn-data": "2.0.28",
"source-map-js": "^1.0.1"
}
},
"mdn-data": {
"version": "2.0.28",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",
"integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",
"dev": true
}
} }
}, },
"d": { "d": {
@ -13720,14 +13686,14 @@
} }
}, },
"dom-serializer": { "dom-serializer": {
"version": "1.4.1", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"dev": true, "dev": true,
"requires": { "requires": {
"domelementtype": "^2.0.1", "domelementtype": "^2.3.0",
"domhandler": "^4.2.0", "domhandler": "^5.0.2",
"entities": "^2.0.0" "entities": "^4.2.0"
} }
}, },
"domelementtype": { "domelementtype": {
@ -13737,23 +13703,23 @@
"dev": true "dev": true
}, },
"domhandler": { "domhandler": {
"version": "4.3.1", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"dev": true, "dev": true,
"requires": { "requires": {
"domelementtype": "^2.2.0" "domelementtype": "^2.3.0"
} }
}, },
"domutils": { "domutils": {
"version": "2.8.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz",
"integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
"dev": true, "dev": true,
"requires": { "requires": {
"dom-serializer": "^1.0.1", "dom-serializer": "^2.0.0",
"domelementtype": "^2.2.0", "domelementtype": "^2.3.0",
"domhandler": "^4.2.0" "domhandler": "^5.0.3"
} }
}, },
"duplexer2": { "duplexer2": {
@ -13853,9 +13819,9 @@
} }
}, },
"entities": { "entities": {
"version": "2.2.0", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"dev": true "dev": true
}, },
"envinfo": { "envinfo": {
@ -15057,45 +15023,6 @@
"domhandler": "^5.0.3", "domhandler": "^5.0.3",
"domutils": "^3.0.1", "domutils": "^3.0.1",
"entities": "^4.4.0" "entities": "^4.4.0"
},
"dependencies": {
"dom-serializer": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"dev": true,
"requires": {
"domelementtype": "^2.3.0",
"domhandler": "^5.0.2",
"entities": "^4.2.0"
}
},
"domhandler": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"dev": true,
"requires": {
"domelementtype": "^2.3.0"
}
},
"domutils": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz",
"integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==",
"dev": true,
"requires": {
"dom-serializer": "^2.0.0",
"domelementtype": "^2.3.0",
"domhandler": "^5.0.1"
}
},
"entities": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz",
"integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==",
"dev": true
}
} }
}, },
"http-cache-semantics": { "http-cache-semantics": {
@ -16513,9 +16440,9 @@
"dev": true "dev": true
}, },
"mdn-data": { "mdn-data": {
"version": "2.0.14", "version": "2.0.30",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
"integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
"dev": true "dev": true
}, },
"mdurl": { "mdurl": {
@ -18337,12 +18264,6 @@
"tweetnacl": "~0.14.0" "tweetnacl": "~0.14.0"
} }
}, },
"stable": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
"integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
"dev": true
},
"stack-chain": { "stack-chain": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-2.0.0.tgz", "resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-2.0.0.tgz",
@ -18581,18 +18502,17 @@
"dev": true "dev": true
}, },
"svgo": { "svgo": {
"version": "2.8.0", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.0.2.tgz",
"integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", "integrity": "sha512-Z706C1U2pb1+JGP48fbazf3KxHrWOsLme6Rv7imFBn5EnuanDW1GPaA/P1/dvObE670JDePC3mnj0k0B7P0jjQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@trysound/sax": "0.2.0", "@trysound/sax": "0.2.0",
"commander": "^7.2.0", "commander": "^7.2.0",
"css-select": "^4.1.3", "css-select": "^5.1.0",
"css-tree": "^1.1.3", "css-tree": "^2.2.1",
"csso": "^4.2.0", "csso": "^5.0.5",
"picocolors": "^1.0.0", "picocolors": "^1.0.0"
"stable": "^0.1.8"
}, },
"dependencies": { "dependencies": {
"commander": { "commander": {

View file

@ -28,7 +28,7 @@
"mwbot": "2.0.0", "mwbot": "2.0.0",
"pre-commit": "1.2.2", "pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.15.0", "stylelint-config-wikimedia": "0.15.0",
"svgo": "2.8.0", "svgo": "3.0.2",
"wdio-mediawiki": "2.1.0", "wdio-mediawiki": "2.1.0",
"wmf-a11y": "0.0.0" "wmf-a11y": "0.0.0"
} }