@graphql-mesh/cli 0.92.5 → 0.92.6

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/cjs/config.js CHANGED
@@ -44,7 +44,7 @@ function validateConfig(config, filepath, initialLoggerPrefix, throwOnInvalidCon
44
44
  }
45
45
  }
46
46
  async function findAndParseConfig(options) {
47
- const { configName = 'mesh', dir: configDir = '', initialLoggerPrefix = '🕸️ Mesh', importFn, ...restOptions } = options || {};
47
+ const { configName = 'mesh', dir: configDir = '', initialLoggerPrefix = '🕸️ Mesh', importFn = defaultImportFn_js_1.defaultImportFn, ...restOptions } = options || {};
48
48
  const dir = cross_helpers_1.path.isAbsolute(configDir) ? configDir : cross_helpers_1.path.join(cross_helpers_1.process.cwd(), configDir);
49
49
  const explorer = (0, cosmiconfig_1.cosmiconfig)(configName, {
50
50
  searchPlaces: [
package/esm/config.js CHANGED
@@ -39,7 +39,7 @@ export function validateConfig(config, filepath, initialLoggerPrefix, throwOnInv
39
39
  }
40
40
  }
41
41
  export async function findAndParseConfig(options) {
42
- const { configName = 'mesh', dir: configDir = '', initialLoggerPrefix = '🕸️ Mesh', importFn, ...restOptions } = options || {};
42
+ const { configName = 'mesh', dir: configDir = '', initialLoggerPrefix = '🕸️ Mesh', importFn = defaultImportFn, ...restOptions } = options || {};
43
43
  const dir = path.isAbsolute(configDir) ? configDir : path.join(process.cwd(), configDir);
44
44
  const explorer = cosmiconfig(configName, {
45
45
  searchPlaces: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/cli",
3
- "version": "0.92.5",
3
+ "version": "0.92.6",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"