@umijs/core 4.6.62 → 4.6.64

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.
@@ -27,7 +27,6 @@ export declare class Service {
27
27
  framework?: IFrameworkType;
28
28
  prepare?: {
29
29
  buildResult: Omit<BuildResult, 'outputFiles'>;
30
- fileImports?: Record<string, Declaration[]>;
31
30
  };
32
31
  mpa?: {
33
32
  entry?: {
@@ -152,52 +151,4 @@ export interface IServicePluginAPI {
152
151
  registerPresets: (presets: any[]) => void;
153
152
  registerPlugins: (plugins: (Plugin | {})[]) => void;
154
153
  }
155
- declare type DeclareKind = 'value' | 'type';
156
- declare type Declaration = {
157
- type: 'ImportDeclaration';
158
- source: string;
159
- specifiers: Array<SimpleImportSpecifier>;
160
- importKind: DeclareKind;
161
- start: number;
162
- end: number;
163
- } | {
164
- type: 'DynamicImport';
165
- source: string;
166
- start: number;
167
- end: number;
168
- } | {
169
- type: 'ExportNamedDeclaration';
170
- source: string;
171
- specifiers: Array<SimpleExportSpecifier>;
172
- exportKind: DeclareKind;
173
- start: number;
174
- end: number;
175
- } | {
176
- type: 'ExportAllDeclaration';
177
- source: string;
178
- start: number;
179
- end: number;
180
- };
181
- declare type SimpleImportSpecifier = {
182
- type: 'ImportDefaultSpecifier';
183
- local: string;
184
- } | {
185
- type: 'ImportNamespaceSpecifier';
186
- local: string;
187
- imported: string;
188
- } | {
189
- type: 'ImportNamespaceSpecifier';
190
- local?: string;
191
- };
192
- declare type SimpleExportSpecifier = {
193
- type: 'ExportDefaultSpecifier';
194
- exported: string;
195
- } | {
196
- type: 'ExportNamespaceSpecifier';
197
- exported?: string;
198
- } | {
199
- type: 'ExportSpecifier';
200
- exported: string;
201
- local: string;
202
- };
203
154
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/core",
3
- "version": "4.6.62",
3
+ "version": "4.6.64",
4
4
  "homepage": "https://github.com/umijs/umi/tree/master/packages/core#readme",
5
5
  "bugs": "https://github.com/umijs/umi/issues",
6
6
  "repository": {
@@ -15,8 +15,8 @@
15
15
  "compiled"
16
16
  ],
17
17
  "dependencies": {
18
- "@umijs/bundler-utils": "4.6.62",
19
- "@umijs/utils": "4.6.62"
18
+ "@umijs/bundler-utils": "4.6.64",
19
+ "@umijs/utils": "4.6.64"
20
20
  },
21
21
  "devDependencies": {
22
22
  "dotenv": "16.0.0",