Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit c2dca8a

Browse files
committed
chore: update hookable
fixing type issues
1 parent 5f712cc commit c2dca8a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

packages/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"globby": "^13.1.2",
4949
"h3": "^0.7.16",
5050
"hash-sum": "^2.0.0",
51-
"hookable": "^5.2.0",
51+
"hookable": "^5.2.1",
5252
"knitwork": "^0.1.2",
5353
"magic-string": "^0.26.2",
5454
"mlly": "^0.5.14",

packages/nuxt/src/imports/module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export default defineNuxtModule<Partial<ImportsOptions>>({
3030
options = defu(nuxt.options.autoImports, options)
3131
}
3232

33-
// @ts-expect-error
3433
nuxt.hooks.deprecateHooks({
3534
'autoImports:sources': { to: 'imports:sources' },
3635
'autoImports:dirs': { to: 'imports:dirs' },

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7870,10 +7870,10 @@ __metadata:
78707870
languageName: node
78717871
linkType: hard
78727872

7873-
"hookable@npm:^5.2.0":
7874-
version: 5.2.0
7875-
resolution: "hookable@npm:5.2.0"
7876-
checksum: d39c7a22d7a48572bb644b69df8ec9ef72a180ce5118b3f6447d46c41de8c413624162549b356112fdcb7c69c00dec9359ffacba2540f3ccf071806000e38bb1
7873+
"hookable@npm:^5.2.1":
7874+
version: 5.2.1
7875+
resolution: "hookable@npm:5.2.1"
7876+
checksum: 6ad7f67733a083634ef7ba367b40fe9057dbc6e614a00ba88d84b718e49d67d83e5f4bf81759777b39afafa1fe043f56faffe7aabd590c8a9ea6dd0f0c4af53b
78777877
languageName: node
78787878
linkType: hard
78797879

@@ -10294,7 +10294,7 @@ __metadata:
1029410294
globby: ^13.1.2
1029510295
h3: ^0.7.16
1029610296
hash-sum: ^2.0.0
10297-
hookable: ^5.2.0
10297+
hookable: ^5.2.1
1029810298
knitwork: ^0.1.2
1029910299
magic-string: ^0.26.2
1030010300
mlly: ^0.5.14

0 commit comments

Comments
 (0)