Skip to content

Commit

Permalink
chore(): upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Apr 15, 2021
1 parent bc68dbb commit 0cc7109
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const syntaxHlStr = (lang, script, opts, indentStart) => {
script = indentStr + script
}

const code = hljs.highlight(lang, script).value
const code = hljs.highlight(script, { language: lang }).value
const lines = code.split('\n')

lines.forEach((line, lineNumber) => {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@
"array-uniq": "^2.1.0",
"camelcase": "^6.2.0",
"chalk": "^4.1.0",
"cheerio": "^1.0.0-rc.2",
"cheerio": "^1.0.0-rc.6",
"deepmerge": "^4.2.2",
"detect-indent": "^6.0.0",
"he": "^1.1.1",
"highlight.js": "^10.4.0",
"highlight.js": "^10.7.2",
"min-indent": "^1.0.0",
"strip-ansi": "^6.0.0",
"strip-indent": "^3.0.0",
"super-split": "^1.1.0"
},
"devDependencies": {
"@12core/eslint-config-12core": "^3.0.0",
"ava": "^3.13.0",
"eslint": "^7.14.0",
"@12core/eslint-config-12core": "^4.0.2",
"auto-changelog": "^2.2.0",
"gh-release": "^4.0.0",
"ava": "^3.15.0",
"eslint": "^7.24.0",
"gh-release": "^5.0.0",
"npm-run-all2": "^5.0.0"
},
"ava": {
Expand Down

0 comments on commit 0cc7109

Please sign in to comment.