Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckson committed Mar 26, 2023
1 parent d69a121 commit 82eca11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var common = {
return value;
}

var html = marked(value)
var html = marked.parse(value)
// We strip the surrounding <p>-tag, if
if (stripParagraph) {
var $ = cheerio.load("<root>" + html + "</root>")
Expand Down Expand Up @@ -183,7 +183,7 @@ var common = {
// Add an extra CRLR before the code so the postprocessor can determine
// the correct line indent for the <pre> tag.

var $ = cheerio.load(marked(toyaml ? "```yaml\r\n" + schemaString + "```" : "```json\r\n" + schemaString + "\n```"))
var $ = cheerio.load(marked.parse(toyaml ? "```yaml\r\n" + schemaString + "```" : "```json\r\n" + schemaString + "\n```"))
var definitions = $('span:not(:has(span)):contains("#/definitions/")')
definitions.each(function(index, item) {
var ref = $(item).html()
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"cheerio": "^1.0.0-rc.10",
"clarify": "^2.1.0",
"coffeescript": "^2.5.1",
"commander": "^8.2.0",
"commander": "^10.0.0",
"foundation-sites": "^6.7.2",
"grunt": "^1.4.1",
"grunt-compile-handlebars": "^2.0.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^4.0.0",
Expand All @@ -60,14 +60,14 @@
"json-refs": "^3.0.15",
"json-stable-stringify": "^1.0.1",
"lodash": "^4.17.21",
"marked": "^2.1.3",
"marked": "^4.3.0",
"sass": "^1.60.0",
"sync-request": "^6.1.0",
"tmp": "^0.2.1",
"trace": "^3.1.1"
},
"devDependencies": {
"chai": "^4.3.4",
"mocha": "^9.1.1"
"mocha": "^10.2.0"
}
}

0 comments on commit 82eca11

Please sign in to comment.