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

prettier-plugin-svelte

Package Overview
Dependencies
Maintainers
3
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
6

2.7.1

Diff

Changelog

Source

2.7.1

  • (fix) check for snipped content in JS expressions (#290)
  • (fix) handle <!DOCTYPE> (#298)
conduitry
published 2.7.0 •

Changelog

Source

2.7.0

  • (feat) Support <svelte:element> (#285)
  • (fix) Respect htmlWhitespaceSensitivity: 'ignore' setting in components (#281)
conduitry
published 2.6.0 •

Changelog

Source

2.6.0

  • (feat) Support {@const} tag (#272)
  • (feat) Support style: directive (requires Svelte 3.46.1 or later) (#274)
conduitry
published 2.5.1 •

Changelog

Source

2.5.1

  • (fix) Better handling of destructured values with defaults in {#each} and {#await} blocks (#269)
  • (fix) Prevent <script>/<style> contents from being erased in certain cases (#268)
  • (fix) Format {expressions} inside <pre> tags (#266)
conduitry
published 2.5.0 •

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)
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