Skip to content

Commit 489578b

Browse files
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 &gt;= 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>&lt;BUILTIN_MODULES&gt;</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>&lt;BUILTIN_MODULES&gt;</code> placeholder in <code>importOrder</code></li> <li><strong><code>&lt;SEPARATOR&gt;</code> placeholder</strong> <a href="https://redirect.github.com/trivago/prettier-plugin-sort-imports/pull/339">#339</a> - Add <code>&lt;SEPARATOR&gt;</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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@trivago/prettier-plugin-sort-imports&package-manager=npm_and_yarn&previous-version=5.2.2&new-version=6.0.0)](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

File tree

2 files changed

+29
-20
lines changed

2 files changed

+29
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
},
6363
"devDependencies": {
6464
"@eslint/js": "^9.25.0",
65-
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
65+
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
6666
"@types/geojson": "^7946.0.16",
6767
"@types/react": "^19.2.7",
6868
"@types/react-dom": "^19.1.2",

yarn.lock

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
json5 "^2.2.3"
135135
semver "^6.3.1"
136136

137-
"@babel/generator@^7.26.5", "@babel/generator@^7.28.5":
137+
"@babel/generator@^7.28.0", "@babel/generator@^7.28.5":
138138
version "7.28.5"
139139
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.5.tgz#712722d5e50f44d07bc7ac9fe84438742dd61298"
140140
integrity sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==
@@ -206,7 +206,7 @@
206206
"@babel/template" "^7.27.2"
207207
"@babel/types" "^7.28.4"
208208

209-
"@babel/parser@^7.1.0", "@babel/parser@^7.20.7", "@babel/parser@^7.26.7", "@babel/parser@^7.27.2", "@babel/parser@^7.28.5":
209+
"@babel/parser@^7.1.0", "@babel/parser@^7.20.7", "@babel/parser@^7.27.2", "@babel/parser@^7.28.0", "@babel/parser@^7.28.5":
210210
version "7.28.5"
211211
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.5.tgz#0b0225ee90362f030efd644e8034c99468893b08"
212212
integrity sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==
@@ -241,7 +241,7 @@
241241
"@babel/parser" "^7.27.2"
242242
"@babel/types" "^7.27.1"
243243

244-
"@babel/traverse@^7.26.7", "@babel/traverse@^7.27.1", "@babel/traverse@^7.28.3", "@babel/traverse@^7.28.5":
244+
"@babel/traverse@^7.27.1", "@babel/traverse@^7.28.0", "@babel/traverse@^7.28.3", "@babel/traverse@^7.28.5":
245245
version "7.28.5"
246246
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.28.5.tgz#450cab9135d21a7a2ca9d2d35aa05c20e68c360b"
247247
integrity sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==
@@ -254,7 +254,7 @@
254254
"@babel/types" "^7.28.5"
255255
debug "^4.3.1"
256256

257-
"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.26.7", "@babel/types@^7.27.1", "@babel/types@^7.28.2", "@babel/types@^7.28.4", "@babel/types@^7.28.5":
257+
"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.27.1", "@babel/types@^7.28.0", "@babel/types@^7.28.2", "@babel/types@^7.28.4", "@babel/types@^7.28.5":
258258
version "7.28.5"
259259
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.5.tgz#10fc405f60897c35f07e85493c932c7b5ca0592b"
260260
integrity sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==
@@ -1984,17 +1984,19 @@
19841984
dependencies:
19851985
"@tanstack/query-core" "5.90.10"
19861986

1987-
"@trivago/prettier-plugin-sort-imports@^5.2.2":
1988-
version "5.2.2"
1989-
resolved "https://registry.yarnpkg.com/@trivago/prettier-plugin-sort-imports/-/prettier-plugin-sort-imports-5.2.2.tgz#38983f0b83490a0a7d974a6f1e409fb4bf678d02"
1990-
integrity sha512-fYDQA9e6yTNmA13TLVSA+WMQRc5Bn/c0EUBditUHNfMMxN7M82c38b1kEggVE3pLpZ0FwkwJkUEKMiOi52JXFA==
1987+
"@trivago/prettier-plugin-sort-imports@^6.0.0":
1988+
version "6.0.0"
1989+
resolved "https://registry.yarnpkg.com/@trivago/prettier-plugin-sort-imports/-/prettier-plugin-sort-imports-6.0.0.tgz#179dd4da55c6d055d76624bfe8b8be78ecddf014"
1990+
integrity sha512-Xarx55ow0R8oC7ViL5fPmDsg1EBa1dVhyZFVbFXNtPPJyW2w9bJADIla8YFSaNG9N06XfcklA9O9vmw4noNxkQ==
19911991
dependencies:
1992-
"@babel/generator" "^7.26.5"
1993-
"@babel/parser" "^7.26.7"
1994-
"@babel/traverse" "^7.26.7"
1995-
"@babel/types" "^7.26.7"
1992+
"@babel/generator" "^7.28.0"
1993+
"@babel/parser" "^7.28.0"
1994+
"@babel/traverse" "^7.28.0"
1995+
"@babel/types" "^7.28.0"
19961996
javascript-natural-sort "^0.7.1"
1997-
lodash "^4.17.21"
1997+
lodash-es "^4.17.21"
1998+
minimatch "^9.0.0"
1999+
parse-imports-exports "^0.2.4"
19982000

19992001
"@tufjs/canonical-json@2.0.0":
20002002
version "2.0.0"
@@ -5693,11 +5695,6 @@ lodash.uniqby@^4.7.0:
56935695
resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302"
56945696
integrity sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==
56955697

5696-
lodash@^4.17.21:
5697-
version "4.17.21"
5698-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
5699-
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
5700-
57015698
long@^3.2.0:
57025699
version "3.2.0"
57035700
resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b"
@@ -6178,7 +6175,7 @@ minimatch@^3.1.2:
61786175
dependencies:
61796176
brace-expansion "^1.1.7"
61806177

6181-
minimatch@^9.0.4, minimatch@^9.0.5:
6178+
minimatch@^9.0.0, minimatch@^9.0.4, minimatch@^9.0.5:
61826179
version "9.0.5"
61836180
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
61846181
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
@@ -6738,6 +6735,13 @@ parse-entities@^4.0.0:
67386735
is-decimal "^2.0.0"
67396736
is-hexadecimal "^2.0.0"
67406737

6738+
parse-imports-exports@^0.2.4:
6739+
version "0.2.4"
6740+
resolved "https://registry.yarnpkg.com/parse-imports-exports/-/parse-imports-exports-0.2.4.tgz#e3fb3b5e264cfb55c25b5dfcbe7f410f8dc4e7af"
6741+
integrity sha512-4s6vd6dx1AotCx/RCI2m7t7GCh5bDRUtGNvRfHSP2wbBQdMi67pPe7mtzmgwcaQ8VKK/6IB7Glfyu3qdZJPybQ==
6742+
dependencies:
6743+
parse-statements "1.0.11"
6744+
67416745
parse-json@^4.0.0:
67426746
version "4.0.0"
67436747
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
@@ -6770,6 +6774,11 @@ parse-ms@^4.0.0:
67706774
resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-4.0.0.tgz#c0c058edd47c2a590151a718990533fd62803df4"
67716775
integrity sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==
67726776

6777+
parse-statements@1.0.11:
6778+
version "1.0.11"
6779+
resolved "https://registry.yarnpkg.com/parse-statements/-/parse-statements-1.0.11.tgz#8787c5d383ae5746568571614be72b0689584344"
6780+
integrity sha512-HlsyYdMBnbPQ9Jr/VgJ1YF4scnldvJpJxCVx6KgqPL4dxppsWrJHCIIxQXMJrqGnsRkNPATbeMJ8Yxu7JMsYcA==
6781+
67736782
parse5-htmlparser2-tree-adapter@^6.0.0:
67746783
version "6.0.1"
67756784
resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6"

0 commit comments

Comments
 (0)