Skip to content

Commit 8a0d8c4

Browse files
committed
chore: bump packages and apply formatting
1 parent 19b0036 commit 8a0d8c4

File tree

7 files changed

+783
-1836
lines changed

7 files changed

+783
-1836
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,24 @@
3838
},
3939
"dependencies": {
4040
"defu": "^6.1.4",
41-
"laravel-echo": "^2.1.0",
41+
"laravel-echo": "^2.1.6",
4242
"ofetch": "^1.4.1",
4343
"pusher-js": "^8.4.0"
4444
},
4545
"devDependencies": {
46-
"@nuxt/devtools": "^2.4.0",
47-
"@nuxt/eslint-config": "^1.3.1",
48-
"@nuxt/kit": "^3.17.3",
46+
"@nuxt/devtools": "^2.6.2",
47+
"@nuxt/eslint-config": "^1.5.2",
48+
"@nuxt/kit": "^3.17.6",
4949
"@nuxt/module-builder": "^1.0.1",
50-
"@nuxt/schema": "^3.17.3",
51-
"@nuxt/test-utils": "^3.18.0",
50+
"@nuxt/schema": "^3.17.6",
51+
"@nuxt/test-utils": "^3.19.2",
5252
"@types/node": "^24.0.10",
53-
"changelogen": "^0.6.1",
54-
"eslint": "^9.26.0",
55-
"nuxt": "^3.17.3",
53+
"changelogen": "^0.6.2",
54+
"eslint": "^9.30.1",
55+
"nuxt": "^3.17.6",
5656
"typescript": "^5.8.3",
57-
"vitest": "^3.1.3",
58-
"vue-tsc": "^2.2.10"
57+
"vitest": "^3.2.4",
58+
"vue-tsc": "^2.2.12"
5959
},
6060
"packageManager": "pnpm@10.6.5+sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af",
6161
"pnpm": {

pnpm-lock.yaml

Lines changed: 758 additions & 1818 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/factories/echo.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import type { ConsolaInstance } from 'consola'
2-
import Echo, { type Broadcaster, type EchoOptions } from 'laravel-echo'
2+
import Echo from 'laravel-echo'
3+
import type { Broadcaster, EchoOptions } from 'laravel-echo'
34
import type { Channel, ChannelAuthorizationCallback, Options } from 'pusher-js'
45
import type { ChannelAuthorizationData } from 'pusher-js/types/src/core/auth/options'
56
import type { Authentication, ModuleOptions } from '../types/options'
67
import { createFetchClient } from './http'
7-
import { createError, type NuxtApp } from '#app'
8+
import { createError } from '#app'
9+
import type { NuxtApp } from '#app'
810

911
/**
1012
* Creates an authorizer function for the Echo instance.

src/runtime/interceptors/token.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import type { FetchContext } from 'ofetch'
22
import type { ConsolaInstance } from 'consola'
33
import type { ModuleOptions } from '../types/options'
44
import { useEchoAppConfig } from '../composables/useEchoAppConfig'
5-
import { createError, type NuxtApp } from '#app'
5+
import { createError } from '#app'
6+
import type { NuxtApp } from '#app'
67

78
/**
89
* Sets Authorization header for the request if the token is present.

src/runtime/plugin.client.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import type Echo from 'laravel-echo'
22
import type { Broadcaster } from 'laravel-echo'
33
import PusherPkg from 'pusher-js'
4-
import { type ConsolaInstance, createConsola } from 'consola'
4+
import { createConsola } from 'consola'
5+
import type { ConsolaInstance } from 'consola'
56
import { useEchoConfig } from './composables/useEchoConfig'
67
import { useEchoAppConfig } from './composables/useEchoAppConfig'
78
import { createEcho } from './factories/echo'
8-
import { defineNuxtPlugin, updateAppConfig, type NuxtApp } from '#app'
9+
import { defineNuxtPlugin, updateAppConfig } from '#app'
10+
import type { NuxtApp } from '#app'
911

1012
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1113
const Pusher = (PusherPkg as any).default || PusherPkg

src/runtime/storages/cookieTokenStorage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { unref } from 'vue'
22
import type { TokenStorage } from '../types/config'
3-
import { useCookie, type NuxtApp } from '#app'
3+
import { useCookie } from '#app'
4+
import type { NuxtApp } from '#app'
45

56
const cookieTokenKey = 'sanctum.token.cookie'
67

src/templates.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { addTypeTemplate, type Resolver } from '@nuxt/kit'
1+
import { addTypeTemplate } from '@nuxt/kit'
2+
import type { Resolver } from '@nuxt/kit'
23

34
/**
45
* Defines module's type augmentation for Nuxt build

0 commit comments

Comments
 (0)