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 0.11.0 to 0.12.0

src/embed.js

17

CHANGELOG.md

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

## [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:
```xml
<style type="text/css">
.box {
height: 100px;
width: 100px;
}
</style>
```
- Additionally support `.inx` files.
## [0.11.0] - 2020-08-14

@@ -11,0 +28,0 @@

2

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

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

@@ -36,2 +36,3 @@ const languages = [

".iml",
".inx",
".ivy",

@@ -38,0 +39,0 @@ ".jelly",

@@ -0,1 +1,2 @@

const embed = require("./embed");
const languages = require("./languages");

@@ -12,2 +13,3 @@ const parser = require("./parser");

xml: {
embed,
print: printer

@@ -14,0 +16,0 @@ }

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