@types/pdfobject
Advanced tools
Comparing version 2.0.6 to 2.2.0
@@ -1,16 +0,25 @@ | ||
// Type definitions for PDFObject v2.0.201604172 | ||
// 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; | ||
declare module "pdfobject" { | ||
interface PDFObject { | ||
embed(url:string, target?:any, options?:any): HTMLElement; | ||
pdfobjectversion: string; | ||
supportsPDFs: boolean; | ||
} | ||
var pdfObject: PDFObject; | ||
export = pdfObject; | ||
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; | ||
} |
{ | ||
"name": "@types/pdfobject", | ||
"version": "2.0.6", | ||
"version": "2.2.0", | ||
"description": "TypeScript definitions for PDFObject", | ||
@@ -9,14 +9,22 @@ "license": "MIT", | ||
"name": "Niels Boogaard", | ||
"url": "https://github.com/nielsboogaard" | ||
"url": "https://github.com/nielsboogaard", | ||
"githubUsername": "nielsboogaard" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/pdfobject" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "523c645bf090da67e8113e1ba8ff3cda63a7e78c2952a38e88b786b0e940607f", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "329709a2ead841f8570b31f35ef2bd1bab8abf2cc23384e18173ca68b94071dd", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject. | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:59:27 GMT | ||
### Additional Details | ||
* Last updated: Tue, 04 May 2021 21:31:25 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
* Global values: `PDFObject` | ||
# Credits | ||
These definitions were written by Niels Boogaard <https://github.com/nielsboogaard>. | ||
These definitions were written by [Niels Boogaard](https://github.com/nielsboogaard), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3482
24