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