Skip to content

Commit 4fbed5c

Browse files
committedMar 12, 2025
feat: bump all dependencies
1 parent 8ac3520 commit 4fbed5c

File tree

9 files changed

+2948
-3206
lines changed

9 files changed

+2948
-3206
lines changed
 

‎build.config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { defineBuildConfig } from 'unbuild'
2+
3+
export default defineBuildConfig({
4+
})

‎package.json

+34-33
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/icon",
3-
"packageManager": "pnpm@9.15.0",
3+
"packageManager": "pnpm@10.6.2",
44
"version": "1.10.3",
55
"license": "MIT",
66
"type": "module",
@@ -40,48 +40,49 @@
4040
"test": "pnpm run test:unit --run && pnpm run test:playground --run"
4141
},
4242
"dependencies": {
43-
"@iconify/collections": "^1.0.496",
43+
"@iconify/collections": "^1.0.526",
4444
"@iconify/types": "^2.0.0",
45-
"@iconify/utils": "^2.2.1",
46-
"@iconify/vue": "^4.2.0",
47-
"@nuxt/devtools-kit": "^1.6.4",
48-
"@nuxt/kit": "^3.14.1592",
49-
"consola": "^3.2.3",
50-
"local-pkg": "^0.5.1",
51-
"mlly": "^1.7.3",
52-
"ohash": "^1.1.4",
53-
"pathe": "^1.1.2",
45+
"@iconify/utils": "^2.3.0",
46+
"@iconify/vue": "^4.3.0",
47+
"@nuxt/devtools-kit": "^2.2.1",
48+
"@nuxt/kit": "^3.16.0",
49+
"consola": "^3.4.0",
50+
"local-pkg": "^1.1.1",
51+
"mlly": "^1.7.4",
52+
"ohash": "^2.0.11",
53+
"pathe": "^2.0.3",
5454
"picomatch": "^4.0.2",
55-
"std-env": "^3.8.0",
56-
"tinyglobby": "^0.2.10"
55+
"std-env": "^3.8.1",
56+
"tinyglobby": "^0.2.12"
5757
},
5858
"devDependencies": {
59-
"@iconify-json/fluent-emoji-high-contrast": "^1.2.2",
59+
"@iconify-json/fluent-emoji-high-contrast": "^1.2.3",
6060
"@iconify-json/logos": "^1.2.4",
6161
"@iconify-json/ph": "^1.2.2",
62-
"@iconify-json/simple-icons": "^1.2.16",
62+
"@iconify-json/simple-icons": "^1.2.28",
6363
"@iconify-json/solar": "^1.2.2",
6464
"@iconify-json/uil": "^1.2.3",
65-
"@nuxt/devtools": "^1.6.4",
66-
"@nuxt/eslint-config": "^0.7.3",
65+
"@nuxt/devtools": "^2.2.1",
66+
"@nuxt/eslint-config": "^1.2.0",
6767
"@nuxt/module-builder": "^0.8.4",
68-
"@nuxt/schema": "^3.14.1592",
69-
"@nuxt/test-utils": "^3.15.1",
70-
"@types/node": "^22.10.2",
71-
"@types/picomatch": "^3.0.1",
72-
"@unocss/nuxt": "^0.65.1",
73-
"bumpp": "^9.9.1",
74-
"changelogen": "^0.5.7",
75-
"eslint": "^9.17.0",
76-
"nuxt": "^3.14.1592",
77-
"nuxthub": "^0.7.6",
78-
"prettier": "^3.4.2",
79-
"typescript": "~5.6.3",
80-
"untyped": "^1.5.2",
81-
"vite": "^6.0.3",
82-
"vue-tsc": "^2.1.10"
68+
"@nuxt/schema": "^3.16.0",
69+
"@nuxt/test-utils": "^3.17.2",
70+
"@types/node": "^22.13.10",
71+
"@types/picomatch": "^3.0.2",
72+
"@unocss/nuxt": "^66.1.0-beta.3",
73+
"bumpp": "^10.1.0",
74+
"changelogen": "^0.6.1",
75+
"eslint": "^9.22.0",
76+
"nuxt": "^3.16.0",
77+
"nuxthub": "^0.8.9",
78+
"prettier": "^3.5.3",
79+
"typescript": "~5.8.2",
80+
"untyped": "^2.0.0",
81+
"vite": "^6.2.1",
82+
"vue-tsc": "^2.2.8"
8383
},
8484
"resolutions": {
85-
"vite": "^6.0.3"
85+
"nuxt": "^3.16.0",
86+
"vite": "^6.2.1"
8687
}
8788
}

‎playground/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
"deploy": "nuxthub deploy"
1111
},
1212
"dependencies": {
13-
"@nuxthub/core": "^0.8.7",
14-
"nuxt": "^3.14.159"
13+
"@nuxthub/core": "^0.8.18",
14+
"nuxt": "^3.16.0"
1515
},
1616
"devDependencies": {
17-
"@nuxt/test-utils": "^3.14.4",
17+
"@nuxt/test-utils": "^3.17.2",
1818
"@vue/test-utils": "^2.4.6",
19-
"happy-dom": "^15.11.6",
20-
"playwright-core": "^1.49.0",
21-
"vitest": "^2.1.5",
22-
"wrangler": "^3.87.0"
19+
"happy-dom": "^17.4.4",
20+
"playwright-core": "^1.51.0",
21+
"vitest": "^3.0.8",
22+
"wrangler": "^3.114.1"
2323
}
2424
}

‎playground/test/nuxt/fixtures.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ it('mount fixtures', async () => {
1414
'<html><body>' + component.html() + '</body></html>',
1515
{ parser: 'html' },
1616
)
17-
expect(html)
17+
await expect(html)
1818
.toMatchFileSnapshot('./output/fixtures.html')
1919
})

‎pnpm-lock.yaml

+2,889-3,157
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
packages:
22
- playground
3+
onlyBuiltDependencies:
4+
- esbuild
5+
- sharp
6+
- workerd

‎src/runtime/components/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getIcon as _getIcon } from '@iconify/vue'
2-
import type { PropType } from 'vue'
2+
import type { PropType, Component } from 'vue'
33
import { computed, defineComponent, h } from 'vue'
44
import type { NuxtIconRuntimeOptions, IconifyIconCustomizeCallback } from '../../types'
55
import { NuxtIconCss } from './css'
@@ -59,4 +59,4 @@ export default defineComponent({
5959
slots,
6060
)
6161
},
62-
})
62+
}) as Component

‎src/runtime/plugin.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { addAPIProvider, _api, disableCache, setCustomIconsLoader } from '@iconify/vue'
2-
import type { Plugin } from 'nuxt/app'
1+
import { addAPIProvider, _api, setCustomIconsLoader } from '@iconify/vue'
32
import type { IconifyJSON } from '@iconify/types'
43
import type { NuxtIconRuntimeOptions } from '../types'
54
import { defineNuxtPlugin, useAppConfig, useRuntimeConfig } from '#imports'
@@ -14,8 +13,6 @@ export default defineNuxtPlugin({
1413
// @ts-ignore type incompatible
1514
_api.setFetch($fetch.native)
1615

17-
disableCache('all')
18-
1916
const resources: string[] = []
2017
if (options.provider === 'server') {
2118
const baseURL = configs.app?.baseURL?.replace(/\/$/, '') ?? ''
@@ -55,4 +52,7 @@ export default defineNuxtPlugin({
5552
setCustomIconsLoader(customIconLoader, prefix)
5653
}
5754
},
58-
}) as Plugin
55+
56+
// For type portability
57+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
58+
}) as any

‎tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"exclude": [
44
"playground",
55
"dist",
6-
"node_modules"
6+
"node_modules",
7+
".nuxt"
78
]
89
}

0 commit comments

Comments
 (0)
Please sign in to comment.