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

idea-html2pdf

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idea-html2pdf - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

4

dist/src/html2pdf.js

@@ -76,4 +76,4 @@ "use strict";

matches.forEach(attr => {
if (data[attr] !== undefined)
str = str.replace(attr, data[attr] === null ? '' : data[attr]);
const isDefined = data[attr] !== null && data[attr] !== undefined;
str = str.replace(attr, isDefined ? data[attr] : '');
});

@@ -80,0 +80,0 @@ return str;

{
"name": "idea-html2pdf",
"version": "2.0.5",
"version": "2.0.6",
"description": "IDEA helper for generating a PDF from HTML contents",

@@ -35,3 +35,3 @@ "engines": {

"handlebars": "^4.7.7",
"idea-toolbox": "^6.5.19"
"idea-toolbox": "^6.6.5"
},

@@ -38,0 +38,0 @@ "devDependencies": {

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