1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-01-05 01:20:39 +02:00

Upgrade svglint to prevent silent exceptions (#3985)

* Upgrade svglint to prevent silent exceptions

* Update package-lock.json

* Downgrade package-lock.json lockfile vesion
This commit is contained in:
Álvaro Mondéjar 2020-11-22 11:01:20 +01:00 committed by GitHub
parent 017947c3e1
commit fdb7f86566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 783 additions and 2313 deletions

View File

@ -32,11 +32,6 @@ function sortObjectByValue(obj) {
.reduce((r, k) => Object.assign(r, { [k]: obj[k] }), {});
}
if (Array.prototype.flat === undefined) {
console.error(`Minimum NodeJS v11.15.0 is required, but you are running ${process.version}.`);
process.exit(1);
}
if (updateIgnoreFile) {
process.on('exit', () => {
// ensure object output order is consistent due to async svglint processing

3087
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
"jsonlint2": "1.7.1",
"npm-run-all": "4.1.5",
"svg-path-bounding-box": "1.0.4",
"svglint": "1.0.6",
"svglint": "1.0.7",
"svgo": "1.3.2",
"svgpath": "2.3.0",
"uglify-js": "3.11.6"