@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.
- package/dist/index.bundle.js +2 -2
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -1011,7 +1011,7 @@ function sanitize(cooked) {
|
|
|
1011
1011
|
throw new TypeError("Cannot access reserved objects such as `Function`.");
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
|
-
var allowedConstructors = new WeakSet([Array, Map, Set, URLSearchParams, WeakMap, WeakSet, RegExp]);
|
|
1014
|
+
var allowedConstructors = new WeakSet([Array, Map, Set, URL, URLSearchParams, WeakMap, WeakSet, RegExp]);
|
|
1015
1015
|
function isAllowedConstructor(constructor) {
|
|
1016
1016
|
// `Date` maybe mocked when running tests for storyboard functions.
|
|
1017
1017
|
return allowedConstructors.has(constructor) || constructor === Date;
|
|
@@ -20600,7 +20600,7 @@ var shouldOmitInLodash = new Set([
|
|
|
20600
20600
|
|
|
20601
20601
|
// Omit all mutable methods from moment.
|
|
20602
20602
|
var shouldOmitInMoment = new Set(["lang", "langData", "locale", "localeData", "defineLocale", "updateLocale", "updateOffset"]);
|
|
20603
|
-
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"]);
|
|
20603
|
+
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"]);
|
|
20604
20604
|
function supplyIndividual(variableName, mock) {
|
|
20605
20605
|
switch (variableName) {
|
|
20606
20606
|
case "Object":
|