@rsdoctor/types 1.3.7 → 1.3.9

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.
@@ -49,7 +49,9 @@ export interface StatsModule {
49
49
  type?: string;
50
50
  moduleType?: string;
51
51
  identifier?: string;
52
+ moduleIdentifier?: string;
52
53
  name?: string;
54
+ moduleName?: string;
53
55
  id?: string | number;
54
56
  chunks?: Array<string | number>;
55
57
  size?: number;
@@ -265,7 +265,7 @@ export interface ModuleGraphInstance {
265
265
  /** get module by webpackId */
266
266
  getModuleByWebpackId(webpackId: string): ModuleInstance | undefined;
267
267
  /** Get module by path */
268
- getModuleByFile(file: string): ModuleInstance | undefined;
268
+ getModuleByFile(file: string): ModuleInstance[] | [];
269
269
  /** Add Module */
270
270
  addModule(module: ModuleInstance): void;
271
271
  /** Add module connection */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/types",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -19,7 +19,7 @@
19
19
  "source-map": "^0.7.6"
20
20
  },
21
21
  "devDependencies": {
22
- "@rspack/core": "1.5.8",
22
+ "@rspack/core": "1.6.1",
23
23
  "@types/node": "^22.8.1",
24
24
  "@types/react": "^18.3.26",
25
25
  "tslib": "2.8.1",