chore: update deps

pull/312/head
Anthony Fu 4 years ago
parent e651f977d6
commit 9f1b2b1ae2

@ -65,54 +65,54 @@
"dependencies": { "dependencies": {
"@docsearch/css": "^1.0.0-alpha.28", "@docsearch/css": "^1.0.0-alpha.28",
"@docsearch/js": "^1.0.0-alpha.28", "@docsearch/js": "^1.0.0-alpha.28",
"@vitejs/plugin-vue": "^1.1.4", "@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.0.5", "@vue/compiler-sfc": "^3.0.11",
"@vue/server-renderer": "^3.0.5", "@vue/server-renderer": "^3.0.11",
"chalk": "^4.1.0", "chalk": "^4.1.1",
"compression": "^1.7.4", "compression": "^1.7.4",
"debug": "^4.1.1", "debug": "^4.3.2",
"diacritics": "^1.3.0", "diacritics": "^1.3.0",
"escape-html": "^1.0.3", "escape-html": "^1.0.3",
"fs-extra": "^9.1.0", "fs-extra": "^10.0.0",
"globby": "^11.0.2", "globby": "^11.0.3",
"gray-matter": "^4.0.2", "gray-matter": "^4.0.3",
"lru-cache": "^6.0.0", "lru-cache": "^6.0.0",
"markdown-it": "^10.0.0", "markdown-it": "^12.0.6",
"markdown-it-anchor": "^5.2.7", "markdown-it-anchor": "^7.1.0",
"markdown-it-container": "^2.0.0", "markdown-it-container": "^3.0.0",
"markdown-it-emoji": "^1.4.0", "markdown-it-emoji": "^2.0.0",
"markdown-it-table-of-contents": "^0.4.4", "markdown-it-table-of-contents": "^0.5.2",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"ora": "^5.3.0", "ora": "^5.4.0",
"polka": "^0.5.2", "polka": "^0.5.2",
"prismjs": "^1.23.0", "prismjs": "^1.23.0",
"sirv": "^1.0.11", "sirv": "^1.0.12",
"vite": "^2.0.5", "vite": "^2.3.4",
"vue": "^3.0.5" "vue": "^3.0.11"
}, },
"devDependencies": { "devDependencies": {
"@types/compression": "^1.7.0", "@types/compression": "^1.7.0",
"@types/fs-extra": "^9.0.1", "@types/fs-extra": "^9.0.11",
"@types/jest": "^26.0.20", "@types/jest": "^26.0.23",
"@types/koa": "^2.11.7", "@types/koa": "^2.13.1",
"@types/koa-static": "^4.0.1", "@types/koa-static": "^4.0.1",
"@types/lru-cache": "^5.1.0", "@types/lru-cache": "^5.1.0",
"@types/markdown-it": "^10.0.2", "@types/markdown-it": "^12.0.1",
"@types/node": "^14.14.25", "@types/node": "^15.6.1",
"@types/postcss-load-config": "^2.0.1", "@types/postcss-load-config": "^3.0.1",
"chokidar": "^3.5.1", "chokidar": "^3.5.1",
"conventional-changelog-cli": "^2.1.0", "conventional-changelog-cli": "^2.1.1",
"enquirer": "^2.3.6", "enquirer": "^2.3.6",
"execa": "^5.0.0", "execa": "^5.0.0",
"jest": "^26.6.3", "jest": "^27.0.1",
"lint-staged": "^10.5.4", "lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.0.5", "prettier": "^2.3.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"rollup": "^2.38.5", "rollup": "^2.38.5",
"semver": "^7.3.2", "semver": "^7.3.5",
"ts-jest": "^26.5.1", "ts-jest": "^27.0.1",
"typescript": "^4.1.4", "typescript": "^4.3.2",
"yorkie": "^2.0.0" "yorkie": "^2.0.0"
} }
} }

@ -24,7 +24,7 @@ export const highlightLinePlugin = (md: MarkdownIt) => {
.map((v) => v.split('-').map((v) => parseInt(v, 10))) .map((v) => v.split('-').map((v) => parseInt(v, 10)))
const code = options.highlight const code = options.highlight
? options.highlight(token.content, langName) ? options.highlight(token.content, langName, '')
: token.content : token.content
const rawCode = code.replace(wrapperRE, '') const rawCode = code.replace(wrapperRE, '')

@ -6,6 +6,7 @@
"strict": true, "strict": true,
"declaration": true, "declaration": true,
"noUnusedLocals": true, "noUnusedLocals": true,
"skipLibCheck": true,
"esModuleInterop": true, "esModuleInterop": true,
"lib": ["ESNext", "DOM"], "lib": ["ESNext", "DOM"],
"types": ["node", "jest"], "types": ["node", "jest"],

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save