diff --git a/package-lock.json b/package-lock.json index db5c611ac..05db5238e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1970,9 +1970,9 @@ "dev": true }, "marked": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", - "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.0.10.tgz", + "integrity": "sha512-+QvuFj0nGgO970fySghXGmuw+Fd0gD2x3+MqCWLIPf5oxdv1Ka6b2q+z9RP01P/IaKPMEramy+7cNy/Lw8c3hw==", "dev": true }, "memorystream": { diff --git a/package.json b/package.json index 903be6953..be592b24f 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "istanbul": "^0.4.5", "lint-staged": "^9.4.1", "locater": "^1.3.0", - "marked": "^0.7.0", + "marked": "^4.0.10", "minimist": "^1.2.0", "npm-run-all": "^4.1.5", "ospec": "^4.0.1", diff --git a/scripts/generate-docs.js b/scripts/generate-docs.js index fa25ccc50..b6719346a 100644 --- a/scripts/generate-docs.js +++ b/scripts/generate-docs.js @@ -3,7 +3,7 @@ const {promises: fs} = require("fs") const path = require("path") const {promisify} = require("util") -const marked = require("marked") +const {marked} = require("marked") const rimraf = promisify(require("rimraf")) const {execFileSync} = require("child_process") const escapeRegExp = require("escape-string-regexp")