Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump the all group with 7 updates (#1561)
Bumps the all group with 7 updates: | Package | From | To | | --- | --- | --- | | [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `3.1.7` | `3.1.8` | | [@astrojs/rss](https://github.com/withastro/astro/tree/HEAD/packages/astro-rss) | `4.0.7` | `4.0.8` | | [@astrojs/tailwind](https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind) | `5.1.1` | `5.1.2` | | [@xmldom/xmldom](https://github.com/xmldom/xmldom) | `0.9.3` | `0.9.4` | | [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `4.15.11` | `4.16.2` | | [@iconify-json/mdi](https://github.com/iconify/icon-sets) | `1.2.0` | `1.2.1` | | [@iconify-json/simple-icons](https://github.com/iconify/icon-sets) | `1.2.5` | `1.2.7` | Updates `@astrojs/mdx` from 3.1.7 to 3.1.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@astrojs/mdx</code>'s releases</a>.</em></p> <blockquote> <h2><code>@astrojs/mdx</code><a href="https://github.com/3"><code>@3</code></a>.1.8</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b"><code>710a1a1</code></a>]: <ul> <li><code>@astrojs/markdown-remark</code><a href="https://github.com/5"><code>@5</code></a>.3.0</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md"><code>@astrojs/mdx</code>'s changelog</a>.</em></p> <blockquote> <h2>3.1.8</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b"><code>710a1a1</code></a>]: <ul> <li><code>@astrojs/markdown-remark</code><a href="https://github.com/5"><code>@5</code></a>.3.0</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/582f12e1f6f99b54865a0b24d804ee0924f4ef55"><code>582f12e</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/12148">#12148</a>)</li> <li><a href="https://github.com/withastro/astro/commit/fef0b8cce1a157edd9a57238c024b08aea102f46"><code>fef0b8c</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/12140">#12140</a>)</li> <li><a href="https://github.com/withastro/astro/commit/928dc3111c7e607867048a83dd18fbd5b5041b9f"><code>928dc31</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/12092">#12092</a>)</li> <li><a href="https://github.com/withastro/astro/commit/2594eb088d53a98181ac820243bcb1a765856ecf"><code>2594eb0</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/12003">#12003</a>)</li> <li>See full diff in <a href="https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/mdx">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/rss` from 4.0.7 to 4.0.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@astrojs/rss</code>'s releases</a>.</em></p> <blockquote> <h2><code>@astrojs/rss</code><a href="https://github.com/4"><code>@4</code></a>.0.8</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12137">#12137</a> <a href="https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140"><code>50dd88b</code></a> Thanks <a href="https://github.com/ArmandPhilippot"><code>@ArmandPhilippot</code></a>! - Fixes an error that occurred when the optional <code>pubDate</code> property was missing in an item.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12137">#12137</a> <a href="https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140"><code>50dd88b</code></a> Thanks <a href="https://github.com/ArmandPhilippot"><code>@ArmandPhilippot</code></a>! - Fixes an error where docs incorrectly stated the <code>title</code>, <code>link</code> and <code>pubDate</code> properties of RSS items was required.</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro-rss/CHANGELOG.md"><code>@astrojs/rss</code>'s changelog</a>.</em></p> <blockquote> <h2>4.0.8</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12137">#12137</a> <a href="https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140"><code>50dd88b</code></a> Thanks <a href="https://github.com/ArmandPhilippot"><code>@ArmandPhilippot</code></a>! - Fixes an error that occurred when the optional <code>pubDate</code> property was missing in an item.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12137">#12137</a> <a href="https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140"><code>50dd88b</code></a> Thanks <a href="https://github.com/ArmandPhilippot"><code>@ArmandPhilippot</code></a>! - Fixes an error where docs incorrectly stated the <code>title</code>, <code>link</code> and <code>pubDate</code> properties of RSS items was required.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/582f12e1f6f99b54865a0b24d804ee0924f4ef55"><code>582f12e</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/12148">#12148</a>)</li> <li><a href="https://github.com/withastro/astro/commit/2a1536d0911e6d3db6666dfeb4ee697429078c1e"><code>2a1536d</code></a> chore: move lint rules to Biome (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/12145">#12145</a>)</li> <li><a href="https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140"><code>50dd88b</code></a> fix(<code>@astrojs/rss</code>): prevent an error when <code>pubDate</code> is missing (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/12137">#12137</a>)</li> <li><a href="https://github.com/withastro/astro/commit/a46839a5c818b7de63c36d0c7e27f1a8f3b773dc"><code>a46839a</code></a> docs: update Vite links to use their new domain (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/12117">#12117</a>)</li> <li><a href="https://github.com/withastro/astro/commit/b9394fa70c913f36e60034c0b84819d30edb4dec"><code>b9394fa</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/11948">#11948</a>)</li> <li><a href="https://github.com/withastro/astro/commit/72c7ae9901de927ae8d9d5be63cbaef4f976422c"><code>72c7ae9</code></a> update formatter config (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/11640">#11640</a>)</li> <li><a href="https://github.com/withastro/astro/commit/4c1b769bcf0da535b9c754162ece3afedc10d822"><code>4c1b769</code></a> chore: bump typescript-eslint to v8 (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/11649">#11649</a>)</li> <li><a href="https://github.com/withastro/astro/commit/750d5328c93be9ac3df352d2d813c109891c8e64"><code>750d532</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro-rss/issues/11565">#11565</a>)</li> <li>See full diff in <a href="https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/astro-rss">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/tailwind` from 5.1.1 to 5.1.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@astrojs/tailwind</code>'s releases</a>.</em></p> <blockquote> <h2><code>@astrojs/tailwind</code><a href="https://github.com/5"><code>@5</code></a>.1.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12161">#12161</a> <a href="https://github.com/withastro/astro/commit/8e500f2f9656a98e4a14ef567f9bf072459f62c4"><code>8e500f2</code></a> Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>! - Adds keywords to <code>package.json</code> to improve categorization in the Astro integrations catalog</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/integrations/tailwind/CHANGELOG.md"><code>@astrojs/tailwind</code>'s changelog</a>.</em></p> <blockquote> <h2>5.1.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12161">#12161</a> <a href="https://github.com/withastro/astro/commit/8e500f2f9656a98e4a14ef567f9bf072459f62c4"><code>8e500f2</code></a> Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>! - Adds keywords to <code>package.json</code> to improve categorization in the Astro integrations catalog</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/582f12e1f6f99b54865a0b24d804ee0924f4ef55"><code>582f12e</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12148">#12148</a>)</li> <li><a href="https://github.com/withastro/astro/commit/8e500f2f9656a98e4a14ef567f9bf072459f62c4"><code>8e500f2</code></a> Add <code>css</code> keyword to Tailwind integration (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12161">#12161</a>)</li> <li><a href="https://github.com/withastro/astro/commit/2594eb088d53a98181ac820243bcb1a765856ecf"><code>2594eb0</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12003">#12003</a>)</li> <li>See full diff in <a href="https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/tailwind">compare view</a></li> </ul> </details> <br /> Updates `@xmldom/xmldom` from 0.9.3 to 0.9.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/xmldom/xmldom/releases"><code>@xmldom/xmldom</code>'s releases</a>.</em></p> <blockquote> <h2>0.9.4</h2> <p><a href="https://github.com/xmldom/xmldom/compare/0.9.3...0.9.4">Commits</a></p> <h3>Fixed</h3> <ul> <li>restore performance for large amount of child nodes <a href="https://redirect.github.com/xmldom/xmldom/issues/748"><code>[#748](https://github.com/xmldom/xmldom/issues/748)</code></a> / <a href="https://redirect.github.com/xmldom/xmldom/pull/760"><code>[#760](https://github.com/xmldom/xmldom/issues/760)</code></a></li> <li>types: correct error handler level to <code>warning</code> (<a href="https://redirect.github.com/xmldom/xmldom/issues/759">#759</a>) <a href="https://redirect.github.com/xmldom/xmldom/issues/754"><code>[#754](https://github.com/xmldom/xmldom/issues/754)</code></a> / <a href="https://redirect.github.com/xmldom/xmldom/pull/759"><code>[#759](https://github.com/xmldom/xmldom/issues/759)</code></a></li> </ul> <h3>Docs</h3> <ul> <li>test: verify BOM handling <a href="https://redirect.github.com/xmldom/xmldom/pull/758"><code>[#758](https://github.com/xmldom/xmldom/issues/758)</code></a></li> </ul> <p>Thank you, <a href="https://github.com/luffynando"><code>@luffynando</code></a>, <a href="https://github.com/mattiasw"><code>@mattiasw</code></a>, <a href="https://github.com/JoinerDev"><code>@JoinerDev</code></a>, for your contributions.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md"><code>@xmldom/xmldom</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/xmldom/xmldom/compare/0.9.3...0.9.4">0.9.4</a></h2> <h3>Fixed</h3> <ul> <li>restore performance for large amount of child nodes <a href="https://redirect.github.com/xmldom/xmldom/issues/748"><code>[#748](https://github.com/xmldom/xmldom/issues/748)</code></a> / <a href="https://redirect.github.com/xmldom/xmldom/pull/760"><code>[#760](https://github.com/xmldom/xmldom/issues/760)</code></a></li> <li>types: correct error handler level to <code>warning</code> (<a href="https://redirect.github.com/xmldom/xmldom/issues/759">#759</a>) <a href="https://redirect.github.com/xmldom/xmldom/issues/754"><code>[#754](https://github.com/xmldom/xmldom/issues/754)</code></a> / <a href="https://redirect.github.com/xmldom/xmldom/pull/759"><code>[#759](https://github.com/xmldom/xmldom/issues/759)</code></a></li> </ul> <h3>Docs</h3> <ul> <li>test: verify BOM handling <a href="https://redirect.github.com/xmldom/xmldom/pull/758"><code>[#758](https://github.com/xmldom/xmldom/issues/758)</code></a></li> </ul> <p>Thank you, <a href="https://github.com/luffynando"><code>@luffynando</code></a>, <a href="https://github.com/mattiasw"><code>@mattiasw</code></a>, <a href="https://github.com/JoinerDev"><code>@JoinerDev</code></a>, for your contributions.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/xmldom/xmldom/commit/65d028a98f83285de536827515161e0d2631a85e"><code>65d028a</code></a> 0.9.4</li> <li><a href="https://github.com/xmldom/xmldom/commit/1d0aadabd3c818f82ced44001072882253d4419c"><code>1d0aada</code></a> docs: prepare changelog for 0.9.4 (<a href="https://redirect.github.com/xmldom/xmldom/issues/761">#761</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/5705f5df08ea4332f3f39a495b466b6e2c7f8f01"><code>5705f5d</code></a> fix: restore performance for large amount of child nodes (<a href="https://redirect.github.com/xmldom/xmldom/issues/760">#760</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/8db2ae371cab703fd547f865dfe05286243fc064"><code>8db2ae3</code></a> fix(types): correct error handler level to <code>warning</code> (<a href="https://redirect.github.com/xmldom/xmldom/issues/759">#759</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/ec8a1adbc2e8f3aea99be4db289855487c2f4d52"><code>ec8a1ad</code></a> test: verify BOM handling (<a href="https://redirect.github.com/xmldom/xmldom/issues/758">#758</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/b065eacc6281e551882ec98edea9267b5f22e22f"><code>b065eac</code></a> chore(deps): update dependency eslint-plugin-n to v17.11.1 (<a href="https://redirect.github.com/xmldom/xmldom/issues/757">#757</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/6645f6b8f56cdf79628d47636c1d24d75424e6ed"><code>6645f6b</code></a> chore(deps): update dependency eslint-plugin-n to v17.11.0 (<a href="https://redirect.github.com/xmldom/xmldom/issues/756">#756</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/380756cee8942e827c474c8af1605ff2d7d52ffb"><code>380756c</code></a> chore(deps): update actions/upload-artifact action to v4.4.3 (<a href="https://redirect.github.com/xmldom/xmldom/issues/755">#755</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/8279d8318bfef58e7ab63135f60ea2d417c6ccb4"><code>8279d83</code></a> chore(deps): update actions/upload-artifact action to v4.4.1 (<a href="https://redirect.github.com/xmldom/xmldom/issues/751">#751</a>)</li> <li><a href="https://github.com/xmldom/xmldom/commit/3495fef9b245535872637132d8e04dd20b07c2a0"><code>3495fef</code></a> chore(deps): update actions/checkout digest to eef6144 (<a href="https://redirect.github.com/xmldom/xmldom/issues/749">#749</a>)</li> <li>Additional commits viewable in <a href="https://github.com/xmldom/xmldom/compare/0.9.3...0.9.4">compare view</a></li> </ul> </details> <br /> Updates `astro` from 4.15.11 to 4.16.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12206">#12206</a> <a href="https://github.com/withastro/astro/commit/12b00225067445629e5ae451d763d03f70065f88"><code>12b0022</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Reverts <a href="https://redirect.github.com/withastro/astro/pull/12173">withastro/astro#12173</a> which caused <code>Can't modify immutable headers</code> warnings and 500 errors on Cloudflare Pages</li> </ul> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12177">#12177</a> <a href="https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e"><code>a4ffbfa</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Ensure we target scripts for execution in the router</p> <p>Using <code>document.scripts</code> is unsafe because if the application has a <code>name="scripts"</code> this will shadow the built-in <code>document.scripts</code>. Fix is to use <code>getElementsByTagName</code> to ensure we're only grabbing real scripts.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12173">#12173</a> <a href="https://github.com/withastro/astro/commit/2d10de5f212323e6e19c7ea379826dcc18fe739c"><code>2d10de5</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.</p> </li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12039">#12039</a> <a href="https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b"><code>710a1a1</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Adds a <code>markdown.shikiConfig.langAlias</code> option that allows <a href="https://shiki.style/guide/load-lang#custom-language-aliases">aliasing a non-supported code language to a known language</a>. This is useful when the language of your code samples is not <a href="https://shiki.style/languages">a built-in Shiki language</a>, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.</p> <p>The following example configures Shiki to highlight <code>cjs</code> code blocks using the <code>javascript</code> syntax highlighter:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; <p>export default defineConfig({ markdown: { shikiConfig: { langAlias: { cjs: 'javascript', }, }, }, }); </code></pre></p> <p>Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:</p> <pre lang="md"><code>```cjs 'use strict'; <p>function commonJs() { return 'I am a commonjs file'; }</p> <pre><code></code></pre> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/11984">#11984</a> <a href="withastro/astro@3ac2263ff6070136bec9cffb863c38bcc31ccdfe"><code>3ac2263</code></a> Thanks <a href="https://github.com/chaegumi"><code>@chaegumi</code></a>! - Adds a new <code>build.concurreny</code> configuration option to specify the number of pages to build in parallel</p> <p><strong>In most cases, you should not change the default value of <code>1</code>.</strong></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> <blockquote> <h2>4.16.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12206">#12206</a> <a href="withastro/astro@12b00225067445629e5ae451d763d03f70065f88"><code>12b0022</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Reverts <a href="https://redirect.github.com/withastro/astro/pull/12173">withastro/astro#12173</a> which caused <code>Can't modify immutable headers</code> warnings and 500 errors on Cloudflare Pages</li> </ul> <h2>4.16.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12177">#12177</a> <a href="withastro/astro@a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e"><code>a4ffbfa</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Ensure we target scripts for execution in the router</p> <p>Using <code>document.scripts</code> is unsafe because if the application has a <code>name=&quot;scripts&quot;</code> this will shadow the built-in <code>document.scripts</code>. Fix is to use <code>getElementsByTagName</code> to ensure we're only grabbing real scripts.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12173">#12173</a> <a href="withastro/astro@2d10de5f212323e6e19c7ea379826dcc18fe739c"><code>2d10de5</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.</p> </li> </ul> <h2>4.16.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12039">#12039</a> <a href="withastro/astro@710a1a11f488ff6ed3da6d3e0723b2322ccfe27b"><code>710a1a1</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Adds a <code>markdown.shikiConfig.langAlias</code> option that allows <a href="https://shiki.style/guide/load-lang#custom-language-aliases">aliasing a non-supported code language to a known language</a>. This is useful when the language of your code samples is not <a href="https://shiki.style/languages">a built-in Shiki language</a>, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.</p> <p>The following example configures Shiki to highlight <code>cjs</code> code blocks using the <code>javascript</code> syntax highlighter:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; export default defineConfig({ markdown: { shikiConfig: { langAlias: { cjs: 'javascript', }, }, }, }); </code></pre> <p>Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:</p> <pre lang="md"><code>```cjs 'use strict'; function commonJs() { return 'I am a commonjs file'; } </code></pre> <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/bbc72a1f31de97fb16a469c590774c809c171909"><code>bbc72a1</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12207">#12207</a>)</li> <li><a href="https://github.com/withastro/astro/commit/12b00225067445629e5ae451d763d03f70065f88"><code>12b0022</code></a> Revert <a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12173">#12173</a> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12206">#12206</a>)</li> <li><a href="https://github.com/withastro/astro/commit/c73d65d7f76617cf5275203fd918887cbda01baf"><code>c73d65d</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12178">#12178</a>)</li> <li><a href="https://github.com/withastro/astro/commit/650dd22a7bce084c66a9a0f96f2d4e4500807641"><code>650dd22</code></a> Fix VT video test fail in firefox (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12188">#12188</a>)</li> <li><a href="https://github.com/withastro/astro/commit/58e22bd042f9a67c2167605bc7ee45538f1b4921"><code>58e22bd</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/2d10de5f212323e6e19c7ea379826dcc18fe739c"><code>2d10de5</code></a> fix(routing): actions should redirect the original pathname (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12173">#12173</a>)</li> <li><a href="https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e"><code>a4ffbfa</code></a> Ensure router only targets scripts for execution (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12177">#12177</a>)</li> <li><a href="https://github.com/withastro/astro/commit/2f5b28e93851f39708d0d683832c70730b40afe9"><code>2f5b28e</code></a> Use p-queue instead of fastq (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12189">#12189</a>)</li> <li><a href="https://github.com/withastro/astro/commit/1f93fca1d36734bc0abc227214cf8d96eba513cd"><code>1f93fca</code></a> Fix biome lint warning (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12187">#12187</a>)</li> <li><a href="https://github.com/withastro/astro/commit/582f12e1f6f99b54865a0b24d804ee0924f4ef55"><code>582f12e</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12148">#12148</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/[email protected]/packages/astro">compare view</a></li> </ul> </details> <br /> Updates `@iconify-json/mdi` from 1.2.0 to 1.2.1 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/iconify/icon-sets/commits">compare view</a></li> </ul> </details> <br /> Updates `@iconify-json/simple-icons` from 1.2.5 to 1.2.7 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/iconify/icon-sets/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information