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

1345

0.9.1

Diff

Changelog

Source

0.9.1

Patch Changes

  • 97c4b07: fix: prevent parsing empty script tags
fredkschott
published 0.9.0 •

Changelog

Source

0.9.0

Minor Changes

  • abecea0: Use the babel-ts parser to parse the frontmatter. This parser was already used for expressions inside the template, so the experience should now be more homogenous all throughout the file.
  • d2a2c26: Add support for formatting script tags containing JSON, Markdown and other content
fredkschott
published 0.8.1 •

Changelog

Source

0.8.1

Patch Changes

  • 9cb4c4f: Add compatibility for other plugins parsing top-level returns in Astro frontmatter
  • 88b0d84: Correctly pass options to embedded parsers
  • e5cf99d: Fix style tags using Stylus being truncated under certain circumstances
fredkschott
published 0.8.0 •

Changelog

Source

0.8.0

Minor Changes

  • c724082: Add support for LESS style tags, fixed crash on style tags with unknown languages
  • 18cd321: Add support for formatting spread attributes
fredkschott
published 0.7.2 •

Changelog

Source

0.7.2

Patch Changes

  • a97750b: Fix packaging error causing the plugin to only be installable using pnpm
fredkschott
published 0.7.1 •

Changelog

Source

0.7.1

Patch Changes

  • 9fa788f: Upgrade @astrojs/compiler
  • a3ff2ef: Fix inline tags not hugging the end of their content if the last child was a tag
fredkschott
published 0.7.0 •

Changelog

Source

0.7.0

Minor Changes

  • 485fb91: Fixed custom-elements being allowed to self close despite the HTML spec saying otherwise

Patch Changes

  • b99b461: Add support for formatting expressions with multiple root elements
  • ca48060: Add support for prettier-ignore comments
fredkschott
published 0.6.0 •

Changelog

Source

0.6.0

Minor Changes

  • 699e02c: Allow elements with set:* directives to self-close

Patch Changes

  • 163ffec: Fix jsxSingleQuote not considering if there was any incompatible characters inside the attribute value
  • 17af6ef: Fix style tags getting moved inside body tags Fix fragments with expressions inside being moved to before the expressions in certain cases
fredkschott
published 0.5.5 •

Changelog

Source

0.5.5

Patch Changes

  • fe68b94: Fix missing newline after attributes on inline elements when using singleAttributePerLine
  • 96e2b28: Fix expressions not hugging the end of the tag in cases where they should
  • 4e6fde8: Fix newlines being added to style tags even if they were empty
fredkschott
published 0.5.4 •

Changelog

Source

0.5.4

Patch Changes

  • 4115a8e: Support formatting expressions with elements with attributes not compatible with JSX
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