From ca28135a274a150832736041fc085de8412603c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:31:27 +0900 Subject: [PATCH] chore(deps-dev): bump hexo from 6.3.0 to 7.0.0 (#206) * chore(deps-dev): bump hexo from 6.3.0 to 7.0.0 Bumps [hexo](https://github.com/hexojs/hexo) from 6.3.0 to 7.0.0. - [Release notes](https://github.com/hexojs/hexo/releases) - [Commits](https://github.com/hexojs/hexo/compare/6.3.0...v7.0.0) --- updated-dependencies: - dependency-name: hexo dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * test: update to hexo v7 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: uiolee <22849383+uiolee@users.noreply.github.com> --- package.json | 2 +- test/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f9ae3e1..21a9a55 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "cheerio": "^0.22.0", "eslint": "^8.6.0", "eslint-config-hexo": "^5.0.0", - "hexo": "^6.0.0", + "hexo": "^7.0.0", "mocha": "^10.0.0", "nyc": "^15.1.0" }, diff --git a/test/index.js b/test/index.js index be7a7f4..bf08ecd 100644 --- a/test/index.js +++ b/test/index.js @@ -48,7 +48,7 @@ describe('Feed generator', () => { const Post = hexo.model('Post'); const generator = require('../lib/generator').bind(hexo); - require('../node_modules/hexo/lib/plugins/helper')(hexo); + require('../node_modules/hexo/dist/plugins/helper')(hexo); let posts = {}; let locals = {}; @@ -441,7 +441,7 @@ it('No posts', () => { const Post = hexo.model('Post'); const generator = require('../lib/generator').bind(hexo); - require('../node_modules/hexo/lib/plugins/helper')(hexo); + require('../node_modules/hexo/dist/plugins/helper')(hexo); hexo.config.feed = { type: 'atom',