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.6 to 1.1.7

2

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

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

@@ -60,3 +60,3 @@ import { PDFDocument, StandardFonts, rgb, PDFFont, PDFPage, PDFTextField } from 'pdf-lib';

//If PDF has custom draw offset use this
const templateTextOffset = getTextContainer()
const templateTextOffset = getTextContainer(fields)
if (templateTextOffset) {

@@ -123,3 +123,3 @@ const box = getBoxFor(templateTextOffset)

let hit
fields.forEach(field => {
fields?.forEach(field => {
const name = field.getName()

@@ -126,0 +126,0 @@ if (field === "TEXT_START") {

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