chore(dependencies): Update dependencies (#3809)

* update deps

* Remove ignoredBuiltDependencies

* Fix build errors

* try this

* update config

* add coma

* Try this

* Revert import change

* try this

* add wasm import

* Load wasm

* try this

* Revert nitro version change

* Revert nitro config change
This commit is contained in:
Eric Fennis
2025-11-27 10:50:19 +01:00
committed by GitHub
parent 33bb95edcd
commit 076e0bbcd9
24 changed files with 3718 additions and 4660 deletions

View File

@@ -9,6 +9,7 @@ if (process.env.NODE_ENV === 'development') {
wasm = fs.readFileSync(require.resolve('@resvg/resvg-wasm/index_bg.wasm')); wasm = fs.readFileSync(require.resolve('@resvg/resvg-wasm/index_bg.wasm'));
} else { } else {
// @ts-ignore
wasm = resvg_wasm; wasm = resvg_wasm;
} }

View File

@@ -1,4 +1,4 @@
import { bundledLanguages, getHighlighter, type ThemeRegistration } from 'shikiji'; import { bundledLanguages, createHighlighter, type ThemeRegistration } from 'shiki';
type CodeExampleType = { type CodeExampleType = {
title: string; title: string;
@@ -112,7 +112,7 @@ export type ThemeOptions =
| { light: ThemeRegistration; dark: ThemeRegistration }; | { light: ThemeRegistration; dark: ThemeRegistration };
const highLightCode = async (code: string, lang: string, active?: boolean) => { const highLightCode = async (code: string, lang: string, active?: boolean) => {
const highlighter = await getHighlighter({ const highlighter = await createHighlighter({
themes: ['github-light', 'github-dark'], themes: ['github-light', 'github-dark'],
langs: Object.keys(bundledLanguages), langs: Object.keys(bundledLanguages),
}); });

View File

@@ -1,5 +1,5 @@
import { bundledLanguages, type ThemeRegistration } from 'shikiji'; import { bundledLanguages, type ThemeRegistration } from 'shiki';
import { getHighlighter } from 'shikiji'; import { createHighlighter } from 'shiki';
type CodeExampleType = { type CodeExampleType = {
title: string; title: string;
@@ -119,7 +119,7 @@ export type ThemeOptions =
| { light: ThemeRegistration; dark: ThemeRegistration }; | { light: ThemeRegistration; dark: ThemeRegistration };
const highLightCode = async (code: string, lang: string, active?: boolean) => { const highLightCode = async (code: string, lang: string, active?: boolean) => {
const highlighter = await getHighlighter({ const highlighter = await createHighlighter({
themes: ['github-light', 'github-dark'], themes: ['github-light', 'github-dark'],
langs: Object.keys(bundledLanguages), langs: Object.keys(bundledLanguages),
}); });

View File

@@ -1,12 +1,12 @@
import { bundledLanguages, type ThemeRegistration } from 'shikiji'; import { bundledLanguages, type ThemeRegistration } from 'shiki';
import { getHighlighter } from 'shikiji'; import { createHighlighter } from 'shiki';
export type ThemeOptions = export type ThemeOptions =
| ThemeRegistration | ThemeRegistration
| { light: ThemeRegistration; dark: ThemeRegistration }; | { light: ThemeRegistration; dark: ThemeRegistration };
const highLightCode = async (code: string, lang: string, active?: boolean) => { const highLightCode = async (code: string, lang: string, active?: boolean) => {
const highlighter = await getHighlighter({ const highlighter = await createHighlighter({
themes: ['github-light', 'github-dark'], themes: ['github-light', 'github-dark'],
langs: Object.keys(bundledLanguages), langs: Object.keys(bundledLanguages),
}); });

View File

@@ -28,35 +28,35 @@
"@lucide/build-icons": "workspace:*", "@lucide/build-icons": "workspace:*",
"@lucide/helpers": "workspace:*", "@lucide/helpers": "workspace:*",
"@lucide/shared": "workspace:*", "@lucide/shared": "workspace:*",
"@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-replace": "^6.0.3",
"@types/semver": "^7.5.3", "@types/semver": "^7.7.1",
"nitropack": "2.8.1", "nitropack": "2.8.1",
"rollup-plugin-copy": "^3.5.0", "rollup-plugin-copy": "^3.5.0",
"vitepress": "^1.6.3", "svg-path-commander": "^2.1.11",
"svg-path-commander": "^2.1.11" "vitepress": "^1.6.4"
}, },
"dependencies": { "dependencies": {
"@floating-ui/vue": "^1.0.3", "@floating-ui/vue": "^1.1.9",
"@headlessui/vue": "^1.7.17", "@headlessui/vue": "^1.7.23",
"@resvg/resvg-wasm": "^2.6.2", "@resvg/resvg-wasm": "^2.6.2",
"@vueuse/components": "^12.0.0", "@vueuse/components": "^14.0.0",
"@vueuse/core": "^12.0.0", "@vueuse/core": "^14.0.0",
"element-to-path": "^1.2.1", "element-to-path": "^1.2.1",
"fuse.js": "^6.5.3", "fuse.js": "^7.1.0",
"jszip": "^3.7.0", "jszip": "^3.10.1",
"lodash": "^4.17.20", "lodash": "^4.17.21",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"lucide-react": "workspace:*", "lucide-react": "workspace:*",
"lucide-vue-next": "workspace:*", "lucide-vue-next": "workspace:*",
"react": "^18.2.0", "react": "^18.3.1",
"react-dom": "^18.2.0", "react-dom": "^18.3.1",
"sandpack-vue3": "3.1.11", "sandpack-vue3": "3.1.11",
"semver": "^7.5.2", "semver": "^7.7.3",
"shikiji": "^0.7.4", "shiki": "^3.15.0",
"simple-git": "^3.18.0", "simple-git": "^3.30.0",
"sitemap": "^7.1.1", "sitemap": "^7.1.2",
"svg-pathdata": "^6.0.3", "svg-pathdata": "^6.0.3",
"svgson": "^5.2.1", "svgson": "^5.3.1",
"vue": "^3.5.18" "vue": "^3.5.24"
} }
} }

View File

@@ -32,7 +32,7 @@ const vercelRouteConfig = {
}, },
{ {
src: '(?<url>/api/.*)', src: '(?<url>/api/.*)',
dest: '/__nitro?url=$url', dest: '/__fallback?url=$url',
}, },
...iconAliasesRedirectRoutes, ...iconAliasesRedirectRoutes,
], ],

View File

@@ -49,6 +49,7 @@
"@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0", "@typescript-eslint/parser": "^6.21.0",
"ajv-cli": "^5.0.0", "ajv-cli": "^5.0.0",
"dotenv": "^17.0.0",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-airbnb-typescript": "^17.1.0",
@@ -64,12 +65,11 @@
"p-memoize": "^7.1.1", "p-memoize": "^7.1.1",
"prettier": "3.2.4", "prettier": "3.2.4",
"prettier-plugin-astro": "^0.14.1", "prettier-plugin-astro": "^0.14.1",
"semver": "^7.7.1", "semver": "^7.7.3",
"simple-git": "^3.27.0", "simple-git": "^3.27.0",
"svgo": "^3.3.2", "svgo": "^3.3.2",
"svgson": "^5.3.1", "svgson": "^5.3.1",
"yargs": "^17.7.2", "yargs": "^17.7.2",
"dotenv": "^17.0.0",
"zod": "^3.25.67" "zod": "^3.25.67"
}, },
"engines": { "engines": {
@@ -85,7 +85,13 @@
} }
}, },
"overrides": { "overrides": {
"cross-spawn": "7.0.5" "cross-spawn": "7.0.5",
"form-data": "^4.0.4",
"fast-json-patch": "^3.1.1",
"webpack-dev-middleware": "^5.3.4",
"semver": "^7.7.3",
"axios": "^1.12.0",
"vite-prerender-plugin": "0.5.12"
} }
} }
} }

View File

@@ -55,7 +55,9 @@
"linkedom": "^0.18.5", "linkedom": "^0.18.5",
"prettier": "^3.4.2", "prettier": "^3.4.2",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vitest": "^3.1.3" "vite": "^6.3.6",
"vitest": "^4.0.12",
"astro": "^5.16.0"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^4 || ^5" "astro": "^4 || ^5"

View File

@@ -45,18 +45,18 @@
"@lucide/build-icons": "workspace:*", "@lucide/build-icons": "workspace:*",
"@lucide/rollup-plugins": "workspace:*", "@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*", "@lucide/shared": "workspace:*",
"@preact/preset-vite": "^2.7.0", "@preact/preset-vite": "^2.10.2",
"@testing-library/jest-dom": "^6.1.4", "@testing-library/jest-dom": "^6.1.4",
"@testing-library/preact": "^3.2.3", "@testing-library/preact": "^3.2.3",
"jest-serializer-html": "^7.1.0", "jest-serializer-html": "^7.1.0",
"preact": "^10.19.2", "preact": "^10.19.2",
"rollup": "^4.22.4", "rollup": "^4.53.3",
"rollup-plugin-dts": "^6.1.0", "rollup-plugin-dts": "^6.2.3",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3" "vitest": "^4.0.12"
}, },
"peerDependencies": { "peerDependencies": {
"preact": "^10.5.13" "preact": "^10.27.2"
} }
} }

View File

@@ -56,11 +56,11 @@
"react-dom": "^18.0.0", "react-dom": "^18.0.0",
"react-native": "^0.76.0", "react-native": "^0.76.0",
"react-native-svg": "^15.8.0", "react-native-svg": "^15.8.0",
"rollup": "^4.22.4", "rollup": "^4.53.3",
"rollup-plugin-dts": "^6.1.0", "rollup-plugin-dts": "^6.2.3",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3" "vitest": "^4.0.12"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0",

View File

@@ -61,12 +61,12 @@
"jest-serializer-html": "^7.1.0", "jest-serializer-html": "^7.1.0",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"rollup": "^4.22.4", "rollup": "^4.53.3",
"rollup-plugin-dts": "^6.1.0", "rollup-plugin-dts": "^6.2.3",
"rollup-plugin-preserve-directives": "^0.4.0", "rollup-plugin-preserve-directives": "^0.4.0",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3" "vitest": "^4.0.12"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"

View File

@@ -77,12 +77,12 @@
"@testing-library/jest-dom": "^6.4.2", "@testing-library/jest-dom": "^6.4.2",
"babel-preset-solid": "^1.8.12", "babel-preset-solid": "^1.8.12",
"jest-serializer-html": "^7.1.0", "jest-serializer-html": "^7.1.0",
"rollup": "^4.22.4", "rollup": "^4.53.3",
"solid-js": "^1.9.4", "solid-js": "^1.9.4",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vite-plugin-solid": "^2.11.6", "vite-plugin-solid": "^2.11.6",
"vitest": "^3.1.3", "vitest": "^4.0.12",
"esbuild": "^0.25.0" "esbuild": "^0.25.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@@ -44,7 +44,7 @@
"@types/node": "^22.15.30", "@types/node": "^22.15.30",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"svgson": "^5.2.1", "svgson": "^5.2.1",
"rollup": "^4.40.0", "rollup": "^4.53.3",
"rollup-plugin-dts": "^6.2.1" "rollup-plugin-dts": "^6.2.1"
} }
} }

View File

@@ -70,8 +70,8 @@
"svelte-check": "^3.4.4", "svelte-check": "^3.4.4",
"svelte-preprocess": "^5.0.4", "svelte-preprocess": "^5.0.4",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3" "vitest": "^4.0.12"
}, },
"peerDependencies": { "peerDependencies": {
"svelte": "^3 || ^4 || ^5.0.0-next.42" "svelte": "^3 || ^4 || ^5.0.0-next.42"

View File

@@ -49,13 +49,13 @@
"@lucide/rollup-plugins": "workspace:*", "@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*", "@lucide/shared": "workspace:*",
"@testing-library/jest-dom": "^6.1.6", "@testing-library/jest-dom": "^6.1.6",
"@testing-library/vue": "^8.0.3", "@testing-library/vue": "^8.1.0",
"@vitejs/plugin-vue": "^4.6.2", "@vitejs/plugin-vue": "^6.0.2",
"@vue/test-utils": "2.4.5", "@vue/test-utils": "2.4.6",
"rollup": "^4.22.4", "rollup": "^4.53.3",
"rollup-plugin-dts": "^6.1.0", "rollup-plugin-dts": "^6.2.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3", "vitest": "^4.0.12",
"vue": "^3.4.21" "vue": "^3.4.21"
}, },
"peerDependencies": { "peerDependencies": {

View File

@@ -50,10 +50,10 @@
"@testing-library/vue": "^5.9.0", "@testing-library/vue": "^5.9.0",
"@vitejs/plugin-vue2": "2.2.0", "@vitejs/plugin-vue2": "2.2.0",
"@vue/test-utils": "1.3.0", "@vue/test-utils": "1.3.0",
"rollup": "^3.29.5", "rollup": "^4.53.3",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3", "vitest": "^4.0.12",
"vue": "2.7.14", "vue": "2.7.14",
"vue-template-compiler": "2.7.14" "vue-template-compiler": "2.7.14"
}, },

View File

@@ -48,10 +48,10 @@
"@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-replace": "^6.0.2",
"@testing-library/jest-dom": "^6.6.3", "@testing-library/jest-dom": "^6.6.3",
"jest-serializer-html": "^7.1.0", "jest-serializer-html": "^7.1.0",
"rollup": "^4.40.0", "rollup": "^4.53.3",
"rollup-plugin-dts": "^6.2.1", "rollup-plugin-dts": "^6.2.3",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.6", "vite": "^7.2.4",
"vitest": "^3.1.3" "vitest": "^4.0.12"
} }
} }

View File

@@ -13,6 +13,7 @@
"test:watch": "vitest watch" "test:watch": "vitest watch"
}, },
"devDependencies": { "devDependencies": {
"vitest": "^3.1.3" "vite": "^7.2.4",
"vitest": "^4.0.12"
} }
} }

View File

@@ -70,8 +70,8 @@
"svelte-check": "^4.1.4", "svelte-check": "^4.1.4",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "6.1.6", "vite": "^6.3.6",
"vitest": "^3.1.3" "vitest": "^4.0.12"
}, },
"peerDependencies": { "peerDependencies": {
"svelte": "^5" "svelte": "^5"

View File

@@ -112,6 +112,7 @@ exports[`Using lucide icon components > should adjust the size, stroke color and
<!----> <!---->
</svg> </svg>
</div> </div>
`; `;
@@ -206,6 +207,7 @@ exports[`Using lucide icon components > should render an component 1`] = `
<!----> <!---->
</svg> </svg>
</div> </div>
`; `;
@@ -268,5 +270,6 @@ exports[`Using lucide icon components > should render an icon slot 1`] = `
<!----> <!---->
</svg> </svg>
</div> </div>
`; `;

8199
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,7 +14,7 @@
"dependencies": { "dependencies": {
"fs-extra": "^11.2.0", "fs-extra": "^11.2.0",
"minimist": "^1.2.8", "minimist": "^1.2.8",
"svgtofont": "^6.0.0" "svgtofont": "^6.5.0"
}, },
"devDependencies": { "devDependencies": {
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",

View File

@@ -8,13 +8,13 @@
"license": "ISC", "license": "ISC",
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@atomico/rollup-plugin-sizes": "^1.1.4", "@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-replace": "^6.0.1", "esbuild": "^0.27.0",
"esbuild": "^0.25.2", "rollup": "^4.53.3",
"rollup": "^4.40.0",
"rollup-plugin-esbuild": "^6.2.1", "rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-license": "^3.6.0", "rollup-plugin-license": "^3.6.0",
"rollup-plugin-visualizer": "^5.14.0" "rollup-plugin-summary": "^3.0.1",
"rollup-plugin-visualizer": "^6.0.5"
} }
} }

View File

@@ -1,12 +1,18 @@
/* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable import/no-extraneous-dependencies */
import { visualizer } from 'rollup-plugin-visualizer'; import { visualizer } from 'rollup-plugin-visualizer';
import bundleSize from '@atomico/rollup-plugin-sizes';
import replace from '@rollup/plugin-replace'; import replace from '@rollup/plugin-replace';
import license from 'rollup-plugin-license'; import license from 'rollup-plugin-license';
import esbuild from 'rollup-plugin-esbuild'; import esbuild from 'rollup-plugin-esbuild';
import { nodeResolve } from '@rollup/plugin-node-resolve'; import { nodeResolve } from '@rollup/plugin-node-resolve';
import summary from 'rollup-plugin-summary';
const plugins = ({ pkg, minify = false, withEsbuild = true, esbuildOptions = {} }) => const plugins = ({
pkg,
minify = false,
withEsbuild = true,
esbuildOptions = {},
withSummary = false,
}) =>
[ [
withEsbuild withEsbuild
? esbuild({ ? esbuild({
@@ -24,13 +30,13 @@ const plugins = ({ pkg, minify = false, withEsbuild = true, esbuildOptions = {}
This source code is licensed under the ${pkg.license} license. This source code is licensed under the ${pkg.license} license.
See the LICENSE file in the root directory of this source tree.`, See the LICENSE file in the root directory of this source tree.`,
}), }),
bundleSize(), withSummary ? summary() : null,
visualizer({ visualizer({
sourcemap: true, sourcemap: true,
filename: `stats/${pkg.name}${minify ? '-min' : ''}.html`, filename: `stats/${pkg.name}${minify ? '-min' : ''}.html`,
}), }),
].filter(Boolean); ].filter(Boolean);
export { bundleSize, license, visualizer, replace }; export { license, visualizer, replace };
export default plugins; export default plugins;