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

@prettier/plugin-xml

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

134

3.0.0-alpha.0

Diff

Changelog

Source

[3.0.0-alpha.0] - 2023-06-02

Added

  • The xmlWhitespaceSensitivity: "preserve" option has been added. See the README.

Changed

  • Fixed the behavior of bracketSameLine when the attributes on the parent element broke into multiple lines.
  • BREAKING Require prettier v3.
  • BREAKING Migrate to ESM modules.
kddeisz
published 2.2.0 •

Changelog

Source

[2.2.0] - 2022-05-12

Added

  • Better error messages in the case of a syntax error.
kddeisz
published 2.1.0 •

Changelog

Source

[2.1.0] - 2022-04-16

Added

  • Support for the singleAttributePerLine option.
kddeisz
published 2.0.1 •

Changelog

Source

[2.0.1] - 2022-03-22

Added

  • Better idempotency when printing long strings of text content within elements with ignored whitespace.
kddeisz
published 2.0.0 •

Changelog

Source

[2.0.0] - 2022-03-22

Changed

  • Require prettier 2.4.0 for the bracketSameLine option.
kddeisz
published 1.2.0 •

Changelog

Source

[1.2.0] - 2021-12-23

Added

  • Support formatting .xsl files.
kddeisz
published 1.1.0 •

Changelog

Source

[1.1.0] - 2021-09-26

Added

  • Bring back the xmlSelfClosingSpace option.
kddeisz
published 1.0.2 •

Changelog

Source

[1.0.2] - 2021-07-17

Changed

  • Removed duplicated inner comments when xmlWhitespaceSensitivity is set to "strict".
kddeisz
published 1.0.1 •

Changelog

Source

[1.0.1] - 2021-07-14

Changed

  • Fix the export to work in non-TypeScript environments.
kddeisz
published 1.0.0 •

Changelog

Source

[1.0.0] - 2021-07-14

Added

  • Support for the bracketSameLine option to mirror the core option.

Removed

  • The xmlSelfClosingSpace option is now removed to make it easier to maintain.
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