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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap-table-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/.DS_Store +0 -0
  4. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +75 -56
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +82 -61
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +82 -61
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +6 -6
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +217 -143
  9. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +114 -87
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +84 -64
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +111 -75
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +84 -64
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +84 -64
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +75 -56
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +84 -63
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +93 -68
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +426 -367
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +104 -72
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +80 -60
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +85 -65
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +83 -62
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +87 -61
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +105 -73
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +79 -59
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +76 -57
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +92 -66
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +79 -59
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +80 -57
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +75 -56
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +79 -59
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +96 -69
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +76 -57
  33. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +75 -56
  34. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +75 -56
  35. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +75 -56
  36. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +75 -56
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +75 -56
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +75 -56
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +75 -56
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +75 -56
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +75 -56
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +75 -56
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +75 -56
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +75 -56
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +75 -56
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +75 -56
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +75 -56
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +75 -56
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +75 -56
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +75 -56
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +75 -56
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +75 -56
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +75 -56
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +75 -56
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +75 -56
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +75 -56
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +75 -56
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +75 -56
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +75 -56
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +75 -56
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +75 -56
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +75 -56
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +75 -56
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +75 -56
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +75 -56
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +75 -56
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +75 -56
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +75 -56
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +75 -56
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +75 -56
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +75 -56
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +75 -56
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +75 -56
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +75 -56
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +75 -56
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +75 -56
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +75 -56
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +75 -56
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +75 -56
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +75 -56
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +75 -56
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +75 -56
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +75 -56
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +75 -56
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +75 -56
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +75 -56
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +75 -56
  88. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +5 -5
  89. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +85 -59
  90. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +5 -5
  91. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +85 -59
  92. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +5 -5
  93. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +85 -59
  94. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +5 -5
  95. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +85 -59
  96. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +5 -5
  97. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +85 -59
  98. metadata +1 -2
  99. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
@@ -275,7 +275,7 @@
275
275
 
276
276
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
277
277
  var global_1 =
278
- // eslint-disable-next-line es/no-global-this -- safe
278
+ // eslint-disable-next-line es-x/no-global-this -- safe
279
279
  check(typeof globalThis == 'object' && globalThis) ||
280
280
  check(typeof window == 'object' && window) ||
281
281
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -294,11 +294,12 @@
294
294
 
295
295
  // Detect IE8's incomplete defineProperty implementation
296
296
  var descriptors = !fails(function () {
297
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
297
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
298
298
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
299
299
  });
300
300
 
301
301
  var functionBindNative = !fails(function () {
302
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
302
303
  var test = (function () { /* empty */ }).bind();
303
304
  // eslint-disable-next-line no-prototype-builtins -- safe
304
305
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -311,7 +312,7 @@
311
312
  };
312
313
 
313
314
  var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
314
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
315
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
315
316
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
316
317
 
317
318
  // Nashorn ~ JDK8 bug
@@ -433,11 +434,11 @@
433
434
 
434
435
  var engineV8Version = version;
435
436
 
436
- /* eslint-disable es/no-symbol -- required for testing */
437
+ /* eslint-disable es-x/no-symbol -- required for testing */
437
438
 
438
439
 
439
440
 
440
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
441
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
441
442
  var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
442
443
  var symbol = Symbol();
443
444
  // Chrome 38 Symbol has incorrect toString conversion
@@ -447,7 +448,7 @@
447
448
  !Symbol.sham && engineV8Version && engineV8Version < 41;
448
449
  });
449
450
 
450
- /* eslint-disable es/no-symbol -- required for testing */
451
+ /* eslint-disable es-x/no-symbol -- required for testing */
451
452
 
452
453
 
453
454
  var useSymbolAsUid = nativeSymbol
@@ -500,7 +501,7 @@
500
501
  throw TypeError$7("Can't convert object to primitive value");
501
502
  };
502
503
 
503
- // eslint-disable-next-line es/no-object-defineproperty -- safe
504
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
504
505
  var defineProperty = Object.defineProperty;
505
506
 
506
507
  var setGlobal = function (key, value) {
@@ -520,10 +521,10 @@
520
521
  (module.exports = function (key, value) {
521
522
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
522
523
  })('versions', []).push({
523
- version: '3.21.1',
524
+ version: '3.22.4',
524
525
  mode: 'global',
525
526
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
526
- license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
527
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
527
528
  source: 'https://github.com/zloirock/core-js'
528
529
  });
529
530
  });
@@ -540,6 +541,7 @@
540
541
 
541
542
  // `HasOwnProperty` abstract operation
542
543
  // https://tc39.es/ecma262/#sec-hasownproperty
544
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
543
545
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
544
546
  return hasOwnProperty(toObject(it), key);
545
547
  };
@@ -606,13 +608,13 @@
606
608
 
607
609
  // Thanks to IE8 for its funny defineProperty
608
610
  var ie8DomDefine = !descriptors && !fails(function () {
609
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
611
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
610
612
  return Object.defineProperty(documentCreateElement('div'), 'a', {
611
613
  get: function () { return 7; }
612
614
  }).a != 7;
613
615
  });
614
616
 
615
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
617
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
616
618
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
617
619
 
618
620
  // `Object.getOwnPropertyDescriptor` method
@@ -633,7 +635,7 @@
633
635
  // V8 ~ Chrome 36-
634
636
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
635
637
  var v8PrototypeDefineBug = descriptors && fails(function () {
636
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
638
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
637
639
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
638
640
  value: 42,
639
641
  writable: false
@@ -650,9 +652,9 @@
650
652
  };
651
653
 
652
654
  var TypeError$4 = global_1.TypeError;
653
- // eslint-disable-next-line es/no-object-defineproperty -- safe
655
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
654
656
  var $defineProperty = Object.defineProperty;
655
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
657
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
656
658
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
657
659
  var ENUMERABLE = 'enumerable';
658
660
  var CONFIGURABLE$1 = 'configurable';
@@ -698,6 +700,21 @@
698
700
  return object;
699
701
  };
700
702
 
703
+ var FunctionPrototype$1 = Function.prototype;
704
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
705
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
706
+
707
+ var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
708
+ // additional protection from minified / mangled / dropped function names
709
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
710
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
711
+
712
+ var functionName = {
713
+ EXISTS: EXISTS,
714
+ PROPER: PROPER,
715
+ CONFIGURABLE: CONFIGURABLE
716
+ };
717
+
701
718
  var functionToString = functionUncurryThis(Function.toString);
702
719
 
703
720
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
@@ -781,50 +798,56 @@
781
798
  getterFor: getterFor
782
799
  };
783
800
 
784
- var FunctionPrototype$1 = Function.prototype;
785
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
786
- var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
801
+ var makeBuiltIn_1 = createCommonjsModule(function (module) {
802
+ var defineProperty = objectDefineProperty.f;
803
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
787
804
 
788
- var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
789
- // additional protection from minified / mangled / dropped function names
790
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
791
- var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
792
805
 
793
- var functionName = {
794
- EXISTS: EXISTS,
795
- PROPER: PROPER,
796
- CONFIGURABLE: CONFIGURABLE
797
- };
798
806
 
799
- var redefine = createCommonjsModule(function (module) {
800
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
801
-
802
- var getInternalState = internalState.get;
803
807
  var enforceInternalState = internalState.enforce;
808
+ var getInternalState = internalState.get;
809
+
810
+ var CONFIGURABLE_LENGTH = !fails(function () {
811
+ return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
812
+ });
813
+
804
814
  var TEMPLATE = String(String).split('String');
805
815
 
806
- (module.exports = function (O, key, value, options) {
816
+ var makeBuiltIn = module.exports = function (value, name, options) {
817
+ if (String(name).slice(0, 7) === 'Symbol(') {
818
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
819
+ }
820
+ if (options && options.getter) name = 'get ' + name;
821
+ if (options && options.setter) name = 'set ' + name;
822
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
823
+ defineProperty(value, 'name', { value: name, configurable: true });
824
+ }
825
+ if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
826
+ defineProperty(value, 'length', { value: options.arity });
827
+ }
828
+ var state = enforceInternalState(value);
829
+ if (!hasOwnProperty_1(state, 'source')) {
830
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
831
+ } return value;
832
+ };
833
+
834
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
835
+ // eslint-disable-next-line no-extend-native -- required
836
+ Function.prototype.toString = makeBuiltIn(function toString() {
837
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
838
+ }, 'toString');
839
+ });
840
+
841
+ var defineBuiltIn = function (O, key, value, options) {
807
842
  var unsafe = options ? !!options.unsafe : false;
808
843
  var simple = options ? !!options.enumerable : false;
809
844
  var noTargetGet = options ? !!options.noTargetGet : false;
810
845
  var name = options && options.name !== undefined ? options.name : key;
811
- var state;
812
- if (isCallable(value)) {
813
- if (String(name).slice(0, 7) === 'Symbol(') {
814
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
815
- }
816
- if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
817
- createNonEnumerableProperty(value, 'name', name);
818
- }
819
- state = enforceInternalState(value);
820
- if (!state.source) {
821
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
822
- }
823
- }
846
+ if (isCallable(value)) makeBuiltIn_1(value, name, options);
824
847
  if (O === global_1) {
825
848
  if (simple) O[key] = value;
826
849
  else setGlobal(key, value);
827
- return;
850
+ return O;
828
851
  } else if (!unsafe) {
829
852
  delete O[key];
830
853
  } else if (!noTargetGet && O[key]) {
@@ -832,11 +855,8 @@
832
855
  }
833
856
  if (simple) O[key] = value;
834
857
  else createNonEnumerableProperty(O, key, value);
835
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
836
- })(Function.prototype, 'toString', function toString() {
837
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
838
- });
839
- });
858
+ return O;
859
+ };
840
860
 
841
861
  var ceil = Math.ceil;
842
862
  var floor$1 = Math.floor;
@@ -936,7 +956,7 @@
936
956
 
937
957
  // `Object.getOwnPropertyNames` method
938
958
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
939
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
959
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
940
960
  var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
941
961
  return objectKeysInternal(O, hiddenKeys);
942
962
  };
@@ -945,7 +965,7 @@
945
965
  f: f$2
946
966
  };
947
967
 
948
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
968
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
949
969
  var f$1 = Object.getOwnPropertySymbols;
950
970
 
951
971
  var objectGetOwnPropertySymbols = {
@@ -1043,8 +1063,7 @@
1043
1063
  if (options.sham || (targetProperty && targetProperty.sham)) {
1044
1064
  createNonEnumerableProperty(sourceProperty, 'sham', true);
1045
1065
  }
1046
- // extend global
1047
- redefine(target, key, sourceProperty, options);
1066
+ defineBuiltIn(target, key, sourceProperty, options);
1048
1067
  }
1049
1068
  };
1050
1069
 
@@ -1092,6 +1111,7 @@
1092
1111
  var regexpFlags = function () {
1093
1112
  var that = anObject(this);
1094
1113
  var result = '';
1114
+ if (that.hasIndices) result += 'd';
1095
1115
  if (that.global) result += 'g';
1096
1116
  if (that.ignoreCase) result += 'i';
1097
1117
  if (that.multiline) result += 'm';
@@ -1131,14 +1151,14 @@
1131
1151
 
1132
1152
  // `Object.keys` method
1133
1153
  // https://tc39.es/ecma262/#sec-object.keys
1134
- // eslint-disable-next-line es/no-object-keys -- safe
1154
+ // eslint-disable-next-line es-x/no-object-keys -- safe
1135
1155
  var objectKeys = Object.keys || function keys(O) {
1136
1156
  return objectKeysInternal(O, enumBugKeys);
1137
1157
  };
1138
1158
 
1139
1159
  // `Object.defineProperties` method
1140
1160
  // https://tc39.es/ecma262/#sec-object.defineproperties
1141
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1161
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1142
1162
  var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
1143
1163
  anObject(O);
1144
1164
  var props = toIndexedObject(Properties);
@@ -1227,6 +1247,7 @@
1227
1247
 
1228
1248
  // `Object.create` method
1229
1249
  // https://tc39.es/ecma262/#sec-object.create
1250
+ // eslint-disable-next-line es-x/no-object-create -- safe
1230
1251
  var objectCreate = Object.create || function create(O, Properties) {
1231
1252
  var result;
1232
1253
  if (O !== null) {
@@ -1383,7 +1404,7 @@
1383
1404
  var apply = FunctionPrototype.apply;
1384
1405
  var call = FunctionPrototype.call;
1385
1406
 
1386
- // eslint-disable-next-line es/no-reflect -- safe
1407
+ // eslint-disable-next-line es-x/no-reflect -- safe
1387
1408
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
1388
1409
  return call.apply(apply, arguments);
1389
1410
  });
@@ -1455,8 +1476,8 @@
1455
1476
  return { done: false };
1456
1477
  });
1457
1478
 
1458
- redefine(String.prototype, KEY, methods[0]);
1459
- redefine(RegExpPrototype, SYMBOL, methods[1]);
1479
+ defineBuiltIn(String.prototype, KEY, methods[0]);
1480
+ defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
1460
1481
  }
1461
1482
 
1462
1483
  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
@@ -1686,7 +1707,7 @@
1686
1707
  });
1687
1708
  };
1688
1709
 
1689
- /* eslint-disable es/no-array-prototype-indexof -- required for testing */
1710
+ /* eslint-disable es-x/no-array-prototype-indexof -- required for testing */
1690
1711
 
1691
1712
 
1692
1713
  var $IndexOf = arrayIncludes.indexOf;
@@ -1711,7 +1732,7 @@
1711
1732
 
1712
1733
  // `IsArray` abstract operation
1713
1734
  // https://tc39.es/ecma262/#sec-isarray
1714
- // eslint-disable-next-line es/no-array-isarray -- safe
1735
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
1715
1736
  var isArray = Array.isArray || function isArray(argument) {
1716
1737
  return classofRaw(argument) == 'Array';
1717
1738
  };
@@ -1835,7 +1856,7 @@
1835
1856
  // `Array.prototype.concat` method
1836
1857
  // https://tc39.es/ecma262/#sec-array.prototype.concat
1837
1858
  // with adding support of @@isConcatSpreadable and @@species
1838
- _export({ target: 'Array', proto: true, forced: FORCED }, {
1859
+ _export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1839
1860
  // eslint-disable-next-line no-unused-vars -- required for `.length`
1840
1861
  concat: function concat(arg) {
1841
1862
  var O = toObject(this);
@@ -1994,7 +2015,7 @@
1994
2015
  // `Object.prototype.toString` method
1995
2016
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1996
2017
  if (!toStringTagSupport) {
1997
- redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
2018
+ defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
1998
2019
  }
1999
2020
 
2000
2021
  var $propertyIsEnumerable = objectPropertyIsEnumerable.f;