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

pdfactory-core

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfactory-core - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

7

dist/types.d.ts

@@ -13,3 +13,2 @@ /// <reference types="node" />

}
export type Pdfactory = (config: PdfactoryConfig, additionalConfig: EjsConfig, pdfOptions: PDFOptions) => Promise<({ document, data }: PdfRequest) => Promise<Buffer | PdfactoryError<ErrorType.DocumentNotFoundError | ErrorType.DocumentRenderingError>>> | PdfactoryError<ErrorType.UnsupportedFileTypeError>;
export interface PdfactoryConfig {

@@ -22,2 +21,8 @@ useFileSystem: boolean;

}
export type PdfactoryInitializationParams = {
config?: PdfactoryConfig;
ejsConfig?: EjsConfig;
pdfOptions?: PDFOptions;
};
export type Pdfactory = (params: PdfactoryInitializationParams) => Promise<({ document, data }: PdfRequest) => Promise<Buffer | PdfactoryError<ErrorType.DocumentNotFoundError | ErrorType.DocumentRenderingError>>> | PdfactoryError<ErrorType.UnsupportedFileTypeError>;
export interface PdfRequest {

@@ -24,0 +29,0 @@ document: string;

2

package.json
{
"author": "pdfactory-core",
"name": "pdfactory-core",
"version": "0.0.37",
"version": "0.0.38",
"type": "module",

@@ -6,0 +6,0 @@ "files": [

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