Socket
Socket
Sign inDemoInstall

posthtml-attrs-parser

Package Overview
Dependencies
0
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

lib/attr.js

@@ -10,3 +10,3 @@ export function parseAttr(attrStr, rule) {

const attrValues = delimiter ? attrStr.split(delimiter) : [attrStr];
const attrValues = delimiter ? String(attrStr).split(delimiter) : [attrStr];
if (!keyDelimiter) {

@@ -13,0 +13,0 @@ return attrValues;

{
"name": "posthtml-attrs-parser",
"version": "1.0.0",
"version": "1.0.1",
"description": "PostHTML helper that provides a better API to work with tag attributes.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -0,0 +0,0 @@ <div align="center">

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc