Update dependency prettier-plugin-svelte to v4 #624

Open
Renovate wants to merge 1 commit from renovate/prettier-plugin-svelte-4.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
prettier-plugin-svelte devDependencies major ^3.3.3 → ^4.0.0

Release Notes

sveltejs/prettier-plugin-svelte (prettier-plugin-svelte)

v4.2.0

Compare Source

Minor Changes
  • feat: put an element's content on its own lines instead of hugging > and </, since Svelte 5 removes whitespace at the start and end of an element (#​547) (#​554)
Patch Changes
  • fix: don't delete the last node when two adjacent comments precede <script> or <style> (#​560)

  • fix: make menu correctly a block (#​543)

  • fix: respect singleQuote in <svelte:element this={'tag'}> string literals (#​541)

  • fix: keep empty {:catch} in {#await} blocks (removing it turns a handled rejection into an unhandled one) (#​553)

  • fix: don't drop comments in an opening tag without attributes, or containing > (#​551)

v4.1.1

Compare Source

Patch Changes
  • fix: preserve nested rest patterns in {#each} destructuring (#​537)

  • fix: preserve whitespace inside <textarea> (its content is whitespace-sensitive, like <pre>) (#​540)

  • fix: don't drop <script>/<style> content when the closing tag has whitespace (</script >) (#​539)

v4.1.0

Compare Source

Minor Changes
  • feat: support Svelte 5 declaration tags (#​533)

v4.0.1

Compare Source

Patch Changes
  • fix: print @const correctly (#​530)

v4.0.0

Compare Source

  • (breaking) Require Svelte 5
  • (breaking) Remove svelteBracketNewLine option
  • (breaking) Remove svelteStrictMode option
  • (fix) Keep trailing <!-- #endregion --> comments below svelte:options / scripts / styles

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) | devDependencies | major | [`^3.3.3` → `^4.0.0`](https://renovatebot.com/diffs/npm/prettier-plugin-svelte/3.5.2/4.2.0) | --- ### Release Notes <details> <summary>sveltejs/prettier-plugin-svelte (prettier-plugin-svelte)</summary> ### [`v4.2.0`](https://github.com/sveltejs/prettier-plugin-svelte/blob/HEAD/CHANGELOG.md#420) [Compare Source](https://github.com/sveltejs/prettier-plugin-svelte/compare/prettier-plugin-svelte@4.1.1...prettier-plugin-svelte@4.2.0) ##### Minor Changes - feat: put an element's content on its own lines instead of hugging `>` and `</`, since Svelte 5 removes whitespace at the start and end of an element ([#&#8203;547](https://github.com/sveltejs/prettier-plugin-svelte/issues/547)) ([#&#8203;554](https://github.com/sveltejs/prettier-plugin-svelte/pull/554)) ##### Patch Changes - fix: don't delete the last node when two adjacent comments precede `<script>` or `<style>` ([#&#8203;560](https://github.com/sveltejs/prettier-plugin-svelte/pull/560)) - fix: make `menu` correctly a block ([#&#8203;543](https://github.com/sveltejs/prettier-plugin-svelte/pull/543)) - fix: respect `singleQuote` in `<svelte:element this={'tag'}>` string literals ([#&#8203;541](https://github.com/sveltejs/prettier-plugin-svelte/pull/541)) - fix: keep empty `{:catch}` in `{#await}` blocks (removing it turns a handled rejection into an unhandled one) ([#&#8203;553](https://github.com/sveltejs/prettier-plugin-svelte/pull/553)) - fix: don't drop comments in an opening tag without attributes, or containing `>` ([#&#8203;551](https://github.com/sveltejs/prettier-plugin-svelte/pull/551)) ### [`v4.1.1`](https://github.com/sveltejs/prettier-plugin-svelte/blob/HEAD/CHANGELOG.md#411) [Compare Source](https://github.com/sveltejs/prettier-plugin-svelte/compare/prettier-plugin-svelte@4.1.0...prettier-plugin-svelte@4.1.1) ##### Patch Changes - fix: preserve nested rest patterns in `{#each}` destructuring ([#&#8203;537](https://github.com/sveltejs/prettier-plugin-svelte/pull/537)) - fix: preserve whitespace inside `<textarea>` (its content is whitespace-sensitive, like `<pre>`) ([#&#8203;540](https://github.com/sveltejs/prettier-plugin-svelte/pull/540)) - fix: don't drop `<script>`/`<style>` content when the closing tag has whitespace (`</script >`) ([#&#8203;539](https://github.com/sveltejs/prettier-plugin-svelte/pull/539)) ### [`v4.1.0`](https://github.com/sveltejs/prettier-plugin-svelte/blob/HEAD/CHANGELOG.md#410) [Compare Source](https://github.com/sveltejs/prettier-plugin-svelte/compare/prettier-plugin-svelte@4.0.1...prettier-plugin-svelte@4.1.0) ##### Minor Changes - feat: support Svelte 5 declaration tags ([#&#8203;533](https://github.com/sveltejs/prettier-plugin-svelte/pull/533)) ### [`v4.0.1`](https://github.com/sveltejs/prettier-plugin-svelte/blob/HEAD/CHANGELOG.md#401) [Compare Source](https://github.com/sveltejs/prettier-plugin-svelte/compare/prettier-plugin-svelte@4.0.0...prettier-plugin-svelte@4.0.1) ##### Patch Changes - fix: print `@const` correctly ([#&#8203;530](https://github.com/sveltejs/prettier-plugin-svelte/pull/530)) ### [`v4.0.0`](https://github.com/sveltejs/prettier-plugin-svelte/blob/HEAD/CHANGELOG.md#400) [Compare Source](https://github.com/sveltejs/prettier-plugin-svelte/compare/v3.5.2...prettier-plugin-svelte@4.0.0) - (breaking) Require Svelte 5 - (breaking) Remove `svelteBracketNewLine` option - (breaking) Remove `svelteStrictMode` option - (fix) Keep trailing `<!-- #endregion -->` comments below `svelte:options` / scripts / styles </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTAuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI1MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update dependency prettier-plugin-svelte to v4
All checks were successful
ci/woodpecker/pr/testbuild Pipeline was successful
5f121add41
All checks were successful
ci/woodpecker/pr/testbuild Pipeline was successful
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/prettier-plugin-svelte-4.x:renovate/prettier-plugin-svelte-4.x'
git switch 'renovate/prettier-plugin-svelte-4.x'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'renovate/prettier-plugin-svelte-4.x'
git switch 'renovate/prettier-plugin-svelte-4.x'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/prettier-plugin-svelte-4.x'
git switch 'renovate/prettier-plugin-svelte-4.x'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/prettier-plugin-svelte-4.x'
git switch 'main'
git merge --squash 'renovate/prettier-plugin-svelte-4.x'
git switch 'main'
git merge --ff-only 'renovate/prettier-plugin-svelte-4.x'
git switch 'main'
git merge 'renovate/prettier-plugin-svelte-4.x'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Bluemedia/LibreCharge!624
No description provided.