@ray-js/build-plugin-router 1.5.25 → 1.6.0-beta.10

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -2
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -67,7 +67,6 @@ function duplicates(arr, fn, key) {
67
67
  return key ? res : b;
68
68
  }
69
69
  const standardAppConfigFieldMap = [
70
- 'custom',
71
70
  ['textColor', 'color'],
72
71
  'borderStyle',
73
72
  'selectedColor',
@@ -159,7 +158,7 @@ function normalizeTabBarConfig(config, routes, fields) {
159
158
  }
160
159
  cfg = fields.reduce((o, next) => {
161
160
  const [src, t] = typeof next === 'string' ? [next] : next;
162
- if (src in rest) {
161
+ if (rest[src]) {
163
162
  o[t || src] = rest[src];
164
163
  }
165
164
  return o;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/build-plugin-router",
3
- "version": "1.5.25",
3
+ "version": "1.6.0-beta.10",
4
4
  "description": "Ray build plugin for router",
5
5
  "keywords": [
6
6
  "ray"
@@ -24,7 +24,7 @@
24
24
  "watch": "tsc -p ./tsconfig.build.json --watch"
25
25
  },
26
26
  "dependencies": {
27
- "@ray-js/shared": "1.5.25",
27
+ "@ray-js/shared": "^1.6.0-beta.10",
28
28
  "chokidar": "^3.6.0",
29
29
  "colors": "1.4.0",
30
30
  "ejs": "^3.1.10",
@@ -33,11 +33,11 @@
33
33
  "url": "^0.11.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@ray-js/types": "1.5.25"
36
+ "@ray-js/types": "^1.6.0-beta.10"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public",
40
- "registry": "https://registry.npmjs.com"
40
+ "registry": "https://registry.npmjs.org"
41
41
  },
42
- "gitHead": "58144ea1f2a375876e4d5c3a561011862723bd15"
42
+ "gitHead": "c2503833aaf5abfbd23ec3069c77fea5219406b7"
43
43
  }