Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump astro from 4.14.6 to 4.16.1 in /docs #1634

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 8, 2024

Bumps astro from 4.14.6 to 4.16.1.

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

  • #12177 a4ffbfa Thanks @​matthewp! - Ensure we target scripts for execution in the router

    Using document.scripts is unsafe because if the application has a name="scripts" this will shadow the built-in document.scripts. Fix is to use getElementsByTagName to ensure we're only grabbing real scripts.

  • #12173 2d10de5 Thanks @​ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.

[email protected]

Minor Changes

  • #12039 710a1a1 Thanks @​ematipico! - Adds a markdown.shikiConfig.langAlias option that allows aliasing a non-supported code language to a known language. This is useful when the language of your code samples is not a built-in Shiki language, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.

    The following example configures Shiki to highlight cjs code blocks using the javascript syntax highlighter:

    import { defineConfig } from 'astro/config';
    export default defineConfig({
    markdown: {
    shikiConfig: {
    langAlias: {
    cjs: 'javascript',
    },
    },
    },
    });

    Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:

    ```cjs
    'use strict';
    function commonJs() {
    return 'I am a commonjs file';
    }
    </code></pre>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/11984">#11984</a> <a href="https://github.com/withastro/astro/commit/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>
    <p>Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient.</p>
    <p>Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded.</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&quot;&gt;astro's changelog</a>.</em></p>
    <blockquote>
    <h2>4.16.10</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12311&quot;&gt;#12311&lt;/a> <a href="https://github.com/withastro/astro/commit/bf2723e83140099914b29c6d51eb147a065be460&quot;&gt;&lt;code&gt;bf2723e&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/dinesh-58&quot;&gt;&lt;code&gt;@​dinesh-58&lt;/code&gt;&lt;/a>! - Adds <code>checked</code> to the list of boolean attributes.</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12363&quot;&gt;#12363&lt;/a> <a href="https://github.com/withastro/astro/commit/222f71894cc7118319ce83b3b29fa61a9dbebb75&quot;&gt;&lt;code&gt;222f718&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/Fryuni&quot;&gt;&lt;code&gt;@​Fryuni&lt;/code&gt;&lt;/a>! - Fixes code generated by <code>astro add</code> command when adding a version of an integration other than the default <code>latest</code>.</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12368&quot;&gt;#12368&lt;/a> <a href="https://github.com/withastro/astro/commit/493fe43cd3ef94b087b8958031ecc964ae73463b&quot;&gt;&lt;code&gt;493fe43&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/bluwy&quot;&gt;&lt;code&gt;@​bluwy&lt;/code&gt;&lt;/a>! - Improves error logs when executing commands</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12355&quot;&gt;#12355&lt;/a> <a href="https://github.com/withastro/astro/commit/c4726d7ba8cc93157390ce64d5c8b718ed5cac29&quot;&gt;&lt;code&gt;c4726d7&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/apatel369&quot;&gt;&lt;code&gt;@​apatel369&lt;/code&gt;&lt;/a>! - Improves error reporting for invalid frontmatter in MDX files during the <code>astro build</code> command. The error message now includes the file path where the frontmatter parsing failed.</p>
    </li>
    </ul>
    <h2>4.16.9</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12333&quot;&gt;#12333&lt;/a> <a href="https://github.com/withastro/astro/commit/836cd91c37cea8ae58dd04a326435fcb2c88f358&quot;&gt;&lt;code&gt;836cd91&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/imattacus&quot;&gt;&lt;code&gt;@​imattacus&lt;/code&gt;&lt;/a>! - Destroy the server response stream if async error is thrown</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12358&quot;&gt;#12358&lt;/a> <a href="https://github.com/withastro/astro/commit/76803498738f9e86e7948ce81e01e63607e03549&quot;&gt;&lt;code&gt;7680349&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/spacedawwwg&quot;&gt;&lt;code&gt;@​spacedawwwg&lt;/code&gt;&lt;/a>! - Honors <code>inlineAstroConfig</code> parameter in <code>getViteConfig</code> when creating a logger</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12353&quot;&gt;#12353&lt;/a> <a href="https://github.com/withastro/astro/commit/35795a1a54b2bfaf331c58ca91b47e5672e08c4e&quot;&gt;&lt;code&gt;35795a1&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/hippotastic&quot;&gt;&lt;code&gt;@​hippotastic&lt;/code&gt;&lt;/a>! - Fixes an issue in dev server watch file handling that could cause multiple restarts for a single file change.</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12351&quot;&gt;#12351&lt;/a> <a href="https://github.com/withastro/astro/commit/57514881655b62a0bc39ace1e1ed4b89b96f74ca&quot;&gt;&lt;code&gt;5751488&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/florian-lefebvre&quot;&gt;&lt;code&gt;@​florian-lefebvre&lt;/code&gt;&lt;/a>! - Reverts a change made in <code>4.16.6</code> that prevented usage of <code>astro:env</code> secrets inside middleware in SSR</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12346&quot;&gt;#12346&lt;/a> <a href="https://github.com/withastro/astro/commit/20e5a843c86e9328814615edf3e8a6fb5e4696cc&quot;&gt;&lt;code&gt;20e5a84&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/bluwy&quot;&gt;&lt;code&gt;@​bluwy&lt;/code&gt;&lt;/a>! - Fixes sourcemap generation when prefetch is enabled</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12349&quot;&gt;#12349&lt;/a> <a href="https://github.com/withastro/astro/commit/1fc83d3ba8315c31b2a3aadc77b20b1615d261a0&quot;&gt;&lt;code&gt;1fc83d3&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/norskeld&quot;&gt;&lt;code&gt;@​norskeld&lt;/code&gt;&lt;/a>! - Fixes the <code>getImage</code> options type so it properly extends <code>ImageTransform</code></p>
    </li>
    </ul>
    <h2>4.16.8</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12338&quot;&gt;#12338&lt;/a> <a href="https://github.com/withastro/astro/commit/9ca89b3e13d47e146989cfabb916d6599d140f03&quot;&gt;&lt;code&gt;9ca89b3&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/situ2001&quot;&gt;&lt;code&gt;@​situ2001&lt;/code&gt;&lt;/a>! - Resets <code>NODE_ENV</code> to ensure install command run in dev mode</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12286&quot;&gt;#12286&lt;/a> <a href="https://github.com/withastro/astro/commit/9d6bcdb88fcb9df0c5c70e2b591bcf962ce55f63&quot;&gt;&lt;code&gt;9d6bcdb&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/florian-lefebvre&quot;&gt;&lt;code&gt;@​florian-lefebvre&lt;/code&gt;&lt;/a>! - Fixes a case where a warning for experimental <code>astro:env</code> support would be shown when using an adapter but not actually using <code>astro:env</code></p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12342&quot;&gt;#12342&lt;/a> <a href="https://github.com/withastro/astro/commit/ffc836bac0cdea684ea91f958ac8298d4ee4b07d&quot;&gt;&lt;code&gt;ffc836b&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/liruifengv&quot;&gt;&lt;code&gt;@​liruifengv&lt;/code&gt;&lt;/a>! - Fixes a typo in the command name of the CLI</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12301&quot;&gt;#12301&lt;/a> <a href="https://github.com/withastro/astro/commit/0cfc69d499815d4e1f1dc37cf32653195586087a&quot;&gt;&lt;code&gt;0cfc69d&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/apatel369&quot;&gt;&lt;code&gt;@​apatel369&lt;/code&gt;&lt;/a>! - Fixes an issue with action handler context by passing the correct context (<code>ActionAPIContext</code>).</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12312&quot;&gt;#12312&lt;/a> <a href="https://github.com/withastro/astro/commit/5642ef9029890fc29793c160321f78f62cdaafcb&quot;&gt;&lt;code&gt;5642ef9&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/koyopro&quot;&gt;&lt;code&gt;@​koyopro&lt;/code&gt;&lt;/a>! - Fixes an issue where using <code>getViteConfig()</code> returns incorrect and duplicate configuration</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12245&quot;&gt;#12245&lt;/a> <a href="https://github.com/withastro/astro/commit/1d4f6a4989bc1cfd7109b1bff41503f115660e02&quot;&gt;&lt;code&gt;1d4f6a4&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/bmenant&quot;&gt;&lt;code&gt;@​bmenant&lt;/code&gt;&lt;/a>! - Add <code>components</code> property to MDXInstance type definition (RenderResult and module import)</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12340&quot;&gt;#12340&lt;/a> <a href="https://github.com/withastro/astro/commit/94eaeea1c437402ffc44103126b355adab4b8a01&quot;&gt;&lt;code&gt;94eaeea&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/ematipico&quot;&gt;&lt;code&gt;@​ematipico&lt;/code&gt;&lt;/a>! - Fixes an issue where Astro actions didn't work when <code>base</code> was different from <code>/</code></p>
    </li>
    </ul>
    <h2>4.16.7</h2>
    <h3>Patch Changes</h3>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/withastro/astro/commit/c73d65d7f76617cf5275203fd918887cbda01baf&quot;&gt;&lt;code&gt;c73d65d&lt;/code&gt;&lt;/a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12178&quot;&gt;#12178&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/650dd22a7bce084c66a9a0f96f2d4e4500807641&quot;&gt;&lt;code&gt;650dd22&lt;/code&gt;&lt;/a> Fix VT video test fail in firefox (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12188&quot;&gt;#12188&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/58e22bd042f9a67c2167605bc7ee45538f1b4921&quot;&gt;&lt;code&gt;58e22bd&lt;/code&gt;&lt;/a> [ci] format</li>
    <li><a href="https://github.com/withastro/astro/commit/2d10de5f212323e6e19c7ea379826dcc18fe739c&quot;&gt;&lt;code&gt;2d10de5&lt;/code&gt;&lt;/a> fix(routing): actions should redirect the original pathname (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12173&quot;&gt;#12173&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e&quot;&gt;&lt;code&gt;a4ffbfa&lt;/code&gt;&lt;/a> Ensure router only targets scripts for execution (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12177&quot;&gt;#12177&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/2f5b28e93851f39708d0d683832c70730b40afe9&quot;&gt;&lt;code&gt;2f5b28e&lt;/code&gt;&lt;/a> Use p-queue instead of fastq (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12189&quot;&gt;#12189&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/1f93fca1d36734bc0abc227214cf8d96eba513cd&quot;&gt;&lt;code&gt;1f93fca&lt;/code&gt;&lt;/a> Fix biome lint warning (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12187&quot;&gt;#12187&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/582f12e1f6f99b54865a0b24d804ee0924f4ef55&quot;&gt;&lt;code&gt;582f12e&lt;/code&gt;&lt;/a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12148&quot;&gt;#12148&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/b9e8e96354019c21c8b73585bea74b84b9b092ee&quot;&gt;&lt;code&gt;b9e8e96&lt;/code&gt;&lt;/a> add info about content intellisense (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12164&quot;&gt;#12164&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/c6fd1df695d0f2a24bb49e6954064f92664ccf67&quot;&gt;&lt;code&gt;c6fd1df&lt;/code&gt;&lt;/a> Fix mts reloads (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12160&quot;&gt;#12160&lt;/a&gt;)&lt;/li>
    <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/[email protected]/packages/astro&quot;&gt;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 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
    

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 8, 2024
Copy link

github-actions bot commented Nov 8, 2024

Hi @dependabot[bot]! 👋
Thank you for submitting a pull request! We appreciate your contribution and will review your changes as soon as possible.

Copy link

codacy-production bot commented Nov 20, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (287ed0c) 9620 9620 100.00%
Head commit (e37f540) 9620 (+0) 9620 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1634) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

Copy link

Quality Gate Passed Quality Gate passed for 'au-heartbeat-heartbeat-frontend'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant