@douyinfe/semi-illustrations 2.2.0-beta.0 → 2.2.2
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.
|
@@ -2717,7 +2717,7 @@ var store = __webpack_require__("yULr");
|
|
|
2717
2717
|
(module.exports = function (key, value) {
|
|
2718
2718
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
2719
2719
|
})('versions', []).push({
|
|
2720
|
-
version: '3.
|
|
2720
|
+
version: '3.20.0',
|
|
2721
2721
|
mode: IS_PURE ? 'pure' : 'global',
|
|
2722
2722
|
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
2723
2723
|
});
|
|
@@ -4838,7 +4838,10 @@ var toIndexedObject = __webpack_require__("VcbD");
|
|
|
4838
4838
|
var addToUnscopables = __webpack_require__("Uh/D");
|
|
4839
4839
|
var Iterators = __webpack_require__("m/wn");
|
|
4840
4840
|
var InternalStateModule = __webpack_require__("WRdu");
|
|
4841
|
+
var defineProperty = __webpack_require__("JliG").f;
|
|
4841
4842
|
var defineIterator = __webpack_require__("kYm/");
|
|
4843
|
+
var IS_PURE = __webpack_require__("Vl7J");
|
|
4844
|
+
var DESCRIPTORS = __webpack_require__("5Jdw");
|
|
4842
4845
|
|
|
4843
4846
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
4844
4847
|
var setInternalState = InternalStateModule.set;
|
|
@@ -4880,13 +4883,18 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
|
4880
4883
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
4881
4884
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
4882
4885
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
4883
|
-
Iterators.Arguments = Iterators.Array;
|
|
4886
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
4884
4887
|
|
|
4885
4888
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4886
4889
|
addToUnscopables('keys');
|
|
4887
4890
|
addToUnscopables('values');
|
|
4888
4891
|
addToUnscopables('entries');
|
|
4889
4892
|
|
|
4893
|
+
// V8 ~ Chrome 45- bug
|
|
4894
|
+
if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
|
|
4895
|
+
defineProperty(values, 'name', { value: 'values' });
|
|
4896
|
+
} catch (error) { /* empty */ }
|
|
4897
|
+
|
|
4890
4898
|
|
|
4891
4899
|
/***/ }),
|
|
4892
4900
|
|
|
@@ -4938,7 +4946,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
|
4938
4946
|
var exec = uncurryThis(constructorRegExp.exec);
|
|
4939
4947
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
4940
4948
|
|
|
4941
|
-
var isConstructorModern = function (argument) {
|
|
4949
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
4942
4950
|
if (!isCallable(argument)) return false;
|
|
4943
4951
|
try {
|
|
4944
4952
|
construct(noop, empty, argument);
|
|
@@ -4948,16 +4956,25 @@ var isConstructorModern = function (argument) {
|
|
|
4948
4956
|
}
|
|
4949
4957
|
};
|
|
4950
4958
|
|
|
4951
|
-
var isConstructorLegacy = function (argument) {
|
|
4959
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
4952
4960
|
if (!isCallable(argument)) return false;
|
|
4953
4961
|
switch (classof(argument)) {
|
|
4954
4962
|
case 'AsyncFunction':
|
|
4955
4963
|
case 'GeneratorFunction':
|
|
4956
4964
|
case 'AsyncGeneratorFunction': return false;
|
|
4965
|
+
}
|
|
4966
|
+
try {
|
|
4957
4967
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
4958
|
-
|
|
4968
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
4969
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
4970
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
4971
|
+
} catch (error) {
|
|
4972
|
+
return true;
|
|
4973
|
+
}
|
|
4959
4974
|
};
|
|
4960
4975
|
|
|
4976
|
+
isConstructorLegacy.sham = true;
|
|
4977
|
+
|
|
4961
4978
|
// `IsConstructor` abstract operation
|
|
4962
4979
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
4963
4980
|
module.exports = !construct || fails(function () {
|