@rspack/core 2.1.1 → 2.1.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,6 +13,7 @@ export type { AssetInfo } from '@rspack/binding';
13
13
  import * as liteTapable from '../compiled/@rspack/lite-tapable/dist/index.js';
14
14
  import type { Source } from '../compiled/webpack-sources/types.js';
15
15
  import type { EntryOptions, EntryPlugin } from './builtin-plugin/index.js';
16
+ import './Chunk.js';
16
17
  import type { Chunk } from './Chunk.js';
17
18
  import type { ChunkGraph } from './ChunkGraph.js';
18
19
  import type { Compiler } from './Compiler.js';
@@ -33,7 +34,6 @@ import { StatsFactory } from './stats/StatsFactory.js';
33
34
  import { StatsPrinter } from './stats/StatsPrinter.js';
34
35
  import type { InputFileSystem } from './util/fs.js';
35
36
  import type Hash from './util/hash/index.js';
36
- import './Chunk.js';
37
37
  import './Chunks.js';
38
38
  import './ChunkGraph.js';
39
39
  import './CodeGenerationResults.js';
@@ -44,12 +44,6 @@ export interface Asset {
44
44
  source: Source;
45
45
  info: AssetInfo;
46
46
  }
47
- export type ChunkPathData = {
48
- id?: string | number;
49
- name?: string;
50
- hash?: string;
51
- contentHash?: Record<string, string>;
52
- };
53
47
  export type PathData = {
54
48
  filename?: string;
55
49
  hash?: string;
@@ -60,6 +54,12 @@ export type PathData = {
60
54
  chunk?: Chunk | ChunkPathData;
61
55
  contentHashType?: string;
62
56
  };
57
+ export type ChunkPathData = {
58
+ id?: string | number;
59
+ name?: string;
60
+ hash?: string;
61
+ contentHash?: Record<string, string> | string;
62
+ };
63
63
  export interface LogEntry {
64
64
  type: string;
65
65
  args: any[];
@@ -615,6 +615,10 @@ export type RuleSetLogicalConditions = {
615
615
  export type RuleSetLoader = string;
616
616
  export type RuleSetLoaderOptions = string | Record<string, any>;
617
617
  export type RuleSetLoaderWithOptions = {
618
+ /**
619
+ * Stable identifier used to reference object-form loader options.
620
+ * When provided, Rspack passes object options to the loader request as `??${ident}`.
621
+ */
618
622
  ident?: string;
619
623
  loader: RuleSetLoader;
620
624
  /**
@@ -736,6 +740,7 @@ export type AssetParserOptions = {
736
740
  };
737
741
  export type CssParserNamedExports = boolean;
738
742
  export type CssParserUrl = boolean;
743
+ export type CssParserExportType = 'link' | 'text' | 'css-style-sheet' | 'style';
739
744
  export type CssParserResolveImportContext = {
740
745
  url: string;
741
746
  media: string | undefined;
@@ -746,6 +751,14 @@ export type CssParserResolveImportContext = {
746
751
  export type CssParserResolveImport = boolean | ((context: CssParserResolveImportContext) => boolean);
747
752
  /** Options object for `css` modules. */
748
753
  export type CssParserOptions = {
754
+ /**
755
+ * Configure how CSS content is exported to JavaScript.
756
+ *
757
+ * The default value is `"link"`, which emits CSS as stylesheet output.
758
+ *
759
+ * @default "link"
760
+ */
761
+ exportType?: CssParserExportType;
749
762
  /**
750
763
  * Use ES modules named export for CSS exports.
751
764
  * @default true
@@ -769,6 +782,14 @@ export type CssParserOptions = {
769
782
  };
770
783
  /** Options object for `css/global` modules. */
771
784
  export type CssModuleParserOptions = {
785
+ /**
786
+ * Configure how CSS content is exported to JavaScript.
787
+ *
788
+ * The default value is `"link"`, which emits CSS as stylesheet output.
789
+ *
790
+ * @default "link"
791
+ */
792
+ exportType?: CssParserExportType;
772
793
  /**
773
794
  * Use ES modules named export for CSS exports.
774
795
  * @default true
@@ -970,7 +991,8 @@ export type JsonParserOptions = {
970
991
  */
971
992
  exportsDepth?: number;
972
993
  /**
973
- * If Rule.type is set to 'json' then Rules.parser.parse option may be a function that implements custom logic to parse module's source and convert it to a json-compatible data.
994
+ * Custom synchronous parser for json modules. It receives the module source and should return JSON-serializable data.
995
+ * Can be configured through module.parser.json or through Rule.parser when Rule.type is 'json'.
974
996
  */
975
997
  parse?: (source: string) => any;
976
998
  };
package/dist/exports.d.ts CHANGED
@@ -43,9 +43,11 @@ type Config = {
43
43
  };
44
44
  export declare const config: Config;
45
45
  export type * from './config/index.js';
46
+ import { cachedCleverMerge as cleverMerge } from './util/cleverMerge.js';
47
+ import { createHash } from './util/createHash.js';
46
48
  export declare const util: {
47
- createHash: (algorithm: 'xxhash64' | 'md4' | 'native-md4' | (string & {}) | (new () => import("./util/hash/index.js").default)) => import("./util/hash/index.js").default;
48
- cleverMerge: <First, Second>(first: First, second: Second) => First | Second | (First & Second);
49
+ createHash: typeof createHash;
50
+ cleverMerge: typeof cleverMerge;
49
51
  };
50
52
  export type { BannerPluginArgument, DefinePluginOptions, EntryOptions, ProgressPluginHandlerInfo, ProgressPluginOptions, ProvidePluginOptions, } from './builtin-plugin/index.js';
51
53
  export { BannerPlugin, CaseSensitivePlugin, DefinePlugin, DynamicEntryPlugin, EntryPlugin, ExternalsPlugin, HotModuleReplacementPlugin, IgnorePlugin, type IgnorePluginOptions, NoEmitOnErrorsPlugin, ProgressPlugin, ProvidePlugin, RuntimePlugin, } from './builtin-plugin/index.js';
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { __webpack_require__ } from "./rslib-runtime-index.js";
9
9
  let __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
10
10
  import * as __rspack_external_node_util_1b29d436 from "node:util";
11
11
  __webpack_require__.add({
12
- "../../node_modules/.pnpm/enhanced-resolve@5.24.0/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
12
+ "../../node_modules/.pnpm/enhanced-resolve@5.24.1/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
13
13
  let { nextTick } = __webpack_require__("process"), dirname = (path)=>{
14
14
  let idx = path.length - 1;
15
15
  for(; idx >= 0;){
@@ -804,6 +804,57 @@ class MultiHook {
804
804
  _define_property(this, "hooks", void 0), _define_property(this, "name", void 0), this.hooks = hooks, this.name = name;
805
805
  }
806
806
  }
807
+ Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'files', {
808
+ enumerable: !0,
809
+ configurable: !0,
810
+ get () {
811
+ return new Set(this._files);
812
+ }
813
+ }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'runtime', {
814
+ enumerable: !0,
815
+ configurable: !0,
816
+ get () {
817
+ return new Set(this._runtime);
818
+ }
819
+ }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'auxiliaryFiles', {
820
+ enumerable: !0,
821
+ configurable: !0,
822
+ get () {
823
+ return new Set(this._auxiliaryFiles);
824
+ }
825
+ }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'groupsIterable', {
826
+ enumerable: !0,
827
+ configurable: !0,
828
+ get () {
829
+ return new Set(this._groupsIterable);
830
+ }
831
+ }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'getChunkMaps', {
832
+ enumerable: !0,
833
+ configurable: !0,
834
+ value (realHash) {
835
+ let chunkHashMap = {}, chunkContentHashMap = {}, chunkNameMap = {};
836
+ for (let chunk of this.getAllAsyncChunks()){
837
+ let id = chunk.id;
838
+ if (void 0 === id) continue;
839
+ let chunkHash = realHash ? chunk.hash : chunk.renderedHash;
840
+ for (let key of (chunkHash && (chunkHashMap[id] = chunkHash), Object.keys(chunk.contentHash)))chunkContentHashMap[key] || (chunkContentHashMap[key] = {}), chunkContentHashMap[key][id] = chunk.contentHash[key];
841
+ chunk.name && (chunkNameMap[id] = chunk.name);
842
+ }
843
+ return {
844
+ hash: chunkHashMap,
845
+ contentHash: chunkContentHashMap,
846
+ name: chunkNameMap
847
+ };
848
+ }
849
+ }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, node_util.inspect.custom, {
850
+ enumerable: !0,
851
+ configurable: !0,
852
+ value () {
853
+ return {
854
+ ...this
855
+ };
856
+ }
857
+ });
807
858
  let cutOffLoaderExecution = (stack)=>((stack, flag)=>{
808
859
  let stacks = stack.split('\n');
809
860
  for(let i = 0; i < stacks.length; i++)stacks[i].includes(flag) && (stacks.length = i);
@@ -1640,57 +1691,7 @@ class SourceAdapter {
1640
1691
  };
1641
1692
  }
1642
1693
  }
1643
- Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'files', {
1644
- enumerable: !0,
1645
- configurable: !0,
1646
- get () {
1647
- return new Set(this._files);
1648
- }
1649
- }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'runtime', {
1650
- enumerable: !0,
1651
- configurable: !0,
1652
- get () {
1653
- return new Set(this._runtime);
1654
- }
1655
- }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'auxiliaryFiles', {
1656
- enumerable: !0,
1657
- configurable: !0,
1658
- get () {
1659
- return new Set(this._auxiliaryFiles);
1660
- }
1661
- }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'groupsIterable', {
1662
- enumerable: !0,
1663
- configurable: !0,
1664
- get () {
1665
- return new Set(this._groupsIterable);
1666
- }
1667
- }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, 'getChunkMaps', {
1668
- enumerable: !0,
1669
- configurable: !0,
1670
- value (realHash) {
1671
- let chunkHashMap = {}, chunkContentHashMap = {}, chunkNameMap = {};
1672
- for (let chunk of this.getAllAsyncChunks()){
1673
- let id = chunk.id;
1674
- if (void 0 === id) continue;
1675
- let chunkHash = realHash ? chunk.hash : chunk.renderedHash;
1676
- for (let key of (chunkHash && (chunkHashMap[id] = chunkHash), Object.keys(chunk.contentHash)))chunkContentHashMap[key] || (chunkContentHashMap[key] = {}), chunkContentHashMap[key][id] = chunk.contentHash[key];
1677
- chunk.name && (chunkNameMap[id] = chunk.name);
1678
- }
1679
- return {
1680
- hash: chunkHashMap,
1681
- contentHash: chunkContentHashMap,
1682
- name: chunkNameMap
1683
- };
1684
- }
1685
- }), Object.defineProperty(binding_namespaceObject.Chunk.prototype, node_util.inspect.custom, {
1686
- enumerable: !0,
1687
- configurable: !0,
1688
- value () {
1689
- return {
1690
- ...this
1691
- };
1692
- }
1693
- }), Object.defineProperty(binding_namespaceObject.Chunks.prototype, 'entries', {
1694
+ Object.defineProperty(binding_namespaceObject.Chunks.prototype, 'entries', {
1694
1695
  enumerable: !0,
1695
1696
  configurable: !0,
1696
1697
  value () {
@@ -1856,11 +1857,13 @@ function normalizePathData(data = {}) {
1856
1857
  runtime: data.runtime,
1857
1858
  url: data.url
1858
1859
  };
1859
- return void 0 !== data.id && (pathData.id = String(data.id)), data.chunk && (pathData.chunk = {
1860
- id: void 0 !== data.chunk.id ? String(data.chunk.id) : void 0,
1861
- name: data.chunk.name,
1862
- hash: data.chunk.hash
1863
- }), pathData;
1860
+ void 0 !== data.id && (pathData.id = String(data.id));
1861
+ let chunk = data.chunk;
1862
+ if (chunk && (pathData.chunk = chunk), chunk && void 0 === pathData.contentHash) {
1863
+ let contentHash = chunk.contentHash;
1864
+ 'string' == typeof contentHash ? pathData.contentHash = contentHash : data.contentHashType && contentHash && 'object' == typeof contentHash && (pathData.contentHash = contentHash[data.contentHashType]);
1865
+ }
1866
+ return pathData;
1864
1867
  }
1865
1868
  let checkCompilation = (compilation)=>{
1866
1869
  if (!(compilation instanceof Compilation)) throw TypeError('The \'compilation\' argument must be an instance of Compilation. This usually occurs when multiple versions of "@rspack/core" are used, or when the code in "@rspack/core" is executed multiple times.');
@@ -2167,19 +2170,19 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
2167
2170
  }
2168
2171
  getPath(filename, data = {}) {
2169
2172
  let pathData = normalizePathData(data);
2170
- return data.contentHashType && data.chunk?.contentHash && (pathData.contentHash = data.chunk.contentHash[data.contentHashType]), this.#inner.getPath(filename, pathData);
2173
+ return this.#inner.getPath(filename, pathData);
2171
2174
  }
2172
2175
  getPathWithInfo(filename, data = {}) {
2173
2176
  let pathData = normalizePathData(data);
2174
- return data.contentHashType && data.chunk?.contentHash && (pathData.contentHash = data.chunk.contentHash[data.contentHashType]), this.#inner.getPathWithInfo(filename, pathData);
2177
+ return this.#inner.getPathWithInfo(filename, pathData);
2175
2178
  }
2176
2179
  getAssetPath(filename, data = {}) {
2177
2180
  let pathData = normalizePathData(data);
2178
- return data.contentHashType && data.chunk?.contentHash && (pathData.contentHash = data.chunk.contentHash[data.contentHashType]), this.#inner.getAssetPath(filename, pathData);
2181
+ return this.#inner.getAssetPath(filename, pathData);
2179
2182
  }
2180
2183
  getAssetPathWithInfo(filename, data = {}) {
2181
2184
  let pathData = normalizePathData(data);
2182
- return data.contentHashType && data.chunk?.contentHash && (pathData.contentHash = data.chunk.contentHash[data.contentHashType]), this.#inner.getAssetPathWithInfo(filename, pathData);
2185
+ return this.#inner.getAssetPathWithInfo(filename, pathData);
2183
2186
  }
2184
2187
  getLogger(name) {
2185
2188
  let logEntries;
@@ -3324,7 +3327,8 @@ function getRawParserOptions(parser, type) {
3324
3327
  return {
3325
3328
  type: 'css',
3326
3329
  css: {
3327
- namedExports: (parser2 = parser).namedExports,
3330
+ exportType: (parser2 = parser).exportType,
3331
+ namedExports: parser2.namedExports,
3328
3332
  url: parser2.url,
3329
3333
  import: parser2.import,
3330
3334
  resolveImport: parser2.resolveImport
@@ -3392,6 +3396,7 @@ function getRawJavascriptParserOptions(parser) {
3392
3396
  }
3393
3397
  function getRawCssModuleParserOptions(parser) {
3394
3398
  return {
3399
+ exportType: parser.exportType,
3395
3400
  namedExports: parser.namedExports,
3396
3401
  url: parser.url,
3397
3402
  import: parser.import,
@@ -7032,7 +7037,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
7032
7037
  return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), forEachEntry((desc)=>{
7033
7038
  desc.wasmLoading && enabledWasmLoadingTypes.add(desc.wasmLoading);
7034
7039
  }), Array.from(enabledWasmLoadingTypes);
7035
- }), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.1.1"), D(output.bundlerInfo, 'bundler', 'rspack'), D(output.bundlerInfo, 'force', !1));
7040
+ }), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.1.3"), D(output.bundlerInfo, 'bundler', 'rspack'), D(output.bundlerInfo, 'force', !1));
7036
7041
  }, applyExternalsPresetsDefaults = (externalsPresets, { targetProperties, buildHttp, outputModule })=>{
7037
7042
  let isUniversal = (key)=>!!(outputModule && targetProperties && null === targetProperties[key]);
7038
7043
  D(externalsPresets, 'web', !buildHttp && targetProperties && (targetProperties.web || isUniversal('node'))), D(externalsPresets, 'node', targetProperties && (targetProperties.node || isUniversal('node'))), D(externalsPresets, 'electron', targetProperties && targetProperties.electron || isUniversal('electron')), D(externalsPresets, 'electronMain', targetProperties && !!targetProperties.electron && (targetProperties.electronMain || isUniversal('electronMain'))), D(externalsPresets, 'electronPreload', targetProperties && !!targetProperties.electron && (targetProperties.electronPreload || isUniversal('electronPreload'))), D(externalsPresets, 'electronRenderer', targetProperties && !!targetProperties.electron && (targetProperties.electronRenderer || isUniversal('electronRenderer'))), D(externalsPresets, 'nwjs', targetProperties && (targetProperties.nwjs || isUniversal('nwjs')));
@@ -8330,7 +8335,7 @@ class MultiStats {
8330
8335
  obj.children = this.stats.map((stat, idx)=>{
8331
8336
  let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
8332
8337
  return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
8333
- }), childOptions.version && (obj.rspackVersion = "2.1.1", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
8338
+ }), childOptions.version && (obj.rspackVersion = "2.1.3", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
8334
8339
  let mapError = (j, obj)=>({
8335
8340
  ...obj,
8336
8341
  compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
@@ -8889,7 +8894,7 @@ let arraySum = (array)=>{
8889
8894
  let str = `${a}`, length = lengths[i];
8890
8895
  return str.length === length ? str : length > 5 ? `...${str.slice(-length + 3)}` : length > 0 ? str.slice(-length) : '';
8891
8896
  });
8892
- }, CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.24.0/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
8897
+ }, CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.24.1/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
8893
8898
  var CachedInputFileSystem_default = __webpack_require__.n(CachedInputFileSystem);
8894
8899
  class NodeEnvironmentPlugin {
8895
8900
  options;
@@ -9654,7 +9659,7 @@ let iterateConfig = (config, options, fn)=>{
9654
9659
  object.hash = context.getStatsCompilation(compilation).hash;
9655
9660
  },
9656
9661
  version: (object)=>{
9657
- object.version = "5.75.0", object.rspackVersion = "2.1.1";
9662
+ object.version = "5.75.0", object.rspackVersion = "2.1.3";
9658
9663
  },
9659
9664
  env: (object, _compilation, _context, { _env })=>{
9660
9665
  object.env = _env;
@@ -11315,7 +11320,7 @@ class TraceHookPlugin {
11315
11320
  });
11316
11321
  }
11317
11322
  }
11318
- let CORE_VERSION = "2.1.1", VFILES_BY_COMPILER = new WeakMap();
11323
+ let CORE_VERSION = "2.1.3", VFILES_BY_COMPILER = new WeakMap();
11319
11324
  class VirtualModulesPlugin {
11320
11325
  #staticModules;
11321
11326
  #compiler;
@@ -13040,8 +13045,8 @@ function getFileName(manifestOptions) {
13040
13045
  };
13041
13046
  let filePath = 'boolean' == typeof manifestOptions ? '' : manifestOptions.filePath || '', fileName = 'boolean' == typeof manifestOptions ? '' : manifestOptions.fileName || '', manifestFileName = fileName ? fileName.endsWith(JSON_EXT) ? fileName : `${fileName}${JSON_EXT}` : MANIFEST_FILE_NAME;
13042
13047
  return {
13043
- statsFileName: join(filePath, fileName ? manifestFileName.replace(JSON_EXT, `-stats${JSON_EXT}`) : STATS_FILE_NAME),
13044
- manifestFileName: join(filePath, manifestFileName)
13048
+ statsFileName: join(filePath, fileName ? manifestFileName.replace(JSON_EXT, `-stats${JSON_EXT}`) : STATS_FILE_NAME).replace(/\\/g, '/'),
13049
+ manifestFileName: join(filePath, manifestFileName).replace(/\\/g, '/')
13045
13050
  };
13046
13051
  }
13047
13052
  class ModuleFederationManifestPlugin extends RspackBuiltinPlugin {
@@ -13736,7 +13741,7 @@ async function transform(source, options) {
13736
13741
  let _options = JSON.stringify(options || {});
13737
13742
  return binding_default().transform(source, _options);
13738
13743
  }
13739
- let exports_rspackVersion = "2.1.1", exports_version = "5.75.0", exports_WebpackError = Error, exports_config = {
13744
+ let exports_rspackVersion = "2.1.3", exports_version = "5.75.0", exports_WebpackError = Error, exports_config = {
13740
13745
  getNormalizedRspackOptions: getNormalizedRspackOptions,
13741
13746
  applyRspackOptionsDefaults: applyRspackOptionsDefaults,
13742
13747
  getNormalizedWebpackOptions: getNormalizedRspackOptions,
@@ -7,5 +7,5 @@
7
7
  * Copyright (c) JS Foundation and other contributors
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
10
- declare const _default: () => import("./wasm-hash.js").WasmHash;
11
10
  export default _default;
11
+ declare function _default(): import("./wasm-hash.js").WasmHash;
@@ -7,5 +7,5 @@
7
7
  * Copyright (c) JS Foundation and other contributors
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
10
- declare const _default: () => import("./wasm-hash.js").WasmHash;
11
10
  export default _default;
11
+ declare function _default(): import("./wasm-hash.js").WasmHash;
package/module.d.ts CHANGED
@@ -251,6 +251,14 @@ interface ImportMeta {
251
251
  rspackRsc?: {
252
252
  loadCss(): any;
253
253
  };
254
+ rspackPublicPath: string;
255
+ rspackBaseUri: string;
256
+ rspackShareScopes: typeof __webpack_share_scopes__;
257
+ rspackInitSharing: typeof __webpack_init_sharing__;
258
+ rspackNonce: string;
259
+ rspackUniqueId: string;
260
+ rspackVersion: string;
261
+ rspackHash: string;
254
262
  glob: {
255
263
  <T = unknown>(
256
264
  pattern: Rspack.ImportMetaGlobPattern,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "Fast Rust-based bundler for the web with a modernized webpack API",
@@ -37,19 +37,19 @@
37
37
  "directory": "packages/rspack"
38
38
  },
39
39
  "devDependencies": {
40
- "@ast-grep/napi": "^0.43.0",
41
- "@napi-rs/wasm-runtime": "1.1.5",
40
+ "@ast-grep/napi": "^0.44.0",
41
+ "@napi-rs/wasm-runtime": "1.1.6",
42
42
  "@rsbuild/plugin-node-polyfill": "^1.4.6",
43
- "@rslib/core": "^0.23.0",
43
+ "@rslib/core": "^0.23.2",
44
44
  "@rspack/lite-tapable": "1.1.2",
45
45
  "@swc/types": "0.1.27",
46
46
  "@types/node": "^20.19.43",
47
47
  "browserslist-load-config": "^1.0.3",
48
48
  "browserslist-to-es-version": "^1.4.2",
49
49
  "connect-next": "^4.0.3",
50
- "enhanced-resolve": "5.24.0",
50
+ "enhanced-resolve": "5.24.1",
51
51
  "http-proxy-middleware": "^4.1.1",
52
- "memfs": "4.57.7",
52
+ "memfs": "4.57.8",
53
53
  "open": "^11.0.0",
54
54
  "prebundle": "^1.6.5",
55
55
  "tinypool": "^2.1.0",
@@ -58,7 +58,7 @@
58
58
  "webpack-sources": "3.5.0"
59
59
  },
60
60
  "dependencies": {
61
- "@rspack/binding": "2.1.1"
61
+ "@rspack/binding": "2.1.3"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@module-federation/runtime-tools": "^0.24.1 || ^2.0.0",