[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.

docs: switch to local search (#3594)

authored by

Joaquín Sánchez and committed by
GitHub
(Jun 20, 2023, 5:52 PM +0200) 445a7b6d e39492ff

+308 -104
+192 -45
pnpm-lock.yaml
··· 148 148 '@unocss/reset': 149 149 specifier: ^0.53.1 150 150 version: 0.53.1 151 + '@vite-pwa/assets-generator': 152 + specifier: ^0.0.3 153 + version: 0.0.3 151 154 '@vite-pwa/vitepress': 152 155 specifier: ^0.2.0 153 156 version: 0.2.0(vite-plugin-pwa@0.16.4) ··· 328 331 version: 20.3.1 329 332 '@types/react': 330 333 specifier: latest 331 - version: 18.2.13 334 + version: 18.2.12 332 335 '@vitejs/plugin-react': 333 336 specifier: latest 334 - version: 4.0.1(vite@4.3.9) 337 + version: 4.0.0(vite@4.3.9) 335 338 jsdom: 336 339 specifier: latest 337 340 version: 22.1.0 ··· 389 392 version: 17.0.2 390 393 '@vitejs/plugin-react': 391 394 specifier: latest 392 - version: 4.0.1(vite@4.3.9) 395 + version: 4.0.0(vite@4.3.9) 393 396 '@vitest/ui': 394 397 specifier: latest 395 398 version: link:../../packages/ui ··· 429 432 version: 17.0.17 430 433 '@vitejs/plugin-react': 431 434 specifier: latest 432 - version: 4.0.1(vite@4.3.9) 435 + version: 4.0.0(vite@4.3.9) 433 436 '@vitest/ui': 434 437 specifier: latest 435 438 version: link:../../packages/ui ··· 615 618 version: 18.0.8 616 619 '@vitejs/plugin-react': 617 620 specifier: latest 618 - version: 4.0.1(vite@4.3.9) 621 + version: 4.0.0(vite@4.3.9) 619 622 '@vitest/coverage-c8': 620 623 specifier: ^0.24.5 621 624 version: 0.24.5 ··· 2266 2269 dependencies: 2267 2270 '@babel/highlight': 7.22.5 2268 2271 2269 - /@babel/code-frame@7.21.4: 2270 - resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} 2271 - engines: {node: '>=6.9.0'} 2272 - dependencies: 2273 - '@babel/highlight': 7.22.5 2274 - dev: true 2275 - 2276 2272 /@babel/code-frame@7.22.5: 2277 2273 resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} 2278 2274 engines: {node: '>=6.9.0'} ··· 2794 2790 2795 2791 /@babel/parser@7.18.13: 2796 2792 resolution: {integrity: sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg==} 2797 - engines: {node: '>=6.0.0'} 2798 - hasBin: true 2799 - dependencies: 2800 - '@babel/types': 7.22.5 2801 - 2802 - /@babel/parser@7.21.4: 2803 - resolution: {integrity: sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==} 2804 2793 engines: {node: '>=6.0.0'} 2805 2794 hasBin: true 2806 2795 dependencies: ··· 4935 4924 4936 4925 /@bcoe/v8-coverage@0.2.3: 4937 4926 resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} 4927 + 4928 + /@canvas/image-data@1.0.0: 4929 + resolution: {integrity: sha512-BxOqI5LgsIQP1odU5KMwV9yoijleOPzHL18/YvNqF9KFSGF2K/DLlYAbDQsWqd/1nbaFuSkYD/191dpMtNh4vw==} 4930 + dev: true 4938 4931 4939 4932 /@cnakazawa/watch@1.0.4: 4940 4933 resolution: {integrity: sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==} ··· 8382 8375 resolution: {integrity: sha512-KnH2MnJUzmFNPW6RIKfd+zf2Wue8mEKX0M3cpX6aKl5ZXrJM1/c/Pc8c2xDNYQCnJO48Sm5ITbMXgqTr3h4jxQ==} 8383 8376 engines: {node: '>=12'} 8384 8377 dependencies: 8385 - '@babel/code-frame': 7.21.4 8378 + '@babel/code-frame': 7.22.5 8386 8379 '@babel/runtime': 7.18.9 8387 8380 '@types/aria-query': 4.2.2 8388 8381 aria-query: 5.0.2 ··· 8396 8389 resolution: {integrity: sha512-6YWYPPpxG3e/xOo6HIWwB/58HukkwIVTOaZ0VwdMVjhRUX/01E4FtQbck9GazOOj7MXHc5RBzMrU86iBJHbI+A==} 8397 8390 engines: {node: '>=12'} 8398 8391 dependencies: 8399 - '@babel/code-frame': 7.21.4 8392 + '@babel/code-frame': 7.22.5 8400 8393 '@babel/runtime': 7.18.9 8401 8394 '@types/aria-query': 4.2.2 8402 8395 aria-query: 5.0.2 ··· 8929 8922 '@types/prop-types': 15.7.5 8930 8923 '@types/scheduler': 0.16.2 8931 8924 csstype: 3.1.0 8925 + dev: true 8926 + 8927 + /@types/react@18.2.12: 8928 + resolution: {integrity: sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==} 8929 + dependencies: 8930 + '@types/prop-types': 15.7.5 8931 + '@types/scheduler': 0.16.2 8932 + csstype: 3.1.2 8932 8933 dev: true 8933 8934 8934 8935 /@types/react@18.2.13: ··· 9470 9471 - rollup 9471 9472 dev: true 9472 9473 9474 + /@vite-pwa/assets-generator@0.0.3: 9475 + resolution: {integrity: sha512-rGjzFTGAZsY9fIf9qGbvXbo38Yj0MbAtTxAaL/GBlEU0+q/m6upw+4HKE58p2MnjUAOOBHf0871u3onHtkPWlQ==} 9476 + engines: {node: '>=16.14.0'} 9477 + hasBin: true 9478 + dependencies: 9479 + cac: 6.7.14 9480 + colorette: 2.0.20 9481 + consola: 3.1.0 9482 + sharp: 0.32.1 9483 + sharp-ico: 0.1.5 9484 + unconfig: 0.3.9 9485 + dev: true 9486 + 9473 9487 /@vite-pwa/vitepress@0.2.0(vite-plugin-pwa@0.16.4): 9474 9488 resolution: {integrity: sha512-dVQVaP6NB9woCFe4UASUqRp7uwBQJOVXlJlqK4krqXcbb3NuXIXIWOnU7HLpJnHqZj5U/81gKtLN6gs5gJBwiQ==} 9475 9489 peerDependencies: ··· 9494 9508 - supports-color 9495 9509 dev: true 9496 9510 9497 - /@vitejs/plugin-react@4.0.1(vite@4.3.9): 9498 - resolution: {integrity: sha512-g25lL98essfeSj43HJ0o4DMp0325XK0ITkxpgChzJU/CyemgyChtlxfnRbjfwxDGCTRxTiXtQAsdebQXKMRSOA==} 9511 + /@vitejs/plugin-react@4.0.0(vite@4.3.9): 9512 + resolution: {integrity: sha512-HX0XzMjL3hhOYm+0s95pb0Z7F8O81G7joUHgfDd/9J/ZZf5k4xX6QAMFkKsHFxaHlf6X7GD7+XuaZ66ULiJuhQ==} 9499 9513 engines: {node: ^14.18.0 || >=16.0.0} 9500 9514 peerDependencies: 9501 9515 vite: ^4.2.0 ··· 9580 9594 '@vue/compiler-core': 3.3.4 9581 9595 '@vue/compiler-dom': 3.3.4 9582 9596 '@vue/compiler-sfc': 3.3.4 9583 - '@vue/reactivity': 3.2.47 9597 + '@vue/reactivity': 3.3.4 9584 9598 '@vue/shared': 3.3.4 9585 9599 dev: true 9586 9600 ··· 9651 9665 /@vue/compiler-sfc@3.2.39: 9652 9666 resolution: {integrity: sha512-fqAQgFs1/BxTUZkd0Vakn3teKUt//J3c420BgnYgEOoVdTwYpBTSXCMJ88GOBCylmUBbtquGPli9tVs7LzsWIA==} 9653 9667 dependencies: 9654 - '@babel/parser': 7.21.4 9668 + '@babel/parser': 7.22.5 9655 9669 '@vue/compiler-core': 3.2.39 9656 9670 '@vue/compiler-dom': 3.2.39 9657 9671 '@vue/compiler-ssr': 3.2.39 ··· 9721 9735 dependencies: 9722 9736 '@vue/shared': 3.2.39 9723 9737 9724 - /@vue/reactivity@3.2.47: 9725 - resolution: {integrity: sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==} 9726 - dependencies: 9727 - '@vue/shared': 3.2.47 9728 - dev: true 9729 - 9730 9738 /@vue/reactivity@3.3.4: 9731 9739 resolution: {integrity: sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==} 9732 9740 dependencies: ··· 9782 9790 9783 9791 /@vue/shared@3.2.39: 9784 9792 resolution: {integrity: sha512-D3dl2ZB9qE6mTuWPk9RlhDeP1dgNRUKC3NJxji74A4yL8M2MwlhLKUC/49WHjrNzSPug58fWx/yFbaTzGAQSBw==} 9785 - 9786 - /@vue/shared@3.2.47: 9787 - resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==} 9788 - dev: true 9789 9793 9790 9794 /@vue/shared@3.3.4: 9791 9795 resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} ··· 12214 12218 /color-name@1.1.4: 12215 12219 resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} 12216 12220 12221 + /color-string@1.9.1: 12222 + resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} 12223 + dependencies: 12224 + color-name: 1.1.4 12225 + simple-swizzle: 0.2.2 12226 + dev: true 12227 + 12217 12228 /color-support@1.1.3: 12218 12229 resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} 12219 12230 hasBin: true 12220 12231 dev: true 12221 12232 12222 - /colorette@2.0.19: 12223 - resolution: {integrity: sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==} 12233 + /color@4.2.3: 12234 + resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} 12235 + engines: {node: '>=12.5.0'} 12236 + dependencies: 12237 + color-convert: 2.0.1 12238 + color-string: 1.9.1 12224 12239 dev: true 12225 12240 12226 12241 /colorette@2.0.20: ··· 13017 13032 resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} 13018 13033 dev: true 13019 13034 13035 + /decode-bmp@0.2.1: 13036 + resolution: {integrity: sha512-NiOaGe+GN0KJqi2STf24hfMkFitDUaIoUU3eKvP/wAbLe8o6FuW5n/x7MHPR0HKvBokp6MQY/j7w8lewEeVCIA==} 13037 + engines: {node: '>=8.6.0'} 13038 + dependencies: 13039 + '@canvas/image-data': 1.0.0 13040 + to-data-view: 1.1.0 13041 + dev: true 13042 + 13043 + /decode-ico@0.4.1: 13044 + resolution: {integrity: sha512-69NZfbKIzux1vBOd31al3XnMnH+2mqDhEgLdpygErm4d60N+UwA5Sq5WFjmEDQzumgB9fElojGwWG0vybVfFmA==} 13045 + engines: {node: '>=8.6'} 13046 + dependencies: 13047 + '@canvas/image-data': 1.0.0 13048 + decode-bmp: 0.2.1 13049 + to-data-view: 1.1.0 13050 + dev: true 13051 + 13020 13052 /decode-uri-component@0.2.0: 13021 13053 resolution: {integrity: sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==} 13022 13054 engines: {node: '>=0.10'} ··· 13061 13093 which-boxed-primitive: 1.0.2 13062 13094 which-collection: 1.0.1 13063 13095 which-typed-array: 1.1.9 13096 + dev: true 13097 + 13098 + /deep-extend@0.6.0: 13099 + resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} 13100 + engines: {node: '>=4.0.0'} 13064 13101 dev: true 13065 13102 13066 13103 /deep-is@0.1.4: ··· 13194 13231 13195 13232 /detect-indent@6.1.0: 13196 13233 resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} 13234 + engines: {node: '>=8'} 13235 + dev: true 13236 + 13237 + /detect-libc@2.0.1: 13238 + resolution: {integrity: sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==} 13197 13239 engines: {node: '>=8'} 13198 13240 dev: true 13199 13241 ··· 14880 14922 - supports-color 14881 14923 dev: true 14882 14924 14925 + /expand-template@2.0.3: 14926 + resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} 14927 + engines: {node: '>=6'} 14928 + dev: true 14929 + 14883 14930 /expect-type@0.16.0: 14884 14931 resolution: {integrity: sha512-wCpFeVBiAPGiYkQZzaqvGuuBnNCHbtnowMOBpBGY8a27XbG8VAit3lklWph1r8VmgsH61mOZqI3NuGm8bZnUlw==} 14885 14932 engines: {node: '>=12.0.0'} ··· 15708 15755 - supports-color 15709 15756 dev: true 15710 15757 15758 + /github-from-package@0.0.0: 15759 + resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} 15760 + dev: true 15761 + 15711 15762 /github-slugger@1.4.0: 15712 15763 resolution: {integrity: sha512-w0dzqw/nt51xMVmlaV1+JRzN+oCa1KfcgGEWhxUG16wbdA+Xnt/yoFO8Z8x/V82ZcZ0wy6ln9QDup5avbhiDhQ==} 15713 15764 dev: true ··· 16386 16437 engines: {node: '>=14.18.0'} 16387 16438 dev: true 16388 16439 16440 + /ico-endec@0.1.6: 16441 + resolution: {integrity: sha512-ZdLU38ZoED3g1j3iEyzcQj+wAkY2xfWNkymszfJPoxucIUhK7NayQ+/C4Kv0nDFMIsbtbEHldv3V8PU494/ueQ==} 16442 + dev: true 16443 + 16389 16444 /iconv-lite@0.4.24: 16390 16445 resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} 16391 16446 engines: {node: '>=0.10.0'} ··· 16638 16693 /is-arrayish@0.2.1: 16639 16694 resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} 16640 16695 16696 + /is-arrayish@0.3.2: 16697 + resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} 16698 + dev: true 16699 + 16641 16700 /is-bigint@1.0.4: 16642 16701 resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} 16643 16702 dependencies: ··· 16714 16773 ci-info: 3.7.0 16715 16774 dev: true 16716 16775 16717 - /is-core-module@2.11.0: 16718 - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} 16719 - dependencies: 16720 - has: 1.0.3 16721 - 16722 16776 /is-core-module@2.12.1: 16723 16777 resolution: {integrity: sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==} 16724 16778 dependencies: 16725 16779 has: 1.0.3 16726 - dev: true 16727 16780 16728 16781 /is-data-descriptor@0.1.4: 16729 16782 resolution: {integrity: sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==} ··· 18339 18392 optional: true 18340 18393 dependencies: 18341 18394 cli-truncate: 2.1.0 18342 - colorette: 2.0.19 18395 + colorette: 2.0.20 18343 18396 log-update: 4.0.0 18344 18397 p-map: 4.0.0 18345 18398 rfdc: 1.3.0 ··· 19305 19358 - supports-color 19306 19359 dev: true 19307 19360 19361 + /napi-build-utils@1.0.2: 19362 + resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} 19363 + dev: true 19364 + 19308 19365 /natural-compare-lite@1.4.0: 19309 19366 resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} 19310 19367 dev: true ··· 19387 19444 dependencies: 19388 19445 lower-case: 2.0.2 19389 19446 tslib: 2.5.3 19447 + dev: true 19448 + 19449 + /node-abi@3.45.0: 19450 + resolution: {integrity: sha512-iwXuFrMAcFVi/ZoZiqq8BzAdsLw9kxDfTC0HMyjXfSL/6CSDAGD5UmR7azrAgWV1zKYq7dUUMj4owusBWKLsiQ==} 19451 + engines: {node: '>=10'} 19452 + dependencies: 19453 + semver: 7.5.2 19454 + dev: true 19455 + 19456 + /node-addon-api@6.1.0: 19457 + resolution: {integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==} 19390 19458 dev: true 19391 19459 19392 19460 /node-dir@0.1.17: ··· 20565 20633 resolution: {integrity: sha512-w0mCL5vICUAZrh1DuHEdOWBjxdO62lvcO++jbzr8UhhYcTbFkpegLH9XX+7MadjTl/y0feoqwQ/zAnzkc/EGog==} 20566 20634 dev: true 20567 20635 20636 + /prebuild-install@7.1.1: 20637 + resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} 20638 + engines: {node: '>=10'} 20639 + hasBin: true 20640 + dependencies: 20641 + detect-libc: 2.0.1 20642 + expand-template: 2.0.3 20643 + github-from-package: 0.0.0 20644 + minimist: 1.2.8 20645 + mkdirp-classic: 0.5.3 20646 + napi-build-utils: 1.0.2 20647 + node-abi: 3.45.0 20648 + pump: 3.0.0 20649 + rc: 1.2.8 20650 + simple-get: 4.0.1 20651 + tar-fs: 2.1.1 20652 + tunnel-agent: 0.6.0 20653 + dev: true 20654 + 20568 20655 /prelude-ls@1.1.2: 20569 20656 resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} 20570 20657 engines: {node: '>= 0.8.0'} ··· 20969 21056 defu: 6.1.2 20970 21057 destr: 1.2.2 20971 21058 flat: 5.0.2 21059 + dev: true 21060 + 21061 + /rc@1.2.8: 21062 + resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} 21063 + hasBin: true 21064 + dependencies: 21065 + deep-extend: 0.6.0 21066 + ini: 1.3.8 21067 + minimist: 1.2.8 21068 + strip-json-comments: 2.0.1 20972 21069 dev: true 20973 21070 20974 21071 /react-docgen-typescript@2.2.2(typescript@4.8.4): ··· 21670 21767 resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} 21671 21768 hasBin: true 21672 21769 dependencies: 21673 - is-core-module: 2.11.0 21770 + is-core-module: 2.12.1 21674 21771 path-parse: 1.0.7 21675 21772 supports-preserve-symlinks-flag: 1.0.0 21676 21773 ··· 22212 22309 kind-of: 6.0.3 22213 22310 dev: true 22214 22311 22312 + /sharp-ico@0.1.5: 22313 + resolution: {integrity: sha512-a3jODQl82NPp1d5OYb0wY+oFaPk7AvyxipIowCHk7pBsZCWgbe0yAkU2OOXdoH0ENyANhyOQbs9xkAiRHcF02Q==} 22314 + dependencies: 22315 + decode-ico: 0.4.1 22316 + ico-endec: 0.1.6 22317 + sharp: 0.32.1 22318 + dev: true 22319 + 22320 + /sharp@0.32.1: 22321 + resolution: {integrity: sha512-kQTFtj7ldpUqSe8kDxoGLZc1rnMFU0AO2pqbX6pLy3b7Oj8ivJIdoKNwxHVQG2HN6XpHPJqCSM2nsma2gOXvOg==} 22322 + engines: {node: '>=14.15.0'} 22323 + requiresBuild: true 22324 + dependencies: 22325 + color: 4.2.3 22326 + detect-libc: 2.0.1 22327 + node-addon-api: 6.1.0 22328 + prebuild-install: 7.1.1 22329 + semver: 7.5.2 22330 + simple-get: 4.0.1 22331 + tar-fs: 2.1.1 22332 + tunnel-agent: 0.6.0 22333 + dev: true 22334 + 22215 22335 /shebang-command@1.2.0: 22216 22336 resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} 22217 22337 engines: {node: '>=0.10.0'} ··· 22271 22391 engines: {node: '>=14'} 22272 22392 dev: true 22273 22393 22394 + /simple-concat@1.0.1: 22395 + resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} 22396 + dev: true 22397 + 22398 + /simple-get@4.0.1: 22399 + resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} 22400 + dependencies: 22401 + decompress-response: 6.0.0 22402 + once: 1.4.0 22403 + simple-concat: 1.0.1 22404 + dev: true 22405 + 22274 22406 /simple-git-hooks@2.8.1: 22275 22407 resolution: {integrity: sha512-DYpcVR1AGtSfFUNzlBdHrQGPsOhuuEJ/FkmPOOlFysP60AHd3nsEpkGq/QEOdtUyT1Qhk7w9oLmFoMG+75BDog==} 22276 22408 hasBin: true 22277 22409 requiresBuild: true 22410 + dev: true 22411 + 22412 + /simple-swizzle@0.2.2: 22413 + resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} 22414 + dependencies: 22415 + is-arrayish: 0.3.2 22278 22416 dev: true 22279 22417 22280 22418 /sirv@2.0.3: ··· 22874 23012 min-indent: 1.0.1 22875 23013 dev: true 22876 23014 23015 + /strip-json-comments@2.0.1: 23016 + resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} 23017 + engines: {node: '>=0.10.0'} 23018 + dev: true 23019 + 22877 23020 /strip-json-comments@3.1.1: 22878 23021 resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} 22879 23022 engines: {node: '>=8'} ··· 23417 23560 23418 23561 /to-arraybuffer@1.0.1: 23419 23562 resolution: {integrity: sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==} 23563 + dev: true 23564 + 23565 + /to-data-view@1.1.0: 23566 + resolution: {integrity: sha512-1eAdufMg6mwgmlojAx3QeMnzB/BTVp7Tbndi3U7ftcT2zCZadjxkkmLmd97zmaxWi+sgGcgWrokmpEoy0Dn0vQ==} 23420 23567 dev: true 23421 23568 23422 23569 /to-fast-properties@2.0.0:
+11 -1
docs/package.json
··· 1 1 { 2 2 "name": "docs", 3 + "type": "module", 3 4 "private": true, 4 5 "scripts": { 5 6 "dev": "vitepress --port 3333 --open", ··· 8 9 "serve": "vitepress serve", 9 10 "preview-https": "pnpm run build && serve .vitepress/dist", 10 11 "preview-https-no-prefetch": "pnpm run build-no-prefetch && serve .vitepress/dist", 11 - "prefetch": "esno .vitepress/scripts/fetch-avatars.ts" 12 + "prefetch": "esno .vitepress/scripts/fetch-avatars.ts", 13 + "generate-pwa-icons": "pwa-assets-generator" 12 14 }, 13 15 "dependencies": { 14 16 "@vueuse/core": "^10.2.0", ··· 18 20 "devDependencies": { 19 21 "@iconify-json/carbon": "^1.1.18", 20 22 "@unocss/reset": "^0.53.1", 23 + "@vite-pwa/assets-generator": "^0.0.3", 21 24 "@vite-pwa/vitepress": "^0.2.0", 22 25 "@vitejs/plugin-vue": "latest", 23 26 "esno": "^0.16.3", ··· 30 33 "vite-plugin-pwa": "^0.16.4", 31 34 "vitepress": "1.0.0-beta.3", 32 35 "workbox-window": "^7.0.0" 36 + }, 37 + "pnpm": { 38 + "peerDependencyRules": { 39 + "ignoreMissing": [ 40 + "@algolia/client-search" 41 + ] 42 + } 33 43 } 34 44 }
+21
docs/pwa-assets.config.ts
··· 1 + import { 2 + defineConfig, 3 + minimalPreset as preset, 4 + } from '@vite-pwa/assets-generator/config' 5 + 6 + export default defineConfig({ 7 + preset: { 8 + ...preset, 9 + assetName(type, size) { 10 + switch (type) { 11 + case 'transparent': 12 + return `pwa-${size.width}x${size.height}.png` 13 + case 'maskable': 14 + return 'maskable-icon.png' 15 + case 'apple': 16 + return 'apple-touch-icon.png' 17 + } 18 + }, 19 + }, 20 + images: ['public/logo.svg'], 21 + })
+7 -3
docs/vite.config.ts
··· 10 10 optimizeDeps: { 11 11 // vitepress is aliased with replacement `join(DIST_CLIENT_PATH, '/index')` 12 12 // This needs to be excluded from optimization 13 - exclude: ['vitepress'], 13 + exclude: ['@vueuse/core', 'vitepress'], 14 + }, 15 + server: { 16 + hmr: { 17 + overlay: false, 18 + }, 14 19 }, 15 20 plugins: [ 16 - // TODO remove cast when moved to Vite 3 17 21 Components({ 18 22 include: [/\.vue/, /\.md/], 19 23 dirs: '.vitepress/components', ··· 32 36 scale: 1.2, 33 37 }), 34 38 ], 35 - }) as unknown as Plugin, 39 + }), 36 40 IncludesPlugin(), 37 41 ], 38 42 })
+1 -3
docs/.vitepress/components.d.ts
··· 3 3 // @ts-nocheck 4 4 // Generated by unplugin-vue-components 5 5 // Read more: https://github.com/vuejs/core/pull/3399 6 - import '@vue/runtime-core' 7 - 8 6 export {} 9 7 10 - declare module '@vue/runtime-core' { 8 + declare module 'vue' { 11 9 export interface GlobalComponents { 12 10 Contributors: typeof import('./components/Contributors.vue')['default'] 13 11 CourseLink: typeof import('./components/CourseLink.vue')['default']
+14 -17
docs/.vitepress/config.ts
··· 24 24 locales: { 25 25 root: { 26 26 label: 'English', 27 - lang: 'en', 27 + lang: 'en-US', 28 28 }, 29 - en: { 29 + zh: { 30 30 label: '简体中文', 31 31 lang: 'zh', 32 32 link: 'https://cn.vitest.dev/', ··· 34 34 }, 35 35 head: [ 36 36 ['meta', { name: 'theme-color', content: '#729b1a' }], 37 + ['link', { rel: 'icon', href: '/favicon.ico', sizes: 'any' }], 37 38 ['link', { rel: 'icon', href: '/logo.svg', type: 'image/svg+xml' }], 38 - ['link', { rel: 'alternate icon', href: '/favicon.ico', type: 'image/png', sizes: '16x16' }], 39 39 ['meta', { name: 'author', content: `${teamMembers.map(c => c.name).join(', ')} and ${vitestName} contributors` }], 40 40 ['meta', { name: 'keywords', content: 'vitest, vite, test, coverage, snapshot, react, vue, preact, svelte, solid, lit, ruby, cypress, puppeteer, jsdom, happy-dom, test-runner, jest, typescript, esm, tinypool, tinyspy, c8, node' }], 41 41 ['meta', { property: 'og:title', content: vitestName }], ··· 66 66 text: 'Suggest changes to this page', 67 67 }, 68 68 69 - algolia: { 70 - appId: 'ZTF29HGJ69', 71 - apiKey: '9c3ced6fed60d2670bb36ab7e8bed8bc', 72 - indexName: 'vitest', 73 - // searchParameters: { 74 - // facetFilters: ['tags:en'], 75 - // }, 76 - }, 77 - 78 - localeLinks: { 79 - text: 'English', 80 - items: [ 81 - { text: '简体中文', link: 'https://cn.vitest.dev' }, 82 - ], 69 + search: { 70 + provider: 'local', 71 + /* provider: 'algolia', 72 + options: { 73 + appId: 'ZTF29HGJ69', 74 + apiKey: '9c3ced6fed60d2670bb36ab7e8bed8bc', 75 + indexName: 'vitest', 76 + // searchParameters: { 77 + // facetFilters: ['tags:en'], 78 + // }, 79 + }, */ 83 80 }, 84 81 85 82 socialLinks: [
+11 -12
docs/guide/index.md
··· 18 18 19 19 <CourseLink href="https://vueschool.io/lessons/how-to-install-vitest?friend=vueuse">Learn how to install by Video</CourseLink> 20 20 21 - With npm 22 - ```bash 23 - npm install -D vitest 24 - ``` 25 - or with yarn 26 - ```bash 27 - yarn add -D vitest 28 - ``` 29 - or with pnpm 30 - ```bash 31 - pnpm add -D vitest 32 - ``` 21 + ::: code-group 22 + ```bash [npm] 23 + npm install -D vitest 24 + ``` 25 + ```bash [yarn] 26 + yarn add -D vitest 27 + ``` 28 + ```bash [pnpm] 29 + pnpm add -D vitest 30 + ``` 31 + ::: 33 32 34 33 :::tip 35 34 Vitest requires Vite >=v3.0.0 and Node >=v14.18
docs/public/apple-touch-icon.png

This is a binary file and will not be displayed.

docs/public/favicon.ico

This is a binary file and will not be displayed.

docs/public/maskable-icon.png

This is a binary file and will not be displayed.

docs/public/pwa-192x192.png

This is a binary file and will not be displayed.

docs/public/pwa-512x512.png

This is a binary file and will not be displayed.

docs/public/pwa-64x64.png

This is a binary file and will not be displayed.

+3 -2
docs/.vitepress/scripts/fetch-avatars.ts
··· 1 - import { join, resolve } from 'pathe' 1 + import { fileURLToPath } from 'node:url' 2 + import { dirname, join, resolve } from 'pathe' 2 3 import fs from 'fs-extra' 3 4 import { $fetch } from 'ohmyfetch' 4 5 5 - const docsDir = resolve(__dirname, '../..') 6 + const docsDir = resolve(dirname(fileURLToPath(import.meta.url)), '../..') 6 7 const pathContributors = resolve(docsDir, '.vitepress/contributor-names.json') 7 8 const dirAvatars = resolve(docsDir, 'public/user-avatars/') 8 9 const dirSponsors = resolve(docsDir, 'public/sponsors/')
+32 -6
docs/.vitepress/scripts/pwa.ts
··· 1 - import type { VitePWAOptions } from 'vite-plugin-pwa' 1 + import type { PwaOptions } from '@vite-pwa/vitepress' 2 2 import { 3 3 githubusercontentRegex, 4 4 pwaFontStylesRegex, ··· 8 8 vitestShortName, 9 9 } from '../meta' 10 10 11 - export const pwa: Partial<VitePWAOptions> = { 11 + export const pwa: PwaOptions = { 12 12 outDir: '.vitepress/dist', 13 13 registerType: 'autoUpdate', 14 14 // include all static assets under public/ ··· 18 18 short_name: vitestShortName, 19 19 description: vitestDescription, 20 20 theme_color: '#ffffff', 21 + start_url: '/', 22 + lang: 'en-US', 23 + dir: 'ltr', 24 + orientation: 'natural', 25 + display: 'standalone', 26 + display_override: ['window-controls-overlay'], 27 + categories: ['development', 'developer tools'], 21 28 icons: [ 29 + { 30 + src: 'pwa-64x64.png', 31 + sizes: '64x64', 32 + type: 'image/png', 33 + }, 22 34 { 23 35 src: 'pwa-192x192.png', 24 36 sizes: '192x192', ··· 28 40 src: 'pwa-512x512.png', 29 41 sizes: '512x512', 30 42 type: 'image/png', 43 + purpose: 'any', 31 44 }, 32 45 { 33 - src: 'logo.svg', 34 - sizes: '165x165', 35 - type: 'image/svg', 36 - purpose: 'any maskable', 46 + src: 'maskable-icon.png', 47 + sizes: '512x512', 48 + type: 'image/png', 49 + purpose: 'maskable', 37 50 }, 38 51 ], 52 + screenshots: [{ 53 + src: 'og.png', 54 + sizes: '2258x1185', 55 + type: 'image/png', 56 + label: `Screenshot of ${vitestName}`, 57 + }], 58 + handle_links: 'preferred', 59 + launch_handler: { 60 + client_mode: ['navigate-existing', 'auto'], 61 + }, 62 + edge_side_panel: { 63 + preferred_width: 480, 64 + }, 39 65 }, 40 66 workbox: { 41 67 navigateFallbackDenylist: [/^\/new$/],
+6 -1
docs/.vitepress/scripts/transformHead.ts
··· 13 13 }) 14 14 15 15 head.push(['link', { rel: 'prefetch', href: '/logo.svg' }]) 16 - if (home) 16 + if (home) { 17 + head.push(['link', { rel: 'prefetch', href: '/logo-shadow.svg' }]) 18 + head.push(['link', { rel: 'prefetch', href: '/sponsors/antfu.svg' }]) 19 + head.push(['link', { rel: 'prefetch', href: '/sponsors/sheremet-va.svg' }]) 20 + head.push(['link', { rel: 'prefetch', href: '/sponsors/patak-dev.svg' }]) 17 21 head.push(['link', { rel: 'prefetch', href: '/netlify.svg' }]) 22 + } 18 23 19 24 return head 20 25 }
-2
docs/.vitepress/style/main.css
··· 74 74 min-height: unset; 75 75 } 76 76 } 77 - 78 -
-11
docs/.vitepress/style/vars.css
··· 19 19 --vp-c-text-light-2: rgba(56 56 56 / 70%); 20 20 /* fix contrast: lang name on gray code block */ 21 21 --vp-c-text-dark-3: rgba(180, 180, 180, 0.7); 22 - --vp-code-tab-divider: var(--vp-c-divider); 23 22 --vp-code-copy-code-bg: rgba(125,125,125,0.1); 24 23 --vp-code-copy-code-hover-bg: rgba(125,125,125,0.2); 25 24 --vp-c-disabled-bg: rgba(125,125,125,0.2); 26 - --vp-code-tab-text-color: var(--vp-c-text-2); 27 - --vp-code-tab-hover-text-color: var(--vp-c-text-1); 28 - --vp-code-copy-code-active-text: var(--vp-c-text-2); 29 25 } 30 26 31 27 .dark { ··· 39 35 --vp-c-text-dark-2: rgba(235, 235, 235, 0.60); 40 36 /* fix lang name: check the same above (this is the default) */ 41 37 --vp-c-text-dark-3: rgba(235, 235, 235, 0.38); 42 - --vp-code-tab-text-color: var(--vp-c-text-dark-2); 43 - --vp-code-tab-active-text-color: var(--vp-c-text-dark-1); 44 - --vp-code-tab-hover-text-color: var(--vp-c-text-dark-1); 45 - --vp-code-copy-code-active-text: var(--vp-c-text-dark-2); 46 38 } 47 39 48 40 /** ··· 59 51 --vp-button-brand-active-border: var(--vp-c-brand-light); 60 52 --vp-button-brand-active-text: var(--vp-c-text-dark-1); 61 53 --vp-button-brand-active-bg: var(--vp-button-brand-bg); 62 - --vp-code-tab-active-text-color: var(--vp-c-brand); 63 - --vp-code-tab-active-bar-color: var(--vp-c-brand-darker); 64 - --vp-code-tab-divider: var(--vp-c-brand); 65 54 } 66 55 67 56 /**
+10 -1
examples/vitesse/src/auto-import.d.ts
··· 1 - // Generated by 'unplugin-auto-import' 1 + /* eslint-disable */ 2 + /* prettier-ignore */ 3 + // @ts-nocheck 4 + // Generated by unplugin-auto-import 2 5 export {} 3 6 declare global { 4 7 const EffectScope: typeof import('vue')['EffectScope'] ··· 42 45 const toRaw: typeof import('vue')['toRaw'] 43 46 const toRef: typeof import('vue')['toRef'] 44 47 const toRefs: typeof import('vue')['toRefs'] 48 + const toValue: typeof import('vue')['toValue'] 45 49 const triggerRef: typeof import('vue')['triggerRef'] 46 50 const unref: typeof import('vue')['unref'] 47 51 const useAttrs: typeof import('vue')['useAttrs'] ··· 52 56 const watchEffect: typeof import('vue')['watchEffect'] 53 57 const watchPostEffect: typeof import('vue')['watchPostEffect'] 54 58 const watchSyncEffect: typeof import('vue')['watchSyncEffect'] 59 + } 60 + // for type re-export 61 + declare global { 62 + // @ts-ignore 63 + export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue' 55 64 }