chore(deps): Remove markdown dependency (#1792)
This commit is contained in:
parent
2f45eecd92
commit
ef2f9eecff
15413
package-lock.json
generated
15413
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
@ -33,7 +33,7 @@
|
||||
"html"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@markedjs/html-differ": "^3.0.3",
|
||||
"@semantic-release/commit-analyzer": "^8.0.1",
|
||||
@ -43,16 +43,15 @@
|
||||
"@semantic-release/release-notes-generator": "^9.0.1",
|
||||
"cheerio": "^1.0.0-rc.3",
|
||||
"commonmark": "0.29.2",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint": "^7.11.0",
|
||||
"eslint-config-standard": "^14.1.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^4.2.1",
|
||||
"eslint-plugin-standard": "^4.0.1",
|
||||
"front-matter": "^4.0.2",
|
||||
"highlight.js": "^10.2.0",
|
||||
"jasmine": "^3.6.1",
|
||||
"markdown": "0.5.x",
|
||||
"highlight.js": "^10.3.1",
|
||||
"jasmine": "^3.6.2",
|
||||
"markdown-it": "12.0.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"rollup": "^2.32.1",
|
||||
@ -61,7 +60,7 @@
|
||||
"rollup-plugin-license": "^2.2.0",
|
||||
"semantic-release": "^17.2.1",
|
||||
"titleize": "^2.1.0",
|
||||
"uglify-js": "^3.11.0",
|
||||
"uglify-js": "^3.11.3",
|
||||
"vuln-regex-detector": "^1.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
9
test/bench.js
vendored
9
test/bench.js
vendored
@ -124,15 +124,6 @@ async function runBench(options) {
|
||||
} catch (e) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user