New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pdfmake

Package Overview
Dependencies
Maintainers
4
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfmake - npm Package Compare versions

Comparing version 0.1.50 to 0.1.51

15

gulpfile.js

@@ -8,3 +8,2 @@ var gulp = require('gulp');

var log = require('fancy-log');
var PluginError = require('plugin-error');
var exec = require('child_process').exec;

@@ -22,5 +21,10 @@ const fs = require('fs');

if (err) {
throw new PluginError("webpack", err);
callback(err);
return;
}
log("[webpack]", stats.toString({}));
if (stats.compilation.errors && stats.compilation.errors.length) {
callback(stats.compilation.errors);
return;
}
callback();

@@ -33,5 +37,10 @@ });

if (err) {
throw new PluginError("webpack", err);
callback(err);
return;
}
log("[webpack]", stats.toString({}));
if (stats.compilation.errors && stats.compilation.errors.length) {
callback(stats.compilation.errors);
return;
}
callback();

@@ -38,0 +47,0 @@ });

3

package.json
{
"name": "pdfmake",
"version": "0.1.50",
"version": "0.1.51",
"description": "Client/server side PDF printing in pure JavaScript",

@@ -28,3 +28,2 @@ "main": "src/printer.js",

"mocha": "^5.2.0",
"plugin-error": "^1.0.1",
"rewire": "^4.0.1",

@@ -31,0 +30,0 @@ "sinon": "^7.2.3",

@@ -341,6 +341,6 @@ 'use strict';

var x1f = xs[i].x + (widthLeftBorder / 2);
var x1f = this.dontBreakRows ? xs[i].x + widthLeftBorder : xs[i].x + (widthLeftBorder / 2);
var y1f = this.dontBreakRows ? y1 : y1 - (hzLineOffset / 2);
var x2f = xs[i + 1].x + widthRightBorder;
var y2f = y2 + (this.bottomLineWidth / 2);
var y2f = this.dontBreakRows ? y2 + this.bottomLineWidth : y2 + (this.bottomLineWidth / 2);
writer.addVector({

@@ -347,0 +347,0 @@ type: 'rect',

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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