Skip to content

Commit 57b366f

Browse files
Bump the npm_and_yarn group across 1 directory with 2 updates (#647)
Bumps the npm_and_yarn group with 2 updates in the /docs directory: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [glob](https://github.com/isaacs/node-glob). Updates `astro` from 5.15.6 to 5.16.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@5.16.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13880">#13880</a> <a href="https://github.com/withastro/astro/commit/1a2ed01c92fe93843046396a2c854514747f4df8"><code>1a2ed01</code></a> Thanks <a href="https://github.com/azat-io"><code>@​azat-io</code></a>! - Adds experimental SVGO optimization support for SVG assets</p> <p>Astro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.</p> <p>To enable SVG optimization with default settings, add the following to your <code>astro.config.mjs</code>:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; <p>export default defineConfig({ experimental: { svgo: true, }, }); </code></pre></p> <p>To customize optimization, pass a <a href="https://svgo.dev/docs/plugins/">SVGO configuration object</a>:</p> <pre lang="js"><code>export default defineConfig({ experimental: { svgo: { plugins: [ 'preset-default', { name: 'removeViewBox', active: false, }, ], }, }, }); </code></pre> <p>For more information on enabling and using this feature in your project, see the <a href="https://docs.astro.build/en/reference/experimental-flags/svg-optimization/">experimental SVG optimization docs</a>.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14810">#14810</a> <a href="https://github.com/withastro/astro/commit/2e845fe56de45c710d282ed36f92978612810b79"><code>2e845fe</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Adds a hint for code agents to use the <code>--yes</code> flag to skip prompts when running <code>astro add</code></p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14698">#14698</a> <a href="https://github.com/withastro/astro/commit/f42ff9bd5b4c8d3e67247ee6e21f14cd2062c037"><code>f42ff9b</code></a> Thanks <a href="https://github.com/mauriciabad"><code>@​mauriciabad</code></a>! - Adds the <code>ActionInputSchema</code> utility type to automatically infer the TypeScript type of an action's input based on its Zod schema</p> <p>For example, this type can be used to retrieve the input type of a form action:</p> <pre lang="ts"><code>import { type ActionInputSchema, defineAction } from 'astro:actions'; import { z } from 'astro/zod'; <p>const action = defineAction({ </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>5.16.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13880">#13880</a> <a href="https://github.com/withastro/astro/commit/1a2ed01c92fe93843046396a2c854514747f4df8"><code>1a2ed01</code></a> Thanks <a href="https://github.com/azat-io"><code>@​azat-io</code></a>! - Adds experimental SVGO optimization support for SVG assets</p> <p>Astro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.</p> <p>To enable SVG optimization with default settings, add the following to your <code>astro.config.mjs</code>:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; <p>export default defineConfig({ experimental: { svgo: true, }, }); </code></pre></p> <p>To customize optimization, pass a <a href="https://svgo.dev/docs/plugins/">SVGO configuration object</a>:</p> <pre lang="js"><code>export default defineConfig({ experimental: { svgo: { plugins: [ 'preset-default', { name: 'removeViewBox', active: false, }, ], }, }, }); </code></pre> <p>For more information on enabling and using this feature in your project, see the <a href="https://docs.astro.build/en/reference/experimental-flags/svg-optimization/">experimental SVG optimization docs</a>.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14810">#14810</a> <a href="https://github.com/withastro/astro/commit/2e845fe56de45c710d282ed36f92978612810b79"><code>2e845fe</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Adds a hint for code agents to use the <code>--yes</code> flag to skip prompts when running <code>astro add</code></p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14698">#14698</a> <a href="https://github.com/withastro/astro/commit/f42ff9bd5b4c8d3e67247ee6e21f14cd2062c037"><code>f42ff9b</code></a> Thanks <a href="https://github.com/mauriciabad"><code>@​mauriciabad</code></a>! - Adds the <code>ActionInputSchema</code> utility type to automatically infer the TypeScript type of an action's input based on its Zod schema</p> <p>For example, this type can be used to retrieve the input type of a form action:</p> <pre lang="ts"><code>import { type ActionInputSchema, defineAction } from 'astro:actions'; import { z } from 'astro/zod'; <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/e8786795fc462374d44917dd8eb6effcd6939257"><code>e878679</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14808">#14808</a>)</li> <li><a href="https://github.com/withastro/astro/commit/78ed8b5b1feb783ba65b92913f27fb8ab166b01d"><code>78ed8b5</code></a> refactor(fonts): match cli structure (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14806">#14806</a>)</li> <li><a href="https://github.com/withastro/astro/commit/1a2ed01c92fe93843046396a2c854514747f4df8"><code>1a2ed01</code></a> feat: add SVGO optimization support for SVG assets (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13880">#13880</a>)</li> <li><a href="https://github.com/withastro/astro/commit/30305563dd7fce95cbf4b7f77a3a788483449904"><code>3030556</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/e1dd377398a3dcf6ba0697dc8d4bde6d77a45700"><code>e1dd377</code></a> fix: remove picocolors (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14813">#14813</a>)</li> <li><a href="https://github.com/withastro/astro/commit/4356485b0f708c7abf93207105ddcb890a466729"><code>4356485</code></a> feat(cli): Add preview shortcuts (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14574">#14574</a>)</li> <li><a href="https://github.com/withastro/astro/commit/2e845fe56de45c710d282ed36f92978612810b79"><code>2e845fe</code></a> feat: add hint about astro add --yes flag (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14810">#14810</a>)</li> <li><a href="https://github.com/withastro/astro/commit/f42ff9bd5b4c8d3e67247ee6e21f14cd2062c037"><code>f42ff9b</code></a> feat: Add <code>ActionInputSchema</code> utility type (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14698">#14698</a>)</li> <li><a href="https://github.com/withastro/astro/commit/c29a785d57f08c5526828379d748f788797d9c39"><code>c29a785</code></a> feat(fonts)!: update default subsets (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14796">#14796</a>)</li> <li><a href="https://github.com/withastro/astro/commit/ca359f213b8d4fda4db484966f6cb99f1a65caa6"><code>ca359f2</code></a> [ci] format</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@5.16.0/packages/astro">compare view</a></li> </ul> </details> <br /> Updates `glob` from 10.4.5 to 10.5.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/isaacs/node-glob/commit/56774ef73b495eb0b17cdd0f42921f5ef62297c1"><code>56774ef</code></a> 10.5.0</li> <li><a href="https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f"><code>1e4e297</code></a> bin: Do not expose filenames to shell expansion</li> <li>See full diff in <a href="https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0">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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/pnp/vscode-viva/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fafe9bd commit 57b366f

File tree

2 files changed

+201
-32
lines changed

2 files changed

+201
-32
lines changed

docs/package-lock.json

Lines changed: 200 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@astrojs/starlight": "^0.34.0",
1515
"@astrojs/starlight-tailwind": "^2.0.3",
1616
"@astrojs/tailwind": "^5.1.2",
17-
"astro": "^5.15.6",
17+
"astro": "^5.16.0",
1818
"sharp": "^0.32.5",
1919
"tailwindcss": "^3.4.17"
2020
}

0 commit comments

Comments
 (0)