From b881581158fc14e4007138aa893ccceb471c5c1d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 15:27:15 +0000 Subject: [PATCH 1/2] chore(deps): update nuxt core --- package.json | 4 +-- packages/bridge/package.json | 4 +-- playground/package.json | 2 +- pnpm-lock.yaml | 52 +++++++++++++++++++++--------------- 4 files changed, 36 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index c96daebe3..110efb593 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "jiti": "2.6.1", "knip": "5.85.0", "neostandard": "^0.12.2", - "nuxi": "3.33.1", + "nuxi": "3.34.0", "ofetch": "1.5.1", "pathe": "^2.0.3", "playwright-core": "1.58.2", @@ -53,7 +53,7 @@ "@nuxt/bridge": "workspace:*", "@nuxt/bridge-schema": "workspace:*", "h3": "1.15.5", - "@nuxt/kit": "3.21.1", + "@nuxt/kit": "3.21.2", "espree": "11.1.1", "eslint-visitor-keys": "5.0.1" }, diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 35e6bf94b..71c8e27ea 100644 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -28,8 +28,8 @@ "@babel/plugin-transform-typescript": "^7.28.6", "@nuxt/bridge-schema": "workspace:*", "@nuxt/devalue": "^2.0.2", - "@nuxt/kit": "3.21.1", - "@nuxt/schema": "3.21.1", + "@nuxt/kit": "3.21.2", + "@nuxt/schema": "3.21.2", "@nuxt/ui-templates": "^1.3.4", "@rollup/plugin-replace": "^6.0.3", "@unhead/ssr": "^1.11.20", diff --git a/playground/package.json b/playground/package.json index 3634ba960..8ed70f6e0 100644 --- a/playground/package.json +++ b/playground/package.json @@ -9,7 +9,7 @@ }, "devDependencies": { "@nuxt/bridge": "latest", - "nuxi": "3.33.1", + "nuxi": "3.34.0", "nuxt": "^2.18.1" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b4372f712..dfc9ca337 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ overrides: '@nuxt/bridge': workspace:* '@nuxt/bridge-schema': workspace:* h3: 1.15.5 - '@nuxt/kit': 3.21.1 + '@nuxt/kit': 3.21.2 espree: 11.1.1 eslint-visitor-keys: 5.0.1 @@ -71,8 +71,8 @@ importers: specifier: ^0.12.2 version: 0.12.2(@typescript-eslint/utils@8.56.1(eslint@10.0.2(jiti@2.6.1))(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.56.1(eslint@10.0.2(jiti@2.6.1))(typescript@5.9.3))(eslint@10.0.2(jiti@2.6.1)))(eslint@10.0.2(jiti@2.6.1))(typescript@5.9.3) nuxi: - specifier: 3.33.1 - version: 3.33.1 + specifier: 3.34.0 + version: 3.34.0 ofetch: specifier: 1.5.1 version: 1.5.1 @@ -116,11 +116,11 @@ importers: specifier: ^2.0.2 version: 2.0.2 '@nuxt/kit': - specifier: 3.21.1 - version: 3.21.1(magicast@0.5.1) + specifier: 3.21.2 + version: 3.21.2(magicast@0.5.1) '@nuxt/schema': - specifier: 3.21.1 - version: 3.21.1 + specifier: 3.21.2 + version: 3.21.2 '@nuxt/ui-templates': specifier: ^1.3.4 version: 1.3.4 @@ -362,8 +362,8 @@ importers: specifier: workspace:* version: link:../packages/bridge nuxi: - specifier: 3.33.1 - version: 3.33.1 + specifier: 3.34.0 + version: 3.34.0 nuxt: specifier: ^2.18.1 version: 2.18.1(@vue/compiler-sfc@3.5.26)(buffer@6.0.3)(consola@3.4.2)(typescript@5.9.3)(vue@2.7.16) @@ -1735,8 +1735,8 @@ packages: resolution: {integrity: sha512-kZMfB5Ymvd/5ek+xfk2svQiMJWEAjZf5XNFTG+2WiNsitHb01Bo3W2QGidy+dwfuLtHoiOJkMovRlyAKWxTohg==} engines: {node: ^14.18.0 || >=16.10.0} - '@nuxt/kit@3.21.1': - resolution: {integrity: sha512-QORZRjcuTKgo++XP1Pc2c2gqwRydkaExrIRfRI9vFsPA3AzuHVn5Gfmbv1ic8y34e78mr5DMBvJlelUaeOuajg==} + '@nuxt/kit@3.21.2': + resolution: {integrity: sha512-Bd6m6mrDrqpBEbX+g0rc66/ALd1sxlgdx5nfK9MAYO0yKLTOSK7McSYz1KcOYn3LQFCXOWfvXwaqih/b+REI1g==} engines: {node: '>=18.12.0'} '@nuxt/loading-screen@2.0.4': @@ -1747,8 +1747,8 @@ packages: engines: {node: ^14.18.0 || >=16.10.0, npm: '>=5.10.0'} hasBin: true - '@nuxt/schema@3.21.1': - resolution: {integrity: sha512-9cTtB0IFoly+/51yHK5eBooangJuFH9twZJCBPxttxQPwsdG9OgInMuESmGhSVzp8QG4P0lPF7i9ZlgFiQkNgw==} + '@nuxt/schema@3.21.2': + resolution: {integrity: sha512-yZaJrZizRP4OQVCM7qRG3xIJ1xZ59npgg9jd3ng+BDs5ZvLqYP9rXnFikShc8EPUtR6+zhSPgKgy6L8wWcBKzQ==} engines: {node: ^14.18.0 || >=16.10.0} '@nuxt/server@2.18.1': @@ -2708,6 +2708,9 @@ packages: '@vue/shared@3.5.28': resolution: {integrity: sha512-cfWa1fCGBxrvaHRhvV3Is0MgmrbSCxYTXCSCau2I0a1Xw1N1pHAvkWCiXPRAqjvToILvguNyEwjevUqAuBQWvQ==} + '@vue/shared@3.5.30': + resolution: {integrity: sha512-YXgQ7JjaO18NeK2K9VTbDHaFy62WrObMa6XERNfNOkAhD1F1oDSf3ZJ7K6GqabZ0BvSDHajp8qfS5Sa2I9n8uQ==} + '@webassemblyjs/ast@1.9.0': resolution: {integrity: sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==} @@ -5932,8 +5935,8 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nuxi@3.33.1: - resolution: {integrity: sha512-DcmovmZxNP9FHi+w4fpvqIUrIDSVDRv0GuoX3IEOB7B1mSsROPhUV1/lAAoRe/DWScXvuXOy27JM95ukSCfTBw==} + nuxi@3.34.0: + resolution: {integrity: sha512-CeGPANsBStoutGt8adKunjZUy3OVquE8ESSeReT53SjVCXWGpMgt3R9HoJIBEz+1WYR3S06Xfi4foU3Ris7fVQ==} engines: {node: ^16.10.0 || >=18.0.0} hasBin: true @@ -7480,6 +7483,9 @@ packages: std-env@3.10.0: resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + std-env@4.0.0: + resolution: {integrity: sha512-zUMPtQ/HBY3/50VbpkupYHbRroTRZJPRLvreamgErJVys0ceuzMkD44J/QjqhHjOzK42GQ3QZIeFG1OYfOtKqQ==} + stop-iteration-iterator@1.1.0: resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==} engines: {node: '>= 0.4'} @@ -10070,7 +10076,7 @@ snapshots: node-html-parser: 6.1.13 ufo: 1.6.3 - '@nuxt/kit@3.21.1(magicast@0.5.1)': + '@nuxt/kit@3.21.2(magicast@0.5.1)': dependencies: c12: 3.3.3(magicast@0.5.1) consola: 3.4.2 @@ -10110,13 +10116,13 @@ snapshots: dependencies: consola: 3.4.2 - '@nuxt/schema@3.21.1': + '@nuxt/schema@3.21.2': dependencies: - '@vue/shared': 3.5.28 + '@vue/shared': 3.5.30 defu: 6.1.4 pathe: 2.0.3 pkg-types: 2.3.0 - std-env: 3.10.0 + std-env: 4.0.0 '@nuxt/server@2.18.1': dependencies: @@ -10165,7 +10171,7 @@ snapshots: '@nuxt/test-utils@3.23.0(happy-dom@20.7.0)(magicast@0.5.1)(playwright-core@1.58.2)(typescript@5.9.3)(vitest@4.0.18(@types/node@24.10.1)(happy-dom@20.7.0)(jiti@2.6.1)(terser@5.46.0))': dependencies: '@clack/prompts': 1.0.0-alpha.9 - '@nuxt/kit': 3.21.1(magicast@0.5.1) + '@nuxt/kit': 3.21.2(magicast@0.5.1) c12: 3.3.3(magicast@0.5.1) consola: 3.4.2 defu: 6.1.4 @@ -11256,6 +11262,8 @@ snapshots: '@vue/shared@3.5.28': {} + '@vue/shared@3.5.30': {} + '@webassemblyjs/ast@1.9.0': dependencies: '@webassemblyjs/helper-module-context': 1.9.0 @@ -15007,7 +15015,7 @@ snapshots: dependencies: boolbase: 1.0.0 - nuxi@3.33.1: {} + nuxi@3.34.0: {} nuxt@2.18.1(@vue/compiler-sfc@3.5.26)(buffer@6.0.3)(consola@3.4.2)(typescript@5.9.3)(vue@2.7.16): dependencies: @@ -16774,6 +16782,8 @@ snapshots: std-env@3.10.0: {} + std-env@4.0.0: {} + stop-iteration-iterator@1.1.0: dependencies: es-errors: 1.3.0 From 2d743df073e665cfc15eb1f0e3067fc66ce522c2 Mon Sep 17 00:00:00 2001 From: wattanx Date: Sat, 14 Mar 2026 17:20:44 +0900 Subject: [PATCH 2/2] fix: pass module options via installModule instead of bind args --- packages/bridge/src/module.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/bridge/src/module.ts b/packages/bridge/src/module.ts index 9e97d109e..4607f3e21 100644 --- a/packages/bridge/src/module.ts +++ b/packages/bridge/src/module.ts @@ -110,9 +110,10 @@ export default defineNuxtModule({ // @ts-expect-error TODO: legacy module container usage nuxt.hook('modules:done', moduleContainer => installModule( - importsModule.bind(moduleContainer, { + importsModule.bind(moduleContainer), + { autoImport: nuxt.options.imports?.autoImport ?? opts.imports ?? opts.autoImports - }) + } ) ) }