@rspack-debug/core 1.3.14 → 1.4.0-rc.0

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 (159) hide show
  1. package/README.md +1 -1
  2. package/compiled/@swc/types/index.d.ts +18 -2
  3. package/compiled/@swc/types/package.json +1 -1
  4. package/compiled/tinypool/README.md +4 -196
  5. package/compiled/tinypool/dist/common-Qw-RoVFD.js +28 -0
  6. package/compiled/tinypool/dist/entry/process.d.ts +1 -2
  7. package/compiled/tinypool/dist/entry/process.js +63 -83
  8. package/compiled/tinypool/dist/entry/utils.d.ts +3 -1
  9. package/compiled/tinypool/dist/entry/utils.js +3 -9
  10. package/compiled/tinypool/dist/entry/worker.d.ts +1 -2
  11. package/compiled/tinypool/dist/entry/worker.js +66 -94
  12. package/compiled/tinypool/dist/index.d.ts +132 -125
  13. package/compiled/tinypool/dist/index.js +771 -1035
  14. package/compiled/tinypool/dist/utils-B--2TaWv.js +38 -0
  15. package/compiled/tinypool/dist/utils-De75vAgL.js +10 -0
  16. package/compiled/tinypool/package.json +6 -22
  17. package/compiled/webpack-sources/index.js +112 -132
  18. package/compiled/webpack-sources/package.json +1 -1
  19. package/compiled/webpack-sources/types.d.ts +8 -6
  20. package/dist/BuildInfo.d.ts +17 -0
  21. package/dist/FileSystem.d.ts +26 -3
  22. package/dist/Module.d.ts +1 -14
  23. package/dist/MultiCompiler.d.ts +4 -1
  24. package/dist/MultiWatching.d.ts +1 -0
  25. package/dist/Resolver.d.ts +2 -1
  26. package/dist/builtin-loader/swc/pluginImport.d.ts +4 -26
  27. package/dist/builtin-loader/swc/types.d.ts +149 -1992
  28. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +2 -1
  29. package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +3 -3
  30. package/dist/config/devServer.d.ts +10 -10
  31. package/dist/config/normalization.d.ts +4 -1
  32. package/dist/config/types.d.ts +31 -4
  33. package/dist/config/utils.d.ts +3 -16
  34. package/dist/config/zod.d.ts +686 -3921
  35. package/dist/cssExtractLoader.js +5 -5
  36. package/dist/exports.d.ts +7 -3
  37. package/dist/index.js +4440 -1726
  38. package/dist/loader-runner/index.d.ts +0 -9
  39. package/dist/swc.d.ts +2 -0
  40. package/dist/trace/index.d.ts +16 -18
  41. package/dist/util/validate.d.ts +1 -1
  42. package/dist/worker.js +2 -2
  43. package/module.d.ts +1 -1
  44. package/package.json +11 -11
  45. package/compiled/enhanced-resolve/CachedInputFileSystem.d.ts +0 -0
  46. package/compiled/enhanced-resolve/CachedInputFileSystem.js +0 -664
  47. package/compiled/enhanced-resolve/index.d.ts +0 -1124
  48. package/compiled/enhanced-resolve/license +0 -20
  49. package/compiled/enhanced-resolve/package.json +0 -1
  50. package/compiled/tinypool/dist/chunk-6LX4VMOV.js +0 -31
  51. package/compiled/tinypool/dist/chunk-ACQHDOFQ.js +0 -12
  52. package/compiled/tinypool/dist/chunk-E2J7JLFN.js +0 -53
  53. package/compiled/tinypool/dist/chunk-UBWFVGJX.js +0 -38
  54. package/compiled/zod/dist/types/index.d.ts +0 -3
  55. package/compiled/zod/dist/types/v3/ZodError.d.ts +0 -164
  56. package/compiled/zod/dist/types/v3/benchmarks/datetime.d.ts +0 -5
  57. package/compiled/zod/dist/types/v3/benchmarks/discriminatedUnion.d.ts +0 -5
  58. package/compiled/zod/dist/types/v3/benchmarks/index.d.ts +0 -1
  59. package/compiled/zod/dist/types/v3/benchmarks/ipv4.d.ts +0 -5
  60. package/compiled/zod/dist/types/v3/benchmarks/object.d.ts +0 -5
  61. package/compiled/zod/dist/types/v3/benchmarks/primitives.d.ts +0 -5
  62. package/compiled/zod/dist/types/v3/benchmarks/realworld.d.ts +0 -5
  63. package/compiled/zod/dist/types/v3/benchmarks/string.d.ts +0 -5
  64. package/compiled/zod/dist/types/v3/benchmarks/union.d.ts +0 -5
  65. package/compiled/zod/dist/types/v3/errors.d.ts +0 -5
  66. package/compiled/zod/dist/types/v3/external.d.ts +0 -6
  67. package/compiled/zod/dist/types/v3/helpers/enumUtil.d.ts +0 -8
  68. package/compiled/zod/dist/types/v3/helpers/errorUtil.d.ts +0 -9
  69. package/compiled/zod/dist/types/v3/helpers/parseUtil.d.ts +0 -78
  70. package/compiled/zod/dist/types/v3/helpers/partialUtil.d.ts +0 -8
  71. package/compiled/zod/dist/types/v3/helpers/typeAliases.d.ts +0 -2
  72. package/compiled/zod/dist/types/v3/helpers/util.d.ts +0 -85
  73. package/compiled/zod/dist/types/v3/index.d.ts +0 -4
  74. package/compiled/zod/dist/types/v3/locales/en.d.ts +0 -3
  75. package/compiled/zod/dist/types/v3/standard-schema.d.ts +0 -102
  76. package/compiled/zod/dist/types/v3/tests/Mocker.d.ts +0 -17
  77. package/compiled/zod/dist/types/v3/types.d.ts +0 -1031
  78. package/compiled/zod/dist/types/v4/classic/checks.d.ts +0 -1
  79. package/compiled/zod/dist/types/v4/classic/coerce.d.ts +0 -17
  80. package/compiled/zod/dist/types/v4/classic/compat.d.ts +0 -48
  81. package/compiled/zod/dist/types/v4/classic/errors.d.ts +0 -30
  82. package/compiled/zod/dist/types/v4/classic/external.d.ts +0 -13
  83. package/compiled/zod/dist/types/v4/classic/index.d.ts +0 -4
  84. package/compiled/zod/dist/types/v4/classic/iso.d.ts +0 -22
  85. package/compiled/zod/dist/types/v4/classic/parse.d.ts +0 -23
  86. package/compiled/zod/dist/types/v4/classic/schemas.d.ts +0 -619
  87. package/compiled/zod/dist/types/v4/core/api.d.ts +0 -273
  88. package/compiled/zod/dist/types/v4/core/checks.d.ts +0 -277
  89. package/compiled/zod/dist/types/v4/core/config.d.ts +0 -9
  90. package/compiled/zod/dist/types/v4/core/core.d.ts +0 -47
  91. package/compiled/zod/dist/types/v4/core/doc.d.ts +0 -14
  92. package/compiled/zod/dist/types/v4/core/errors.d.ts +0 -204
  93. package/compiled/zod/dist/types/v4/core/function.d.ts +0 -52
  94. package/compiled/zod/dist/types/v4/core/index.d.ts +0 -15
  95. package/compiled/zod/dist/types/v4/core/json-schema.d.ts +0 -100
  96. package/compiled/zod/dist/types/v4/core/parse.d.ts +0 -25
  97. package/compiled/zod/dist/types/v4/core/regexes.d.ts +0 -62
  98. package/compiled/zod/dist/types/v4/core/registries.d.ts +0 -37
  99. package/compiled/zod/dist/types/v4/core/schemas.d.ts +0 -1011
  100. package/compiled/zod/dist/types/v4/core/standard-schema.d.ts +0 -55
  101. package/compiled/zod/dist/types/v4/core/to-json-schema.d.ts +0 -84
  102. package/compiled/zod/dist/types/v4/core/util.d.ts +0 -182
  103. package/compiled/zod/dist/types/v4/core/versions.d.ts +0 -5
  104. package/compiled/zod/dist/types/v4/core/zsf.d.ts +0 -91
  105. package/compiled/zod/dist/types/v4/index.d.ts +0 -3
  106. package/compiled/zod/dist/types/v4/locales/ar.d.ts +0 -4
  107. package/compiled/zod/dist/types/v4/locales/az.d.ts +0 -4
  108. package/compiled/zod/dist/types/v4/locales/be.d.ts +0 -4
  109. package/compiled/zod/dist/types/v4/locales/ca.d.ts +0 -4
  110. package/compiled/zod/dist/types/v4/locales/cs.d.ts +0 -4
  111. package/compiled/zod/dist/types/v4/locales/de.d.ts +0 -4
  112. package/compiled/zod/dist/types/v4/locales/en.d.ts +0 -5
  113. package/compiled/zod/dist/types/v4/locales/es.d.ts +0 -4
  114. package/compiled/zod/dist/types/v4/locales/fa.d.ts +0 -4
  115. package/compiled/zod/dist/types/v4/locales/fi.d.ts +0 -4
  116. package/compiled/zod/dist/types/v4/locales/fr-CA.d.ts +0 -4
  117. package/compiled/zod/dist/types/v4/locales/fr.d.ts +0 -4
  118. package/compiled/zod/dist/types/v4/locales/he.d.ts +0 -4
  119. package/compiled/zod/dist/types/v4/locales/hu.d.ts +0 -4
  120. package/compiled/zod/dist/types/v4/locales/id.d.ts +0 -4
  121. package/compiled/zod/dist/types/v4/locales/index.d.ts +0 -37
  122. package/compiled/zod/dist/types/v4/locales/it.d.ts +0 -4
  123. package/compiled/zod/dist/types/v4/locales/ja.d.ts +0 -4
  124. package/compiled/zod/dist/types/v4/locales/kh.d.ts +0 -4
  125. package/compiled/zod/dist/types/v4/locales/ko.d.ts +0 -4
  126. package/compiled/zod/dist/types/v4/locales/mk.d.ts +0 -4
  127. package/compiled/zod/dist/types/v4/locales/ms.d.ts +0 -4
  128. package/compiled/zod/dist/types/v4/locales/nl.d.ts +0 -4
  129. package/compiled/zod/dist/types/v4/locales/no.d.ts +0 -4
  130. package/compiled/zod/dist/types/v4/locales/ota.d.ts +0 -4
  131. package/compiled/zod/dist/types/v4/locales/pl.d.ts +0 -4
  132. package/compiled/zod/dist/types/v4/locales/pt.d.ts +0 -4
  133. package/compiled/zod/dist/types/v4/locales/ru.d.ts +0 -4
  134. package/compiled/zod/dist/types/v4/locales/sl.d.ts +0 -4
  135. package/compiled/zod/dist/types/v4/locales/sv.d.ts +0 -4
  136. package/compiled/zod/dist/types/v4/locales/ta.d.ts +0 -4
  137. package/compiled/zod/dist/types/v4/locales/th.d.ts +0 -4
  138. package/compiled/zod/dist/types/v4/locales/tr.d.ts +0 -5
  139. package/compiled/zod/dist/types/v4/locales/ua.d.ts +0 -4
  140. package/compiled/zod/dist/types/v4/locales/ur.d.ts +0 -4
  141. package/compiled/zod/dist/types/v4/locales/vi.d.ts +0 -4
  142. package/compiled/zod/dist/types/v4/locales/zh-CN.d.ts +0 -4
  143. package/compiled/zod/dist/types/v4/locales/zh-TW.d.ts +0 -4
  144. package/compiled/zod/dist/types/v4/mini/checks.d.ts +0 -1
  145. package/compiled/zod/dist/types/v4/mini/coerce.d.ts +0 -7
  146. package/compiled/zod/dist/types/v4/mini/external.d.ts +0 -11
  147. package/compiled/zod/dist/types/v4/mini/index.d.ts +0 -3
  148. package/compiled/zod/dist/types/v4/mini/iso.d.ts +0 -22
  149. package/compiled/zod/dist/types/v4/mini/parse.d.ts +0 -1
  150. package/compiled/zod/dist/types/v4/mini/schemas.d.ts +0 -398
  151. package/compiled/zod/index.js +0 -4513
  152. package/compiled/zod/license +0 -21
  153. package/compiled/zod/package.json +0 -1
  154. package/compiled/zod/v3/index.d.ts +0 -3
  155. package/compiled/zod/v4/core/index.d.ts +0 -1
  156. package/compiled/zod/v4/index.d.ts +0 -3
  157. package/compiled/zod/v4/locales/en.d.ts +0 -2
  158. package/compiled/zod/v4/locales/index.d.ts +0 -1
  159. package/compiled/zod/v4-mini/index.d.ts +0 -1
@@ -1,102 +0,0 @@
1
- /**
2
- * The Standard Schema interface.
3
- */
4
- export type StandardSchemaV1<Input = unknown, Output = Input> = {
5
- /**
6
- * The Standard Schema properties.
7
- */
8
- readonly "~standard": StandardSchemaV1.Props<Input, Output>;
9
- };
10
- export declare namespace StandardSchemaV1 {
11
- /**
12
- * The Standard Schema properties interface.
13
- */
14
- export interface Props<Input = unknown, Output = Input> {
15
- /**
16
- * The version number of the standard.
17
- */
18
- readonly version: 1;
19
- /**
20
- * The vendor name of the schema library.
21
- */
22
- readonly vendor: string;
23
- /**
24
- * Validates unknown input values.
25
- */
26
- readonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;
27
- /**
28
- * Inferred types associated with the schema.
29
- */
30
- readonly types?: Types<Input, Output> | undefined;
31
- }
32
- /**
33
- * The result interface of the validate function.
34
- */
35
- export type Result<Output> = SuccessResult<Output> | FailureResult;
36
- /**
37
- * The result interface if validation succeeds.
38
- */
39
- export interface SuccessResult<Output> {
40
- /**
41
- * The typed output value.
42
- */
43
- readonly value: Output;
44
- /**
45
- * The non-existent issues.
46
- */
47
- readonly issues?: undefined;
48
- }
49
- /**
50
- * The result interface if validation fails.
51
- */
52
- export interface FailureResult {
53
- /**
54
- * The issues of failed validation.
55
- */
56
- readonly issues: ReadonlyArray<Issue>;
57
- }
58
- /**
59
- * The issue interface of the failure output.
60
- */
61
- export interface Issue {
62
- /**
63
- * The error message of the issue.
64
- */
65
- readonly message: string;
66
- /**
67
- * The path of the issue, if any.
68
- */
69
- readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
70
- }
71
- /**
72
- * The path segment interface of the issue.
73
- */
74
- export interface PathSegment {
75
- /**
76
- * The key representing a path segment.
77
- */
78
- readonly key: PropertyKey;
79
- }
80
- /**
81
- * The Standard Schema types interface.
82
- */
83
- export interface Types<Input = unknown, Output = Input> {
84
- /**
85
- * The input type of the schema.
86
- */
87
- readonly input: Input;
88
- /**
89
- * The output type of the schema.
90
- */
91
- readonly output: Output;
92
- }
93
- /**
94
- * Infers the input type of a Standard Schema.
95
- */
96
- export type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
97
- /**
98
- * Infers the output type of a Standard Schema.
99
- */
100
- export type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
101
- export {};
102
- }
@@ -1,17 +0,0 @@
1
- export declare class Mocker {
2
- pick: (...args: any[]) => any;
3
- get string(): string;
4
- get number(): number;
5
- get bigint(): bigint;
6
- get boolean(): boolean;
7
- get date(): Date;
8
- get symbol(): symbol;
9
- get null(): null;
10
- get undefined(): undefined;
11
- get stringOptional(): string | undefined;
12
- get stringNullable(): string | null;
13
- get numberOptional(): number | undefined;
14
- get numberNullable(): number | null;
15
- get booleanOptional(): boolean | undefined;
16
- get booleanNullable(): boolean | null;
17
- }