@kubb/core 5.9.1 → 5.9.2

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/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_KubbDriver = require("./KubbDriver-Cd01FAa0.cjs");
2
+ const require_KubbDriver = require("./KubbDriver-D2Jn4i3J.cjs");
3
3
  let verkit = require("verkit");
4
4
  let node_util = require("node:util");
5
5
  let node_process = require("node:process");
@@ -1378,7 +1378,7 @@ const readJSON = async (file) => JSON.parse(await (0, node_fs_promises.readFile)
1378
1378
  * for the extensions it ships with.
1379
1379
  */
1380
1380
  async function readInstalledPackages({ root, packages = [], resolveFrom = [] }) {
1381
- const project = (0, node_module.createRequire)(node_path.default.join(root, "package.json"));
1381
+ const project = (0, node_module.createRequire)(node_path.default.resolve(root, "package.json"));
1382
1382
  const requires = [project, ...resolveFrom.flatMap((name) => {
1383
1383
  try {
1384
1384
  return [(0, node_module.createRequire)(project.resolve(`${name}/package.json`))];