You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

posthtml-component

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-component - npm Package Compare versions

Comparing version

to
1.0.0-beta.14

2

package.json
{
"name": "posthtml-component",
"version": "1.0.0-beta.13",
"version": "1.0.0-beta.14",
"description": "PostHTML Components Blade-like with slots, attributes as props and custom tag",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -12,2 +12,4 @@ 'use strict';

const extend = require('lodash/extend');
const isString = require('lodash/isString');
const isObject = require('lodash/isObject');

@@ -69,2 +71,4 @@ /**

delete nodeAttrs[key];
} else if (key !== 'compose' && !isObject(nodeAttrs[key]) && !isString(nodeAttrs[key])) {
nodeAttrs[key] = nodeAttrs[key].toString();
}

@@ -71,0 +75,0 @@ });