@nuxt/rspack-builder 3.19.0 → 3.19.2

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 (2) hide show
  1. package/dist/index.mjs +9 -3
  2. package/package.json +10 -10
package/dist/index.mjs CHANGED
@@ -761,7 +761,13 @@ class VueSSRClientPlugin {
761
761
  continue;
762
762
  }
763
763
  const id = m.identifier.replace(/\s\w+$/, "");
764
- const filesSet = new Set(chunk.files.map(fileToIndex).filter((i) => i !== -1));
764
+ const filesSet = /* @__PURE__ */ new Set();
765
+ for (const file of chunk.files) {
766
+ const index = fileToIndex(file);
767
+ if (index !== -1) {
768
+ filesSet.add(index);
769
+ }
770
+ }
765
771
  for (const chunkName of chunk.names) {
766
772
  if (!entrypoints[chunkName]) {
767
773
  const chunkGroup = namedChunkGroups[chunkName];
@@ -837,7 +843,7 @@ class VueSSRServerPlugin {
837
843
  files: {},
838
844
  maps: {}
839
845
  };
840
- stats.assets.forEach((asset) => {
846
+ for (const asset of stats.assets) {
841
847
  if (isJS(asset.name)) {
842
848
  const queryPart = extractQueryPartJS(asset.name);
843
849
  if (queryPart !== void 0) {
@@ -850,7 +856,7 @@ class VueSSRServerPlugin {
850
856
  } else {
851
857
  delete assets[asset.name];
852
858
  }
853
- });
859
+ }
854
860
  const src = JSON.stringify(bundle, null, 2);
855
861
  assets[this.options.filename] = {
856
862
  source: () => src,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/rspack-builder",
3
- "version": "3.19.0",
3
+ "version": "3.19.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
30
- "@rspack/core": "^1.5.2",
30
+ "@rspack/core": "^1.5.3",
31
31
  "autoprefixer": "^10.4.21",
32
32
  "css-loader": "^7.1.2",
33
33
  "css-minimizer-webpack-plugin": "^7.0.2",
@@ -39,8 +39,8 @@
39
39
  "h3": "^1.15.4",
40
40
  "jiti": "^2.5.1",
41
41
  "knitwork": "^1.2.0",
42
- "magic-string": "^0.30.18",
43
- "memfs": "^4.38.2",
42
+ "magic-string": "^0.30.19",
43
+ "memfs": "^4.39.0",
44
44
  "ohash": "^2.0.11",
45
45
  "pathe": "^2.0.3",
46
46
  "pify": "^6.1.0",
@@ -54,25 +54,25 @@
54
54
  "time-fix-plugin": "^2.0.7",
55
55
  "ts-checker-rspack-plugin": "^1.1.5",
56
56
  "ufo": "^1.6.1",
57
- "unenv": "^2.0.0-rc.19",
57
+ "unenv": "^2.0.0-rc.21",
58
58
  "unplugin": "^2.3.10",
59
59
  "url-loader": "^4.1.1",
60
60
  "vue-bundle-renderer": "^2.1.2",
61
61
  "vue-loader": "^17.4.2",
62
62
  "webpack-bundle-analyzer": "^4.10.2",
63
- "webpack-dev-middleware": "^7.4.2",
63
+ "webpack-dev-middleware": "^7.4.3",
64
64
  "webpack-hot-middleware": "^2.26.1",
65
65
  "webpackbar": "^7.0.0",
66
- "@nuxt/kit": "3.19.0"
66
+ "@nuxt/kit": "3.19.2"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/pify": "6.1.0",
70
70
  "@types/webpack-bundle-analyzer": "4.7.0",
71
71
  "@types/webpack-hot-middleware": "2.25.10",
72
- "rollup": "4.50.0",
72
+ "rollup": "4.50.1",
73
73
  "unbuild": "3.6.1",
74
- "vue": "3.5.20",
75
- "@nuxt/schema": "3.19.0"
74
+ "vue": "3.5.21",
75
+ "@nuxt/schema": "3.19.2"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "vue": "^3.3.4"