@prettier/plugin-xml
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34528
293276
17
688
0