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

@prettier/plugin-xml

Package Overview
Dependencies
Maintainers
13
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prettier/plugin-xml - npm Package Versions

234

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