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 Compare versions

Comparing version 2.0.0 to 2.0.1

9

CHANGELOG.md

@@ -9,2 +9,8 @@ # Changelog

## [2.0.1] - 2022-03-22
### Added
- Better idempotency when printing long strings of text content within elements with ignored whitespace.
## [2.0.0] - 2022-03-22

@@ -177,3 +183,4 @@

[unreleased]: https://github.com/prettier/plugin-xml/compare/v2.0.0...HEAD
[unreleased]: https://github.com/prettier/plugin-xml/compare/v2.0.1...HEAD
[2.0.1]: https://github.com/prettier/plugin-xml/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/prettier/plugin-xml/compare/v1.2.0...v2.0.0

@@ -180,0 +187,0 @@ [1.2.0]: https://github.com/prettier/plugin-xml/compare/v1.1.0...v1.2.0

2

dist/printer.js

@@ -231,3 +231,3 @@ "use strict";

return fill(value
.split(/( )/g)
.split(/\b( +)\b/g)
.map((segment, index) => index % 2 === 0 ? segment : line));

@@ -234,0 +234,0 @@ }));

{
"name": "@prettier/plugin-xml",
"version": "2.0.0",
"version": "2.0.1",
"description": "prettier plugin for XML",

@@ -5,0 +5,0 @@ "main": "dist/plugin.js",

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