@luvio/graphql-parser 0.135.0 → 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
|
-
|
|
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
|
-
|
|
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
|
}
|