From b836e17078f0335537005a8115b5ffda60486c4e Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Tue, 23 Aug 2022 22:47:07 +0200 Subject: [PATCH] chore(deps): update hookable to `2.x` (#6883) --- packages/nuxt/package.json | 2 +- packages/nuxt/src/imports/module.ts | 1 - yarn.lock | 10 +++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index de91c0d0e5..a4e0d805cd 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -48,7 +48,7 @@ "globby": "^13.1.2", "h3": "^0.7.16", "hash-sum": "^2.0.0", - "hookable": "^5.1.2", + "hookable": "^5.2.2", "knitwork": "^0.1.2", "magic-string": "^0.26.2", "mlly": "^0.5.14", diff --git a/packages/nuxt/src/imports/module.ts b/packages/nuxt/src/imports/module.ts index 2200e0bb32..ef6387adc8 100644 --- a/packages/nuxt/src/imports/module.ts +++ b/packages/nuxt/src/imports/module.ts @@ -30,7 +30,6 @@ export default defineNuxtModule>({ options = defu(nuxt.options.autoImports, options) } - // @ts-expect-error nuxt.hooks.deprecateHooks({ 'autoImports:sources': { to: 'imports:sources' }, 'autoImports:dirs': { to: 'imports:dirs' }, diff --git a/yarn.lock b/yarn.lock index 15aa010669..58f8994418 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7870,10 +7870,10 @@ __metadata: languageName: node linkType: hard -"hookable@npm:^5.1.2": - version: 5.1.2 - resolution: "hookable@npm:5.1.2" - checksum: 1b3fb622a26d34c9befe8991cf9ffcb575334ef66e151291bc4b3161e1a609365983d258020571bce4b52226d9b5880150d27ba9f4e4029734e5cd37ac31aa39 +"hookable@npm:^5.2.2": + version: 5.2.2 + resolution: "hookable@npm:5.2.2" + checksum: fb4b3104a62ecf47f1743e8ea1a573656ee8d0601903fafa6a5c7247bc18a007be603e58a302400576f3b4c358b641372b073adf649018db00294d8c34123dbc languageName: node linkType: hard @@ -10294,7 +10294,7 @@ __metadata: globby: ^13.1.2 h3: ^0.7.16 hash-sum: ^2.0.0 - hookable: ^5.1.2 + hookable: ^5.2.2 knitwork: ^0.1.2 magic-string: ^0.26.2 mlly: ^0.5.14