diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index 80fd57da2..000000000
--- a/.eslintignore
+++ /dev/null
@@ -1,14 +0,0 @@
-dist
-html
-bench.json
-node_modules
-*.svelte
-*.snap
-*.d.ts
-coverage
-!.vitepress
-docs/**/migration.md
-docs/.vitepress/cache/deps/*.*
-test/core/src/self
-test/workspaces/results.json
-test/reporters/fixtures/with-syntax-error.test.js
diff --git a/.eslintrc b/.eslintrc
deleted file mode 100644
index 0797497ca..000000000
--- a/.eslintrc
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "extends": "@antfu",
- "rules": {
- "no-only-tests/no-only-tests": "off",
- // prefer global Buffer to not initialize the whole module
- "n/prefer-global/buffer": "off",
- "@typescript-eslint/no-invalid-this": "off",
- "@typescript-eslint/quotes": ["error", "single", {
- "allowTemplateLiterals": true
- }],
- "no-restricted-imports": [
- "error",
- {
- "paths": ["path"]
- }
- ],
- "no-empty-pattern": "off",
- "import/no-named-as-default": "off",
- "no-cond-assign": "off"
- },
- "overrides": [
- {
- "files": "packages/**/*.*",
- "rules": {
- "no-restricted-imports": [
- "error",
- {
- "paths": ["vitest", "path"]
- }
- ]
- }
- },
- {
- // these files define vitest as peer dependency
- "files": "packages/{coverage-*,ui,browser,web-worker}/**/*.*",
- "rules": {
- "no-restricted-imports": [
- "error",
- {
- "paths": ["path"]
- }
- ]
- }
- },
- {
- "files": ["docs/**", "packages/web-worker/**", "test/web-worker/**"],
- "rules": {
- "no-restricted-globals": "off",
- "import/first": "off"
- }
- },
- {
- "files": ["packages/vite-node/**"],
- "rules": {
- // false positive on "exports" variable
- "antfu/no-cjs-exports": "off"
- }
- }
- ]
-}
diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 0c97c34c5..0029a1db0 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -31,6 +31,8 @@
"@types/chai",
"@sinonjs/fake-timers",
// TODO: update when chai is updated to 5.0
- "loupe"
+ "loupe",
+ // we update types for node when we bump the minimal version
+ "@types/node"
]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index ad97a240a..0d399d6d8 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -3,12 +3,44 @@
"birpc",
"unmock"
],
+
+ // Enable the ESlint flat config support
+ "eslint.experimental.useFlatConfig": true,
+
+ // Disable the default formatter, use eslint instead
+ "prettier.enable": false,
"editor.formatOnSave": false,
- "[json]": {
- "editor.formatOnSave": false
+
+ // Auto fix
+ "editor.codeActionsOnSave": {
+ "source.fixAll.eslint": true,
+ "source.organizeImports": false
},
- "[markdown]": {
- "editor.formatOnSave": false
- },
- "prettier.enable": false
+
+ // Silent the stylistic rules in you IDE, but still auto fix them
+ // "eslint.rules.customizations": [
+ // { "rule": "style/*", "severity": "off" },
+ // { "rule": "*-indent", "severity": "off" },
+ // { "rule": "*-spacing", "severity": "off" },
+ // { "rule": "*-spaces", "severity": "off" },
+ // { "rule": "*-order", "severity": "off" },
+ // { "rule": "*-dangle", "severity": "off" },
+ // { "rule": "*-newline", "severity": "off" },
+ // { "rule": "*quotes", "severity": "off" },
+ // { "rule": "*semi", "severity": "off" }
+ // ],
+
+ // Enable eslint for all supported languages
+ "eslint.validate": [
+ "javascript",
+ "javascriptreact",
+ "typescript",
+ "typescriptreact",
+ "vue",
+ "html",
+ "markdown",
+ "json",
+ "jsonc",
+ "yaml"
+ ]
}
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index 07cc7ed99..80548bdb8 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -11,7 +11,8 @@ import {
ogUrl,
releases,
twitter,
- vitestDescription, vitestName,
+ vitestDescription,
+ vitestName,
} from './meta'
import { pwa } from './scripts/pwa'
import { transformHead } from './scripts/transformHead'
diff --git a/docs/api/vi.md b/docs/api/vi.md
index 382b9133c..5f19ebaa2 100644
--- a/docs/api/vi.md
+++ b/docs/api/vi.md
@@ -791,7 +791,8 @@ test('Server started successfully', async () => {
throw new Error('Server not started')
console.log('Server started')
- }, {
+ },
+ {
timeout: 500, // default is 1000
interval: 20, // default is 50
}
diff --git a/docs/config/index.md b/docs/config/index.md
index 42170d2c8..afa5044cb 100644
--- a/docs/config/index.md
+++ b/docs/config/index.md
@@ -966,6 +966,9 @@ Beware that the global setup is running in a different global scope, so your tes
export default function setup({ provide }) {
provide('wsPort', 3000)
}
+```
+
+```ts
// example.test.js
import { inject } from 'vitest'
diff --git a/docs/guide/migration.md b/docs/guide/migration.md
index a242d6d63..bb35701a3 100644
--- a/docs/guide/migration.md
+++ b/docs/guide/migration.md
@@ -52,7 +52,7 @@ If you want to modify the object, you will use [replaceProperty API](https://jes
From Vitest v0.10.0, the callback style of declaring tests is deprecated. You can rewrite them to use `async`/`await` functions, or use Promise to mimic the callback style.
-```ts
+```
it('should work', (done) => { // [!code --]
it('should work', () => new Promise(done => { // [!code ++]
// ...
diff --git a/docs/tsconfig.json b/docs/tsconfig.json
index 43d6a1679..ec3745208 100644
--- a/docs/tsconfig.json
+++ b/docs/tsconfig.json
@@ -1,26 +1,26 @@
{
"compilerOptions": {
- "baseUrl": ".",
- "module": "esnext",
"target": "esnext",
- "lib": ["DOM", "ESNext"],
- "strict": true,
"jsx": "preserve",
- "esModuleInterop": true,
- "skipLibCheck": true,
+ "lib": ["DOM", "ESNext"],
+ "baseUrl": ".",
+ "module": "esnext",
"moduleResolution": "node",
+ "paths": {
+ "~/*": ["src/*"]
+ },
"resolveJsonModule": true,
- "noUnusedLocals": true,
- "strictNullChecks": true,
- "forceConsistentCasingInFileNames": true,
"types": [
"vite/client",
"vite-plugin-pwa/client",
"vitepress"
],
- "paths": {
- "~/*": ["src/*"]
- }
+ "strict": true,
+ "strictNullChecks": true,
+ "noUnusedLocals": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "skipLibCheck": true
},
"include": [
"./*.ts",
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 000000000..d3432066a
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,91 @@
+import antfu, { GLOB_SRC } from '@antfu/eslint-config'
+
+export default antfu(
+ {
+ // Disable tests rules because we need to test with various setup
+ test: false,
+ // This replaces the old `.gitignore`
+ ignores: [
+ '**/coverage',
+ '**/*.snap',
+ '**/bench.json',
+ '**/fixtures',
+ 'test/core/src/self',
+ 'test/workspaces/results.json',
+ 'test/reporters/fixtures/with-syntax-error.test.js',
+ 'examples/**/mockServiceWorker.js',
+ ],
+ },
+ {
+ rules: {
+ // prefer global Buffer to not initialize the whole module
+ 'node/prefer-global/buffer': 'off',
+ 'node/prefer-global/process': 'off',
+ 'no-empty-pattern': 'off',
+
+ 'ts/no-invalid-this': 'off',
+
+ // TODO: migrate and turn it back on
+ 'ts/ban-types': 'off',
+
+ 'no-restricted-imports': [
+ 'error',
+ {
+ paths: ['path'],
+ },
+ ],
+
+ 'import/no-named-as-default': 'off',
+ },
+ },
+ {
+ files: [`packages/${GLOB_SRC}`],
+ rules: {
+ 'no-restricted-imports': [
+ 'error',
+ {
+ paths: ['vitest', 'path'],
+ },
+ ],
+ },
+ },
+ {
+ // these files define vitest as peer dependency
+ files: [`packages/{coverage-*,ui,browser,web-worker}/${GLOB_SRC}`],
+ rules: {
+ 'no-restricted-imports': [
+ 'error',
+ {
+ paths: ['path'],
+ },
+ ],
+ },
+ },
+ {
+ files: [
+ `docs/${GLOB_SRC}`,
+ ],
+ rules: {
+ 'style/max-statements-per-line': 'off',
+ 'import/newline-after-import': 'off',
+ 'import/first': 'off',
+ },
+ },
+ {
+ files: [
+ `docs/${GLOB_SRC}`,
+ `packages/web-worker/${GLOB_SRC}`,
+ `test/web-worker/${GLOB_SRC}`,
+ ],
+ rules: {
+ 'no-restricted-globals': 'off',
+ },
+ },
+ {
+ files: [`packages/vite-node/${GLOB_SRC}`],
+ rules: {
+ // false positive on "exports" variable
+ 'antfu/no-cjs-exports': 'off',
+ },
+ },
+)
diff --git a/examples/basic/tsconfig.json b/examples/basic/tsconfig.json
index 0f69c02d2..1d2501576 100644
--- a/examples/basic/tsconfig.json
+++ b/examples/basic/tsconfig.json
@@ -1,12 +1,12 @@
{
"compilerOptions": {
- "module": "node16",
"target": "es2020",
+ "module": "node16",
"strict": true,
- "verbatimModuleSyntax": true,
"declaration": true,
+ "declarationMap": true,
"sourceMap": true,
- "declarationMap": true
+ "verbatimModuleSyntax": true
},
"include": ["src", "test"],
"exclude": ["node_modules"]
diff --git a/examples/fastify/mockData.ts b/examples/fastify/mockData.ts
index aed66bfe8..6059db0e9 100644
--- a/examples/fastify/mockData.ts
+++ b/examples/fastify/mockData.ts
@@ -2,21 +2,17 @@ const usersData = [{
id: 1,
name: 'John Snow',
email: 'john@got.com',
-},
-{
+}, {
id: 2,
name: 'Daenerys Targaryen',
email: 'daenerys@got.com',
-},
-{
+}, {
id: 3,
name: 'Arya Stark',
email: 'arya@got.com',
-},
-{
+}, {
id: 4,
name: 'Rhaenyra Targaryen',
email: 'rhaenyra@hod.com',
-},
-]
+}]
export { usersData }
diff --git a/examples/lit/tsconfig.json b/examples/lit/tsconfig.json
index ce9c274a3..8f53fa034 100644
--- a/examples/lit/tsconfig.json
+++ b/examples/lit/tsconfig.json
@@ -1,10 +1,10 @@
{
"compilerOptions": {
- "module": "node16",
"target": "es2020",
- "moduleResolution": "Node16",
- "experimentalDecorators": true,
"useDefineForClassFields": false,
+ "experimentalDecorators": true,
+ "module": "node16",
+ "moduleResolution": "Node16",
"verbatimModuleSyntax": true
}
}
diff --git a/examples/mocks/tsconfig.json b/examples/mocks/tsconfig.json
index 40c4adbcc..6d9e09f2d 100644
--- a/examples/mocks/tsconfig.json
+++ b/examples/mocks/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
- "module": "NodeNext",
"target": "esnext",
+ "module": "NodeNext",
"moduleResolution": "nodenext",
"types": ["vitest/globals"]
}
diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json
index 8b36d66aa..2ffaa9902 100644
--- a/examples/nextjs/package.json
+++ b/examples/nextjs/package.json
@@ -20,7 +20,7 @@
"@types/react": "latest",
"@vitejs/plugin-react": "latest",
"jsdom": "latest",
- "typescript": "^4.8.4",
+ "typescript": "^5.2.2",
"vitest": "latest"
}
}
diff --git a/examples/nextjs/pages/index.tsx b/examples/nextjs/pages/index.tsx
index f81488c78..8e24f73d6 100644
--- a/examples/nextjs/pages/index.tsx
+++ b/examples/nextjs/pages/index.tsx
@@ -2,7 +2,7 @@ import type { NextPage } from 'next'
import Head from 'next/head'
import Image from 'next/image'
-const Home: NextPage = () =>
+const Home: NextPage = () => (
<>
Create Next App
@@ -21,7 +21,8 @@ const Home: NextPage = () =>
target="_blank"
rel="noopener noreferrer"
>
- Powered by{' '}
+ Powered by
+ {' '}
@@ -29,5 +30,6 @@ const Home: NextPage = () =>
>
+)
export default Home
diff --git a/examples/nextjs/tsconfig.json b/examples/nextjs/tsconfig.json
index 7f8793295..9fbe437a5 100644
--- a/examples/nextjs/tsconfig.json
+++ b/examples/nextjs/tsconfig.json
@@ -1,19 +1,19 @@
{
"compilerOptions": {
+ "incremental": true,
"target": "es6",
+ "jsx": "preserve",
"lib": ["dom", "dom.iterable", "esnext"],
+ "module": "esnext",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
"allowJs": true,
- "skipLibCheck": true,
"strict": true,
- "forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
+ "forceConsistentCasingInFileNames": true,
"isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
+ "skipLibCheck": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
diff --git a/examples/preact-testing-lib/package.json b/examples/preact-testing-lib/package.json
index df9a100ff..ccac3be42 100644
--- a/examples/preact-testing-lib/package.json
+++ b/examples/preact-testing-lib/package.json
@@ -22,7 +22,7 @@
"@testing-library/preact": "^3.2.3",
"@vitest/ui": "latest",
"less": "^4.1.3",
- "typescript": "^4.8.4",
+ "typescript": "^5.2.2",
"vite": "latest",
"vitest": "latest"
}
diff --git a/examples/preact-testing-lib/src/App.test.tsx b/examples/preact-testing-lib/src/App.test.tsx
index 4fdc6b240..7c7b61363 100644
--- a/examples/preact-testing-lib/src/App.test.tsx
+++ b/examples/preact-testing-lib/src/App.test.tsx
@@ -13,6 +13,6 @@ describe('Preact Demo Test Suite', () => {
it('click event', async () => {
render()
fireEvent.click(screen.getByRole('button'))
- expect(await screen.findByText(/count is: 1/i)).toBeInTheDocument()
+ expect(await screen.findByText(/count is:\s*1/i)).toBeInTheDocument()
})
})
diff --git a/examples/preact-testing-lib/src/App.tsx b/examples/preact-testing-lib/src/App.tsx
index 2e33a6835..ff19eb5bb 100644
--- a/examples/preact-testing-lib/src/App.tsx
+++ b/examples/preact-testing-lib/src/App.tsx
@@ -5,11 +5,14 @@ export default function App() {
const { count, inc } = useCount()
return (
-
+
Hello Vite & Preact!
-
+
- renderWithProviders(ui, {
- container: rtl.container,
- ...options,
- ...rerenderOptions,
- }),
+ rerender: (ui: React.ReactElement, rerenderOptions?: ProviderOptions) => renderWithProviders(ui, {
+ container: rtl.container,
+ ...options,
+ ...rerenderOptions,
+ }),
history,
swrCache,
}
diff --git a/examples/react-mui/tsconfig.json b/examples/react-mui/tsconfig.json
index c211c8445..c8698a5b7 100644
--- a/examples/react-mui/tsconfig.json
+++ b/examples/react-mui/tsconfig.json
@@ -1,21 +1,21 @@
{
"compilerOptions": {
- "allowJs": false,
- "allowSyntheticDefaultImports": true,
- "esModuleInterop": false,
- "forceConsistentCasingInFileNames": true,
- "isolatedModules": true,
+ "target": "ESNext",
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
+ "useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
- "noEmit": true,
"resolveJsonModule": true,
- "skipLibCheck": false,
+ "types": ["vitest/globals"],
+ "allowJs": false,
"strict": true,
- "target": "ESNext",
- "useDefineForClassFields": true,
"useUnknownInCatchVariables": false,
- "types": ["vitest/globals"]
+ "noEmit": true,
+ "allowSyntheticDefaultImports": true,
+ "esModuleInterop": false,
+ "forceConsistentCasingInFileNames": true,
+ "isolatedModules": true,
+ "skipLibCheck": false
}
}
diff --git a/examples/react-storybook/.storybook/preview.tsx b/examples/react-storybook/.storybook/preview.tsx
index 9fc61734e..80953ff68 100644
--- a/examples/react-storybook/.storybook/preview.tsx
+++ b/examples/react-storybook/.storybook/preview.tsx
@@ -5,6 +5,7 @@ import type { DecoratorFn } from '@storybook/react'
// Disable `react-query` error logging
setLogger({
error: () => {},
+ // eslint-disable-next-line no-console
log: (...params) => console.log(...params),
warn: (...params) => console.warn(...params),
})
diff --git a/examples/react-storybook/package.json b/examples/react-storybook/package.json
index 179494ef7..016b739fe 100644
--- a/examples/react-storybook/package.json
+++ b/examples/react-storybook/package.json
@@ -38,7 +38,7 @@
"jsdom": "latest",
"msw": "^0.49.2",
"msw-storybook-addon": "^1.6.3",
- "typescript": "^4.8.4",
+ "typescript": "^5.2.2",
"vite": "latest",
"vitest": "latest"
},
diff --git a/examples/react-storybook/src/App.stories.tsx b/examples/react-storybook/src/App.stories.tsx
index 742d8e4e9..9d5f6e967 100644
--- a/examples/react-storybook/src/App.stories.tsx
+++ b/examples/react-storybook/src/App.stories.tsx
@@ -16,9 +16,7 @@ export const Loading = Template.bind({})
Loading.parameters = {
msw: {
handlers: [
- rest.get('https://jsonplaceholder.typicode.com/posts', (req, res, ctx) =>
- res(ctx.delay('infinite')),
- ),
+ rest.get('https://jsonplaceholder.typicode.com/posts', (req, res, ctx) => res(ctx.delay('infinite'))),
],
},
}
@@ -39,9 +37,7 @@ export const Error = Template.bind({})
Error.parameters = {
msw: {
handlers: [
- rest.get('https://jsonplaceholder.typicode.com/posts', (req, res, ctx) =>
- res(ctx.status(500)),
- ),
+ rest.get('https://jsonplaceholder.typicode.com/posts', (req, res, ctx) => res(ctx.status(500))),
],
},
}
diff --git a/examples/react-storybook/tsconfig.json b/examples/react-storybook/tsconfig.json
index 8b48e8dfe..d8aa76684 100644
--- a/examples/react-storybook/tsconfig.json
+++ b/examples/react-storybook/tsconfig.json
@@ -1,21 +1,21 @@
{
"compilerOptions": {
"target": "esnext",
+ "jsx": "react-jsx",
"lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": false,
- "skipLibCheck": true,
- "esModuleInterop": true,
- "allowSyntheticDefaultImports": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
- "isolatedModules": true,
+ "types": ["vitest/globals"],
+ "allowJs": false,
+ "strict": true,
+ "noFallthroughCasesInSwitch": true,
"noEmit": true,
- "jsx": "react-jsx",
- "types": ["vitest/globals"]
+ "allowSyntheticDefaultImports": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "isolatedModules": true,
+ "skipLibCheck": true
},
"include": ["./src", "./.storybook"]
}
diff --git a/examples/react-testing-lib-msw/src/App.test.tsx b/examples/react-testing-lib-msw/src/App.test.tsx
index a6c533ca7..0c32c4459 100644
--- a/examples/react-testing-lib-msw/src/App.test.tsx
+++ b/examples/react-testing-lib-msw/src/App.test.tsx
@@ -5,9 +5,11 @@ import App from './App'
import { posts } from './mocks/handlers'
it('Should return posts when clicking fetch button', async () => {
- render(
-
- )
+ render(
+
+
+ ,
+ )
expect(screen.getByRole('heading', { name: 'MSW Testing Library Example', level: 1 })).toBeDefined()
@@ -20,9 +22,11 @@ it('Should return posts when clicking fetch button', async () => {
})
it('Should return posts when clicking fetch with graphql button', async () => {
- render(
-
- )
+ render(
+
+
+ ,
+ )
expect(screen.getByRole('heading', { name: 'MSW Testing Library Example', level: 1 })).toBeDefined()
diff --git a/examples/react-testing-lib-msw/src/utils/test-utils.tsx b/examples/react-testing-lib-msw/src/utils/test-utils.tsx
index fb2ea1da0..169535f08 100644
--- a/examples/react-testing-lib-msw/src/utils/test-utils.tsx
+++ b/examples/react-testing-lib-msw/src/utils/test-utils.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable import/export */
import { render } from '@testing-library/react'
function customRender(ui: React.ReactElement, options = {}) {
diff --git a/examples/react-testing-lib-msw/tsconfig.json b/examples/react-testing-lib-msw/tsconfig.json
index 445d0b656..4f27c00fc 100644
--- a/examples/react-testing-lib-msw/tsconfig.json
+++ b/examples/react-testing-lib-msw/tsconfig.json
@@ -1,21 +1,21 @@
{
"compilerOptions": {
"target": "ESNext",
- "useDefineForClassFields": true,
+ "jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
- "allowJs": false,
- "skipLibCheck": false,
- "esModuleInterop": false,
- "allowSyntheticDefaultImports": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
+ "useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
- "isolatedModules": true,
+ "types": ["vitest/globals"],
+ "allowJs": false,
+ "strict": true,
"noEmit": true,
- "jsx": "react-jsx",
- "types": ["vitest/globals"]
+ "allowSyntheticDefaultImports": true,
+ "esModuleInterop": false,
+ "forceConsistentCasingInFileNames": true,
+ "isolatedModules": true,
+ "skipLibCheck": false
},
"include": ["./src"]
}
diff --git a/examples/react-testing-lib/package.json b/examples/react-testing-lib/package.json
index 13c42bb11..6ba17bbd6 100644
--- a/examples/react-testing-lib/package.json
+++ b/examples/react-testing-lib/package.json
@@ -24,7 +24,7 @@
"@vitest/coverage-v8": "latest",
"@vitest/ui": "latest",
"jsdom": "latest",
- "typescript": "^4.8.4",
+ "typescript": "^5.2.2",
"vite": "latest",
"vitest": "latest"
},
diff --git a/examples/react-testing-lib/src/App.tsx b/examples/react-testing-lib/src/App.tsx
index b403157ff..b97186aac 100644
--- a/examples/react-testing-lib/src/App.tsx
+++ b/examples/react-testing-lib/src/App.tsx
@@ -13,11 +13,17 @@ function App() {
type="button"
onClick={increment}
>
- count is: {count}
+ count is:
+ {' '}
+ {count}
- Edit App.tsx and save to test HMR updates.
+ Edit
+ {' '}
+ App.tsx
+ {' '}
+ and save to test HMR updates.
- {`${props.count} x ${times()} = ${props.count * times()}`}
-
- >
+ return (
+ <>
+ {`${props.count} x ${times()} = ${props.count * times()}`}
+
+ >
+ )
}
diff --git a/examples/sveltekit/package.json b/examples/sveltekit/package.json
index fca82e53b..50cbb8cf5 100644
--- a/examples/sveltekit/package.json
+++ b/examples/sveltekit/package.json
@@ -21,7 +21,7 @@
"svelte": "^3.59.1",
"svelte-check": "^3.4.3",
"tslib": "^2.5.3",
- "typescript": "^5.1.3",
+ "typescript": "^5.2.2",
"vite": "^5.0.0-beta.15",
"vitest": "latest"
}
diff --git a/examples/sveltekit/src/app.d.ts b/examples/sveltekit/src/app.d.ts
index f59b884c5..0425013af 100644
--- a/examples/sveltekit/src/app.d.ts
+++ b/examples/sveltekit/src/app.d.ts
@@ -1,12 +1,12 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
- namespace App {
- // interface Error {}
- // interface Locals {}
- // interface PageData {}
- // interface Platform {}
- }
+ namespace App {
+ // interface Error {}
+ // interface Locals {}
+ // interface PageData {}
+ // interface Platform {}
+ }
}
-export {};
+export {}
diff --git a/examples/sveltekit/tsconfig.json b/examples/sveltekit/tsconfig.json
index 794b95b64..c8e4dae2d 100644
--- a/examples/sveltekit/tsconfig.json
+++ b/examples/sveltekit/tsconfig.json
@@ -1,14 +1,14 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
+ "resolveJsonModule": true,
"allowJs": true,
"checkJs": true,
+ "strict": true,
+ "sourceMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
- "resolveJsonModule": true,
- "skipLibCheck": true,
- "sourceMap": true,
- "strict": true
+ "skipLibCheck": true
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//
diff --git a/examples/vitesse/tsconfig.json b/examples/vitesse/tsconfig.json
index 2539563da..c82547bbd 100644
--- a/examples/vitesse/tsconfig.json
+++ b/examples/vitesse/tsconfig.json
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "esnext",
- "module": "esnext",
"jsx": "preserve",
+ "module": "esnext",
"moduleResolution": "node",
"types": [
"vitest/globals"
diff --git a/examples/vue-jsx/tsconfig.json b/examples/vue-jsx/tsconfig.json
index 775473347..dfff5ddf5 100644
--- a/examples/vue-jsx/tsconfig.json
+++ b/examples/vue-jsx/tsconfig.json
@@ -1,19 +1,19 @@
{
"compilerOptions": {
"target": "esnext",
- "module": "esnext",
+ "jsx": "preserve",
"lib": ["esnext", "dom"],
+ "module": "esnext",
"moduleResolution": "node",
- "esModuleInterop": true,
+ "resolveJsonModule": true,
"strict": true,
"strictNullChecks": true,
- "resolveJsonModule": true,
- "skipDefaultLibCheck": true,
- "skipLibCheck": true,
- "outDir": "./dist",
"declaration": true,
"inlineSourceMap": true,
- "jsx": "preserve"
+ "outDir": "./dist",
+ "esModuleInterop": true,
+ "skipDefaultLibCheck": true,
+ "skipLibCheck": true
},
"exclude": ["node_modules"]
}
diff --git a/examples/vue/tsconfig.json b/examples/vue/tsconfig.json
index 10b0483b0..94e28250a 100644
--- a/examples/vue/tsconfig.json
+++ b/examples/vue/tsconfig.json
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "esnext",
+ "jsx": "preserve",
"module": "esnext",
"moduleResolution": "node",
- "jsx": "preserve",
"types": ["vitest/globals"]
}
}
diff --git a/examples/vue/vite-env.d.ts b/examples/vue/vite-env.d.ts
index 323c78a6c..6977c557d 100644
--- a/examples/vue/vite-env.d.ts
+++ b/examples/vue/vite-env.d.ts
@@ -2,6 +2,7 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue'
+
const component: DefineComponent<{}, {}, any>
export default component
}
diff --git a/package.json b/package.json
index 6a4667441..b2aafa146 100644
--- a/package.json
+++ b/package.json
@@ -38,8 +38,8 @@
"test:browser:playwright": "pnpm -C test/browser run test:playwright"
},
"devDependencies": {
- "@antfu/eslint-config": "^0.39.6",
- "@antfu/ni": "^0.21.8",
+ "@antfu/eslint-config": "^1.1.0",
+ "@antfu/ni": "^0.21.9",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
@@ -51,8 +51,8 @@
"@vitest/ui": "workspace:*",
"bumpp": "^9.2.0",
"esbuild": "^0.19.5",
- "eslint": "^8.44.0",
- "fast-glob": "^3.3.0",
+ "eslint": "^8.53.0",
+ "fast-glob": "^3.3.2",
"lint-staged": "^15.0.2",
"magic-string": "^0.30.5",
"npm-run-all": "^4.1.5",
@@ -64,7 +64,7 @@
"rollup-plugin-license": "^3.2.0",
"simple-git-hooks": "^2.9.0",
"tsx": "^4.1.0",
- "typescript": "^5.1.6",
+ "typescript": "^5.2.2",
"vite": "^5.0.0-beta.15",
"vitest": "workspace:*"
},
diff --git a/packages/browser/providers.d.ts b/packages/browser/providers.d.ts
index ea14bc4d7..bd9080645 100644
--- a/packages/browser/providers.d.ts
+++ b/packages/browser/providers.d.ts
@@ -1,7 +1,7 @@
import type { BrowserProvider } from 'vitest/nide'
-declare var webdriverio: BrowserProvider
-declare var playwright: BrowserProvider
-declare var none: BrowserProvider
+declare const webdriverio: BrowserProvider
+declare const playwright: BrowserProvider
+declare const none: BrowserProvider
export { webdriverio, playwright, none }
diff --git a/packages/expect/package.json b/packages/expect/package.json
index 02703c1f1..0bdf3c7c3 100644
--- a/packages/expect/package.json
+++ b/packages/expect/package.json
@@ -26,8 +26,8 @@
"module": "./dist/index.js",
"types": "./index.d.ts",
"files": [
- "dist",
- "*.d.ts"
+ "*.d.ts",
+ "dist"
],
"scripts": {
"build": "rimraf dist && rollup -c",
diff --git a/packages/expect/src/jest-utils.ts b/packages/expect/src/jest-utils.ts
index d9af24d5d..fa9206bcb 100644
--- a/packages/expect/src/jest-utils.ts
+++ b/packages/expect/src/jest-utils.ts
@@ -295,10 +295,7 @@ function hasIterator(object: any) {
return !!(object != null && object[IteratorSymbol])
}
-export function iterableEquality(a: any,
- b: any,
- aStack: Array = [],
- bStack: Array = []): boolean | undefined {
+export function iterableEquality(a: any, b: any, aStack: Array = [], bStack: Array = []): boolean | undefined {
if (
typeof a !== 'object'
|| typeof b !== 'object'
@@ -324,8 +321,7 @@ export function iterableEquality(a: any,
aStack.push(a)
bStack.push(b)
- const iterableEqualityWithStack = (a: any, b: any) =>
- iterableEquality(a, b, [...aStack], [...bStack])
+ const iterableEqualityWithStack = (a: any, b: any) => iterableEquality(a, b, [...aStack], [...bStack])
if (a.size !== undefined) {
if (a.size !== b.size) {
@@ -431,8 +427,7 @@ function isObjectWithKeys(a: any) {
&& !(a instanceof Date)
}
-export function subsetEquality(object: unknown,
- subset: unknown): boolean | undefined {
+export function subsetEquality(object: unknown, subset: unknown): boolean | undefined {
// subsetEquality needs to keep track of the references
// it has already visited to avoid infinite loops in case
// there are circular references in the subset passed to it.
@@ -476,8 +471,7 @@ export function typeEquality(a: any, b: any): boolean | undefined {
return false
}
-export function arrayBufferEquality(a: unknown,
- b: unknown): boolean | undefined {
+export function arrayBufferEquality(a: unknown, b: unknown): boolean | undefined {
let dataViewA = a as DataView
let dataViewB = b as DataView
@@ -507,8 +501,7 @@ export function arrayBufferEquality(a: unknown,
return true
}
-export function sparseArrayEquality(a: unknown,
- b: unknown): boolean | undefined {
+export function sparseArrayEquality(a: unknown, b: unknown): boolean | undefined {
if (!Array.isArray(a) || !Array.isArray(b))
return undefined
@@ -520,9 +513,7 @@ export function sparseArrayEquality(a: unknown,
)
}
-export function generateToBeMessage(deepEqualityName: string,
- expected = '#{this}',
- actual = '#{exp}') {
+export function generateToBeMessage(deepEqualityName: string, expected = '#{this}', actual = '#{exp}') {
const toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`
if (['toStrictEqual', 'toEqual'].includes(deepEqualityName))
diff --git a/packages/expect/src/types.ts b/packages/expect/src/types.ts
index 5cc03df20..f77183dad 100644
--- a/packages/expect/src/types.ts
+++ b/packages/expect/src/types.ts
@@ -171,7 +171,7 @@ export interface Assertion extends VitestAssertion,
declare global {
// support augmenting jest.Matchers by other libraries
- // eslint-disable-next-line @typescript-eslint/no-namespace
+ // eslint-disable-next-line ts/no-namespace
namespace jest {
// eslint-disable-next-line unused-imports/no-unused-vars
diff --git a/packages/runner/package.json b/packages/runner/package.json
index 89b1a29d4..de78f17a7 100644
--- a/packages/runner/package.json
+++ b/packages/runner/package.json
@@ -34,8 +34,8 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
- "dist",
- "*.d.ts"
+ "*.d.ts",
+ "dist"
],
"scripts": {
"build": "rimraf dist && rollup -c",
diff --git a/packages/runner/src/suite.ts b/packages/runner/src/suite.ts
index 2ae4f09e7..4bc8f14d9 100644
--- a/packages/runner/src/suite.ts
+++ b/packages/runner/src/suite.ts
@@ -308,9 +308,10 @@ function formatTitle(template: string, items: any[], idx: number) {
const count = template.split('%').length - 1
let formatted = format(template, ...items.slice(0, count))
if (isObject(items[0])) {
- formatted = formatted.replace(/\$([$\w_.]+)/g,
+ formatted = formatted.replace(
+ /\$([$\w_.]+)/g,
+ // https://github.com/chaijs/chai/pull/1490
(_, key) => objDisplay(objectAttr(items[0], key), { truncate: runner?.config?.chaiConfig?.truncateThreshold }) as unknown as string,
- // https://github.com/chaijs/chai/pull/1490
)
}
return formatted
diff --git a/packages/snapshot/package.json b/packages/snapshot/package.json
index b4d3de241..dfc606db9 100644
--- a/packages/snapshot/package.json
+++ b/packages/snapshot/package.json
@@ -34,8 +34,8 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
- "dist",
- "*.d.ts"
+ "*.d.ts",
+ "dist"
],
"scripts": {
"build": "rimraf dist && rollup -c",
diff --git a/packages/snapshot/src/env/node.ts b/packages/snapshot/src/env/node.ts
index ac1ef2636..b5429b47a 100644
--- a/packages/snapshot/src/env/node.ts
+++ b/packages/snapshot/src/env/node.ts
@@ -20,7 +20,9 @@ export class NodeSnapshotEnvironment implements SnapshotEnvironment {
async resolvePath(filepath: string): Promise {
return join(
join(
- dirname(filepath), '__snapshots__'),
+ dirname(filepath),
+ '__snapshots__',
+ ),
`${basename(filepath)}.snap`,
)
}
diff --git a/packages/snapshot/src/manager.ts b/packages/snapshot/src/manager.ts
index 756ea8b52..941fd2eaf 100644
--- a/packages/snapshot/src/manager.ts
+++ b/packages/snapshot/src/manager.ts
@@ -22,7 +22,9 @@ export class SnapshotManager {
const resolver = this.options.resolveSnapshotPath || (() => {
return join(
join(
- dirname(testPath), '__snapshots__'),
+ dirname(testPath),
+ '__snapshots__',
+ ),
`${basename(testPath)}${this.extension}`,
)
})
diff --git a/packages/snapshot/src/port/utils.ts b/packages/snapshot/src/port/utils.ts
index a1184f54b..896102cb5 100644
--- a/packages/snapshot/src/port/utils.ts
+++ b/packages/snapshot/src/port/utils.ts
@@ -28,11 +28,10 @@ export function keyToTestName(key: string): string {
return key.replace(/ \d+$/, '')
}
-export function getSnapshotData(content: string | null,
- options: SnapshotStateOptions): {
- data: SnapshotData
- dirty: boolean
- } {
+export function getSnapshotData(content: string | null, options: SnapshotStateOptions): {
+ data: SnapshotData
+ dirty: boolean
+} {
const update = options.updateSnapshot
const data = Object.create(null)
let snapshotContents = ''
@@ -91,9 +90,7 @@ export function removeExtraLineBreaks(string: string): string {
const escapeRegex = true
const printFunctionName = false
-export function serialize(val: unknown,
- indent = 2,
- formatOverrides: PrettyFormatOptions = {}): string {
+export function serialize(val: unknown, indent = 2, formatOverrides: PrettyFormatOptions = {}): string {
return normalizeNewlines(
prettyFormat(val, {
escapeRegex,
diff --git a/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx b/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx
index ab4102279..170049a32 100644
--- a/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx
+++ b/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx
@@ -25,7 +25,7 @@ describe('DashboardEntry', () => {
// })
it('renders the body and header slots', () => {
- cy.mount()
+ cy.mount()
.get(bodySelector)
.should('be.visible')
.get(headerSelector)
diff --git a/packages/ui/client/components/views/ViewReport.cy.tsx b/packages/ui/client/components/views/ViewReport.cy.tsx
index 889de70cb..5a6c4acd2 100644
--- a/packages/ui/client/components/views/ViewReport.cy.tsx
+++ b/packages/ui/client/components/views/ViewReport.cy.tsx
@@ -20,7 +20,7 @@ function makeTextStack() {
}
// 5 Stacks
-const textStacks = Array.from(new Array(5)).map(makeTextStack)
+const textStacks = Array.from(Array.from({ length: 5 })).map(makeTextStack)
const diff = `
\x1B[32m- Expected\x1B[39m
@@ -58,7 +58,7 @@ const fileWithTextStacks = {
describe('ViewReport', () => {
describe('File where stacks are in text', () => {
beforeEach(() => {
- cy.mount()
+ cy.mount()
})
it('renders all of the stacks', () => {
diff --git a/packages/ui/client/composables/module-graph.ts b/packages/ui/client/composables/module-graph.ts
index a7f626efb..5e96b5c5f 100644
--- a/packages/ui/client/composables/module-graph.ts
+++ b/packages/ui/client/composables/module-graph.ts
@@ -41,8 +41,8 @@ export function calcExternalLabels(labels: ModuleLabelItem[]): Map) {
// sides of it.
if (lastEquality && (lastEquality.length
<= Math.max(length_insertions1, length_deletions1))
- && (lastEquality.length <= Math.max(length_insertions2,
- length_deletions2))) {
+ && (lastEquality.length <= Math.max(length_insertions2, length_deletions2))) {
// Duplicate record.
- diffs.splice(equalities[equalitiesLength - 1], 0,
- new Diff(DIFF_DELETE, lastEquality))
+ diffs.splice(equalities[equalitiesLength - 1], 0, new Diff(DIFF_DELETE, lastEquality))
// Change second copy to insert.
diffs[equalities[equalitiesLength - 1] + 1][0] = DIFF_INSERT
// Throw away the equality we just deleted.
@@ -255,8 +253,7 @@ const diff_cleanupSemantic = function (diffs: Array) {
if (overlap_length1 >= deletion.length / 2
|| overlap_length1 >= insertion.length / 2) {
// Overlap found. Insert an equality and trim the surrounding edits.
- diffs.splice(pointer, 0, new Diff(DIFF_EQUAL,
- insertion.substring(0, overlap_length1)))
+ diffs.splice(pointer, 0, new Diff(DIFF_EQUAL, insertion.substring(0, overlap_length1)))
diffs[pointer - 1][1]
= deletion.substring(0, deletion.length - overlap_length1)
diffs[pointer + 1][1] = insertion.substring(overlap_length1)
@@ -268,8 +265,7 @@ const diff_cleanupSemantic = function (diffs: Array) {
|| overlap_length2 >= insertion.length / 2) {
// Reverse overlap found.
// Insert an equality and swap and trim the surrounding edits.
- diffs.splice(pointer, 0, new Diff(DIFF_EQUAL,
- deletion.substring(0, overlap_length2)))
+ diffs.splice(pointer, 0, new Diff(DIFF_EQUAL, deletion.substring(0, overlap_length2)))
diffs[pointer - 1][0] = DIFF_INSERT
diffs[pointer - 1][1]
= insertion.substring(0, insertion.length - overlap_length2)
@@ -463,8 +459,7 @@ function diff_cleanupMerge(diffs: Array) {
+= text_insert.substring(0, commonlength)
}
else {
- diffs.splice(0, 0, new Diff(DIFF_EQUAL,
- text_insert.substring(0, commonlength)))
+ diffs.splice(0, 0, new Diff(DIFF_EQUAL, text_insert.substring(0, commonlength)))
pointer++
}
text_insert = text_insert.substring(commonlength)
@@ -485,13 +480,11 @@ function diff_cleanupMerge(diffs: Array) {
pointer -= count_delete + count_insert
diffs.splice(pointer, count_delete + count_insert)
if (text_delete.length) {
- diffs.splice(pointer, 0,
- new Diff(DIFF_DELETE, text_delete))
+ diffs.splice(pointer, 0, new Diff(DIFF_DELETE, text_delete))
pointer++
}
if (text_insert.length) {
- diffs.splice(pointer, 0,
- new Diff(DIFF_INSERT, text_insert))
+ diffs.splice(pointer, 0, new Diff(DIFF_INSERT, text_insert))
pointer++
}
pointer++
diff --git a/packages/utils/src/diff/diffLines.ts b/packages/utils/src/diff/diffLines.ts
index d209930de..5fb8d0d9f 100644
--- a/packages/utils/src/diff/diffLines.ts
+++ b/packages/utils/src/diff/diffLines.ts
@@ -51,8 +51,7 @@ function printAnnotation({
bIndicator,
includeChangeCounts,
omitAnnotationLines,
-}: DiffOptionsNormalized,
-changeCounts: ChangeCounts): string {
+}: DiffOptionsNormalized, changeCounts: ChangeCounts): string {
if (omitAnnotationLines)
return ''
@@ -82,8 +81,7 @@ changeCounts: ChangeCounts): string {
return `${aColor(a)}\n${bColor(b)}\n\n`
}
-export function printDiffLines(diffs: Array,
- options: DiffOptionsNormalized): string {
+export function printDiffLines(diffs: Array, options: DiffOptionsNormalized): string {
return printAnnotation(options, countChanges(diffs))
+ (options.expand
? joinAlignedDiffsExpand(diffs, options)
@@ -91,9 +89,7 @@ export function printDiffLines(diffs: Array,
}
// Compare two arrays of strings line-by-line. Format as comparison lines.
-export function diffLinesUnified(aLines: Array,
- bLines: Array,
- options?: DiffOptions): string {
+export function diffLinesUnified(aLines: Array, bLines: Array, options?: DiffOptions): string {
return printDiffLines(
diffLinesRaw(
isEmptyString(aLines) ? [] : aLines,
@@ -106,11 +102,7 @@ export function diffLinesUnified(aLines: Array,
// Given two pairs of arrays of strings:
// Compare the pair of comparison arrays line-by-line.
// Format the corresponding lines in the pair of displayable arrays.
-export function diffLinesUnified2(aLinesDisplay: Array,
- bLinesDisplay: Array,
- aLinesCompare: Array,
- bLinesCompare: Array,
- options?: DiffOptions): string {
+export function diffLinesUnified2(aLinesDisplay: Array, bLinesDisplay: Array, aLinesCompare: Array, bLinesCompare: Array, options?: DiffOptions): string {
if (isEmptyString(aLinesDisplay) && isEmptyString(aLinesCompare)) {
aLinesDisplay = []
aLinesCompare = []
@@ -156,13 +148,11 @@ export function diffLinesUnified2(aLinesDisplay: Array,
}
// Compare two arrays of strings line-by-line.
-export function diffLinesRaw(aLines: Array,
- bLines: Array): Array {
+export function diffLinesRaw(aLines: Array, bLines: Array): Array {
const aLength = aLines.length
const bLength = bLines.length
- const isCommon = (aIndex: number, bIndex: number) =>
- aLines[aIndex] === bLines[bIndex]
+ const isCommon = (aIndex: number, bIndex: number) => aLines[aIndex] === bLines[bIndex]
const diffs: Array = []
let aIndex = 0
diff --git a/packages/utils/src/diff/getAlignedDiffs.ts b/packages/utils/src/diff/getAlignedDiffs.ts
index 697930551..adc544646 100644
--- a/packages/utils/src/diff/getAlignedDiffs.ts
+++ b/packages/utils/src/diff/getAlignedDiffs.ts
@@ -12,9 +12,7 @@ import type { DiffOptionsColor } from './types'
// * include common strings
// * include change strings which have argument op with changeColor
// * exclude change strings which have opposite op
-function concatenateRelevantDiffs(op: number,
- diffs: Array,
- changeColor: DiffOptionsColor): string {
+function concatenateRelevantDiffs(op: number, diffs: Array, changeColor: DiffOptionsColor): string {
return diffs.reduce(
(reduced: string, diff: Diff): string =>
reduced
@@ -208,8 +206,7 @@ class CommonBuffer {
// Assume the function is not called:
// * if either expected or received is empty string
// * if neither expected nor received is multiline string
-function getAlignedDiffs(diffs: Array,
- changeColor: DiffOptionsColor): Array {
+function getAlignedDiffs(diffs: Array, changeColor: DiffOptionsColor): Array {
const deleteBuffer = new ChangeBuffer(DIFF_DELETE, changeColor)
const insertBuffer = new ChangeBuffer(DIFF_INSERT, changeColor)
const commonBuffer = new CommonBuffer(deleteBuffer, insertBuffer)
diff --git a/packages/utils/src/diff/index.ts b/packages/utils/src/diff/index.ts
index b81d02105..e543cb7bd 100644
--- a/packages/utils/src/diff/index.ts
+++ b/packages/utils/src/diff/index.ts
@@ -1,9 +1,9 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
-*
-* This source code is licensed under the MIT license found in the
-* LICENSE file in the root directory of this source tree.
-*/
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
// This is a fork of Jest's jest-diff package, but it doesn't depend on Node environment (like chalk).
@@ -64,7 +64,7 @@ const FALLBACK_FORMAT_OPTIONS = {
* @param a Expected value
* @param b Received value
* @param options Diff options
- * @returns
+ * @returns {string | null} a string diff
*/
export function diff(a: any, b: any, options?: DiffOptions): string | null {
if (Object.is(a, b))
diff --git a/packages/utils/src/diff/joinAlignedDiffs.ts b/packages/utils/src/diff/joinAlignedDiffs.ts
index 5b5484848..0944d2637 100644
--- a/packages/utils/src/diff/joinAlignedDiffs.ts
+++ b/packages/utils/src/diff/joinAlignedDiffs.ts
@@ -9,17 +9,11 @@ import type { Diff } from './cleanupSemantic'
import { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT } from './cleanupSemantic'
import type { DiffOptionsColor, DiffOptionsNormalized } from './types'
-function formatTrailingSpaces(line: string,
- trailingSpaceFormatter: DiffOptionsColor): string {
+function formatTrailingSpaces(line: string, trailingSpaceFormatter: DiffOptionsColor): string {
return line.replace(/\s+$/, match => trailingSpaceFormatter(match))
}
-function printDiffLine(line: string,
- isFirstOrLast: boolean,
- color: DiffOptionsColor,
- indicator: string,
- trailingSpaceFormatter: DiffOptionsColor,
- emptyFirstOrLastLinePlaceholder: string): string {
+function printDiffLine(line: string, isFirstOrLast: boolean, color: DiffOptionsColor, indicator: string, trailingSpaceFormatter: DiffOptionsColor, emptyFirstOrLastLinePlaceholder: string): string {
return line.length !== 0
? color(
`${indicator} ${formatTrailingSpaces(line, trailingSpaceFormatter)}`,
@@ -31,14 +25,12 @@ function printDiffLine(line: string,
: ''
}
-function printDeleteLine(line: string,
- isFirstOrLast: boolean,
- {
- aColor,
- aIndicator,
- changeLineTrailingSpaceColor,
- emptyFirstOrLastLinePlaceholder,
- }: DiffOptionsNormalized): string {
+function printDeleteLine(line: string, isFirstOrLast: boolean, {
+ aColor,
+ aIndicator,
+ changeLineTrailingSpaceColor,
+ emptyFirstOrLastLinePlaceholder,
+}: DiffOptionsNormalized): string {
return printDiffLine(
line,
isFirstOrLast,
@@ -49,14 +41,12 @@ function printDeleteLine(line: string,
)
}
-function printInsertLine(line: string,
- isFirstOrLast: boolean,
- {
- bColor,
- bIndicator,
- changeLineTrailingSpaceColor,
- emptyFirstOrLastLinePlaceholder,
- }: DiffOptionsNormalized): string {
+function printInsertLine(line: string, isFirstOrLast: boolean, {
+ bColor,
+ bIndicator,
+ changeLineTrailingSpaceColor,
+ emptyFirstOrLastLinePlaceholder,
+}: DiffOptionsNormalized): string {
return printDiffLine(
line,
isFirstOrLast,
@@ -67,14 +57,12 @@ function printInsertLine(line: string,
)
}
-function printCommonLine(line: string,
- isFirstOrLast: boolean,
- {
- commonColor,
- commonIndicator,
- commonLineTrailingSpaceColor,
- emptyFirstOrLastLinePlaceholder,
- }: DiffOptionsNormalized): string {
+function printCommonLine(line: string, isFirstOrLast: boolean, {
+ commonColor,
+ commonIndicator,
+ commonLineTrailingSpaceColor,
+ emptyFirstOrLastLinePlaceholder,
+}: DiffOptionsNormalized): string {
return printDiffLine(
line,
isFirstOrLast,
@@ -86,11 +74,7 @@ function printCommonLine(line: string,
}
// In GNU diff format, indexes are one-based instead of zero-based.
-function createPatchMark(aStart: number,
- aEnd: number,
- bStart: number,
- bEnd: number,
- { patchColor }: DiffOptionsNormalized): string {
+function createPatchMark(aStart: number, aEnd: number, bStart: number, bEnd: number, { patchColor }: DiffOptionsNormalized): string {
return patchColor(
`@@ -${aStart + 1},${aEnd - aStart} +${bStart + 1},${bEnd - bStart} @@`,
)
@@ -100,8 +84,7 @@ function createPatchMark(aStart: number,
//
// Given array of aligned strings with inverse highlight formatting,
// return joined lines with diff formatting (and patch marks, if needed).
-export function joinAlignedDiffsNoExpand(diffs: Array,
- options: DiffOptionsNormalized): string {
+export function joinAlignedDiffsNoExpand(diffs: Array, options: DiffOptionsNormalized): string {
const iLength = diffs.length
const nContextLines = options.contextLines
const nContextLines2 = nContextLines + nContextLines
@@ -270,8 +253,7 @@ export function joinAlignedDiffsNoExpand(diffs: Array,
//
// Given array of aligned strings with inverse highlight formatting,
// return joined lines with diff formatting.
-export function joinAlignedDiffsExpand(diffs: Array,
- options: DiffOptionsNormalized): string {
+export function joinAlignedDiffsExpand(diffs: Array, options: DiffOptionsNormalized): string {
return diffs
.map((diff: Diff, i: number, diffs: Array): string => {
const line = diff[1]
diff --git a/packages/utils/src/diff/printDiffs.ts b/packages/utils/src/diff/printDiffs.ts
index c18df48b8..f72e24eb1 100644
--- a/packages/utils/src/diff/printDiffs.ts
+++ b/packages/utils/src/diff/printDiffs.ts
@@ -27,9 +27,7 @@ function hasCommonDiff(diffs: Array, isMultiline: boolean): boolean {
// Compare two strings character-by-character.
// Format as comparison lines in which changed substrings have inverse colors.
-export function diffStringsUnified(a: string,
- b: string,
- options?: DiffOptions): string {
+export function diffStringsUnified(a: string, b: string, options?: DiffOptions): string {
if (a !== b && a.length !== 0 && b.length !== 0) {
const isMultiline = a.includes('\n') || b.includes('\n')
@@ -53,9 +51,7 @@ export function diffStringsUnified(a: string,
// Compare two strings character-by-character.
// Optionally clean up small common substrings, also known as chaff.
-export function diffStringsRaw(a: string,
- b: string,
- cleanup: boolean): Array {
+export function diffStringsRaw(a: string, b: string, cleanup: boolean): Array {
const diffs = diffStrings(a, b)
if (cleanup)
diff --git a/packages/utils/src/error.ts b/packages/utils/src/error.ts
index 2b9057ad0..5cd558ad0 100644
--- a/packages/utils/src/error.ts
+++ b/packages/utils/src/error.ts
@@ -49,6 +49,7 @@ export function serializeError(val: any, seen = new WeakMap()): any {
return seen.get(val)
if (Array.isArray(val)) {
+ // eslint-disable-next-line unicorn/no-new-array -- we need to keep sparce arrays ([1,,3])
const clone: any[] = new Array(val.length)
seen.set(val, clone)
val.forEach((e, i) => {
diff --git a/packages/vite-node/package.json b/packages/vite-node/package.json
index 13834cd1a..acb225b91 100644
--- a/packages/vite-node/package.json
+++ b/packages/vite-node/package.json
@@ -19,38 +19,38 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
- "require": "./dist/index.cjs",
- "import": "./dist/index.mjs"
+ "import": "./dist/index.mjs",
+ "require": "./dist/index.cjs"
},
"./client": {
"types": "./dist/client.d.ts",
- "require": "./dist/client.cjs",
- "import": "./dist/client.mjs"
+ "import": "./dist/client.mjs",
+ "require": "./dist/client.cjs"
},
"./server": {
"types": "./dist/server.d.ts",
- "require": "./dist/server.cjs",
- "import": "./dist/server.mjs"
+ "import": "./dist/server.mjs",
+ "require": "./dist/server.cjs"
},
"./utils": {
"types": "./dist/utils.d.ts",
- "require": "./dist/utils.cjs",
- "import": "./dist/utils.mjs"
+ "import": "./dist/utils.mjs",
+ "require": "./dist/utils.cjs"
},
"./hmr": {
"types": "./dist/hmr.d.ts",
- "require": "./dist/hmr.cjs",
- "import": "./dist/hmr.mjs"
+ "import": "./dist/hmr.mjs",
+ "require": "./dist/hmr.cjs"
},
"./source-map": {
"types": "./dist/source-map.d.ts",
- "require": "./dist/source-map.cjs",
- "import": "./dist/source-map.mjs"
+ "import": "./dist/source-map.mjs",
+ "require": "./dist/source-map.cjs"
},
"./constants": {
"types": "./dist/constants.d.ts",
- "require": "./dist/constants.cjs",
- "import": "./dist/constants.mjs"
+ "import": "./dist/constants.mjs",
+ "require": "./dist/constants.cjs"
},
"./*": "./*"
},
@@ -69,9 +69,9 @@
"vite-node": "./vite-node.mjs"
},
"files": [
- "dist",
"*.d.ts",
- "*.mjs"
+ "*.mjs",
+ "dist"
],
"engines": {
"node": "^18.0.0 || >=20.0.0"
diff --git a/packages/vite-node/src/hmr/hmr.ts b/packages/vite-node/src/hmr/hmr.ts
index a9623edfa..dfc11229a 100644
--- a/packages/vite-node/src/hmr/hmr.ts
+++ b/packages/vite-node/src/hmr/hmr.ts
@@ -288,8 +288,6 @@ export function createHotContext(
addToMap(newListeners)
},
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
- // @ts-ignore added in vite 5
off(
event: T,
cb: (payload: InferCustomEventPayload) => void,
diff --git a/packages/vite-node/src/server.ts b/packages/vite-node/src/server.ts
index 68a9d0527..3b57d1f2b 100644
--- a/packages/vite-node/src/server.ts
+++ b/packages/vite-node/src/server.ts
@@ -143,15 +143,13 @@ export class ViteNodeServer {
const promiseMap = this.fetchPromiseMap[mode]
// reuse transform for concurrent requests
if (!promiseMap.has(moduleId)) {
- promiseMap.set(moduleId,
- this._fetchModule(moduleId, mode)
- .then((r) => {
- return this.options.sourcemap !== true ? { ...r, map: undefined } : r
- })
- .finally(() => {
- promiseMap.delete(moduleId)
- }),
- )
+ promiseMap.set(moduleId, this._fetchModule(moduleId, mode)
+ .then((r) => {
+ return this.options.sourcemap !== true ? { ...r, map: undefined } : r
+ })
+ .finally(() => {
+ promiseMap.delete(moduleId)
+ }))
}
return promiseMap.get(moduleId)!
}
@@ -162,12 +160,10 @@ export class ViteNodeServer {
const promiseMap = this.transformPromiseMap[mode]
// reuse transform for concurrent requests
if (!promiseMap.has(id)) {
- promiseMap.set(id,
- this._transformRequest(id, filepath, mode)
- .finally(() => {
- promiseMap.delete(id)
- }),
- )
+ promiseMap.set(id, this._transformRequest(id, filepath, mode)
+ .finally(() => {
+ promiseMap.delete(id)
+ }))
}
return promiseMap.get(id)!
}
diff --git a/packages/vite-node/src/source-map-handler.ts b/packages/vite-node/src/source-map-handler.ts
index 2781850e1..ffc72affb 100644
--- a/packages/vite-node/src/source-map-handler.ts
+++ b/packages/vite-node/src/source-map-handler.ts
@@ -102,6 +102,7 @@ function retrieveSourceMapURL(source: string) {
// Keep executing the search to find the *last* sourceMappingURL to avoid
// picking up sourceMappingURLs from comments, strings, etc.
let lastMatch, match
+ // eslint-disable-next-line no-cond-assign
while (match = re.exec(fileData)) lastMatch = match
if (!lastMatch)
return null
@@ -192,7 +193,9 @@ function mapSourcePosition(position: OriginalMapping) {
// location in the original file.
if (originalPosition.source !== null) {
originalPosition.source = supportRelativeURL(
- sourceMap.url, originalPosition.source)
+ sourceMap.url,
+ originalPosition.source,
+ )
return originalPosition
}
}
diff --git a/packages/vitest/package.json b/packages/vitest/package.json
index 0df780e87..301f0f963 100644
--- a/packages/vitest/package.json
+++ b/packages/vitest/package.json
@@ -25,13 +25,13 @@
"sideEffects": false,
"exports": {
".": {
- "require": {
- "types": "./index.d.cts",
- "default": "./index.cjs"
- },
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
+ },
+ "require": {
+ "types": "./index.d.cts",
+ "default": "./index.cjs"
}
},
"./*": "./*",
@@ -71,8 +71,8 @@
},
"./config": {
"types": "./config.d.ts",
- "require": "./dist/config.cjs",
- "import": "./dist/config.js"
+ "import": "./dist/config.js",
+ "require": "./dist/config.cjs"
},
"./coverage": {
"types": "./coverage.d.ts",
@@ -90,12 +90,12 @@
"vitest": "./vitest.mjs"
},
"files": [
- "dist",
- "bin",
- "*.d.ts",
+ "*.cjs",
"*.d.cts",
+ "*.d.ts",
"*.mjs",
- "*.cjs"
+ "bin",
+ "dist"
],
"engines": {
"node": "^18.0.0 || >=20.0.0"
@@ -148,7 +148,7 @@
"magic-string": "^0.30.5",
"pathe": "^1.1.1",
"picocolors": "^1.0.0",
- "std-env": "^3.3.3",
+ "std-env": "^3.4.3",
"strip-literal": "^1.3.0",
"tinybench": "^2.5.1",
"tinypool": "^0.8.1",
diff --git a/packages/vitest/rollup.config.js b/packages/vitest/rollup.config.js
index b7e51caf9..64d4dd167 100644
--- a/packages/vitest/rollup.config.js
+++ b/packages/vitest/rollup.config.js
@@ -169,8 +169,7 @@ function licensePlugin() {
const licenses = new Set()
const dependencyLicenseTexts = dependencies
.filter(({ name }) => !name?.startsWith('@vitest/'))
- .sort(({ name: nameA }, { name: nameB }) =>
- nameA > nameB ? 1 : nameB > nameA ? -1 : 0,
+ .sort(({ name: nameA }, { name: nameB }) => nameA > nameB ? 1 : nameB > nameA ? -1 : 0,
)
.map(
({
diff --git a/packages/vitest/src/node/config.ts b/packages/vitest/src/node/config.ts
index f8c604335..ce0f47d79 100644
--- a/packages/vitest/src/node/config.ts
+++ b/packages/vitest/src/node/config.ts
@@ -178,8 +178,6 @@ export function resolveConfig(
// vitenode will try to import such file with native node,
// but then our mocker will not work properly
if (resolved.server.deps.inline !== true) {
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
- // @ts-ignore ssr is not typed in Vite 2, but defined in Vite 3, so we can't use expect-error
const ssrOptions = viteConfig.ssr
if (ssrOptions?.noExternal === true && resolved.server.deps.inline == null) {
resolved.server.deps.inline = true
@@ -318,7 +316,8 @@ export function resolveConfig(
if (resolved.diff) {
resolved.diff = normalize(
resolveModule(resolved.diff, { paths: [resolved.root] })
- ?? resolve(resolved.root, resolved.diff))
+ ?? resolve(resolved.root, resolved.diff),
+ )
resolved.forceRerunTriggers.push(resolved.diff)
}
diff --git a/packages/vitest/src/node/error.ts b/packages/vitest/src/node/error.ts
index 60cc08be1..c45bf1b94 100644
--- a/packages/vitest/src/node/error.ts
+++ b/packages/vitest/src/node/error.ts
@@ -189,7 +189,8 @@ function printModuleWarningForPackage(logger: Logger, path: string, name: string
}
}
}
-}\n`)))
+}\n`),
+ ))
}
function printModuleWarningForSourceCode(logger: Logger, path: string) {
diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts
index 2ac0e26a8..2bc983aad 100644
--- a/packages/vitest/src/node/plugins/index.ts
+++ b/packages/vitest/src/node/plugins/index.ts
@@ -76,9 +76,6 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest('t
mainFields: [],
alias: testConfig.alias,
conditions: ['node'],
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
- // @ts-ignore we support Vite ^3.0, but browserField is available in Vite ^3.2
- browserField: false,
},
server: {
...testConfig.api,
diff --git a/packages/vitest/src/node/plugins/normalizeURL.ts b/packages/vitest/src/node/plugins/normalizeURL.ts
index 89e44b8c6..693796b36 100644
--- a/packages/vitest/src/node/plugins/normalizeURL.ts
+++ b/packages/vitest/src/node/plugins/normalizeURL.ts
@@ -23,6 +23,7 @@ export function NormalizeURLPlugin(): Plugin {
let updatedCode = code
let match: RegExpExecArray | null
+ // eslint-disable-next-line no-cond-assign
while ((match = assetImportMetaUrlRE.exec(cleanString))) {
const { 0: exp, index } = match
const metaUrlIndex = index + exp.indexOf('import.meta.url')
diff --git a/packages/vitest/src/node/plugins/workspace.ts b/packages/vitest/src/node/plugins/workspace.ts
index 723076316..ece33f763 100644
--- a/packages/vitest/src/node/plugins/workspace.ts
+++ b/packages/vitest/src/node/plugins/workspace.ts
@@ -49,9 +49,6 @@ export function WorkspaceVitestPlugin(project: WorkspaceProject, options: Worksp
mainFields: [],
alias: testConfig.alias,
conditions: ['node'],
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
- // @ts-ignore we support Vite ^3.0, but browserField is available in Vite ^3.2
- browserField: false,
},
esbuild: {
sourcemap: 'external',
diff --git a/packages/vitest/src/node/reporters/junit.ts b/packages/vitest/src/node/reporters/junit.ts
index c66cb30fe..fbe137676 100644
--- a/packages/vitest/src/node/reporters/junit.ts
+++ b/packages/vitest/src/node/reporters/junit.ts
@@ -41,7 +41,9 @@ function removeInvalidXMLCharacters(value: any, removeDiscouragedChars: boolean)
+ 'uDAFF[\\uDFFE\\uDFFF])|(?:\\uDB3F[\\uDFFE\\uDFFF])|(?:\\uDB7F[\\uDFFE\\uDFFF])|(?:\\uDBBF'
+ '[\\uDFFE\\uDFFF])|(?:\\uDBFF[\\uDFFE\\uDFFF])(?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\'
+ 'uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|'
- + '(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]))', 'g')
+ + '(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]))',
+ 'g',
+ )
value = value.replace(regex, '')
}
@@ -57,7 +59,8 @@ function escapeXML(value: any): string {
.replace(/'/g, ''')
.replace(//g, '>'),
- true)
+ true,
+ )
}
function executionTime(durationMS: number) {
@@ -210,8 +213,7 @@ export class JUnitReporter implements Reporter {
failures: stats.failures + Number(task.result?.state === 'fail'),
skipped: stats.skipped + Number(task.mode === 'skip' || task.mode === 'todo'),
}
- },
- {
+ }, {
passed: 0,
failures: 0,
skipped: 0,
diff --git a/packages/vitest/src/node/workspace.ts b/packages/vitest/src/node/workspace.ts
index 6b2ef611a..a981dd805 100644
--- a/packages/vitest/src/node/workspace.ts
+++ b/packages/vitest/src/node/workspace.ts
@@ -348,8 +348,7 @@ export class WorkspaceProject {
inspect: this.ctx.config.inspect,
inspectBrk: this.ctx.config.inspectBrk,
alias: [],
- }, this.ctx.configOverride || {} as any,
- ) as ResolvedConfig
+ }, this.ctx.configOverride || {} as any) as ResolvedConfig
}
close() {
diff --git a/packages/vitest/src/runtime/mocker.ts b/packages/vitest/src/runtime/mocker.ts
index 908581ed2..44812b8b3 100644
--- a/packages/vitest/src/runtime/mocker.ts
+++ b/packages/vitest/src/runtime/mocker.ts
@@ -173,7 +173,8 @@ export class VitestMocker {
const vitestError = this.createError(
'[vitest] There was an error when mocking a module. '
+ 'If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. '
- + 'Read more: https://vitest.dev/api/vi.html#vi-mock')
+ + 'Read more: https://vitest.dev/api/vi.html#vi-mock',
+ )
vitestError.cause = err
throw vitestError
}
diff --git a/packages/vitest/src/runtime/vm/commonjs-executor.ts b/packages/vitest/src/runtime/vm/commonjs-executor.ts
index ce6e5f94f..9e64bdc82 100644
--- a/packages/vitest/src/runtime/vm/commonjs-executor.ts
+++ b/packages/vitest/src/runtime/vm/commonjs-executor.ts
@@ -42,7 +42,7 @@ export class CommonjsExecutor {
Error: typeof Error
}
- // eslint-disable-next-line @typescript-eslint/no-this-alias
+ // eslint-disable-next-line ts/no-this-alias
const executor = this
this.Module = class Module {
@@ -139,8 +139,6 @@ export class CommonjsExecutor {
static _resolveLookupPaths = _Module._resolveLookupPaths
// @ts-expect-error not typed
static globalPaths = _Module.globalPaths
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
- // @ts-ignore not typed in lower versions
static isBuiltin = _Module.isBuiltin
static Module = Module
@@ -216,6 +214,7 @@ export class CommonjsExecutor {
let currentExtension: string
let index: number
let startIndex = 0
+ // eslint-disable-next-line no-cond-assign
while ((index = name.indexOf('.', startIndex)) !== -1) {
startIndex = index + 1
if (index === 0)
diff --git a/packages/vitest/src/runtime/vm/esm-executor.ts b/packages/vitest/src/runtime/vm/esm-executor.ts
index d471a50fc..ef0d55e9f 100644
--- a/packages/vitest/src/runtime/vm/esm-executor.ts
+++ b/packages/vitest/src/runtime/vm/esm-executor.ts
@@ -26,8 +26,7 @@ export class EsmExecutor {
if (m.status === 'unlinked') {
this.esmLinkMap.set(
m,
- m.link((identifier, referencer) =>
- this.executor.resolveModule(identifier, referencer.identifier),
+ m.link((identifier, referencer) => this.executor.resolveModule(identifier, referencer.identifier),
),
)
}
diff --git a/packages/vitest/src/types/config.ts b/packages/vitest/src/types/config.ts
index a90c1889f..a2c9fb424 100644
--- a/packages/vitest/src/types/config.ts
+++ b/packages/vitest/src/types/config.ts
@@ -199,7 +199,7 @@ export interface InlineConfig {
* Benchmark options.
*
* @default {}
- */
+ */
benchmark?: BenchmarkUserOptions
/**
@@ -241,10 +241,10 @@ export interface InlineConfig {
dir?: string
/**
- * Register apis globally
- *
- * @default false
- */
+ * Register apis globally
+ *
+ * @default false
+ */
globals?: boolean
/**
@@ -452,7 +452,7 @@ export interface InlineConfig {
/**
* Enable Vitest UI
- * @internal WIP
+ * @internal
*/
ui?: boolean
@@ -592,7 +592,7 @@ export interface InlineConfig {
* The number of milliseconds after which a test is considered slow and reported as such in the results.
*
* @default 300
- */
+ */
slowTestThreshold?: number
/**
@@ -619,7 +619,7 @@ export interface InlineConfig {
/**
* Modify default Chai config. Vitest uses Chai for `expect` and `assert` matches.
* https://github.com/chaijs/chai/blob/4.x.x/lib/chai/config.js
- */
+ */
chaiConfig?: ChaiConfig
/**
@@ -631,7 +631,7 @@ export interface InlineConfig {
* Retry the test specific number of times if it fails.
*
* @default 0
- */
+ */
retry?: number
/**
diff --git a/packages/vitest/src/types/coverage.ts b/packages/vitest/src/types/coverage.ts
index 075920210..6f0be7da1 100644
--- a/packages/vitest/src/types/coverage.ts
+++ b/packages/vitest/src/types/coverage.ts
@@ -104,15 +104,15 @@ export interface BaseCoverageOptions {
include?: string[]
/**
- * Extensions for files to be included in coverage
- *
- * @default ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx', '.vue', '.svelte', '.marko']
- */
+ * Extensions for files to be included in coverage
+ *
+ * @default ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx', '.vue', '.svelte', '.marko']
+ */
extension?: string | string[]
/**
- * List of files excluded from coverage as glob patterns
- */
+ * List of files excluded from coverage as glob patterns
+ */
exclude?: string[]
/**
diff --git a/packages/vitest/src/types/global.ts b/packages/vitest/src/types/global.ts
index 9b943c43f..66ea57a06 100644
--- a/packages/vitest/src/types/global.ts
+++ b/packages/vitest/src/types/global.ts
@@ -6,7 +6,7 @@ import type { VitestEnvironment } from './config'
import type { BenchmarkResult } from './benchmark'
declare global {
- // eslint-disable-next-line @typescript-eslint/no-namespace
+ // eslint-disable-next-line ts/no-namespace
namespace Chai {
interface Assertion {
containSubset(expected: any): Assertion
diff --git a/packages/vitest/src/types/pool-options.ts b/packages/vitest/src/types/pool-options.ts
index 30c6f0115..da4c91c6a 100644
--- a/packages/vitest/src/types/pool-options.ts
+++ b/packages/vitest/src/types/pool-options.ts
@@ -83,16 +83,16 @@ interface WorkerContextOptions {
isolate?: boolean
/**
- * Pass additional arguments to `node` process when spawning `worker_threads` or `child_process`.
- *
- * See [Command-line API | Node.js](https://nodejs.org/docs/latest/api/cli.html) for more information.
- *
- * Set to `process.execArgv` to pass all arguments of the current process.
- *
- * Be careful when using, it as some options may crash worker, e.g. --prof, --title. See https://github.com/nodejs/node/issues/41103
- *
- * @default [] // no execution arguments are passed
- */
+ * Pass additional arguments to `node` process when spawning `worker_threads` or `child_process`.
+ *
+ * See [Command-line API | Node.js](https://nodejs.org/docs/latest/api/cli.html) for more information.
+ *
+ * Set to `process.execArgv` to pass all arguments of the current process.
+ *
+ * Be careful when using, it as some options may crash worker, e.g. --prof, --title. See https://github.com/nodejs/node/issues/41103
+ *
+ * @default [] // no execution arguments are passed
+ */
execArgv?: string[]
}
@@ -107,15 +107,15 @@ interface VmOptions {
isolate?: true
/**
- * Pass additional arguments to `node` process when spawning `worker_threads` or `child_process`.
- *
- * See [Command-line API | Node.js](https://nodejs.org/docs/latest/api/cli.html) for more information.
- *
- * Set to `process.execArgv` to pass all arguments of the current process.
- *
- * Be careful when using, it as some options may crash worker, e.g. --prof, --title. See https://github.com/nodejs/node/issues/41103
- *
- * @default [] // no execution arguments are passed
- */
+ * Pass additional arguments to `node` process when spawning `worker_threads` or `child_process`.
+ *
+ * See [Command-line API | Node.js](https://nodejs.org/docs/latest/api/cli.html) for more information.
+ *
+ * Set to `process.execArgv` to pass all arguments of the current process.
+ *
+ * Be careful when using, it as some options may crash worker, e.g. --prof, --title. See https://github.com/nodejs/node/issues/41103
+ *
+ * @default [] // no execution arguments are passed
+ */
execArgv?: string[]
}
diff --git a/packages/vitest/src/utils/base.ts b/packages/vitest/src/utils/base.ts
index 3e16913bc..00b0eb1de 100644
--- a/packages/vitest/src/utils/base.ts
+++ b/packages/vitest/src/utils/base.ts
@@ -50,6 +50,7 @@ export function getAllMockableProperties(obj: any, isModule: boolean, constructo
if (descriptor)
allProps.set(key, { key, descriptor })
})
+ // eslint-disable-next-line no-cond-assign
} while (curr = Object.getPrototypeOf(curr))
// default is not specified in ownKeys, if module is interoped
if (isModule && !allProps.has('default') && 'default' in obj) {
diff --git a/packages/web-worker/index.d.ts b/packages/web-worker/index.d.ts
index 8b1378917..e69de29bb 100644
--- a/packages/web-worker/index.d.ts
+++ b/packages/web-worker/index.d.ts
@@ -1 +0,0 @@
-
diff --git a/packages/web-worker/package.json b/packages/web-worker/package.json
index 9508ce64d..524cd8633 100644
--- a/packages/web-worker/package.json
+++ b/packages/web-worker/package.json
@@ -31,8 +31,8 @@
"module": "./dist/index.js",
"types": "./index.d.ts",
"files": [
- "dist",
- "*.d.ts"
+ "*.d.ts",
+ "dist"
],
"scripts": {
"build": "rimraf dist && rollup -c",
diff --git a/packages/web-worker/pure.d.ts b/packages/web-worker/pure.d.ts
index ea13ccfd6..544aea838 100644
--- a/packages/web-worker/pure.d.ts
+++ b/packages/web-worker/pure.d.ts
@@ -1,8 +1,8 @@
-type CloneOption = 'native' | 'ponyfill' | 'none';
+type CloneOption = 'native' | 'ponyfill' | 'none'
interface DefineWorkerOptions {
- clone: CloneOption;
+ clone: CloneOption
}
-declare function defineWebWorkers(options?: DefineWorkerOptions): void;
+declare function defineWebWorkers(options?: DefineWorkerOptions): void
-export { defineWebWorkers };
+export { defineWebWorkers }
diff --git a/packages/ws-client/package.json b/packages/ws-client/package.json
index 811bed102..2176ee591 100644
--- a/packages/ws-client/package.json
+++ b/packages/ws-client/package.json
@@ -25,9 +25,9 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
- "dist",
"*.d.ts",
- "*.mjs"
+ "*.mjs",
+ "dist"
],
"engines": {
"node": "^18.0.0 || >=20.0.0"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c03f5ca22..978759d0a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -21,11 +21,11 @@ importers:
.:
devDependencies:
'@antfu/eslint-config':
- specifier: ^0.39.6
- version: 0.39.6(eslint@8.44.0)(typescript@5.1.6)
+ specifier: ^1.1.0
+ version: 1.1.0(eslint@8.53.0)(typescript@5.2.2)(vitest@packages+vitest)
'@antfu/ni':
- specifier: ^0.21.8
- version: 0.21.8
+ specifier: ^0.21.9
+ version: 0.21.9
'@rollup/plugin-commonjs':
specifier: ^25.0.7
version: 25.0.7(rollup@4.3.0)
@@ -60,11 +60,11 @@ importers:
specifier: ^0.19.5
version: 0.19.5
eslint:
- specifier: ^8.44.0
- version: 8.44.0
+ specifier: ^8.53.0
+ version: 8.53.0
fast-glob:
- specifier: ^3.3.0
- version: 3.3.0
+ specifier: ^3.3.2
+ version: 3.3.2
lint-staged:
specifier: ^15.0.2
version: 15.0.2
@@ -85,7 +85,7 @@ importers:
version: 4.3.0
rollup-plugin-dts:
specifier: ^6.1.0
- version: 6.1.0(rollup@4.3.0)(typescript@5.1.6)
+ version: 6.1.0(rollup@4.3.0)(typescript@5.2.2)
rollup-plugin-esbuild:
specifier: ^6.1.0
version: 6.1.0(esbuild@0.19.5)(rollup@4.3.0)
@@ -99,8 +99,8 @@ importers:
specifier: ^4.1.0
version: 4.1.0
typescript:
- specifier: ^5.1.6
- version: 5.1.6
+ specifier: ^5.2.2
+ version: 5.2.2
vite:
specifier: ^5.0.0-beta.15
version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
@@ -155,7 +155,7 @@ importers:
version: 0.16.7(vite@5.0.0-beta.17)(workbox-build@7.0.0)(workbox-window@7.0.0)
vitepress:
specifier: ^1.0.0-rc.25
- version: 1.0.0-rc.25(@types/node@18.18.9)(postcss@8.4.31)(search-insights@2.9.0)(typescript@5.1.6)
+ version: 1.0.0-rc.25(@types/node@18.18.9)(postcss@8.4.31)(search-insights@2.9.0)(typescript@5.2.2)
workbox-window:
specifier: ^7.0.0
version: 7.0.0
@@ -253,7 +253,7 @@ importers:
version: link:../../packages/vitest
webdriverio:
specifier: ^8.21.1
- version: 8.22.1(typescript@5.1.6)
+ version: 8.22.1(typescript@5.2.2)
examples/marko:
devDependencies:
@@ -311,7 +311,7 @@ importers:
version: link:../../packages/vitest
vue:
specifier: ^3.3.8
- version: 3.3.8(typescript@5.1.6)
+ version: 3.3.8(typescript@5.2.2)
zustand:
specifier: ^4.1.1
version: 4.1.1(react@18.2.0)
@@ -344,8 +344,8 @@ importers:
specifier: latest
version: 22.1.0
typescript:
- specifier: ^4.8.4
- version: 4.8.4
+ specifier: ^5.2.2
+ version: 5.2.2
vitest:
specifier: workspace:*
version: link:../../packages/vitest
@@ -399,8 +399,8 @@ importers:
specifier: ^4.1.3
version: 4.1.3
typescript:
- specifier: ^4.8.4
- version: 4.8.4
+ specifier: ^5.2.2
+ version: 5.2.2
vite:
specifier: ^5.0.0-beta.15
version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
@@ -529,7 +529,7 @@ importers:
version: 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/addon-essentials':
specifier: ^6.5.5
- version: 6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.89.0)
+ version: 6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.89.0)
'@storybook/addon-links':
specifier: ^6.5.5
version: 6.5.10(react-dom@17.0.2)(react@17.0.2)
@@ -538,7 +538,7 @@ importers:
version: 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/builder-vite':
specifier: ^0.1.35
- version: 0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@4.8.4)(vite@5.0.0-beta.17)
+ version: 0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@5.2.2)(vite@5.0.0-beta.17)
'@storybook/client-api':
specifier: ^6.5.5
version: 6.5.10(react-dom@17.0.2)(react@17.0.2)
@@ -547,7 +547,7 @@ importers:
version: 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/react':
specifier: ^6.5.5
- version: 6.5.10(@babel/core@7.23.3)(esbuild@0.18.20)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(require-from-string@2.0.2)(typescript@4.8.4)
+ version: 6.5.10(@babel/core@7.23.3)(esbuild@0.18.20)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(require-from-string@2.0.2)(typescript@5.2.2)
'@storybook/testing-library':
specifier: ^0.0.11
version: 0.0.11(react-dom@17.0.2)(react@17.0.2)
@@ -580,13 +580,13 @@ importers:
version: 22.1.0
msw:
specifier: ^0.49.2
- version: 0.49.2(typescript@4.8.4)
+ version: 0.49.2(typescript@5.2.2)
msw-storybook-addon:
specifier: ^1.6.3
version: 1.6.3(msw@0.49.2)(react-dom@17.0.2)(react@17.0.2)
typescript:
- specifier: ^4.8.4
- version: 4.8.4
+ specifier: ^5.2.2
+ version: 5.2.2
vite:
specifier: ^5.0.0-beta.15
version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
@@ -631,8 +631,8 @@ importers:
specifier: latest
version: 22.1.0
typescript:
- specifier: ^4.8.4
- version: 4.8.4
+ specifier: ^5.2.2
+ version: 5.2.2
vite:
specifier: ^5.0.0-beta.15
version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
@@ -675,7 +675,7 @@ importers:
version: 22.1.0
msw:
specifier: ^2.0.0
- version: 2.0.0(typescript@5.1.6)
+ version: 2.0.0(typescript@5.2.2)
vite:
specifier: ^5.0.0-beta.15
version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
@@ -780,8 +780,8 @@ importers:
specifier: ^2.5.3
version: 2.5.3
typescript:
- specifier: ^5.1.3
- version: 5.1.3
+ specifier: ^5.2.2
+ version: 5.2.2
vite:
specifier: ^5.0.0-beta.15
version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
@@ -910,7 +910,7 @@ importers:
version: link:../vitest
webdriverio:
specifier: ^8.21.1
- version: 8.22.1(typescript@5.1.6)
+ version: 8.22.1(typescript@5.2.2)
packages/coverage-istanbul:
dependencies:
@@ -1188,7 +1188,7 @@ importers:
version: 0.31.0(vite@5.0.0-beta.17)
vue:
specifier: ^3.3.8
- version: 3.3.8(typescript@5.1.6)
+ version: 3.3.8(typescript@5.2.2)
vue-router:
specifier: ^4.2.5
version: 4.2.5(vue@3.3.8)
@@ -1288,8 +1288,8 @@ importers:
specifier: ^1.0.0
version: 1.0.0
std-env:
- specifier: ^3.3.3
- version: 3.3.3
+ specifier: ^3.4.3
+ version: 3.4.3
strip-literal:
specifier: ^1.3.0
version: 1.3.0
@@ -1442,7 +1442,7 @@ importers:
version: link:../../packages/vitest
webdriverio:
specifier: latest
- version: 8.16.20(typescript@5.1.6)
+ version: 8.16.20(typescript@5.2.2)
test/base:
devDependencies:
@@ -1580,7 +1580,7 @@ importers:
version: 3.3.4
webdriverio:
specifier: latest
- version: 8.16.20(typescript@5.1.6)
+ version: 8.16.20(typescript@5.2.2)
test/css:
devDependencies:
@@ -1938,7 +1938,7 @@ importers:
version: link:../../packages/vitest
webdriverio:
specifier: latest
- version: 8.16.20(typescript@5.1.6)
+ version: 8.16.20(typescript@5.2.2)
test/web-worker:
devDependencies:
@@ -2136,100 +2136,50 @@ packages:
'@jridgewell/gen-mapping': 0.3.2
'@jridgewell/trace-mapping': 0.3.18
- /@antfu/eslint-config-basic@0.39.6(@typescript-eslint/eslint-plugin@5.60.0)(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-vFy/qk6sCstCJmgj01tVtuC+pZ5PseJkuZueD2mtzWwFLewOMeeDn1UbyOWQEiLtmW7o6aqhikgp3VOHgxzFxw==}
- peerDependencies:
- eslint: '>=7.4.0'
- dependencies:
- eslint: 8.44.0
- eslint-plugin-antfu: 0.39.6(eslint@8.44.0)(typescript@5.1.6)
- eslint-plugin-eslint-comments: 3.2.0(eslint@8.44.0)
- eslint-plugin-html: 7.1.0
- eslint-plugin-import: /eslint-plugin-i@2.27.5-3(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)
- eslint-plugin-jsonc: 2.9.0(eslint@8.44.0)
- eslint-plugin-markdown: 3.0.0(eslint@8.44.0)
- eslint-plugin-n: 16.0.0(eslint@8.44.0)
+ /@antfu/eslint-config@1.1.0(eslint@8.53.0)(typescript@5.2.2)(vitest@packages+vitest):
+ resolution: {integrity: sha512-r39rNfNNB4j2MlJ9lLBA2vpsWQZePZ1EHbkztq/hIe3EOqfLjve/H2OYP4q+6L/X70UKYc1/Q9pFj85Ph4CyRg==}
+ peerDependencies:
+ eslint: '>=8.0.0'
+ dependencies:
+ '@antfu/eslint-define-config': 1.23.0-2
+ '@stylistic/eslint-plugin': 1.0.1(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ eslint: 8.53.0
+ eslint-config-flat-gitignore: 0.1.1
+ eslint-plugin-antfu: 1.0.2(eslint@8.53.0)
+ eslint-plugin-eslint-comments: 3.2.0(eslint@8.53.0)
+ eslint-plugin-i: 2.29.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)
+ eslint-plugin-jsdoc: 46.9.0(eslint@8.53.0)
+ eslint-plugin-jsonc: 2.10.0(eslint@8.53.0)
+ eslint-plugin-markdown: 3.0.1(eslint@8.53.0)
+ eslint-plugin-n: 16.3.1(eslint@8.53.0)
eslint-plugin-no-only-tests: 3.1.0
- eslint-plugin-promise: 6.1.1(eslint@8.44.0)
- eslint-plugin-unicorn: 47.0.0(eslint@8.44.0)
- eslint-plugin-unused-imports: 2.0.0(@typescript-eslint/eslint-plugin@5.60.0)(eslint@8.44.0)
- eslint-plugin-yml: 1.8.0(eslint@8.44.0)
- jsonc-eslint-parser: 2.3.0
+ eslint-plugin-perfectionist: 2.2.0(eslint@8.53.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2)
+ eslint-plugin-unicorn: 49.0.0(eslint@8.53.0)
+ eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.10.0)(eslint@8.53.0)
+ eslint-plugin-vitest: 0.3.9(@typescript-eslint/eslint-plugin@6.10.0)(eslint@8.53.0)(typescript@5.2.2)(vitest@packages+vitest)
+ eslint-plugin-vue: 9.18.1(eslint@8.53.0)
+ eslint-plugin-yml: 1.10.0(eslint@8.53.0)
+ globals: 13.23.0
+ jsonc-eslint-parser: 2.4.0
+ local-pkg: 0.5.0
+ vue-eslint-parser: 9.3.2(eslint@8.53.0)
yaml-eslint-parser: 1.2.2
transitivePeerDependencies:
- - '@typescript-eslint/eslint-plugin'
- - '@typescript-eslint/parser'
+ - astro-eslint-parser
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
+ - svelte
+ - svelte-eslint-parser
- typescript
+ - vitest
dev: true
- /@antfu/eslint-config-ts@0.39.6(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-ri1WebgsBSfEFftMgRAmM4AxqN37sP4Ft+OdaXJ9AHSh1EvJCzGOgVARcEEDvSVDFRoRuTTg99dMXwfwsYdiPA==}
- peerDependencies:
- eslint: '>=7.4.0'
- typescript: '>=3.9'
- dependencies:
- '@antfu/eslint-config-basic': 0.39.6(@typescript-eslint/eslint-plugin@5.60.0)(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/eslint-plugin': 5.60.0(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/parser': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
- eslint: 8.44.0
- eslint-plugin-jest: 27.2.1(@typescript-eslint/eslint-plugin@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- typescript: 5.1.6
- transitivePeerDependencies:
- - eslint-import-resolver-typescript
- - eslint-import-resolver-webpack
- - jest
- - supports-color
- dev: true
-
- /@antfu/eslint-config-vue@0.39.6(@typescript-eslint/eslint-plugin@5.60.0)(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-+GOo5No7IWnjMK2fZ9crhdJrsUa4C13aiT28hlZpWLg8Chd9QqyqBN8O4bBYnGhifoDnBWHVyDMp2rlAiNLI/g==}
- peerDependencies:
- eslint: '>=7.4.0'
- dependencies:
- '@antfu/eslint-config-basic': 0.39.6(@typescript-eslint/eslint-plugin@5.60.0)(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- '@antfu/eslint-config-ts': 0.39.6(eslint@8.44.0)(typescript@5.1.6)
- eslint: 8.44.0
- eslint-plugin-vue: 9.15.0(eslint@8.44.0)
- local-pkg: 0.4.3
- transitivePeerDependencies:
- - '@typescript-eslint/eslint-plugin'
- - '@typescript-eslint/parser'
- - eslint-import-resolver-typescript
- - eslint-import-resolver-webpack
- - jest
- - supports-color
- - typescript
- dev: true
-
- /@antfu/eslint-config@0.39.6(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-RlSWVhqSF7L5w8+ZUB8iR2GF+pZjyE0GstzaecR5xFnv8BJOXeNW1f594ODbznkytaLixJZd/eJZacRK/yfWrA==}
- peerDependencies:
- eslint: '>=7.4.0'
- dependencies:
- '@antfu/eslint-config-vue': 0.39.6(@typescript-eslint/eslint-plugin@5.60.0)(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/eslint-plugin': 5.60.0(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/parser': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
- eslint: 8.44.0
- eslint-plugin-eslint-comments: 3.2.0(eslint@8.44.0)
- eslint-plugin-html: 7.1.0
- eslint-plugin-import: /eslint-plugin-i@2.27.5-3(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)
- eslint-plugin-jsonc: 2.9.0(eslint@8.44.0)
- eslint-plugin-n: 16.0.0(eslint@8.44.0)
- eslint-plugin-promise: 6.1.1(eslint@8.44.0)
- eslint-plugin-unicorn: 47.0.0(eslint@8.44.0)
- eslint-plugin-vue: 9.15.0(eslint@8.44.0)
- eslint-plugin-yml: 1.8.0(eslint@8.44.0)
- jsonc-eslint-parser: 2.3.0
- yaml-eslint-parser: 1.2.2
- transitivePeerDependencies:
- - eslint-import-resolver-typescript
- - eslint-import-resolver-webpack
- - jest
- - supports-color
- - typescript
+ /@antfu/eslint-define-config@1.23.0-2:
+ resolution: {integrity: sha512-LvxY21+ZhpuBf/aHeBUtGQhSEfad4PkNKXKvDOSvukaM3XVTfBhwmHX2EKwAsdq5DlfjbT3qqYyMiueBIO5iDQ==}
+ engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>= 8.6.0'}
dev: true
/@antfu/install-pkg@0.1.1:
@@ -2239,8 +2189,8 @@ packages:
find-up: 5.0.0
dev: true
- /@antfu/ni@0.21.8:
- resolution: {integrity: sha512-90X8pU2szlvw0AJo9EZMbYc2eQKkmO7mAdC4tD4r5co2Mm56MT37MIG8EyB7p4WRheuzGxuLDxJ63mF6+Zajiw==}
+ /@antfu/ni@0.21.9:
+ resolution: {integrity: sha512-zlwQy574YEYl9ssWMV98ADxobU5wePdtyaOeQ5jgzdV8WldPcK+Osqd1SeQwEWjN0Io0GKiqpQzKZXVgxU1jPg==}
hasBin: true
dev: true
@@ -5124,6 +5074,15 @@ packages:
resolution: {integrity: sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==}
dev: false
+ /@es-joy/jsdoccomment@0.41.0:
+ resolution: {integrity: sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==}
+ engines: {node: '>=16'}
+ dependencies:
+ comment-parser: 1.4.1
+ esquery: 1.5.0
+ jsdoc-type-pratt-parser: 4.0.0
+ dev: true
+
/@esbuild-kit/cjs-loader@2.3.3:
resolution: {integrity: sha512-Rt4O1mXlPEDVxvjsHLgbtHVdUXYK9C1/6ThpQnt7FaXIjUOsI6qhHYMgALhNnlIMZffag44lXd6Dqgx3xALbpQ==}
dependencies:
@@ -5537,18 +5496,18 @@ packages:
requiresBuild: true
optional: true
- /@eslint-community/eslint-utils@4.4.0(eslint@8.44.0):
+ /@eslint-community/eslint-utils@4.4.0(eslint@8.53.0):
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
dependencies:
- eslint: 8.44.0
- eslint-visitor-keys: 3.4.1
+ eslint: 8.53.0
+ eslint-visitor-keys: 3.4.3
dev: true
- /@eslint-community/regexpp@4.5.0:
- resolution: {integrity: sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==}
+ /@eslint-community/regexpp@4.10.0:
+ resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
dev: true
@@ -5558,7 +5517,7 @@ packages:
dependencies:
ajv: 6.12.6
debug: 4.3.4(supports-color@8.1.1)
- espree: 9.5.2
+ espree: 9.6.0
globals: 13.19.0
ignore: 5.2.0
import-fresh: 3.3.0
@@ -5569,13 +5528,13 @@ packages:
- supports-color
dev: true
- /@eslint/eslintrc@2.1.0:
- resolution: {integrity: sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==}
+ /@eslint/eslintrc@2.1.3:
+ resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
ajv: 6.12.6
debug: 4.3.4(supports-color@8.1.1)
- espree: 9.6.0
+ espree: 9.6.1
globals: 13.19.0
ignore: 5.2.0
import-fresh: 3.3.0
@@ -5586,8 +5545,8 @@ packages:
- supports-color
dev: true
- /@eslint/js@8.44.0:
- resolution: {integrity: sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==}
+ /@eslint/js@8.53.0:
+ resolution: {integrity: sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
@@ -5640,11 +5599,11 @@ packages:
graphql: 16.8.1
dev: false
- /@humanwhocodes/config-array@0.11.10:
- resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==}
+ /@humanwhocodes/config-array@0.11.13:
+ resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==}
engines: {node: '>=10.10.0'}
dependencies:
- '@humanwhocodes/object-schema': 1.2.1
+ '@humanwhocodes/object-schema': 2.0.1
debug: 4.3.4(supports-color@8.1.1)
minimatch: 3.1.2
transitivePeerDependencies:
@@ -5671,6 +5630,10 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
+ /@humanwhocodes/object-schema@2.0.1:
+ resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==}
+ dev: true
+
/@iconify-json/carbon@1.1.21:
resolution: {integrity: sha512-bK2cMVM4noBU+FGlay433flpXLRzQu0ED095iAnoO6ka3yb4uz0lvb8acpN5gthyGLJ89C4HpfIbQZLQnMKQww==}
dependencies:
@@ -5984,7 +5947,7 @@ packages:
chalk: 4.1.2
dev: true
- /@joshwooding/vite-plugin-react-docgen-typescript@0.0.4(typescript@4.8.4)(vite@5.0.0-beta.17):
+ /@joshwooding/vite-plugin-react-docgen-typescript@0.0.4(typescript@5.2.2)(vite@5.0.0-beta.17):
resolution: {integrity: sha512-ezL7SU//1OV4Oyt/zQ3CsX8uLujVEYUHuULkqgcW6wOuQfRnvgkn99HZtLWwS257GmZVwszGQzhL7VE3PbMAYw==}
peerDependencies:
typescript: '>= 4.3.x'
@@ -5993,8 +5956,8 @@ packages:
glob: 7.2.3
glob-promise: 4.2.2(glob@7.2.3)
magic-string: 0.26.7
- react-docgen-typescript: 2.2.2(typescript@4.8.4)
- typescript: 4.8.4
+ react-docgen-typescript: 2.2.2(typescript@5.2.2)
+ typescript: 5.2.2
vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
dev: true
@@ -6849,7 +6812,7 @@ packages:
- supports-color
dev: true
- /@puppeteer/browsers@1.4.6(typescript@5.1.6):
+ /@puppeteer/browsers@1.4.6(typescript@5.2.2):
resolution: {integrity: sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==}
engines: {node: '>=16.3.0'}
hasBin: true
@@ -6864,7 +6827,7 @@ packages:
progress: 2.0.3
proxy-agent: 6.3.0
tar-fs: 3.0.4
- typescript: 5.1.6
+ typescript: 5.2.2
unbzip2-stream: 1.4.3
yargs: 17.7.1
transitivePeerDependencies:
@@ -7276,7 +7239,7 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/addon-controls@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4):
+ /@storybook/addon-controls@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-lC2y3XcolmQAJwFurIyGrynAHPWmfNtTCdu3rQBTVGwyxCoNwdOOeC2jV0BRqX2+CW6OHzJr9frNWXPSaZ8c4w==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7291,7 +7254,7 @@ packages:
'@storybook/api': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/client-logger': 6.5.10
'@storybook/components': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/csf': 0.0.2--canary.4566f4d.1
'@storybook/node-logger': 6.5.10
'@storybook/store': 6.5.10(react-dom@17.0.2)(react@17.0.2)
@@ -7310,7 +7273,7 @@ packages:
- webpack-command
dev: true
- /@storybook/addon-docs@6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.89.0):
+ /@storybook/addon-docs@6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.89.0):
resolution: {integrity: sha512-1kgjo3f0vL6GN8fTwLL05M/q/kDdzvuqwhxPY/v5hubFb3aQZGr2yk9pRBaLAbs4bez0yG0ASXcwhYnrEZUppg==}
peerDependencies:
'@storybook/mdx2-csf': ^0.0.3
@@ -7331,7 +7294,7 @@ packages:
'@storybook/addons': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/api': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/components': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/core-events': 6.5.10
'@storybook/csf': 0.0.2--canary.4566f4d.1
'@storybook/docs-tools': 6.5.10(react-dom@17.0.2)(react@17.0.2)
@@ -7365,7 +7328,7 @@ packages:
- webpack-command
dev: true
- /@storybook/addon-essentials@6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.89.0):
+ /@storybook/addon-essentials@6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.89.0):
resolution: {integrity: sha512-PT2aiR4vgAyB0pl3HNBUa4/a7NDRxASxAazz7zt9ZDirkipDKfxwdcLeRoJzwSngVDWEhuz5/paN5x4eNp4Hww==}
peerDependencies:
'@babel/core': ^7.9.6
@@ -7425,15 +7388,15 @@ packages:
'@babel/core': 7.23.3
'@storybook/addon-actions': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/addon-backgrounds': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/addon-controls': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
- '@storybook/addon-docs': 6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.89.0)
+ '@storybook/addon-controls': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
+ '@storybook/addon-docs': 6.5.10(@babel/core@7.23.3)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.89.0)
'@storybook/addon-measure': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/addon-outline': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/addon-toolbars': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/addon-viewport': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/addons': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/api': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/node-logger': 6.5.10
core-js: 3.25.0
react: 17.0.2
@@ -7622,7 +7585,7 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/builder-vite@0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@4.8.4)(vite@5.0.0-beta.17):
+ /@storybook/builder-vite@0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@5.2.2)(vite@5.0.0-beta.17):
resolution: {integrity: sha512-h/7AgEUfSuVexTD6LuJ6BCNu+FSo/+IKYBQ1O3TyF2BEgcob5/BGrx9QcwM0LJCF44L1zNKaxkKpCZs9p+LRRA==}
peerDependencies:
'@storybook/core-common': '>=6.4.3 || >=6.5.0-alpha.0'
@@ -7634,7 +7597,7 @@ packages:
'@storybook/mdx2-csf':
optional: true
dependencies:
- '@joshwooding/vite-plugin-react-docgen-typescript': 0.0.4(typescript@4.8.4)(vite@5.0.0-beta.17)
+ '@joshwooding/vite-plugin-react-docgen-typescript': 0.0.4(typescript@5.2.2)(vite@5.0.0-beta.17)
'@storybook/core-common': 7.5.1
'@storybook/mdx1-csf': 0.0.4(@babel/core@7.23.3)(react@17.0.2)
'@storybook/node-logger': 7.5.1
@@ -7656,7 +7619,7 @@ packages:
- typescript
dev: true
- /@storybook/builder-webpack4@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4):
+ /@storybook/builder-webpack4@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-AoKjsCNoQQoZXYwBDxO8s+yVEd5FjBJAaysEuUTHq2fb81jwLrGcEOo6hjw4jqfugZQIzYUEjPazlvubS78zpw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7674,7 +7637,7 @@ packages:
'@storybook/client-api': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/client-logger': 6.5.10
'@storybook/components': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/core-events': 6.5.10
'@storybook/node-logger': 6.5.10
'@storybook/preview-web': 6.5.10(react-dom@17.0.2)(react@17.0.2)
@@ -7692,12 +7655,12 @@ packages:
css-loader: 3.6.0(webpack@4.46.0)
file-loader: 6.2.0(webpack@4.46.0)
find-up: 5.0.0
- fork-ts-checker-webpack-plugin: 4.1.6(eslint@8.4.1)(typescript@4.8.4)(webpack@4.46.0)
+ fork-ts-checker-webpack-plugin: 4.1.6(eslint@8.4.1)(typescript@5.2.2)(webpack@4.46.0)
glob: 7.2.3
glob-promise: 3.4.0(glob@7.2.3)
global: 4.4.0
html-webpack-plugin: 4.5.2(webpack@4.46.0)
- pnp-webpack-plugin: 1.6.4(typescript@4.8.4)
+ pnp-webpack-plugin: 1.6.4(typescript@5.2.2)
postcss: 7.0.39
postcss-flexbugs-fixes: 4.2.1
postcss-loader: 4.3.0(postcss@7.0.39)(webpack@4.46.0)
@@ -7708,7 +7671,7 @@ packages:
style-loader: 1.3.0(webpack@4.46.0)
terser-webpack-plugin: 4.2.3(webpack@4.46.0)
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
url-loader: 4.1.1(file-loader@6.2.0)(webpack@4.46.0)
util-deprecate: 1.0.2
webpack: 4.46.0
@@ -7827,7 +7790,7 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/core-client@6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@4.46.0):
+ /@storybook/core-client@6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@4.46.0):
resolution: {integrity: sha512-THsIjNrOrampTl0Lgfjvfjk1JnktKb4CQLOM80KpQb4cjDqorBjJmErzUkUQ2y3fXvrDmQ/kUREkShET4XEdtA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7858,13 +7821,13 @@ packages:
react-dom: 17.0.2(react@17.0.2)
regenerator-runtime: 0.13.11
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
unfetch: 4.2.0
util-deprecate: 1.0.2
webpack: 4.46.0
dev: true
- /@storybook/core-client@6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.74.0):
+ /@storybook/core-client@6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.74.0):
resolution: {integrity: sha512-THsIjNrOrampTl0Lgfjvfjk1JnktKb4CQLOM80KpQb4cjDqorBjJmErzUkUQ2y3fXvrDmQ/kUREkShET4XEdtA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7895,13 +7858,13 @@ packages:
react-dom: 17.0.2(react@17.0.2)
regenerator-runtime: 0.13.11
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
unfetch: 4.2.0
util-deprecate: 1.0.2
webpack: 5.74.0(esbuild@0.18.20)
dev: true
- /@storybook/core-common@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4):
+ /@storybook/core-common@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-Bx+VKkfWdrAmD8T51Sjq/mMhRaiapBHcpG4cU5bc3DMbg+LF2/yrgqv/cjVu+m5gHAzYCac5D7gqzBgvG7Myww==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7945,7 +7908,7 @@ packages:
express: 4.18.1
file-system-cache: 1.1.0
find-up: 5.0.0
- fork-ts-checker-webpack-plugin: 6.5.2(eslint@8.4.1)(typescript@4.8.4)(webpack@4.46.0)
+ fork-ts-checker-webpack-plugin: 6.5.2(eslint@8.4.1)(typescript@5.2.2)(webpack@4.46.0)
fs-extra: 9.1.0
glob: 7.2.3
handlebars: 4.7.7
@@ -7961,7 +7924,7 @@ packages:
slash: 3.0.0
telejson: 6.0.8
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
util-deprecate: 1.0.2
webpack: 4.46.0
transitivePeerDependencies:
@@ -8015,7 +7978,7 @@ packages:
ts-dedent: 2.2.0
dev: true
- /@storybook/core-server@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4):
+ /@storybook/core-server@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-jqwpA0ccA8X5ck4esWBid04+cEIVqirdAcqJeNb9IZAD+bRreO4Im8ilzr7jc5AmQ9fkqHs2NByFKh9TITp8NQ==}
peerDependencies:
'@storybook/builder-webpack5': '*'
@@ -8032,17 +7995,17 @@ packages:
optional: true
dependencies:
'@discoveryjs/json-ext': 0.5.7
- '@storybook/builder-webpack4': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
- '@storybook/core-client': 6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@4.46.0)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/builder-webpack4': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
+ '@storybook/core-client': 6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@4.46.0)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/core-events': 6.5.10
'@storybook/csf': 0.0.2--canary.4566f4d.1
'@storybook/csf-tools': 6.5.10
- '@storybook/manager-webpack4': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/manager-webpack4': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/node-logger': 6.5.10
'@storybook/semver': 7.3.2
'@storybook/store': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/telemetry': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/telemetry': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@types/node': 16.11.56
'@types/node-fetch': 2.6.2
'@types/pretty-hrtime': 1.0.1
@@ -8073,7 +8036,7 @@ packages:
slash: 3.0.0
telejson: 6.0.8
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
util-deprecate: 1.0.2
watchpack: 2.4.0
webpack: 4.46.0
@@ -8092,7 +8055,7 @@ packages:
- webpack-command
dev: true
- /@storybook/core@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.74.0):
+ /@storybook/core@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.74.0):
resolution: {integrity: sha512-K86yYa0tYlMxADlwQTculYvPROokQau09SCVqpsLg3wJCTvYFL4+SIqcYoyBSbFmHOdnYbJgPydjN33MYLiOZQ==}
peerDependencies:
'@storybook/builder-webpack5': '*'
@@ -8109,11 +8072,11 @@ packages:
typescript:
optional: true
dependencies:
- '@storybook/core-client': 6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.74.0)
- '@storybook/core-server': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-client': 6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.74.0)
+ '@storybook/core-server': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
react: 17.0.2
react-dom: 17.0.2(react@17.0.2)
- typescript: 4.8.4
+ typescript: 5.2.2
webpack: 5.74.0(esbuild@0.18.20)
transitivePeerDependencies:
- '@storybook/mdx2-csf'
@@ -8205,7 +8168,7 @@ packages:
- react-dom
dev: true
- /@storybook/manager-webpack4@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4):
+ /@storybook/manager-webpack4@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-N/TlNDhuhARuFipR/ZJ/xEVESz23iIbCsZ4VNehLHm8PpiGlQUehk+jMjWmz5XV0bJItwjRclY+CU3GjZKblfQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -8219,8 +8182,8 @@ packages:
'@babel/plugin-transform-template-literals': 7.18.9(@babel/core@7.23.3)
'@babel/preset-react': 7.18.6(@babel/core@7.23.3)
'@storybook/addons': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/core-client': 6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@4.46.0)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-client': 6.5.10(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@4.46.0)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/node-logger': 6.5.10
'@storybook/theming': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/ui': 6.5.10(react-dom@17.0.2)(react@17.0.2)
@@ -8237,7 +8200,7 @@ packages:
fs-extra: 9.1.0
html-webpack-plugin: 4.5.2(webpack@4.46.0)
node-fetch: 2.7.0
- pnp-webpack-plugin: 1.6.4(typescript@4.8.4)
+ pnp-webpack-plugin: 1.6.4(typescript@5.2.2)
react: 17.0.2
react-dom: 17.0.2(react@17.0.2)
read-pkg-up: 7.0.1
@@ -8247,7 +8210,7 @@ packages:
telejson: 6.0.8
terser-webpack-plugin: 4.2.3(webpack@4.46.0)
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
url-loader: 4.1.1(file-loader@6.2.0)(webpack@4.46.0)
util-deprecate: 1.0.2
webpack: 4.46.0
@@ -8349,7 +8312,7 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0(typescript@4.8.4)(webpack@5.74.0):
+ /@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0(typescript@5.2.2)(webpack@5.74.0):
resolution: {integrity: sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==}
peerDependencies:
typescript: '>= 3.x'
@@ -8360,15 +8323,15 @@ packages:
find-cache-dir: 3.3.2
flat-cache: 3.0.4
micromatch: 4.0.5
- react-docgen-typescript: 2.2.2(typescript@4.8.4)
+ react-docgen-typescript: 2.2.2(typescript@5.2.2)
tslib: 2.5.3
- typescript: 4.8.4
+ typescript: 5.2.2
webpack: 5.74.0(esbuild@0.18.20)
transitivePeerDependencies:
- supports-color
dev: true
- /@storybook/react@6.5.10(@babel/core@7.23.3)(esbuild@0.18.20)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(require-from-string@2.0.2)(typescript@4.8.4):
+ /@storybook/react@6.5.10(@babel/core@7.23.3)(esbuild@0.18.20)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(require-from-string@2.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-m8S1qQrwA7pDGwdKEvL6LV3YKvSzVUY297Fq+xcTU3irnAy4sHDuFoLqV6Mi1510mErK1r8+rf+0R5rEXB219g==}
engines: {node: '>=10.13.0'}
hasBin: true
@@ -8402,12 +8365,12 @@ packages:
'@pmmmwh/react-refresh-webpack-plugin': 0.5.7(react-refresh@0.11.0)(webpack@5.74.0)
'@storybook/addons': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/client-logger': 6.5.10
- '@storybook/core': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)(webpack@5.74.0)
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)(webpack@5.74.0)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/csf': 0.0.2--canary.4566f4d.1
'@storybook/docs-tools': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/node-logger': 6.5.10
- '@storybook/react-docgen-typescript-plugin': 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0(typescript@4.8.4)(webpack@5.74.0)
+ '@storybook/react-docgen-typescript-plugin': 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0(typescript@5.2.2)(webpack@5.74.0)
'@storybook/semver': 7.3.2
'@storybook/store': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@types/estree': 0.0.51
@@ -8433,7 +8396,7 @@ packages:
regenerator-runtime: 0.13.9
require-from-string: 2.0.2
ts-dedent: 2.2.0
- typescript: 4.8.4
+ typescript: 5.2.2
util-deprecate: 1.0.2
webpack: 5.74.0(esbuild@0.18.20)
transitivePeerDependencies:
@@ -8542,11 +8505,11 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/telemetry@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4):
+ /@storybook/telemetry@6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-+M5HILDFS8nDumLxeSeAwi1MTzIuV6UWzV4yB2wcsEXOBTdplcl9oYqFKtlst78oOIdGtpPYxYfivDlqxC2K4g==}
dependencies:
'@storybook/client-logger': 6.5.10
- '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@4.8.4)
+ '@storybook/core-common': 6.5.10(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
chalk: 4.1.2
core-js: 3.25.0
detect-package-manager: 2.0.1
@@ -8596,7 +8559,7 @@ packages:
'@storybook/client-api': 6.5.10(react-dom@17.0.2)(react@17.0.2)
'@storybook/csf': 0.0.2--canary.87bc651.0
'@storybook/preview-web': 6.5.10(react-dom@17.0.2)(react@17.0.2)
- '@storybook/react': 6.5.10(@babel/core@7.23.3)(esbuild@0.18.20)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(require-from-string@2.0.2)(typescript@4.8.4)
+ '@storybook/react': 6.5.10(@babel/core@7.23.3)(esbuild@0.18.20)(eslint@8.4.1)(react-dom@17.0.2)(react@17.0.2)(require-from-string@2.0.2)(typescript@5.2.2)
react: 17.0.2
dev: true
@@ -8647,6 +8610,59 @@ packages:
resolve-from: 5.0.0
dev: true
+ /@stylistic/eslint-plugin-js@1.0.1(eslint@8.53.0):
+ resolution: {integrity: sha512-SfJlEnmBowaWx9GyN/7vQ/7jQP2wVQe5CcaoVL6V5nmCWl9Q+VSeJPSBOjB7XOYSYL1HoEQsvA+8Hy7Zt2XrnA==}
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
+ acorn: 8.11.2
+ escape-string-regexp: 4.0.0
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ esutils: 2.0.3
+ graphemer: 1.4.0
+ transitivePeerDependencies:
+ - eslint
+ dev: true
+
+ /@stylistic/eslint-plugin-jsx@1.0.1(eslint@8.53.0):
+ resolution: {integrity: sha512-qWtZcjWhbJ2roeI0tIPPtI9kWq/aCPsm/OTnMMRN6MtcufYm5oUjuU9cnAFW1pbCcmNWAcTkzbquyYavTAHcDg==}
+ dependencies:
+ '@stylistic/eslint-plugin-js': 1.0.1(eslint@8.53.0)
+ estraverse: 5.3.0
+ transitivePeerDependencies:
+ - eslint
+ dev: true
+
+ /@stylistic/eslint-plugin-ts@1.0.1(eslint@8.53.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-7ps/+DAlo9CdjjMB3u0aPyFTDI+QiR6DRK61nkmAO7BZ4xQfsJn2425trFyfIerAoHV61mP00bdpzmMk586IOg==}
+ peerDependencies:
+ eslint: '*'
+ dependencies:
+ '@stylistic/eslint-plugin-js': 1.0.1(eslint@8.53.0)
+ '@typescript-eslint/scope-manager': 6.10.0
+ '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ eslint: 8.53.0
+ graphemer: 1.4.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
+ /@stylistic/eslint-plugin@1.0.1(eslint@8.53.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-nV4SbWg4yoiS/2ZrQ8dgFRHo7B4hvEwR5prAZ24ZcdIrodFPemd7pkNahClpaXTfXoQuLXB37aRhPRl/ez5Vsw==}
+ peerDependencies:
+ eslint: '*'
+ dependencies:
+ '@stylistic/eslint-plugin-js': 1.0.1(eslint@8.53.0)
+ '@stylistic/eslint-plugin-jsx': 1.0.1(eslint@8.53.0)
+ '@stylistic/eslint-plugin-ts': 1.0.1(eslint@8.53.0)(typescript@5.2.2)
+ eslint: 8.53.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
/@surma/rollup-plugin-off-main-thread@2.2.3:
resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==}
dependencies:
@@ -9573,8 +9589,8 @@ packages:
/@types/scheduler@0.16.2:
resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==}
- /@types/semver@7.3.13:
- resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==}
+ /@types/semver@7.5.5:
+ resolution: {integrity: sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==}
dev: true
/@types/send@0.17.3:
@@ -9747,133 +9763,134 @@ packages:
dev: true
optional: true
- /@typescript-eslint/eslint-plugin@5.60.0(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-78B+anHLF1TI8Jn/cD0Q00TBYdMgjdOn980JfAVa9yw5sop8nyTfVOQAv6LWywkOGLclDBtv5z3oxN4w7jxyNg==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
- '@typescript-eslint/parser': ^5.0.0
- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
+ '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
+ eslint: ^7.0.0 || ^8.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
- '@eslint-community/regexpp': 4.5.0
- '@typescript-eslint/parser': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/scope-manager': 5.60.0
- '@typescript-eslint/type-utils': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/utils': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
+ '@eslint-community/regexpp': 4.10.0
+ '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/scope-manager': 6.10.0
+ '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/visitor-keys': 6.10.0
debug: 4.3.4(supports-color@8.1.1)
- eslint: 8.44.0
- grapheme-splitter: 1.0.4
- ignore: 5.2.0
- natural-compare-lite: 1.4.0
+ eslint: 8.53.0
+ graphemer: 1.4.0
+ ignore: 5.2.4
+ natural-compare: 1.4.0
semver: 7.5.4
- tsutils: 3.21.0(typescript@5.1.6)
- typescript: 5.1.6
+ ts-api-utils: 1.0.3(typescript@5.2.2)
+ typescript: 5.2.2
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/parser@5.60.0(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-jBONcBsDJ9UoTWrARkRRCgDz6wUggmH5RpQVlt7BimSwaTkTjwypGzKORXbR4/2Hqjk9hgwlon2rVQAjWNpkyQ==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==}
+ engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
+ eslint: ^7.0.0 || ^8.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
- '@typescript-eslint/scope-manager': 5.60.0
- '@typescript-eslint/types': 5.60.0
- '@typescript-eslint/typescript-estree': 5.60.0(typescript@5.1.6)
+ '@typescript-eslint/scope-manager': 6.10.0
+ '@typescript-eslint/types': 6.10.0
+ '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2)
+ '@typescript-eslint/visitor-keys': 6.10.0
debug: 4.3.4(supports-color@8.1.1)
- eslint: 8.44.0
- typescript: 5.1.6
+ eslint: 8.53.0
+ typescript: 5.2.2
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/scope-manager@5.60.0:
- resolution: {integrity: sha512-hakuzcxPwXi2ihf9WQu1BbRj1e/Pd8ZZwVTG9kfbxAMZstKz8/9OoexIwnmLzShtsdap5U/CoQGRCWlSuPbYxQ==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/scope-manager@6.10.0:
+ resolution: {integrity: sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
dependencies:
- '@typescript-eslint/types': 5.60.0
- '@typescript-eslint/visitor-keys': 5.60.0
+ '@typescript-eslint/types': 6.10.0
+ '@typescript-eslint/visitor-keys': 6.10.0
dev: true
- /@typescript-eslint/type-utils@5.60.0(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-X7NsRQddORMYRFH7FWo6sA9Y/zbJ8s1x1RIAtnlj6YprbToTiQnM6vxcMu7iYhdunmoC0rUWlca13D5DVHkK2g==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
- eslint: '*'
+ eslint: ^7.0.0 || ^8.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
- '@typescript-eslint/typescript-estree': 5.60.0(typescript@5.1.6)
- '@typescript-eslint/utils': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
+ '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2)
+ '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
debug: 4.3.4(supports-color@8.1.1)
- eslint: 8.44.0
- tsutils: 3.21.0(typescript@5.1.6)
- typescript: 5.1.6
+ eslint: 8.53.0
+ ts-api-utils: 1.0.3(typescript@5.2.2)
+ typescript: 5.2.2
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/types@5.60.0:
- resolution: {integrity: sha512-ascOuoCpNZBccFVNJRSC6rPq4EmJ2NkuoKnd6LDNyAQmdDnziAtxbCGWCbefG1CNzmDvd05zO36AmB7H8RzKPA==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/types@6.10.0:
+ resolution: {integrity: sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
dev: true
- /@typescript-eslint/typescript-estree@5.60.0(typescript@5.1.6):
- resolution: {integrity: sha512-R43thAuwarC99SnvrBmh26tc7F6sPa2B3evkXp/8q954kYL6Ro56AwASYWtEEi+4j09GbiNAHqYwNNZuNlARGQ==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/typescript-estree@6.10.0(typescript@5.2.2):
+ resolution: {integrity: sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
- '@typescript-eslint/types': 5.60.0
- '@typescript-eslint/visitor-keys': 5.60.0
+ '@typescript-eslint/types': 6.10.0
+ '@typescript-eslint/visitor-keys': 6.10.0
debug: 4.3.4(supports-color@8.1.1)
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.4
- tsutils: 3.21.0(typescript@5.1.6)
- typescript: 5.1.6
+ ts-api-utils: 1.0.3(typescript@5.2.2)
+ typescript: 5.2.2
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/utils@5.60.0(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-ba51uMqDtfLQ5+xHtwlO84vkdjrqNzOnqrnwbMHMRY8Tqeme8C2Q8Fc7LajfGR+e3/4LoYiWXUM6BpIIbHJ4hQ==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
+ eslint: ^7.0.0 || ^8.0.0
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
- '@types/json-schema': 7.0.11
- '@types/semver': 7.3.13
- '@typescript-eslint/scope-manager': 5.60.0
- '@typescript-eslint/types': 5.60.0
- '@typescript-eslint/typescript-estree': 5.60.0(typescript@5.1.6)
- eslint: 8.44.0
- eslint-scope: 5.1.1
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
+ '@types/json-schema': 7.0.14
+ '@types/semver': 7.5.5
+ '@typescript-eslint/scope-manager': 6.10.0
+ '@typescript-eslint/types': 6.10.0
+ '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2)
+ eslint: 8.53.0
semver: 7.5.4
transitivePeerDependencies:
- supports-color
- typescript
dev: true
- /@typescript-eslint/visitor-keys@5.60.0:
- resolution: {integrity: sha512-wm9Uz71SbCyhUKgcaPRauBdTegUyY/ZWl8gLwD/i/ybJqscrrdVSFImpvUz16BLPChIeKBK5Fa9s6KDQjsjyWw==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /@typescript-eslint/visitor-keys@6.10.0:
+ resolution: {integrity: sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
dependencies:
- '@typescript-eslint/types': 5.60.0
+ '@typescript-eslint/types': 6.10.0
eslint-visitor-keys: 3.4.1
dev: true
@@ -10375,7 +10392,7 @@ packages:
'@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.3)
'@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.3)
vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
transitivePeerDependencies:
- supports-color
dev: true
@@ -10388,7 +10405,7 @@ packages:
vue: ^3.2.25
dependencies:
vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: true
/@vitejs/plugin-vue@4.4.0(vite@5.0.0-beta.17)(vue@3.3.4):
@@ -10410,7 +10427,7 @@ packages:
vue: ^3.2.25
dependencies:
vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: true
/@volar/language-core@1.10.4:
@@ -10639,7 +10656,7 @@ packages:
dependencies:
'@vue/compiler-ssr': 3.3.8
'@vue/shared': 3.3.8
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
/@vue/shared@3.3.4:
resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==}
@@ -10732,7 +10749,7 @@ packages:
'@types/web-bluetooth': 0.0.14
'@vueuse/metadata': 8.9.4
'@vueuse/shared': 8.9.4(vue@3.3.8)
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
vue-demi: 0.14.0(vue@3.3.8)
dev: false
@@ -10879,7 +10896,7 @@ packages:
vue:
optional: true
dependencies:
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
vue-demi: 0.14.0(vue@3.3.8)
dev: false
@@ -11483,6 +11500,12 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
+ /acorn@8.11.2:
+ resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+ dev: true
+
/acorn@8.9.0:
resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==}
engines: {node: '>=0.4.0'}
@@ -11561,6 +11584,17 @@ packages:
ajv: 8.11.0
dev: true
+ /ajv-formats@2.1.1(ajv@8.12.0):
+ resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
+ peerDependencies:
+ ajv: ^8.0.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+ dependencies:
+ ajv: 8.12.0
+ dev: true
+
/ajv-keywords@3.5.2(ajv@6.12.6):
resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
peerDependencies:
@@ -11790,6 +11824,11 @@ packages:
resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==}
dev: true
+ /are-docs-informative@0.0.2:
+ resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==}
+ engines: {node: '>=14'}
+ dev: true
+
/are-we-there-yet@2.0.0:
resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==}
engines: {node: '>=10'}
@@ -13417,6 +13456,11 @@ packages:
engines: {node: ^12.20.0 || >=14}
dev: true
+ /comment-parser@1.4.1:
+ resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==}
+ engines: {node: '>= 12.0.0'}
+ dev: true
+
/commenting@1.1.0:
resolution: {integrity: sha512-YeNK4tavZwtH7jEgK1ZINXzLKm6DZdEMfsaaieOsCAN0S8vsY7UeuO3Q7d/M018EFgE+IeUAuBOKkFccBZsUZA==}
dev: true
@@ -14593,14 +14637,6 @@ packages:
domhandler: 4.3.1
dev: true
- /domutils@3.0.1:
- resolution: {integrity: sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==}
- dependencies:
- dom-serializer: 2.0.0
- domelementtype: 2.3.0
- domhandler: 5.0.3
- dev: true
-
/domutils@3.1.0:
resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==}
dependencies:
@@ -15296,6 +15332,21 @@ packages:
source-map: 0.6.1
dev: true
+ /eslint-compat-utils@0.1.2(eslint@8.53.0):
+ resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==}
+ engines: {node: '>=12'}
+ peerDependencies:
+ eslint: '>=6.0.0'
+ dependencies:
+ eslint: 8.53.0
+ dev: true
+
+ /eslint-config-flat-gitignore@0.1.1:
+ resolution: {integrity: sha512-ysq0QpN63+uaxE67U0g0HeCweIpv8Ztp7yvm0nYiM2TBalRIG6KQLO5J6lAz2gkA8KVis/QsJppe+BR5VigtWQ==}
+ dependencies:
+ parse-gitignore: 2.0.0
+ dev: true
+
/eslint-import-resolver-node@0.3.9:
resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
dependencies:
@@ -15306,7 +15357,7 @@ packages:
- supports-color
dev: true
- /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.60.0)(eslint-import-resolver-node@0.3.9)(eslint@8.44.0):
+ /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-node@0.3.9)(eslint@8.53.0):
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'}
peerDependencies:
@@ -15327,74 +15378,60 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
+ '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
debug: 3.2.7(supports-color@8.1.1)
- eslint: 8.44.0
+ eslint: 8.53.0
eslint-import-resolver-node: 0.3.9
transitivePeerDependencies:
- supports-color
dev: true
- /eslint-plugin-antfu@0.39.6(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-ecZ+tfk4OrkrHVfJT+li89ZRsxaAWRcFwB9SqqN+NBMaZxP4+pjtRIngcX8dto+BF/L/o50oGePoK6kapxt6aw==}
+ /eslint-plugin-antfu@1.0.2(eslint@8.53.0):
+ resolution: {integrity: sha512-elv/LVq+4h9oi7xza9EK93akujmTAGnL3e7aMVVWELjvIJuHcKj0GT6HjdgPDtuBdMnyyKN7fVKIpSNSqZnaIA==}
+ peerDependencies:
+ eslint: '*'
dependencies:
- '@typescript-eslint/utils': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
- transitivePeerDependencies:
- - eslint
- - supports-color
- - typescript
+ eslint: 8.53.0
dev: true
- /eslint-plugin-es-x@6.2.1(eslint@8.44.0):
- resolution: {integrity: sha512-uR34zUhZ9EBoiSD2DdV5kHLpydVEvwWqjteUr9sXRgJknwbKZJZhdJ7uFnaTtd+Nr/2G3ceJHnHXrFhJ67n3Tw==}
+ /eslint-plugin-es-x@7.3.0(eslint@8.53.0):
+ resolution: {integrity: sha512-W9zIs+k00I/I13+Bdkl/zG1MEO07G97XjUSQuH117w620SJ6bHtLUmoMvkGA2oYnI/gNdr+G7BONLyYnFaLLEQ==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
eslint: '>=8'
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
- '@eslint-community/regexpp': 4.5.0
- eslint: 8.44.0
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
+ '@eslint-community/regexpp': 4.10.0
+ eslint: 8.53.0
dev: true
- /eslint-plugin-eslint-comments@3.2.0(eslint@8.44.0):
+ /eslint-plugin-eslint-comments@3.2.0(eslint@8.53.0):
resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==}
engines: {node: '>=6.5.0'}
peerDependencies:
eslint: '>=4.19.1'
dependencies:
escape-string-regexp: 1.0.5
- eslint: 8.44.0
+ eslint: 8.53.0
ignore: 5.2.0
dev: true
- /eslint-plugin-html@7.1.0:
- resolution: {integrity: sha512-fNLRraV/e6j8e3XYOC9xgND4j+U7b1Rq+OygMlLcMg+wI/IpVbF+ubQa3R78EjKB9njT6TQOlcK5rFKBVVtdfg==}
- dependencies:
- htmlparser2: 8.0.1
- dev: true
-
- /eslint-plugin-i@2.27.5-3(@typescript-eslint/parser@5.60.0)(eslint@8.44.0):
- resolution: {integrity: sha512-fxJkCgJmJ1j/4fQwoonVtXT9nwF/MZ5GTUm9bzFvJQIauJgkkaPblqiMox+2pFjXN+2F7xUeq+UzCDJGBJ+vOA==}
- engines: {node: '>=4'}
+ /eslint-plugin-i@2.29.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0):
+ resolution: {integrity: sha512-slGeTS3GQzx9267wLJnNYNO8X9EHGsc75AKIAFvnvMYEcTJKotPKL1Ru5PIGVHIVet+2DsugePWp8Oxpx8G22w==}
+ engines: {node: '>=12'}
peerDependencies:
- eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
+ eslint: ^7.2.0 || ^8
dependencies:
- array-includes: 3.1.7
- array.prototype.flat: 1.3.2
- array.prototype.flatmap: 1.3.2
debug: 3.2.7(supports-color@8.1.1)
doctrine: 2.1.0
- eslint: 8.44.0
+ eslint: 8.53.0
eslint-import-resolver-node: 0.3.9
- eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.60.0)(eslint-import-resolver-node@0.3.9)(eslint@8.44.0)
+ eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-node@0.3.9)(eslint@8.53.0)
get-tsconfig: 4.7.2
- has: 1.0.4
- is-core-module: 2.13.0
is-glob: 4.0.3
minimatch: 3.1.2
- object.values: 1.1.7
resolve: 1.22.8
- semver: 6.3.1
+ semver: 7.5.4
transitivePeerDependencies:
- '@typescript-eslint/parser'
- eslint-import-resolver-typescript
@@ -15402,62 +15439,64 @@ packages:
- supports-color
dev: true
- /eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@5.60.0)(eslint@8.44.0)(typescript@5.1.6):
- resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==}
- engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
+ /eslint-plugin-jsdoc@46.9.0(eslint@8.53.0):
+ resolution: {integrity: sha512-UQuEtbqLNkPf5Nr/6PPRCtr9xypXY+g8y/Q7gPa0YK7eDhh0y2lWprXRnaYbW7ACgIUvpDKy9X2bZqxtGzBG9Q==}
+ engines: {node: '>=16'}
peerDependencies:
- '@typescript-eslint/eslint-plugin': ^5.0.0
eslint: ^7.0.0 || ^8.0.0
- jest: '*'
- peerDependenciesMeta:
- '@typescript-eslint/eslint-plugin':
- optional: true
- jest:
- optional: true
dependencies:
- '@typescript-eslint/eslint-plugin': 5.60.0(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- '@typescript-eslint/utils': 5.60.0(eslint@8.44.0)(typescript@5.1.6)
- eslint: 8.44.0
+ '@es-joy/jsdoccomment': 0.41.0
+ are-docs-informative: 0.0.2
+ comment-parser: 1.4.1
+ debug: 4.3.4(supports-color@8.1.1)
+ escape-string-regexp: 4.0.0
+ eslint: 8.53.0
+ esquery: 1.5.0
+ is-builtin-module: 3.2.1
+ semver: 7.5.4
+ spdx-expression-parse: 3.0.1
transitivePeerDependencies:
- supports-color
- - typescript
dev: true
- /eslint-plugin-jsonc@2.9.0(eslint@8.44.0):
- resolution: {integrity: sha512-RK+LeONVukbLwT2+t7/OY54NJRccTXh/QbnXzPuTLpFMVZhPuq1C9E07+qWenGx7rrQl0kAalAWl7EmB+RjpGA==}
+ /eslint-plugin-jsonc@2.10.0(eslint@8.53.0):
+ resolution: {integrity: sha512-9d//o6Jyh4s1RxC9fNSt1+MMaFN2ruFdXPG9XZcb/mR2KkfjADYiNL/hbU6W0Cyxfg3tS/XSFuhl5LgtMD8hmw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '>=6.0.0'
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
- eslint: 8.44.0
- jsonc-eslint-parser: 2.3.0
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
+ eslint: 8.53.0
+ eslint-compat-utils: 0.1.2(eslint@8.53.0)
+ jsonc-eslint-parser: 2.4.0
natural-compare: 1.4.0
dev: true
- /eslint-plugin-markdown@3.0.0(eslint@8.44.0):
- resolution: {integrity: sha512-hRs5RUJGbeHDLfS7ELanT0e29Ocyssf/7kBM+p7KluY5AwngGkDf8Oyu4658/NZSGTTq05FZeWbkxXtbVyHPwg==}
+ /eslint-plugin-markdown@3.0.1(eslint@8.53.0):
+ resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
- eslint: 8.44.0
+ eslint: 8.53.0
mdast-util-from-markdown: 0.8.5
transitivePeerDependencies:
- supports-color
dev: true
- /eslint-plugin-n@16.0.0(eslint@8.44.0):
- resolution: {integrity: sha512-akkZTE3hsHBrq6CwmGuYCzQREbVUrA855kzcHqe6i0FLBkeY7Y/6tThCVkjUnjhvRBAlc+8lILcSe5QvvDpeZQ==}
+ /eslint-plugin-n@16.3.1(eslint@8.53.0):
+ resolution: {integrity: sha512-w46eDIkxQ2FaTHcey7G40eD+FhTXOdKudDXPUO2n9WNcslze/i/HT2qJ3GXjHngYSGDISIgPNhwGtgoix4zeOw==}
engines: {node: '>=16.0.0'}
peerDependencies:
eslint: '>=7.0.0'
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
builtins: 5.0.1
- eslint: 8.44.0
- eslint-plugin-es-x: 6.2.1(eslint@8.44.0)
- ignore: 5.2.0
+ eslint: 8.53.0
+ eslint-plugin-es-x: 7.3.0(eslint@8.53.0)
+ get-tsconfig: 4.7.2
+ ignore: 5.2.4
+ is-builtin-module: 3.2.1
is-core-module: 2.13.0
minimatch: 3.1.2
resolve: 1.22.8
@@ -15469,81 +15508,121 @@ packages:
engines: {node: '>=5.0.0'}
dev: true
- /eslint-plugin-promise@6.1.1(eslint@8.44.0):
- resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ /eslint-plugin-perfectionist@2.2.0(eslint@8.53.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2):
+ resolution: {integrity: sha512-/nG2Uurd6AY7CI6zlgjHPOoiPY8B7EYMUWdNb5w+EzyauYiQjjD5lQwAI1FlkBbCCFFZw/CdZIPQhXumYoiyaw==}
peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
+ astro-eslint-parser: ^0.16.0
+ eslint: '>=8.0.0'
+ svelte: '>=3.0.0'
+ svelte-eslint-parser: ^0.33.0
+ vue-eslint-parser: '>=9.0.0'
+ peerDependenciesMeta:
+ astro-eslint-parser:
+ optional: true
+ svelte:
+ optional: true
+ svelte-eslint-parser:
+ optional: true
+ vue-eslint-parser:
+ optional: true
dependencies:
- eslint: 8.44.0
+ '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ eslint: 8.53.0
+ minimatch: 9.0.3
+ natural-compare-lite: 1.4.0
+ vue-eslint-parser: 9.3.2(eslint@8.53.0)
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
dev: true
- /eslint-plugin-unicorn@47.0.0(eslint@8.44.0):
- resolution: {integrity: sha512-ivB3bKk7fDIeWOUmmMm9o3Ax9zbMz1Bsza/R2qm46ufw4T6VBFBaJIR1uN3pCKSmSXm8/9Nri8V+iUut1NhQGA==}
+ /eslint-plugin-unicorn@49.0.0(eslint@8.53.0):
+ resolution: {integrity: sha512-0fHEa/8Pih5cmzFW5L7xMEfUTvI9WKeQtjmKpTUmY+BiFCDxkxrTdnURJOHKykhtwIeyYsxnecbGvDCml++z4Q==}
engines: {node: '>=16'}
peerDependencies:
- eslint: '>=8.38.0'
+ eslint: '>=8.52.0'
dependencies:
'@babel/helper-validator-identifier': 7.22.20
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
ci-info: 3.9.0
clean-regexp: 1.0.0
- eslint: 8.44.0
+ eslint: 8.53.0
esquery: 1.5.0
indent-string: 4.0.0
is-builtin-module: 3.2.1
jsesc: 3.0.2
- lodash: 4.17.21
pluralize: 8.0.0
read-pkg-up: 7.0.1
- regexp-tree: 0.1.24
+ regexp-tree: 0.1.27
regjsparser: 0.10.0
- safe-regex: 2.1.1
semver: 7.5.4
strip-indent: 3.0.0
dev: true
- /eslint-plugin-unused-imports@2.0.0(@typescript-eslint/eslint-plugin@5.60.0)(eslint@8.44.0):
- resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==}
+ /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.10.0)(eslint@8.53.0):
+ resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
- '@typescript-eslint/eslint-plugin': ^5.0.0
+ '@typescript-eslint/eslint-plugin': ^6.0.0
eslint: ^8.0.0
peerDependenciesMeta:
'@typescript-eslint/eslint-plugin':
optional: true
dependencies:
- '@typescript-eslint/eslint-plugin': 5.60.0(@typescript-eslint/parser@5.60.0)(eslint@8.44.0)(typescript@5.1.6)
- eslint: 8.44.0
+ '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2)
+ eslint: 8.53.0
eslint-rule-composer: 0.3.0
dev: true
- /eslint-plugin-vue@9.15.0(eslint@8.44.0):
- resolution: {integrity: sha512-XYzpK6e2REli100+6iCeBA69v6Sm0D/yK2FZP+fCeNt0yH/m82qZQq+ztseyV0JsKdhFysuSEzeE1yCmSC92BA==}
+ /eslint-plugin-vitest@0.3.9(@typescript-eslint/eslint-plugin@6.10.0)(eslint@8.53.0)(typescript@5.2.2)(vitest@packages+vitest):
+ resolution: {integrity: sha512-ZGrz8dWFlotM5dwrsMLP4VcY5MizwKNV4JTnY0VKdnuCZ+qeEUMHf1qd8kRGQA3tqLvXcV929wt2ANkduq2Pgw==}
+ engines: {node: 14.x || >= 16}
+ peerDependencies:
+ '@typescript-eslint/eslint-plugin': '*'
+ eslint: '>=8.0.0'
+ vitest: workspace:*
+ peerDependenciesMeta:
+ '@typescript-eslint/eslint-plugin':
+ optional: true
+ vitest:
+ optional: true
+ dependencies:
+ '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2)
+ '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2)
+ eslint: 8.53.0
+ vitest: link:packages/vitest
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
+ /eslint-plugin-vue@9.18.1(eslint@8.53.0):
+ resolution: {integrity: sha512-7hZFlrEgg9NIzuVik2I9xSnJA5RsmOfueYgsUGUokEDLJ1LHtxO0Pl4duje1BriZ/jDWb+44tcIlC3yi0tdlZg==}
engines: {node: ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
- eslint: 8.44.0
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
+ eslint: 8.53.0
natural-compare: 1.4.0
nth-check: 2.1.1
- postcss-selector-parser: 6.0.10
+ postcss-selector-parser: 6.0.13
semver: 7.5.4
- vue-eslint-parser: 9.3.1(eslint@8.44.0)
+ vue-eslint-parser: 9.3.2(eslint@8.53.0)
xml-name-validator: 4.0.0
transitivePeerDependencies:
- supports-color
dev: true
- /eslint-plugin-yml@1.8.0(eslint@8.44.0):
- resolution: {integrity: sha512-fgBiJvXD0P2IN7SARDJ2J7mx8t0bLdG6Zcig4ufOqW5hOvSiFxeUyc2g5I1uIm8AExbo26NNYCcTGZT0MXTsyg==}
+ /eslint-plugin-yml@1.10.0(eslint@8.53.0):
+ resolution: {integrity: sha512-53SUwuNDna97lVk38hL/5++WXDuugPM9SUQ1T645R0EHMRCdBIIxGye/oOX2qO3FQ7aImxaUZJU/ju+NMUBrLQ==}
engines: {node: ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '>=6.0.0'
dependencies:
debug: 4.3.4(supports-color@8.1.1)
- eslint: 8.44.0
+ eslint: 8.53.0
+ eslint-compat-utils: 0.1.2(eslint@8.53.0)
lodash: 4.17.21
natural-compare: 1.4.0
yaml-eslint-parser: 1.2.2
@@ -15580,6 +15659,14 @@ packages:
estraverse: 5.3.0
dev: true
+ /eslint-scope@7.2.2:
+ resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 5.3.0
+ dev: true
+
/eslint-utils@3.0.0(eslint@8.4.1):
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
@@ -15600,6 +15687,11 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
+ /eslint-visitor-keys@3.4.3:
+ resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ dev: true
+
/eslint@8.4.1:
resolution: {integrity: sha512-TxU/p7LB1KxQ6+7aztTnO7K0i+h0tDi81YRY9VzB6Id71kNz+fFYnf5HD5UOQmxkzcoa0TlVZf9dpMtUv0GpWg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -15617,7 +15709,7 @@ packages:
eslint-scope: 7.2.0
eslint-utils: 3.0.0(eslint@8.4.1)
eslint-visitor-keys: 3.4.1
- espree: 9.5.2
+ espree: 9.6.0
esquery: 1.5.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
@@ -15635,7 +15727,7 @@ packages:
lodash.merge: 4.6.2
minimatch: 3.1.2
natural-compare: 1.4.0
- optionator: 0.9.1
+ optionator: 0.9.3
progress: 2.0.3
regexpp: 3.2.0
semver: 7.5.4
@@ -15647,27 +15739,28 @@ packages:
- supports-color
dev: true
- /eslint@8.44.0:
- resolution: {integrity: sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==}
+ /eslint@8.53.0:
+ resolution: {integrity: sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0)
- '@eslint-community/regexpp': 4.5.0
- '@eslint/eslintrc': 2.1.0
- '@eslint/js': 8.44.0
- '@humanwhocodes/config-array': 0.11.10
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0)
+ '@eslint-community/regexpp': 4.10.0
+ '@eslint/eslintrc': 2.1.3
+ '@eslint/js': 8.53.0
+ '@humanwhocodes/config-array': 0.11.13
'@humanwhocodes/module-importer': 1.0.1
'@nodelib/fs.walk': 1.2.8
+ '@ungap/structured-clone': 1.2.0
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.4(supports-color@8.1.1)
doctrine: 3.0.0
escape-string-regexp: 4.0.0
- eslint-scope: 7.2.0
- eslint-visitor-keys: 3.4.1
- espree: 9.6.0
+ eslint-scope: 7.2.2
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
esquery: 1.5.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
@@ -15677,7 +15770,6 @@ packages:
globals: 13.19.0
graphemer: 1.4.0
ignore: 5.2.0
- import-fresh: 3.3.0
imurmurhash: 0.1.4
is-glob: 4.0.3
is-path-inside: 3.0.3
@@ -15689,7 +15781,6 @@ packages:
natural-compare: 1.4.0
optionator: 0.9.3
strip-ansi: 6.0.1
- strip-json-comments: 3.1.1
text-table: 0.2.0
transitivePeerDependencies:
- supports-color
@@ -15708,8 +15799,8 @@ packages:
eslint-visitor-keys: 3.4.1
dev: true
- /espree@9.5.2:
- resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==}
+ /espree@9.6.0:
+ resolution: {integrity: sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
acorn: 8.10.0
@@ -15717,13 +15808,13 @@ packages:
eslint-visitor-keys: 3.4.1
dev: true
- /espree@9.6.0:
- resolution: {integrity: sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==}
+ /espree@9.6.1:
+ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
acorn: 8.10.0
acorn-jsx: 5.3.2(acorn@8.10.0)
- eslint-visitor-keys: 3.4.1
+ eslint-visitor-keys: 3.4.3
dev: true
/esprima-extract-comments@1.1.0:
@@ -16120,17 +16211,6 @@ packages:
- supports-color
dev: true
- /fast-glob@3.3.0:
- resolution: {integrity: sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==}
- engines: {node: '>=8.6.0'}
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- '@nodelib/fs.walk': 1.2.8
- glob-parent: 5.1.2
- merge2: 1.4.1
- micromatch: 4.0.5
- dev: true
-
/fast-glob@3.3.2:
resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}
engines: {node: '>=8.6.0'}
@@ -16153,8 +16233,8 @@ packages:
resolution: {integrity: sha512-u5jtrcAK9RINW15iuDKnsuuhqmqre4AmDMp3crRTjUMdAuHMpQUt3IfoMm5wlJm59b74PcajqOl3SjgnC5FPmw==}
dependencies:
'@fastify/deepmerge': 1.1.0
- ajv: 8.11.0
- ajv-formats: 2.1.1(ajv@8.11.0)
+ ajv: 8.12.0
+ ajv-formats: 2.1.1(ajv@8.12.0)
fast-deep-equal: 3.1.3
fast-uri: 2.1.0
rfdc: 1.3.0
@@ -16424,7 +16504,7 @@ packages:
vue: ^3.2.0
dependencies:
'@floating-ui/dom': 0.1.10
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
vue-resize: 2.0.0-alpha.1(vue@3.3.8)
dev: true
@@ -16481,7 +16561,7 @@ packages:
resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==}
dev: true
- /fork-ts-checker-webpack-plugin@4.1.6(eslint@8.4.1)(typescript@4.8.4)(webpack@4.46.0):
+ /fork-ts-checker-webpack-plugin@4.1.6(eslint@8.4.1)(typescript@5.2.2)(webpack@4.46.0):
resolution: {integrity: sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==}
engines: {node: '>=6.11.5', yarn: '>=1.0.0'}
peerDependencies:
@@ -16502,14 +16582,14 @@ packages:
minimatch: 3.1.2
semver: 5.7.2
tapable: 1.1.3
- typescript: 4.8.4
+ typescript: 5.2.2
webpack: 4.46.0
worker-rpc: 0.1.1
transitivePeerDependencies:
- supports-color
dev: true
- /fork-ts-checker-webpack-plugin@6.5.2(eslint@8.4.1)(typescript@4.8.4)(webpack@4.46.0):
+ /fork-ts-checker-webpack-plugin@6.5.2(eslint@8.4.1)(typescript@5.2.2)(webpack@4.46.0):
resolution: {integrity: sha512-m5cUmF30xkZ7h4tWUgTAcEaKmUW7tfyUyTqNNOz7OxWJ0v1VWKTcOvH8FWHUwSjlW/356Ijc9vi3XfcPstpQKA==}
engines: {node: '>=10', yarn: '>=1.0.0'}
peerDependencies:
@@ -16537,7 +16617,7 @@ packages:
schema-utils: 2.7.0
semver: 7.5.4
tapable: 1.1.3
- typescript: 4.8.4
+ typescript: 5.2.2
webpack: 4.46.0
dev: true
@@ -17029,6 +17109,13 @@ packages:
type-fest: 0.20.2
dev: true
+ /globals@13.23.0:
+ resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==}
+ engines: {node: '>=8'}
+ dependencies:
+ type-fest: 0.20.2
+ dev: true
+
/globalthis@1.0.3:
resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==}
engines: {node: '>= 0.4'}
@@ -17545,15 +17632,6 @@ packages:
entities: 2.2.0
dev: true
- /htmlparser2@8.0.1:
- resolution: {integrity: sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==}
- dependencies:
- domelementtype: 2.3.0
- domhandler: 5.0.3
- domutils: 3.0.1
- entities: 4.5.0
- dev: true
-
/htmlparser2@9.0.0:
resolution: {integrity: sha512-uxbSI98wmFT/G4P2zXx4OVx04qWUmyFPrD2/CNepa2Zo3GPNaCaaxElDgwUrwYWkK1nr9fft0Ya8dws8coDLLQ==}
dependencies:
@@ -17739,6 +17817,11 @@ packages:
engines: {node: '>= 4'}
dev: true
+ /ignore@5.2.4:
+ resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
+ engines: {node: '>= 4'}
+ dev: true
+
/image-size@0.5.5:
resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==}
engines: {node: '>=0.10.0'}
@@ -19174,6 +19257,11 @@ packages:
resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==}
dev: true
+ /jsdoc-type-pratt-parser@4.0.0:
+ resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==}
+ engines: {node: '>=12.0.0'}
+ dev: true
+
/jsdom@16.7.0:
resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==}
engines: {node: '>=10'}
@@ -19401,13 +19489,13 @@ packages:
engines: {node: '>=6'}
hasBin: true
- /jsonc-eslint-parser@2.3.0:
- resolution: {integrity: sha512-9xZPKVYp9DxnM3sd1yAsh/d59iIaswDkai8oTxbursfKYbg/ibjX0IzFt35+VZ8iEW453TVTXztnRvYUQlAfUQ==}
+ /jsonc-eslint-parser@2.4.0:
+ resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
acorn: 8.10.0
eslint-visitor-keys: 3.4.1
- espree: 9.5.2
+ espree: 9.6.0
semver: 7.5.4
dev: true
@@ -20507,13 +20595,13 @@ packages:
dependencies:
'@storybook/addons': 6.5.10(react-dom@17.0.2)(react@17.0.2)
is-node-process: 1.0.1
- msw: 0.49.2(typescript@4.8.4)
+ msw: 0.49.2(typescript@5.2.2)
transitivePeerDependencies:
- react
- react-dom
dev: true
- /msw@0.49.2(typescript@4.8.4):
+ /msw@0.49.2(typescript@5.2.2):
resolution: {integrity: sha512-70/E10f+POE2UmMw16v8PnKatpZplpkUwVRLBqiIdimpgaC3le7y2yOq9JmOrL15jpwWM5wAcPTOj0f550LI3g==}
engines: {node: '>=14'}
hasBin: true
@@ -20542,14 +20630,14 @@ packages:
path-to-regexp: 6.2.1
strict-event-emitter: 0.2.8
type-fest: 2.19.0
- typescript: 4.8.4
+ typescript: 5.2.2
yargs: 17.5.1
transitivePeerDependencies:
- encoding
- supports-color
dev: true
- /msw@2.0.0(typescript@5.1.6):
+ /msw@2.0.0(typescript@5.2.2):
resolution: {integrity: sha512-lw9UHuzNCWoODHaThGeLLIIuzEBUQkj3fJXQnChHifMKbB2UmF2msHd4d/lnyqjAyD0XWoibdviW9wlstFPpkA==}
engines: {node: '>=18'}
hasBin: true
@@ -20582,7 +20670,7 @@ packages:
path-to-regexp: 6.2.1
strict-event-emitter: 0.5.1
type-fest: 2.19.0
- typescript: 5.1.6
+ typescript: 5.2.2
yargs: 17.7.1
transitivePeerDependencies:
- encoding
@@ -21156,18 +21244,6 @@ packages:
word-wrap: 1.2.3
dev: true
- /optionator@0.9.1:
- resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==}
- engines: {node: '>= 0.8.0'}
- dependencies:
- deep-is: 0.1.4
- fast-levenshtein: 2.0.6
- levn: 0.4.1
- prelude-ls: 1.2.1
- type-check: 0.4.0
- word-wrap: 1.2.3
- dev: true
-
/optionator@0.9.3:
resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}
engines: {node: '>= 0.8.0'}
@@ -21421,6 +21497,11 @@ packages:
is-hexadecimal: 1.0.4
dev: true
+ /parse-gitignore@2.0.0:
+ resolution: {integrity: sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==}
+ engines: {node: '>=14'}
+ dev: true
+
/parse-json@2.2.0:
resolution: {integrity: sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==}
engines: {node: '>=0.10.0'}
@@ -21797,11 +21878,11 @@ packages:
engines: {node: '>=12.13.0'}
dev: true
- /pnp-webpack-plugin@1.6.4(typescript@4.8.4):
+ /pnp-webpack-plugin@1.6.4(typescript@5.2.2):
resolution: {integrity: sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==}
engines: {node: '>=6'}
dependencies:
- ts-pnp: 1.2.0(typescript@4.8.4)
+ ts-pnp: 1.2.0(typescript@5.2.2)
transitivePeerDependencies:
- typescript
dev: true
@@ -21880,6 +21961,14 @@ packages:
util-deprecate: 1.0.2
dev: true
+ /postcss-selector-parser@6.0.13:
+ resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==}
+ engines: {node: '>=4'}
+ dependencies:
+ cssesc: 3.0.0
+ util-deprecate: 1.0.2
+ dev: true
+
/postcss-value-parser@3.3.1:
resolution: {integrity: sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==}
dev: false
@@ -22173,7 +22262,7 @@ packages:
engines: {node: '>=6'}
dev: true
- /puppeteer-core@20.9.0(typescript@5.1.6):
+ /puppeteer-core@20.9.0(typescript@5.2.2):
resolution: {integrity: sha512-H9fYZQzMTRrkboEfPmf7m3CLDN6JvbxXA3qTtS+dFt27tR+CsFHzPsT6pzp6lYL6bJbAPaR0HaPO6uSi+F94Pg==}
engines: {node: '>=16.3.0'}
peerDependencies:
@@ -22182,12 +22271,12 @@ packages:
typescript:
optional: true
dependencies:
- '@puppeteer/browsers': 1.4.6(typescript@5.1.6)
+ '@puppeteer/browsers': 1.4.6(typescript@5.2.2)
chromium-bidi: 0.4.16(devtools-protocol@0.0.1147663)
cross-fetch: 4.0.0
debug: 4.3.4(supports-color@8.1.1)
devtools-protocol: 0.0.1147663
- typescript: 5.1.6
+ typescript: 5.2.2
ws: 8.13.0
transitivePeerDependencies:
- bufferutil
@@ -22341,12 +22430,12 @@ packages:
strip-json-comments: 2.0.1
dev: true
- /react-docgen-typescript@2.2.2(typescript@4.8.4):
+ /react-docgen-typescript@2.2.2(typescript@5.2.2):
resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==}
peerDependencies:
typescript: '>= 4.3.x'
dependencies:
- typescript: 4.8.4
+ typescript: 5.2.2
dev: true
/react-docgen@5.4.3:
@@ -22853,8 +22942,8 @@ packages:
safe-regex: 1.1.0
dev: true
- /regexp-tree@0.1.24:
- resolution: {integrity: sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==}
+ /regexp-tree@0.1.27:
+ resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==}
hasBin: true
dev: true
@@ -23201,7 +23290,7 @@ packages:
is-plain-object: 3.0.1
dev: true
- /rollup-plugin-dts@6.1.0(rollup@4.3.0)(typescript@5.1.6):
+ /rollup-plugin-dts@6.1.0(rollup@4.3.0)(typescript@5.2.2):
resolution: {integrity: sha512-ijSCPICkRMDKDLBK9torss07+8dl9UpY9z1N/zTeA1cIqdzMlpkV3MOOC7zukyvQfDyxa1s3Dl2+DeiP/G6DOw==}
engines: {node: '>=16'}
peerDependencies:
@@ -23210,7 +23299,7 @@ packages:
dependencies:
magic-string: 0.30.5
rollup: 4.3.0
- typescript: 5.1.6
+ typescript: 5.2.2
optionalDependencies:
'@babel/code-frame': 7.22.13
dev: true
@@ -23383,12 +23472,6 @@ packages:
ret: 0.1.15
dev: true
- /safe-regex@2.1.1:
- resolution: {integrity: sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==}
- dependencies:
- regexp-tree: 0.1.24
- dev: true
-
/safe-stable-stringify@2.3.1:
resolution: {integrity: sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==}
engines: {node: '>=10'}
@@ -24176,10 +24259,6 @@ packages:
engines: {node: '>= 0.8'}
dev: true
- /std-env@3.3.3:
- resolution: {integrity: sha512-Rz6yejtVyWnVjC1RFvNmYL10kgjC49EOghxWn0RFqlCHGFpQx+Xe7yW3I4ceK1SGrWIGMjD5Kbue8W/udkbMJg==}
- dev: false
-
/std-env@3.4.3:
resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==}
dev: false
@@ -24593,8 +24672,8 @@ packages:
picocolors: 1.0.0
sade: 1.8.1
svelte: 3.59.1
- svelte-preprocess: 5.0.4(svelte@3.59.1)(typescript@5.1.6)
- typescript: 5.1.6
+ svelte-preprocess: 5.0.4(svelte@3.59.1)(typescript@5.2.2)
+ typescript: 5.2.2
transitivePeerDependencies:
- '@babel/core'
- coffeescript
@@ -24625,7 +24704,7 @@ packages:
svelte: 4.2.1
dev: true
- /svelte-preprocess@5.0.4(svelte@3.59.1)(typescript@5.1.6):
+ /svelte-preprocess@5.0.4(svelte@3.59.1)(typescript@5.2.2):
resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==}
engines: {node: '>= 14.10.0'}
requiresBuild: true
@@ -24669,7 +24748,7 @@ packages:
sorcery: 0.11.0
strip-indent: 3.0.0
svelte: 3.59.1
- typescript: 5.1.6
+ typescript: 5.2.2
dev: true
/svelte@3.59.1:
@@ -25214,6 +25293,15 @@ packages:
resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==}
dev: true
+ /ts-api-utils@1.0.3(typescript@5.2.2):
+ resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}
+ engines: {node: '>=16.13.0'}
+ peerDependencies:
+ typescript: '>=4.2.0'
+ dependencies:
+ typescript: 5.2.2
+ dev: true
+
/ts-dedent@2.2.0:
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
engines: {node: '>=6.10'}
@@ -25226,7 +25314,7 @@ packages:
tslib: 2.5.3
dev: false
- /ts-pnp@1.2.0(typescript@4.8.4):
+ /ts-pnp@1.2.0(typescript@5.2.2):
resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==}
engines: {node: '>=6'}
peerDependencies:
@@ -25235,11 +25323,7 @@ packages:
typescript:
optional: true
dependencies:
- typescript: 4.8.4
- dev: true
-
- /tslib@1.14.1:
- resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
+ typescript: 5.2.2
dev: true
/tslib@2.4.0:
@@ -25249,16 +25333,6 @@ packages:
/tslib@2.5.3:
resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==}
- /tsutils@3.21.0(typescript@5.1.6):
- resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
- engines: {node: '>= 6'}
- peerDependencies:
- typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
- dependencies:
- tslib: 1.14.1
- typescript: 5.1.6
- dev: true
-
/tsx@3.9.0:
resolution: {integrity: sha512-ofxsE+qjqCYYq4UBt5khglvb+ESgxef1YpuNcdQI92kvcAT2tZVrnSK3g4bRXTUhLmKHcC5q8vIZA47os/stng==}
hasBin: true
@@ -25428,28 +25502,10 @@ packages:
resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==}
dev: true
- /typescript@4.8.4:
- resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==}
- engines: {node: '>=4.2.0'}
- hasBin: true
- dev: true
-
- /typescript@5.1.3:
- resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==}
- engines: {node: '>=14.17'}
- hasBin: true
- dev: true
-
- /typescript@5.1.6:
- resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
- engines: {node: '>=14.17'}
- hasBin: true
-
/typescript@5.2.2:
resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==}
engines: {node: '>=14.17'}
hasBin: true
- dev: true
/ufo@1.3.1:
resolution: {integrity: sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==}
@@ -25858,7 +25914,7 @@ packages:
minimatch: 9.0.3
resolve: 1.22.8
unplugin: 1.4.0
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
transitivePeerDependencies:
- rollup
- supports-color
@@ -26323,7 +26379,7 @@ packages:
vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
dev: true
- /vitepress@1.0.0-rc.25(@types/node@18.18.9)(postcss@8.4.31)(search-insights@2.9.0)(typescript@5.1.6):
+ /vitepress@1.0.0-rc.25(@types/node@18.18.9)(postcss@8.4.31)(search-insights@2.9.0)(typescript@5.2.2):
resolution: {integrity: sha512-1dqWiHNThNrVZ08ixmfEDBEH+764KOgnev9oXga/x6cN++Vb9pnuu8p3K6DQP+KZrYcG+WiX7jxal0iSNpAWuQ==}
hasBin: true
peerDependencies:
@@ -26348,7 +26404,7 @@ packages:
postcss: 8.4.31
shiki: 0.14.5
vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3)
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
transitivePeerDependencies:
- '@algolia/client-search'
- '@types/node'
@@ -26414,7 +26470,7 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: false
/vue-demi@0.14.0(vue@3.3.8):
@@ -26429,7 +26485,7 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: false
/vue-demi@0.14.6(vue@3.3.4):
@@ -26459,20 +26515,20 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: true
- /vue-eslint-parser@9.3.1(eslint@8.44.0):
- resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==}
+ /vue-eslint-parser@9.3.2(eslint@8.53.0):
+ resolution: {integrity: sha512-q7tWyCVaV9f8iQyIA5Mkj/S6AoJ9KBN8IeUSf3XEmBrOtxOZnfTg5s4KClbZBCK3GtnT/+RyCLZyDHuZwTuBjg==}
engines: {node: ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '>=6.0.0'
dependencies:
debug: 4.3.4(supports-color@8.1.1)
- eslint: 8.44.0
+ eslint: 8.53.0
eslint-scope: 7.2.0
eslint-visitor-keys: 3.4.1
- espree: 9.5.2
+ espree: 9.6.0
esquery: 1.5.0
lodash: 4.17.21
semver: 7.5.4
@@ -26485,7 +26541,7 @@ packages:
peerDependencies:
vue: ^3.0.0
dependencies:
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: true
/vue-router@4.2.5(vue@3.3.8):
@@ -26494,7 +26550,7 @@ packages:
vue: ^3.2.0
dependencies:
'@vue/devtools-api': 6.5.1
- vue: 3.3.8(typescript@5.1.6)
+ vue: 3.3.8(typescript@5.2.2)
dev: true
/vue-template-compiler@2.7.15:
@@ -26533,7 +26589,7 @@ packages:
'@vue/server-renderer': 3.3.4(vue@3.3.4)
'@vue/shared': 3.3.4
- /vue@3.3.8(typescript@5.1.6):
+ /vue@3.3.8(typescript@5.2.2):
resolution: {integrity: sha512-5VSX/3DabBikOXMsxzlW8JyfeLKlG9mzqnWgLQLty88vdZL7ZJgrdgBOmrArwxiLtmS+lNNpPcBYqrhE6TQW5w==}
peerDependencies:
typescript: '*'
@@ -26546,7 +26602,7 @@ packages:
'@vue/runtime-dom': 3.3.8
'@vue/server-renderer': 3.3.8(vue@3.3.8)
'@vue/shared': 3.3.8
- typescript: 5.1.6
+ typescript: 5.2.2
/w3c-hr-time@1.0.2:
resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==}
@@ -26703,7 +26759,7 @@ packages:
- utf-8-validate
dev: true
- /webdriverio@8.16.20(typescript@5.1.6):
+ /webdriverio@8.16.20(typescript@5.2.2):
resolution: {integrity: sha512-2xSJDrMxwPF1kucB/r7Wc8yF689GGi7iSKrog7vkkoIiRY25vd3U129iN2mTYgNDyM6SM0kw+GP5W1s73khpYw==}
engines: {node: ^16.13 || >=18}
peerDependencies:
@@ -26730,7 +26786,7 @@ packages:
lodash.clonedeep: 4.5.0
lodash.zip: 4.2.0
minimatch: 9.0.3
- puppeteer-core: 20.9.0(typescript@5.1.6)
+ puppeteer-core: 20.9.0(typescript@5.2.2)
query-selector-shadow-dom: 1.0.1
resq: 1.11.0
rgb2hex: 0.2.5
@@ -26744,7 +26800,7 @@ packages:
- utf-8-validate
dev: true
- /webdriverio@8.22.1(typescript@5.1.6):
+ /webdriverio@8.22.1(typescript@5.2.2):
resolution: {integrity: sha512-SFqCKM93DPZU5Vn2r9OMi5EFbJHmWnIf8KXZvdzVOkGzQxFDtJ8LDgzwH1/LZxjG9nO+D7y+4wyQl7V24b8L+Q==}
engines: {node: ^16.13 || >=18}
peerDependencies:
@@ -26771,7 +26827,7 @@ packages:
lodash.clonedeep: 4.5.0
lodash.zip: 4.2.0
minimatch: 9.0.3
- puppeteer-core: 20.9.0(typescript@5.1.6)
+ puppeteer-core: 20.9.0(typescript@5.2.2)
query-selector-shadow-dom: 1.0.1
resq: 1.11.0
rgb2hex: 0.2.5
@@ -27444,7 +27500,7 @@ packages:
dependencies:
eslint-visitor-keys: 3.4.1
lodash: 4.17.21
- yaml: 2.3.1
+ yaml: 2.3.3
dev: true
/yaml@1.10.2:
diff --git a/test/benchmark/specs/runner.test.mjs b/test/benchmark/specs/runner.test.mjs
index 3fd04b135..0a53b7ab0 100644
--- a/test/benchmark/specs/runner.test.mjs
+++ b/test/benchmark/specs/runner.test.mjs
@@ -1,7 +1,7 @@
import { existsSync, rmSync } from 'node:fs'
-import test from 'node:test'
import * as assert from 'node:assert'
import { readFile } from 'node:fs/promises'
+import test from 'node:test'
import { startVitest } from 'vitest/node'
if (existsSync('./bench.json'))
diff --git a/test/browser/tsconfig.json b/test/browser/tsconfig.json
index 0810dce68..c1bc047f4 100644
--- a/test/browser/tsconfig.json
+++ b/test/browser/tsconfig.json
@@ -1,10 +1,10 @@
{
"compilerOptions": {
- "module": "node16",
- "esModuleInterop": true,
"rootDir": ".",
+ "module": "node16",
"paths": {
"#src/*": ["./src/*"]
- }
+ },
+ "esModuleInterop": true
}
}
diff --git a/test/core/test/jest-expect.test.ts b/test/core/test/jest-expect.test.ts
index 215db7e4e..1e92701e2 100644
--- a/test/core/test/jest-expect.test.ts
+++ b/test/core/test/jest-expect.test.ts
@@ -21,7 +21,7 @@ declare module 'vitest' {
}
declare global {
- // eslint-disable-next-line @typescript-eslint/no-namespace
+ // eslint-disable-next-line ts/no-namespace
namespace jest {
interface Matchers {
toBeJestCompatible(): R
diff --git a/test/core/test/node-protocol-jsdom.spec.ts b/test/core/test/node-protocol-jsdom.spec.ts
index f427aa669..fbfe82b03 100644
--- a/test/core/test/node-protocol-jsdom.spec.ts
+++ b/test/core/test/node-protocol-jsdom.spec.ts
@@ -15,6 +15,6 @@ it('vitest resolves url to installed url package, but node:url to internal Node
expect(nodeUrl).toHaveProperty('URLSearchParams')
expect(nodeUrl).toHaveProperty('fileURLToPath')
- // eslint-disable-next-line n/no-deprecated-api
+ // eslint-disable-next-line node/no-deprecated-api
expect(packageUrl.parse !== nodeUrl.parse).toBe(true)
})
diff --git a/test/core/test/snapshot.test.ts b/test/core/test/snapshot.test.ts
index 005b17996..044a4624e 100644
--- a/test/core/test/snapshot.test.ts
+++ b/test/core/test/snapshot.test.ts
@@ -1,4 +1,4 @@
-/* eslint-disable @typescript-eslint/quotes */
+/* eslint-disable style/quotes */
import { expect, test, vi } from 'vitest'
import { testOutsideInlineSnapshot } from './snapshots-outside'
@@ -42,13 +42,13 @@ test('from outside', () => {
test('with big array', () => {
expect({
- this: { is: new Set(['one', new Array(30).fill({})]) },
+ this: { is: new Set(['one', Array.from({ length: 30 }).fill({})]) },
}).toMatchSnapshot()
})
test('with big string', () => {
expect({
- this: { is: new Set(['one', new Array(30).fill('zoo').join()]) },
+ this: { is: new Set(['one', Array.from({ length: 30 }).fill('zoo').join()]) },
}).toMatchSnapshot()
})
diff --git a/test/core/test/sourcemap.test.ts b/test/core/test/sourcemap.test.ts
index 5642f9155..f32c94634 100644
--- a/test/core/test/sourcemap.test.ts
+++ b/test/core/test/sourcemap.test.ts
@@ -1,8 +1,8 @@
-/* eslint-disable @typescript-eslint/quotes */
import { expect, it } from 'vitest'
it('should have sourcemaps', () => {
expect('\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9').toBeTruthy()
+ // eslint-disable-next-line style/quotes
expect("\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9").toBeTruthy()
expect(`\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9`).toBeTruthy()
})
diff --git a/test/core/test/strict.test.js b/test/core/test/strict.test.js
index 86b459d8d..2c98f6689 100644
--- a/test/core/test/strict.test.js
+++ b/test/core/test/strict.test.js
@@ -10,7 +10,6 @@ describe('vitest runs code in strict mode', () => {
test('cannot defined non existing variable', () => {
expect(() => {
- // eslint-disable-next-line no-undef
someGlobalVariableICameUpWith = 22
}).toThrowError()
})
diff --git a/test/core/test/vm-wasm.test.ts b/test/core/test/vm-wasm.test.ts
index ec1d851bc..22143c3a5 100644
--- a/test/core/test/vm-wasm.test.ts
+++ b/test/core/test/vm-wasm.test.ts
@@ -1,5 +1,5 @@
import { readFileSync } from 'node:fs'
-import { resolve } from 'node:url'
+import { resolve } from 'node:path'
import { expect, test, vi } from 'vitest'
// TODO: currently not supported
diff --git a/test/coverage-test/src/vue.shim.d.ts b/test/coverage-test/src/vue.shim.d.ts
index 096b4db12..b07a05969 100644
--- a/test/coverage-test/src/vue.shim.d.ts
+++ b/test/coverage-test/src/vue.shim.d.ts
@@ -1,5 +1,6 @@
-declare module "*.vue" {
- import type { DefineComponent } from "vue"
+declare module '*.vue' {
+ import type { DefineComponent } from 'vue'
+
const component: DefineComponent<{}, {}, any>
export default component
}
diff --git a/test/resolve/pkg-browser/index.d.ts b/test/resolve/pkg-browser/index.d.ts
index 154d76cf9..37146aeea 100644
--- a/test/resolve/pkg-browser/index.d.ts
+++ b/test/resolve/pkg-browser/index.d.ts
@@ -1 +1 @@
-export default ''
\ No newline at end of file
+export default ''
diff --git a/test/resolve/pkg-node/index.d.ts b/test/resolve/pkg-node/index.d.ts
index 154d76cf9..37146aeea 100644
--- a/test/resolve/pkg-node/index.d.ts
+++ b/test/resolve/pkg-node/index.d.ts
@@ -1 +1 @@
-export default ''
\ No newline at end of file
+export default ''
diff --git a/test/run/test/exec-args.test.ts b/test/run/test/exec-args.test.ts
index 6d37cda47..6d402bf50 100644
--- a/test/run/test/exec-args.test.ts
+++ b/test/run/test/exec-args.test.ts
@@ -34,8 +34,10 @@ test.each([
test('should not pass execArgv to workers when not specified in the config', async () => {
const { stdout, stderr } = await execa('node', [
- '--title', 'this-works-only-on-main-thread',
- '../node_modules/vitest/vitest.mjs', '--run',
+ '--title',
+ 'this-works-only-on-main-thread',
+ '../node_modules/vitest/vitest.mjs',
+ '--run',
], {
cwd: `${process.cwd()}/no-exec-args-fixtures`,
reject: false,
@@ -52,9 +54,13 @@ test('should not pass execArgv to workers when not specified in the config', asy
test('should let allowed args pass to workers', async () => {
const { stdout, stderr } = await execa('node', [
- '--cpu-prof', '--heap-prof', '--diagnostic-dir=/tmp/vitest-diagnostics',
- '--cpu-prof-name=cpu.prof', '--heap-prof-name=heap.prof',
- '../node_modules/vitest/vitest.mjs', '--run',
+ '--cpu-prof',
+ '--heap-prof',
+ '--diagnostic-dir=/tmp/vitest-diagnostics',
+ '--cpu-prof-name=cpu.prof',
+ '--heap-prof-name=heap.prof',
+ '../node_modules/vitest/vitest.mjs',
+ '--run',
], {
cwd: `${process.cwd()}/allowed-exec-args-fixtures`,
reject: false,
diff --git a/test/snapshots/tools/generate-inline-test.mjs b/test/snapshots/tools/generate-inline-test.mjs
index d376ced13..d89d59685 100644
--- a/test/snapshots/tools/generate-inline-test.mjs
+++ b/test/snapshots/tools/generate-inline-test.mjs
@@ -1,5 +1,5 @@
-import fs from 'fs/promises'
-import { fileURLToPath } from 'url'
+import fs from 'node:fs/promises'
+import { fileURLToPath } from 'node:url'
import { dirname, resolve } from 'pathe'
const dir = dirname(fileURLToPath(import.meta.url))
@@ -7,7 +7,7 @@ const dir = dirname(fileURLToPath(import.meta.url))
export async function generateInlineTest(templatePath, testPath) {
const template = await fs.readFile(templatePath, 'utf8')
await fs.writeFile(testPath, template)
- console.log(`Generated ${testPath}`)
+ console.warn(`Generated ${testPath}`)
}
const filepath = resolve(dir, '../test-update/snapshots-inline-js.test.js')
diff --git a/test/typescript/test-d/test.test-d.ts b/test/typescript/test-d/test.test-d.ts
index dcbd61361..5867856cc 100644
--- a/test/typescript/test-d/test.test-d.ts
+++ b/test/typescript/test-d/test.test-d.ts
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/ban-ts-comment */
import { describe, expectTypeOf, test } from 'vitest'
describe('test', () => {
@@ -24,13 +23,13 @@ describe('test', () => {
})
test('ignored error', () => {
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
- // @ts-ignore
+ // eslint-disable-next-line ts/prefer-ts-expect-error
+ // @ts-ignore 45 is not a string
expectTypeOf(45).toEqualTypeOf()
})
test('expected error', () => {
- // @ts-expect-error
+ // @ts-expect-error 45 is not a string
expectTypeOf(45).toEqualTypeOf()
})
})
diff --git a/test/typescript/tsconfig.custom.json b/test/typescript/tsconfig.custom.json
index 68e07d20a..6f480114f 100644
--- a/test/typescript/tsconfig.custom.json
+++ b/test/typescript/tsconfig.custom.json
@@ -1,9 +1,9 @@
{
"extends": "../../tsconfig.base.json",
- "exclude": [
- "**/dist/**"
- ],
"include": [
"**/fail.test-d.ts"
+ ],
+ "exclude": [
+ "**/dist/**"
]
}
diff --git a/test/typescript/tsconfig.empty.json b/test/typescript/tsconfig.empty.json
index f389dba46..6189af55b 100644
--- a/test/typescript/tsconfig.empty.json
+++ b/test/typescript/tsconfig.empty.json
@@ -1,9 +1,9 @@
{
"extends": "../../tsconfig.base.json",
- "exclude": [
- "**/dist/**"
- ],
"include": [
"src"
+ ],
+ "exclude": [
+ "**/dist/**"
]
}
diff --git a/test/vite-node/src/self-export.d.ts b/test/vite-node/src/self-export.d.ts
index 7bbc59f9d..4d0d3cdbd 100644
--- a/test/vite-node/src/self-export.d.ts
+++ b/test/vite-node/src/self-export.d.ts
@@ -1,7 +1,7 @@
-declare const ansiEscapes : {
- HelloWorld: number
+declare const ansiEscapes: {
+ HelloWorld: number
}
export default ansiEscapes
-declare const HelloWorld : number
-export { HelloWorld }
\ No newline at end of file
+declare const HelloWorld: number
+export { HelloWorld }
diff --git a/test/watch/test/file-watching.test.ts b/test/watch/test/file-watching.test.ts
index b891a800a..52e7c57a4 100644
--- a/test/watch/test/file-watching.test.ts
+++ b/test/watch/test/file-watching.test.ts
@@ -137,9 +137,12 @@ test('editing source file generates new test report to file system', async () =>
const vitest = await runVitestCli(
...cliArgs,
- '--reporter', 'verbose',
- '--reporter', 'junit',
- '--output-file', 'test-results/junit.xml',
+ '--reporter',
+ 'verbose',
+ '--reporter',
+ 'junit',
+ '--output-file',
+ 'test-results/junit.xml',
)
// Test report should be generated on initial test run
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 99521ad2c..976f1dd08 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -1,14 +1,9 @@
{
"compilerOptions": {
"target": "ESNext",
- "module": "ESNext",
"lib": ["esnext"],
+ "module": "ESNext",
"moduleResolution": "Bundler",
- "skipLibCheck": true,
- "esModuleInterop": true,
- "strict": true,
- "declaration": true,
- "noEmit": true,
"paths": {
"@vitest/ws-client": ["./packages/ws-client/src/index.ts"],
"@vitest/ui": ["./packages/ui/node/index.ts"],
@@ -34,6 +29,11 @@
"vite-node/client": ["./packages/vite-node/src/client.ts"],
"vite-node/server": ["./packages/vite-node/src/server.ts"],
"vite-node/utils": ["./packages/vite-node/src/utils.ts"]
- }
+ },
+ "strict": true,
+ "declaration": true,
+ "noEmit": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true
}
}