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
@@ -233,7 +233,7 @@
|
|
233
233
|
|
234
234
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
235
235
|
var global_1 =
|
236
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
236
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
237
237
|
check(typeof globalThis == 'object' && globalThis) ||
|
238
238
|
check(typeof window == 'object' && window) ||
|
239
239
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -252,11 +252,12 @@
|
|
252
252
|
|
253
253
|
// Detect IE8's incomplete defineProperty implementation
|
254
254
|
var descriptors = !fails(function () {
|
255
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
255
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
256
256
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
257
257
|
});
|
258
258
|
|
259
259
|
var functionBindNative = !fails(function () {
|
260
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
260
261
|
var test = (function () { /* empty */ }).bind();
|
261
262
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
262
263
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
@@ -269,7 +270,7 @@
|
|
269
270
|
};
|
270
271
|
|
271
272
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
272
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
273
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
273
274
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
274
275
|
|
275
276
|
// Nashorn ~ JDK8 bug
|
@@ -391,11 +392,11 @@
|
|
391
392
|
|
392
393
|
var engineV8Version = version;
|
393
394
|
|
394
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
395
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
395
396
|
|
396
397
|
|
397
398
|
|
398
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
399
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
399
400
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
400
401
|
var symbol = Symbol();
|
401
402
|
// Chrome 38 Symbol has incorrect toString conversion
|
@@ -405,7 +406,7 @@
|
|
405
406
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
406
407
|
});
|
407
408
|
|
408
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
409
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
409
410
|
|
410
411
|
|
411
412
|
var useSymbolAsUid = nativeSymbol
|
@@ -458,7 +459,7 @@
|
|
458
459
|
throw TypeError$7("Can't convert object to primitive value");
|
459
460
|
};
|
460
461
|
|
461
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
462
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
462
463
|
var defineProperty$1 = Object.defineProperty;
|
463
464
|
|
464
465
|
var setGlobal = function (key, value) {
|
@@ -478,10 +479,10 @@
|
|
478
479
|
(module.exports = function (key, value) {
|
479
480
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
480
481
|
})('versions', []).push({
|
481
|
-
version: '3.
|
482
|
+
version: '3.22.4',
|
482
483
|
mode: 'global',
|
483
484
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
484
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
485
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
485
486
|
source: 'https://github.com/zloirock/core-js'
|
486
487
|
});
|
487
488
|
});
|
@@ -498,6 +499,7 @@
|
|
498
499
|
|
499
500
|
// `HasOwnProperty` abstract operation
|
500
501
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
502
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
501
503
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
502
504
|
return hasOwnProperty(toObject(it), key);
|
503
505
|
};
|
@@ -564,13 +566,13 @@
|
|
564
566
|
|
565
567
|
// Thanks to IE8 for its funny defineProperty
|
566
568
|
var ie8DomDefine = !descriptors && !fails(function () {
|
567
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
569
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
568
570
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
569
571
|
get: function () { return 7; }
|
570
572
|
}).a != 7;
|
571
573
|
});
|
572
574
|
|
573
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
575
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
574
576
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
575
577
|
|
576
578
|
// `Object.getOwnPropertyDescriptor` method
|
@@ -591,7 +593,7 @@
|
|
591
593
|
// V8 ~ Chrome 36-
|
592
594
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
593
595
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
594
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
596
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
595
597
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
596
598
|
value: 42,
|
597
599
|
writable: false
|
@@ -608,9 +610,9 @@
|
|
608
610
|
};
|
609
611
|
|
610
612
|
var TypeError$4 = global_1.TypeError;
|
611
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
613
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
612
614
|
var $defineProperty = Object.defineProperty;
|
613
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
615
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
614
616
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
615
617
|
var ENUMERABLE = 'enumerable';
|
616
618
|
var CONFIGURABLE$1 = 'configurable';
|
@@ -656,6 +658,21 @@
|
|
656
658
|
return object;
|
657
659
|
};
|
658
660
|
|
661
|
+
var FunctionPrototype = Function.prototype;
|
662
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
663
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
664
|
+
|
665
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
666
|
+
// additional protection from minified / mangled / dropped function names
|
667
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
668
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
669
|
+
|
670
|
+
var functionName = {
|
671
|
+
EXISTS: EXISTS,
|
672
|
+
PROPER: PROPER,
|
673
|
+
CONFIGURABLE: CONFIGURABLE
|
674
|
+
};
|
675
|
+
|
659
676
|
var functionToString = functionUncurryThis(Function.toString);
|
660
677
|
|
661
678
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
@@ -739,50 +756,56 @@
|
|
739
756
|
getterFor: getterFor
|
740
757
|
};
|
741
758
|
|
742
|
-
var
|
743
|
-
|
744
|
-
var
|
745
|
-
|
746
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
747
|
-
// additional protection from minified / mangled / dropped function names
|
748
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
749
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
759
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
760
|
+
var defineProperty = objectDefineProperty.f;
|
761
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
750
762
|
|
751
|
-
var functionName = {
|
752
|
-
EXISTS: EXISTS,
|
753
|
-
PROPER: PROPER,
|
754
|
-
CONFIGURABLE: CONFIGURABLE
|
755
|
-
};
|
756
763
|
|
757
|
-
var redefine = createCommonjsModule(function (module) {
|
758
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
759
764
|
|
760
|
-
var getInternalState = internalState.get;
|
761
765
|
var enforceInternalState = internalState.enforce;
|
766
|
+
var getInternalState = internalState.get;
|
767
|
+
|
768
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
769
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
770
|
+
});
|
771
|
+
|
762
772
|
var TEMPLATE = String(String).split('String');
|
763
773
|
|
764
|
-
|
774
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
775
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
776
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
777
|
+
}
|
778
|
+
if (options && options.getter) name = 'get ' + name;
|
779
|
+
if (options && options.setter) name = 'set ' + name;
|
780
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
781
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
782
|
+
}
|
783
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
784
|
+
defineProperty(value, 'length', { value: options.arity });
|
785
|
+
}
|
786
|
+
var state = enforceInternalState(value);
|
787
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
788
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
789
|
+
} return value;
|
790
|
+
};
|
791
|
+
|
792
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
793
|
+
// eslint-disable-next-line no-extend-native -- required
|
794
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
795
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
796
|
+
}, 'toString');
|
797
|
+
});
|
798
|
+
|
799
|
+
var defineBuiltIn = function (O, key, value, options) {
|
765
800
|
var unsafe = options ? !!options.unsafe : false;
|
766
801
|
var simple = options ? !!options.enumerable : false;
|
767
802
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
768
803
|
var name = options && options.name !== undefined ? options.name : key;
|
769
|
-
|
770
|
-
if (isCallable(value)) {
|
771
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
772
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
773
|
-
}
|
774
|
-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
775
|
-
createNonEnumerableProperty(value, 'name', name);
|
776
|
-
}
|
777
|
-
state = enforceInternalState(value);
|
778
|
-
if (!state.source) {
|
779
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
780
|
-
}
|
781
|
-
}
|
804
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
782
805
|
if (O === global_1) {
|
783
806
|
if (simple) O[key] = value;
|
784
807
|
else setGlobal(key, value);
|
785
|
-
return;
|
808
|
+
return O;
|
786
809
|
} else if (!unsafe) {
|
787
810
|
delete O[key];
|
788
811
|
} else if (!noTargetGet && O[key]) {
|
@@ -790,11 +813,8 @@
|
|
790
813
|
}
|
791
814
|
if (simple) O[key] = value;
|
792
815
|
else createNonEnumerableProperty(O, key, value);
|
793
|
-
|
794
|
-
}
|
795
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
796
|
-
});
|
797
|
-
});
|
816
|
+
return O;
|
817
|
+
};
|
798
818
|
|
799
819
|
var ceil = Math.ceil;
|
800
820
|
var floor$1 = Math.floor;
|
@@ -894,7 +914,7 @@
|
|
894
914
|
|
895
915
|
// `Object.getOwnPropertyNames` method
|
896
916
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
897
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
917
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
898
918
|
var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
899
919
|
return objectKeysInternal(O, hiddenKeys);
|
900
920
|
};
|
@@ -903,7 +923,7 @@
|
|
903
923
|
f: f$2
|
904
924
|
};
|
905
925
|
|
906
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
926
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
907
927
|
var f$1 = Object.getOwnPropertySymbols;
|
908
928
|
|
909
929
|
var objectGetOwnPropertySymbols = {
|
@@ -1001,14 +1021,13 @@
|
|
1001
1021
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1002
1022
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1003
1023
|
}
|
1004
|
-
|
1005
|
-
redefine(target, key, sourceProperty, options);
|
1024
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1006
1025
|
}
|
1007
1026
|
};
|
1008
1027
|
|
1009
1028
|
// `IsArray` abstract operation
|
1010
1029
|
// https://tc39.es/ecma262/#sec-isarray
|
1011
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
1030
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
1012
1031
|
var isArray = Array.isArray || function isArray(argument) {
|
1013
1032
|
return classofRaw(argument) == 'Array';
|
1014
1033
|
};
|
@@ -1164,7 +1183,7 @@
|
|
1164
1183
|
// `Array.prototype.concat` method
|
1165
1184
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
1166
1185
|
// with adding support of @@isConcatSpreadable and @@species
|
1167
|
-
_export({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
1186
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
|
1168
1187
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
1169
1188
|
concat: function concat(arg) {
|
1170
1189
|
var O = toObject(this);
|
@@ -1189,14 +1208,14 @@
|
|
1189
1208
|
|
1190
1209
|
// `Object.keys` method
|
1191
1210
|
// https://tc39.es/ecma262/#sec-object.keys
|
1192
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
1211
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
1193
1212
|
var objectKeys = Object.keys || function keys(O) {
|
1194
1213
|
return objectKeysInternal(O, enumBugKeys);
|
1195
1214
|
};
|
1196
1215
|
|
1197
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
1216
|
+
// eslint-disable-next-line es-x/no-object-assign -- safe
|
1198
1217
|
var $assign = Object.assign;
|
1199
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1218
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
1200
1219
|
var defineProperty = Object.defineProperty;
|
1201
1220
|
var concat = functionUncurryThis([].concat);
|
1202
1221
|
|
@@ -1216,7 +1235,7 @@
|
|
1216
1235
|
// should work with symbols and should have deterministic property order (V8 bug)
|
1217
1236
|
var A = {};
|
1218
1237
|
var B = {};
|
1219
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
1238
|
+
// eslint-disable-next-line es-x/no-symbol -- safe
|
1220
1239
|
var symbol = Symbol();
|
1221
1240
|
var alphabet = 'abcdefghijklmnopqrst';
|
1222
1241
|
A[symbol] = 7;
|
@@ -1243,8 +1262,8 @@
|
|
1243
1262
|
|
1244
1263
|
// `Object.assign` method
|
1245
1264
|
// https://tc39.es/ecma262/#sec-object.assign
|
1246
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
1247
|
-
_export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
|
1265
|
+
// eslint-disable-next-line es-x/no-object-assign -- required for testing
|
1266
|
+
_export({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== objectAssign }, {
|
1248
1267
|
assign: objectAssign
|
1249
1268
|
});
|
1250
1269
|
|
@@ -1295,7 +1314,7 @@
|
|
1295
1314
|
});
|
1296
1315
|
};
|
1297
1316
|
|
1298
|
-
/* eslint-disable es/no-array-prototype-indexof -- required for testing */
|
1317
|
+
/* eslint-disable es-x/no-array-prototype-indexof -- required for testing */
|
1299
1318
|
|
1300
1319
|
|
1301
1320
|
var $IndexOf = arrayIncludes.indexOf;
|
@@ -1374,7 +1393,7 @@
|
|
1374
1393
|
|
1375
1394
|
// `Object.defineProperties` method
|
1376
1395
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
1377
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
1396
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
1378
1397
|
var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
1379
1398
|
anObject(O);
|
1380
1399
|
var props = toIndexedObject(Properties);
|
@@ -1463,6 +1482,7 @@
|
|
1463
1482
|
|
1464
1483
|
// `Object.create` method
|
1465
1484
|
// https://tc39.es/ecma262/#sec-object.create
|
1485
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
1466
1486
|
var objectCreate = Object.create || function create(O, Properties) {
|
1467
1487
|
var result;
|
1468
1488
|
if (O !== null) {
|
@@ -1666,9 +1686,15 @@
|
|
1666
1686
|
var $includes = arrayIncludes.includes;
|
1667
1687
|
|
1668
1688
|
|
1689
|
+
|
1690
|
+
// FF99+ bug
|
1691
|
+
var BROKEN_ON_SPARSE = fails(function () {
|
1692
|
+
return !Array(1).includes();
|
1693
|
+
});
|
1694
|
+
|
1669
1695
|
// `Array.prototype.includes` method
|
1670
1696
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
1671
|
-
_export({ target: 'Array', proto: true }, {
|
1697
|
+
_export({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
1672
1698
|
includes: function includes(el /* , fromIndex = 0 */) {
|
1673
1699
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
1674
1700
|
}
|
@@ -1773,7 +1799,7 @@
|
|
1773
1799
|
// `Object.prototype.toString` method
|
1774
1800
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
1775
1801
|
if (!toStringTagSupport) {
|
1776
|
-
|
1802
|
+
defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
|
1777
1803
|
}
|
1778
1804
|
|
1779
1805
|
var un$Join = functionUncurryThis([].join);
|