Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prettier-plugin-svelte

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-svelte - npm Package Versions

1
45

0.6.0

Diff

Changelog

Source

0.6.0

  • Support nested <script> and <style> tags
  • Add svelteSortOrder option
  • Fix printing of HTML entities
  • Add option to add newline to closing angle bracket
  • Support all <svelte:*> elements
  • Throw Svelte parsing errors in format Prettier expects
  • Add handling for |local transition modifier
  • Prevent {#if} blocks nested in an {#each}/{:else} from being converted into an {:else if}
  • Fix whitespace trimming for lonely wrapped mustache tags
unwrittenfun
published 0.5.1 •

Changelog

Source

0.5.1

  • Fix attribute wrapping
unwrittenfun
published 0.5.0 •

Changelog

Source

0.5.0

  • Remove .html from list of extensions
  • Use typescript as parser to handle both JS and TS
  • Add support for event modifiers
  • Support Unicode content in <script> and <style> blocks
  • Don't print children for empty elements
  • Improve handling of text nodes
  • Prevent extra whitespace for <script>-only templates
  • Correctly collapse empty elements
  • Improve directive support
unwrittenfun
published 0.4.2 •

Changelog

Source

0.4.2

  • Fix script + css and script + module printing
unwrittenfun
published 0.4.1 •

Changelog

Source

0.4.1

  • Print HTML last
unwrittenfun
published 0.4.0 •

Changelog

Source

0.4.0

  • Drop support for v2 and fully support v3
  • Make Prettier and Svelte peer deps
unwrittenfun
published 0.3.0 •

unwrittenfun
published 0.2.0 •

unwrittenfun
published 0.1.1 •

unwrittenfun
published 0.1.0 •

1
45
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc