@rspack/core 1.3.6 → 1.3.8

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 (39) hide show
  1. package/compiled/graceful-fs/index.js +8 -8
  2. package/compiled/zod/index.d.ts +2 -1772
  3. package/compiled/zod/lib/ZodError.d.ts +164 -0
  4. package/compiled/zod/lib/__tests__/Mocker.d.ts +17 -0
  5. package/compiled/zod/lib/benchmarks/datetime.d.ts +5 -0
  6. package/compiled/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
  7. package/compiled/zod/lib/benchmarks/index.d.ts +1 -0
  8. package/compiled/zod/lib/benchmarks/ipv4.d.ts +5 -0
  9. package/compiled/zod/lib/benchmarks/object.d.ts +5 -0
  10. package/compiled/zod/lib/benchmarks/primitives.d.ts +5 -0
  11. package/compiled/zod/lib/benchmarks/realworld.d.ts +5 -0
  12. package/compiled/zod/lib/benchmarks/string.d.ts +5 -0
  13. package/compiled/zod/lib/benchmarks/union.d.ts +5 -0
  14. package/compiled/zod/lib/errors.d.ts +5 -0
  15. package/compiled/zod/lib/external.d.ts +6 -0
  16. package/compiled/zod/lib/helpers/enumUtil.d.ts +8 -0
  17. package/compiled/zod/lib/helpers/errorUtil.d.ts +9 -0
  18. package/compiled/zod/lib/helpers/parseUtil.d.ts +78 -0
  19. package/compiled/zod/lib/helpers/partialUtil.d.ts +8 -0
  20. package/compiled/zod/lib/helpers/typeAliases.d.ts +2 -0
  21. package/compiled/zod/lib/helpers/util.d.ts +82 -0
  22. package/compiled/zod/lib/index.d.ts +4 -0
  23. package/compiled/zod/lib/locales/en.d.ts +3 -0
  24. package/compiled/zod/lib/standard-schema.d.ts +102 -0
  25. package/compiled/zod/lib/types.d.ts +1062 -0
  26. package/compiled/zod/package.json +1 -1
  27. package/dist/ChunkGroup.d.ts +10 -0
  28. package/dist/RspackError.d.ts +2 -1
  29. package/dist/builtin-loader/swc/pluginImport.d.ts +1 -1
  30. package/dist/builtin-loader/swc/types.d.ts +632 -631
  31. package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +14 -14
  32. package/dist/config/types.d.ts +15 -2
  33. package/dist/config/utils.d.ts +1 -1
  34. package/dist/config/zod.d.ts +84 -77
  35. package/dist/exports.d.ts +6 -0
  36. package/dist/index.js +676 -604
  37. package/dist/swc.d.ts +5 -0
  38. package/dist/trace/index.d.ts +2 -0
  39. package/package.json +3 -3
package/dist/exports.d.ts CHANGED
@@ -23,6 +23,7 @@ export type { StatsAsset, StatsChunk, StatsCompilation, StatsError, StatsModule
23
23
  export { Stats } from "./Stats";
24
24
  export { RuntimeModule } from "./RuntimeModule";
25
25
  export { EntryDependency, Dependency, AsyncDependenciesBlock } from "@rspack/binding";
26
+ export type { RspackError, RspackSeverity } from "./RspackError";
26
27
  import * as ModuleFilenameHelpers from "./lib/ModuleFilenameHelpers";
27
28
  export { ModuleFilenameHelpers };
28
29
  export { Template } from "./Template";
@@ -168,6 +169,7 @@ export { ContextReplacementPlugin } from "./builtin-plugin";
168
169
  export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./builtin-loader/swc/index";
169
170
  export type { LoaderOptions as LightningcssLoaderOptions, FeatureOptions as LightningcssFeatureOptions } from "./builtin-loader/lightningcss/index";
170
171
  export type { SubresourceIntegrityPluginOptions } from "./builtin-plugin";
172
+ import { minify, transform } from "./swc";
171
173
  interface Experiments {
172
174
  globalTrace: {
173
175
  register: (filter: string, layer: "chrome" | "logger", output: string) => Promise<void>;
@@ -177,5 +179,9 @@ interface Experiments {
177
179
  RsdoctorPlugin: typeof RsdoctorPlugin;
178
180
  SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
179
181
  lazyCompilationMiddleware: typeof lazyCompilationMiddleware;
182
+ swc: {
183
+ transform: typeof transform;
184
+ minify: typeof minify;
185
+ };
180
186
  }
181
187
  export declare const experiments: Experiments;