diff --git a/README.md b/README.md index 7f1f4d1b138a..804f41397545 100644 --- a/README.md +++ b/README.md @@ -83,9 +83,9 @@ require('core-js/shim'); ``` If you need complete build for browser, use builds from `core-js/client` path: -* [default](https://raw.githack.com/zloirock/core-js/v2.5.1/client/core.min.js): Includes all features, standard and non-standard. -* [as a library](https://raw.githack.com/zloirock/core-js/v2.5.1/client/library.min.js): Like "default", but does not pollute the global namespace (see [2nd example at the top](#core-js)). -* [shim only](https://raw.githack.com/zloirock/core-js/v2.5.1/client/shim.min.js): Only includes the standard methods. +* [default](https://raw.githack.com/zloirock/core-js/v2.5.2/client/core.min.js): Includes all features, standard and non-standard. +* [as a library](https://raw.githack.com/zloirock/core-js/v2.5.2/client/library.min.js): Like "default", but does not pollute the global namespace (see [2nd example at the top](#core-js)). +* [shim only](https://raw.githack.com/zloirock/core-js/v2.5.2/client/shim.min.js): Only includes the standard methods. Warning: if you use `core-js` with the extension of native objects, require all needed `core-js` modules at the beginning of entry point of your application, otherwise, conflicts may occur. @@ -235,11 +235,11 @@ core-js(/library)/es5 core-js(/library)/es6 ``` #### ECMAScript 6: Object -Modules [`es6.object.assign`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.assign.js), [`es6.object.is`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.is.js), [`es6.object.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.set-prototype-of.js) and [`es6.object.to-string`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.to-string.js). +Modules [`es6.object.assign`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.assign.js), [`es6.object.is`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.is.js), [`es6.object.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.set-prototype-of.js) and [`es6.object.to-string`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.to-string.js). -In ES6 most `Object` static methods should work with primitives. Modules [`es6.object.freeze`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.freeze.js), [`es6.object.seal`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.seal.js), [`es6.object.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.prevent-extensions.js), [`es6.object.is-frozen`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.is-frozen.js), [`es6.object.is-sealed`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.is-sealed.js), [`es6.object.is-extensible`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.is-extensible.js), [`es6.object.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.get-own-property-descriptor.js), [`es6.object.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.get-prototype-of.js), [`es6.object.keys`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.keys.js) and [`es6.object.get-own-property-names`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.get-own-property-names.js). +In ES6 most `Object` static methods should work with primitives. Modules [`es6.object.freeze`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.freeze.js), [`es6.object.seal`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.seal.js), [`es6.object.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.prevent-extensions.js), [`es6.object.is-frozen`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.is-frozen.js), [`es6.object.is-sealed`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.is-sealed.js), [`es6.object.is-extensible`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.is-extensible.js), [`es6.object.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.get-own-property-descriptor.js), [`es6.object.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.get-prototype-of.js), [`es6.object.keys`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.keys.js) and [`es6.object.get-own-property-names`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.get-own-property-names.js). -Just ES5 features: [`es6.object.create`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.create.js), [`es6.object.define-property`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.define-property.js) and [`es6.object.define-properties`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.object.es6.object.define-properties.js). +Just ES5 features: [`es6.object.create`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.create.js), [`es6.object.define-property`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.define-property.js) and [`es6.object.define-properties`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.object.es6.object.define-properties.js). ```js Object .assign(target, ...src) -> target @@ -307,7 +307,7 @@ Object.keys('qwe'); // => ['0', '1', '2'] Object.getPrototypeOf('qwe') === String.prototype; // => true ``` #### ECMAScript 6: Function -Modules [`es6.function.name`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.function.name.js), [`es6.function.has-instance`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.function.has-instance.js). Just ES5: [`es6.function.bind`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.function.bind.js). +Modules [`es6.function.name`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.function.name.js), [`es6.function.has-instance`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.function.has-instance.js). Just ES5: [`es6.function.bind`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.function.bind.js). ```js Function #bind(object, ...args) -> boundFn(...args) @@ -329,7 +329,7 @@ core-js/fn/function/virtual/bind console.log.bind(console, 42)(43); // => 42 43 ``` #### ECMAScript 6: Array -Modules [`es6.array.from`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.from.js), [`es6.array.of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.of.js), [`es6.array.copy-within`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.copy-within.js), [`es6.array.fill`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.fill.js), [`es6.array.find`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.find.js), [`es6.array.find-index`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.find-index.js), [`es6.array.iterator`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.iterator.js). ES5 features with fixes: [`es6.array.is-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.is-array.js), [`es6.array.slice`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.slice.js), [`es6.array.join`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.join.js), [`es6.array.index-of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.index-of.js), [`es6.array.last-index-of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.last-index-of.js), [`es6.array.every`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.every.js), [`es6.array.some`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.some.js), [`es6.array.for-each`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.for-each.js), [`es6.array.map`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.map.js), [`es6.array.filter`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.filter.js), [`es6.array.reduce`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.reduce.js), [`es6.array.reduce-right`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.reduce-right.js), [`es6.array.sort`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.array.sort.js). +Modules [`es6.array.from`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.from.js), [`es6.array.of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.of.js), [`es6.array.copy-within`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.copy-within.js), [`es6.array.fill`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.fill.js), [`es6.array.find`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.find.js), [`es6.array.find-index`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.find-index.js), [`es6.array.iterator`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.iterator.js). ES5 features with fixes: [`es6.array.is-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.is-array.js), [`es6.array.slice`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.slice.js), [`es6.array.join`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.join.js), [`es6.array.index-of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.index-of.js), [`es6.array.last-index-of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.last-index-of.js), [`es6.array.every`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.every.js), [`es6.array.some`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.some.js), [`es6.array.for-each`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.for-each.js), [`es6.array.map`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.map.js), [`es6.array.filter`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.filter.js), [`es6.array.reduce`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.reduce.js), [`es6.array.reduce-right`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.reduce-right.js), [`es6.array.sort`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.array.sort.js). ```js Array .from(iterable | array-like, mapFn(val, index)?, that) -> array @@ -441,9 +441,9 @@ Array(5).fill(42); // => [42, 42, 42, 42, 42] [1, 2, 3, 4, 5].copyWithin(0, 3); // => [4, 5, 3, 4, 5] ``` #### ECMAScript 6: String -Modules [`es6.string.from-code-point`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.from-code-point.js), [`es6.string.raw`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.raw.js), [`es6.string.iterator`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.iterator.js), [`es6.string.code-point-at`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.code-point-at.js), [`es6.string.ends-with`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.ends-with.js), [`es6.string.includes`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.includes.js), [`es6.string.repeat`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.repeat.js), [`es6.string.starts-with`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.starts-with.js) and [`es6.string.trim`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.trim.js). +Modules [`es6.string.from-code-point`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.from-code-point.js), [`es6.string.raw`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.raw.js), [`es6.string.iterator`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.iterator.js), [`es6.string.code-point-at`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.code-point-at.js), [`es6.string.ends-with`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.ends-with.js), [`es6.string.includes`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.includes.js), [`es6.string.repeat`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.repeat.js), [`es6.string.starts-with`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.starts-with.js) and [`es6.string.trim`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.trim.js). -Annex B HTML methods. Ugly, but it's also the part of the spec. Modules [`es6.string.anchor`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.anchor.js), [`es6.string.big`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.big.js), [`es6.string.blink`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.blink.js), [`es6.string.bold`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.bold.js), [`es6.string.fixed`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.fixed.js), [`es6.string.fontcolor`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.fontcolor.js), [`es6.string.fontsize`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.fontsize.js), [`es6.string.italics`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.italics.js), [`es6.string.link`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.link.js), [`es6.string.small`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.small.js), [`es6.string.strike`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.strike.js), [`es6.string.sub`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.sub.js) and [`es6.string.sup`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.string.sup.js). +Annex B HTML methods. Ugly, but it's also the part of the spec. Modules [`es6.string.anchor`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.anchor.js), [`es6.string.big`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.big.js), [`es6.string.blink`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.blink.js), [`es6.string.bold`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.bold.js), [`es6.string.fixed`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.fixed.js), [`es6.string.fontcolor`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.fontcolor.js), [`es6.string.fontsize`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.fontsize.js), [`es6.string.italics`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.italics.js), [`es6.string.link`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.link.js), [`es6.string.small`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.small.js), [`es6.string.strike`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.strike.js), [`es6.string.sub`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.sub.js) and [`es6.string.sup`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.string.sup.js). ```js String .fromCodePoint(...codePoints) -> str @@ -542,9 +542,9 @@ String.raw({raw: 'test'}, 0, 1, 2); // => 't0e1s2t' 'baz'.link('http://example.com'); // => 'baz' ``` #### ECMAScript 6: RegExp -Modules [`es6.regexp.constructor`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.regexp.constructor.js) and [`es6.regexp.flags`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.regexp.flags.js). +Modules [`es6.regexp.constructor`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.regexp.constructor.js) and [`es6.regexp.flags`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.regexp.flags.js). -Support well-known [symbols](#ecmascript-6-symbol) `@@match`, `@@replace`, `@@search` and `@@split`, modules [`es6.regexp.match`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.regexp.match.js), [`es6.regexp.replace`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.regexp.replace.js), [`es6.regexp.search`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.regexp.search.js) and [`es6.regexp.split`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.regexp.split.js). +Support well-known [symbols](#ecmascript-6-symbol) `@@match`, `@@replace`, `@@search` and `@@split`, modules [`es6.regexp.match`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.regexp.match.js), [`es6.regexp.replace`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.regexp.replace.js), [`es6.regexp.search`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.regexp.search.js) and [`es6.regexp.split`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.regexp.split.js). ``` [new] RegExp(pattern, flags?) -> regexp, ES6 fix: can alter flags (IE9+) #flags -> str (IE9+) @@ -585,12 +585,12 @@ RegExp(/./g, 'm'); // => /./m RegExp.prototype.toString.call({source: 'foo', flags: 'bar'}); // => '/foo/bar' ``` #### ECMAScript 6: Number -Module [`es6.number.constructor`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.constructor.js). `Number` constructor support binary and octal literals, [*example*](http://goo.gl/jRd6b3): +Module [`es6.number.constructor`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.constructor.js). `Number` constructor support binary and octal literals, [*example*](http://goo.gl/jRd6b3): ```js Number('0b1010101'); // => 85 Number('0o7654321'); // => 2054353 ``` -Modules [`es6.number.epsilon`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.epsilon.js), [`es6.number.is-finite`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.is-finite.js), [`es6.number.is-integer`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.is-integer.js), [`es6.number.is-nan`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.is-nan.js), [`es6.number.is-safe-integer`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.is-safe-integer.js), [`es6.number.max-safe-integer`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.max-safe-integer.js), [`es6.number.min-safe-integer`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.min-safe-integer.js), [`es6.number.parse-float`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.parse-float.js), [`es6.number.parse-int`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.parse-int.js), [`es6.number.to-fixed`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.to-fixed.js), [`es6.number.to-precision`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.number.to-precision.js), [`es6.parse-int`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.parse-int.js), [`es6.parse-float`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.parse-float.js). +Modules [`es6.number.epsilon`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.epsilon.js), [`es6.number.is-finite`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.is-finite.js), [`es6.number.is-integer`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.is-integer.js), [`es6.number.is-nan`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.is-nan.js), [`es6.number.is-safe-integer`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.is-safe-integer.js), [`es6.number.max-safe-integer`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.max-safe-integer.js), [`es6.number.min-safe-integer`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.min-safe-integer.js), [`es6.number.parse-float`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.parse-float.js), [`es6.number.parse-int`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.parse-int.js), [`es6.number.to-fixed`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.to-fixed.js), [`es6.number.to-precision`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.number.to-precision.js), [`es6.parse-int`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.parse-int.js), [`es6.parse-float`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.parse-float.js). ```js [new] Number(var) -> number | number object .isFinite(num) -> bool @@ -626,7 +626,7 @@ core-js(/library)/fn/parse-float core-js(/library)/fn/parse-int ``` #### ECMAScript 6: Math -Modules [`es6.math.acosh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.acosh.js), [`es6.math.asinh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.asinh.js), [`es6.math.atanh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.atanh.js), [`es6.math.cbrt`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.cbrt.js), [`es6.math.clz32`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.clz32.js), [`es6.math.cosh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.cosh.js), [`es6.math.expm1`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.expm1.js), [`es6.math.fround`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.fround.js), [`es6.math.hypot`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.hypot.js), [`es6.math.imul`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.imul.js), [`es6.math.log10`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.log10.js), [`es6.math.log1p`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.log1p.js), [`es6.math.log2`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.log2.js), [`es6.math.sign`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.sign.js), [`es6.math.sinh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.sinh.js), [`es6.math.tanh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.tanh.js), [`es6.math.trunc`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.math.trunc.js). +Modules [`es6.math.acosh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.acosh.js), [`es6.math.asinh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.asinh.js), [`es6.math.atanh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.atanh.js), [`es6.math.cbrt`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.cbrt.js), [`es6.math.clz32`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.clz32.js), [`es6.math.cosh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.cosh.js), [`es6.math.expm1`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.expm1.js), [`es6.math.fround`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.fround.js), [`es6.math.hypot`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.hypot.js), [`es6.math.imul`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.imul.js), [`es6.math.log10`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.log10.js), [`es6.math.log1p`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.log1p.js), [`es6.math.log2`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.log2.js), [`es6.math.sign`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.sign.js), [`es6.math.sinh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.sinh.js), [`es6.math.tanh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.tanh.js), [`es6.math.trunc`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.math.trunc.js). ```js Math .acosh(num) -> num @@ -669,7 +669,7 @@ core-js(/library)/fn/math/tanh core-js(/library)/fn/math/trunc ``` #### ECMAScript 6: Date -Modules [`es6.date.to-string`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.date.to-string.js), ES5 features with fixes: [`es6.date.now`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.date.now.js), [`es6.date.to-iso-string`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.date.to-iso-string.js), [`es6.date.to-json`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.date.to-json.js) and [`es6.date.to-primitive`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.date.to-primitive.js). +Modules [`es6.date.to-string`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.date.to-string.js), ES5 features with fixes: [`es6.date.now`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.date.now.js), [`es6.date.to-iso-string`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.date.to-iso-string.js), [`es6.date.to-json`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.date.to-json.js) and [`es6.date.to-primitive`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.date.to-primitive.js). ```js Date .now() -> int @@ -693,7 +693,7 @@ new Date(NaN).toString(); // => 'Invalid Date' ``` #### ECMAScript 6: Promise -Module [`es6.promise`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.promise.js). +Module [`es6.promise`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.promise.js). ```js new Promise(executor(resolve(var), reject(var))) -> promise #then(resolved(var), rejected(var)) -> promise @@ -813,7 +813,7 @@ setTimeout(() => p.catch(_ => _), 1e3); ``` #### ECMAScript 6: Symbol -Module [`es6.symbol`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.symbol.js). +Module [`es6.symbol`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.symbol.js). ```js Symbol(description?) -> symbol .hasInstance -> @@hasInstance @@ -925,7 +925,7 @@ for(var key in o2)console.log(key); // nothing #### ECMAScript 6: Collections `core-js` uses native collections in most case, just fixes methods / constructor, if it's required, and in old environment uses fast polyfill (O(1) lookup). #### Map -Module [`es6.map`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.map.js). +Module [`es6.map`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.map.js). ```js new Map(iterable (entries) ?) -> map #clear() -> void @@ -979,7 +979,7 @@ for(var [key, val] of map.entries()){ } ``` #### Set -Module [`es6.set`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.set.js). +Module [`es6.set`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.set.js). ```js new Set(iterable?) -> set #add(key) -> @ @@ -1023,7 +1023,7 @@ for(var [key, val] of set.entries()){ } ``` #### WeakMap -Module [`es6.weak-map`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.weak-map.js). +Module [`es6.weak-map`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.weak-map.js). ```js new WeakMap(iterable (entries) ?) -> weakmap #delete(key) -> bool @@ -1067,7 +1067,7 @@ console.log(person.getName()); // => 'Vasya' for(var key in person)console.log(key); // => only 'getName' ``` #### WeakSet -Module [`es6.weak-set`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.weak-set.js). +Module [`es6.weak-set`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.weak-set.js). ```js new WeakSet(iterable?) -> weakset #add(key) -> @ @@ -1099,7 +1099,7 @@ console.log(wset.has(b)); // => false #### ECMAScript 6: Typed Arrays Implementations and fixes `ArrayBuffer`, `DataView`, typed arrays constructors, static and prototype methods. Typed Arrays work only in environments with support descriptors (IE9+), `ArrayBuffer` and `DataView` should work anywhere. -Modules [`es6.typed.array-buffer`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.array-buffer.js), [`es6.typed.data-view`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.data-view.js), [`es6.typed.int8-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.int8-array.js), [`es6.typed.uint8-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.uint8-array.js), [`es6.typed.uint8-clamped-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.uint8-clamped-array.js), [`es6.typed.int16-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.int16-array.js), [`es6.typed.uint16-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.uint16-array.js), [`es6.typed.int32-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.int32-array.js), [`es6.typed.uint32-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.uint32-array.js), [`es6.typed.float32-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.float32-array.js) and [`es6.typed.float64-array`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.typed.float64-array.js). +Modules [`es6.typed.array-buffer`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.array-buffer.js), [`es6.typed.data-view`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.data-view.js), [`es6.typed.int8-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.int8-array.js), [`es6.typed.uint8-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.uint8-array.js), [`es6.typed.uint8-clamped-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.uint8-clamped-array.js), [`es6.typed.int16-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.int16-array.js), [`es6.typed.uint16-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.uint16-array.js), [`es6.typed.int32-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.int32-array.js), [`es6.typed.uint32-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.uint32-array.js), [`es6.typed.float32-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.float32-array.js) and [`es6.typed.float64-array`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.typed.float64-array.js). ```js new ArrayBuffer(length) -> buffer .isView(var) -> bool @@ -1232,7 +1232,7 @@ for(var [key, val] of typed.entries()){ * In the `library` version we can't pollute native prototypes, so prototype methods available as constructors static. #### ECMAScript 6: Reflect -Modules [`es6.reflect.apply`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.apply.js), [`es6.reflect.construct`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.construct.js), [`es6.reflect.define-property`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.define-property.js), [`es6.reflect.delete-property`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.delete-property.js), [`es6.reflect.enumerate`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.enumerate.js), [`es6.reflect.get`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.get.js), [`es6.reflect.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.get-own-property-descriptor.js), [`es6.reflect.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.get-prototype-of.js), [`es6.reflect.has`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.has.js), [`es6.reflect.is-extensible`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.is-extensible.js), [`es6.reflect.own-keys`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.own-keys.js), [`es6.reflect.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.prevent-extensions.js), [`es6.reflect.set`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.set.js), [`es6.reflect.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es6.reflect.set-prototype-of.js). +Modules [`es6.reflect.apply`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.apply.js), [`es6.reflect.construct`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.construct.js), [`es6.reflect.define-property`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.define-property.js), [`es6.reflect.delete-property`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.delete-property.js), [`es6.reflect.enumerate`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.enumerate.js), [`es6.reflect.get`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.get.js), [`es6.reflect.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.get-own-property-descriptor.js), [`es6.reflect.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.get-prototype-of.js), [`es6.reflect.has`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.has.js), [`es6.reflect.is-extensible`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.is-extensible.js), [`es6.reflect.own-keys`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.own-keys.js), [`es6.reflect.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.prevent-extensions.js), [`es6.reflect.set`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.set.js), [`es6.reflect.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es6.reflect.set-prototype-of.js). ```js Reflect .apply(target, thisArgument, argumentsList) -> var @@ -1309,7 +1309,7 @@ core-js(/library)/es7/observable ```js core-js(/library)/stage/4 ``` -* `{Array, %TypedArray%}#includes` [proposal](https://github.com/tc39/Array.prototype.includes) - module [`es7.array.includes`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.array.includes.js), `%TypedArray%` version in modules from [this section](#ecmascript-6-typed-arrays). +* `{Array, %TypedArray%}#includes` [proposal](https://github.com/tc39/Array.prototype.includes) - module [`es7.array.includes`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.array.includes.js), `%TypedArray%` version in modules from [this section](#ecmascript-6-typed-arrays). ```js Array #includes(var, from?) -> bool @@ -1341,7 +1341,7 @@ core-js(/library)/fn/array/includes Array(1).indexOf(undefined); // => -1 Array(1).includes(undefined); // => true ``` -* `Object.values`, `Object.entries` [proposal](https://github.com/tc39/proposal-object-values-entries) - modules [`es7.object.values`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.values.js), [`es7.object.entries`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.entries.js) +* `Object.values`, `Object.entries` [proposal](https://github.com/tc39/proposal-object-values-entries) - modules [`es7.object.values`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.values.js), [`es7.object.entries`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.entries.js) ```js Object .values(object) -> array @@ -1362,7 +1362,7 @@ for(let [key, value] of Object.entries({a: 1, b: 2, c: 3})){ console.log(value); // => 1, 2, 3 } ``` -* `Object.getOwnPropertyDescriptors` [proposal](https://github.com/tc39/proposal-object-getownpropertydescriptors) - module [`es7.object.get-own-property-descriptors`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.get-own-property-descriptors.js) +* `Object.getOwnPropertyDescriptors` [proposal](https://github.com/tc39/proposal-object-getownpropertydescriptors) - module [`es7.object.get-own-property-descriptors`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.get-own-property-descriptors.js) ```js Object .getOwnPropertyDescriptors(object) -> object @@ -1378,7 +1378,7 @@ var copy = Object.create(Object.getPrototypeOf(O), Object.getOwnPropertyDescript // Mixin: Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); ``` -* `String#padStart`, `String#padEnd` [proposal](https://github.com/tc39/proposal-string-pad-start-end) - modules [`es7.string.pad-start`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.string.pad-start.js), [`es7.string.pad-end`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.string.pad-end.js) +* `String#padStart`, `String#padEnd` [proposal](https://github.com/tc39/proposal-string-pad-start-end) - modules [`es7.string.pad-start`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.string.pad-start.js), [`es7.string.pad-end`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.string.pad-end.js) ```js String #padStart(length, fillStr = ' ') -> string @@ -1398,7 +1398,7 @@ core-js(/library)/fn/string/virtual/pad-end 'hello'.padEnd(10); // => 'hello ' 'hello'.padEnd(10, '1234'); // => 'hello12341' ``` -* `Object#__(define|lookup)[GS]etter__`, [annex B ES2017](https://github.com/tc39/ecma262/pull/381), but we haven't special namespace for that - modules [`es7.object.define-setter`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.define-setter.js), [`es7.object.define-getter`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.define-getter.js), [`es7.object.lookup-setter`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.lookup-setter.js) and [`es7.object.lookup-getter`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.object.lookup-getter.js). +* `Object#__(define|lookup)[GS]etter__`, [annex B ES2017](https://github.com/tc39/ecma262/pull/381), but we haven't special namespace for that - modules [`es7.object.define-setter`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.define-setter.js), [`es7.object.define-getter`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.define-getter.js), [`es7.object.lookup-setter`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.lookup-setter.js) and [`es7.object.lookup-getter`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.object.lookup-getter.js). ```js Object #__defineSetter__(key, fn) -> void @@ -1419,7 +1419,7 @@ core-js(/library)/fn/object/lookup-setter ```js core-js(/library)/stage/3 ``` -* `global` [proposal](https://github.com/tc39/proposal-global) - modules [`es7.global`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.global.js) and [`es7.system.global`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.system.global.js) (obsolete) +* `global` [proposal](https://github.com/tc39/proposal-global) - modules [`es7.global`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.global.js) and [`es7.system.global`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.system.global.js) (obsolete) ```js global -> object System @@ -1434,7 +1434,7 @@ core-js(/library)/fn/system/global (obsolete) ```js global.Array === Array; // => true ``` -* `Promise#finally` [proposal](https://github.com/tc39/proposal-promise-finally) - module [`es7.promise.finally`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.promise.finally.js) +* `Promise#finally` [proposal](https://github.com/tc39/proposal-promise-finally) - module [`es7.promise.finally`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.promise.finally.js) ```js Promise #finally(onFinally()) -> promise @@ -1454,7 +1454,7 @@ Promise.reject(42).finally(() => console.log('You will see it anyway')); ```js core-js(/library)/stage/2 ``` -* `String#trimLeft`, `String#trimRight` / `String#trimStart`, `String#trimEnd` [proposal](https://github.com/sebmarkbage/ecmascript-string-left-right-trim) - modules [`es7.string.trim-left`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.string.trim-right.js), [`es7.string.trim-right`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.string.trim-right.js) +* `String#trimLeft`, `String#trimRight` / `String#trimStart`, `String#trimEnd` [proposal](https://github.com/sebmarkbage/ecmascript-string-left-right-trim) - modules [`es7.string.trim-left`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.string.trim-right.js), [`es7.string.trim-right`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.string.trim-right.js) ```js String #trimLeft() -> string @@ -1479,7 +1479,7 @@ core-js(/library)/fn/string/virtual/trim-right ' hello '.trimRight(); // => ' hello' ``` ``` -* `Symbol.asyncIterator` for [async iteration proposal](https://github.com/tc39/proposal-async-iteration) - module [`es7.symbol.async-iterator`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.symbol.async-iterator.js) +* `Symbol.asyncIterator` for [async iteration proposal](https://github.com/tc39/proposal-async-iteration) - module [`es7.symbol.async-iterator`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.symbol.async-iterator.js) ```js Symbol .asyncIterator -> @@asyncIterator @@ -1494,7 +1494,7 @@ core-js(/library)/fn/symbol/async-iterator ```js core-js(/library)/stage/1 ``` -* `Promise.try` [proposal](https://github.com/tc39/proposal-promise-try) - module [`es7.promise.try`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.promise.try.js) +* `Promise.try` [proposal](https://github.com/tc39/proposal-promise-try) - module [`es7.promise.try`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.promise.try.js) ```js Promise .try(function()) -> promise @@ -1509,7 +1509,7 @@ Promise.try(() => 42).then(it => console.log(`Promise, resolved as ${it}`)); Promise.try(() => { throw 42; }).catch(it => console.log(`Promise, rejected as ${it}`)); ``` -* `Array#flatten` and `Array#flatMap` [proposal](https://tc39.github.io/proposal-flatMap) - modules [`es7.array.flatten`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.array.flatten.js) and [`es7.array.flat-map`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.array.flat-map.js) +* `Array#flatten` and `Array#flatMap` [proposal](https://tc39.github.io/proposal-flatMap) - modules [`es7.array.flatten`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.array.flatten.js) and [`es7.array.flat-map`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.array.flat-map.js) ```js Array #flatten(depthArg = 1) -> array @@ -1530,7 +1530,7 @@ core-js(/library)/fn/array/virtual/flat-map [{a: 1, b: 2}, {a: 3, b: 4}, {a: 5, b: 6}].flatMap(it => [it.a, it.b]); // => [1, 2, 3, 4, 5, 6] ``` -* `.of` and `.from` methods on collection constructors [proposal](https://github.com/tc39/proposal-setmap-offrom) - modules [`es7.set.of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.set.of.js), [`es7.set.from`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.set.from.js), [`es7.map.of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.map.of.js), [`es7.map.from`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.map.from.js), [`es7.weak-set.of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.weak-set.of.js), [`es7.weak-set.from`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.weak-set.from.js), [`es7.weak-map.of`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.weak-map.of.js), [`es7.weak-map.from`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.weak-map.from.js) +* `.of` and `.from` methods on collection constructors [proposal](https://github.com/tc39/proposal-setmap-offrom) - modules [`es7.set.of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.set.of.js), [`es7.set.from`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.set.from.js), [`es7.map.of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.map.of.js), [`es7.map.from`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.map.from.js), [`es7.weak-set.of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.weak-set.of.js), [`es7.weak-set.from`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.weak-set.from.js), [`es7.weak-map.of`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.weak-map.of.js), [`es7.weak-map.from`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.weak-map.from.js) ```js Set .of(...args) -> set @@ -1562,7 +1562,7 @@ Set.of(1, 2, 3, 2, 1); // => Set {1, 2, 3} Map.from([[1, 2], [3, 4]], ([key, val]) => [key ** 2, val ** 2]); // => Map {1: 4, 9: 16} ``` -* `String#matchAll` [proposal](https://github.com/tc39/String.prototype.matchAll) - module [`es7.string.match-all`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.string.match-all.js) +* `String#matchAll` [proposal](https://github.com/tc39/String.prototype.matchAll) - module [`es7.string.match-all`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.string.match-all.js) ```js String #matchAll(regexp) -> iterator @@ -1578,7 +1578,7 @@ for(let [_, d, D] of '1111a2b3cccc'.matchAll(/(\d)(\D)/)){ console.log(d, D); // => 1 a, 2 b, 3 c } ``` -* `Observable` [proposal](https://github.com/zenparsing/es-observable) - modules [`es7.observable`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.observable.js) and [`es7.symbol.observable`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.symbol.observable.js) +* `Observable` [proposal](https://github.com/zenparsing/es-observable) - modules [`es7.observable`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.observable.js) and [`es7.symbol.observable`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.symbol.observable.js) ```js new Observable(fn) -> observable #subscribe(observer) -> subscription @@ -1606,13 +1606,13 @@ new Observable(observer => { ``` * `Math.{clamp, DEG_PER_RAD, degrees, fscale, rad-per-deg, radians, scale}` [proposal](https://github.com/rwaldron/proposal-math-extensions) - modules - [`es7.math.clamp`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.clamp.js), - [`es7.math.DEG_PER_RAD`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.DEG_PER_RAD.js), - [`es7.math.degrees`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.degrees.js), - [`es7.math.fscale`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.fscale.js), - [`es7.math.RAD_PER_DEG`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.RAD_PER_DEG.js), - [`es7.math.radians`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.radians.js) and - [`es7.math.scale`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.scale.js) + [`es7.math.clamp`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.clamp.js), + [`es7.math.DEG_PER_RAD`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.DEG_PER_RAD.js), + [`es7.math.degrees`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.degrees.js), + [`es7.math.fscale`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.fscale.js), + [`es7.math.RAD_PER_DEG`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.RAD_PER_DEG.js), + [`es7.math.radians`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.radians.js) and + [`es7.math.scale`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.scale.js) ```js Math .DEG_PER_RAD -> number @@ -1633,7 +1633,7 @@ core-js(/library)/fn/math/rad-per-deg core-js(/library)/fn/math/radians core-js(/library)/fn/math/scale ``` -* `Math.signbit` [proposal](http://jfbastien.github.io/papers/Math.signbit.html) - module [`es7.math.signbit`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.signbit.js) +* `Math.signbit` [proposal](http://jfbastien.github.io/papers/Math.signbit.html) - module [`es7.math.signbit`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.signbit.js) ```js Math .signbit(x) -> bool @@ -1656,7 +1656,7 @@ Math.signbit(-0); // => false ```js core-js(/library)/stage/0 ``` -* `String#at` [proposal](https://github.com/mathiasbynens/String.prototype.at) - module [`es7.string.at`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.string.at.js) +* `String#at` [proposal](https://github.com/mathiasbynens/String.prototype.at) - module [`es7.string.at`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.string.at.js) ```js String #at(index) -> string @@ -1671,7 +1671,7 @@ core-js(/library)/fn/string/virtual/at 'a𠮷b'.at(1); // => '𠮷' 'a𠮷b'.at(1).length; // => 2 ``` -* `Map#toJSON`, `Set#toJSON` [proposal](https://github.com/DavidBruant/Map-Set.prototype.toJSON) - modules [`es7.map.to-json`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.map.to-json.js), [`es7.set.to-json`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.set.to-json.js) (rejected and will be removed from `core-js@3`) +* `Map#toJSON`, `Set#toJSON` [proposal](https://github.com/DavidBruant/Map-Set.prototype.toJSON) - modules [`es7.map.to-json`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.map.to-json.js), [`es7.set.to-json`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.set.to-json.js) (rejected and will be removed from `core-js@3`) ```js Map #toJSON() -> array (rejected and will be removed from core-js@3) @@ -1683,7 +1683,7 @@ Set core-js(/library)/fn/map core-js(/library)/fn/set ``` -* `Error.isError` [proposal](https://github.com/ljharb/proposal-is-error) - module [`es7.error.is-error`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.error.is-error.js) (withdrawn and will be removed from `core-js@3`) +* `Error.isError` [proposal](https://github.com/ljharb/proposal-is-error) - module [`es7.error.is-error`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.error.is-error.js) (withdrawn and will be removed from `core-js@3`) ```js Error .isError(it) -> bool (withdrawn and will be removed from core-js@3) @@ -1692,7 +1692,7 @@ Error ```js core-js(/library)/fn/error/is-error ``` -* `Math.{iaddh, isubh, imulh, umulh}` [proposal](https://gist.github.com/BrendanEich/4294d5c212a6d2254703) - modules [`es7.math.iaddh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.iaddh.js), [`es7.math.isubh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.isubh.js), [`es7.math.imulh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.imulh.js) and [`es7.math.umulh`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.math.umulh.js) +* `Math.{iaddh, isubh, imulh, umulh}` [proposal](https://gist.github.com/BrendanEich/4294d5c212a6d2254703) - modules [`es7.math.iaddh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.iaddh.js), [`es7.math.isubh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.isubh.js), [`es7.math.imulh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.imulh.js) and [`es7.math.umulh`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.math.umulh.js) ```js Math .iaddh(lo0, hi0, lo1, hi1) -> int32 @@ -1707,7 +1707,7 @@ core-js(/library)/fn/math/isubh core-js(/library)/fn/math/imulh core-js(/library)/fn/math/umulh ``` -* `global.asap`, [TC39 discussion](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask), module [`es7.asap`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.asap.js) +* `global.asap`, [TC39 discussion](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask), module [`es7.asap`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.asap.js) ```js asap(fn) -> void ``` @@ -1725,7 +1725,7 @@ asap(() => console.log('called as microtask')); ```js core-js(/library)/stage/pre ``` -* `Reflect` metadata [proposal](https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md) - modules [`es7.reflect.define-metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.define-metadata.js), [`es7.reflect.delete-metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.delete-metadata.js), [`es7.reflect.get-metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.get-metadata.js), [`es7.reflect.get-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.get-metadata-keys.js), [`es7.reflect.get-own-metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.get-own-metadata.js), [`es7.reflect.get-own-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.get-own-metadata-keys.js), [`es7.reflect.has-metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.has-metadata.js), [`es7.reflect.has-own-metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.has-own-metadata.js) and [`es7.reflect.metadata`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/es7.reflect.metadata.js). +* `Reflect` metadata [proposal](https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md) - modules [`es7.reflect.define-metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.define-metadata.js), [`es7.reflect.delete-metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.delete-metadata.js), [`es7.reflect.get-metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.get-metadata.js), [`es7.reflect.get-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.get-metadata-keys.js), [`es7.reflect.get-own-metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.get-own-metadata.js), [`es7.reflect.get-own-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.get-own-metadata-keys.js), [`es7.reflect.has-metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.has-metadata.js), [`es7.reflect.has-own-metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.has-own-metadata.js) and [`es7.reflect.metadata`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/es7.reflect.metadata.js). ```js Reflect .defineMetadata(metadataKey, metadataValue, target, propertyKey?) -> void @@ -1765,7 +1765,7 @@ Reflect.getOwnMetadata('foo', O); // => 'bar' core-js(/library)/web ``` #### setTimeout / setInterval -Module [`web.timers`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/web.timers.js). Additional arguments fix for IE9-. +Module [`web.timers`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/web.timers.js). Additional arguments fix for IE9-. ```js setTimeout(fn(...args), time, ...args) -> id setInterval(fn(...args), time, ...args) -> id @@ -1783,7 +1783,7 @@ setTimeout(log.bind(null, 42), 1000); setTimeout(log, 1000, 42); ``` #### setImmediate -Module [`web.immediate`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/web.immediate.js). [`setImmediate` proposal](https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate) polyfill. +Module [`web.immediate`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/web.immediate.js). [`setImmediate` proposal](https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate) polyfill. ```js setImmediate(fn(...args), ...args) -> id clearImmediate(id) -> void @@ -1805,7 +1805,7 @@ clearImmediate(setImmediate(function(){ })); ``` #### Iterable DOM collections -Some DOM collections should have [iterable interface](https://heycam.github.io/webidl/#idl-iterable) or should be [inherited from `Array`](https://heycam.github.io/webidl/#LegacyArrayClass). That mean they should have `keys`, `values`, `entries` and `@@iterator` methods for iteration. So add them. Module [`web.dom.iterable`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/web.dom.iterable.js): +Some DOM collections should have [iterable interface](https://heycam.github.io/webidl/#idl-iterable) or should be [inherited from `Array`](https://heycam.github.io/webidl/#LegacyArrayClass). That mean they should have `keys`, `values`, `entries` and `@@iterator` methods for iteration. So add them. Module [`web.dom.iterable`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/web.dom.iterable.js): ```js { CSSRuleList, @@ -1871,7 +1871,7 @@ for(var [index, {id}] of document.querySelectorAll('*').entries()){ core-js(/library)/core ``` #### Object -Modules [`core.object.is-object`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.object.is-object.js), [`core.object.classof`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.object.classof.js), [`core.object.define`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.object.define.js), [`core.object.make`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.object.make.js). +Modules [`core.object.is-object`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.object.is-object.js), [`core.object.classof`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.object.classof.js), [`core.object.define`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.object.define.js), [`core.object.make`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.object.make.js). ```js Object .isObject(var) -> bool @@ -1984,7 +1984,7 @@ console.log(vector.xy); // => 15.811388300841896 console.log(vector.xyz); // => 25.495097567963924 ``` #### Dict -Module [`core.dict`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.dict.js). Based on [TC39 discuss](https://github.com/rwaldron/tc39-notes/blob/master/es6/2012-11/nov-29.md#collection-apis-review) / [strawman](http://wiki.ecmascript.org/doku.php?id=harmony:modules_standard#dictionaries). +Module [`core.dict`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.dict.js). Based on [TC39 discuss](https://github.com/rwaldron/tc39-notes/blob/master/es6/2012-11/nov-29.md#collection-apis-review) / [strawman](http://wiki.ecmascript.org/doku.php?id=harmony:modules_standard#dictionaries). ```js [new] Dict(iterable (entries) | object ?) -> dict .isDict(var) -> bool @@ -2137,7 +2137,7 @@ Dict.reduce(dict, function(memo, it){ }, ''); // => '123' ``` #### Partial application -Module [`core.function.part`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.function.part.js). +Module [`core.function.part`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.function.part.js). ```js Function #part(...args | _) -> fn(...args) @@ -2167,7 +2167,7 @@ fn2(1, 3, 5); // => 1, 2, 3, 4, 5 fn2(1); // => 1, 2, undefined, 4 ``` #### Number Iterator -Module [`core.number.iterator`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.number.iterator.js). +Module [`core.number.iterator`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.number.iterator.js). ```js Number #@@iterator() -> iterator @@ -2192,7 +2192,7 @@ Array.from(10, function(it){ }, .42); // => [0.42, 1.42, 4.42, 9.42, 16.42, 25.42, 36.42, 49.42, 64.42, 81.42] ``` #### Escaping strings -Modules [`core.regexp.escape`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.regexp.escape.js), [`core.string.escape-html`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.string.escape-html.js) and [`core.string.unescape-html`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.string.unescape-html.js). +Modules [`core.regexp.escape`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.regexp.escape.js), [`core.string.escape-html`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.string.escape-html.js) and [`core.string.unescape-html`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.string.unescape-html.js). ```js RegExp .escape(str) -> str @@ -2218,7 +2218,7 @@ RegExp.escape('Hello, []{}()*+?.\\^$|!'); // => 'Hello, \[\]\{\}\(\)\*\+\?\.\\\^ '<script>doSomething();</script>'.unescapeHTML(); // => '' ``` #### delay -Module [`core.delay`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.delay.js). [Promise](#ecmascript-6-promise)-returning delay function, [esdiscuss](https://esdiscuss.org/topic/promise-returning-delay-function). +Module [`core.delay`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.delay.js). [Promise](#ecmascript-6-promise)-returning delay function, [esdiscuss](https://esdiscuss.org/topic/promise-returning-delay-function). ```js delay(ms) -> promise ``` @@ -2239,7 +2239,7 @@ delay(1e3).then(() => console.log('after 1 sec')); })(); ``` #### Helpers for iterators -Modules [`core.is-iterable`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.is-iterable.js), [`core.get-iterator`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.get-iterator.js), [`core.get-iterator-method`](https://github.com/zloirock/core-js/blob/v2.5.1/modules/core.get-iterator-method.js) - helpers for check iterability / get iterator in the `library` version or, for example, for `arguments` object: +Modules [`core.is-iterable`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.is-iterable.js), [`core.get-iterator`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.get-iterator.js), [`core.get-iterator-method`](https://github.com/zloirock/core-js/blob/v2.5.2/modules/core.get-iterator-method.js) - helpers for check iterability / get iterator in the `library` version or, for example, for `arguments` object: ```js core .isIterable(var) -> bool diff --git a/bower.json b/bower.json index a4238f80aa31..4f1c5ce66f3f 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "core.js", "main": "client/core.js", - "version": "2.5.1", + "version": "2.5.2", "description": "Standard Library", "keywords": [ "ES3", diff --git a/build/core-js-builder/package.json b/build/core-js-builder/package.json index 9b227fb57767..1456d732bb7c 100644 --- a/build/core-js-builder/package.json +++ b/build/core-js-builder/package.json @@ -1,14 +1,14 @@ { "name": "core-js-builder", "description": "core-js builder", - "version": "2.5.1", + "version": "2.5.2", "repository": { "type": "git", "url": "https://github.com/zloirock/core-js.git" }, "main": "index.js", "dependencies": { - "core-js": "2.5.1", + "core-js": "2.5.2", "temp": "^0.8.3", "webpack": "^3.11.0" }, diff --git a/client/core.js b/client/core.js index 90e11ce31bbe..7910d419c870 100644 --- a/client/core.js +++ b/client/core.js @@ -1,5 +1,5 @@ /** - * core-js 2.5.1 + * core-js 2.5.2 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2017 Denis Pushkarev @@ -124,7 +124,7 @@ module.exports = $export; /* 1 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; @@ -147,12 +147,8 @@ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /* 3 */ /***/ (function(module, exports) { -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; }; @@ -160,8 +156,12 @@ module.exports = function (exec) { /* 4 */ /***/ (function(module, exports) { -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } }; @@ -209,7 +209,7 @@ exports.f = __webpack_require__(7) ? Object.defineProperty : function defineProp /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__(3)(function () { +module.exports = !__webpack_require__(4)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); @@ -366,7 +366,7 @@ module.exports = Object.getPrototypeOf || function (O) { /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(0); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var defined = __webpack_require__(23); var quot = /"/g; // B.2.3.2.1 CreateHTML(string, tag, attribute, value) @@ -390,7 +390,7 @@ module.exports = function (NAME, exec) { /* 18 */ /***/ (function(module, exports) { -var core = module.exports = { version: '2.5.1' }; +var core = module.exports = { version: '2.5.2' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef @@ -437,7 +437,7 @@ module.exports = function (it) { "use strict"; -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); module.exports = function (method, arg) { return !!method && fails(function () { @@ -452,7 +452,7 @@ module.exports = function (method, arg) { /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { @@ -495,7 +495,7 @@ module.exports = function (it) { // most Object methods by ES6 should accept primitives var $export = __webpack_require__(0); var core = __webpack_require__(18); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); module.exports = function (KEY, exec) { var fn = (core.Object || {})[KEY] || Object[KEY]; var exp = {}; @@ -623,7 +623,7 @@ module.exports = Object.create || function create(O, Properties) { if (__webpack_require__(7)) { var LIBRARY = __webpack_require__(36); var global = __webpack_require__(2); - var fails = __webpack_require__(3); + var fails = __webpack_require__(4); var $export = __webpack_require__(0); var $typed = __webpack_require__(62); var $buffer = __webpack_require__(92); @@ -639,7 +639,7 @@ if (__webpack_require__(7)) { var toPrimitive = __webpack_require__(22); var has = __webpack_require__(12); var classof = __webpack_require__(39); - var isObject = __webpack_require__(4); + var isObject = __webpack_require__(3); var toObject = __webpack_require__(9); var isArrayIter = __webpack_require__(82); var create = __webpack_require__(28); @@ -1177,14 +1177,14 @@ module.exports = function (bitmap, value) { /***/ (function(module, exports, __webpack_require__) { var META = __webpack_require__(35)('meta'); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var has = __webpack_require__(12); var setDesc = __webpack_require__(6).f; var id = 0; var isExtensible = Object.isExtensible || function () { return true; }; -var FREEZE = !__webpack_require__(3)(function () { +var FREEZE = !__webpack_require__(4)(function () { return isExtensible(Object.preventExtensions({})); }); var setMeta = function (it) { @@ -1416,7 +1416,7 @@ module.exports = function (it, tag, stat) { var $export = __webpack_require__(0); var defined = __webpack_require__(23); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var spaces = __webpack_require__(75); var space = '[' + spaces + ']'; var non = '\u200b\u0085'; @@ -1450,7 +1450,7 @@ module.exports = exporter; /* 46 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); module.exports = function (it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; @@ -1554,7 +1554,7 @@ module.exports = Array.isArray || function isArray(arg) { /***/ (function(module, exports, __webpack_require__) { // 7.2.8 IsRegExp(argument) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var cof = __webpack_require__(20); var MATCH = __webpack_require__(5)('match'); module.exports = function (it) { @@ -1716,7 +1716,7 @@ module.exports = function () { var hide = __webpack_require__(13); var redefine = __webpack_require__(14); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var defined = __webpack_require__(23); var wks = __webpack_require__(5); @@ -1771,8 +1771,8 @@ var redefineAll = __webpack_require__(43); var meta = __webpack_require__(32); var forOf = __webpack_require__(34); var anInstance = __webpack_require__(42); -var isObject = __webpack_require__(4); -var fails = __webpack_require__(3); +var isObject = __webpack_require__(3); +var fails = __webpack_require__(4); var $iterDetect = __webpack_require__(57); var setToStringTag = __webpack_require__(44); var inheritIfRequired = __webpack_require__(74); @@ -1891,7 +1891,7 @@ module.exports = { "use strict"; // Forced replacement prototype accessors methods -module.exports = __webpack_require__(36) || !__webpack_require__(3)(function () { +module.exports = __webpack_require__(36) || !__webpack_require__(4)(function () { var K = Math.random(); // In FF throws only define methods // eslint-disable-next-line no-undef, no-useless-call @@ -1958,7 +1958,7 @@ module.exports = function (COLLECTION) { /* 66 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var document = __webpack_require__(2).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); @@ -2026,7 +2026,7 @@ var IObject = __webpack_require__(47); var $assign = Object.assign; // should work with symbols and should have deterministic property order (V8 bug) -module.exports = !$assign || __webpack_require__(3)(function () { +module.exports = !$assign || __webpack_require__(4)(function () { var A = {}; var B = {}; // eslint-disable-next-line no-undef @@ -2058,7 +2058,7 @@ module.exports = !$assign || __webpack_require__(3)(function () { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var anObject = __webpack_require__(1); var check = function (O, proto) { anObject(O); @@ -2109,7 +2109,7 @@ module.exports = function (fn, args, that) { /* 74 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var setPrototypeOf = __webpack_require__(72).set; module.exports = function (that, target, C) { var S = target.constructor; @@ -2468,8 +2468,8 @@ module.exports = function () { notify = function () { process.nextTick(flush); }; - // browsers with MutationObserver - } else if (Observer) { + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 + } else if (Observer && !(global.navigator && global.navigator.standalone)) { var toggle = true; var node = document.createTextNode(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new @@ -2559,7 +2559,7 @@ var LIBRARY = __webpack_require__(36); var $typed = __webpack_require__(62); var hide = __webpack_require__(13); var redefineAll = __webpack_require__(43); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var anInstance = __webpack_require__(42); var toInteger = __webpack_require__(24); var toLength = __webpack_require__(8); @@ -2848,7 +2848,7 @@ module.exports = function (regExp, replace) { /* 94 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = !__webpack_require__(7) && !__webpack_require__(3)(function () { +module.exports = !__webpack_require__(7) && !__webpack_require__(4)(function () { return Object.defineProperty(__webpack_require__(66)('div'), 'a', { get: function () { return 7; } }).a != 7; }); @@ -2934,7 +2934,7 @@ module.exports.f = function getOwnPropertyNames(it) { "use strict"; var aFunction = __webpack_require__(10); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var invoke = __webpack_require__(73); var arraySlice = [].slice; var factories = {}; @@ -2975,7 +2975,7 @@ module.exports = function (it, msg) { /***/ (function(module, exports, __webpack_require__) { // 20.1.2.3 Number.isInteger(number) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var floor = Math.floor; module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; @@ -3164,7 +3164,7 @@ module.exports = function (exec) { /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(1); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var newPromiseCapability = __webpack_require__(90); module.exports = function (C, x) { @@ -3386,8 +3386,8 @@ var redefine = __webpack_require__(14); var meta = __webpack_require__(32); var assign = __webpack_require__(71); var weak = __webpack_require__(116); -var isObject = __webpack_require__(4); -var fails = __webpack_require__(3); +var isObject = __webpack_require__(3); +var fails = __webpack_require__(4); var validate = __webpack_require__(46); var WEAK_MAP = 'WeakMap'; var getWeak = meta.getWeak; @@ -3450,7 +3450,7 @@ if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp) var redefineAll = __webpack_require__(43); var getWeak = __webpack_require__(32).getWeak; var anObject = __webpack_require__(1); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var anInstance = __webpack_require__(42); var forOf = __webpack_require__(34); var createArrayMethod = __webpack_require__(26); @@ -3557,7 +3557,7 @@ module.exports = function (it) { // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var isArray = __webpack_require__(53); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var toLength = __webpack_require__(8); var ctx = __webpack_require__(19); var IS_CONCAT_SPREADABLE = __webpack_require__(5)('isConcatSpreadable'); @@ -3994,7 +3994,7 @@ var DESCRIPTORS = __webpack_require__(7); var $export = __webpack_require__(0); var redefine = __webpack_require__(14); var META = __webpack_require__(32).KEY; -var $fails = __webpack_require__(3); +var $fails = __webpack_require__(4); var shared = __webpack_require__(50); var setToStringTag = __webpack_require__(44); var uid = __webpack_require__(35); @@ -4004,6 +4004,7 @@ var wksDefine = __webpack_require__(67); var enumKeys = __webpack_require__(130); var isArray = __webpack_require__(53); var anObject = __webpack_require__(1); +var isObject = __webpack_require__(3); var toIObject = __webpack_require__(11); var toPrimitive = __webpack_require__(22); var createDesc = __webpack_require__(31); @@ -4196,14 +4197,13 @@ $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; })), 'JSON', { stringify: function stringify(it) { - if (it === undefined || isSymbol(it)) return; // IE8 returns string on undefined var args = [it]; var i = 1; var replacer, $replacer; while (arguments.length > i) args.push(arguments[i++]); - replacer = args[1]; - if (typeof replacer == 'function') $replacer = replacer; - if ($replacer || !isArray(replacer)) replacer = function (key, value) { + $replacer = replacer = args[1]; + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined + if (!isArray(replacer)) replacer = function (key, value) { if ($replacer) value = $replacer.call(this, key, value); if (!isSymbol(value)) return value; }; @@ -4330,7 +4330,7 @@ __webpack_require__(25)('getOwnPropertyNames', function () { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.5 Object.freeze(O) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var meta = __webpack_require__(32).onFreeze; __webpack_require__(25)('freeze', function ($freeze) { @@ -4345,7 +4345,7 @@ __webpack_require__(25)('freeze', function ($freeze) { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.17 Object.seal(O) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var meta = __webpack_require__(32).onFreeze; __webpack_require__(25)('seal', function ($seal) { @@ -4360,7 +4360,7 @@ __webpack_require__(25)('seal', function ($seal) { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.15 Object.preventExtensions(O) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var meta = __webpack_require__(32).onFreeze; __webpack_require__(25)('preventExtensions', function ($preventExtensions) { @@ -4375,7 +4375,7 @@ __webpack_require__(25)('preventExtensions', function ($preventExtensions) { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.12 Object.isFrozen(O) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); __webpack_require__(25)('isFrozen', function ($isFrozen) { return function isFrozen(it) { @@ -4389,7 +4389,7 @@ __webpack_require__(25)('isFrozen', function ($isFrozen) { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.13 Object.isSealed(O) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); __webpack_require__(25)('isSealed', function ($isSealed) { return function isSealed(it) { @@ -4403,7 +4403,7 @@ __webpack_require__(25)('isSealed', function ($isSealed) { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.11 Object.isExtensible(O) -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); __webpack_require__(25)('isExtensible', function ($isExtensible) { return function isExtensible(it) { @@ -4506,7 +4506,7 @@ NAME in FProto || __webpack_require__(7) && dP(FProto, NAME, { "use strict"; -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var getPrototypeOf = __webpack_require__(16); var HAS_INSTANCE = __webpack_require__(5)('hasInstance'); var FunctionProto = Function.prototype; @@ -4531,7 +4531,7 @@ var has = __webpack_require__(12); var cof = __webpack_require__(20); var inheritIfRequired = __webpack_require__(74); var toPrimitive = __webpack_require__(22); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var gOPN = __webpack_require__(38).f; var gOPD = __webpack_require__(15).f; var dP = __webpack_require__(6).f; @@ -4661,7 +4661,7 @@ $export($export.P + $export.F * (!!$toFixed && ( 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128' -) || !__webpack_require__(3)(function () { +) || !__webpack_require__(4)(function () { // V8 ~ Android 4.3- $toFixed.call({}); })), 'Number', { @@ -4724,7 +4724,7 @@ $export($export.P + $export.F * (!!$toFixed && ( "use strict"; var $export = __webpack_require__(0); -var $fails = __webpack_require__(3); +var $fails = __webpack_require__(4); var aNumberValue = __webpack_require__(100); var $toPrecision = 1.0.toPrecision; @@ -5029,7 +5029,7 @@ var $export = __webpack_require__(0); var $imul = Math.imul; // some WebKit versions fails with big numbers, some has wrong arity -$export($export.S + $export.F * __webpack_require__(3)(function () { +$export($export.S + $export.F * __webpack_require__(4)(function () { return $imul(0xffffffff, 5) != -5 || $imul.length != 2; }), 'Math', { imul: function imul(x, y) { @@ -5101,7 +5101,7 @@ var expm1 = __webpack_require__(78); var exp = Math.exp; // V8 near Chromium 38 has a problem with very small numbers -$export($export.S + $export.F * __webpack_require__(3)(function () { +$export($export.S + $export.F * __webpack_require__(4)(function () { return !Math.sinh(-2e-17) != -2e-17; }), 'Math', { sinh: function sinh(x) { @@ -5580,7 +5580,7 @@ var $export = __webpack_require__(0); var createProperty = __webpack_require__(83); // WebKit Array.of isn't generic -$export($export.S + $export.F * __webpack_require__(3)(function () { +$export($export.S + $export.F * __webpack_require__(4)(function () { function F() { /* empty */ } return !(Array.of.call(F) instanceof F); }), 'Array', { @@ -5629,7 +5629,7 @@ var toLength = __webpack_require__(8); var arraySlice = [].slice; // fallback for not array-like ES3 strings and DOM objects -$export($export.P + $export.F * __webpack_require__(3)(function () { +$export($export.P + $export.F * __webpack_require__(4)(function () { if (html) arraySlice.call(html); }), 'Array', { slice: function slice(begin, end) { @@ -5659,7 +5659,7 @@ $export($export.P + $export.F * __webpack_require__(3)(function () { var $export = __webpack_require__(0); var aFunction = __webpack_require__(10); var toObject = __webpack_require__(9); -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var $sort = [].sort; var test = [1, 2, 3]; @@ -5702,7 +5702,7 @@ $export($export.P + $export.F * !STRICT, 'Array', { /* 212 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var isArray = __webpack_require__(53); var SPECIES = __webpack_require__(5)('species'); @@ -5964,7 +5964,7 @@ var re2 = /a/g; // "new" creates a new object, old webkit buggy here var CORRECT_NEW = new $RegExp(re1) !== re1; -if (__webpack_require__(7) && (!CORRECT_NEW || __webpack_require__(3)(function () { +if (__webpack_require__(7) && (!CORRECT_NEW || __webpack_require__(4)(function () { re2[__webpack_require__(5)('match')] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; @@ -6013,7 +6013,7 @@ var define = function (fn) { }; // 21.2.5.14 RegExp.prototype.toString() -if (__webpack_require__(3)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { +if (__webpack_require__(4)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { define(function toString() { var R = anObject(this); return '/'.concat(R.source, '/', @@ -6165,7 +6165,7 @@ var global = __webpack_require__(2); var ctx = __webpack_require__(19); var classof = __webpack_require__(39); var $export = __webpack_require__(0); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var aFunction = __webpack_require__(10); var anInstance = __webpack_require__(42); var forOf = __webpack_require__(34); @@ -6473,7 +6473,7 @@ var anObject = __webpack_require__(1); var rApply = (__webpack_require__(2).Reflect || {}).apply; var fApply = Function.apply; // MS Edge argumentsList argument is optional -$export($export.S + $export.F * !__webpack_require__(3)(function () { +$export($export.S + $export.F * !__webpack_require__(4)(function () { rApply(function () { /* empty */ }); }), 'Reflect', { apply: function apply(target, thisArgument, argumentsList) { @@ -6493,8 +6493,8 @@ var $export = __webpack_require__(0); var create = __webpack_require__(28); var aFunction = __webpack_require__(10); var anObject = __webpack_require__(1); -var isObject = __webpack_require__(4); -var fails = __webpack_require__(3); +var isObject = __webpack_require__(3); +var fails = __webpack_require__(4); var bind = __webpack_require__(99); var rConstruct = (__webpack_require__(2).Reflect || {}).construct; @@ -6548,7 +6548,7 @@ var anObject = __webpack_require__(1); var toPrimitive = __webpack_require__(22); // MS Edge has broken Reflect.defineProperty - throwing instead of returning false -$export($export.S + $export.F * __webpack_require__(3)(function () { +$export($export.S + $export.F * __webpack_require__(4)(function () { // eslint-disable-next-line no-undef Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); }), 'Reflect', { @@ -6625,7 +6625,7 @@ var gOPD = __webpack_require__(15); var getPrototypeOf = __webpack_require__(16); var has = __webpack_require__(12); var $export = __webpack_require__(0); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var anObject = __webpack_require__(1); function get(target, propertyKey /* , receiver */) { @@ -6750,7 +6750,7 @@ var has = __webpack_require__(12); var $export = __webpack_require__(0); var createDesc = __webpack_require__(31); var anObject = __webpack_require__(1); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); function set(target, propertyKey, V /* , receiver */) { var receiver = arguments.length < 4 ? target : arguments[3]; @@ -6816,7 +6816,7 @@ var $export = __webpack_require__(0); var toObject = __webpack_require__(9); var toPrimitive = __webpack_require__(22); -$export($export.P + $export.F * __webpack_require__(3)(function () { +$export($export.P + $export.F * __webpack_require__(4)(function () { return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; }), 'Date', { @@ -6850,7 +6850,7 @@ $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'D "use strict"; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var fails = __webpack_require__(3); +var fails = __webpack_require__(4); var getTime = Date.prototype.getTime; var $toISOString = Date.prototype.toISOString; @@ -6932,7 +6932,7 @@ var buffer = __webpack_require__(92); var anObject = __webpack_require__(1); var toAbsoluteIndex = __webpack_require__(37); var toLength = __webpack_require__(8); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var ArrayBuffer = __webpack_require__(2).ArrayBuffer; var speciesConstructor = __webpack_require__(60); var $ArrayBuffer = buffer.ArrayBuffer; @@ -6951,7 +6951,7 @@ $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { } }); -$export($export.P + $export.U + $export.F * __webpack_require__(3)(function () { +$export($export.P + $export.U + $export.F * __webpack_require__(4)(function () { return !new $ArrayBuffer(2).slice(1, undefined).byteLength; }), ARRAY_BUFFER, { // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) @@ -8296,7 +8296,7 @@ var forOf = __webpack_require__(34); var isIterable = __webpack_require__(124); var $iterCreate = __webpack_require__(56); var step = __webpack_require__(87); -var isObject = __webpack_require__(4); +var isObject = __webpack_require__(3); var toIObject = __webpack_require__(11); var DESCRIPTORS = __webpack_require__(7); var has = __webpack_require__(12); @@ -8506,7 +8506,7 @@ $export($export.P + $export.F, 'Function', { part: __webpack_require__(125) }); var $export = __webpack_require__(0); -$export($export.S + $export.F, 'Object', { isObject: __webpack_require__(4) }); +$export($export.S + $export.F, 'Object', { isObject: __webpack_require__(3) }); /***/ }), diff --git a/client/core.min.js b/client/core.min.js index 8a4942129ab3..50a9cc446914 100644 --- a/client/core.min.js +++ b/client/core.min.js @@ -1,10 +1,10 @@ /** - * core-js 2.5.1 + * core-js 2.5.2 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2017 Denis Pushkarev */ -!function(t,n,r){"use strict";!function(t){function __webpack_require__(r){if(n[r])return n[r].exports;var e=n[r]={i:r,l:!1,exports:{}};return t[r].call(e.exports,e,e.exports,__webpack_require__),e.l=!0,e.exports}var n={};__webpack_require__.m=t,__webpack_require__.c=n,__webpack_require__.d=function(t,n,r){__webpack_require__.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},__webpack_require__.n=function(t){var n=t&&t.__esModule?function getDefault(){return t["default"]}:function getModuleExports(){return t};return __webpack_require__.d(n,"a",n),n},__webpack_require__.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=128)}([function(t,n,e){var i=e(2),o=e(18),u=e(13),c=e(14),f=e(19),a="prototype",s=function(t,n,e){var l,h,p,v,g=t&s.F,y=t&s.G,d=t&s.P,_=t&s.B,b=y?i:t&s.S?i[n]||(i[n]={}):(i[n]||{})[a],S=y?o:o[n]||(o[n]={}),m=S[a]||(S[a]={});y&&(e=n);for(l in e)p=((h=!g&&b&&b[l]!==r)?b:e)[l],v=_&&h?f(p,i):d&&"function"==typeof p?f(Function.call,p):p,b&&c(b,l,p,t&s.U),S[l]!=p&&u(S,l,v),d&&m[l]!=p&&(m[l]=p)};i.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n,r){var e=r(4);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,r){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof n&&(n=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(50)("wks"),i=r(35),o=r(2).Symbol,u="function"==typeof o;(t.exports=function(t){return e[t]||(e[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=e},function(t,n,r){var e=r(1),i=r(94),o=r(22),u=Object.defineProperty;n.f=r(7)?Object.defineProperty:function defineProperty(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(c){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(24),i=Math.min;t.exports=function(t){return t>0?i(e(t),9007199254740991):0}},function(t,n,r){var e=r(23);t.exports=function(t){return Object(e(t))}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(47),i=r(23);t.exports=function(t){return e(i(t))}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(6),i=r(31);t.exports=r(7)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(2),i=r(13),o=r(12),u=r(35)("src"),c="toString",f=Function[c],a=(""+f).split(c);r(18).inspectSource=function(t){return f.call(t)},(t.exports=function(t,n,r,c){var f="function"==typeof r;f&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(f&&(o(r,u)||i(r,u,t[n]?""+t[n]:a.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,c,function toString(){return"function"==typeof this&&this[u]||f.call(this)})},function(t,n,r){var e=r(48),i=r(31),o=r(11),u=r(22),c=r(12),f=r(94),a=Object.getOwnPropertyDescriptor;n.f=r(7)?a:function getOwnPropertyDescriptor(t,n){if(t=o(t),n=u(n,!0),f)try{return a(t,n)}catch(r){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(12),i=r(9),o=r(68)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(0),i=r(3),o=r(23),u=/"/g,c=function(t,n,r,e){var i=String(o(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+i+""};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",r)}},function(n,r){var e=n.exports={version:"2.5.1"};"number"==typeof t&&(t=e)},function(t,n,e){var i=e(10);t.exports=function(t,n,e){if(i(t),n===r)return t;switch(e){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(3);t.exports=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t))return t;var r,i;if(n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!e(i=r.call(t)))return i;if(!n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if(t==r)throw TypeError("Can't call method on "+t);return t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(0),i=r(18),o=r(3);t.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o(function(){r(1)}),"Object",u)}},function(t,n,e){var i=e(19),o=e(47),u=e(9),c=e(8),f=e(84);t.exports=function(t,n){var e=1==t,a=2==t,s=3==t,l=4==t,h=6==t,p=5==t||h,v=n||f;return function(n,f,g){for(var y,d,_=u(n),b=o(_),S=i(f,g,3),m=c(b.length),x=0,w=e?v(n,m):a?v(n,0):r;m>x;x++)if((p||x in b)&&(y=b[x],d=S(y,x,_),t))if(e)w[x]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:w.push(y)}else if(l)return!1;return h?-1:s||l?l:w}}},function(t,n,r){var e=r(96),i=r(69);t.exports=Object.keys||function keys(t){return e(t,i)}},function(t,n,e){var i=e(1),o=e(97),u=e(69),c=e(68)("IE_PROTO"),f=function(){},a="prototype",s=function(){var t,n=e(66)("iframe"),r=u.length;for(n.style.display="none",e(70).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("