Skip to content

Commit 3e4eca5

Browse files
fix(deps-dev): bump prettier-plugin-astro from 1.0.0 to 1.1.1 (#371)
Bumps [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro) from 1.0.0 to 1.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/prettier-plugin-astro/releases">prettier-plugin-astro's releases</a>.</em></p> <blockquote> <h2>v1.1.1</h2> <h3>Patch Changes</h3> <ul> <li>ee01a5d: Fixes a <code>TypeError</code> (&quot;Cannot read properties of undefined (reading 'semi')&quot;) when a comment appears before a statement inside a template expression.</li> </ul> <h2>v1.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>bfbb6c5: Adds support for three <code>astroAllowShorthand</code> formatting modes:</p> <ul> <li>When unset / <code>undefined</code>, the attributes stay as written, i.e <code>&lt;Comp value={value} /&gt;</code> and <code>&lt;Comp {value} /&gt;</code> can co-exist in the same file.</li> <li>When set to <code>true</code>, attributes that can be written in the shorthand form will automatically be transformed. <code>&lt;Comp value={value} /&gt;</code> will become <code>&lt;Comp {value} /&gt;</code></li> <li>When set to <code>false</code>, attributes will always be expanded to their full form.</li> </ul> </li> </ul> <h3>Patch Changes</h3> <ul> <li>4b3547e: Fix non-idempotent indentation of multiline comments nested inside CSS rules.</li> <li>edfb35f: Fixes raw elements being forcefully paired up when self-closed.</li> </ul> <h2>v1.0.1</h2> <h3>Patch Changes</h3> <ul> <li>5b5a735: Publish TypeScript declarations for Astro plugin options.</li> <li>6154471: Fixes an error when a JavaScript comment appears before a raw or custom-printed element, such as a <code>&lt;script&gt;</code> in the alternate branch of a conditional expression.</li> <li>fabb28f: Fix non-idempotent CSS <code>&lt;style&gt;</code> block formatting with <code>astroCompressHTML</code> set to <code>'html'</code> or <code>'none'</code>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/prettier-plugin-astro/blob/main/CHANGELOG.md">prettier-plugin-astro's changelog</a>.</em></p> <blockquote> <h2>1.1.1</h2> <h3>Patch Changes</h3> <ul> <li>ee01a5d: Fixes a <code>TypeError</code> (&quot;Cannot read properties of undefined (reading 'semi')&quot;) when a comment appears before a statement inside a template expression.</li> </ul> <h2>1.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>bfbb6c5: Adds support for three <code>astroAllowShorthand</code> formatting modes:</p> <ul> <li>When unset / <code>undefined</code>, the attributes stay as written, i.e <code>&lt;Comp value={value} /&gt;</code> and <code>&lt;Comp {value} /&gt;</code> can co-exist in the same file.</li> <li>When set to <code>true</code>, attributes that can be written in the shorthand form will automatically be transformed. <code>&lt;Comp value={value} /&gt;</code> will become <code>&lt;Comp {value} /&gt;</code></li> <li>When set to <code>false</code>, attributes will always be expanded to their full form.</li> </ul> </li> </ul> <h3>Patch Changes</h3> <ul> <li>4b3547e: Fix non-idempotent indentation of multiline comments nested inside CSS rules.</li> <li>edfb35f: Fixes raw elements being forcefully paired up when self-closed.</li> </ul> <h2>1.0.1</h2> <h3>Patch Changes</h3> <ul> <li>5b5a735: Publish TypeScript declarations for Astro plugin options.</li> <li>6154471: Fixes an error when a JavaScript comment appears before a raw or custom-printed element, such as a <code>&lt;script&gt;</code> in the alternate branch of a conditional expression.</li> <li>fabb28f: Fix non-idempotent CSS <code>&lt;style&gt;</code> block formatting with <code>astroCompressHTML</code> set to <code>'html'</code> or <code>'none'</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/27ad3ef4d93afb548abf260002a3e25c594f9ef0"><code>27ad3ef</code></a> Version Packages (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/495">#495</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/ee01a5da1fdc10f490720dfed069851d8f95298b"><code>ee01a5d</code></a> fix: Pass options to estree willPrintOwnComments (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/494">#494</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/12c5a89d63227c7992f63a1d4e5ad08baecbf705"><code>12c5a89</code></a> Version Packages (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/491">#491</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/bfbb6c526dc089a518ea6aa9304824ee619cfb24"><code>bfbb6c5</code></a> fix: make astroAllowShorthand more intuitive (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/493">#493</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/edfb35fef6f8faf58ecb57b1e16f65ccf9ef3000"><code>edfb35f</code></a> fix: prevent self-closed raw elements from being forcefully paired (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/490">#490</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/4b3547eeb17a70721b714776ad7cc54e3f113dcd"><code>4b3547e</code></a> fix: preserve multiline CSS comment indentation (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/488">#488</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/9b339ef6e143f16ddfdec302443aa4130b2242ad"><code>9b339ef</code></a> Version Packages (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/485">#485</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/fabb28f2719342fe9c539851334b93d8e9f47563"><code>fabb28f</code></a> fix: make compressed style formatting idempotent (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/482">#482</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/5b5a735603c386b66857324f10b828eb223ceaf2"><code>5b5a735</code></a> fix(types): publish plugin option types (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/486">#486</a>)</li> <li><a href="https://github.com/withastro/prettier-plugin-astro/commit/615447148f6bc3f8a1e06b7e6855d523be31ceb6"><code>6154471</code></a> fix(printer): preserve comments before raw elements (<a href="https://redirect.github.com/withastro/prettier-plugin-astro/issues/484">#484</a>)</li> <li>See full diff in <a href="https://github.com/withastro/prettier-plugin-astro/compare/v1.0.0...v1.1.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ac97f78 commit 3e4eca5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎package-lock.json‎

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

0 commit comments

Comments
 (0)