Bump the prod-dependencies group with 3 updates #106

Closed
dependabot[bot] wants to merge 2 commits from dependabot/npm_and_yarn/prod-dependencies-10c4d2b769 into main
dependabot[bot] commented 2024-03-11 15:42:02 +00:00 (Migrated from github.com)

Bumps the prod-dependencies group with 3 updates: vite, astro and @matthiesenxyz/astro-gists.

Updates vite from 5.1.5 to 5.1.6

Changelog

Sourced from vite's changelog.

5.1.6 (2024-03-11)

  • chore(deps): update all non-major dependencies (#16131) (a862ecb), closes #16131
  • fix: check for publicDir before checking if it is a parent directory (#16046) (b6fb323), closes #16046
  • fix: escape single quote when relative base is used (#16060) (8f74ce4), closes #16060
  • fix: handle function property extension in namespace import (#16113) (f699194), closes #16113
  • fix: server middleware mode resolve (#16122) (8403546), closes #16122
  • fix(esbuild): update tsconfck to fix bug that could cause a deadlock (#16124) (fd9de04), closes #16124
  • fix(worker): hide "The emitted file overwrites" warning if the content is same (#16094) (60dfa9e), closes #16094
  • fix(worker): throw error when circular worker import is detected and support self referencing worker (eef9da1), closes #16103
  • style(utils): remove null check (#16112) (0d2df52), closes #16112
  • refactor(runtime): share more code between runtime and main bundle (#16063) (93be84e), closes #16063
Commits
  • 6f7466e release: v5.1.6
  • a862ecb chore(deps): update all non-major dependencies (#16131)
  • 8403546 fix: server middleware mode resolve (#16122)
  • b6fb323 fix: check for publicDir before checking if it is a parent directory (#16046)
  • fd9de04 fix(esbuild): update tsconfck to fix bug that could cause a deadlock (#16124)
  • f699194 fix: handle function property extension in namespace import (#16113)
  • 0d2df52 style(utils): remove null check (#16112)
  • eef9da1 fix(worker): throw error when circular worker import is detected and support ...
  • 60dfa9e fix(worker): hide "The emitted file overwrites" warning if the content is sam...
  • 93be84e refactor(runtime): share more code between runtime and main bundle (#16063)
  • Additional commits viewable in compare view

Updates astro from 4.4.13 to 4.5.0

Release notes

Sourced from astro's releases.

astro@4.5.0

Minor Changes

  • #10206 dc87214141e7f8406c0fdf6a7f425dad6dea6d3e Thanks @​lilnasy! - Allows middleware to run when a matching page or endpoint is not found. Previously, a pages/404.astro or pages/[...catch-all].astro route had to match to allow middleware. This is now not necessary.

    When a route does not match in SSR deployments, your adapter may show a platform-specific 404 page instead of running Astro's SSR code. In these cases, you may still need to add a 404.astro or fallback route with spread params, or use a routing configuration option if your adapter provides one.

  • #9960 c081adf998d30419fed97d8fccc11340cdc512e0 Thanks @​StandardGage! - Allows passing any props to the <Code /> component

  • #10102 e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7 Thanks @​bluwy! - Adds a new experimental.directRenderScript configuration option which provides a more reliable strategy to prevent scripts from being executed in pages where they are not used.

    This replaces the experimental.optimizeHoistedScript flag introduced in v2.10.4 to prevent unused components' scripts from being included in a page unexpectedly. That experimental option no longer exists and must be removed from your configuration, whether or not you enable directRenderScript:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    

    export default defineConfig({ experimental: {

    •   optimizeHoistedScript: true,
      
    •   directRenderScript: true
      
      } });

With experimental.directRenderScript configured, scripts are now directly rendered as declared in Astro files (including existing features like TypeScript, importing node_modules, and deduplicating scripts). You can also now conditionally render scripts in your Astro file.

However, this means scripts are no longer hoisted to the <head> and multiple scripts on a page are no longer bundled together. If you enable this option, you should check that all your <script> tags behave as expected.

This option will be enabled by default in Astro 5.0.

  • #10130 5a9528741fa98d017b269c7e4f013058028bdc5d Thanks @​bluwy! - Stabilizes markdown.shikiConfig.experimentalThemes as markdown.shikiConfig.themes. No behaviour changes are made to this option.

  • #10189 1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd Thanks @​peng! - Adds the option to pass an object to build.assetsPrefix. This allows for the use of multiple CDN prefixes based on the target file type.

    When passing an object to build.assetsPrefix, you must also specify a fallback domain to be used for all other file types not specified.

    Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    

    export default defineConfig({ build: { assetsPrefix: { js: 'https://js.cdn.example.com', mjs: 'https://js.cdn.example.com', // if you have .mjs files, you must add a new entry like this png: 'https://images.cdn.example.com', fallback: 'https://generic.cdn.example.com',

  • ... (truncated)

    Changelog

    Sourced from astro's changelog.

    4.5.0

    Minor Changes

    • #10206 dc87214141e7f8406c0fdf6a7f425dad6dea6d3e Thanks @​lilnasy! - Allows middleware to run when a matching page or endpoint is not found. Previously, a pages/404.astro or pages/[...catch-all].astro route had to match to allow middleware. This is now not necessary.

      When a route does not match in SSR deployments, your adapter may show a platform-specific 404 page instead of running Astro's SSR code. In these cases, you may still need to add a 404.astro or fallback route with spread params, or use a routing configuration option if your adapter provides one.

    • #9960 c081adf998d30419fed97d8fccc11340cdc512e0 Thanks @​StandardGage! - Allows passing any props to the <Code /> component

    • #10102 e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7 Thanks @​bluwy! - Adds a new experimental.directRenderScript configuration option which provides a more reliable strategy to prevent scripts from being executed in pages where they are not used.

      This replaces the experimental.optimizeHoistedScript flag introduced in v2.10.4 to prevent unused components' scripts from being included in a page unexpectedly. That experimental option no longer exists and must be removed from your configuration, whether or not you enable directRenderScript:

      // astro.config.mjs
      import { defineConfig } from 'astro/config';
      

      export default defineConfig({ experimental: {

      •   optimizeHoistedScript: true,
        
      •   directRenderScript: true
        
        } });

    With experimental.directRenderScript configured, scripts are now directly rendered as declared in Astro files (including existing features like TypeScript, importing node_modules, and deduplicating scripts). You can also now conditionally render scripts in your Astro file.

    However, this means scripts are no longer hoisted to the <head> and multiple scripts on a page are no longer bundled together. If you enable this option, you should check that all your <script> tags behave as expected.

    This option will be enabled by default in Astro 5.0.

  • #10130 5a9528741fa98d017b269c7e4f013058028bdc5d Thanks @​bluwy! - Stabilizes markdown.shikiConfig.experimentalThemes as markdown.shikiConfig.themes. No behaviour changes are made to this option.

  • #10189 1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd Thanks @​peng! - Adds the option to pass an object to build.assetsPrefix. This allows for the use of multiple CDN prefixes based on the target file type.

    When passing an object to build.assetsPrefix, you must also specify a fallback domain to be used for all other file types not specified.

    Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    

    export default defineConfig({ build: { assetsPrefix: { js: 'https://js.cdn.example.com', mjs: 'https://js.cdn.example.com', // if you have .mjs files, you must add a new entry like this png: 'https://images.cdn.example.com',

  • ... (truncated)

    Commits

    Updates @matthiesenxyz/astro-gists from 0.2.3 to 0.2.6

    Release notes

    Sourced from @​matthiesenxyz/astro-gists's releases.

    @​matthiesenxyz/astro-gists@​0.2.6

    Patch Changes

    • 18e132f: patch for css

    @​matthiesenxyz/astro-gists@​0.2.5

    Patch Changes

    • e500aeb: fix CSS issue with View Raw Button

    @​matthiesenxyz/astro-gists@​0.2.4

    Patch Changes

    • a6696ed: Readds a basic version of the theme system for now
    Commits

    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 commands and options

    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
    Bumps the prod-dependencies group with 3 updates: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [@matthiesenxyz/astro-gists](https://github.com/MatthiesenXYZ/astro-gists). Updates `vite` from 5.1.5 to 5.1.6 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p> <blockquote> <h2><!-- raw HTML omitted -->5.1.6 (2024-03-11)<!-- raw HTML omitted --></h2> <ul> <li>chore(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16131">#16131</a>) (<a href="https://github.com/vitejs/vite/commit/a862ecb">a862ecb</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16131">#16131</a></li> <li>fix: check for publicDir before checking if it is a parent directory (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16046">#16046</a>) (<a href="https://github.com/vitejs/vite/commit/b6fb323">b6fb323</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16046">#16046</a></li> <li>fix: escape single quote when relative base is used (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16060">#16060</a>) (<a href="https://github.com/vitejs/vite/commit/8f74ce4">8f74ce4</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16060">#16060</a></li> <li>fix: handle function property extension in namespace import (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16113">#16113</a>) (<a href="https://github.com/vitejs/vite/commit/f699194">f699194</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16113">#16113</a></li> <li>fix: server middleware mode resolve (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16122">#16122</a>) (<a href="https://github.com/vitejs/vite/commit/8403546">8403546</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16122">#16122</a></li> <li>fix(esbuild): update tsconfck to fix bug that could cause a deadlock (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16124">#16124</a>) (<a href="https://github.com/vitejs/vite/commit/fd9de04">fd9de04</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16124">#16124</a></li> <li>fix(worker): hide &quot;The emitted file overwrites&quot; warning if the content is same (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16094">#16094</a>) (<a href="https://github.com/vitejs/vite/commit/60dfa9e">60dfa9e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16094">#16094</a></li> <li>fix(worker): throw error when circular worker import is detected and support self referencing worker (<a href="https://github.com/vitejs/vite/commit/eef9da1">eef9da1</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16103">#16103</a></li> <li>style(utils): remove null check (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16112">#16112</a>) (<a href="https://github.com/vitejs/vite/commit/0d2df52">0d2df52</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16112">#16112</a></li> <li>refactor(runtime): share more code between runtime and main bundle (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16063">#16063</a>) (<a href="https://github.com/vitejs/vite/commit/93be84e">93be84e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/16063">#16063</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/6f7466e6211027686f40ad7e4ce6ec8477414546"><code>6f7466e</code></a> release: v5.1.6</li> <li><a href="https://github.com/vitejs/vite/commit/a862ecb941a432b6e3bab62331012e4b53ddd4e8"><code>a862ecb</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16131">#16131</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/840354601a2dbdb6419429999e1f9feff31a641f"><code>8403546</code></a> fix: server middleware mode resolve (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16122">#16122</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/b6fb3235c33b1490eb0d7a33b2b62d6fa7a5496f"><code>b6fb323</code></a> fix: check for publicDir before checking if it is a parent directory (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16046">#16046</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/fd9de0473e075c8d69bb3a8867ab15300506e67b"><code>fd9de04</code></a> fix(esbuild): update tsconfck to fix bug that could cause a deadlock (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16124">#16124</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/f6991948f59e36bc5d108e2befa5883be99f934f"><code>f699194</code></a> fix: handle function property extension in namespace import (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16113">#16113</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/0d2df527168dec95b2967a3013bbf8c1ec8b0286"><code>0d2df52</code></a> style(utils): remove null check (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16112">#16112</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/eef9da13d0028161eacc0ea699988814f29a56e4"><code>eef9da1</code></a> fix(worker): throw error when circular worker import is detected and support ...</li> <li><a href="https://github.com/vitejs/vite/commit/60dfa9e15c5cb052db45356c574ae724d86ca73b"><code>60dfa9e</code></a> fix(worker): hide &quot;The emitted file overwrites&quot; warning if the content is sam...</li> <li><a href="https://github.com/vitejs/vite/commit/93be84eccde7623781d4be17d63a8bc5bc88a0f5"><code>93be84e</code></a> refactor(runtime): share more code between runtime and main bundle (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16063">#16063</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v5.1.6/packages/vite">compare view</a></li> </ul> </details> <br /> Updates `astro` from 4.4.13 to 4.5.0 <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>astro@4.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10206">#10206</a> <a href="https://github.com/withastro/astro/commit/dc87214141e7f8406c0fdf6a7f425dad6dea6d3e"><code>dc87214141e7f8406c0fdf6a7f425dad6dea6d3e</code></a> Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>! - Allows middleware to run when a matching page or endpoint is not found. Previously, a <code>pages/404.astro</code> or <code>pages/[...catch-all].astro</code> route had to match to allow middleware. This is now not necessary.</p> <p>When a route does not match in SSR deployments, your adapter may show a platform-specific 404 page instead of running Astro's SSR code. In these cases, you may still need to add a <code>404.astro</code> or fallback route with spread params, or use a routing configuration option if your adapter provides one.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/9960">#9960</a> <a href="https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0"><code>c081adf998d30419fed97d8fccc11340cdc512e0</code></a> Thanks <a href="https://github.com/StandardGage"><code>@​StandardGage</code></a>! - Allows passing any props to the <code>&lt;Code /&gt;</code> component</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10102">#10102</a> <a href="https://github.com/withastro/astro/commit/e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7"><code>e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Adds a new <code>experimental.directRenderScript</code> configuration option which provides a more reliable strategy to prevent scripts from being executed in pages where they are not used.</p> <p>This replaces the <code>experimental.optimizeHoistedScript</code> flag introduced in v2.10.4 to prevent unused components' scripts from being included in a page unexpectedly. That experimental option no longer exists and must be removed from your configuration, whether or not you enable <code>directRenderScript</code>:</p> <pre lang="diff"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; <p>export default defineConfig({ experimental: {</p> <ul> <li> <pre><code> optimizeHoistedScript: true, </code></pre> </li> </ul> <ul> <li> <pre><code> directRenderScript: true </code></pre> } }); </code></pre></li> </ul> <p>With <code>experimental.directRenderScript</code> configured, scripts are now directly rendered as declared in Astro files (including existing features like TypeScript, importing <code>node_modules</code>, and deduplicating scripts). You can also now conditionally render scripts in your Astro file.</p> <p>However, this means scripts are no longer hoisted to the <code>&lt;head&gt;</code> and multiple scripts on a page are no longer bundled together. If you enable this option, you should check that all your <code>&lt;script&gt;</code> tags behave as expected.</p> <p>This option will be enabled by default in Astro 5.0.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10130">#10130</a> <a href="https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d"><code>5a9528741fa98d017b269c7e4f013058028bdc5d</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Stabilizes <code>markdown.shikiConfig.experimentalThemes</code> as <code>markdown.shikiConfig.themes</code>. No behaviour changes are made to this option.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10189">#10189</a> <a href="https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd"><code>1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd</code></a> Thanks <a href="https://github.com/peng"><code>@​peng</code></a>! - Adds the option to pass an object to <code>build.assetsPrefix</code>. This allows for the use of multiple CDN prefixes based on the target file type.</p> <p>When passing an object to <code>build.assetsPrefix</code>, you must also specify a <code>fallback</code> domain to be used for all other file types not specified.</p> <p>Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:</p> <pre lang="js"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; <p>export default defineConfig({ build: { assetsPrefix: { js: '<a href="https://js.cdn.example.com">https://js.cdn.example.com</a>', mjs: '<a href="https://js.cdn.example.com">https://js.cdn.example.com</a>', // if you have .mjs files, you must add a new entry like this png: '<a href="https://images.cdn.example.com">https://images.cdn.example.com</a>', fallback: '<a href="https://generic.cdn.example.com">https://generic.cdn.example.com</a>', </code></pre></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.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10206">#10206</a> <a href="https://github.com/withastro/astro/commit/dc87214141e7f8406c0fdf6a7f425dad6dea6d3e"><code>dc87214141e7f8406c0fdf6a7f425dad6dea6d3e</code></a> Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>! - Allows middleware to run when a matching page or endpoint is not found. Previously, a <code>pages/404.astro</code> or <code>pages/[...catch-all].astro</code> route had to match to allow middleware. This is now not necessary.</p> <p>When a route does not match in SSR deployments, your adapter may show a platform-specific 404 page instead of running Astro's SSR code. In these cases, you may still need to add a <code>404.astro</code> or fallback route with spread params, or use a routing configuration option if your adapter provides one.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/9960">#9960</a> <a href="https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0"><code>c081adf998d30419fed97d8fccc11340cdc512e0</code></a> Thanks <a href="https://github.com/StandardGage"><code>@​StandardGage</code></a>! - Allows passing any props to the <code>&lt;Code /&gt;</code> component</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10102">#10102</a> <a href="https://github.com/withastro/astro/commit/e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7"><code>e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Adds a new <code>experimental.directRenderScript</code> configuration option which provides a more reliable strategy to prevent scripts from being executed in pages where they are not used.</p> <p>This replaces the <code>experimental.optimizeHoistedScript</code> flag introduced in v2.10.4 to prevent unused components' scripts from being included in a page unexpectedly. That experimental option no longer exists and must be removed from your configuration, whether or not you enable <code>directRenderScript</code>:</p> <pre lang="diff"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; <p>export default defineConfig({ experimental: {</p> <ul> <li> <pre><code> optimizeHoistedScript: true, </code></pre> </li> </ul> <ul> <li> <pre><code> directRenderScript: true </code></pre> } }); </code></pre></li> </ul> <p>With <code>experimental.directRenderScript</code> configured, scripts are now directly rendered as declared in Astro files (including existing features like TypeScript, importing <code>node_modules</code>, and deduplicating scripts). You can also now conditionally render scripts in your Astro file.</p> <p>However, this means scripts are no longer hoisted to the <code>&lt;head&gt;</code> and multiple scripts on a page are no longer bundled together. If you enable this option, you should check that all your <code>&lt;script&gt;</code> tags behave as expected.</p> <p>This option will be enabled by default in Astro 5.0.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10130">#10130</a> <a href="https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d"><code>5a9528741fa98d017b269c7e4f013058028bdc5d</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Stabilizes <code>markdown.shikiConfig.experimentalThemes</code> as <code>markdown.shikiConfig.themes</code>. No behaviour changes are made to this option.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/10189">#10189</a> <a href="https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd"><code>1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd</code></a> Thanks <a href="https://github.com/peng"><code>@​peng</code></a>! - Adds the option to pass an object to <code>build.assetsPrefix</code>. This allows for the use of multiple CDN prefixes based on the target file type.</p> <p>When passing an object to <code>build.assetsPrefix</code>, you must also specify a <code>fallback</code> domain to be used for all other file types not specified.</p> <p>Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:</p> <pre lang="js"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; <p>export default defineConfig({ build: { assetsPrefix: { js: '<a href="https://js.cdn.example.com">https://js.cdn.example.com</a>', mjs: '<a href="https://js.cdn.example.com">https://js.cdn.example.com</a>', // if you have .mjs files, you must add a new entry like this png: '<a href="https://images.cdn.example.com">https://images.cdn.example.com</a>', </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/0e074fb39073909b0e507f79a9bd8d22b28f6036"><code>0e074fb</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10365">#10365</a>)</li> <li><a href="https://github.com/withastro/astro/commit/dfdf6b3a0b50e14754abdbcc62fd714f80bf0666"><code>dfdf6b3</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/dc87214141e7f8406c0fdf6a7f425dad6dea6d3e"><code>dc87214</code></a> feat: middleware and virtual routes (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10206">#10206</a>)</li> <li><a href="https://github.com/withastro/astro/commit/8107a2721b6abb07c3120ac90e03c39f2a44ab0c"><code>8107a27</code></a> Treeshake unused Astro scoped styles (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10291">#10291</a>)</li> <li><a href="https://github.com/withastro/astro/commit/3faa1b8fce2c05d3d5b5b8d532d337d6f06bc072"><code>3faa1b8</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/580d333f25e6e862da5b8713bf913c3015ee5f11"><code>580d333</code></a> [docs] update JSDoc for formatting in docs (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10372">#10372</a>)</li> <li><a href="https://github.com/withastro/astro/commit/78bafc5d661ff7dd071c241cb1303c4d8a774d21"><code>78bafc5</code></a> fix(tsconfigs): Add <code>jsx: 'preserve'</code> to the base template (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10368">#10368</a>)</li> <li><a href="https://github.com/withastro/astro/commit/b44f830a0ed2d6d41c29ddc98043558b241e4211"><code>b44f830</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd"><code>1ea0a25</code></a> Add multiple cdn v2 (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10189">#10189</a>)</li> <li><a href="https://github.com/withastro/astro/commit/e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7"><code>e3f02f5</code></a> Add <code>experimental.directRenderScript</code> option (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10102">#10102</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.5.0/packages/astro">compare view</a></li> </ul> </details> <br /> Updates `@matthiesenxyz/astro-gists` from 0.2.3 to 0.2.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/MatthiesenXYZ/astro-gists/releases"><code>@​matthiesenxyz/astro-gists</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​matthiesenxyz/astro-gists</code><a href="https://github.com/0"><code>@​0</code></a>.2.6</h2> <h3>Patch Changes</h3> <ul> <li>18e132f: patch for css</li> </ul> <h2><code>@​matthiesenxyz/astro-gists</code><a href="https://github.com/0"><code>@​0</code></a>.2.5</h2> <h3>Patch Changes</h3> <ul> <li>e500aeb: fix CSS issue with View Raw Button</li> </ul> <h2><code>@​matthiesenxyz/astro-gists</code><a href="https://github.com/0"><code>@​0</code></a>.2.4</h2> <h3>Patch Changes</h3> <ul> <li>a6696ed: Readds a basic version of the theme system for now</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MatthiesenXYZ/astro-gists/commit/2fc1307e57bf9ca89089d509d553579eeb4c2057"><code>2fc1307</code></a> 👷 [ci]: Ready for Release (<a href="https://redirect.github.com/MatthiesenXYZ/astro-gists/issues/43">#43</a>)</li> <li><a href="https://github.com/MatthiesenXYZ/astro-gists/commit/18e132f3769a413b2bb40299f22107dd7e5b83ef"><code>18e132f</code></a> fix: 🐛 patch css (<a href="https://redirect.github.com/MatthiesenXYZ/astro-gists/issues/42">#42</a>)</li> <li><a href="https://github.com/MatthiesenXYZ/astro-gists/commit/ac1c4ae9d998d5b67a22849de774cdfbba680846"><code>ac1c4ae</code></a> 👷 [ci]: Ready for Release (<a href="https://redirect.github.com/MatthiesenXYZ/astro-gists/issues/40">#40</a>)</li> <li><a href="https://github.com/MatthiesenXYZ/astro-gists/commit/e500aeb9af75060331416023f6c10147736ecf7f"><code>e500aeb</code></a> fix: 🐛 bug: fix view raw button (<a href="https://redirect.github.com/MatthiesenXYZ/astro-gists/issues/39">#39</a>)</li> <li><a href="https://github.com/MatthiesenXYZ/astro-gists/commit/545f18d6675af1673d9cbca2715348df1469423b"><code>545f18d</code></a> 👷 [ci]: Ready for Release (<a href="https://redirect.github.com/MatthiesenXYZ/astro-gists/issues/37">#37</a>)</li> <li><a href="https://github.com/MatthiesenXYZ/astro-gists/commit/a6696edac6e97f0ab29088ec31a09523f4572397"><code>a6696ed</code></a> fix: 🐛 Bug Fix: Theme System (<a href="https://redirect.github.com/MatthiesenXYZ/astro-gists/issues/36">#36</a>)</li> <li>See full diff in <a href="https://github.com/MatthiesenXYZ/astro-gists/compare/@matthiesenxyz/astro-gists@0.2.3...@matthiesenxyz/astro-gists@0.2.6">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>
    changeset-bot[bot] commented 2024-03-11 15:42:06 +00:00 (Migrated from github.com)

    🦋 Changeset detected

    Latest commit: ff46eb350d

    The changes in this PR will be included in the next version bump.

    This PR includes changesets to release 3 packages
    Name Type
    @matthiesenxyz/starlight-ghostcms Patch
    @matthiesenxyz/astro-ghostcms-rendercontent Patch
    @matthiesenxyz/astro-ghostcms Patch

    Not sure what this means? Click here to learn what changesets are.

    Click here if you're a maintainer who wants to add another changeset to this PR

    ### 🦋 Changeset detected Latest commit: ff46eb350db1080c0d4c67ceb46056d8075193ee **The changes in this PR will be included in the next version bump.** <details><summary>This PR includes changesets to release 3 packages</summary> | Name | Type | | ------------------------------------------- | ----- | | @matthiesenxyz/starlight-ghostcms | Patch | | @matthiesenxyz/astro-ghostcms-rendercontent | Patch | | @matthiesenxyz/astro-ghostcms | Patch | </details> Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/MatthiesenXYZ/astro-ghostcms/new/dependabot/npm_and_yarn/prod-dependencies-10c4d2b769?filename=.changeset/tender-birds-happen.md&value=---%0A%22%40matthiesenxyz%2Fastro-ghostcms-rendercontent%22%3A%20patch%0A%22%40matthiesenxyz%2Fastro-ghostcms%22%3A%20patch%0A%22%40matthiesenxyz%2Fstarlight-ghostcms%22%3A%20patch%0A%22astro-playground%22%3A%20patch%0A%22starlight-playground%22%3A%20patch%0A---%0A%0ABump%20the%20prod-dependencies%20group%20with%203%20updates%0A)
    Adammatthiesen commented 2024-03-11 15:45:19 +00:00 (Migrated from github.com)

    @dependabot recreate

    @dependabot recreate
    dependabot[bot] commented 2024-03-11 15:54:07 +00:00 (Migrated from github.com)

    Superseded by #107.

    Superseded by #107.

    Pull request closed

    Sign in to join this conversation.
    No description provided.