chore: update lint

zio/stable
Anthony Fu 2023-03-19 13:12:20 +01:00
parent c7558ee7c5
commit 9465c2fe89
20 changed files with 164 additions and 124 deletions

View File

@ -187,7 +187,6 @@ onDeactivated(cancelEdit)
</CommonTooltip> </CommonTooltip>
<CommonTooltip :content="$t('list.delete')" no-auto-focus> <CommonTooltip :content="$t('list.delete')" no-auto-focus>
<button <button
ref="delete"
type="button" type="button"
text-sm p2 border-1 transition-colors text-sm p2 border-1 transition-colors
border-dark hover:text-primary border-dark hover:text-primary

View File

@ -63,7 +63,7 @@ const { isSwiping, lengthX, lengthY, direction } = useSwipe(target, {
}) })
useGesture({ useGesture({
onPinch({ offset: [distance, angle] }) { onPinch({ offset: [distance, _angle] }) {
set({ scale: Math.max(0.5, 1 + distance / 200) }) set({ scale: Math.max(0.5, 1 + distance / 200) })
}, },
onMove({ movement: [x, y], dragging, pinching }) { onMove({ movement: [x, y], dragging, pinching }) {

View File

@ -6,7 +6,6 @@ const { busy, oauth, singleInstanceServer } = useSignIn()
<VDropdown v-if="isHydrated && currentUser" sm:hidden> <VDropdown v-if="isHydrated && currentUser" sm:hidden>
<div style="-webkit-touch-callout: none;"> <div style="-webkit-touch-callout: none;">
<AccountAvatar <AccountAvatar
ref="avatar"
:account="currentUser.account" :account="currentUser.account"
h-8 h-8
w-8 w-8
@ -16,7 +15,7 @@ const { busy, oauth, singleInstanceServer } = useSignIn()
</div> </div>
<template #popper="{ hide }"> <template #popper="{ hide }">
<UserSwitcher ref="switcher" @click="hide()" /> <UserSwitcher @click="hide()" />
</template> </template>
</VDropdown> </VDropdown>
<template v-else> <template v-else>

View File

@ -8,7 +8,7 @@ const { items } = defineProps<{
const count = $computed(() => items.items.length) const count = $computed(() => items.items.length)
const isExpanded = ref(false) const isExpanded = ref(false)
const lang = $computed(() => { const lang = $computed(() => {
return count > 1 || count === 0 ? undefined : items.items[0].status?.language return (count > 1 || count === 0) ? undefined : items.items[0].status?.language
}) })
</script> </script>

View File

@ -88,7 +88,11 @@ function groupItems(items: mastodon.v1.Notification[]): NotificationSlot[] {
} }
like[notification.type === 'reblog' ? 'reblog' : 'favourite'] = notification like[notification.type === 'reblog' ? 'reblog' : 'favourite'] = notification
} }
likes.sort((a, b) => a.reblog ? !b.reblog || (a.favourite && !b.favourite) ? -1 : 0 : 0) likes.sort((a, b) => a.reblog
? (!b.reblog || (a.favourite && !b.favourite))
? -1
: 0
: 0)
results.push({ results.push({
id: `grouped-${id++}`, id: `grouped-${id++}`,
type: 'grouped-reblogs-and-favourites', type: 'grouped-reblogs-and-favourites',

View File

@ -48,7 +48,7 @@ const saveSettings = async () => {
animateSave = true animateSave = true
try { try {
const subscription = await updateSubscription() await updateSubscription()
} }
catch (err) { catch (err) {
// todo: handle error // todo: handle error

View File

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
const props = defineProps<{ defineProps<{
max: number max: number
length: number length: number
}>() }>()

View File

@ -81,7 +81,7 @@ const characterCount = $computed(() => {
for (const [fullMatch] of text.matchAll(linkRegex)) for (const [fullMatch] of text.matchAll(linkRegex))
length -= fullMatch.length - Math.min(maxLength, fullMatch.length) length -= fullMatch.length - Math.min(maxLength, fullMatch.length)
for (const [fullMatch, before, handle, username] of text.matchAll(countableMentionRegex)) for (const [fullMatch, before, _handle, username] of text.matchAll(countableMentionRegex))
length -= fullMatch.length - (before + username).length - 1 // - 1 for the @ length -= fullMatch.length - (before + username).length - 1 // - 1 for the @
if (draft.mentions) { if (draft.mentions) {

View File

@ -10,8 +10,6 @@ const props = withDefaults(defineProps<{
actions: true, actions: true,
}) })
const userSettings = useUserSettings()
const status = $computed(() => { const status = $computed(() => {
if (props.status.reblog && props.status.reblog) if (props.status.reblog && props.status.reblog)
return props.status.reblog return props.status.reblog
@ -25,8 +23,6 @@ const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => `${getDisplayName(status.account)} ${t('common.in')} ${t('app_name')}: "${removeHTMLTags(status.content) || ''}"`, title: () => `${getDisplayName(status.account)} ${t('common.in')} ${t('app_name')}: "${removeHTMLTags(status.content) || ''}"`,
}) })
const isDM = $computed(() => status.visibility === 'direct')
</script> </script>
<template> <template>

View File

@ -6,7 +6,7 @@ const emit = defineEmits<{
}>() }>()
const all = useUsers() const all = useUsers()
const { busy, singleInstanceServer, oauth } = useSignIn() const { singleInstanceServer, oauth } = useSignIn()
const sorted = computed(() => { const sorted = computed(() => {
return [ return [

View File

@ -115,7 +115,7 @@ export const useCommandRegistry = defineStore('command', () => {
.filter(cmd => (cmd.parent ?? '') === scope) .filter(cmd => (cmd.parent ?? '') === scope)
if (query) { if (query) {
const fuse = lastScope === scope && lastFuse const fuse = (lastScope === scope && lastFuse)
? lastFuse ? lastFuse
: new Fuse(cmds, { : new Fuse(cmds, {
keys: ['scope', 'name', 'description'], keys: ['scope', 'name', 'description'],

View File

@ -10,7 +10,7 @@ import ContentCode from '~/components/content/ContentCode.vue'
import ContentMentionGroup from '~/components/content/ContentMentionGroup.vue' import ContentMentionGroup from '~/components/content/ContentMentionGroup.vue'
import AccountHoverWrapper from '~/components/account/AccountHoverWrapper.vue' import AccountHoverWrapper from '~/components/account/AccountHoverWrapper.vue'
function getTexualAstComponents(astChildren: Node[]): string { function getTextualAstComponents(astChildren: Node[]): string {
return astChildren return astChildren
.filter(({ type }) => type === TEXT_NODE) .filter(({ type }) => type === TEXT_NODE)
.map(({ value }) => value) .map(({ value }) => value)
@ -27,7 +27,7 @@ export function contentToVNode(
): VNode { ): VNode {
let tree = parseMastodonHTML(content, options) let tree = parseMastodonHTML(content, options)
const textContents = getTexualAstComponents(tree.children) const textContents = getTextualAstComponents(tree.children)
// if the username only contains emojis, we should probably show the emojis anyway to avoid a blank name // if the username only contains emojis, we should probably show the emojis anyway to avoid a blank name
if (options?.hideEmojis && textContents.length === 0) if (options?.hideEmojis && textContents.length === 0)
@ -46,8 +46,8 @@ function nodeToVNode(node: Node): VNode | string | null {
if ('children' in node) { if ('children' in node) {
if (node.name === 'a' && (node.attributes.href?.startsWith('/') || node.attributes.href?.startsWith('.'))) { if (node.name === 'a' && (node.attributes.href?.startsWith('/') || node.attributes.href?.startsWith('.'))) {
node.attributes.to = node.attributes.href node.attributes.to = node.attributes.href
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { href, target, ...attrs } = node.attributes const { href: _href, target: _target, ...attrs } = node.attributes
return h( return h(
RouterLink as any, RouterLink as any,
attrs, attrs,
@ -107,7 +107,9 @@ function handleCodeBlock(el: Node) {
const codeEl = el.children[0] as Node const codeEl = el.children[0] as Node
const classes = codeEl.attributes.class as string const classes = codeEl.attributes.class as string
const lang = classes?.split(/\s/g).find(i => i.startsWith('language-'))?.replace('language-', '') const lang = classes?.split(/\s/g).find(i => i.startsWith('language-'))?.replace('language-', '')
const code = codeEl.children && codeEl.children.length > 0 ? recursiveTreeToText(codeEl) : '' const code = (codeEl.children && codeEl.children.length > 0)
? recursiveTreeToText(codeEl)
: ''
return h(ContentCode, { lang, code: encodeURIComponent(code) }) return h(ContentCode, { lang, code: encodeURIComponent(code) })
} }
} }

View File

@ -4,7 +4,9 @@ import { STORAGE_KEY_DRAFTS } from '~/constants'
import type { Draft, DraftMap } from '~/types' import type { Draft, DraftMap } from '~/types'
import type { Mutable } from '~/types/utils' import type { Mutable } from '~/types/utils'
export const currentUserDrafts = process.server || process.test ? computed<DraftMap>(() => ({})) : useUserLocalStorage<DraftMap>(STORAGE_KEY_DRAFTS, () => ({})) export const currentUserDrafts = (process.server || process.test)
? computed<DraftMap>(() => ({}))
: useUserLocalStorage<DraftMap>(STORAGE_KEY_DRAFTS, () => ({}))
export const builtinDraftKeys = [ export const builtinDraftKeys = [
'dialog', 'dialog',

View File

@ -52,7 +52,7 @@ export function setupPageHeader() {
return titleTemplate return titleTemplate
}, },
link: process.client && useAppConfig().pwaEnabled link: (process.client && useAppConfig().pwaEnabled)
? () => [{ ? () => [{
key: 'webmanifest', key: 'webmanifest',
rel: 'manifest', rel: 'manifest',

View File

@ -1,4 +1,4 @@
import { rm } from 'fs/promises' import { rm } from 'node:fs/promises'
import { addImports, addImportsSources, addPlugin, createResolver, defineNuxtModule, useNuxt } from '@nuxt/kit' import { addImports, addImportsSources, addPlugin, createResolver, defineNuxtModule, useNuxt } from '@nuxt/kit'
export default defineNuxtModule({ export default defineNuxtModule({

View File

@ -107,7 +107,7 @@
"workbox-window": "^6.5.4" "workbox-window": "^6.5.4"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.34.1", "@antfu/eslint-config": "^0.37.0",
"@antfu/ni": "^0.19.0", "@antfu/ni": "^0.19.0",
"@types/chroma-js": "^2.1.4", "@types/chroma-js": "^2.1.4",
"@types/file-saver": "^2.0.5", "@types/file-saver": "^2.0.5",

View File

@ -1,9 +1,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { mastodon } from 'masto' import type { mastodon } from 'masto'
import { ofetch } from 'ofetch'
import { useForm } from 'slimeform' import { useForm } from 'slimeform'
import { parse } from 'ultrahtml' import { parse } from 'ultrahtml'
import type { Component } from 'vue'
definePageMeta({ definePageMeta({
middleware: 'auth', middleware: 'auth',
@ -27,7 +25,7 @@ const onlineSrc = $computed(() => ({
header: account?.header || '', header: account?.header || '',
})) }))
const { form, reset, submitter, isDirty, dirtyFields, isError } = useForm({ const { form, reset, submitter, isDirty, isError } = useForm({
form: () => { form: () => {
// For complex types of objects, a deep copy is required to ensure correct comparison of initial and modified values // For complex types of objects, a deep copy is required to ensure correct comparison of initial and modified values
const fieldsAttributes = Array.from({ length: maxAccountFieldCount.value }, (_, i) => { const fieldsAttributes = Array.from({ length: maxAccountFieldCount.value }, (_, i) => {

View File

@ -4,13 +4,13 @@ export default defineNuxtPlugin(() => {
publicServer.value = params.server as string || useRuntimeConfig().public.defaultServer publicServer.value = params.server as string || useRuntimeConfig().public.defaultServer
const masto = createMasto() const masto = createMasto()
const user = typeof query.server === 'string' && typeof query.token === 'string' const user = (typeof query.server === 'string' && typeof query.token === 'string')
? { ? {
server: query.server, server: query.server,
token: query.token, token: query.token,
vapidKey: typeof query.vapid_key === 'string' ? query.vapid_key : undefined, vapidKey: typeof query.vapid_key === 'string' ? query.vapid_key : undefined,
} }
: currentUser.value || { server: publicServer.value } : (currentUser.value || { server: publicServer.value })
loginTo(masto, user) loginTo(masto, user)

View File

@ -28,7 +28,7 @@ importers:
.: .:
specifiers: specifiers:
'@antfu/eslint-config': ^0.34.1 '@antfu/eslint-config': ^0.37.0
'@antfu/ni': ^0.19.0 '@antfu/ni': ^0.19.0
'@emoji-mart/data': ^1.1.2 '@emoji-mart/data': ^1.1.2
'@fnando/sparkline': ^0.3.10 '@fnando/sparkline': ^0.3.10
@ -200,13 +200,13 @@ importers:
ultrahtml: 1.2.0 ultrahtml: 1.2.0
unimport: 2.2.4 unimport: 2.2.4
unplugin-auto-import: 0.13.0_@vueuse+core@9.12.0 unplugin-auto-import: 0.13.0_@vueuse+core@9.12.0
vite-plugin-pwa: 0.14.1 vite-plugin-pwa: 0.14.1_tz3vz2xt4jvid2diblkpydcyn4
vue-advanced-cropper: 2.8.8 vue-advanced-cropper: 2.8.8
vue-virtual-scroller: 2.0.0-beta.7 vue-virtual-scroller: 2.0.0-beta.7
workbox-build: 6.5.4 workbox-build: 6.5.4
workbox-window: 6.5.4 workbox-window: 6.5.4
devDependencies: devDependencies:
'@antfu/eslint-config': 0.34.1_et5x32uxl7z5ldub3ye5rhlyqm '@antfu/eslint-config': 0.37.0_et5x32uxl7z5ldub3ye5rhlyqm
'@antfu/ni': 0.19.0 '@antfu/ni': 0.19.0
'@types/chroma-js': 2.1.4 '@types/chroma-js': 2.1.4
'@types/file-saver': 2.0.5 '@types/file-saver': 2.0.5
@ -246,26 +246,28 @@ packages:
'@jridgewell/gen-mapping': 0.1.1 '@jridgewell/gen-mapping': 0.1.1
'@jridgewell/trace-mapping': 0.3.17 '@jridgewell/trace-mapping': 0.3.17
/@antfu/eslint-config-basic/0.34.1_uuava45uwav2f2r3waokl3sbum: /@antfu/eslint-config-basic/0.37.0_mvplzimrnauvq2of56xayssr74:
resolution: {integrity: sha512-kMxVDjjBv3yDQJ2GdpPZDnV7iI+0mygxqLRrhydcppIf5RSfVHwtyFvWfWUJNpQI77Gg/ujeEYOZQE0BI+ndTg==} resolution: {integrity: sha512-iBj6qjAOQr+WMhK38lfR2/xdIY81qUk4i6tHhwmcxXi4GEf2HF6I4Cgeu9SyIlTxOw8AP1CVqdUNzUbmYSaMZg==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
eslint: 8.32.0 eslint: 8.32.0
eslint-plugin-antfu: 0.34.1_et5x32uxl7z5ldub3ye5rhlyqm eslint-plugin-antfu: 0.37.0_et5x32uxl7z5ldub3ye5rhlyqm
eslint-plugin-eslint-comments: 3.2.0_eslint@8.32.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.32.0
eslint-plugin-html: 7.1.0 eslint-plugin-html: 7.1.0
eslint-plugin-import: 2.27.5_6savw6y3b7jng6f64kgkyoij64 eslint-plugin-import: 2.27.5_k45evu23l4u4ctit2l5qhegjmy
eslint-plugin-jsonc: 2.6.0_eslint@8.32.0 eslint-plugin-jsonc: 2.7.0_eslint@8.32.0
eslint-plugin-markdown: 3.0.0_eslint@8.32.0 eslint-plugin-markdown: 3.0.0_eslint@8.32.0
eslint-plugin-n: 15.6.1_eslint@8.32.0 eslint-plugin-n: 15.6.1_eslint@8.32.0
eslint-plugin-no-only-tests: 3.1.0 eslint-plugin-no-only-tests: 3.1.0
eslint-plugin-promise: 6.1.1_eslint@8.32.0 eslint-plugin-promise: 6.1.1_eslint@8.32.0
eslint-plugin-unicorn: 45.0.2_eslint@8.32.0 eslint-plugin-unicorn: 46.0.0_eslint@8.32.0
eslint-plugin-yml: 1.4.0_eslint@8.32.0 eslint-plugin-unused-imports: 2.0.0_mjqnmtvj4vcveka5lnz6bmobw4
jsonc-eslint-parser: 2.1.0 eslint-plugin-yml: 1.5.0_eslint@8.32.0
yaml-eslint-parser: 1.1.0 jsonc-eslint-parser: 2.2.0
yaml-eslint-parser: 1.2.0
transitivePeerDependencies: transitivePeerDependencies:
- '@typescript-eslint/eslint-plugin'
- '@typescript-eslint/parser' - '@typescript-eslint/parser'
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
- eslint-import-resolver-webpack - eslint-import-resolver-webpack
@ -273,17 +275,17 @@ packages:
- typescript - typescript
dev: true dev: true
/@antfu/eslint-config-ts/0.34.1_et5x32uxl7z5ldub3ye5rhlyqm: /@antfu/eslint-config-ts/0.37.0_et5x32uxl7z5ldub3ye5rhlyqm:
resolution: {integrity: sha512-YpuB+FhHRFpUzNoJI7JWLRgXNegZuaq4ONQl4lVzYG7YjxvKfXox2EfKhtE98i28ozwbsD8kFjYysmCD8SupHQ==} resolution: {integrity: sha512-+ZS0UE7qa6EzFe0JgCSqdi/IRGQlUj/kOjvwsHCXVK1A02ZW2p0fEKzCpNAz1NJK9nkqhyvNHX+gNOTQsPMbeQ==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
typescript: '>=3.9' typescript: '>=3.9'
dependencies: dependencies:
'@antfu/eslint-config-basic': 0.34.1_uuava45uwav2f2r3waokl3sbum '@antfu/eslint-config-basic': 0.37.0_mvplzimrnauvq2of56xayssr74
'@typescript-eslint/eslint-plugin': 5.49.0_uuava45uwav2f2r3waokl3sbum '@typescript-eslint/eslint-plugin': 5.55.0_6op2fkmvyrtefzt7l5vmzdi7cq
'@typescript-eslint/parser': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/parser': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
eslint: 8.32.0 eslint: 8.32.0
eslint-plugin-jest: 27.2.1_7lzpa56u3hsxrw6qqav6cjjoee eslint-plugin-jest: 27.2.1_bigxdoym6kgmnh6qcredf7tvnm
typescript: 4.9.5 typescript: 4.9.5
transitivePeerDependencies: transitivePeerDependencies:
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
@ -292,17 +294,18 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@antfu/eslint-config-vue/0.34.1_uuava45uwav2f2r3waokl3sbum: /@antfu/eslint-config-vue/0.37.0_mvplzimrnauvq2of56xayssr74:
resolution: {integrity: sha512-wrYaQCKSH35y/pMKZ9lDRn4n0xkY3DB22FwucmpAgGVQM8Sj7OD1EbaFR3vXyCR7hL2kBtFnFrfeRuzRz6Frrg==} resolution: {integrity: sha512-d7n4+7f6YMizE1HDEOtIBJGruFuIeqrNF+ZjHM8o6+isMrJkvdjVx6nHtHVtoWNYW6jiRJ5AW+nkfo2aoNGUyA==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
'@antfu/eslint-config-basic': 0.34.1_uuava45uwav2f2r3waokl3sbum '@antfu/eslint-config-basic': 0.37.0_mvplzimrnauvq2of56xayssr74
'@antfu/eslint-config-ts': 0.34.1_et5x32uxl7z5ldub3ye5rhlyqm '@antfu/eslint-config-ts': 0.37.0_et5x32uxl7z5ldub3ye5rhlyqm
eslint: 8.32.0 eslint: 8.32.0
eslint-plugin-vue: 9.9.0_eslint@8.32.0 eslint-plugin-vue: 9.9.0_eslint@8.32.0
local-pkg: 0.4.3 local-pkg: 0.4.3
transitivePeerDependencies: transitivePeerDependencies:
- '@typescript-eslint/eslint-plugin'
- '@typescript-eslint/parser' - '@typescript-eslint/parser'
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
- eslint-import-resolver-webpack - eslint-import-resolver-webpack
@ -311,26 +314,26 @@ packages:
- typescript - typescript
dev: true dev: true
/@antfu/eslint-config/0.34.1_et5x32uxl7z5ldub3ye5rhlyqm: /@antfu/eslint-config/0.37.0_et5x32uxl7z5ldub3ye5rhlyqm:
resolution: {integrity: sha512-Qz3s6n6Z2urePvOJCFxXpzDdaR7pcXX0jadbc0CI9mtzPAWaDDazXPH+AQ55tqJU7zTHYpccrgz0xWgsKqkYTw==} resolution: {integrity: sha512-Kq12dCBSYNV/wuoX35ijs8aNjdF9FiSp3GbiGh2Y8sPtM6NbJc5LA3ixWz0PcA/byHf1VPVisDZcPqISjic/zA==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
'@antfu/eslint-config-vue': 0.34.1_uuava45uwav2f2r3waokl3sbum '@antfu/eslint-config-vue': 0.37.0_mvplzimrnauvq2of56xayssr74
'@typescript-eslint/eslint-plugin': 5.49.0_uuava45uwav2f2r3waokl3sbum '@typescript-eslint/eslint-plugin': 5.55.0_6op2fkmvyrtefzt7l5vmzdi7cq
'@typescript-eslint/parser': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/parser': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
eslint: 8.32.0 eslint: 8.32.0
eslint-plugin-eslint-comments: 3.2.0_eslint@8.32.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.32.0
eslint-plugin-html: 7.1.0 eslint-plugin-html: 7.1.0
eslint-plugin-import: 2.27.5_6savw6y3b7jng6f64kgkyoij64 eslint-plugin-import: 2.27.5_k45evu23l4u4ctit2l5qhegjmy
eslint-plugin-jsonc: 2.6.0_eslint@8.32.0 eslint-plugin-jsonc: 2.7.0_eslint@8.32.0
eslint-plugin-n: 15.6.1_eslint@8.32.0 eslint-plugin-n: 15.6.1_eslint@8.32.0
eslint-plugin-promise: 6.1.1_eslint@8.32.0 eslint-plugin-promise: 6.1.1_eslint@8.32.0
eslint-plugin-unicorn: 45.0.2_eslint@8.32.0 eslint-plugin-unicorn: 46.0.0_eslint@8.32.0
eslint-plugin-vue: 9.9.0_eslint@8.32.0 eslint-plugin-vue: 9.9.0_eslint@8.32.0
eslint-plugin-yml: 1.4.0_eslint@8.32.0 eslint-plugin-yml: 1.5.0_eslint@8.32.0
jsonc-eslint-parser: 2.1.0 jsonc-eslint-parser: 2.2.0
yaml-eslint-parser: 1.1.0 yaml-eslint-parser: 1.2.0
transitivePeerDependencies: transitivePeerDependencies:
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
- eslint-import-resolver-webpack - eslint-import-resolver-webpack
@ -1958,6 +1961,21 @@ packages:
eslint-visitor-keys: 3.3.0 eslint-visitor-keys: 3.3.0
dev: true dev: true
/@eslint-community/eslint-utils/4.3.0_eslint@8.32.0:
resolution: {integrity: sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
dependencies:
eslint: 8.32.0
eslint-visitor-keys: 3.3.0
dev: true
/@eslint-community/regexpp/4.4.0:
resolution: {integrity: sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
dev: true
/@eslint/eslintrc/1.4.1: /@eslint/eslintrc/1.4.1:
resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -3582,8 +3600,8 @@ packages:
resolution: {integrity: sha512-UYK244awtmcUYQfs7FR8710MJcefL2WvkyHMjA8yJzxd1mo0Gfn88sRZ1Bls7hiUhA2w7ne1gpJ9T5g3G0wOyA==} resolution: {integrity: sha512-UYK244awtmcUYQfs7FR8710MJcefL2WvkyHMjA8yJzxd1mo0Gfn88sRZ1Bls7hiUhA2w7ne1gpJ9T5g3G0wOyA==}
dev: true dev: true
/@typescript-eslint/eslint-plugin/5.49.0_uuava45uwav2f2r3waokl3sbum: /@typescript-eslint/eslint-plugin/5.55.0_6op2fkmvyrtefzt7l5vmzdi7cq:
resolution: {integrity: sha512-IhxabIpcf++TBaBa1h7jtOWyon80SXPRLDq0dVz5SLFC/eW6tofkw/O7Ar3lkx5z5U6wzbKDrl2larprp5kk5Q==} resolution: {integrity: sha512-IZGc50rtbjk+xp5YQoJvmMPmJEYoC53SiKPXyqWfv15XoD2Y5Kju6zN0DwlmaGJp1Iw33JsWJcQ7nw0lGCGjVg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
'@typescript-eslint/parser': ^5.0.0 '@typescript-eslint/parser': ^5.0.0
@ -3593,15 +3611,16 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@eslint-community/regexpp': 4.4.0
'@typescript-eslint/scope-manager': 5.49.0 '@typescript-eslint/parser': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
'@typescript-eslint/type-utils': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/scope-manager': 5.55.0
'@typescript-eslint/utils': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/type-utils': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
'@typescript-eslint/utils': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
debug: 4.3.4 debug: 4.3.4
eslint: 8.32.0 eslint: 8.32.0
grapheme-splitter: 1.0.4
ignore: 5.2.4 ignore: 5.2.4
natural-compare-lite: 1.4.0 natural-compare-lite: 1.4.0
regexpp: 3.2.0
semver: 7.3.8 semver: 7.3.8
tsutils: 3.21.0_typescript@4.9.5 tsutils: 3.21.0_typescript@4.9.5
typescript: 4.9.5 typescript: 4.9.5
@ -3609,8 +3628,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/parser/5.49.0_et5x32uxl7z5ldub3ye5rhlyqm: /@typescript-eslint/parser/5.55.0_et5x32uxl7z5ldub3ye5rhlyqm:
resolution: {integrity: sha512-veDlZN9mUhGqU31Qiv2qEp+XrJj5fgZpJ8PW30sHU+j/8/e5ruAhLaVDAeznS7A7i4ucb/s8IozpDtt9NqCkZg==} resolution: {integrity: sha512-ppvmeF7hvdhUUZWSd2EEWfzcFkjJzgNQzVST22nzg958CR+sphy8A6K7LXQZd6V75m1VKjp+J4g/PCEfSCmzhw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -3619,9 +3638,9 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/scope-manager': 5.49.0 '@typescript-eslint/scope-manager': 5.55.0
'@typescript-eslint/types': 5.49.0 '@typescript-eslint/types': 5.55.0
'@typescript-eslint/typescript-estree': 5.49.0_typescript@4.9.5 '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5
debug: 4.3.4 debug: 4.3.4
eslint: 8.32.0 eslint: 8.32.0
typescript: 4.9.5 typescript: 4.9.5
@ -3629,16 +3648,16 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/scope-manager/5.49.0: /@typescript-eslint/scope-manager/5.55.0:
resolution: {integrity: sha512-clpROBOiMIzpbWNxCe1xDK14uPZh35u4QaZO1GddilEzoCLAEz4szb51rBpdgurs5k2YzPtJeTEN3qVbG+LRUQ==} resolution: {integrity: sha512-OK+cIO1ZGhJYNCL//a3ROpsd83psf4dUJ4j7pdNVzd5DmIk+ffkuUIX2vcZQbEW/IR41DYsfJTB19tpCboxQuw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies: dependencies:
'@typescript-eslint/types': 5.49.0 '@typescript-eslint/types': 5.55.0
'@typescript-eslint/visitor-keys': 5.49.0 '@typescript-eslint/visitor-keys': 5.55.0
dev: true dev: true
/@typescript-eslint/type-utils/5.49.0_et5x32uxl7z5ldub3ye5rhlyqm: /@typescript-eslint/type-utils/5.55.0_et5x32uxl7z5ldub3ye5rhlyqm:
resolution: {integrity: sha512-eUgLTYq0tR0FGU5g1YHm4rt5H/+V2IPVkP0cBmbhRyEmyGe4XvJ2YJ6sYTmONfjmdMqyMLad7SB8GvblbeESZA==} resolution: {integrity: sha512-ObqxBgHIXj8rBNm0yh8oORFrICcJuZPZTqtAFh0oZQyr5DnAHZWfyw54RwpEEH+fD8suZaI0YxvWu5tYE/WswA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
@ -3647,8 +3666,8 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/typescript-estree': 5.49.0_typescript@4.9.5 '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5
'@typescript-eslint/utils': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/utils': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
debug: 4.3.4 debug: 4.3.4
eslint: 8.32.0 eslint: 8.32.0
tsutils: 3.21.0_typescript@4.9.5 tsutils: 3.21.0_typescript@4.9.5
@ -3657,13 +3676,13 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/types/5.49.0: /@typescript-eslint/types/5.55.0:
resolution: {integrity: sha512-7If46kusG+sSnEpu0yOz2xFv5nRz158nzEXnJFCGVEHWnuzolXKwrH5Bsf9zsNlOQkyZuk0BZKKoJQI+1JPBBg==} resolution: {integrity: sha512-M4iRh4AG1ChrOL6Y+mETEKGeDnT7Sparn6fhZ5LtVJF1909D5O4uqK+C5NPbLmpfZ0XIIxCdwzKiijpZUOvOug==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true dev: true
/@typescript-eslint/typescript-estree/5.49.0_typescript@4.9.5: /@typescript-eslint/typescript-estree/5.55.0_typescript@4.9.5:
resolution: {integrity: sha512-PBdx+V7deZT/3GjNYPVQv1Nc0U46dAHbIuOG8AZ3on3vuEKiPDwFE/lG1snN2eUB9IhF7EyF7K1hmTcLztNIsA==} resolution: {integrity: sha512-I7X4A9ovA8gdpWMpr7b1BN9eEbvlEtWhQvpxp/yogt48fy9Lj3iE3ild/1H3jKBBIYj5YYJmS2+9ystVhC7eaQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
typescript: '*' typescript: '*'
@ -3671,8 +3690,8 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/types': 5.49.0 '@typescript-eslint/types': 5.55.0
'@typescript-eslint/visitor-keys': 5.49.0 '@typescript-eslint/visitor-keys': 5.55.0
debug: 4.3.4 debug: 4.3.4
globby: 11.1.0 globby: 11.1.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -3683,31 +3702,31 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/utils/5.49.0_et5x32uxl7z5ldub3ye5rhlyqm: /@typescript-eslint/utils/5.55.0_et5x32uxl7z5ldub3ye5rhlyqm:
resolution: {integrity: sha512-cPJue/4Si25FViIb74sHCLtM4nTSBXtLx1d3/QT6mirQ/c65bV8arBEebBJJizfq8W2YyMoPI/WWPFWitmNqnQ==} resolution: {integrity: sha512-FkW+i2pQKcpDC3AY6DU54yl8Lfl14FVGYDgBTyGKB75cCwV3KpkpTMFi9d9j2WAJ4271LR2HeC5SEWF/CZmmfw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.3.0_eslint@8.32.0
'@types/json-schema': 7.0.11 '@types/json-schema': 7.0.11
'@types/semver': 7.3.13 '@types/semver': 7.3.13
'@typescript-eslint/scope-manager': 5.49.0 '@typescript-eslint/scope-manager': 5.55.0
'@typescript-eslint/types': 5.49.0 '@typescript-eslint/types': 5.55.0
'@typescript-eslint/typescript-estree': 5.49.0_typescript@4.9.5 '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5
eslint: 8.32.0 eslint: 8.32.0
eslint-scope: 5.1.1 eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.32.0
semver: 7.3.8 semver: 7.3.8
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
dev: true dev: true
/@typescript-eslint/visitor-keys/5.49.0: /@typescript-eslint/visitor-keys/5.55.0:
resolution: {integrity: sha512-v9jBMjpNWyn8B6k/Mjt6VbUS4J1GvUlR4x3Y+ibnP1z7y7V4n0WRz+50DY6+Myj0UaXVSuUlHohO+eZ8IJEnkg==} resolution: {integrity: sha512-q2dlHHwWgirKh1D3acnuApXG+VNXpEY5/AwRxDVuEQpxWaB0jCDe0jFMVMALJ3ebSfuOVE8/rMS+9ZOYGg1GWw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies: dependencies:
'@typescript-eslint/types': 5.49.0 '@typescript-eslint/types': 5.55.0
eslint-visitor-keys: 3.3.0 eslint-visitor-keys: 3.3.0
dev: true dev: true
@ -6430,7 +6449,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-module-utils/2.7.4_cnxxylyx37asr43xy64ejg3pwe: /eslint-module-utils/2.7.4_gcz2d67tckzuav2dpkeocohwey:
resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -6451,7 +6470,7 @@ packages:
eslint-import-resolver-webpack: eslint-import-resolver-webpack:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/parser': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
debug: 3.2.7 debug: 3.2.7
eslint: 8.32.0 eslint: 8.32.0
eslint-import-resolver-node: 0.3.7 eslint-import-resolver-node: 0.3.7
@ -6459,10 +6478,10 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-antfu/0.34.1_et5x32uxl7z5ldub3ye5rhlyqm: /eslint-plugin-antfu/0.37.0_et5x32uxl7z5ldub3ye5rhlyqm:
resolution: {integrity: sha512-UeS1aTUX9rZgknrBT/NyDCSG6dMd6UbiumHdciE62VwOw04dD8cy/p7m+OJZ6WMF3vz0CseJmzzk8q4pca4sEA==} resolution: {integrity: sha512-Tekr9S4fkrmH88RS5XHvs3gQwQIn/2As8gYePzrPHTQEQF00pIx0sa1eQrhmvN50ubUG4WkZnpx/uR3073jLeg==}
dependencies: dependencies:
'@typescript-eslint/utils': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/utils': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
transitivePeerDependencies: transitivePeerDependencies:
- eslint - eslint
- supports-color - supports-color
@ -6497,7 +6516,7 @@ packages:
htmlparser2: 8.0.1 htmlparser2: 8.0.1
dev: true dev: true
/eslint-plugin-import/2.27.5_6savw6y3b7jng6f64kgkyoij64: /eslint-plugin-import/2.27.5_k45evu23l4u4ctit2l5qhegjmy:
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -6507,7 +6526,7 @@ packages:
'@typescript-eslint/parser': '@typescript-eslint/parser':
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/parser': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
array-includes: 3.1.6 array-includes: 3.1.6
array.prototype.flat: 1.3.1 array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1 array.prototype.flatmap: 1.3.1
@ -6515,7 +6534,7 @@ packages:
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.32.0 eslint: 8.32.0
eslint-import-resolver-node: 0.3.7 eslint-import-resolver-node: 0.3.7
eslint-module-utils: 2.7.4_cnxxylyx37asr43xy64ejg3pwe eslint-module-utils: 2.7.4_gcz2d67tckzuav2dpkeocohwey
has: 1.0.3 has: 1.0.3
is-core-module: 2.11.0 is-core-module: 2.11.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -6530,7 +6549,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-jest/27.2.1_7lzpa56u3hsxrw6qqav6cjjoee: /eslint-plugin-jest/27.2.1_bigxdoym6kgmnh6qcredf7tvnm:
resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
peerDependencies: peerDependencies:
@ -6543,23 +6562,23 @@ packages:
jest: jest:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/eslint-plugin': 5.49.0_uuava45uwav2f2r3waokl3sbum '@typescript-eslint/eslint-plugin': 5.55.0_6op2fkmvyrtefzt7l5vmzdi7cq
'@typescript-eslint/utils': 5.49.0_et5x32uxl7z5ldub3ye5rhlyqm '@typescript-eslint/utils': 5.55.0_et5x32uxl7z5ldub3ye5rhlyqm
eslint: 8.32.0 eslint: 8.32.0
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
dev: true dev: true
/eslint-plugin-jsonc/2.6.0_eslint@8.32.0: /eslint-plugin-jsonc/2.7.0_eslint@8.32.0:
resolution: {integrity: sha512-4bA9YTx58QaWalua1Q1b82zt7eZMB7i+ed8q8cKkbKP75ofOA2SXbtFyCSok7RY6jIXeCqQnKjN9If8zCgv6PA==} resolution: {integrity: sha512-DZgC71h/hZ9t5k/OGAKOMdJCleg2neZLL7No+YYi2ZMroCN4X5huZdrLf1USbrc6UTHwYujd1EDwXHg1qJ6CYw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: '>=6.0.0' eslint: '>=6.0.0'
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.3.0_eslint@8.32.0
eslint: 8.32.0 eslint: 8.32.0
eslint-utils: 3.0.0_eslint@8.32.0 jsonc-eslint-parser: 2.2.0
jsonc-eslint-parser: 2.1.0
natural-compare: 1.4.0 natural-compare: 1.4.0
dev: true dev: true
@ -6606,8 +6625,8 @@ packages:
eslint: 8.32.0 eslint: 8.32.0
dev: true dev: true
/eslint-plugin-unicorn/45.0.2_eslint@8.32.0: /eslint-plugin-unicorn/46.0.0_eslint@8.32.0:
resolution: {integrity: sha512-Y0WUDXRyGDMcKLiwgL3zSMpHrXI00xmdyixEGIg90gHnj0PcHY4moNv3Ppje/kDivdAy5vUeUr7z211ImPv2gw==} resolution: {integrity: sha512-j07WkC+PFZwk8J33LYp6JMoHa1lXc1u6R45pbSAipjpfpb7KIGr17VE2D685zCxR5VL4cjrl65kTJflziQWMDA==}
engines: {node: '>=14.18'} engines: {node: '>=14.18'}
peerDependencies: peerDependencies:
eslint: '>=8.28.0' eslint: '>=8.28.0'
@ -6631,6 +6650,21 @@ packages:
strip-indent: 3.0.0 strip-indent: 3.0.0
dev: true dev: true
/eslint-plugin-unused-imports/2.0.0_mjqnmtvj4vcveka5lnz6bmobw4:
resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/eslint-plugin': ^5.0.0
eslint: ^8.0.0
peerDependenciesMeta:
'@typescript-eslint/eslint-plugin':
optional: true
dependencies:
'@typescript-eslint/eslint-plugin': 5.55.0_6op2fkmvyrtefzt7l5vmzdi7cq
eslint: 8.32.0
eslint-rule-composer: 0.3.0
dev: true
/eslint-plugin-vue/9.9.0_eslint@8.32.0: /eslint-plugin-vue/9.9.0_eslint@8.32.0:
resolution: {integrity: sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ==} resolution: {integrity: sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ==}
engines: {node: ^14.17.0 || >=16.0.0} engines: {node: ^14.17.0 || >=16.0.0}
@ -6649,8 +6683,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-yml/1.4.0_eslint@8.32.0: /eslint-plugin-yml/1.5.0_eslint@8.32.0:
resolution: {integrity: sha512-vzggXNfPKa+arIaNUGoC3DPRZCxNty+xD/v9xOcE5D3Bj9SbgIrEobqVB35I8QxHd2YjL/dOS0xIIFmjAalwbw==} resolution: {integrity: sha512-iygN054g+ZrnYmtOXMnT+sx9iDNXt89/m0+506cQHeG0+5jJN8hY5iOPQLd3yfd50AfK/mSasajBWruf1SoHpQ==}
engines: {node: ^14.17.0 || >=16.0.0} engines: {node: ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: '>=6.0.0' eslint: '>=6.0.0'
@ -6659,11 +6693,16 @@ packages:
eslint: 8.32.0 eslint: 8.32.0
lodash: 4.17.21 lodash: 4.17.21
natural-compare: 1.4.0 natural-compare: 1.4.0
yaml-eslint-parser: 1.1.0 yaml-eslint-parser: 1.2.0
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
/eslint-rule-composer/0.3.0:
resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==}
engines: {node: '>=4.0.0'}
dev: true
/eslint-scope/5.1.1: /eslint-scope/5.1.1:
resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
engines: {node: '>=8.0.0'} engines: {node: '>=8.0.0'}
@ -8130,8 +8169,8 @@ packages:
semver: 6.3.0 semver: 6.3.0
dev: false dev: false
/jsonc-eslint-parser/2.1.0: /jsonc-eslint-parser/2.2.0:
resolution: {integrity: sha512-qCRJWlbP2v6HbmKW7R3lFbeiVWHo+oMJ0j+MizwvauqnCV/EvtAeEeuCgoc/ErtsuoKgYB8U4Ih8AxJbXoE6/g==} resolution: {integrity: sha512-x5QjzBOORd+T2EjErIxJnkOEbLVEdD1ILEeBbIJt8Eq/zUn7P7M8qdnWiNVBK5f8oxnJpc6SBHOeeIEl/swPjg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies: dependencies:
acorn: 8.8.2 acorn: 8.8.2
@ -12625,10 +12664,12 @@ packages:
- supports-color - supports-color
dev: false dev: false
/vite-plugin-pwa/0.14.1: /vite-plugin-pwa/0.14.1_tz3vz2xt4jvid2diblkpydcyn4:
resolution: {integrity: sha512-5zx7yhQ8RTLwV71+GA9YsQQ63ALKG8XXIMqRJDdZkR8ZYftFcRgnzM7wOWmQZ/DATspyhPih5wCdcZnAIsM+mA==} resolution: {integrity: sha512-5zx7yhQ8RTLwV71+GA9YsQQ63ALKG8XXIMqRJDdZkR8ZYftFcRgnzM7wOWmQZ/DATspyhPih5wCdcZnAIsM+mA==}
peerDependencies: peerDependencies:
vite: ^3.1.0 || ^4.0.0 vite: ^3.1.0 || ^4.0.0
workbox-build: ^6.5.4
workbox-window: ^6.5.4
dependencies: dependencies:
'@rollup/plugin-replace': 5.0.2_rollup@3.14.0 '@rollup/plugin-replace': 5.0.2_rollup@3.14.0
debug: 4.3.4 debug: 4.3.4
@ -12638,7 +12679,6 @@ packages:
workbox-build: 6.5.4 workbox-build: 6.5.4
workbox-window: 6.5.4 workbox-window: 6.5.4
transitivePeerDependencies: transitivePeerDependencies:
- '@types/babel__core'
- supports-color - supports-color
dev: false dev: false
@ -13414,8 +13454,8 @@ packages:
yaml: 1.10.2 yaml: 1.10.2
dev: false dev: false
/yaml-eslint-parser/1.1.0: /yaml-eslint-parser/1.2.0:
resolution: {integrity: sha512-b464Q1fYiX1oYx2kE8k4mEp6S9Prk+tfDsY/IPxQ0FCjEuj3AKko5Skf3/yQJeYTTDyjDE+aWIJemnv29HvEWQ==} resolution: {integrity: sha512-OmuvQd5lyIJWfFALc39K5fGqp0aWNc+EtyhVgcQIPZaUKMnTb7An3RMp+QJizJ/x0F4kpgTNe6BL/ctdvoIwIg==}
engines: {node: ^14.17.0 || >=16.0.0} engines: {node: ^14.17.0 || >=16.0.0}
dependencies: dependencies:
eslint-visitor-keys: 3.3.0 eslint-visitor-keys: 3.3.0

View File

@ -114,7 +114,7 @@ async function prepareTranslationStatus() {
} }
Object.keys(data).filter(k => k !== 'en').forEach((e) => { Object.keys(data).filter(k => k !== 'en').forEach((e) => {
const percentage = total <= 0.0 || data[e].total === 0.0 const percentage = (total <= 0.0 || data[e].total === 0.0)
? '0' ? '0'
: data[e].total === total : data[e].total === total
? '100' ? '100'