From dced2aca2b290064e3c7a6798ca8dcb65547b8d6 Mon Sep 17 00:00:00 2001 From: curbengh <43627182+curbengh@users.noreply.github.com> Date: Thu, 29 Aug 2019 10:57:37 +0100 Subject: [PATCH] chore(deps): update hexo-util to v1.0.1 * to include https://github.com/hexojs/hexo-util/pull/75 --- lib/plugins/helper/tagcloud.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/helper/tagcloud.js b/lib/plugins/helper/tagcloud.js index 32eb569310..9fd5bda421 100644 --- a/lib/plugins/helper/tagcloud.js +++ b/lib/plugins/helper/tagcloud.js @@ -1,6 +1,6 @@ 'use strict'; -const Color = require('../../../node_modules/hexo-util/lib/color'); // eslint-disable-line node/no-unpublished-require +const Color = require('hexo-util').Color; function tagcloudHelper(tags, options) { if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) { diff --git a/package.json b/package.json index e4e2f6145c..9589da7af0 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "hexo-fs": "^1.0.0", "hexo-i18n": "^0.2.1", "hexo-log": "^0.2.0", - "hexo-util": "^1.0.0", + "hexo-util": "^1.0.1", "js-yaml": "^3.12.0", "lodash": "^4.17.11", "micromatch": "^4.0.2",