@luvio/graphql-parser 0.134.2 → 0.135.1

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.
@@ -12672,7 +12672,8 @@ function updateReferenceMapWithKnownKey(doc, key) {
12672
12672
  referenceMap.set(key, doc);
12673
12673
  }
12674
12674
  function updateReferenceMapAndGetKey(doc) {
12675
- const key = create(null);
12675
+ // the key is a String object so that legacy locker does not replace its identity.
12676
+ const key = new String();
12676
12677
  updateReferenceMapWithKnownKey(doc, key);
12677
12678
  return key;
12678
12679
  }
@@ -12668,7 +12668,8 @@ function updateReferenceMapWithKnownKey(doc, key) {
12668
12668
  referenceMap.set(key, doc);
12669
12669
  }
12670
12670
  function updateReferenceMapAndGetKey(doc) {
12671
- const key = create(null);
12671
+ // the key is a String object so that legacy locker does not replace its identity.
12672
+ const key = new String();
12672
12673
  updateReferenceMapWithKnownKey(doc, key);
12673
12674
  return key;
12674
12675
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luvio/graphql-parser",
3
- "version": "0.134.2",
3
+ "version": "0.135.1",
4
4
  "description": "GraphQL parser for Luvio GraphQL adapter support",
5
5
  "repository": {
6
6
  "type": "git",