typedoc-plugin-markdown
Advanced tools
Comparing version 1.0.14 to 1.0.15
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var toMarkdown = require("to-markdown"); | ||
var TurndownService = require('turndown'); | ||
var turndownService = new TurndownService(); | ||
function getMarkdownFromHtml(options) { | ||
return toMarkdown(options.fn(this)); | ||
return turndownService.turndown(options.fn(this)); | ||
} | ||
exports.getMarkdownFromHtml = getMarkdownFromHtml; |
{ | ||
"name": "typedoc-plugin-markdown", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "A plugin for Typedoc that exposes themes and options for rendering markdown.", | ||
@@ -44,14 +44,13 @@ "main": "dist/index.js", | ||
"@types/chai": "^4.1.2", | ||
"@types/mocha": "^2.2.48", | ||
"@types/to-markdown": "^3.0.0", | ||
"@types/mocha": "^5.0.0", | ||
"chai": "^4.1.2", | ||
"chai-files": "^1.4.0", | ||
"copyfiles": "^1.2.0", | ||
"mocha": "^5.0.1", | ||
"copyfiles": "^2.0.0", | ||
"mocha": "^5.0.5", | ||
"tslint": "^5.9.1", | ||
"typedoc": "^0.10.0", | ||
"typescript": "2.7.1" | ||
"typedoc": "^0.11.1", | ||
"typescript": "2.7.2" | ||
}, | ||
"dependencies": { | ||
"to-markdown": "^3.1.1" | ||
"turndown": "^4.0.1" | ||
}, | ||
@@ -58,0 +57,0 @@ "greenkeeper": { |
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
35170
9
498
+ Addedturndown@^4.0.1
+ Addedabab@2.0.6(transitive)
+ Addedacorn@5.7.46.4.2(transitive)
+ Addedacorn-globals@4.3.4(transitive)
+ Addedacorn-walk@6.2.0(transitive)
+ Addedasync-limiter@1.0.1(transitive)
+ Addedbrowser-process-hrtime@1.0.0(transitive)
+ Addedcssstyle@1.4.0(transitive)
+ Addeddata-urls@1.1.0(transitive)
+ Addeddomexception@1.0.1(transitive)
+ Addedjsdom@11.12.0(transitive)
+ Addedleft-pad@1.3.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlodash.sortby@4.7.0(transitive)
+ Addednwsapi@2.2.16(transitive)
+ Addedparse5@4.0.0(transitive)
+ Addedpn@1.1.0(transitive)
+ Addedrequest-promise-core@1.1.4(transitive)
+ Addedrequest-promise-native@1.0.9(transitive)
+ Addedstealthy-require@1.1.1(transitive)
+ Addedtr46@1.0.1(transitive)
+ Addedturndown@4.0.2(transitive)
+ Addedw3c-hr-time@1.0.2(transitive)
+ Addedwhatwg-mimetype@2.3.0(transitive)
+ Addedwhatwg-url@6.5.07.1.0(transitive)
+ Addedws@5.2.4(transitive)
+ Addedxml-name-validator@3.0.0(transitive)
- Removedto-markdown@^3.1.1
- Removedabab@1.0.4(transitive)
- Removedacorn@4.0.13(transitive)
- Removedacorn-globals@3.1.0(transitive)
- Removedblock-elements@1.2.0(transitive)
- Removedcollapse-whitespace@1.1.2(transitive)
- Removedcontent-type-parser@1.0.2(transitive)
- Removedcssstyle@0.2.37(transitive)
- Removedjsdom@9.12.0(transitive)
- Removednwmatcher@1.4.4(transitive)
- Removedparse5@1.5.1(transitive)
- Removedto-markdown@3.1.1(transitive)
- Removedtr46@0.0.3(transitive)
- Removedvoid-elements@2.0.1(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@4.8.0(transitive)
- Removedxml-name-validator@2.0.1(transitive)