diff --git a/docs/astro.config.ts b/docs/astro.config.ts index 471aa025..a6032634 100644 --- a/docs/astro.config.ts +++ b/docs/astro.config.ts @@ -3,7 +3,6 @@ import mdx from '@astrojs/mdx'; import sitemap from '@astrojs/sitemap'; import prefetch from '@astrojs/prefetch'; import svelte from '@astrojs/svelte'; -import critters from 'astro-critters'; import serviceWorker from 'astrojs-service-worker'; import { rehypeHeadingIds } from '@astrojs/markdown-remark'; @@ -45,7 +44,7 @@ export default defineConfig({ sitemap(), prefetch(), serviceWorker(), - critters(), + // critters(), AutoImport({ dts: './src/auto-imports.d.ts', imports: [ diff --git a/docs/package.json b/docs/package.json index 1b029ffc..203cb4cc 100644 --- a/docs/package.json +++ b/docs/package.json @@ -32,7 +32,6 @@ "@iconify/json": "^2.2.25", "@types/throttle-debounce": "^5.0.0", "astro": "^2.0.14", - "astro-critters": "^1.1.29", "astrojs-service-worker": "^0.0.9", "autoprefixer": "^10.4.13", "hast-util-to-string": "^2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8dc3c706..63a39d11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -139,10 +139,7 @@ importers: version: 5.0.0 astro: specifier: ^2.0.14 - version: 2.0.14(sass@1.58.3)(terser@5.16.4) - astro-critters: - specifier: ^1.1.29 - version: 1.1.29 + version: 2.0.14(sass@1.58.3) astrojs-service-worker: specifier: ^0.0.9 version: 0.0.9(astro@2.0.14) @@ -199,7 +196,7 @@ importers: version: 0.15.3 vite: specifier: ^4.1.3 - version: 4.1.3(sass@1.58.3)(terser@5.16.4) + version: 4.1.3(sass@1.58.3) packages/core: devDependencies: @@ -421,7 +418,7 @@ packages: astro: ^2.0.2 dependencies: '@astrojs/prism': 2.0.0 - astro: 2.0.14(sass@1.58.3)(terser@5.16.4) + astro: 2.0.14(sass@1.58.3) github-slugger: 1.5.0 import-meta-resolve: 2.2.1 rehype-raw: 6.1.1 @@ -493,7 +490,7 @@ packages: svelte: ^3.54.0 dependencies: '@sveltejs/vite-plugin-svelte': 2.0.2(svelte@3.55.1)(vite@4.1.3) - astro: 2.0.14(sass@1.58.3)(terser@5.16.4) + astro: 2.0.14(sass@1.58.3) svelte: 3.55.1 svelte2tsx: 0.5.23(svelte@3.55.1)(typescript@4.9.5) transitivePeerDependencies: @@ -2913,7 +2910,7 @@ packages: magic-string: 0.27.0 svelte: 3.55.1 svelte-hmr: 0.15.1(svelte@3.55.1) - vite: 4.1.3(terser@5.16.4) + vite: 4.1.3(sass@1.58.3) vitefu: 0.2.4(vite@4.1.3) transitivePeerDependencies: - supports-color @@ -3570,18 +3567,11 @@ packages: hasBin: true dev: true - /astro-critters@1.1.29: - resolution: {integrity: sha512-9dfylgH+Rfrx2vsMDb16mf6rWDVf1yGMN6g2XFpqRmRrQHt+gR0C2nLi0Xq1wEolPt158f9CxvXCay/sfZZiyA==} - dependencies: - critters: 0.0.16 - files-pipeline: 0.0.3 - dev: true - /astro-seo@0.7.1: resolution: {integrity: sha512-8Yo1nQrl2iB5zj+VUAHrvGIck8bZ4WAmXQgJOeF9FuAZGQD5qK6DtSZaRbpBXsFfZYHA6tE8pjs3btHhLbC1zQ==} dev: false - /astro@2.0.14(sass@1.58.3)(terser@5.16.4): + /astro@2.0.14(sass@1.58.3): resolution: {integrity: sha512-BiXnHyK3rj5Uz45V5p9jRi0xtJc/zxhCxnXYAekHHF1bVvvoa3aXMwl0GZ3Bc0mxP6vPLmbRcjNKdqfyZn1B3Q==} engines: {node: '>=16.12.0', npm: '>=6.14.0'} hasBin: true @@ -3634,7 +3624,7 @@ packages: typescript: 4.9.5 unist-util-visit: 4.1.2 vfile: 5.3.7 - vite: 4.1.3(sass@1.58.3)(terser@5.16.4) + vite: 4.1.3(sass@1.58.3) vitefu: 0.2.4(vite@4.1.3) yargs-parser: 21.1.1 zod: 3.20.6 @@ -3653,7 +3643,7 @@ packages: peerDependencies: astro: '>=1.0.0' dependencies: - astro: 2.0.14(sass@1.58.3)(terser@5.16.4) + astro: 2.0.14(sass@1.58.3) workbox-build: 6.5.4 transitivePeerDependencies: - '@types/babel__core' @@ -3802,10 +3792,6 @@ packages: readable-stream: 3.6.0 dev: true - /boolbase@1.0.0: - resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} - dev: true - /boxen@6.2.1: resolution: {integrity: sha512-H4PEsJXfFI/Pt8sjDWbHlQPx4zL/bvSQjcilJmaulGt5mLDorHOHpmdXAJcBcmru7PhYSp/cDMWRko4ZUMFkSw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -4231,17 +4217,6 @@ packages: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} dev: true - /critters@0.0.16: - resolution: {integrity: sha512-JwjgmO6i3y6RWtLYmXwO5jMd+maZt8Tnfu7VVISmEWyQqfLpB8soBswf8/2bu6SBXxtKA68Al3c+qIG1ApT68A==} - dependencies: - chalk: 4.1.2 - css-select: 4.3.0 - parse5: 6.0.1 - parse5-htmlparser2-tree-adapter: 6.0.1 - postcss: 8.4.21 - pretty-bytes: 5.6.0 - dev: true - /cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} dependencies: @@ -4264,21 +4239,6 @@ packages: engines: {node: '>=8'} dev: true - /css-select@4.3.0: - resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==} - dependencies: - boolbase: 1.0.0 - css-what: 6.1.0 - domhandler: 4.3.1 - domutils: 2.8.0 - nth-check: 2.1.1 - dev: true - - /css-what@6.1.0: - resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} - engines: {node: '>= 6'} - dev: true - /css.escape@1.5.1: resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} dev: true @@ -4415,11 +4375,6 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true - /deepmerge-ts@4.2.2: - resolution: {integrity: sha512-Ka3Kb21tiWjvQvS9U+1Dx+aqFAHsdTnMdYptLTmC2VAmDFMugWMY1e15aTODstipmCun8iNuqeSfcx6rsUUk0Q==} - engines: {node: '>=12.4.0'} - dev: true - /deepmerge-ts@4.3.0: resolution: {integrity: sha512-if3ZYdkD2dClhnXR5reKtG98cwyaRT1NeugQoAPTTfsOpV9kqyeiBF9Qa5RHjemb3KzD5ulqygv6ED3t5j9eJw==} engines: {node: '>=12.4.0'} @@ -4509,18 +4464,6 @@ packages: resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==} dev: true - /dom-serializer@1.4.1: - resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==} - dependencies: - domelementtype: 2.3.0 - domhandler: 4.3.1 - entities: 2.2.0 - dev: true - - /domelementtype@2.3.0: - resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} - dev: true - /domexception@4.0.0: resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} engines: {node: '>=12'} @@ -4528,21 +4471,6 @@ packages: webidl-conversions: 7.0.0 dev: true - /domhandler@4.3.1: - resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==} - engines: {node: '>= 4'} - dependencies: - domelementtype: 2.3.0 - dev: true - - /domutils@2.8.0: - resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==} - dependencies: - dom-serializer: 1.4.1 - domelementtype: 2.3.0 - domhandler: 4.3.1 - dev: true - /dotenv@10.0.0: resolution: {integrity: sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==} engines: {node: '>=10'} @@ -4628,10 +4556,6 @@ packages: ansi-colors: 4.1.3 dev: true - /entities@2.2.0: - resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} - dev: true - /entities@4.4.0: resolution: {integrity: sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==} engines: {node: '>=0.12'} @@ -5237,13 +5161,6 @@ packages: minimatch: 5.1.6 dev: true - /files-pipeline@0.0.3: - resolution: {integrity: sha512-dtHt96Rs0qsNBnIlPuHUP8vd5xPRGbMYgywMfA2Qy83QPz8feoWsoXSuxxLsWYv4vag+vAhNZ4YOHL0pdyGKFA==} - dependencies: - deepmerge-ts: 4.2.2 - fast-glob: 3.2.12 - dev: true - /fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} @@ -7418,12 +7335,6 @@ packages: path-key: 4.0.0 dev: true - /nth-check@2.1.1: - resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - dependencies: - boolbase: 1.0.0 - dev: true - /nwsapi@2.2.2: resolution: {integrity: sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==} dev: true @@ -7674,12 +7585,6 @@ packages: unist-util-visit-children: 2.0.2 dev: true - /parse5-htmlparser2-tree-adapter@6.0.1: - resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} - dependencies: - parse5: 6.0.1 - dev: true - /parse5@6.0.1: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} dev: true @@ -9830,6 +9735,40 @@ packages: fsevents: 2.3.2 dev: true + /vite@4.1.3(sass@1.58.3): + resolution: {integrity: sha512-0Zqo4/Fr/swSOBmbl+HAAhOjrqNwju+yTtoe4hQX9UsARdcuc9njyOdr6xU0DDnV7YP0RT6mgTTOiRtZgxfCxA==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.16.17 + postcss: 8.4.21 + resolve: 1.22.1 + rollup: 3.17.2 + sass: 1.58.3 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /vite@4.1.3(sass@1.58.3)(terser@5.16.4): resolution: {integrity: sha512-0Zqo4/Fr/swSOBmbl+HAAhOjrqNwju+yTtoe4hQX9UsARdcuc9njyOdr6xU0DDnV7YP0RT6mgTTOiRtZgxfCxA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -9907,7 +9846,7 @@ packages: vite: optional: true dependencies: - vite: 4.1.3(terser@5.16.4) + vite: 4.1.3(sass@1.58.3) dev: true /vitest@0.28.5(jsdom@21.1.0)(terser@5.16.4):