Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#5499)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
  • Loading branch information
renovate[bot] and sheremet-va committed May 9, 2024
1 parent aa54b8e commit 7a843c1
Show file tree
Hide file tree
Showing 24 changed files with 2,442 additions and 2,471 deletions.
7 changes: 4 additions & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@
"@types/chai",
"@sinonjs/fake-timers",
"cac",
// TODO: update when chai is updated to 5.0
"loupe",
// Pinned due to https://github.com/vitest-dev/vitest/issues/4710
"log-update",
// Pinned because it requires "node" condition in the new version
// But we intentionally build Vitest ambiguously
"find-up"
"find-up",
// Pinned because we use execa, and the newer version replaces it with another pkg
// We should remove execa entirely
"@antfu/install-pkg"
]
}
24 changes: 12 additions & 12 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
"generate-pwa-icons": "pwa-assets-generator"
},
"dependencies": {
"@vueuse/core": "^10.6.1",
"vue": "^3.4.21"
"@vueuse/core": "^10.9.0",
"vue": "^3.4.27"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.28",
"@iconify-json/carbon": "^1.1.32",
"@iconify-json/logos": "^1.1.42",
"@shikijs/vitepress-twoslash": "^1.2.4",
"@unocss/reset": "^0.57.4",
"@vite-pwa/assets-generator": "^0.0.11",
"@vite-pwa/vitepress": "^0.2.3",
"@shikijs/vitepress-twoslash": "^1.5.1",
"@unocss/reset": "^0.60.0",
"@vite-pwa/assets-generator": "^0.2.4",
"@vite-pwa/vitepress": "^0.5.0",
"@vitejs/plugin-vue": "latest",
"fast-glob": "^3.3.2",
"https-localhost": "^4.7.1",
"unocss": "^0.57.4",
"unplugin-vue-components": "^0.25.2",
"unocss": "^0.60.0",
"unplugin-vue-components": "^0.27.0",
"vite": "^5.2.8",
"vite-plugin-pwa": "^0.16.7",
"vitepress": "^1.1.0",
"workbox-window": "^7.0.0"
"vite-plugin-pwa": "^0.20.0",
"vitepress": "^1.1.4",
"workbox-window": "^7.1.0"
}
}
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,36 +37,36 @@
"test:browser:playwright": "pnpm -C test/browser run test:playwright"
},
"devDependencies": {
"@antfu/eslint-config": "^2.15.0",
"@antfu/eslint-config": "^2.17.0",
"@antfu/ni": "^0.21.12",
"@playwright/test": "^1.41.0",
"@playwright/test": "^1.44.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/node": "^20.11.5",
"@types/ws": "^8.5.9",
"@types/node": "^20.12.11",
"@types/ws": "^8.5.10",
"@vitest/browser": "workspace:*",
"@vitest/coverage-istanbul": "workspace:*",
"@vitest/coverage-v8": "workspace:*",
"@vitest/ui": "workspace:*",
"bumpp": "^9.2.1",
"esbuild": "^0.19.11",
"eslint": "^9.1.0",
"bumpp": "^9.4.1",
"esbuild": "^0.21.1",
"eslint": "^9.2.0",
"fast-glob": "^3.3.2",
"lint-staged": "^15.1.0",
"magic-string": "^0.30.5",
"pathe": "^1.1.1",
"lint-staged": "^15.2.2",
"magic-string": "^0.30.10",
"pathe": "^1.1.2",
"rimraf": "^5.0.5",
"rollup": "^4.9.6",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-license": "^3.2.0",
"simple-git-hooks": "^2.9.0",
"tsx": "^4.6.1",
"typescript": "^5.2.2",
"rollup-plugin-license": "^3.3.1",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.9.3",
"typescript": "^5.4.5",
"vite": "^5.2.6",
"vitest": "workspace:*",
"zx": "^8.0.1"
"zx": "^8.0.2"
},
"pnpm": {
"overrides": {
Expand Down
12 changes: 6 additions & 6 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,20 @@
},
"dependencies": {
"@vitest/utils": "workspace:*",
"magic-string": "^0.30.5",
"magic-string": "^0.30.10",
"sirv": "^2.0.4"
},
"devDependencies": {
"@types/ws": "^8.5.9",
"@types/ws": "^8.5.10",
"@vitest/runner": "workspace:*",
"@vitest/ui": "workspace:*",
"@vitest/ws-client": "workspace:*",
"@wdio/protocols": "^8.29.7",
"@wdio/protocols": "^8.32.0",
"periscopic": "^4.0.2",
"playwright": "^1.41.0",
"playwright-core": "^1.41.0",
"playwright": "^1.44.0",
"playwright-core": "^1.44.0",
"safaridriver": "^0.1.2",
"vitest": "workspace:*",
"webdriverio": "^8.32.2"
"webdriverio": "^8.36.1"
}
}
8 changes: 4 additions & 4 deletions packages/coverage-istanbul/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"dependencies": {
"debug": "^4.3.4",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-instrument": "^6.0.1",
"istanbul-lib-instrument": "^6.0.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-lib-source-maps": "^5.0.4",
"istanbul-reports": "^3.1.6",
"magicast": "^0.3.3",
"istanbul-reports": "^3.1.7",
"magicast": "^0.3.4",
"picocolors": "^1.0.0",
"test-exclude": "^6.0.0"
},
Expand All @@ -61,7 +61,7 @@
"@types/istanbul-lib-report": "^3.0.3",
"@types/istanbul-lib-source-maps": "^4.0.4",
"@types/istanbul-reports": "^3.0.4",
"pathe": "^1.1.1",
"pathe": "^1.1.2",
"vitest": "workspace:*"
}
}
14 changes: 7 additions & 7 deletions packages/coverage-v8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@
"vitest": "workspace:*"
},
"dependencies": {
"@ampproject/remapping": "^2.2.1",
"@ampproject/remapping": "^2.3.0",
"@bcoe/v8-coverage": "^0.2.3",
"debug": "^4.3.4",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-lib-source-maps": "^5.0.4",
"istanbul-reports": "^3.1.6",
"magic-string": "^0.30.5",
"magicast": "^0.3.3",
"istanbul-reports": "^3.1.7",
"magic-string": "^0.30.10",
"magicast": "^0.3.4",
"picocolors": "^1.0.0",
"std-env": "^3.5.0",
"strip-literal": "^2.0.0",
"std-env": "^3.7.0",
"strip-literal": "^2.1.0",
"test-exclude": "^6.0.0"
},
"devDependencies": {
Expand All @@ -64,7 +64,7 @@
"@types/istanbul-lib-report": "^3.0.3",
"@types/istanbul-lib-source-maps": "^4.0.4",
"@types/istanbul-reports": "^3.0.4",
"pathe": "^1.1.1",
"pathe": "^1.1.2",
"v8-to-istanbul": "^9.2.0",
"vite-node": "workspace:*",
"vitest": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@vitest/spy": "workspace:*",
"@vitest/utils": "workspace:*",
"chai": "^5.0.3"
"chai": "^5.1.1"
},
"devDependencies": {
"@types/chai": "4.3.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"dependencies": {
"@vitest/utils": "workspace:*",
"p-limit": "^5.0.0",
"pathe": "^1.1.1"
"pathe": "^1.1.2"
}
}
4 changes: 2 additions & 2 deletions packages/snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"dev": "rollup -c --watch"
},
"dependencies": {
"magic-string": "^0.30.5",
"pathe": "^1.1.1",
"magic-string": "^0.30.10",
"pathe": "^1.1.2",
"pretty-format": "^29.7.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/spy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"dev": "rollup -c --watch"
},
"dependencies": {
"tinyspy": "^2.2.0"
"tinyspy": "^2.2.1"
}
}
36 changes: 18 additions & 18 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,40 +50,40 @@
"dependencies": {
"@vitest/utils": "workspace:*",
"fast-glob": "^3.3.2",
"fflate": "^0.8.1",
"flatted": "^3.2.9",
"pathe": "^1.1.1",
"fflate": "^0.8.2",
"flatted": "^3.3.1",
"pathe": "^1.1.2",
"picocolors": "^1.0.0",
"sirv": "^2.0.4"
},
"devDependencies": {
"@faker-js/faker": "^8.2.0",
"@faker-js/faker": "^8.4.1",
"@iconify-json/logos": "^1.1.42",
"@testing-library/cypress": "^10.0.1",
"@types/codemirror": "^5.60.15",
"@types/d3-force": "^3.0.9",
"@types/d3-selection": "^3.0.10",
"@types/ws": "^8.5.9",
"@unocss/reset": "^0.57.4",
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@types/ws": "^8.5.10",
"@unocss/reset": "^0.60.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vitest/runner": "workspace:*",
"@vitest/ws-client": "workspace:*",
"@vueuse/core": "^10.6.1",
"@vueuse/core": "^10.9.0",
"ansi-to-html": "^0.7.2",
"birpc": "0.2.15",
"birpc": "0.2.17",
"codemirror": "^5.65.16",
"codemirror-theme-vars": "^0.1.2",
"cypress": "^13.6.2",
"d3-graph-controller": "^3.0.4",
"cypress": "^13.9.0",
"d3-graph-controller": "^3.0.8",
"floating-vue": "^5.2.2",
"splitpanes": "^3.1.5",
"unocss": "^0.57.4",
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2",
"unocss": "^0.60.0",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.27.0",
"vite": "^5.0.0",
"vite-plugin-pages": "^0.31.0",
"vue": "^3.3.8",
"vue-router": "^4.2.5"
"vite-plugin-pages": "^0.32.1",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
}
}
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"dependencies": {
"diff-sequences": "^29.6.3",
"estree-walker": "^3.0.3",
"loupe": "^2.3.7",
"loupe": "^3.1.0",
"pretty-format": "^29.7.0"
},
"devDependencies": {
"@jridgewell/trace-mapping": "^0.3.22",
"@jridgewell/trace-mapping": "^0.3.25",
"@types/estree": "^1.0.5",
"tinyhighlight": "^0.3.2"
}
Expand Down
34 changes: 17 additions & 17 deletions packages/utils/src/display.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
// since this is already part of Vitest via Chai, we can just reuse it without increasing the size of bundle
// @ts-expect-error doesn't have types
import * as loupe from 'loupe'

interface LoupeOptions {
showHidden?: boolean | undefined
depth?: number | null | undefined
colors?: boolean | undefined
customInspect?: boolean | undefined
showProxy?: boolean | undefined
maxArrayLength?: number | null | undefined
maxStringLength?: number | null | undefined
breakLength?: number | undefined
compact?: boolean | number | undefined
sorted?: boolean | ((a: string, b: string) => number) | undefined
getters?: 'get' | 'set' | boolean | undefined
numericSeparator?: boolean | undefined
truncate?: number
type Inspect = (value: unknown, options: Options) => string
interface Options {
showHidden: boolean
depth: number
colors: boolean
customInspect: boolean
showProxy: boolean
maxArrayLength: number
breakLength: number
truncate: number
seen: unknown[]
inspect: Inspect
stylize: (value: string, styleType: string) => string
}

type LoupeOptions = Partial<Options>

const formatRegExp = /%[sdjifoOcj%]/g

export function format(...args: unknown[]) {
if (typeof args[0] !== 'string') {
const objects = []
for (let i = 0; i < args.length; i++)
objects.push(inspect(args[i], { depth: 0, colors: false, compact: 3 }))
objects.push(inspect(args[i], { depth: 0, colors: false }))
return objects.join(' ')
}

Expand All @@ -44,7 +44,7 @@ export function format(...args: unknown[]) {
if (typeof value === 'number' && value === 0 && 1 / value < 0)
return '-0'
if (typeof value === 'object' && value !== null)
return inspect(value, { depth: 0, colors: false, compact: 3 })
return inspect(value, { depth: 0, colors: false })
return String(value)
}
case '%d': {
Expand Down
4 changes: 2 additions & 2 deletions packages/vite-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@
"dependencies": {
"cac": "^6.7.14",
"debug": "^4.3.4",
"pathe": "^1.1.1",
"pathe": "^1.1.2",
"picocolors": "^1.0.0",
"vite": "^5.0.0"
},
"devDependencies": {
"@jridgewell/trace-mapping": "^0.3.22",
"@jridgewell/trace-mapping": "^0.3.25",
"@types/debug": "^4.1.12"
}
}
2 changes: 1 addition & 1 deletion packages/vitest/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ Repository: lydell/js-tokens

> The MIT License (MIT)
>
> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell
> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Simon Lydell
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 7a843c1

Please sign in to comment.