From c43f6018065b5252eb4e3a8fac08ca647a62cb5c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 Dec 2023 00:06:02 +0800 Subject: [PATCH] Update dependency hexo to v7 (#715) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mimi <1119186082@qq.com> --- package.json | 2 +- test/helpers/next-url.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c2a5603ce..d190c2330 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "c8": "8.0.1", "chai": "4.3.10", "eslint": "8.55.0", - "hexo": "6.3.0", + "hexo": "7.0.0", "hexo-renderer-marked": "6.1.1", "js-yaml": "4.1.0", "mocha": "10.2.0", diff --git a/test/helpers/next-url.js b/test/helpers/next-url.js index ea781adc2..87879c8d4 100644 --- a/test/helpers/next-url.js +++ b/test/helpers/next-url.js @@ -13,7 +13,7 @@ describe('next-url', () => { before(() => { hexo.config.url = 'https://example.com'; - hexo.url_for = require('hexo/lib/plugins/helper/url_for').bind(hexo); + hexo.url_for = require('hexo/dist/plugins/helper/url_for').bind(hexo); }); it('text', () => {