@nuxt/rspack-builder-nightly 4.6.0-29776095.3d108708 → 4.6.0-29776185.65fb0aaa

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
@@ -5,7 +5,7 @@ import { createRsbuild, rspack } from "@rsbuild/core";
5
5
  import { VueLoaderPlugin } from "rspack-vue-loader";
6
6
  import WebpackBarPlugin from "webpackbar/rspack";
7
7
  import { TsCheckerRspackPlugin } from "ts-checker-rspack-plugin";
8
- import pify from "pify";
8
+ import { promisify } from "node:util";
9
9
  import { defu } from "defu";
10
10
  import { basename, dirname, isAbsolute, join, normalize, relative, resolve } from "pathe";
11
11
  import { joinURL, withTrailingSlash } from "ufo";
@@ -464,7 +464,7 @@ function createMFS() {
464
464
  const _fs = { ...createFsFromVolume(new Volume()) };
465
465
  _fs.join = join;
466
466
  _fs.exists = (p) => Promise.resolve(_fs.existsSync(p));
467
- _fs.readFile = pify(_fs.readFile);
467
+ _fs.readFile = promisify(_fs.readFile);
468
468
  return _fs;
469
469
  }
470
470
  //#endregion
@@ -1712,7 +1712,7 @@ async function createDevMiddleware(compiler) {
1712
1712
  stats: "none",
1713
1713
  ...nuxt.options.webpack.devMiddleware
1714
1714
  });
1715
- nuxt.hook("close", () => pify(devMiddleware.close.bind(devMiddleware))());
1715
+ nuxt.hook("close", () => promisify(devMiddleware.close.bind(devMiddleware))());
1716
1716
  const { client: _client, ...hotMiddlewareOptions } = nuxt.options.webpack.hotMiddleware || {};
1717
1717
  const hotMiddleware = webpackHotMiddleware(compiler, {
1718
1718
  log: false,
@@ -1770,7 +1770,7 @@ async function compile(compiler) {
1770
1770
  if (nuxt.options.dev) {
1771
1771
  const compilersWatching = [];
1772
1772
  nuxt.hook("close", async () => {
1773
- await Promise.all(compilersWatching.map((watching) => watching && pify(watching.close.bind(watching))()));
1773
+ await Promise.all(compilersWatching.map((watching) => watching && promisify(watching.close.bind(watching))()));
1774
1774
  });
1775
1775
  if (compiler.options.name === "client") return new Promise((resolve, reject) => {
1776
1776
  compiler.hooks.done.tap("nuxt-dev", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/rspack-builder-nightly",
3
- "version": "4.6.0-29776095.3d108708",
3
+ "version": "4.6.0-29776185.65fb0aaa",
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-29776185.65fb0aaa",
28
28
  "@rsbuild/core": "~2.1.9",
29
29
  "@vue/compiler-sfc": "3.5.40",
30
30
  "autoprefixer": "^10.5.4",
@@ -41,7 +41,6 @@
41
41
  "mini-css-extract-plugin": "^2.10.2",
42
42
  "ohash": "^2.0.11",
43
43
  "pathe": "^2.0.3",
44
- "pify": "^6.1.0",
45
44
  "postcss": "^8.5.25",
46
45
  "postcss-import": "^16.1.1",
47
46
  "postcss-import-resolver": "^2.0.0",
@@ -64,7 +63,7 @@
64
63
  "webpackbar": "^7.0.0"
65
64
  },
66
65
  "devDependencies": {
67
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.6.0-29776095.3d108708",
66
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.6.0-29776185.65fb0aaa",
68
67
  "@types/webpack-bundle-analyzer": "4.7.0",
69
68
  "h3": "1.15.11",
70
69
  "h3-next": "npm:h3@2.0.1-rc.26",
@@ -73,7 +72,7 @@
73
72
  "vue": "^3.5.40"
74
73
  },
75
74
  "peerDependencies": {
76
- "nuxt": "npm:nuxt-nightly@4.6.0-29776095.3d108708",
75
+ "nuxt": "npm:nuxt-nightly@4.6.0-29776185.65fb0aaa",
77
76
  "vue": "^3.3.4"
78
77
  },
79
78
  "engines": {