From a6e8bdf5cadfb70bd6b95c3f4ae2b18f81856481 Mon Sep 17 00:00:00 2001 From: "Azat S." Date: Fri, 30 Aug 2024 23:08:03 +0700 Subject: [PATCH] docs: move to js shiki engine --- docs/stores/shiki.ts | 5 +- package.json | 4 +- pnpm-lock.yaml | 263 +++++++++++++++++++++++++++++++++++-------- 3 files changed, 225 insertions(+), 47 deletions(-) diff --git a/docs/stores/shiki.ts b/docs/stores/shiki.ts index 576b9bce8..76fe95323 100644 --- a/docs/stores/shiki.ts +++ b/docs/stores/shiki.ts @@ -1,12 +1,14 @@ import type { HighlighterCore } from 'shiki' +import { createJavaScriptRegexEngine, getSingletonHighlighter } from 'shiki' import { computed, onMount, atom, task } from 'nanostores' -import { getSingletonHighlighter } from 'shiki' import { colorTheme } from '../utils/shiki-theme' let shikiHighlighter = atom(null) +let jsEngine = createJavaScriptRegexEngine() + export let shiki = computed([shikiHighlighter], highlighter => ({ theme: 'css-variables', highlighter, @@ -24,6 +26,7 @@ onMount(shikiHighlighter, () => { import('shiki/langs/js.mjs'), ], themes: [colorTheme], + engine: jsEngine, }) shikiHighlighter.set(highlighter) diff --git a/package.json b/package.json index 42b8f1ae2..3bbaf4b8e 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "@nanostores/vue": "^0.10.0", "@playform/compress": "^0.1.1", "@poppanator/sveltekit-svg": "5.0.0-svelte5.3", - "@shikijs/transformers": "^1.14.1", + "@shikijs/transformers": "^1.15.0", "@types/eslint": "^9.6.1", "@types/mdast": "^4.0.4", "@types/natural-compare-lite": "^1.4.2", @@ -131,7 +131,7 @@ "prettier-plugin-svelte": "^3.2.6", "rehype-external-links": "^3.0.0", "remark-sectionize": "^2.0.0", - "shiki": "^1.14.1", + "shiki": "^1.15.0", "shiki-magic-move": "^0.4.4", "simple-git-hooks": "^2.11.1", "stylelint": "^16.8.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1c7f2e8f..2e6bdd879 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,13 +26,13 @@ importers: version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@astrojs/mdx': specifier: ^3.1.4 - version: 3.1.4(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4)) + version: 3.1.4(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4)) '@astrojs/sitemap': specifier: ^3.1.6 version: 3.1.6 '@astrojs/svelte': specifier: ^5.7.0 - version: 5.7.0(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4))(svelte@5.0.0-next.221)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) + version: 5.7.0(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4))(svelte@5.0.0-next.221)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) '@azat-io/eslint-config-astro': specifier: ^1.10.0 version: 1.10.0(hev7ompag7vzqnl7aq4bsuc2ti) @@ -53,13 +53,13 @@ importers: version: 0.10.0(nanostores@0.11.3)(vue@3.4.38(typescript@5.5.4)) '@playform/compress': specifier: ^0.1.1 - version: 0.1.1(@types/node@22.5.0)(rollup@4.21.1)(typescript@5.5.4) + version: 0.1.1(@types/node@22.5.0)(rollup@4.21.2)(typescript@5.5.4) '@poppanator/sveltekit-svg': specifier: 5.0.0-svelte5.3 - version: 5.0.0-svelte5.3(rollup@4.21.1)(svelte@5.0.0-next.221)(svgo@3.3.2)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) + version: 5.0.0-svelte5.3(rollup@4.21.2)(svelte@5.0.0-next.221)(svgo@3.3.2)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) '@shikijs/transformers': - specifier: ^1.14.1 - version: 1.14.1 + specifier: ^1.15.0 + version: 1.15.0 '@types/eslint': specifier: ^9.6.1 version: 9.6.1 @@ -92,7 +92,7 @@ importers: version: 2.0.5(vitest@2.0.5(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) astro: specifier: ^4.14.5 - version: 4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4) + version: 4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4) astro-eslint-parser: specifier: ^1.0.2 version: 1.0.2(typescript@5.5.4) @@ -181,11 +181,11 @@ importers: specifier: ^2.0.0 version: 2.0.0 shiki: - specifier: ^1.14.1 - version: 1.14.1 + specifier: ^1.15.0 + version: 1.15.0 shiki-magic-move: specifier: ^0.4.4 - version: 0.4.4(shiki@1.14.1)(svelte@5.0.0-next.221)(vue@3.4.38(typescript@5.5.4)) + version: 0.4.4(shiki@1.15.0)(svelte@5.0.0-next.221)(vue@3.4.38(typescript@5.5.4)) simple-git-hooks: specifier: ^2.11.1 version: 2.11.1 @@ -233,7 +233,7 @@ importers: version: 5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6) vite-plugin-dts: specifier: 4.0.3 - version: 4.0.3(@types/node@22.5.0)(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) + version: 4.0.3(@types/node@22.5.0)(rollup@4.21.2)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) vite-plugin-lightningcss: specifier: ^0.0.5 version: 0.0.5 @@ -491,6 +491,11 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + '@babel/parser@7.25.6': + resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.0': resolution: {integrity: sha512-lXwdNZtTmeVOOFtwM/WDe7yg1PL8sYhRk/XH0FzbR2HDQ0xC+EnQ/JHeoMYSavtU115tnUk0q9CDyq8si+LMAA==} engines: {node: '>=6.9.0'} @@ -995,6 +1000,10 @@ packages: resolution: {integrity: sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==} engines: {node: '>=6.9.0'} + '@babel/types@7.25.6': + resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} + engines: {node: '>=6.9.0'} + '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} @@ -1836,81 +1845,161 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.21.2': + resolution: {integrity: sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.21.1': resolution: {integrity: sha512-t1lLYn4V9WgnIFHXy1d2Di/7gyzBWS8G5pQSXdZqfrdCGTwi1VasRMSS81DTYb+avDs/Zz4A6dzERki5oRYz1g==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.21.2': + resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.21.1': resolution: {integrity: sha512-AH/wNWSEEHvs6t4iJ3RANxW5ZCK3fUnmf0gyMxWCesY1AlUj8jY7GC+rQE4wd3gwmZ9XDOpL0kcFnCjtN7FXlA==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.21.2': + resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.21.1': resolution: {integrity: sha512-dO0BIz/+5ZdkLZrVgQrDdW7m2RkrLwYTh2YMFG9IpBtlC1x1NPNSXkfczhZieOlOLEqgXOFH3wYHB7PmBtf+Bg==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.21.2': + resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-linux-arm-gnueabihf@4.21.1': resolution: {integrity: sha512-sWWgdQ1fq+XKrlda8PsMCfut8caFwZBmhYeoehJ05FdI0YZXk6ZyUjWLrIgbR/VgiGycrFKMMgp7eJ69HOF2pQ==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': + resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.21.1': resolution: {integrity: sha512-9OIiSuj5EsYQlmwhmFRA0LRO0dRRjdCVZA3hnmZe1rEwRk11Jy3ECGGq3a7RrVEZ0/pCsYWx8jG3IvcrJ6RCew==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.21.2': + resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.21.1': resolution: {integrity: sha512-0kuAkRK4MeIUbzQYu63NrJmfoUVicajoRAL1bpwdYIYRcs57iyIV9NLcuyDyDXE2GiZCL4uhKSYAnyWpjZkWow==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.21.2': + resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.21.1': resolution: {integrity: sha512-/6dYC9fZtfEY0vozpc5bx1RP4VrtEOhNQGb0HwvYNwXD1BBbwQ5cKIbUVVU7G2d5WRE90NfB922elN8ASXAJEA==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.21.2': + resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.21.1': resolution: {integrity: sha512-ltUWy+sHeAh3YZ91NUsV4Xg3uBXAlscQe8ZOXRCVAKLsivGuJsrkawYPUEyCV3DYa9urgJugMLn8Z3Z/6CeyRQ==} cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': + resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.21.1': resolution: {integrity: sha512-BggMndzI7Tlv4/abrgLwa/dxNEMn2gC61DCLrTzw8LkpSKel4o+O+gtjbnkevZ18SKkeN3ihRGPuBxjaetWzWg==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.21.2': + resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.21.1': resolution: {integrity: sha512-z/9rtlGd/OMv+gb1mNSjElasMf9yXusAxnRDrBaYB+eS1shFm6/4/xDH1SAISO5729fFKUkJ88TkGPRUh8WSAA==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.21.2': + resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.21.1': resolution: {integrity: sha512-kXQVcWqDcDKw0S2E0TmhlTLlUgAmMVqPrJZR+KpH/1ZaZhLSl23GZpQVmawBQGVhyP5WXIsIQ/zqbDBBYmxm5w==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.21.2': + resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.21.1': resolution: {integrity: sha512-CbFv/WMQsSdl+bpX6rVbzR4kAjSSBuDgCqb1l4J68UYsQNalz5wOqLGYj4ZI0thGpyX5kc+LLZ9CL+kpqDovZA==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.21.2': + resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.21.1': resolution: {integrity: sha512-3Q3brDgA86gHXWHklrwdREKIrIbxC0ZgU8lwpj0eEKGBQH+31uPqr0P2v11pn0tSIxHvcdOWxa4j+YvLNx1i6g==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.21.2': + resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.21.1': resolution: {integrity: sha512-tNg+jJcKR3Uwe4L0/wY3Ro0H+u3nrb04+tcq1GSYzBEmKLeOQF2emk1whxlzNqb6MMrQ2JOcQEpuuiPLyRcSIw==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.21.2': + resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.21.1': resolution: {integrity: sha512-xGiIH95H1zU7naUyTKEyOA/I0aexNMUdO9qRv0bLKN3qu25bBdrxZHqA3PTJ24YNN/GdMzG4xkDcd/GvjuhfLg==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.21.2': + resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==} + cpu: [x64] + os: [win32] + '@rushstack/node-core-library@5.5.1': resolution: {integrity: sha512-ZutW56qIzH8xIOlfyaLQJFx+8IBqdbVCZdnj+XT1MorQ1JqqxHse8vbCpEM+2MjsrqcbxcgDIbfggB1ZSQ2A3g==} peerDependencies: @@ -1936,11 +2025,11 @@ packages: '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} - '@shikijs/core@1.14.1': - resolution: {integrity: sha512-KyHIIpKNaT20FtFPFjCQB5WVSTpLR/n+jQXhWHWVUMm9MaOaG9BGOG0MSyt7yA4+Lm+4c9rTc03tt3nYzeYSfw==} + '@shikijs/core@1.15.0': + resolution: {integrity: sha512-wUcOmlcEN/ub8i4pcjnAABExIUo7xwhZTBa43CwHu5KO9e/zLJlXYYNjeE+5K7W8VHiVtvRC2wcuaXyd0yG8rg==} - '@shikijs/transformers@1.14.1': - resolution: {integrity: sha512-JJqL8QBVCJh3L61jqqEXgFq1cTycwjcGj7aSmqOEsbxnETM9hRlaB74QuXvY/fVJNjbNt8nvWo0VwAXKvMSLRg==} + '@shikijs/transformers@1.15.0': + resolution: {integrity: sha512-hJeTJGHZ6lCQKufYctiT+8HYrUnyfI67SXzMIB1rib7EUDZpwqfFLMqUfv8RST7qY359/ZWszrD6IzmTD8XV6w==} '@shuding/opentype.js@1.4.0-beta.0': resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==} @@ -5254,6 +5343,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.21.2: + resolution: {integrity: sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-applescript@5.0.0: resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} engines: {node: '>=12'} @@ -5364,8 +5458,8 @@ packages: vue: optional: true - shiki@1.14.1: - resolution: {integrity: sha512-FujAN40NEejeXdzPt+3sZ3F2dx1U24BY2XTY01+MG8mbxCiA2XukXdcbyMyLAHJ/1AUUnQd1tZlvIjefWWEJeA==} + shiki@1.15.0: + resolution: {integrity: sha512-XDRuSC/BSqD9bLXXIDs81oZvLO1n6lGvau10IJozNn/QJloF5A3GHfpvLegr0AzCh3hpVPpP7EPbfdJ9/wW0zQ==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -6356,7 +6450,7 @@ snapshots: remark-parse: 11.0.0 remark-rehype: 11.1.0 remark-smartypants: 3.0.2 - shiki: 1.14.1 + shiki: 1.15.0 unified: 11.0.5 unist-util-remove-position: 5.0.0 unist-util-visit: 5.0.0 @@ -6365,12 +6459,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/mdx@3.1.4(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4))': + '@astrojs/mdx@3.1.4(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4))': dependencies: '@astrojs/markdown-remark': 5.2.0 '@mdx-js/mdx': 3.0.1 acorn: 8.12.1 - astro: 4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4) + astro: 4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4) es-module-lexer: 1.5.4 estree-util-visit: 2.0.0 gray-matter: 4.0.3 @@ -6395,10 +6489,10 @@ snapshots: stream-replace-string: 2.0.0 zod: 3.23.8 - '@astrojs/svelte@5.7.0(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4))(svelte@5.0.0-next.221)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6))': + '@astrojs/svelte@5.7.0(astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4))(svelte@5.0.0-next.221)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6))': dependencies: '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@5.0.0-next.221)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)) - astro: 4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4) + astro: 4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4) svelte: 5.0.0-next.221 svelte2tsx: 0.7.16(svelte@5.0.0-next.221)(typescript@5.5.4) typescript: 5.5.4 @@ -6707,6 +6801,10 @@ snapshots: dependencies: '@babel/types': 7.25.4 + '@babel/parser@7.25.6': + dependencies: + '@babel/types': 7.25.6 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.0(@babel/core@7.24.3)': dependencies: '@babel/core': 7.24.3 @@ -7364,6 +7462,12 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 + '@babel/types@7.25.6': + dependencies: + '@babel/helper-string-parser': 7.24.8 + '@babel/helper-validator-identifier': 7.24.7 + to-fast-properties: 2.0.0 + '@bcoe/v8-coverage@0.2.3': {} '@commitlint/cli@19.4.0(@types/node@22.5.0)(typescript@5.5.4)': @@ -8097,12 +8201,12 @@ snapshots: '@pkgr/core@0.1.1': {} - '@playform/compress@0.1.1(@types/node@22.5.0)(rollup@4.21.1)(typescript@5.5.4)': + '@playform/compress@0.1.1(@types/node@22.5.0)(rollup@4.21.2)(typescript@5.5.4)': dependencies: '@playform/pipe': 0.1.0 '@types/csso': 5.0.4 '@types/html-minifier-terser': 7.0.2 - astro: 4.14.5(@types/node@22.5.0)(lightningcss@1.25.1)(rollup@4.21.1)(terser@5.31.3)(typescript@5.5.4) + astro: 4.14.5(@types/node@22.5.0)(lightningcss@1.25.1)(rollup@4.21.2)(terser@5.31.3)(typescript@5.5.4) csso: 5.0.5 deepmerge-ts: 7.1.0 html-minifier-terser: 7.2.0 @@ -8128,9 +8232,9 @@ snapshots: deepmerge-ts: 7.1.0 fast-glob: 3.3.2 - '@poppanator/sveltekit-svg@5.0.0-svelte5.3(rollup@4.21.1)(svelte@5.0.0-next.221)(svgo@3.3.2)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6))': + '@poppanator/sveltekit-svg@5.0.0-svelte5.3(rollup@4.21.2)(svelte@5.0.0-next.221)(svgo@3.3.2)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6))': dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.21.1) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) svelte: 5.0.0-next.221 svgo: 3.3.2 vite: 5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6) @@ -8139,62 +8243,110 @@ snapshots: '@resvg/resvg-wasm@2.4.0': {} - '@rollup/pluginutils@5.1.0(rollup@4.21.1)': + '@rollup/pluginutils@5.1.0(rollup@4.21.2)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.21.1 + rollup: 4.21.2 '@rollup/rollup-android-arm-eabi@4.21.1': optional: true + '@rollup/rollup-android-arm-eabi@4.21.2': + optional: true + '@rollup/rollup-android-arm64@4.21.1': optional: true + '@rollup/rollup-android-arm64@4.21.2': + optional: true + '@rollup/rollup-darwin-arm64@4.21.1': optional: true + '@rollup/rollup-darwin-arm64@4.21.2': + optional: true + '@rollup/rollup-darwin-x64@4.21.1': optional: true + '@rollup/rollup-darwin-x64@4.21.2': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.21.1': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.21.1': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.21.2': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.21.1': optional: true + '@rollup/rollup-linux-arm64-gnu@4.21.2': + optional: true + '@rollup/rollup-linux-arm64-musl@4.21.1': optional: true + '@rollup/rollup-linux-arm64-musl@4.21.2': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.21.1': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.21.1': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.21.2': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.21.1': optional: true + '@rollup/rollup-linux-s390x-gnu@4.21.2': + optional: true + '@rollup/rollup-linux-x64-gnu@4.21.1': optional: true + '@rollup/rollup-linux-x64-gnu@4.21.2': + optional: true + '@rollup/rollup-linux-x64-musl@4.21.1': optional: true + '@rollup/rollup-linux-x64-musl@4.21.2': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.21.1': optional: true + '@rollup/rollup-win32-arm64-msvc@4.21.2': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.21.1': optional: true + '@rollup/rollup-win32-ia32-msvc@4.21.2': + optional: true + '@rollup/rollup-win32-x64-msvc@4.21.1': optional: true + '@rollup/rollup-win32-x64-msvc@4.21.2': + optional: true + '@rushstack/node-core-library@5.5.1(@types/node@22.5.0)': dependencies: ajv: 8.13.0 @@ -8231,13 +8383,13 @@ snapshots: '@sec-ant/readable-stream@0.4.1': {} - '@shikijs/core@1.14.1': + '@shikijs/core@1.15.0': dependencies: '@types/hast': 3.0.4 - '@shikijs/transformers@1.14.1': + '@shikijs/transformers@1.15.0': dependencies: - shiki: 1.14.1 + shiki: 1.15.0 '@shuding/opentype.js@1.4.0-beta.0': dependencies: @@ -8726,7 +8878,7 @@ snapshots: '@vue/compiler-sfc@3.4.38': dependencies: - '@babel/parser': 7.25.4 + '@babel/parser': 7.25.6 '@vue/compiler-core': 3.4.38 '@vue/compiler-dom': 3.4.38 '@vue/compiler-ssr': 3.4.38 @@ -8973,7 +9125,7 @@ snapshots: - supports-color - typescript - astro@4.14.5(@types/node@22.5.0)(lightningcss@1.25.1)(rollup@4.21.1)(terser@5.31.3)(typescript@5.5.4): + astro@4.14.5(@types/node@22.5.0)(lightningcss@1.25.1)(rollup@4.21.2)(terser@5.31.3)(typescript@5.5.4): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.1 @@ -8986,7 +9138,7 @@ snapshots: '@babel/traverse': 7.25.4 '@babel/types': 7.25.4 '@oslojs/encoding': 0.4.1 - '@rollup/pluginutils': 5.1.0(rollup@4.21.1) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) '@types/babel__core': 7.20.5 '@types/cookie': 0.6.0 acorn: 8.12.1 @@ -9028,7 +9180,7 @@ snapshots: prompts: 2.4.2 rehype: 13.0.1 semver: 7.6.3 - shiki: 1.14.1 + shiki: 1.15.0 string-width: 7.2.0 strip-ansi: 7.1.0 tsconfck: 3.1.1(typescript@5.5.4) @@ -9057,7 +9209,7 @@ snapshots: - terser - typescript - astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.1)(terser@5.31.6)(typescript@5.5.4): + astro@4.14.5(@types/node@22.5.0)(lightningcss@1.26.0)(rollup@4.21.2)(terser@5.31.6)(typescript@5.5.4): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.1 @@ -9070,7 +9222,7 @@ snapshots: '@babel/traverse': 7.25.4 '@babel/types': 7.25.4 '@oslojs/encoding': 0.4.1 - '@rollup/pluginutils': 5.1.0(rollup@4.21.1) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) '@types/babel__core': 7.20.5 '@types/cookie': 0.6.0 acorn: 8.12.1 @@ -9112,7 +9264,7 @@ snapshots: prompts: 2.4.2 rehype: 13.0.1 semver: 7.6.3 - shiki: 1.14.1 + shiki: 1.15.0 string-width: 7.2.0 strip-ansi: 7.1.0 tsconfck: 3.1.1(typescript@5.5.4) @@ -12554,6 +12706,29 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.1 fsevents: 2.3.3 + rollup@4.21.2: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.21.2 + '@rollup/rollup-android-arm64': 4.21.2 + '@rollup/rollup-darwin-arm64': 4.21.2 + '@rollup/rollup-darwin-x64': 4.21.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.2 + '@rollup/rollup-linux-arm-musleabihf': 4.21.2 + '@rollup/rollup-linux-arm64-gnu': 4.21.2 + '@rollup/rollup-linux-arm64-musl': 4.21.2 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.2 + '@rollup/rollup-linux-riscv64-gnu': 4.21.2 + '@rollup/rollup-linux-s390x-gnu': 4.21.2 + '@rollup/rollup-linux-x64-gnu': 4.21.2 + '@rollup/rollup-linux-x64-musl': 4.21.2 + '@rollup/rollup-win32-arm64-msvc': 4.21.2 + '@rollup/rollup-win32-ia32-msvc': 4.21.2 + '@rollup/rollup-win32-x64-msvc': 4.21.2 + fsevents: 2.3.3 + optional: true + run-applescript@5.0.0: dependencies: execa: 5.1.1 @@ -12709,18 +12884,18 @@ snapshots: shebang-regex@3.0.0: {} - shiki-magic-move@0.4.4(shiki@1.14.1)(svelte@5.0.0-next.221)(vue@3.4.38(typescript@5.5.4)): + shiki-magic-move@0.4.4(shiki@1.15.0)(svelte@5.0.0-next.221)(vue@3.4.38(typescript@5.5.4)): dependencies: diff-match-patch-es: 0.1.0 ohash: 1.1.3 optionalDependencies: - shiki: 1.14.1 + shiki: 1.15.0 svelte: 5.0.0-next.221 vue: 3.4.38(typescript@5.5.4) - shiki@1.14.1: + shiki@1.15.0: dependencies: - '@shikijs/core': 1.14.1 + '@shikijs/core': 1.15.0 '@types/hast': 3.0.4 side-channel@1.0.6: @@ -13403,10 +13578,10 @@ snapshots: - supports-color - terser - vite-plugin-dts@4.0.3(@types/node@22.5.0)(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)): + vite-plugin-dts@4.0.3(@types/node@22.5.0)(rollup@4.21.2)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(lightningcss@1.26.0)(terser@5.31.6)): dependencies: '@microsoft/api-extractor': 7.47.4(@types/node@22.5.0) - '@rollup/pluginutils': 5.1.0(rollup@4.21.1) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) '@volar/typescript': 2.4.0 '@vue/language-core': 2.0.29(typescript@5.5.4) compare-versions: 6.1.1