bootstrap-table-rails 1.20.0 → 1.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +82 -61
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +82 -61
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +6 -6
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +217 -143
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +114 -87
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +84 -64
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +111 -75
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +84 -64
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +84 -64
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +84 -63
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +93 -68
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +426 -367
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +104 -72
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +80 -60
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +85 -65
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +83 -62
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +87 -61
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +105 -73
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +79 -59
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +76 -57
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +92 -66
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +79 -59
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +80 -57
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +79 -59
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +96 -69
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +76 -57
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +85 -59
- metadata +1 -2
- data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea99248529af2002cf5649b304c5b118933b20c2732ba0515723c841a5d26a6a
|
4
|
+
data.tar.gz: 55e836f0a61e895f7f7bb79abc30c9e4c1f605b1361848fb54f99c21d1b1d2b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 947b91fe741be49abb5c2528c004ac728eae5c840ed1052ba196493071eae57a79841d0bf3813e38adba86a0d4cd7730ea2262afb2b4c972c6d4ce73a5a56e70
|
7
|
+
data.tar.gz: 5bded84a9fce877aeda31392c32ac21a146d0d25ed370d5d411f77e630a4da1687fe8fa53ee2679b99aee33993355a9219b14e3b0ab041a5bd6a1f9d502ac7cb
|
Binary file
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
22
22
|
var global_1 =
|
23
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
23
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
24
24
|
check(typeof globalThis == 'object' && globalThis) ||
|
25
25
|
check(typeof window == 'object' && window) ||
|
26
26
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -39,11 +39,12 @@
|
|
39
39
|
|
40
40
|
// Detect IE8's incomplete defineProperty implementation
|
41
41
|
var descriptors = !fails(function () {
|
42
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
42
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
43
43
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
44
44
|
});
|
45
45
|
|
46
46
|
var functionBindNative = !fails(function () {
|
47
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
47
48
|
var test = (function () { /* empty */ }).bind();
|
48
49
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
49
50
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
@@ -56,7 +57,7 @@
|
|
56
57
|
};
|
57
58
|
|
58
59
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
59
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
60
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
60
61
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
61
62
|
|
62
63
|
// Nashorn ~ JDK8 bug
|
@@ -178,11 +179,11 @@
|
|
178
179
|
|
179
180
|
var engineV8Version = version;
|
180
181
|
|
181
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
182
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
182
183
|
|
183
184
|
|
184
185
|
|
185
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
186
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
186
187
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
187
188
|
var symbol = Symbol();
|
188
189
|
// Chrome 38 Symbol has incorrect toString conversion
|
@@ -192,7 +193,7 @@
|
|
192
193
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
193
194
|
});
|
194
195
|
|
195
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
196
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
196
197
|
|
197
198
|
|
198
199
|
var useSymbolAsUid = nativeSymbol
|
@@ -245,7 +246,7 @@
|
|
245
246
|
throw TypeError$5("Can't convert object to primitive value");
|
246
247
|
};
|
247
248
|
|
248
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
249
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
249
250
|
var defineProperty = Object.defineProperty;
|
250
251
|
|
251
252
|
var setGlobal = function (key, value) {
|
@@ -265,10 +266,10 @@
|
|
265
266
|
(module.exports = function (key, value) {
|
266
267
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
267
268
|
})('versions', []).push({
|
268
|
-
version: '3.
|
269
|
+
version: '3.22.4',
|
269
270
|
mode: 'global',
|
270
271
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
271
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
272
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
272
273
|
source: 'https://github.com/zloirock/core-js'
|
273
274
|
});
|
274
275
|
});
|
@@ -285,6 +286,7 @@
|
|
285
286
|
|
286
287
|
// `HasOwnProperty` abstract operation
|
287
288
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
289
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
288
290
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
289
291
|
return hasOwnProperty(toObject(it), key);
|
290
292
|
};
|
@@ -351,13 +353,13 @@
|
|
351
353
|
|
352
354
|
// Thanks to IE8 for its funny defineProperty
|
353
355
|
var ie8DomDefine = !descriptors && !fails(function () {
|
354
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
356
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
355
357
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
356
358
|
get: function () { return 7; }
|
357
359
|
}).a != 7;
|
358
360
|
});
|
359
361
|
|
360
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
362
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
361
363
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
362
364
|
|
363
365
|
// `Object.getOwnPropertyDescriptor` method
|
@@ -378,7 +380,7 @@
|
|
378
380
|
// V8 ~ Chrome 36-
|
379
381
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
380
382
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
381
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
383
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
382
384
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
383
385
|
value: 42,
|
384
386
|
writable: false
|
@@ -395,9 +397,9 @@
|
|
395
397
|
};
|
396
398
|
|
397
399
|
var TypeError$2 = global_1.TypeError;
|
398
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
400
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
399
401
|
var $defineProperty = Object.defineProperty;
|
400
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
402
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
401
403
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
402
404
|
var ENUMERABLE = 'enumerable';
|
403
405
|
var CONFIGURABLE$1 = 'configurable';
|
@@ -443,6 +445,21 @@
|
|
443
445
|
return object;
|
444
446
|
};
|
445
447
|
|
448
|
+
var FunctionPrototype = Function.prototype;
|
449
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
450
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
451
|
+
|
452
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
453
|
+
// additional protection from minified / mangled / dropped function names
|
454
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
455
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
456
|
+
|
457
|
+
var functionName = {
|
458
|
+
EXISTS: EXISTS,
|
459
|
+
PROPER: PROPER,
|
460
|
+
CONFIGURABLE: CONFIGURABLE
|
461
|
+
};
|
462
|
+
|
446
463
|
var functionToString = functionUncurryThis(Function.toString);
|
447
464
|
|
448
465
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
@@ -526,50 +543,56 @@
|
|
526
543
|
getterFor: getterFor
|
527
544
|
};
|
528
545
|
|
529
|
-
var
|
530
|
-
|
531
|
-
var
|
546
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
547
|
+
var defineProperty = objectDefineProperty.f;
|
548
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
532
549
|
|
533
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
534
|
-
// additional protection from minified / mangled / dropped function names
|
535
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
536
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
537
550
|
|
538
|
-
var functionName = {
|
539
|
-
EXISTS: EXISTS,
|
540
|
-
PROPER: PROPER,
|
541
|
-
CONFIGURABLE: CONFIGURABLE
|
542
|
-
};
|
543
551
|
|
544
|
-
var redefine = createCommonjsModule(function (module) {
|
545
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
546
|
-
|
547
|
-
var getInternalState = internalState.get;
|
548
552
|
var enforceInternalState = internalState.enforce;
|
553
|
+
var getInternalState = internalState.get;
|
554
|
+
|
555
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
556
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
557
|
+
});
|
558
|
+
|
549
559
|
var TEMPLATE = String(String).split('String');
|
550
560
|
|
551
|
-
|
561
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
562
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
563
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
564
|
+
}
|
565
|
+
if (options && options.getter) name = 'get ' + name;
|
566
|
+
if (options && options.setter) name = 'set ' + name;
|
567
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
568
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
569
|
+
}
|
570
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
571
|
+
defineProperty(value, 'length', { value: options.arity });
|
572
|
+
}
|
573
|
+
var state = enforceInternalState(value);
|
574
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
575
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
576
|
+
} return value;
|
577
|
+
};
|
578
|
+
|
579
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
580
|
+
// eslint-disable-next-line no-extend-native -- required
|
581
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
582
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
583
|
+
}, 'toString');
|
584
|
+
});
|
585
|
+
|
586
|
+
var defineBuiltIn = function (O, key, value, options) {
|
552
587
|
var unsafe = options ? !!options.unsafe : false;
|
553
588
|
var simple = options ? !!options.enumerable : false;
|
554
589
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
555
590
|
var name = options && options.name !== undefined ? options.name : key;
|
556
|
-
|
557
|
-
if (isCallable(value)) {
|
558
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
559
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
560
|
-
}
|
561
|
-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
562
|
-
createNonEnumerableProperty(value, 'name', name);
|
563
|
-
}
|
564
|
-
state = enforceInternalState(value);
|
565
|
-
if (!state.source) {
|
566
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
567
|
-
}
|
568
|
-
}
|
591
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
569
592
|
if (O === global_1) {
|
570
593
|
if (simple) O[key] = value;
|
571
594
|
else setGlobal(key, value);
|
572
|
-
return;
|
595
|
+
return O;
|
573
596
|
} else if (!unsafe) {
|
574
597
|
delete O[key];
|
575
598
|
} else if (!noTargetGet && O[key]) {
|
@@ -577,11 +600,8 @@
|
|
577
600
|
}
|
578
601
|
if (simple) O[key] = value;
|
579
602
|
else createNonEnumerableProperty(O, key, value);
|
580
|
-
|
581
|
-
}
|
582
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
583
|
-
});
|
584
|
-
});
|
603
|
+
return O;
|
604
|
+
};
|
585
605
|
|
586
606
|
var ceil = Math.ceil;
|
587
607
|
var floor = Math.floor;
|
@@ -681,7 +701,7 @@
|
|
681
701
|
|
682
702
|
// `Object.getOwnPropertyNames` method
|
683
703
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
684
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
704
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
685
705
|
var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
686
706
|
return objectKeysInternal(O, hiddenKeys);
|
687
707
|
};
|
@@ -690,7 +710,7 @@
|
|
690
710
|
f: f$1
|
691
711
|
};
|
692
712
|
|
693
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
713
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
694
714
|
var f = Object.getOwnPropertySymbols;
|
695
715
|
|
696
716
|
var objectGetOwnPropertySymbols = {
|
@@ -788,14 +808,13 @@
|
|
788
808
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
789
809
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
790
810
|
}
|
791
|
-
|
792
|
-
redefine(target, key, sourceProperty, options);
|
811
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
793
812
|
}
|
794
813
|
};
|
795
814
|
|
796
815
|
// `IsArray` abstract operation
|
797
816
|
// https://tc39.es/ecma262/#sec-isarray
|
798
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
817
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
799
818
|
var isArray = Array.isArray || function isArray(argument) {
|
800
819
|
return classofRaw(argument) == 'Array';
|
801
820
|
};
|
@@ -951,7 +970,7 @@
|
|
951
970
|
// `Array.prototype.concat` method
|
952
971
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
953
972
|
// with adding support of @@isConcatSpreadable and @@species
|
954
|
-
_export({ target: 'Array', proto: true, forced: FORCED }, {
|
973
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
955
974
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
956
975
|
concat: function concat(arg) {
|
957
976
|
var O = toObject(this);
|
@@ -141,7 +141,7 @@ var check = function (it) {
|
|
141
141
|
|
142
142
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
143
143
|
var global_1 =
|
144
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
144
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
145
145
|
check(typeof globalThis == 'object' && globalThis) ||
|
146
146
|
check(typeof window == 'object' && window) ||
|
147
147
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -160,11 +160,12 @@ var fails = function (exec) {
|
|
160
160
|
|
161
161
|
// Detect IE8's incomplete defineProperty implementation
|
162
162
|
var descriptors = !fails(function () {
|
163
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
163
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
164
164
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
165
165
|
});
|
166
166
|
|
167
167
|
var functionBindNative = !fails(function () {
|
168
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
168
169
|
var test = (function () { /* empty */ }).bind();
|
169
170
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
170
171
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
@@ -177,7 +178,7 @@ var functionCall = functionBindNative ? call$2.bind(call$2) : function () {
|
|
177
178
|
};
|
178
179
|
|
179
180
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
180
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
181
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
181
182
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
182
183
|
|
183
184
|
// Nashorn ~ JDK8 bug
|
@@ -299,11 +300,11 @@ if (!version && engineUserAgent) {
|
|
299
300
|
|
300
301
|
var engineV8Version = version;
|
301
302
|
|
302
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
303
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
303
304
|
|
304
305
|
|
305
306
|
|
306
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
307
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
307
308
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
308
309
|
var symbol = Symbol();
|
309
310
|
// Chrome 38 Symbol has incorrect toString conversion
|
@@ -313,7 +314,7 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
313
314
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
314
315
|
});
|
315
316
|
|
316
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
317
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
317
318
|
|
318
319
|
|
319
320
|
var useSymbolAsUid = nativeSymbol
|
@@ -366,7 +367,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
366
367
|
throw TypeError$7("Can't convert object to primitive value");
|
367
368
|
};
|
368
369
|
|
369
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
370
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
370
371
|
var defineProperty = Object.defineProperty;
|
371
372
|
|
372
373
|
var setGlobal = function (key, value) {
|
@@ -386,10 +387,10 @@ var shared = createCommonjsModule(function (module) {
|
|
386
387
|
(module.exports = function (key, value) {
|
387
388
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
388
389
|
})('versions', []).push({
|
389
|
-
version: '3.
|
390
|
+
version: '3.22.4',
|
390
391
|
mode: 'global',
|
391
392
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
392
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
393
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
393
394
|
source: 'https://github.com/zloirock/core-js'
|
394
395
|
});
|
395
396
|
});
|
@@ -406,6 +407,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
406
407
|
|
407
408
|
// `HasOwnProperty` abstract operation
|
408
409
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
410
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
409
411
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
410
412
|
return hasOwnProperty(toObject(it), key);
|
411
413
|
};
|
@@ -472,13 +474,13 @@ var documentCreateElement = function (it) {
|
|
472
474
|
|
473
475
|
// Thanks to IE8 for its funny defineProperty
|
474
476
|
var ie8DomDefine = !descriptors && !fails(function () {
|
475
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
477
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
476
478
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
477
479
|
get: function () { return 7; }
|
478
480
|
}).a != 7;
|
479
481
|
});
|
480
482
|
|
481
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
483
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
482
484
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
483
485
|
|
484
486
|
// `Object.getOwnPropertyDescriptor` method
|
@@ -499,7 +501,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
499
501
|
// V8 ~ Chrome 36-
|
500
502
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
501
503
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
502
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
504
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
503
505
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
504
506
|
value: 42,
|
505
507
|
writable: false
|
@@ -516,9 +518,9 @@ var anObject = function (argument) {
|
|
516
518
|
};
|
517
519
|
|
518
520
|
var TypeError$4 = global_1.TypeError;
|
519
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
521
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
520
522
|
var $defineProperty = Object.defineProperty;
|
521
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
523
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
522
524
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
523
525
|
var ENUMERABLE = 'enumerable';
|
524
526
|
var CONFIGURABLE$1 = 'configurable';
|
@@ -564,6 +566,21 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
564
566
|
return object;
|
565
567
|
};
|
566
568
|
|
569
|
+
var FunctionPrototype$1 = Function.prototype;
|
570
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
571
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
572
|
+
|
573
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
574
|
+
// additional protection from minified / mangled / dropped function names
|
575
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
576
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
577
|
+
|
578
|
+
var functionName = {
|
579
|
+
EXISTS: EXISTS,
|
580
|
+
PROPER: PROPER,
|
581
|
+
CONFIGURABLE: CONFIGURABLE
|
582
|
+
};
|
583
|
+
|
567
584
|
var functionToString = functionUncurryThis(Function.toString);
|
568
585
|
|
569
586
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
@@ -647,50 +664,56 @@ var internalState = {
|
|
647
664
|
getterFor: getterFor
|
648
665
|
};
|
649
666
|
|
650
|
-
var
|
651
|
-
|
652
|
-
var
|
667
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
668
|
+
var defineProperty = objectDefineProperty.f;
|
669
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
653
670
|
|
654
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
655
|
-
// additional protection from minified / mangled / dropped function names
|
656
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
657
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
658
671
|
|
659
|
-
var functionName = {
|
660
|
-
EXISTS: EXISTS,
|
661
|
-
PROPER: PROPER,
|
662
|
-
CONFIGURABLE: CONFIGURABLE
|
663
|
-
};
|
664
672
|
|
665
|
-
var redefine = createCommonjsModule(function (module) {
|
666
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
667
|
-
|
668
|
-
var getInternalState = internalState.get;
|
669
673
|
var enforceInternalState = internalState.enforce;
|
674
|
+
var getInternalState = internalState.get;
|
675
|
+
|
676
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
677
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
678
|
+
});
|
679
|
+
|
670
680
|
var TEMPLATE = String(String).split('String');
|
671
681
|
|
672
|
-
|
682
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
683
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
684
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
685
|
+
}
|
686
|
+
if (options && options.getter) name = 'get ' + name;
|
687
|
+
if (options && options.setter) name = 'set ' + name;
|
688
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
689
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
690
|
+
}
|
691
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
692
|
+
defineProperty(value, 'length', { value: options.arity });
|
693
|
+
}
|
694
|
+
var state = enforceInternalState(value);
|
695
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
696
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
697
|
+
} return value;
|
698
|
+
};
|
699
|
+
|
700
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
701
|
+
// eslint-disable-next-line no-extend-native -- required
|
702
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
703
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
704
|
+
}, 'toString');
|
705
|
+
});
|
706
|
+
|
707
|
+
var defineBuiltIn = function (O, key, value, options) {
|
673
708
|
var unsafe = options ? !!options.unsafe : false;
|
674
709
|
var simple = options ? !!options.enumerable : false;
|
675
710
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
676
711
|
var name = options && options.name !== undefined ? options.name : key;
|
677
|
-
|
678
|
-
if (isCallable(value)) {
|
679
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
680
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
681
|
-
}
|
682
|
-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
683
|
-
createNonEnumerableProperty(value, 'name', name);
|
684
|
-
}
|
685
|
-
state = enforceInternalState(value);
|
686
|
-
if (!state.source) {
|
687
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
688
|
-
}
|
689
|
-
}
|
712
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
690
713
|
if (O === global_1) {
|
691
714
|
if (simple) O[key] = value;
|
692
715
|
else setGlobal(key, value);
|
693
|
-
return;
|
716
|
+
return O;
|
694
717
|
} else if (!unsafe) {
|
695
718
|
delete O[key];
|
696
719
|
} else if (!noTargetGet && O[key]) {
|
@@ -698,11 +721,8 @@ var TEMPLATE = String(String).split('String');
|
|
698
721
|
}
|
699
722
|
if (simple) O[key] = value;
|
700
723
|
else createNonEnumerableProperty(O, key, value);
|
701
|
-
|
702
|
-
}
|
703
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
704
|
-
});
|
705
|
-
});
|
724
|
+
return O;
|
725
|
+
};
|
706
726
|
|
707
727
|
var ceil = Math.ceil;
|
708
728
|
var floor$1 = Math.floor;
|
@@ -802,7 +822,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
802
822
|
|
803
823
|
// `Object.getOwnPropertyNames` method
|
804
824
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
805
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
825
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
806
826
|
var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
807
827
|
return objectKeysInternal(O, hiddenKeys);
|
808
828
|
};
|
@@ -811,7 +831,7 @@ var objectGetOwnPropertyNames = {
|
|
811
831
|
f: f$2
|
812
832
|
};
|
813
833
|
|
814
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
834
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
815
835
|
var f$1 = Object.getOwnPropertySymbols;
|
816
836
|
|
817
837
|
var objectGetOwnPropertySymbols = {
|
@@ -909,8 +929,7 @@ var _export = function (options, source) {
|
|
909
929
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
910
930
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
911
931
|
}
|
912
|
-
|
913
|
-
redefine(target, key, sourceProperty, options);
|
932
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
914
933
|
}
|
915
934
|
};
|
916
935
|
|
@@ -958,6 +977,7 @@ var toString_1 = function (argument) {
|
|
958
977
|
var regexpFlags = function () {
|
959
978
|
var that = anObject(this);
|
960
979
|
var result = '';
|
980
|
+
if (that.hasIndices) result += 'd';
|
961
981
|
if (that.global) result += 'g';
|
962
982
|
if (that.ignoreCase) result += 'i';
|
963
983
|
if (that.multiline) result += 'm';
|
@@ -997,14 +1017,14 @@ var regexpStickyHelpers = {
|
|
997
1017
|
|
998
1018
|
// `Object.keys` method
|
999
1019
|
// https://tc39.es/ecma262/#sec-object.keys
|
1000
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
1020
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
1001
1021
|
var objectKeys = Object.keys || function keys(O) {
|
1002
1022
|
return objectKeysInternal(O, enumBugKeys);
|
1003
1023
|
};
|
1004
1024
|
|
1005
1025
|
// `Object.defineProperties` method
|
1006
1026
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
1007
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
1027
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
1008
1028
|
var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
1009
1029
|
anObject(O);
|
1010
1030
|
var props = toIndexedObject(Properties);
|
@@ -1093,6 +1113,7 @@ hiddenKeys$1[IE_PROTO] = true;
|
|
1093
1113
|
|
1094
1114
|
// `Object.create` method
|
1095
1115
|
// https://tc39.es/ecma262/#sec-object.create
|
1116
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
1096
1117
|
var objectCreate = Object.create || function create(O, Properties) {
|
1097
1118
|
var result;
|
1098
1119
|
if (O !== null) {
|
@@ -1249,7 +1270,7 @@ var FunctionPrototype = Function.prototype;
|
|
1249
1270
|
var apply = FunctionPrototype.apply;
|
1250
1271
|
var call = FunctionPrototype.call;
|
1251
1272
|
|
1252
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
1273
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
1253
1274
|
var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
|
1254
1275
|
return call.apply(apply, arguments);
|
1255
1276
|
});
|
@@ -1321,8 +1342,8 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
1321
1342
|
return { done: false };
|
1322
1343
|
});
|
1323
1344
|
|
1324
|
-
|
1325
|
-
|
1345
|
+
defineBuiltIn(String.prototype, KEY, methods[0]);
|
1346
|
+
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
1326
1347
|
}
|
1327
1348
|
|
1328
1349
|
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
@@ -1546,7 +1567,7 @@ fixRegexpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
1546
1567
|
|
1547
1568
|
// `IsArray` abstract operation
|
1548
1569
|
// https://tc39.es/ecma262/#sec-isarray
|
1549
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
1570
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
1550
1571
|
var isArray = Array.isArray || function isArray(argument) {
|
1551
1572
|
return classofRaw(argument) == 'Array';
|
1552
1573
|
};
|
@@ -1670,7 +1691,7 @@ var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
1670
1691
|
// `Array.prototype.concat` method
|
1671
1692
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
1672
1693
|
// with adding support of @@isConcatSpreadable and @@species
|
1673
|
-
_export({ target: 'Array', proto: true, forced: FORCED }, {
|
1694
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
1674
1695
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
1675
1696
|
concat: function concat(arg) {
|
1676
1697
|
var O = toObject(this);
|