Skip to content
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

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

Merged
merged 2 commits into from
Nov 7, 2024
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
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "3.0.0-beta.1",
"private": true,
"packageManager": "pnpm@9.9.0",
"packageManager": "pnpm@9.12.3",
"description": "实用工具函数/Vue 组合式函数/工具向 Vue 组件/常用校验函数/一些代码片段 - Utilities/Vue composable/Vue utility components/Validator/Code snippet",
"author": "Wei Zhang <https://github.com/Zhang-Wei-666>",
"license": "MIT",
Expand Down Expand Up @@ -47,35 +47,35 @@
"release": "pnpm test-release && npx bumpp -r --no-tag --no-push"
},
"devDependencies": {
"@arco-design/web-vue": "^2.56.1",
"@floating-ui/vue": "^1.1.4",
"@iconify/json": "^2.2.242",
"@arco-design/web-vue": "^2.56.3",
"@floating-ui/vue": "^1.1.5",
"@iconify/json": "^2.2.269",
"@mixte/components": "workspace:*",
"@mixte/snippets": "workspace:*",
"@mixte/use": "workspace:*",
"@mixte/validator": "workspace:*",
"@moomfe/eslint-config": "^3.4.0",
"@moomfe/small-utils": "^5.3.2",
"@nuxt/kit": "^3.13.0",
"@nuxt/schema": "^3.13.0",
"@rollup/pluginutils": "^5.1.0",
"@shikijs/vitepress-twoslash": "^1.15.2",
"@nuxt/kit": "^3.14.159",
"@nuxt/schema": "^3.14.159",
"@rollup/pluginutils": "^5.1.3",
"@shikijs/vitepress-twoslash": "^1.22.2",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
"@types/postcss-js": "^4.0.4",
"@vercel/analytics": "^1.3.1",
"@vitejs/plugin-vue": "^5.1.3",
"@vercel/analytics": "^1.3.2",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"@vue/compiler-core": "^3.5.12",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^11.0.3",
"@vueuse/core": "^11.2.0",
"axios": "^1.7.7",
"change-case": "^5.4.4",
"defu": "^6.1.4",
"element-plus": "^2.8.1",
"element-plus": "^2.8.7",
"eslint": "^9.14.0",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
Expand All @@ -84,37 +84,37 @@
"js-base64": "^3.7.7",
"js-yaml": "^4.1.0",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.9",
"lint-staged": "^15.2.10",
"lodash-es": "^4.17.21",
"magic-string": "^0.30.11",
"magic-string": "^0.30.12",
"magicast": "^0.3.5",
"mixte": "workspace:*",
"naive-ui": "^2.39.0",
"nanoid": "^5.0.7",
"nuxt": "^3.13.0",
"naive-ui": "^2.40.1",
"nanoid": "^5.0.8",
"nuxt": "^3.14.159",
"pathe": "^1.1.2",
"pnpm": "^9.9.0",
"postcss": "^8.4.42",
"pnpm": "^9.12.3",
"postcss": "^8.4.47",
"postcss-js": "^4.0.1",
"radash": "^12.1.0",
"rollup": "^4.21.2",
"rollup": "^4.24.4",
"rollup-plugin-dts": "^6.1.1",
"sass": "^1.77.8",
"sass": "^1.80.6",
"scule": "^1.3.0",
"shiki": "^1.15.2",
"shiki-magic-move": "^0.4.4",
"shiki": "^1.22.2",
"shiki-magic-move": "^0.5.0",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.0",
"type-fest": "^4.26.0",
"typescript": "^5.5.4",
"unocss": "^0.62.3",
"tsx": "^4.19.2",
"type-fest": "^4.26.1",
"typescript": "^5.6.3",
"unocss": "^0.64.0",
"unocss-preset-extra": "^0.5.3",
"unocss-preset-scrollbar": "^0.3.1",
"unplugin-auto-import": "^0.18.2",
"unplugin-icons": "^0.19.2",
"unplugin-auto-import": "^0.18.3",
"unplugin-icons": "^0.20.1",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.2",
"vitepress": "^1.3.4",
"vite": "^5.4.10",
"vitepress": "^1.5.0",
"vitest": "^2.1.4",
"vue": "^3.5.12",
"vue-demi": "^0.14.10",
Expand Down
4 changes: 2 additions & 2 deletions packages/snippets/src/toggleThemeViewTransition/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('toggleThemeViewTransition', () => {
let documentElementAnimate: any;
let matchMedia: any;

beforeEach(() => { // @ts-expect-error
beforeEach(() => {
startViewTransition = document.startViewTransition;// @ts-expect-error
document.startViewTransition = mockStartViewTransition;
mockStartViewTransition.mockClear();
Expand All @@ -40,7 +40,7 @@ describe('toggleThemeViewTransition', () => {
mockMatchMedia.mockClear();
});

afterEach(async () => { // @ts-expect-error
afterEach(async () => {
document.startViewTransition = startViewTransition;
document.documentElement.animate = documentElementAnimate;
window.matchMedia = matchMedia;
Expand Down
2 changes: 0 additions & 2 deletions packages/snippets/src/toggleThemeViewTransition/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export async function toggleThemeViewTransition(
const { prefersReducedMotion = true } = options;

if (
// @ts-expect-error
!document.startViewTransition
|| (prefersReducedMotion ? window.matchMedia('(prefers-reduced-motion: reduce)').matches : false)
) {
Expand All @@ -67,7 +66,6 @@ export async function toggleThemeViewTransition(
// eslint-disable-next-line ts/no-unused-expressions
window.getComputedStyle(style).opacity;

// @ts-expect-error
await document.startViewTransition(async () => {
toggle();
await nextTick();
Expand Down
Loading