diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 31732fa048..928bb7787c 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -101,7 +101,7 @@ "unplugin-vue-router": "^0.6.4", "untyped": "^1.4.0", "vue": "^3.3.4", - "vue-bundle-renderer": "^1.0.3", + "vue-bundle-renderer": "^2.0.0", "vue-devtools-stub": "^0.1.0", "vue-router": "^4.2.4" }, diff --git a/packages/schema/package.json b/packages/schema/package.json index 9622f4af63..9083c40cb2 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -42,7 +42,7 @@ "unctx": "2.3.1", "vite": "4.4.7", "vue": "3.3.4", - "vue-bundle-renderer": "1.0.3", + "vue-bundle-renderer": "2.0.0", "vue-loader": "17.2.2", "vue-router": "4.2.4", "webpack": "5.88.2", diff --git a/packages/vite/package.json b/packages/vite/package.json index cf0e21aa4c..b11fac9ee6 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -60,7 +60,7 @@ "vite": "^4.4.7", "vite-node": "^0.33.0", "vite-plugin-checker": "^0.6.1", - "vue-bundle-renderer": "^1.0.3" + "vue-bundle-renderer": "^2.0.0" }, "peerDependencies": { "vue": "^3.3.4" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 9dc704b01a..77cff01dc3 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -52,7 +52,7 @@ "ufo": "^1.2.0", "unplugin": "^1.4.0", "url-loader": "^4.1.1", - "vue-bundle-renderer": "^1.0.3", + "vue-bundle-renderer": "^2.0.0", "vue-loader": "^17.2.2", "webpack": "^5.88.2", "webpack-bundle-analyzer": "^4.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41c37b4a54..0735789e05 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -485,8 +485,8 @@ importers: specifier: 3.3.4 version: 3.3.4 vue-bundle-renderer: - specifier: ^1.0.3 - version: 1.0.3 + specifier: ^2.0.0 + version: 2.0.0 vue-devtools-stub: specifier: ^0.1.0 version: 0.1.0 @@ -601,8 +601,8 @@ importers: specifier: 3.3.4 version: 3.3.4 vue-bundle-renderer: - specifier: 1.0.3 - version: 1.0.3 + specifier: 2.0.0 + version: 2.0.0 vue-loader: specifier: 17.2.2 version: 17.2.2(vue@3.3.4)(webpack@5.88.2) @@ -767,8 +767,8 @@ importers: specifier: ^0.6.1 version: 0.6.1(eslint@8.46.0)(typescript@5.1.6)(vite@4.4.7)(vue-tsc@1.8.8) vue-bundle-renderer: - specifier: ^1.0.3 - version: 1.0.3 + specifier: ^2.0.0 + version: 2.0.0 devDependencies: '@nuxt/schema': specifier: workspace:* @@ -891,8 +891,8 @@ importers: specifier: ^4.1.1 version: 4.1.1(file-loader@6.2.0)(webpack@5.88.2) vue-bundle-renderer: - specifier: ^1.0.3 - version: 1.0.3 + specifier: ^2.0.0 + version: 2.0.0 vue-loader: specifier: ^17.2.2 version: 17.2.2(vue@3.3.4)(webpack@5.88.2) @@ -9089,8 +9089,8 @@ packages: resolution: {integrity: sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==} dev: false - /vue-bundle-renderer@1.0.3: - resolution: {integrity: sha512-EfjX+5TTUl70bki9hPuVp+54JiZOvFIfoWBcfXsSwLzKEiDYyHNi5iX8srnqLIv3YRnvxgbntdcG1WPq0MvffQ==} + /vue-bundle-renderer@2.0.0: + resolution: {integrity: sha512-oYATTQyh8XVkUWe2kaKxhxKVuuzK2Qcehe+yr3bGiaQAhK3ry2kYE4FWOfL+KO3hVFwCdLmzDQTzYhTi9C+R2A==} dependencies: ufo: 1.2.0 diff --git a/test/basic.test.ts b/test/basic.test.ts index 879bc8c886..25365c0067 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -1365,7 +1365,6 @@ describe.skipIf(isDev() || isWebpack)('inlining component styles', () => { const html: string = await $fetch('/styles') expect(html.match(/]*href="[^"]*\.css">/g)?.filter(m => m.includes('entry'))?.map(m => m.replace(/\.[^.]*\.css/, '.css'))).toMatchInlineSnapshot(` [ - "", "", ] `)