@daoyi/nmtl-ui 2.0.1-beta.143 → 2.0.1-beta.144
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/lib/components/Footer.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
3
3
|
import { c as classNames } from './index-c33afcb5.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { C as ContactModal } from './ContactModal-
|
|
6
|
+
import { C as ContactModal } from './ContactModal-864f9ccc.js';
|
|
7
7
|
import { S as Spin } from './Spin-07679812.js';
|
|
8
8
|
import { getIntl } from './globalConfig';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
package/lib/utils/arrayMerge.js
CHANGED
|
@@ -28,17 +28,17 @@ var _Symbol = Symbol$6;
|
|
|
28
28
|
var Symbol$5 = _Symbol;
|
|
29
29
|
|
|
30
30
|
/** Used for built-in method references. */
|
|
31
|
-
var objectProto$
|
|
31
|
+
var objectProto$h = Object.prototype;
|
|
32
32
|
|
|
33
33
|
/** Used to check objects for own properties. */
|
|
34
|
-
var hasOwnProperty$
|
|
34
|
+
var hasOwnProperty$e = objectProto$h.hasOwnProperty;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Used to resolve the
|
|
38
38
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
39
39
|
* of values.
|
|
40
40
|
*/
|
|
41
|
-
var nativeObjectToString$1 = objectProto$
|
|
41
|
+
var nativeObjectToString$1 = objectProto$h.toString;
|
|
42
42
|
|
|
43
43
|
/** Built-in value references. */
|
|
44
44
|
var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
@@ -51,7 +51,7 @@ var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
|
51
51
|
* @returns {string} Returns the raw `toStringTag`.
|
|
52
52
|
*/
|
|
53
53
|
function getRawTag$1(value) {
|
|
54
|
-
var isOwn = hasOwnProperty$
|
|
54
|
+
var isOwn = hasOwnProperty$e.call(value, symToStringTag$1),
|
|
55
55
|
tag = value[symToStringTag$1];
|
|
56
56
|
|
|
57
57
|
try {
|
|
@@ -74,14 +74,14 @@ var _getRawTag = getRawTag$1;
|
|
|
74
74
|
|
|
75
75
|
/** Used for built-in method references. */
|
|
76
76
|
|
|
77
|
-
var objectProto$
|
|
77
|
+
var objectProto$g = Object.prototype;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* Used to resolve the
|
|
81
81
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
82
82
|
* of values.
|
|
83
83
|
*/
|
|
84
|
-
var nativeObjectToString = objectProto$
|
|
84
|
+
var nativeObjectToString = objectProto$g.toString;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -268,17 +268,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
|
268
268
|
|
|
269
269
|
/** Used for built-in method references. */
|
|
270
270
|
var funcProto$1 = Function.prototype,
|
|
271
|
-
objectProto$
|
|
271
|
+
objectProto$f = Object.prototype;
|
|
272
272
|
|
|
273
273
|
/** Used to resolve the decompiled source of functions. */
|
|
274
274
|
var funcToString$1 = funcProto$1.toString;
|
|
275
275
|
|
|
276
276
|
/** Used to check objects for own properties. */
|
|
277
|
-
var hasOwnProperty$
|
|
277
|
+
var hasOwnProperty$d = objectProto$f.hasOwnProperty;
|
|
278
278
|
|
|
279
279
|
/** Used to detect if a method is native. */
|
|
280
280
|
var reIsNative = RegExp('^' +
|
|
281
|
-
funcToString$1.call(hasOwnProperty$
|
|
281
|
+
funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar, '\\$&')
|
|
282
282
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
283
283
|
);
|
|
284
284
|
|
|
@@ -515,13 +515,13 @@ var baseIsArguments = _baseIsArguments,
|
|
|
515
515
|
isObjectLike$6 = isObjectLike_1;
|
|
516
516
|
|
|
517
517
|
/** Used for built-in method references. */
|
|
518
|
-
var objectProto$
|
|
518
|
+
var objectProto$e = Object.prototype;
|
|
519
519
|
|
|
520
520
|
/** Used to check objects for own properties. */
|
|
521
|
-
var hasOwnProperty$
|
|
521
|
+
var hasOwnProperty$c = objectProto$e.hasOwnProperty;
|
|
522
522
|
|
|
523
523
|
/** Built-in value references. */
|
|
524
|
-
var propertyIsEnumerable$1 = objectProto$
|
|
524
|
+
var propertyIsEnumerable$1 = objectProto$e.propertyIsEnumerable;
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
527
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -542,7 +542,7 @@ var propertyIsEnumerable$1 = objectProto$d.propertyIsEnumerable;
|
|
|
542
542
|
* // => false
|
|
543
543
|
*/
|
|
544
544
|
var isArguments$3 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
545
|
-
return isObjectLike$6(value) && hasOwnProperty$
|
|
545
|
+
return isObjectLike$6(value) && hasOwnProperty$c.call(value, 'callee') &&
|
|
546
546
|
!propertyIsEnumerable$1.call(value, 'callee');
|
|
547
547
|
};
|
|
548
548
|
|
|
@@ -851,10 +851,10 @@ var baseTimes = _baseTimes,
|
|
|
851
851
|
isTypedArray$1 = isTypedArray_1;
|
|
852
852
|
|
|
853
853
|
/** Used for built-in method references. */
|
|
854
|
-
var objectProto$
|
|
854
|
+
var objectProto$d = Object.prototype;
|
|
855
855
|
|
|
856
856
|
/** Used to check objects for own properties. */
|
|
857
|
-
var hasOwnProperty$
|
|
857
|
+
var hasOwnProperty$b = objectProto$d.hasOwnProperty;
|
|
858
858
|
|
|
859
859
|
/**
|
|
860
860
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -874,7 +874,7 @@ function arrayLikeKeys$2(value, inherited) {
|
|
|
874
874
|
length = result.length;
|
|
875
875
|
|
|
876
876
|
for (var key in value) {
|
|
877
|
-
if ((inherited || hasOwnProperty$
|
|
877
|
+
if ((inherited || hasOwnProperty$b.call(value, key)) &&
|
|
878
878
|
!(skipIndexes && (
|
|
879
879
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
880
880
|
key == 'length' ||
|
|
@@ -895,7 +895,7 @@ var _arrayLikeKeys = arrayLikeKeys$2;
|
|
|
895
895
|
|
|
896
896
|
/** Used for built-in method references. */
|
|
897
897
|
|
|
898
|
-
var objectProto$
|
|
898
|
+
var objectProto$c = Object.prototype;
|
|
899
899
|
|
|
900
900
|
/**
|
|
901
901
|
* Checks if `value` is likely a prototype object.
|
|
@@ -906,7 +906,7 @@ var objectProto$b = Object.prototype;
|
|
|
906
906
|
*/
|
|
907
907
|
function isPrototype$3(value) {
|
|
908
908
|
var Ctor = value && value.constructor,
|
|
909
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
909
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$c;
|
|
910
910
|
|
|
911
911
|
return value === proto;
|
|
912
912
|
}
|
|
@@ -941,10 +941,10 @@ var isPrototype$2 = _isPrototype,
|
|
|
941
941
|
nativeKeys = _nativeKeys;
|
|
942
942
|
|
|
943
943
|
/** Used for built-in method references. */
|
|
944
|
-
var objectProto$
|
|
944
|
+
var objectProto$b = Object.prototype;
|
|
945
945
|
|
|
946
946
|
/** Used to check objects for own properties. */
|
|
947
|
-
var hasOwnProperty$
|
|
947
|
+
var hasOwnProperty$a = objectProto$b.hasOwnProperty;
|
|
948
948
|
|
|
949
949
|
/**
|
|
950
950
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -959,7 +959,7 @@ function baseKeys$1(object) {
|
|
|
959
959
|
}
|
|
960
960
|
var result = [];
|
|
961
961
|
for (var key in Object(object)) {
|
|
962
|
-
if (hasOwnProperty$
|
|
962
|
+
if (hasOwnProperty$a.call(object, key) && key != 'constructor') {
|
|
963
963
|
result.push(key);
|
|
964
964
|
}
|
|
965
965
|
}
|
|
@@ -1460,10 +1460,10 @@ var nativeCreate$2 = _nativeCreate;
|
|
|
1460
1460
|
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
1461
1461
|
|
|
1462
1462
|
/** Used for built-in method references. */
|
|
1463
|
-
var objectProto$
|
|
1463
|
+
var objectProto$a = Object.prototype;
|
|
1464
1464
|
|
|
1465
1465
|
/** Used to check objects for own properties. */
|
|
1466
|
-
var hasOwnProperty$
|
|
1466
|
+
var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
|
|
1467
1467
|
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Gets the hash value for `key`.
|
|
@@ -1480,7 +1480,7 @@ function hashGet$1(key) {
|
|
|
1480
1480
|
var result = data[key];
|
|
1481
1481
|
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
1482
1482
|
}
|
|
1483
|
-
return hasOwnProperty$
|
|
1483
|
+
return hasOwnProperty$9.call(data, key) ? data[key] : undefined;
|
|
1484
1484
|
}
|
|
1485
1485
|
|
|
1486
1486
|
var _hashGet = hashGet$1;
|
|
@@ -1488,10 +1488,10 @@ var _hashGet = hashGet$1;
|
|
|
1488
1488
|
var nativeCreate$1 = _nativeCreate;
|
|
1489
1489
|
|
|
1490
1490
|
/** Used for built-in method references. */
|
|
1491
|
-
var objectProto$
|
|
1491
|
+
var objectProto$9 = Object.prototype;
|
|
1492
1492
|
|
|
1493
1493
|
/** Used to check objects for own properties. */
|
|
1494
|
-
var hasOwnProperty$
|
|
1494
|
+
var hasOwnProperty$8 = objectProto$9.hasOwnProperty;
|
|
1495
1495
|
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Checks if a hash value for `key` exists.
|
|
@@ -1504,7 +1504,7 @@ var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
|
|
|
1504
1504
|
*/
|
|
1505
1505
|
function hashHas$1(key) {
|
|
1506
1506
|
var data = this.__data__;
|
|
1507
|
-
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$
|
|
1507
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$8.call(data, key);
|
|
1508
1508
|
}
|
|
1509
1509
|
|
|
1510
1510
|
var _hashHas = hashHas$1;
|
|
@@ -1824,7 +1824,7 @@ var _setCacheAdd = setCacheAdd$1;
|
|
|
1824
1824
|
* @name has
|
|
1825
1825
|
* @memberOf SetCache
|
|
1826
1826
|
* @param {*} value The value to search for.
|
|
1827
|
-
* @returns {
|
|
1827
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
1828
1828
|
*/
|
|
1829
1829
|
|
|
1830
1830
|
function setCacheHas$1(value) {
|
|
@@ -2245,10 +2245,10 @@ var arrayFilter = _arrayFilter,
|
|
|
2245
2245
|
stubArray$1 = stubArray_1;
|
|
2246
2246
|
|
|
2247
2247
|
/** Used for built-in method references. */
|
|
2248
|
-
var objectProto$
|
|
2248
|
+
var objectProto$8 = Object.prototype;
|
|
2249
2249
|
|
|
2250
2250
|
/** Built-in value references. */
|
|
2251
|
-
var propertyIsEnumerable = objectProto$
|
|
2251
|
+
var propertyIsEnumerable = objectProto$8.propertyIsEnumerable;
|
|
2252
2252
|
|
|
2253
2253
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
2254
2254
|
var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
|
|
@@ -2295,10 +2295,10 @@ var getAllKeys$1 = _getAllKeys;
|
|
|
2295
2295
|
var COMPARE_PARTIAL_FLAG$3 = 1;
|
|
2296
2296
|
|
|
2297
2297
|
/** Used for built-in method references. */
|
|
2298
|
-
var objectProto$
|
|
2298
|
+
var objectProto$7 = Object.prototype;
|
|
2299
2299
|
|
|
2300
2300
|
/** Used to check objects for own properties. */
|
|
2301
|
-
var hasOwnProperty$
|
|
2301
|
+
var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
|
|
2302
2302
|
|
|
2303
2303
|
/**
|
|
2304
2304
|
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
@@ -2326,7 +2326,7 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
2326
2326
|
var index = objLength;
|
|
2327
2327
|
while (index--) {
|
|
2328
2328
|
var key = objProps[index];
|
|
2329
|
-
if (!(isPartial ? key in other : hasOwnProperty$
|
|
2329
|
+
if (!(isPartial ? key in other : hasOwnProperty$7.call(other, key))) {
|
|
2330
2330
|
return false;
|
|
2331
2331
|
}
|
|
2332
2332
|
}
|
|
@@ -2489,10 +2489,10 @@ var argsTag$1 = '[object Arguments]',
|
|
|
2489
2489
|
objectTag$2 = '[object Object]';
|
|
2490
2490
|
|
|
2491
2491
|
/** Used for built-in method references. */
|
|
2492
|
-
var objectProto$
|
|
2492
|
+
var objectProto$6 = Object.prototype;
|
|
2493
2493
|
|
|
2494
2494
|
/** Used to check objects for own properties. */
|
|
2495
|
-
var hasOwnProperty$
|
|
2495
|
+
var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
|
|
2496
2496
|
|
|
2497
2497
|
/**
|
|
2498
2498
|
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
@@ -2535,8 +2535,8 @@ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack)
|
|
|
2535
2535
|
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
2536
2536
|
}
|
|
2537
2537
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
|
|
2538
|
-
var objIsWrapped = objIsObj && hasOwnProperty$
|
|
2539
|
-
othIsWrapped = othIsObj && hasOwnProperty$
|
|
2538
|
+
var objIsWrapped = objIsObj && hasOwnProperty$6.call(object, '__wrapped__'),
|
|
2539
|
+
othIsWrapped = othIsObj && hasOwnProperty$6.call(other, '__wrapped__');
|
|
2540
2540
|
|
|
2541
2541
|
if (objIsWrapped || othIsWrapped) {
|
|
2542
2542
|
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
@@ -3388,10 +3388,10 @@ var baseAssignValue$2 = _baseAssignValue,
|
|
|
3388
3388
|
createAggregator = _createAggregator;
|
|
3389
3389
|
|
|
3390
3390
|
/** Used for built-in method references. */
|
|
3391
|
-
var objectProto$
|
|
3391
|
+
var objectProto$5 = Object.prototype;
|
|
3392
3392
|
|
|
3393
3393
|
/** Used to check objects for own properties. */
|
|
3394
|
-
var hasOwnProperty$
|
|
3394
|
+
var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
|
|
3395
3395
|
|
|
3396
3396
|
/**
|
|
3397
3397
|
* Creates an object composed of keys generated from the results of running
|
|
@@ -3417,7 +3417,7 @@ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
|
|
|
3417
3417
|
* // => { '3': ['one', 'two'], '5': ['three'] }
|
|
3418
3418
|
*/
|
|
3419
3419
|
var groupBy = createAggregator(function(result, value, key) {
|
|
3420
|
-
if (hasOwnProperty$
|
|
3420
|
+
if (hasOwnProperty$5.call(result, key)) {
|
|
3421
3421
|
result[key].push(value);
|
|
3422
3422
|
} else {
|
|
3423
3423
|
baseAssignValue$2(result, key, [value]);
|
|
@@ -3454,10 +3454,10 @@ var baseAssignValue$1 = _baseAssignValue,
|
|
|
3454
3454
|
eq = eq_1;
|
|
3455
3455
|
|
|
3456
3456
|
/** Used for built-in method references. */
|
|
3457
|
-
var objectProto$
|
|
3457
|
+
var objectProto$4 = Object.prototype;
|
|
3458
3458
|
|
|
3459
3459
|
/** Used to check objects for own properties. */
|
|
3460
|
-
var hasOwnProperty$
|
|
3460
|
+
var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
|
|
3461
3461
|
|
|
3462
3462
|
/**
|
|
3463
3463
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -3471,7 +3471,7 @@ var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
|
3471
3471
|
*/
|
|
3472
3472
|
function assignValue$2(object, key, value) {
|
|
3473
3473
|
var objValue = object[key];
|
|
3474
|
-
if (!(hasOwnProperty$
|
|
3474
|
+
if (!(hasOwnProperty$4.call(object, key) && eq(objValue, value)) ||
|
|
3475
3475
|
(value === undefined && !(key in object))) {
|
|
3476
3476
|
baseAssignValue$1(object, key, value);
|
|
3477
3477
|
}
|
|
@@ -3565,10 +3565,10 @@ var isObject$2 = isObject_1,
|
|
|
3565
3565
|
nativeKeysIn = _nativeKeysIn;
|
|
3566
3566
|
|
|
3567
3567
|
/** Used for built-in method references. */
|
|
3568
|
-
var objectProto$
|
|
3568
|
+
var objectProto$3 = Object.prototype;
|
|
3569
3569
|
|
|
3570
3570
|
/** Used to check objects for own properties. */
|
|
3571
|
-
var hasOwnProperty$
|
|
3571
|
+
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
3572
3572
|
|
|
3573
3573
|
/**
|
|
3574
3574
|
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
@@ -3585,7 +3585,7 @@ function baseKeysIn$1(object) {
|
|
|
3585
3585
|
result = [];
|
|
3586
3586
|
|
|
3587
3587
|
for (var key in object) {
|
|
3588
|
-
if (!(key == 'constructor' && (isProto || !hasOwnProperty$
|
|
3588
|
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty$3.call(object, key)))) {
|
|
3589
3589
|
result.push(key);
|
|
3590
3590
|
}
|
|
3591
3591
|
}
|
|
@@ -3794,10 +3794,10 @@ var _getAllKeysIn = getAllKeysIn$2;
|
|
|
3794
3794
|
|
|
3795
3795
|
/** Used for built-in method references. */
|
|
3796
3796
|
|
|
3797
|
-
var objectProto$
|
|
3797
|
+
var objectProto$2 = Object.prototype;
|
|
3798
3798
|
|
|
3799
3799
|
/** Used to check objects for own properties. */
|
|
3800
|
-
var hasOwnProperty$
|
|
3800
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
3801
3801
|
|
|
3802
3802
|
/**
|
|
3803
3803
|
* Initializes an array clone.
|
|
@@ -3811,7 +3811,7 @@ function initCloneArray$1(array) {
|
|
|
3811
3811
|
result = new array.constructor(length);
|
|
3812
3812
|
|
|
3813
3813
|
// Add properties assigned by `RegExp#exec`.
|
|
3814
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty$
|
|
3814
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$2.call(array, 'index')) {
|
|
3815
3815
|
result.index = array.index;
|
|
3816
3816
|
result.input = array.input;
|
|
3817
3817
|
}
|
|
@@ -4375,6 +4375,12 @@ var castPath$1 = _castPath,
|
|
|
4375
4375
|
parent = _parent,
|
|
4376
4376
|
toKey = _toKey;
|
|
4377
4377
|
|
|
4378
|
+
/** Used for built-in method references. */
|
|
4379
|
+
var objectProto$1 = Object.prototype;
|
|
4380
|
+
|
|
4381
|
+
/** Used to check objects for own properties. */
|
|
4382
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
4383
|
+
|
|
4378
4384
|
/**
|
|
4379
4385
|
* The base implementation of `_.unset`.
|
|
4380
4386
|
*
|
|
@@ -4385,8 +4391,34 @@ var castPath$1 = _castPath,
|
|
|
4385
4391
|
*/
|
|
4386
4392
|
function baseUnset$1(object, path) {
|
|
4387
4393
|
path = castPath$1(path, object);
|
|
4388
|
-
|
|
4389
|
-
|
|
4394
|
+
|
|
4395
|
+
// Prevent prototype pollution:
|
|
4396
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
4397
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
4398
|
+
var index = -1,
|
|
4399
|
+
length = path.length;
|
|
4400
|
+
|
|
4401
|
+
if (!length) {
|
|
4402
|
+
return true;
|
|
4403
|
+
}
|
|
4404
|
+
|
|
4405
|
+
while (++index < length) {
|
|
4406
|
+
var key = toKey(path[index]);
|
|
4407
|
+
|
|
4408
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
4409
|
+
if (key === '__proto__' && !hasOwnProperty$1.call(object, '__proto__')) {
|
|
4410
|
+
return false;
|
|
4411
|
+
}
|
|
4412
|
+
|
|
4413
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
4414
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
4415
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
4416
|
+
return false;
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4420
|
+
var obj = parent(object, path);
|
|
4421
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
4390
4422
|
}
|
|
4391
4423
|
|
|
4392
4424
|
var _baseUnset = baseUnset$1;
|