Socket
Socket
Sign inDemoInstall

@prettier/plugin-xml

Package Overview
Dependencies
4
Maintainers
14
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

3.4.1

Diff

Changelog

Source

[3.4.1] - 2024-03-30

Changed

  • Fix the npm publish.
kddeisz
published 3.4.0 •

Changelog

Source

[3.4.0] - 2024-03-29

Added

  • Export plugin type.

Changed

  • Fix printing around reference nodes.
  • Trim only XML whitespace, not JS whitespace.
kddeisz
published 3.3.1 •

Changelog

Source

[3.3.1] - 2024-02-10

Changed

  • Allow elements to be marked as whitespace ignored even when they have reference nodes.
kddeisz
published 3.3.0 •

Changelog

Source

[3.3.0] - 2024-02-09

Added

  • Support for formatWithCursor.

Changed

  • Always keep whitespace around in xsl:text tags.
kddeisz
published 3.2.2 •

Changelog

Source

[3.2.2] - 2023-10-27

Changed

  • Fixed a bug with the xmlSortAttributesByKey option when xmlns attributes are present.
kddeisz
published 3.2.1 •

Changelog

Source

[3.2.1] - 2023-09-11

Added

  • Updated the documentation to reflect that you need to pass the plugin path now.

Changed

  • Error messages thrown by the plugin are now much closer to the error messages thrown by prettier.
  • Fixed a bug where self-closing tags that looked like embeds would throw an error.
kddeisz
published 3.2.0 •

Changelog

Source

[3.2.0] - 2023-08-08

Added

  • Respect xml:space="preserve" as an override to the xmlWhitespaceSensitivity option.
kddeisz
published 3.1.1 •

Changelog

Source

[3.1.1] - 2023-07-14

Changed

  • Required prettier as a peer dependency instead of a runtime dependency.
kddeisz
published 3.1.0 •

Changelog

Source

[3.1.0] - 2023-07-07

Added

  • the xmlSortAttributesByKey: true | false option has been added. See the README.
  • The xmlQuoteAttributes: "preserve" | "single" | "double" option has been added. See the README.
kddeisz
published 3.0.0 •

Changelog

Source

[3.0.0] - 2023-07-06

Changed

  • See alpha release notes.
234Next
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