@bigbinary/neeto-commons-frontend 4.13.96 → 4.13.97
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/cjs/{lodash-yQg9l0eZ.js → lodash-CAzW54WT.js} +44 -5
- package/dist/cjs/lodash-CAzW54WT.js.map +1 -0
- package/dist/cjs/react-utils/index.js +1 -1
- package/dist/cjs/react-utils/useLocalStorage/index.js +1 -1
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +1 -1
- package/dist/cjs/utils/captureAnalyticsEvent.js +1 -1
- package/dist/cjs/utils/captureAnalyticsPageView.js +1 -1
- package/dist/cjs/utils/index.js +1 -1
- package/dist/cjs/utils/timezonePlugin.js +2 -0
- package/dist/cjs/utils/timezonePlugin.js.map +1 -1
- package/dist/{lodash-M8VRFvKw.js → lodash-BE1wh9Io.js} +44 -5
- package/dist/lodash-BE1wh9Io.js.map +1 -0
- package/dist/react-utils/index.js +1 -1
- package/dist/react-utils/useLocalStorage/index.js +1 -1
- package/dist/react-utils/useLocalStorage/useLocalStorage.js +1 -1
- package/dist/utils/captureAnalyticsEvent.js +1 -1
- package/dist/utils/captureAnalyticsPageView.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/timezonePlugin.js +2 -0
- package/dist/utils/timezonePlugin.js.map +1 -1
- package/package.json +3 -3
- package/dist/cjs/lodash-yQg9l0eZ.js.map +0 -1
- package/dist/lodash-M8VRFvKw.js.map +0 -1
|
@@ -21,7 +21,7 @@ lodash.exports;
|
|
|
21
21
|
var undefined$1;
|
|
22
22
|
|
|
23
23
|
/** Used as the semantic version number. */
|
|
24
|
-
var VERSION = '4.17.
|
|
24
|
+
var VERSION = '4.17.23';
|
|
25
25
|
|
|
26
26
|
/** Used as the size to enable large array optimizations. */
|
|
27
27
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -3775,7 +3775,7 @@ lodash.exports;
|
|
|
3775
3775
|
if (isArray(iteratee)) {
|
|
3776
3776
|
return function(value) {
|
|
3777
3777
|
return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
3778
|
-
}
|
|
3778
|
+
};
|
|
3779
3779
|
}
|
|
3780
3780
|
return iteratee;
|
|
3781
3781
|
});
|
|
@@ -4379,8 +4379,47 @@ lodash.exports;
|
|
|
4379
4379
|
*/
|
|
4380
4380
|
function baseUnset(object, path) {
|
|
4381
4381
|
path = castPath(path, object);
|
|
4382
|
-
|
|
4383
|
-
|
|
4382
|
+
|
|
4383
|
+
// Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
4384
|
+
var index = -1,
|
|
4385
|
+
length = path.length;
|
|
4386
|
+
|
|
4387
|
+
if (!length) {
|
|
4388
|
+
return true;
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4391
|
+
var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
|
|
4392
|
+
|
|
4393
|
+
while (++index < length) {
|
|
4394
|
+
var key = path[index];
|
|
4395
|
+
|
|
4396
|
+
// skip non-string keys (e.g., Symbols, numbers)
|
|
4397
|
+
if (typeof key !== 'string') {
|
|
4398
|
+
continue;
|
|
4399
|
+
}
|
|
4400
|
+
|
|
4401
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
4402
|
+
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
4403
|
+
return false;
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
// Block "constructor.prototype" chains
|
|
4407
|
+
if (key === 'constructor' &&
|
|
4408
|
+
(index + 1) < length &&
|
|
4409
|
+
typeof path[index + 1] === 'string' &&
|
|
4410
|
+
path[index + 1] === 'prototype') {
|
|
4411
|
+
|
|
4412
|
+
// Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
|
|
4413
|
+
if (isRootPrimitive && index === 0) {
|
|
4414
|
+
continue;
|
|
4415
|
+
}
|
|
4416
|
+
|
|
4417
|
+
return false;
|
|
4418
|
+
}
|
|
4419
|
+
}
|
|
4420
|
+
|
|
4421
|
+
var obj = parent(object, path);
|
|
4422
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
4384
4423
|
}
|
|
4385
4424
|
|
|
4386
4425
|
/**
|
|
@@ -17207,4 +17246,4 @@ lodash.exports;
|
|
|
17207
17246
|
var lodashExports = lodash.exports;
|
|
17208
17247
|
|
|
17209
17248
|
exports.lodashExports = lodashExports;
|
|
17210
|
-
//# sourceMappingURL=lodash-
|
|
17249
|
+
//# sourceMappingURL=lodash-CAzW54WT.js.map
|