Skip to content

Commit

Permalink
chore(deps): update hexo-log from 3.2.0 to 4.0.1 (#5096)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin authored Nov 21, 2022
1 parent 448d473 commit 807ddd8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/hexo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { readFile } = require('hexo-fs');
const Module = require('module');
const { runInThisContext } = require('vm');
const { version } = require('../../package.json');
const logger = require('hexo-log');
const { logger } = require('hexo-log');
const { Console, Deployer, Filter, Generator, Helper, Injector, Migrator, Processor, Renderer, Tag } = require('../extend');
const Render = require('./render');
const registerModels = require('./register_models');
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/renderer/yaml.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const yaml = require('js-yaml');
const { escape } = require('hexo-front-matter');
const log = require('hexo-log')();
const log = require('hexo-log').default();

let schema = {};
// FIXME: workaround for https://github.com/hexojs/hexo/issues/4917
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"hexo-front-matter": "^4.0.0",
"hexo-fs": "^4.0.0",
"hexo-i18n": "^2.0.0",
"hexo-log": "^3.2.0",
"hexo-log": "^4.0.1",
"hexo-util": "^3.0.1",
"js-yaml": "^4.1.0",
"js-yaml-js-types": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { spawn: spawnAsync } = require('hexo-util');
const { rmdir, exists } = require('hexo-fs');
const { appendFileSync: appendFile } = require('fs');
const { join, resolve } = require('path');
const log = require('hexo-log')();
const log = require('hexo-log').default();
const { red } = require('picocolors');
const hooks = [
{ regex: /Hexo version/, tag: 'hexo-begin' },
Expand Down

0 comments on commit 807ddd8

Please sign in to comment.