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

cross-platform-pdf-generator

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-platform-pdf-generator - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "cross-platform-pdf-generator",
"version": "1.1.4",
"version": "1.1.5",
"description": "pulsation pdg generator for web and ios",

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

@@ -189,6 +189,6 @@ import { GenericStorage } from "./utils/GenericUtils/GenericStorage.js";

const value = findValueforStorage(r.row_id, data);
if (!value) return;
if (value === undefined) return;
if (value.isRemoved === 1) return
if (r?.is_not_printable ?? false) return; //do not print value
let valueToPrint = value?.humanReadableDescription ?? "Ungültiger Wert im Druck"
const valueToPrint = value?.humanReadableDescription ?? "Ungültiger Wert im Druck"
/*

@@ -198,29 +198,11 @@ const rawValue = getValueFromStorage(value); //ToDo load human readable string instead of value

*/
if (r.row_type === "signatur") {
valueToPrint = getValueFromStorage(value);
if (!(valueToPrint instanceof ByteBuffer)) return;
valueToPrint = JSON.stringify(valueToPrint);
valueToPrint = valueToPrint?.signImage
result.values.push(
{
"id": r.row_id,
"component": r.row_type, //optional value
"type": "image",
"title": rowName,
"value": valueToPrint,
}
);
}else {
result.values.push(
{
"id": r.row_id,
"component": r.row_type, //optional value
"type": "text",
"title": rowName,
"value": valueToPrint,
}
);
}
result.values.push(
{
"id": r.row_id,
"component": r.row_type, //optional value
"type": "text",
"title": rowName,
"value": valueToPrint,
}
);
}

@@ -227,0 +209,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