From f85e863436a068b3f2063358a5cb24807d804df7 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 23 Feb 2022 02:51:08 +0800 Subject: [PATCH] chore: update deps --- package.json | 28 ++--- pnpm-lock.yaml | 308 ++++++++++++++++++++++++++--------------------- unocss.config.ts | 19 ++- 3 files changed, 202 insertions(+), 153 deletions(-) diff --git a/package.json b/package.json index 7e990c0..62b85cb 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,12 @@ "@intlify/vite-plugin-vue-i18n": "^3.3.0", "@types/markdown-it-link-attributes": "^3.0.1", "@types/nprogress": "^0.2.0", - "@unocss/preset-attributify": "^0.24.4", - "@unocss/preset-icons": "^0.24.4", - "@unocss/preset-typography": "^0.24.4", - "@unocss/preset-web-fonts": "^0.24.4", - "@unocss/reset": "^0.24.4", - "@vitejs/plugin-vue": "^2.2.0", + "@unocss/preset-attributify": "^0.26.2", + "@unocss/preset-icons": "^0.26.2", + "@unocss/preset-typography": "^0.26.2", + "@unocss/preset-web-fonts": "^0.26.2", + "@unocss/reset": "^0.26.2", + "@vitejs/plugin-vue": "^2.2.2", "@vue/test-utils": "^2.0.0-rc.18", "critters": "^0.0.16", "cross-env": "^7.0.3", @@ -42,20 +42,20 @@ "eslint-plugin-cypress": "^2.12.1", "https-localhost": "^4.7.1", "markdown-it-link-attributes": "^4.0.0", - "markdown-it-prism": "^2.2.2", - "pnpm": "^6.31.0", + "markdown-it-prism": "^2.2.3", + "pnpm": "^6.32.0", "typescript": "^4.5.5", - "unocss": "^0.24.4", - "unplugin-auto-import": "^0.6.0", - "unplugin-vue-components": "^0.17.18", - "vite": "^2.8.3", - "vite-plugin-inspect": "^0.3.14", + "unocss": "^0.26.2", + "unplugin-auto-import": "^0.6.1", + "unplugin-vue-components": "^0.17.19", + "vite": "^2.8.4", + "vite-plugin-inspect": "^0.3.15", "vite-plugin-md": "^0.11.8", "vite-plugin-pages": "^0.20.2", "vite-plugin-pwa": "^0.11.13", "vite-plugin-vue-layouts": "^0.6.0", "vite-ssg": "^0.17.10", - "vitest": "^0.3.6", + "vitest": "^0.5.3", "vue-tsc": "^0.31.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 635d04d..f751fce 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,12 +6,12 @@ specifiers: '@intlify/vite-plugin-vue-i18n': ^3.3.0 '@types/markdown-it-link-attributes': ^3.0.1 '@types/nprogress': ^0.2.0 - '@unocss/preset-attributify': ^0.24.4 - '@unocss/preset-icons': ^0.24.4 - '@unocss/preset-typography': ^0.24.4 - '@unocss/preset-web-fonts': ^0.24.4 - '@unocss/reset': ^0.24.4 - '@vitejs/plugin-vue': ^2.2.0 + '@unocss/preset-attributify': ^0.26.2 + '@unocss/preset-icons': ^0.26.2 + '@unocss/preset-typography': ^0.26.2 + '@unocss/preset-web-fonts': ^0.26.2 + '@unocss/reset': ^0.26.2 + '@vitejs/plugin-vue': ^2.2.2 '@vue/test-utils': ^2.0.0-rc.18 '@vueuse/core': ^7.6.2 '@vueuse/head': ^0.7.5 @@ -22,23 +22,23 @@ specifiers: eslint-plugin-cypress: ^2.12.1 https-localhost: ^4.7.1 markdown-it-link-attributes: ^4.0.0 - markdown-it-prism: ^2.2.2 + markdown-it-prism: ^2.2.3 nprogress: ^0.2.0 pinia: ^2.0.11 - pnpm: ^6.31.0 + pnpm: ^6.32.0 prism-theme-vars: ^0.2.2 typescript: ^4.5.5 - unocss: ^0.24.4 - unplugin-auto-import: ^0.6.0 - unplugin-vue-components: ^0.17.18 - vite: ^2.8.3 - vite-plugin-inspect: ^0.3.14 + unocss: ^0.26.2 + unplugin-auto-import: ^0.6.1 + unplugin-vue-components: ^0.17.19 + vite: ^2.8.4 + vite-plugin-inspect: ^0.3.15 vite-plugin-md: ^0.11.8 vite-plugin-pages: ^0.20.2 vite-plugin-pwa: ^0.11.13 vite-plugin-vue-layouts: ^0.6.0 vite-ssg: ^0.17.10 - vitest: ^0.3.6 + vitest: ^0.5.3 vue: ^3.2.31 vue-demi: ^0.12.1 vue-i18n: ^9.1.9 @@ -59,15 +59,15 @@ dependencies: devDependencies: '@antfu/eslint-config': 0.16.1_eslint@8.9.0+typescript@4.5.5 '@iconify-json/carbon': 1.1.1 - '@intlify/vite-plugin-vue-i18n': 3.3.0_vite@2.8.3+vue-i18n@9.1.9 + '@intlify/vite-plugin-vue-i18n': 3.3.0_vite@2.8.4+vue-i18n@9.1.9 '@types/markdown-it-link-attributes': 3.0.1 '@types/nprogress': 0.2.0 - '@unocss/preset-attributify': 0.24.4 - '@unocss/preset-icons': 0.24.4 - '@unocss/preset-typography': 0.24.4 - '@unocss/preset-web-fonts': 0.24.4 - '@unocss/reset': 0.24.4 - '@vitejs/plugin-vue': 2.2.0_vite@2.8.3+vue@3.2.31 + '@unocss/preset-attributify': 0.26.2 + '@unocss/preset-icons': 0.26.2 + '@unocss/preset-typography': 0.26.2 + '@unocss/preset-web-fonts': 0.26.2 + '@unocss/reset': 0.26.2 + '@vitejs/plugin-vue': 2.2.2_vite@2.8.4+vue@3.2.31 '@vue/test-utils': 2.0.0-rc.18_vue@3.2.31 critters: 0.0.16 cross-env: 7.0.3 @@ -76,20 +76,20 @@ devDependencies: eslint-plugin-cypress: 2.12.1_eslint@8.9.0 https-localhost: 4.7.1 markdown-it-link-attributes: 4.0.0 - markdown-it-prism: 2.2.2 - pnpm: 6.31.0 + markdown-it-prism: 2.2.3 + pnpm: 6.32.0 typescript: 4.5.5 - unocss: 0.24.4 - unplugin-auto-import: 0.6.0_@vueuse+core@7.6.2+vite@2.8.3 - unplugin-vue-components: 0.17.18_vite@2.8.3+vue@3.2.31 - vite: 2.8.3 - vite-plugin-inspect: 0.3.14_vite@2.8.3 - vite-plugin-md: 0.11.8_vite@2.8.3 - vite-plugin-pages: 0.20.2_vite@2.8.3 - vite-plugin-pwa: 0.11.13_vite@2.8.3 - vite-plugin-vue-layouts: 0.6.0_450d08553fc592150f6d5039c11a1f32 - vite-ssg: 0.17.10_1d9d03efcb68c10fe000b6b7ca1deeb9 - vitest: 0.3.6 + unocss: 0.26.2 + unplugin-auto-import: 0.6.1_@vueuse+core@7.6.2+vite@2.8.4 + unplugin-vue-components: 0.17.19_vite@2.8.4+vue@3.2.31 + vite: 2.8.4 + vite-plugin-inspect: 0.3.15_vite@2.8.4 + vite-plugin-md: 0.11.8_vite@2.8.4 + vite-plugin-pages: 0.20.2_vite@2.8.4 + vite-plugin-pwa: 0.11.13_vite@2.8.4 + vite-plugin-vue-layouts: 0.6.0_38d013b3483c2295d006adc17a4cc10f + vite-ssg: 0.17.10_dd54dbe7cd94e1099491b8367e8c8198 + vitest: 0.5.3 vue-tsc: 0.31.4_typescript@4.5.5 packages: @@ -1524,7 +1524,7 @@ packages: engines: {node: '>= 12'} dev: true - /@intlify/vite-plugin-vue-i18n/3.3.0_vite@2.8.3+vue-i18n@9.1.9: + /@intlify/vite-plugin-vue-i18n/3.3.0_vite@2.8.4+vue-i18n@9.1.9: resolution: {integrity: sha512-RxtqVe8ia/5eEH+RFzRKMhO6eyYRGssNpVcaxOoocgKDJuA+1QHF5jZGnioIQpZcIwFxLUlf42C4YdAatIJFEw==} engines: {node: '>= 12'} peerDependencies: @@ -1543,7 +1543,7 @@ packages: debug: 4.3.3 fast-glob: 3.2.11 source-map: 0.6.1 - vite: 2.8.3 + vite: 2.8.4 vue-i18n: 9.1.9_vue@3.2.31 transitivePeerDependencies: - supports-color @@ -1874,14 +1874,14 @@ packages: eslint-visitor-keys: 3.2.0 dev: true - /@unocss/cli/0.24.4: - resolution: {integrity: sha512-ZK+FHFEqB0ceZauGMf6Kp/GcCw+NvTzCSclfh3QtwM/rySu7Q7RGnC88uMQNpMX1OwV0k3z03u1dR36MhjzLGg==} + /@unocss/cli/0.26.2: + resolution: {integrity: sha512-SAQWGZBOQ8A0NVod3CNPrMfYyBhfd8mqINqJ7fmfZ/486KUD+mWDnVhyfqqs3ZyFVtRSHyCUU3laCQ1TRZk7Rg==} engines: {node: '>=14'} hasBin: true dependencies: - '@unocss/config': 0.24.4 - '@unocss/core': 0.24.4 - '@unocss/preset-uno': 0.24.4 + '@unocss/config': 0.26.2 + '@unocss/core': 0.26.2 + '@unocss/preset-uno': 0.26.2 cac: 6.7.12 chokidar: 3.5.3 colorette: 2.0.16 @@ -1898,11 +1898,11 @@ packages: - stylus dev: true - /@unocss/config/0.24.4: - resolution: {integrity: sha512-cjf/cXP2SmMCkpFh+V7IgYT1LPVnUQE/giJyYsFZMrcaFSS/R6FJXA2izDKTXV9+Cr/uAKJlORyW/iXvIefbIg==} + /@unocss/config/0.26.2: + resolution: {integrity: sha512-KpOHvTTd5otZlLhCi1M6pxaTjN0UpUe3uF8eR/GQYKbM4GVB9BazM9arf/kZqgzZTp+sKz0OLGsi9dIOjxHHzw==} engines: {node: '>=14'} dependencies: - '@unocss/core': 0.24.4 + '@unocss/core': 0.26.2 unconfig: 0.3.1 transitivePeerDependencies: - '@vitest/ui' @@ -1914,85 +1914,104 @@ packages: - stylus dev: true - /@unocss/core/0.24.4: - resolution: {integrity: sha512-GNDyoDuivj5lyxTeOWVvHQzAJSgFvKuHMWGgxx+6P/Q+wABuDTxxOfmTX2umSX7vGGwwO71yXAWNt2OA2581AQ==} + /@unocss/core/0.26.2: + resolution: {integrity: sha512-r4mNsMV8y5mbRPQj9eX6neGrV0Y7eD4y52rBUPRoTWvijqVcLzbGKgCZ2ASLtgvH+DL4UgFOCrlg8I5NbROnwQ==} dev: true - /@unocss/inspector/0.24.4: - resolution: {integrity: sha512-NOlP34bnbbTm1ODh6HR2ADrZaF1jyGYJL8xYEETQmeE0hNHyqa2J06lF4f6B0AFlJPEwVb6XuOQDmiYiuMAJVg==} + /@unocss/inspector/0.26.2: + resolution: {integrity: sha512-5+oOi4UTdg/MDyCboOD3n9pFnE0iFdHzCLkl5zBnfVCMLsvWY5IyTFaWn5/1dOXXf68DwqVTs/LrvLv/uUD0/A==} dependencies: gzip-size: 6.0.0 sirv: 2.0.2 dev: true - /@unocss/preset-attributify/0.24.4: - resolution: {integrity: sha512-gItfqOW6Sw2OibyvS17QOW1qxVHuFA0f+0dwZ5SfLb9hRJkw1SbVcxokPWyXqMzsiSGdJYgtw1m0F9REx8AbAA==} + /@unocss/preset-attributify/0.26.2: + resolution: {integrity: sha512-y3Fk1hon+irsWY7svPvHx51UqDA0p6NrGY2B9F9HzrUz+7WdTDLZRx4TlIC/mn4ar27Os6FgVaNZc8p746+b4A==} dependencies: - '@unocss/core': 0.24.4 + '@unocss/core': 0.26.2 dev: true - /@unocss/preset-icons/0.24.4: - resolution: {integrity: sha512-P0yiPgOKLzvQyK4iZnPt4R0uWAbFXKiPZTSU7lg+8KD5nP1cRTONaGMEqsKciKFAiSf308mgLQ/JnTbvL9BBsA==} + /@unocss/preset-icons/0.26.2: + resolution: {integrity: sha512-tnbBmjsqvaAvCtyq2pDJdF/7HRdESsj030x+NFzU0v0xQ0xXspWWr3sH3jSJ6lnO37CBagtt9qALk/ksP9xBOA==} dependencies: '@iconify/utils': 1.0.23 - '@unocss/core': 0.24.4 + '@unocss/core': 0.26.2 local-pkg: 0.4.1 transitivePeerDependencies: - supports-color dev: true - /@unocss/preset-mini/0.24.4: - resolution: {integrity: sha512-W70yzI3nqxcrTRQn4UI+3A9qZi2kdbafD1Gr65wHtHhAUFBxJRv03iW6/x+s9zbZuR7o9bxhE7CdEkr8BBzg8w==} + /@unocss/preset-mini/0.26.2: + resolution: {integrity: sha512-GMQ198LA0XlXs+xzuXoZLcdH/6WSJN+h5Z9TTVDmnAeD6v0TTRmgWfO3lVQDgyFTI2Oi5BsVsVth++Bg2lIeLQ==} dependencies: - '@unocss/core': 0.24.4 + '@unocss/core': 0.26.2 dev: true - /@unocss/preset-typography/0.24.4: - resolution: {integrity: sha512-4vezrY3R9ezKjT8Xbr6hoKqwXsBAR+vjzA+dhoA9QiUdxmnr/ljYswj4bLN/flHvgelmkTADs/LKl2tcZt3iiQ==} + /@unocss/preset-typography/0.26.2: + resolution: {integrity: sha512-OppCq3Dj1NSXdEa29b3g5a6w1YYArDhyC48LkxWMET0J0PJ/NPkpJjSLHNHD4veoaV6tWMhIadWtbVHva86kJA==} dependencies: - '@unocss/core': 0.24.4 + '@unocss/core': 0.26.2 dev: true - /@unocss/preset-uno/0.24.4: - resolution: {integrity: sha512-lkfGfYuxWf8UbUhohjcn8k7/sWqNpnd1UoxfoB/+t3QSxLydNQJyC9/lLLC2sXT2/ntmIioy9Lo5e1kaCVGLpw==} + /@unocss/preset-uno/0.26.2: + resolution: {integrity: sha512-iGDrl98UwLIygm+PL5bBqDIWgOil+X5ExFdxlgZRXBy8I7c+5SRB6PFI3M5fxQnZaA6sRYx70XSFGoesOAid2Q==} dependencies: - '@unocss/core': 0.24.4 - '@unocss/preset-mini': 0.24.4 - '@unocss/preset-wind': 0.24.4 + '@unocss/core': 0.26.2 + '@unocss/preset-mini': 0.26.2 + '@unocss/preset-wind': 0.26.2 dev: true - /@unocss/preset-web-fonts/0.24.4: - resolution: {integrity: sha512-6AvyeUItHongxGse1qAyMKhFRVtgcrWr0/rQBiDOnPsMlV4cQt0yN2Z3GoGcDiesYmgPb67MGxL+1mhv0AW95g==} + /@unocss/preset-web-fonts/0.26.2: + resolution: {integrity: sha512-QBo1yIU8vsb1nSpExuTcRGq/nYaJEHKCp3/0LjawHpA7MobKCQaVBjrLt3bRoowQWD/RtblJJxBR+GfSwwA4fA==} dependencies: - '@unocss/core': 0.24.4 + '@unocss/core': 0.26.2 axios: 0.25.0 transitivePeerDependencies: - debug dev: true - /@unocss/preset-wind/0.24.4: - resolution: {integrity: sha512-rnzv09ZWpxiGm/6FwbIENXD44pfpMwHlHGTZjlDH6A4lD605nAE/XWoEVNiiYe4CZy8X5/ymU4dSYJ4oVGDmOw==} + /@unocss/preset-wind/0.26.2: + resolution: {integrity: sha512-qkC3H9ilFpcPK+kWjnkQPaqiKUp8Lo4W7AITpQdeaylVI9XhbsZlz1rtCCtlBFpNGbr8jMtxq/1RHFbKC20T2w==} dependencies: - '@unocss/core': 0.24.4 - '@unocss/preset-mini': 0.24.4 + '@unocss/core': 0.26.2 + '@unocss/preset-mini': 0.26.2 dev: true - /@unocss/reset/0.24.4: - resolution: {integrity: sha512-UBc/yBnIJ9N7wAG2ML6xV4JpBXEmOloJLg6R+EPJNfIP7Zl3wH2lBeXlZEKFAbiSOhSkju5msdYw0N8SC8tbtQ==} + /@unocss/reset/0.26.2: + resolution: {integrity: sha512-J1VNElkAYX8GelM4wc3CzI2WKV2Qypq4VSHtMFWYllU080XQFDBtHQqd8JxVzClHWVQttwlZdCB237ITv10tww==} dev: true - /@unocss/scope/0.24.4: - resolution: {integrity: sha512-LxtxVW9xNqVTVBU3ggZRz7fuHfcPnFzUf3Wi968E1P4u6QZZN3m5ojrCf8JiVkeXrsMDpWEghbkSl8gncjMdFA==} + /@unocss/scope/0.26.2: + resolution: {integrity: sha512-RxkTxES9TJ6KpbRQYP2z88pZkxjrlZ+T1iOz+HYO//vEaf45qTPvCydSbnwU4vXgj5ZSh2yswDeVWMzU/Y6h/w==} dev: true - /@unocss/vite/0.24.4: - resolution: {integrity: sha512-CCtoP7IVlzf7m/b/gRao4ngMGni/amfAVzPKhe+DPd3Z9Wlc3JbQDjfNjuIEtyfSdOt0xl2zmMH3ETjDAyaxSg==} + /@unocss/transformer-directives/0.26.2_@unocss+core@0.26.2: + resolution: {integrity: sha512-ajJluzaUQnCOypN/glZeNxmjXWQCjBgdWNY4oMxaqOop3JTxhKb4QP+nHCA5//UvMOgjKWPZ1UA7aGrkHotPCA==} + peerDependencies: + '@unocss/core': 0.26.2 + dependencies: + '@unocss/core': 0.26.2 + css-tree: 2.0.4 + dev: true + + /@unocss/transformer-variant-group/0.26.2_@unocss+core@0.26.2: + resolution: {integrity: sha512-lF6JgsdQLrEJhy6xariHlzT49ibNwbqrLkiDCvHPgypsWLDNSaJKKcZHky2PdFoECNyEQUYF1xHdXZNVnFJqSA==} + peerDependencies: + '@unocss/core': 0.26.2 + dependencies: + '@unocss/core': 0.26.2 + magic-string: 0.25.7 + dev: true + + /@unocss/vite/0.26.2: + resolution: {integrity: sha512-hbUnpV3qFqF9P8nuk1AZEqsGcdWfwsB27iCCgQe7QH0mWosoBLmZccfqOnG1+FgIJSKVBn3freeoNzjNXC2K0Q==} dependencies: '@rollup/pluginutils': 4.1.2 - '@unocss/config': 0.24.4 - '@unocss/core': 0.24.4 - '@unocss/inspector': 0.24.4 - '@unocss/scope': 0.24.4 + '@unocss/config': 0.26.2 + '@unocss/core': 0.26.2 + '@unocss/inspector': 0.26.2 + '@unocss/scope': 0.26.2 + '@unocss/transformer-directives': 0.26.2_@unocss+core@0.26.2 transitivePeerDependencies: - '@vitest/ui' - c8 @@ -2003,14 +2022,14 @@ packages: - stylus dev: true - /@vitejs/plugin-vue/2.2.0_vite@2.8.3+vue@3.2.31: - resolution: {integrity: sha512-wXigM1EwN2G7rZcwG6kLk9ivvIMhx2363tCEvMBiXcTu5nePM/12hUPVzPb83Uugt6U+zom1gTpJopi/Ow/jwg==} + /@vitejs/plugin-vue/2.2.2_vite@2.8.4+vue@3.2.31: + resolution: {integrity: sha512-3C0s45VOwIFEDU+2ownJOpb0zD5fnjXWaHVOLID2R1mYOlAx3doNBFnNbVjaZvpke/L7IdPJXjpyYpXZToDKig==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.8.3 + vite: 2.8.4 vue: 3.2.31 dev: true @@ -3006,6 +3025,14 @@ packages: nth-check: 2.0.1 dev: true + /css-tree/2.0.4: + resolution: {integrity: sha512-b4IS9ZUMtGBiNjzYbcj9JhYbyei99R3ai2CSxlu8GQDnoPA/P+NU85hAm0eKDc/Zp660rpK6tFJQ2OSdacMHVg==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + dependencies: + mdn-data: 2.0.23 + source-map-js: 1.0.2 + dev: true + /css-what/5.1.0: resolution: {integrity: sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==} engines: {node: '>= 6'} @@ -5286,11 +5313,11 @@ packages: resolution: {integrity: sha512-ssjxSLlLfQBkX6BvAx1rCPrx7ZoK91llQQvS3P7KXvlbnVD34OUkfXwWecN7su/7mrI/HOW0RI5szdJOIqYC3w==} dev: true - /markdown-it-prism/2.2.2: - resolution: {integrity: sha512-lsyKocpHdRH8utUv3n0+BaDT1jQqX3wcacbFOkFPncX8C/Te3Wmv+Y8O4GVS7kdlj35fN4U455wzCW41pd93cw==} + /markdown-it-prism/2.2.3: + resolution: {integrity: sha512-vtiJ1ALGpIg2JPCSv3E8pEwx8Axr9eWu/P4BvCvyXWWM1GEXbr95a7cMuyR4FiEKkZVOXHqqGM6RJoqxra7UGQ==} engines: {node: '>=6.0.0'} dependencies: - prismjs: 1.26.0 + prismjs: 1.27.0 dev: true /markdown-it/12.3.2: @@ -5304,6 +5331,10 @@ packages: uc.micro: 1.0.6 dev: true + /mdn-data/2.0.23: + resolution: {integrity: sha512-IonVb7pfla2U4zW8rc7XGrtgq11BvYeCxWN8HS+KFBnLDE7XDK9AAMVhRuG6fj9BBsjc69Fqsp6WEActEdNTDQ==} + dev: true + /mdurl/1.0.1: resolution: {integrity: sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=} dev: true @@ -5762,8 +5793,8 @@ packages: engines: {node: '>=4'} dev: true - /pnpm/6.31.0: - resolution: {integrity: sha512-YUCyLI2J2wQsHWgcRYR8wUrTWsE0E8GX46XKtdXcUiE0GJJYi5saRy2Y8BMfLtlDHshHLs2U/KO1e5gsftJTFA==} + /pnpm/6.32.0: + resolution: {integrity: sha512-04KwsfhUfc6+at4gQVD848R7/bj2lvweh1ZcE0BDlDvBNlvxpYz+ZbRRkS+lInG5vz95cOybnyNO55dxvsARWA==} engines: {node: '>=12.17'} hasBin: true dev: true @@ -5810,8 +5841,8 @@ packages: resolution: {integrity: sha512-EL9ifuU/F8tEldoCa2sspiiLWysCL54xDbf2gN/ubwdtbuJROqOGopG5kSwunapwaioT+jLUQ/Ky+7jnv62xJA==} dev: false - /prismjs/1.26.0: - resolution: {integrity: sha512-HUoH9C5Z3jKkl3UunCyiD5jwk0+Hz0fIgQ2nbwU2Oo/ceuTAQAg+pPVnfdt2TJWRVLcxKh9iuoYDUSc8clb5UQ==} + /prismjs/1.27.0: + resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==} engines: {node: '>=6'} dev: true @@ -6646,6 +6677,11 @@ packages: engines: {node: '>=14.0.0'} dev: true + /tinyspy/0.3.0: + resolution: {integrity: sha512-c5uFHqtUp74R2DJE3/Efg0mH5xicmgziaQXMm/LvuuZn3RdpADH32aEGDRyCzObXT1DNfwDMqRQ/Drh1MlO12g==} + engines: {node: '>=14.0.0'} + dev: true + /tmp/0.2.1: resolution: {integrity: sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==} engines: {node: '>=8.17.0'} @@ -6808,9 +6844,8 @@ packages: resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==} dev: true - /ufo/0.7.9: - resolution: {integrity: sha512-6t9LrLk3FhqTS+GW3IqlITtfRB5JAVr5MMNjpBECfK827W+Vh5Ilw/LhTcHWrt6b3hkeBvcbjx4Ti7QVFzmcww==} - deprecated: 'security: please use latest version' + /ufo/0.7.10: + resolution: {integrity: sha512-YTnDRlE1cIofRqOFN8ioAbz9qenDvkgVMSn0cnxvIDjM9sfEOMKB0ybMr+otSlCXMfQ/X35haYRoI7Nua82RrA==} dev: true /uglify-js/3.14.5: @@ -6891,18 +6926,23 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss/0.24.4: - resolution: {integrity: sha512-zKnWmougRUieTTE9QttNqjXCmYO+fWDwdxkiP/xxrBMskvf0j36h9SsjVdgIT6ZW8Vnd6ILkAur8Zq3dl26v/w==} + /unocss/0.26.2: + resolution: {integrity: sha512-2Dqwb8UfC3JZxhoUW0VW0DaVVk3zWnFA8LwburvE/0b1w7Y5Rggl01rRX7lbsAg9PgDofkAAqao2ngC4sm+9hA==} engines: {node: '>=14'} dependencies: - '@unocss/cli': 0.24.4 - '@unocss/core': 0.24.4 - '@unocss/preset-attributify': 0.24.4 - '@unocss/preset-icons': 0.24.4 - '@unocss/preset-uno': 0.24.4 - '@unocss/preset-web-fonts': 0.24.4 - '@unocss/reset': 0.24.4 - '@unocss/vite': 0.24.4 + '@unocss/cli': 0.26.2 + '@unocss/core': 0.26.2 + '@unocss/preset-attributify': 0.26.2 + '@unocss/preset-icons': 0.26.2 + '@unocss/preset-mini': 0.26.2 + '@unocss/preset-typography': 0.26.2 + '@unocss/preset-uno': 0.26.2 + '@unocss/preset-web-fonts': 0.26.2 + '@unocss/preset-wind': 0.26.2 + '@unocss/reset': 0.26.2 + '@unocss/transformer-directives': 0.26.2_@unocss+core@0.26.2 + '@unocss/transformer-variant-group': 0.26.2_@unocss+core@0.26.2 + '@unocss/vite': 0.26.2 transitivePeerDependencies: - '@vitest/ui' - c8 @@ -6920,8 +6960,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /unplugin-auto-import/0.6.0_@vueuse+core@7.6.2+vite@2.8.3: - resolution: {integrity: sha512-joItLHCozByEsKawhFTfterlZOp8EYIAOpuWKx5xq0SdLOQtvbEcfkdhLxWIsMOH9yXNY5vnXYRONW0XxjVDlg==} + /unplugin-auto-import/0.6.1_@vueuse+core@7.6.2+vite@2.8.4: + resolution: {integrity: sha512-rSukyyROmSkqL9tjkA88oLhpG4tXYkk2rTpqGaYKjXRNktHEKf03pit8bamPt95KPVfMLjT0+TPKi6ju0toOIw==} engines: {node: '>=14'} peerDependencies: '@vueuse/core': '*' @@ -6935,7 +6975,7 @@ packages: local-pkg: 0.4.1 magic-string: 0.25.7 resolve: 1.22.0 - unplugin: 0.3.2_vite@2.8.3 + unplugin: 0.3.2_vite@2.8.4 transitivePeerDependencies: - esbuild - rollup @@ -6943,8 +6983,8 @@ packages: - webpack dev: true - /unplugin-vue-components/0.17.18_vite@2.8.3+vue@3.2.31: - resolution: {integrity: sha512-4wvJnSShTXCnZpO1G6h0DlHjBXap0JqzFyU84guMT6EH0shUZZ3TAta4pDa8nNeWAtcJVTF9uQswePq1elhpKQ==} + /unplugin-vue-components/0.17.19_vite@2.8.4+vue@3.2.31: + resolution: {integrity: sha512-KFOa2IS2NcSEFYomTdo0SoPQt3eIFQn9UEj2OlGfk/ShiYvpe3XJA0uaZPEv8+qxFaHxnDtZIZIIiV/Kbb2tbA==} engines: {node: '>=14'} peerDependencies: '@babel/parser': ^7.15.8 @@ -6965,7 +7005,7 @@ packages: magic-string: 0.25.7 minimatch: 3.0.4 resolve: 1.22.0 - unplugin: 0.3.2_vite@2.8.3 + unplugin: 0.3.2_vite@2.8.4 vue: 3.2.31 transitivePeerDependencies: - esbuild @@ -6975,7 +7015,7 @@ packages: - webpack dev: true - /unplugin/0.3.2_vite@2.8.3: + /unplugin/0.3.2_vite@2.8.4: resolution: {integrity: sha512-5d0DMYNKZU+S9eZUiBfw6Co32eRg8myUgBPoWSqG/wDFCUE/WznfSsJnZWi1P9l69x4uLJqt2qVq1xW/AsXFrw==} peerDependencies: esbuild: '>=0.13' @@ -6992,7 +7032,7 @@ packages: webpack: optional: true dependencies: - vite: 2.8.3 + vite: 2.8.4 webpack-virtual-modules: 0.4.3 dev: true @@ -7060,8 +7100,8 @@ packages: extsprintf: 1.3.0 dev: true - /vite-plugin-inspect/0.3.14_vite@2.8.3: - resolution: {integrity: sha512-oRjltmm1nUgkHmlGLgfSAuPiXA/FqC7daURJ+faY498r3mwnXrtcfe6Bg5khANQ0iss9Cn1uV6+W9c85noVq0g==} + /vite-plugin-inspect/0.3.15_vite@2.8.4: + resolution: {integrity: sha512-WlAnh0L14jtQA3q6+6cbhU3+ZcOE5iOeNuyQqUAK/T3IKsv1PwDwpHUSWjpP25uBO0WTbw2zsY0R3Hpbtfw+AA==} engines: {node: '>=14'} peerDependencies: vite: ^2.0.0 @@ -7070,13 +7110,13 @@ packages: debug: 4.3.3 kolorist: 1.5.1 sirv: 2.0.2 - ufo: 0.7.9 - vite: 2.8.3 + ufo: 0.7.10 + vite: 2.8.4 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-md/0.11.8_vite@2.8.3: + /vite-plugin-md/0.11.8_vite@2.8.4: resolution: {integrity: sha512-eFk4Ox8IKuT+7benAcwLvGcYt/T4We2UDmQmxvCrhABJpQSbh44MitD1Wu6w733VKgSZAO7wd8IuoA20yXkXVQ==} peerDependencies: vite: ^2.0.0 @@ -7086,10 +7126,10 @@ packages: '@types/markdown-it': 12.2.3 gray-matter: 4.0.3 markdown-it: 12.3.2 - vite: 2.8.3 + vite: 2.8.4 dev: true - /vite-plugin-pages/0.20.2_vite@2.8.3: + /vite-plugin-pages/0.20.2_vite@2.8.4: resolution: {integrity: sha512-A/N6Pez9sMzt7ZEfd1H7P9tmP6LrZwXMexV8xSiRahnUeNw+gz0W2dsPLJDZBvcixDZqoK8ggKdmyxgVBuTAfg==} peerDependencies: '@vue/compiler-sfc': '>=3' @@ -7103,13 +7143,13 @@ packages: fast-glob: 3.2.11 json5: 2.2.0 local-pkg: 0.4.1 - vite: 2.8.3 + vite: 2.8.4 yaml: 2.0.0-10 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-pwa/0.11.13_vite@2.8.3: + /vite-plugin-pwa/0.11.13_vite@2.8.4: resolution: {integrity: sha512-Ssj14m3TRVLfkFEAWSMcFE2d1cSdEZyrVTzfY2lSL+umHYvcIFHVDAY143sygtBCb44OPczsAOmWwBTxwOvh7g==} peerDependencies: vite: ^2.0.0 @@ -7118,7 +7158,7 @@ packages: fast-glob: 3.2.11 pretty-bytes: 5.6.0 rollup: 2.66.0 - vite: 2.8.3 + vite: 2.8.4 workbox-build: 6.4.2 workbox-window: 6.4.2 transitivePeerDependencies: @@ -7127,7 +7167,7 @@ packages: - supports-color dev: true - /vite-plugin-vue-layouts/0.6.0_450d08553fc592150f6d5039c11a1f32: + /vite-plugin-vue-layouts/0.6.0_38d013b3483c2295d006adc17a4cc10f: resolution: {integrity: sha512-7QX7o/NpCfs+hyXphwYfmPqAEQ6qd4uXsvI0VsovjGT2eCoEE5dMdP6L+uqqNWY4uqv7oCvtinecZmbzZv/9Rg==} peerDependencies: vite: ^2.5.0 @@ -7137,14 +7177,14 @@ packages: '@vue/compiler-sfc': 3.2.29 debug: 4.3.3 fast-glob: 3.2.11 - vite: 2.8.3 + vite: 2.8.4 vue: 3.2.31 vue-router: 4.0.12_vue@3.2.31 transitivePeerDependencies: - supports-color dev: true - /vite-ssg/0.17.10_1d9d03efcb68c10fe000b6b7ca1deeb9: + /vite-ssg/0.17.10_dd54dbe7cd94e1099491b8367e8c8198: resolution: {integrity: sha512-gPcw5RLmAq5CwZ9Q/Ca9kJWUm6KdxhkNRBzm8P4bGDCRQLNQkgTiQmK7ZwsdqD7C8bah4CMBFDeqz2MKSQintw==} engines: {node: '>=14.0.0'} hasBin: true @@ -7166,7 +7206,7 @@ packages: jsdom: 19.0.0 kolorist: 1.5.1 prettier: 2.5.1 - vite: 2.8.3 + vite: 2.8.4 vue: 3.2.31 vue-router: 4.0.12_vue@3.2.31 yargs: 17.3.1 @@ -7177,8 +7217,8 @@ packages: - utf-8-validate dev: true - /vite/2.8.3: - resolution: {integrity: sha512-967klrEiG7HEsN7fQYYVETs5495Iu6GpI7YyxoO5yVTJCRxjV8HhWgNWKgrbazjoOB9DQuztL53/nUoNqHNsWg==} + /vite/2.8.4: + resolution: {integrity: sha512-GwtOkkaT2LDI82uWZKcrpRQxP5tymLnC7hVHHqNkhFNknYr0hJUlDLfhVRgngJvAy3RwypkDCWtTKn1BjO96Dw==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -7226,15 +7266,15 @@ packages: local-pkg: 0.4.1 tinypool: 0.1.2 tinyspy: 0.2.10 - vite: 2.8.3 + vite: 2.8.4 transitivePeerDependencies: - less - sass - stylus dev: true - /vitest/0.3.6: - resolution: {integrity: sha512-EzlAmGHDh/sQhzKeqDtEae6nlFM5pJKJefj5P2eUUmg6DcXL2Xj365M7eN29P2tMofzs+qZD/LW+d2wopfNl0g==} + /vitest/0.5.3: + resolution: {integrity: sha512-tAV96lEUvycgiqsQKoQRjzXwDg+ae/R2jBLtt6MnFywOXbC9wYl+nRT9qT+d/+Mlw2B4dvVa9zuekY3emdcXJA==} engines: {node: '>=14.14.0'} hasBin: true peerDependencies: @@ -7257,8 +7297,8 @@ packages: chai: 4.3.6 local-pkg: 0.4.1 tinypool: 0.1.2 - tinyspy: 0.2.10 - vite: 2.8.3 + tinyspy: 0.3.0 + vite: 2.8.4 transitivePeerDependencies: - less - sass diff --git a/unocss.config.ts b/unocss.config.ts index 0137664..af0839e 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -1,8 +1,13 @@ -import { defineConfig, presetUno } from 'unocss' -import { presetTypography } from '@unocss/preset-typography' -import presetIcons from '@unocss/preset-icons' -import presetAttributify from '@unocss/preset-attributify' -import presetWebFonts from '@unocss/preset-web-fonts' +import { + defineConfig, + presetAttributify, + presetIcons, + presetTypography, + presetUno, + presetWebFonts, + transformerDirectives, + transformerVariantGroup, +} from 'unocss' export default defineConfig({ shortcuts: [ @@ -25,5 +30,9 @@ export default defineConfig({ }, }), ], + transformers: [ + transformerDirectives(), + transformerVariantGroup(), + ], safelist: 'prose prose-sm m-auto text-left'.split(' '), })