[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

chore: update packages

Anthony Fu (Dec 28, 2021, 3:22 PM +0800) 6ec41a42 e6160a40

+156 -166
+2 -2
package.json
··· 14 14 "postinstall": "cd test/vue2 && npx pnpm i", 15 15 "lint": "eslint --ext .js,.vue,.ts .", 16 16 "lint:fix": "eslint --ext .js,.vue,.ts . --fix", 17 - "release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish", 17 + "release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public", 18 18 "test": "vitest -r test/core --api", 19 19 "test:all": "cross-env CI=true pnpm -r --stream --filter !@vitest/monorepo run test --", 20 20 "test:ci": "cross-env CI=true pnpm -r --stream --filter !@vitest/monorepo --filter !@vitest/test-fails run test --", ··· 23 23 "ui:dev": "vite packages/ui" 24 24 }, 25 25 "devDependencies": { 26 - "@antfu/eslint-config": "^0.14.1", 26 + "@antfu/eslint-config": "^0.14.2", 27 27 "@antfu/ni": "^0.12.0", 28 28 "@rollup/plugin-alias": "^3.1.8", 29 29 "@rollup/plugin-commonjs": "^21.0.1",
+128 -133
pnpm-lock.yaml
··· 4 4 5 5 .: 6 6 specifiers: 7 - '@antfu/eslint-config': ^0.14.1 7 + '@antfu/eslint-config': ^0.14.2 8 8 '@antfu/ni': ^0.12.0 9 9 '@rollup/plugin-alias': ^3.1.8 10 10 '@rollup/plugin-commonjs': ^21.0.1 ··· 32 32 vitest: workspace:* 33 33 vue: ^3.2.25 34 34 devDependencies: 35 - '@antfu/eslint-config': 0.14.1_eslint@8.5.0+typescript@4.5.4 35 + '@antfu/eslint-config': 0.14.2_eslint@8.5.0+typescript@4.5.4 36 36 '@antfu/ni': 0.12.0 37 37 '@rollup/plugin-alias': 3.1.8 38 38 '@rollup/plugin-commonjs': 21.0.1 ··· 62 62 63 63 docs: 64 64 specifiers: 65 - '@antfu/eslint-config': ^0.14.1 65 + '@antfu/eslint-config': ^0.14.2 66 66 '@iconify-json/carbon': ^1.0.12 67 67 '@types/node': ^17.0.5 68 - '@unocss/reset': ^0.19.0 68 + '@unocss/reset': ^0.20.0 69 69 '@vitejs/plugin-vue': ^2.0.1 70 70 '@vueuse/core': ^7.4.1 71 71 eslint: ^8.5.0 72 72 pnpm: ^6.24.3 73 73 typescript: ^4.5.4 74 - unocss: ^0.19.0 74 + unocss: ^0.20.0 75 75 unplugin-vue-components: ^0.17.11 76 76 vitepress: ^0.20.10 77 77 vue: ^3.2.24 ··· 79 79 '@vueuse/core': 7.4.1_vue@3.2.26 80 80 vue: 3.2.26 81 81 devDependencies: 82 - '@antfu/eslint-config': 0.14.1_eslint@8.5.0+typescript@4.5.4 82 + '@antfu/eslint-config': 0.14.2_eslint@8.5.0+typescript@4.5.4 83 83 '@iconify-json/carbon': 1.0.12 84 84 '@types/node': 17.0.5 85 - '@unocss/reset': 0.19.0 85 + '@unocss/reset': 0.20.0 86 86 '@vitejs/plugin-vue': 2.0.1_vite@2.7.7+vue@3.2.26 87 87 eslint: 8.5.0 88 88 pnpm: 6.24.3 89 89 typescript: 4.5.4 90 - unocss: 0.19.0 90 + unocss: 0.20.0 91 91 unplugin-vue-components: 0.17.11_vite@2.7.7+vue@3.2.26 92 92 vitepress: 0.20.10 93 93 ··· 95 95 specifiers: 96 96 '@types/codemirror': ^5.60.5 97 97 '@types/ws': ^8.2.2 98 - '@unocss/reset': ^0.19.0 98 + '@unocss/reset': ^0.20.0 99 99 '@vitejs/plugin-vue': ^2.0.1 100 100 '@vitest/ws-client': workspace:* 101 101 '@vueuse/core': ^7.4.1 ··· 104 104 picocolors: ^1.0.0 105 105 rollup: ^2.62.0 106 106 sirv: ^1.0.19 107 - unocss: ^0.19.0 107 + unocss: ^0.20.0 108 108 unplugin-auto-import: ^0.5.5 109 109 unplugin-vue-components: ^0.17.11 110 110 vitest: workspace:* 111 - ws: ^8.4.0 112 111 dependencies: 113 - '@vitest/ws-client': link:../ws-client 114 - '@vueuse/core': 7.4.1_vue@3.2.26 115 112 sirv: 1.0.19 116 - ws: 8.4.0 117 113 devDependencies: 118 114 '@types/codemirror': 5.60.5 119 115 '@types/ws': 8.2.2 120 - '@unocss/reset': 0.19.0 116 + '@unocss/reset': 0.20.0 121 117 '@vitejs/plugin-vue': 2.0.1_vite@2.7.7+vue@3.2.26 118 + '@vitest/ws-client': link:../ws-client 119 + '@vueuse/core': 7.4.1_vue@3.2.26 122 120 codemirror: 5.65.0 123 121 codemirror-theme-vars: 0.1.1 124 122 picocolors: 1.0.0 125 123 rollup: 2.62.0 126 - unocss: 0.19.0 124 + unocss: 0.20.0 127 125 unplugin-auto-import: 0.5.5_7f3a549d56d22c615f2e7ee5dbcdec67 128 126 unplugin-vue-components: 0.17.11_e0e5be33efeabc7efb6c27985da73f4c 129 127 vitest: link:../vitest ··· 574 572 '@algolia/requester-common': 4.11.0 575 573 dev: true 576 574 577 - /@antfu/eslint-config-basic/0.14.0_eslint@8.5.0: 578 - resolution: {integrity: sha512-H5+pLZK9CvLuyNrUknymyocgW1J3MKppGmCG4FekmYAAu52VJFQ9sP/ehfbswVMSvU5VfLguV6E8n5BmL3r9/A==} 575 + /@antfu/eslint-config-basic/0.14.2_eslint@8.5.0: 576 + resolution: {integrity: sha512-NFcItSFfMQIINPDDrY2xL9UcR7kWcjWoGw1ETV3wN2sLqfKL2DNVxpKKlHfXk7EalNFOkMYih3shym36T7SuXg==} 579 577 peerDependencies: 580 578 eslint: '>=7.4.0' 581 579 dependencies: 582 580 eslint: 8.5.0 583 - eslint-config-standard: 16.0.3_cf57ce177ecd870ab6f2f91e60ef4a49 581 + eslint-config-standard: 16.0.3_4cecef3480376bac71ded249816d1e72 584 582 eslint-plugin-eslint-comments: 3.2.0_eslint@8.5.0 585 583 eslint-plugin-html: 6.2.0 586 584 eslint-plugin-import: 2.25.3_eslint@8.5.0 587 585 eslint-plugin-jsonc: 2.0.0_eslint@8.5.0 588 586 eslint-plugin-node: 11.1.0_eslint@8.5.0 589 - eslint-plugin-promise: 5.1.1_eslint@8.5.0 587 + eslint-plugin-promise: 6.0.0_eslint@8.5.0 590 588 eslint-plugin-unicorn: 39.0.0_eslint@8.5.0 591 589 eslint-plugin-yml: 0.12.0_eslint@8.5.0 592 590 jsonc-eslint-parser: 2.0.4_eslint@8.5.0 ··· 595 593 - supports-color 596 594 dev: true 597 595 598 - /@antfu/eslint-config-react/0.14.0_eslint@8.5.0+typescript@4.5.4: 599 - resolution: {integrity: sha512-cbbuebmWFP2nbylXfOWnkUjNIkUUqqtFm7ShtBrmvZOz9HOrle2cfCtjiwtasl6hT6aUjTqbg50k9iCk90pv9g==} 596 + /@antfu/eslint-config-react/0.14.2_eslint@8.5.0+typescript@4.5.4: 597 + resolution: {integrity: sha512-RqQErQMP4JJbHaHgfNg8y9TohNC2KoUPsSWxenFklDsw0G5fAvCOpASHZaSdWlpm7ndR4ewdSMqEuPx6UCrEpQ==} 600 598 peerDependencies: 601 599 eslint: '>=7.4.0' 602 600 dependencies: 603 - '@antfu/eslint-config-ts': 0.14.0_eslint@8.5.0+typescript@4.5.4 601 + '@antfu/eslint-config-ts': 0.14.2_eslint@8.5.0+typescript@4.5.4 604 602 eslint: 8.5.0 605 - eslint-plugin-react: 7.27.1_eslint@8.5.0 603 + eslint-plugin-react: 7.28.0_eslint@8.5.0 606 604 transitivePeerDependencies: 607 605 - supports-color 608 606 - typescript 609 607 dev: true 610 608 611 - /@antfu/eslint-config-ts/0.14.0_eslint@8.5.0+typescript@4.5.4: 612 - resolution: {integrity: sha512-47a83IB10WEiWvh8XCTFmOIZ1NcgIXhY6H2PciYZut2B4lIMwdAak4mY/PBgGxzxIy4D+g9uEmKvlSKpCabb1Q==} 609 + /@antfu/eslint-config-ts/0.14.2_eslint@8.5.0+typescript@4.5.4: 610 + resolution: {integrity: sha512-vD1ufmbXQYH0mb4D8opkGqvr3XJWTnP6gmTK4uHA1s9agX663wQ7cgEV61pYDrUoQXgB8b651p5vb2hBVzAhOA==} 613 611 peerDependencies: 614 612 eslint: '>=7.4.0' 615 613 typescript: '>=3.9' 616 614 dependencies: 617 - '@antfu/eslint-config-basic': 0.14.0_eslint@8.5.0 618 - '@typescript-eslint/eslint-plugin': 5.4.0_8b4df63d5a7c398f8debb7ff9e13f365 619 - '@typescript-eslint/parser': 5.4.0_eslint@8.5.0+typescript@4.5.4 615 + '@antfu/eslint-config-basic': 0.14.2_eslint@8.5.0 616 + '@typescript-eslint/eslint-plugin': 5.8.1_3a47348159e115370aa4cba56aba33b6 617 + '@typescript-eslint/parser': 5.8.1_eslint@8.5.0+typescript@4.5.4 620 618 eslint: 8.5.0 621 619 typescript: 4.5.4 622 620 transitivePeerDependencies: 623 621 - supports-color 624 622 dev: true 625 623 626 - /@antfu/eslint-config-vue/0.14.1_eslint@8.5.0+typescript@4.5.4: 627 - resolution: {integrity: sha512-h8rHYGG6EjRxRM/DAM0IpjVub4tkC93XdQCiKBeWF4TkIv2BBKiGJp+tgiF3cTTh50LSyJMOh4X9uBUcpsaSAQ==} 624 + /@antfu/eslint-config-vue/0.14.2_eslint@8.5.0+typescript@4.5.4: 625 + resolution: {integrity: sha512-35Wi2BC6wMLJ9cYkCqetzhCSZeKX1USEjD1yLOKQXe+agoNVgG+6zPYobSTs9HdmR3z1ZtbPIee1v6tfC4csmA==} 628 626 peerDependencies: 629 627 eslint: '>=7.4.0' 630 628 dependencies: 631 - '@antfu/eslint-config-ts': 0.14.0_eslint@8.5.0+typescript@4.5.4 629 + '@antfu/eslint-config-ts': 0.14.2_eslint@8.5.0+typescript@4.5.4 632 630 eslint: 8.5.0 633 - eslint-plugin-vue: 8.1.1_eslint@8.5.0 631 + eslint-plugin-vue: 8.2.0_eslint@8.5.0 634 632 transitivePeerDependencies: 635 633 - supports-color 636 634 - typescript 637 635 dev: true 638 636 639 - /@antfu/eslint-config/0.14.1_eslint@8.5.0+typescript@4.5.4: 640 - resolution: {integrity: sha512-BPXIXyXwMYagxwpQXPxZKMXVEZ3xrGbM/8luBGqVFq/oFUvjQgqJcaSAY3b3ZAOUwzfp9LVVbPO1uQY05W6FRw==} 637 + /@antfu/eslint-config/0.14.2_eslint@8.5.0+typescript@4.5.4: 638 + resolution: {integrity: sha512-nsYORILfN9uq94FbM8uCYHCAN+qIRoodwpBSSqfPb+gaYBjCo1P5UKVk4s1OoWQwzfD5UNjJOkOtS7cMjcb4cA==} 641 639 peerDependencies: 642 640 eslint: '>=7.4.0' 643 641 dependencies: 644 - '@antfu/eslint-config-react': 0.14.0_eslint@8.5.0+typescript@4.5.4 645 - '@antfu/eslint-config-vue': 0.14.1_eslint@8.5.0+typescript@4.5.4 646 - '@typescript-eslint/eslint-plugin': 5.4.0_8b4df63d5a7c398f8debb7ff9e13f365 647 - '@typescript-eslint/parser': 5.4.0_eslint@8.5.0+typescript@4.5.4 642 + '@antfu/eslint-config-react': 0.14.2_eslint@8.5.0+typescript@4.5.4 643 + '@antfu/eslint-config-vue': 0.14.2_eslint@8.5.0+typescript@4.5.4 644 + '@typescript-eslint/eslint-plugin': 5.8.1_3a47348159e115370aa4cba56aba33b6 645 + '@typescript-eslint/parser': 5.8.1_eslint@8.5.0+typescript@4.5.4 648 646 eslint: 8.5.0 649 - eslint-config-standard: 16.0.3_cf57ce177ecd870ab6f2f91e60ef4a49 647 + eslint-config-standard: 16.0.3_4cecef3480376bac71ded249816d1e72 650 648 eslint-plugin-eslint-comments: 3.2.0_eslint@8.5.0 651 649 eslint-plugin-html: 6.2.0 652 650 eslint-plugin-import: 2.25.3_eslint@8.5.0 653 651 eslint-plugin-jsonc: 2.0.0_eslint@8.5.0 654 652 eslint-plugin-node: 11.1.0_eslint@8.5.0 655 - eslint-plugin-promise: 5.1.1_eslint@8.5.0 653 + eslint-plugin-promise: 6.0.0_eslint@8.5.0 656 654 eslint-plugin-unicorn: 39.0.0_eslint@8.5.0 657 - eslint-plugin-vue: 8.1.1_eslint@8.5.0 655 + eslint-plugin-vue: 8.2.0_eslint@8.5.0 658 656 eslint-plugin-yml: 0.12.0_eslint@8.5.0 659 657 jsonc-eslint-parser: 2.0.4_eslint@8.5.0 660 658 yaml-eslint-parser: 0.5.0 ··· 2030 2028 dev: true 2031 2029 optional: true 2032 2030 2033 - /@typescript-eslint/eslint-plugin/5.4.0_8b4df63d5a7c398f8debb7ff9e13f365: 2034 - resolution: {integrity: sha512-9/yPSBlwzsetCsGEn9j24D8vGQgJkOTr4oMLas/w886ZtzKIs1iyoqFrwsX2fqYEeUwsdBpC21gcjRGo57u0eg==} 2031 + /@typescript-eslint/eslint-plugin/5.8.1_3a47348159e115370aa4cba56aba33b6: 2032 + resolution: {integrity: sha512-wTZ5oEKrKj/8/366qTM366zqhIKAp6NCMweoRONtfuC07OAU9nVI2GZZdqQ1qD30WAAtcPdkH+npDwtRFdp4Rw==} 2035 2033 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2036 2034 peerDependencies: 2037 2035 '@typescript-eslint/parser': ^5.0.0 ··· 2041 2039 typescript: 2042 2040 optional: true 2043 2041 dependencies: 2044 - '@typescript-eslint/experimental-utils': 5.4.0_eslint@8.5.0+typescript@4.5.4 2045 - '@typescript-eslint/parser': 5.4.0_eslint@8.5.0+typescript@4.5.4 2046 - '@typescript-eslint/scope-manager': 5.4.0 2042 + '@typescript-eslint/experimental-utils': 5.8.1_eslint@8.5.0+typescript@4.5.4 2043 + '@typescript-eslint/parser': 5.8.1_eslint@8.5.0+typescript@4.5.4 2044 + '@typescript-eslint/scope-manager': 5.8.1 2047 2045 debug: 4.3.3 2048 2046 eslint: 8.5.0 2049 2047 functional-red-black-tree: 1.0.1 ··· 2056 2054 - supports-color 2057 2055 dev: true 2058 2056 2059 - /@typescript-eslint/experimental-utils/5.4.0_eslint@8.5.0+typescript@4.5.4: 2060 - resolution: {integrity: sha512-Nz2JDIQUdmIGd6p33A+naQmwfkU5KVTLb/5lTk+tLVTDacZKoGQisj8UCxk7onJcrgjIvr8xWqkYI+DbI3TfXg==} 2057 + /@typescript-eslint/experimental-utils/5.8.1_eslint@8.5.0+typescript@4.5.4: 2058 + resolution: {integrity: sha512-fbodVnjIDU4JpeXWRDsG5IfIjYBxEvs8EBO8W1+YVdtrc2B9ppfof5sZhVEDOtgTfFHnYQJDI8+qdqLYO4ceww==} 2061 2059 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2062 2060 peerDependencies: 2063 - eslint: '*' 2061 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 2064 2062 dependencies: 2065 2063 '@types/json-schema': 7.0.9 2066 - '@typescript-eslint/scope-manager': 5.4.0 2067 - '@typescript-eslint/types': 5.4.0 2068 - '@typescript-eslint/typescript-estree': 5.4.0_typescript@4.5.4 2064 + '@typescript-eslint/scope-manager': 5.8.1 2065 + '@typescript-eslint/types': 5.8.1 2066 + '@typescript-eslint/typescript-estree': 5.8.1_typescript@4.5.4 2069 2067 eslint: 8.5.0 2070 2068 eslint-scope: 5.1.1 2071 2069 eslint-utils: 3.0.0_eslint@8.5.0 ··· 2074 2072 - typescript 2075 2073 dev: true 2076 2074 2077 - /@typescript-eslint/parser/5.4.0_eslint@8.5.0+typescript@4.5.4: 2078 - resolution: {integrity: sha512-JoB41EmxiYpaEsRwpZEYAJ9XQURPFer8hpkIW9GiaspVLX8oqbqNM8P4EP8HOZg96yaALiLEVWllA2E8vwsIKw==} 2075 + /@typescript-eslint/parser/5.8.1_eslint@8.5.0+typescript@4.5.4: 2076 + resolution: {integrity: sha512-K1giKHAjHuyB421SoXMXFHHVI4NdNY603uKw92++D3qyxSeYvC10CBJ/GE5Thpo4WTUvu1mmJI2/FFkz38F2Gw==} 2079 2077 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2080 2078 peerDependencies: 2081 2079 eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 ··· 2084 2082 typescript: 2085 2083 optional: true 2086 2084 dependencies: 2087 - '@typescript-eslint/scope-manager': 5.4.0 2088 - '@typescript-eslint/types': 5.4.0 2089 - '@typescript-eslint/typescript-estree': 5.4.0_typescript@4.5.4 2085 + '@typescript-eslint/scope-manager': 5.8.1 2086 + '@typescript-eslint/types': 5.8.1 2087 + '@typescript-eslint/typescript-estree': 5.8.1_typescript@4.5.4 2090 2088 debug: 4.3.3 2091 2089 eslint: 8.5.0 2092 2090 typescript: 4.5.4 ··· 2094 2092 - supports-color 2095 2093 dev: true 2096 2094 2097 - /@typescript-eslint/scope-manager/5.4.0: 2098 - resolution: {integrity: sha512-pRxFjYwoi8R+n+sibjgF9iUiAELU9ihPBtHzocyW8v8D8G8KeQvXTsW7+CBYIyTYsmhtNk50QPGLE3vrvhM5KA==} 2095 + /@typescript-eslint/scope-manager/5.8.1: 2096 + resolution: {integrity: sha512-DGxJkNyYruFH3NIZc3PwrzwOQAg7vvgsHsHCILOLvUpupgkwDZdNq/cXU3BjF4LNrCsVg0qxEyWasys5AiJ85Q==} 2099 2097 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2100 2098 dependencies: 2101 - '@typescript-eslint/types': 5.4.0 2102 - '@typescript-eslint/visitor-keys': 5.4.0 2099 + '@typescript-eslint/types': 5.8.1 2100 + '@typescript-eslint/visitor-keys': 5.8.1 2103 2101 dev: true 2104 2102 2105 - /@typescript-eslint/types/5.4.0: 2106 - resolution: {integrity: sha512-GjXNpmn+n1LvnttarX+sPD6+S7giO+9LxDIGlRl4wK3a7qMWALOHYuVSZpPTfEIklYjaWuMtfKdeByx0AcaThA==} 2103 + /@typescript-eslint/types/5.8.1: 2104 + resolution: {integrity: sha512-L/FlWCCgnjKOLefdok90/pqInkomLnAcF9UAzNr+DSqMC3IffzumHTQTrINXhP1gVp9zlHiYYjvozVZDPleLcA==} 2107 2105 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2108 2106 dev: true 2109 2107 2110 - /@typescript-eslint/typescript-estree/5.4.0_typescript@4.5.4: 2111 - resolution: {integrity: sha512-nhlNoBdhKuwiLMx6GrybPT3SFILm5Gij2YBdPEPFlYNFAXUJWX6QRgvi/lwVoadaQEFsizohs6aFRMqsXI2ewA==} 2108 + /@typescript-eslint/typescript-estree/5.8.1_typescript@4.5.4: 2109 + resolution: {integrity: sha512-26lQ8l8tTbG7ri7xEcCFT9ijU5Fk+sx/KRRyyzCv7MQ+rZZlqiDPtMKWLC8P7o+dtCnby4c+OlxuX1tp8WfafQ==} 2112 2110 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2113 2111 peerDependencies: 2114 2112 typescript: '*' ··· 2116 2114 typescript: 2117 2115 optional: true 2118 2116 dependencies: 2119 - '@typescript-eslint/types': 5.4.0 2120 - '@typescript-eslint/visitor-keys': 5.4.0 2117 + '@typescript-eslint/types': 5.8.1 2118 + '@typescript-eslint/visitor-keys': 5.8.1 2121 2119 debug: 4.3.3 2122 2120 globby: 11.0.4 2123 2121 is-glob: 4.0.3 ··· 2128 2126 - supports-color 2129 2127 dev: true 2130 2128 2131 - /@typescript-eslint/visitor-keys/5.4.0: 2132 - resolution: {integrity: sha512-PVbax7MeE7tdLfW5SA0fs8NGVVr+buMPrcj+CWYWPXsZCH8qZ1THufDzbXm1xrZ2b2PA1iENJ0sRq5fuUtvsJg==} 2129 + /@typescript-eslint/visitor-keys/5.8.1: 2130 + resolution: {integrity: sha512-SWgiWIwocK6NralrJarPZlWdr0hZnj5GXHIgfdm8hNkyKvpeQuFyLP6YjSIe9kf3YBIfU6OHSZLYkQ+smZwtNg==} 2133 2131 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 2134 2132 dependencies: 2135 - '@typescript-eslint/types': 5.4.0 2133 + '@typescript-eslint/types': 5.8.1 2136 2134 eslint-visitor-keys: 3.1.0 2137 2135 dev: true 2138 2136 2139 - /@unocss/cli/0.19.0: 2140 - resolution: {integrity: sha512-5BOS2igMmcbJZvTBXL82qR0O38j55l1sPG8NJdUTemXiF/vWEDMaKt7Ou+0B0fvHYQuashKvQ0looKonNM56kg==} 2137 + /@unocss/cli/0.20.0: 2138 + resolution: {integrity: sha512-AhBo17uCitGy3OLRqXprYRPKuxGUXR65SbQINMc0ZUI4LQbIr49YUKfmnwyekd5ScZUWxn4B2XzxO26VdvwsDw==} 2141 2139 engines: {node: '>=14'} 2142 2140 hasBin: true 2143 2141 dependencies: 2144 - '@unocss/config': 0.19.0 2145 - '@unocss/core': 0.19.0 2146 - '@unocss/preset-uno': 0.19.0 2142 + '@unocss/config': 0.20.0 2143 + '@unocss/core': 0.20.0 2144 + '@unocss/preset-uno': 0.20.0 2147 2145 cac: 6.7.12 2148 2146 chokidar: 3.5.2 2149 2147 colorette: 2.0.16 ··· 2152 2150 pathe: 0.2.0 2153 2151 dev: true 2154 2152 2155 - /@unocss/config/0.19.0: 2156 - resolution: {integrity: sha512-vlcOWVdBN8vajT44Hi4+QOnRHqDLuMVKqsxYvDoJkmBdXoW3P9AaHKsTtrExAQlZoAVEem7QWgGbhLS7j5/DCw==} 2153 + /@unocss/config/0.20.0: 2154 + resolution: {integrity: sha512-E0VErPhcVDA9M+xKAOD9/Tyac9vwUFCEH2ltLU9KYVaFAv0L8OHrphumukueXLdlwLFwPcpstA9/3f7N+GOFwg==} 2157 2155 engines: {node: '>=14'} 2158 2156 dependencies: 2159 - '@unocss/core': 0.19.0 2157 + '@unocss/core': 0.20.0 2160 2158 unconfig: 0.2.2 2161 2159 dev: true 2162 2160 2163 - /@unocss/core/0.19.0: 2164 - resolution: {integrity: sha512-slNxmiMZ+0+OOmOjdYxb204uI8BszfNnR2XwbCzXAug81s0iUbME4FjcXQ3S5ntlGiphpNQlejBcjsOul8yBVw==} 2161 + /@unocss/core/0.20.0: 2162 + resolution: {integrity: sha512-guJaI07vSan/b+Z60/VP24+1T6wF1GpGablKJM6kIPxIPAIA8wTAQ/OWPdyaniGMSho/dPovbSNOyyApxIjLSA==} 2165 2163 dev: true 2166 2164 2167 - /@unocss/inspector/0.19.0: 2168 - resolution: {integrity: sha512-sR2avzJY9lSg6dAwa9YUAzkcWqXyonexmCmK7qRCmZRMkxfMubmfbjjFPo1NkGcI89Oqsv4tDl7A4xsEQ+cTyg==} 2165 + /@unocss/inspector/0.20.0: 2166 + resolution: {integrity: sha512-71kvHb2NUIDQtdaR1IyJG0jBfkpx/Au1FiQOELWScwzjnsN5QPxIxB6b+3kfCr+2CEN+NpkUssfNKfRstQZefw==} 2169 2167 dependencies: 2170 2168 gzip-size: 6.0.0 2171 2169 sirv: 1.0.19 2172 2170 dev: true 2173 2171 2174 - /@unocss/preset-attributify/0.19.0: 2175 - resolution: {integrity: sha512-hIy/C7qabV5NXo68ImAoifwSaWSxKFRqz+hkDOqrSZPpyXV4pJbUDAbZbDALwdFLK/Xl2leOLJgU2gQoDbAQ/w==} 2172 + /@unocss/preset-attributify/0.20.0: 2173 + resolution: {integrity: sha512-B6p5DZMKNVkIQfFN8D0j/uCmR+qt91d8LdGCfo7JsJkIAUT/6NiHyXHXhYjvEl3ICqgmX7PUXylax959MhKDBQ==} 2176 2174 dependencies: 2177 - '@unocss/core': 0.19.0 2175 + '@unocss/core': 0.20.0 2178 2176 dev: true 2179 2177 2180 - /@unocss/preset-icons/0.19.0: 2181 - resolution: {integrity: sha512-3Phe/LjCQI3NltVWn60n07D6aqvwzut/Soi8KS21QdFraFraT2KysMdt6hFuPXZ7mEcC0GDaylR0/oCY2qwn7Q==} 2178 + /@unocss/preset-icons/0.20.0: 2179 + resolution: {integrity: sha512-D+PRVOwmfoCyNnia/WEqhxmOn9at3sJOVfIMZgWA5Qoq7JOhNurLlLc5kC6ZdS4GkcPQB+mEsq/gf6uJ5LezrA==} 2182 2180 dependencies: 2183 2181 '@iconify/utils': 1.0.20 2184 - '@unocss/core': 0.19.0 2182 + '@unocss/core': 0.20.0 2185 2183 local-pkg: 0.4.0 2186 2184 dev: true 2187 2185 2188 - /@unocss/preset-mini/0.19.0: 2189 - resolution: {integrity: sha512-yv+pr5V3faG9EPVwpitSX2d+uC350IFvujD59WjvwVECo4QargGL4O8YftV9P1uuiwFu6rygCKAPpAT4okO9qg==} 2186 + /@unocss/preset-mini/0.20.0: 2187 + resolution: {integrity: sha512-Pw11MEgeajzX8l1X0J8h71qMhcVEOFtL7UTYpbMX5u++dul7LKxb0LM9rgBF1vBHGTQSnqBTpro38wtvMrs3nQ==} 2190 2188 dependencies: 2191 - '@unocss/core': 0.19.0 2189 + '@unocss/core': 0.20.0 2192 2190 dev: true 2193 2191 2194 - /@unocss/preset-uno/0.19.0: 2195 - resolution: {integrity: sha512-0dbWe9PEinWZrRKKLmTrxgqMUiaExzumocaz/HXzioskQXNBrp/Hxc7juQpuosR0WE2198uPEMo4GD7dYBDAow==} 2192 + /@unocss/preset-uno/0.20.0: 2193 + resolution: {integrity: sha512-cT6/FOEf5gV4tvR0d9M+dNzdRWldu6jmNgxUlsJ9TYEXkhQfO2cM9D9DmoI5b/xU0B2AC/veMMyAq/9nqZolzw==} 2196 2194 dependencies: 2197 - '@unocss/core': 0.19.0 2198 - '@unocss/preset-mini': 0.19.0 2199 - '@unocss/preset-wind': 0.19.0 2195 + '@unocss/core': 0.20.0 2196 + '@unocss/preset-mini': 0.20.0 2197 + '@unocss/preset-wind': 0.20.0 2200 2198 dev: true 2201 2199 2202 - /@unocss/preset-wind/0.19.0: 2203 - resolution: {integrity: sha512-ZMAcPJaL+Ai/Qqv8qrDAiB1zVRLoKomvKupg8vfV52hWSDmOgyMh3G485Lel9TLZkg1h/GpqznAXQH2BMWvazQ==} 2200 + /@unocss/preset-wind/0.20.0: 2201 + resolution: {integrity: sha512-/LoZn/j2eAoSyWTj9R3q0tZyE4DMbGoIh5qgJg/LikhxRazDUryhvsLbIAfxIeQLqg5Db+IGcu4814QE/Uxnzg==} 2204 2202 dependencies: 2205 - '@unocss/core': 0.19.0 2206 - '@unocss/preset-mini': 0.19.0 2203 + '@unocss/core': 0.20.0 2204 + '@unocss/preset-mini': 0.20.0 2207 2205 dev: true 2208 2206 2209 - /@unocss/reset/0.19.0: 2210 - resolution: {integrity: sha512-F1Tifgzv1fuom8lbbAlyZh+7u8IOWuutFI+/Pb04YqPZJEKE4iLYbR0NbQF1ezE1B2ALbzoki+uSqVEHevmB2g==} 2207 + /@unocss/reset/0.20.0: 2208 + resolution: {integrity: sha512-KTFxcgWkHF9exjIFyahYuNEhGONM0/qNTBwTmqvFohpslS4CVLnhTU7gPgKEoxi/HTKoXuYBFmBekOU5VqLSlQ==} 2211 2209 dev: true 2212 2210 2213 - /@unocss/scope/0.19.0: 2214 - resolution: {integrity: sha512-RgOSeDtQvwyXYUWjO200ZT3Nky+mYVboaYvLce1q/Bl0f07FER+k4qsbHYThCCL50aM3haaScCi1VhqKv3s1tg==} 2211 + /@unocss/scope/0.20.0: 2212 + resolution: {integrity: sha512-XNIIU/J5wpf9xtD1a2enLGjN5CyvFBvhL8CS4s2oKPiOiBl08Gb1TM2djs0tYBGmsOoO7xi9o+7bMonrF6FraA==} 2215 2213 dev: true 2216 2214 2217 - /@unocss/vite/0.19.0: 2218 - resolution: {integrity: sha512-DhW+pJal5lqKl/yaIhVY8x3gVgzs+3Jqw5QFAWTTYSEUIxLKU4McDA2EHeTqM3gd3riqVNbmed//aCdCi9HfcQ==} 2215 + /@unocss/vite/0.20.0: 2216 + resolution: {integrity: sha512-RUojjSnMhLpsv3GAWY+BTfxHhoSeY19TpLxCktAaP1ouVHeqxZa3uwDKtUVrGq2J6quI1YdbU/N0ZpbqJY8swg==} 2219 2217 dependencies: 2220 2218 '@rollup/pluginutils': 4.1.2 2221 - '@unocss/config': 0.19.0 2222 - '@unocss/core': 0.19.0 2223 - '@unocss/inspector': 0.19.0 2224 - '@unocss/scope': 0.19.0 2219 + '@unocss/config': 0.20.0 2220 + '@unocss/core': 0.20.0 2221 + '@unocss/inspector': 0.20.0 2222 + '@unocss/scope': 0.20.0 2225 2223 dev: true 2226 2224 2227 2225 /@vitejs/plugin-react/1.1.3: ··· 2448 2446 '@vueuse/shared': 7.4.1_vue@3.2.26 2449 2447 vue: 3.2.26 2450 2448 vue-demi: 0.12.1_vue@3.2.26 2451 - dev: false 2452 2449 2453 2450 /@vueuse/shared/7.4.1_vue@3.2.26: 2454 2451 resolution: {integrity: sha512-Pzb7XoHIcgPwwBJ5Ow9lZb0HTDyaLDV3pgxKauPGTMN9qvEylG06kUG+VTjJXkPsRtiGu46di8XyFeMw2dongA==} ··· 2463 2460 dependencies: 2464 2461 vue: 3.2.26 2465 2462 vue-demi: 0.12.1_vue@3.2.26 2466 - dev: false 2467 2463 2468 2464 /@xmldom/xmldom/0.7.5: 2469 2465 resolution: {integrity: sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==} ··· 3843 3839 source-map: 0.6.1 3844 3840 dev: true 3845 3841 3846 - /eslint-config-standard/16.0.3_cf57ce177ecd870ab6f2f91e60ef4a49: 3842 + /eslint-config-standard/16.0.3_4cecef3480376bac71ded249816d1e72: 3847 3843 resolution: {integrity: sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==} 3848 3844 peerDependencies: 3849 3845 eslint: ^7.12.1 ··· 3854 3850 eslint: 8.5.0 3855 3851 eslint-plugin-import: 2.25.3_eslint@8.5.0 3856 3852 eslint-plugin-node: 11.1.0_eslint@8.5.0 3857 - eslint-plugin-promise: 5.1.1_eslint@8.5.0 3853 + eslint-plugin-promise: 6.0.0_eslint@8.5.0 3858 3854 dev: true 3859 3855 3860 3856 /eslint-import-resolver-node/0.3.6: ··· 3950 3946 semver: 6.3.0 3951 3947 dev: true 3952 3948 3953 - /eslint-plugin-promise/5.1.1_eslint@8.5.0: 3954 - resolution: {integrity: sha512-XgdcdyNzHfmlQyweOPTxmc7pIsS6dE4MvwhXWMQ2Dxs1XAL2GJDilUsjWen6TWik0aSI+zD/PqocZBblcm9rdA==} 3955 - engines: {node: ^10.12.0 || >=12.0.0} 3949 + /eslint-plugin-promise/6.0.0_eslint@8.5.0: 3950 + resolution: {integrity: sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==} 3951 + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 3956 3952 peerDependencies: 3957 - eslint: ^7.0.0 3953 + eslint: ^7.0.0 || ^8.0.0 3958 3954 dependencies: 3959 3955 eslint: 8.5.0 3960 3956 dev: true 3961 3957 3962 - /eslint-plugin-react/7.27.1_eslint@8.5.0: 3963 - resolution: {integrity: sha512-meyunDjMMYeWr/4EBLTV1op3iSG3mjT/pz5gti38UzfM4OPpNc2m0t2xvKCOMU5D6FSdd34BIMFOvQbW+i8GAA==} 3958 + /eslint-plugin-react/7.28.0_eslint@8.5.0: 3959 + resolution: {integrity: sha512-IOlFIRHzWfEQQKcAD4iyYDndHwTQiCMcJVJjxempf203jnNLUnW34AXLrV33+nEXoifJE2ZEGmcjKPL8957eSw==} 3964 3960 engines: {node: '>=4'} 3965 3961 peerDependencies: 3966 3962 eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 ··· 4008 4004 - supports-color 4009 4005 dev: true 4010 4006 4011 - /eslint-plugin-vue/8.1.1_eslint@8.5.0: 4012 - resolution: {integrity: sha512-rx64IrlhdfPya6u2V5ukOGiLCTgaCBdMSpczLVqyo8A0l+Vbo+lzvIfEUfAQ2auj+MF6y0TwxLorzdCIzHunnw==} 4007 + /eslint-plugin-vue/8.2.0_eslint@8.5.0: 4008 + resolution: {integrity: sha512-cLIdTuOAMXyHeQ4drYKcZfoyzdwdBpH279X8/N0DgmotEI9yFKb5O/cAgoie/CkQZCH/MOmh0xw/KEfS90zY2A==} 4013 4009 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 4014 4010 peerDependencies: 4015 4011 eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 ··· 7092 7088 engines: {node: '>= 10.0.0'} 7093 7089 dev: true 7094 7090 7095 - /unocss/0.19.0: 7096 - resolution: {integrity: sha512-E8SmRqvfyivU0bDlNNUN0eyK06xcZLDD9mI6Wv78dFxnAmxvX2kbpKXfRkQfioid9VQPxmKfy8GE/4UM5492yA==} 7091 + /unocss/0.20.0: 7092 + resolution: {integrity: sha512-6rh1RkqWqFWMXJqErZTEm0fp9QeGXEgFjuL9pTYh8Lf59EqFzAzET5dfyKzM6vvq70Hyp+N9CsbngyM+usGbCw==} 7097 7093 engines: {node: '>=14'} 7098 7094 dependencies: 7099 - '@unocss/cli': 0.19.0 7100 - '@unocss/core': 0.19.0 7101 - '@unocss/preset-attributify': 0.19.0 7102 - '@unocss/preset-icons': 0.19.0 7103 - '@unocss/preset-uno': 0.19.0 7104 - '@unocss/reset': 0.19.0 7105 - '@unocss/vite': 0.19.0 7095 + '@unocss/cli': 0.20.0 7096 + '@unocss/core': 0.20.0 7097 + '@unocss/preset-attributify': 0.20.0 7098 + '@unocss/preset-icons': 0.20.0 7099 + '@unocss/preset-uno': 0.20.0 7100 + '@unocss/reset': 0.20.0 7101 + '@unocss/vite': 0.20.0 7106 7102 dev: true 7107 7103 7108 7104 /unplugin-auto-import/0.5.5_7f3a549d56d22c615f2e7ee5dbcdec67: ··· 7366 7362 optional: true 7367 7363 dependencies: 7368 7364 vue: 3.2.26 7369 - dev: false 7370 7365 7371 7366 /vue-eslint-parser/8.0.1_eslint@8.5.0: 7372 7367 resolution: {integrity: sha512-lhWjDXJhe3UZw2uu3ztX51SJAPGPey1Tff2RK3TyZURwbuI4vximQLzz4nQfCv8CZq4xx7uIiogHMMoSJPr33A==}
+1 -1
.vscode/tasks.json
··· 47 47 }, 48 48 "background": { 49 49 "activeOnStart": true, 50 - "beginsPattern": "vite", 50 + "beginsPattern": "dev server running at", 51 51 "endsPattern": "ready in" 52 52 } 53 53 }
+3 -3
docs/package.json
··· 12 12 "vue": "^3.2.24" 13 13 }, 14 14 "devDependencies": { 15 - "@antfu/eslint-config": "^0.14.1", 15 + "@antfu/eslint-config": "^0.14.2", 16 16 "@iconify-json/carbon": "^1.0.12", 17 17 "@types/node": "^17.0.5", 18 - "@unocss/reset": "^0.19.0", 18 + "@unocss/reset": "^0.20.0", 19 19 "@vitejs/plugin-vue": "^2.0.1", 20 20 "eslint": "^8.5.0", 21 21 "pnpm": "^6.24.3", 22 22 "typescript": "^4.5.4", 23 - "unocss": "^0.19.0", 23 + "unocss": "^0.20.0", 24 24 "unplugin-vue-components": "^0.17.11", 25 25 "vitepress": "^0.20.10" 26 26 }
+14 -17
packages/ui/package.json
··· 1 1 { 2 2 "name": "@vitest/ui", 3 - "//": "TODO: when it's ready", 4 - "private": true, 5 3 "version": "0.0.118", 6 - "description": "Vitest UI", 4 + "description": "UI for Vitest", 7 5 "sideEffects": false, 8 6 "type": "module", 9 7 "exports": { ··· 19 17 "dist" 20 18 ], 21 19 "scripts": { 22 - "dev:node": "rollup -c --watch node", 23 - "dev:client": "vite", 24 - "dev:ui": "run-p dev:node dev:client", 25 - "build:node": "rollup -c", 20 + "build": "rimraf dist && pnpm build:node && pnpm build:client", 26 21 "build:client": "vite build", 27 - "build": "rimraf dist && pnpm build:node && pnpm build:client" 28 - }, 29 - "peerDependencies": { 30 - "vitest": "workspace:*" 22 + "build:node": "rollup -c", 23 + "dev:client": "vite", 24 + "dev:node": "rollup -c --watch node", 25 + "dev:ui": "run-p dev:node dev:client" 31 26 }, 32 27 "dependencies": { 33 - "@vitest/ws-client": "workspace:*", 34 - "@vueuse/core": "^7.4.1", 35 - "sirv": "^1.0.19", 36 - "ws": "^8.4.0" 28 + "sirv": "^1.0.19" 37 29 }, 38 30 "devDependencies": { 39 31 "@types/codemirror": "^5.60.5", 40 32 "@types/ws": "^8.2.2", 41 - "@unocss/reset": "^0.19.0", 33 + "@unocss/reset": "^0.20.0", 42 34 "@vitejs/plugin-vue": "^2.0.1", 35 + "@vitest/ws-client": "workspace:*", 36 + "@vueuse/core": "^7.4.1", 43 37 "codemirror": "^5.65.0", 44 38 "codemirror-theme-vars": "^0.1.1", 45 39 "picocolors": "^1.0.0", 46 40 "rollup": "^2.62.0", 47 - "unocss": "^0.19.0", 41 + "unocss": "^0.20.0", 48 42 "unplugin-auto-import": "^0.5.5", 49 43 "unplugin-vue-components": "^0.17.11", 44 + "vitest": "workspace:*" 45 + }, 46 + "peerDependencies": { 50 47 "vitest": "workspace:*" 51 48 } 52 49 }
+3 -3
packages/ws-client/package.json
··· 1 1 { 2 2 "name": "@vitest/ws-client", 3 - "private": true, 3 + "version": "0.0.118", 4 + "description": "WebSocket client wrapper for communicating with Vitest", 4 5 "homepage": "https://github.com/antfu/vitest#readme", 5 6 "bugs": { 6 7 "url": "https://github.com/antfu/vitest/issues" ··· 43 44 }, 44 45 "engines": { 45 46 "node": ">=14.14.0" 46 - }, 47 - "version": "0.0.118" 47 + } 48 48 }
+2 -5
packages/ui/node/index.ts
··· 1 1 import { fileURLToPath } from 'url' 2 2 import { resolve } from 'pathe' 3 3 import sirv from 'sirv' 4 - 5 4 import type { Plugin } from 'vite' 6 - import type { Vitest } from 'vitest/node' 7 5 8 - // eslint-disable-next-line @typescript-eslint/no-unused-vars 9 - export const VitestUIPlugin = (vitest: Vitest): Plugin => { 6 + export default (): Plugin => { 10 7 return { 11 8 name: 'vitest:ui', 12 9 apply: 'serve', ··· 17 14 dev: true, 18 15 })) 19 16 }, 20 - } as Plugin 17 + } 21 18 }
+3 -2
packages/ws-client/src/index.ts
··· 12 12 reconnectTries?: number 13 13 reactive?: <T>(v: T) => T 14 14 ref?: <T>(v: T) => { value: T } 15 + WebSocketConstructor?: typeof WebSocket 15 16 } 16 17 17 18 export interface VitestClient { ··· 29 30 reconnectInterval = 2000, 30 31 reconnectTries = 10, 31 32 reactive = v => v, 32 - // ref = v => ({ value: v }), 33 + WebSocketConstructor = globalThis.WebSocket, 33 34 } = options 34 35 35 36 let tries = reconnectTries 36 37 const ctx = reactive({ 37 - ws: new WebSocket(url), 38 + ws: new WebSocketConstructor(url), 38 39 state: new StateManager(), 39 40 waitForConnection, 40 41 reconnect,