@umijs/core 4.0.0-rc.20 → 4.0.0-rc.23

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.
@@ -399,6 +399,8 @@ class Service {
399
399
  }
400
400
  else {
401
401
  plugin = this.keyToPluginMap[hook];
402
+ if (!plugin)
403
+ return false;
402
404
  }
403
405
  const { id, key, enableBy } = plugin;
404
406
  if (this.skipPluginIds.has(id))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/core",
3
- "version": "4.0.0-rc.20",
3
+ "version": "4.0.0-rc.23",
4
4
  "homepage": "https://github.com/umijs/umi-next/tree/master/packages/core#readme",
5
5
  "bugs": "https://github.com/umijs/umi-next/issues",
6
6
  "repository": {
@@ -21,8 +21,8 @@
21
21
  "test": "umi-scripts jest-turbo"
22
22
  },
23
23
  "dependencies": {
24
- "@umijs/bundler-utils": "4.0.0-rc.20",
25
- "@umijs/utils": "4.0.0-rc.20"
24
+ "@umijs/bundler-utils": "4.0.0-rc.23",
25
+ "@umijs/utils": "4.0.0-rc.23"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@hapi/joi": "17.1.1",