chore(deps): Remove markdown dependency (#1792)

This commit is contained in:
Tony Brix 2020-10-22 14:18:01 -05:00 committed by GitHub
parent 2f45eecd92
commit ef2f9eecff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14253 additions and 1180 deletions

15413
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,7 +33,7 @@
"html" "html"
], ],
"devDependencies": { "devDependencies": {
"@babel/core": "^7.11.6", "@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1", "@babel/preset-env": "^7.12.1",
"@markedjs/html-differ": "^3.0.3", "@markedjs/html-differ": "^3.0.3",
"@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/commit-analyzer": "^8.0.1",
@ -43,16 +43,15 @@
"@semantic-release/release-notes-generator": "^9.0.1", "@semantic-release/release-notes-generator": "^9.0.1",
"cheerio": "^1.0.0-rc.3", "cheerio": "^1.0.0-rc.3",
"commonmark": "0.29.2", "commonmark": "0.29.2",
"eslint": "^7.10.0", "eslint": "^7.11.0",
"eslint-config-standard": "^14.1.1", "eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1", "eslint-plugin-standard": "^4.0.1",
"front-matter": "^4.0.2", "front-matter": "^4.0.2",
"highlight.js": "^10.2.0", "highlight.js": "^10.3.1",
"jasmine": "^3.6.1", "jasmine": "^3.6.2",
"markdown": "0.5.x",
"markdown-it": "12.0.1", "markdown-it": "12.0.1",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"rollup": "^2.32.1", "rollup": "^2.32.1",
@ -61,7 +60,7 @@
"rollup-plugin-license": "^2.2.0", "rollup-plugin-license": "^2.2.0",
"semantic-release": "^17.2.1", "semantic-release": "^17.2.1",
"titleize": "^2.1.0", "titleize": "^2.1.0",
"uglify-js": "^3.11.0", "uglify-js": "^3.11.3",
"vuln-regex-detector": "^1.3.0" "vuln-regex-detector": "^1.3.0"
}, },
"scripts": { "scripts": {

9
test/bench.js vendored
View File

@ -124,15 +124,6 @@ async function runBench(options) {
} catch (e) { } catch (e) {
console.error('Could not bench markdown-it. (Error: %s)', e.message); console.error('Could not bench markdown-it. (Error: %s)', e.message);
} }
try {
await bench('markdown.js', specs, (() => {
const md = require('markdown').markdown;
return md.toHTML.bind(md);
})());
} catch (e) {
console.error('Could not bench markdown.js. (Error: %s)', e.message);
}
} }
async function bench(name, specs, engine) { async function bench(name, specs, engine) {