posthtml-rename-id
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="1.0.5"></a> | ||
## [1.0.5](https://github.com/kisenka/svg-mixer/packages/posthtml-rename-id/compare/posthtml-rename-id@1.0.4...posthtml-rename-id@1.0.5) (2018-04-21) | ||
**Note:** Version bump only for package posthtml-rename-id | ||
<a name="1.0.4"></a> | ||
@@ -8,0 +16,0 @@ ## [1.0.4](https://github.com/kisenka/svg-baker/packages/posthtml-rename-id/compare/posthtml-rename-id@1.0.4-alpha.0...posthtml-rename-id@1.0.4) (2018-04-13) |
{ | ||
"name": "posthtml-rename-id", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "PostHTML plugin to rename id attributes and it's references", | ||
"license": "MIT", | ||
"repository": "https://github.com/kisenka/svg-baker/packages/posthtml-rename-id", | ||
"homepage": "https://github.com/kisenka/svg-mixer/packages/posthtml-rename-id", | ||
"repository": "https://github.com/kisenka/svg-mixer/packages/posthtml-rename-id", | ||
"files": [ | ||
@@ -8,0 +9,0 @@ "index.js" |
@@ -1,2 +0,2 @@ | ||
# PostHTML rename plugin | ||
# PostHTML Rename ID Plugin | ||
@@ -16,3 +16,3 @@ Plugin to rename id attributes and it's references. | ||
```sh | ||
npm install posthtml-rename-id --save | ||
npm install posthtml-rename-id | ||
``` | ||
@@ -29,7 +29,5 @@ | ||
.process('<div id="qwe"></div> <a href="#qwe"></a>') | ||
.then((result) => { | ||
console.log(result); | ||
.then(({ html }) => { | ||
console.log(html); // <div id="prefix_qwe"></div> <a href="#prefix_qwe"></a> | ||
}); | ||
// <div id="prefix_qwe"></div> <a href="#prefix_qwe"></a> | ||
``` | ||
@@ -45,2 +43,4 @@ | ||
## Examples | ||
Uppercase all ids: | ||
@@ -47,0 +47,0 @@ ```js |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5496