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

pdfkit-table

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfkit-table - npm Package Compare versions

Comparing version 0.1.26 to 0.1.27

13

index.js

@@ -19,9 +19,9 @@ "use strict";

if( !options || typeof options !== 'object' ) options = {};
table || (table = {})
options || (options = {})
table || (table = {})
table.headers || (table.headers = []);
table.datas || (table.datas = [])
table.rows || (table.rows = [])
const columnCount = table.headers.length;

@@ -41,5 +41,5 @@ const columnSpacing = options.columnSpacing || 5; // 15

let startX = options.x || this.page.margins.left;
let startY = options.y || this.y;
let rowBottomY = 0;
const startX = options.x || this.page.margins.left;
let startY = options.y || this.y;
let rowBottomY = 0;

@@ -218,2 +218,3 @@ this.on("pageAdded", () => {

}
// size

@@ -220,0 +221,0 @@ if( text.indexOf('size') === 0 ){

{
"name": "pdfkit-table",
"version": "0.1.26",
"version": "0.1.27",
"description": "PdfKit Table. Helps to draw informations in simple tables using pdfkit. #server-side. Generate pdf tables with javascript (PDFKIT plugin) ",

@@ -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