Skip to content

Commit 15cfefc

Browse files
authored
chore: bump deps (withfig#2103)
1 parent 06287c8 commit 15cfefc

File tree

10 files changed

+717
-607
lines changed

10 files changed

+717
-607
lines changed

dangerfile.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
Node,
1111
PropertyAssignment,
1212
ScriptTarget,
13-
SourceFile,
1413
TransformerFactory,
1514
visitEachChild,
1615
visitNode,
@@ -19,7 +18,7 @@ import {
1918
const URL_REGEXP =
2019
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/;
2120

22-
export const specTransformer: TransformerFactory<SourceFile> = (context) => {
21+
export const specTransformer: TransformerFactory<Node> = (context) => {
2322
return (sourceFile) => {
2423
const visitor = (node: Node) => {
2524
if (isPropertyAssignment(node)) {

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,33 +65,33 @@
6565
"repository": "https://github.com/withfig/autocomplete",
6666
"devDependencies": {
6767
"@fig/eslint-config-autocomplete": "^1.2.1",
68-
"@types/node": "^20.4.8",
68+
"@types/node": "^20.7.1",
6969
"@types/progress": "^2.0.5",
70-
"@types/react": "^18.2.18",
71-
"@types/react-dom": "^18.2.7",
72-
"@typescript-eslint/eslint-plugin": "^5.62.0",
73-
"@typescript-eslint/parser": "^5.62.0",
74-
"@vitejs/plugin-react": "^4.0.4",
70+
"@types/react": "^18.2.23",
71+
"@types/react-dom": "^18.2.8",
72+
"@typescript-eslint/eslint-plugin": "^6.7.3",
73+
"@typescript-eslint/parser": "^6.7.3",
74+
"@vitejs/plugin-react": "^4.1.0",
7575
"@withfig/autocomplete-tools": "^2.7.10",
7676
"@withfig/autocomplete-types": "^1.28.0",
77-
"autoprefixer": "^10.4.14",
77+
"autoprefixer": "^10.4.16",
7878
"chalk": "^5.3.0",
7979
"chokidar": "^3.5.3",
8080
"cors": "^2.8.5",
81-
"danger": "^11.2.8",
82-
"esbuild": "^0.18.19",
83-
"eslint": "^8.46.0",
81+
"danger": "^11.3.0",
82+
"esbuild": "^0.19.4",
83+
"eslint": "^8.50.0",
8484
"express": "^4.18.2",
85-
"glob": "^10.3.3",
85+
"glob": "^10.3.10",
8686
"husky": "^8.0.3",
87-
"lint-staged": "^13.2.3",
88-
"postcss": "^8.4.27",
89-
"prettier": "^2.8.8",
87+
"lint-staged": "^14.0.1",
88+
"postcss": "^8.4.31",
89+
"prettier": "^3.0.3",
9090
"pretty-quick": "^3.1.3",
9191
"progress": "^2.0.3",
9292
"tailwindcss": "^3.3.3",
9393
"ts-node": "^10.9.1",
94-
"typescript": "^4.9.5",
94+
"typescript": "~5.0.0",
9595
"vite": "^4.4.9",
9696
"vite-plugin-externals": "^0.6.2"
9797
},
@@ -104,7 +104,7 @@
104104
"react-dom": "^18.2.0",
105105
"semver": "^7.5.4",
106106
"strip-json-comments": "^5.0.1",
107-
"yaml": "^2.3.1"
107+
"yaml": "^2.3.2"
108108
},
109109
"resolutions": {
110110
"word-wrap": "1.2.4"

src/composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const searchGenerator: Fig.Generator = {
5252
name: item.name,
5353
description: item.description,
5454
icon: "📦",
55-
} as Fig.Suggestion)
55+
}) as Fig.Suggestion
5656
) as Fig.Suggestion[];
5757
} catch (e) {
5858
return [];

src/fig/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const themesGenerator: Fig.Generator = {
104104
({
105105
name: theme.replace(".json", ""),
106106
icon: "🎨",
107-
} as Fig.Suggestion)
107+
}) as Fig.Suggestion
108108
)
109109
.concat(builtinThemes);
110110
},

src/npm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const createNpmSearchHandler =
6767
// create versions
6868
versions.push(
6969
...Object.keys(data.versions)
70-
.map((version) => ({ name: version } as Fig.Suggestion))
70+
.map((version) => ({ name: version }) as Fig.Suggestion)
7171
.reverse()
7272
);
7373
return versions;

src/rich.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const paddingDisplayName = (
353353
top: MaybeString,
354354
right: MaybeString,
355355
bottom: MaybeString,
356-
left: MaybeString
356+
left: MaybeString,
357357
]
358358
) => {
359359
const [top, right, bottom, left] = args.map((string) => pad(string));

src/twilio.ts

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
326326
insertValue: "CD",
327327
icon: "🗺",
328328
},
329-
{ name: "CF - Central African Republic", insertValue: "CF", icon: "🗺" },
329+
{
330+
name: "CF - Central African Republic",
331+
insertValue: "CF",
332+
icon: "🗺",
333+
},
330334
{ name: "CG - Congo", insertValue: "CG", icon: "🗺" },
331335
{ name: "CH - Switzerland", insertValue: "CH", icon: "🗺" },
332336
{ name: "CI - Côte d'Ivoire", insertValue: "CI", icon: "🗺" },
@@ -474,7 +478,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
474478
{ name: "MM - Myanmar", insertValue: "MM", icon: "🗺" },
475479
{ name: "MN - Mongolia", insertValue: "MN", icon: "🗺" },
476480
{ name: "MO - Macao", insertValue: "MO", icon: "🗺" },
477-
{ name: "MP - Northern Mariana Islands", insertValue: "MP", icon: "🗺" },
481+
{
482+
name: "MP - Northern Mariana Islands",
483+
insertValue: "MP",
484+
icon: "🗺",
485+
},
478486
{ name: "MQ - Martinique", insertValue: "MQ", icon: "🗺" },
479487
{ name: "MR - Mauritania", insertValue: "MR", icon: "🗺" },
480488
{ name: "MS - Montserrat", insertValue: "MS", icon: "🗺" },
@@ -551,7 +559,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
551559
},
552560
{ name: "SY - Syrian Arab Republic", insertValue: "SY", icon: "🗺" },
553561
{ name: "SZ - Eswatini", insertValue: "SZ", icon: "🗺" },
554-
{ name: "TC - Turks and Caicos Islands", insertValue: "TC", icon: "🗺" },
562+
{
563+
name: "TC - Turks and Caicos Islands",
564+
insertValue: "TC",
565+
icon: "🗺",
566+
},
555567
{ name: "TD - Chad", insertValue: "TD", icon: "🗺" },
556568
{
557569
name: "TF - French Southern Territories",
@@ -586,7 +598,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
586598
insertValue: "UM",
587599
icon: "🗺",
588600
},
589-
{ name: "US - United States of America", insertValue: "US", icon: "🗺" },
601+
{
602+
name: "US - United States of America",
603+
insertValue: "US",
604+
icon: "🗺",
605+
},
590606
{ name: "UY - Uruguay", insertValue: "UY", icon: "🗺" },
591607
{ name: "UZ - Uzbekistan", insertValue: "UZ", icon: "🗺" },
592608
{ name: "VA - Holy See", insertValue: "VA", icon: "🗺" },
@@ -600,7 +616,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
600616
insertValue: "VE",
601617
icon: "🗺",
602618
},
603-
{ name: "VG - Virgin Islands (British)", insertValue: "VG", icon: "🗺" },
619+
{
620+
name: "VG - Virgin Islands (British)",
621+
insertValue: "VG",
622+
icon: "🗺",
623+
},
604624
{ name: "VI - Virgin Islands (U.S.)", insertValue: "VI", icon: "🗺" },
605625
{ name: "VN - Viet Nam", insertValue: "VN", icon: "🗺" },
606626
{ name: "VU - Vanuatu", insertValue: "VU", icon: "🗺" },

src/yarn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export const createCLIsGenerator: Fig.Generator = {
340340
({
341341
name: item.package.name.substring(7),
342342
description: item.package.description,
343-
} as Fig.Suggestion)
343+
}) as Fig.Suggestion
344344
) as Fig.Suggestion[];
345345
} catch (e) {
346346
return [];

src/yo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const yeomanGeneratorList: Fig.Generator = {
4242
description: `Help of "${toTitleCase(item)}" generator`,
4343
},
4444
],
45-
} as Fig.Suggestion)
45+
}) as Fig.Suggestion
4646
) as Fig.Suggestion[];
4747
} catch (e) {
4848
console.error(e);

0 commit comments

Comments
 (0)