hexo-abbrlink
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -75,17 +75,7 @@ 'use strict'; | ||
//File: hexo-auto-category\lib\logic.js | ||
var opt_AutoCategoryEnable = | ||
this.config.abbrlink && | ||
this.config.abbrlink.auto_category && | ||
this.config.abbrlink.auto_category.enable | ||
? this.config.abbrlink.auto_category.enable | ||
: true; | ||
var opt_AutoCategoryDepth = | ||
this.config.abbrlink && | ||
this.config.abbrlink.auto_category && | ||
this.config.abbrlink.auto_category.depth | ||
? this.config.abbrlink.auto_category.depth | ||
: 3; | ||
var overwrite = true; | ||
var opt_AutoCategoryEnable = config.auto_category && config.auto_category.enable; | ||
var overwrite = config.auto_category && config.auto_category.over_write; | ||
if (opt_AutoCategoryEnable && overwrite) { | ||
var categories = data.source.split('/'); | ||
var opt_AutoCategoryDepth = config.auto_category.depth || 3; | ||
var depth = opt_AutoCategoryDepth || categories.length - 2; | ||
@@ -92,0 +82,0 @@ if (categories.length - 2 == 0 || depth == 0) { |
{ | ||
"name": "hexo-abbrlink", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "create one and only link for every post for hexo", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16306
10
0
1
327