chore(deps): update all non-major dependencies (#9549)

* update tests for islands head regression

Co-authored-by: Pooya Parsa <pooya@pi0.io>
This commit is contained in:
renovate[bot] 2022-12-08 16:16:22 +01:00 committed by GitHub
parent 1202b1ac97
commit 7f5f952911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 422 additions and 210 deletions

View File

@ -35,7 +35,7 @@
"nuxi": "workspace:*",
"nuxt": "workspace:*",
"nuxt3": "workspace:nuxt@*",
"unbuild": "^1.0.0",
"unbuild": "^1.0.2",
"vite": "^3.2.5",
"vue": "3.2.45"
},
@ -69,14 +69,14 @@
"rimraf": "^3.0.2",
"semver": "^7.3.8",
"std-env": "^3.3.1",
"typescript": "^4.9.3",
"typescript": "^4.9.4",
"ufo": "^1.0.1",
"unbuild": "^1.0.0",
"unbuild": "^1.0.2",
"vite": "^3.2.5",
"vitest": "^0.25.4",
"vitest": "^0.25.5",
"vue-tsc": "^1.0.11"
},
"packageManager": "pnpm@7.18.0",
"packageManager": "pnpm@7.18.1",
"engines": {
"node": "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}

View File

@ -14,7 +14,7 @@
},
"dependencies": {
"@nuxt/schema": "3.0.0",
"c12": "^1.0.1",
"c12": "^1.1.0",
"consola": "^2.15.3",
"defu": "^6.1.1",
"globby": "^13.1.2",

View File

@ -24,7 +24,7 @@
"@types/flat": "^5.0.2",
"@types/mri": "^1.1.1",
"@types/semver": "^7",
"c12": "^1.0.1",
"c12": "^1.1.0",
"chokidar": "^3.5.3",
"clear": "^0.1.0",
"clipboardy": "^3.0.0",

View File

@ -44,9 +44,9 @@
"@nuxt/vite-builder": "3.0.0",
"@vue/reactivity": "^3.2.45",
"@vue/shared": "^3.2.45",
"@vueuse/head": "^1.0.20",
"unhead": "^1.0.7",
"@unhead/ssr": "^1.0.7",
"@vueuse/head": "^1.0.22",
"unhead": "^1.0.13",
"@unhead/ssr": "^1.0.13",
"chokidar": "^3.5.3",
"cookie-es": "^0.5.0",
"defu": "^6.1.1",

View File

@ -17,13 +17,13 @@
"@types/lodash.template": "^4",
"@types/semver": "^7",
"@vitejs/plugin-vue": "^3.2.0",
"@unhead/schema": "^1.0.7",
"@unhead/schema": "^1.0.13",
"nitropack": "^1.0.0",
"unbuild": "latest",
"vite": "~3.2.5"
},
"dependencies": {
"c12": "^1.0.1",
"c12": "^1.1.0",
"create-require": "^1.1.1",
"defu": "^6.1.1",
"jiti": "^1.16.0",

View File

@ -26,7 +26,7 @@
"devDependencies": {
"playwright": "^1.28.1",
"unbuild": "latest",
"vitest": "^0.25.4"
"vitest": "^0.25.5"
},
"peerDependencies": {
"vue": "^3.2.45"

View File

@ -27,7 +27,7 @@
"chokidar": "^3.5.3",
"cssnano": "^5.1.14",
"defu": "^6.1.1",
"esbuild": "^0.15.18",
"esbuild": "^0.16.2",
"escape-string-regexp": "^5.0.0",
"estree-walker": "^3.0.1",
"externality": "^1.0.0",
@ -42,14 +42,14 @@
"perfect-debounce": "^0.1.3",
"pkg-types": "^1.0.1",
"postcss": "^8.4.19",
"postcss-import": "^15.0.1",
"postcss-import": "^15.1.0",
"postcss-url": "^10.1.3",
"rollup": "^2.79.1",
"rollup-plugin-visualizer": "^5.8.3",
"ufo": "^1.0.1",
"unplugin": "^1.0.0",
"vite": "~3.2.5",
"vite-node": "^0.25.4",
"vite-node": "^0.25.5",
"vite-plugin-checker": "^0.5.1",
"vue-bundle-renderer": "^1.0.0"
},

View File

@ -39,7 +39,7 @@
"pathe": "^1.0.0",
"pify": "^6.1.0",
"postcss": "^8.4.19",
"postcss-import": "^15.0.1",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.0.2",
"postcss-url": "^10.1.3",
"style-resources-loader": "^1.5.0",

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@ import { fileURLToPath } from 'node:url'
import { describe, expect, it } from 'vitest'
import { joinURL, withQuery } from 'ufo'
import { isWindows } from 'std-env'
import { normalize } from 'pathe'
// eslint-disable-next-line import/order
import { setup, fetch, $fetch, startServer, createPage, url } from '@nuxt/test-utils'
import type { NuxtIslandResponse } from '../packages/nuxt/src/core/runtime/nitro/renderer'
@ -813,6 +814,11 @@ describe('component islands', () => {
if (process.env.NUXT_TEST_DEV) {
result.head.link = result.head.link.filter(l => !l.href.includes('@nuxt+ui-templates'))
const fixtureDir = normalize(fileURLToPath(new URL('./fixtures/basic', import.meta.url)))
for (const link of result.head.link) {
link.href = link.href.replace(fixtureDir, '/<rootDir>').replaceAll('//', '/')
link.key = link.key.replace(/-[a-zA-Z0-9]+$/, '')
}
}
result.head.style = result.head.style.map(s => ({
...s,
@ -833,12 +839,19 @@ describe('component islands', () => {
}
`)
} else if (process.env.NUXT_TEST_DEV) {
// TODO: Investigate extra style
// Introduced by https://github.com/nuxt/framework/pull/9549
expect(result.head).toMatchInlineSnapshot(`
{
"link": [
{
"href": "/_nuxt/components/islands/PureComponent.vue?vue&type=style&index=0&scoped=c0c0cf89&lang.css",
"key": "island-link-gH9jFOYxRw",
"key": "island-link",
"rel": "stylesheet",
},
{
"href": "/_nuxt/<rootDir>/components/islands/PureComponent.vue?vue&type=style&index=0&scoped=c0c0cf89&lang.css",
"key": "island-link",
"rel": "stylesheet",
},
],