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

posthtml-rename-attrs

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-rename-attrs - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

3

index.js

@@ -7,2 +7,5 @@ module.exports = function (renamer) {

tree.walk(function(node) {
if (!node.attrs) {
return node;
}
const attrs = Object.keys(node.attrs);

@@ -9,0 +12,0 @@ node.attrs = attrs.reduce((acc, key) => (

19

package.json
{
"name": "posthtml-rename-attrs",
"version": "2.0.1",
"version": "3.0.0",
"description": "Rename HTML tags",

@@ -9,7 +9,10 @@ "keywords": [

"devDependencies": {
"camelcase": "^4.1.0",
"chai": "^4.1.2",
"mocha": "^4.0.1",
"posthtml": "^0.9.2"
"camelcase": "^5.3.1",
"chai": "^4.2.0",
"mocha": "^6.1.4",
"posthtml": "^0.11.4"
},
"author": {
"name": "Andrey Zhupik"
},
"main": "index.js",

@@ -22,9 +25,9 @@ "scripts": {

"type": "git",
"url": "git@github.com:madzhup/posthtml-rename-attrs.git"
"url": "git@github.com:posthtml/posthtml-rename-attrs.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/madzhup/posthtml-rename-attrs/issues"
"url": "https://github.com/posthtml/posthtml-rename-attrs/issues"
},
"homepage": "https://github.com/madzhup/posthtml-rename-attrs"
"homepage": "https://github.com/posthtml/posthtml-rename-attrs"
}
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