Socket
Socket
Sign inDemoInstall

pdfkit-table

Package Overview
Dependencies
68
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.60 to 0.1.61

4

index.js

@@ -421,6 +421,6 @@ // jshint esversion: 6

let {label, width, renderer, align, headerColor, headerOpacity, padding} = dataHeader;
let {label, width, renderer, align, headerColor, headerOpacity, headerAlign, padding} = dataHeader;
// check defination
width = width || columnSizes[i];
align = align || 'left';
align = headerAlign || align || 'left';
// force number

@@ -427,0 +427,0 @@ width = width >> 0;

{
"name": "pdfkit-table",
"version": "0.1.60",
"version": "0.1.61",
"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",

@@ -374,2 +374,3 @@ # pdfkit-table

- striped {Boolean} (corsimcornao)
- align cell ventically
- colspan - the colspan attribute defines the number of columns a table cell should span.

@@ -384,2 +385,10 @@ - sample with database

+ added headerAlign, alignment only to header
```js
headers: [
{label:"Name", property:"name", headerAlign:"right", headerColor:"#FF0000", headerOpacity:0.5 }
]
```
- Thanks ***Albert Taveras*** @itsalb3rt
### 0.1.60

@@ -389,3 +398,3 @@

+ header font color
- Thanks @dev-fema
- Thanks ***@dev-fema***

@@ -392,0 +401,0 @@ ### 0.1.59

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc