From 0fa9337d5a58eb56eca07b1328b3a51fa2bb405f Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 26 Nov 2021 15:31:12 +0800 Subject: [PATCH 01/18] build: bump vue & vite deps --- package.json | 6 +- pnpm-lock.yaml | 334 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 275 insertions(+), 65 deletions(-) diff --git a/package.json b/package.json index 1c16d3d2..fac454d5 100644 --- a/package.json +++ b/package.json @@ -71,10 +71,10 @@ "dependencies": { "@docsearch/css": "^3.0.0-alpha.41", "@docsearch/js": "^3.0.0-alpha.41", - "@vitejs/plugin-vue": "^1.9.0", + "@vitejs/plugin-vue": "^1.10.1", "prismjs": "^1.25.0", - "vite": "^2.6.5", - "vue": "^3.2.19" + "vite": "^2.7.0-beta.8", + "vue": "^3.2.23" }, "devDependencies": { "@microsoft/api-extractor": "^7.18.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2a4c850..e4cda18a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ importers: '@types/markdown-it': ^12.0.1 '@types/node': ^15.6.1 '@types/polka': ^0.5.3 - '@vitejs/plugin-vue': ^1.9.0 + '@vitejs/plugin-vue': ^1.10.1 chalk: ^4.1.1 chokidar: ^3.5.1 compression: ^1.7.4 @@ -57,16 +57,16 @@ importers: sirv: ^1.0.12 ts-jest: ^27.0.1 typescript: ^4.3.2 - vite: ^2.6.5 - vue: ^3.2.19 + vite: ^2.7.0-beta.8 + vue: ^3.2.23 yorkie: ^2.0.0 dependencies: '@docsearch/css': 3.0.0-alpha.41 '@docsearch/js': 3.0.0-alpha.41 - '@vitejs/plugin-vue': 1.9.2_vite@2.6.5 + '@vitejs/plugin-vue': 1.10.1_vite@2.7.0-beta.8 prismjs: 1.25.0 - vite: 2.6.5 - vue: 3.2.19 + vite: 2.7.0-beta.8 + vue: 3.2.23 devDependencies: '@microsoft/api-extractor': 7.18.11 '@rollup/plugin-alias': 3.1.5_rollup@2.57.0 @@ -1311,96 +1311,96 @@ packages: '@types/yargs-parser': 20.2.1 dev: true - /@vitejs/plugin-vue/1.9.2_vite@2.6.5: - resolution: {integrity: sha512-QnUQJvGmY+YT9xTidLcjr6NAjKWNdSuul1M+BZ6uwTQaO5vpAY9USBncXESATk742dYMZGJenegJgeJhG/HMNQ==} + /@vitejs/plugin-vue/1.10.1_vite@2.7.0-beta.8: + resolution: {integrity: sha512-oL76QETMSpVE9jIScirGB2bYJEVU/+r+g+K7oG+sXPs9TZljqveoVRsmLyXlMZTjpQkLL8gz527cW80NMGVKJg==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 dependencies: - vite: 2.6.5 + vite: 2.7.0-beta.8 dev: false - /@vue/compiler-core/3.2.19: - resolution: {integrity: sha512-8dOPX0YOtaXol0Zf2cfLQ4NU/yHYl2H7DCKsLEZ7gdvPK6ZSEwGLJ7IdghhY2YEshEpC5RB9QKdC5I07z8Dtjg==} + /@vue/compiler-core/3.2.23: + resolution: {integrity: sha512-4ZhiI/orx+7EJ1B+0zjgvXMV2uRN+XBfG06UN2sJfND9rH5gtEQT3QmO4erum1o6Irl7y754W8/KSaDJh4EUQg==} dependencies: '@babel/parser': 7.15.7 - '@vue/shared': 3.2.19 + '@vue/shared': 3.2.23 estree-walker: 2.0.2 source-map: 0.6.1 dev: false - /@vue/compiler-dom/3.2.19: - resolution: {integrity: sha512-WzQoE8rfkFjPtIioc7SSgTsnz9g2oG61DU8KHnzPrRS7fW/lji6H2uCYJfp4Z6kZE8GjnHc1Ljwl3/gxDes0cw==} + /@vue/compiler-dom/3.2.23: + resolution: {integrity: sha512-X2Nw8QFc5lgoK3kio5ktM95nqmLUH+q+N/PbV4kCHzF1avqv/EGLnAhaaF0Iu4bewNvHJAAhhwPZFeoV/22nbw==} dependencies: - '@vue/compiler-core': 3.2.19 - '@vue/shared': 3.2.19 + '@vue/compiler-core': 3.2.23 + '@vue/shared': 3.2.23 dev: false - /@vue/compiler-sfc/3.2.19: - resolution: {integrity: sha512-pLlbgkO1UHTO02MSpa/sFOXUwIDxSMiKZ1ozE5n71CY4DM+YmI+G3gT/ZHZ46WBId7f3VTF/D8pGwMygcQbrQA==} + /@vue/compiler-sfc/3.2.23: + resolution: {integrity: sha512-Aw+pb50Q5zTjyvWod8mNKmYZDRGHJBptmNNWE+84ZxrzEztPgMz8cNYIzWGbwcFVkmJlhvioAMvKnB+LM/sjSA==} dependencies: '@babel/parser': 7.15.7 - '@vue/compiler-core': 3.2.19 - '@vue/compiler-dom': 3.2.19 - '@vue/compiler-ssr': 3.2.19 - '@vue/ref-transform': 3.2.19 - '@vue/shared': 3.2.19 + '@vue/compiler-core': 3.2.23 + '@vue/compiler-dom': 3.2.23 + '@vue/compiler-ssr': 3.2.23 + '@vue/ref-transform': 3.2.23 + '@vue/shared': 3.2.23 estree-walker: 2.0.2 magic-string: 0.25.7 postcss: 8.3.8 source-map: 0.6.1 dev: false - /@vue/compiler-ssr/3.2.19: - resolution: {integrity: sha512-oLon0Cn3O7WEYzzmzZavGoqXH+199LT+smdjBT3Uf3UX4HwDNuBFCmvL0TsqV9SQnIgKvBRbQ7lhbpnd4lqM3w==} + /@vue/compiler-ssr/3.2.23: + resolution: {integrity: sha512-Bqzn4jFyXPK1Ehqiq7e/czS8n62gtYF1Zfeu0DrR5uv+SBllh7LIvZjZU6+c8qbocAd3/T3I3gn2cZGmnDb6zg==} dependencies: - '@vue/compiler-dom': 3.2.19 - '@vue/shared': 3.2.19 + '@vue/compiler-dom': 3.2.23 + '@vue/shared': 3.2.23 dev: false - /@vue/reactivity/3.2.19: - resolution: {integrity: sha512-FtachoYs2SnyrWup5UikP54xDX6ZJ1s5VgHcJp4rkGoutU3Ry61jhs+nCX7J64zjX992Mh9gGUC0LqTs8q9vCA==} + /@vue/reactivity/3.2.23: + resolution: {integrity: sha512-8RGVr/5Kpgb/EkCjgHXqttgA5IMc6n0lIXFY4TVbMkzdXrvaIhzBd7Te44oIDsTSYVKZLpfHd6/wEnuDqE8vFw==} dependencies: - '@vue/shared': 3.2.19 + '@vue/shared': 3.2.23 dev: false - /@vue/ref-transform/3.2.19: - resolution: {integrity: sha512-03wwUnoIAeKti5IGGx6Vk/HEBJ+zUcm5wrUM3+PQsGf7IYnXTbeIfHHpx4HeSeWhnLAjqZjADQwW8uA4rBmVbg==} + /@vue/ref-transform/3.2.23: + resolution: {integrity: sha512-gW0GD2PSAs/th7mC7tPB/UwpIQxclbApVtsDtscDmOJXb2+cdu60ny+SuHNgfrlUT/JqWKQHq7jFKO4woxLNaA==} dependencies: '@babel/parser': 7.15.7 - '@vue/compiler-core': 3.2.19 - '@vue/shared': 3.2.19 + '@vue/compiler-core': 3.2.23 + '@vue/shared': 3.2.23 estree-walker: 2.0.2 magic-string: 0.25.7 dev: false - /@vue/runtime-core/3.2.19: - resolution: {integrity: sha512-qArZSWKxWsgKfxk9BelZ32nY0MZ31CAW2kUUyVJyxh4cTfHaXGbjiQB5JgsvKc49ROMNffv9t3/qjasQqAH+RQ==} + /@vue/runtime-core/3.2.23: + resolution: {integrity: sha512-wSI5lmY2kCGLf89iiygqxVh6/5bsawz78Me9n1x4U2bHnN0yf3PWyuhN0WgIE8VfEaF7e75E333uboNEIFjgkg==} dependencies: - '@vue/reactivity': 3.2.19 - '@vue/shared': 3.2.19 + '@vue/reactivity': 3.2.23 + '@vue/shared': 3.2.23 dev: false - /@vue/runtime-dom/3.2.19: - resolution: {integrity: sha512-hIRboxXwafeHhbZEkZYNV0MiJXPNf4fP0X6hM2TJb0vssz8BKhD9cF92BkRgZztTQevecbhk0gu4uAPJ3dxL9A==} + /@vue/runtime-dom/3.2.23: + resolution: {integrity: sha512-z6lp0888NkLmxD9j2sGoll8Kb7J743s8s6w7GbiyUc4WZwm0KJ35B4qTFDMoIU0G7CatS6Z+yRTpPHc6srtByg==} dependencies: - '@vue/runtime-core': 3.2.19 - '@vue/shared': 3.2.19 + '@vue/runtime-core': 3.2.23 + '@vue/shared': 3.2.23 csstype: 2.6.18 dev: false - /@vue/server-renderer/3.2.19_vue@3.2.19: - resolution: {integrity: sha512-A9FNT7fgQJXItwdzWREntAgWKVtKYuXHBKGev/H4+ByTu8vB7gQXGcim01QxaJshdNg4dYuH2tEBZXCNCNx+/w==} + /@vue/server-renderer/3.2.23_vue@3.2.23: + resolution: {integrity: sha512-mgQ2VAE5WjeZELJKNbwE69uiBNpN+3LyL0ZDki1bJWVwHD2fhPfx7pwyYuiucE81xz2LxVsyGxhKKUL997g8vw==} peerDependencies: - vue: 3.2.19 + vue: 3.2.23 dependencies: - '@vue/compiler-ssr': 3.2.19 - '@vue/shared': 3.2.19 - vue: 3.2.19 + '@vue/compiler-ssr': 3.2.23 + '@vue/shared': 3.2.23 + vue: 3.2.23 dev: false - /@vue/shared/3.2.19: - resolution: {integrity: sha512-Knqhx7WieLdVgwCAZgTVrDCXZ50uItuecLh9JdLC8O+a5ayaSyIQYveUK3hCRNC7ws5zalHmZwfdLMGaS8r4Ew==} + /@vue/shared/3.2.23: + resolution: {integrity: sha512-U+/Jefa0QfXUF2qVy9Dqlrb6HKJSr9/wJcM66wXmWcTOoqg7hOWzF4qruDle51pyF4x3wMn6TSH54UdjKjCKMA==} dev: false /JSONStream/1.3.5: @@ -2360,11 +2360,28 @@ packages: is-symbol: 1.0.4 dev: true + /esbuild-android-arm64/0.13.15: + resolution: {integrity: sha512-m602nft/XXeO8YQPUDVoHfjyRVPdPgjyyXOxZ44MK/agewFFkPa8tUo6lAzSWh5Ui5PB4KR9UIFTSBKh/RrCmg==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: false + optional: true + /esbuild-android-arm64/0.13.4: resolution: {integrity: sha512-elDJt+jNyoHFId0/dKsuVYUPke3EcquIyUwzJCH17a3ERglN3A9aMBI5zbz+xNZ+FbaDNdpn0RaJHCFLbZX+fA==} cpu: [arm64] os: [android] requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.13.15: + resolution: {integrity: sha512-ihOQRGs2yyp7t5bArCwnvn2Atr6X4axqPpEdCFPVp7iUj4cVSdisgvEKdNR7yH3JDjW6aQDw40iQFoTqejqxvQ==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: false optional: true /esbuild-darwin-64/0.13.4: @@ -2372,6 +2389,15 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.13.15: + resolution: {integrity: sha512-i1FZssTVxUqNlJ6cBTj5YQj4imWy3m49RZRnHhLpefFIh0To05ow9DTrXROTE1urGTQCloFUXTX8QfGJy1P8dQ==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false optional: true /esbuild-darwin-arm64/0.13.4: @@ -2379,6 +2405,15 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.13.15: + resolution: {integrity: sha512-G3dLBXUI6lC6Z09/x+WtXBXbOYQZ0E8TDBqvn7aMaOCzryJs8LyVXKY4CPnHFXZAbSwkCbqiPuSQ1+HhrNk7EA==} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: false optional: true /esbuild-freebsd-64/0.13.4: @@ -2386,6 +2421,15 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.13.15: + resolution: {integrity: sha512-KJx0fzEDf1uhNOZQStV4ujg30WlnwqUASaGSFPhznLM/bbheu9HhqZ6mJJZM32lkyfGJikw0jg7v3S0oAvtvQQ==} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: false optional: true /esbuild-freebsd-arm64/0.13.4: @@ -2393,6 +2437,15 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.13.15: + resolution: {integrity: sha512-ZvTBPk0YWCLMCXiFmD5EUtB30zIPvC5Itxz0mdTu/xZBbbHJftQgLWY49wEPSn2T/TxahYCRDWun5smRa0Tu+g==} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: false optional: true /esbuild-linux-32/0.13.4: @@ -2400,6 +2453,15 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.13.15: + resolution: {integrity: sha512-eCKzkNSLywNeQTRBxJRQ0jxRCl2YWdMB3+PkWFo2BBQYC5mISLIVIjThNtn6HUNqua1pnvgP5xX0nHbZbPj5oA==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false optional: true /esbuild-linux-64/0.13.4: @@ -2407,6 +2469,15 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.13.15: + resolution: {integrity: sha512-wUHttDi/ol0tD8ZgUMDH8Ef7IbDX+/UsWJOXaAyTdkT7Yy9ZBqPg8bgB/Dn3CZ9SBpNieozrPRHm0BGww7W/jA==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: false optional: true /esbuild-linux-arm/0.13.4: @@ -2414,6 +2485,15 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.13.15: + resolution: {integrity: sha512-bYpuUlN6qYU9slzr/ltyLTR9YTBS7qUDymO8SV7kjeNext61OdmqFAzuVZom+OLW1HPHseBfJ/JfdSlx8oTUoA==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false optional: true /esbuild-linux-arm64/0.13.4: @@ -2421,6 +2501,15 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.13.15: + resolution: {integrity: sha512-KlVjIG828uFPyJkO/8gKwy9RbXhCEUeFsCGOJBepUlpa7G8/SeZgncUEz/tOOUJTcWMTmFMtdd3GElGyAtbSWg==} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: false optional: true /esbuild-linux-mips64le/0.13.4: @@ -2428,6 +2517,15 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.13.15: + resolution: {integrity: sha512-h6gYF+OsaqEuBjeesTBtUPw0bmiDu7eAeuc2OEH9S6mV9/jPhPdhOWzdeshb0BskRZxPhxPOjqZ+/OqLcxQwEQ==} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: false optional: true /esbuild-linux-ppc64le/0.13.4: @@ -2435,6 +2533,23 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.13.15: + resolution: {integrity: sha512-3+yE9emwoevLMyvu+iR3rsa+Xwhie7ZEHMGDQ6dkqP/ndFzRHkobHUKTe+NCApSqG5ce2z4rFu+NX/UHnxlh3w==} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: false + optional: true + + /esbuild-openbsd-64/0.13.15: + resolution: {integrity: sha512-wTfvtwYJYAFL1fSs8yHIdf5GEE4NkbtbXtjLWjM3Cw8mmQKqsg8kTiqJ9NJQe5NX/5Qlo7Xd9r1yKMMkHllp5g==} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: false optional: true /esbuild-openbsd-64/0.13.4: @@ -2442,6 +2557,15 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.13.15: + resolution: {integrity: sha512-lbivT9Bx3t1iWWrSnGyBP9ODriEvWDRiweAs69vI+miJoeKwHWOComSRukttbuzjZ8r1q0mQJ8Z7yUsDJ3hKdw==} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: false optional: true /esbuild-sunos-64/0.13.4: @@ -2449,6 +2573,15 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.13.15: + resolution: {integrity: sha512-fDMEf2g3SsJ599MBr50cY5ve5lP1wyVwTe6aLJsM01KtxyKkB4UT+fc5MXQFn3RLrAIAZOG+tHC+yXObpSn7Nw==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false optional: true /esbuild-windows-32/0.13.4: @@ -2456,6 +2589,15 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.13.15: + resolution: {integrity: sha512-9aMsPRGDWCd3bGjUIKG/ZOJPKsiztlxl/Q3C1XDswO6eNX/Jtwu4M+jb6YDH9hRSUflQWX0XKAfWzgy5Wk54JQ==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false optional: true /esbuild-windows-64/0.13.4: @@ -2463,6 +2605,15 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.13.15: + resolution: {integrity: sha512-zzvyCVVpbwQQATaf3IG8mu1IwGEiDxKkYUdA4FpoCHi1KtPa13jeScYDjlW0Qh+ebWzpKfR2ZwvqAQkSWNcKjA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: false optional: true /esbuild-windows-arm64/0.13.4: @@ -2470,8 +2621,33 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true optional: true + /esbuild/0.13.15: + resolution: {integrity: sha512-raCxt02HBKv8RJxE8vkTSCXGIyKHdEdGfUmiYb8wnabnaEmHzyW7DCHb5tEN0xU8ryqg5xw54mcwnYkC4x3AIw==} + hasBin: true + requiresBuild: true + optionalDependencies: + esbuild-android-arm64: 0.13.15 + esbuild-darwin-64: 0.13.15 + esbuild-darwin-arm64: 0.13.15 + esbuild-freebsd-64: 0.13.15 + esbuild-freebsd-arm64: 0.13.15 + esbuild-linux-32: 0.13.15 + esbuild-linux-64: 0.13.15 + esbuild-linux-arm: 0.13.15 + esbuild-linux-arm64: 0.13.15 + esbuild-linux-mips64le: 0.13.15 + esbuild-linux-ppc64le: 0.13.15 + esbuild-netbsd-64: 0.13.15 + esbuild-openbsd-64: 0.13.15 + esbuild-sunos-64: 0.13.15 + esbuild-windows-32: 0.13.15 + esbuild-windows-64: 0.13.15 + esbuild-windows-arm64: 0.13.15 + dev: false + /esbuild/0.13.4: resolution: {integrity: sha512-wMA5eUwpavTBiNl+It6j8OQuKVh69l6z4DKDLzoTIqC+gChnPpcmqdA8WNHptUHRnfyML+mKEQPlW7Mybj8gHg==} hasBin: true @@ -2493,6 +2669,7 @@ packages: esbuild-windows-32: 0.13.4 esbuild-windows-64: 0.13.4 esbuild-windows-arm64: 0.13.4 + dev: true /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -4204,6 +4381,12 @@ packages: hasBin: true dev: false + /nanoid/3.1.30: + resolution: {integrity: sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: false + /natural-compare/1.4.0: resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=} dev: true @@ -4485,6 +4668,10 @@ packages: engines: {node: '>=8'} dev: true + /picocolors/1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + dev: false + /picomatch/2.3.0: resolution: {integrity: sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==} engines: {node: '>=8.6'} @@ -4542,6 +4729,15 @@ packages: source-map-js: 0.6.2 dev: false + /postcss/8.4.1: + resolution: {integrity: sha512-WqLs/TTzXdG+/A4ZOOK9WDZiikrRaiA+eoEb/jz2DT9KUhMNHgP7yKPO8vwi62ZCsb703Gwb7BMZwDzI54Y2Ag==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.1.30 + picocolors: 1.0.0 + source-map-js: 1.0.1 + dev: false + /preact/10.5.15: resolution: {integrity: sha512-5chK29n6QcJc3m1lVrKQSQ+V7K1Gb8HeQY6FViQ5AxCAEGu3DaHffWNDkC9+miZgsLvbvU9rxbV1qinGHMHzqA==} dev: false @@ -4777,6 +4973,15 @@ packages: hasBin: true optionalDependencies: fsevents: 2.3.2 + dev: true + + /rollup/2.60.1: + resolution: {integrity: sha512-akwfnpjY0rXEDSn1UTVfKXJhPsEBu+imi1gqBA1ZkHGydUnkV/fWCC90P7rDaLEW8KTwBcS1G3N4893Ndz+jwg==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: false /run-parallel/1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -4921,6 +5126,11 @@ packages: engines: {node: '>=0.10.0'} dev: false + /source-map-js/1.0.1: + resolution: {integrity: sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==} + engines: {node: '>=0.10.0'} + dev: false + /source-map-support/0.5.20: resolution: {integrity: sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==} dependencies: @@ -5399,8 +5609,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite/2.6.5: - resolution: {integrity: sha512-vavXMChDUb4Oh4YunrK9BrH5Ox74cu0eOp0VuyI/iqFz1FqbWD72So2c9I87lLL2n0+6tFPV5ijow60KrtxuZg==} + /vite/2.7.0-beta.8: + resolution: {integrity: sha512-3WMItImjXnvTIihClFBy5t0n+OnXA8EreSy3dIAOFZZhf89VSIwmCcG+SS2qexlegneQz5ewiv6bzvYoKNjmZw==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -5415,22 +5625,22 @@ packages: stylus: optional: true dependencies: - esbuild: 0.13.4 - postcss: 8.3.8 + esbuild: 0.13.15 + postcss: 8.4.1 resolve: 1.20.0 - rollup: 2.57.0 + rollup: 2.60.1 optionalDependencies: fsevents: 2.3.2 dev: false - /vue/3.2.19: - resolution: {integrity: sha512-6KAMdIfAtlK+qohTIUE4urwAv4A3YRuo8uAbByApUmiB0CziGAAPs6qVugN6oHPia8YIafHB/37K0O6KZ7sGmA==} + /vue/3.2.23: + resolution: {integrity: sha512-MGp9JZC37lzGhwSu6c1tQxrQbXbw7XKFqtYh7SFwNrNK899FPxGAHwSHMZijMChTSC3uZrD2BGO/3EHOgMJ0cw==} dependencies: - '@vue/compiler-dom': 3.2.19 - '@vue/compiler-sfc': 3.2.19 - '@vue/runtime-dom': 3.2.19 - '@vue/server-renderer': 3.2.19_vue@3.2.19 - '@vue/shared': 3.2.19 + '@vue/compiler-dom': 3.2.23 + '@vue/compiler-sfc': 3.2.23 + '@vue/runtime-dom': 3.2.23 + '@vue/server-renderer': 3.2.23_vue@3.2.23 + '@vue/shared': 3.2.23 dev: false /w3c-hr-time/1.0.2: From 3ca3548e37520c3aa3e0de5511fdf0e4fb430c96 Mon Sep 17 00:00:00 2001 From: Chen Kai Date: Mon, 29 Nov 2021 16:02:08 +0800 Subject: [PATCH 02/18] docs: update docsBranch (#452) --- docs/.vitepress/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index c7f6e5aa..8dff7daf 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -6,7 +6,7 @@ export default { themeConfig: { repo: 'vuejs/vitepress', docsDir: 'docs', - + docsBranch: 'main', editLinks: true, editLinkText: 'Edit this page on GitHub', lastUpdated: 'Last Updated', From 7c530a50ad24cb201377b82624c9f783ad232308 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 1 Dec 2021 14:03:38 +0100 Subject: [PATCH 03/18] docs: typo --- docs/config/algolia-search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/algolia-search.md b/docs/config/algolia-search.md index a4e7bb45..9f5208f6 100644 --- a/docs/config/algolia-search.md +++ b/docs/config/algolia-search.md @@ -47,7 +47,7 @@ module.exports = { } ``` -VitePress will automatically add a `language` _facetFilter_ to the `searchParams.facetFilter` array with the correct language value. **Make sure to properly configure your DocSearch config as well** by adding `language` as a _custom attribute for faceting_ and by setting it based on the `lang` attribute of the `` element. Here is a short example of DocSearch config: +VitePress will automatically add a `language` _facetFilter_ to the `searchParameters.facetFilter` array with the correct language value. **Make sure to properly configure your DocSearch config as well** by adding `language` as a _custom attribute for faceting_ and by setting it based on the `lang` attribute of the `` element. Here is a short example of DocSearch config: ```json { From a051e66f1ae211174cf470d4430427dc0189194b Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 5 Dec 2021 23:28:34 +0800 Subject: [PATCH 04/18] fix: lazy require @vitejs/plugin-vue to respect NODE_ENV --- src/node/plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 46f8a7e0..056796a0 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -6,7 +6,6 @@ import { MarkdownCompileResult } from './markdownToVue' import { DIST_CLIENT_PATH, APP_PATH, SITE_DATA_REQUEST_PATH } from './alias' -import createVuePlugin from '@vitejs/plugin-vue' import { slash } from './utils/slash' import { OutputAsset, OutputChunk } from 'rollup' @@ -55,7 +54,8 @@ export function createVitePressPlugin( publicDir: string ) => MarkdownCompileResult - const vuePlugin = createVuePlugin({ + // lazy require plugin-vue to respect NODE_ENV in @vue/compiler-x + const vuePlugin = require('@vitejs/plugin-vue')({ include: [/\.vue$/, /\.md$/], ...userVuePluginOptions }) From abb1b578cdedf184ae386ce455e60a23672adfcb Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 5 Dec 2021 23:29:41 +0800 Subject: [PATCH 05/18] fix: improve createStaticVNode match for rollup codegen compat --- src/node/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 056796a0..903e456d 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -11,7 +11,7 @@ import { OutputAsset, OutputChunk } from 'rollup' const hashRE = /\.(\w+)\.js$/ const staticInjectMarkerRE = - /\b(const _hoisted_\d+ = \/\*#__PURE__\*\/createStaticVNode)\("(.*)", (\d+)\)/g + /\b(const _hoisted_\d+ = \/\*(?:#|@)__PURE__\*\/\s*createStaticVNode)\("(.*)", (\d+)\)/g const staticStripRE = /__VP_STATIC_START__.*?__VP_STATIC_END__/g const staticRestoreRE = /__VP_STATIC_(START|END)__/g From bc486aae563fd77f38da44d9ae3ea28c021f6df0 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 5 Dec 2021 23:43:34 +0800 Subject: [PATCH 06/18] fix: static string strip regex for mulitiline static strings this can happen when the template contains `
` tags
---
 src/node/plugin.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/node/plugin.ts b/src/node/plugin.ts
index 903e456d..b84e7ff6 100644
--- a/src/node/plugin.ts
+++ b/src/node/plugin.ts
@@ -12,7 +12,7 @@ import { OutputAsset, OutputChunk } from 'rollup'
 const hashRE = /\.(\w+)\.js$/
 const staticInjectMarkerRE =
   /\b(const _hoisted_\d+ = \/\*(?:#|@)__PURE__\*\/\s*createStaticVNode)\("(.*)", (\d+)\)/g
-const staticStripRE = /__VP_STATIC_START__.*?__VP_STATIC_END__/g
+const staticStripRE = /__VP_STATIC_START__[^]*?__VP_STATIC_END__/g
 const staticRestoreRE = /__VP_STATIC_(START|END)__/g
 
 // matches client-side js blocks in MPA mode.
@@ -226,6 +226,7 @@ export function createVitePressPlugin(
               fileName: chunk.fileName.replace(/\.js$/, '.lean.js'),
               code: chunk.code.replace(staticStripRE, ``)
             }
+
             // remove static markers from original code
             chunk.code = chunk.code.replace(staticRestoreRE, '')
           }

From dfa7c0525f010994437acb060867d9ca1572867d Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Mon, 6 Dec 2021 01:40:41 +0800
Subject: [PATCH 07/18] fix: handle potential string quote mismatch in
 generated code

---
 src/node/plugin.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/node/plugin.ts b/src/node/plugin.ts
index b84e7ff6..e348c94f 100644
--- a/src/node/plugin.ts
+++ b/src/node/plugin.ts
@@ -12,7 +12,7 @@ import { OutputAsset, OutputChunk } from 'rollup'
 const hashRE = /\.(\w+)\.js$/
 const staticInjectMarkerRE =
   /\b(const _hoisted_\d+ = \/\*(?:#|@)__PURE__\*\/\s*createStaticVNode)\("(.*)", (\d+)\)/g
-const staticStripRE = /__VP_STATIC_START__[^]*?__VP_STATIC_END__/g
+const staticStripRE = /['"`]__VP_STATIC_START__[^]*?__VP_STATIC_END__['"`]/g
 const staticRestoreRE = /__VP_STATIC_(START|END)__/g
 
 // matches client-side js blocks in MPA mode.
@@ -224,7 +224,7 @@ export function createVitePressPlugin(
             bundle[name + '-lean'] = {
               ...chunk,
               fileName: chunk.fileName.replace(/\.js$/, '.lean.js'),
-              code: chunk.code.replace(staticStripRE, ``)
+              code: chunk.code.replace(staticStripRE, `""`)
             }
 
             // remove static markers from original code

From 591163a9106949b7a3d6d489e02218c7810ff2b2 Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Mon, 6 Dec 2021 17:06:53 +0800
Subject: [PATCH 08/18] bump vue

---
 package.json   |   2 +-
 pnpm-lock.yaml | 126 ++++++++++++++++++++-----------------------------
 2 files changed, 52 insertions(+), 76 deletions(-)

diff --git a/package.json b/package.json
index fac454d5..5d57c5ef 100644
--- a/package.json
+++ b/package.json
@@ -74,7 +74,7 @@
     "@vitejs/plugin-vue": "^1.10.1",
     "prismjs": "^1.25.0",
     "vite": "^2.7.0-beta.8",
-    "vue": "^3.2.23"
+    "vue": "^3.2.24"
   },
   "devDependencies": {
     "@microsoft/api-extractor": "^7.18.9",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e4cda18a..fec74fd1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -58,7 +58,7 @@ importers:
       ts-jest: ^27.0.1
       typescript: ^4.3.2
       vite: ^2.7.0-beta.8
-      vue: ^3.2.23
+      vue: ^3.2.24
       yorkie: ^2.0.0
     dependencies:
       '@docsearch/css': 3.0.0-alpha.41
@@ -66,7 +66,7 @@ importers:
       '@vitejs/plugin-vue': 1.10.1_vite@2.7.0-beta.8
       prismjs: 1.25.0
       vite: 2.7.0-beta.8
-      vue: 3.2.23
+      vue: 3.2.24
     devDependencies:
       '@microsoft/api-extractor': 7.18.11
       '@rollup/plugin-alias': 3.1.5_rollup@2.57.0
@@ -1320,87 +1320,87 @@ packages:
       vite: 2.7.0-beta.8
     dev: false
 
-  /@vue/compiler-core/3.2.23:
-    resolution: {integrity: sha512-4ZhiI/orx+7EJ1B+0zjgvXMV2uRN+XBfG06UN2sJfND9rH5gtEQT3QmO4erum1o6Irl7y754W8/KSaDJh4EUQg==}
+  /@vue/compiler-core/3.2.24:
+    resolution: {integrity: sha512-A0SxB2HAggKzP57LDin5gfgWOTwFyGCtQ5MTMNBADnfQYALWnYuC8kMI0DhRSplGTWRvn9Z2DAnG8f35BnojuA==}
     dependencies:
       '@babel/parser': 7.15.7
-      '@vue/shared': 3.2.23
+      '@vue/shared': 3.2.24
       estree-walker: 2.0.2
       source-map: 0.6.1
     dev: false
 
-  /@vue/compiler-dom/3.2.23:
-    resolution: {integrity: sha512-X2Nw8QFc5lgoK3kio5ktM95nqmLUH+q+N/PbV4kCHzF1avqv/EGLnAhaaF0Iu4bewNvHJAAhhwPZFeoV/22nbw==}
+  /@vue/compiler-dom/3.2.24:
+    resolution: {integrity: sha512-KQEm8r0JFsrNNIfbD28pcwMvHpcJcwjVR1XWFcD0yyQ8eREd7IXhT7J6j7iNCSE/TIo78NOvkwbyX+lnIm836w==}
     dependencies:
-      '@vue/compiler-core': 3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/compiler-core': 3.2.24
+      '@vue/shared': 3.2.24
     dev: false
 
-  /@vue/compiler-sfc/3.2.23:
-    resolution: {integrity: sha512-Aw+pb50Q5zTjyvWod8mNKmYZDRGHJBptmNNWE+84ZxrzEztPgMz8cNYIzWGbwcFVkmJlhvioAMvKnB+LM/sjSA==}
+  /@vue/compiler-sfc/3.2.24:
+    resolution: {integrity: sha512-YGPcIvVJp2qTPkuT6kT43Eo1xjstyY4bmuiSV31my4bQMBFVR26ANmifUSt759Blok71gK0WzfIZHbcOKYOeKA==}
     dependencies:
       '@babel/parser': 7.15.7
-      '@vue/compiler-core': 3.2.23
-      '@vue/compiler-dom': 3.2.23
-      '@vue/compiler-ssr': 3.2.23
-      '@vue/ref-transform': 3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/compiler-core': 3.2.24
+      '@vue/compiler-dom': 3.2.24
+      '@vue/compiler-ssr': 3.2.24
+      '@vue/ref-transform': 3.2.24
+      '@vue/shared': 3.2.24
       estree-walker: 2.0.2
       magic-string: 0.25.7
-      postcss: 8.3.8
+      postcss: 8.4.1
       source-map: 0.6.1
     dev: false
 
-  /@vue/compiler-ssr/3.2.23:
-    resolution: {integrity: sha512-Bqzn4jFyXPK1Ehqiq7e/czS8n62gtYF1Zfeu0DrR5uv+SBllh7LIvZjZU6+c8qbocAd3/T3I3gn2cZGmnDb6zg==}
+  /@vue/compiler-ssr/3.2.24:
+    resolution: {integrity: sha512-E1HHShNsGVWXxs68LDOUuI+Bzak9W/Ier/366aKDBFuwvfwgruwq6abhMfj6pSDZpwZ/PXnfliyl/m7qBSq6gw==}
     dependencies:
-      '@vue/compiler-dom': 3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/compiler-dom': 3.2.24
+      '@vue/shared': 3.2.24
     dev: false
 
-  /@vue/reactivity/3.2.23:
-    resolution: {integrity: sha512-8RGVr/5Kpgb/EkCjgHXqttgA5IMc6n0lIXFY4TVbMkzdXrvaIhzBd7Te44oIDsTSYVKZLpfHd6/wEnuDqE8vFw==}
+  /@vue/reactivity/3.2.24:
+    resolution: {integrity: sha512-5eVsO9wfQ5erCMSRBjpqLkkI+LglJS7E0oLZJs2gsChpvOjH2Uwt3Hk1nVv0ywStnWg71Ykn3SyQwtnl7PknOQ==}
     dependencies:
-      '@vue/shared': 3.2.23
+      '@vue/shared': 3.2.24
     dev: false
 
-  /@vue/ref-transform/3.2.23:
-    resolution: {integrity: sha512-gW0GD2PSAs/th7mC7tPB/UwpIQxclbApVtsDtscDmOJXb2+cdu60ny+SuHNgfrlUT/JqWKQHq7jFKO4woxLNaA==}
+  /@vue/ref-transform/3.2.24:
+    resolution: {integrity: sha512-j6oNbsGLvea2rF8GQB9w6q7UFL1So7J+t6ducaMeWPSyjYZ+slWpwPVK6mmyghg5oGqC41R+HC5BV036Y0KhXQ==}
     dependencies:
       '@babel/parser': 7.15.7
-      '@vue/compiler-core': 3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/compiler-core': 3.2.24
+      '@vue/shared': 3.2.24
       estree-walker: 2.0.2
       magic-string: 0.25.7
     dev: false
 
-  /@vue/runtime-core/3.2.23:
-    resolution: {integrity: sha512-wSI5lmY2kCGLf89iiygqxVh6/5bsawz78Me9n1x4U2bHnN0yf3PWyuhN0WgIE8VfEaF7e75E333uboNEIFjgkg==}
+  /@vue/runtime-core/3.2.24:
+    resolution: {integrity: sha512-ReI06vGgYuW0G8FlOcAOzMklVDJSxKuRhYzT8j+a8BTfs1945kxo1Th28BPvasyYx8J+LMeZ0HqpPH9yGXvWvg==}
     dependencies:
-      '@vue/reactivity': 3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/reactivity': 3.2.24
+      '@vue/shared': 3.2.24
     dev: false
 
-  /@vue/runtime-dom/3.2.23:
-    resolution: {integrity: sha512-z6lp0888NkLmxD9j2sGoll8Kb7J743s8s6w7GbiyUc4WZwm0KJ35B4qTFDMoIU0G7CatS6Z+yRTpPHc6srtByg==}
+  /@vue/runtime-dom/3.2.24:
+    resolution: {integrity: sha512-piqsabtIEUKkMGSJlOyKUonZEDtdwOpR6teQ8EKbH8PX9sxfAt9snLnFJldUhhyYrLIyDtnjwajfJ7/XtpD4JA==}
     dependencies:
-      '@vue/runtime-core': 3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/runtime-core': 3.2.24
+      '@vue/shared': 3.2.24
       csstype: 2.6.18
     dev: false
 
-  /@vue/server-renderer/3.2.23_vue@3.2.23:
-    resolution: {integrity: sha512-mgQ2VAE5WjeZELJKNbwE69uiBNpN+3LyL0ZDki1bJWVwHD2fhPfx7pwyYuiucE81xz2LxVsyGxhKKUL997g8vw==}
+  /@vue/server-renderer/3.2.24_vue@3.2.24:
+    resolution: {integrity: sha512-DqiCRDxTbv67Hw5ImiqnLIQbPGtIwWLLfEcVHoEnu1f21EMTB6LfoS69EQddd8VyfN5kfX3Fmz27/hrFPpRaMQ==}
     peerDependencies:
-      vue: 3.2.23
+      vue: 3.2.24
     dependencies:
-      '@vue/compiler-ssr': 3.2.23
-      '@vue/shared': 3.2.23
-      vue: 3.2.23
+      '@vue/compiler-ssr': 3.2.24
+      '@vue/shared': 3.2.24
+      vue: 3.2.24
     dev: false
 
-  /@vue/shared/3.2.23:
-    resolution: {integrity: sha512-U+/Jefa0QfXUF2qVy9Dqlrb6HKJSr9/wJcM66wXmWcTOoqg7hOWzF4qruDle51pyF4x3wMn6TSH54UdjKjCKMA==}
+  /@vue/shared/3.2.24:
+    resolution: {integrity: sha512-BUgRiZCkCrqDps5aQ9av05xcge3rn092ztKIh17tHkeEFgP4zfXMQWBA2zfdoCdCEdBL26xtOv+FZYiOp9RUDA==}
     dev: false
 
   /JSONStream/1.3.5:
@@ -4371,16 +4371,6 @@ packages:
     resolution: {integrity: sha512-2nMHqg1x5PU+unxX7PGY7AuYxl2qDx7PSrTRjizr8sxdd3l/3hBuWWaki62qmtYm2U5i4Z5E7GbjlyDFhs9/EQ==}
     dev: true
 
-  /nanocolors/0.2.3:
-    resolution: {integrity: sha512-RxGTOApG8prHMA08UBMOT6qYzcBBW2EMBv7SRBqoXg/Dqp6G3yT7kLy1tpFuYLO+5h7eajmdiIHJA8oewN58XQ==}
-    dev: false
-
-  /nanoid/3.1.25:
-    resolution: {integrity: sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==}
-    engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
-    hasBin: true
-    dev: false
-
   /nanoid/3.1.30:
     resolution: {integrity: sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==}
     engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
@@ -4720,15 +4710,6 @@ packages:
       trouter: 2.0.1
     dev: true
 
-  /postcss/8.3.8:
-    resolution: {integrity: sha512-GT5bTjjZnwDifajzczOC+r3FI3Cu+PgPvrsjhQdRqa2kTJ4968/X9CUce9xttIB0xOs5c6xf0TCWZo/y9lF6bA==}
-    engines: {node: ^10 || ^12 || >=14}
-    dependencies:
-      nanocolors: 0.2.3
-      nanoid: 3.1.25
-      source-map-js: 0.6.2
-    dev: false
-
   /postcss/8.4.1:
     resolution: {integrity: sha512-WqLs/TTzXdG+/A4ZOOK9WDZiikrRaiA+eoEb/jz2DT9KUhMNHgP7yKPO8vwi62ZCsb703Gwb7BMZwDzI54Y2Ag==}
     engines: {node: ^10 || ^12 || >=14}
@@ -5121,11 +5102,6 @@ packages:
       is-fullwidth-code-point: 3.0.0
     dev: true
 
-  /source-map-js/0.6.2:
-    resolution: {integrity: sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==}
-    engines: {node: '>=0.10.0'}
-    dev: false
-
   /source-map-js/1.0.1:
     resolution: {integrity: sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==}
     engines: {node: '>=0.10.0'}
@@ -5633,14 +5609,14 @@ packages:
       fsevents: 2.3.2
     dev: false
 
-  /vue/3.2.23:
-    resolution: {integrity: sha512-MGp9JZC37lzGhwSu6c1tQxrQbXbw7XKFqtYh7SFwNrNK899FPxGAHwSHMZijMChTSC3uZrD2BGO/3EHOgMJ0cw==}
+  /vue/3.2.24:
+    resolution: {integrity: sha512-PvCklXNfcUMyeP/a9nME27C32IipwUDoS45rDyKn5+RQrWyjL+0JAJtf98HL6y9bfqQRTlYjSowWEB1nXxvG5Q==}
     dependencies:
-      '@vue/compiler-dom': 3.2.23
-      '@vue/compiler-sfc': 3.2.23
-      '@vue/runtime-dom': 3.2.23
-      '@vue/server-renderer': 3.2.23_vue@3.2.23
-      '@vue/shared': 3.2.23
+      '@vue/compiler-dom': 3.2.24
+      '@vue/compiler-sfc': 3.2.24
+      '@vue/runtime-dom': 3.2.24
+      '@vue/server-renderer': 3.2.24_vue@3.2.24
+      '@vue/shared': 3.2.24
     dev: false
 
   /w3c-hr-time/1.0.2:

From 5a2e253f98da1c1d7308f7eb392110b7f544e5c8 Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Mon, 6 Dec 2021 17:07:32 +0800
Subject: [PATCH 09/18] release: v0.20.2

---
 CHANGELOG.md | 13 +++++++++++++
 package.json |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 53c13239..a937312a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,16 @@
+## [0.20.2](https://github.com/vuejs/vitepress/compare/v0.20.1...v0.20.2) (2021-12-06)
+
+### Bug Fixes
+
+- handle potential string quote mismatch in generated code ([dfa7c05](https://github.com/vuejs/vitepress/commit/dfa7c0525f010994437acb060867d9ca1572867d))
+- improve createStaticVNode match for rollup codegen compat ([abb1b57](https://github.com/vuejs/vitepress/commit/abb1b578cdedf184ae386ce455e60a23672adfcb))
+- lazy require @vitejs/plugin-vue to respect NODE_ENV ([a051e66](https://github.com/vuejs/vitepress/commit/a051e66f1ae211174cf470d4430427dc0189194b))
+- static string strip regex for mulitiline static strings ([bc486aa](https://github.com/vuejs/vitepress/commit/bc486aae563fd77f38da44d9ae3ea28c021f6df0))
+
+### Features
+
+- upgrade docsearch version ([#441](https://github.com/vuejs/vitepress/issues/441)) ([1b245e2](https://github.com/vuejs/vitepress/commit/1b245e22d8a00ea7c01c052ac1ea3d8d94aaeefb))
+
 ## [0.20.1](https://github.com/vuejs/vitepress/compare/v0.20.0...v0.20.1) (2021-11-05)
 
 ### Bug Fixes
diff --git a/package.json b/package.json
index 5d57c5ef..438aaca1 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vitepress",
-  "version": "0.20.1",
+  "version": "0.20.2",
   "description": "Vite & Vue powered static site generator",
   "main": "dist/node/index.js",
   "typings": "types/index.d.ts",

From d54c7d8c56973dac138bfe96ff16dfab162ef64b Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Tue, 7 Dec 2021 21:37:38 +0800
Subject: [PATCH 10/18] feat: expose createMarkdownRenderer

---
 src/node/index.ts             | 1 +
 src/node/markdown/markdown.ts | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/node/index.ts b/src/node/index.ts
index 8781ffab..f671e921 100644
--- a/src/node/index.ts
+++ b/src/node/index.ts
@@ -2,5 +2,6 @@ export * from './server'
 export * from './build/build'
 export * from './serve/serve'
 export * from './config'
+export * from './markdown/markdown'
 
 export type { SiteData, HeadConfig, LocaleConfig } from '../../types/shared'
diff --git a/src/node/markdown/markdown.ts b/src/node/markdown/markdown.ts
index 3338b240..ff8a637f 100644
--- a/src/node/markdown/markdown.ts
+++ b/src/node/markdown/markdown.ts
@@ -44,6 +44,8 @@ export interface MarkdownRenderer {
   render: (src: string, env?: any) => { html: string; data: any }
 }
 
+export type { Header }
+
 export const createMarkdownRenderer = (
   srcDir: string,
   options: MarkdownOptions = {}

From 801921ff0b6fe23da3e2a50c7be6f142282512c8 Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Tue, 7 Dec 2021 21:45:39 +0800
Subject: [PATCH 11/18] build: generate public trimmed dts

---
 api-extractor.client.json | 2 +-
 api-extractor.node.json   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api-extractor.client.json b/api-extractor.client.json
index 1dbc3a78..76d72a58 100644
--- a/api-extractor.client.json
+++ b/api-extractor.client.json
@@ -7,7 +7,7 @@
 
   "dtsRollup": {
     "enabled": true,
-    "untrimmedFilePath": "./dist/client/index.d.ts"
+    "publicTrimmedFilePath": "./dist/client/index.d.ts"
   },
 
   "apiReport": {
diff --git a/api-extractor.node.json b/api-extractor.node.json
index eb7509a1..76d72a58 100644
--- a/api-extractor.node.json
+++ b/api-extractor.node.json
@@ -7,7 +7,7 @@
 
   "dtsRollup": {
     "enabled": true,
-    "untrimmedFilePath": "./dist/node/index.d.ts"
+    "publicTrimmedFilePath": "./dist/client/index.d.ts"
   },
 
   "apiReport": {

From 02d1a5f034fdedfb9d516c4e6441d61129032245 Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Tue, 7 Dec 2021 21:46:05 +0800
Subject: [PATCH 12/18] release: v0.20.3

---
 CHANGELOG.md | 6 ++++++
 package.json | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index a937312a..d6f82ce8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## [0.20.3](https://github.com/vuejs/vitepress/compare/v0.20.2...v0.20.3) (2021-12-07)
+
+### Features
+
+- expose createMarkdownRenderer ([d54c7d8](https://github.com/vuejs/vitepress/commit/d54c7d8c56973dac138bfe96ff16dfab162ef64b))
+
 ## [0.20.2](https://github.com/vuejs/vitepress/compare/v0.20.1...v0.20.2) (2021-12-06)
 
 ### Bug Fixes
diff --git a/package.json b/package.json
index 438aaca1..0bacdd9b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vitepress",
-  "version": "0.20.2",
+  "version": "0.20.3",
   "description": "Vite & Vue powered static site generator",
   "main": "dist/node/index.js",
   "typings": "types/index.d.ts",

From ae11dc0b59ac90375079f1ebf0efacf1b1e58e8d Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Tue, 7 Dec 2021 21:59:58 +0800
Subject: [PATCH 13/18] fix(build): fix typing files

---
 api-extractor.node.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api-extractor.node.json b/api-extractor.node.json
index 76d72a58..92e11e79 100644
--- a/api-extractor.node.json
+++ b/api-extractor.node.json
@@ -7,7 +7,7 @@
 
   "dtsRollup": {
     "enabled": true,
-    "publicTrimmedFilePath": "./dist/client/index.d.ts"
+    "publicTrimmedFilePath": "./dist/node/index.d.ts"
   },
 
   "apiReport": {

From 42d2e32f40872a7369fb5c5a838d1760fdd80ea6 Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Tue, 7 Dec 2021 22:00:32 +0800
Subject: [PATCH 14/18] release: v0.20.4

---
 CHANGELOG.md | 6 ++++++
 package.json | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d6f82ce8..275dde99 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## [0.20.4](https://github.com/vuejs/vitepress/compare/v0.20.3...v0.20.4) (2021-12-07)
+
+### Bug Fixes
+
+- **build:** fix typing files ([ae11dc0](https://github.com/vuejs/vitepress/commit/ae11dc0b59ac90375079f1ebf0efacf1b1e58e8d))
+
 ## [0.20.3](https://github.com/vuejs/vitepress/compare/v0.20.2...v0.20.3) (2021-12-07)
 
 ### Features
diff --git a/package.json b/package.json
index 0bacdd9b..58db9be8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vitepress",
-  "version": "0.20.3",
+  "version": "0.20.4",
   "description": "Vite & Vue powered static site generator",
   "main": "dist/node/index.js",
   "typings": "types/index.d.ts",

From 7072a2491a58ebb64dcf0ec292d7106a229035e8 Mon Sep 17 00:00:00 2001
From: meteorlxy 
Date: Wed, 8 Dec 2021 02:17:24 +0800
Subject: [PATCH 15/18] docs: update contributing guide (#461)

---
 .github/contributing.md | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/.github/contributing.md b/.github/contributing.md
index 9604e8ed..02139849 100644
--- a/.github/contributing.md
+++ b/.github/contributing.md
@@ -7,7 +7,7 @@ Hi! We're really excited that you are interested in contributing to VitePress. B
 
 ## Pull Request Guidelines
 
-- Checkout a topic branch from the relevant branch, e.g. `master`, and merge back against that branch.
+- Checkout a topic branch from the relevant branch, e.g. `main`, and merge back against that branch.
 
 - If adding a new feature:
 
@@ -23,26 +23,27 @@ Hi! We're really excited that you are interested in contributing to VitePress. B
 
 ## Development Setup
 
-You will need [Yarn](https://classic.yarnpkg.com/en/docs/cli/install/)/
+You will need [pnpm](https://pnpm.io/)
 
 After cloning the repo, run:
 
 ```bash
-$ yarn # install the dependencies of the project
+# install the dependencies of the project
+$ pnpm install
 ```
 
 ### Setup VitePress Dev Environment
 
-You may start VitePress local dev environment by running `yarn dev`.
+You may start VitePress local dev environment by running `pnpm run dev`.
 
 ```bash
-$ yarn dev
+$ pnpm run dev
 ```
 
-The easiest way to start testing out VitePress is to tweak the VitePress docs. You may run `yarn docs` folder to boot up VitePress documentation site locally, with live reloading of the source code.
+The easiest way to start testing out VitePress is to tweak the VitePress docs. You may run `pnpm run docs` folder to boot up VitePress documentation site locally, with live reloading of the source code.
 
 ```bash
-$ yarn docs
+$ pnpm run docs
 ```
 
 After executing the above command, visit http://localhost:3000 and try modifying the source code. You'll get live update.

From 6d40b37317e0e5cd437f4d48cd1bc0ded9a62769 Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Sun, 12 Dec 2021 16:17:29 +0800
Subject: [PATCH 16/18] chore: bump vite & vue

---
 package.json   |   6 +-
 pnpm-lock.yaml | 146 ++++++++++++++++++++++++++-----------------------
 2 files changed, 80 insertions(+), 72 deletions(-)

diff --git a/package.json b/package.json
index 58db9be8..0112c8f9 100644
--- a/package.json
+++ b/package.json
@@ -71,10 +71,10 @@
   "dependencies": {
     "@docsearch/css": "^3.0.0-alpha.41",
     "@docsearch/js": "^3.0.0-alpha.41",
-    "@vitejs/plugin-vue": "^1.10.1",
+    "@vitejs/plugin-vue": "^2.0.0",
     "prismjs": "^1.25.0",
-    "vite": "^2.7.0-beta.8",
-    "vue": "^3.2.24"
+    "vite": "^2.7.0",
+    "vue": "^3.2.26"
   },
   "devDependencies": {
     "@microsoft/api-extractor": "^7.18.9",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index fec74fd1..d8a8ed72 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -21,7 +21,7 @@ importers:
       '@types/markdown-it': ^12.0.1
       '@types/node': ^15.6.1
       '@types/polka': ^0.5.3
-      '@vitejs/plugin-vue': ^1.10.1
+      '@vitejs/plugin-vue': ^2.0.0
       chalk: ^4.1.1
       chokidar: ^3.5.1
       compression: ^1.7.4
@@ -57,16 +57,16 @@ importers:
       sirv: ^1.0.12
       ts-jest: ^27.0.1
       typescript: ^4.3.2
-      vite: ^2.7.0-beta.8
-      vue: ^3.2.24
+      vite: ^2.7.0
+      vue: ^3.2.26
       yorkie: ^2.0.0
     dependencies:
       '@docsearch/css': 3.0.0-alpha.41
       '@docsearch/js': 3.0.0-alpha.41
-      '@vitejs/plugin-vue': 1.10.1_vite@2.7.0-beta.8
+      '@vitejs/plugin-vue': 2.0.0_vite@2.7.1+vue@3.2.26
       prismjs: 1.25.0
-      vite: 2.7.0-beta.8
-      vue: 3.2.24
+      vite: 2.7.1
+      vue: 3.2.26
     devDependencies:
       '@microsoft/api-extractor': 7.18.11
       '@rollup/plugin-alias': 3.1.5_rollup@2.57.0
@@ -266,7 +266,7 @@ packages:
       '@babel/helper-compilation-targets': 7.15.4_@babel+core@7.15.5
       '@babel/helper-module-transforms': 7.15.7
       '@babel/helpers': 7.15.4
-      '@babel/parser': 7.15.7
+      '@babel/parser': 7.16.4
       '@babel/template': 7.15.4
       '@babel/traverse': 7.15.4
       '@babel/types': 7.15.6
@@ -427,6 +427,12 @@ packages:
     resolution: {integrity: sha512-rycZXvQ+xS9QyIcJ9HXeDWf1uxqlbVFAUq0Rq0dbc50Zb/+wUe/ehyfzGfm9KZZF0kBejYgxltBXocP+gKdL2g==}
     engines: {node: '>=6.0.0'}
     hasBin: true
+    dev: true
+
+  /@babel/parser/7.16.4:
+    resolution: {integrity: sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==}
+    engines: {node: '>=6.0.0'}
+    hasBin: true
 
   /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.15.5:
     resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==}
@@ -552,7 +558,7 @@ packages:
     engines: {node: '>=6.9.0'}
     dependencies:
       '@babel/code-frame': 7.14.5
-      '@babel/parser': 7.15.7
+      '@babel/parser': 7.16.4
       '@babel/types': 7.15.6
     dev: true
 
@@ -565,7 +571,7 @@ packages:
       '@babel/helper-function-name': 7.15.4
       '@babel/helper-hoist-variables': 7.15.4
       '@babel/helper-split-export-declaration': 7.15.4
-      '@babel/parser': 7.15.7
+      '@babel/parser': 7.16.4
       '@babel/types': 7.15.6
       debug: 4.3.2
       globals: 11.12.0
@@ -1037,7 +1043,7 @@ packages:
   /@types/babel__core/7.1.16:
     resolution: {integrity: sha512-EAEHtisTMM+KaKwfWdC3oyllIqswlznXCIVCt7/oRNrh+DhgT4UEBNC/jlADNjvw7UnfbcdkGQcPVZ1xYiLcrQ==}
     dependencies:
-      '@babel/parser': 7.15.7
+      '@babel/parser': 7.16.4
       '@babel/types': 7.15.6
       '@types/babel__generator': 7.6.3
       '@types/babel__template': 7.4.1
@@ -1053,7 +1059,7 @@ packages:
   /@types/babel__template/7.4.1:
     resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==}
     dependencies:
-      '@babel/parser': 7.15.7
+      '@babel/parser': 7.16.4
       '@babel/types': 7.15.6
     dev: true
 
@@ -1311,96 +1317,98 @@ packages:
       '@types/yargs-parser': 20.2.1
     dev: true
 
-  /@vitejs/plugin-vue/1.10.1_vite@2.7.0-beta.8:
-    resolution: {integrity: sha512-oL76QETMSpVE9jIScirGB2bYJEVU/+r+g+K7oG+sXPs9TZljqveoVRsmLyXlMZTjpQkLL8gz527cW80NMGVKJg==}
+  /@vitejs/plugin-vue/2.0.0_vite@2.7.1+vue@3.2.26:
+    resolution: {integrity: sha512-4Xn1h9OcaAf7KYrvz2oEi52fCCCLcCzyr3pDOrzYTWrs0DrzNOXt9fT5IiGb1f/uoNTdX3aAkXVGNXrGkzF/zw==}
     engines: {node: '>=12.0.0'}
     peerDependencies:
       vite: ^2.5.10
+      vue: ^3.2.25
     dependencies:
-      vite: 2.7.0-beta.8
+      vite: 2.7.1
+      vue: 3.2.26
     dev: false
 
-  /@vue/compiler-core/3.2.24:
-    resolution: {integrity: sha512-A0SxB2HAggKzP57LDin5gfgWOTwFyGCtQ5MTMNBADnfQYALWnYuC8kMI0DhRSplGTWRvn9Z2DAnG8f35BnojuA==}
+  /@vue/compiler-core/3.2.26:
+    resolution: {integrity: sha512-N5XNBobZbaASdzY9Lga2D9Lul5vdCIOXvUMd6ThcN8zgqQhPKfCV+wfAJNNJKQkSHudnYRO2gEB+lp0iN3g2Tw==}
     dependencies:
-      '@babel/parser': 7.15.7
-      '@vue/shared': 3.2.24
+      '@babel/parser': 7.16.4
+      '@vue/shared': 3.2.26
       estree-walker: 2.0.2
       source-map: 0.6.1
     dev: false
 
-  /@vue/compiler-dom/3.2.24:
-    resolution: {integrity: sha512-KQEm8r0JFsrNNIfbD28pcwMvHpcJcwjVR1XWFcD0yyQ8eREd7IXhT7J6j7iNCSE/TIo78NOvkwbyX+lnIm836w==}
+  /@vue/compiler-dom/3.2.26:
+    resolution: {integrity: sha512-smBfaOW6mQDxcT3p9TKT6mE22vjxjJL50GFVJiI0chXYGU/xzC05QRGrW3HHVuJrmLTLx5zBhsZ2dIATERbarg==}
     dependencies:
-      '@vue/compiler-core': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/compiler-core': 3.2.26
+      '@vue/shared': 3.2.26
     dev: false
 
-  /@vue/compiler-sfc/3.2.24:
-    resolution: {integrity: sha512-YGPcIvVJp2qTPkuT6kT43Eo1xjstyY4bmuiSV31my4bQMBFVR26ANmifUSt759Blok71gK0WzfIZHbcOKYOeKA==}
+  /@vue/compiler-sfc/3.2.26:
+    resolution: {integrity: sha512-ePpnfktV90UcLdsDQUh2JdiTuhV0Skv2iYXxfNMOK/F3Q+2BO0AulcVcfoksOpTJGmhhfosWfMyEaEf0UaWpIw==}
     dependencies:
-      '@babel/parser': 7.15.7
-      '@vue/compiler-core': 3.2.24
-      '@vue/compiler-dom': 3.2.24
-      '@vue/compiler-ssr': 3.2.24
-      '@vue/ref-transform': 3.2.24
-      '@vue/shared': 3.2.24
+      '@babel/parser': 7.16.4
+      '@vue/compiler-core': 3.2.26
+      '@vue/compiler-dom': 3.2.26
+      '@vue/compiler-ssr': 3.2.26
+      '@vue/reactivity-transform': 3.2.26
+      '@vue/shared': 3.2.26
       estree-walker: 2.0.2
       magic-string: 0.25.7
       postcss: 8.4.1
       source-map: 0.6.1
     dev: false
 
-  /@vue/compiler-ssr/3.2.24:
-    resolution: {integrity: sha512-E1HHShNsGVWXxs68LDOUuI+Bzak9W/Ier/366aKDBFuwvfwgruwq6abhMfj6pSDZpwZ/PXnfliyl/m7qBSq6gw==}
+  /@vue/compiler-ssr/3.2.26:
+    resolution: {integrity: sha512-2mywLX0ODc4Zn8qBoA2PDCsLEZfpUGZcyoFRLSOjyGGK6wDy2/5kyDOWtf0S0UvtoyVq95OTSGIALjZ4k2q/ag==}
     dependencies:
-      '@vue/compiler-dom': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/compiler-dom': 3.2.26
+      '@vue/shared': 3.2.26
     dev: false
 
-  /@vue/reactivity/3.2.24:
-    resolution: {integrity: sha512-5eVsO9wfQ5erCMSRBjpqLkkI+LglJS7E0oLZJs2gsChpvOjH2Uwt3Hk1nVv0ywStnWg71Ykn3SyQwtnl7PknOQ==}
+  /@vue/reactivity-transform/3.2.26:
+    resolution: {integrity: sha512-XKMyuCmzNA7nvFlYhdKwD78rcnmPb7q46uoR00zkX6yZrUmcCQ5OikiwUEVbvNhL5hBJuvbSO95jB5zkUon+eQ==}
     dependencies:
-      '@vue/shared': 3.2.24
+      '@babel/parser': 7.16.4
+      '@vue/compiler-core': 3.2.26
+      '@vue/shared': 3.2.26
+      estree-walker: 2.0.2
+      magic-string: 0.25.7
     dev: false
 
-  /@vue/ref-transform/3.2.24:
-    resolution: {integrity: sha512-j6oNbsGLvea2rF8GQB9w6q7UFL1So7J+t6ducaMeWPSyjYZ+slWpwPVK6mmyghg5oGqC41R+HC5BV036Y0KhXQ==}
+  /@vue/reactivity/3.2.26:
+    resolution: {integrity: sha512-h38bxCZLW6oFJVDlCcAiUKFnXI8xP8d+eO0pcDxx+7dQfSPje2AO6M9S9QO6MrxQB7fGP0DH0dYQ8ksf6hrXKQ==}
     dependencies:
-      '@babel/parser': 7.15.7
-      '@vue/compiler-core': 3.2.24
-      '@vue/shared': 3.2.24
-      estree-walker: 2.0.2
-      magic-string: 0.25.7
+      '@vue/shared': 3.2.26
     dev: false
 
-  /@vue/runtime-core/3.2.24:
-    resolution: {integrity: sha512-ReI06vGgYuW0G8FlOcAOzMklVDJSxKuRhYzT8j+a8BTfs1945kxo1Th28BPvasyYx8J+LMeZ0HqpPH9yGXvWvg==}
+  /@vue/runtime-core/3.2.26:
+    resolution: {integrity: sha512-BcYi7qZ9Nn+CJDJrHQ6Zsmxei2hDW0L6AB4vPvUQGBm2fZyC0GXd/4nVbyA2ubmuhctD5RbYY8L+5GUJszv9mQ==}
     dependencies:
-      '@vue/reactivity': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/reactivity': 3.2.26
+      '@vue/shared': 3.2.26
     dev: false
 
-  /@vue/runtime-dom/3.2.24:
-    resolution: {integrity: sha512-piqsabtIEUKkMGSJlOyKUonZEDtdwOpR6teQ8EKbH8PX9sxfAt9snLnFJldUhhyYrLIyDtnjwajfJ7/XtpD4JA==}
+  /@vue/runtime-dom/3.2.26:
+    resolution: {integrity: sha512-dY56UIiZI+gjc4e8JQBwAifljyexfVCkIAu/WX8snh8vSOt/gMSEGwPRcl2UpYpBYeyExV8WCbgvwWRNt9cHhQ==}
     dependencies:
-      '@vue/runtime-core': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/runtime-core': 3.2.26
+      '@vue/shared': 3.2.26
       csstype: 2.6.18
     dev: false
 
-  /@vue/server-renderer/3.2.24_vue@3.2.24:
-    resolution: {integrity: sha512-DqiCRDxTbv67Hw5ImiqnLIQbPGtIwWLLfEcVHoEnu1f21EMTB6LfoS69EQddd8VyfN5kfX3Fmz27/hrFPpRaMQ==}
+  /@vue/server-renderer/3.2.26_vue@3.2.26:
+    resolution: {integrity: sha512-Jp5SggDUvvUYSBIvYEhy76t4nr1vapY/FIFloWmQzn7UxqaHrrBpbxrqPcTrSgGrcaglj0VBp22BKJNre4aA1w==}
     peerDependencies:
-      vue: 3.2.24
+      vue: 3.2.26
     dependencies:
-      '@vue/compiler-ssr': 3.2.24
-      '@vue/shared': 3.2.24
-      vue: 3.2.24
+      '@vue/compiler-ssr': 3.2.26
+      '@vue/shared': 3.2.26
+      vue: 3.2.26
     dev: false
 
-  /@vue/shared/3.2.24:
-    resolution: {integrity: sha512-BUgRiZCkCrqDps5aQ9av05xcge3rn092ztKIh17tHkeEFgP4zfXMQWBA2zfdoCdCEdBL26xtOv+FZYiOp9RUDA==}
+  /@vue/shared/3.2.26:
+    resolution: {integrity: sha512-vPV6Cq+NIWbH5pZu+V+2QHE9y1qfuTq49uNWw4f7FDEeZaDU2H2cx5jcUZOAKW7qTrUS4k6qZPbMy1x4N96nbA==}
     dev: false
 
   /JSONStream/1.3.5:
@@ -5585,8 +5593,8 @@ packages:
     engines: {node: '>= 0.8'}
     dev: true
 
-  /vite/2.7.0-beta.8:
-    resolution: {integrity: sha512-3WMItImjXnvTIihClFBy5t0n+OnXA8EreSy3dIAOFZZhf89VSIwmCcG+SS2qexlegneQz5ewiv6bzvYoKNjmZw==}
+  /vite/2.7.1:
+    resolution: {integrity: sha512-TDXXhcu5lyQ6uosK4ZWaOyB4VzOiizk0biitRzDzaEtgSUi8rVYPc4k1xgOjLSf0OuceDJmojFKXHOX9DB1WuQ==}
     engines: {node: '>=12.2.0'}
     hasBin: true
     peerDependencies:
@@ -5609,14 +5617,14 @@ packages:
       fsevents: 2.3.2
     dev: false
 
-  /vue/3.2.24:
-    resolution: {integrity: sha512-PvCklXNfcUMyeP/a9nME27C32IipwUDoS45rDyKn5+RQrWyjL+0JAJtf98HL6y9bfqQRTlYjSowWEB1nXxvG5Q==}
+  /vue/3.2.26:
+    resolution: {integrity: sha512-KD4lULmskL5cCsEkfhERVRIOEDrfEL9CwAsLYpzptOGjaGFNWo3BQ9g8MAb7RaIO71rmVOziZ/uEN/rHwcUIhg==}
     dependencies:
-      '@vue/compiler-dom': 3.2.24
-      '@vue/compiler-sfc': 3.2.24
-      '@vue/runtime-dom': 3.2.24
-      '@vue/server-renderer': 3.2.24_vue@3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/compiler-dom': 3.2.26
+      '@vue/compiler-sfc': 3.2.26
+      '@vue/runtime-dom': 3.2.26
+      '@vue/server-renderer': 3.2.26_vue@3.2.26
+      '@vue/shared': 3.2.26
     dev: false
 
   /w3c-hr-time/1.0.2:

From 7d94f403cd24d620f1e31eb51bc038e42e695d7f Mon Sep 17 00:00:00 2001
From: Evan You 
Date: Sun, 12 Dec 2021 16:18:12 +0800
Subject: [PATCH 17/18] release: v0.20.5

---
 CHANGELOG.md | 4 ++++
 package.json | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 275dde99..031001ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## [0.20.5](https://github.com/vuejs/vitepress/compare/v0.20.4...v0.20.5) (2021-12-12)
+
+- Bump vue & vite versions
+
 ## [0.20.4](https://github.com/vuejs/vitepress/compare/v0.20.3...v0.20.4) (2021-12-07)
 
 ### Bug Fixes
diff --git a/package.json b/package.json
index 0112c8f9..b7b7ad09 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vitepress",
-  "version": "0.20.4",
+  "version": "0.20.5",
   "description": "Vite & Vue powered static site generator",
   "main": "dist/node/index.js",
   "typings": "types/index.d.ts",

From 621d37a28b139ae32414314d9e26e7e97df2a468 Mon Sep 17 00:00:00 2001
From: Daniel Kreiseder 
Date: Sun, 12 Dec 2021 12:56:19 +0100
Subject: [PATCH 18/18] docs(guide): remove duplicate backticks (#463)

remove duplicate backticks in code sample of theming
---
 docs/guide/theming.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/guide/theming.md b/docs/guide/theming.md
index 5797f843..78d288f2 100644
--- a/docs/guide/theming.md
+++ b/docs/guide/theming.md
@@ -42,7 +42,7 @@ export default {
   NotFound: () => 'custom 404', // <- this is a Vue 3 functional component
   enhanceApp({ app, router, siteData }) {
     // app is the Vue 3 app instance from `createApp()`. router is VitePress'
-    // custom router. `siteData`` is a `ref`` of current site-level metadata.
+    // custom router. `siteData` is a `ref` of current site-level metadata.
   }
 }
 ```