Socket
Socket
Sign inDemoInstall

@types/markdown-pdf

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.0 to 9.0.1

24

markdown-pdf/index.d.ts

@@ -14,23 +14,23 @@ // Type definitions for MarkdownPDF (markdown-pdf) 9.0

/** Current working directory. */
cwd?: string;
cwd?: string | undefined;
/** Path to the phantomjs library. */
phantomPath?: string;
phantomPath?: string | undefined;
/** Path to custom CSS file, relative to current directory. */
cssPath?: string;
cssPath?: string | undefined;
/** Path to custorm highlight CSS file (for code highlighting with highlight.js), relative to the current directory. */
highlightCssPath?: string;
highlightCssPath?: string | undefined;
/** Path to CommonJS module which sets the page header and footer (see runnings.js). */
runningsPath?: string;
runningsPath?: string | undefined;
/** Delay (in ms) before the PDF is rendered. */
renderDelay?: number;
renderDelay?: number | undefined;
/** If renderDelay option isn't set, this is the timeout (in ms) before the page is rendered in case the page.onLoadFinished event doesn't fire. */
loadTimeout?: number;
loadTimeout?: number | undefined;
/** Supported dimension units are: 'mm', 'cm', 'in', 'px' */
paperBorder?: string;
paperFormat?: PaperFormat;
paperOrientation?: PaperOrientation;
paperBorder?: string | undefined;
paperFormat?: PaperFormat | undefined;
paperOrientation?: PaperOrientation | undefined;
/** A function that returns a through2 stream that transforms the markdown before it is converted to HTML. */
preProcessMd?: () => any;
preProcessMd?: (() => any) | undefined;
/** A function that returns a through2 stream that transforms the HTML before it is converted to PDF. */
preProcessHtml?: () => any;
preProcessHtml?: (() => any) | undefined;
/** A config object that is passed to remarkable, the underlying markdown parser */

@@ -37,0 +37,0 @@ remarkable?: any; // FIXME: remarkable config types

{
"name": "@types/markdown-pdf",
"version": "9.0.0",
"version": "9.0.1",
"description": "TypeScript definitions for MarkdownPDF (markdown-pdf)",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/markdown-pdf",
"license": "MIT",

@@ -14,10 +15,12 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/markdown-pdf"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "58f8e48ab4ae9306de112d37bc4aa7b36d8a861e3ab18fbc4c093633974e529d",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "c31b19942a8aac299a8bfd17227d5bf630e9ad26decbe2ff2f3c76c56f64b20f",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/markdown-pdf
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/markdown-pdf.
Additional Details
* Last updated: Mon, 06 Aug 2018 21:55:25 GMT
### Additional Details
* Last updated: Thu, 08 Jul 2021 16:24:00 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Ange PICARD <https://github.com/MonsieurMan>.
These definitions were written by [Ange PICARD](https://github.com/MonsieurMan).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc