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

idea-html2pdf

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idea-html2pdf - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

3

dist/src/html2pdf.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" />
import * as Handlebars from 'handlebars';

@@ -35,3 +34,3 @@ import { Languages, SignedURL } from 'idea-toolbox';

*/
create(params: HTML2PDFCreateParameters): Promise<Buffer>;
create(params: HTML2PDFCreateParameters): Promise<Uint8Array>;
/**

@@ -38,0 +37,0 @@ * Create a new PDF created by an HTML source.

@@ -129,3 +129,3 @@ "use strict";

const { Payload } = await lambda.send(command);
return Buffer.from(Payload, 'base64');
return Payload;
}

@@ -169,2 +169,3 @@ catch (err) {

const pdfData = await this.create(params);
console.log(pdfData);
const Bucket = params.s3Bucket;

@@ -171,0 +172,0 @@ const Key = params.s3Prefix.concat('/', Date.now().toString().concat(Math.random().toString(36).slice(2)), '.pdf');

{
"name": "idea-html2pdf",
"version": "2.1.5",
"version": "2.1.6",
"description": "IDEA helper for generating a PDF from HTML contents",

@@ -5,0 +5,0 @@ "engines": {

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