@dra2020/baseclient 1.0.158 → 1.0.159

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.
@@ -13001,7 +13001,17 @@ function deepCopy(src) {
13001
13001
  if (src === null || src === undefined)
13002
13002
  return src;
13003
13003
  if (typeof src === 'object') {
13004
- if (Array.isArray(src)) {
13004
+ if (src instanceof Set) {
13005
+ let dst = new Set();
13006
+ src.forEach((i) => { dst.add(deepCopy(i)); });
13007
+ return dst;
13008
+ }
13009
+ else if (src instanceof Map) {
13010
+ let dst = new Map();
13011
+ src.forEach((v, k) => { dst.set(deepCopy(k), deepCopy(v)); });
13012
+ return dst;
13013
+ }
13014
+ else if (Array.isArray(src)) {
13005
13015
  let dst = [];
13006
13016
  for (let i = 0; i < src.length; i++)
13007
13017
  dst.push(deepCopy(src[i]));