Commit 489578b
authored
chore(deps-dev): bump @trivago/prettier-plugin-sort-imports from 5.2.2 to 6.0.0 (#203)
Bumps
[@trivago/prettier-plugin-sort-imports](https://github.com/trivago/prettier-plugin-sort-imports)
from 5.2.2 to 6.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/trivago/prettier-plugin-sort-imports/releases"><code>@trivago/prettier-plugin-sort-imports</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update packages and pin babel/types by <a
href="https://github.com/byara"><code>@byara</code></a> in <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/343">trivago/prettier-plugin-sort-imports#343</a></li>
<li>V6 by <a href="https://github.com/byara"><code>@byara</code></a>
and <a
href="https://github.com/vladislavarsenev"><code>@vladislavarsenev</code></a>
in <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/385">trivago/prettier-plugin-sort-imports#385</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/trivago/prettier-plugin-sort-imports/compare/v5.2.2...v6.0.0">https://github.com/trivago/prettier-plugin-sort-imports/compare/v5.2.2...v6.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/trivago/prettier-plugin-sort-imports/blob/main/CHANGELOG.md"><code>@trivago/prettier-plugin-sort-imports</code>'s
changelog</a>.</em></p>
<blockquote>
<h3>6.0.0</h3>
<h4>Breaking Changes</h4>
<ul>
<li><strong>Switch to ESM</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/366">#366</a>
by <a
href="https://github.com/RobbieTheWagner"><code>@RobbieTheWagner</code></a>
- The plugin now uses ES modules instead of CommonJS</li>
<li><strong>Require Node >= 20.x</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/367">#367</a>
by <a
href="https://github.com/RobbieTheWagner"><code>@RobbieTheWagner</code></a>
- Drop support for Node.js versions below 20</li>
<li><strong>Switch to vitest</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/370">#370</a>
by <a
href="https://github.com/RobbieTheWagner"><code>@RobbieTheWagner</code></a>
- Replaced Jest with Vitest for better ESM support</li>
</ul>
<h4>New features</h4>
<ul>
<li><strong>Ember.js gjs/gts support</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/377">#377</a>
by <a
href="https://github.com/NullVoxPopuli"><code>@NullVoxPopuli</code></a>
and <a
href="https://github.com/RobbieTheWagner"><code>@RobbieTheWagner</code></a>
- Add support for Ember.js gjs/gts file formats with namespace and named
type imports</li>
<li><strong><code><BUILTIN_MODULES></code> placeholder</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/381">#381</a>
by <a href="https://github.com/sdotson"><code>@sdotson</code></a> - Add
support for sorting Node.js builtin modules to a specific position using
<code><BUILTIN_MODULES></code> placeholder in
<code>importOrder</code></li>
<li><strong><code><SEPARATOR></code> placeholder</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/339">#339</a>
- Add <code><SEPARATOR></code> keyword for fine-grained control
over import group separation when <code>importOrderSeparation</code> is
enabled</li>
<li><strong>Sort by length option</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/224">#224</a>
by <a href="https://github.com/KLewin23"><code>@KLewin23</code></a> -
Add option to sort imports by import statement length</li>
<li><strong><code>importOrderExclude</code> option</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/384">#384</a>
by <a
href="https://github.com/RyderKishan"><code>@RyderKishan</code></a> -
Add support for excluding specific files from import sorting using glob
patterns</li>
<li><strong>Expand <code>sort-imports-ignore</code> detection</strong>
<a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/358">#358</a>
by <a href="https://github.com/ckwalsh"><code>@ckwalsh</code></a> -
Improved detection of <code>sort-imports-ignore</code> comments
throughout the file, not just at line 1</li>
</ul>
<h4>Performance improvements</h4>
<ul>
<li><strong>Improve <code>removeNodesFromOriginalCode()</code>
performance</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/356">#356</a>
by <a href="https://github.com/ckwalsh"><code>@ckwalsh</code></a> -
Replace RegExp logic with string slices for better performance</li>
</ul>
<h4>Refactoring</h4>
<ul>
<li><strong>Stop rerendering directives</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/357">#357</a>
by <a href="https://github.com/ckwalsh"><code>@ckwalsh</code></a> -
Inject imports instead of re-rendering directives to better preserve
whitespace and reduce formatting conflicts</li>
<li><strong>Stop ignoring exceptions in snapshot tests</strong> <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/355">#355</a>
by <a href="https://github.com/ckwalsh"><code>@ckwalsh</code></a> -
Improve test reliability by properly handling exceptions</li>
</ul>
<h4>Chores</h4>
<ul>
<li>Add pnpm install command to README <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/361">#361</a>
- Document pnpm installation option</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/48863194ec046d378678f855df4b17847a52f688"><code>4886319</code></a>
6.0.0</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/d9b0a89de3b093249f56979cee64a8bb0f98e6d6"><code>d9b0a89</code></a>
Merge pull request <a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/issues/386">#386</a>
from trivago/chores</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/e2d360fe131cc3f8d635fa7fa5f920f537e623a4"><code>e2d360f</code></a>
update lockfile</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/c42a081c45934daae541f1fde71984905acf0204"><code>c42a081</code></a>
V6 (<a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/issues/385">#385</a>)</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/f7b685c768f1a09a8dc64de77def897856d9e357"><code>f7b685c</code></a>
Update README.md</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/12b22911e643f2161598932cd91cd0c1e924047e"><code>12b2291</code></a>
Update README.md</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/875470a70abf443f1a5e3e54d1c943831d310680"><code>875470a</code></a>
Merge branch 'main' of
github.com:trivago/prettier-plugin-sort-imports</li>
<li><a
href="https://github.com/trivago/prettier-plugin-sort-imports/commit/509c5a7209b338b6d0d24547a6f4e3af48cb0aed"><code>509c5a7</code></a>
Update packages and pin babel/types (<a
href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/issues/343">#343</a>)</li>
<li>See full diff in <a
href="https://github.com/trivago/prettier-plugin-sort-imports/compare/v5.2.2...v6.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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 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)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 61e92cc commit 489578b
2 files changed
+29
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
1984 | 1984 | | |
1985 | 1985 | | |
1986 | 1986 | | |
1987 | | - | |
1988 | | - | |
1989 | | - | |
1990 | | - | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
1991 | 1991 | | |
1992 | | - | |
1993 | | - | |
1994 | | - | |
1995 | | - | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
1996 | 1996 | | |
1997 | | - | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
1998 | 2000 | | |
1999 | 2001 | | |
2000 | 2002 | | |
| |||
5693 | 5695 | | |
5694 | 5696 | | |
5695 | 5697 | | |
5696 | | - | |
5697 | | - | |
5698 | | - | |
5699 | | - | |
5700 | | - | |
5701 | 5698 | | |
5702 | 5699 | | |
5703 | 5700 | | |
| |||
6178 | 6175 | | |
6179 | 6176 | | |
6180 | 6177 | | |
6181 | | - | |
| 6178 | + | |
6182 | 6179 | | |
6183 | 6180 | | |
6184 | 6181 | | |
| |||
6738 | 6735 | | |
6739 | 6736 | | |
6740 | 6737 | | |
| 6738 | + | |
| 6739 | + | |
| 6740 | + | |
| 6741 | + | |
| 6742 | + | |
| 6743 | + | |
| 6744 | + | |
6741 | 6745 | | |
6742 | 6746 | | |
6743 | 6747 | | |
| |||
6770 | 6774 | | |
6771 | 6775 | | |
6772 | 6776 | | |
| 6777 | + | |
| 6778 | + | |
| 6779 | + | |
| 6780 | + | |
| 6781 | + | |
6773 | 6782 | | |
6774 | 6783 | | |
6775 | 6784 | | |
| |||
0 commit comments