hexo-theme-next
Advanced tools
Comparing version 8.17.0 to 8.17.1
{ | ||
"name": "hexo-theme-next", | ||
"version": "8.17.0", | ||
"version": "8.17.1", | ||
"description": "Elegant and powerful theme for Hexo.", | ||
@@ -36,7 +36,7 @@ "main": "package.json", | ||
"@next-theme/eslint-config": "0.0.3", | ||
"c8": "7.14.0", | ||
"c8": "8.0.0", | ||
"chai": "4.3.7", | ||
"eslint": "8.42.0", | ||
"eslint": "8.44.0", | ||
"hexo": "6.3.0", | ||
"hexo-renderer-marked": "6.0.0", | ||
"hexo-renderer-marked": "6.1.0", | ||
"js-yaml": "4.1.0", | ||
@@ -43,0 +43,0 @@ "mocha": "10.2.0", |
@@ -22,2 +22,8 @@ 'use strict'; | ||
} | ||
let { plugins = 'cdnjs' } = vendors; | ||
if (plugins === 'local' && typeof internal === 'undefined') { | ||
hexo.log.warn('Dependencies for `plugins: local` not found. The default CDN provider CDNJS is used instead.'); | ||
hexo.log.warn('Run `npm install @next-theme/plugins` in Hexo site root directory to install the plugin.'); | ||
plugins = 'cdnjs'; | ||
} | ||
for (const [key, value] of Object.entries(dependencies)) { | ||
@@ -45,8 +51,2 @@ // This script will be executed repeatedly when Hexo listens file changes | ||
}); | ||
let { plugins = 'cdnjs' } = vendors; | ||
if (plugins === 'local' && typeof internal === 'undefined') { | ||
hexo.log.warn('Dependencies for `plugins: local` not found. The default CDN provider CDNJS is used instead.'); | ||
hexo.log.warn('Run `npm install @next-theme/plugins` in Hexo site root directory to install the plugin.'); | ||
plugins = 'cdnjs'; | ||
} | ||
vendors[key] = { | ||
@@ -53,0 +53,0 @@ url : links[plugins] || links.cdnjs, |
@@ -29,5 +29,5 @@ /* global NexT, CONFIG, mermaid */ | ||
}); | ||
mermaid.init(); | ||
mermaid.run(); | ||
}); | ||
} | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
474054
287