@blocklet/meta 1.8.8 → 1.8.11

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.
@@ -101,7 +101,7 @@ const doParseNavigation = (navigation, blocklet, prefix = '/', _level = 1) => {
101
101
  } else if (childNavigation.length === 1) {
102
102
  // child declares one menu
103
103
  item.title = nav.title || childNavigation[0].title || childTitle;
104
- item.link = parseLink(`${child.mountPoint}${childNavigation[0].link || '/'}`, prefix);
104
+ item.link = parseLink(childNavigation[0].link || '/', normalizePathPrefix(`${prefix}${child.mountPoint}`));
105
105
  result.push(item);
106
106
  } else {
107
107
  // child declares multiple menus
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.8",
6
+ "version": "1.8.11",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,8 +18,8 @@
18
18
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.8.8",
22
- "@abtnode/util": "1.8.8",
21
+ "@abtnode/constant": "1.8.11",
22
+ "@abtnode/util": "1.8.11",
23
23
  "@arcblock/did": "1.17.11",
24
24
  "@arcblock/did-ext": "1.17.11",
25
25
  "@arcblock/did-util": "1.17.11",
@@ -46,5 +46,5 @@
46
46
  "devDependencies": {
47
47
  "jest": "^27.5.1"
48
48
  },
49
- "gitHead": "8da61db2342d7c53f2b803e5193c03d82bce8f77"
49
+ "gitHead": "389148562de1ce5b45097e764bc9d1718009e527"
50
50
  }