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

html-to-pdfmake

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-to-pdfmake - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

index.js

@@ -386,3 +386,3 @@ // source: https://github.com/OpenSlides/OpenSlides/blob/f4f8b8422f9b3fbab58e35ac3f8f870d35813b7d/client/src/app/core/ui-services/html-to-pdf.service.ts

case "margin": {
value = value.replace(/(\d+)([^\d]+)/g,"$1 ").trim().split(' ');
value = value.replace(/(\d+)(\.\d+)?([^\d]+)/g,"$1$2 ").trim().split(' ');
// pdfMake uses a different order than CSS

@@ -423,3 +423,3 @@ if (value.length===1) value=+value[0]; // single value

if (value) {
value = value.replace(/(\d+)([^\d]+)/g,"$1 ").trim();
value = value.replace(/(\d+)(\.\d+)?([^\d]+)/g,"$1$2 ").trim();
if (!isNaN(value)) value=+value; // turn it into a number

@@ -426,0 +426,0 @@ ret.push({key:key, value:value});

{
"name": "html-to-pdfmake",
"version": "1.1.1",
"version": "1.1.2",
"description": "Convert HTML code to PDFMake",

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

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