update
This commit is contained in:
+5
@@ -1,4 +1,9 @@
|
||||
## Changelog
|
||||
##### 2.6.12 [LEGACY] - 2020.11.26
|
||||
- Added code points / code units explicit feature detection in `String#at` for preventing breakage code which use obsolete `String#at` proposal polyfill
|
||||
- Added `OPEN_SOURCE_CONTRIBUTOR` detection in `postinstall`
|
||||
- Added Drone CI detection in `postinstall`
|
||||
|
||||
##### 2.6.11 [LEGACY] - 2019.12.09
|
||||
- Returned usage of `node -e` in `postinstall` scripts for better cross-platform compatibility, [#582](https://github.com/zloirock/core-js/issues/582)
|
||||
- Improved CI detection in the `postinstall` script, [#707](https://github.com/zloirock/core-js/issues/707)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2014-2019 Denis Pushkarev
|
||||
Copyright (c) 2014-2020 Denis Pushkarev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
+62
-62
@@ -101,9 +101,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.6.11/client/core.min.js): Includes all features, standard and non-standard.
|
||||
* [as a library](https://raw.githack.com/zloirock/core-js/v2.6.11/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.6.11/client/shim.min.js): Only includes the standard methods.
|
||||
* [default](https://raw.githack.com/zloirock/core-js/v2.6.12/client/core.min.js): Includes all features, standard and non-standard.
|
||||
* [as a library](https://raw.githack.com/zloirock/core-js/v2.6.12/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.6.12/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.
|
||||
|
||||
@@ -253,11 +253,11 @@ core-js(/library)/es5
|
||||
core-js(/library)/es6
|
||||
```
|
||||
#### ECMAScript 6: Object
|
||||
Modules [`es6.object.assign`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.assign.js), [`es6.object.is`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.is.js), [`es6.object.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.set-prototype-of.js) and [`es6.object.to-string`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.to-string.js).
|
||||
Modules [`es6.object.assign`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.assign.js), [`es6.object.is`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is.js), [`es6.object.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.set-prototype-of.js) and [`es6.object.to-string`](https://github.com/zloirock/core-js/blob/v2.6.12/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.6.11/modules/es6.object.freeze.js), [`es6.object.seal`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.seal.js), [`es6.object.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.prevent-extensions.js), [`es6.object.is-frozen`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.is-frozen.js), [`es6.object.is-sealed`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.is-sealed.js), [`es6.object.is-extensible`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.is-extensible.js), [`es6.object.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.get-own-property-descriptor.js), [`es6.object.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.get-prototype-of.js), [`es6.object.keys`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.keys.js) and [`es6.object.get-own-property-names`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es6.object.freeze.js), [`es6.object.seal`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.seal.js), [`es6.object.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.prevent-extensions.js), [`es6.object.is-frozen`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is-frozen.js), [`es6.object.is-sealed`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is-sealed.js), [`es6.object.is-extensible`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is-extensible.js), [`es6.object.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.get-own-property-descriptor.js), [`es6.object.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.get-prototype-of.js), [`es6.object.keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.keys.js) and [`es6.object.get-own-property-names`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.get-own-property-names.js).
|
||||
|
||||
Just ES5 features: [`es6.object.create`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.create.js), [`es6.object.define-property`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.define-property.js) and [`es6.object.define-properties`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.object.es6.object.define-properties.js).
|
||||
Just ES5 features: [`es6.object.create`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.create.js), [`es6.object.define-property`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.define-property.js) and [`es6.object.define-properties`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.es6.object.define-properties.js).
|
||||
```js
|
||||
Object
|
||||
.assign(target, ...src) -> target
|
||||
@@ -325,7 +325,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.6.11/modules/es6.function.name.js), [`es6.function.has-instance`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.function.has-instance.js). Just ES5: [`es6.function.bind`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.function.bind.js).
|
||||
Modules [`es6.function.name`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.function.name.js), [`es6.function.has-instance`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.function.has-instance.js). Just ES5: [`es6.function.bind`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.function.bind.js).
|
||||
```js
|
||||
Function
|
||||
#bind(object, ...args) -> boundFn(...args)
|
||||
@@ -347,7 +347,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.6.11/modules/es6.array.from.js), [`es6.array.of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.of.js), [`es6.array.copy-within`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.copy-within.js), [`es6.array.fill`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.fill.js), [`es6.array.find`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.find.js), [`es6.array.find-index`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.find-index.js), [`es6.array.iterator`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.iterator.js). ES5 features with fixes: [`es6.array.is-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.is-array.js), [`es6.array.slice`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.slice.js), [`es6.array.join`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.join.js), [`es6.array.index-of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.index-of.js), [`es6.array.last-index-of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.last-index-of.js), [`es6.array.every`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.every.js), [`es6.array.some`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.some.js), [`es6.array.for-each`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.for-each.js), [`es6.array.map`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.map.js), [`es6.array.filter`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.filter.js), [`es6.array.reduce`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.reduce.js), [`es6.array.reduce-right`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.reduce-right.js), [`es6.array.sort`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.array.sort.js).
|
||||
Modules [`es6.array.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.from.js), [`es6.array.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.of.js), [`es6.array.copy-within`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.copy-within.js), [`es6.array.fill`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.fill.js), [`es6.array.find`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.find.js), [`es6.array.find-index`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.find-index.js), [`es6.array.iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.iterator.js). ES5 features with fixes: [`es6.array.is-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.is-array.js), [`es6.array.slice`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.slice.js), [`es6.array.join`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.join.js), [`es6.array.index-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.index-of.js), [`es6.array.last-index-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.last-index-of.js), [`es6.array.every`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.every.js), [`es6.array.some`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.some.js), [`es6.array.for-each`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.for-each.js), [`es6.array.map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.map.js), [`es6.array.filter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.filter.js), [`es6.array.reduce`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.reduce.js), [`es6.array.reduce-right`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.reduce-right.js), [`es6.array.sort`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.sort.js).
|
||||
```js
|
||||
Array
|
||||
.from(iterable | array-like, mapFn(val, index)?, that) -> array
|
||||
@@ -459,9 +459,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.6.11/modules/es6.string.from-code-point.js), [`es6.string.raw`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.raw.js), [`es6.string.iterator`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.iterator.js), [`es6.string.code-point-at`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.code-point-at.js), [`es6.string.ends-with`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.ends-with.js), [`es6.string.includes`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.includes.js), [`es6.string.repeat`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.repeat.js), [`es6.string.starts-with`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.starts-with.js) and [`es6.string.trim`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.trim.js).
|
||||
Modules [`es6.string.from-code-point`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.from-code-point.js), [`es6.string.raw`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.raw.js), [`es6.string.iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.iterator.js), [`es6.string.code-point-at`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.code-point-at.js), [`es6.string.ends-with`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.ends-with.js), [`es6.string.includes`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.includes.js), [`es6.string.repeat`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.repeat.js), [`es6.string.starts-with`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.starts-with.js) and [`es6.string.trim`](https://github.com/zloirock/core-js/blob/v2.6.12/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.6.11/modules/es6.string.anchor.js), [`es6.string.big`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.big.js), [`es6.string.blink`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.blink.js), [`es6.string.bold`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.bold.js), [`es6.string.fixed`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.fixed.js), [`es6.string.fontcolor`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.fontcolor.js), [`es6.string.fontsize`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.fontsize.js), [`es6.string.italics`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.italics.js), [`es6.string.link`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.link.js), [`es6.string.small`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.small.js), [`es6.string.strike`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.strike.js), [`es6.string.sub`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.string.sub.js) and [`es6.string.sup`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es6.string.anchor.js), [`es6.string.big`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.big.js), [`es6.string.blink`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.blink.js), [`es6.string.bold`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.bold.js), [`es6.string.fixed`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.fixed.js), [`es6.string.fontcolor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.fontcolor.js), [`es6.string.fontsize`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.fontsize.js), [`es6.string.italics`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.italics.js), [`es6.string.link`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.link.js), [`es6.string.small`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.small.js), [`es6.string.strike`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.strike.js), [`es6.string.sub`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.sub.js) and [`es6.string.sup`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.sup.js).
|
||||
```js
|
||||
String
|
||||
.fromCodePoint(...codePoints) -> str
|
||||
@@ -560,9 +560,9 @@ String.raw({raw: 'test'}, 0, 1, 2); // => 't0e1s2t'
|
||||
'baz'.link('http://example.com'); // => '<a href="http://example.com">baz</a>'
|
||||
```
|
||||
#### ECMAScript 6: RegExp
|
||||
Modules [`es6.regexp.constructor`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.regexp.constructor.js) and [`es6.regexp.flags`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.regexp.flags.js).
|
||||
Modules [`es6.regexp.constructor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.constructor.js) and [`es6.regexp.flags`](https://github.com/zloirock/core-js/blob/v2.6.12/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.6.11/modules/es6.regexp.match.js), [`es6.regexp.replace`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.regexp.replace.js), [`es6.regexp.search`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.regexp.search.js) and [`es6.regexp.split`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es6.regexp.match.js), [`es6.regexp.replace`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.replace.js), [`es6.regexp.search`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.search.js) and [`es6.regexp.split`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.split.js).
|
||||
```
|
||||
[new] RegExp(pattern, flags?) -> regexp, ES6 fix: can alter flags (IE9+)
|
||||
#flags -> str (IE9+)
|
||||
@@ -603,12 +603,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.6.11/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.6.12/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.6.11/modules/es6.number.epsilon.js), [`es6.number.is-finite`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.is-finite.js), [`es6.number.is-integer`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.is-integer.js), [`es6.number.is-nan`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.is-nan.js), [`es6.number.is-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.is-safe-integer.js), [`es6.number.max-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.max-safe-integer.js), [`es6.number.min-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.min-safe-integer.js), [`es6.number.parse-float`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.parse-float.js), [`es6.number.parse-int`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.parse-int.js), [`es6.number.to-fixed`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.to-fixed.js), [`es6.number.to-precision`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.number.to-precision.js), [`es6.parse-int`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.parse-int.js), [`es6.parse-float`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.parse-float.js).
|
||||
Modules [`es6.number.epsilon`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.epsilon.js), [`es6.number.is-finite`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-finite.js), [`es6.number.is-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-integer.js), [`es6.number.is-nan`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-nan.js), [`es6.number.is-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-safe-integer.js), [`es6.number.max-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.max-safe-integer.js), [`es6.number.min-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.min-safe-integer.js), [`es6.number.parse-float`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.parse-float.js), [`es6.number.parse-int`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.parse-int.js), [`es6.number.to-fixed`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.to-fixed.js), [`es6.number.to-precision`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.to-precision.js), [`es6.parse-int`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.parse-int.js), [`es6.parse-float`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.parse-float.js).
|
||||
```js
|
||||
[new] Number(var) -> number | number object
|
||||
.isFinite(num) -> bool
|
||||
@@ -644,7 +644,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.6.11/modules/es6.math.acosh.js), [`es6.math.asinh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.asinh.js), [`es6.math.atanh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.atanh.js), [`es6.math.cbrt`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.cbrt.js), [`es6.math.clz32`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.clz32.js), [`es6.math.cosh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.cosh.js), [`es6.math.expm1`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.expm1.js), [`es6.math.fround`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.fround.js), [`es6.math.hypot`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.hypot.js), [`es6.math.imul`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.imul.js), [`es6.math.log10`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.log10.js), [`es6.math.log1p`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.log1p.js), [`es6.math.log2`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.log2.js), [`es6.math.sign`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.sign.js), [`es6.math.sinh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.sinh.js), [`es6.math.tanh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.tanh.js), [`es6.math.trunc`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.math.trunc.js).
|
||||
Modules [`es6.math.acosh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.acosh.js), [`es6.math.asinh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.asinh.js), [`es6.math.atanh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.atanh.js), [`es6.math.cbrt`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.cbrt.js), [`es6.math.clz32`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.clz32.js), [`es6.math.cosh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.cosh.js), [`es6.math.expm1`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.expm1.js), [`es6.math.fround`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.fround.js), [`es6.math.hypot`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.hypot.js), [`es6.math.imul`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.imul.js), [`es6.math.log10`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.log10.js), [`es6.math.log1p`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.log1p.js), [`es6.math.log2`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.log2.js), [`es6.math.sign`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.sign.js), [`es6.math.sinh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.sinh.js), [`es6.math.tanh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.tanh.js), [`es6.math.trunc`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.trunc.js).
|
||||
```js
|
||||
Math
|
||||
.acosh(num) -> num
|
||||
@@ -687,7 +687,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.6.11/modules/es6.date.to-string.js), ES5 features with fixes: [`es6.date.now`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.date.now.js), [`es6.date.to-iso-string`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.date.to-iso-string.js), [`es6.date.to-json`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.date.to-json.js) and [`es6.date.to-primitive`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.date.to-primitive.js).
|
||||
Modules [`es6.date.to-string`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-string.js), ES5 features with fixes: [`es6.date.now`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.now.js), [`es6.date.to-iso-string`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-iso-string.js), [`es6.date.to-json`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-json.js) and [`es6.date.to-primitive`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-primitive.js).
|
||||
```js
|
||||
Date
|
||||
.now() -> int
|
||||
@@ -711,7 +711,7 @@ new Date(NaN).toString(); // => 'Invalid Date'
|
||||
```
|
||||
|
||||
#### ECMAScript 6: Promise
|
||||
Module [`es6.promise`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.promise.js).
|
||||
Module [`es6.promise`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.promise.js).
|
||||
```js
|
||||
new Promise(executor(resolve(var), reject(var))) -> promise
|
||||
#then(resolved(var), rejected(var)) -> promise
|
||||
@@ -831,7 +831,7 @@ setTimeout(() => p.catch(_ => _), 1e3);
|
||||
```
|
||||
|
||||
#### ECMAScript 6: Symbol
|
||||
Module [`es6.symbol`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.symbol.js).
|
||||
Module [`es6.symbol`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.symbol.js).
|
||||
```js
|
||||
Symbol(description?) -> symbol
|
||||
.hasInstance -> @@hasInstance
|
||||
@@ -943,7 +943,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.6.11/modules/es6.map.js).
|
||||
Module [`es6.map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.map.js).
|
||||
```js
|
||||
new Map(iterable (entries) ?) -> map
|
||||
#clear() -> void
|
||||
@@ -997,7 +997,7 @@ for(var [key, val] of map.entries()){
|
||||
}
|
||||
```
|
||||
#### Set
|
||||
Module [`es6.set`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.set.js).
|
||||
Module [`es6.set`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.set.js).
|
||||
```js
|
||||
new Set(iterable?) -> set
|
||||
#add(key) -> @
|
||||
@@ -1041,7 +1041,7 @@ for(var [key, val] of set.entries()){
|
||||
}
|
||||
```
|
||||
#### WeakMap
|
||||
Module [`es6.weak-map`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.weak-map.js).
|
||||
Module [`es6.weak-map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.weak-map.js).
|
||||
```js
|
||||
new WeakMap(iterable (entries) ?) -> weakmap
|
||||
#delete(key) -> bool
|
||||
@@ -1085,7 +1085,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.6.11/modules/es6.weak-set.js).
|
||||
Module [`es6.weak-set`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.weak-set.js).
|
||||
```js
|
||||
new WeakSet(iterable?) -> weakset
|
||||
#add(key) -> @
|
||||
@@ -1117,7 +1117,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.6.11/modules/es6.typed.array-buffer.js), [`es6.typed.data-view`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.data-view.js), [`es6.typed.int8-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.int8-array.js), [`es6.typed.uint8-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.uint8-array.js), [`es6.typed.uint8-clamped-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.uint8-clamped-array.js), [`es6.typed.int16-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.int16-array.js), [`es6.typed.uint16-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.uint16-array.js), [`es6.typed.int32-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.int32-array.js), [`es6.typed.uint32-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.uint32-array.js), [`es6.typed.float32-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.float32-array.js) and [`es6.typed.float64-array`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.typed.float64-array.js).
|
||||
Modules [`es6.typed.array-buffer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.array-buffer.js), [`es6.typed.data-view`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.data-view.js), [`es6.typed.int8-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.int8-array.js), [`es6.typed.uint8-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint8-array.js), [`es6.typed.uint8-clamped-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint8-clamped-array.js), [`es6.typed.int16-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.int16-array.js), [`es6.typed.uint16-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint16-array.js), [`es6.typed.int32-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.int32-array.js), [`es6.typed.uint32-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint32-array.js), [`es6.typed.float32-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.float32-array.js) and [`es6.typed.float64-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.float64-array.js).
|
||||
```js
|
||||
new ArrayBuffer(length) -> buffer
|
||||
.isView(var) -> bool
|
||||
@@ -1250,7 +1250,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.6.11/modules/es6.reflect.apply.js), [`es6.reflect.construct`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.construct.js), [`es6.reflect.define-property`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.define-property.js), [`es6.reflect.delete-property`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.delete-property.js), [`es6.reflect.enumerate`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.enumerate.js), [`es6.reflect.get`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.get.js), [`es6.reflect.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.get-own-property-descriptor.js), [`es6.reflect.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.get-prototype-of.js), [`es6.reflect.has`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.has.js), [`es6.reflect.is-extensible`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.is-extensible.js), [`es6.reflect.own-keys`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.own-keys.js), [`es6.reflect.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.prevent-extensions.js), [`es6.reflect.set`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.set.js), [`es6.reflect.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es6.reflect.set-prototype-of.js).
|
||||
Modules [`es6.reflect.apply`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.apply.js), [`es6.reflect.construct`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.construct.js), [`es6.reflect.define-property`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.define-property.js), [`es6.reflect.delete-property`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.delete-property.js), [`es6.reflect.enumerate`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.enumerate.js), [`es6.reflect.get`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.get.js), [`es6.reflect.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.get-own-property-descriptor.js), [`es6.reflect.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.get-prototype-of.js), [`es6.reflect.has`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.has.js), [`es6.reflect.is-extensible`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.is-extensible.js), [`es6.reflect.own-keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.own-keys.js), [`es6.reflect.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.prevent-extensions.js), [`es6.reflect.set`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.set.js), [`es6.reflect.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.set-prototype-of.js).
|
||||
```js
|
||||
Reflect
|
||||
.apply(target, thisArgument, argumentsList) -> var
|
||||
@@ -1327,7 +1327,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.6.11/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.6.12/modules/es7.array.includes.js), `%TypedArray%` version in modules from [this section](#ecmascript-6-typed-arrays).
|
||||
```js
|
||||
Array
|
||||
#includes(var, from?) -> bool
|
||||
@@ -1359,7 +1359,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.6.11/modules/es7.object.values.js), [`es7.object.entries`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.object.values.js), [`es7.object.entries`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.entries.js)
|
||||
```js
|
||||
Object
|
||||
.values(object) -> array
|
||||
@@ -1380,7 +1380,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.6.11/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.6.12/modules/es7.object.get-own-property-descriptors.js)
|
||||
```js
|
||||
Object
|
||||
.getOwnPropertyDescriptors(object) -> object
|
||||
@@ -1396,7 +1396,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.6.11/modules/es7.string.pad-start.js), [`es7.string.pad-end`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.string.pad-start.js), [`es7.string.pad-end`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.pad-end.js)
|
||||
```js
|
||||
String
|
||||
#padStart(length, fillStr = ' ') -> string
|
||||
@@ -1416,7 +1416,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.6.11/modules/es7.object.define-setter.js), [`es7.object.define-getter`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.object.define-getter.js), [`es7.object.lookup-setter`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.object.lookup-setter.js) and [`es7.object.lookup-getter`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.object.define-setter.js), [`es7.object.define-getter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.define-getter.js), [`es7.object.lookup-setter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.lookup-setter.js) and [`es7.object.lookup-getter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.lookup-getter.js).
|
||||
```js
|
||||
Object
|
||||
#__defineSetter__(key, fn) -> void
|
||||
@@ -1437,7 +1437,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.6.11/modules/es7.global.js) and [`es7.system.global`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.global.js) and [`es7.system.global`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.system.global.js) (obsolete)
|
||||
```js
|
||||
global -> object
|
||||
System
|
||||
@@ -1452,7 +1452,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.6.11/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.6.12/modules/es7.promise.finally.js)
|
||||
```js
|
||||
Promise
|
||||
#finally(onFinally()) -> promise
|
||||
@@ -1472,7 +1472,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.6.11/modules/es7.string.trim-right.js), [`es7.string.trim-right`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.string.trim-right.js), [`es7.string.trim-right`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.trim-right.js)
|
||||
```js
|
||||
String
|
||||
#trimLeft() -> string
|
||||
@@ -1497,7 +1497,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.6.11/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.6.12/modules/es7.symbol.async-iterator.js)
|
||||
```js
|
||||
Symbol
|
||||
.asyncIterator -> @@asyncIterator
|
||||
@@ -1512,7 +1512,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.6.11/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.6.12/modules/es7.promise.try.js)
|
||||
```js
|
||||
Promise
|
||||
.try(function()) -> promise
|
||||
@@ -1527,7 +1527,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.6.11/modules/es7.array.flatten.js) and [`es7.array.flat-map`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.array.flatten.js) and [`es7.array.flat-map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.array.flat-map.js)
|
||||
```js
|
||||
Array
|
||||
#flatten(depthArg = 1) -> array
|
||||
@@ -1548,7 +1548,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.6.11/modules/es7.set.of.js), [`es7.set.from`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.set.from.js), [`es7.map.of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.map.of.js), [`es7.map.from`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.map.from.js), [`es7.weak-set.of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.weak-set.of.js), [`es7.weak-set.from`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.weak-set.from.js), [`es7.weak-map.of`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.weak-map.of.js), [`es7.weak-map.from`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.set.of.js), [`es7.set.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.set.from.js), [`es7.map.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.map.of.js), [`es7.map.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.map.from.js), [`es7.weak-set.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-set.of.js), [`es7.weak-set.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-set.from.js), [`es7.weak-map.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-map.of.js), [`es7.weak-map.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-map.from.js)
|
||||
```js
|
||||
Set
|
||||
.of(...args) -> set
|
||||
@@ -1580,7 +1580,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.6.11/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.6.12/modules/es7.string.match-all.js)
|
||||
```js
|
||||
String
|
||||
#matchAll(regexp) -> iterator
|
||||
@@ -1596,7 +1596,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.6.11/modules/es7.observable.js) and [`es7.symbol.observable`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.symbol.observable.js)
|
||||
* `Observable` [proposal](https://github.com/zenparsing/es-observable) - modules [`es7.observable`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.observable.js) and [`es7.symbol.observable`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.symbol.observable.js)
|
||||
```js
|
||||
new Observable(fn) -> observable
|
||||
#subscribe(observer) -> subscription
|
||||
@@ -1624,13 +1624,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.6.11/modules/es7.math.clamp.js),
|
||||
[`es7.math.DEG_PER_RAD`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.DEG_PER_RAD.js),
|
||||
[`es7.math.degrees`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.degrees.js),
|
||||
[`es7.math.fscale`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.fscale.js),
|
||||
[`es7.math.RAD_PER_DEG`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.RAD_PER_DEG.js),
|
||||
[`es7.math.radians`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.radians.js) and
|
||||
[`es7.math.scale`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.scale.js)
|
||||
[`es7.math.clamp`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.clamp.js),
|
||||
[`es7.math.DEG_PER_RAD`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.DEG_PER_RAD.js),
|
||||
[`es7.math.degrees`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.degrees.js),
|
||||
[`es7.math.fscale`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.fscale.js),
|
||||
[`es7.math.RAD_PER_DEG`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.RAD_PER_DEG.js),
|
||||
[`es7.math.radians`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.radians.js) and
|
||||
[`es7.math.scale`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.scale.js)
|
||||
```js
|
||||
Math
|
||||
.DEG_PER_RAD -> number
|
||||
@@ -1651,7 +1651,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.6.11/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.6.12/modules/es7.math.signbit.js)
|
||||
```js
|
||||
Math
|
||||
.signbit(x) -> bool
|
||||
@@ -1674,7 +1674,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.6.11/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.6.12/modules/es7.string.at.js)
|
||||
```js
|
||||
String
|
||||
#at(index) -> string
|
||||
@@ -1689,7 +1689,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.6.11/modules/es7.map.to-json.js), [`es7.set.to-json`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.map.to-json.js), [`es7.set.to-json`](https://github.com/zloirock/core-js/blob/v2.6.12/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)
|
||||
@@ -1701,7 +1701,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.6.11/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.6.12/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)
|
||||
@@ -1710,7 +1710,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.6.11/modules/es7.math.iaddh.js), [`es7.math.isubh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.isubh.js), [`es7.math.imulh`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.math.imulh.js) and [`es7.math.umulh`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.math.iaddh.js), [`es7.math.isubh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.isubh.js), [`es7.math.imulh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.imulh.js) and [`es7.math.umulh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.umulh.js)
|
||||
```js
|
||||
Math
|
||||
.iaddh(lo0, hi0, lo1, hi1) -> int32
|
||||
@@ -1725,7 +1725,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.6.11/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.6.12/modules/es7.asap.js)
|
||||
```js
|
||||
asap(fn) -> void
|
||||
```
|
||||
@@ -1743,7 +1743,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.6.11/modules/es7.reflect.define-metadata.js), [`es7.reflect.delete-metadata`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.delete-metadata.js), [`es7.reflect.get-metadata`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.get-metadata.js), [`es7.reflect.get-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.get-metadata-keys.js), [`es7.reflect.get-own-metadata`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.get-own-metadata.js), [`es7.reflect.get-own-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.get-own-metadata-keys.js), [`es7.reflect.has-metadata`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.has-metadata.js), [`es7.reflect.has-own-metadata`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/es7.reflect.has-own-metadata.js) and [`es7.reflect.metadata`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/es7.reflect.define-metadata.js), [`es7.reflect.delete-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.delete-metadata.js), [`es7.reflect.get-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-metadata.js), [`es7.reflect.get-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-metadata-keys.js), [`es7.reflect.get-own-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-own-metadata.js), [`es7.reflect.get-own-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-own-metadata-keys.js), [`es7.reflect.has-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.has-metadata.js), [`es7.reflect.has-own-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.has-own-metadata.js) and [`es7.reflect.metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.metadata.js).
|
||||
```js
|
||||
Reflect
|
||||
.defineMetadata(metadataKey, metadataValue, target, propertyKey?) -> void
|
||||
@@ -1783,7 +1783,7 @@ Reflect.getOwnMetadata('foo', O); // => 'bar'
|
||||
core-js(/library)/web
|
||||
```
|
||||
#### setTimeout / setInterval
|
||||
Module [`web.timers`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/web.timers.js). Additional arguments fix for IE9-.
|
||||
Module [`web.timers`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/web.timers.js). Additional arguments fix for IE9-.
|
||||
```js
|
||||
setTimeout(fn(...args), time, ...args) -> id
|
||||
setInterval(fn(...args), time, ...args) -> id
|
||||
@@ -1801,7 +1801,7 @@ setTimeout(log.bind(null, 42), 1000);
|
||||
setTimeout(log, 1000, 42);
|
||||
```
|
||||
#### setImmediate
|
||||
Module [`web.immediate`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/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
|
||||
@@ -1823,7 +1823,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.6.11/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.6.12/modules/web.dom.iterable.js):
|
||||
```js
|
||||
{
|
||||
CSSRuleList,
|
||||
@@ -1889,7 +1889,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.6.11/modules/core.object.is-object.js), [`core.object.classof`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.object.classof.js), [`core.object.define`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.object.define.js), [`core.object.make`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.object.make.js).
|
||||
Modules [`core.object.is-object`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.is-object.js), [`core.object.classof`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.classof.js), [`core.object.define`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.define.js), [`core.object.make`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.make.js).
|
||||
```js
|
||||
Object
|
||||
.isObject(var) -> bool
|
||||
@@ -2002,7 +2002,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.6.11/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.6.12/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
|
||||
@@ -2155,7 +2155,7 @@ Dict.reduce(dict, function(memo, it){
|
||||
}, ''); // => '123'
|
||||
```
|
||||
#### Partial application
|
||||
Module [`core.function.part`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.function.part.js).
|
||||
Module [`core.function.part`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.function.part.js).
|
||||
```js
|
||||
Function
|
||||
#part(...args | _) -> fn(...args)
|
||||
@@ -2185,7 +2185,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.6.11/modules/core.number.iterator.js).
|
||||
Module [`core.number.iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.number.iterator.js).
|
||||
```js
|
||||
Number
|
||||
#@@iterator() -> iterator
|
||||
@@ -2210,7 +2210,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.6.11/modules/core.regexp.escape.js), [`core.string.escape-html`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.string.escape-html.js) and [`core.string.unescape-html`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.string.unescape-html.js).
|
||||
Modules [`core.regexp.escape`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.regexp.escape.js), [`core.string.escape-html`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.string.escape-html.js) and [`core.string.unescape-html`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.string.unescape-html.js).
|
||||
```js
|
||||
RegExp
|
||||
.escape(str) -> str
|
||||
@@ -2236,7 +2236,7 @@ RegExp.escape('Hello, []{}()*+?.\\^$|!'); // => 'Hello, \[\]\{\}\(\)\*\+\?\.\\\^
|
||||
'<script>doSomething();</script>'.unescapeHTML(); // => '<script>doSomething();</script>'
|
||||
```
|
||||
#### delay
|
||||
Module [`core.delay`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/core.delay.js). [Promise](#ecmascript-6-promise)-returning delay function, [esdiscuss](https://esdiscuss.org/topic/promise-returning-delay-function).
|
||||
```js
|
||||
delay(ms) -> promise
|
||||
```
|
||||
@@ -2257,7 +2257,7 @@ delay(1e3).then(() => console.log('after 1 sec'));
|
||||
})();
|
||||
```
|
||||
#### Helpers for iterators
|
||||
Modules [`core.is-iterable`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.is-iterable.js), [`core.get-iterator`](https://github.com/zloirock/core-js/blob/v2.6.11/modules/core.get-iterator.js), [`core.get-iterator-method`](https://github.com/zloirock/core-js/blob/v2.6.11/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.6.12/modules/core.is-iterable.js), [`core.get-iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.get-iterator.js), [`core.get-iterator-method`](https://github.com/zloirock/core-js/blob/v2.6.12/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
|
||||
|
||||
+81
-76
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* core-js 2.6.11
|
||||
* core-js 2.6.12
|
||||
* https://github.com/zloirock/core-js
|
||||
* License: http://rock.mit-license.org
|
||||
* © 2019 Denis Pushkarev
|
||||
* © 2020 Denis Pushkarev
|
||||
*/
|
||||
!function(__e, __g, undefined){
|
||||
'use strict';
|
||||
@@ -124,7 +124,7 @@ module.exports = $export;
|
||||
/* 1 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
module.exports = function (it) {
|
||||
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
||||
return it;
|
||||
@@ -147,8 +147,12 @@ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
||||
/* 3 */
|
||||
/***/ (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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -156,12 +160,8 @@ module.exports = function (it) {
|
||||
/* 4 */
|
||||
/***/ (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';
|
||||
};
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ $exports.store = store;
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// Thank's IE8 for his funny defineProperty
|
||||
module.exports = !__webpack_require__(4)(function () {
|
||||
module.exports = !__webpack_require__(3)(function () {
|
||||
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
||||
});
|
||||
|
||||
@@ -273,7 +273,7 @@ module.exports = function (it, key) {
|
||||
/* 13 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var core = module.exports = { version: '2.6.11' };
|
||||
var core = module.exports = { version: '2.6.12' };
|
||||
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
||||
|
||||
|
||||
@@ -374,7 +374,7 @@ module.exports = Object.getPrototypeOf || function (O) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var $export = __webpack_require__(0);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var defined = __webpack_require__(24);
|
||||
var quot = /"/g;
|
||||
// B.2.3.2.1 CreateHTML(string, tag, attribute, value)
|
||||
@@ -449,7 +449,7 @@ module.exports = function (it) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
|
||||
module.exports = function (method, arg) {
|
||||
return !!method && fails(function () {
|
||||
@@ -464,7 +464,7 @@ module.exports = function (method, arg) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 7.1.1 ToPrimitive(input [, PreferredType])
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
// 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__(13);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
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__(6)) {
|
||||
var LIBRARY = __webpack_require__(32);
|
||||
var global = __webpack_require__(2);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var $export = __webpack_require__(0);
|
||||
var $typed = __webpack_require__(65);
|
||||
var $buffer = __webpack_require__(96);
|
||||
@@ -639,7 +639,7 @@ if (__webpack_require__(6)) {
|
||||
var toPrimitive = __webpack_require__(23);
|
||||
var has = __webpack_require__(12);
|
||||
var classof = __webpack_require__(34);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var toObject = __webpack_require__(9);
|
||||
var isArrayIter = __webpack_require__(84);
|
||||
var create = __webpack_require__(28);
|
||||
@@ -1184,14 +1184,14 @@ module.exports = false;
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var META = __webpack_require__(37)('meta');
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var has = __webpack_require__(12);
|
||||
var setDesc = __webpack_require__(8).f;
|
||||
var id = 0;
|
||||
var isExtensible = Object.isExtensible || function () {
|
||||
return true;
|
||||
};
|
||||
var FREEZE = !__webpack_require__(4)(function () {
|
||||
var FREEZE = !__webpack_require__(3)(function () {
|
||||
return isExtensible(Object.preventExtensions({}));
|
||||
});
|
||||
var setMeta = function (it) {
|
||||
@@ -1401,7 +1401,7 @@ module.exports = function (target, src, safe) {
|
||||
/* 44 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
module.exports = function (it, TYPE) {
|
||||
if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
||||
return it;
|
||||
@@ -1427,7 +1427,7 @@ module.exports = function (it, tag, stat) {
|
||||
|
||||
var $export = __webpack_require__(0);
|
||||
var defined = __webpack_require__(24);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var spaces = __webpack_require__(78);
|
||||
var space = '[' + spaces + ']';
|
||||
var non = '\u200b\u0085';
|
||||
@@ -1471,7 +1471,7 @@ var store = global[SHARED] || (global[SHARED] = {});
|
||||
})('versions', []).push({
|
||||
version: core.version,
|
||||
mode: __webpack_require__(32) ? 'pure' : 'global',
|
||||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
||||
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
||||
});
|
||||
|
||||
|
||||
@@ -1618,7 +1618,7 @@ module.exports = function (TO_STRING) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 7.2.8 IsRegExp(argument)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var cof = __webpack_require__(20);
|
||||
var MATCH = __webpack_require__(5)('match');
|
||||
module.exports = function (it) {
|
||||
@@ -1788,7 +1788,7 @@ module.exports = function (R, S) {
|
||||
__webpack_require__(114);
|
||||
var redefine = __webpack_require__(15);
|
||||
var hide = __webpack_require__(14);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var defined = __webpack_require__(24);
|
||||
var wks = __webpack_require__(5);
|
||||
var regexpExec = __webpack_require__(90);
|
||||
@@ -1905,8 +1905,8 @@ var redefineAll = __webpack_require__(43);
|
||||
var meta = __webpack_require__(33);
|
||||
var forOf = __webpack_require__(36);
|
||||
var anInstance = __webpack_require__(42);
|
||||
var isObject = __webpack_require__(3);
|
||||
var fails = __webpack_require__(4);
|
||||
var isObject = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var $iterDetect = __webpack_require__(60);
|
||||
var setToStringTag = __webpack_require__(45);
|
||||
var inheritIfRequired = __webpack_require__(77);
|
||||
@@ -2025,7 +2025,7 @@ module.exports = {
|
||||
"use strict";
|
||||
|
||||
// Forced replacement prototype accessors methods
|
||||
module.exports = __webpack_require__(32) || !__webpack_require__(4)(function () {
|
||||
module.exports = __webpack_require__(32) || !__webpack_require__(3)(function () {
|
||||
var K = Math.random();
|
||||
// In FF throws only define methods
|
||||
// eslint-disable-next-line no-undef, no-useless-call
|
||||
@@ -2092,7 +2092,7 @@ module.exports = function (COLLECTION) {
|
||||
/* 69 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var document = __webpack_require__(2).document;
|
||||
// typeof document.createElement is 'object' in old IE
|
||||
var is = isObject(document) && isObject(document.createElement);
|
||||
@@ -2161,7 +2161,7 @@ var IObject = __webpack_require__(48);
|
||||
var $assign = Object.assign;
|
||||
|
||||
// should work with symbols and should have deterministic property order (V8 bug)
|
||||
module.exports = !$assign || __webpack_require__(4)(function () {
|
||||
module.exports = !$assign || __webpack_require__(3)(function () {
|
||||
var A = {};
|
||||
var B = {};
|
||||
// eslint-disable-next-line no-undef
|
||||
@@ -2196,7 +2196,7 @@ module.exports = !$assign || __webpack_require__(4)(function () {
|
||||
|
||||
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
||||
/* eslint-disable no-proto */
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var anObject = __webpack_require__(1);
|
||||
var check = function (O, proto) {
|
||||
anObject(O);
|
||||
@@ -2247,7 +2247,7 @@ module.exports = function (fn, args, that) {
|
||||
/* 77 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var setPrototypeOf = __webpack_require__(75).set;
|
||||
module.exports = function (that, target, C) {
|
||||
var S = target.constructor;
|
||||
@@ -2755,7 +2755,7 @@ var LIBRARY = __webpack_require__(32);
|
||||
var $typed = __webpack_require__(65);
|
||||
var hide = __webpack_require__(14);
|
||||
var redefineAll = __webpack_require__(43);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var anInstance = __webpack_require__(42);
|
||||
var toInteger = __webpack_require__(21);
|
||||
var toLength = __webpack_require__(7);
|
||||
@@ -3044,7 +3044,7 @@ module.exports = function (regExp, replace) {
|
||||
/* 98 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = !__webpack_require__(6) && !__webpack_require__(4)(function () {
|
||||
module.exports = !__webpack_require__(6) && !__webpack_require__(3)(function () {
|
||||
return Object.defineProperty(__webpack_require__(69)('div'), 'a', { get: function () { return 7; } }).a != 7;
|
||||
});
|
||||
|
||||
@@ -3141,7 +3141,7 @@ module.exports = Object.is || function is(x, y) {
|
||||
"use strict";
|
||||
|
||||
var aFunction = __webpack_require__(10);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var invoke = __webpack_require__(76);
|
||||
var arraySlice = [].slice;
|
||||
var factories = {};
|
||||
@@ -3182,7 +3182,7 @@ module.exports = function (it, msg) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 20.1.2.3 Number.isInteger(number)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var floor = Math.floor;
|
||||
module.exports = function isInteger(it) {
|
||||
return !isObject(it) && isFinite(it) && floor(it) === it;
|
||||
@@ -3387,7 +3387,7 @@ module.exports = function (exec) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var anObject = __webpack_require__(1);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var newPromiseCapability = __webpack_require__(94);
|
||||
|
||||
module.exports = function (C, x) {
|
||||
@@ -3610,7 +3610,7 @@ var redefine = __webpack_require__(15);
|
||||
var meta = __webpack_require__(33);
|
||||
var assign = __webpack_require__(74);
|
||||
var weak = __webpack_require__(122);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var validate = __webpack_require__(44);
|
||||
var NATIVE_WEAK_MAP = __webpack_require__(44);
|
||||
var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
|
||||
@@ -3674,7 +3674,7 @@ if (NATIVE_WEAK_MAP && IS_IE11) {
|
||||
var redefineAll = __webpack_require__(43);
|
||||
var getWeak = __webpack_require__(33).getWeak;
|
||||
var anObject = __webpack_require__(1);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var anInstance = __webpack_require__(42);
|
||||
var forOf = __webpack_require__(36);
|
||||
var createArrayMethod = __webpack_require__(26);
|
||||
@@ -3781,7 +3781,7 @@ module.exports = function (it) {
|
||||
|
||||
// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
|
||||
var isArray = __webpack_require__(55);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var toLength = __webpack_require__(7);
|
||||
var ctx = __webpack_require__(19);
|
||||
var IS_CONCAT_SPREADABLE = __webpack_require__(5)('isConcatSpreadable');
|
||||
@@ -4224,7 +4224,7 @@ var DESCRIPTORS = __webpack_require__(6);
|
||||
var $export = __webpack_require__(0);
|
||||
var redefine = __webpack_require__(15);
|
||||
var META = __webpack_require__(33).KEY;
|
||||
var $fails = __webpack_require__(4);
|
||||
var $fails = __webpack_require__(3);
|
||||
var shared = __webpack_require__(47);
|
||||
var setToStringTag = __webpack_require__(45);
|
||||
var uid = __webpack_require__(37);
|
||||
@@ -4234,7 +4234,7 @@ var wksDefine = __webpack_require__(70);
|
||||
var enumKeys = __webpack_require__(137);
|
||||
var isArray = __webpack_require__(55);
|
||||
var anObject = __webpack_require__(1);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var toObject = __webpack_require__(9);
|
||||
var toIObject = __webpack_require__(11);
|
||||
var toPrimitive = __webpack_require__(23);
|
||||
@@ -4579,7 +4579,7 @@ __webpack_require__(25)('getOwnPropertyNames', function () {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 19.1.2.5 Object.freeze(O)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var meta = __webpack_require__(33).onFreeze;
|
||||
|
||||
__webpack_require__(25)('freeze', function ($freeze) {
|
||||
@@ -4594,7 +4594,7 @@ __webpack_require__(25)('freeze', function ($freeze) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 19.1.2.17 Object.seal(O)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var meta = __webpack_require__(33).onFreeze;
|
||||
|
||||
__webpack_require__(25)('seal', function ($seal) {
|
||||
@@ -4609,7 +4609,7 @@ __webpack_require__(25)('seal', function ($seal) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 19.1.2.15 Object.preventExtensions(O)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var meta = __webpack_require__(33).onFreeze;
|
||||
|
||||
__webpack_require__(25)('preventExtensions', function ($preventExtensions) {
|
||||
@@ -4624,7 +4624,7 @@ __webpack_require__(25)('preventExtensions', function ($preventExtensions) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 19.1.2.12 Object.isFrozen(O)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
|
||||
__webpack_require__(25)('isFrozen', function ($isFrozen) {
|
||||
return function isFrozen(it) {
|
||||
@@ -4638,7 +4638,7 @@ __webpack_require__(25)('isFrozen', function ($isFrozen) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 19.1.2.13 Object.isSealed(O)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
|
||||
__webpack_require__(25)('isSealed', function ($isSealed) {
|
||||
return function isSealed(it) {
|
||||
@@ -4652,7 +4652,7 @@ __webpack_require__(25)('isSealed', function ($isSealed) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// 19.1.2.11 Object.isExtensible(O)
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
|
||||
__webpack_require__(25)('isExtensible', function ($isExtensible) {
|
||||
return function isExtensible(it) {
|
||||
@@ -4744,7 +4744,7 @@ NAME in FProto || __webpack_require__(6) && dP(FProto, NAME, {
|
||||
|
||||
"use strict";
|
||||
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var getPrototypeOf = __webpack_require__(17);
|
||||
var HAS_INSTANCE = __webpack_require__(5)('hasInstance');
|
||||
var FunctionProto = Function.prototype;
|
||||
@@ -4769,7 +4769,7 @@ var has = __webpack_require__(12);
|
||||
var cof = __webpack_require__(20);
|
||||
var inheritIfRequired = __webpack_require__(77);
|
||||
var toPrimitive = __webpack_require__(23);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var gOPN = __webpack_require__(39).f;
|
||||
var gOPD = __webpack_require__(16).f;
|
||||
var dP = __webpack_require__(8).f;
|
||||
@@ -4899,7 +4899,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__(4)(function () {
|
||||
) || !__webpack_require__(3)(function () {
|
||||
// V8 ~ Android 4.3-
|
||||
$toFixed.call({});
|
||||
})), 'Number', {
|
||||
@@ -4962,7 +4962,7 @@ $export($export.P + $export.F * (!!$toFixed && (
|
||||
"use strict";
|
||||
|
||||
var $export = __webpack_require__(0);
|
||||
var $fails = __webpack_require__(4);
|
||||
var $fails = __webpack_require__(3);
|
||||
var aNumberValue = __webpack_require__(105);
|
||||
var $toPrecision = 1.0.toPrecision;
|
||||
|
||||
@@ -5267,7 +5267,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__(4)(function () {
|
||||
$export($export.S + $export.F * __webpack_require__(3)(function () {
|
||||
return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
|
||||
}), 'Math', {
|
||||
imul: function imul(x, y) {
|
||||
@@ -5339,7 +5339,7 @@ var expm1 = __webpack_require__(81);
|
||||
var exp = Math.exp;
|
||||
|
||||
// V8 near Chromium 38 has a problem with very small numbers
|
||||
$export($export.S + $export.F * __webpack_require__(4)(function () {
|
||||
$export($export.S + $export.F * __webpack_require__(3)(function () {
|
||||
return !Math.sinh(-2e-17) != -2e-17;
|
||||
}), 'Math', {
|
||||
sinh: function sinh(x) {
|
||||
@@ -5818,7 +5818,7 @@ var $export = __webpack_require__(0);
|
||||
var createProperty = __webpack_require__(85);
|
||||
|
||||
// WebKit Array.of isn't generic
|
||||
$export($export.S + $export.F * __webpack_require__(4)(function () {
|
||||
$export($export.S + $export.F * __webpack_require__(3)(function () {
|
||||
function F() { /* empty */ }
|
||||
return !(Array.of.call(F) instanceof F);
|
||||
}), 'Array', {
|
||||
@@ -5867,7 +5867,7 @@ var toLength = __webpack_require__(7);
|
||||
var arraySlice = [].slice;
|
||||
|
||||
// fallback for not array-like ES3 strings and DOM objects
|
||||
$export($export.P + $export.F * __webpack_require__(4)(function () {
|
||||
$export($export.P + $export.F * __webpack_require__(3)(function () {
|
||||
if (html) arraySlice.call(html);
|
||||
}), 'Array', {
|
||||
slice: function slice(begin, end) {
|
||||
@@ -5897,7 +5897,7 @@ $export($export.P + $export.F * __webpack_require__(4)(function () {
|
||||
var $export = __webpack_require__(0);
|
||||
var aFunction = __webpack_require__(10);
|
||||
var toObject = __webpack_require__(9);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var $sort = [].sort;
|
||||
var test = [1, 2, 3];
|
||||
|
||||
@@ -5940,7 +5940,7 @@ $export($export.P + $export.F * !STRICT, 'Array', {
|
||||
/* 218 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var isArray = __webpack_require__(55);
|
||||
var SPECIES = __webpack_require__(5)('species');
|
||||
|
||||
@@ -6202,7 +6202,7 @@ var re2 = /a/g;
|
||||
// "new" creates a new object, old webkit buggy here
|
||||
var CORRECT_NEW = new $RegExp(re1) !== re1;
|
||||
|
||||
if (__webpack_require__(6) && (!CORRECT_NEW || __webpack_require__(4)(function () {
|
||||
if (__webpack_require__(6) && (!CORRECT_NEW || __webpack_require__(3)(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';
|
||||
@@ -6251,7 +6251,7 @@ var define = function (fn) {
|
||||
};
|
||||
|
||||
// 21.2.5.14 RegExp.prototype.toString()
|
||||
if (__webpack_require__(4)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
||||
if (__webpack_require__(3)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
||||
define(function toString() {
|
||||
var R = anObject(this);
|
||||
return '/'.concat(R.source, '/',
|
||||
@@ -6489,7 +6489,7 @@ var advanceStringIndex = __webpack_require__(91);
|
||||
var toLength = __webpack_require__(7);
|
||||
var callRegExpExec = __webpack_require__(61);
|
||||
var regexpExec = __webpack_require__(90);
|
||||
var fails = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var $min = Math.min;
|
||||
var $push = [].push;
|
||||
var $SPLIT = 'split';
|
||||
@@ -6627,7 +6627,7 @@ var global = __webpack_require__(2);
|
||||
var ctx = __webpack_require__(19);
|
||||
var classof = __webpack_require__(34);
|
||||
var $export = __webpack_require__(0);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var aFunction = __webpack_require__(10);
|
||||
var anInstance = __webpack_require__(42);
|
||||
var forOf = __webpack_require__(36);
|
||||
@@ -6941,7 +6941,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__(4)(function () {
|
||||
$export($export.S + $export.F * !__webpack_require__(3)(function () {
|
||||
rApply(function () { /* empty */ });
|
||||
}), 'Reflect', {
|
||||
apply: function apply(target, thisArgument, argumentsList) {
|
||||
@@ -6961,8 +6961,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__(3);
|
||||
var fails = __webpack_require__(4);
|
||||
var isObject = __webpack_require__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var bind = __webpack_require__(104);
|
||||
var rConstruct = (__webpack_require__(2).Reflect || {}).construct;
|
||||
|
||||
@@ -7016,7 +7016,7 @@ var anObject = __webpack_require__(1);
|
||||
var toPrimitive = __webpack_require__(23);
|
||||
|
||||
// MS Edge has broken Reflect.defineProperty - throwing instead of returning false
|
||||
$export($export.S + $export.F * __webpack_require__(4)(function () {
|
||||
$export($export.S + $export.F * __webpack_require__(3)(function () {
|
||||
// eslint-disable-next-line no-undef
|
||||
Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });
|
||||
}), 'Reflect', {
|
||||
@@ -7093,7 +7093,7 @@ var gOPD = __webpack_require__(16);
|
||||
var getPrototypeOf = __webpack_require__(17);
|
||||
var has = __webpack_require__(12);
|
||||
var $export = __webpack_require__(0);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var anObject = __webpack_require__(1);
|
||||
|
||||
function get(target, propertyKey /* , receiver */) {
|
||||
@@ -7218,7 +7218,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__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
|
||||
function set(target, propertyKey, V /* , receiver */) {
|
||||
var receiver = arguments.length < 4 ? target : arguments[3];
|
||||
@@ -7286,7 +7286,7 @@ var $export = __webpack_require__(0);
|
||||
var toObject = __webpack_require__(9);
|
||||
var toPrimitive = __webpack_require__(23);
|
||||
|
||||
$export($export.P + $export.F * __webpack_require__(4)(function () {
|
||||
$export($export.P + $export.F * __webpack_require__(3)(function () {
|
||||
return new Date(NaN).toJSON() !== null
|
||||
|| Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
|
||||
}), 'Date', {
|
||||
@@ -7320,7 +7320,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__(4);
|
||||
var fails = __webpack_require__(3);
|
||||
var getTime = Date.prototype.getTime;
|
||||
var $toISOString = Date.prototype.toISOString;
|
||||
|
||||
@@ -7402,7 +7402,7 @@ var buffer = __webpack_require__(96);
|
||||
var anObject = __webpack_require__(1);
|
||||
var toAbsoluteIndex = __webpack_require__(38);
|
||||
var toLength = __webpack_require__(7);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var ArrayBuffer = __webpack_require__(2).ArrayBuffer;
|
||||
var speciesConstructor = __webpack_require__(52);
|
||||
var $ArrayBuffer = buffer.ArrayBuffer;
|
||||
@@ -7421,7 +7421,7 @@ $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
|
||||
}
|
||||
});
|
||||
|
||||
$export($export.P + $export.U + $export.F * __webpack_require__(4)(function () {
|
||||
$export($export.P + $export.U + $export.F * __webpack_require__(3)(function () {
|
||||
return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
|
||||
}), ARRAY_BUFFER, {
|
||||
// 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
|
||||
@@ -7637,8 +7637,13 @@ __webpack_require__(35)('flatten');
|
||||
// https://github.com/mathiasbynens/String.prototype.at
|
||||
var $export = __webpack_require__(0);
|
||||
var $at = __webpack_require__(56)(true);
|
||||
var $fails = __webpack_require__(3);
|
||||
|
||||
$export($export.P, 'String', {
|
||||
var FORCED = $fails(function () {
|
||||
return '𠮷'.at(0) !== '𠮷';
|
||||
});
|
||||
|
||||
$export($export.P + $export.F * FORCED, 'String', {
|
||||
at: function at(pos) {
|
||||
return $at(this, pos);
|
||||
}
|
||||
@@ -8774,7 +8779,7 @@ var forOf = __webpack_require__(36);
|
||||
var isIterable = __webpack_require__(130);
|
||||
var $iterCreate = __webpack_require__(59);
|
||||
var step = __webpack_require__(89);
|
||||
var isObject = __webpack_require__(3);
|
||||
var isObject = __webpack_require__(4);
|
||||
var toIObject = __webpack_require__(11);
|
||||
var DESCRIPTORS = __webpack_require__(6);
|
||||
var has = __webpack_require__(12);
|
||||
@@ -8984,7 +8989,7 @@ $export($export.P + $export.F, 'Function', { part: __webpack_require__(131) });
|
||||
|
||||
var $export = __webpack_require__(0);
|
||||
|
||||
$export($export.S + $export.F, 'Object', { isObject: __webpack_require__(3) });
|
||||
$export($export.S + $export.F, 'Object', { isObject: __webpack_require__(4) });
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
+5
-5
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+10
-5
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* core-js 2.6.11
|
||||
* core-js 2.6.12
|
||||
* https://github.com/zloirock/core-js
|
||||
* License: http://rock.mit-license.org
|
||||
* © 2019 Denis Pushkarev
|
||||
* © 2020 Denis Pushkarev
|
||||
*/
|
||||
!function(__e, __g, undefined){
|
||||
'use strict';
|
||||
@@ -282,7 +282,7 @@ module.exports = function (it) {
|
||||
/* 12 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var core = module.exports = { version: '2.6.11' };
|
||||
var core = module.exports = { version: '2.6.12' };
|
||||
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
||||
|
||||
|
||||
@@ -1483,7 +1483,7 @@ var store = global[SHARED] || (global[SHARED] = {});
|
||||
})('versions', []).push({
|
||||
version: core.version,
|
||||
mode: __webpack_require__(30) ? 'pure' : 'global',
|
||||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
||||
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
||||
});
|
||||
|
||||
|
||||
@@ -6724,8 +6724,13 @@ __webpack_require__(33)('flatten');
|
||||
// https://github.com/mathiasbynens/String.prototype.at
|
||||
var $export = __webpack_require__(0);
|
||||
var $at = __webpack_require__(74)(true);
|
||||
var $fails = __webpack_require__(4);
|
||||
|
||||
$export($export.P, 'String', {
|
||||
var FORCED = $fails(function () {
|
||||
return '𠮷'.at(0) !== '𠮷';
|
||||
});
|
||||
|
||||
$export($export.P + $export.F * FORCED, 'String', {
|
||||
at: function at(pos) {
|
||||
return $at(this, pos);
|
||||
}
|
||||
|
||||
+4
-4
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,2 +1,2 @@
|
||||
var core = module.exports = { version: '2.6.11' };
|
||||
var core = module.exports = { version: '2.6.12' };
|
||||
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ var store = global[SHARED] || (global[SHARED] = {});
|
||||
})('versions', []).push({
|
||||
version: core.version,
|
||||
mode: require('./_library') ? 'pure' : 'global',
|
||||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
||||
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
||||
});
|
||||
|
||||
+6
-1
@@ -2,8 +2,13 @@
|
||||
// https://github.com/mathiasbynens/String.prototype.at
|
||||
var $export = require('./_export');
|
||||
var $at = require('./_string-at')(true);
|
||||
var $fails = require('./_fails');
|
||||
|
||||
$export($export.P, 'String', {
|
||||
var FORCED = $fails(function () {
|
||||
return '𠮷'.at(0) !== '𠮷';
|
||||
});
|
||||
|
||||
$export($export.P + $export.F * FORCED, 'String', {
|
||||
at: function at(pos) {
|
||||
return $at(this, pos);
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
var core = module.exports = { version: '2.6.11' };
|
||||
var core = module.exports = { version: '2.6.12' };
|
||||
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ var store = global[SHARED] || (global[SHARED] = {});
|
||||
})('versions', []).push({
|
||||
version: core.version,
|
||||
mode: require('./_library') ? 'pure' : 'global',
|
||||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
||||
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
||||
});
|
||||
|
||||
+6
-1
@@ -2,8 +2,13 @@
|
||||
// https://github.com/mathiasbynens/String.prototype.at
|
||||
var $export = require('./_export');
|
||||
var $at = require('./_string-at')(true);
|
||||
var $fails = require('./_fails');
|
||||
|
||||
$export($export.P, 'String', {
|
||||
var FORCED = $fails(function () {
|
||||
return '𠮷'.at(0) !== '𠮷';
|
||||
});
|
||||
|
||||
$export($export.P + $export.F * FORCED, 'String', {
|
||||
at: function at(pos) {
|
||||
return $at(this, pos);
|
||||
}
|
||||
|
||||
+12
-12
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"core-js@2.6.11",
|
||||
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
|
||||
"core-js@2.6.12",
|
||||
"/home/node/nuxt"
|
||||
]
|
||||
],
|
||||
"_from": "core-js@2.6.11",
|
||||
"_id": "core-js@2.6.11",
|
||||
"_from": "core-js@2.6.12",
|
||||
"_id": "core-js@2.6.12",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==",
|
||||
"_integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
|
||||
"_location": "/core-js",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "core-js@2.6.11",
|
||||
"raw": "core-js@2.6.12",
|
||||
"name": "core-js",
|
||||
"escapedName": "core-js",
|
||||
"rawSpec": "2.6.11",
|
||||
"rawSpec": "2.6.12",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.6.11"
|
||||
"fetchSpec": "2.6.12"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@nuxt/babel-preset-app"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
|
||||
"_spec": "2.6.11",
|
||||
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
|
||||
"_resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
|
||||
"_spec": "2.6.12",
|
||||
"_where": "/home/node/nuxt",
|
||||
"bugs": {
|
||||
"url": "https://github.com/zloirock/core-js/issues"
|
||||
},
|
||||
@@ -101,5 +101,5 @@
|
||||
"promises-tests": "promises-aplus-tests tests/promises-aplus/adapter",
|
||||
"test": "npm run grunt clean copy && npm run lint && npm run grunt livescript client karma:default && npm run grunt library karma:library && npm run promises-tests && npm run observables-tests && lsc tests/commonjs"
|
||||
},
|
||||
"version": "2.6.11"
|
||||
"version": "2.6.12"
|
||||
}
|
||||
|
||||
+3
-1
@@ -8,6 +8,7 @@ var ADBLOCK = is(env.ADBLOCK);
|
||||
var COLOR = is(env.npm_config_color);
|
||||
var DISABLE_OPENCOLLECTIVE = is(env.DISABLE_OPENCOLLECTIVE);
|
||||
var SILENT = ['silent', 'error', 'warn'].indexOf(env.npm_config_loglevel) !== -1;
|
||||
var OPEN_SOURCE_CONTRIBUTOR = is(env.OPEN_SOURCE_CONTRIBUTOR);
|
||||
var MINUTE = 60 * 1000;
|
||||
|
||||
// you could add a PR with an env variable for your CI detection
|
||||
@@ -15,6 +16,7 @@ var CI = [
|
||||
'BUILD_NUMBER',
|
||||
'CI',
|
||||
'CONTINUOUS_INTEGRATION',
|
||||
'DRONE',
|
||||
'RUN_ID'
|
||||
].some(function (it) { return is(env[it]); });
|
||||
|
||||
@@ -29,7 +31,7 @@ function is(it) {
|
||||
}
|
||||
|
||||
function isBannerRequired() {
|
||||
if (ADBLOCK || CI || DISABLE_OPENCOLLECTIVE || SILENT) return false;
|
||||
if (ADBLOCK || CI || DISABLE_OPENCOLLECTIVE || SILENT || OPEN_SOURCE_CONTRIBUTOR) return false;
|
||||
var file = path.join(os.tmpdir(), 'core-js-banners');
|
||||
var banners = [];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user