@rspack-debug/core 1.4.0 → 1.4.3
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.
- package/README.md +1 -1
- package/compiled/tinypool/README.md +1 -1
- package/compiled/tinypool/dist/entry/worker.js +1 -0
- package/compiled/tinypool/dist/index.js +6 -2
- package/compiled/tinypool/package.json +1 -1
- package/dist/Chunk.d.ts +14 -34
- package/dist/ChunkGraph.d.ts +6 -21
- package/dist/Chunks.d.ts +0 -1
- package/dist/Compilation.d.ts +9 -8
- package/dist/Entrypoint.d.ts +2 -10
- package/dist/ErrorHelpers.d.ts +2 -0
- package/dist/RspackError.d.ts +1 -1
- package/dist/builtin-plugin/APIPlugin.d.ts +1 -2
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -2
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/BannerPlugin.d.ts +3 -3
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -2
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -2
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -2
- package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -2
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +2 -2
- package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -2
- package/dist/builtin-plugin/DefinePlugin.d.ts +1 -2
- package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -2
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -2
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -2
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -2
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -2
- package/dist/builtin-plugin/EntryPlugin.d.ts +2 -2
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +2 -2
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +2 -2
- package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -2
- package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -2
- package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -2
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -2
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -2
- package/dist/builtin-plugin/IgnorePlugin.d.ts +2 -2
- package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -2
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -2
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -2
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -2
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -2
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -2
- package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +1 -2
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -2
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -2
- package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -2
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -2
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ProgressPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -2
- package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -2
- package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -2
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RslibPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RstestPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RuntimePlugin.d.ts +2 -2
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -2
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -2
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -2
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -2
- package/dist/builtin-plugin/base.d.ts +29 -5
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +2 -2
- package/dist/builtin-plugin/index.d.ts +1 -1
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -2
- package/dist/config/normalization.d.ts +5 -3
- package/dist/config/types.d.ts +24 -5
- package/dist/config/zod.d.ts +7 -6
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -2
- package/dist/exports.d.ts +3 -1
- package/dist/index.js +242 -377
- package/dist/lib/WebpackError.d.ts +2 -4
- package/dist/loader-runner/ModuleError.d.ts +7 -0
- package/dist/loader-runner/ModuleWarning.d.ts +7 -0
- package/dist/stats/StatsFactory.d.ts +2 -2
- package/dist/stats/statsFactoryUtils.d.ts +2 -2
- package/dist/trace/index.d.ts +7 -1
- package/dist/util/index.d.ts +0 -2
- package/dist/worker.js +11 -7
- package/package.json +5 -3
- package/dist/ChunkGroup.d.ts +0 -33
package/dist/config/zod.d.ts
CHANGED
|
@@ -400,11 +400,8 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
400
400
|
parallelLoader: z.ZodOptional<z.ZodBoolean>;
|
|
401
401
|
useInputFileSystem: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodCustom<RegExp, RegExp>>]>>;
|
|
402
402
|
inlineConst: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
tolerant: "tolerant";
|
|
406
|
-
"tolerant-no-check": "tolerant-no-check";
|
|
407
|
-
}>>;
|
|
403
|
+
inlineEnum: z.ZodOptional<z.ZodBoolean>;
|
|
404
|
+
typeReexportsPresence: z.ZodOptional<z.ZodBoolean>;
|
|
408
405
|
}, z.core.$strict>>;
|
|
409
406
|
externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>]>>]>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>]>>]>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>]>>;
|
|
410
407
|
externalsType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -476,7 +473,11 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
476
473
|
global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
|
|
477
474
|
}, z.core.$strict>]>>;
|
|
478
475
|
loader: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
479
|
-
ignoreWarnings: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]
|
|
476
|
+
ignoreWarnings: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>, z.ZodObject<{
|
|
477
|
+
file: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
|
|
478
|
+
message: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
|
|
479
|
+
module: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
|
|
480
|
+
}, z.core.$strip>]>>>;
|
|
480
481
|
watchOptions: z.ZodOptional<z.ZodObject<{
|
|
481
482
|
aggregateTimeout: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<number>]>>;
|
|
482
483
|
followSymlinks: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BuiltinPluginName } from "@rspack/binding";
|
|
2
1
|
export declare const ModuleFederationRuntimePlugin: {
|
|
3
2
|
new (): {
|
|
4
|
-
name:
|
|
3
|
+
name: string;
|
|
5
4
|
_args: [];
|
|
6
5
|
affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
7
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
package/dist/exports.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { MultiCompiler } from "./MultiCompiler";
|
|
|
9
9
|
import { RspackOptionsApply } from "./rspackOptionsApply";
|
|
10
10
|
export { RspackOptionsApply, RspackOptionsApply as WebpackOptionsApply };
|
|
11
11
|
export type { Chunk } from "./Chunk";
|
|
12
|
-
export type { ChunkGroup } from "
|
|
12
|
+
export type { ChunkGroup } from "@rspack/binding";
|
|
13
13
|
export type { ResolveData, ResourceDataWithData } from "./Module";
|
|
14
14
|
export { MultiStats } from "./MultiStats";
|
|
15
15
|
export { Module } from "./Module";
|
|
@@ -174,6 +174,7 @@ export { ContextReplacementPlugin } from "./builtin-plugin";
|
|
|
174
174
|
export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./builtin-loader/swc/index";
|
|
175
175
|
export type { LoaderOptions as LightningcssLoaderOptions, FeatureOptions as LightningcssFeatureOptions } from "./builtin-loader/lightningcss/index";
|
|
176
176
|
export type { SubresourceIntegrityPluginOptions } from "./builtin-plugin";
|
|
177
|
+
import { createNativePlugin } from "./builtin-plugin";
|
|
177
178
|
import { minify, minifySync, transform, transformSync } from "./swc";
|
|
178
179
|
interface Experiments {
|
|
179
180
|
globalTrace: {
|
|
@@ -193,5 +194,6 @@ interface Experiments {
|
|
|
193
194
|
minifySync: typeof minifySync;
|
|
194
195
|
};
|
|
195
196
|
CssChunkingPlugin: typeof CssChunkingPlugin;
|
|
197
|
+
createNativePlugin: typeof createNativePlugin;
|
|
196
198
|
}
|
|
197
199
|
export declare const experiments: Experiments;
|