vite 8.0.6 → 8.0.7

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.
@@ -17,7 +17,7 @@ import { VERSION as rolldownVersion, rolldown } from "rolldown";
17
17
  import os from "node:os";
18
18
  import net from "node:net";
19
19
  import childProcess, { exec, execFile, execSync } from "node:child_process";
20
- import { promises } from "node:dns";
20
+ import { getDefaultResultOrder, promises } from "node:dns";
21
21
  import { isatty } from "node:tty";
22
22
  import path$1, { isAbsolute as isAbsolute$1, join as join$1, posix as posix$1, resolve as resolve$1, win32 } from "path";
23
23
  import { exactRegex, makeIdFiltersToMatchWithQuery, prefixRegex, withFilter } from "rolldown/filter";
@@ -2064,7 +2064,7 @@ function unique(arr) {
2064
2064
  * For example, when IPv6 is not supported on that machine/network.
2065
2065
  */
2066
2066
  function getLocalhostAddressIfDiffersFromDNS() {
2067
- if (promises.getDefaultResultOrder() === "verbatim") return;
2067
+ if (getDefaultResultOrder() === "verbatim") return;
2068
2068
  return Promise.all([promises.lookup("localhost"), promises.lookup("localhost", { verbatim: true })]).then(([nodeResult, dnsResult]) => {
2069
2069
  return nodeResult.family === dnsResult.family && nodeResult.address === dnsResult.address ? void 0 : nodeResult.address;
2070
2070
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite",
3
- "version": "8.0.6",
3
+ "version": "8.0.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Evan You",