pdf-to-png-converter
Advanced tools
Comparing version 2.6.0 to 2.7.0
import { PdfToPngOptions } from "./types/pdf.to.png.options"; | ||
export declare const PDF_TO_PNG_OPTIONS_DEFAULTS: PdfToPngOptions; | ||
//# sourceMappingURL=const.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export { pdfToPng } from './pdf.to.png'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import Canvas from 'canvas'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { PdfToPngOptions, PngPageOutput } from '.'; | ||
export declare function pdfToPng(pdfFilePathOrBuffer: string | ArrayBufferLike, props?: PdfToPngOptions): Promise<PngPageOutput[]>; | ||
//# sourceMappingURL=pdf.to.png.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import * as pdfApiTypes from 'pdfjs-dist/types/src/display/api'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -1,2 +0,2 @@ | ||
export declare type PdfToPngOptions = { | ||
export type PdfToPngOptions = { | ||
viewportScale?: number; | ||
@@ -3,0 +3,0 @@ disableFontFace?: boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=pdf.to.png.options.js.map |
/// <reference types="node" /> | ||
export declare type PngPageOutput = { | ||
export type PngPageOutput = { | ||
name: string; | ||
@@ -4,0 +4,0 @@ content: Buffer; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=png.page.output.js.map |
@@ -0,0 +0,0 @@ export declare const VerbosityLevel: { |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "pdf-to-png-converter", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "Node.js utility to convert PDF file/buffer pages to PNG files/buffers with no native dependencies.", | ||
@@ -43,17 +43,17 @@ "keywords": [ | ||
"dependencies": { | ||
"canvas": "2.10.1", | ||
"pdfjs-dist": "2.16.105" | ||
"canvas": "^2.10.2", | ||
"pdfjs-dist": "^3.0.279" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "29.0.3", | ||
"@types/node": "18.7.18", | ||
"@typescript-eslint/eslint-plugin": "5.37.0", | ||
"@typescript-eslint/parser": "5.37.0", | ||
"eslint": "8.23.1", | ||
"jest": "29.0.3", | ||
"png-visual-compare": "0.4.15", | ||
"ts-jest": "29.0.1", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.8.3" | ||
"@types/jest": "^29.2.3", | ||
"@types/node": "^18.11.9", | ||
"@typescript-eslint/eslint-plugin": "^5.44.0", | ||
"@typescript-eslint/parser": "^5.44.0", | ||
"eslint": "^8.28.0", | ||
"jest": "^29.3.1", | ||
"png-visual-compare": "^0.5.1", | ||
"ts-jest": "^29.0.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.3" | ||
} | ||
} |
@@ -14,3 +14,3 @@ # pdf-to-png-converter | ||
```bash | ||
arch -arm64 brew install pkg-config cairo pango libpng jpeg giflib librsvg | ||
arch -arm64 brew install pkg-config cairo pango libpng librsvg | ||
``` | ||
@@ -17,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
23377
+ Addedcanvas@2.11.2(transitive)
+ Addedpath2d@0.1.1(transitive)
+ Addedpath2d-polyfill@2.1.1(transitive)
+ Addedpdfjs-dist@3.11.174(transitive)
- Removedcanvas@2.10.1(transitive)
- Removeddommatrix@1.0.3(transitive)
- Removedpdfjs-dist@2.16.105(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)
Updatedcanvas@^2.10.2
Updatedpdfjs-dist@^3.0.279