mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 01:44:12 +03:00
Update all dependencies (#10882)
* Update all dependencies * Update svg-path-segments syntax to v2 * Add `@inquirer/core` dependency --------- Co-authored-by: simple-icons[bot] <165065041+simple-icons[bot]@users.noreply.github.com> Co-authored-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
This commit is contained in:
parent
1ee0d9369f
commit
0ffa274973
2
.github/workflows/renovate.yml
vendored
2
.github/workflows/renovate.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
- name: Renovate
|
||||
uses: renovatebot/github-action@v40.1.4
|
||||
uses: renovatebot/github-action@v40.1.11
|
||||
with:
|
||||
configurationFile: .github/renovate.json5
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
|
1
.npmrc
1
.npmrc
@ -1,5 +1,6 @@
|
||||
package-lock=false
|
||||
save-exact=true
|
||||
save-dev=true
|
||||
|
||||
# Icons to lint with SVGLint on CI (see `lint` step on verify.yml workflow)
|
||||
icons=icons/*.svg
|
||||
|
19
package.json
19
package.json
@ -84,10 +84,11 @@
|
||||
"url": "https://opencollective.com/simple-icons"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@inquirer/prompts": "4.3.0",
|
||||
"@inquirer/core": "8.1.0",
|
||||
"@inquirer/prompts": "5.0.2",
|
||||
"chalk": "5.3.0",
|
||||
"editorconfig-checker": "5.1.5",
|
||||
"esbuild": "0.19.4",
|
||||
"esbuild": "0.20.2",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"fake-diff": "1.0.0",
|
||||
"fast-fuzzy": "1.12.0",
|
||||
@ -95,15 +96,15 @@
|
||||
"husky": "9.0.11",
|
||||
"inquirer-autocomplete-standalone": "0.8.1",
|
||||
"jsonschema": "1.4.1",
|
||||
"markdown-link-check": "3.11.2",
|
||||
"mocha": "10.2.0",
|
||||
"markdown-link-check": "3.12.1",
|
||||
"mocha": "10.4.0",
|
||||
"named-html-entities-json": "1.0.0",
|
||||
"svg-path-bbox": "1.2.5",
|
||||
"svg-path-segments": "1.0.0",
|
||||
"svglint": "2.4.0",
|
||||
"svgo": "3.0.2",
|
||||
"svg-path-bbox": "1.2.6",
|
||||
"svg-path-segments": "2.0.0",
|
||||
"svglint": "2.7.1",
|
||||
"svgo": "3.2.0",
|
||||
"svgpath": "2.6.0",
|
||||
"typescript": "5.2.2",
|
||||
"typescript": "5.4.5",
|
||||
"xo": "0.58.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
import process from 'node:process';
|
||||
import {ExitPromptError, checkbox, confirm, input} from '@inquirer/prompts';
|
||||
import {ExitPromptError} from '@inquirer/core';
|
||||
import {checkbox, confirm, input} from '@inquirer/prompts';
|
||||
import chalk from 'chalk';
|
||||
import {search} from 'fast-fuzzy';
|
||||
import getRelativeLuminance from 'get-relative-luminance';
|
||||
|
@ -424,9 +424,9 @@ const config = {
|
||||
let errorMessage =
|
||||
`found ${precisionMax} decimals in segment` +
|
||||
` "${iconPath.slice(segment.start, segment.end)}"`;
|
||||
if (segment.chained) {
|
||||
if (segment.chain !== undefined) {
|
||||
const readableChain = maybeShortenedWithEllipsis(
|
||||
iconPath.slice(segment.chainStart, segment.chainEnd),
|
||||
iconPath.slice(segment.chain.start, segment.chain.end),
|
||||
);
|
||||
errorMessage += ` of chain "${readableChain}"`;
|
||||
}
|
||||
@ -658,9 +658,9 @@ const config = {
|
||||
}
|
||||
}
|
||||
|
||||
if (segment.chained) {
|
||||
if (segment.chain !== undefined) {
|
||||
const readableChain = maybeShortenedWithEllipsis(
|
||||
iconPath.slice(segment.chainStart, segment.chainEnd),
|
||||
iconPath.slice(segment.chain.start, segment.chain.end),
|
||||
);
|
||||
errorMessage += ` in chain "${readableChain}"`;
|
||||
}
|
||||
@ -707,7 +707,7 @@ const config = {
|
||||
// SVG 1.1:
|
||||
// If a moveto is followed by multiple pairs of coordinates,
|
||||
// the subsequent pairs are treated as implicit lineto commands.
|
||||
if (!seg.chained || seg.chainStart === seg.start) {
|
||||
if (seg.chain === undefined || seg.chain.start === seg.start) {
|
||||
startPoint = undefined;
|
||||
}
|
||||
|
||||
@ -717,7 +717,7 @@ const config = {
|
||||
case 'm': {
|
||||
currentAbsCoord[0] = (currentAbsCoord[0] || 0) + parms[1];
|
||||
currentAbsCoord[1] = (currentAbsCoord[1] || 0) + parms[2];
|
||||
if (!seg.chained || seg.chainStart === seg.start) {
|
||||
if (seg.chain === undefined || seg.chain.start === seg.start) {
|
||||
startPoint = undefined;
|
||||
}
|
||||
|
||||
@ -886,9 +886,9 @@ const config = {
|
||||
segment.start,
|
||||
segment.end,
|
||||
)}" found`;
|
||||
if (segment.chained) {
|
||||
if (segment.chain !== undefined) {
|
||||
const readableChain = maybeShortenedWithEllipsis(
|
||||
iconPath.slice(segment.chainStart, segment.chainEnd),
|
||||
iconPath.slice(segment.chain.start, segment.chain.end),
|
||||
);
|
||||
errorMessage += ` in chain "${readableChain}"`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user