hexo-theme-volantis 5.7.3 → 5.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.7.4](https://github.com/volantis-x/hexo-theme-volantis/compare/v5.7.3...v5.7.4) (2022-08-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **#793:** 修复空值 ([302c98f](https://github.com/volantis-x/hexo-theme-volantis/commit/302c98fc5b0c725fb77c6bb33d7537f8f1f2062f))
9
+
3
10
  ## [5.7.3](https://github.com/volantis-x/hexo-theme-volantis/compare/v5.7.2...v5.7.3) (2022-08-15)
4
11
 
5
12
 
@@ -65,7 +65,7 @@
65
65
  const element = n[key];
66
66
  if(element && typeof element !="string"){
67
67
  dfs(element,path.concat(key))
68
- }else{
68
+ }else if(element){
69
69
  let op=path.concat(key)
70
70
  let source=""
71
71
  for (let index = 1; index < op.length; index++) {
@@ -122,5 +122,6 @@
122
122
  // ?time=' + Date.now() 替换为 theme.getStartTime 保证相同资源 hash 不变
123
123
  // 更新:
124
124
  // 本地文件使用文件内容的hash值作为版本号 app.8c1e7c88.js see: /scripts/helpers/revisioned.js
125
+
125
126
  dfs(theme.cdn.set,[])
126
127
  _%>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-volantis",
3
- "version": "5.7.3",
3
+ "version": "5.7.4",
4
4
  "description": "Elegant and powerful theme for Hexo.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -160,7 +160,7 @@ const replaceRevisionPlaceholder = async () => {
160
160
  })
161
161
  );
162
162
  } catch (error) {
163
-
163
+ hexo.log.error("cdn_version ERROR: " + error);
164
164
  }
165
165
  };
166
166