Socket
Socket
Sign inDemoInstall

prettier-plugin-svelte

Package Overview
Dependencies
2
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12456Next

2.5.0

Diff

Changelog

Source

2.5.0

  • (feat) Support bracketSameLine option and deprecate svelteBracketNewLine (#251)
  • (fix) Prevent script/style contents from being erased in certain cases (#255)
  • (fix) Properly format nested array patterns (#259)
conduitry
published 2.4.0 •

Changelog

Source

2.4.0

  • (feat) Add support for formatting Pug inside <template> tags, if the corresponding plugin is available (#248)
  • (fix) Adjust checks for whether we're inside another tag when snipping tags (#244, #246)
conduitry
published 2.3.1 •

Changelog

Source

2.3.1

  • (fix) More robust check for hardline to prevent trailing empty lines in <style>/<script> tags (#222)
conduitry
published 2.3.0 •

Changelog

Source

2.3.0

  • (fix) Adjust snip regex to not break commented-out <script>/<style> tags (#212)
  • (fix) Don't snip <style> tags that are inside <script> tags (#219, #70)
  • (fix) Better formatting of long attribute values with mustache tags in between (#221)
  • (fix) Format properly when using Prettier 2.3.0+ (#222)
  • (fix) Keep parentheses in <script> tags for which JS is assumed (#218)
  • (feat) Support range ignores at HTML top level (#225)
conduitry
published 2.2.0 •

Changelog

Source

2.2.0

  • Add support for <svelte:fragment> (#213)
conduitry
published 2.1.6 •

Changelog

Source

2.1.6

  • Fix incorrect removal of comment (#207)
conduitry
published 2.1.5 •

Changelog

Source

2.1.5

  • Fix retrieval of comment belonging to <script>/<style> block (#205)
conduitry
published 2.1.4 •

Changelog

Source

2.1.4

  • Don't print an empty line at the end of code embedded inside Markdown (further fixes) (#202)
conduitry
published 2.1.3 •

Changelog

Source

2.1.3

  • Don't print an empty line at the end of code embedded inside Markdown (#202)
conduitry
published 2.1.2 •

Changelog

Source

2.1.2

  • Keep whitespace around <script>/<style> tags (#197)
  • Make <script>/<style> tag snipping case-sensitive (#198)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc