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

Comparing version 0.13.0 to 0.13.1

8

CHANGELOG.md

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

## [0.13.1] - 2021-03-03
### Changed
- Fixed a bug with newlines when there is empty content.
## [0.13.0] - 2021-01-22

@@ -131,3 +136,4 @@

[unreleased]: https://github.com/prettier/plugin-xml/compare/v0.13.0...HEAD
[unreleased]: https://github.com/prettier/plugin-xml/compare/v0.13.1...HEAD
[0.13.1]: https://github.com/prettier/plugin-xml/compare/v0.13.0...v0.13.1
[0.13.0]: https://github.com/prettier/plugin-xml/compare/v0.12.0...v0.13.0

@@ -134,0 +140,0 @@ [0.12.0]: https://github.com/prettier/plugin-xml/compare/v0.11.0...v0.12.0

4

package.json
{
"name": "@prettier/plugin-xml",
"version": "0.13.0",
"version": "0.13.1",
"description": "prettier plugin for XML",

@@ -27,3 +27,3 @@ "main": "src/plugin.js",

"eslint": "^7.0.0",
"eslint-config-prettier": "^7.0.0",
"eslint-config-prettier": "^8.0.0",
"jest": "^26.0.0"

@@ -30,0 +30,0 @@ },

@@ -335,2 +335,7 @@ const {

if (children.length === 0) {
const space = opts.xmlSelfClosingSpace ? line : softline;
return group(concat(parts.concat(space, "/>")));
}
const docs = [];

@@ -337,0 +342,0 @@ let lastLine = children[0].startLine;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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