Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9560d1d

Browse files
committed
Merge branch 'develop'
* develop: Switched marked dependency to 8fold-marked Replace unmaintained `marked` dependency with `8fold-marked`. (#372)
2 parents 680f0f5 + 66149f3 commit 9560d1d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
6.4.2 - November 10, 2017
2+
- Switched marked dependency to 8fold-marked
3+
14
6.4.1 - August 4, 2017
25
- Fixed a bug where if no options were given at all to the render function you'd get an error
36

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const raml2obj = require('raml2obj');
44
const pjson = require('./package.json');
55
const nunjucks = require('nunjucks');
66
const markdown = require('nunjucks-markdown');
7-
const marked = require('marked');
7+
const marked = require('8fold-marked');
88
const Minimize = require('minimize');
99
const path = require('path');
1010
const fs = require('fs');
@@ -63,7 +63,7 @@ function getConfigForTemplate(mainTemplate) {
6363
const templateFile = path.basename(fs.realpathSync(mainTemplate));
6464

6565
return {
66-
processRamlObj(ramlObj, config, options) {
66+
processRamlObj(ramlObj, config) {
6767
const renderer = new marked.Renderer();
6868
renderer.table = function(thead, tbody) {
6969
// Render Bootstrap style tables

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "raml2html",
33
"description": "RAML to HTML documentation generator",
4-
"version": "6.4.1",
4+
"version": "6.4.2",
55
"author": {
66
"name": "Kevin Renskers",
77
"email": "[email protected]"
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/raml2html/raml2html/issues"
1111
},
1212
"dependencies": {
13-
"marked": "0.3.x",
13+
"8fold-marked": "0.3.x",
1414
"minimize": "2.1.x",
1515
"nunjucks": "2.5.x",
1616
"nunjucks-markdown": "2.0.x",

0 commit comments

Comments
 (0)