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

pdf2json

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf2json - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

10

lib/pdfcanvas.js

@@ -362,4 +362,14 @@ 'use strict';

contextPrototype.drawImage = function (image, var_args) {
//MQZ. no image drawing support for now
};
contextPrototype.getImageData = function (x, y, w, h) {
//MQZ. returns empty data buffer for now
return {
width:w,
height:h,
data:new Uint8Array(w * h * 4)
};
};
contextPrototype.stroke = function (aFill) {

@@ -366,0 +376,0 @@ if (this.currentPath_.length < 2) {

4

package.json
{
"name": "pdf2json",
"_id": "pdf2json@0.3.4",
"version": "0.3.4",
"_id": "pdf2json@0.3.5",
"version": "0.3.5",
"description": "A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js",

@@ -6,0 +6,0 @@ "keywords": [

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