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:
parent
017947c3e1
commit
fdb7f86566
@ -32,11 +32,6 @@ function sortObjectByValue(obj) {
|
|||||||
.reduce((r, k) => Object.assign(r, { [k]: obj[k] }), {});
|
.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) {
|
if (updateIgnoreFile) {
|
||||||
process.on('exit', () => {
|
process.on('exit', () => {
|
||||||
// ensure object output order is consistent due to async svglint processing
|
// ensure object output order is consistent due to async svglint processing
|
||||||
|
3087
package-lock.json
generated
3087
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -23,7 +23,7 @@
|
|||||||
"jsonlint2": "1.7.1",
|
"jsonlint2": "1.7.1",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
"svg-path-bounding-box": "1.0.4",
|
"svg-path-bounding-box": "1.0.4",
|
||||||
"svglint": "1.0.6",
|
"svglint": "1.0.7",
|
||||||
"svgo": "1.3.2",
|
"svgo": "1.3.2",
|
||||||
"svgpath": "2.3.0",
|
"svgpath": "2.3.0",
|
||||||
"uglify-js": "3.11.6"
|
"uglify-js": "3.11.6"
|
||||||
|
Loading…
Reference in New Issue
Block a user