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
data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js
CHANGED
@@ -169,7 +169,7 @@
|
|
169
169
|
|
170
170
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
171
171
|
var global_1 =
|
172
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
172
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
173
173
|
check(typeof globalThis == 'object' && globalThis) ||
|
174
174
|
check(typeof window == 'object' && window) ||
|
175
175
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -178,7 +178,7 @@
|
|
178
178
|
// eslint-disable-next-line no-new-func -- fallback
|
179
179
|
(function () { return this; })() || Function('return this')();
|
180
180
|
|
181
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
181
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
182
182
|
var defineProperty$2 = Object.defineProperty;
|
183
183
|
|
184
184
|
var setGlobal = function (key, value) {
|
@@ -198,10 +198,10 @@
|
|
198
198
|
(module.exports = function (key, value) {
|
199
199
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
200
200
|
})('versions', []).push({
|
201
|
-
version: '3.
|
201
|
+
version: '3.22.4',
|
202
202
|
mode: 'global',
|
203
203
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
204
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
204
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
205
205
|
source: 'https://github.com/zloirock/core-js'
|
206
206
|
});
|
207
207
|
});
|
@@ -215,6 +215,7 @@
|
|
215
215
|
};
|
216
216
|
|
217
217
|
var functionBindNative = !fails(function () {
|
218
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
218
219
|
var test = (function () { /* empty */ }).bind();
|
219
220
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
220
221
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
@@ -254,6 +255,7 @@
|
|
254
255
|
|
255
256
|
// `HasOwnProperty` abstract operation
|
256
257
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
258
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
257
259
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
258
260
|
return hasOwnProperty(toObject(it), key);
|
259
261
|
};
|
@@ -307,11 +309,11 @@
|
|
307
309
|
|
308
310
|
var engineV8Version = version;
|
309
311
|
|
310
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
312
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
311
313
|
|
312
314
|
|
313
315
|
|
314
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
316
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
315
317
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
316
318
|
var symbol = Symbol();
|
317
319
|
// Chrome 38 Symbol has incorrect toString conversion
|
@@ -321,7 +323,7 @@
|
|
321
323
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
322
324
|
});
|
323
325
|
|
324
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
326
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
325
327
|
|
326
328
|
|
327
329
|
var useSymbolAsUid = nativeSymbol
|
@@ -355,7 +357,7 @@
|
|
355
357
|
|
356
358
|
// Detect IE8's incomplete defineProperty implementation
|
357
359
|
var descriptors = !fails(function () {
|
358
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
360
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
359
361
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
360
362
|
});
|
361
363
|
|
@@ -373,7 +375,7 @@
|
|
373
375
|
|
374
376
|
// Thanks to IE8 for its funny defineProperty
|
375
377
|
var ie8DomDefine = !descriptors && !fails(function () {
|
376
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
378
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
377
379
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
378
380
|
get: function () { return 7; }
|
379
381
|
}).a != 7;
|
@@ -382,7 +384,7 @@
|
|
382
384
|
// V8 ~ Chrome 36-
|
383
385
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
384
386
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
385
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
387
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
386
388
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
387
389
|
value: 42,
|
388
390
|
writable: false
|
@@ -479,9 +481,9 @@
|
|
479
481
|
};
|
480
482
|
|
481
483
|
var TypeError$3 = global_1.TypeError;
|
482
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
484
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
483
485
|
var $defineProperty = Object.defineProperty;
|
484
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
486
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
485
487
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
486
488
|
var ENUMERABLE = 'enumerable';
|
487
489
|
var CONFIGURABLE$1 = 'configurable';
|
@@ -536,6 +538,21 @@
|
|
536
538
|
return object;
|
537
539
|
};
|
538
540
|
|
541
|
+
var FunctionPrototype$1 = Function.prototype;
|
542
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
543
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
544
|
+
|
545
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
546
|
+
// additional protection from minified / mangled / dropped function names
|
547
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
548
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
549
|
+
|
550
|
+
var functionName = {
|
551
|
+
EXISTS: EXISTS,
|
552
|
+
PROPER: PROPER,
|
553
|
+
CONFIGURABLE: CONFIGURABLE
|
554
|
+
};
|
555
|
+
|
539
556
|
var functionToString$1 = functionUncurryThis(Function.toString);
|
540
557
|
|
541
558
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
@@ -619,50 +636,56 @@
|
|
619
636
|
getterFor: getterFor
|
620
637
|
};
|
621
638
|
|
622
|
-
var
|
623
|
-
|
624
|
-
var
|
625
|
-
|
626
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
627
|
-
// additional protection from minified / mangled / dropped function names
|
628
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
629
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
639
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
640
|
+
var defineProperty = objectDefineProperty.f;
|
641
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
630
642
|
|
631
|
-
var functionName = {
|
632
|
-
EXISTS: EXISTS,
|
633
|
-
PROPER: PROPER,
|
634
|
-
CONFIGURABLE: CONFIGURABLE
|
635
|
-
};
|
636
643
|
|
637
|
-
var redefine = createCommonjsModule(function (module) {
|
638
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
639
644
|
|
640
|
-
var getInternalState = internalState.get;
|
641
645
|
var enforceInternalState = internalState.enforce;
|
646
|
+
var getInternalState = internalState.get;
|
647
|
+
|
648
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
649
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
650
|
+
});
|
651
|
+
|
642
652
|
var TEMPLATE = String(String).split('String');
|
643
653
|
|
644
|
-
|
654
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
655
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
656
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
657
|
+
}
|
658
|
+
if (options && options.getter) name = 'get ' + name;
|
659
|
+
if (options && options.setter) name = 'set ' + name;
|
660
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
661
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
662
|
+
}
|
663
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
664
|
+
defineProperty(value, 'length', { value: options.arity });
|
665
|
+
}
|
666
|
+
var state = enforceInternalState(value);
|
667
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
668
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
669
|
+
} return value;
|
670
|
+
};
|
671
|
+
|
672
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
673
|
+
// eslint-disable-next-line no-extend-native -- required
|
674
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
675
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
676
|
+
}, 'toString');
|
677
|
+
});
|
678
|
+
|
679
|
+
var defineBuiltIn = function (O, key, value, options) {
|
645
680
|
var unsafe = options ? !!options.unsafe : false;
|
646
681
|
var simple = options ? !!options.enumerable : false;
|
647
682
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
648
683
|
var name = options && options.name !== undefined ? options.name : key;
|
649
|
-
|
650
|
-
if (isCallable(value)) {
|
651
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
652
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
653
|
-
}
|
654
|
-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
655
|
-
createNonEnumerableProperty(value, 'name', name);
|
656
|
-
}
|
657
|
-
state = enforceInternalState(value);
|
658
|
-
if (!state.source) {
|
659
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
660
|
-
}
|
661
|
-
}
|
684
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
662
685
|
if (O === global_1) {
|
663
686
|
if (simple) O[key] = value;
|
664
687
|
else setGlobal(key, value);
|
665
|
-
return;
|
688
|
+
return O;
|
666
689
|
} else if (!unsafe) {
|
667
690
|
delete O[key];
|
668
691
|
} else if (!noTargetGet && O[key]) {
|
@@ -670,11 +693,8 @@
|
|
670
693
|
}
|
671
694
|
if (simple) O[key] = value;
|
672
695
|
else createNonEnumerableProperty(O, key, value);
|
673
|
-
|
674
|
-
}
|
675
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
676
|
-
});
|
677
|
-
});
|
696
|
+
return O;
|
697
|
+
};
|
678
698
|
|
679
699
|
var toString = functionUncurryThis({}.toString);
|
680
700
|
var stringSlice = functionUncurryThis(''.slice);
|
@@ -717,7 +737,7 @@
|
|
717
737
|
// `Object.prototype.toString` method
|
718
738
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
719
739
|
if (!toStringTagSupport) {
|
720
|
-
|
740
|
+
defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
|
721
741
|
}
|
722
742
|
|
723
743
|
// iterable DOM collections
|
@@ -813,7 +833,7 @@
|
|
813
833
|
|
814
834
|
// `IsArray` abstract operation
|
815
835
|
// https://tc39.es/ecma262/#sec-isarray
|
816
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
836
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
817
837
|
var isArray = Array.isArray || function isArray(argument) {
|
818
838
|
return classofRaw(argument) == 'Array';
|
819
839
|
};
|
@@ -972,7 +992,7 @@
|
|
972
992
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
973
993
|
var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg */) {
|
974
994
|
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
975
|
-
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
995
|
+
// eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
|
976
996
|
} : [].forEach;
|
977
997
|
|
978
998
|
var handlePrototype = function (CollectionPrototype) {
|
@@ -993,7 +1013,7 @@
|
|
993
1013
|
handlePrototype(domTokenListPrototype);
|
994
1014
|
|
995
1015
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
996
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
1016
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
997
1017
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
998
1018
|
|
999
1019
|
// Nashorn ~ JDK8 bug
|
@@ -1018,7 +1038,7 @@
|
|
1018
1038
|
return indexedObject(requireObjectCoercible(it));
|
1019
1039
|
};
|
1020
1040
|
|
1021
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
1041
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
1022
1042
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
1023
1043
|
|
1024
1044
|
// `Object.getOwnPropertyDescriptor` method
|
@@ -1109,7 +1129,7 @@
|
|
1109
1129
|
|
1110
1130
|
// `Object.getOwnPropertyNames` method
|
1111
1131
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
1112
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
1132
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
1113
1133
|
var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
1114
1134
|
return objectKeysInternal(O, hiddenKeys);
|
1115
1135
|
};
|
@@ -1118,7 +1138,7 @@
|
|
1118
1138
|
f: f$2
|
1119
1139
|
};
|
1120
1140
|
|
1121
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
1141
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
1122
1142
|
var f$1 = Object.getOwnPropertySymbols;
|
1123
1143
|
|
1124
1144
|
var objectGetOwnPropertySymbols = {
|
@@ -1216,8 +1236,7 @@
|
|
1216
1236
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1217
1237
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1218
1238
|
}
|
1219
|
-
|
1220
|
-
redefine(target, key, sourceProperty, options);
|
1239
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1221
1240
|
}
|
1222
1241
|
};
|
1223
1242
|
|
@@ -1511,7 +1530,7 @@
|
|
1511
1530
|
// `Array.prototype.concat` method
|
1512
1531
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
1513
1532
|
// with adding support of @@isConcatSpreadable and @@species
|
1514
|
-
_export({ target: 'Array', proto: true, forced: FORCED }, {
|
1533
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
1515
1534
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
1516
1535
|
concat: function concat(arg) {
|
1517
1536
|
var O = toObject(this);
|
@@ -1536,14 +1555,14 @@
|
|
1536
1555
|
|
1537
1556
|
// `Object.keys` method
|
1538
1557
|
// https://tc39.es/ecma262/#sec-object.keys
|
1539
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
1558
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
1540
1559
|
var objectKeys = Object.keys || function keys(O) {
|
1541
1560
|
return objectKeysInternal(O, enumBugKeys);
|
1542
1561
|
};
|
1543
1562
|
|
1544
1563
|
// `Object.defineProperties` method
|
1545
1564
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
1546
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
1565
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
1547
1566
|
var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
1548
1567
|
anObject(O);
|
1549
1568
|
var props = toIndexedObject(Properties);
|
@@ -1632,6 +1651,7 @@
|
|
1632
1651
|
|
1633
1652
|
// `Object.create` method
|
1634
1653
|
// https://tc39.es/ecma262/#sec-object.create
|
1654
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
1635
1655
|
var objectCreate = Object.create || function create(O, Properties) {
|
1636
1656
|
var result;
|
1637
1657
|
if (O !== null) {
|
@@ -1695,9 +1715,9 @@
|
|
1695
1715
|
}
|
1696
1716
|
});
|
1697
1717
|
|
1698
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
1718
|
+
// eslint-disable-next-line es-x/no-object-assign -- safe
|
1699
1719
|
var $assign = Object.assign;
|
1700
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1720
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
1701
1721
|
var defineProperty = Object.defineProperty;
|
1702
1722
|
var concat = functionUncurryThis([].concat);
|
1703
1723
|
|
@@ -1717,7 +1737,7 @@
|
|
1717
1737
|
// should work with symbols and should have deterministic property order (V8 bug)
|
1718
1738
|
var A = {};
|
1719
1739
|
var B = {};
|
1720
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
1740
|
+
// eslint-disable-next-line es-x/no-symbol -- safe
|
1721
1741
|
var symbol = Symbol();
|
1722
1742
|
var alphabet = 'abcdefghijklmnopqrst';
|
1723
1743
|
A[symbol] = 7;
|
@@ -1744,8 +1764,8 @@
|
|
1744
1764
|
|
1745
1765
|
// `Object.assign` method
|
1746
1766
|
// https://tc39.es/ecma262/#sec-object.assign
|
1747
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
1748
|
-
_export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
|
1767
|
+
// eslint-disable-next-line es-x/no-object-assign -- required for testing
|
1768
|
+
_export({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== objectAssign }, {
|
1749
1769
|
assign: objectAssign
|
1750
1770
|
});
|
1751
1771
|
|