Skip to content

Commit 5f7af6f

Browse files
committed
Build to 1.20.1
1 parent 409684b commit 5f7af6f

File tree

195 files changed

+7663
-5762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+7663
-5762
lines changed

dist/bootstrap-table-locale-all.js

Lines changed: 75 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
2222
var global_1 =
23-
// eslint-disable-next-line es/no-global-this -- safe
23+
// eslint-disable-next-line es-x/no-global-this -- safe
2424
check(typeof globalThis == 'object' && globalThis) ||
2525
check(typeof window == 'object' && window) ||
2626
// eslint-disable-next-line no-restricted-globals -- safe
@@ -39,11 +39,12 @@
3939

4040
// Detect IE8's incomplete defineProperty implementation
4141
var descriptors = !fails(function () {
42-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
42+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
4343
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
4444
});
4545

4646
var functionBindNative = !fails(function () {
47+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
4748
var test = (function () { /* empty */ }).bind();
4849
// eslint-disable-next-line no-prototype-builtins -- safe
4950
return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -56,7 +57,7 @@
5657
};
5758

5859
var $propertyIsEnumerable = {}.propertyIsEnumerable;
59-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
60+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
6061
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
6162

6263
// Nashorn ~ JDK8 bug
@@ -178,11 +179,11 @@
178179

179180
var engineV8Version = version;
180181

181-
/* eslint-disable es/no-symbol -- required for testing */
182+
/* eslint-disable es-x/no-symbol -- required for testing */
182183

183184

184185

185-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
186+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
186187
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
187188
var symbol = Symbol();
188189
// Chrome 38 Symbol has incorrect toString conversion
@@ -192,7 +193,7 @@
192193
!Symbol.sham && engineV8Version && engineV8Version < 41;
193194
});
194195

195-
/* eslint-disable es/no-symbol -- required for testing */
196+
/* eslint-disable es-x/no-symbol -- required for testing */
196197

197198

198199
var useSymbolAsUid = nativeSymbol
@@ -245,7 +246,7 @@
245246
throw TypeError$5("Can't convert object to primitive value");
246247
};
247248

248-
// eslint-disable-next-line es/no-object-defineproperty -- safe
249+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
249250
var defineProperty = Object.defineProperty;
250251

251252
var setGlobal = function (key, value) {
@@ -265,10 +266,10 @@
265266
(module.exports = function (key, value) {
266267
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
267268
})('versions', []).push({
268-
version: '3.21.1',
269+
version: '3.22.4',
269270
mode: 'global',
270271
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
271-
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
272+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
272273
source: 'https://github.com/zloirock/core-js'
273274
});
274275
});
@@ -285,6 +286,7 @@
285286

286287
// `HasOwnProperty` abstract operation
287288
// https://tc39.es/ecma262/#sec-hasownproperty
289+
// eslint-disable-next-line es-x/no-object-hasown -- safe
288290
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
289291
return hasOwnProperty(toObject(it), key);
290292
};
@@ -351,13 +353,13 @@
351353

352354
// Thanks to IE8 for its funny defineProperty
353355
var ie8DomDefine = !descriptors && !fails(function () {
354-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
356+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
355357
return Object.defineProperty(documentCreateElement('div'), 'a', {
356358
get: function () { return 7; }
357359
}).a != 7;
358360
});
359361

360-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
362+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
361363
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
362364

363365
// `Object.getOwnPropertyDescriptor` method
@@ -378,7 +380,7 @@
378380
// V8 ~ Chrome 36-
379381
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
380382
var v8PrototypeDefineBug = descriptors && fails(function () {
381-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
383+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
382384
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
383385
value: 42,
384386
writable: false
@@ -395,9 +397,9 @@
395397
};
396398

397399
var TypeError$2 = global_1.TypeError;
398-
// eslint-disable-next-line es/no-object-defineproperty -- safe
400+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
399401
var $defineProperty = Object.defineProperty;
400-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
402+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
401403
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
402404
var ENUMERABLE = 'enumerable';
403405
var CONFIGURABLE$1 = 'configurable';
@@ -443,6 +445,21 @@
443445
return object;
444446
};
445447

448+
var FunctionPrototype = Function.prototype;
449+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
450+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
451+
452+
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
453+
// additional protection from minified / mangled / dropped function names
454+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
455+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
456+
457+
var functionName = {
458+
EXISTS: EXISTS,
459+
PROPER: PROPER,
460+
CONFIGURABLE: CONFIGURABLE
461+
};
462+
446463
var functionToString = functionUncurryThis(Function.toString);
447464

448465
// this helper broken in `[email protected]`, so we can't use `shared` helper
@@ -526,62 +543,65 @@
526543
getterFor: getterFor
527544
};
528545

529-
var FunctionPrototype = Function.prototype;
530-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
531-
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
546+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
547+
var defineProperty = objectDefineProperty.f;
548+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
532549

533-
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
534-
// additional protection from minified / mangled / dropped function names
535-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
536-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
537550

538-
var functionName = {
539-
EXISTS: EXISTS,
540-
PROPER: PROPER,
541-
CONFIGURABLE: CONFIGURABLE
542-
};
543551

544-
var redefine = createCommonjsModule(function (module) {
545-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
546-
547-
var getInternalState = internalState.get;
548552
var enforceInternalState = internalState.enforce;
553+
var getInternalState = internalState.get;
554+
555+
var CONFIGURABLE_LENGTH = !fails(function () {
556+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
557+
});
558+
549559
var TEMPLATE = String(String).split('String');
550560

551-
(module.exports = function (O, key, value, options) {
561+
var makeBuiltIn = module.exports = function (value, name, options) {
562+
if (String(name).slice(0, 7) === 'Symbol(') {
563+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
564+
}
565+
if (options && options.getter) name = 'get ' + name;
566+
if (options && options.setter) name = 'set ' + name;
567+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
568+
defineProperty(value, 'name', { value: name, configurable: true });
569+
}
570+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
571+
defineProperty(value, 'length', { value: options.arity });
572+
}
573+
var state = enforceInternalState(value);
574+
if (!hasOwnProperty_1(state, 'source')) {
575+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
576+
} return value;
577+
};
578+
579+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
580+
// eslint-disable-next-line no-extend-native -- required
581+
Function.prototype.toString = makeBuiltIn(function toString() {
582+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
583+
}, 'toString');
584+
});
585+
586+
var defineBuiltIn = function (O, key, value, options) {
552587
var unsafe = options ? !!options.unsafe : false;
553588
var simple = options ? !!options.enumerable : false;
554589
var noTargetGet = options ? !!options.noTargetGet : false;
555590
var name = options && options.name !== undefined ? options.name : key;
556-
var state;
557-
if (isCallable(value)) {
558-
if (String(name).slice(0, 7) === 'Symbol(') {
559-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
560-
}
561-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
562-
createNonEnumerableProperty(value, 'name', name);
563-
}
564-
state = enforceInternalState(value);
565-
if (!state.source) {
566-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
567-
}
568-
}
591+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
569592
if (O === global_1) {
570593
if (simple) O[key] = value;
571594
else setGlobal(key, value);
572-
return;
595+
return O;
573596
} else if (!unsafe) {
574597
delete O[key];
575598
} else if (!noTargetGet && O[key]) {
576599
simple = true;
577600
}
578601
if (simple) O[key] = value;
579602
else createNonEnumerableProperty(O, key, value);
580-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
581-
})(Function.prototype, 'toString', function toString() {
582-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
583-
});
584-
});
603+
return O;
604+
};
585605

586606
var ceil = Math.ceil;
587607
var floor = Math.floor;
@@ -681,7 +701,7 @@
681701

682702
// `Object.getOwnPropertyNames` method
683703
// https://tc39.es/ecma262/#sec-object.getownpropertynames
684-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
704+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
685705
var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
686706
return objectKeysInternal(O, hiddenKeys);
687707
};
@@ -690,7 +710,7 @@
690710
f: f$1
691711
};
692712

693-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
713+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
694714
var f = Object.getOwnPropertySymbols;
695715

696716
var objectGetOwnPropertySymbols = {
@@ -788,14 +808,13 @@
788808
if (options.sham || (targetProperty && targetProperty.sham)) {
789809
createNonEnumerableProperty(sourceProperty, 'sham', true);
790810
}
791-
// extend global
792-
redefine(target, key, sourceProperty, options);
811+
defineBuiltIn(target, key, sourceProperty, options);
793812
}
794813
};
795814

796815
// `IsArray` abstract operation
797816
// https://tc39.es/ecma262/#sec-isarray
798-
// eslint-disable-next-line es/no-array-isarray -- safe
817+
// eslint-disable-next-line es-x/no-array-isarray -- safe
799818
var isArray = Array.isArray || function isArray(argument) {
800819
return classofRaw(argument) == 'Array';
801820
};
@@ -951,7 +970,7 @@
951970
// `Array.prototype.concat` method
952971
// https://tc39.es/ecma262/#sec-array.prototype.concat
953972
// with adding support of @@isConcatSpreadable and @@species
954-
_export({ target: 'Array', proto: true, forced: FORCED }, {
973+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
955974
// eslint-disable-next-line no-unused-vars -- required for `.length`
956975
concat: function concat(arg) {
957976
var O = toObject(this);

dist/bootstrap-table-locale-all.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)