1
1
/**
2
- * core-js 3.29.0
2
+ * core-js 3.29.1
3
3
* © 2014-2023 Denis Pushkarev (zloirock.ru)
4
- * license: https://github.com/zloirock/core-js/blob/v3.29.0 /LICENSE
4
+ * license: https://github.com/zloirock/core-js/blob/v3.29.1 /LICENSE
5
5
* source: https://github.com/zloirock/core-js
6
6
*/
7
7
! function ( undefined ) { 'use strict' ; /******/ ( function ( modules ) { // webpackBootstrap
@@ -943,10 +943,10 @@ var store = __webpack_require__(36);
943
943
( module . exports = function ( key , value ) {
944
944
return store [ key ] || ( store [ key ] = value !== undefined ? value : { } ) ;
945
945
} ) ( 'versions' , [ ] ) . push ( {
946
- version : '3.29.0 ' ,
946
+ version : '3.29.1 ' ,
947
947
mode : IS_PURE ? 'pure' : 'global' ,
948
948
copyright : '© 2014-2023 Denis Pushkarev (zloirock.ru)' ,
949
- license : 'https://github.com/zloirock/core-js/blob/v3.29.0 /LICENSE' ,
949
+ license : 'https://github.com/zloirock/core-js/blob/v3.29.1 /LICENSE' ,
950
950
source : 'https://github.com/zloirock/core-js'
951
951
} ) ;
952
952
@@ -7175,7 +7175,7 @@ var createIteratorConstructor = __webpack_require__(240);
7175
7175
var createIterResultObject = __webpack_require__ ( 183 ) ;
7176
7176
var isNullOrUndefined = __webpack_require__ ( 16 ) ;
7177
7177
var isObject = __webpack_require__ ( 19 ) ;
7178
- var defineProperties = __webpack_require__ ( 88 ) . f ;
7178
+ var defineBuiltInAccessor = __webpack_require__ ( 119 ) ;
7179
7179
var DESCRIPTORS = __webpack_require__ ( 5 ) ;
7180
7180
7181
7181
var INCORRECT_RANGE = 'Incorrect Iterator.range arguments' ;
@@ -7224,7 +7224,7 @@ var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(sta
7224
7224
start : start ,
7225
7225
end : end ,
7226
7226
step : step ,
7227
- inclusiveEnd : inclusiveEnd ,
7227
+ inclusive : inclusiveEnd ,
7228
7228
hitsEnd : hitsEnd ,
7229
7229
currentCount : zero ,
7230
7230
zero : zero
@@ -7243,7 +7243,7 @@ var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(sta
7243
7243
var step = state . step ;
7244
7244
var currentYieldingValue = start + ( step * state . currentCount ++ ) ;
7245
7245
if ( currentYieldingValue === end ) state . hitsEnd = true ;
7246
- var inclusiveEnd = state . inclusiveEnd ;
7246
+ var inclusiveEnd = state . inclusive ;
7247
7247
var endCondition ;
7248
7248
if ( end > start ) {
7249
7249
endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end ;
@@ -7256,25 +7256,22 @@ var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(sta
7256
7256
} return createIterResultObject ( currentYieldingValue , false ) ;
7257
7257
} ) ;
7258
7258
7259
- var getter = function ( fn ) {
7260
- return { get : fn , set : function ( ) { /* empty */ } , configurable : true , enumerable : false } ;
7259
+ var addGetter = function ( key ) {
7260
+ defineBuiltInAccessor ( $RangeIterator . prototype , key , {
7261
+ get : function ( ) {
7262
+ return getInternalState ( this ) [ key ] ;
7263
+ } ,
7264
+ set : function ( ) { /* empty */ } ,
7265
+ configurable : true ,
7266
+ enumerable : false
7267
+ } ) ;
7261
7268
} ;
7262
7269
7263
7270
if ( DESCRIPTORS ) {
7264
- defineProperties ( $RangeIterator . prototype , {
7265
- start : getter ( function ( ) {
7266
- return getInternalState ( this ) . start ;
7267
- } ) ,
7268
- end : getter ( function ( ) {
7269
- return getInternalState ( this ) . end ;
7270
- } ) ,
7271
- inclusive : getter ( function ( ) {
7272
- return getInternalState ( this ) . inclusiveEnd ;
7273
- } ) ,
7274
- step : getter ( function ( ) {
7275
- return getInternalState ( this ) . step ;
7276
- } )
7277
- } ) ;
7271
+ addGetter ( 'start' ) ;
7272
+ addGetter ( 'end' ) ;
7273
+ addGetter ( 'inclusive' ) ;
7274
+ addGetter ( 'step' ) ;
7278
7275
}
7279
7276
7280
7277
module . exports = $RangeIterator ;
@@ -11580,7 +11577,7 @@ var isSetLike = function (it) {
11580
11577
// fallback old -> new set methods proposal arguments
11581
11578
module . exports = function ( it ) {
11582
11579
if ( isSetLike ( it ) ) return it ;
11583
- if ( isIterable ( it ) ) return new Set ( it ) ;
11580
+ return isIterable ( it ) ? new Set ( it ) : it ;
11584
11581
} ;
11585
11582
11586
11583
0 commit comments