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.6.8 to 0.6.9

8

lib/pdfunit.js

@@ -74,2 +74,6 @@ var nodeUtil = require("util"),

cls.toFixedFloat = function(fNum) {
return parseFloat(fNum.toFixed(3))
};
cls.colorCount = function() {

@@ -100,7 +104,7 @@ return kColors.length;

cls.toFormX = function(viewportX) {
return (viewportX / _pixelXPerGrid);
return cls.toFixedFloat(viewportX / _pixelXPerGrid);
};
cls.toFormY = function(viewportY) {
return (viewportY / _pixelYPerGrid);
return cls.toFixedFloat(viewportY / _pixelYPerGrid);
};

@@ -107,0 +111,0 @@

{
"name": "pdf2json",
"_id": "pdf2json@0.6.8",
"version": "0.6.8",
"_id": "pdf2json@0.6.9",
"version": "0.6.9",
"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": [

@@ -708,4 +708,4 @@ # pdf2json

v0.6.8 added "-c" or "--content" command line argument to generate raw text content from PDF. It'll be a separated output file named as <pdf_file_name>.content.txt.
This feature is added to answer some inquiries on retrieving raw test content from PDF, it's in experimental phase at this point, needs more tests.
v0.6.8 added "-c" or "--content" command line argument to generate raw text content from PDF. It'll be a separated output file named as (pdf_file_name).content.txt.
This feature is added to answer some inquiries on retrieving raw text content from PDF, it's in experimental phase at this point, needs more testing.

@@ -712,0 +712,0 @@ ## Run in a RESTful Web Service

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