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

node-poppler

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-poppler - npm Package Compare versions

Comparing version 7.2.0 to 7.2.1

8

package.json
{
"name": "node-poppler",
"version": "7.2.0",
"version": "7.2.1",
"description": "Asynchronous node.js wrapper for the Poppler PDF rendering library",

@@ -47,12 +47,12 @@ "keywords": [

"license": "MIT",
"author": "Frazer Smith <frazer.dev@outlook.com>",
"author": "Frazer Smith <frazer.dev@icloud.com>",
"funding": "https://github.com/sponsors/Fdawgs",
"engines": {
"node": ">=18.0.0"
"node": ">=18"
},
"dependencies": {
"camelcase": "^6.3.0",
"semver": "^7.6.0",
"semver": "^7.6.3",
"upath": "^2.0.1"
}
}

@@ -33,4 +33,3 @@ # node-poppler

```
sudo apt-get install poppler-data
sudo apt-get install poppler-utils
sudo apt-get install poppler-data poppler-utils
```

@@ -149,5 +148,6 @@

};
const outputFile = "test_document.txt";
poppler
.pdfToText(file, options)
.pdfToText(file, outputFile, options)
.then((res) => {

@@ -154,0 +154,0 @@ console.log(res);

@@ -308,3 +308,3 @@ export default Poppler;

pdfToCairo(file: Buffer | string, outputFile?: string, options?: {
antialias?: ('best' | 'default' | 'fast' | 'good' | 'gray' | 'none' | 'subpixel');
antialias?: ("best" | "default" | "fast" | "good" | "gray" | "none" | "subpixel");
cropBox?: boolean;

@@ -334,3 +334,3 @@ cropHeight?: number;

paperHeight?: number;
paperSize?: ('A3' | 'A4' | 'legal' | 'letter' | 'match');
paperSize?: ("A3" | "A4" | "legal" | "letter" | "match");
paperWidth?: number;

@@ -353,3 +353,3 @@ pdfFile?: boolean;

svgFile?: boolean;
tiffCompression?: ('deflate' | 'jpeg' | 'lzw' | 'none' | 'packbits');
tiffCompression?: ("deflate" | "jpeg" | "lzw" | "none" | "packbits");
tiffFile?: boolean;

@@ -407,3 +407,3 @@ transparentPageColor?: boolean;

ignoreImages?: boolean;
imageFormat?: ('JPG' | 'PNG');
imageFormat?: ("JPG" | "PNG");
lastPageToConvert?: number;

@@ -500,4 +500,4 @@ noDrm?: boolean;

pdfToPpm(file: Buffer | string, outputPath: string, options?: {
antialiasFonts?: ('no' | 'yes');
antialiasVectors?: ('no' | 'yes');
antialiasFonts?: ("no" | "yes");
antialiasVectors?: ("no" | "yes");
cropBox?: boolean;

@@ -515,3 +515,3 @@ cropHeight?: number;

firstPageToConvert?: number;
freetype?: ('no' | 'yes');
freetype?: ("no" | "yes");
forcePageNumber?: boolean;

@@ -537,4 +537,4 @@ grayscaleFile?: boolean;

singleFile?: boolean;
thinLineMode?: ('none' | 'shape' | 'solid');
tiffCompression?: ('deflate' | 'jpeg' | 'lzw' | 'none' | 'packbits');
thinLineMode?: ("none" | "shape" | "solid");
tiffCompression?: ("deflate" | "jpeg" | "lzw" | "none" | "packbits");
tiffFile?: boolean;

@@ -653,3 +653,3 @@ userPassword?: string;

pdfToPs(file: Buffer | string, outputFile?: string, options?: {
antialias?: ('no' | 'yes');
antialias?: ("no" | "yes");
binary?: boolean;

@@ -684,3 +684,3 @@ defaultCmykProfile?: string;

paperHeight?: number;
paperSize?: ('A3' | 'A4' | 'legal' | 'letter' | 'match');
paperSize?: ("A3" | "A4" | "legal" | "letter" | "match");
paperWidth?: number;

@@ -690,6 +690,6 @@ passfonts?: boolean;

printVersionInfo?: boolean;
processColorFormat?: ('CMYK8' | 'MONO8' | 'RGB8');
processColorFormat?: ("CMYK8" | "MONO8" | "RGB8");
processColorProfile?: string;
quiet?: boolean;
rasterize?: ('always' | 'never' | 'whenneeded');
rasterize?: ("always" | "never" | "whenneeded");
resolutionXYAxis?: number;

@@ -754,3 +754,3 @@ userPassword?: string;

cropYAxis?: number;
eolConvention?: ('dos' | 'mac' | 'unix');
eolConvention?: ("dos" | "mac" | "unix");
firstPageToConvert?: number;

@@ -757,0 +757,0 @@ fixedWidthLayout?: number;

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