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

prettier-plugin-astro

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-astro - npm Package Versions

2345

0.14.1

Diff

Changelog

Source

0.14.1

Patch Changes

  • 7282bcb: Fixes an issue where style and script tags would sometimes get moved to other tags
fredkschott
published 0.14.0 •

Changelog

Source

0.14.0

Minor Changes

  • bb756df: Adds a new option called astroSkipFrontmatter to disable formatting the frontmatter. This can be useful when using other tools to format the frontmatter, such as Biome or dprint.
fredkschott
published 0.13.0 •

Changelog

Source

0.13.0

Minor Changes

  • e97406a: Fix plugin sometimes including significant whitespace inside components, fragments and custom elements
fredkschott
published 0.12.3 •

Changelog

Source

0.12.3

Patch Changes

  • e75f9c7: Fix <br /> tags sometimes causing additional spaces to appear
  • b4b0918: Fix not being able to format expressions with more than 2 roots
fredkschott
published 0.12.2 •

Changelog

Source

0.12.2

Patch Changes

  • 11b0dc7: Fix attributes using optional chaining not formatting correctly
fredkschott
published 0.12.1 •

Changelog

Source

0.12.1

Patch Changes

  • 0188f04: Fix attributes with multiple invalid JSX characters in their key inside expressions causing the plugin to throw an error
fredkschott
published 0.12.0 •

Changelog

Source

0.12.0

Minor Changes

  • fa1a6e3: Do not delete line breaks and indentation of lines in class attribute

Patch Changes

  • b806845: Format doctype as lowercase to match Prettier 3.0
fredkschott
published 0.11.1 •

Changelog

Source

0.11.1

Patch Changes

  • 62fe714: removes pnpm from engines
fredkschott
published 0.11.0 •

Changelog

Source

0.11.0

Minor Changes

  • 94ed904: Migrated the plugin to Prettier 3's new APIs. It's unfortunately not possible for a plugin to support both version 2 and 3 of Prettier. As such, from this version on, only Prettier 3 is supported.
fredkschott
published 0.10.0 •

Changelog

Source

0.10.0

Minor Changes

  • af9324e: Use the sync entrypoint of the Astro compiler instead of synckit, improving performance and reducing the dependency count of the plugin
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