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

@types/pdfobject

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pdfobject - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

26

pdfobject/index.d.ts

@@ -12,15 +12,15 @@ // Type definitions for PDFObject 2.2

export interface Options {
id?: string;
page?: boolean;
pdfOpenParams?: Record<string, string | number | boolean>;
fallbackLink?: boolean;
width?: string;
height?: string;
assumptionMode?: boolean;
forcePDFJS?: boolean;
supportRedirect?: boolean;
omitInlineStyles?: boolean;
suppressConsole?: boolean;
forceIframe?: boolean;
PDFJS_URL?: string;
id?: string | undefined;
page?: boolean | undefined;
pdfOpenParams?: Record<string, string | number | boolean> | undefined;
fallbackLink?: boolean | undefined;
width?: string | undefined;
height?: string | undefined;
assumptionMode?: boolean | undefined;
forcePDFJS?: boolean | undefined;
supportRedirect?: boolean | undefined;
omitInlineStyles?: boolean | undefined;
suppressConsole?: boolean | undefined;
forceIframe?: boolean | undefined;
PDFJS_URL?: string | undefined;
}
{
"name": "@types/pdfobject",
"version": "2.2.0",
"version": "2.2.1",
"description": "TypeScript definitions for PDFObject",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "329709a2ead841f8570b31f35ef2bd1bab8abf2cc23384e18173ca68b94071dd",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "cbcf11d29b60b23215f65a32498de36e3388cd87663ac2decbf5a6a3a47972d1",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,34 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject/index.d.ts)
````ts
// Type definitions for PDFObject 2.2
// Project: https://github.com/pipwerks/PDFObject
// Definitions by: Niels Boogaard <https://github.com/nielsboogaard>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
export as namespace PDFObject;
export function embed(url: string, target?: any, options?: Options): HTMLElement;
export const pdfobjectversion: "2.2.3";
export const supportsPDFs: boolean;
export interface Options {
id?: string | undefined;
page?: boolean | undefined;
pdfOpenParams?: Record<string, string | number | boolean> | undefined;
fallbackLink?: boolean | undefined;
width?: string | undefined;
height?: string | undefined;
assumptionMode?: boolean | undefined;
forcePDFJS?: boolean | undefined;
supportRedirect?: boolean | undefined;
omitInlineStyles?: boolean | undefined;
suppressConsole?: boolean | undefined;
forceIframe?: boolean | undefined;
PDFJS_URL?: string | undefined;
}
````
### Additional Details
* Last updated: Tue, 04 May 2021 21:31:25 GMT
* Last updated: Thu, 08 Jul 2021 20:19:30 GMT
* Dependencies: none

@@ -14,0 +43,0 @@ * Global values: `PDFObject`

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