oxlint 1.68.0 → 1.70.0

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/dist/js_config.js CHANGED
@@ -1,9 +1,8 @@
1
- import { a as JSONStringify, n as ArrayIsArray, r as DateNow } from "./globals.js";
2
1
  import { t as getErrorMessage$1 } from "./utils.js";
3
2
  import { extname } from "node:path";
4
3
  import { fileURLToPath, pathToFileURL } from "node:url";
5
4
  //#region ../shared/src-js/utils.ts
6
- const isObject$1 = (v) => typeof v == "object" && !!v && !ArrayIsArray(v), TS_MODULE_EXTENSIONS = new Set([
5
+ const ArrayIsArray$1 = Array.isArray, isObject$1 = (v) => typeof v == "object" && !!v && !ArrayIsArray$1(v), TS_MODULE_EXTENSIONS = new Set([
7
6
  ".ts",
8
7
  ".mts",
9
8
  ".cts"
@@ -90,7 +89,7 @@ async function loadViteConfigField(path, fieldName) {
90
89
  }
91
90
  //#endregion
92
91
  //#region src-js/js_config.ts
93
- const isObject = (v) => typeof v == "object" && !!v && !ArrayIsArray(v);
92
+ const ArrayIsArray = Array.isArray, JSONStringify = JSON.stringify, DateNow = Date.now, isObject = (v) => typeof v == "object" && !!v && !ArrayIsArray(v);
94
93
  function validateConfigExtends(root) {
95
94
  let visited = /* @__PURE__ */ new WeakSet(), inStack = /* @__PURE__ */ new WeakSet(), stackObjects = [], stackPaths = [], formatCycleError = (refPath, cycleStart, idx) => `\`extends\` contains a circular reference.
96
95