Skip to content

Commit

Permalink
upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenq committed May 31, 2020
1 parent 5c42fde commit e770d93
Show file tree
Hide file tree
Showing 6 changed files with 1,480 additions and 1,254 deletions.
24 changes: 13 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
},
"main": "dist/markdown-it-vue.umd.min.js",
"dependencies": {
"echarts": "^4.5.0",
"echarts": "^4.8.0",
"flowchart.js": "^1.13.0",
"github-markdown-css": "^3.0.1",
"font-awesome-icon-chars": "^2.5.0",
"github-markdown-css": "^4.0.0",
"highlight.js": "^10.0.3",
"markdown-it": "^10.0.0",
"markdown-it-abbr": "^1.0.4",
Expand All @@ -44,24 +45,25 @@
"markdown-it-katex": "^2.0.3",
"markdown-it-latex": "^0.2.0",
"markdown-it-mark": "^3.0.0",
"markdown-it-regex": "^0.2.0",
"markdown-it-source-map": "^0.1.1",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"markdown-it-task-lists": "^2.1.1",
"markdown-it-toc-and-anchor": "^4.1.2",
"mermaid": "^8.4.3",
"vue": "^2.6.6"
"mermaid": "^8.5.1",
"vue": "^2.6.11"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.1.1",
"@vue/cli-plugin-eslint": "^4.1.1",
"@vue/cli-service": "^4.1.1",
"babel-eslint": "^10.0.1",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^5.0.0",
"@vue/cli-plugin-babel": "^4.4.1",
"@vue/cli-plugin-eslint": "^4.4.1",
"@vue/cli-service": "^4.4.1",
"babel-eslint": "^10.1.0",
"eslint": "^7.1.0",
"eslint-plugin-vue": "^6.2.2",
"vue-cli-plugin-component-lib": "^0.1.6",
"vue-cli-plugin-webpack-bundle-analyzer": "^2.0.0",
"vue-template-compiler": "^2.5.21"
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
"root": true,
Expand Down
3 changes: 2 additions & 1 deletion src/markdown-it-font-awsome/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import './font-awsome/css/font-awesome.min.css'

import { rendererRule, coreRuler } from 'markdown-it-regex'
import faIconChars from 'font-awesome-icon-chars'
import { solid, regular, brands } from 'font-awesome-icon-chars'
const faIconChars = [...solid, ...regular, ...brands]

const iconsPlugin = (md) => {
let options = null
Expand Down
2 changes: 0 additions & 2 deletions src/markdown-it-highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Shell from 'highlight.js/lib/languages/shell'
import Bash from 'highlight.js/lib/languages/bash'
import C from 'highlight.js/lib/languages/c'
import Clike from 'highlight.js/lib/languages/c-like'
import C1 from 'highlight.js/lib/languages/1c'
import Java from 'highlight.js/lib/languages/java'
import Python from 'highlight.js/lib/languages/python'
import Cpp from 'highlight.js/lib/languages/cpp'
Expand Down Expand Up @@ -54,7 +53,6 @@ hljs.registerLanguage('htmlbars', Htmlbars)
hljs.registerLanguage('css', Css)
hljs.registerLanguage('shell', Shell)
hljs.registerLanguage('bash', Bash)
hljs.registerLanguage('1c', C1)
hljs.registerLanguage('c-like', Clike)
hljs.registerLanguage('c', C)
hljs.registerLanguage('cpp', Cpp)
Expand Down
1 change: 0 additions & 1 deletion src/markdown-it-vue-light.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import MarkdownItHighlight from './markdown-it-highlight'
import MarkdownItFontAwsome from './markdown-it-font-awsome'
import 'github-markdown-css'
import 'markdown-it-latex/dist/index.css'
import 'markdown-it-icons/dist/index.css'
import echarts from 'echarts/dist/echarts.simple.min'
import flowchart from 'flowchart.js'
Expand Down
1 change: 0 additions & 1 deletion src/markdown-it-vue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import MarkdownItHighlight from './markdown-it-highlight'
import MarkdownItFontAwsome from './markdown-it-font-awsome'
import 'github-markdown-css'
import 'markdown-it-latex/dist/index.css'
import 'markdown-it-icons/dist/index.css'
import echarts from 'echarts/dist/echarts.simple.min'
import mermaid from 'mermaid'
Expand Down
Loading

0 comments on commit e770d93

Please sign in to comment.