@graphql-tools/utils 7.2.3 → 7.2.4

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/index.esm.js CHANGED
@@ -3446,8 +3446,8 @@ function isObject(item) {
3446
3446
  return item && typeof item === 'object' && !Array.isArray(item);
3447
3447
  }
3448
3448
 
3449
- function parseSelectionSet(selectionSet) {
3450
- const query = parse(selectionSet).definitions[0];
3449
+ function parseSelectionSet(selectionSet, options) {
3450
+ const query = parse(selectionSet, options).definitions[0];
3451
3451
  return query.selectionSet;
3452
3452
  }
3453
3453