From 7d3b1711b0f17bca1212f83649345679b5eaa249 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Apr 2023 07:40:58 +0000 Subject: [PATCH] chore(deps-dev): bump xo from 0.53.1 to 0.54.0 (#802) * chore(deps-dev): bump xo from 0.53.1 to 0.54.0 Bumps [xo](https://github.com/xojs/xo) from 0.53.1 to 0.54.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.53.1...v0.54.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * fix: linting issues --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: NicolasMerget --- .xo-config.cjs | 3 +- .../angular-example/src/app/app.module.ts | 1 - examples/angular-example/src/main.ts | 1 - output/vue/vue3/tsconfig.json | 1 + package-lock.json | 584 +++++++++--------- package.json | 2 +- packages/foundations/style-dictionary.js | 2 - .../angular-current-showcase/src/main.ts | 1 - showcases/angular-lts-showcase/src/main.ts | 1 - .../angular-showcase/src/app/app.module.ts | 1 - .../app/components/button/button.component.ts | 1 - .../src/app/components/default.component.ts | 1 - showcases/patternhub/pages/_app.tsx | 4 +- .../patternhub/scripts/get-code-files.js | 3 - showcases/react-showcase/src/app.tsx | 1 - showcases/react-showcase/src/main.tsx | 2 +- .../src/utils/navigation-item.tsx | 1 - showcases/vue-showcase/src/main.ts | 2 +- 18 files changed, 298 insertions(+), 314 deletions(-) diff --git a/.xo-config.cjs b/.xo-config.cjs index 40c32fe2d22..29cdc4079b7 100644 --- a/.xo-config.cjs +++ b/.xo-config.cjs @@ -37,7 +37,8 @@ module.exports = { '@typescript-eslint/no-unsafe-assignment': 0, // We don't need this tsc will handle it anyway '@typescript-eslint/no-unsafe-call': 0, // We don't need this tsc will handle it anyway '@typescript-eslint/naming-convention': 0, // Too much trouble for different frameworks in a monorepo - '@typescript-eslint/restrict-template-expressions': 0 // Legit it react + '@typescript-eslint/restrict-template-expressions': 0, // Legit it , + '@typescript-eslint/no-unsafe-argument': 0 // valid for app } } ], diff --git a/examples/angular-example/src/app/app.module.ts b/examples/angular-example/src/app/app.module.ts index 23fb7ea6b18..0b967f61e5a 100644 --- a/examples/angular-example/src/app/app.module.ts +++ b/examples/angular-example/src/app/app.module.ts @@ -1,6 +1,5 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; - import { DBButtonModule } from '@db-ui/ngx-components'; import { AppComponent } from './app.component'; diff --git a/examples/angular-example/src/main.ts b/examples/angular-example/src/main.ts index da3a2e711ab..00007972494 100644 --- a/examples/angular-example/src/main.ts +++ b/examples/angular-example/src/main.ts @@ -1,6 +1,5 @@ import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - import { AppModule } from './app/app.module'; import { environment } from './environments/environment'; diff --git a/output/vue/vue3/tsconfig.json b/output/vue/vue3/tsconfig.json index 350a0630212..f99126fc56c 100644 --- a/output/vue/vue3/tsconfig.json +++ b/output/vue/vue3/tsconfig.json @@ -18,6 +18,7 @@ "noUnusedParameters": false, "outDir": "dist", "removeComments": false, + "strictNullChecks": true, "sourceMap": true, "target": "esnext", "types": [], diff --git a/package-lock.json b/package-lock.json index 3f0435b7efa..e03afa2141e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "tslib": "^2.5.0", "typescript": "^4.9.5", "validate-branch-name": "^1.3.0", - "xo": "^0.53.1" + "xo": "^0.54.0" } }, "node_modules/@adobe/css-tools": { @@ -12509,9 +12509,9 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.7.0.tgz", - "integrity": "sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", + "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", "dev": true, "bin": { "eslint-config-prettier": "bin/cli.js" @@ -12539,37 +12539,27 @@ } }, "node_modules/eslint-formatter-pretty": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-4.1.0.tgz", - "integrity": "sha512-IsUTtGxF1hrH6lMWiSl1WbGaiP01eT6kzywdY1U+zLc0MP+nwEnUiS9UI8IaOTUhTeQJLlCEWIbXINBH4YJbBQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-5.0.0.tgz", + "integrity": "sha512-Uick451FoL22/wXqyScX3inW8ZlD/GQO7eFXj3bqb6N/ZtuuF00/CwSNIKLbFCJPrX5V4EdQBSgJ/UVnmLRnug==", "dev": true, "dependencies": { - "@types/eslint": "^7.2.13", + "@types/eslint": "^8.0.0", "ansi-escapes": "^4.2.1", "chalk": "^4.1.0", - "eslint-rule-docs": "^1.1.5", + "eslint-rule-docs": "^1.1.235", "log-symbols": "^4.0.0", "plur": "^4.0.0", "string-width": "^4.2.0", "supports-hyperlinks": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint-formatter-pretty/node_modules/@types/eslint": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.29.0.tgz", - "integrity": "sha512-VNcvioYDH8/FxaeTKkM4/TiTwt6pBV9E3OfGmvaw8tPl0rrHCJ4Ll15HRT+pMiFAf/MLQvAzC+6RzUMEL9Ceng==", - "dev": true, - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, "node_modules/eslint-formatter-pretty/node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -12787,9 +12777,9 @@ } }, "node_modules/eslint-plugin-ava": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-13.2.0.tgz", - "integrity": "sha512-i5B5izsEdERKQLruk1nIWzTTE7C26/ju8qQf7JeyRv32XT2lRMW0zMFZNhIrEf5/5VvpSz2rqrV7UcjClGbKsw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-14.0.0.tgz", + "integrity": "sha512-XmKT6hppaipwwnLVwwvQliSU6AF1QMHiNoLD5JQfzhUhf0jY7CO0O624fQrE+Y/fTb9vbW8r77nKf7M/oHulxw==", "dev": true, "dependencies": { "enhance-visitors": "^1.0.0", @@ -12802,10 +12792,10 @@ "resolve-from": "^5.0.0" }, "engines": { - "node": ">=12.22 <13 || >=14.17 <15 || >=16.4" + "node": ">=14.17 <15 || >=16.4" }, "peerDependencies": { - "eslint": ">=7.22.0" + "eslint": ">=8.26.0" } }, "node_modules/eslint-plugin-es": { @@ -12978,9 +12968,9 @@ } }, "node_modules/eslint-plugin-n": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.6.1.tgz", - "integrity": "sha512-R9xw9OtCRxxaxaszTQmQAlPgM+RdGjaL1akWuY/Fv9fRAi8Wj4CUKc6iYVG8QNRjRuo8/BqVYIpfqberJUEacA==", + "version": "15.7.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.7.0.tgz", + "integrity": "sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q==", "dev": true, "dependencies": { "builtins": "^5.0.1", @@ -13003,9 +12993,9 @@ } }, "node_modules/eslint-plugin-n/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.4.0.tgz", + "integrity": "sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -13133,24 +13123,26 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "44.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-44.0.2.tgz", - "integrity": "sha512-GLIDX1wmeEqpGaKcnMcqRvMVsoabeF0Ton0EX4Th5u6Kmf7RM9WBl705AXFEsns56ESkEs0uyelLuUTvz9Tr0w==", + "version": "46.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-46.0.0.tgz", + "integrity": "sha512-j07WkC+PFZwk8J33LYp6JMoHa1lXc1u6R45pbSAipjpfpb7KIGr17VE2D685zCxR5VL4cjrl65kTJflziQWMDA==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.19.1", - "ci-info": "^3.4.0", + "@eslint-community/eslint-utils": "^4.1.2", + "ci-info": "^3.6.1", "clean-regexp": "^1.0.0", - "eslint-utils": "^3.0.0", "esquery": "^1.4.0", "indent-string": "^4.0.0", "is-builtin-module": "^3.2.0", + "jsesc": "^3.0.2", "lodash": "^4.17.21", "pluralize": "^8.0.0", "read-pkg-up": "^7.0.1", "regexp-tree": "^0.1.24", + "regjsparser": "^0.9.1", "safe-regex": "^2.1.1", - "semver": "^7.3.7", + "semver": "^7.3.8", "strip-indent": "^3.0.0" }, "engines": { @@ -13160,7 +13152,34 @@ "url": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1" }, "peerDependencies": { - "eslint": ">=8.23.1" + "eslint": ">=8.28.0" + } + }, + "node_modules/eslint-plugin-unicorn/node_modules/jsesc": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eslint-plugin-unicorn/node_modules/semver": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.4.0.tgz", + "integrity": "sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/eslint-rule-docs": { @@ -14484,9 +14503,9 @@ } }, "node_modules/get-tsconfig": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.4.0.tgz", - "integrity": "sha512-0Gdjo/9+FzsYhXCEFueo2aY1z1tpXrxWZzP7k8ul9qt1U5o8rYJwTJYmaeHdrVosYIVYkOy2iwCJ9FdpocJhPQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.5.0.tgz", + "integrity": "sha512-MjhiaIWCJ1sAU4pIQ5i5OfOuHHxVo1oYeNsWTON7jxYkod8pHocXeh+SSbmu5OZZZK73B6cbJ2XADzXehLyovQ==", "dev": true, "funding": { "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" @@ -28416,9 +28435,9 @@ } }, "node_modules/to-absolute-glob": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", - "integrity": "sha512-rtwLUQEwT8ZeKQbyFJyomBRYXyE16U5VKuy0ftxLMK/PZb2fkOsg5r9kHdauuVDbsNdIBoC/HCthpidamQFXYA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-3.0.0.tgz", + "integrity": "sha512-loO/XEWTRqpfcpI7+Jr2RR2Umaaozx1t6OSVWtMi0oy5F/Fxg3IC+D/TToDnxyAGs7uZBGT/6XmyDUxgsObJXA==", "dev": true, "dependencies": { "is-absolute": "^1.0.0", @@ -30515,9 +30534,9 @@ } }, "node_modules/xo": { - "version": "0.53.1", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.53.1.tgz", - "integrity": "sha512-/2R8SPehv1UhiIqJ9uSvrAjslcoygICNsUlEb/Zf2V6rMtr7YCoggc6hlt6b/kbncpR989Roqt6AvEO779dFxw==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/xo/-/xo-0.54.0.tgz", + "integrity": "sha512-2YAVQqGOTZ+/ZthvfEdFjp1MoFy0i94s5QgVOhLuXnvvy7u+H1QO4KwecvSBNr5MuoG9WM2LRDkBabAwtCauSA==", "bundleDependencies": [ "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", @@ -30526,41 +30545,41 @@ "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.3", - "@typescript-eslint/eslint-plugin": "^5.43.0", - "@typescript-eslint/parser": "^5.43.0", + "@typescript-eslint/eslint-plugin": "^5.57.1", + "@typescript-eslint/parser": "^5.57.1", "arrify": "^3.0.0", - "cosmiconfig": "^7.1.0", + "cosmiconfig": "^8.1.3", "define-lazy-prop": "^3.0.0", - "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint": "^8.37.0", + "eslint-config-prettier": "^8.8.0", "eslint-config-xo": "^0.43.1", - "eslint-config-xo-typescript": "^0.55.0", - "eslint-formatter-pretty": "^4.1.0", + "eslint-config-xo-typescript": "^0.57.0", + "eslint-formatter-pretty": "^5.0.0", "eslint-import-resolver-webpack": "^0.13.2", - "eslint-plugin-ava": "^13.2.0", + "eslint-plugin-ava": "^14.0.0", "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-n": "^15.5.1", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-n": "^15.7.0", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-unicorn": "^44.0.2", - "esm-utils": "^4.1.0", + "eslint-plugin-unicorn": "^46.0.0", + "esm-utils": "^4.1.2", "find-cache-dir": "^4.0.0", "find-up": "^6.3.0", "get-stdin": "^9.0.0", + "get-tsconfig": "^4.5.0", "globby": "^13.1.2", "imurmurhash": "^0.1.4", "json-stable-stringify-without-jsonify": "^1.0.1", - "json5": "^2.2.1", "lodash-es": "^4.17.21", "meow": "^11.0.0", "micromatch": "^4.0.5", "open-editor": "^4.0.0", - "prettier": "^2.7.1", + "prettier": "^2.8.7", "semver": "^7.3.8", "slash": "^5.0.0", - "to-absolute-glob": "^2.0.2", - "typescript": "^4.9.3" + "to-absolute-glob": "^3.0.0", + "typescript": "^5.0.3" }, "bin": { "xo": "cli.js" @@ -30572,6 +30591,30 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/xo/node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/xo/node_modules/@eslint-community/regexpp": { + "version": "4.5.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, "node_modules/xo/node_modules/@eslint/eslintrc": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", @@ -30643,18 +30686,19 @@ "license": "MIT" }, "node_modules/xo/node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "5.43.0", - "@typescript-eslint/type-utils": "5.43.0", - "@typescript-eslint/utils": "5.43.0", + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.57.1", + "@typescript-eslint/type-utils": "5.57.1", + "@typescript-eslint/utils": "5.57.1", "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", - "regexpp": "^3.2.0", "semver": "^7.3.7", "tsutils": "^3.21.0" }, @@ -30676,14 +30720,14 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/parser": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "5.43.0", - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/typescript-estree": "5.43.0", + "@typescript-eslint/scope-manager": "5.57.1", + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/typescript-estree": "5.57.1", "debug": "^4.3.4" }, "engines": { @@ -30703,13 +30747,13 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/scope-manager": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/visitor-keys": "5.43.0" + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/visitor-keys": "5.57.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -30720,13 +30764,13 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/type-utils": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "5.43.0", - "@typescript-eslint/utils": "5.43.0", + "@typescript-eslint/typescript-estree": "5.57.1", + "@typescript-eslint/utils": "5.57.1", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -30747,7 +30791,7 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/types": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "MIT", @@ -30760,13 +30804,13 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/visitor-keys": "5.43.0", + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/visitor-keys": "5.57.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -30816,18 +30860,18 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/utils": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.43.0", - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/typescript-estree": "5.43.0", + "@typescript-eslint/scope-manager": "5.57.1", + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/typescript-estree": "5.57.1", "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0", "semver": "^7.3.7" }, "engines": { @@ -30842,12 +30886,12 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.43.0", + "version": "5.57.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/types": "5.57.1", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -30949,22 +30993,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/xo/node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/xo/node_modules/debug": { "version": "4.3.4", "dev": true, @@ -31025,7 +31053,7 @@ } }, "node_modules/xo/node_modules/eslint-config-xo-typescript": { - "version": "0.55.0", + "version": "0.57.0", "dev": true, "inBundle": true, "license": "MIT", @@ -31036,8 +31064,8 @@ "url": "https://github.com/sponsors/sindresorhus" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": ">=5.43.0", - "@typescript-eslint/parser": ">=5.43.0", + "@typescript-eslint/eslint-plugin": ">=5.57.0", + "@typescript-eslint/parser": ">=5.57.0", "eslint": ">=8.0.0", "typescript": ">=4.4" } @@ -31064,40 +31092,16 @@ "node": ">=4.0" } }, - "node_modules/xo/node_modules/eslint-utils": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, - "node_modules/xo/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10" - } - }, "node_modules/xo/node_modules/eslint-visitor-keys": { - "version": "3.3.0", + "version": "3.4.0", "dev": true, "inBundle": true, "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/xo/node_modules/esrecurse": { @@ -31138,7 +31142,7 @@ } }, "node_modules/xo/node_modules/fastq": { - "version": "1.13.0", + "version": "1.15.0", "dev": true, "inBundle": true, "license": "ISC", @@ -31217,6 +31221,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/xo/node_modules/grapheme-splitter": { + "version": "1.0.4", + "dev": true, + "inBundle": true, + "license": "MIT" + }, "node_modules/xo/node_modules/hosted-git-info": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", @@ -31239,7 +31249,7 @@ } }, "node_modules/xo/node_modules/ignore": { - "version": "5.2.0", + "version": "5.2.4", "dev": true, "inBundle": true, "license": "MIT", @@ -31295,18 +31305,6 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, - "node_modules/xo/node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/xo/node_modules/locate-path": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", @@ -31585,18 +31583,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/xo/node_modules/regexpp": { - "version": "3.2.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, "node_modules/xo/node_modules/reusify": { "version": "1.0.4", "dev": true, @@ -31657,6 +31643,12 @@ "node": ">=10" } }, + "node_modules/xo/node_modules/semver/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, "node_modules/xo/node_modules/slash": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-5.0.0.tgz", @@ -31741,11 +31733,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/xo/node_modules/yallist": { - "version": "4.0.0", + "node_modules/xo/node_modules/typescript": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, "inBundle": true, - "license": "ISC" + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=12.20" + } }, "node_modules/xo/node_modules/yargs-parser": { "version": "21.1.1", @@ -49522,9 +49522,9 @@ } }, "eslint-config-prettier": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.7.0.tgz", - "integrity": "sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", + "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", "dev": true, "requires": {} }, @@ -49538,31 +49538,21 @@ } }, "eslint-formatter-pretty": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-4.1.0.tgz", - "integrity": "sha512-IsUTtGxF1hrH6lMWiSl1WbGaiP01eT6kzywdY1U+zLc0MP+nwEnUiS9UI8IaOTUhTeQJLlCEWIbXINBH4YJbBQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-5.0.0.tgz", + "integrity": "sha512-Uick451FoL22/wXqyScX3inW8ZlD/GQO7eFXj3bqb6N/ZtuuF00/CwSNIKLbFCJPrX5V4EdQBSgJ/UVnmLRnug==", "dev": true, "requires": { - "@types/eslint": "^7.2.13", + "@types/eslint": "^8.0.0", "ansi-escapes": "^4.2.1", "chalk": "^4.1.0", - "eslint-rule-docs": "^1.1.5", + "eslint-rule-docs": "^1.1.235", "log-symbols": "^4.0.0", "plur": "^4.0.0", "string-width": "^4.2.0", "supports-hyperlinks": "^2.0.0" }, "dependencies": { - "@types/eslint": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.29.0.tgz", - "integrity": "sha512-VNcvioYDH8/FxaeTKkM4/TiTwt6pBV9E3OfGmvaw8tPl0rrHCJ4Ll15HRT+pMiFAf/MLQvAzC+6RzUMEL9Ceng==", - "dev": true, - "requires": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, "ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -49729,9 +49719,9 @@ } }, "eslint-plugin-ava": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-13.2.0.tgz", - "integrity": "sha512-i5B5izsEdERKQLruk1nIWzTTE7C26/ju8qQf7JeyRv32XT2lRMW0zMFZNhIrEf5/5VvpSz2rqrV7UcjClGbKsw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-14.0.0.tgz", + "integrity": "sha512-XmKT6hppaipwwnLVwwvQliSU6AF1QMHiNoLD5JQfzhUhf0jY7CO0O624fQrE+Y/fTb9vbW8r77nKf7M/oHulxw==", "dev": true, "requires": { "enhance-visitors": "^1.0.0", @@ -49871,9 +49861,9 @@ } }, "eslint-plugin-n": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.6.1.tgz", - "integrity": "sha512-R9xw9OtCRxxaxaszTQmQAlPgM+RdGjaL1akWuY/Fv9fRAi8Wj4CUKc6iYVG8QNRjRuo8/BqVYIpfqberJUEacA==", + "version": "15.7.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.7.0.tgz", + "integrity": "sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q==", "dev": true, "requires": { "builtins": "^5.0.1", @@ -49887,9 +49877,9 @@ }, "dependencies": { "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.4.0.tgz", + "integrity": "sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -49977,25 +49967,44 @@ "requires": {} }, "eslint-plugin-unicorn": { - "version": "44.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-44.0.2.tgz", - "integrity": "sha512-GLIDX1wmeEqpGaKcnMcqRvMVsoabeF0Ton0EX4Th5u6Kmf7RM9WBl705AXFEsns56ESkEs0uyelLuUTvz9Tr0w==", + "version": "46.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-46.0.0.tgz", + "integrity": "sha512-j07WkC+PFZwk8J33LYp6JMoHa1lXc1u6R45pbSAipjpfpb7KIGr17VE2D685zCxR5VL4cjrl65kTJflziQWMDA==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.19.1", - "ci-info": "^3.4.0", + "@eslint-community/eslint-utils": "^4.1.2", + "ci-info": "^3.6.1", "clean-regexp": "^1.0.0", - "eslint-utils": "^3.0.0", "esquery": "^1.4.0", "indent-string": "^4.0.0", "is-builtin-module": "^3.2.0", + "jsesc": "^3.0.2", "lodash": "^4.17.21", "pluralize": "^8.0.0", "read-pkg-up": "^7.0.1", "regexp-tree": "^0.1.24", + "regjsparser": "^0.9.1", "safe-regex": "^2.1.1", - "semver": "^7.3.7", + "semver": "^7.3.8", "strip-indent": "^3.0.0" + }, + "dependencies": { + "jsesc": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true + }, + "semver": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.4.0.tgz", + "integrity": "sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } } }, "eslint-rule-docs": { @@ -50996,9 +51005,9 @@ } }, "get-tsconfig": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.4.0.tgz", - "integrity": "sha512-0Gdjo/9+FzsYhXCEFueo2aY1z1tpXrxWZzP7k8ul9qt1U5o8rYJwTJYmaeHdrVosYIVYkOy2iwCJ9FdpocJhPQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.5.0.tgz", + "integrity": "sha512-MjhiaIWCJ1sAU4pIQ5i5OfOuHHxVo1oYeNsWTON7jxYkod8pHocXeh+SSbmu5OZZZK73B6cbJ2XADzXehLyovQ==", "dev": true }, "git-raw-commits": { @@ -61287,9 +61296,9 @@ } }, "to-absolute-glob": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", - "integrity": "sha512-rtwLUQEwT8ZeKQbyFJyomBRYXyE16U5VKuy0ftxLMK/PZb2fkOsg5r9kHdauuVDbsNdIBoC/HCthpidamQFXYA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-3.0.0.tgz", + "integrity": "sha512-loO/XEWTRqpfcpI7+Jr2RR2Umaaozx1t6OSVWtMi0oy5F/Fxg3IC+D/TToDnxyAGs7uZBGT/6XmyDUxgsObJXA==", "dev": true, "requires": { "is-absolute": "^1.0.0", @@ -62844,49 +62853,62 @@ "dev": true }, "xo": { - "version": "0.53.1", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.53.1.tgz", - "integrity": "sha512-/2R8SPehv1UhiIqJ9uSvrAjslcoygICNsUlEb/Zf2V6rMtr7YCoggc6hlt6b/kbncpR989Roqt6AvEO779dFxw==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/xo/-/xo-0.54.0.tgz", + "integrity": "sha512-2YAVQqGOTZ+/ZthvfEdFjp1MoFy0i94s5QgVOhLuXnvvy7u+H1QO4KwecvSBNr5MuoG9WM2LRDkBabAwtCauSA==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.3", - "@typescript-eslint/eslint-plugin": "^5.43.0", - "@typescript-eslint/parser": "^5.43.0", + "@typescript-eslint/eslint-plugin": "^5.57.1", + "@typescript-eslint/parser": "^5.57.1", "arrify": "^3.0.0", - "cosmiconfig": "^7.1.0", + "cosmiconfig": "^8.1.3", "define-lazy-prop": "^3.0.0", - "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint": "^8.37.0", + "eslint-config-prettier": "^8.8.0", "eslint-config-xo": "^0.43.1", - "eslint-config-xo-typescript": "^0.55.0", - "eslint-formatter-pretty": "^4.1.0", + "eslint-config-xo-typescript": "^0.57.0", + "eslint-formatter-pretty": "^5.0.0", "eslint-import-resolver-webpack": "^0.13.2", - "eslint-plugin-ava": "^13.2.0", + "eslint-plugin-ava": "^14.0.0", "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-n": "^15.5.1", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-n": "^15.7.0", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-unicorn": "^44.0.2", - "esm-utils": "^4.1.0", + "eslint-plugin-unicorn": "^46.0.0", + "esm-utils": "^4.1.2", "find-cache-dir": "^4.0.0", "find-up": "^6.3.0", "get-stdin": "^9.0.0", + "get-tsconfig": "^4.5.0", "globby": "^13.1.2", "imurmurhash": "^0.1.4", "json-stable-stringify-without-jsonify": "^1.0.1", - "json5": "^2.2.1", "lodash-es": "^4.17.21", "meow": "^11.0.0", "micromatch": "^4.0.5", "open-editor": "^4.0.0", - "prettier": "^2.7.1", + "prettier": "^2.8.7", "semver": "^7.3.8", "slash": "^5.0.0", - "to-absolute-glob": "^2.0.2", - "typescript": "^4.9.3" + "to-absolute-glob": "^3.0.0", + "typescript": "^5.0.3" }, "dependencies": { + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "bundled": true, + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + } + }, + "@eslint-community/regexpp": { + "version": "4.5.0", + "bundled": true, + "dev": true + }, "@eslint/eslintrc": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", @@ -62938,64 +62960,65 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.43.0", - "@typescript-eslint/type-utils": "5.43.0", - "@typescript-eslint/utils": "5.43.0", + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.57.1", + "@typescript-eslint/type-utils": "5.57.1", + "@typescript-eslint/utils": "5.57.1", "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", - "regexpp": "^3.2.0", "semver": "^7.3.7", "tsutils": "^3.21.0" } }, "@typescript-eslint/parser": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.43.0", - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/typescript-estree": "5.43.0", + "@typescript-eslint/scope-manager": "5.57.1", + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/typescript-estree": "5.57.1", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/visitor-keys": "5.43.0" + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/visitor-keys": "5.57.1" } }, "@typescript-eslint/type-utils": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.43.0", - "@typescript-eslint/utils": "5.43.0", + "@typescript-eslint/typescript-estree": "5.57.1", + "@typescript-eslint/utils": "5.57.1", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/visitor-keys": "5.43.0", + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/visitor-keys": "5.57.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -63024,26 +63047,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { + "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.43.0", - "@typescript-eslint/types": "5.43.0", - "@typescript-eslint/typescript-estree": "5.43.0", + "@typescript-eslint/scope-manager": "5.57.1", + "@typescript-eslint/types": "5.57.1", + "@typescript-eslint/typescript-estree": "5.57.1", "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.43.0", + "version": "5.57.1", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/types": "5.57.1", "eslint-visitor-keys": "^3.3.0" } }, @@ -63104,19 +63127,6 @@ } } }, - "cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - } - }, "debug": { "version": "4.3.4", "bundled": true, @@ -63153,7 +63163,7 @@ } }, "eslint-config-xo-typescript": { - "version": "0.55.0", + "version": "0.57.0", "bundled": true, "dev": true, "requires": {} @@ -63174,23 +63184,8 @@ } } }, - "eslint-utils": { - "version": "3.0.0", - "bundled": true, - "dev": true, - "requires": { - "eslint-visitor-keys": "^2.0.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "2.1.0", - "bundled": true, - "dev": true - } - } - }, "eslint-visitor-keys": { - "version": "3.3.0", + "version": "3.4.0", "bundled": true, "dev": true }, @@ -63220,7 +63215,7 @@ } }, "fastq": { - "version": "1.13.0", + "version": "1.15.0", "bundled": true, "dev": true, "requires": { @@ -63274,6 +63269,11 @@ } } }, + "grapheme-splitter": { + "version": "1.0.4", + "bundled": true, + "dev": true + }, "hosted-git-info": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", @@ -63292,7 +63292,7 @@ } }, "ignore": { - "version": "5.2.0", + "version": "5.2.4", "bundled": true, "dev": true }, @@ -63326,12 +63326,6 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, - "json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true - }, "locate-path": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", @@ -63507,11 +63501,6 @@ "strip-indent": "^4.0.0" } }, - "regexpp": { - "version": "3.2.0", - "bundled": true, - "dev": true - }, "reusify": { "version": "1.0.4", "bundled": true, @@ -63540,6 +63529,11 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "bundled": true, + "dev": true } } }, @@ -63591,8 +63585,10 @@ "integrity": "sha512-htXWckxlT6U4+ilVgweNliPqlsVSSucbxVexRYllyMVJDtf5rTjv6kF/s+qAd4QSL1BZcnJPEJavYBPQiWuZDA==", "dev": true }, - "yallist": { - "version": "4.0.0", + "typescript": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "bundled": true, "dev": true }, diff --git a/package.json b/package.json index 65b58ee28b7..2e02f15539a 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "tslib": "^2.5.0", "typescript": "^4.9.5", "validate-branch-name": "^1.3.0", - "xo": "^0.53.1" + "xo": "^0.54.0" }, "validate-branch-name": { "pattern": "((dbux-3)|(dependabot-)|^((test|feat|fix|chore|docs|refactor|style|ci|perf|[0-9]+)\\-[a-zA-Z0-9\\-]+)$)", diff --git a/packages/foundations/style-dictionary.js b/packages/foundations/style-dictionary.js index 726f1a90381..e0aaf80431f 100644 --- a/packages/foundations/style-dictionary.js +++ b/packages/foundations/style-dictionary.js @@ -1,12 +1,10 @@ const StyleDictionary = require('style-dictionary').extend( 'style-dictionary.config.json' ); - const minifyDictionary = require('style-dictionary/lib/common/formatHelpers/minifyDictionary'); const transforms = require('style-dictionary/lib/common/transforms'); const SCSSPlaceholders = require('./scripts/color-placeholders-generator.js'); const SCSSClasses = require('./scripts/color-classes-generator.js'); - const generateTypography = require('./scripts/scss-typography-generator.js'); const generateScaling = require('./scripts/scss-scaling-generator.js'); diff --git a/showcases/angular-current-showcase/src/main.ts b/showcases/angular-current-showcase/src/main.ts index 5695a452962..8e028900d97 100644 --- a/showcases/angular-current-showcase/src/main.ts +++ b/showcases/angular-current-showcase/src/main.ts @@ -1,6 +1,5 @@ import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - import { AppModule } from '../../angular-showcase/src/app/app.module'; import { environment } from './environments/environment'; diff --git a/showcases/angular-lts-showcase/src/main.ts b/showcases/angular-lts-showcase/src/main.ts index 5695a452962..8e028900d97 100644 --- a/showcases/angular-lts-showcase/src/main.ts +++ b/showcases/angular-lts-showcase/src/main.ts @@ -1,6 +1,5 @@ import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - import { AppModule } from '../../angular-showcase/src/app/app.module'; import { environment } from './environments/environment'; diff --git a/showcases/angular-showcase/src/app/app.module.ts b/showcases/angular-showcase/src/app/app.module.ts index 50820f3df1d..6c8d90f6344 100644 --- a/showcases/angular-showcase/src/app/app.module.ts +++ b/showcases/angular-showcase/src/app/app.module.ts @@ -1,7 +1,6 @@ import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; - import { DBButtonModule, DBCardModule, diff --git a/showcases/angular-showcase/src/app/components/button/button.component.ts b/showcases/angular-showcase/src/app/components/button/button.component.ts index 06669c5b01e..99e80e03b15 100644 --- a/showcases/angular-showcase/src/app/components/button/button.component.ts +++ b/showcases/angular-showcase/src/app/components/button/button.component.ts @@ -1,5 +1,4 @@ import { Component } from '@angular/core'; - import defaultComponentVariants from '../../../../../shared/button.json'; @Component({ diff --git a/showcases/angular-showcase/src/app/components/default.component.ts b/showcases/angular-showcase/src/app/components/default.component.ts index 16c134ebee9..f308d3a7052 100644 --- a/showcases/angular-showcase/src/app/components/default.component.ts +++ b/showcases/angular-showcase/src/app/components/default.component.ts @@ -1,6 +1,5 @@ import { Component, type OnInit, Input, TemplateRef } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; - import type { DefaultComponentProps, DefaultComponentVariants diff --git a/showcases/patternhub/pages/_app.tsx b/showcases/patternhub/pages/_app.tsx index eb99006a130..db9ddb597c8 100644 --- a/showcases/patternhub/pages/_app.tsx +++ b/showcases/patternhub/pages/_app.tsx @@ -1,8 +1,8 @@ import Script from 'next/script'; +import type { AppProps } from 'next/app'; +import '@code-hike/mdx/dist/index.css'; import '../styles/globals.scss'; import '../../showcase-styles.css'; -import '@code-hike/mdx/dist/index.css'; -import type { AppProps } from 'next/app'; export default function App({ Component, pageProps }: AppProps) { return ( diff --git a/showcases/patternhub/scripts/get-code-files.js b/showcases/patternhub/scripts/get-code-files.js index 50a071569b2..3be2a407ee5 100644 --- a/showcases/patternhub/scripts/get-code-files.js +++ b/showcases/patternhub/scripts/get-code-files.js @@ -1,10 +1,7 @@ /* eslint-disable unicorn/prefer-logical-operator-over-ternary */ import FS from 'node:fs'; - import prettier from 'prettier'; - import prettier0 from 'prettier/parser-babel.js'; - import { allExamples } from './generated'; const sharedPath = '../shared'; diff --git a/showcases/react-showcase/src/app.tsx b/showcases/react-showcase/src/app.tsx index 9aea9d82db8..eb92c8d176e 100644 --- a/showcases/react-showcase/src/app.tsx +++ b/showcases/react-showcase/src/app.tsx @@ -1,7 +1,6 @@ import type { ChangeEvent } from 'react'; import { Link, Outlet } from 'react-router-dom'; import { DBBrand, DBHeader, DBPage } from '../../../output/react/src'; - import { COLORS, TONALITIES diff --git a/showcases/react-showcase/src/main.tsx b/showcases/react-showcase/src/main.tsx index bdb3674a29b..d01aafe94af 100644 --- a/showcases/react-showcase/src/main.tsx +++ b/showcases/react-showcase/src/main.tsx @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; -import './index.scss'; import { HashRouter, Navigate, Route, Routes } from 'react-router-dom'; +import './index.scss'; import App from './app'; import { NAVIGATION_ITEMS } from './utils/navigation-item'; diff --git a/showcases/react-showcase/src/utils/navigation-item.tsx b/showcases/react-showcase/src/utils/navigation-item.tsx index 47aacff5a91..0fe08b40029 100644 --- a/showcases/react-showcase/src/utils/navigation-item.tsx +++ b/showcases/react-showcase/src/utils/navigation-item.tsx @@ -1,5 +1,4 @@ import RadioComponent from '../components/radio'; - import AlertComponent from '../components/alert'; import ButtonComponent from '../components/button'; import InputComponent from '../components/input'; diff --git a/showcases/vue-showcase/src/main.ts b/showcases/vue-showcase/src/main.ts index 0ca8e153e3f..09648e95b42 100644 --- a/showcases/vue-showcase/src/main.ts +++ b/showcases/vue-showcase/src/main.ts @@ -1,6 +1,6 @@ import { createApp } from 'vue'; -import './index.scss'; import { createRouter, createWebHashHistory } from 'vue-router'; +import './index.scss'; import App from './App.vue'; import { navigationItems } from './utils/navigation-items';