From 8fddcaa57a700ff024ddfc699e43cb199a7ca12f Mon Sep 17 00:00:00 2001 From: ntnyq Date: Sun, 5 Jan 2025 08:58:28 +0800 Subject: [PATCH] feat: refactor `socialShareOptions` resolve --- docs/.vuepress/public/favicon.ico | Bin 4286 -> 15406 bytes docs/package.json | 2 +- pnpm-lock.yaml | 366 +++++++++++++-------------- src/client/components/SocialShare.ts | 13 +- src/node/helpers.ts | 50 +++- src/node/socialSharePlugin.ts | 16 +- src/shared/plugin.ts | 9 +- 7 files changed, 247 insertions(+), 209 deletions(-) diff --git a/docs/.vuepress/public/favicon.ico b/docs/.vuepress/public/favicon.ico index b65f98d1f9dac93320b3fa16c67f85d510180cb0..942a2d70185c9cc703b622f1af879cabc0307153 100644 GIT binary patch literal 15406 zcmeHucU;xkk|&Rz@ZQeMn>RZ%JG-;HpVx1ng5-Mv$>Aajq68H&2UIdD2na~LJ|>i2?w5)(T>*Lb|?`x0Ver~Xw;Yymw(uh1J)*Qxv5 z=QniYqqagI_=CmLU1fZJ0{Dt))KVcYABLKu`gh*jT>kIe=S9CQ)GdBjd8jn`T6f>* z^KYKvQ0ft^Ta|#N`Y|wG37sy=FRauT3_*U$H%qSdz z5Aw2#kQf$?P*2~7-i|Ig`U)zkUko96opmdFfer_T*dKx^xYh@dd~|GK5S0 z6Bv3jfx*WUxN+wV4rEj!(l2n-Z((cSwLL-g*2OLw_3syil;6jzD^@hM$GdRJOn`fp_BZ~G=IArsYyOL46E0&1%| zQIUB74>ES3J#Zs#-yh}1XfG*1-GM@6Wz-?i#dj0KuPwDmQC3EXFz*QBQv%XcDv+4i zg5tsxsEzVRby^BXm*KAo*ok)GS_HZJ_6h_7k{Yq!sLOBP!s91lv&nYkB&OhKRW)Km z({Q?L5V!7)pswa5(&IAF+SWtkry|V52T^_@uU)s>MzZ&{|mZ;Jf=@0569hz*Fq z`HoHu_YWX1^C0n~3@48sJdT{-655D{6DdCTg6TQp&jYb=PfBo{+>svQwLZGyn z?gt|`H3J2-1}#K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ec7TIrb4HEY7imabtpYufpVdqUVwT1/uiis5V4+qIEC4Vl5XObQ==} + sass-embedded-android-arm@1.83.1: + resolution: {integrity: sha512-FKfrmwDG84L5cfn8fmIew47qnCFFUdcoOTCzOw8ROItkRhLLH0hnIm6gEpG5T6OFf6kxzUxvE9D0FvYQUznZrw==} engines: {node: '>=14.0.0'} cpu: [arm] os: [android] - sass-embedded-android-ia32@1.83.0: - resolution: {integrity: sha512-5ATPdGo2SICqAhiJl/Z8KQ23zH4sGgobGgux0TnrNtt83uHZ+r+To/ubVJ7xTkZxed+KJZnIpolGD8dQyQqoTg==} + sass-embedded-android-ia32@1.83.1: + resolution: {integrity: sha512-AGlY2vFLJhF2hN0qOz12f4eDs6x0b5BUapOpgfRrqQLHIfJhxkvi39bInsiBgQ57U0jb4I7AaS2e2e+sj7+Rqw==} engines: {node: '>=14.0.0'} cpu: [ia32] os: [android] - sass-embedded-android-riscv64@1.83.0: - resolution: {integrity: sha512-aveknUOB8GZewOzVn2Uwk+DKcncTR50Q6vtzslNMGbYnxtgQNHzy8A1qVEviNUruex+pHofppeMK4iMPFAbiEQ==} + sass-embedded-android-riscv64@1.83.1: + resolution: {integrity: sha512-OyU4AnfAUVd/wBaT60XvHidmQdaEsVUnxvI71oyPM/id1v97aWTZX3SmGkwGb7uA/q6Soo2uNalgvOSNJn7PwA==} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [android] - sass-embedded-android-x64@1.83.0: - resolution: {integrity: sha512-WqIay/72ncyf9Ph4vS742J3a73wZihWmzFUwpn1OD6lme1Aj4eWzWIve5IVnlTEJgcZcDHu6ECID9IZgehJKoA==} + sass-embedded-android-x64@1.83.1: + resolution: {integrity: sha512-NY5rwffhF4TnhXVErZnfFIjHqU3MNoWxCuSHumRN3dDI8hp8+IF59W5+Qw9AARlTXvyb+D0u5653aLSea5F40w==} engines: {node: '>=14.0.0'} cpu: [x64] os: [android] - sass-embedded-darwin-arm64@1.83.0: - resolution: {integrity: sha512-XQl9QqgxFFIPm/CzHhmppse5o9ocxrbaAdC2/DAnlAqvYWBBtgFqPjGoYlej13h9SzfvNoogx+y9r+Ap+e+hYg==} + sass-embedded-darwin-arm64@1.83.1: + resolution: {integrity: sha512-w1SBcSkIgIWgUfB7IKcPoTbSwnS3Kag5PVv3e3xfW6ZCsDweYZLQntUd2WGgaoekdm1uIbVuvPxnDH2t880iGQ==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [darwin] - sass-embedded-darwin-x64@1.83.0: - resolution: {integrity: sha512-ERQ7Tvp1kFOW3ux4VDFIxb7tkYXHYc+zJpcrbs0hzcIO5ilIRU2tIOK1OrNwrFO6Qxyf7AUuBwYKLAtIU/Nz7g==} + sass-embedded-darwin-x64@1.83.1: + resolution: {integrity: sha512-RWrmLtUhEP5kvcGOAFdr99/ebZ/eW9z3FAktLldvgl2k96WSTC1Zr2ctL0E+Y+H3uLahEZsshIFk6RkVIRKIsA==} engines: {node: '>=14.0.0'} cpu: [x64] os: [darwin] - sass-embedded-linux-arm64@1.83.0: - resolution: {integrity: sha512-syEAVTJt4qhaMLxrSwOWa46zdqHJdnqJkLUK+t9aCr8xqBZLPxSUeIGji76uOehQZ1C+KGFj6n9xstHN6wzOJw==} + sass-embedded-linux-arm64@1.83.1: + resolution: {integrity: sha512-HVIytzj8OO18fmBY6SVRIYErcJ+Nd9a5RNF6uArav/CqvwPLATlUV8dwqSyWQIzSsQUhDF/vFIlJIoNLKKzD3A==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [linux] - sass-embedded-linux-arm@1.83.0: - resolution: {integrity: sha512-baG9RYBJxUFmqwDNC9h9ZFElgJoyO3jgHGjzEZ1wHhIS9anpG+zZQvO8bHx3dBpKEImX+DBeLX+CxsFR9n81gQ==} + sass-embedded-linux-arm@1.83.1: + resolution: {integrity: sha512-y7rHuRgjg2YM284rin068PsEdthPljSGb653Slut5Wba4A2IP11UNVraSl6Je2AYTuoPRjQX0g7XdsrjXlzC3g==} engines: {node: '>=14.0.0'} cpu: [arm] os: [linux] - sass-embedded-linux-ia32@1.83.0: - resolution: {integrity: sha512-RRBxQxMpoxu5+XcSSc6QR/o9asEwUzR8AbCS83RaXcdTIHTa/CccQsiAoDDoPlRsMTLqnzs0LKL4CfOsf7zBbA==} + sass-embedded-linux-ia32@1.83.1: + resolution: {integrity: sha512-/pc+jHllyvfaYYLTRCoXseRc4+V3Z7IDPqsviTcfVdICAoR9mgK2RtIuIZanhm1NP/lDylDOgvj1NtjcA2dNvg==} engines: {node: '>=14.0.0'} cpu: [ia32] os: [linux] - sass-embedded-linux-musl-arm64@1.83.0: - resolution: {integrity: sha512-Y7juhPHClUO2H5O+u+StRy6SEAcwZ+hTEk5WJdEmo1Bb1gDtfHvJaWB/iFZJ2tW0W1e865AZeUrC4OcOFjyAQA==} + sass-embedded-linux-musl-arm64@1.83.1: + resolution: {integrity: sha512-wjSIYYqdIQp3DjliSTYNFg04TVqQf/3Up/Stahol0Qf/TTjLkjHHtT2jnDaZI5GclHi2PVJqQF3wEGB8bGJMzQ==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [linux] - sass-embedded-linux-musl-arm@1.83.0: - resolution: {integrity: sha512-Yc7u2TelCfBab+PRob9/MNJFh3EooMiz4urvhejXkihTiKSHGCv5YqDdtWzvyb9tY2Jb7YtYREVuHwfdVn3dTQ==} + sass-embedded-linux-musl-arm@1.83.1: + resolution: {integrity: sha512-sFM8GXOVoeR91j9MiwNRcFXRpTA7u4185SaGuvUjcRMb84mHvtWOJPGDvgZqbWdVClBRJp6J7+CShliWngy/og==} engines: {node: '>=14.0.0'} cpu: [arm] os: [linux] - sass-embedded-linux-musl-ia32@1.83.0: - resolution: {integrity: sha512-arQeYwGmwXV8byx5G1PtSzZWW1jbkfR5qrIHMEbTFSAvAxpqjgSvCvrHMOFd73FcMxVaYh4BX9LQNbKinkbEdg==} + sass-embedded-linux-musl-ia32@1.83.1: + resolution: {integrity: sha512-iwhTH5gwmoGt3VH6dn4WV8N6eWvthKAvUX5XPURq7e9KEsc7QP8YNHagwaAJh7TAPopb32buyEg6oaUmzxUI+Q==} engines: {node: '>=14.0.0'} cpu: [ia32] os: [linux] - sass-embedded-linux-musl-riscv64@1.83.0: - resolution: {integrity: sha512-E6uzlIWz59rut+Z3XR6mLG915zNzv07ISvj3GUNZENdHM7dF8GQ//ANoIpl5PljMQKp89GnYdvo6kj2gnaBf/g==} + sass-embedded-linux-musl-riscv64@1.83.1: + resolution: {integrity: sha512-FjFNWHU1n0Q6GpK1lAHQL5WmzlPjL8DTVLkYW2A/dq8EsutAdi3GfpeyWZk9bte8kyWdmPUWG3BHlnQl22xdoA==} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [linux] - sass-embedded-linux-musl-x64@1.83.0: - resolution: {integrity: sha512-eAMK6tyGqvqr21r9g8BnR3fQc1rYFj85RGduSQ3xkITZ6jOAnOhuU94N5fwRS852Hpws0lXhET+7JHXgg3U18w==} + sass-embedded-linux-musl-x64@1.83.1: + resolution: {integrity: sha512-BUfYR5TIDvgGHWhxSIKwTJocXU88ECZ0BW89RJqtvr7m83fKdf5ylTFCOieU7BwcA7SORUeZzcQzVFIdPUM3BQ==} engines: {node: '>=14.0.0'} cpu: [x64] os: [linux] - sass-embedded-linux-riscv64@1.83.0: - resolution: {integrity: sha512-Ojpi78pTv02sy2fUYirRGXHLY3fPnV/bvwuC2i5LwPQw2LpCcFyFTtN0c5h4LJDk9P6wr+/ZB/JXU8tHIOlK+Q==} + sass-embedded-linux-riscv64@1.83.1: + resolution: {integrity: sha512-KOBGSpMrJi8y+H+za3vAAVQImPUvQa5eUrvTbbOl+wkU7WAGhOu8xrxgmYYiz3pZVBBcfRjz4I2jBcDFKJmWSw==} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [linux] - sass-embedded-linux-x64@1.83.0: - resolution: {integrity: sha512-3iLjlXdoPfgZRtX4odhRvka1BQs5mAXqfCtDIQBgh/o0JnGPzJIWWl9bYLpHxK8qb+uyVBxXYgXpI0sCzArBOw==} + sass-embedded-linux-x64@1.83.1: + resolution: {integrity: sha512-swUsMHKqlEU9dZQ/I5WADDaXz+QkmJS27x/Oeh+oz41YgZ0ppKd0l4Vwjn0LgOQn+rxH1zLFv6xXDycvj68F/w==} engines: {node: '>=14.0.0'} cpu: [x64] os: [linux] - sass-embedded-win32-arm64@1.83.0: - resolution: {integrity: sha512-iOHw/8/t2dlTW3lOFwG5eUbiwhEyGWawivlKWJ8lkXH7fjMpVx2VO9zCFAm8RvY9xOHJ9sf1L7g5bx3EnNP9BQ==} + sass-embedded-win32-arm64@1.83.1: + resolution: {integrity: sha512-6lONEBN5TaFD5L/y68zUugryXqm4RAFuLdaOPeZQRu+7ay/AmfhtFYfE5gRssnIcIx1nlcoq7zA3UX+SN2jo1Q==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [win32] - sass-embedded-win32-ia32@1.83.0: - resolution: {integrity: sha512-2PxNXJ8Pad4geVcTXY4rkyTr5AwbF8nfrCTDv0ulbTvPhzX2mMKEGcBZUXWn5BeHZTBc6whNMfS7d5fQXR9dDQ==} + sass-embedded-win32-ia32@1.83.1: + resolution: {integrity: sha512-HxZDkAE9n6Gb8Rz6xd67VHuo5FkUSQ4xPb7cHKa4pE0ndwH5Oc0uEhbqjJobpgmnuTm1rQYNU2nof1sFhy2MFA==} engines: {node: '>=14.0.0'} cpu: [ia32] os: [win32] - sass-embedded-win32-x64@1.83.0: - resolution: {integrity: sha512-muBXkFngM6eLTNqOV0FQi7Dv9s+YRQ42Yem26mosdan/GmJQc81deto6uDTgrYn+bzFNmiXcOdfm+0MkTWK3OQ==} + sass-embedded-win32-x64@1.83.1: + resolution: {integrity: sha512-5Q0aPfUaqRek8Ee1AqTUIC0o6yQSA8QwyhCgh7upsnHG3Ltm8pkJOYjzm+UgYPJeoMNppDjdDlRGQISE7qzd4g==} engines: {node: '>=14.0.0'} cpu: [x64] os: [win32] - sass-embedded@1.83.0: - resolution: {integrity: sha512-/8cYZeL39evUqe0o//193na51Q1VWZ61qhxioQvLJwOtWIrX+PgNhCyD8RSuTtmzc4+6+waFZf899bfp/MCUwA==} + sass-embedded@1.83.1: + resolution: {integrity: sha512-LdKG6nxLEzpXbMUt0if12PhUNonGvy91n7IWHOZRZjvA6AWm9oVdhpO+KEXN/Sc+jjGvQeQcav9+Z8DwmII/pA==} engines: {node: '>=16.0.0'} hasBin: true @@ -4107,14 +4107,14 @@ snapshots: '@nolyfill/is-core-module@1.0.39': {} - '@ntnyq/eslint-config@3.11.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(@typescript-eslint/utils@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(@vue/compiler-sfc@3.5.13)(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0))': + '@ntnyq/eslint-config@3.11.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(@typescript-eslint/utils@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(@vue/compiler-sfc@3.5.13)(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1))': dependencies: '@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.17.0(jiti@2.4.1)) '@eslint/js': 9.17.0 '@eslint/markdown': 6.2.1 '@stylistic/eslint-plugin': 2.12.1(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2) '@unocss/eslint-plugin': 0.65.3(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2) - '@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0)) + '@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1)) eslint: 9.17.0(jiti@2.4.1) eslint-config-flat-gitignore: 0.3.0(eslint@9.17.0(jiti@2.4.1)) eslint-flat-config-utils: 0.4.0 @@ -4489,18 +4489,18 @@ snapshots: - supports-color - typescript - '@vitejs/plugin-vue@5.2.1(vite@6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2))': + '@vitejs/plugin-vue@5.2.1(vite@6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2))': dependencies: - vite: 6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(yaml@2.6.1) + vite: 6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(yaml@2.6.1) vue: 3.5.13(typescript@5.7.2) - '@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0))': + '@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1))': dependencies: '@typescript-eslint/utils': 8.19.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2) eslint: 9.17.0(jiti@2.4.1) optionalDependencies: typescript: 5.7.2 - vitest: 2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0) + vitest: 2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1) '@vitest/expect@2.1.8': dependencies: @@ -4509,13 +4509,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.5)(sass-embedded@1.83.0))': + '@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.5)(sass-embedded@1.83.1))': dependencies: '@vitest/spy': 2.1.8 estree-walker: 3.0.3 magic-string: 0.30.15 optionalDependencies: - vite: 5.4.11(@types/node@22.10.5)(sass-embedded@1.83.0) + vite: 5.4.11(@types/node@22.10.5)(sass-embedded@1.83.1) '@vitest/pretty-format@2.1.8': dependencies: @@ -4616,9 +4616,9 @@ snapshots: '@vue/shared@3.5.13': {} - '@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1)': + '@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1)': dependencies: - '@vitejs/plugin-vue': 5.2.1(vite@6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2)) + '@vitejs/plugin-vue': 5.2.1(vite@6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2)) '@vuepress/bundlerutils': 2.0.0-rc.19(typescript@5.7.2) '@vuepress/client': 2.0.0-rc.19(typescript@5.7.2) '@vuepress/core': 2.0.0-rc.19(typescript@5.7.2) @@ -4629,7 +4629,7 @@ snapshots: postcss: 8.4.49 postcss-load-config: 6.0.1(jiti@2.4.1)(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.1) rollup: 4.28.1 - vite: 6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(yaml@2.6.1) + vite: 6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(yaml@2.6.1) vue: 3.5.13(typescript@5.7.2) vue-router: 4.5.0(vue@3.5.13(typescript@5.7.2)) transitivePeerDependencies: @@ -4692,7 +4692,7 @@ snapshots: - supports-color - typescript - '@vuepress/helper@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/helper@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: '@vue/shared': 3.5.13 '@vueuse/core': 12.2.0(typescript@5.7.2) @@ -4700,13 +4700,13 @@ snapshots: fflate: 0.8.2 gray-matter: 4.0.3 vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/highlighter-helper@2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/highlighter-helper@2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) optionalDependencies: '@vueuse/core': 12.2.0(typescript@5.7.2) @@ -4731,135 +4731,135 @@ snapshots: transitivePeerDependencies: - supports-color - '@vuepress/plugin-active-header-links@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-active-header-links@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: '@vueuse/core': 12.2.0(typescript@5.7.2) vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-back-to-top@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-back-to-top@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) '@vueuse/core': 12.2.0(typescript@5.7.2) vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-copy-code@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-copy-code@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) '@vueuse/core': 12.2.0(typescript@5.7.2) vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-git@2.0.0-rc.68(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-git@2.0.0-rc.68(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: execa: 9.5.2 - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) - '@vuepress/plugin-links-check@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-links-check@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-markdown-hint@2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-markdown-hint@2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: '@mdit/plugin-alert': 0.14.0(markdown-it@14.1.0) '@mdit/plugin-container': 0.14.0(markdown-it@14.1.0) '@types/markdown-it': 14.1.2 - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) '@vueuse/core': 12.2.0(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - markdown-it - typescript - '@vuepress/plugin-markdown-tab@2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-markdown-tab@2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: '@mdit/plugin-tab': 0.14.0(markdown-it@14.1.0) '@types/markdown-it': 14.1.2 - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) '@vueuse/core': 12.2.0(typescript@5.7.2) vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - markdown-it - typescript - '@vuepress/plugin-medium-zoom@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-medium-zoom@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) medium-zoom: 1.1.0 vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-nprogress@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-nprogress@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-palette@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-palette@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) chokidar: 3.6.0 - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-prismjs@2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-prismjs@2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/highlighter-helper': 2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/highlighter-helper': 2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) prismjs: 1.29.0 - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - '@vueuse/core' - typescript - '@vuepress/plugin-seo@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-seo@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-shiki@2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-shiki@2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: '@shikijs/transformers': 1.24.4 - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/highlighter-helper': 2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/highlighter-helper': 2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) nanoid: 5.0.9 shiki: 1.24.4 - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - '@vueuse/core' - typescript - '@vuepress/plugin-sitemap@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-sitemap@2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) sitemap: 8.0.0 - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript - '@vuepress/plugin-theme-data@2.0.0-rc.66(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + '@vuepress/plugin-theme-data@2.0.0-rc.66(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': dependencies: '@vue/devtools-api': 7.6.8 vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) transitivePeerDependencies: - typescript @@ -4867,28 +4867,28 @@ snapshots: dependencies: '@mdit-vue/types': 2.1.0 - '@vuepress/theme-default@2.0.0-rc.68(markdown-it@14.1.0)(sass-embedded@1.83.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': - dependencies: - '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-active-header-links': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-back-to-top': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-copy-code': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-git': 2.0.0-rc.68(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-links-check': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-markdown-hint': 2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-markdown-tab': 2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-medium-zoom': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-nprogress': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-palette': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-prismjs': 2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-seo': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-sitemap': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) - '@vuepress/plugin-theme-data': 2.0.0-rc.66(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/theme-default@2.0.0-rc.68(markdown-it@14.1.0)(sass-embedded@1.83.1)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2))': + dependencies: + '@vuepress/helper': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-active-header-links': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-back-to-top': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-copy-code': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-git': 2.0.0-rc.68(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-links-check': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-markdown-hint': 2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-markdown-tab': 2.0.0-rc.68(markdown-it@14.1.0)(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-medium-zoom': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-nprogress': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-palette': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-prismjs': 2.0.0-rc.68(@vueuse/core@12.2.0(typescript@5.7.2))(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-seo': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-sitemap': 2.0.0-rc.68(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) + '@vuepress/plugin-theme-data': 2.0.0-rc.66(typescript@5.7.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2)) '@vueuse/core': 12.2.0(typescript@5.7.2) vue: 3.5.13(typescript@5.7.2) - vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) + vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2) optionalDependencies: - sass-embedded: 1.83.0 + sass-embedded: 1.83.1 transitivePeerDependencies: - markdown-it - typescript @@ -6980,67 +6980,67 @@ snapshots: safer-buffer@2.1.2: {} - sass-embedded-android-arm64@1.83.0: + sass-embedded-android-arm64@1.83.1: optional: true - sass-embedded-android-arm@1.83.0: + sass-embedded-android-arm@1.83.1: optional: true - sass-embedded-android-ia32@1.83.0: + sass-embedded-android-ia32@1.83.1: optional: true - sass-embedded-android-riscv64@1.83.0: + sass-embedded-android-riscv64@1.83.1: optional: true - sass-embedded-android-x64@1.83.0: + sass-embedded-android-x64@1.83.1: optional: true - sass-embedded-darwin-arm64@1.83.0: + sass-embedded-darwin-arm64@1.83.1: optional: true - sass-embedded-darwin-x64@1.83.0: + sass-embedded-darwin-x64@1.83.1: optional: true - sass-embedded-linux-arm64@1.83.0: + sass-embedded-linux-arm64@1.83.1: optional: true - sass-embedded-linux-arm@1.83.0: + sass-embedded-linux-arm@1.83.1: optional: true - sass-embedded-linux-ia32@1.83.0: + sass-embedded-linux-ia32@1.83.1: optional: true - sass-embedded-linux-musl-arm64@1.83.0: + sass-embedded-linux-musl-arm64@1.83.1: optional: true - sass-embedded-linux-musl-arm@1.83.0: + sass-embedded-linux-musl-arm@1.83.1: optional: true - sass-embedded-linux-musl-ia32@1.83.0: + sass-embedded-linux-musl-ia32@1.83.1: optional: true - sass-embedded-linux-musl-riscv64@1.83.0: + sass-embedded-linux-musl-riscv64@1.83.1: optional: true - sass-embedded-linux-musl-x64@1.83.0: + sass-embedded-linux-musl-x64@1.83.1: optional: true - sass-embedded-linux-riscv64@1.83.0: + sass-embedded-linux-riscv64@1.83.1: optional: true - sass-embedded-linux-x64@1.83.0: + sass-embedded-linux-x64@1.83.1: optional: true - sass-embedded-win32-arm64@1.83.0: + sass-embedded-win32-arm64@1.83.1: optional: true - sass-embedded-win32-ia32@1.83.0: + sass-embedded-win32-ia32@1.83.1: optional: true - sass-embedded-win32-x64@1.83.0: + sass-embedded-win32-x64@1.83.1: optional: true - sass-embedded@1.83.0: + sass-embedded@1.83.1: dependencies: '@bufbuild/protobuf': 2.2.3 buffer-builder: 0.2.0 @@ -7051,26 +7051,26 @@ snapshots: sync-child-process: 1.0.2 varint: 6.0.0 optionalDependencies: - sass-embedded-android-arm: 1.83.0 - sass-embedded-android-arm64: 1.83.0 - sass-embedded-android-ia32: 1.83.0 - sass-embedded-android-riscv64: 1.83.0 - sass-embedded-android-x64: 1.83.0 - sass-embedded-darwin-arm64: 1.83.0 - sass-embedded-darwin-x64: 1.83.0 - sass-embedded-linux-arm: 1.83.0 - sass-embedded-linux-arm64: 1.83.0 - sass-embedded-linux-ia32: 1.83.0 - sass-embedded-linux-musl-arm: 1.83.0 - sass-embedded-linux-musl-arm64: 1.83.0 - sass-embedded-linux-musl-ia32: 1.83.0 - sass-embedded-linux-musl-riscv64: 1.83.0 - sass-embedded-linux-musl-x64: 1.83.0 - sass-embedded-linux-riscv64: 1.83.0 - sass-embedded-linux-x64: 1.83.0 - sass-embedded-win32-arm64: 1.83.0 - sass-embedded-win32-ia32: 1.83.0 - sass-embedded-win32-x64: 1.83.0 + sass-embedded-android-arm: 1.83.1 + sass-embedded-android-arm64: 1.83.1 + sass-embedded-android-ia32: 1.83.1 + sass-embedded-android-riscv64: 1.83.1 + sass-embedded-android-x64: 1.83.1 + sass-embedded-darwin-arm64: 1.83.1 + sass-embedded-darwin-x64: 1.83.1 + sass-embedded-linux-arm: 1.83.1 + sass-embedded-linux-arm64: 1.83.1 + sass-embedded-linux-ia32: 1.83.1 + sass-embedded-linux-musl-arm: 1.83.1 + sass-embedded-linux-musl-arm64: 1.83.1 + sass-embedded-linux-musl-ia32: 1.83.1 + sass-embedded-linux-musl-riscv64: 1.83.1 + sass-embedded-linux-musl-x64: 1.83.1 + sass-embedded-linux-riscv64: 1.83.1 + sass-embedded-linux-x64: 1.83.1 + sass-embedded-win32-arm64: 1.83.1 + sass-embedded-win32-ia32: 1.83.1 + sass-embedded-win32-x64: 1.83.1 sax@1.4.1: {} @@ -7418,13 +7418,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0): + vite-node@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.11(@types/node@22.10.5)(sass-embedded@1.83.0) + vite: 5.4.11(@types/node@22.10.5)(sass-embedded@1.83.1) transitivePeerDependencies: - '@types/node' - less @@ -7436,7 +7436,7 @@ snapshots: - supports-color - terser - vite@5.4.11(@types/node@22.10.5)(sass-embedded@1.83.0): + vite@5.4.11(@types/node@22.10.5)(sass-embedded@1.83.1): dependencies: esbuild: 0.21.5 postcss: 8.4.49 @@ -7444,9 +7444,9 @@ snapshots: optionalDependencies: '@types/node': 22.10.5 fsevents: 2.3.3 - sass-embedded: 1.83.0 + sass-embedded: 1.83.1 - vite@6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(yaml@2.6.1): + vite@6.0.3(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(yaml@2.6.1): dependencies: esbuild: 0.24.0 postcss: 8.4.49 @@ -7455,14 +7455,14 @@ snapshots: '@types/node': 22.10.5 fsevents: 2.3.3 jiti: 2.4.1 - sass-embedded: 1.83.0 + sass-embedded: 1.83.1 tsx: 4.19.2 yaml: 2.6.1 - vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0): + vitest@2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1): dependencies: '@vitest/expect': 2.1.8 - '@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.5)(sass-embedded@1.83.0)) + '@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.5)(sass-embedded@1.83.1)) '@vitest/pretty-format': 2.1.8 '@vitest/runner': 2.1.8 '@vitest/snapshot': 2.1.8 @@ -7478,8 +7478,8 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.2 tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@22.10.5)(sass-embedded@1.83.0) - vite-node: 2.1.8(@types/node@22.10.5)(sass-embedded@1.83.0) + vite: 5.4.11(@types/node@22.10.5)(sass-embedded@1.83.1) + vite-node: 2.1.8(@types/node@22.10.5)(sass-embedded@1.83.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.10.5 @@ -7522,7 +7522,7 @@ snapshots: optionalDependencies: typescript: 5.7.2 - vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2): + vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1))(typescript@5.7.2): dependencies: '@vuepress/cli': 2.0.0-rc.19(typescript@5.7.2) '@vuepress/client': 2.0.0-rc.19(typescript@5.7.2) @@ -7532,7 +7532,7 @@ snapshots: '@vuepress/utils': 2.0.0-rc.19 vue: 3.5.13(typescript@5.7.2) optionalDependencies: - '@vuepress/bundler-vite': 2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) + '@vuepress/bundler-vite': 2.0.0-rc.19(@types/node@22.10.5)(jiti@2.4.1)(sass-embedded@1.83.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) transitivePeerDependencies: - supports-color - typescript diff --git a/src/client/components/SocialShare.ts b/src/client/components/SocialShare.ts index e58104d..e105f3a 100644 --- a/src/client/components/SocialShare.ts +++ b/src/client/components/SocialShare.ts @@ -35,12 +35,13 @@ export const SocialShare = defineComponent({ setup(props) { const options = useSocialShareOptions() - const networks = computed(() => [ - ...new Set(props.networks ?? options.networks ?? ['twitter', 'facebook', 'reddit']), - ]) + const defaultEnabledNetworks = options.networksData + .filter(item => item.default) + .map(item => item.name) + + const networks = computed(() => [...new Set(props.networks ?? defaultEnabledNetworks)]) const networkList = computed(() => - Object.keys(options.networksData) - .map(name => ({ name, ...options.networksData[name] })) + options.networksData .filter(network => networks.value.includes(network.name)) .sort( (prev, next) => networks.value.indexOf(prev.name) - networks.value.indexOf(next.name), @@ -230,7 +231,7 @@ export const SocialShare = defineComponent({ .replace(/@twitteruser/g, options.twitterUser ? `&via=${options.twitterUser}` : '') } const onShare = (name: string) => { - const network = options.networksData[name] + const network = options.networksData.find(item => item.name === name)! const shareURL = createShareURL(name, network) switch (network.type) { case 'popup': diff --git a/src/node/helpers.ts b/src/node/helpers.ts index 8eec65e..8c08b5a 100644 --- a/src/node/helpers.ts +++ b/src/node/helpers.ts @@ -1,22 +1,48 @@ import { Logger } from '@vuepress/helper' import deepmerge from 'deepmerge' +import { isString } from '../shared/index.js' import { BUILT_IN_NETWORKS, PLUGIN_NAME } from './constants.js' -import type { SocialSharePluginOptions } from '../shared/index.js' +import type { SocialShareNetworkWithName, SocialSharePluginOptions } from '../shared/index.js' export const logger = new Logger(PLUGIN_NAME) -/** - * Merge extendsNetworks with built-in networks - * - * @param options - plugin options - * @returns merged networks data - */ -export const mergeNetworksData = (options: SocialSharePluginOptions) => - deepmerge(BUILT_IN_NETWORKS, options.extendsNetworks || {}) - /** * Resolve all networks data */ -export function resolveNetworksData(options: SocialSharePluginOptions = {}) { - console.log({ options }) +export function resolveNetworksData( + networks: SocialSharePluginOptions['networks'] = [], + extendsNetworks: SocialSharePluginOptions['extendsNetworks'] = {}, +) { + const mergedNetworks = deepmerge(BUILT_IN_NETWORKS, extendsNetworks) + + const mergedNetworkNames = new Set(Object.keys(mergedNetworks)) + const enabledNetworkNames = new Set() + + const networksData: SocialShareNetworkWithName[] = [] + + for (const network of networks) { + if (isString(network)) { + enabledNetworkNames.add(network) + } else { + if (network.default) { + enabledNetworkNames.add(network.name) + } + // Should override socialShareNetwork + if (mergedNetworkNames.has(network.name)) { + mergedNetworks[network.name] = deepmerge(mergedNetworks[network.name], network) + } else { + mergedNetworks[network.name] = network + } + } + } + + Object.entries(mergedNetworks).forEach(([name, network]) => { + networksData.push({ + ...network, + name, + default: enabledNetworkNames.has(name), + }) + }) + + return networksData } diff --git a/src/node/socialSharePlugin.ts b/src/node/socialSharePlugin.ts index 38b2f23..2c9e327 100644 --- a/src/node/socialSharePlugin.ts +++ b/src/node/socialSharePlugin.ts @@ -1,9 +1,12 @@ import { addViteSsrNoExternal } from '@vuepress/helper' import { getDirname, path } from 'vuepress/utils' import { PLUGIN_NAME } from './constants.js' -import { logger, mergeNetworksData } from './helpers.js' +import { logger, resolveNetworksData } from './helpers.js' import type { PluginFunction } from 'vuepress/core' -import type { SocialSharePluginOptions } from '../shared/index.js' +import type { + SocialSharePluginOptions, + SocialSharePluginOptionsWithDefaults, +} from '../shared/index.js' const __dirname = getDirname(import.meta.url) @@ -13,6 +16,8 @@ export const socialSharePlugin = const { componentName = 'SocialShare', useCustomStyle = false, + networks = ['twitter', 'facebook', 'reddit'], + extendsNetworks = {}, // Options for client ...clientOptions } = options @@ -36,8 +41,11 @@ export const socialSharePlugin = }, onPrepared(app) { - const networksData = mergeNetworksData(clientOptions) - const socialShareOptions = { ...clientOptions, networksData } + const networksData = resolveNetworksData(networks, extendsNetworks) + const socialShareOptions: SocialSharePluginOptionsWithDefaults = { + ...clientOptions, + networksData, + } const content = `export const socialShareOptions = ${JSON.stringify(socialShareOptions)}` app.writeTemp('social-share/options.js', content) }, diff --git a/src/shared/plugin.ts b/src/shared/plugin.ts index 9de0ded..006ae10 100644 --- a/src/shared/plugin.ts +++ b/src/shared/plugin.ts @@ -124,9 +124,12 @@ export interface SocialSharePluginOptions { } /** - * Plugin options with networksData + * Client options with networksData */ export interface SocialSharePluginOptionsWithDefaults - extends Omit { - networksData: Record + extends Omit< + SocialSharePluginOptions, + 'componentName' | 'networks' | 'extendsNetworks' | 'useCustomStyle' + > { + networksData: SocialShareNetworkWithName[] }