@nuxt/webpack-builder-nightly 4.6.0-29776095.3d108708 → 4.6.0-29776167.796cdae2

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 +4 -4
  2. package/package.json +4 -5
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import webpack from "webpack";
6
6
  import MiniCssExtractPlugin from "mini-css-extract-plugin";
7
7
  import WebpackBarPlugin from "webpackbar";
8
8
  import TsCheckerPlugin from "fork-ts-checker-webpack-plugin";
9
- import pify from "pify";
9
+ import { promisify } from "node:util";
10
10
  import { defu } from "defu";
11
11
  import { basename, dirname, isAbsolute, join, normalize, relative, resolve } from "pathe";
12
12
  import { joinURL, withTrailingSlash } from "ufo";
@@ -462,7 +462,7 @@ function createMFS() {
462
462
  const _fs = { ...createFsFromVolume(new Volume()) };
463
463
  _fs.join = join;
464
464
  _fs.exists = (p) => Promise.resolve(_fs.existsSync(p));
465
- _fs.readFile = pify(_fs.readFile);
465
+ _fs.readFile = promisify(_fs.readFile);
466
466
  return _fs;
467
467
  }
468
468
  //#endregion
@@ -1710,7 +1710,7 @@ async function createDevMiddleware(compiler) {
1710
1710
  stats: "none",
1711
1711
  ...nuxt.options.webpack.devMiddleware
1712
1712
  });
1713
- nuxt.hook("close", () => pify(devMiddleware.close.bind(devMiddleware))());
1713
+ nuxt.hook("close", () => promisify(devMiddleware.close.bind(devMiddleware))());
1714
1714
  const { client: _client, ...hotMiddlewareOptions } = nuxt.options.webpack.hotMiddleware || {};
1715
1715
  const hotMiddleware = webpackHotMiddleware(compiler, {
1716
1716
  log: false,
@@ -1768,7 +1768,7 @@ async function compile(compiler) {
1768
1768
  if (nuxt.options.dev) {
1769
1769
  const compilersWatching = [];
1770
1770
  nuxt.hook("close", async () => {
1771
- await Promise.all(compilersWatching.map((watching) => watching && pify(watching.close.bind(watching))()));
1771
+ await Promise.all(compilersWatching.map((watching) => watching && promisify(watching.close.bind(watching))()));
1772
1772
  });
1773
1773
  if (compiler.options.name === "client") return new Promise((resolve, reject) => {
1774
1774
  compiler.hooks.done.tap("nuxt-dev", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder-nightly",
3
- "version": "4.6.0-29776095.3d108708",
3
+ "version": "4.6.0-29776167.796cdae2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
27
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.6.0-29776095.3d108708",
27
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.6.0-29776167.796cdae2",
28
28
  "@vue/compiler-sfc": "3.5.40",
29
29
  "autoprefixer": "^10.5.4",
30
30
  "css-loader": "^7.1.4",
@@ -42,7 +42,6 @@
42
42
  "mini-css-extract-plugin": "^2.10.2",
43
43
  "ohash": "^2.0.11",
44
44
  "pathe": "^2.0.3",
45
- "pify": "^6.1.0",
46
45
  "postcss": "^8.5.25",
47
46
  "postcss-import": "^16.1.1",
48
47
  "postcss-import-resolver": "^2.0.0",
@@ -66,7 +65,7 @@
66
65
  "webpackbar": "^7.0.0"
67
66
  },
68
67
  "devDependencies": {
69
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.6.0-29776095.3d108708",
68
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.6.0-29776167.796cdae2",
70
69
  "@rspack/core": "2.1.7",
71
70
  "@types/hash-sum": "1.0.2",
72
71
  "@types/webpack-bundle-analyzer": "4.7.0",
@@ -78,7 +77,7 @@
78
77
  "vue": "^3.5.40"
79
78
  },
80
79
  "peerDependencies": {
81
- "nuxt": "npm:nuxt-nightly@4.6.0-29776095.3d108708",
80
+ "nuxt": "npm:nuxt-nightly@4.6.0-29776167.796cdae2",
82
81
  "vue": "^3.3.4"
83
82
  },
84
83
  "engines": {