Skip to content

Commit

Permalink
build(deps-dev): bump prettier-plugin-organize-imports from 4.0.0 to …
Browse files Browse the repository at this point in the history
…4.1.0 (#156)

Bumps
[prettier-plugin-organize-imports](https://github.com/simonhaenisch/prettier-plugin-organize-imports)
from 4.0.0 to 4.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/releases">prettier-plugin-organize-imports's
releases</a>.</em></p>
<blockquote>
<h2>4.1.0</h2>
<p>Bumped the peer dependency range for <code>vue-tsc</code> to
<code>^2.1.0</code> because there was a breaking change in its API. If
you're using Vue support, upgrade both packages simultaneously, e.g.
<code>npm i -D prettier-plugin-organize-imports vue-tsc</code>.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/blob/master/changelog.md">prettier-plugin-organize-imports's
changelog</a>.</em></p>
<blockquote>
<p>Version <code>4.1.0</code> bumps the peer dependency range for
<code>vue-tsc</code> to <code>^2.1.0</code> because there was a breaking
change in its API. If you're using Vue support, upgrade both packages
simultaneously, e.g. <code>npm i -D prettier-plugin-organize-imports
vue-tsc</code>.</p>
<p>Version <code>4.0.0</code> upgrades/replaces the Volar packages used
for Vue support, to use the latest <code>vue-tsc</code> package that's
part of Volar 2. To migrate, you just have to remove
<code>@volar/vue-typescript</code> and if you're using it, also
<code>@volar/vue-language-plugin-pug</code>, and replace it with
<code>vue-tsc</code> and <code>@vue/language-plugin-pug</code>
respectively. There are no breaking changes other than this.</p>
<p>Version <code>3.2.4</code> implements a fix to skip when formatting
ranges (i.e. if the plugin is requested to format a range, it doesn't do
anything because it would lack the full file context).</p>
<p>Version <code>3.2.3</code> updates the readme with instructions for
Prettier 3.</p>
<p>Version <code>3.2.2</code> fixes a performance regression introduced
in <code>3.2.0</code>.</p>
<p>Version <code>3.2.1</code> fixes the implementation of the language
service host's <code>getCurrentDirectory</code> method to return the
directory containing the tsconfig, rather than using
<code>ts.sys.getCurrentDirectory</code> (which returns
<code>process.cwd()</code>). This should prevent issues with resolving
compiler plugins with Volar (which is used for Vue support).</p>
<p>Version <code>3.2.0</code> adds and fixes support for pug templates
in Vue files (via <code>@volar/vue-language-plugin-pug</code>). Please
be aware that you'll need to update your version of the
<code>@volar/vue-typescript</code> peer dependency from <code>0.x</code>
to <code>1.x</code>.</p>
<p>Version <code>3.1.0</code> adds an option to skip destructive code
actions like removing unused imports.</p>
<p>Version <code>3.0.3</code> fixes a performance regression introduced
in <code>3.0.2</code>.</p>
<p>Version <code>3.0.2</code> fixes a regression introduced by adding
some file-system related methods to the language service host (to fix a
bug), which revealed that another method's implementation was
incorrect.</p>
<p>Version <code>3.0.1</code> bumps the
<code>@volar/vue-typescript</code> version to fix more edge cases, e. g.
not removing imports when a component is used via kebab-case naming.
<code>@volar/vue-typescript</code> is now defined as an optional peer
dependency and you'll need to install version <code>0.39</code> or
later. Furthermore a fix has been added that should help support more
module resolution algorithms.</p>
<p>Version <code>3.0.0</code> switches to a different package for Vue
support, which fixes some more issues, e. g. support for setup scripts.
No breaking changes otherwise.</p>
<p>Version <code>2.3.4</code> fixes an issue with Vue v2 files.</p>
<p>Version <code>2.3.3</code> fixes a bug where default imports were
removed erroneously.</p>
<p>Version <code>2.3.1</code> adds debug logs and fixes Vue.js
support.</p>
<p>Version <code>2.2.0</code> adds a compiler options cache to improve
performance.</p>
<p>Version <code>2.1.0</code> adds support for Vue.js (<code>.vue</code>
files).</p>
<p>Version <code>2.0.0</code> adds support for the parsers
<code>babel</code> (i. e. JavaScript) and <code>babel-ts</code> which
are only available since Prettier v2 (and thus the peer dependency has
received a major bump).</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/b7c15ad9f5cac9634fb35440e7a40fa73b905c21"><code>b7c15ad</code></a>
4.1.0</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/2e9c480b722b2a6b7125cf6712ff36dcd14175a5"><code>2e9c480</code></a>
chore: update dev dependencies</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/fb7e872d64780b885f49ae4e80e0066b78a7439d"><code>fb7e872</code></a>
docs: update changelog</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/3fb452e7dfbf580aaf268dae366ba245ebcc98e5"><code>3fb452e</code></a>
feat: support vue-tsc v2.1 (<a
href="https://redirect.github.com/simonhaenisch/prettier-plugin-organize-imports/issues/136">#136</a>)</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/4678129bd02292916c5e9c62f3e8ee211990c6e1"><code>4678129</code></a>
chore(ci): run on node 22</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/fa997242e4fa1a976c5a2ee69c186a35eca4e015"><code>fa99724</code></a>
chore(ci): fix run-script invocation</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/3ea4a8151fca23af89685f10d41e183abced4c02"><code>3ea4a81</code></a>
chore: use tsc to type-check the project</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/59c5329c468a48c1ed0fecf9e6690cce1090cc34"><code>59c5329</code></a>
chore(tests): upgrade ava from v3 to v6</li>
<li><a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/b253038883f96ac1b738fb7262d4a9c80dcd73bc"><code>b253038</code></a>
fix: drop <code>@vue/language-plugin-pug</code> as peer dependency</li>
<li>See full diff in <a
href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/compare/v4.0.0...v4.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier-plugin-organize-imports&package-manager=npm_and_yarn&previous-version=4.0.0&new-version=4.1.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>
  • Loading branch information
dependabot[bot] authored Oct 12, 2024
1 parent 96ade1d commit acf34b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"prettier": "^3.3.3",
"prettier-eslint": "^16.3.0",
"prettier-eslint-cli": "^8.0.1",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-organize-imports": "^4.1.0",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"tsx": "^4.19.1",
Expand Down

0 comments on commit acf34b9

Please sign in to comment.