@nuxt/webpack-builder 3.6.1 → 3.6.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 CHANGED
@@ -55,7 +55,7 @@ Nuxt's goal is to make web development intuitive and performant, with a great de
55
55
  <td>
56
56
  <h3>Examples</h3>
57
57
  <p>
58
- Explore different ways of using Nuxt features and get inspired with <a href="https://nuxt.com/docs/examples/essentials/hello-world">our list of examples</a>.
58
+ Explore different ways of using Nuxt features and get inspired with <a href="https://nuxt.com/docs/examples/hello-world">our list of examples</a>.
59
59
  </p>
60
60
  </td>
61
61
  </tr>
package/dist/index.mjs CHANGED
@@ -13,7 +13,6 @@ import MagicString from 'magic-string';
13
13
  import { hash } from 'ohash';
14
14
  import escapeRE from 'escape-string-regexp';
15
15
  import { findStaticImports, parseStaticImport, createCommonJS } from 'mlly';
16
- import 'node:fs';
17
16
  import { createFsFromVolume, Volume } from 'memfs';
18
17
  import VirtualModulesPlugin from 'webpack-virtual-modules';
19
18
  import querystring from 'node:querystring';
@@ -235,7 +234,7 @@ function detectImportNames(code, composableMeta) {
235
234
  if (source && matchWithStringOrRegex(i.specifier, source)) {
236
235
  return;
237
236
  }
238
- names.add(namedImports[name]);
237
+ names.add(name);
239
238
  };
240
239
  if (NUXT_IMPORT_RE.test(i.specifier)) {
241
240
  continue;
@@ -1326,7 +1325,9 @@ async function compile(compiler) {
1326
1325
  reject(err);
1327
1326
  });
1328
1327
  createDevMiddleware(compiler).then((devMiddleware) => {
1329
- compilersWatching.push(devMiddleware.context.watching);
1328
+ if (devMiddleware.context.watching) {
1329
+ compilersWatching.push(devMiddleware.context.watching);
1330
+ }
1330
1331
  });
1331
1332
  });
1332
1333
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "repository": "nuxt/nuxt",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,11 +27,11 @@
27
27
  "file-loader": "^6.2.0",
28
28
  "fork-ts-checker-webpack-plugin": "^8.0.0",
29
29
  "fs-extra": "^11.1.1",
30
- "h3": "^1.7.0",
30
+ "h3": "^1.7.1",
31
31
  "hash-sum": "^2.0.0",
32
32
  "lodash-es": "^4.17.21",
33
- "magic-string": "^0.30.0",
34
- "memfs": "^3.5.3",
33
+ "magic-string": "^0.30.1",
34
+ "memfs": "^4.2.0",
35
35
  "mini-css-extract-plugin": "^2.7.6",
36
36
  "mlly": "^1.4.0",
37
37
  "ohash": "^1.1.2",
@@ -45,20 +45,21 @@
45
45
  "std-env": "^3.3.3",
46
46
  "time-fix-plugin": "^2.0.7",
47
47
  "ufo": "^1.1.2",
48
- "unplugin": "^1.3.1",
48
+ "unplugin": "^1.3.2",
49
49
  "url-loader": "^4.1.1",
50
50
  "vue-bundle-renderer": "^1.0.3",
51
51
  "vue-loader": "^17.2.2",
52
- "webpack": "^5.88.0",
52
+ "webpack": "^5.88.1",
53
53
  "webpack-bundle-analyzer": "^4.9.0",
54
54
  "webpack-dev-middleware": "^6.1.1",
55
55
  "webpack-hot-middleware": "^2.25.4",
56
56
  "webpack-virtual-modules": "^0.5.0",
57
57
  "webpackbar": "^5.0.2",
58
- "@nuxt/kit": "3.6.1"
58
+ "@nuxt/kit": "3.6.3"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/fs-extra": "11.0.1",
62
+ "@types/hash-sum": "1.0.0",
62
63
  "@types/lodash-es": "4.17.7",
63
64
  "@types/pify": "5.0.1",
64
65
  "@types/webpack-bundle-analyzer": "4.6.0",
@@ -66,7 +67,7 @@
66
67
  "@types/webpack-virtual-modules": "0.1.1",
67
68
  "unbuild": "latest",
68
69
  "vue": "3.3.4",
69
- "@nuxt/schema": "3.6.1"
70
+ "@nuxt/schema": "3.6.3"
70
71
  },
71
72
  "peerDependencies": {
72
73
  "vue": "^3.3.4"