@graphql-mesh/cli 0.96.10 → 0.96.11

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.
@@ -336,7 +336,7 @@ export function ${cliParams.builtMeshSDKFactoryName}<TGlobalContext = any, TOper
336
336
  .split('(Operations.')
337
337
  .join('(');
338
338
  const endpointAssignmentESM = `import { fileURLToPath } from '@graphql-mesh/utils';
339
- const baseDir = pathModule.join(pathModule.dirname(fileURLToPath(require('node:url').pathToFileURL(__filename))), '${cross_helpers_1.path.relative(artifactsDir, baseDir)}');`;
339
+ const baseDir = pathModule.join(pathModule.dirname(fileURLToPath(import.meta.url)), '${cross_helpers_1.path.relative(artifactsDir, baseDir)}');`;
340
340
  const endpointAssignmentCJS = `const baseDir = pathModule.join(typeof __dirname === 'string' ? __dirname : '/', '${cross_helpers_1.path.relative(artifactsDir, baseDir)}');`;
341
341
  const tsFilePath = cross_helpers_1.path.join(artifactsDir, 'index.ts');
342
342
  const jobs = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/cli",
3
- "version": "0.96.10",
3
+ "version": "0.96.11",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"