@umijs/mfsu 4.0.0-canary.20221012.1 → 4.0.0-canary.20221012.2

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.
@@ -150,6 +150,9 @@ var StaticDepInfo = class {
150
150
  const pkgNames = this.runtimeSimulations.map(({ packageName }) => packageName);
151
151
  const groupedMockImports = {};
152
152
  for (const imp of imports) {
153
+ if (!imp.n) {
154
+ continue;
155
+ }
153
156
  if (pkgNames.indexOf(imp.n) >= 0) {
154
157
  const name = imp.n;
155
158
  if (groupedMockImports[name]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/mfsu",
3
- "version": "4.0.0-canary.20221012.1",
3
+ "version": "4.0.0-canary.20221012.2",
4
4
  "description": "@umijs/mfsu",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/mfsu#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -23,9 +23,9 @@
23
23
  "test": "umi-scripts jest-turbo"
24
24
  },
25
25
  "dependencies": {
26
- "@umijs/bundler-esbuild": "4.0.0-canary.20221012.1",
27
- "@umijs/bundler-utils": "4.0.0-canary.20221012.1",
28
- "@umijs/utils": "4.0.0-canary.20221012.1",
26
+ "@umijs/bundler-esbuild": "4.0.0-canary.20221012.2",
27
+ "@umijs/bundler-utils": "4.0.0-canary.20221012.2",
28
+ "@umijs/utils": "4.0.0-canary.20221012.2",
29
29
  "enhanced-resolve": "5.9.3",
30
30
  "is-equal": "^1.6.4"
31
31
  },