chore(deps): update lint (#3337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: TAKAHASHI Shuuji <shuuji3@gmail.com>
This commit is contained in:
parent
b320b37e52
commit
b8144db9ac
5 changed files with 566 additions and 650 deletions
|
@ -95,9 +95,9 @@ export async function toggleMuteAccount(relationship: mastodon.v1.Relationship,
|
||||||
relationship!.muting = !relationship!.muting
|
relationship!.muting = !relationship!.muting
|
||||||
relationship = relationship!.muting
|
relationship = relationship!.muting
|
||||||
? await client.value.v1.accounts.$select(account.id).mute({
|
? await client.value.v1.accounts.$select(account.id).mute({
|
||||||
duration,
|
duration,
|
||||||
notifications,
|
notifications,
|
||||||
})
|
})
|
||||||
: await client.value.v1.accounts.$select(account.id).unmute()
|
: await client.value.v1.accounts.$select(account.id).unmute()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
3
modules/pwa/runtime/types.d.ts
vendored
3
modules/pwa/runtime/types.d.ts
vendored
|
@ -1,5 +1,4 @@
|
||||||
import type { Ref } from 'vue'
|
import type { Ref, UnwrapNestedRefs } from 'vue'
|
||||||
import type { UnwrapNestedRefs } from 'vue'
|
|
||||||
|
|
||||||
export interface PwaInjection {
|
export interface PwaInjection {
|
||||||
isInstalled: boolean
|
isInstalled: boolean
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
"ws": "^8.15.1"
|
"ws": "^8.15.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^4.13.1",
|
"@antfu/eslint-config": "^4.19.0",
|
||||||
"@antfu/ni": "^24.4.0",
|
"@antfu/ni": "^24.4.0",
|
||||||
"@types/chroma-js": "^3.1.1",
|
"@types/chroma-js": "^3.1.1",
|
||||||
"@types/file-saver": "^2.0.7",
|
"@types/file-saver": "^2.0.7",
|
||||||
|
@ -131,13 +131,13 @@
|
||||||
"@vue/test-utils": "2.4.6",
|
"@vue/test-utils": "2.4.6",
|
||||||
"bumpp": "^10.2.0",
|
"bumpp": "^10.2.0",
|
||||||
"consola": "^3.4.2",
|
"consola": "^3.4.2",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.32.0",
|
||||||
"eslint-plugin-format": "^1.0.1",
|
"eslint-plugin-format": "^1.0.1",
|
||||||
"flat": "^6.0.1",
|
"flat": "^6.0.1",
|
||||||
"fs-extra": "^11.3.0",
|
"fs-extra": "^11.3.0",
|
||||||
"lint-staged": "^15.5.2",
|
"lint-staged": "^15.5.2",
|
||||||
"nuxt": "^3.17.7",
|
"nuxt": "^3.17.7",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.6.2",
|
||||||
"sharp": "^0.34.3",
|
"sharp": "^0.34.3",
|
||||||
"sharp-ico": "^0.1.5",
|
"sharp-ico": "^0.1.5",
|
||||||
"simple-git-hooks": "^2.13.0",
|
"simple-git-hooks": "^2.13.0",
|
||||||
|
|
28
page-lifecycle.d.ts
vendored
28
page-lifecycle.d.ts
vendored
|
@ -1,17 +1,17 @@
|
||||||
declare module 'page-lifecycle/dist/lifecycle.mjs' {
|
declare module 'page-lifecycle/dist/lifecycle.mjs' {
|
||||||
type PageLifecycleState = 'active' | 'passive' | 'hidden' | 'frozen' | 'terminated'
|
type PageLifecycleState = 'active' | 'passive' | 'hidden' | 'frozen' | 'terminated'
|
||||||
|
|
||||||
interface PageLifecycleEvent extends Event {
|
interface PageLifecycleEvent extends Event {
|
||||||
newState: PageLifecycleState
|
newState: PageLifecycleState
|
||||||
oldState: PageLifecycleState
|
oldState: PageLifecycleState
|
||||||
}
|
}
|
||||||
interface PageLifecycle extends EventTarget {
|
interface PageLifecycle extends EventTarget {
|
||||||
get state(): PageLifecycleState
|
get state(): PageLifecycleState
|
||||||
get pageWasDiscarded(): boolean
|
get pageWasDiscarded(): boolean
|
||||||
addUnsavedChanges: (id: symbol | any) => void
|
addUnsavedChanges: (id: symbol | any) => void
|
||||||
removeUnsavedChanges: (id: symbol | any) => void
|
removeUnsavedChanges: (id: symbol | any) => void
|
||||||
addEventListener: (type: string, listener: (evt: PageLifecycleEvent) => void) => void
|
addEventListener: (type: string, listener: (evt: PageLifecycleEvent) => void) => void
|
||||||
}
|
}
|
||||||
const lifecycle: PageLifecycle
|
const lifecycle: PageLifecycle
|
||||||
export default lifecycle
|
export default lifecycle
|
||||||
}
|
}
|
||||||
|
|
1173
pnpm-lock.yaml
generated
1173
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue