|
1 | 1 | /**
|
2 |
| - * core-js 3.28.0 |
| 2 | + * core-js 3.29.0 |
3 | 3 | * © 2014-2023 Denis Pushkarev (zloirock.ru)
|
4 |
| - * license: https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE |
| 4 | + * license: https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE |
5 | 5 | * source: https://github.com/zloirock/core-js
|
6 | 6 | */
|
7 | 7 | !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
|
@@ -277,7 +277,8 @@ __webpack_require__(433);
|
277 | 277 | __webpack_require__(434);
|
278 | 278 | __webpack_require__(435);
|
279 | 279 | __webpack_require__(440);
|
280 |
| -module.exports = __webpack_require__(441); |
| 280 | +__webpack_require__(441); |
| 281 | +module.exports = __webpack_require__(442); |
281 | 282 |
|
282 | 283 |
|
283 | 284 | /***/ }),
|
@@ -942,10 +943,10 @@ var store = __webpack_require__(36);
|
942 | 943 | (module.exports = function (key, value) {
|
943 | 944 | return store[key] || (store[key] = value !== undefined ? value : {});
|
944 | 945 | })('versions', []).push({
|
945 |
| - version: '3.28.0', |
| 946 | + version: '3.29.0', |
946 | 947 | mode: IS_PURE ? 'pure' : 'global',
|
947 | 948 | copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
948 |
| - license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE', |
| 949 | + license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE', |
949 | 950 | source: 'https://github.com/zloirock/core-js'
|
950 | 951 | });
|
951 | 952 |
|
@@ -9435,31 +9436,21 @@ Context.prototype = {
|
9435 | 9436 | var i = this.skip(IS_WHITESPACE, this.index);
|
9436 | 9437 | var fork = this.fork(i);
|
9437 | 9438 | var chr = at(source, i);
|
9438 |
| - var result; |
9439 |
| - if (exec(IS_NUMBER_START, chr)) result = fork.number(); |
9440 |
| - else switch (chr) { |
| 9439 | + if (exec(IS_NUMBER_START, chr)) return fork.number(); |
| 9440 | + switch (chr) { |
9441 | 9441 | case '{':
|
9442 |
| - result = fork.object(); |
9443 |
| - break; |
| 9442 | + return fork.object(); |
9444 | 9443 | case '[':
|
9445 |
| - result = fork.array(); |
9446 |
| - break; |
| 9444 | + return fork.array(); |
9447 | 9445 | case '"':
|
9448 |
| - result = fork.string(); |
9449 |
| - break; |
| 9446 | + return fork.string(); |
9450 | 9447 | case 't':
|
9451 |
| - result = fork.keyword(true); |
9452 |
| - break; |
| 9448 | + return fork.keyword(true); |
9453 | 9449 | case 'f':
|
9454 |
| - result = fork.keyword(false); |
9455 |
| - break; |
| 9450 | + return fork.keyword(false); |
9456 | 9451 | case 'n':
|
9457 |
| - result = fork.keyword(null); |
9458 |
| - break; |
9459 |
| - default: |
9460 |
| - throw SyntaxError('Unexpected character: "' + chr + '" at: ' + i); |
9461 |
| - } |
9462 |
| - return result; |
| 9452 | + return fork.keyword(null); |
| 9453 | + } throw SyntaxError('Unexpected character: "' + chr + '" at: ' + i); |
9463 | 9454 | },
|
9464 | 9455 | node: function (type, value, start, end, nodes) {
|
9465 | 9456 | return new Node(value, end, type ? null : slice(this.source, start, end), nodes);
|
@@ -13951,7 +13942,7 @@ var structuredCloneInternal = function (value, map) {
|
13951 | 13942 |
|
13952 | 13943 | var type = classof(value);
|
13953 | 13944 | var deep = false;
|
13954 |
| - var C, name, cloned, dataTransfer, i, length, keys, key, source, target; |
| 13945 | + var C, name, cloned, dataTransfer, i, length, keys, key, source, target, options; |
13955 | 13946 |
|
13956 | 13947 | switch (type) {
|
13957 | 13948 | case 'Array':
|
@@ -14106,11 +14097,12 @@ var structuredCloneInternal = function (value, map) {
|
14106 | 14097 | if (!C && typeof value.slice != 'function') throwUnpolyfillable(type);
|
14107 | 14098 | // detached buffers throws in `DataView` and `.slice`
|
14108 | 14099 | try {
|
14109 |
| - if (typeof value.slice == 'function') { |
| 14100 | + if (typeof value.slice == 'function' && !value.resizable) { |
14110 | 14101 | cloned = value.slice(0);
|
14111 | 14102 | } else {
|
14112 | 14103 | length = value.byteLength;
|
14113 |
| - cloned = new ArrayBuffer(length); |
| 14104 | + options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined; |
| 14105 | + cloned = new ArrayBuffer(length, options); |
14114 | 14106 | source = new C(value);
|
14115 | 14107 | target = new C(cloned);
|
14116 | 14108 | for (i = 0; i < length; i++) {
|
@@ -14305,5 +14297,33 @@ $({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLA
|
14305 | 14297 | });
|
14306 | 14298 |
|
14307 | 14299 |
|
| 14300 | +/***/ }), |
| 14301 | +/* 442 */ |
| 14302 | +/***/ (function(module, exports, __webpack_require__) { |
| 14303 | + |
| 14304 | +"use strict"; |
| 14305 | + |
| 14306 | +var DESCRIPTORS = __webpack_require__(5); |
| 14307 | +var uncurryThis = __webpack_require__(13); |
| 14308 | +var defineBuiltInAccessor = __webpack_require__(119); |
| 14309 | + |
| 14310 | +var URLSearchParamsPrototype = URLSearchParams.prototype; |
| 14311 | +var forEach = uncurryThis(URLSearchParamsPrototype.forEach); |
| 14312 | + |
| 14313 | +// `URLSearchParams.prototype.size` getter |
| 14314 | +// https://github.com/whatwg/url/pull/734 |
| 14315 | +if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { |
| 14316 | + defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { |
| 14317 | + get: function size() { |
| 14318 | + var count = 0; |
| 14319 | + forEach(this, function () { count++; }); |
| 14320 | + return count; |
| 14321 | + }, |
| 14322 | + configurable: true, |
| 14323 | + enumerable: true |
| 14324 | + }); |
| 14325 | +} |
| 14326 | + |
| 14327 | + |
14308 | 14328 | /***/ })
|
14309 | 14329 | /******/ ]); }();
|
0 commit comments