@graphql-tools/merge 6.2.7-alpha-51a461ab.0 → 6.2.7

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/es5/index.esm.js CHANGED
@@ -513,6 +513,11 @@ function deduplicateLists(source, target, filterFn) {
513
513
 
514
514
  function mergeEnumValues(first, second, config) {
515
515
  var e_1, _a, e_2, _b;
516
+ if (config === null || config === void 0 ? void 0 : config.consistentEnumMerge) {
517
+ var reversed = first;
518
+ first = second;
519
+ second = reversed;
520
+ }
516
521
  var enumValueMap = new Map();
517
522
  try {
518
523
  for (var first_1 = __values(first), first_1_1 = first_1.next(); !first_1_1.done; first_1_1 = first_1.next()) {