8000 chore(deps): update nuxt framework to ^3.17.1 by renovate[bot] · Pull Request #1827 · nuxt/image · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(deps): update nuxt framework to ^3.17.1 #1827

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@nuxtjs/plausible": "^1.2.0",
"@vueuse/core": "^13.1.0",
"@vueuse/nuxt": "^13.1.0",
"nuxt": "^3.16.2",
"nuxt": "^3.17.1",
"nuxt-og-image": "^5.1.3",
"ohash": "^1.1.6",
"perfect-debounce": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"dependencies": {
"@nuxt/image": "latest",
"nuxt": "3.16.2"
"nuxt": "3.17.1"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"test:types": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck example"
},
"dependencies": {
"@nuxt/kit": "^3.16.2",
"@nuxt/kit": "^3.17.1",
"consola": "^3.4.2",
"defu": "^6.1.4",
"h3": "^1.15.3",
Expand All @@ -53,7 +53,7 @@
"devDependencies": {
"@nuxt/eslint-config": "1.3.0",
"@nuxt/module-builder": "1.0.1",
"@nuxt/schema": "3.16.2",
"@nuxt/schema": "3.17.1",
"@nuxt/test-utils": "^3.17.2",
"@types/node": "^22.15.3",
"@types/semver": "^7.7.0",
Expand All @@ -68,7 +68,7 @@
"jiti": "2.4.2",
"knip": "^5.50.5",
"nitropack": "^2.11.11",
"nuxt": "^3.16.2",
"nuxt": "^3.17.1",
"ofetch": "^1.4.1",
"pkg-pr-new": "^0.0.43",
"playwright-core": "^1.52.0",
Expand All @@ -88,7 +88,7 @@
"packageManager": "pnpm@10.10.0",
"resolutions": {
"@nuxt/image": "workspace:*",
"@nuxt/schema": "3.16.2",
"@nuxt/schema": "3.17.1",
"@nuxt/ui": "2.21.1",
"vue": "3.5.13"
},
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"@nuxt/image": "latest",
"nuxt": "3.16.2"
"nuxt": "3.17.1"
}
}
1,972 changes: 284 additions & 1,688 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/ipx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export const ipxSetup: IPXSetupT = setupOptions => (providerOptions, moduleOptio
// Options
const publicDirs = nuxt.options._layers.map((layer) => {
const isRootLayer = layer.config.rootDir === nuxt.options.rootDir
const layerOptions = isRootLayer ? nuxt.options : layer.config
const path = isRootLayer ? moduleOptions.dir : layerOptions.dir?.public || 'public'
const srcDir = isRootLayer ? nuxt.options.srcDir : layer.config.srcDir
const path = isRootLayer ? moduleOptions.dir : layer.config.dir?.public || 'public'

return resolve(layerOptions.srcDir, path)
return resolve(srcDir, path)
}).filter(dir => existsSync(dir))
const relativeDir = relative(nitro.options.output.serverDir, nitro.options.output.publicDir)
const ipxOptions: IPXRuntimeConfig = {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/ssr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('browser (ssr: true)', () => {
})

it('works with server-side useImage', async () => {
expect(await $fetch('/api/image')).toMatchInlineSnapshot(`
expect(await $fetch('/api/image' as any)).toMatchInlineSnapshot(`
{
"format": "webp",
"url": "/_ipx/f_webp&q_75/image.jpg",
Expand Down
0