@rspack/core 1.5.1 → 1.5.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.
@@ -13,7 +13,7 @@ export default class NativeWatchFileSystem implements WatchFileSystem {
13
13
  }, missing: Iterable<string> & {
14
14
  added?: Iterable<string>;
15
15
  removed?: Iterable<string>;
16
- }, _startTime: number, options: Watchpack.WatchOptions, callback: (error: Error | null, fileTimeInfoEntries: Map<string, FileSystemInfoEntry | "ignore">, contextTimeInfoEntries: Map<string, FileSystemInfoEntry | "ignore">, changedFiles: Set<string>, removedFiles: Set<string>) => void, callbackUndelayed: (fileName: string, changeTime: number) => void): Watcher;
16
+ }, startTime: number, options: Watchpack.WatchOptions, callback: (error: Error | null, fileTimeInfoEntries: Map<string, FileSystemInfoEntry | "ignore">, contextTimeInfoEntries: Map<string, FileSystemInfoEntry | "ignore">, changedFiles: Set<string>, removedFiles: Set<string>) => void, callbackUndelayed: (fileName: string, changeTime: number) => void): Watcher;
17
17
  getNativeWatcher(options: Watchpack.WatchOptions): binding.NativeWatcher;
18
18
  triggerEvent(kind: "change" | "remove" | "create", path: string): void;
19
19
  formatWatchDependencies(dependencies: Iterable<string> & {
@@ -15,19 +15,50 @@ export interface ComposeJsUseOptions {
15
15
  experiments: RawOptions["experiments"];
16
16
  compiler: Compiler;
17
17
  }
18
- export interface SourceMap {
18
+ export interface RawSourceMap {
19
+ /**
20
+ * The version of the source map format, always 3
21
+ */
19
22
  version: number;
23
+ /**
24
+ * A list of original sources used by the mappings field
25
+ */
20
26
  sources: string[];
27
+ /**
28
+ * A string with the encoded mapping data
29
+ */
21
30
  mappings: string;
22
- file?: string;
31
+ /**
32
+ * The filename of the generated code that this source map is associated with
33
+ */
34
+ file: string;
35
+ /**
36
+ * An optional source root string, used for relocating source files on a server
37
+ * or removing repeated values in the sources entry.
38
+ */
23
39
  sourceRoot?: string;
40
+ /**
41
+ * An array containing the actual content of the original source files
42
+ */
24
43
  sourcesContent?: string[];
25
- names?: string[];
44
+ /**
45
+ * A list of symbol names which may be used by the mappings field.
46
+ */
47
+ names: string[];
48
+ /**
49
+ * A unique identifier for debugging purposes
50
+ */
51
+ debugId?: string;
52
+ /**
53
+ * An array of indices into the sources array, indicating which sources
54
+ * should be ignored by debuggers
55
+ */
56
+ ignoreList?: number[];
26
57
  }
27
58
  export interface AdditionalData {
28
59
  [index: string]: any;
29
60
  }
30
- export type LoaderContextCallback = (err?: Error | null, content?: string | Buffer, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => void;
61
+ export type LoaderContextCallback = (err?: Error | null, content?: string | Buffer, sourceMap?: string | RawSourceMap, additionalData?: AdditionalData) => void;
31
62
  export type ErrorWithDetails = Error & {
32
63
  details?: string;
33
64
  };
@@ -322,7 +353,7 @@ export interface LoaderContext<OptionsType = {}> {
322
353
  */
323
354
  __internal__setParseMeta: (key: string, value: string) => void;
324
355
  }
325
- export type LoaderDefinitionFunction<OptionsType = {}, ContextAdditions = {}> = (this: LoaderContext<OptionsType> & ContextAdditions, content: string, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => string | void | Buffer | Promise<string | Buffer | void>;
356
+ export type LoaderDefinitionFunction<OptionsType = {}, ContextAdditions = {}> = (this: LoaderContext<OptionsType> & ContextAdditions, content: string, sourceMap?: string | RawSourceMap, additionalData?: AdditionalData) => string | void | Buffer | Promise<string | Buffer | void>;
326
357
  export type PitchLoaderDefinitionFunction<OptionsType = {}, ContextAdditions = {}> = (this: LoaderContext<OptionsType> & ContextAdditions, remainingRequest: string, previousRequest: string, data: object) => string | void | Buffer | Promise<string | Buffer | void>;
327
358
  /**
328
359
  * Defines a loader for Rspack.
@@ -1,4 +1,5 @@
1
1
  export * from "./adapter";
2
+ export type { RawSourceMap } from "./adapterRuleUse";
2
3
  export * from "./defaults";
3
4
  export * from "./normalization";
4
5
  export type * from "./types";
@@ -40,10 +40,11 @@ function updateCss(el, url) {
40
40
  let normalizedUrl;
41
41
  if (url) normalizedUrl = url;
42
42
  else {
43
- if (!el.href) return;
44
- normalizedUrl = el.href.split("?")[0];
43
+ let href = el.getAttribute("href");
44
+ if (!href) return;
45
+ normalizedUrl = href.split("?")[0];
45
46
  }
46
- if (!isUrlRequest(normalizedUrl) || !1 === el.isLoaded || !normalizedUrl || !(normalizedUrl.indexOf(".css") > -1)) return;
47
+ if (!isUrlRequest(el.href) || !1 === el.isLoaded || !normalizedUrl || !(normalizedUrl.indexOf(".css") > -1)) return;
47
48
  el.visited = !0;
48
49
  let newEl = el.cloneNode();
49
50
  newEl.isLoaded = !1, newEl.addEventListener("load", ()=>{
package/dist/index.js CHANGED
@@ -8390,7 +8390,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
8390
8390
  /^browserslist(?::(.+))?$/,
8391
8391
  (rest, context)=>{
8392
8392
  let inlineQuery = rest ? rest.trim() : null, browsers = binding_default().loadBrowserslist(inlineQuery, context);
8393
- if (!browsers || !inlineQuery && !hasBrowserslistConfig(context)) throw Error(`No browserslist config found to handle the 'browserslist' target.
8393
+ if (!browsers || !inlineQuery && !hasBrowserslistConfig(context) && !process.env.BROWSERSLIST) throw Error(`No browserslist config found to handle the 'browserslist' target.
8394
8394
  See https://github.com/browserslist/browserslist#queries for possible ways to provide a config.
8395
8395
  The recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).
8396
8396
  You can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`);
@@ -8604,10 +8604,14 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
8604
8604
  if ("function" != typeof options.entry) for (let key of Object.keys(options.entry))defaults_F(options.entry[key], "import", ()=>[
8605
8605
  "./src"
8606
8606
  ]);
8607
- defaults_F(options, "devtool", ()=>!!development && "eval"), D(options, "watch", !1), D(options, "profile", !1), D(options, "lazyCompilation", !1), D(options, "bail", !1), defaults_F(options, "cache", ()=>development), applyExperimentsDefaults(options.experiments, {
8607
+ defaults_F(options, "devtool", ()=>!!development && "eval"), D(options, "watch", !1), D(options, "profile", !1), D(options, "lazyCompilation", !1), D(options, "bail", !1), defaults_F(options, "cache", ()=>development), !1 === options.cache && (options.experiments.cache = !1), applyExperimentsDefaults(options.experiments, {
8608
8608
  production,
8609
8609
  development
8610
- }), !1 === options.cache && (options.experiments.cache = !1), applySnapshotDefaults(options.snapshot, {
8610
+ }), applyOptimizationDefaults(options.optimization, {
8611
+ production,
8612
+ development,
8613
+ css: options.experiments.css
8614
+ }), applySnapshotDefaults(options.snapshot, {
8611
8615
  production
8612
8616
  }), applyModuleDefaults(options.module, {
8613
8617
  asyncWebAssembly: options.experiments.asyncWebAssembly,
@@ -8615,6 +8619,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
8615
8619
  targetProperties,
8616
8620
  mode: options.mode,
8617
8621
  uniqueName: options.output.uniqueName,
8622
+ usedExports: !!options.optimization.usedExports,
8618
8623
  inlineConst: options.experiments.inlineConst
8619
8624
  }), applyOutputDefaults(options.output, {
8620
8625
  context: options.context,
@@ -8635,10 +8640,6 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
8635
8640
  environment: options.output.environment
8636
8641
  }), defaults_F(options, "performance", ()=>!!production && !!targetProperties && (!!targetProperties.browser || null === targetProperties.browser) && {}), applyPerformanceDefaults(options.performance, {
8637
8642
  production
8638
- }), applyOptimizationDefaults(options.optimization, {
8639
- production,
8640
- development,
8641
- css: options.experiments.css
8642
8643
  }), options.resolve = cleverMerge(getResolveDefaults({
8643
8644
  context: options.context,
8644
8645
  targetProperties,
@@ -8650,15 +8651,16 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
8650
8651
  let tty = infrastructureLogging.stream?.isTTY && "dumb" !== process.env.TERM;
8651
8652
  D(infrastructureLogging, "level", "info"), D(infrastructureLogging, "debug", !1), D(infrastructureLogging, "colors", tty), D(infrastructureLogging, "appendOnly", !tty);
8652
8653
  }, applyExperimentsDefaults = (experiments, { production, development })=>{
8653
- defaults_F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "layers", !1), !1 === 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."), D(experiments, "topLevelAwait", !0), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !0), D(experiments.incremental, "providedExports", !0), D(experiments.incremental, "dependenciesDiagnostics", !0), D(experiments.incremental, "sideEffects", !0), D(experiments.incremental, "buildChunkGraph", !0), D(experiments.incremental, "moduleIds", !0), D(experiments.incremental, "chunkIds", !0), D(experiments.incremental, "modulesHashes", !0), D(experiments.incremental, "modulesCodegen", !0), D(experiments.incremental, "modulesRuntimeRequirements", !0), D(experiments.incremental, "chunksRuntimeRequirements", !0), D(experiments.incremental, "chunksHashes", !0), D(experiments.incremental, "chunksRender", !0), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !1);
8654
+ defaults_F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "layers", !1), !1 === 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."), D(experiments, "topLevelAwait", !0), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !0), D(experiments.incremental, "providedExports", !0), D(experiments.incremental, "dependenciesDiagnostics", !0), D(experiments.incremental, "sideEffects", !0), D(experiments.incremental, "buildChunkGraph", !1), D(experiments.incremental, "moduleIds", !0), D(experiments.incremental, "chunkIds", !0), D(experiments.incremental, "modulesHashes", !0), D(experiments.incremental, "modulesCodegen", !0), D(experiments.incremental, "modulesRuntimeRequirements", !0), D(experiments.incremental, "chunksRuntimeRequirements", !0), D(experiments.incremental, "chunksHashes", !0), D(experiments.incremental, "chunksRender", !0), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !1);
8654
8655
  }, applybundlerInfoDefaults = (rspackFuture, library)=>{
8655
- "object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.1"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
8656
- }, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName, inlineConst })=>{
8657
- if (assertNotNill(module.parser), assertNotNill(module.generator), defaults_F(module.parser, "asset", ()=>({})), assertNotNill(module.parser.asset), defaults_F(module.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module.parser.asset.dataUrlCondition && D(module.parser.asset.dataUrlCondition, "maxSize", 8096), defaults_F(module.parser, "javascript", ()=>({})), assertNotNill(module.parser.javascript), ((parserOptions, { inlineConst })=>{
8656
+ "object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.3"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
8657
+ }, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst })=>{
8658
+ if (assertNotNill(module.parser), assertNotNill(module.generator), defaults_F(module.parser, "asset", ()=>({})), assertNotNill(module.parser.asset), defaults_F(module.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module.parser.asset.dataUrlCondition && D(module.parser.asset.dataUrlCondition, "maxSize", 8096), defaults_F(module.parser, "javascript", ()=>({})), assertNotNill(module.parser.javascript), ((parserOptions, { usedExports, inlineConst })=>{
8658
8659
  D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
8659
8660
  "..."
8660
- ]), D(parserOptions, "importMeta", !0), D(parserOptions, "inlineConst", inlineConst), D(parserOptions, "typeReexportsPresence", "no-tolerant");
8661
+ ]), D(parserOptions, "importMeta", !0), D(parserOptions, "inlineConst", usedExports && inlineConst), D(parserOptions, "typeReexportsPresence", "no-tolerant");
8661
8662
  })(module.parser.javascript, {
8663
+ usedExports,
8662
8664
  inlineConst
8663
8665
  }), defaults_F(module.parser, JSON_MODULE_TYPE, ()=>({})), assertNotNill(module.parser[JSON_MODULE_TYPE]), D(module.parser[JSON_MODULE_TYPE], "exportsDepth", "development" === mode ? 1 : Number.MAX_SAFE_INTEGER), defaults_F(module.generator, "json", ()=>({})), assertNotNill(module.generator.json), D(module.generator.json, "JSONParse", !0), css) {
8664
8666
  defaults_F(module.parser, "css", ()=>({})), assertNotNill(module.parser.css), D(module.parser.css, "namedExports", !0), D(module.parser.css, "url", !0), defaults_F(module.parser, "css/auto", ()=>({})), assertNotNill(module.parser["css/auto"]), D(module.parser["css/auto"], "namedExports", !0), D(module.parser["css/auto"], "url", !0), defaults_F(module.parser, "css/module", ()=>({})), assertNotNill(module.parser["css/module"]), D(module.parser["css/module"], "namedExports", !0), D(module.parser["css/module"], "url", !0), defaults_F(module.generator, "css", ()=>({})), assertNotNill(module.generator.css), D(module.generator.css, "exportsOnly", !targetProperties || !targetProperties.document), D(module.generator.css, "esModule", !0), defaults_F(module.generator, "css/auto", ()=>({})), assertNotNill(module.generator["css/auto"]), D(module.generator["css/auto"], "exportsOnly", !targetProperties || !targetProperties.document), D(module.generator["css/auto"], "exportsConvention", "as-is");
@@ -10295,7 +10297,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
10295
10297
  });
10296
10298
  }
10297
10299
  }
10298
- let CORE_VERSION = "1.5.1", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
10300
+ let CORE_VERSION = "1.5.3", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
10299
10301
 
10300
10302
  Help:
10301
10303
  Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
@@ -10313,14 +10315,14 @@ Help:
10313
10315
  constructor(inputFileSystem){
10314
10316
  this.#inputFileSystem = inputFileSystem;
10315
10317
  }
10316
- watch(files, directories, missing, _startTime, options, callback, callbackUndelayed) {
10318
+ watch(files, directories, missing, startTime, options, callback, callbackUndelayed) {
10317
10319
  if ((!files.added || "function" != typeof files.added[Symbol.iterator]) && (!files.removed || "function" != typeof files.removed[Symbol.iterator])) throw Error("Invalid arguments: 'files'");
10318
10320
  if ((!directories.added || "function" != typeof directories.added[Symbol.iterator]) && (!directories.removed || "function" != typeof directories.removed[Symbol.iterator])) throw Error("Invalid arguments: 'directories'");
10319
10321
  if ("function" != typeof callback) throw Error("Invalid arguments: 'callback'");
10320
10322
  if ("object" != typeof options) throw Error("Invalid arguments: 'options'");
10321
10323
  if ("function" != typeof callbackUndelayed && callbackUndelayed) throw Error("Invalid arguments: 'callbackUndelayed'");
10322
10324
  let nativeWatcher = this.getNativeWatcher(options);
10323
- return nativeWatcher.watch(this.formatWatchDependencies(files), this.formatWatchDependencies(directories), this.formatWatchDependencies(missing), (err, result)=>{
10325
+ return nativeWatcher.watch(this.formatWatchDependencies(files), this.formatWatchDependencies(directories), this.formatWatchDependencies(missing), BigInt(startTime), (err, result)=>{
10324
10326
  if (err) return void callback(err, new Map(), new Map(), new Set(), new Set());
10325
10327
  nativeWatcher.pause();
10326
10328
  let changedFiles = result.changedFiles, removedFiles = result.removedFiles;
@@ -11579,7 +11581,7 @@ Help:
11579
11581
  obj.children = this.stats.map((stat, idx)=>{
11580
11582
  let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
11581
11583
  return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
11582
- }), childOptions.version && (obj.rspackVersion = "1.5.1", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
11584
+ }), childOptions.version && (obj.rspackVersion = "1.5.3", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
11583
11585
  let mapError = (j, obj)=>({
11584
11586
  ...obj,
11585
11587
  compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
@@ -12479,7 +12481,7 @@ Help:
12479
12481
  object.hash = context.getStatsCompilation(compilation).hash;
12480
12482
  },
12481
12483
  version: (object)=>{
12482
- object.version = "5.75.0", object.rspackVersion = "1.5.1";
12484
+ object.version = "5.75.0", object.rspackVersion = "1.5.3";
12483
12485
  },
12484
12486
  env: (object, _compilation, _context, { _env })=>{
12485
12487
  object.env = _env;
@@ -15401,6 +15403,7 @@ Help:
15401
15403
  serverUrl: schemas_string(),
15402
15404
  prefix: schemas_string()
15403
15405
  }).partial(), incremental = strictObject({
15406
+ silent: schemas_boolean(),
15404
15407
  make: schemas_boolean(),
15405
15408
  inferAsyncModules: schemas_boolean(),
15406
15409
  providedExports: schemas_boolean(),
@@ -15793,7 +15796,7 @@ Help:
15793
15796
  let _options = JSON.stringify(options || {});
15794
15797
  return binding_default().transform(source, _options);
15795
15798
  }
15796
- let exports_rspackVersion = "1.5.1", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
15799
+ let exports_rspackVersion = "1.5.3", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
15797
15800
  getNormalizedRspackOptions: getNormalizedRspackOptions,
15798
15801
  applyRspackOptionsDefaults: applyRspackOptionsDefaults,
15799
15802
  getNormalizedWebpackOptions: getNormalizedRspackOptions,
@@ -363,6 +363,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
363
363
  css: z.ZodOptional<z.ZodBoolean>;
364
364
  layers: z.ZodOptional<z.ZodBoolean>;
365
365
  incremental: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"safe">]>, z.ZodLiteral<"advance">]>, z.ZodLiteral<"advance-silent">]>, z.ZodObject<{
366
+ silent: z.ZodOptional<z.ZodBoolean>;
366
367
  make: z.ZodOptional<z.ZodBoolean>;
367
368
  inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
368
369
  providedExports: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -47,7 +47,7 @@
47
47
  "enhanced-resolve": "5.18.2",
48
48
  "glob-to-regexp": "^0.4.1",
49
49
  "graceful-fs": "^4.2.11",
50
- "memfs": "4.36.0",
50
+ "memfs": "4.38.2",
51
51
  "prebundle": "^1.4.1",
52
52
  "tinypool": "^1.1.1",
53
53
  "tsx": "^4.20.3",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@module-federation/runtime-tools": "0.18.0",
62
62
  "@rspack/lite-tapable": "1.0.1",
63
- "@rspack/binding": "1.5.1"
63
+ "@rspack/binding": "1.5.3"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@swc/helpers": ">=0.5.1"