chore: bump deps (#2103)

This commit is contained in:
Grant G
2023-09-28 16:24:16 -07:00
committed by GitHub
parent 06287c8b42
commit 15cfefc63c
10 changed files with 716 additions and 606 deletions

View File

@@ -10,7 +10,6 @@ import {
Node,
PropertyAssignment,
ScriptTarget,
SourceFile,
TransformerFactory,
visitEachChild,
visitNode,
@@ -19,7 +18,7 @@ import {
const URL_REGEXP =
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/;
export const specTransformer: TransformerFactory<SourceFile> = (context) => {
export const specTransformer: TransformerFactory<Node> = (context) => {
return (sourceFile) => {
const visitor = (node: Node) => {
if (isPropertyAssignment(node)) {

View File

@@ -65,33 +65,33 @@
"repository": "https://github.com/withfig/autocomplete",
"devDependencies": {
"@fig/eslint-config-autocomplete": "^1.2.1",
"@types/node": "^20.4.8",
"@types/node": "^20.7.1",
"@types/progress": "^2.0.5",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.0.4",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-react": "^4.1.0",
"@withfig/autocomplete-tools": "^2.7.10",
"@withfig/autocomplete-types": "^1.28.0",
"autoprefixer": "^10.4.14",
"autoprefixer": "^10.4.16",
"chalk": "^5.3.0",
"chokidar": "^3.5.3",
"cors": "^2.8.5",
"danger": "^11.2.8",
"esbuild": "^0.18.19",
"eslint": "^8.46.0",
"danger": "^11.3.0",
"esbuild": "^0.19.4",
"eslint": "^8.50.0",
"express": "^4.18.2",
"glob": "^10.3.3",
"glob": "^10.3.10",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"postcss": "^8.4.27",
"prettier": "^2.8.8",
"lint-staged": "^14.0.1",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"pretty-quick": "^3.1.3",
"progress": "^2.0.3",
"tailwindcss": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"typescript": "~5.0.0",
"vite": "^4.4.9",
"vite-plugin-externals": "^0.6.2"
},
@@ -104,7 +104,7 @@
"react-dom": "^18.2.0",
"semver": "^7.5.4",
"strip-json-comments": "^5.0.1",
"yaml": "^2.3.1"
"yaml": "^2.3.2"
},
"resolutions": {
"word-wrap": "1.2.4"

View File

@@ -52,7 +52,7 @@ const searchGenerator: Fig.Generator = {
name: item.name,
description: item.description,
icon: "📦",
} as Fig.Suggestion)
}) as Fig.Suggestion
) as Fig.Suggestion[];
} catch (e) {
return [];

View File

@@ -104,7 +104,7 @@ export const themesGenerator: Fig.Generator = {
({
name: theme.replace(".json", ""),
icon: "🎨",
} as Fig.Suggestion)
}) as Fig.Suggestion
)
.concat(builtinThemes);
},

View File

@@ -67,7 +67,7 @@ export const createNpmSearchHandler =
// create versions
versions.push(
...Object.keys(data.versions)
.map((version) => ({ name: version } as Fig.Suggestion))
.map((version) => ({ name: version }) as Fig.Suggestion)
.reverse()
);
return versions;

View File

@@ -353,7 +353,7 @@ const paddingDisplayName = (
top: MaybeString,
right: MaybeString,
bottom: MaybeString,
left: MaybeString
left: MaybeString,
]
) => {
const [top, right, bottom, left] = args.map((string) => pad(string));

View File

@@ -326,7 +326,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
insertValue: "CD",
icon: "🗺",
},
{ name: "CF - Central African Republic", insertValue: "CF", icon: "🗺" },
{
name: "CF - Central African Republic",
insertValue: "CF",
icon: "🗺",
},
{ name: "CG - Congo", insertValue: "CG", icon: "🗺" },
{ name: "CH - Switzerland", insertValue: "CH", icon: "🗺" },
{ name: "CI - Côte d'Ivoire", insertValue: "CI", icon: "🗺" },
@@ -474,7 +478,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
{ name: "MM - Myanmar", insertValue: "MM", icon: "🗺" },
{ name: "MN - Mongolia", insertValue: "MN", icon: "🗺" },
{ name: "MO - Macao", insertValue: "MO", icon: "🗺" },
{ name: "MP - Northern Mariana Islands", insertValue: "MP", icon: "🗺" },
{
name: "MP - Northern Mariana Islands",
insertValue: "MP",
icon: "🗺",
},
{ name: "MQ - Martinique", insertValue: "MQ", icon: "🗺" },
{ name: "MR - Mauritania", insertValue: "MR", icon: "🗺" },
{ name: "MS - Montserrat", insertValue: "MS", icon: "🗺" },
@@ -551,7 +559,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
},
{ name: "SY - Syrian Arab Republic", insertValue: "SY", icon: "🗺" },
{ name: "SZ - Eswatini", insertValue: "SZ", icon: "🗺" },
{ name: "TC - Turks and Caicos Islands", insertValue: "TC", icon: "🗺" },
{
name: "TC - Turks and Caicos Islands",
insertValue: "TC",
icon: "🗺",
},
{ name: "TD - Chad", insertValue: "TD", icon: "🗺" },
{
name: "TF - French Southern Territories",
@@ -586,7 +598,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
insertValue: "UM",
icon: "🗺",
},
{ name: "US - United States of America", insertValue: "US", icon: "🗺" },
{
name: "US - United States of America",
insertValue: "US",
icon: "🗺",
},
{ name: "UY - Uruguay", insertValue: "UY", icon: "🗺" },
{ name: "UZ - Uzbekistan", insertValue: "UZ", icon: "🗺" },
{ name: "VA - Holy See", insertValue: "VA", icon: "🗺" },
@@ -600,7 +616,11 @@ const phoneNumbersBuyOptions: Fig.Option[] = [
insertValue: "VE",
icon: "🗺",
},
{ name: "VG - Virgin Islands (British)", insertValue: "VG", icon: "🗺" },
{
name: "VG - Virgin Islands (British)",
insertValue: "VG",
icon: "🗺",
},
{ name: "VI - Virgin Islands (U.S.)", insertValue: "VI", icon: "🗺" },
{ name: "VN - Viet Nam", insertValue: "VN", icon: "🗺" },
{ name: "VU - Vanuatu", insertValue: "VU", icon: "🗺" },

View File

@@ -340,7 +340,7 @@ export const createCLIsGenerator: Fig.Generator = {
({
name: item.package.name.substring(7),
description: item.package.description,
} as Fig.Suggestion)
}) as Fig.Suggestion
) as Fig.Suggestion[];
} catch (e) {
return [];

View File

@@ -42,7 +42,7 @@ const yeomanGeneratorList: Fig.Generator = {
description: `Help of "${toTitleCase(item)}" generator`,
},
],
} as Fig.Suggestion)
}) as Fig.Suggestion
) as Fig.Suggestion[];
} catch (e) {
console.error(e);

1245
yarn.lock

File diff suppressed because it is too large Load Diff