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
@@ -218,7 +218,7 @@
218
218
 
219
219
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
220
220
  var global_1 =
221
- // eslint-disable-next-line es/no-global-this -- safe
221
+ // eslint-disable-next-line es-x/no-global-this -- safe
222
222
  check(typeof globalThis == 'object' && globalThis) ||
223
223
  check(typeof window == 'object' && window) ||
224
224
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -237,11 +237,12 @@
237
237
 
238
238
  // Detect IE8's incomplete defineProperty implementation
239
239
  var descriptors = !fails(function () {
240
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
240
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
241
241
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
242
242
  });
243
243
 
244
244
  var functionBindNative = !fails(function () {
245
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
245
246
  var test = (function () { /* empty */ }).bind();
246
247
  // eslint-disable-next-line no-prototype-builtins -- safe
247
248
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -254,7 +255,7 @@
254
255
  };
255
256
 
256
257
  var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
257
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
258
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
258
259
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
259
260
 
260
261
  // Nashorn ~ JDK8 bug
@@ -376,11 +377,11 @@
376
377
 
377
378
  var engineV8Version = version;
378
379
 
379
- /* eslint-disable es/no-symbol -- required for testing */
380
+ /* eslint-disable es-x/no-symbol -- required for testing */
380
381
 
381
382
 
382
383
 
383
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
384
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
384
385
  var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
385
386
  var symbol = Symbol();
386
387
  // Chrome 38 Symbol has incorrect toString conversion
@@ -390,7 +391,7 @@
390
391
  !Symbol.sham && engineV8Version && engineV8Version < 41;
391
392
  });
392
393
 
393
- /* eslint-disable es/no-symbol -- required for testing */
394
+ /* eslint-disable es-x/no-symbol -- required for testing */
394
395
 
395
396
 
396
397
  var useSymbolAsUid = nativeSymbol
@@ -443,7 +444,7 @@
443
444
  throw TypeError$8("Can't convert object to primitive value");
444
445
  };
445
446
 
446
- // eslint-disable-next-line es/no-object-defineproperty -- safe
447
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
447
448
  var defineProperty$1 = Object.defineProperty;
448
449
 
449
450
  var setGlobal = function (key, value) {
@@ -463,10 +464,10 @@
463
464
  (module.exports = function (key, value) {
464
465
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
465
466
  })('versions', []).push({
466
- version: '3.21.1',
467
+ version: '3.22.4',
467
468
  mode: 'global',
468
469
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
469
- license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
470
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
470
471
  source: 'https://github.com/zloirock/core-js'
471
472
  });
472
473
  });
@@ -483,6 +484,7 @@
483
484
 
484
485
  // `HasOwnProperty` abstract operation
485
486
  // https://tc39.es/ecma262/#sec-hasownproperty
487
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
486
488
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
487
489
  return hasOwnProperty(toObject(it), key);
488
490
  };
@@ -549,13 +551,13 @@
549
551
 
550
552
  // Thanks to IE8 for its funny defineProperty
551
553
  var ie8DomDefine = !descriptors && !fails(function () {
552
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
554
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
553
555
  return Object.defineProperty(documentCreateElement('div'), 'a', {
554
556
  get: function () { return 7; }
555
557
  }).a != 7;
556
558
  });
557
559
 
558
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
560
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
559
561
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
560
562
 
561
563
  // `Object.getOwnPropertyDescriptor` method
@@ -576,7 +578,7 @@
576
578
  // V8 ~ Chrome 36-
577
579
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
578
580
  var v8PrototypeDefineBug = descriptors && fails(function () {
579
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
581
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
580
582
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
581
583
  value: 42,
582
584
  writable: false
@@ -593,9 +595,9 @@
593
595
  };
594
596
 
595
597
  var TypeError$5 = global_1.TypeError;
596
- // eslint-disable-next-line es/no-object-defineproperty -- safe
598
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
597
599
  var $defineProperty = Object.defineProperty;
598
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
600
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
599
601
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
600
602
  var ENUMERABLE = 'enumerable';
601
603
  var CONFIGURABLE$1 = 'configurable';
@@ -641,6 +643,21 @@
641
643
  return object;
642
644
  };
643
645
 
646
+ var FunctionPrototype$1 = Function.prototype;
647
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
648
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
649
+
650
+ var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
651
+ // additional protection from minified / mangled / dropped function names
652
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
653
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
654
+
655
+ var functionName = {
656
+ EXISTS: EXISTS,
657
+ PROPER: PROPER,
658
+ CONFIGURABLE: CONFIGURABLE
659
+ };
660
+
644
661
  var functionToString = functionUncurryThis(Function.toString);
645
662
 
646
663
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
@@ -724,50 +741,56 @@
724
741
  getterFor: getterFor
725
742
  };
726
743
 
727
- var FunctionPrototype$1 = Function.prototype;
728
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
729
- var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
730
-
731
- var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
732
- // additional protection from minified / mangled / dropped function names
733
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
734
- var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
744
+ var makeBuiltIn_1 = createCommonjsModule(function (module) {
745
+ var defineProperty = objectDefineProperty.f;
746
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
735
747
 
736
- var functionName = {
737
- EXISTS: EXISTS,
738
- PROPER: PROPER,
739
- CONFIGURABLE: CONFIGURABLE
740
- };
741
748
 
742
- var redefine = createCommonjsModule(function (module) {
743
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
744
749
 
745
- var getInternalState = internalState.get;
746
750
  var enforceInternalState = internalState.enforce;
751
+ var getInternalState = internalState.get;
752
+
753
+ var CONFIGURABLE_LENGTH = !fails(function () {
754
+ return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
755
+ });
756
+
747
757
  var TEMPLATE = String(String).split('String');
748
758
 
749
- (module.exports = function (O, key, value, options) {
759
+ var makeBuiltIn = module.exports = function (value, name, options) {
760
+ if (String(name).slice(0, 7) === 'Symbol(') {
761
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
762
+ }
763
+ if (options && options.getter) name = 'get ' + name;
764
+ if (options && options.setter) name = 'set ' + name;
765
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
766
+ defineProperty(value, 'name', { value: name, configurable: true });
767
+ }
768
+ if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
769
+ defineProperty(value, 'length', { value: options.arity });
770
+ }
771
+ var state = enforceInternalState(value);
772
+ if (!hasOwnProperty_1(state, 'source')) {
773
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
774
+ } return value;
775
+ };
776
+
777
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
778
+ // eslint-disable-next-line no-extend-native -- required
779
+ Function.prototype.toString = makeBuiltIn(function toString() {
780
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
781
+ }, 'toString');
782
+ });
783
+
784
+ var defineBuiltIn = function (O, key, value, options) {
750
785
  var unsafe = options ? !!options.unsafe : false;
751
786
  var simple = options ? !!options.enumerable : false;
752
787
  var noTargetGet = options ? !!options.noTargetGet : false;
753
788
  var name = options && options.name !== undefined ? options.name : key;
754
- var state;
755
- if (isCallable(value)) {
756
- if (String(name).slice(0, 7) === 'Symbol(') {
757
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
758
- }
759
- if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
760
- createNonEnumerableProperty(value, 'name', name);
761
- }
762
- state = enforceInternalState(value);
763
- if (!state.source) {
764
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
765
- }
766
- }
789
+ if (isCallable(value)) makeBuiltIn_1(value, name, options);
767
790
  if (O === global_1) {
768
791
  if (simple) O[key] = value;
769
792
  else setGlobal(key, value);
770
- return;
793
+ return O;
771
794
  } else if (!unsafe) {
772
795
  delete O[key];
773
796
  } else if (!noTargetGet && O[key]) {
@@ -775,11 +798,8 @@
775
798
  }
776
799
  if (simple) O[key] = value;
777
800
  else createNonEnumerableProperty(O, key, value);
778
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
779
- })(Function.prototype, 'toString', function toString() {
780
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
781
- });
782
- });
801
+ return O;
802
+ };
783
803
 
784
804
  var ceil = Math.ceil;
785
805
  var floor$1 = Math.floor;
@@ -879,7 +899,7 @@
879
899
 
880
900
  // `Object.getOwnPropertyNames` method
881
901
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
882
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
902
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
883
903
  var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
884
904
  return objectKeysInternal(O, hiddenKeys);
885
905
  };
@@ -888,7 +908,7 @@
888
908
  f: f$2
889
909
  };
890
910
 
891
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
911
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
892
912
  var f$1 = Object.getOwnPropertySymbols;
893
913
 
894
914
  var objectGetOwnPropertySymbols = {
@@ -986,8 +1006,7 @@
986
1006
  if (options.sham || (targetProperty && targetProperty.sham)) {
987
1007
  createNonEnumerableProperty(sourceProperty, 'sham', true);
988
1008
  }
989
- // extend global
990
- redefine(target, key, sourceProperty, options);
1009
+ defineBuiltIn(target, key, sourceProperty, options);
991
1010
  }
992
1011
  };
993
1012
 
@@ -1035,6 +1054,7 @@
1035
1054
  var regexpFlags = function () {
1036
1055
  var that = anObject(this);
1037
1056
  var result = '';
1057
+ if (that.hasIndices) result += 'd';
1038
1058
  if (that.global) result += 'g';
1039
1059
  if (that.ignoreCase) result += 'i';
1040
1060
  if (that.multiline) result += 'm';
@@ -1074,14 +1094,14 @@
1074
1094
 
1075
1095
  // `Object.keys` method
1076
1096
  // https://tc39.es/ecma262/#sec-object.keys
1077
- // eslint-disable-next-line es/no-object-keys -- safe
1097
+ // eslint-disable-next-line es-x/no-object-keys -- safe
1078
1098
  var objectKeys = Object.keys || function keys(O) {
1079
1099
  return objectKeysInternal(O, enumBugKeys);
1080
1100
  };
1081
1101
 
1082
1102
  // `Object.defineProperties` method
1083
1103
  // https://tc39.es/ecma262/#sec-object.defineproperties
1084
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1104
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1085
1105
  var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
1086
1106
  anObject(O);
1087
1107
  var props = toIndexedObject(Properties);
@@ -1170,6 +1190,7 @@
1170
1190
 
1171
1191
  // `Object.create` method
1172
1192
  // https://tc39.es/ecma262/#sec-object.create
1193
+ // eslint-disable-next-line es-x/no-object-create -- safe
1173
1194
  var objectCreate = Object.create || function create(O, Properties) {
1174
1195
  var result;
1175
1196
  if (O !== null) {
@@ -1332,7 +1353,7 @@
1332
1353
 
1333
1354
 
1334
1355
  var SPECIES$3 = wellKnownSymbol('species');
1335
- var RegExpPrototype$2 = RegExp.prototype;
1356
+ var RegExpPrototype$3 = RegExp.prototype;
1336
1357
 
1337
1358
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1338
1359
  var SYMBOL = wellKnownSymbol(KEY);
@@ -1377,7 +1398,7 @@
1377
1398
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1378
1399
  var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
1379
1400
  var $exec = regexp.exec;
1380
- if ($exec === regexpExec || $exec === RegExpPrototype$2.exec) {
1401
+ if ($exec === regexpExec || $exec === RegExpPrototype$3.exec) {
1381
1402
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1382
1403
  // The native String method already delegates to @@method (this
1383
1404
  // polyfilled function), leasing to infinite recursion.
@@ -1389,16 +1410,16 @@
1389
1410
  return { done: false };
1390
1411
  });
1391
1412
 
1392
- redefine(String.prototype, KEY, methods[0]);
1393
- redefine(RegExpPrototype$2, SYMBOL, methods[1]);
1413
+ defineBuiltIn(String.prototype, KEY, methods[0]);
1414
+ defineBuiltIn(RegExpPrototype$3, SYMBOL, methods[1]);
1394
1415
  }
1395
1416
 
1396
- if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true);
1417
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype$3[SYMBOL], 'sham', true);
1397
1418
  };
1398
1419
 
1399
1420
  // `SameValue` abstract operation
1400
1421
  // https://tc39.es/ecma262/#sec-samevalue
1401
- // eslint-disable-next-line es/no-object-is -- safe
1422
+ // eslint-disable-next-line es-x/no-object-is -- safe
1402
1423
  var sameValue = Object.is || function is(x, y) {
1403
1424
  // eslint-disable-next-line no-self-compare -- NaN check
1404
1425
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
@@ -1463,13 +1484,13 @@
1463
1484
  // `Object.setPrototypeOf` method
1464
1485
  // https://tc39.es/ecma262/#sec-object.setprototypeof
1465
1486
  // Works with __proto__ only. Old v8 can't work with null proto objects.
1466
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
1487
+ // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
1467
1488
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1468
1489
  var CORRECT_SETTER = false;
1469
1490
  var test = {};
1470
1491
  var setter;
1471
1492
  try {
1472
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1493
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
1473
1494
  setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1474
1495
  setter(test, []);
1475
1496
  CORRECT_SETTER = test instanceof Array;
@@ -1507,6 +1528,24 @@
1507
1528
  return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
1508
1529
  };
1509
1530
 
1531
+ var RegExpPrototype$2 = RegExp.prototype;
1532
+
1533
+ var regexpGetFlags = function (R) {
1534
+ var flags = R.flags;
1535
+ return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwnProperty_1(R, 'flags') && objectIsPrototypeOf(RegExpPrototype$2, R)
1536
+ ? functionCall(regexpFlags, R) : flags;
1537
+ };
1538
+
1539
+ var defineProperty = objectDefineProperty.f;
1540
+
1541
+ var proxyAccessor = function (Target, Source, key) {
1542
+ key in Target || defineProperty(Target, key, {
1543
+ configurable: true,
1544
+ get: function () { return Source[key]; },
1545
+ set: function (it) { Source[key] = it; }
1546
+ });
1547
+ };
1548
+
1510
1549
  var SPECIES$2 = wellKnownSymbol('species');
1511
1550
 
1512
1551
  var setSpecies = function (CONSTRUCTOR_NAME) {
@@ -1521,7 +1560,6 @@
1521
1560
  }
1522
1561
  };
1523
1562
 
1524
- var defineProperty = objectDefineProperty.f;
1525
1563
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
1526
1564
 
1527
1565
 
@@ -1531,6 +1569,7 @@
1531
1569
 
1532
1570
 
1533
1571
 
1572
+
1534
1573
  var enforceInternalState = internalState.enforce;
1535
1574
 
1536
1575
 
@@ -1541,7 +1580,6 @@
1541
1580
  var NativeRegExp = global_1.RegExp;
1542
1581
  var RegExpPrototype$1 = NativeRegExp.prototype;
1543
1582
  var SyntaxError = global_1.SyntaxError;
1544
- var getFlags$1 = functionUncurryThis(regexpFlags);
1545
1583
  var exec$1 = functionUncurryThis(RegExpPrototype$1.exec);
1546
1584
  var charAt$3 = functionUncurryThis(''.charAt);
1547
1585
  var replace$1 = functionUncurryThis(''.replace);
@@ -1650,7 +1688,7 @@
1650
1688
 
1651
1689
  if (patternIsRegExp || objectIsPrototypeOf(RegExpPrototype$1, pattern)) {
1652
1690
  pattern = pattern.source;
1653
- if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags$1(rawPattern);
1691
+ if (flagsAreUndefined) flags = regexpGetFlags(rawPattern);
1654
1692
  }
1655
1693
 
1656
1694
  pattern = pattern === undefined ? '' : toString_1(pattern);
@@ -1695,21 +1733,13 @@
1695
1733
  return result;
1696
1734
  };
1697
1735
 
1698
- var proxy = function (key) {
1699
- key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
1700
- configurable: true,
1701
- get: function () { return NativeRegExp[key]; },
1702
- set: function (it) { NativeRegExp[key] = it; }
1703
- });
1704
- };
1705
-
1706
1736
  for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
1707
- proxy(keys[index++]);
1737
+ proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
1708
1738
  }
1709
1739
 
1710
1740
  RegExpPrototype$1.constructor = RegExpWrapper;
1711
1741
  RegExpWrapper.prototype = RegExpPrototype$1;
1712
- redefine(global_1, 'RegExp', RegExpWrapper);
1742
+ defineBuiltIn(global_1, 'RegExp', RegExpWrapper);
1713
1743
  }
1714
1744
 
1715
1745
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -1722,11 +1752,9 @@
1722
1752
 
1723
1753
 
1724
1754
 
1725
-
1726
1755
  var TO_STRING = 'toString';
1727
1756
  var RegExpPrototype = RegExp.prototype;
1728
1757
  var n$ToString = RegExpPrototype[TO_STRING];
1729
- var getFlags = functionUncurryThis(regexpFlags);
1730
1758
 
1731
1759
  var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
1732
1760
  // FF44- RegExp#toString has a wrong name
@@ -1735,12 +1763,11 @@
1735
1763
  // `RegExp.prototype.toString` method
1736
1764
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
1737
1765
  if (NOT_GENERIC || INCORRECT_NAME) {
1738
- redefine(RegExp.prototype, TO_STRING, function toString() {
1766
+ defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
1739
1767
  var R = anObject(this);
1740
- var p = toString_1(R.source);
1741
- var rf = R.flags;
1742
- var f = toString_1(rf === undefined && objectIsPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
1743
- return '/' + p + '/' + f;
1768
+ var pattern = toString_1(R.source);
1769
+ var flags = toString_1(regexpGetFlags(R));
1770
+ return '/' + pattern + '/' + flags;
1744
1771
  }, { unsafe: true });
1745
1772
  }
1746
1773
 
@@ -1866,7 +1893,7 @@
1866
1893
 
1867
1894
  // `IsArray` abstract operation
1868
1895
  // https://tc39.es/ecma262/#sec-isarray
1869
- // eslint-disable-next-line es/no-array-isarray -- safe
1896
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
1870
1897
  var isArray = Array.isArray || function isArray(argument) {
1871
1898
  return classofRaw(argument) == 'Array';
1872
1899
  };
@@ -1990,7 +2017,7 @@
1990
2017
  // `Array.prototype.concat` method
1991
2018
  // https://tc39.es/ecma262/#sec-array.prototype.concat
1992
2019
  // with adding support of @@isConcatSpreadable and @@species
1993
- _export({ target: 'Array', proto: true, forced: FORCED }, {
2020
+ _export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1994
2021
  // eslint-disable-next-line no-unused-vars -- required for `.length`
1995
2022
  concat: function concat(arg) {
1996
2023
  var O = toObject(this);
@@ -2017,7 +2044,7 @@
2017
2044
  var apply = FunctionPrototype.apply;
2018
2045
  var call = FunctionPrototype.call;
2019
2046
 
2020
- // eslint-disable-next-line es/no-reflect -- safe
2047
+ // eslint-disable-next-line es-x/no-reflect -- safe
2021
2048
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
2022
2049
  return call.apply(apply, arguments);
2023
2050
  });