Socket
Socket
Sign inDemoInstall

@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

124

0.13.1

Diff

Changelog

Source

[0.13.1] - 2021-03-03

Changed

  • Fixed a bug with newlines when there is empty content.
kddeisz
published 0.13.0 •

Changelog

Source

[0.13.0] - 2021-01-22

Added

  • Maintain newlines if there are some in the original source.
kddeisz
published 0.12.0 •

Changelog

Source

[0.12.0] - 2020-08-31

Added

  • Allow embedded parsers to handle content if element tags contain only text content and the tag name matches the name of an existing parser. For example:
<style type="text/css">
.box {
  height: 100px;
  width: 100px;
}
</style>
  • Additionally support .inx files.
kddeisz
published 0.11.0 •

Changelog

Source

[0.11.0] - 2020-08-14

Changed

  • Support for a whole wide variety of file types, as per linguist.
kddeisz
published 0.10.0 •

Changelog

Source

[0.10.0] - 2020-07-24

Changed

  • Some better support for indenting mixed content when whitespace is set to ignore.
kddeisz
published 0.9.0 •

Changelog

Source

[0.9.0] - 2020-07-21

Added

  • Ignored print ranges using the special <!-- prettier-ignore-start --> and <!-- prettier-ignore-end --> comments. For example, you can now do:
<foo>
  <!-- prettier-ignore-start -->
    < this-content-will-not-be-formatted />
  <!-- prettier-ignore-end -->
</foo>

and it will maintain your formatting.

kddeisz
published 0.8.0 •

Changelog

Source

[0.8.0] - 2020-07-03

Added

  • Support .wsdl files.
kddeisz
published 0.7.2 •

Changelog

Source

[0.7.2] - 2020-02-12

Changed

  • Bump dependency on @xml-tools/parser to v1.0.2.
kddeisz
published 0.7.1 •

Changelog

Source

[0.7.1] - 2020-02-10

Changed

  • Require prettier/doc instead of prettier to load less code in standalone mode.
kddeisz
published 0.7.0 •

Changelog

Source

[0.7.0] - 2020-01-29

Added

  • Handle processing instructions inside elements.
  • Properly handle mult-line CData tags.
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