diff --git a/eslint.config.js b/eslint.config.js index 82132090d0..0e809bb9e1 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -8,5 +8,10 @@ export default antfu( 'vue/component-name-in-template-casing': 'off', }, }, + formatters: { + // disable for now, we can enable it after we have the slidev plugin in eslint-config + markdown: false, + css: true, + }, }, ) diff --git a/package.json b/package.json index 07f3eb15b0..d48909e474 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "cross-env": "^7.0.3", "cypress": "^13.6.6", "eslint": "^8.57.0", + "eslint-plugin-format": "^0.1.0", "esno": "^4.0.0", "katex": "^0.16.9", "lint-staged": "^15.2.2", diff --git a/packages/client/builtin/TocList.vue b/packages/client/builtin/TocList.vue index e1d3cb7ba5..e30cbb1956 100644 --- a/packages/client/builtin/TocList.vue +++ b/packages/client/builtin/TocList.vue @@ -65,7 +65,8 @@ const styles = computed(() => { .slidev-layout .slidev-toc-item p { margin: 0; } -.slidev-layout .slidev-toc-item div, .slidev-layout .slidev-toc-item div p { +.slidev-layout .slidev-toc-item div, +.slidev-layout .slidev-toc-item div p { display: initial; } diff --git a/packages/client/internals/DrawingControls.vue b/packages/client/internals/DrawingControls.vue index 24d089352b..94e2ea843e 100644 --- a/packages/client/internals/DrawingControls.vue +++ b/packages/client/internals/DrawingControls.vue @@ -131,10 +131,8 @@ function setBrushColor(color: typeof brush.color) { - diff --git a/packages/client/internals/Goto.vue b/packages/client/internals/Goto.vue index 9ab3bce884..13405215a2 100644 --- a/packages/client/internals/Goto.vue +++ b/packages/client/internals/Goto.vue @@ -165,10 +165,11 @@ watch(activeElement, () => { - diff --git a/packages/client/layouts/two-cols-header.vue b/packages/client/layouts/two-cols-header.vue index df914656d1..7156882be9 100644 --- a/packages/client/layouts/two-cols-header.vue +++ b/packages/client/layouts/two-cols-header.vue @@ -51,9 +51,15 @@ const props = defineProps({ grid-template-rows: repeat(2, 1fr); } -.col-header { grid-area: 1 / 1 / 2 / 3; } -.col-left { grid-area: 2 / 1 / 3 / 2; } -.col-right { grid-area: 2 / 2 / 3 / 3; } +.col-header { + grid-area: 1 / 1 / 2 / 3; +} +.col-left { + grid-area: 2 / 1 / 3 / 2; +} +.col-right { + grid-area: 2 / 2 / 3 / 3; +} .col-bottom { align-self: end; grid-area: 3 / 1 / 3 / 3; diff --git a/packages/client/pages/presenter.vue b/packages/client/pages/presenter.vue index bde5159028..5f89f8b705 100644 --- a/packages/client/pages/presenter.vue +++ b/packages/client/pages/presenter.vue @@ -185,26 +185,26 @@ onMounted(() => { - diff --git a/packages/client/shim-vue.d.ts b/packages/client/shim-vue.d.ts index 571a4a5183..9bf40103c8 100644 --- a/packages/client/shim-vue.d.ts +++ b/packages/client/shim-vue.d.ts @@ -1,6 +1,5 @@ declare module 'vue' { import type { UnwrapNestedRefs } from 'vue' - import { computed } from 'vue' import type { SlidevContext } from './modules/context' interface ComponentCustomProperties { diff --git a/packages/client/styles/code.css b/packages/client/styles/code.css index c5e0ce2048..f1978d4399 100644 --- a/packages/client/styles/code.css +++ b/packages/client/styles/code.css @@ -59,7 +59,9 @@ html:not(.dark) .shiki span { .slidev-code-line-numbers .slidev-code code .line::before { content: counter(step); counter-increment: step; - @apply w-4 mr-6 inline-block text-right text-gray-400 dark:text-gray-600; + display: inline-block; + text-align: right; + --uno: w-4 mr-6 text-gray-400 dark:text-gray-600; } /* Inline Code */ @@ -67,7 +69,7 @@ html:not(.dark) .shiki span { font-size: 0.9em; background: var(--slidev-code-background); border-radius: var(--slidev-code-radius); - @apply font-light py-0.5 px-1.5; + --uno: font-light py-0.5 px-1.5; } .slidev-layout :not(pre) > code:before { @@ -82,4 +84,6 @@ html:not(.dark) .shiki span { } /* CodeMirror */ -.CodeMirror pre.CodeMirror-placeholder { opacity: 0.4; } +.CodeMirror pre.CodeMirror-placeholder { + opacity: 0.4; +} diff --git a/packages/client/styles/index.css b/packages/client/styles/index.css index cd31348a87..a06c93545b 100644 --- a/packages/client/styles/index.css +++ b/packages/client/styles/index.css @@ -23,15 +23,16 @@ html { } .slidev-icon-btn.shallow { - @apply opacity-30 + opacity: 0.3; } .slidev-icon-btn.active { - @apply opacity-100 + opacity: 1; } .slidev-icon-btn.disabled { - @apply opacity-25 pointer-events-none; + opacity: 0.25; + pointer-events: none; } .slidev-vclick-target { @@ -39,11 +40,13 @@ html { } .slidev-vclick-hidden { - @apply !opacity-0 !pointer-events-none; + opacity: 0 !important; + pointer-events: none !important; + user-select: none !important; } .slidev-vclick-fade { - @apply opacity-50; + opacity: 0.5; } .slidev-icon { @@ -53,7 +56,11 @@ html { } .slidev-page { - @apply absolute top-0 left-0 right-0 w-full relative; + position: relative; + top: 0; + left: 0; + right: 0; + width: 100%; } /* Transform the position back for Rough Notation (v-mark) */ diff --git a/packages/client/styles/katex.css b/packages/client/styles/katex.css index 64d913af27..3165e7bef4 100644 --- a/packages/client/styles/katex.css +++ b/packages/client/styles/katex.css @@ -2,4 +2,4 @@ } .slidev-katex-wrapper .mord.dishonored { opacity: 0.3; -} \ No newline at end of file +} diff --git a/packages/client/styles/layouts-base.css b/packages/client/styles/layouts-base.css index 4d7cd448de..089ab40e04 100644 --- a/packages/client/styles/layouts-base.css +++ b/packages/client/styles/layouts-base.css @@ -1,7 +1,8 @@ .slidev-layout { @apply px-14 py-10 text-[1.1rem] h-full; - pre, code { + pre, + code { @apply select-text; } @@ -79,11 +80,13 @@ @apply border-current border-b border-dashed hover:text-primary hover:border-solid; } - td, th { + td, + th { @apply p-2 py-3; } - b, strong { + b, + strong { @apply font-600; } @@ -94,8 +97,8 @@ } .slidev-layout, -[dir=ltr], -.slidev-layout [dir=ltr] { +[dir='ltr'], +.slidev-layout [dir='ltr'] { h1 { @apply -ml-[0.05em] mr-0; } @@ -109,10 +112,10 @@ } } -[dir=rtl], -.slidev-layout [dir=rtl] { +[dir='rtl'], +.slidev-layout [dir='rtl'] { h1 { - @apply -mr-[0.05em] ml-0; + @apply -mr-[0.05em] ml-0; } h6 { diff --git a/packages/client/styles/vars.css b/packages/client/styles/vars.css index 0823cf18d0..9eb9413bcc 100644 --- a/packages/client/styles/vars.css +++ b/packages/client/styles/vars.css @@ -7,7 +7,7 @@ --slidev-code-line-height: 18px; --slidev-code-radius: 4px; --slidev-code-margin: 4px 0; - --slidev-theme-primary: #3AB9D5; + --slidev-theme-primary: #3ab9d5; --slidev-transition-duration: 0.5s; --slidev-slide-container-background: black; diff --git a/packages/create-theme/template/styles/layout.css b/packages/create-theme/template/styles/layout.css index d129575046..82c91d7fee 100644 --- a/packages/create-theme/template/styles/layout.css +++ b/packages/create-theme/template/styles/layout.css @@ -16,7 +16,9 @@ @apply -mt-2 opacity-50 mb-4; } - p + h2, ul + h2, table + h2 { + p + h2, + ul + h2, + table + h2 { @apply mt-10; } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc59a66156..683d2aeb7a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: devDependencies: '@antfu/eslint-config': specifier: ^2.6.4 - version: 2.6.4(@vue/compiler-sfc@3.4.19)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) + version: 2.6.4(@vue/compiler-sfc@3.4.19)(eslint-plugin-format@0.1.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) '@antfu/ni': specifier: ^0.21.12 version: 0.21.12 @@ -97,6 +97,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 + eslint-plugin-format: + specifier: ^0.1.0 + version: 0.1.0(eslint@8.57.0) esno: specifier: ^4.0.0 version: 4.0.0 @@ -397,7 +400,7 @@ importers: version: 3.7.0 debug: specifier: ^4.3.4 - version: 4.3.4(supports-color@8.1.1) + version: 4.3.4(supports-color@5.5.0) fast-deep-equal: specifier: ^3.1.3 version: 3.1.3 @@ -567,7 +570,7 @@ packages: '@jridgewell/trace-mapping': 0.3.20 dev: false - /@antfu/eslint-config@2.6.4(@vue/compiler-sfc@3.4.19)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): + /@antfu/eslint-config@2.6.4(@vue/compiler-sfc@3.4.19)(eslint-plugin-format@0.1.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-dMD/QC5KWS1OltdpKLhfZM7W7y7zils85opk8d4lyNr7yn0OFjZs7eMYtcC6DrrN2kQ1JrFvBM7uB0QdWn5PUQ==} hasBin: true peerDependencies: @@ -608,6 +611,7 @@ packages: eslint-merge-processors: 0.1.0(eslint@8.57.0) eslint-plugin-antfu: 2.1.2(eslint@8.57.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) + eslint-plugin-format: 0.1.0(eslint@8.57.0) eslint-plugin-i: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.57.0) eslint-plugin-jsdoc: 48.0.4(eslint@8.57.0) eslint-plugin-jsonc: 2.13.0(eslint@8.57.0) @@ -695,7 +699,7 @@ packages: '@babel/traverse': 7.23.9 '@babel/types': 7.23.9 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -968,7 +972,7 @@ packages: '@babel/helper-split-export-declaration': 7.22.6 '@babel/parser': 7.23.9 '@babel/types': 7.23.9 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -1025,6 +1029,18 @@ packages: - supports-color dev: true + /@dprint/formatter@0.2.1: + resolution: {integrity: sha512-GCzgRt2o4mhZLy8L47k2A+q9EMG/jWhzZebE29EqKsxmjDrSfv2VisEj/Q+39OOf04jTkEfB/TRO+IZSyxHdYg==} + dev: true + + /@dprint/markdown@0.16.4: + resolution: {integrity: sha512-WjsC4yLybR5/76+d/2s36nOBGjETe+jJR//ddFHohDXKdis+FTUv7dJ00kmd6g0AKQwDITayM1Nid10gFNG0Yg==} + dev: true + + /@dprint/toml@0.5.4: + resolution: {integrity: sha512-d+5GwwzztZD0QixmOBhaO6nWVLsAeYsJ1HJYNxDoDRbASFCpza9BBVshG5ctBRXCkkIHhD9BO1SnbOoRQltUQw==} + dev: true + /@drauu/core@0.4.0: resolution: {integrity: sha512-NaypCz/tA0XBAAZrie536FqOXpIuPg2lANB15wsUmrX+Hdw3DZWGz0Ez+wS9WKQsr4+qKcPL61o5eE7CoCYNCg==} dev: false @@ -1254,7 +1270,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) espree: 9.6.1 globals: 13.24.0 ignore: 5.3.1 @@ -1303,7 +1319,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 2.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -1351,7 +1367,7 @@ packages: '@antfu/install-pkg': 0.1.1 '@antfu/utils': 0.7.7 '@iconify/types': 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) kolorist: 1.8.0 local-pkg: 0.5.0 mlly: 1.6.1 @@ -1660,6 +1676,11 @@ packages: dev: true optional: true + /@pkgr/core@0.1.1: + resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + dev: true + /@polka/url@1.0.0-next.24: resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==} dev: false @@ -2214,7 +2235,7 @@ packages: '@typescript-eslint/type-utils': 6.20.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.20.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.20.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -2240,7 +2261,7 @@ packages: '@typescript-eslint/types': 6.20.0 '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.20.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 typescript: 5.3.3 transitivePeerDependencies: @@ -2267,7 +2288,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) '@typescript-eslint/utils': 6.20.0(eslint@8.57.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 ts-api-utils: 1.0.3(typescript@5.3.3) typescript: 5.3.3 @@ -2291,7 +2312,7 @@ packages: dependencies: '@typescript-eslint/types': 6.20.0 '@typescript-eslint/visitor-keys': 6.20.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 @@ -2332,7 +2353,7 @@ packages: /@typescript/vfs@1.5.0: resolution: {integrity: sha512-AJS307bPgbsZZ9ggCT3wwpg3VbTKMFNHfaY/uF0ahSkYYrPF2dSSKDNIDIQAHm9qJqbLvCsSJH7yN4Vs/CsMMg==} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false @@ -2866,7 +2887,7 @@ packages: resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} engines: {node: '>= 14'} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -3902,7 +3923,6 @@ packages: dependencies: ms: 2.1.2 supports-color: 5.5.0 - dev: true /debug@4.3.4(supports-color@8.1.1): resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} @@ -3915,6 +3935,7 @@ packages: dependencies: ms: 2.1.2 supports-color: 8.1.1 + dev: true /decode-named-character-reference@1.0.2: resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} @@ -4245,6 +4266,15 @@ packages: parse-gitignore: 2.0.0 dev: true + /eslint-formatting-reporter@0.0.0(eslint@8.57.0): + resolution: {integrity: sha512-k9RdyTqxqN/wNYVaTk/ds5B5rA8lgoAmvceYN7bcZMBwU7TuXx5ntewJv81eF3pIL/CiJE+pJZm36llG8yhyyw==} + peerDependencies: + eslint: '>=8.40.0' + dependencies: + eslint: 8.57.0 + prettier-linter-helpers: 1.0.0 + dev: true + /eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: @@ -4292,6 +4322,10 @@ packages: - supports-color dev: true + /eslint-parser-plain@0.1.0: + resolution: {integrity: sha512-oOeA6FWU0UJT/Rxc3XF5Cq0nbIZbylm7j8+plqq0CZoE6m4u32OXJrR+9iy4srGMmF6v6pmgvP1zPxSRIGh3sg==} + dev: true + /eslint-plugin-antfu@2.1.2(eslint@8.57.0): resolution: {integrity: sha512-s7ZTOM3uq0iqpp6gF0UEotnvup7f2PHBUftCytLZX0+6C9j9KadKZQh6bVVngAyFgsmeD9+gcBopOYLClb2oDg==} peerDependencies: @@ -4323,13 +4357,28 @@ packages: ignore: 5.3.1 dev: true + /eslint-plugin-format@0.1.0(eslint@8.57.0): + resolution: {integrity: sha512-IgOu+GEH+PdKnpuPrFzY8q8QgnzAUijDZsNLhpp5jx0Lbu9u968/STcmEZGnIMVBw3zeTNN/FsU6d2Rdgcy6Aw==} + peerDependencies: + eslint: ^8.40.0 + dependencies: + '@dprint/formatter': 0.2.1 + '@dprint/markdown': 0.16.4 + '@dprint/toml': 0.5.4 + eslint: 8.57.0 + eslint-formatting-reporter: 0.0.0(eslint@8.57.0) + eslint-parser-plain: 0.1.0 + prettier: 3.2.5 + synckit: 0.8.8 + dev: true + /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.57.0): resolution: {integrity: sha512-ORizX37MelIWLbMyqI7hi8VJMf7A0CskMmYkB+lkCX3aF4pkGV7kwx5bSEb4qx7Yce2rAf9s34HqDRPjGRZPNQ==} engines: {node: '>=12'} peerDependencies: eslint: ^7.2.0 || ^8 dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) doctrine: 3.0.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -4354,7 +4403,7 @@ packages: '@es-joy/jsdoccomment': 0.41.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) escape-string-regexp: 4.0.0 eslint: 8.57.0 esquery: 1.5.0 @@ -4452,7 +4501,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 eslint-compat-utils: 0.4.1(eslint@8.57.0) lodash: 4.17.21 @@ -4549,7 +4598,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 eslint-compat-utils: 0.4.1(eslint@8.57.0) lodash: 4.17.21 @@ -4603,7 +4652,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -4796,6 +4845,10 @@ packages: /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + /fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + dev: true + /fast-glob@3.3.2: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} @@ -4927,7 +4980,7 @@ packages: debug: optional: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) dev: false /foreground-child@3.1.1: @@ -5271,6 +5324,7 @@ packages: /has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} + dev: true /has-property-descriptors@1.0.1: resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} @@ -5352,7 +5406,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -5379,7 +5433,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -5868,7 +5922,7 @@ packages: dependencies: chalk: 5.3.0 commander: 11.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) execa: 8.0.1 lilconfig: 3.0.0 listr2: 8.0.1 @@ -6584,7 +6638,7 @@ packages: /micromark@2.11.4: resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) parse-entities: 2.0.0 transitivePeerDependencies: - supports-color @@ -6594,7 +6648,7 @@ packages: resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} dependencies: '@types/debug': 4.1.12 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) decode-named-character-reference: 1.0.2 micromark-core-commonmark: 1.1.0 micromark-factory-space: 1.1.0 @@ -6617,7 +6671,7 @@ packages: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} dependencies: '@types/debug': 4.1.12 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) decode-named-character-reference: 1.0.2 devlop: 1.1.0 micromark-core-commonmark: 2.0.0 @@ -7419,11 +7473,17 @@ packages: engines: {node: '>= 0.8.0'} dev: true + /prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} + dependencies: + fast-diff: 1.3.0 + dev: true + /prettier@3.2.5: resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} engines: {node: '>=14'} hasBin: true - dev: false /pretty-bytes@5.6.0: resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} @@ -7960,7 +8020,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -8190,6 +8250,7 @@ packages: engines: {node: '>=10'} dependencies: has-flag: 4.0.0 + dev: true /supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} @@ -8206,6 +8267,14 @@ packages: tslib: 2.6.2 dev: true + /synckit@0.8.8: + resolution: {integrity: sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==} + engines: {node: ^14.18.0 || >=16.0.0} + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.6.2 + dev: true + /tar@6.2.0: resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} engines: {node: '>=10'} @@ -8389,7 +8458,7 @@ packages: bundle-require: 4.0.2(esbuild@0.19.12) cac: 6.7.14 chokidar: 3.5.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) esbuild: 0.19.12 execa: 5.1.1 globby: 11.1.0 @@ -8422,7 +8491,7 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@tufjs/models': 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) make-fetch-happen: 13.0.0 transitivePeerDependencies: - supports-color @@ -8714,7 +8783,7 @@ packages: '@antfu/utils': 0.7.7 '@iconify/utils': 2.1.22 '@vue/compiler-sfc': 3.4.19 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) kolorist: 1.8.0 local-pkg: 0.5.0 unplugin: 1.6.0 @@ -8738,7 +8807,7 @@ packages: '@antfu/utils': 0.7.7 '@rollup/pluginutils': 5.1.0 chokidar: 3.5.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) fast-glob: 3.3.2 local-pkg: 0.4.3 magic-string: 0.30.6 @@ -8907,7 +8976,7 @@ packages: hasBin: true dependencies: cac: 6.7.14 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) pathe: 1.1.2 picocolors: 1.0.0 vite: 5.1.4(@types/node@20.11.20) @@ -8934,7 +9003,7 @@ packages: dependencies: '@antfu/utils': 0.7.7 '@rollup/pluginutils': 5.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) error-stack-parser-es: 0.1.1 fs-extra: 11.2.0 open: 10.0.3 @@ -8955,7 +9024,7 @@ packages: '@antfu/utils': 0.7.7 axios: 1.6.5(debug@4.3.4) blueimp-md5: 2.19.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) fs-extra: 11.2.0 magic-string: 0.30.6 vite: 5.1.4(@types/node@20.11.20) @@ -8983,7 +9052,7 @@ packages: vue: ^3.0.0 dependencies: '@antfu/utils': 0.7.7 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) klona: 2.0.6 mlly: 1.6.1 ufo: 1.3.2 @@ -9072,7 +9141,7 @@ packages: '@vitest/utils': 1.3.1 acorn-walk: 8.3.2 chai: 4.4.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) execa: 8.0.1 local-pkg: 0.5.0 magic-string: 0.30.6 @@ -9115,7 +9184,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3