@next-core/brick-utils 2.52.7 → 2.52.9

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.
@@ -1017,7 +1017,7 @@
1017
1017
  throw new TypeError("Cannot access reserved objects such as `Function`.");
1018
1018
  }
1019
1019
  }
1020
- var allowedConstructors = new WeakSet([Array, Map, Set, URLSearchParams, WeakMap, WeakSet, RegExp]);
1020
+ var allowedConstructors = new WeakSet([Array, Map, Set, URL, URLSearchParams, WeakMap, WeakSet, RegExp]);
1021
1021
  function isAllowedConstructor(constructor) {
1022
1022
  // `Date` maybe mocked when running tests for storyboard functions.
1023
1023
  return allowedConstructors.has(constructor) || constructor === Date;
@@ -20606,7 +20606,7 @@
20606
20606
 
20607
20607
  // Omit all mutable methods from moment.
20608
20608
  var shouldOmitInMoment = new Set(["lang", "langData", "locale", "localeData", "defineLocale", "updateLocale", "updateOffset"]);
20609
- var allowedGlobalObjects = new Set(["Array", "Boolean", "Date", "Infinity", "JSON", "Math", "NaN", "Number", "String", "RegExp", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "isFinite", "isNaN", "parseFloat", "parseInt", "Map", "Set", "URLSearchParams", "WeakMap", "WeakSet", "atob", "btoa"]);
20609
+ var allowedGlobalObjects = new Set(["Array", "Boolean", "Date", "Infinity", "JSON", "Math", "NaN", "Number", "String", "RegExp", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "isFinite", "isNaN", "parseFloat", "parseInt", "Map", "Set", "URL", "URLSearchParams", "WeakMap", "WeakSet", "atob", "btoa"]);
20610
20610
  function supplyIndividual(variableName, mock) {
20611
20611
  switch (variableName) {
20612
20612
  case "Object":