Comparing version 0.6.8 to 0.6.9
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
50438
2
4048674
143