@rspack-canary/browser 1.4.12-canary-40c41ca5-20250806090917 → 1.5.0-canary-0de3ce24-20250810153546

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.
@@ -44,7 +44,7 @@ export interface Asset {
44
44
  source: Source;
45
45
  info: AssetInfo;
46
46
  }
47
- export type PathDataChunkLike = {
47
+ export type ChunkPathData = {
48
48
  id?: string;
49
49
  name?: string;
50
50
  hash?: string;
@@ -57,7 +57,7 @@ export type PathData = {
57
57
  runtime?: string;
58
58
  url?: string;
59
59
  id?: string;
60
- chunk?: Chunk | PathDataChunkLike;
60
+ chunk?: Chunk | ChunkPathData;
61
61
  contentHashType?: string;
62
62
  };
63
63
  export interface LogEntry {
@@ -1,12 +1,12 @@
1
1
  import type { IFs, Volume } from "memfs";
2
2
  export declare const fs: IFs;
3
3
  export declare const volume: Volume;
4
- declare const readFileSync: (file: import("memfs/lib/volume").TFileId, options?: import("memfs/lib/node/types/options").IReadFileOptions | string) => import("memfs/lib/encoding").TDataOut, readdirSync: (path: import("memfs/lib/node/types/misc").PathLike, options?: import("memfs/lib/node/types/options").IReaddirOptions | string) => import("memfs/lib/encoding").TDataOut[] | import("memfs/lib/Dirent").Dirent[], lstat: {
5
- (path: import("memfs/lib/node/types/misc").PathLike, callback: import("memfs/lib/volume").TCallback<import("memfs/lib/Stats").Stats>): void;
6
- (path: import("memfs/lib/node/types/misc").PathLike, options: import("memfs/lib/node/types/options").IStatOptions, callback: import("memfs/lib/volume").TCallback<import("memfs/lib/Stats").Stats>): void;
4
+ declare const readFileSync: (file: import("memfs/lib/core").TFileId, options?: import("memfs/lib/node/types/options").IReadFileOptions | string) => import("memfs/lib/encoding").TDataOut, readdirSync: (path: import("memfs/lib/node/types/misc").PathLike, options?: import("memfs/lib/node/types/options").IReaddirOptions | string) => import("memfs/lib/encoding").TDataOut[] | import("memfs/lib/node/Dirent").Dirent[], lstat: {
5
+ (path: import("memfs/lib/node/types/misc").PathLike, callback: import("memfs/lib/node/types/misc").TCallback<import("memfs/lib/node/Stats").Stats>): void;
6
+ (path: import("memfs/lib/node/types/misc").PathLike, options: import("memfs/lib/node/types/options").IStatOptions, callback: import("memfs/lib/node/types/misc").TCallback<import("memfs/lib/node/Stats").Stats>): void;
7
7
  }, existsSync: (path: import("memfs/lib/node/types/misc").PathLike) => boolean, readdir: {
8
- (path: import("memfs/lib/node/types/misc").PathLike, callback: import("memfs/lib/volume").TCallback<import("memfs/lib/encoding").TDataOut[] | import("memfs/lib/Dirent").Dirent[]>): any;
9
- (path: import("memfs/lib/node/types/misc").PathLike, options: import("memfs/lib/node/types/options").IReaddirOptions | string, callback: import("memfs/lib/volume").TCallback<import("memfs/lib/encoding").TDataOut[] | import("memfs/lib/Dirent").Dirent[]>): any;
10
- }, watch: (path: import("memfs/lib/node/types/misc").PathLike, options?: import("memfs/lib/volume").IWatchOptions | string, listener?: (eventType: string, filename: string) => void) => import("memfs/lib/volume").FSWatcher;
8
+ (path: import("memfs/lib/node/types/misc").PathLike, callback: import("memfs/lib/node/types/misc").TCallback<import("memfs/lib/encoding").TDataOut[] | import("memfs/lib/node/Dirent").Dirent[]>): any;
9
+ (path: import("memfs/lib/node/types/misc").PathLike, options: import("memfs/lib/node/types/options").IReaddirOptions | string, callback: import("memfs/lib/node/types/misc").TCallback<import("memfs/lib/encoding").TDataOut[] | import("memfs/lib/node/Dirent").Dirent[]>): any;
10
+ }, watch: (path: import("memfs/lib/node/types/misc").PathLike, options?: import("memfs/lib/node/volume").IWatchOptions | string, listener?: (eventType: string, filename: string) => void) => import("memfs/lib/node/volume").FSWatcher;
11
11
  export default fs;
12
12
  export { readFileSync, readdirSync, lstat, existsSync, readdir, watch };
@@ -95,6 +95,11 @@ export type ExperimentCacheNormalized = boolean | {
95
95
  };
96
96
  export interface ExperimentsNormalized {
97
97
  cache?: ExperimentCacheNormalized;
98
+ /**
99
+ * @deprecated This option is deprecated and will be removed in future versions.
100
+ *
101
+ * Please use the Configuration top-level `lazyCompilation` option instead.
102
+ */
98
103
  lazyCompilation?: false | LazyCompilationOptions;
99
104
  asyncWebAssembly?: boolean;
100
105
  outputModule?: boolean;
@@ -144,6 +149,7 @@ export interface RspackOptionsNormalized {
144
149
  optimization: Optimization;
145
150
  plugins: Plugins;
146
151
  experiments: ExperimentsNormalized;
152
+ lazyCompilation?: false | LazyCompilationOptions;
147
153
  watch?: Watch;
148
154
  watchOptions: WatchOptions;
149
155
  devServer?: DevServer;
@@ -1971,6 +1971,7 @@ export type Experiments = {
1971
1971
  cache?: ExperimentCacheOptions;
1972
1972
  /**
1973
1973
  * Enable lazy compilation.
1974
+ * @deprecated Please use the configuration top-level `lazyCompilation` option instead.
1974
1975
  * @default false
1975
1976
  */
1976
1977
  lazyCompilation?: boolean | LazyCompilationOptions;
@@ -2282,6 +2283,11 @@ export type RspackOptions = {
2282
2283
  * Performance optimization options.
2283
2284
  */
2284
2285
  performance?: Performance;
2286
+ /**
2287
+ * Enable lazy compilation.
2288
+ * @default false
2289
+ */
2290
+ lazyCompilation?: boolean | LazyCompilationOptions;
2285
2291
  };
2286
2292
  /** Configuration for Rspack */
2287
2293
  export type Configuration = RspackOptions;
package/dist/exports.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  declare const rspackVersion: string;
2
2
  declare const version: string;
3
3
  export { rspackVersion, version };
4
- export type { Asset, AssetInfo, Assets, CompilationParams, LogEntry } from "./Compilation";
4
+ export type { Asset, AssetInfo, Assets, ChunkPathData, CompilationParams, LogEntry, PathData } from "./Compilation";
5
5
  export { Compilation } from "./Compilation";
6
6
  export { Compiler } from "./Compiler";
7
7
  export type { MultiCompilerOptions, MultiRspackOptions } from "./MultiCompiler";
package/dist/index.mjs CHANGED
@@ -39735,7 +39735,7 @@ async function runLoaders(compiler, context) {
39735
39735
  resource: loaderContext.resource,
39736
39736
  mode: loaderContext.mode,
39737
39737
  sourceMap: loaderContext.sourceMap,
39738
- rootContext: loaderContext.context,
39738
+ rootContext: loaderContext.rootContext,
39739
39739
  loaderIndex: loaderContext.loaderIndex,
39740
39740
  loaders: loaderContext.loaders.map((item)=>{
39741
39741
  let options = item.options;
@@ -45264,14 +45264,33 @@ const getFullServerUrl = ({ serverUrl, prefix })=>{
45264
45264
  if (!serverUrl) return lazyCompilationPrefix;
45265
45265
  return serverUrl + (serverUrl.endsWith("/") ? lazyCompilationPrefix.slice(1) : lazyCompilationPrefix);
45266
45266
  };
45267
+ const DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN = "The `experiments.lazyCompilation` option is deprecated, please use the configuration top level `lazyCompilation` instead.";
45268
+ const REPEAT_LAZY_COMPILATION_OPTIONS_WARN = "Both top-level `lazyCompilation` and `experiments.lazyCompilation` options are set. The top-level `lazyCompilation` configuration will take precedence.";
45267
45269
  const lazyCompilationMiddleware = (compiler)=>{
45268
45270
  if (compiler instanceof MultiCompiler) {
45269
45271
  const middlewareByCompiler = new Map();
45270
45272
  let i = 0;
45273
+ let isReportDeprecatedWarned = false;
45274
+ let isReportRepeatWarned = false;
45271
45275
  for (const c of compiler.compilers){
45272
- if (!c.options.experiments.lazyCompilation) continue;
45276
+ if (c.options.experiments.lazyCompilation) {
45277
+ if (c.name) console.warn(`The 'experiments.lazyCompilation' option in compiler named '${c.name}' is deprecated, please use the Configuration top level 'lazyCompilation' instead.`);
45278
+ else if (!isReportDeprecatedWarned) {
45279
+ console.warn(DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN);
45280
+ isReportDeprecatedWarned = true;
45281
+ }
45282
+ }
45283
+ if (c.options.lazyCompilation && c.options.experiments.lazyCompilation) {
45284
+ if (c.name) console.warn(`The top-level 'lazyCompilation' option in compiler named '${c.name}' will override the 'experiments.lazyCompilation' option.`);
45285
+ else if (!isReportRepeatWarned) {
45286
+ console.warn(REPEAT_LAZY_COMPILATION_OPTIONS_WARN);
45287
+ isReportRepeatWarned = true;
45288
+ }
45289
+ }
45290
+ if (!c.options.lazyCompilation && !c.options.experiments.lazyCompilation) continue;
45273
45291
  const options = {
45274
- ...c.options.experiments.lazyCompilation
45292
+ ...c.options.experiments.lazyCompilation,
45293
+ ...c.options.lazyCompilation
45275
45294
  };
45276
45295
  const prefix = options.prefix || LAZY_COMPILATION_PREFIX;
45277
45296
  options.prefix = `${prefix}__${i++}`;
@@ -45295,13 +45314,18 @@ const lazyCompilationMiddleware = (compiler)=>{
45295
45314
  return null == middleware ? void 0 : middleware(req, res, next);
45296
45315
  };
45297
45316
  }
45298
- if (!compiler.options.experiments.lazyCompilation) return noop;
45317
+ if (compiler.options.experiments.lazyCompilation) {
45318
+ console.warn(DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN);
45319
+ if (compiler.options.lazyCompilation) console.warn(REPEAT_LAZY_COMPILATION_OPTIONS_WARN);
45320
+ }
45321
+ if (!compiler.options.lazyCompilation && !compiler.options.experiments.lazyCompilation) return noop;
45299
45322
  const activeModules = new Map();
45300
45323
  const filesByKey = new Map();
45301
45324
  const indexToMap = new Map();
45302
45325
  const moduleToIndex = new Map();
45303
45326
  const options = {
45304
- ...compiler.options.experiments.lazyCompilation
45327
+ ...compiler.options.experiments.lazyCompilation,
45328
+ ...compiler.options.lazyCompilation
45305
45329
  };
45306
45330
  applyPlugin(compiler, moduleToIndex, indexToMap, options, activeModules, filesByKey);
45307
45331
  const lazyCompilationPrefix = options.prefix || LAZY_COMPILATION_PREFIX;
@@ -45762,29 +45786,33 @@ class SubresourceIntegrityPlugin extends NativeSubresourceIntegrityPlugin {
45762
45786
  });
45763
45787
  });
45764
45788
  });
45765
- if ("string" == typeof this.options.htmlPlugin && this.options.htmlPlugin !== NATIVE_HTML_PLUGIN) (0, util_require._)()(this.options.htmlPlugin).then((htmlPlugin)=>{
45766
- const getHooks = htmlPlugin.getCompilationHooks || htmlPlugin.getHooks;
45767
- if ("function" == typeof getHooks) compiler.hooks.thisCompilation.tap(SubresourceIntegrityPlugin_PLUGIN_NAME, (compilation)=>{
45768
- if ("string" == typeof compiler.options.output.chunkLoading && [
45769
- "require",
45770
- "async-node"
45771
- ].includes(compiler.options.output.chunkLoading)) return;
45772
- const hwpHooks = getHooks(compilation);
45773
- hwpHooks.beforeAssetTagGeneration.tapPromise(SubresourceIntegrityPlugin_PLUGIN_NAME, async (data)=>{
45774
- this.handleHwpPluginArgs(data);
45775
- return data;
45776
- });
45777
- hwpHooks.alterAssetTagGroups.tapPromise({
45778
- name: SubresourceIntegrityPlugin_PLUGIN_NAME,
45779
- stage: 10000
45780
- }, async (data)=>{
45781
- this.handleHwpBodyTags(data, compiler.outputPath, compiler.options.output.crossOriginLoading);
45782
- return data;
45789
+ if ("string" == typeof this.options.htmlPlugin && this.options.htmlPlugin !== NATIVE_HTML_PLUGIN) {
45790
+ const self1 = this;
45791
+ function bindingHtmlHooks(htmlPlugin) {
45792
+ const getHooks = htmlPlugin.getCompilationHooks || htmlPlugin.getHooks;
45793
+ if ("function" == typeof getHooks) compiler.hooks.thisCompilation.tap(SubresourceIntegrityPlugin_PLUGIN_NAME, (compilation)=>{
45794
+ if ("string" == typeof compiler.options.output.chunkLoading && [
45795
+ "require",
45796
+ "async-node"
45797
+ ].includes(compiler.options.output.chunkLoading)) return;
45798
+ const hwpHooks = getHooks(compilation);
45799
+ hwpHooks.beforeAssetTagGeneration.tapPromise(SubresourceIntegrityPlugin_PLUGIN_NAME, async (data)=>{
45800
+ self1.handleHwpPluginArgs(data);
45801
+ return data;
45802
+ });
45803
+ hwpHooks.alterAssetTagGroups.tapPromise({
45804
+ name: SubresourceIntegrityPlugin_PLUGIN_NAME,
45805
+ stage: 10000
45806
+ }, async (data)=>{
45807
+ self1.handleHwpBodyTags(data, compiler.outputPath, compiler.options.output.crossOriginLoading);
45808
+ return data;
45809
+ });
45783
45810
  });
45811
+ }
45812
+ (0, util_require._)()(this.options.htmlPlugin).then(bindingHtmlHooks).catch((e)=>{
45813
+ if (!isErrorWithCode(e) || "MODULE_NOT_FOUND" !== e.code) throw e;
45784
45814
  });
45785
- }).catch((e)=>{
45786
- if (!isErrorWithCode(e) || "MODULE_NOT_FOUND" !== e.code) throw e;
45787
- });
45815
+ }
45788
45816
  }
45789
45817
  constructor(options = {}){
45790
45818
  let validateError = null;
@@ -46970,6 +46998,7 @@ const applyRspackOptionsDefaults = (options)=>{
46970
46998
  defaults_F(options, "devtool", ()=>development ? "eval" : false);
46971
46999
  D(options, "watch", false);
46972
47000
  D(options, "profile", false);
47001
+ D(options, "lazyCompilation", false);
46973
47002
  D(options, "bail", false);
46974
47003
  defaults_F(options, "cache", ()=>development);
46975
47004
  applyExperimentsDefaults(options.experiments, {
@@ -46985,7 +47014,8 @@ const applyRspackOptionsDefaults = (options)=>{
46985
47014
  css: options.experiments.css,
46986
47015
  targetProperties,
46987
47016
  mode: options.mode,
46988
- uniqueName: options.output.uniqueName
47017
+ uniqueName: options.output.uniqueName,
47018
+ inlineConst: options.experiments.inlineConst
46989
47019
  });
46990
47020
  applyOutputDefaults(options.output, {
46991
47021
  context: options.context,
@@ -47047,6 +47077,7 @@ const applyExperimentsDefaults = (experiments, { production, development })=>{
47047
47077
  D(experiments, "asyncWebAssembly", experiments.futureDefaults);
47048
47078
  D(experiments, "css", experiments.futureDefaults ? true : void 0);
47049
47079
  D(experiments, "layers", false);
47080
+ if (false === experiments.topLevelAwait) console.warn("`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration.");
47050
47081
  D(experiments, "topLevelAwait", true);
47051
47082
  D(experiments, "buildHttp", void 0);
47052
47083
  if (experiments.buildHttp && "object" == typeof experiments.buildHttp) D(experiments.buildHttp, "upgrade", false);
@@ -47082,14 +47113,14 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
47082
47113
  if ("object" == typeof rspackFuture) {
47083
47114
  D(rspackFuture, "bundlerInfo", {});
47084
47115
  if ("object" == typeof rspackFuture.bundlerInfo) {
47085
- D(rspackFuture.bundlerInfo, "version", "1.4.12-canary-40c41ca5-20250806090917");
47116
+ D(rspackFuture.bundlerInfo, "version", "1.5.0-canary-0de3ce24-20250810153546");
47086
47117
  D(rspackFuture.bundlerInfo, "bundler", "rspack");
47087
47118
  D(rspackFuture.bundlerInfo, "force", !library);
47088
47119
  }
47089
47120
  }
47090
47121
  };
47091
47122
  const applySnapshotDefaults = (_snapshot, _env)=>{};
47092
- const applyJavascriptParserOptionsDefaults = (parserOptions)=>{
47123
+ const applyJavascriptParserOptionsDefaults = (parserOptions, { inlineConst })=>{
47093
47124
  D(parserOptions, "dynamicImportMode", "lazy");
47094
47125
  D(parserOptions, "dynamicImportPrefetch", false);
47095
47126
  D(parserOptions, "dynamicImportPreload", false);
@@ -47106,13 +47137,13 @@ const applyJavascriptParserOptionsDefaults = (parserOptions)=>{
47106
47137
  "..."
47107
47138
  ]);
47108
47139
  D(parserOptions, "importMeta", true);
47109
- D(parserOptions, "inlineConst", false);
47140
+ D(parserOptions, "inlineConst", inlineConst);
47110
47141
  D(parserOptions, "typeReexportsPresence", "no-tolerant");
47111
47142
  };
47112
47143
  const applyJsonGeneratorOptionsDefaults = (generatorOptions)=>{
47113
47144
  D(generatorOptions, "JSONParse", true);
47114
47145
  };
47115
- const applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName })=>{
47146
+ const applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName, inlineConst })=>{
47116
47147
  assertNotNill(module.parser);
47117
47148
  assertNotNill(module.generator);
47118
47149
  defaults_F(module.parser, ASSET_MODULE_TYPE, ()=>({}));
@@ -47121,7 +47152,9 @@ const applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties,
47121
47152
  if ("object" == typeof module.parser.asset.dataUrlCondition) D(module.parser.asset.dataUrlCondition, "maxSize", 8096);
47122
47153
  defaults_F(module.parser, "javascript", ()=>({}));
47123
47154
  assertNotNill(module.parser.javascript);
47124
- applyJavascriptParserOptionsDefaults(module.parser.javascript);
47155
+ applyJavascriptParserOptionsDefaults(module.parser.javascript, {
47156
+ inlineConst
47157
+ });
47125
47158
  defaults_F(module.parser, JSON_MODULE_TYPE, ()=>({}));
47126
47159
  assertNotNill(module.parser[JSON_MODULE_TYPE]);
47127
47160
  D(module.parser[JSON_MODULE_TYPE], "exportsDepth", "development" === mode ? 1 : Number.MAX_SAFE_INTEGER);
@@ -47353,7 +47386,7 @@ const applyOutputDefaults = (output, { context, outputModule, targetProperties:
47353
47386
  return "[id].css";
47354
47387
  });
47355
47388
  D(output, "hotUpdateChunkFilename", `[id].[fullhash].hot-update.${output.module ? "mjs" : "js"}`);
47356
- D(output, "hotUpdateMainFilename", "[runtime].[fullhash].hot-update.json");
47389
+ defaults_F(output, "hotUpdateMainFilename", ()=>`[runtime].[fullhash].hot-update.${output.module ? "json.mjs" : "json"}`);
47357
47390
  const uniqueNameId = Template.toIdentifier(output.uniqueName);
47358
47391
  defaults_F(output, "hotUpdateGlobal", ()=>`webpackHotUpdate${uniqueNameId}`);
47359
47392
  defaults_F(output, "chunkLoadingGlobal", ()=>`webpackChunk${uniqueNameId}`);
@@ -47971,7 +48004,8 @@ const getNormalizedRspackOptions = (config)=>({
47971
48004
  devServer: config.devServer,
47972
48005
  profile: config.profile,
47973
48006
  amd: config.amd,
47974
- bail: config.bail
48007
+ bail: config.bail,
48008
+ lazyCompilation: optionalNestedConfig(config.lazyCompilation, (options)=>true === options ? {} : options)
47975
48009
  });
47976
48010
  const getNormalizedEntryStatic = (entry)=>{
47977
48011
  if ("string" == typeof entry) return {
@@ -50973,7 +51007,7 @@ class MultiStats {
50973
51007
  return obj;
50974
51008
  });
50975
51009
  if (childOptions.version) {
50976
- obj.rspackVersion = "1.4.12-canary-40c41ca5-20250806090917";
51010
+ obj.rspackVersion = "1.5.0-canary-0de3ce24-20250810153546";
50977
51011
  obj.version = "5.75.0";
50978
51012
  }
50979
51013
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
@@ -52283,7 +52317,7 @@ const SIMPLE_EXTRACTORS = {
52283
52317
  },
52284
52318
  version: (object)=>{
52285
52319
  object.version = "5.75.0";
52286
- object.rspackVersion = "1.4.12-canary-40c41ca5-20250806090917";
52320
+ object.rspackVersion = "1.5.0-canary-0de3ce24-20250810153546";
52287
52321
  },
52288
52322
  env: (object, _compilation, _context, { _env })=>{
52289
52323
  object.env = _env;
@@ -56342,7 +56376,8 @@ const getRspackOptionsSchema = memoize(()=>{
56342
56376
  profile: profile,
56343
56377
  amd: amd,
56344
56378
  bail: bail,
56345
- performance: performance
56379
+ performance: performance,
56380
+ lazyCompilation: schemas_boolean().or(lazyCompilationOptions).optional()
56346
56381
  }).partial().check(externalUmdChecker);
56347
56382
  return rspackOptions;
56348
56383
  });
@@ -56894,7 +56929,7 @@ function transformSync(source, options) {
56894
56929
  const _options = JSON.stringify(options || {});
56895
56930
  return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
56896
56931
  }
56897
- const exports_rspackVersion = "1.4.12-canary-40c41ca5-20250806090917";
56932
+ const exports_rspackVersion = "1.5.0-canary-0de3ce24-20250810153546";
56898
56933
  const exports_version = "5.75.0";
56899
56934
  const exports_WebpackError = Error;
56900
56935
  const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
Binary file
@@ -993,4 +993,12 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
993
993
  maxAssetSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<number>]>>;
994
994
  maxEntrypointSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<number>]>>;
995
995
  }, z.core.$strict>, z.ZodLiteral<false>]>>;
996
+ lazyCompilation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
997
+ imports: z.ZodOptional<z.ZodBoolean>;
998
+ entries: z.ZodOptional<z.ZodBoolean>;
999
+ test: z.ZodOptional<z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>>;
1000
+ client: z.ZodOptional<z.ZodString>;
1001
+ serverUrl: z.ZodOptional<z.ZodString>;
1002
+ prefix: z.ZodOptional<z.ZodString>;
1003
+ }, z.core.$strip>]>>>;
996
1004
  }, z.core.$strict>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/browser",
3
- "version": "1.4.12-canary-40c41ca5-20250806090917",
3
+ "version": "1.5.0-canary-0de3ce24-20250810153546",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
@@ -32,10 +32,10 @@
32
32
  "@napi-rs/wasm-runtime": "^1.0.1",
33
33
  "@rspack/lite-tapable": "1.0.1",
34
34
  "buffer": "^6.0.3",
35
- "memfs": "4.20.0"
35
+ "memfs": "4.36.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@rspack/binding": "npm:@rspack-canary/binding@1.4.12-canary-40c41ca5-20250806090917"
38
+ "@rspack/binding": "npm:@rspack-canary/binding@1.5.0-canary-0de3ce24-20250810153546"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@swc/helpers": ">=0.5.1"