Socket
Socket
Sign inDemoInstall

posthtml-parser

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-parser - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

7

index.js
'use strict';
var Parser = require('htmlparser2/lib/Parser');
var isObject = require('isobject');
var objectAssign = require('object-assign');

@@ -138,3 +137,7 @@

if (arguments.length === 1 && isObject(arguments[0])) {
if (
arguments.length === 1 &&
Boolean(arguments[0]) &&
arguments[0].constructor.name === 'Object'
) {
option = arguments[0];

@@ -141,0 +144,0 @@ return parser;

{
"name": "posthtml-parser",
"version": "0.4.0",
"version": "0.4.1",
"description": "Parse HTML/XML to PostHTMLTree",

@@ -29,3 +29,2 @@ "keywords": [

"htmlparser2": "^3.9.2",
"isobject": "^2.1.0",
"object-assign": "^4.1.1"

@@ -32,0 +31,0 @@ },

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