Skip to content

Commit

Permalink
chore(deps): update dependencies (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin authored Nov 1, 2023
1 parent 0e9467d commit f86e9a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@
"author": "Hexo Maintainers (https://github.com/hexojs)",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/chai": "^4.3.9",
"@types/mocha": "^10.0.3",
"@types/node": "^18.15.3",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"c8": "^7.13.0",
"chai": "^4.3.7",
"c8": "^8.0.1",
"chai": "^4.3.10",
"cheerio": "^1.0.0-rc.12",
"eslint": "^8.36.0",
"eslint-config-hexo": "^5.0.0",
"hexo": "^7.0.0-rc1",
"hexo-renderer-marked": "^6.0.0",
"hexo": "^7.0.0",
"hexo-renderer-marked": "^6.1.1",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
"typescript": "^5.2.2"
},
"engines": {
"node": ">=14"
},
"dependencies": {
"hexo-util": "^3.0.1"
"hexo-util": "^3.1.0"
}
}
6 changes: 3 additions & 3 deletions test/post_render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Post', () => {
'{% youtube https://example.com/sample.mp4 %}'
].join('\n');

const data = await post.render(null, {
const data = await post.render('', {
content,
engine: 'markdown'
});
Expand Down Expand Up @@ -60,9 +60,9 @@ describe('Post', () => {
'echo "Hi"',
'```'
].join('\n');
hexo.config.highlight.enable = false;
hexo.config.syntax_highlighter = '';

const data = await post.render(null, {
const data = await post.render('', {
content,
engine: 'markdown'
});
Expand Down

0 comments on commit f86e9a8

Please sign in to comment.