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

@types/pdfkit

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pdfkit - npm Package Compare versions

Comparing version 0.7.30 to 0.7.31

10

pdfkit/index.d.ts

@@ -88,5 +88,5 @@ // Type definitions for Pdfkit v0.7.2

interface PDFImage<TDocument> {
/**
* Draw an image in PDFKit document.
*/
/**
* Draw an image in PDFKit document.
*/
image(src: any, x?: number, y?: number, options?: ImageOption): TDocument;

@@ -235,3 +235,5 @@ image(src: any, options?: ImageOption): TDocument;

size?: number[];
margin?: { top: number; left: number; bottom: number; right: number }|number;
margin?: number;
margins?: { top: number; left: number; bottom: number; right: number };
layout?: "portrait" | "landscape";

@@ -238,0 +240,0 @@ bufferPages?: boolean;

7

pdfkit/package.json
{
"name": "@types/pdfkit",
"version": "0.7.30",
"version": "0.7.31",
"description": "TypeScript definitions for Pdfkit v0.7.2",

@@ -14,5 +14,6 @@ "license": "MIT",

"dependencies": {
"@types/node": "6.0.*"
"@types/node": "*"
},
"typings": "index.d.ts"
"typings": "index.d.ts",
"typesPublisherContentHash": "2ed65d669348ed8449ede1e1ac726eafffcbe6a84d32c71b182bcbe7dba8f7ba"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Thu, 25 Aug 2016 16:56:08 GMT
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: MultipleModules

@@ -14,0 +14,0 @@ * Library Dependencies: node

@@ -36,3 +36,3 @@ {

"hasPackageJson": false,
"contentHash": "7f48fea1bda2246f28f9cc61c6a0539ead9704d1734d2ce976b4575bd1efc49e"
"contentHash": "2ed65d669348ed8449ede1e1ac726eafffcbe6a84d32c71b182bcbe7dba8f7ba"
}
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