From ba64ec673d2ba6b5db7332e06a07456a7e0f8160 Mon Sep 17 00:00:00 2001 From: Matthew Collier Date: Fri, 10 Nov 2017 18:08:04 -0500 Subject: [PATCH] Dep. replace unmaintained `marked` with `8fold-marked`. --- package.json | 2 +- src/parser/devTools/docGen.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8028cc456..7a63d36b6 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "extractTypings": "node ./dist/devUtil/extractTypings.js" }, "dependencies": { + "8fold-marked": "0.3.8", "base64url": "2.0.0", "change-case": "3.0.1", "concat-stream": "1.6.0", @@ -34,7 +35,6 @@ "loophole": "1.1.0", "lrucache": "1.0.3", "promise-polyfill": "6.0.2", - "marked": "0.3.6", "media-typer": "0.3.0", "mkdirp": "0.5.1", "pluralize": "7.0.0", diff --git a/src/parser/devTools/docGen.ts b/src/parser/devTools/docGen.ts index 120750e37..b13ab2958 100644 --- a/src/parser/devTools/docGen.ts +++ b/src/parser/devTools/docGen.ts @@ -1,7 +1,7 @@ import def=require("raml-definition-system") import _=require("underscore") import fs=require("fs") -import marked = require('marked'); +import marked = require('8fold-marked'); import services=def export function def2Doc(t:def.NodeClass,refPrefix:string=''):string{ @@ -567,4 +567,3 @@ export function table(d:ITableDataProvider,isInRefSection:boolean=false,ref result.push("") return result.join("\n") } -