diff --git a/.eslintrc.json b/.eslintrc.json index 09c2e42..4fe0891 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,7 @@ { - "extends": "@antfu" -} + "extends": "@antfu", + "rules": { + "jsonc/sort-keys": "off", + "eol-last": "off" + } +} \ No newline at end of file diff --git a/example/package.json b/example/package.json index d2efc0f..2aa799e 100644 --- a/example/package.json +++ b/example/package.json @@ -26,10 +26,10 @@ "unplugin-vue-components": "^0.22.12", "vite": "^4.0.1", "vite-plugin-inspect": "^0.7.10", - "vite-plugin-md": "link:..", + "vite-plugin-md": "0.21.0", "vite-plugin-pages": "^0.28.0", "vite-plugin-vue-layouts": "^0.7.0", "vite-ssg": "^0.22.1", "vue-tsc": "^1.0.13" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 2fae20d..5b727d3 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,22 @@ { "name": "vite-plugin-md", - "type": "module", "version": "0.21.0", - "packageManager": "pnpm@7.5.2", "description": "Markdown for Vite", - "author": "Anthony Fu ", - "license": "MIT", - "funding": "https://github.com/sponsors/antfu", - "homepage": "https://github.com/antfu/vite-plugin-md", - "repository": { - "type": "git", - "url": "https://github.com/antfu/vite-plugin-md" - }, - "bugs": "https://github.com/antfu/vite-plugin-md/issues", "keywords": [ "vite", "vite-plugin", "markdown-it" ], + "homepage": "https://github.com/antfu/vite-plugin-md", + "bugs": "https://github.com/antfu/vite-plugin-md/issues", + "repository": { + "type": "git", + "url": "https://github.com/antfu/vite-plugin-md" + }, + "funding": "https://github.com/sponsors/antfu", + "license": "MIT", + "author": "Anthony Fu ", + "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", @@ -47,27 +46,34 @@ "test:update": "vitest -u", "test:component": "npx cypress open-ct -p 4000" }, + "packageManager": "pnpm@7.5.2", "dependencies": { - "@vitest/coverage-c8": "^0.25.7", - "@yankeeinlondon/builder-api": "^1.2.0", + "@yankeeinlondon/builder-api": "^1.2.1", + "@yankeeinlondon/gray-matter": "^6.1.0", "@yankeeinlondon/happy-wrapper": "^2.10.1", - "gray-matter": "^4.0.3", "markdown-it": "^13.0.1", "source-map-js": "^1.0.2" }, + "peerDependencies": { + "vite": "^4.0.0" + }, "devDependencies": { "@antfu/eslint-config": "^0.34.0", "@antfu/ni": "^0.18.8", "@antfu/utils": "^0.7.2", "@type-challenges/utils": "^0.1.1", "@types/markdown-it": "^12.2.3", - "@types/node": "^16.18.8", + "@types/node": "^16.18.9", "@typescript-eslint/eslint-plugin": "^5.46.1", "@typescript-eslint/parser": "^5.46.1", "@vitejs/plugin-vue": "^4.0.0", - "@vitest/ui": "^0.25.7", + "@vitest/coverage-c8": "^0.25.8", + "@vitest/ui": "^0.25.8", "@vue/test-utils": "^2.2.6", "@vueuse/core": "^9.6.0", + "@yankeeinlondon/code-builder": "^1.2.0", + "@yankeeinlondon/link-builder": "^1.2.0", + "@yankeeinlondon/meta-builder": "^1.2.0", "bumpp": "^8.2.1", "c8": "^7.12.0", "callsites": "^4.0.0", @@ -77,12 +83,12 @@ "happy-dom": "^8.1.0", "npm-run-all": "^4.1.5", "pathe": "^1.0.0", - "rollup": "^3.7.3", + "rollup": "^3.7.4", "tsup": "^6.5.0", "typescript": "^4.9.4", "vite": "^4.0.1", - "vitest": "^0.25.7", + "vitest": "^0.25.8", "vue": "^3.2.45", "vue-router": "^4.1.6" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cd72d8a..063bc94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,40 +9,42 @@ importers: '@antfu/utils': ^0.7.2 '@type-challenges/utils': ^0.1.1 '@types/markdown-it': ^12.2.3 - '@types/node': ^16.18.8 + '@types/node': ^16.18.9 '@typescript-eslint/eslint-plugin': ^5.46.1 '@typescript-eslint/parser': ^5.46.1 '@vitejs/plugin-vue': ^4.0.0 - '@vitest/coverage-c8': ^0.25.7 - '@vitest/ui': ^0.25.7 + '@vitest/coverage-c8': ^0.25.8 + '@vitest/ui': ^0.25.8 '@vue/test-utils': ^2.2.6 '@vueuse/core': ^9.6.0 - '@yankeeinlondon/builder-api': ^1.2.0 + '@yankeeinlondon/builder-api': ^1.2.1 + '@yankeeinlondon/code-builder': ^1.2.0 + '@yankeeinlondon/gray-matter': ^6.1.0 '@yankeeinlondon/happy-wrapper': ^2.10.1 + '@yankeeinlondon/link-builder': ^1.2.0 + '@yankeeinlondon/meta-builder': ^1.2.0 bumpp: ^8.2.1 c8: ^7.12.0 callsites: ^4.0.0 eslint: ^8.29.0 eslint-config-prettier: ^8.5.0 fp-ts: ^2.13.1 - gray-matter: ^4.0.3 happy-dom: ^8.1.0 markdown-it: ^13.0.1 npm-run-all: ^4.1.5 pathe: ^1.0.0 - rollup: ^3.7.3 + rollup: ^3.7.4 source-map-js: ^1.0.2 tsup: ^6.5.0 typescript: ^4.9.4 vite: ^4.0.1 - vitest: ^0.25.7 + vitest: ^0.25.8 vue: ^3.2.45 vue-router: ^4.1.6 dependencies: - '@vitest/coverage-c8': 0.25.7_7xd7ipqvkgytwzflupn24cxnca - '@yankeeinlondon/builder-api': 1.2.0_7xd7ipqvkgytwzflupn24cxnca - '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.7 - gray-matter: 4.0.3 + '@yankeeinlondon/builder-api': 1.2.1_jpq67ecuqssjycqwb362ku3jlm + '@yankeeinlondon/gray-matter': 6.1.0_jpq67ecuqssjycqwb362ku3jlm + '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.8 markdown-it: 13.0.1 source-map-js: 1.0.2 devDependencies: @@ -51,13 +53,17 @@ importers: '@antfu/utils': 0.7.2 '@type-challenges/utils': 0.1.1 '@types/markdown-it': 12.2.3 - '@types/node': 16.18.8 + '@types/node': 16.18.9 '@typescript-eslint/eslint-plugin': 5.46.1_imrg37k3svwu377c6q7gkarwmi '@typescript-eslint/parser': 5.46.1_ha6vam6werchizxrnqvarmz2zu '@vitejs/plugin-vue': 4.0.0_vite@4.0.1+vue@3.2.45 - '@vitest/ui': 0.25.7 + '@vitest/coverage-c8': 0.25.8_jpq67ecuqssjycqwb362ku3jlm + '@vitest/ui': 0.25.8 '@vue/test-utils': 2.2.6_vue@3.2.45 '@vueuse/core': 9.6.0_vue@3.2.45 + '@yankeeinlondon/code-builder': 1.2.0_tiat3p6jseq43duslkothyjwyu + '@yankeeinlondon/link-builder': 1.2.0_jpq67ecuqssjycqwb362ku3jlm + '@yankeeinlondon/meta-builder': 1.2.0_jpq67ecuqssjycqwb362ku3jlm bumpp: 8.2.1 c8: 7.12.0 callsites: 4.0.0 @@ -67,11 +73,11 @@ importers: happy-dom: 8.1.0 npm-run-all: 4.1.5 pathe: 1.0.0 - rollup: 3.7.3 + rollup: 3.7.4 tsup: 6.5.0_typescript@4.9.4 typescript: 4.9.4 - vite: 4.0.1_@types+node@16.18.8 - vitest: 0.25.7_7xd7ipqvkgytwzflupn24cxnca + vite: 4.0.1_@types+node@16.18.9 + vitest: 0.25.8_jpq67ecuqssjycqwb362ku3jlm vue: 3.2.45 vue-router: 4.1.6_vue@3.2.45 @@ -93,7 +99,7 @@ importers: unplugin-vue-components: ^0.22.12 vite: ^4.0.1 vite-plugin-inspect: ^0.7.10 - vite-plugin-md: link:.. + vite-plugin-md: 0.21.0 vite-plugin-pages: ^0.28.0 vite-plugin-vue-layouts: ^0.7.0 vite-ssg: ^0.22.1 @@ -286,6 +292,7 @@ packages: /@bcoe/v8-coverage/0.2.3: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} + dev: true /@esbuild/android-arm/0.15.18: resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} @@ -302,6 +309,15 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm/0.16.7: + resolution: {integrity: sha512-yhzDbiVcmq6T1/XEvdcJIVcXHdLjDJ5cQ0Dp9R9p9ERMBTeO1dR5tc8YYv8zwDeBw1xZm+Eo3MRo8cwclhBS0g==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true optional: true /@esbuild/android-arm64/0.16.4: @@ -310,6 +326,15 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm64/0.16.7: + resolution: {integrity: sha512-tYFw0lBJSEvLoGzzYh1kXuzoX1iPkbOk3O29VqzQb0HbOy7t/yw1hGkvwoJhXHwzQUPsShyYcTgRf6bDBcfnTw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true optional: true /@esbuild/android-x64/0.16.4: @@ -318,6 +343,15 @@ packages: cpu: [x64] os: [android] requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64/0.16.7: + resolution: {integrity: sha512-3P2OuTxwAtM3k/yEWTNUJRjMPG1ce8rXs51GTtvEC5z1j8fC1plHeVVczdeHECU7aM2/Buc0MwZ6ciM/zysnWg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true optional: true /@esbuild/darwin-arm64/0.16.4: @@ -326,6 +360,15 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64/0.16.7: + resolution: {integrity: sha512-VUb9GK23z8jkosHU9yJNUgQpsfJn+7ZyBm6adi2Ec5/U241eR1tAn82QicnUzaFDaffeixiHwikjmnec/YXEZg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true optional: true /@esbuild/darwin-x64/0.16.4: @@ -334,6 +377,15 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64/0.16.7: + resolution: {integrity: sha512-duterlv3tit3HI9vhzMWnSVaB1B6YsXpFq1Ntd6Fou82BB1l4tucYy3FI9dHv3tvtDuS0NiGf/k6XsdBqPZ01w==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true optional: true /@esbuild/freebsd-arm64/0.16.4: @@ -342,6 +394,15 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64/0.16.7: + resolution: {integrity: sha512-9kkycpBFes/vhi7B7o0cf+q2WdJi+EpVzpVTqtWFNiutARWDFFLcB93J8PR1cG228sucsl3B+7Ts27izE6qiaQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true optional: true /@esbuild/freebsd-x64/0.16.4: @@ -350,6 +411,15 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64/0.16.7: + resolution: {integrity: sha512-5Ahf6jzWXJ4J2uh9dpy5DKOO+PeRUE/9DMys6VuYfwgQzd6n5+pVFm58L2Z2gRe611RX6SdydnNaiIKM3svY7g==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true optional: true /@esbuild/linux-arm/0.16.4: @@ -358,6 +428,15 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm/0.16.7: + resolution: {integrity: sha512-QqJnyCfu5OF78Olt7JJSZ7OSv/B4Hf+ZJWp4kkq9xwMsgu7yWq3crIic8gGOpDYTqVKKMDAVDgRXy5Wd/nWZyQ==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-arm64/0.16.4: @@ -366,6 +445,15 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64/0.16.7: + resolution: {integrity: sha512-2wv0xYDskk2+MzIm/AEprDip39a23Chptc4mL7hsHg26P0gD8RUhzmDu0KCH2vMThUI1sChXXoK9uH0KYQKaDg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-ia32/0.16.4: @@ -374,6 +462,15 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32/0.16.7: + resolution: {integrity: sha512-APVYbEilKbD5ptmKdnIcXej2/+GdV65TfTjxR2Uk8t1EsOk49t6HapZW6DS/Bwlvh5hDwtLapdSumIVNGxgqLg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-loong64/0.15.18: @@ -391,6 +488,15 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.16.7: + resolution: {integrity: sha512-5wPUAGclplQrAW7EFr3F84Y/d++7G0KykohaF4p54+iNWhUnMVU8Bh2sxiEOXUy4zKIdpHByMgJ5/Ko6QhtTUw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-mips64el/0.16.4: @@ -399,6 +505,15 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el/0.16.7: + resolution: {integrity: sha512-hxzlXtWF6yWfkE/SMTscNiVqLOAn7fOuIF3q/kiZaXxftz1DhZW/HpnTmTTWrzrS7zJWQxHHT4QSxyAj33COmA==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-ppc64/0.16.4: @@ -407,6 +522,15 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64/0.16.7: + resolution: {integrity: sha512-WM83Dac0LdXty5xPhlOuCD5Egfk1xLND/oRLYeB7Jb/tY4kzFSDgLlq91wYbHua/s03tQGA9iXvyjgymMw62Vw==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-riscv64/0.16.4: @@ -415,6 +539,15 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64/0.16.7: + resolution: {integrity: sha512-3nkNnNg4Ax6MS/l8O8Ynq2lGEVJYyJ2EoY3PHjNJ4PuZ80EYLMrFTFZ4L/Hc16AxgtXKwmNP9TM0YKNiBzBiJQ==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-s390x/0.16.4: @@ -423,6 +556,15 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x/0.16.7: + resolution: {integrity: sha512-3SA/2VJuv0o1uD7zuqxEP+RrAyRxnkGddq0bwHQ98v1KNlzXD/JvxwTO3T6GM5RH6JUd29RTVQTOJfyzMkkppA==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-x64/0.16.4: @@ -431,6 +573,15 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64/0.16.7: + resolution: {integrity: sha512-xi/tbqCqvPIzU+zJVyrpz12xqciTAPMi2fXEWGnapZymoGhuL2GIWIRXg4O2v5BXaYA5TSaiKYE14L0QhUTuQg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true optional: true /@esbuild/netbsd-x64/0.16.4: @@ -439,6 +590,15 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64/0.16.7: + resolution: {integrity: sha512-NUsYbq3B+JdNKn8SXkItFvdes9qTwEoS3aLALtiWciW/ystiCKM20Fgv9XQBOXfhUHyh5CLEeZDXzLOrwBXuCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true optional: true /@esbuild/openbsd-x64/0.16.4: @@ -447,6 +607,15 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64/0.16.7: + resolution: {integrity: sha512-qjwzsgeve9I8Tbsko2FEkdSk2iiezuNGFgipQxY/736NePXDaDZRodIejYGWOlbYXugdxb0nif5yvypH6lKBmA==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true optional: true /@esbuild/sunos-x64/0.16.4: @@ -455,6 +624,15 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64/0.16.7: + resolution: {integrity: sha512-mFWDz4RoBTzPphTCkM7Kc7Qpa0o/Z01acajR+Ai7LdfKgcP/C6jYOaKwv7nKzD0+MjOT20j7You9g4ozYy1dKQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true optional: true /@esbuild/win32-arm64/0.16.4: @@ -463,6 +641,15 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64/0.16.7: + resolution: {integrity: sha512-m39UmX19RvEIuC8sYZ0M+eQtdXw4IePDSZ78ZQmYyFaXY9krq4YzQCK2XWIJomNLtg4q+W5aXr8bW3AbqWNoVg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true optional: true /@esbuild/win32-ia32/0.16.4: @@ -471,6 +658,15 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32/0.16.7: + resolution: {integrity: sha512-1cbzSEZA1fANwmT6rjJ4G1qQXHxCxGIcNYFYR9ctI82/prT38lnwSRZ0i5p/MVXksw9eMlHlet6pGu2/qkXFCg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true optional: true /@esbuild/win32-x64/0.16.4: @@ -479,6 +675,15 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64/0.16.7: + resolution: {integrity: sha512-QaQ8IH0JLacfGf5cf0HCCPnQuCTd/dAI257vXBgb/cccKGbH/6pVtI1gwhdAQ0Y48QSpTIFrh9etVyNdZY+zzw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true optional: true /@eslint-community/eslint-utils/4.1.2_eslint@8.29.0: @@ -508,8 +713,8 @@ packages: - supports-color dev: true - /@humanwhocodes/config-array/0.11.7: - resolution: {integrity: sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==} + /@humanwhocodes/config-array/0.11.8: + resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -555,6 +760,7 @@ packages: /@istanbuljs/schema/0.1.3: resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} engines: {node: '>=8'} + dev: true /@jridgewell/gen-mapping/0.1.1: resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} @@ -567,6 +773,7 @@ packages: /@jridgewell/resolve-uri/3.1.0: resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} + dev: true /@jridgewell/set-array/1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} @@ -575,12 +782,14 @@ packages: /@jridgewell/sourcemap-codec/1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} + dev: true /@jridgewell/trace-mapping/0.3.17: resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 + dev: true /@jsdevtools/ez-spawn/3.0.4: resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==} @@ -626,6 +835,21 @@ packages: picomatch: 2.3.1 dev: true + /@rollup/pluginutils/5.0.2_rollup@3.7.4: + resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.0 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 3.7.4 + dev: true + /@tootallnate/once/2.0.0: resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} @@ -655,6 +879,7 @@ packages: /@types/istanbul-lib-coverage/2.0.4: resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} + dev: true /@types/json-schema/7.0.11: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} @@ -686,12 +911,12 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: true - /@types/node/16.18.8: - resolution: {integrity: sha512-TrpoNiaPvBH5h8rQQenMtVsJXtGsVBRJrcp2Ik6oEt99jHfGvDLh20VTTq3ixTbjYujukYz1IlY4N8a8yfY0jA==} + /@types/node/16.18.9: + resolution: {integrity: sha512-nhrqXYxiQ+5B/tPorWum37VgAiefi/wmfJ1QZKGKKecC8/3HqcTTJD0O+VABSPwtseMMF7NCPVT9uGgwn0YqsQ==} + dev: true /@types/node/18.11.13: resolution: {integrity: sha512-IASpMGVcWpUsx5xBOrxMj7Bl8lqfuTY7FKAnPmu5cHkfQVWF8GulWS1jbRqA934qZL35xh5xN/+Xe/i26Bod4w==} - dev: true /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} @@ -862,6 +1087,17 @@ packages: hookable: 5.4.2 vue: 3.2.45 + /@unocss/astro/0.47.6_rollup@3.7.4+vite@4.0.1: + resolution: {integrity: sha512-8lR4KwuCeVxOTKk6g6hx6VUHhW1u+hki8oRsJaKEB0s5iUPmY6rCNtb/iaBJdceY11bZMMy5LZHJFTkod/T/zg==} + dependencies: + '@unocss/core': 0.47.6 + '@unocss/reset': 0.47.6 + '@unocss/vite': 0.47.6_rollup@3.7.4+vite@4.0.1 + transitivePeerDependencies: + - rollup + - vite + dev: true + /@unocss/astro/0.47.6_vite@4.0.1: resolution: {integrity: sha512-8lR4KwuCeVxOTKk6g6hx6VUHhW1u+hki8oRsJaKEB0s5iUPmY6rCNtb/iaBJdceY11bZMMy5LZHJFTkod/T/zg==} dependencies: @@ -895,6 +1131,28 @@ packages: - rollup dev: true + /@unocss/cli/0.47.6_rollup@3.7.4: + resolution: {integrity: sha512-Lwuzl6xK+67LUb4pCKlyrMv9cDuTvywhlSBiYzDj1Su+21IQVRxUagpo10b1WlLXWWQz4J3bOJZYE/e/QV2/HQ==} + engines: {node: '>=14'} + hasBin: true + dependencies: + '@ampproject/remapping': 2.2.0 + '@rollup/pluginutils': 5.0.2_rollup@3.7.4 + '@unocss/config': 0.47.6 + '@unocss/core': 0.47.6 + '@unocss/preset-uno': 0.47.6 + cac: 6.7.14 + chokidar: 3.5.3 + colorette: 2.0.19 + consola: 2.15.3 + fast-glob: 3.2.12 + magic-string: 0.26.7 + pathe: 1.0.0 + perfect-debounce: 0.1.3 + transitivePeerDependencies: + - rollup + dev: true + /@unocss/config/0.47.6: resolution: {integrity: sha512-KycIrpKqPrTnrbNRLUgePuzfZUKk6afsKII6B53q9rVxxC1og4g7wCsvrn2D89lPipsJ6B9041VsdIhNqa8bFg==} engines: {node: '>=14'} @@ -1003,6 +1261,24 @@ packages: '@unocss/core': 0.47.6 dev: true + /@unocss/vite/0.47.6_rollup@3.7.4+vite@4.0.1: + resolution: {integrity: sha512-NL3A20sJHwMyCHOaxLlFXnr71QHEd118GN82e/mtFluEh7F3WyLndaZfWQLmLEeJ3z+P4nURFCLirZJIXr4XgQ==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 + dependencies: + '@ampproject/remapping': 2.2.0 + '@rollup/pluginutils': 5.0.2_rollup@3.7.4 + '@unocss/config': 0.47.6 + '@unocss/core': 0.47.6 + '@unocss/inspector': 0.47.6 + '@unocss/scope': 0.47.6 + '@unocss/transformer-directives': 0.47.6 + magic-string: 0.27.0 + vite: 4.0.1_@types+node@16.18.9 + transitivePeerDependencies: + - rollup + dev: true + /@unocss/vite/0.47.6_vite@4.0.1: resolution: {integrity: sha512-NL3A20sJHwMyCHOaxLlFXnr71QHEd118GN82e/mtFluEh7F3WyLndaZfWQLmLEeJ3z+P4nURFCLirZJIXr4XgQ==} peerDependencies: @@ -1028,15 +1304,15 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.0.1 + vite: 4.0.1_@types+node@16.18.9 vue: 3.2.45 dev: true - /@vitest/coverage-c8/0.25.7_7xd7ipqvkgytwzflupn24cxnca: - resolution: {integrity: sha512-TEoYjW4YIDXKCMmLqduIGpIq2JmlhE3M0Q68apjNM0ljrJyEvYpaDI5b7OyfXbAJjhmZvIlfEZfZnmhbExHLHg==} + /@vitest/coverage-c8/0.25.8_jpq67ecuqssjycqwb362ku3jlm: + resolution: {integrity: sha512-fWgzQoK2KNzTTNnDcLCyibfO9/pbcpPOMtZ9Yvq/Eggpi2X8lewx/OcKZkO5ba5q9dl6+BBn6d5hTcS1709rZw==} dependencies: c8: 7.12.0 - vitest: 0.25.7_7xd7ipqvkgytwzflupn24cxnca + vitest: 0.25.8_jpq67ecuqssjycqwb362ku3jlm transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -1049,10 +1325,10 @@ packages: - sugarss - supports-color - terser - dev: false + dev: true - /@vitest/ui/0.25.7: - resolution: {integrity: sha512-mL/7SbXE11jMaSq/ynQuQvmR63amQ9/u60ZXgg9zFGJ3glTkfGfKIKSsGB64Z4vNEh8hf6MeF3vDfErlbJo0xA==} + /@vitest/ui/0.25.8: + resolution: {integrity: sha512-wfuhghldD5QHLYpS46GK8Ru8P3XcMrWvFjRQD21KNzc9Y/qtJsqoC8KmT6xWVkMNw4oHYixpo3a4ZySRJdserw==} dependencies: sirv: 2.0.2 @@ -1236,14 +1512,34 @@ packages: - terser dev: true - /@yankeeinlondon/builder-api/1.2.0_7xd7ipqvkgytwzflupn24cxnca: - resolution: {integrity: sha512-InYsAyiYhaG8S7N2O1yrPKdEPT3BXAj03mIKy/XsdTDQJjRbYuyiJDWz/0qPHkpp3ldI2rHTr/rCT0F/aCwq9A==} + /@yankeeinlondon/builder-api/1.2.1: + resolution: {integrity: sha512-jbqgHU3wTzlkuYMzEj4bfwqmKFv5qYuaPtoUCfNBCx/V4WMxwY0SaUoCwTyj8Dx2epMQgG/I6ED1JS2p3Gm/mg==} dependencies: '@types/markdown-it': 12.2.3 - '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.7 + '@yankeeinlondon/happy-wrapper': 2.10.1 + fp-ts: 2.13.1 + inferred-types: 0.37.6 + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - jsdom + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /@yankeeinlondon/builder-api/1.2.1_jpq67ecuqssjycqwb362ku3jlm: + resolution: {integrity: sha512-jbqgHU3wTzlkuYMzEj4bfwqmKFv5qYuaPtoUCfNBCx/V4WMxwY0SaUoCwTyj8Dx2epMQgG/I6ED1JS2p3Gm/mg==} + dependencies: + '@types/markdown-it': 12.2.3 + '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.8 fp-ts: 2.13.1 - inferred-types: 0.37.6_7xd7ipqvkgytwzflupn24cxnca - vite-plugin-md: 0.20.6_7xd7ipqvkgytwzflupn24cxnca + inferred-types: 0.37.6_jpq67ecuqssjycqwb362ku3jlm transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -1257,7 +1553,35 @@ packages: - sugarss - supports-color - terser - dev: false + + /@yankeeinlondon/code-builder/1.2.0_tiat3p6jseq43duslkothyjwyu: + resolution: {integrity: sha512-BjnpPozvYWgXUzt5SykQKfIM+GIBpEz2MfK+B0/baNP0wpy2NJs8F4klQIgdTOHhBYKNru4IHq0fQcg+BsrR/w==} + dependencies: + '@types/markdown-it': 12.2.3 + '@yankeeinlondon/builder-api': 1.2.1_jpq67ecuqssjycqwb362ku3jlm + '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.8 + inferred-types: 0.37.6_jpq67ecuqssjycqwb362ku3jlm + markdown-it: 13.0.1 + pathe: 1.0.0 + prismjs: 1.29.0 + unocss: 0.47.6_rollup@3.7.4+vite@4.0.1 + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@unocss/webpack' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - happy-dom + - jsdom + - less + - rollup + - sass + - stylus + - sugarss + - supports-color + - terser + - vite + dev: true /@yankeeinlondon/code-builder/1.2.0_vite@4.0.1: resolution: {integrity: sha512-BjnpPozvYWgXUzt5SykQKfIM+GIBpEz2MfK+B0/baNP0wpy2NJs8F4klQIgdTOHhBYKNru4IHq0fQcg+BsrR/w==} @@ -1272,33 +1596,96 @@ packages: unocss: 0.47.6_vite@4.0.1 transitivePeerDependencies: - '@edge-runtime/vm' - - '@unocss/webpack' + - '@unocss/webpack' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - happy-dom + - jsdom + - less + - rollup + - sass + - stylus + - sugarss + - supports-color + - terser + - vite + dev: true + + /@yankeeinlondon/gray-matter/6.1.0_jpq67ecuqssjycqwb362ku3jlm: + resolution: {integrity: sha512-rLmadapO8Sjxs6Oe/oHRq99ZTaC6zm/kI4+ny8fq4KeArDzak5Rs0m0sMTvs5XftipZh4cggrPj9YOI+sKXxyg==} + engines: {node: '>=14.0'} + dependencies: + inferred-types: 0.37.6_jpq67ecuqssjycqwb362ku3jlm + js-yaml: 4.1.0 + kind-of: 6.0.3 + section-matter: 1.0.0 + strip-bom-string: 1.0.0 + vitest: 0.25.8_jpq67ecuqssjycqwb362ku3jlm + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + + /@yankeeinlondon/happy-wrapper/2.10.1: + resolution: {integrity: sha512-kS3HT26QSQqcZa8Me2yrb6oc/j0BTmTRR76ITRGcYlO8G1snz9wii1eCrBTx+gAo58P+e3UkxB8PTVrmjTowVA==} + dependencies: + fp-ts: 2.13.1 + happy-dom: 8.1.0 + native-dash: 1.24.0_happy-dom@8.1.0 + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - jsdom + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /@yankeeinlondon/happy-wrapper/2.10.1_@vitest+ui@0.25.8: + resolution: {integrity: sha512-kS3HT26QSQqcZa8Me2yrb6oc/j0BTmTRR76ITRGcYlO8G1snz9wii1eCrBTx+gAo58P+e3UkxB8PTVrmjTowVA==} + dependencies: + fp-ts: 2.13.1 + happy-dom: 8.1.0 + native-dash: 1.24.0_jpq67ecuqssjycqwb362ku3jlm + transitivePeerDependencies: + - '@edge-runtime/vm' - '@vitest/browser' - '@vitest/ui' - encoding - - happy-dom - jsdom - less - - rollup - sass - stylus - sugarss - supports-color - terser - - vite - dev: true - /@yankeeinlondon/happy-wrapper/2.10.1: - resolution: {integrity: sha512-kS3HT26QSQqcZa8Me2yrb6oc/j0BTmTRR76ITRGcYlO8G1snz9wii1eCrBTx+gAo58P+e3UkxB8PTVrmjTowVA==} + /@yankeeinlondon/link-builder/1.2.0: + resolution: {integrity: sha512-BUWVeUyyDsvymgWM3dwrvmOfdP1OQp8TNypOF6ufHZFuxYVI+LF+mkjJzrR7rmnMaFFg3BhAjiJs0+SL7/d5VQ==} dependencies: - fp-ts: 2.13.1 - happy-dom: 8.1.0 - native-dash: 1.24.0_happy-dom@8.1.0 + '@yankeeinlondon/builder-api': 1.2.0 + '@yankeeinlondon/happy-wrapper': 2.10.1 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' - '@vitest/ui' - encoding + - happy-dom - jsdom - less - sass @@ -1308,17 +1695,17 @@ packages: - terser dev: true - /@yankeeinlondon/happy-wrapper/2.10.1_@vitest+ui@0.25.7: - resolution: {integrity: sha512-kS3HT26QSQqcZa8Me2yrb6oc/j0BTmTRR76ITRGcYlO8G1snz9wii1eCrBTx+gAo58P+e3UkxB8PTVrmjTowVA==} + /@yankeeinlondon/link-builder/1.2.0_jpq67ecuqssjycqwb362ku3jlm: + resolution: {integrity: sha512-BUWVeUyyDsvymgWM3dwrvmOfdP1OQp8TNypOF6ufHZFuxYVI+LF+mkjJzrR7rmnMaFFg3BhAjiJs0+SL7/d5VQ==} dependencies: - fp-ts: 2.13.1 - happy-dom: 8.1.0 - native-dash: 1.24.0_7xd7ipqvkgytwzflupn24cxnca + '@yankeeinlondon/builder-api': 1.2.1_jpq67ecuqssjycqwb362ku3jlm + '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.8 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' - '@vitest/ui' - encoding + - happy-dom - jsdom - less - sass @@ -1326,18 +1713,19 @@ packages: - sugarss - supports-color - terser - dev: false + dev: true - /@yankeeinlondon/link-builder/1.2.0: - resolution: {integrity: sha512-BUWVeUyyDsvymgWM3dwrvmOfdP1OQp8TNypOF6ufHZFuxYVI+LF+mkjJzrR7rmnMaFFg3BhAjiJs0+SL7/d5VQ==} + /@yankeeinlondon/meta-builder/1.2.0: + resolution: {integrity: sha512-mTxjbbcxvJcIQ2eb2eDQKtUf0Dz9+EK+5Hg/DXZl/gPvylXmh1aiGyjqkadLWaUWFabeRfALpRK983RAlzYdRA==} dependencies: '@yankeeinlondon/builder-api': 1.2.0 - '@yankeeinlondon/happy-wrapper': 2.10.1 + inferred-types: 0.37.6 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' - '@vitest/ui' - encoding + - happy-dom - jsdom - less - sass @@ -1347,16 +1735,17 @@ packages: - terser dev: true - /@yankeeinlondon/meta-builder/1.2.0: + /@yankeeinlondon/meta-builder/1.2.0_jpq67ecuqssjycqwb362ku3jlm: resolution: {integrity: sha512-mTxjbbcxvJcIQ2eb2eDQKtUf0Dz9+EK+5Hg/DXZl/gPvylXmh1aiGyjqkadLWaUWFabeRfALpRK983RAlzYdRA==} dependencies: - '@yankeeinlondon/builder-api': 1.2.0 - inferred-types: 0.37.6 + '@yankeeinlondon/builder-api': 1.2.1_jpq67ecuqssjycqwb362ku3jlm + inferred-types: 0.37.6_jpq67ecuqssjycqwb362ku3jlm transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' - '@vitest/ui' - encoding + - happy-dom - jsdom - less - sass @@ -1418,6 +1807,7 @@ packages: /ansi-regex/5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} + dev: true /ansi-styles/3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} @@ -1431,6 +1821,7 @@ packages: engines: {node: '>=8'} dependencies: color-convert: 2.0.1 + dev: true /any-promise/1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} @@ -1448,6 +1839,7 @@ packages: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} dependencies: sprintf-js: 1.0.3 + dev: true /argparse/2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -1492,6 +1884,7 @@ packages: /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + dev: true /binary-extensions/2.2.0: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} @@ -1507,6 +1900,7 @@ packages: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 + dev: true /brace-expansion/2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -1520,14 +1914,14 @@ packages: dependencies: fill-range: 7.0.1 - /brilliant-errors/0.7.3: + /brilliant-errors/0.7.3_happy-dom@8.1.0: resolution: {integrity: sha512-WT9BkAze4SUOJfr7LUwJWNDAvynEAvUMvMPuFKu8QQKnRq+WMx3DAtHfOBJjHmHRxf748JY3CNVytSk6HH2yGg==} engines: {node: '>=14.0.0'} dependencies: bumpp: 8.2.1 callsites: 4.0.0 - inferred-types: 0.37.6 - vitest: 0.25.7 + inferred-types: 0.37.6_happy-dom@8.1.0 + vitest: 0.25.8_happy-dom@8.1.0 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -1542,36 +1936,14 @@ packages: - terser dev: true - /brilliant-errors/0.7.3_7xd7ipqvkgytwzflupn24cxnca: - resolution: {integrity: sha512-WT9BkAze4SUOJfr7LUwJWNDAvynEAvUMvMPuFKu8QQKnRq+WMx3DAtHfOBJjHmHRxf748JY3CNVytSk6HH2yGg==} - engines: {node: '>=14.0.0'} - dependencies: - bumpp: 8.2.1 - callsites: 4.0.0 - inferred-types: 0.37.6_7xd7ipqvkgytwzflupn24cxnca - vitest: 0.25.7_7xd7ipqvkgytwzflupn24cxnca - transitivePeerDependencies: - - '@edge-runtime/vm' - - '@vitest/browser' - - '@vitest/ui' - - happy-dom - - jsdom - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - - /brilliant-errors/0.7.3_happy-dom@8.1.0: + /brilliant-errors/0.7.3_jpq67ecuqssjycqwb362ku3jlm: resolution: {integrity: sha512-WT9BkAze4SUOJfr7LUwJWNDAvynEAvUMvMPuFKu8QQKnRq+WMx3DAtHfOBJjHmHRxf748JY3CNVytSk6HH2yGg==} engines: {node: '>=14.0.0'} dependencies: bumpp: 8.2.1 callsites: 4.0.0 - inferred-types: 0.37.6_happy-dom@8.1.0 - vitest: 0.25.7_happy-dom@8.1.0 + inferred-types: 0.37.6 + vitest: 0.25.8_jpq67ecuqssjycqwb362ku3jlm transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -1584,7 +1956,6 @@ packages: - sugarss - supports-color - terser - dev: true /builtin-modules/3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} @@ -1643,6 +2014,7 @@ packages: v8-to-istanbul: 9.0.1 yargs: 16.2.0 yargs-parser: 20.2.9 + dev: true /cac/6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} @@ -1758,6 +2130,7 @@ packages: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + dev: true /cliui/8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} @@ -1779,6 +2152,7 @@ packages: engines: {node: '>=7.0.0'} dependencies: color-name: 1.1.4 + dev: true /color-name/1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} @@ -1786,6 +2160,7 @@ packages: /color-name/1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + dev: true /colorette/2.0.19: resolution: {integrity: sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==} @@ -1809,6 +2184,7 @@ packages: /concat-map/0.0.1: resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + dev: true /consola/2.15.3: resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==} @@ -1816,6 +2192,7 @@ packages: /convert-source-map/1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + dev: true /cross-env/7.0.3: resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} @@ -2041,6 +2418,7 @@ packages: /emoji-regex/8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + dev: true /entities/3.0.1: resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} @@ -2071,7 +2449,7 @@ packages: has: 1.0.3 has-property-descriptors: 1.0.0 has-symbols: 1.0.3 - internal-slot: 1.0.3 + internal-slot: 1.0.4 is-callable: 1.2.7 is-negative-zero: 2.0.2 is-regex: 1.1.4 @@ -2354,10 +2732,41 @@ packages: '@esbuild/win32-arm64': 0.16.4 '@esbuild/win32-ia32': 0.16.4 '@esbuild/win32-x64': 0.16.4 + dev: true + + /esbuild/0.16.7: + resolution: {integrity: sha512-P6OBFYFSQOGzfApqCeYKqfKRRbCIRsdppTXFo4aAvtiW3o8TTyiIplBvHJI171saPAiy3WlawJHCveJVIOIx1A==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.16.7 + '@esbuild/android-arm64': 0.16.7 + '@esbuild/android-x64': 0.16.7 + '@esbuild/darwin-arm64': 0.16.7 + '@esbuild/darwin-x64': 0.16.7 + '@esbuild/freebsd-arm64': 0.16.7 + '@esbuild/freebsd-x64': 0.16.7 + '@esbuild/linux-arm': 0.16.7 + '@esbuild/linux-arm64': 0.16.7 + '@esbuild/linux-ia32': 0.16.7 + '@esbuild/linux-loong64': 0.16.7 + '@esbuild/linux-mips64el': 0.16.7 + '@esbuild/linux-ppc64': 0.16.7 + '@esbuild/linux-riscv64': 0.16.7 + '@esbuild/linux-s390x': 0.16.7 + '@esbuild/linux-x64': 0.16.7 + '@esbuild/netbsd-x64': 0.16.7 + '@esbuild/openbsd-x64': 0.16.7 + '@esbuild/sunos-x64': 0.16.7 + '@esbuild/win32-arm64': 0.16.7 + '@esbuild/win32-ia32': 0.16.7 + '@esbuild/win32-x64': 0.16.7 /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + dev: true /escape-string-regexp/1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} @@ -2670,7 +3079,7 @@ packages: hasBin: true dependencies: '@eslint/eslintrc': 1.3.3 - '@humanwhocodes/config-array': 0.11.7 + '@humanwhocodes/config-array': 0.11.8 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 ajv: 6.12.6 @@ -2732,6 +3141,7 @@ packages: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true + dev: true /esquery/1.4.0: resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} @@ -2848,6 +3258,7 @@ packages: dependencies: locate-path: 6.0.0 path-exists: 4.0.0 + dev: true /flat-cache/3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} @@ -2873,6 +3284,7 @@ packages: dependencies: cross-spawn: 7.0.3 signal-exit: 3.0.7 + dev: true /form-data/4.0.0: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} @@ -2897,6 +3309,7 @@ packages: /fs.realpath/1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + dev: true /fsevents/2.3.2: resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} @@ -2925,6 +3338,7 @@ packages: /get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + dev: true /get-func-name/2.0.0: resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} @@ -2983,6 +3397,7 @@ packages: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 + dev: true /globals/13.19.0: resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==} @@ -3025,6 +3440,7 @@ packages: kind-of: 6.0.3 section-matter: 1.0.0 strip-bom-string: 1.0.0 + dev: true /gzip-size/6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} @@ -3057,6 +3473,7 @@ packages: /has-flag/4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} + dev: true /has-property-descriptors/1.0.0: resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} @@ -3102,6 +3519,7 @@ packages: /html-escaper/2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + dev: true /html-minifier/4.0.0: resolution: {integrity: sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig==} @@ -3190,25 +3608,12 @@ packages: /inferred-types/0.37.6: resolution: {integrity: sha512-CfL5g1wR5rVwX2K5S6wSL+h9eODScum/LBwlhGRrcBIvfYppvUQM0aeRJ1BZS+QE38kGzd3v+U526+nQR7ZUkg==} dependencies: - brilliant-errors: 0.7.3 - transitivePeerDependencies: - - '@edge-runtime/vm' - - '@vitest/browser' - - '@vitest/ui' - - happy-dom - - jsdom - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true + brilliant-errors: 0.7.3_jpq67ecuqssjycqwb362ku3jlm - /inferred-types/0.37.6_7xd7ipqvkgytwzflupn24cxnca: + /inferred-types/0.37.6_happy-dom@8.1.0: resolution: {integrity: sha512-CfL5g1wR5rVwX2K5S6wSL+h9eODScum/LBwlhGRrcBIvfYppvUQM0aeRJ1BZS+QE38kGzd3v+U526+nQR7ZUkg==} dependencies: - brilliant-errors: 0.7.3_7xd7ipqvkgytwzflupn24cxnca + brilliant-errors: 0.7.3_happy-dom@8.1.0 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -3221,12 +3626,12 @@ packages: - sugarss - supports-color - terser - dev: false + dev: true - /inferred-types/0.37.6_happy-dom@8.1.0: + /inferred-types/0.37.6_jpq67ecuqssjycqwb362ku3jlm: resolution: {integrity: sha512-CfL5g1wR5rVwX2K5S6wSL+h9eODScum/LBwlhGRrcBIvfYppvUQM0aeRJ1BZS+QE38kGzd3v+U526+nQR7ZUkg==} dependencies: - brilliant-errors: 0.7.3_happy-dom@8.1.0 + brilliant-errors: 0.7.3_jpq67ecuqssjycqwb362ku3jlm transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -3239,19 +3644,20 @@ packages: - sugarss - supports-color - terser - dev: true /inflight/1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} dependencies: once: 1.4.0 wrappy: 1.0.2 + dev: true /inherits/2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + dev: true - /internal-slot/1.0.3: - resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==} + /internal-slot/1.0.4: + resolution: {integrity: sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==} engines: {node: '>= 0.4'} dependencies: get-intrinsic: 1.1.3 @@ -3342,6 +3748,7 @@ packages: /is-fullwidth-code-point/3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} + dev: true /is-glob/4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} @@ -3457,6 +3864,7 @@ packages: /istanbul-lib-coverage/3.2.0: resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} engines: {node: '>=8'} + dev: true /istanbul-lib-report/3.0.0: resolution: {integrity: sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==} @@ -3465,6 +3873,7 @@ packages: istanbul-lib-coverage: 3.2.0 make-dir: 3.1.0 supports-color: 7.2.0 + dev: true /istanbul-reports/3.1.5: resolution: {integrity: sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==} @@ -3472,6 +3881,7 @@ packages: dependencies: html-escaper: 2.0.2 istanbul-lib-report: 3.0.0 + dev: true /jiti/1.16.0: resolution: {integrity: sha512-L3BJStEf5NAqNuzrpfbN71dp43mYIcBUlCRea/vdyv5dW/AYa1d4bpelko4SHdY3I6eN9Wzyasxirj1/vv5kmg==} @@ -3497,13 +3907,13 @@ packages: dependencies: argparse: 1.0.10 esprima: 4.0.1 + dev: true /js-yaml/4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true dependencies: argparse: 2.0.1 - dev: true /jsdom/20.0.3: resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} @@ -3685,6 +4095,7 @@ packages: engines: {node: '>=10'} dependencies: p-locate: 5.0.0 + dev: true /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} @@ -3737,6 +4148,7 @@ packages: engines: {node: '>=8'} dependencies: semver: 6.3.0 + dev: true /markdown-it/13.0.1: resolution: {integrity: sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==} @@ -3826,6 +4238,7 @@ packages: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: brace-expansion: 1.1.11 + dev: true /minimatch/5.1.1: resolution: {integrity: sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==} @@ -3879,11 +4292,11 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - /native-dash/1.24.0_7xd7ipqvkgytwzflupn24cxnca: + /native-dash/1.24.0_happy-dom@8.1.0: resolution: {integrity: sha512-jEoxTHqlFSMsHrkWkOnieBdxjpZVLTJWLK3/VTVQsBXKCbrth0yeiqBIsiW+Rz1skXhNnPQ4r9tyLU0TSm2WpQ==} dependencies: - brilliant-errors: 0.7.3_7xd7ipqvkgytwzflupn24cxnca - inferred-types: 0.37.6_7xd7ipqvkgytwzflupn24cxnca + brilliant-errors: 0.7.3_happy-dom@8.1.0 + inferred-types: 0.37.6_happy-dom@8.1.0 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -3896,13 +4309,13 @@ packages: - sugarss - supports-color - terser - dev: false + dev: true - /native-dash/1.24.0_happy-dom@8.1.0: + /native-dash/1.24.0_jpq67ecuqssjycqwb362ku3jlm: resolution: {integrity: sha512-jEoxTHqlFSMsHrkWkOnieBdxjpZVLTJWLK3/VTVQsBXKCbrth0yeiqBIsiW+Rz1skXhNnPQ4r9tyLU0TSm2WpQ==} dependencies: - brilliant-errors: 0.7.3_happy-dom@8.1.0 - inferred-types: 0.37.6_happy-dom@8.1.0 + brilliant-errors: 0.7.3_jpq67ecuqssjycqwb362ku3jlm + inferred-types: 0.37.6_jpq67ecuqssjycqwb362ku3jlm transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -3915,7 +4328,6 @@ packages: - sugarss - supports-color - terser - dev: true /natural-compare-lite/1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} @@ -4051,6 +4463,7 @@ packages: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: wrappy: 1.0.2 + dev: true /onetime/5.1.2: resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} @@ -4095,6 +4508,7 @@ packages: engines: {node: '>=10'} dependencies: yocto-queue: 0.1.0 + dev: true /p-locate/4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} @@ -4108,6 +4522,7 @@ packages: engines: {node: '>=10'} dependencies: p-limit: 3.1.0 + dev: true /p-try/2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} @@ -4170,10 +4585,12 @@ packages: /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} + dev: true /path-is-absolute/1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} + dev: true /path-key/2.0.1: resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} @@ -4395,6 +4812,7 @@ packages: /require-directory/2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} + dev: true /requires-port/1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} @@ -4427,6 +4845,7 @@ packages: hasBin: true dependencies: glob: 7.2.3 + dev: true /rollup/3.7.3: resolution: {integrity: sha512-7e68MQbAWCX6mI4/0lG1WHd+NdNAlVamg0Zkd+8LZ/oXojligdGnCNyHlzXqXCZObyjs5FRc3AH0b17iJESGIQ==} @@ -4434,6 +4853,14 @@ packages: hasBin: true optionalDependencies: fsevents: 2.3.2 + dev: true + + /rollup/3.7.4: + resolution: {integrity: sha512-jN9rx3k5pfg9H9al0r0y1EYKSeiRANZRYX32SuNXAnKzh6cVyf4LZVto1KAuDnbHT03E1CpsgqDKaqQ8FZtgxw==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 /run-parallel/1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -4483,6 +4910,7 @@ packages: /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true + dev: true /semver/7.3.8: resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} @@ -4527,6 +4955,7 @@ packages: /signal-exit/3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + dev: true /sirv/2.0.2: resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==} @@ -4587,6 +5016,7 @@ packages: /sprintf-js/1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + dev: true /streamsearch/1.1.0: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} @@ -4604,6 +5034,7 @@ packages: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 + dev: true /string.prototype.padend/3.1.4: resolution: {integrity: sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==} @@ -4635,6 +5066,7 @@ packages: engines: {node: '>=8'} dependencies: ansi-regex: 5.0.1 + dev: true /strip-bom-string/1.0.0: resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} @@ -4692,6 +5124,7 @@ packages: engines: {node: '>=8'} dependencies: has-flag: 4.0.0 + dev: true /supports-preserve-symlinks-flag/1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} @@ -4708,6 +5141,7 @@ packages: '@istanbuljs/schema': 0.1.3 glob: 7.2.3 minimatch: 3.1.2 + dev: true /text-table/0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} @@ -4829,7 +5263,7 @@ packages: joycon: 3.1.1 postcss-load-config: 3.1.4 resolve-from: 5.0.0 - rollup: 3.7.3 + rollup: 3.7.4 source-map: 0.8.0-beta.0 sucrase: 3.29.0 tree-kill: 1.2.2 @@ -4963,6 +5397,38 @@ packages: engines: {node: '>= 10.0.0'} dev: true + /unocss/0.47.6_rollup@3.7.4+vite@4.0.1: + resolution: {integrity: sha512-cc+m2h/Iky24zwAKir9ElmIhkPYNjZEUTemInctWlVN8QX9qpzsRZahAl7ZmKsBorXPFtux/JYoUCCtXftyxOw==} + engines: {node: '>=14'} + peerDependencies: + '@unocss/webpack': 0.47.6 + peerDependenciesMeta: + '@unocss/webpack': + optional: true + dependencies: + '@unocss/astro': 0.47.6_rollup@3.7.4+vite@4.0.1 + '@unocss/cli': 0.47.6_rollup@3.7.4 + '@unocss/core': 0.47.6 + '@unocss/preset-attributify': 0.47.6 + '@unocss/preset-icons': 0.47.6 + '@unocss/preset-mini': 0.47.6 + '@unocss/preset-tagify': 0.47.6 + '@unocss/preset-typography': 0.47.6 + '@unocss/preset-uno': 0.47.6 + '@unocss/preset-web-fonts': 0.47.6 + '@unocss/preset-wind': 0.47.6 + '@unocss/reset': 0.47.6 + '@unocss/transformer-attributify-jsx': 0.47.6 + '@unocss/transformer-compile-class': 0.47.6 + '@unocss/transformer-directives': 0.47.6 + '@unocss/transformer-variant-group': 0.47.6 + '@unocss/vite': 0.47.6_rollup@3.7.4+vite@4.0.1 + transitivePeerDependencies: + - rollup + - supports-color + - vite + dev: true + /unocss/0.47.6_vite@4.0.1: resolution: {integrity: sha512-cc+m2h/Iky24zwAKir9ElmIhkPYNjZEUTemInctWlVN8QX9qpzsRZahAl7ZmKsBorXPFtux/JYoUCCtXftyxOw==} engines: {node: '>=14'} @@ -5078,6 +5544,7 @@ packages: '@jridgewell/trace-mapping': 0.3.17 '@types/istanbul-lib-coverage': 2.0.4 convert-source-map: 1.9.0 + dev: true /validate-npm-package-license/3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -5107,7 +5574,7 @@ packages: /vite-plugin-md/0.20.6: resolution: {integrity: sha512-9KOL9B+Dc5zb9ihl0pVodtfkOkfnxo0MUXNyWBGitnHQYWldw92L8rahvTbnW7Z4P0qTjVU3G3amfR+35ZxtCw==} dependencies: - '@yankeeinlondon/builder-api': 1.2.0 + '@yankeeinlondon/builder-api': 1.2.1 '@yankeeinlondon/happy-wrapper': 2.10.1 gray-matter: 4.0.3 markdown-it: 13.0.1 @@ -5126,29 +5593,6 @@ packages: - terser dev: true - /vite-plugin-md/0.20.6_7xd7ipqvkgytwzflupn24cxnca: - resolution: {integrity: sha512-9KOL9B+Dc5zb9ihl0pVodtfkOkfnxo0MUXNyWBGitnHQYWldw92L8rahvTbnW7Z4P0qTjVU3G3amfR+35ZxtCw==} - dependencies: - '@yankeeinlondon/builder-api': 1.2.0_7xd7ipqvkgytwzflupn24cxnca - '@yankeeinlondon/happy-wrapper': 2.10.1_@vitest+ui@0.25.7 - gray-matter: 4.0.3 - markdown-it: 13.0.1 - source-map-js: 1.0.2 - transitivePeerDependencies: - - '@edge-runtime/vm' - - '@vitest/browser' - - '@vitest/ui' - - encoding - - happy-dom - - jsdom - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - /vite-plugin-pages/0.28.0_vite@4.0.1: resolution: {integrity: sha512-yncDncFVnjUzhqJnwCgGDZoZ/wO6MEOMe93f2MQjplKXm1MpmHCrTkFCPnQyYGZTVKPAN+y7BQcIpNWPFLQ4+w==} peerDependencies: @@ -5257,7 +5701,7 @@ packages: fsevents: 2.3.2 dev: true - /vite/4.0.1_@types+node@16.18.8: + /vite/4.0.1_@types+node@16.18.9: resolution: {integrity: sha512-kZQPzbDau35iWOhy3CpkrRC7It+HIHtulAzBhMqzGHKRf/4+vmh8rPDDdv98SWQrFWo6//3ozwsRmwQIPZsK9g==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -5282,13 +5726,14 @@ packages: terser: optional: true dependencies: - '@types/node': 16.18.8 - esbuild: 0.16.4 + '@types/node': 16.18.9 + esbuild: 0.16.7 postcss: 8.4.20 resolve: 1.22.1 - rollup: 3.7.3 + rollup: 3.7.4 optionalDependencies: fsevents: 2.3.2 + dev: true /vite/4.0.1_@types+node@18.11.13: resolution: {integrity: sha512-kZQPzbDau35iWOhy3CpkrRC7It+HIHtulAzBhMqzGHKRf/4+vmh8rPDDdv98SWQrFWo6//3ozwsRmwQIPZsK9g==} @@ -5316,16 +5761,15 @@ packages: optional: true dependencies: '@types/node': 18.11.13 - esbuild: 0.16.4 + esbuild: 0.16.7 postcss: 8.4.20 resolve: 1.22.1 - rollup: 3.7.3 + rollup: 3.7.4 optionalDependencies: fsevents: 2.3.2 - dev: true - /vitest/0.25.7: - resolution: {integrity: sha512-lJ+Ue+v8kHl2JzjaKHJ9u5Yo/loU7zrWK2/Whn8OKQjtq5G7nkeWfXuq3elZaC8xKdkdIuWiiIicaNBG1F5yzg==} + /vitest/0.25.8_happy-dom@8.1.0: + resolution: {integrity: sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -5353,6 +5797,7 @@ packages: acorn-walk: 8.2.0 chai: 4.3.7 debug: 4.3.4 + happy-dom: 8.1.0 local-pkg: 0.4.2 source-map: 0.6.1 strip-literal: 1.0.0 @@ -5369,54 +5814,8 @@ packages: - terser dev: true - /vitest/0.25.7_7xd7ipqvkgytwzflupn24cxnca: - resolution: {integrity: sha512-lJ+Ue+v8kHl2JzjaKHJ9u5Yo/loU7zrWK2/Whn8OKQjtq5G7nkeWfXuq3elZaC8xKdkdIuWiiIicaNBG1F5yzg==} - engines: {node: '>=v14.16.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - dependencies: - '@types/chai': 4.3.4 - '@types/chai-subset': 1.3.3 - '@types/node': 16.18.8 - '@vitest/ui': 0.25.7 - acorn: 8.8.1 - acorn-walk: 8.2.0 - chai: 4.3.7 - debug: 4.3.4 - happy-dom: 8.1.0 - local-pkg: 0.4.2 - source-map: 0.6.1 - strip-literal: 1.0.0 - tinybench: 2.3.1 - tinypool: 0.3.0 - tinyspy: 1.0.2 - vite: 4.0.1_@types+node@16.18.8 - transitivePeerDependencies: - - less - - sass - - stylus - - sugarss - - supports-color - - terser - - /vitest/0.25.7_happy-dom@8.1.0: - resolution: {integrity: sha512-lJ+Ue+v8kHl2JzjaKHJ9u5Yo/loU7zrWK2/Whn8OKQjtq5G7nkeWfXuq3elZaC8xKdkdIuWiiIicaNBG1F5yzg==} + /vitest/0.25.8_jpq67ecuqssjycqwb362ku3jlm: + resolution: {integrity: sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -5440,6 +5839,7 @@ packages: '@types/chai': 4.3.4 '@types/chai-subset': 1.3.3 '@types/node': 18.11.13 + '@vitest/ui': 0.25.8 acorn: 8.8.1 acorn-walk: 8.2.0 chai: 4.3.7 @@ -5459,7 +5859,6 @@ packages: - sugarss - supports-color - terser - dev: true /vue-demi/0.13.11_vue@3.2.45: resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==} @@ -5644,9 +6043,11 @@ packages: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 + dev: true /wrappy/1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + dev: true /ws/8.11.0: resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==} @@ -5673,6 +6074,7 @@ packages: /y18n/5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} + dev: true /yallist/4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} @@ -5699,6 +6101,7 @@ packages: /yargs-parser/20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} + dev: true /yargs-parser/21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} @@ -5716,6 +6119,7 @@ packages: string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 20.2.9 + dev: true /yargs/17.6.2: resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==} @@ -5733,3 +6137,4 @@ packages: /yocto-queue/0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + dev: true diff --git a/src/createSfcComponent.ts b/src/createSfcComponent.ts index c6e176a..7db679c 100644 --- a/src/createSfcComponent.ts +++ b/src/createSfcComponent.ts @@ -1,5 +1,6 @@ -import type { Options, ViteConfig } from './types' +import type { Options } from './types' import { composeSfcBlocks } from './pipeline/index' +import type { ViteConfig } from '.' /** * Produces a _string_ which represents the parsed Markdown as a SFC component. diff --git a/src/pipeline/addBuilderDependencies.ts b/src/pipeline/addBuilderDependencies.ts index b0e1623..11d4f7c 100644 --- a/src/pipeline/addBuilderDependencies.ts +++ b/src/pipeline/addBuilderDependencies.ts @@ -1,4 +1,4 @@ -import type { BuilderDependency } from '../types' +import type { BuilderDependency } from '@yankeeinlondon/builder-api' import { transformer } from '../utils' /** diff --git a/src/pipeline/convertHandlerToTask.ts b/src/pipeline/convertHandlerToTask.ts index 30077cc..c59f95b 100644 --- a/src/pipeline/convertHandlerToTask.ts +++ b/src/pipeline/convertHandlerToTask.ts @@ -1,6 +1,6 @@ import { pipe } from 'fp-ts/lib/function.js' import * as TE from 'fp-ts/lib/TaskEither.js' -import type { BuilderConfig, BuilderOptions, BuilderRegistration } from '../builders/builder-types' +import type { BuilderConfig, BuilderOptions, BuilderRegistration } from '@yankeeinlondon/builder-api' import type { IPipelineStage, PipeTask, Pipeline, ResolvedOptions } from '../types' const getBuilders = (stage: S, options: ResolvedOptions): Array> => options.builders.reduce( diff --git a/src/pipeline/extractFrontmatter.ts b/src/pipeline/extractFrontmatter.ts index 1ad71f1..0e82806 100644 --- a/src/pipeline/extractFrontmatter.ts +++ b/src/pipeline/extractFrontmatter.ts @@ -1,4 +1,4 @@ -import matter from 'gray-matter' +import { matter } from '@yankeeinlondon/gray-matter' import type { ExcerptFunction, Frontmatter, diff --git a/src/pipeline/usesBuilder.ts b/src/pipeline/usesBuilder.ts index d1de1ec..e5632db 100644 --- a/src/pipeline/usesBuilder.ts +++ b/src/pipeline/usesBuilder.ts @@ -1,5 +1,5 @@ +import type { BuilderApi, BuilderDependency, BuilderDependencyApi, OptionsFor } from '@yankeeinlondon/builder-api' import type { Pipeline, PipelineStage } from '../types' -import type { BuilderApi, BuilderDependency, BuilderDependencyApi, OptionsFor } from '../builders/builder-types' export const usesBuilder = (payload: Pipeline, deps: BuilderDependency[]) => < T extends BuilderApi, diff --git a/test/__snapshots__/transform.test.ts.snap b/test/__snapshots__/transform.test.ts.snap index 201a39d..c918a02 100644 --- a/test/__snapshots__/transform.test.ts.snap +++ b/test/__snapshots__/transform.test.ts.snap @@ -41,4 +41,27 @@ exports[`transform snapshots > html remains the same 1`] = ` exports[`transform snapshots > meta props remains the same 1`] = `[]`; -exports[`transform snapshots > script blocks remain the same 1`] = `undefined`; +exports[`transform snapshots > script blocks remain the same 1`] = ` +[ + " +", +] +`; diff --git a/test/builder-registration.test.ts b/test/builder-registration.test.ts deleted file mode 100644 index 5a56daa..0000000 --- a/test/builder-registration.test.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { readFile } from 'fs/promises' -import { beforeAll, describe, expect, it } from 'vitest' -import { composeSfcBlocks } from '../src/pipeline' -// import { code, link, meta } from '../src/index' -let md = '' - -describe.todo('Builder API registration', () => { - beforeAll(async () => { - md = await readFile('test/fixtures/simple.md', 'utf-8') - }) - it.todo('registering a single builder works as expected', async () => { - const sfc = await composeSfcBlocks('simple.md', md, { - builders: [code()], - }) - expect(sfc.options.builders).toHaveLength(1) - }) - - it.todo('registering multiple builders works as expected', async () => { - const sfc = await composeSfcBlocks('simple.md', md, { - builders: [code(), link(), meta()], - }) - expect(sfc.options.builders).toHaveLength(3) - }) -}) diff --git a/test/component/convert-sfc.test.ts b/test/component/convert-sfc.test.ts index fce95f4..d0836bc 100644 --- a/test/component/convert-sfc.test.ts +++ b/test/component/convert-sfc.test.ts @@ -1,20 +1,20 @@ -import { describe, expect, it } from 'vitest' -import type { DefineComponent } from 'vue' +import { describe, it } from 'vitest' +// import type { DefineComponent } from 'vue' // import { ssrRenderStyle } from 'vue/server-renderer' -import type { Frontmatter } from '../../src/types' +// import type { Frontmatter } from '../../src/types' describe.skip('converting SFC\'s to Components', () => { - it.skip('get component via an async import', async () => { - const sfc = await import('../fixtures/with-slots.md') as { - default: DefineComponent - frontmatter: Frontmatter - } - - expect(sfc.frontmatter.title).toBe('Testing Slots') - expect(sfc.default.__name).toBe('with-slots') - expect(sfc.default.props.name).toBeDefined() - expect(sfc.default.props.name.type).toBeDefined() - }) + // it.skip('get component via an async import', async () => { + // const sfc = await import('../fixtures/with-slots.md') as { + // default: DefineComponent + // frontmatter: Frontmatter + // } + + // expect(sfc.frontmatter.title).toBe('Testing Slots') + // expect(sfc.default.__name).toBe('with-slots') + // expect(sfc.default.props.name).toBeDefined() + // expect(sfc.default.props.name.type).toBeDefined() + // }) it('use vue\'s server render', async () => { // const sfc = await composeFixture('links', { diff --git a/test/escapeCodeTagInterpolation.test.ts b/test/escapeCodeTagInterpolation.test.ts index 953b93b..99dcd05 100644 --- a/test/escapeCodeTagInterpolation.test.ts +++ b/test/escapeCodeTagInterpolation.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' import { getAttribute, select } from '@yankeeinlondon/happy-wrapper' -// import { code } from '../src' +// import code from '@yankeeinlondon/code-builder' import { composeFixture } from './utils' describe('escapeCodeTagInterpolation()', () => { @@ -47,8 +47,9 @@ describe('escapeCodeTagInterpolation()', () => { expect(getVPre(pre[1])).toBeFalsy() }) - it.todo('tag interpolation works the same when using code() builder', async () => { - const sfc = await composeFixture('escape-on.md', { builders: [code()] }) + it.skip('tag interpolation works the same when using code() builder', async () => { + const sfc = await composeFixture('escape-on.md', { builders: [] }) + // const sfc = await composeFixture('escape-on.md', { builders: [code()] }) const sel = select(sfc.html) const pre = sel.findAll('pre') const getVPre = getAttribute('v-pre') diff --git a/test/excerpt.test.ts b/test/excerpt.test.ts index 7a2d879..bd19858 100644 --- a/test/excerpt.test.ts +++ b/test/excerpt.test.ts @@ -1,8 +1,8 @@ import { readFile } from 'fs/promises' import { beforeAll, describe, expect, it } from 'vitest' +import type { ExcerptFunction } from '../src/types' import { composeSfcBlocks } from '../src/pipeline' import { composeFixture } from './utils' -import type { ExcerptFunction } from '~/types' let content = '' diff --git a/test/transform.test.ts b/test/transform.test.ts index 423ec29..b618ed1 100644 --- a/test/transform.test.ts +++ b/test/transform.test.ts @@ -26,7 +26,7 @@ describe('transform snapshots', () => { expect(sfc.customBlocks).toMatchSnapshot() }) it('script blocks remain the same', async () => { - expect(sfc.scriptBlock).toMatchSnapshot() + expect(sfc.scriptBlocks).toMatchSnapshot() }) }) diff --git a/test/usingBuilder.test.ts b/test/usingBuilder.test.ts deleted file mode 100644 index 7c4d002..0000000 --- a/test/usingBuilder.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { describe, expect, it } from 'vitest' -// import { code, meta } from '../src' -import { composeFixture } from './utils' - -// TODO: bring this back in if we want to re-export the now external builders -describe.todo('usingBuilder() utility on pipeline', () => { - it('testing for absence of builders', async () => { - const sfc = await composeFixture('simple') - expect(sfc.options.usingBuilder('code')).toBeFalsy() - expect(sfc.options.usingBuilder('link')).toBeFalsy() - expect(sfc.options.usingBuilder('meta')).toBeFalsy() - }) - - it('testing for single builder', async () => { - const sfc = await composeFixture('simple', { builders: [code()] }) - expect(sfc.options.usingBuilder('code')).toBeTruthy() - expect(sfc.options.usingBuilder('link')).toBeFalsy() - expect(sfc.options.usingBuilder('meta')).toBeFalsy() - }) - - it('testing for multiple builders', async () => { - const sfc = await composeFixture('simple', { builders: [code(), meta()] }) - expect(sfc.options.usingBuilder('code')).toBeTruthy() - expect(sfc.options.usingBuilder('link')).toBeFalsy() - expect(sfc.options.usingBuilder('meta')).toBeTruthy() - }) -})