Socket
Socket
Sign inDemoInstall

pdf-to-png-converter

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf-to-png-converter - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

0

out/const.d.ts
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";

2

out/types/pdf.to.png.options.d.ts

@@ -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

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