Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

posthtml-rename-id

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-rename-id - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

CHANGELOG.md

@@ -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)

5

package.json
{
"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"

12

README.md

@@ -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

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