diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 05:01:11 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 05:02:09 +0200 |
commit | 363723fc84f7b8477592e0105aeb331ec9a017af (patch) | |
tree | 29f92724f34131bac64d6a318dd7e30612e631c7 /node_modules/core-js/library | |
parent | 5634e77ad96bfe1818f6b6ee70b7379652e5487f (diff) |
node_modules
Diffstat (limited to 'node_modules/core-js/library')
694 files changed, 3876 insertions, 3307 deletions
diff --git a/node_modules/core-js/library/core/_.js b/node_modules/core-js/library/core/_.js index 8a99f7062..2b2291e34 100644 --- a/node_modules/core-js/library/core/_.js +++ b/node_modules/core-js/library/core/_.js @@ -1,2 +1,2 @@ require('../modules/core.function.part'); -module.exports = require('../modules/_core')._;
\ No newline at end of file +module.exports = require('../modules/_core')._; diff --git a/node_modules/core-js/library/core/dict.js b/node_modules/core-js/library/core/dict.js index da84a8d88..33a8be86c 100644 --- a/node_modules/core-js/library/core/dict.js +++ b/node_modules/core-js/library/core/dict.js @@ -1,2 +1,2 @@ require('../modules/core.dict'); -module.exports = require('../modules/_core').Dict;
\ No newline at end of file +module.exports = require('../modules/_core').Dict; diff --git a/node_modules/core-js/library/core/number.js b/node_modules/core-js/library/core/number.js index 62f632c51..7f48bf70f 100644 --- a/node_modules/core-js/library/core/number.js +++ b/node_modules/core-js/library/core/number.js @@ -1,2 +1,2 @@ require('../modules/core.number.iterator'); -module.exports = require('../modules/_core').Number;
\ No newline at end of file +module.exports = require('../modules/_core').Number; diff --git a/node_modules/core-js/library/core/regexp.js b/node_modules/core-js/library/core/regexp.js index 3e04c5119..21e12a02e 100644 --- a/node_modules/core-js/library/core/regexp.js +++ b/node_modules/core-js/library/core/regexp.js @@ -1,2 +1,2 @@ require('../modules/core.regexp.escape'); -module.exports = require('../modules/_core').RegExp;
\ No newline at end of file +module.exports = require('../modules/_core').RegExp; diff --git a/node_modules/core-js/library/core/string.js b/node_modules/core-js/library/core/string.js index 8da740c6e..a8673ec92 100644 --- a/node_modules/core-js/library/core/string.js +++ b/node_modules/core-js/library/core/string.js @@ -1,3 +1,3 @@ require('../modules/core.string.escape-html'); require('../modules/core.string.unescape-html'); -module.exports = require('../modules/_core').String;
\ No newline at end of file +module.exports = require('../modules/_core').String; diff --git a/node_modules/core-js/library/es5/index.js b/node_modules/core-js/library/es5/index.js index 580f1a670..e9c6cc40f 100644 --- a/node_modules/core-js/library/es5/index.js +++ b/node_modules/core-js/library/es5/index.js @@ -34,4 +34,4 @@ require('../modules/es6.parse-int'); require('../modules/es6.parse-float'); require('../modules/es6.string.trim'); require('../modules/es6.regexp.to-string'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/es6/array.js b/node_modules/core-js/library/es6/array.js index 428d3e8c4..fdc2fbd9e 100644 --- a/node_modules/core-js/library/es6/array.js +++ b/node_modules/core-js/library/es6/array.js @@ -20,4 +20,4 @@ require('../modules/es6.array.find'); require('../modules/es6.array.find-index'); require('../modules/es6.array.species'); require('../modules/es6.array.iterator'); -module.exports = require('../modules/_core').Array;
\ No newline at end of file +module.exports = require('../modules/_core').Array; diff --git a/node_modules/core-js/library/es6/date.js b/node_modules/core-js/library/es6/date.js index dfa3be09d..b3a9158c9 100644 --- a/node_modules/core-js/library/es6/date.js +++ b/node_modules/core-js/library/es6/date.js @@ -3,4 +3,4 @@ require('../modules/es6.date.to-json'); require('../modules/es6.date.to-iso-string'); require('../modules/es6.date.to-string'); require('../modules/es6.date.to-primitive'); -module.exports = Date;
\ No newline at end of file +module.exports = Date; diff --git a/node_modules/core-js/library/es6/function.js b/node_modules/core-js/library/es6/function.js index ff685da27..b9d1ca5e7 100644 --- a/node_modules/core-js/library/es6/function.js +++ b/node_modules/core-js/library/es6/function.js @@ -1,4 +1,4 @@ require('../modules/es6.function.bind'); require('../modules/es6.function.name'); require('../modules/es6.function.has-instance'); -module.exports = require('../modules/_core').Function;
\ No newline at end of file +module.exports = require('../modules/_core').Function; diff --git a/node_modules/core-js/library/es6/index.js b/node_modules/core-js/library/es6/index.js index 59df50921..4590960c5 100644 --- a/node_modules/core-js/library/es6/index.js +++ b/node_modules/core-js/library/es6/index.js @@ -135,4 +135,4 @@ require('../modules/es6.reflect.own-keys'); require('../modules/es6.reflect.prevent-extensions'); require('../modules/es6.reflect.set'); require('../modules/es6.reflect.set-prototype-of'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/es6/map.js b/node_modules/core-js/library/es6/map.js index 50f04c1f2..b13534cd7 100644 --- a/node_modules/core-js/library/es6/map.js +++ b/node_modules/core-js/library/es6/map.js @@ -2,4 +2,4 @@ require('../modules/es6.object.to-string'); require('../modules/es6.string.iterator'); require('../modules/web.dom.iterable'); require('../modules/es6.map'); -module.exports = require('../modules/_core').Map;
\ No newline at end of file +module.exports = require('../modules/_core').Map; diff --git a/node_modules/core-js/library/es6/math.js b/node_modules/core-js/library/es6/math.js index f26b5b296..8d4b530dc 100644 --- a/node_modules/core-js/library/es6/math.js +++ b/node_modules/core-js/library/es6/math.js @@ -15,4 +15,4 @@ require('../modules/es6.math.sign'); require('../modules/es6.math.sinh'); require('../modules/es6.math.tanh'); require('../modules/es6.math.trunc'); -module.exports = require('../modules/_core').Math;
\ No newline at end of file +module.exports = require('../modules/_core').Math; diff --git a/node_modules/core-js/library/es6/number.js b/node_modules/core-js/library/es6/number.js index 1dafcda43..8b0478843 100644 --- a/node_modules/core-js/library/es6/number.js +++ b/node_modules/core-js/library/es6/number.js @@ -10,4 +10,4 @@ require('../modules/es6.number.max-safe-integer'); require('../modules/es6.number.min-safe-integer'); require('../modules/es6.number.parse-float'); require('../modules/es6.number.parse-int'); -module.exports = require('../modules/_core').Number;
\ No newline at end of file +module.exports = require('../modules/_core').Number; diff --git a/node_modules/core-js/library/es6/object.js b/node_modules/core-js/library/es6/object.js index aada8c38f..44cabee0b 100644 --- a/node_modules/core-js/library/es6/object.js +++ b/node_modules/core-js/library/es6/object.js @@ -17,4 +17,4 @@ require('../modules/es6.object.is'); require('../modules/es6.object.set-prototype-of'); require('../modules/es6.object.to-string'); -module.exports = require('../modules/_core').Object;
\ No newline at end of file +module.exports = require('../modules/_core').Object; diff --git a/node_modules/core-js/library/es6/parse-float.js b/node_modules/core-js/library/es6/parse-float.js index dad94ddbe..222a751c3 100644 --- a/node_modules/core-js/library/es6/parse-float.js +++ b/node_modules/core-js/library/es6/parse-float.js @@ -1,2 +1,2 @@ require('../modules/es6.parse-float'); -module.exports = require('../modules/_core').parseFloat;
\ No newline at end of file +module.exports = require('../modules/_core').parseFloat; diff --git a/node_modules/core-js/library/es6/parse-int.js b/node_modules/core-js/library/es6/parse-int.js index 08a20996b..d0087c7cd 100644 --- a/node_modules/core-js/library/es6/parse-int.js +++ b/node_modules/core-js/library/es6/parse-int.js @@ -1,2 +1,2 @@ require('../modules/es6.parse-int'); -module.exports = require('../modules/_core').parseInt;
\ No newline at end of file +module.exports = require('../modules/_core').parseInt; diff --git a/node_modules/core-js/library/es6/promise.js b/node_modules/core-js/library/es6/promise.js index c901c8595..19b5acf3f 100644 --- a/node_modules/core-js/library/es6/promise.js +++ b/node_modules/core-js/library/es6/promise.js @@ -2,4 +2,4 @@ require('../modules/es6.object.to-string'); require('../modules/es6.string.iterator'); require('../modules/web.dom.iterable'); require('../modules/es6.promise'); -module.exports = require('../modules/_core').Promise;
\ No newline at end of file +module.exports = require('../modules/_core').Promise; diff --git a/node_modules/core-js/library/es6/reflect.js b/node_modules/core-js/library/es6/reflect.js index 18bdb3c2e..a47e63e66 100644 --- a/node_modules/core-js/library/es6/reflect.js +++ b/node_modules/core-js/library/es6/reflect.js @@ -12,4 +12,4 @@ require('../modules/es6.reflect.own-keys'); require('../modules/es6.reflect.prevent-extensions'); require('../modules/es6.reflect.set'); require('../modules/es6.reflect.set-prototype-of'); -module.exports = require('../modules/_core').Reflect;
\ No newline at end of file +module.exports = require('../modules/_core').Reflect; diff --git a/node_modules/core-js/library/es6/regexp.js b/node_modules/core-js/library/es6/regexp.js index 27cc827f9..b862d2fb8 100644 --- a/node_modules/core-js/library/es6/regexp.js +++ b/node_modules/core-js/library/es6/regexp.js @@ -5,4 +5,4 @@ require('../modules/es6.regexp.match'); require('../modules/es6.regexp.replace'); require('../modules/es6.regexp.search'); require('../modules/es6.regexp.split'); -module.exports = require('../modules/_core').RegExp;
\ No newline at end of file +module.exports = require('../modules/_core').RegExp; diff --git a/node_modules/core-js/library/es6/set.js b/node_modules/core-js/library/es6/set.js index 2a2557ced..f46b08e5f 100644 --- a/node_modules/core-js/library/es6/set.js +++ b/node_modules/core-js/library/es6/set.js @@ -2,4 +2,4 @@ require('../modules/es6.object.to-string'); require('../modules/es6.string.iterator'); require('../modules/web.dom.iterable'); require('../modules/es6.set'); -module.exports = require('../modules/_core').Set;
\ No newline at end of file +module.exports = require('../modules/_core').Set; diff --git a/node_modules/core-js/library/es6/string.js b/node_modules/core-js/library/es6/string.js index 83033621f..1e844fee7 100644 --- a/node_modules/core-js/library/es6/string.js +++ b/node_modules/core-js/library/es6/string.js @@ -24,4 +24,4 @@ require('../modules/es6.regexp.match'); require('../modules/es6.regexp.replace'); require('../modules/es6.regexp.search'); require('../modules/es6.regexp.split'); -module.exports = require('../modules/_core').String;
\ No newline at end of file +module.exports = require('../modules/_core').String; diff --git a/node_modules/core-js/library/es6/symbol.js b/node_modules/core-js/library/es6/symbol.js index e578e3af3..543ca6fc2 100644 --- a/node_modules/core-js/library/es6/symbol.js +++ b/node_modules/core-js/library/es6/symbol.js @@ -1,3 +1,3 @@ require('../modules/es6.symbol'); require('../modules/es6.object.to-string'); -module.exports = require('../modules/_core').Symbol;
\ No newline at end of file +module.exports = require('../modules/_core').Symbol; diff --git a/node_modules/core-js/library/es6/typed.js b/node_modules/core-js/library/es6/typed.js index e0364e6c8..d2591e802 100644 --- a/node_modules/core-js/library/es6/typed.js +++ b/node_modules/core-js/library/es6/typed.js @@ -10,4 +10,4 @@ require('../modules/es6.typed.uint32-array'); require('../modules/es6.typed.float32-array'); require('../modules/es6.typed.float64-array'); require('../modules/es6.object.to-string'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/es6/weak-map.js b/node_modules/core-js/library/es6/weak-map.js index 655866c2d..223047b23 100644 --- a/node_modules/core-js/library/es6/weak-map.js +++ b/node_modules/core-js/library/es6/weak-map.js @@ -1,4 +1,4 @@ require('../modules/es6.object.to-string'); require('../modules/es6.array.iterator'); require('../modules/es6.weak-map'); -module.exports = require('../modules/_core').WeakMap;
\ No newline at end of file +module.exports = require('../modules/_core').WeakMap; diff --git a/node_modules/core-js/library/es6/weak-set.js b/node_modules/core-js/library/es6/weak-set.js index eef1af2a8..65e23df89 100644 --- a/node_modules/core-js/library/es6/weak-set.js +++ b/node_modules/core-js/library/es6/weak-set.js @@ -1,4 +1,4 @@ require('../modules/es6.object.to-string'); require('../modules/web.dom.iterable'); require('../modules/es6.weak-set'); -module.exports = require('../modules/_core').WeakSet;
\ No newline at end of file +module.exports = require('../modules/_core').WeakSet; diff --git a/node_modules/core-js/library/es7/array.js b/node_modules/core-js/library/es7/array.js index 9fb57fa64..411cf2561 100644 --- a/node_modules/core-js/library/es7/array.js +++ b/node_modules/core-js/library/es7/array.js @@ -1,2 +1,4 @@ require('../modules/es7.array.includes'); -module.exports = require('../modules/_core').Array;
\ No newline at end of file +require('../modules/es7.array.flat-map'); +require('../modules/es7.array.flatten'); +module.exports = require('../modules/_core').Array; diff --git a/node_modules/core-js/library/es7/error.js b/node_modules/core-js/library/es7/error.js index f0bb260b5..89f1b8c3e 100644 --- a/node_modules/core-js/library/es7/error.js +++ b/node_modules/core-js/library/es7/error.js @@ -1,2 +1,2 @@ require('../modules/es7.error.is-error'); -module.exports = require('../modules/_core').Error;
\ No newline at end of file +module.exports = require('../modules/_core').Error; diff --git a/node_modules/core-js/library/es7/global.js b/node_modules/core-js/library/es7/global.js new file mode 100644 index 000000000..430b1e9f1 --- /dev/null +++ b/node_modules/core-js/library/es7/global.js @@ -0,0 +1,2 @@ +require('../modules/es7.global'); +module.exports = require('../modules/_core').global; diff --git a/node_modules/core-js/library/es7/index.js b/node_modules/core-js/library/es7/index.js index b8c90b86e..3ea8ac032 100644 --- a/node_modules/core-js/library/es7/index.js +++ b/node_modules/core-js/library/es7/index.js @@ -1,4 +1,6 @@ require('../modules/es7.array.includes'); +require('../modules/es7.array.flat-map'); +require('../modules/es7.array.flatten'); require('../modules/es7.string.at'); require('../modules/es7.string.pad-start'); require('../modules/es7.string.pad-end'); @@ -16,12 +18,30 @@ require('../modules/es7.object.lookup-getter'); require('../modules/es7.object.lookup-setter'); require('../modules/es7.map.to-json'); require('../modules/es7.set.to-json'); +require('../modules/es7.map.of'); +require('../modules/es7.set.of'); +require('../modules/es7.weak-map.of'); +require('../modules/es7.weak-set.of'); +require('../modules/es7.map.from'); +require('../modules/es7.set.from'); +require('../modules/es7.weak-map.from'); +require('../modules/es7.weak-set.from'); +require('../modules/es7.global'); require('../modules/es7.system.global'); require('../modules/es7.error.is-error'); +require('../modules/es7.math.clamp'); +require('../modules/es7.math.deg-per-rad'); +require('../modules/es7.math.degrees'); +require('../modules/es7.math.fscale'); require('../modules/es7.math.iaddh'); require('../modules/es7.math.isubh'); require('../modules/es7.math.imulh'); +require('../modules/es7.math.rad-per-deg'); +require('../modules/es7.math.radians'); +require('../modules/es7.math.scale'); require('../modules/es7.math.umulh'); +require('../modules/es7.math.signbit'); +require('../modules/es7.promise.try'); require('../modules/es7.reflect.define-metadata'); require('../modules/es7.reflect.delete-metadata'); require('../modules/es7.reflect.get-metadata'); diff --git a/node_modules/core-js/library/es7/map.js b/node_modules/core-js/library/es7/map.js index dfa32fd26..a71f30a1c 100644 --- a/node_modules/core-js/library/es7/map.js +++ b/node_modules/core-js/library/es7/map.js @@ -1,2 +1,4 @@ require('../modules/es7.map.to-json'); -module.exports = require('../modules/_core').Map;
\ No newline at end of file +require('../modules/es7.map.of'); +require('../modules/es7.map.from'); +module.exports = require('../modules/_core').Map; diff --git a/node_modules/core-js/library/es7/math.js b/node_modules/core-js/library/es7/math.js index bdb8a81c3..0779a8818 100644 --- a/node_modules/core-js/library/es7/math.js +++ b/node_modules/core-js/library/es7/math.js @@ -1,5 +1,13 @@ +require('../modules/es7.math.clamp'); +require('../modules/es7.math.deg-per-rad'); +require('../modules/es7.math.degrees'); +require('../modules/es7.math.fscale'); require('../modules/es7.math.iaddh'); require('../modules/es7.math.isubh'); require('../modules/es7.math.imulh'); +require('../modules/es7.math.rad-per-deg'); +require('../modules/es7.math.radians'); +require('../modules/es7.math.scale'); require('../modules/es7.math.umulh'); +require('../modules/es7.math.signbit'); module.exports = require('../modules/_core').Math; diff --git a/node_modules/core-js/library/es7/object.js b/node_modules/core-js/library/es7/object.js index c76b754d4..d27de56f0 100644 --- a/node_modules/core-js/library/es7/object.js +++ b/node_modules/core-js/library/es7/object.js @@ -5,4 +5,4 @@ require('../modules/es7.object.define-getter'); require('../modules/es7.object.define-setter'); require('../modules/es7.object.lookup-getter'); require('../modules/es7.object.lookup-setter'); -module.exports = require('../modules/_core').Object;
\ No newline at end of file +module.exports = require('../modules/_core').Object; diff --git a/node_modules/core-js/library/es7/observable.js b/node_modules/core-js/library/es7/observable.js index 05ca51a37..4554cda4b 100644 --- a/node_modules/core-js/library/es7/observable.js +++ b/node_modules/core-js/library/es7/observable.js @@ -4,4 +4,4 @@ require('../modules/web.dom.iterable'); require('../modules/es6.promise'); require('../modules/es7.symbol.observable'); require('../modules/es7.observable'); -module.exports = require('../modules/_core').Observable;
\ No newline at end of file +module.exports = require('../modules/_core').Observable; diff --git a/node_modules/core-js/library/es7/promise.js b/node_modules/core-js/library/es7/promise.js new file mode 100644 index 000000000..ae2c9901e --- /dev/null +++ b/node_modules/core-js/library/es7/promise.js @@ -0,0 +1,3 @@ +require('../modules/es7.promise.finally'); +require('../modules/es7.promise.try'); +module.exports = require('../modules/_core').Promise; diff --git a/node_modules/core-js/library/es7/set.js b/node_modules/core-js/library/es7/set.js index b5c19c44f..a4dc3c5a5 100644 --- a/node_modules/core-js/library/es7/set.js +++ b/node_modules/core-js/library/es7/set.js @@ -1,2 +1,4 @@ require('../modules/es7.set.to-json'); -module.exports = require('../modules/_core').Set;
\ No newline at end of file +require('../modules/es7.set.of'); +require('../modules/es7.set.from'); +module.exports = require('../modules/_core').Set; diff --git a/node_modules/core-js/library/es7/symbol.js b/node_modules/core-js/library/es7/symbol.js index 14d90eec7..7a826abae 100644 --- a/node_modules/core-js/library/es7/symbol.js +++ b/node_modules/core-js/library/es7/symbol.js @@ -1,3 +1,3 @@ require('../modules/es7.symbol.async-iterator'); require('../modules/es7.symbol.observable'); -module.exports = require('../modules/_core').Symbol;
\ No newline at end of file +module.exports = require('../modules/_core').Symbol; diff --git a/node_modules/core-js/library/es7/system.js b/node_modules/core-js/library/es7/system.js index 6d321c780..59254b110 100644 --- a/node_modules/core-js/library/es7/system.js +++ b/node_modules/core-js/library/es7/system.js @@ -1,2 +1,2 @@ require('../modules/es7.system.global'); -module.exports = require('../modules/_core').System;
\ No newline at end of file +module.exports = require('../modules/_core').System; diff --git a/node_modules/core-js/library/es7/weak-map.js b/node_modules/core-js/library/es7/weak-map.js new file mode 100644 index 000000000..9868b9aee --- /dev/null +++ b/node_modules/core-js/library/es7/weak-map.js @@ -0,0 +1,3 @@ +require('../modules/es7.weak-map.of'); +require('../modules/es7.weak-map.from'); +module.exports = require('../modules/_core').WeakMap; diff --git a/node_modules/core-js/library/es7/weak-set.js b/node_modules/core-js/library/es7/weak-set.js new file mode 100644 index 000000000..93b3127a4 --- /dev/null +++ b/node_modules/core-js/library/es7/weak-set.js @@ -0,0 +1,3 @@ +require('../modules/es7.weak-set.of'); +require('../modules/es7.weak-set.from'); +module.exports = require('../modules/_core').WeakSet; diff --git a/node_modules/core-js/library/fn/_.js b/node_modules/core-js/library/fn/_.js index 8a99f7062..2b2291e34 100644 --- a/node_modules/core-js/library/fn/_.js +++ b/node_modules/core-js/library/fn/_.js @@ -1,2 +1,2 @@ require('../modules/core.function.part'); -module.exports = require('../modules/_core')._;
\ No newline at end of file +module.exports = require('../modules/_core')._; diff --git a/node_modules/core-js/library/fn/array/concat.js b/node_modules/core-js/library/fn/array/concat.js index de4bddf96..11f6e3428 100644 --- a/node_modules/core-js/library/fn/array/concat.js +++ b/node_modules/core-js/library/fn/array/concat.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.concat, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/copy-within.js b/node_modules/core-js/library/fn/array/copy-within.js index 89e1de4ff..ae95f8792 100644 --- a/node_modules/core-js/library/fn/array/copy-within.js +++ b/node_modules/core-js/library/fn/array/copy-within.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.copy-within'); -module.exports = require('../../modules/_core').Array.copyWithin;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.copyWithin; diff --git a/node_modules/core-js/library/fn/array/entries.js b/node_modules/core-js/library/fn/array/entries.js index f4feb26c2..5225c21db 100644 --- a/node_modules/core-js/library/fn/array/entries.js +++ b/node_modules/core-js/library/fn/array/entries.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.iterator'); -module.exports = require('../../modules/_core').Array.entries;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.entries; diff --git a/node_modules/core-js/library/fn/array/every.js b/node_modules/core-js/library/fn/array/every.js index 168844cc5..21856efa4 100644 --- a/node_modules/core-js/library/fn/array/every.js +++ b/node_modules/core-js/library/fn/array/every.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.every'); -module.exports = require('../../modules/_core').Array.every;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.every; diff --git a/node_modules/core-js/library/fn/array/fill.js b/node_modules/core-js/library/fn/array/fill.js index b23ebfdee..482fd4600 100644 --- a/node_modules/core-js/library/fn/array/fill.js +++ b/node_modules/core-js/library/fn/array/fill.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.fill'); -module.exports = require('../../modules/_core').Array.fill;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.fill; diff --git a/node_modules/core-js/library/fn/array/filter.js b/node_modules/core-js/library/fn/array/filter.js index 0023f0de0..2d88acd16 100644 --- a/node_modules/core-js/library/fn/array/filter.js +++ b/node_modules/core-js/library/fn/array/filter.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.filter'); -module.exports = require('../../modules/_core').Array.filter;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.filter; diff --git a/node_modules/core-js/library/fn/array/find-index.js b/node_modules/core-js/library/fn/array/find-index.js index 99e6bf17b..d5b64ba80 100644 --- a/node_modules/core-js/library/fn/array/find-index.js +++ b/node_modules/core-js/library/fn/array/find-index.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.find-index'); -module.exports = require('../../modules/_core').Array.findIndex;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.findIndex; diff --git a/node_modules/core-js/library/fn/array/find.js b/node_modules/core-js/library/fn/array/find.js index f146ec224..c05c81d1f 100644 --- a/node_modules/core-js/library/fn/array/find.js +++ b/node_modules/core-js/library/fn/array/find.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.find'); -module.exports = require('../../modules/_core').Array.find;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.find; diff --git a/node_modules/core-js/library/fn/array/flat-map.js b/node_modules/core-js/library/fn/array/flat-map.js new file mode 100644 index 000000000..f6a7429eb --- /dev/null +++ b/node_modules/core-js/library/fn/array/flat-map.js @@ -0,0 +1,2 @@ +require('../../modules/es7.array.flat-map'); +module.exports = require('../../modules/_core').Array.flatMap; diff --git a/node_modules/core-js/library/fn/array/flatten.js b/node_modules/core-js/library/fn/array/flatten.js new file mode 100644 index 000000000..fbacd83c7 --- /dev/null +++ b/node_modules/core-js/library/fn/array/flatten.js @@ -0,0 +1,2 @@ +require('../../modules/es7.array.flatten'); +module.exports = require('../../modules/_core').Array.flatten; diff --git a/node_modules/core-js/library/fn/array/for-each.js b/node_modules/core-js/library/fn/array/for-each.js index 09e235f95..75c596323 100644 --- a/node_modules/core-js/library/fn/array/for-each.js +++ b/node_modules/core-js/library/fn/array/for-each.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.for-each'); -module.exports = require('../../modules/_core').Array.forEach;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.forEach; diff --git a/node_modules/core-js/library/fn/array/from.js b/node_modules/core-js/library/fn/array/from.js index 1f323fbc3..243b8a859 100644 --- a/node_modules/core-js/library/fn/array/from.js +++ b/node_modules/core-js/library/fn/array/from.js @@ -1,3 +1,3 @@ require('../../modules/es6.string.iterator'); require('../../modules/es6.array.from'); -module.exports = require('../../modules/_core').Array.from;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.from; diff --git a/node_modules/core-js/library/fn/array/includes.js b/node_modules/core-js/library/fn/array/includes.js index 851d31fd1..d0e8a4e40 100644 --- a/node_modules/core-js/library/fn/array/includes.js +++ b/node_modules/core-js/library/fn/array/includes.js @@ -1,2 +1,2 @@ require('../../modules/es7.array.includes'); -module.exports = require('../../modules/_core').Array.includes;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.includes; diff --git a/node_modules/core-js/library/fn/array/index-of.js b/node_modules/core-js/library/fn/array/index-of.js index 9ed824727..b9c0f4a5b 100644 --- a/node_modules/core-js/library/fn/array/index-of.js +++ b/node_modules/core-js/library/fn/array/index-of.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.index-of'); -module.exports = require('../../modules/_core').Array.indexOf;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.indexOf; diff --git a/node_modules/core-js/library/fn/array/index.js b/node_modules/core-js/library/fn/array/index.js index 85bc77bc8..ca8a9c906 100644 --- a/node_modules/core-js/library/fn/array/index.js +++ b/node_modules/core-js/library/fn/array/index.js @@ -21,4 +21,6 @@ require('../../modules/es6.array.find-index'); require('../../modules/es6.array.species'); require('../../modules/es6.array.iterator'); require('../../modules/es7.array.includes'); -module.exports = require('../../modules/_core').Array;
\ No newline at end of file +require('../../modules/es7.array.flat-map'); +require('../../modules/es7.array.flatten'); +module.exports = require('../../modules/_core').Array; diff --git a/node_modules/core-js/library/fn/array/is-array.js b/node_modules/core-js/library/fn/array/is-array.js index bbe76719e..d74b3a0b1 100644 --- a/node_modules/core-js/library/fn/array/is-array.js +++ b/node_modules/core-js/library/fn/array/is-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.is-array'); -module.exports = require('../../modules/_core').Array.isArray;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.isArray; diff --git a/node_modules/core-js/library/fn/array/iterator.js b/node_modules/core-js/library/fn/array/iterator.js index ca93b78ab..86ac1ecf0 100644 --- a/node_modules/core-js/library/fn/array/iterator.js +++ b/node_modules/core-js/library/fn/array/iterator.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.iterator'); -module.exports = require('../../modules/_core').Array.values;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.values; diff --git a/node_modules/core-js/library/fn/array/join.js b/node_modules/core-js/library/fn/array/join.js index 9beef18d0..55003284b 100644 --- a/node_modules/core-js/library/fn/array/join.js +++ b/node_modules/core-js/library/fn/array/join.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.join'); -module.exports = require('../../modules/_core').Array.join;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.join; diff --git a/node_modules/core-js/library/fn/array/keys.js b/node_modules/core-js/library/fn/array/keys.js index b44b921f7..7f2407496 100644 --- a/node_modules/core-js/library/fn/array/keys.js +++ b/node_modules/core-js/library/fn/array/keys.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.iterator'); -module.exports = require('../../modules/_core').Array.keys;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.keys; diff --git a/node_modules/core-js/library/fn/array/last-index-of.js b/node_modules/core-js/library/fn/array/last-index-of.js index 6dcc98a10..db9e77093 100644 --- a/node_modules/core-js/library/fn/array/last-index-of.js +++ b/node_modules/core-js/library/fn/array/last-index-of.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.last-index-of'); -module.exports = require('../../modules/_core').Array.lastIndexOf;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.lastIndexOf; diff --git a/node_modules/core-js/library/fn/array/map.js b/node_modules/core-js/library/fn/array/map.js index 14b0f6279..4845b566f 100644 --- a/node_modules/core-js/library/fn/array/map.js +++ b/node_modules/core-js/library/fn/array/map.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.map'); -module.exports = require('../../modules/_core').Array.map;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.map; diff --git a/node_modules/core-js/library/fn/array/of.js b/node_modules/core-js/library/fn/array/of.js index 652ee9808..8dab11d74 100644 --- a/node_modules/core-js/library/fn/array/of.js +++ b/node_modules/core-js/library/fn/array/of.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.of'); -module.exports = require('../../modules/_core').Array.of;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.of; diff --git a/node_modules/core-js/library/fn/array/pop.js b/node_modules/core-js/library/fn/array/pop.js index b8414f616..55e7fe7a7 100644 --- a/node_modules/core-js/library/fn/array/pop.js +++ b/node_modules/core-js/library/fn/array/pop.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.pop, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/push.js b/node_modules/core-js/library/fn/array/push.js index 03539009e..5e61e5079 100644 --- a/node_modules/core-js/library/fn/array/push.js +++ b/node_modules/core-js/library/fn/array/push.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.push, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/reduce-right.js b/node_modules/core-js/library/fn/array/reduce-right.js index 1193ecbae..fb5109b4b 100644 --- a/node_modules/core-js/library/fn/array/reduce-right.js +++ b/node_modules/core-js/library/fn/array/reduce-right.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.reduce-right'); -module.exports = require('../../modules/_core').Array.reduceRight;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.reduceRight; diff --git a/node_modules/core-js/library/fn/array/reduce.js b/node_modules/core-js/library/fn/array/reduce.js index e2dee913e..fd5112df4 100644 --- a/node_modules/core-js/library/fn/array/reduce.js +++ b/node_modules/core-js/library/fn/array/reduce.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.reduce'); -module.exports = require('../../modules/_core').Array.reduce;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.reduce; diff --git a/node_modules/core-js/library/fn/array/reverse.js b/node_modules/core-js/library/fn/array/reverse.js index 607342934..3226b3100 100644 --- a/node_modules/core-js/library/fn/array/reverse.js +++ b/node_modules/core-js/library/fn/array/reverse.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.reverse, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/shift.js b/node_modules/core-js/library/fn/array/shift.js index 5002a6062..9dad2f0c5 100644 --- a/node_modules/core-js/library/fn/array/shift.js +++ b/node_modules/core-js/library/fn/array/shift.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.shift, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/slice.js b/node_modules/core-js/library/fn/array/slice.js index 4914c2a98..1d54e801c 100644 --- a/node_modules/core-js/library/fn/array/slice.js +++ b/node_modules/core-js/library/fn/array/slice.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.slice'); -module.exports = require('../../modules/_core').Array.slice;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.slice; diff --git a/node_modules/core-js/library/fn/array/some.js b/node_modules/core-js/library/fn/array/some.js index de284006e..7a1f47114 100644 --- a/node_modules/core-js/library/fn/array/some.js +++ b/node_modules/core-js/library/fn/array/some.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.some'); -module.exports = require('../../modules/_core').Array.some;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.some; diff --git a/node_modules/core-js/library/fn/array/sort.js b/node_modules/core-js/library/fn/array/sort.js index 29b6f3ae7..120a30be8 100644 --- a/node_modules/core-js/library/fn/array/sort.js +++ b/node_modules/core-js/library/fn/array/sort.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.sort'); -module.exports = require('../../modules/_core').Array.sort;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.sort; diff --git a/node_modules/core-js/library/fn/array/splice.js b/node_modules/core-js/library/fn/array/splice.js index 9d0bdbed4..8849bb163 100644 --- a/node_modules/core-js/library/fn/array/splice.js +++ b/node_modules/core-js/library/fn/array/splice.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.splice, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/unshift.js b/node_modules/core-js/library/fn/array/unshift.js index 63fe2dd86..9691917fd 100644 --- a/node_modules/core-js/library/fn/array/unshift.js +++ b/node_modules/core-js/library/fn/array/unshift.js @@ -1,4 +1,4 @@ // for a legacy code and future fixes -module.exports = function(){ +module.exports = function () { return Function.call.apply(Array.prototype.unshift, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/array/values.js b/node_modules/core-js/library/fn/array/values.js index ca93b78ab..86ac1ecf0 100644 --- a/node_modules/core-js/library/fn/array/values.js +++ b/node_modules/core-js/library/fn/array/values.js @@ -1,2 +1,2 @@ require('../../modules/es6.array.iterator'); -module.exports = require('../../modules/_core').Array.values;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.values; diff --git a/node_modules/core-js/library/fn/array/virtual/copy-within.js b/node_modules/core-js/library/fn/array/virtual/copy-within.js index 62172a9e3..a0ba8fd58 100644 --- a/node_modules/core-js/library/fn/array/virtual/copy-within.js +++ b/node_modules/core-js/library/fn/array/virtual/copy-within.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.copy-within'); -module.exports = require('../../../modules/_entry-virtual')('Array').copyWithin;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').copyWithin; diff --git a/node_modules/core-js/library/fn/array/virtual/entries.js b/node_modules/core-js/library/fn/array/virtual/entries.js index 1b198e3cc..1d398ef1a 100644 --- a/node_modules/core-js/library/fn/array/virtual/entries.js +++ b/node_modules/core-js/library/fn/array/virtual/entries.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.iterator'); -module.exports = require('../../../modules/_entry-virtual')('Array').entries;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').entries; diff --git a/node_modules/core-js/library/fn/array/virtual/every.js b/node_modules/core-js/library/fn/array/virtual/every.js index a72e58510..54dd1b83d 100644 --- a/node_modules/core-js/library/fn/array/virtual/every.js +++ b/node_modules/core-js/library/fn/array/virtual/every.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.every'); -module.exports = require('../../../modules/_entry-virtual')('Array').every;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').every; diff --git a/node_modules/core-js/library/fn/array/virtual/fill.js b/node_modules/core-js/library/fn/array/virtual/fill.js index 6018b37bf..06ca5e337 100644 --- a/node_modules/core-js/library/fn/array/virtual/fill.js +++ b/node_modules/core-js/library/fn/array/virtual/fill.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.fill'); -module.exports = require('../../../modules/_entry-virtual')('Array').fill;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').fill; diff --git a/node_modules/core-js/library/fn/array/virtual/filter.js b/node_modules/core-js/library/fn/array/virtual/filter.js index 46a14f1c4..93b018921 100644 --- a/node_modules/core-js/library/fn/array/virtual/filter.js +++ b/node_modules/core-js/library/fn/array/virtual/filter.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.filter'); -module.exports = require('../../../modules/_entry-virtual')('Array').filter;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').filter; diff --git a/node_modules/core-js/library/fn/array/virtual/find-index.js b/node_modules/core-js/library/fn/array/virtual/find-index.js index ef96165fd..9e63c7cf5 100644 --- a/node_modules/core-js/library/fn/array/virtual/find-index.js +++ b/node_modules/core-js/library/fn/array/virtual/find-index.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.find-index'); -module.exports = require('../../../modules/_entry-virtual')('Array').findIndex;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').findIndex; diff --git a/node_modules/core-js/library/fn/array/virtual/find.js b/node_modules/core-js/library/fn/array/virtual/find.js index 6cffee5b5..f03ed82e4 100644 --- a/node_modules/core-js/library/fn/array/virtual/find.js +++ b/node_modules/core-js/library/fn/array/virtual/find.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.find'); -module.exports = require('../../../modules/_entry-virtual')('Array').find;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').find; diff --git a/node_modules/core-js/library/fn/array/virtual/flat-map.js b/node_modules/core-js/library/fn/array/virtual/flat-map.js new file mode 100644 index 000000000..27abd1978 --- /dev/null +++ b/node_modules/core-js/library/fn/array/virtual/flat-map.js @@ -0,0 +1,2 @@ +require('../../../modules/es7.array.flat-map'); +module.exports = require('../../../modules/_entry-virtual')('Array').flatMap; diff --git a/node_modules/core-js/library/fn/array/virtual/flatten.js b/node_modules/core-js/library/fn/array/virtual/flatten.js new file mode 100644 index 000000000..10f0a1478 --- /dev/null +++ b/node_modules/core-js/library/fn/array/virtual/flatten.js @@ -0,0 +1,2 @@ +require('../../../modules/es7.array.flatten'); +module.exports = require('../../../modules/_entry-virtual')('Array').flatten; diff --git a/node_modules/core-js/library/fn/array/virtual/for-each.js b/node_modules/core-js/library/fn/array/virtual/for-each.js index 0c3ed4492..f9e68fa13 100644 --- a/node_modules/core-js/library/fn/array/virtual/for-each.js +++ b/node_modules/core-js/library/fn/array/virtual/for-each.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.for-each'); -module.exports = require('../../../modules/_entry-virtual')('Array').forEach;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').forEach; diff --git a/node_modules/core-js/library/fn/array/virtual/includes.js b/node_modules/core-js/library/fn/array/virtual/includes.js index bf9031d74..8a18ca9ac 100644 --- a/node_modules/core-js/library/fn/array/virtual/includes.js +++ b/node_modules/core-js/library/fn/array/virtual/includes.js @@ -1,2 +1,2 @@ require('../../../modules/es7.array.includes'); -module.exports = require('../../../modules/_entry-virtual')('Array').includes;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').includes; diff --git a/node_modules/core-js/library/fn/array/virtual/index-of.js b/node_modules/core-js/library/fn/array/virtual/index-of.js index cf6f36e3b..4afc64163 100644 --- a/node_modules/core-js/library/fn/array/virtual/index-of.js +++ b/node_modules/core-js/library/fn/array/virtual/index-of.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.index-of'); -module.exports = require('../../../modules/_entry-virtual')('Array').indexOf;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').indexOf; diff --git a/node_modules/core-js/library/fn/array/virtual/index.js b/node_modules/core-js/library/fn/array/virtual/index.js index ff554a2a1..e55e9f015 100644 --- a/node_modules/core-js/library/fn/array/virtual/index.js +++ b/node_modules/core-js/library/fn/array/virtual/index.js @@ -17,4 +17,4 @@ require('../../../modules/es6.array.fill'); require('../../../modules/es6.array.find'); require('../../../modules/es6.array.find-index'); require('../../../modules/es7.array.includes'); -module.exports = require('../../../modules/_entry-virtual')('Array');
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array'); diff --git a/node_modules/core-js/library/fn/array/virtual/iterator.js b/node_modules/core-js/library/fn/array/virtual/iterator.js index 7812b3c92..f0257b0de 100644 --- a/node_modules/core-js/library/fn/array/virtual/iterator.js +++ b/node_modules/core-js/library/fn/array/virtual/iterator.js @@ -1,2 +1,2 @@ require('../../../modules/core.number.iterator'); -module.exports = require('../../../modules/_iterators').Array;
\ No newline at end of file +module.exports = require('../../../modules/_iterators').Array; diff --git a/node_modules/core-js/library/fn/array/virtual/join.js b/node_modules/core-js/library/fn/array/virtual/join.js index 3f7d5cff9..3a54d115e 100644 --- a/node_modules/core-js/library/fn/array/virtual/join.js +++ b/node_modules/core-js/library/fn/array/virtual/join.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.join'); -module.exports = require('../../../modules/_entry-virtual')('Array').join;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').join; diff --git a/node_modules/core-js/library/fn/array/virtual/keys.js b/node_modules/core-js/library/fn/array/virtual/keys.js index 16c09681f..a945a32fe 100644 --- a/node_modules/core-js/library/fn/array/virtual/keys.js +++ b/node_modules/core-js/library/fn/array/virtual/keys.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.iterator'); -module.exports = require('../../../modules/_entry-virtual')('Array').keys;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').keys; diff --git a/node_modules/core-js/library/fn/array/virtual/last-index-of.js b/node_modules/core-js/library/fn/array/virtual/last-index-of.js index cdd79b7d5..6140121ec 100644 --- a/node_modules/core-js/library/fn/array/virtual/last-index-of.js +++ b/node_modules/core-js/library/fn/array/virtual/last-index-of.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.last-index-of'); -module.exports = require('../../../modules/_entry-virtual')('Array').lastIndexOf;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').lastIndexOf; diff --git a/node_modules/core-js/library/fn/array/virtual/map.js b/node_modules/core-js/library/fn/array/virtual/map.js index 14bffdac0..df2d95a47 100644 --- a/node_modules/core-js/library/fn/array/virtual/map.js +++ b/node_modules/core-js/library/fn/array/virtual/map.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.map'); -module.exports = require('../../../modules/_entry-virtual')('Array').map;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').map; diff --git a/node_modules/core-js/library/fn/array/virtual/reduce-right.js b/node_modules/core-js/library/fn/array/virtual/reduce-right.js index 61313e8f2..d0fa2d8c4 100644 --- a/node_modules/core-js/library/fn/array/virtual/reduce-right.js +++ b/node_modules/core-js/library/fn/array/virtual/reduce-right.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.reduce-right'); -module.exports = require('../../../modules/_entry-virtual')('Array').reduceRight;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').reduceRight; diff --git a/node_modules/core-js/library/fn/array/virtual/reduce.js b/node_modules/core-js/library/fn/array/virtual/reduce.js index 1b059053d..18eee3cac 100644 --- a/node_modules/core-js/library/fn/array/virtual/reduce.js +++ b/node_modules/core-js/library/fn/array/virtual/reduce.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.reduce'); -module.exports = require('../../../modules/_entry-virtual')('Array').reduce;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').reduce; diff --git a/node_modules/core-js/library/fn/array/virtual/slice.js b/node_modules/core-js/library/fn/array/virtual/slice.js index b28d1abcc..5a72e3f8d 100644 --- a/node_modules/core-js/library/fn/array/virtual/slice.js +++ b/node_modules/core-js/library/fn/array/virtual/slice.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.slice'); -module.exports = require('../../../modules/_entry-virtual')('Array').slice;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').slice; diff --git a/node_modules/core-js/library/fn/array/virtual/some.js b/node_modules/core-js/library/fn/array/virtual/some.js index 58c183c55..15c9613b5 100644 --- a/node_modules/core-js/library/fn/array/virtual/some.js +++ b/node_modules/core-js/library/fn/array/virtual/some.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.some'); -module.exports = require('../../../modules/_entry-virtual')('Array').some;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').some; diff --git a/node_modules/core-js/library/fn/array/virtual/sort.js b/node_modules/core-js/library/fn/array/virtual/sort.js index c8883150b..4a3069e90 100644 --- a/node_modules/core-js/library/fn/array/virtual/sort.js +++ b/node_modules/core-js/library/fn/array/virtual/sort.js @@ -1,2 +1,2 @@ require('../../../modules/es6.array.sort'); -module.exports = require('../../../modules/_entry-virtual')('Array').sort;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Array').sort; diff --git a/node_modules/core-js/library/fn/array/virtual/values.js b/node_modules/core-js/library/fn/array/virtual/values.js index 7812b3c92..f0257b0de 100644 --- a/node_modules/core-js/library/fn/array/virtual/values.js +++ b/node_modules/core-js/library/fn/array/virtual/values.js @@ -1,2 +1,2 @@ require('../../../modules/core.number.iterator'); -module.exports = require('../../../modules/_iterators').Array;
\ No newline at end of file +module.exports = require('../../../modules/_iterators').Array; diff --git a/node_modules/core-js/library/fn/asap.js b/node_modules/core-js/library/fn/asap.js index 9d9c80d13..cc90f7e54 100644 --- a/node_modules/core-js/library/fn/asap.js +++ b/node_modules/core-js/library/fn/asap.js @@ -1,2 +1,2 @@ require('../modules/es7.asap'); -module.exports = require('../modules/_core').asap;
\ No newline at end of file +module.exports = require('../modules/_core').asap; diff --git a/node_modules/core-js/library/fn/clear-immediate.js b/node_modules/core-js/library/fn/clear-immediate.js index 86916a06c..7bfce0e90 100644 --- a/node_modules/core-js/library/fn/clear-immediate.js +++ b/node_modules/core-js/library/fn/clear-immediate.js @@ -1,2 +1,2 @@ require('../modules/web.immediate'); -module.exports = require('../modules/_core').clearImmediate;
\ No newline at end of file +module.exports = require('../modules/_core').clearImmediate; diff --git a/node_modules/core-js/library/fn/date/index.js b/node_modules/core-js/library/fn/date/index.js index bd9ce0e2d..f2f77657e 100644 --- a/node_modules/core-js/library/fn/date/index.js +++ b/node_modules/core-js/library/fn/date/index.js @@ -3,4 +3,4 @@ require('../../modules/es6.date.to-json'); require('../../modules/es6.date.to-iso-string'); require('../../modules/es6.date.to-string'); require('../../modules/es6.date.to-primitive'); -module.exports = require('../../modules/_core').Date;
\ No newline at end of file +module.exports = require('../../modules/_core').Date; diff --git a/node_modules/core-js/library/fn/date/now.js b/node_modules/core-js/library/fn/date/now.js index c70d37ae3..3b72d3904 100644 --- a/node_modules/core-js/library/fn/date/now.js +++ b/node_modules/core-js/library/fn/date/now.js @@ -1,2 +1,2 @@ require('../../modules/es6.date.now'); -module.exports = require('../../modules/_core').Date.now;
\ No newline at end of file +module.exports = require('../../modules/_core').Date.now; diff --git a/node_modules/core-js/library/fn/date/to-iso-string.js b/node_modules/core-js/library/fn/date/to-iso-string.js index be4ac2187..f6fc3c3b2 100644 --- a/node_modules/core-js/library/fn/date/to-iso-string.js +++ b/node_modules/core-js/library/fn/date/to-iso-string.js @@ -1,3 +1,3 @@ require('../../modules/es6.date.to-json'); require('../../modules/es6.date.to-iso-string'); -module.exports = require('../../modules/_core').Date.toISOString;
\ No newline at end of file +module.exports = require('../../modules/_core').Date.toISOString; diff --git a/node_modules/core-js/library/fn/date/to-json.js b/node_modules/core-js/library/fn/date/to-json.js index 9dc8cc902..3b9e4d5c4 100644 --- a/node_modules/core-js/library/fn/date/to-json.js +++ b/node_modules/core-js/library/fn/date/to-json.js @@ -1,2 +1,2 @@ require('../../modules/es6.date.to-json'); -module.exports = require('../../modules/_core').Date.toJSON;
\ No newline at end of file +module.exports = require('../../modules/_core').Date.toJSON; diff --git a/node_modules/core-js/library/fn/date/to-primitive.js b/node_modules/core-js/library/fn/date/to-primitive.js index 4d7471e26..a00a8d0d2 100644 --- a/node_modules/core-js/library/fn/date/to-primitive.js +++ b/node_modules/core-js/library/fn/date/to-primitive.js @@ -1,5 +1,5 @@ require('../../modules/es6.date.to-primitive'); var toPrimitive = require('../../modules/_date-to-primitive'); -module.exports = function(it, hint){ +module.exports = function (it, hint) { return toPrimitive.call(it, hint); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/date/to-string.js b/node_modules/core-js/library/fn/date/to-string.js index c39d55227..fa6364d02 100644 --- a/node_modules/core-js/library/fn/date/to-string.js +++ b/node_modules/core-js/library/fn/date/to-string.js @@ -1,5 +1,5 @@ -require('../../modules/es6.date.to-string') +require('../../modules/es6.date.to-string'); var $toString = Date.prototype.toString; -module.exports = function toString(it){ +module.exports = function toString(it) { return $toString.call(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/dict.js b/node_modules/core-js/library/fn/dict.js index da84a8d88..33a8be86c 100644 --- a/node_modules/core-js/library/fn/dict.js +++ b/node_modules/core-js/library/fn/dict.js @@ -1,2 +1,2 @@ require('../modules/core.dict'); -module.exports = require('../modules/_core').Dict;
\ No newline at end of file +module.exports = require('../modules/_core').Dict; diff --git a/node_modules/core-js/library/fn/dom-collections/index.js b/node_modules/core-js/library/fn/dom-collections/index.js index 3928a09fc..67c531a23 100644 --- a/node_modules/core-js/library/fn/dom-collections/index.js +++ b/node_modules/core-js/library/fn/dom-collections/index.js @@ -1,8 +1,8 @@ require('../../modules/web.dom.iterable'); var $iterators = require('../../modules/es6.array.iterator'); module.exports = { - keys: $iterators.keys, - values: $iterators.values, - entries: $iterators.entries, + keys: $iterators.keys, + values: $iterators.values, + entries: $iterators.entries, iterator: $iterators.values -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/dom-collections/iterator.js b/node_modules/core-js/library/fn/dom-collections/iterator.js index ad9836457..26c846ca6 100644 --- a/node_modules/core-js/library/fn/dom-collections/iterator.js +++ b/node_modules/core-js/library/fn/dom-collections/iterator.js @@ -1,2 +1,2 @@ require('../../modules/web.dom.iterable'); -module.exports = require('../../modules/_core').Array.values;
\ No newline at end of file +module.exports = require('../../modules/_core').Array.values; diff --git a/node_modules/core-js/library/fn/error/index.js b/node_modules/core-js/library/fn/error/index.js index 59571ac21..fa594db62 100644 --- a/node_modules/core-js/library/fn/error/index.js +++ b/node_modules/core-js/library/fn/error/index.js @@ -1,2 +1,2 @@ require('../../modules/es7.error.is-error'); -module.exports = require('../../modules/_core').Error;
\ No newline at end of file +module.exports = require('../../modules/_core').Error; diff --git a/node_modules/core-js/library/fn/error/is-error.js b/node_modules/core-js/library/fn/error/is-error.js index e15b7201b..62fa1faaf 100644 --- a/node_modules/core-js/library/fn/error/is-error.js +++ b/node_modules/core-js/library/fn/error/is-error.js @@ -1,2 +1,2 @@ require('../../modules/es7.error.is-error'); -module.exports = require('../../modules/_core').Error.isError;
\ No newline at end of file +module.exports = require('../../modules/_core').Error.isError; diff --git a/node_modules/core-js/library/fn/function/bind.js b/node_modules/core-js/library/fn/function/bind.js index 38e179e6e..9cc66d26f 100644 --- a/node_modules/core-js/library/fn/function/bind.js +++ b/node_modules/core-js/library/fn/function/bind.js @@ -1,2 +1,2 @@ require('../../modules/es6.function.bind'); -module.exports = require('../../modules/_core').Function.bind;
\ No newline at end of file +module.exports = require('../../modules/_core').Function.bind; diff --git a/node_modules/core-js/library/fn/function/has-instance.js b/node_modules/core-js/library/fn/function/has-instance.js index 78397e5f7..2bb8ba0a2 100644 --- a/node_modules/core-js/library/fn/function/has-instance.js +++ b/node_modules/core-js/library/fn/function/has-instance.js @@ -1,2 +1,2 @@ require('../../modules/es6.function.has-instance'); -module.exports = Function[require('../../modules/_wks')('hasInstance')];
\ No newline at end of file +module.exports = Function[require('../../modules/_wks')('hasInstance')]; diff --git a/node_modules/core-js/library/fn/function/name.js b/node_modules/core-js/library/fn/function/name.js index cb70bf155..bbf57155c 100644 --- a/node_modules/core-js/library/fn/function/name.js +++ b/node_modules/core-js/library/fn/function/name.js @@ -1 +1 @@ -require('../../modules/es6.function.name');
\ No newline at end of file +require('../../modules/es6.function.name'); diff --git a/node_modules/core-js/library/fn/function/part.js b/node_modules/core-js/library/fn/function/part.js index 926e2cc2a..f3c6f56d2 100644 --- a/node_modules/core-js/library/fn/function/part.js +++ b/node_modules/core-js/library/fn/function/part.js @@ -1,2 +1,2 @@ require('../../modules/core.function.part'); -module.exports = require('../../modules/_core').Function.part;
\ No newline at end of file +module.exports = require('../../modules/_core').Function.part; diff --git a/node_modules/core-js/library/fn/function/virtual/bind.js b/node_modules/core-js/library/fn/function/virtual/bind.js index 0a2f3338c..4d76b036f 100644 --- a/node_modules/core-js/library/fn/function/virtual/bind.js +++ b/node_modules/core-js/library/fn/function/virtual/bind.js @@ -1,2 +1,2 @@ require('../../../modules/es6.function.bind'); -module.exports = require('../../../modules/_entry-virtual')('Function').bind;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Function').bind; diff --git a/node_modules/core-js/library/fn/function/virtual/index.js b/node_modules/core-js/library/fn/function/virtual/index.js index f64e22023..75ca2e545 100644 --- a/node_modules/core-js/library/fn/function/virtual/index.js +++ b/node_modules/core-js/library/fn/function/virtual/index.js @@ -1,3 +1,3 @@ require('../../../modules/es6.function.bind'); require('../../../modules/core.function.part'); -module.exports = require('../../../modules/_entry-virtual')('Function');
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Function'); diff --git a/node_modules/core-js/library/fn/function/virtual/part.js b/node_modules/core-js/library/fn/function/virtual/part.js index a382e577f..c9765caac 100644 --- a/node_modules/core-js/library/fn/function/virtual/part.js +++ b/node_modules/core-js/library/fn/function/virtual/part.js @@ -1,2 +1,2 @@ require('../../../modules/core.function.part'); -module.exports = require('../../../modules/_entry-virtual')('Function').part;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Function').part; diff --git a/node_modules/core-js/library/fn/get-iterator-method.js b/node_modules/core-js/library/fn/get-iterator-method.js index 5543cbbf7..79687c0d4 100644 --- a/node_modules/core-js/library/fn/get-iterator-method.js +++ b/node_modules/core-js/library/fn/get-iterator-method.js @@ -1,3 +1,3 @@ require('../modules/web.dom.iterable'); require('../modules/es6.string.iterator'); -module.exports = require('../modules/core.get-iterator-method');
\ No newline at end of file +module.exports = require('../modules/core.get-iterator-method'); diff --git a/node_modules/core-js/library/fn/get-iterator.js b/node_modules/core-js/library/fn/get-iterator.js index 762350ff5..dc77f4207 100644 --- a/node_modules/core-js/library/fn/get-iterator.js +++ b/node_modules/core-js/library/fn/get-iterator.js @@ -1,3 +1,3 @@ require('../modules/web.dom.iterable'); require('../modules/es6.string.iterator'); -module.exports = require('../modules/core.get-iterator');
\ No newline at end of file +module.exports = require('../modules/core.get-iterator'); diff --git a/node_modules/core-js/library/fn/global.js b/node_modules/core-js/library/fn/global.js new file mode 100644 index 000000000..430b1e9f1 --- /dev/null +++ b/node_modules/core-js/library/fn/global.js @@ -0,0 +1,2 @@ +require('../modules/es7.global'); +module.exports = require('../modules/_core').global; diff --git a/node_modules/core-js/library/fn/is-iterable.js b/node_modules/core-js/library/fn/is-iterable.js index 4c654e87e..c9c944658 100644 --- a/node_modules/core-js/library/fn/is-iterable.js +++ b/node_modules/core-js/library/fn/is-iterable.js @@ -1,3 +1,3 @@ require('../modules/web.dom.iterable'); require('../modules/es6.string.iterator'); -module.exports = require('../modules/core.is-iterable');
\ No newline at end of file +module.exports = require('../modules/core.is-iterable'); diff --git a/node_modules/core-js/library/fn/json/index.js b/node_modules/core-js/library/fn/json/index.js index a6ec3de99..2d5681dca 100644 --- a/node_modules/core-js/library/fn/json/index.js +++ b/node_modules/core-js/library/fn/json/index.js @@ -1,2 +1,2 @@ var core = require('../../modules/_core'); -module.exports = core.JSON || (core.JSON = {stringify: JSON.stringify});
\ No newline at end of file +module.exports = core.JSON || (core.JSON = { stringify: JSON.stringify }); diff --git a/node_modules/core-js/library/fn/json/stringify.js b/node_modules/core-js/library/fn/json/stringify.js index f0cac86af..401aadb79 100644 --- a/node_modules/core-js/library/fn/json/stringify.js +++ b/node_modules/core-js/library/fn/json/stringify.js @@ -1,5 +1,5 @@ -var core = require('../../modules/_core') - , $JSON = core.JSON || (core.JSON = {stringify: JSON.stringify}); -module.exports = function stringify(it){ // eslint-disable-line no-unused-vars +var core = require('../../modules/_core'); +var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); +module.exports = function stringify(it) { // eslint-disable-line no-unused-vars return $JSON.stringify.apply($JSON, arguments); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/map.js b/node_modules/core-js/library/fn/map.js index 16784c600..6525c5f91 100644 --- a/node_modules/core-js/library/fn/map.js +++ b/node_modules/core-js/library/fn/map.js @@ -3,4 +3,6 @@ require('../modules/es6.string.iterator'); require('../modules/web.dom.iterable'); require('../modules/es6.map'); require('../modules/es7.map.to-json'); -module.exports = require('../modules/_core').Map;
\ No newline at end of file +require('../modules/es7.map.of'); +require('../modules/es7.map.from'); +module.exports = require('../modules/_core').Map; diff --git a/node_modules/core-js/library/fn/map/from.js b/node_modules/core-js/library/fn/map/from.js new file mode 100644 index 000000000..4ecc195a8 --- /dev/null +++ b/node_modules/core-js/library/fn/map/from.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.map'); +require('../../modules/es7.map.from'); +var $Map = require('../../modules/_core').Map; +var $from = $Map.from; +module.exports = function from(source, mapFn, thisArg) { + return $from.call(typeof this === 'function' ? this : $Map, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/library/fn/map/index.js b/node_modules/core-js/library/fn/map/index.js new file mode 100644 index 000000000..26d88ee29 --- /dev/null +++ b/node_modules/core-js/library/fn/map/index.js @@ -0,0 +1,8 @@ +require('../../modules/es6.object.to-string'); +require('../../modules/es6.string.iterator'); +require('../../modules/web.dom.iterable'); +require('../../modules/es6.map'); +require('../../modules/es7.map.to-json'); +require('../../modules/es7.map.of'); +require('../../modules/es7.map.from'); +module.exports = require('../../modules/_core').Map; diff --git a/node_modules/core-js/library/fn/map/of.js b/node_modules/core-js/library/fn/map/of.js new file mode 100644 index 000000000..f23b459c9 --- /dev/null +++ b/node_modules/core-js/library/fn/map/of.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.map'); +require('../../modules/es7.map.of'); +var $Map = require('../../modules/_core').Map; +var $of = $Map.of; +module.exports = function of() { + return $of.apply(typeof this === 'function' ? this : $Map, arguments); +}; diff --git a/node_modules/core-js/library/fn/math/acosh.js b/node_modules/core-js/library/fn/math/acosh.js index 9c904c2d6..950dbcb21 100644 --- a/node_modules/core-js/library/fn/math/acosh.js +++ b/node_modules/core-js/library/fn/math/acosh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.acosh'); -module.exports = require('../../modules/_core').Math.acosh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.acosh; diff --git a/node_modules/core-js/library/fn/math/asinh.js b/node_modules/core-js/library/fn/math/asinh.js index 9e209c9d1..05b95e068 100644 --- a/node_modules/core-js/library/fn/math/asinh.js +++ b/node_modules/core-js/library/fn/math/asinh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.asinh'); -module.exports = require('../../modules/_core').Math.asinh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.asinh; diff --git a/node_modules/core-js/library/fn/math/atanh.js b/node_modules/core-js/library/fn/math/atanh.js index b116296d8..84d5b2321 100644 --- a/node_modules/core-js/library/fn/math/atanh.js +++ b/node_modules/core-js/library/fn/math/atanh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.atanh'); -module.exports = require('../../modules/_core').Math.atanh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.atanh; diff --git a/node_modules/core-js/library/fn/math/cbrt.js b/node_modules/core-js/library/fn/math/cbrt.js index 6ffec33a2..1105a30ed 100644 --- a/node_modules/core-js/library/fn/math/cbrt.js +++ b/node_modules/core-js/library/fn/math/cbrt.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.cbrt'); -module.exports = require('../../modules/_core').Math.cbrt;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.cbrt; diff --git a/node_modules/core-js/library/fn/math/clamp.js b/node_modules/core-js/library/fn/math/clamp.js new file mode 100644 index 000000000..c6948fa0c --- /dev/null +++ b/node_modules/core-js/library/fn/math/clamp.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.clamp'); +module.exports = require('../../modules/_core').Math.clamp; diff --git a/node_modules/core-js/library/fn/math/clz32.js b/node_modules/core-js/library/fn/math/clz32.js index beeaae165..5344e391b 100644 --- a/node_modules/core-js/library/fn/math/clz32.js +++ b/node_modules/core-js/library/fn/math/clz32.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.clz32'); -module.exports = require('../../modules/_core').Math.clz32;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.clz32; diff --git a/node_modules/core-js/library/fn/math/cosh.js b/node_modules/core-js/library/fn/math/cosh.js index bf92dc13d..8a78e8af3 100644 --- a/node_modules/core-js/library/fn/math/cosh.js +++ b/node_modules/core-js/library/fn/math/cosh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.cosh'); -module.exports = require('../../modules/_core').Math.cosh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.cosh; diff --git a/node_modules/core-js/library/fn/math/deg-per-rad.js b/node_modules/core-js/library/fn/math/deg-per-rad.js new file mode 100644 index 000000000..a555de070 --- /dev/null +++ b/node_modules/core-js/library/fn/math/deg-per-rad.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.deg-per-rad'); +module.exports = Math.PI / 180; diff --git a/node_modules/core-js/library/fn/math/degrees.js b/node_modules/core-js/library/fn/math/degrees.js new file mode 100644 index 000000000..9b4e4efa2 --- /dev/null +++ b/node_modules/core-js/library/fn/math/degrees.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.degrees'); +module.exports = require('../../modules/_core').Math.degrees; diff --git a/node_modules/core-js/library/fn/math/expm1.js b/node_modules/core-js/library/fn/math/expm1.js index 0b30ebb1b..576f9e9b2 100644 --- a/node_modules/core-js/library/fn/math/expm1.js +++ b/node_modules/core-js/library/fn/math/expm1.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.expm1'); -module.exports = require('../../modules/_core').Math.expm1;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.expm1; diff --git a/node_modules/core-js/library/fn/math/fround.js b/node_modules/core-js/library/fn/math/fround.js index c75a22937..22c685fc5 100644 --- a/node_modules/core-js/library/fn/math/fround.js +++ b/node_modules/core-js/library/fn/math/fround.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.fround'); -module.exports = require('../../modules/_core').Math.fround;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.fround; diff --git a/node_modules/core-js/library/fn/math/fscale.js b/node_modules/core-js/library/fn/math/fscale.js new file mode 100644 index 000000000..faf523099 --- /dev/null +++ b/node_modules/core-js/library/fn/math/fscale.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.fscale'); +module.exports = require('../../modules/_core').Math.fscale; diff --git a/node_modules/core-js/library/fn/math/hypot.js b/node_modules/core-js/library/fn/math/hypot.js index 2126285c2..864401f94 100644 --- a/node_modules/core-js/library/fn/math/hypot.js +++ b/node_modules/core-js/library/fn/math/hypot.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.hypot'); -module.exports = require('../../modules/_core').Math.hypot;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.hypot; diff --git a/node_modules/core-js/library/fn/math/iaddh.js b/node_modules/core-js/library/fn/math/iaddh.js index cae754ee1..49fb701cd 100644 --- a/node_modules/core-js/library/fn/math/iaddh.js +++ b/node_modules/core-js/library/fn/math/iaddh.js @@ -1,2 +1,2 @@ require('../../modules/es7.math.iaddh'); -module.exports = require('../../modules/_core').Math.iaddh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.iaddh; diff --git a/node_modules/core-js/library/fn/math/imul.js b/node_modules/core-js/library/fn/math/imul.js index 1f5ce1610..725e99eed 100644 --- a/node_modules/core-js/library/fn/math/imul.js +++ b/node_modules/core-js/library/fn/math/imul.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.imul'); -module.exports = require('../../modules/_core').Math.imul;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.imul; diff --git a/node_modules/core-js/library/fn/math/imulh.js b/node_modules/core-js/library/fn/math/imulh.js index 3b47bf8c2..a5528ce29 100644 --- a/node_modules/core-js/library/fn/math/imulh.js +++ b/node_modules/core-js/library/fn/math/imulh.js @@ -1,2 +1,2 @@ require('../../modules/es7.math.imulh'); -module.exports = require('../../modules/_core').Math.imulh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.imulh; diff --git a/node_modules/core-js/library/fn/math/index.js b/node_modules/core-js/library/fn/math/index.js index 8a2664b18..65e3ceca9 100644 --- a/node_modules/core-js/library/fn/math/index.js +++ b/node_modules/core-js/library/fn/math/index.js @@ -15,8 +15,16 @@ require('../../modules/es6.math.sign'); require('../../modules/es6.math.sinh'); require('../../modules/es6.math.tanh'); require('../../modules/es6.math.trunc'); +require('../../modules/es7.math.clamp'); +require('../../modules/es7.math.deg-per-rad'); +require('../../modules/es7.math.degrees'); +require('../../modules/es7.math.fscale'); require('../../modules/es7.math.iaddh'); require('../../modules/es7.math.isubh'); require('../../modules/es7.math.imulh'); +require('../../modules/es7.math.rad-per-deg'); +require('../../modules/es7.math.radians'); +require('../../modules/es7.math.scale'); require('../../modules/es7.math.umulh'); -module.exports = require('../../modules/_core').Math;
\ No newline at end of file +require('../../modules/es7.math.signbit'); +module.exports = require('../../modules/_core').Math; diff --git a/node_modules/core-js/library/fn/math/isubh.js b/node_modules/core-js/library/fn/math/isubh.js index e120e423f..c1dcfd320 100644 --- a/node_modules/core-js/library/fn/math/isubh.js +++ b/node_modules/core-js/library/fn/math/isubh.js @@ -1,2 +1,2 @@ require('../../modules/es7.math.isubh'); -module.exports = require('../../modules/_core').Math.isubh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.isubh; diff --git a/node_modules/core-js/library/fn/math/log10.js b/node_modules/core-js/library/fn/math/log10.js index 1246e0ae0..aa27709c4 100644 --- a/node_modules/core-js/library/fn/math/log10.js +++ b/node_modules/core-js/library/fn/math/log10.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.log10'); -module.exports = require('../../modules/_core').Math.log10;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.log10; diff --git a/node_modules/core-js/library/fn/math/log1p.js b/node_modules/core-js/library/fn/math/log1p.js index 047b84c05..ba557839c 100644 --- a/node_modules/core-js/library/fn/math/log1p.js +++ b/node_modules/core-js/library/fn/math/log1p.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.log1p'); -module.exports = require('../../modules/_core').Math.log1p;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.log1p; diff --git a/node_modules/core-js/library/fn/math/log2.js b/node_modules/core-js/library/fn/math/log2.js index ce3e99c1e..6ba3143ca 100644 --- a/node_modules/core-js/library/fn/math/log2.js +++ b/node_modules/core-js/library/fn/math/log2.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.log2'); -module.exports = require('../../modules/_core').Math.log2;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.log2; diff --git a/node_modules/core-js/library/fn/math/rad-per-deg.js b/node_modules/core-js/library/fn/math/rad-per-deg.js new file mode 100644 index 000000000..e8ef0242f --- /dev/null +++ b/node_modules/core-js/library/fn/math/rad-per-deg.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.rad-per-deg'); +module.exports = 180 / Math.PI; diff --git a/node_modules/core-js/library/fn/math/radians.js b/node_modules/core-js/library/fn/math/radians.js new file mode 100644 index 000000000..00539ec1d --- /dev/null +++ b/node_modules/core-js/library/fn/math/radians.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.radians'); +module.exports = require('../../modules/_core').Math.radians; diff --git a/node_modules/core-js/library/fn/math/scale.js b/node_modules/core-js/library/fn/math/scale.js new file mode 100644 index 000000000..cde3e3121 --- /dev/null +++ b/node_modules/core-js/library/fn/math/scale.js @@ -0,0 +1,2 @@ +require('../../modules/es7.math.scale'); +module.exports = require('../../modules/_core').Math.scale; diff --git a/node_modules/core-js/library/fn/math/sign.js b/node_modules/core-js/library/fn/math/sign.js index 0963ecaf9..efb628f03 100644 --- a/node_modules/core-js/library/fn/math/sign.js +++ b/node_modules/core-js/library/fn/math/sign.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.sign'); -module.exports = require('../../modules/_core').Math.sign;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.sign; diff --git a/node_modules/core-js/library/fn/math/signbit.js b/node_modules/core-js/library/fn/math/signbit.js new file mode 100644 index 000000000..afe0a3c25 --- /dev/null +++ b/node_modules/core-js/library/fn/math/signbit.js @@ -0,0 +1,3 @@ +require('../../modules/es7.math.signbit'); + +module.exports = require('../../modules/_core').Math.signbit; diff --git a/node_modules/core-js/library/fn/math/sinh.js b/node_modules/core-js/library/fn/math/sinh.js index c35cb7394..096493fb0 100644 --- a/node_modules/core-js/library/fn/math/sinh.js +++ b/node_modules/core-js/library/fn/math/sinh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.sinh'); -module.exports = require('../../modules/_core').Math.sinh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.sinh; diff --git a/node_modules/core-js/library/fn/math/tanh.js b/node_modules/core-js/library/fn/math/tanh.js index 3d1966db3..0b7f49c32 100644 --- a/node_modules/core-js/library/fn/math/tanh.js +++ b/node_modules/core-js/library/fn/math/tanh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.tanh'); -module.exports = require('../../modules/_core').Math.tanh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.tanh; diff --git a/node_modules/core-js/library/fn/math/trunc.js b/node_modules/core-js/library/fn/math/trunc.js index 135b7dcb8..96ca05780 100644 --- a/node_modules/core-js/library/fn/math/trunc.js +++ b/node_modules/core-js/library/fn/math/trunc.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.trunc'); -module.exports = require('../../modules/_core').Math.trunc;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.trunc; diff --git a/node_modules/core-js/library/fn/math/umulh.js b/node_modules/core-js/library/fn/math/umulh.js index d93b9ae05..ebe5a96fa 100644 --- a/node_modules/core-js/library/fn/math/umulh.js +++ b/node_modules/core-js/library/fn/math/umulh.js @@ -1,2 +1,2 @@ require('../../modules/es7.math.umulh'); -module.exports = require('../../modules/_core').Math.umulh;
\ No newline at end of file +module.exports = require('../../modules/_core').Math.umulh; diff --git a/node_modules/core-js/library/fn/number/constructor.js b/node_modules/core-js/library/fn/number/constructor.js index f488331ec..1d9524a00 100644 --- a/node_modules/core-js/library/fn/number/constructor.js +++ b/node_modules/core-js/library/fn/number/constructor.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.constructor'); -module.exports = Number;
\ No newline at end of file +module.exports = Number; diff --git a/node_modules/core-js/library/fn/number/epsilon.js b/node_modules/core-js/library/fn/number/epsilon.js index 56c935215..9e65eed77 100644 --- a/node_modules/core-js/library/fn/number/epsilon.js +++ b/node_modules/core-js/library/fn/number/epsilon.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.epsilon'); -module.exports = Math.pow(2, -52);
\ No newline at end of file +module.exports = Math.pow(2, -52); diff --git a/node_modules/core-js/library/fn/number/index.js b/node_modules/core-js/library/fn/number/index.js index 92890003d..1dca46f2b 100644 --- a/node_modules/core-js/library/fn/number/index.js +++ b/node_modules/core-js/library/fn/number/index.js @@ -11,4 +11,4 @@ require('../../modules/es6.number.parse-int'); require('../../modules/es6.number.to-fixed'); require('../../modules/es6.number.to-precision'); require('../../modules/core.number.iterator'); -module.exports = require('../../modules/_core').Number;
\ No newline at end of file +module.exports = require('../../modules/_core').Number; diff --git a/node_modules/core-js/library/fn/number/is-finite.js b/node_modules/core-js/library/fn/number/is-finite.js index 4ec3706b0..a671da491 100644 --- a/node_modules/core-js/library/fn/number/is-finite.js +++ b/node_modules/core-js/library/fn/number/is-finite.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.is-finite'); -module.exports = require('../../modules/_core').Number.isFinite;
\ No newline at end of file +module.exports = require('../../modules/_core').Number.isFinite; diff --git a/node_modules/core-js/library/fn/number/is-integer.js b/node_modules/core-js/library/fn/number/is-integer.js index a3013bff3..888a8be3a 100644 --- a/node_modules/core-js/library/fn/number/is-integer.js +++ b/node_modules/core-js/library/fn/number/is-integer.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.is-integer'); -module.exports = require('../../modules/_core').Number.isInteger;
\ No newline at end of file +module.exports = require('../../modules/_core').Number.isInteger; diff --git a/node_modules/core-js/library/fn/number/is-nan.js b/node_modules/core-js/library/fn/number/is-nan.js index f23b0266a..d3e62f298 100644 --- a/node_modules/core-js/library/fn/number/is-nan.js +++ b/node_modules/core-js/library/fn/number/is-nan.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.is-nan'); -module.exports = require('../../modules/_core').Number.isNaN;
\ No newline at end of file +module.exports = require('../../modules/_core').Number.isNaN; diff --git a/node_modules/core-js/library/fn/number/is-safe-integer.js b/node_modules/core-js/library/fn/number/is-safe-integer.js index f68732f52..4d8e2d188 100644 --- a/node_modules/core-js/library/fn/number/is-safe-integer.js +++ b/node_modules/core-js/library/fn/number/is-safe-integer.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.is-safe-integer'); -module.exports = require('../../modules/_core').Number.isSafeInteger;
\ No newline at end of file +module.exports = require('../../modules/_core').Number.isSafeInteger; diff --git a/node_modules/core-js/library/fn/number/iterator.js b/node_modules/core-js/library/fn/number/iterator.js index 26feaa1f0..2acf7546b 100644 --- a/node_modules/core-js/library/fn/number/iterator.js +++ b/node_modules/core-js/library/fn/number/iterator.js @@ -1,5 +1,5 @@ require('../../modules/core.number.iterator'); var get = require('../../modules/_iterators').Number; -module.exports = function(it){ +module.exports = function (it) { return get.call(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/number/max-safe-integer.js b/node_modules/core-js/library/fn/number/max-safe-integer.js index c9b43b044..095b007bc 100644 --- a/node_modules/core-js/library/fn/number/max-safe-integer.js +++ b/node_modules/core-js/library/fn/number/max-safe-integer.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.max-safe-integer'); -module.exports = 0x1fffffffffffff;
\ No newline at end of file +module.exports = 0x1fffffffffffff; diff --git a/node_modules/core-js/library/fn/number/min-safe-integer.js b/node_modules/core-js/library/fn/number/min-safe-integer.js index 8b5e07285..8a975dd6f 100644 --- a/node_modules/core-js/library/fn/number/min-safe-integer.js +++ b/node_modules/core-js/library/fn/number/min-safe-integer.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.min-safe-integer'); -module.exports = -0x1fffffffffffff;
\ No newline at end of file +module.exports = -0x1fffffffffffff; diff --git a/node_modules/core-js/library/fn/number/parse-float.js b/node_modules/core-js/library/fn/number/parse-float.js index 62f89774f..da388d703 100644 --- a/node_modules/core-js/library/fn/number/parse-float.js +++ b/node_modules/core-js/library/fn/number/parse-float.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.parse-float'); -module.exports = parseFloat;
\ No newline at end of file +module.exports = parseFloat; diff --git a/node_modules/core-js/library/fn/number/parse-int.js b/node_modules/core-js/library/fn/number/parse-int.js index c197da5bd..281ae7ba6 100644 --- a/node_modules/core-js/library/fn/number/parse-int.js +++ b/node_modules/core-js/library/fn/number/parse-int.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.parse-int'); -module.exports = parseInt;
\ No newline at end of file +module.exports = parseInt; diff --git a/node_modules/core-js/library/fn/number/to-fixed.js b/node_modules/core-js/library/fn/number/to-fixed.js index 3a041b0e8..0a0a51be3 100644 --- a/node_modules/core-js/library/fn/number/to-fixed.js +++ b/node_modules/core-js/library/fn/number/to-fixed.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.to-fixed'); -module.exports = require('../../modules/_core').Number.toFixed;
\ No newline at end of file +module.exports = require('../../modules/_core').Number.toFixed; diff --git a/node_modules/core-js/library/fn/number/to-precision.js b/node_modules/core-js/library/fn/number/to-precision.js index 9e85511ab..74c35938b 100644 --- a/node_modules/core-js/library/fn/number/to-precision.js +++ b/node_modules/core-js/library/fn/number/to-precision.js @@ -1,2 +1,2 @@ require('../../modules/es6.number.to-precision'); -module.exports = require('../../modules/_core').Number.toPrecision;
\ No newline at end of file +module.exports = require('../../modules/_core').Number.toPrecision; diff --git a/node_modules/core-js/library/fn/number/virtual/index.js b/node_modules/core-js/library/fn/number/virtual/index.js index 42360d32e..7533694bc 100644 --- a/node_modules/core-js/library/fn/number/virtual/index.js +++ b/node_modules/core-js/library/fn/number/virtual/index.js @@ -1,4 +1,4 @@ require('../../../modules/core.number.iterator'); var $Number = require('../../../modules/_entry-virtual')('Number'); $Number.iterator = require('../../../modules/_iterators').Number; -module.exports = $Number;
\ No newline at end of file +module.exports = $Number; diff --git a/node_modules/core-js/library/fn/number/virtual/iterator.js b/node_modules/core-js/library/fn/number/virtual/iterator.js index df034996a..d2b548403 100644 --- a/node_modules/core-js/library/fn/number/virtual/iterator.js +++ b/node_modules/core-js/library/fn/number/virtual/iterator.js @@ -1,2 +1,2 @@ require('../../../modules/core.number.iterator'); -module.exports = require('../../../modules/_iterators').Number;
\ No newline at end of file +module.exports = require('../../../modules/_iterators').Number; diff --git a/node_modules/core-js/library/fn/number/virtual/to-fixed.js b/node_modules/core-js/library/fn/number/virtual/to-fixed.js index b779f15c0..1fa2adc40 100644 --- a/node_modules/core-js/library/fn/number/virtual/to-fixed.js +++ b/node_modules/core-js/library/fn/number/virtual/to-fixed.js @@ -1,2 +1,2 @@ require('../../../modules/es6.number.to-fixed'); -module.exports = require('../../../modules/_entry-virtual')('Number').toFixed;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Number').toFixed; diff --git a/node_modules/core-js/library/fn/number/virtual/to-precision.js b/node_modules/core-js/library/fn/number/virtual/to-precision.js index 0c93fa4aa..ee4e56cdc 100644 --- a/node_modules/core-js/library/fn/number/virtual/to-precision.js +++ b/node_modules/core-js/library/fn/number/virtual/to-precision.js @@ -1,2 +1,2 @@ require('../../../modules/es6.number.to-precision'); -module.exports = require('../../../modules/_entry-virtual')('Number').toPrecision;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('Number').toPrecision; diff --git a/node_modules/core-js/library/fn/object/assign.js b/node_modules/core-js/library/fn/object/assign.js index 97df6bf45..d44345de1 100644 --- a/node_modules/core-js/library/fn/object/assign.js +++ b/node_modules/core-js/library/fn/object/assign.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.assign'); -module.exports = require('../../modules/_core').Object.assign;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.assign; diff --git a/node_modules/core-js/library/fn/object/classof.js b/node_modules/core-js/library/fn/object/classof.js index 993d04808..063729ff1 100644 --- a/node_modules/core-js/library/fn/object/classof.js +++ b/node_modules/core-js/library/fn/object/classof.js @@ -1,2 +1,2 @@ require('../../modules/core.object.classof'); -module.exports = require('../../modules/_core').Object.classof;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.classof; diff --git a/node_modules/core-js/library/fn/object/create.js b/node_modules/core-js/library/fn/object/create.js index a05ca2fb0..cb50bec60 100644 --- a/node_modules/core-js/library/fn/object/create.js +++ b/node_modules/core-js/library/fn/object/create.js @@ -1,5 +1,5 @@ require('../../modules/es6.object.create'); var $Object = require('../../modules/_core').Object; -module.exports = function create(P, D){ +module.exports = function create(P, D) { return $Object.create(P, D); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/object/define-getter.js b/node_modules/core-js/library/fn/object/define-getter.js index 5dd26070b..e0d20ffc8 100644 --- a/node_modules/core-js/library/fn/object/define-getter.js +++ b/node_modules/core-js/library/fn/object/define-getter.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.define-getter'); -module.exports = require('../../modules/_core').Object.__defineGetter__;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.__defineGetter__; diff --git a/node_modules/core-js/library/fn/object/define-properties.js b/node_modules/core-js/library/fn/object/define-properties.js index 04160fb3a..7d3613281 100644 --- a/node_modules/core-js/library/fn/object/define-properties.js +++ b/node_modules/core-js/library/fn/object/define-properties.js @@ -1,5 +1,5 @@ require('../../modules/es6.object.define-properties'); var $Object = require('../../modules/_core').Object; -module.exports = function defineProperties(T, D){ +module.exports = function defineProperties(T, D) { return $Object.defineProperties(T, D); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/object/define-property.js b/node_modules/core-js/library/fn/object/define-property.js index 078c56cbf..bd762abb2 100644 --- a/node_modules/core-js/library/fn/object/define-property.js +++ b/node_modules/core-js/library/fn/object/define-property.js @@ -1,5 +1,5 @@ require('../../modules/es6.object.define-property'); var $Object = require('../../modules/_core').Object; -module.exports = function defineProperty(it, key, desc){ +module.exports = function defineProperty(it, key, desc) { return $Object.defineProperty(it, key, desc); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/object/define-setter.js b/node_modules/core-js/library/fn/object/define-setter.js index b59475f82..4ebd189dc 100644 --- a/node_modules/core-js/library/fn/object/define-setter.js +++ b/node_modules/core-js/library/fn/object/define-setter.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.define-setter'); -module.exports = require('../../modules/_core').Object.__defineSetter__;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.__defineSetter__; diff --git a/node_modules/core-js/library/fn/object/define.js b/node_modules/core-js/library/fn/object/define.js index 6ec19e904..bfd56177a 100644 --- a/node_modules/core-js/library/fn/object/define.js +++ b/node_modules/core-js/library/fn/object/define.js @@ -1,2 +1,2 @@ require('../../modules/core.object.define'); -module.exports = require('../../modules/_core').Object.define;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.define; diff --git a/node_modules/core-js/library/fn/object/entries.js b/node_modules/core-js/library/fn/object/entries.js index fca1000e8..197500ba5 100644 --- a/node_modules/core-js/library/fn/object/entries.js +++ b/node_modules/core-js/library/fn/object/entries.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.entries'); -module.exports = require('../../modules/_core').Object.entries;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.entries; diff --git a/node_modules/core-js/library/fn/object/freeze.js b/node_modules/core-js/library/fn/object/freeze.js index 04eac5302..e8af02a92 100644 --- a/node_modules/core-js/library/fn/object/freeze.js +++ b/node_modules/core-js/library/fn/object/freeze.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.freeze'); -module.exports = require('../../modules/_core').Object.freeze;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.freeze; diff --git a/node_modules/core-js/library/fn/object/get-own-property-descriptor.js b/node_modules/core-js/library/fn/object/get-own-property-descriptor.js index 7d3f03b8b..e585385ef 100644 --- a/node_modules/core-js/library/fn/object/get-own-property-descriptor.js +++ b/node_modules/core-js/library/fn/object/get-own-property-descriptor.js @@ -1,5 +1,5 @@ require('../../modules/es6.object.get-own-property-descriptor'); var $Object = require('../../modules/_core').Object; -module.exports = function getOwnPropertyDescriptor(it, key){ +module.exports = function getOwnPropertyDescriptor(it, key) { return $Object.getOwnPropertyDescriptor(it, key); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/object/get-own-property-descriptors.js b/node_modules/core-js/library/fn/object/get-own-property-descriptors.js index dfeb547ce..a502c5e47 100644 --- a/node_modules/core-js/library/fn/object/get-own-property-descriptors.js +++ b/node_modules/core-js/library/fn/object/get-own-property-descriptors.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.get-own-property-descriptors'); -module.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors; diff --git a/node_modules/core-js/library/fn/object/get-own-property-names.js b/node_modules/core-js/library/fn/object/get-own-property-names.js index c91ce430f..2388e9eb1 100644 --- a/node_modules/core-js/library/fn/object/get-own-property-names.js +++ b/node_modules/core-js/library/fn/object/get-own-property-names.js @@ -1,5 +1,5 @@ require('../../modules/es6.object.get-own-property-names'); var $Object = require('../../modules/_core').Object; -module.exports = function getOwnPropertyNames(it){ +module.exports = function getOwnPropertyNames(it) { return $Object.getOwnPropertyNames(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/object/get-own-property-symbols.js b/node_modules/core-js/library/fn/object/get-own-property-symbols.js index c3f528807..147b9b3d9 100644 --- a/node_modules/core-js/library/fn/object/get-own-property-symbols.js +++ b/node_modules/core-js/library/fn/object/get-own-property-symbols.js @@ -1,2 +1,2 @@ require('../../modules/es6.symbol'); -module.exports = require('../../modules/_core').Object.getOwnPropertySymbols;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.getOwnPropertySymbols; diff --git a/node_modules/core-js/library/fn/object/get-prototype-of.js b/node_modules/core-js/library/fn/object/get-prototype-of.js index bda934458..64c335878 100644 --- a/node_modules/core-js/library/fn/object/get-prototype-of.js +++ b/node_modules/core-js/library/fn/object/get-prototype-of.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.get-prototype-of'); -module.exports = require('../../modules/_core').Object.getPrototypeOf;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.getPrototypeOf; diff --git a/node_modules/core-js/library/fn/object/index.js b/node_modules/core-js/library/fn/object/index.js index 4bd9825b4..fe99b8d1f 100644 --- a/node_modules/core-js/library/fn/object/index.js +++ b/node_modules/core-js/library/fn/object/index.js @@ -27,4 +27,4 @@ require('../../modules/core.object.is-object'); require('../../modules/core.object.classof'); require('../../modules/core.object.define'); require('../../modules/core.object.make'); -module.exports = require('../../modules/_core').Object;
\ No newline at end of file +module.exports = require('../../modules/_core').Object; diff --git a/node_modules/core-js/library/fn/object/is-extensible.js b/node_modules/core-js/library/fn/object/is-extensible.js index 43fb0e78a..642dff085 100644 --- a/node_modules/core-js/library/fn/object/is-extensible.js +++ b/node_modules/core-js/library/fn/object/is-extensible.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.is-extensible'); -module.exports = require('../../modules/_core').Object.isExtensible;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.isExtensible; diff --git a/node_modules/core-js/library/fn/object/is-frozen.js b/node_modules/core-js/library/fn/object/is-frozen.js index cbff22421..b81ef5dae 100644 --- a/node_modules/core-js/library/fn/object/is-frozen.js +++ b/node_modules/core-js/library/fn/object/is-frozen.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.is-frozen'); -module.exports = require('../../modules/_core').Object.isFrozen;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.isFrozen; diff --git a/node_modules/core-js/library/fn/object/is-object.js b/node_modules/core-js/library/fn/object/is-object.js index 38feeff5c..65dc6aec4 100644 --- a/node_modules/core-js/library/fn/object/is-object.js +++ b/node_modules/core-js/library/fn/object/is-object.js @@ -1,2 +1,2 @@ require('../../modules/core.object.is-object'); -module.exports = require('../../modules/_core').Object.isObject;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.isObject; diff --git a/node_modules/core-js/library/fn/object/is-sealed.js b/node_modules/core-js/library/fn/object/is-sealed.js index 169a8ae73..48eca5c9f 100644 --- a/node_modules/core-js/library/fn/object/is-sealed.js +++ b/node_modules/core-js/library/fn/object/is-sealed.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.is-sealed'); -module.exports = require('../../modules/_core').Object.isSealed;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.isSealed; diff --git a/node_modules/core-js/library/fn/object/is.js b/node_modules/core-js/library/fn/object/is.js index 6ac9f19e1..0901f2ce3 100644 --- a/node_modules/core-js/library/fn/object/is.js +++ b/node_modules/core-js/library/fn/object/is.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.is'); -module.exports = require('../../modules/_core').Object.is;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.is; diff --git a/node_modules/core-js/library/fn/object/keys.js b/node_modules/core-js/library/fn/object/keys.js index 8eeb78eb8..799326952 100644 --- a/node_modules/core-js/library/fn/object/keys.js +++ b/node_modules/core-js/library/fn/object/keys.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.keys'); -module.exports = require('../../modules/_core').Object.keys;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.keys; diff --git a/node_modules/core-js/library/fn/object/lookup-getter.js b/node_modules/core-js/library/fn/object/lookup-getter.js index 3f7f674d0..01adc7c66 100644 --- a/node_modules/core-js/library/fn/object/lookup-getter.js +++ b/node_modules/core-js/library/fn/object/lookup-getter.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.lookup-setter'); -module.exports = require('../../modules/_core').Object.__lookupGetter__;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.__lookupGetter__; diff --git a/node_modules/core-js/library/fn/object/lookup-setter.js b/node_modules/core-js/library/fn/object/lookup-setter.js index d18446fe9..28ed4acde 100644 --- a/node_modules/core-js/library/fn/object/lookup-setter.js +++ b/node_modules/core-js/library/fn/object/lookup-setter.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.lookup-setter'); -module.exports = require('../../modules/_core').Object.__lookupSetter__;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.__lookupSetter__; diff --git a/node_modules/core-js/library/fn/object/make.js b/node_modules/core-js/library/fn/object/make.js index f4d19d128..f09a3ba4a 100644 --- a/node_modules/core-js/library/fn/object/make.js +++ b/node_modules/core-js/library/fn/object/make.js @@ -1,2 +1,2 @@ require('../../modules/core.object.make'); -module.exports = require('../../modules/_core').Object.make;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.make; diff --git a/node_modules/core-js/library/fn/object/prevent-extensions.js b/node_modules/core-js/library/fn/object/prevent-extensions.js index e43be05b1..af35584d1 100644 --- a/node_modules/core-js/library/fn/object/prevent-extensions.js +++ b/node_modules/core-js/library/fn/object/prevent-extensions.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.prevent-extensions'); -module.exports = require('../../modules/_core').Object.preventExtensions;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.preventExtensions; diff --git a/node_modules/core-js/library/fn/object/seal.js b/node_modules/core-js/library/fn/object/seal.js index 8a56cd7f3..11ad445f8 100644 --- a/node_modules/core-js/library/fn/object/seal.js +++ b/node_modules/core-js/library/fn/object/seal.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.seal'); -module.exports = require('../../modules/_core').Object.seal;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.seal; diff --git a/node_modules/core-js/library/fn/object/set-prototype-of.js b/node_modules/core-js/library/fn/object/set-prototype-of.js index c25170dbc..817bf0a6c 100644 --- a/node_modules/core-js/library/fn/object/set-prototype-of.js +++ b/node_modules/core-js/library/fn/object/set-prototype-of.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.set-prototype-of'); -module.exports = require('../../modules/_core').Object.setPrototypeOf;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.setPrototypeOf; diff --git a/node_modules/core-js/library/fn/object/values.js b/node_modules/core-js/library/fn/object/values.js index b50336cf1..4d99b9cbc 100644 --- a/node_modules/core-js/library/fn/object/values.js +++ b/node_modules/core-js/library/fn/object/values.js @@ -1,2 +1,2 @@ require('../../modules/es7.object.values'); -module.exports = require('../../modules/_core').Object.values;
\ No newline at end of file +module.exports = require('../../modules/_core').Object.values; diff --git a/node_modules/core-js/library/fn/observable.js b/node_modules/core-js/library/fn/observable.js index 05ca51a37..4554cda4b 100644 --- a/node_modules/core-js/library/fn/observable.js +++ b/node_modules/core-js/library/fn/observable.js @@ -4,4 +4,4 @@ require('../modules/web.dom.iterable'); require('../modules/es6.promise'); require('../modules/es7.symbol.observable'); require('../modules/es7.observable'); -module.exports = require('../modules/_core').Observable;
\ No newline at end of file +module.exports = require('../modules/_core').Observable; diff --git a/node_modules/core-js/library/fn/parse-float.js b/node_modules/core-js/library/fn/parse-float.js index dad94ddbe..222a751c3 100644 --- a/node_modules/core-js/library/fn/parse-float.js +++ b/node_modules/core-js/library/fn/parse-float.js @@ -1,2 +1,2 @@ require('../modules/es6.parse-float'); -module.exports = require('../modules/_core').parseFloat;
\ No newline at end of file +module.exports = require('../modules/_core').parseFloat; diff --git a/node_modules/core-js/library/fn/parse-int.js b/node_modules/core-js/library/fn/parse-int.js index 08a20996b..d0087c7cd 100644 --- a/node_modules/core-js/library/fn/parse-int.js +++ b/node_modules/core-js/library/fn/parse-int.js @@ -1,2 +1,2 @@ require('../modules/es6.parse-int'); -module.exports = require('../modules/_core').parseInt;
\ No newline at end of file +module.exports = require('../modules/_core').parseInt; diff --git a/node_modules/core-js/library/fn/promise.js b/node_modules/core-js/library/fn/promise.js index c901c8595..f3d6742f1 100644 --- a/node_modules/core-js/library/fn/promise.js +++ b/node_modules/core-js/library/fn/promise.js @@ -2,4 +2,6 @@ require('../modules/es6.object.to-string'); require('../modules/es6.string.iterator'); require('../modules/web.dom.iterable'); require('../modules/es6.promise'); -module.exports = require('../modules/_core').Promise;
\ No newline at end of file +require('../modules/es7.promise.finally'); +require('../modules/es7.promise.try'); +module.exports = require('../modules/_core').Promise; diff --git a/node_modules/core-js/library/fn/promise/finally.js b/node_modules/core-js/library/fn/promise/finally.js new file mode 100644 index 000000000..4188dae46 --- /dev/null +++ b/node_modules/core-js/library/fn/promise/finally.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es6.promise'); +require('../../modules/es7.promise.finally'); +module.exports = require('../../modules/_core').Promise['finally']; diff --git a/node_modules/core-js/library/fn/promise/index.js b/node_modules/core-js/library/fn/promise/index.js new file mode 100644 index 000000000..df3f48eff --- /dev/null +++ b/node_modules/core-js/library/fn/promise/index.js @@ -0,0 +1,7 @@ +require('../../modules/es6.object.to-string'); +require('../../modules/es6.string.iterator'); +require('../../modules/web.dom.iterable'); +require('../../modules/es6.promise'); +require('../../modules/es7.promise.finally'); +require('../../modules/es7.promise.try'); +module.exports = require('../../modules/_core').Promise; diff --git a/node_modules/core-js/library/fn/promise/try.js b/node_modules/core-js/library/fn/promise/try.js new file mode 100644 index 000000000..b28919f23 --- /dev/null +++ b/node_modules/core-js/library/fn/promise/try.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.promise'); +require('../../modules/es7.promise.try'); +var $Promise = require('../../modules/_core').Promise; +var $try = $Promise['try']; +module.exports = { 'try': function (callbackfn) { + return $try.call(typeof this === 'function' ? this : $Promise, callbackfn); +} }['try']; diff --git a/node_modules/core-js/library/fn/reflect/apply.js b/node_modules/core-js/library/fn/reflect/apply.js index 725b8a699..8ce058fdf 100644 --- a/node_modules/core-js/library/fn/reflect/apply.js +++ b/node_modules/core-js/library/fn/reflect/apply.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.apply'); -module.exports = require('../../modules/_core').Reflect.apply;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.apply; diff --git a/node_modules/core-js/library/fn/reflect/construct.js b/node_modules/core-js/library/fn/reflect/construct.js index 587725dad..5374384e1 100644 --- a/node_modules/core-js/library/fn/reflect/construct.js +++ b/node_modules/core-js/library/fn/reflect/construct.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.construct'); -module.exports = require('../../modules/_core').Reflect.construct;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.construct; diff --git a/node_modules/core-js/library/fn/reflect/define-metadata.js b/node_modules/core-js/library/fn/reflect/define-metadata.js index c9876ed3b..5c07b2a3b 100644 --- a/node_modules/core-js/library/fn/reflect/define-metadata.js +++ b/node_modules/core-js/library/fn/reflect/define-metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.define-metadata'); -module.exports = require('../../modules/_core').Reflect.defineMetadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.defineMetadata; diff --git a/node_modules/core-js/library/fn/reflect/define-property.js b/node_modules/core-js/library/fn/reflect/define-property.js index c36b4d21d..eb39b3f7d 100644 --- a/node_modules/core-js/library/fn/reflect/define-property.js +++ b/node_modules/core-js/library/fn/reflect/define-property.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.define-property'); -module.exports = require('../../modules/_core').Reflect.defineProperty;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.defineProperty; diff --git a/node_modules/core-js/library/fn/reflect/delete-metadata.js b/node_modules/core-js/library/fn/reflect/delete-metadata.js index 9bcc02997..e51447f45 100644 --- a/node_modules/core-js/library/fn/reflect/delete-metadata.js +++ b/node_modules/core-js/library/fn/reflect/delete-metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.delete-metadata'); -module.exports = require('../../modules/_core').Reflect.deleteMetadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.deleteMetadata; diff --git a/node_modules/core-js/library/fn/reflect/delete-property.js b/node_modules/core-js/library/fn/reflect/delete-property.js index 10b6392f2..e4c27d132 100644 --- a/node_modules/core-js/library/fn/reflect/delete-property.js +++ b/node_modules/core-js/library/fn/reflect/delete-property.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.delete-property'); -module.exports = require('../../modules/_core').Reflect.deleteProperty;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.deleteProperty; diff --git a/node_modules/core-js/library/fn/reflect/enumerate.js b/node_modules/core-js/library/fn/reflect/enumerate.js index 257a21eee..5e2611d29 100644 --- a/node_modules/core-js/library/fn/reflect/enumerate.js +++ b/node_modules/core-js/library/fn/reflect/enumerate.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.enumerate'); -module.exports = require('../../modules/_core').Reflect.enumerate;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.enumerate; diff --git a/node_modules/core-js/library/fn/reflect/get-metadata-keys.js b/node_modules/core-js/library/fn/reflect/get-metadata-keys.js index 9dbf5ee14..c19e5babc 100644 --- a/node_modules/core-js/library/fn/reflect/get-metadata-keys.js +++ b/node_modules/core-js/library/fn/reflect/get-metadata-keys.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.get-metadata-keys'); -module.exports = require('../../modules/_core').Reflect.getMetadataKeys;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.getMetadataKeys; diff --git a/node_modules/core-js/library/fn/reflect/get-metadata.js b/node_modules/core-js/library/fn/reflect/get-metadata.js index 3a20839eb..1d1a92bd9 100644 --- a/node_modules/core-js/library/fn/reflect/get-metadata.js +++ b/node_modules/core-js/library/fn/reflect/get-metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.get-metadata'); -module.exports = require('../../modules/_core').Reflect.getMetadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.getMetadata; diff --git a/node_modules/core-js/library/fn/reflect/get-own-metadata-keys.js b/node_modules/core-js/library/fn/reflect/get-own-metadata-keys.js index 2f8c5759b..e72e87449 100644 --- a/node_modules/core-js/library/fn/reflect/get-own-metadata-keys.js +++ b/node_modules/core-js/library/fn/reflect/get-own-metadata-keys.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.get-own-metadata-keys'); -module.exports = require('../../modules/_core').Reflect.getOwnMetadataKeys;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.getOwnMetadataKeys; diff --git a/node_modules/core-js/library/fn/reflect/get-own-metadata.js b/node_modules/core-js/library/fn/reflect/get-own-metadata.js index 68e288dda..0437243c3 100644 --- a/node_modules/core-js/library/fn/reflect/get-own-metadata.js +++ b/node_modules/core-js/library/fn/reflect/get-own-metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.get-own-metadata'); -module.exports = require('../../modules/_core').Reflect.getOwnMetadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.getOwnMetadata; diff --git a/node_modules/core-js/library/fn/reflect/get-own-property-descriptor.js b/node_modules/core-js/library/fn/reflect/get-own-property-descriptor.js index 9e2822fb5..add7e3034 100644 --- a/node_modules/core-js/library/fn/reflect/get-own-property-descriptor.js +++ b/node_modules/core-js/library/fn/reflect/get-own-property-descriptor.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.get-own-property-descriptor'); -module.exports = require('../../modules/_core').Reflect.getOwnPropertyDescriptor;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.getOwnPropertyDescriptor; diff --git a/node_modules/core-js/library/fn/reflect/get-prototype-of.js b/node_modules/core-js/library/fn/reflect/get-prototype-of.js index 485035960..96a976d08 100644 --- a/node_modules/core-js/library/fn/reflect/get-prototype-of.js +++ b/node_modules/core-js/library/fn/reflect/get-prototype-of.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.get-prototype-of'); -module.exports = require('../../modules/_core').Reflect.getPrototypeOf;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.getPrototypeOf; diff --git a/node_modules/core-js/library/fn/reflect/get.js b/node_modules/core-js/library/fn/reflect/get.js index 9ca903e82..627abc3a7 100644 --- a/node_modules/core-js/library/fn/reflect/get.js +++ b/node_modules/core-js/library/fn/reflect/get.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.get'); -module.exports = require('../../modules/_core').Reflect.get;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.get; diff --git a/node_modules/core-js/library/fn/reflect/has-metadata.js b/node_modules/core-js/library/fn/reflect/has-metadata.js index f001f437a..bfa25b716 100644 --- a/node_modules/core-js/library/fn/reflect/has-metadata.js +++ b/node_modules/core-js/library/fn/reflect/has-metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.has-metadata'); -module.exports = require('../../modules/_core').Reflect.hasMetadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.hasMetadata; diff --git a/node_modules/core-js/library/fn/reflect/has-own-metadata.js b/node_modules/core-js/library/fn/reflect/has-own-metadata.js index d90935f0b..24d41e7c1 100644 --- a/node_modules/core-js/library/fn/reflect/has-own-metadata.js +++ b/node_modules/core-js/library/fn/reflect/has-own-metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.has-own-metadata'); -module.exports = require('../../modules/_core').Reflect.hasOwnMetadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.hasOwnMetadata; diff --git a/node_modules/core-js/library/fn/reflect/has.js b/node_modules/core-js/library/fn/reflect/has.js index 8e34933c8..920f6d811 100644 --- a/node_modules/core-js/library/fn/reflect/has.js +++ b/node_modules/core-js/library/fn/reflect/has.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.has'); -module.exports = require('../../modules/_core').Reflect.has;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.has; diff --git a/node_modules/core-js/library/fn/reflect/index.js b/node_modules/core-js/library/fn/reflect/index.js index a725cef2f..5dc33b509 100644 --- a/node_modules/core-js/library/fn/reflect/index.js +++ b/node_modules/core-js/library/fn/reflect/index.js @@ -21,4 +21,4 @@ require('../../modules/es7.reflect.get-own-metadata-keys'); require('../../modules/es7.reflect.has-metadata'); require('../../modules/es7.reflect.has-own-metadata'); require('../../modules/es7.reflect.metadata'); -module.exports = require('../../modules/_core').Reflect;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect; diff --git a/node_modules/core-js/library/fn/reflect/is-extensible.js b/node_modules/core-js/library/fn/reflect/is-extensible.js index de41d683a..8b449b122 100644 --- a/node_modules/core-js/library/fn/reflect/is-extensible.js +++ b/node_modules/core-js/library/fn/reflect/is-extensible.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.is-extensible'); -module.exports = require('../../modules/_core').Reflect.isExtensible;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.isExtensible; diff --git a/node_modules/core-js/library/fn/reflect/metadata.js b/node_modules/core-js/library/fn/reflect/metadata.js index 3f2b8ff62..e4a2375dc 100644 --- a/node_modules/core-js/library/fn/reflect/metadata.js +++ b/node_modules/core-js/library/fn/reflect/metadata.js @@ -1,2 +1,2 @@ require('../../modules/es7.reflect.metadata'); -module.exports = require('../../modules/_core').Reflect.metadata;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.metadata; diff --git a/node_modules/core-js/library/fn/reflect/own-keys.js b/node_modules/core-js/library/fn/reflect/own-keys.js index bfcebc740..ae21c81ec 100644 --- a/node_modules/core-js/library/fn/reflect/own-keys.js +++ b/node_modules/core-js/library/fn/reflect/own-keys.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.own-keys'); -module.exports = require('../../modules/_core').Reflect.ownKeys;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.ownKeys; diff --git a/node_modules/core-js/library/fn/reflect/prevent-extensions.js b/node_modules/core-js/library/fn/reflect/prevent-extensions.js index b346da3b0..89f11b61d 100644 --- a/node_modules/core-js/library/fn/reflect/prevent-extensions.js +++ b/node_modules/core-js/library/fn/reflect/prevent-extensions.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.prevent-extensions'); -module.exports = require('../../modules/_core').Reflect.preventExtensions;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.preventExtensions; diff --git a/node_modules/core-js/library/fn/reflect/set-prototype-of.js b/node_modules/core-js/library/fn/reflect/set-prototype-of.js index 16b74359c..4ee93da29 100644 --- a/node_modules/core-js/library/fn/reflect/set-prototype-of.js +++ b/node_modules/core-js/library/fn/reflect/set-prototype-of.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.set-prototype-of'); -module.exports = require('../../modules/_core').Reflect.setPrototypeOf;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.setPrototypeOf; diff --git a/node_modules/core-js/library/fn/reflect/set.js b/node_modules/core-js/library/fn/reflect/set.js index 834929ee3..b6868b641 100644 --- a/node_modules/core-js/library/fn/reflect/set.js +++ b/node_modules/core-js/library/fn/reflect/set.js @@ -1,2 +1,2 @@ require('../../modules/es6.reflect.set'); -module.exports = require('../../modules/_core').Reflect.set;
\ No newline at end of file +module.exports = require('../../modules/_core').Reflect.set; diff --git a/node_modules/core-js/library/fn/regexp/constructor.js b/node_modules/core-js/library/fn/regexp/constructor.js index 90c13513d..05434aaf0 100644 --- a/node_modules/core-js/library/fn/regexp/constructor.js +++ b/node_modules/core-js/library/fn/regexp/constructor.js @@ -1,2 +1,2 @@ require('../../modules/es6.regexp.constructor'); -module.exports = RegExp;
\ No newline at end of file +module.exports = RegExp; diff --git a/node_modules/core-js/library/fn/regexp/escape.js b/node_modules/core-js/library/fn/regexp/escape.js index d657a7d91..fa8c683f1 100644 --- a/node_modules/core-js/library/fn/regexp/escape.js +++ b/node_modules/core-js/library/fn/regexp/escape.js @@ -1,2 +1,2 @@ require('../../modules/core.regexp.escape'); -module.exports = require('../../modules/_core').RegExp.escape;
\ No newline at end of file +module.exports = require('../../modules/_core').RegExp.escape; diff --git a/node_modules/core-js/library/fn/regexp/flags.js b/node_modules/core-js/library/fn/regexp/flags.js index ef84ddbd1..62e7affe7 100644 --- a/node_modules/core-js/library/fn/regexp/flags.js +++ b/node_modules/core-js/library/fn/regexp/flags.js @@ -1,5 +1,5 @@ require('../../modules/es6.regexp.flags'); var flags = require('../../modules/_flags'); -module.exports = function(it){ +module.exports = function (it) { return flags.call(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/regexp/index.js b/node_modules/core-js/library/fn/regexp/index.js index 61ced0b81..3dd88b075 100644 --- a/node_modules/core-js/library/fn/regexp/index.js +++ b/node_modules/core-js/library/fn/regexp/index.js @@ -6,4 +6,4 @@ require('../../modules/es6.regexp.replace'); require('../../modules/es6.regexp.search'); require('../../modules/es6.regexp.split'); require('../../modules/core.regexp.escape'); -module.exports = require('../../modules/_core').RegExp;
\ No newline at end of file +module.exports = require('../../modules/_core').RegExp; diff --git a/node_modules/core-js/library/fn/regexp/match.js b/node_modules/core-js/library/fn/regexp/match.js index 400d0921e..1ca279ef7 100644 --- a/node_modules/core-js/library/fn/regexp/match.js +++ b/node_modules/core-js/library/fn/regexp/match.js @@ -1,5 +1,5 @@ require('../../modules/es6.regexp.match'); var MATCH = require('../../modules/_wks')('match'); -module.exports = function(it, str){ +module.exports = function (it, str) { return RegExp.prototype[MATCH].call(it, str); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/regexp/replace.js b/node_modules/core-js/library/fn/regexp/replace.js index adde0adf6..bc9ce6657 100644 --- a/node_modules/core-js/library/fn/regexp/replace.js +++ b/node_modules/core-js/library/fn/regexp/replace.js @@ -1,5 +1,5 @@ require('../../modules/es6.regexp.replace'); var REPLACE = require('../../modules/_wks')('replace'); -module.exports = function(it, str, replacer){ +module.exports = function (it, str, replacer) { return RegExp.prototype[REPLACE].call(it, str, replacer); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/regexp/search.js b/node_modules/core-js/library/fn/regexp/search.js index 4e149d05a..32ad0df10 100644 --- a/node_modules/core-js/library/fn/regexp/search.js +++ b/node_modules/core-js/library/fn/regexp/search.js @@ -1,5 +1,5 @@ require('../../modules/es6.regexp.search'); var SEARCH = require('../../modules/_wks')('search'); -module.exports = function(it, str){ +module.exports = function (it, str) { return RegExp.prototype[SEARCH].call(it, str); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/regexp/split.js b/node_modules/core-js/library/fn/regexp/split.js index b92d09fa6..a7d45898b 100644 --- a/node_modules/core-js/library/fn/regexp/split.js +++ b/node_modules/core-js/library/fn/regexp/split.js @@ -1,5 +1,5 @@ require('../../modules/es6.regexp.split'); var SPLIT = require('../../modules/_wks')('split'); -module.exports = function(it, str, limit){ +module.exports = function (it, str, limit) { return RegExp.prototype[SPLIT].call(it, str, limit); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/regexp/to-string.js b/node_modules/core-js/library/fn/regexp/to-string.js index 29d5d037a..faf418dda 100644 --- a/node_modules/core-js/library/fn/regexp/to-string.js +++ b/node_modules/core-js/library/fn/regexp/to-string.js @@ -1,5 +1,5 @@ 'use strict'; require('../../modules/es6.regexp.to-string'); -module.exports = function toString(it){ +module.exports = function toString(it) { return RegExp.prototype.toString.call(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/set-immediate.js b/node_modules/core-js/library/fn/set-immediate.js index 250831369..07a8dac8e 100644 --- a/node_modules/core-js/library/fn/set-immediate.js +++ b/node_modules/core-js/library/fn/set-immediate.js @@ -1,2 +1,2 @@ require('../modules/web.immediate'); -module.exports = require('../modules/_core').setImmediate;
\ No newline at end of file +module.exports = require('../modules/_core').setImmediate; diff --git a/node_modules/core-js/library/fn/set-interval.js b/node_modules/core-js/library/fn/set-interval.js index 484447ffa..f41b45cbf 100644 --- a/node_modules/core-js/library/fn/set-interval.js +++ b/node_modules/core-js/library/fn/set-interval.js @@ -1,2 +1,2 @@ require('../modules/web.timers'); -module.exports = require('../modules/_core').setInterval;
\ No newline at end of file +module.exports = require('../modules/_core').setInterval; diff --git a/node_modules/core-js/library/fn/set-timeout.js b/node_modules/core-js/library/fn/set-timeout.js index 8ebbb2e4f..b94a15481 100644 --- a/node_modules/core-js/library/fn/set-timeout.js +++ b/node_modules/core-js/library/fn/set-timeout.js @@ -1,2 +1,2 @@ require('../modules/web.timers'); -module.exports = require('../modules/_core').setTimeout;
\ No newline at end of file +module.exports = require('../modules/_core').setTimeout; diff --git a/node_modules/core-js/library/fn/set.js b/node_modules/core-js/library/fn/set.js index a8b496525..727fa9efb 100644 --- a/node_modules/core-js/library/fn/set.js +++ b/node_modules/core-js/library/fn/set.js @@ -3,4 +3,6 @@ require('../modules/es6.string.iterator'); require('../modules/web.dom.iterable'); require('../modules/es6.set'); require('../modules/es7.set.to-json'); -module.exports = require('../modules/_core').Set;
\ No newline at end of file +require('../modules/es7.set.of'); +require('../modules/es7.set.from'); +module.exports = require('../modules/_core').Set; diff --git a/node_modules/core-js/library/fn/set/from.js b/node_modules/core-js/library/fn/set/from.js new file mode 100644 index 000000000..fe1d39580 --- /dev/null +++ b/node_modules/core-js/library/fn/set/from.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.set'); +require('../../modules/es7.set.from'); +var $Set = require('../../modules/_core').Set; +var $from = $Set.from; +module.exports = function from(source, mapFn, thisArg) { + return $from.call(typeof this === 'function' ? this : $Set, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/library/fn/set/index.js b/node_modules/core-js/library/fn/set/index.js new file mode 100644 index 000000000..3e49e98e8 --- /dev/null +++ b/node_modules/core-js/library/fn/set/index.js @@ -0,0 +1,8 @@ +require('../../modules/es6.object.to-string'); +require('../../modules/es6.string.iterator'); +require('../../modules/web.dom.iterable'); +require('../../modules/es6.set'); +require('../../modules/es7.set.to-json'); +require('../../modules/es7.set.of'); +require('../../modules/es7.set.from'); +module.exports = require('../../modules/_core').Set; diff --git a/node_modules/core-js/library/fn/set/of.js b/node_modules/core-js/library/fn/set/of.js new file mode 100644 index 000000000..a5fbbc088 --- /dev/null +++ b/node_modules/core-js/library/fn/set/of.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.set'); +require('../../modules/es7.set.of'); +var $Set = require('../../modules/_core').Set; +var $of = $Set.of; +module.exports = function of() { + return $of.apply(typeof this === 'function' ? this : $Set, arguments); +}; diff --git a/node_modules/core-js/library/fn/string/anchor.js b/node_modules/core-js/library/fn/string/anchor.js index ba4ef8135..b0fa8a3de 100644 --- a/node_modules/core-js/library/fn/string/anchor.js +++ b/node_modules/core-js/library/fn/string/anchor.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.anchor'); -module.exports = require('../../modules/_core').String.anchor;
\ No newline at end of file +module.exports = require('../../modules/_core').String.anchor; diff --git a/node_modules/core-js/library/fn/string/at.js b/node_modules/core-js/library/fn/string/at.js index ab6aec153..9cdf0285f 100644 --- a/node_modules/core-js/library/fn/string/at.js +++ b/node_modules/core-js/library/fn/string/at.js @@ -1,2 +1,2 @@ require('../../modules/es7.string.at'); -module.exports = require('../../modules/_core').String.at;
\ No newline at end of file +module.exports = require('../../modules/_core').String.at; diff --git a/node_modules/core-js/library/fn/string/big.js b/node_modules/core-js/library/fn/string/big.js index ab707907c..96afa473a 100644 --- a/node_modules/core-js/library/fn/string/big.js +++ b/node_modules/core-js/library/fn/string/big.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.big'); -module.exports = require('../../modules/_core').String.big;
\ No newline at end of file +module.exports = require('../../modules/_core').String.big; diff --git a/node_modules/core-js/library/fn/string/blink.js b/node_modules/core-js/library/fn/string/blink.js index c748079b9..946cfa43f 100644 --- a/node_modules/core-js/library/fn/string/blink.js +++ b/node_modules/core-js/library/fn/string/blink.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.blink'); -module.exports = require('../../modules/_core').String.blink;
\ No newline at end of file +module.exports = require('../../modules/_core').String.blink; diff --git a/node_modules/core-js/library/fn/string/bold.js b/node_modules/core-js/library/fn/string/bold.js index 2d36bda3a..1a6a2acb6 100644 --- a/node_modules/core-js/library/fn/string/bold.js +++ b/node_modules/core-js/library/fn/string/bold.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.bold'); -module.exports = require('../../modules/_core').String.bold;
\ No newline at end of file +module.exports = require('../../modules/_core').String.bold; diff --git a/node_modules/core-js/library/fn/string/code-point-at.js b/node_modules/core-js/library/fn/string/code-point-at.js index be141e82d..c6933687f 100644 --- a/node_modules/core-js/library/fn/string/code-point-at.js +++ b/node_modules/core-js/library/fn/string/code-point-at.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.code-point-at'); -module.exports = require('../../modules/_core').String.codePointAt;
\ No newline at end of file +module.exports = require('../../modules/_core').String.codePointAt; diff --git a/node_modules/core-js/library/fn/string/ends-with.js b/node_modules/core-js/library/fn/string/ends-with.js index 5e427753e..b2adb4310 100644 --- a/node_modules/core-js/library/fn/string/ends-with.js +++ b/node_modules/core-js/library/fn/string/ends-with.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.ends-with'); -module.exports = require('../../modules/_core').String.endsWith;
\ No newline at end of file +module.exports = require('../../modules/_core').String.endsWith; diff --git a/node_modules/core-js/library/fn/string/escape-html.js b/node_modules/core-js/library/fn/string/escape-html.js index 49176ca65..8f427882b 100644 --- a/node_modules/core-js/library/fn/string/escape-html.js +++ b/node_modules/core-js/library/fn/string/escape-html.js @@ -1,2 +1,2 @@ require('../../modules/core.string.escape-html'); -module.exports = require('../../modules/_core').String.escapeHTML;
\ No newline at end of file +module.exports = require('../../modules/_core').String.escapeHTML; diff --git a/node_modules/core-js/library/fn/string/fixed.js b/node_modules/core-js/library/fn/string/fixed.js index 77e233a3f..dac4ca914 100644 --- a/node_modules/core-js/library/fn/string/fixed.js +++ b/node_modules/core-js/library/fn/string/fixed.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.fixed'); -module.exports = require('../../modules/_core').String.fixed;
\ No newline at end of file +module.exports = require('../../modules/_core').String.fixed; diff --git a/node_modules/core-js/library/fn/string/fontcolor.js b/node_modules/core-js/library/fn/string/fontcolor.js index 079235a19..96c0badb1 100644 --- a/node_modules/core-js/library/fn/string/fontcolor.js +++ b/node_modules/core-js/library/fn/string/fontcolor.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.fontcolor'); -module.exports = require('../../modules/_core').String.fontcolor;
\ No newline at end of file +module.exports = require('../../modules/_core').String.fontcolor; diff --git a/node_modules/core-js/library/fn/string/fontsize.js b/node_modules/core-js/library/fn/string/fontsize.js index 8cb2555c6..f98355e5b 100644 --- a/node_modules/core-js/library/fn/string/fontsize.js +++ b/node_modules/core-js/library/fn/string/fontsize.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.fontsize'); -module.exports = require('../../modules/_core').String.fontsize;
\ No newline at end of file +module.exports = require('../../modules/_core').String.fontsize; diff --git a/node_modules/core-js/library/fn/string/from-code-point.js b/node_modules/core-js/library/fn/string/from-code-point.js index 93fc53aea..088590a06 100644 --- a/node_modules/core-js/library/fn/string/from-code-point.js +++ b/node_modules/core-js/library/fn/string/from-code-point.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.from-code-point'); -module.exports = require('../../modules/_core').String.fromCodePoint;
\ No newline at end of file +module.exports = require('../../modules/_core').String.fromCodePoint; diff --git a/node_modules/core-js/library/fn/string/includes.js b/node_modules/core-js/library/fn/string/includes.js index c9736404d..b2d81a1d0 100644 --- a/node_modules/core-js/library/fn/string/includes.js +++ b/node_modules/core-js/library/fn/string/includes.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.includes'); -module.exports = require('../../modules/_core').String.includes;
\ No newline at end of file +module.exports = require('../../modules/_core').String.includes; diff --git a/node_modules/core-js/library/fn/string/italics.js b/node_modules/core-js/library/fn/string/italics.js index 378450ebd..97cdbc07b 100644 --- a/node_modules/core-js/library/fn/string/italics.js +++ b/node_modules/core-js/library/fn/string/italics.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.italics'); -module.exports = require('../../modules/_core').String.italics;
\ No newline at end of file +module.exports = require('../../modules/_core').String.italics; diff --git a/node_modules/core-js/library/fn/string/iterator.js b/node_modules/core-js/library/fn/string/iterator.js index 947e7558b..dbaa1b729 100644 --- a/node_modules/core-js/library/fn/string/iterator.js +++ b/node_modules/core-js/library/fn/string/iterator.js @@ -1,5 +1,5 @@ require('../../modules/es6.string.iterator'); var get = require('../../modules/_iterators').String; -module.exports = function(it){ +module.exports = function (it) { return get.call(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/fn/string/link.js b/node_modules/core-js/library/fn/string/link.js index 1eb2c6dd2..6bd2035ad 100644 --- a/node_modules/core-js/library/fn/string/link.js +++ b/node_modules/core-js/library/fn/string/link.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.link'); -module.exports = require('../../modules/_core').String.link;
\ No newline at end of file +module.exports = require('../../modules/_core').String.link; diff --git a/node_modules/core-js/library/fn/string/match-all.js b/node_modules/core-js/library/fn/string/match-all.js index 1a1dfeb6e..7c576b9fc 100644 --- a/node_modules/core-js/library/fn/string/match-all.js +++ b/node_modules/core-js/library/fn/string/match-all.js @@ -1,2 +1,2 @@ require('../../modules/es7.string.match-all'); -module.exports = require('../../modules/_core').String.matchAll;
\ No newline at end of file +module.exports = require('../../modules/_core').String.matchAll; diff --git a/node_modules/core-js/library/fn/string/raw.js b/node_modules/core-js/library/fn/string/raw.js index 713550fb2..d9ccd6436 100644 --- a/node_modules/core-js/library/fn/string/raw.js +++ b/node_modules/core-js/library/fn/string/raw.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.raw'); -module.exports = require('../../modules/_core').String.raw;
\ No newline at end of file +module.exports = require('../../modules/_core').String.raw; diff --git a/node_modules/core-js/library/fn/string/repeat.js b/node_modules/core-js/library/fn/string/repeat.js index fa75b13ec..d0c48c084 100644 --- a/node_modules/core-js/library/fn/string/repeat.js +++ b/node_modules/core-js/library/fn/string/repeat.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.repeat'); -module.exports = require('../../modules/_core').String.repeat;
\ No newline at end of file +module.exports = require('../../modules/_core').String.repeat; diff --git a/node_modules/core-js/library/fn/string/small.js b/node_modules/core-js/library/fn/string/small.js index 0438290db..eb525551f 100644 --- a/node_modules/core-js/library/fn/string/small.js +++ b/node_modules/core-js/library/fn/string/small.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.small'); -module.exports = require('../../modules/_core').String.small;
\ No newline at end of file +module.exports = require('../../modules/_core').String.small; diff --git a/node_modules/core-js/library/fn/string/starts-with.js b/node_modules/core-js/library/fn/string/starts-with.js index d62512a3c..174647f29 100644 --- a/node_modules/core-js/library/fn/string/starts-with.js +++ b/node_modules/core-js/library/fn/string/starts-with.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.starts-with'); -module.exports = require('../../modules/_core').String.startsWith;
\ No newline at end of file +module.exports = require('../../modules/_core').String.startsWith; diff --git a/node_modules/core-js/library/fn/string/strike.js b/node_modules/core-js/library/fn/string/strike.js index b79946c8e..cc8fe58ce 100644 --- a/node_modules/core-js/library/fn/string/strike.js +++ b/node_modules/core-js/library/fn/string/strike.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.strike'); -module.exports = require('../../modules/_core').String.strike;
\ No newline at end of file +module.exports = require('../../modules/_core').String.strike; diff --git a/node_modules/core-js/library/fn/string/sub.js b/node_modules/core-js/library/fn/string/sub.js index 54d0671e3..5de284d71 100644 --- a/node_modules/core-js/library/fn/string/sub.js +++ b/node_modules/core-js/library/fn/string/sub.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.sub'); -module.exports = require('../../modules/_core').String.sub;
\ No newline at end of file +module.exports = require('../../modules/_core').String.sub; diff --git a/node_modules/core-js/library/fn/string/sup.js b/node_modules/core-js/library/fn/string/sup.js index 645e0372f..9e94f9a95 100644 --- a/node_modules/core-js/library/fn/string/sup.js +++ b/node_modules/core-js/library/fn/string/sup.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.sup'); -module.exports = require('../../modules/_core').String.sup;
\ No newline at end of file +module.exports = require('../../modules/_core').String.sup; diff --git a/node_modules/core-js/library/fn/string/trim-end.js b/node_modules/core-js/library/fn/string/trim-end.js index f3bdf6fb1..ebf9bba63 100644 --- a/node_modules/core-js/library/fn/string/trim-end.js +++ b/node_modules/core-js/library/fn/string/trim-end.js @@ -1,2 +1,2 @@ require('../../modules/es7.string.trim-right'); -module.exports = require('../../modules/_core').String.trimRight;
\ No newline at end of file +module.exports = require('../../modules/_core').String.trimRight; diff --git a/node_modules/core-js/library/fn/string/trim-left.js b/node_modules/core-js/library/fn/string/trim-left.js index 04671d369..af1b97537 100644 --- a/node_modules/core-js/library/fn/string/trim-left.js +++ b/node_modules/core-js/library/fn/string/trim-left.js @@ -1,2 +1,2 @@ require('../../modules/es7.string.trim-left'); -module.exports = require('../../modules/_core').String.trimLeft;
\ No newline at end of file +module.exports = require('../../modules/_core').String.trimLeft; diff --git a/node_modules/core-js/library/fn/string/trim-right.js b/node_modules/core-js/library/fn/string/trim-right.js index f3bdf6fb1..ebf9bba63 100644 --- a/node_modules/core-js/library/fn/string/trim-right.js +++ b/node_modules/core-js/library/fn/string/trim-right.js @@ -1,2 +1,2 @@ require('../../modules/es7.string.trim-right'); -module.exports = require('../../modules/_core').String.trimRight;
\ No newline at end of file +module.exports = require('../../modules/_core').String.trimRight; diff --git a/node_modules/core-js/library/fn/string/trim-start.js b/node_modules/core-js/library/fn/string/trim-start.js index 04671d369..af1b97537 100644 --- a/node_modules/core-js/library/fn/string/trim-start.js +++ b/node_modules/core-js/library/fn/string/trim-start.js @@ -1,2 +1,2 @@ require('../../modules/es7.string.trim-left'); -module.exports = require('../../modules/_core').String.trimLeft;
\ No newline at end of file +module.exports = require('../../modules/_core').String.trimLeft; diff --git a/node_modules/core-js/library/fn/string/trim.js b/node_modules/core-js/library/fn/string/trim.js index c536e12eb..578c471c1 100644 --- a/node_modules/core-js/library/fn/string/trim.js +++ b/node_modules/core-js/library/fn/string/trim.js @@ -1,2 +1,2 @@ require('../../modules/es6.string.trim'); -module.exports = require('../../modules/_core').String.trim;
\ No newline at end of file +module.exports = require('../../modules/_core').String.trim; diff --git a/node_modules/core-js/library/fn/string/unescape-html.js b/node_modules/core-js/library/fn/string/unescape-html.js index 7c2c55c8c..c13d4e56c 100644 --- a/node_modules/core-js/library/fn/string/unescape-html.js +++ b/node_modules/core-js/library/fn/string/unescape-html.js @@ -1,2 +1,2 @@ require('../../modules/core.string.unescape-html'); -module.exports = require('../../modules/_core').String.unescapeHTML;
\ No newline at end of file +module.exports = require('../../modules/_core').String.unescapeHTML; diff --git a/node_modules/core-js/library/fn/string/virtual/anchor.js b/node_modules/core-js/library/fn/string/virtual/anchor.js index 6f74b7e88..1ffe9e14c 100644 --- a/node_modules/core-js/library/fn/string/virtual/anchor.js +++ b/node_modules/core-js/library/fn/string/virtual/anchor.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.anchor'); -module.exports = require('../../../modules/_entry-virtual')('String').anchor;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').anchor; diff --git a/node_modules/core-js/library/fn/string/virtual/at.js b/node_modules/core-js/library/fn/string/virtual/at.js index 3b9614386..72d0d6d71 100644 --- a/node_modules/core-js/library/fn/string/virtual/at.js +++ b/node_modules/core-js/library/fn/string/virtual/at.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.at'); -module.exports = require('../../../modules/_entry-virtual')('String').at;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').at; diff --git a/node_modules/core-js/library/fn/string/virtual/big.js b/node_modules/core-js/library/fn/string/virtual/big.js index 57ac7d5de..0dac23feb 100644 --- a/node_modules/core-js/library/fn/string/virtual/big.js +++ b/node_modules/core-js/library/fn/string/virtual/big.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.big'); -module.exports = require('../../../modules/_entry-virtual')('String').big;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').big; diff --git a/node_modules/core-js/library/fn/string/virtual/blink.js b/node_modules/core-js/library/fn/string/virtual/blink.js index 5c4cea80f..d3ee39a52 100644 --- a/node_modules/core-js/library/fn/string/virtual/blink.js +++ b/node_modules/core-js/library/fn/string/virtual/blink.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.blink'); -module.exports = require('../../../modules/_entry-virtual')('String').blink;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').blink; diff --git a/node_modules/core-js/library/fn/string/virtual/bold.js b/node_modules/core-js/library/fn/string/virtual/bold.js index c566bf2d9..4dedfa495 100644 --- a/node_modules/core-js/library/fn/string/virtual/bold.js +++ b/node_modules/core-js/library/fn/string/virtual/bold.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.bold'); -module.exports = require('../../../modules/_entry-virtual')('String').bold;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').bold; diff --git a/node_modules/core-js/library/fn/string/virtual/code-point-at.js b/node_modules/core-js/library/fn/string/virtual/code-point-at.js index 873752191..a9aef1be1 100644 --- a/node_modules/core-js/library/fn/string/virtual/code-point-at.js +++ b/node_modules/core-js/library/fn/string/virtual/code-point-at.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.code-point-at'); -module.exports = require('../../../modules/_entry-virtual')('String').codePointAt;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').codePointAt; diff --git a/node_modules/core-js/library/fn/string/virtual/ends-with.js b/node_modules/core-js/library/fn/string/virtual/ends-with.js index 90bc6e79e..b689dfae0 100644 --- a/node_modules/core-js/library/fn/string/virtual/ends-with.js +++ b/node_modules/core-js/library/fn/string/virtual/ends-with.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.ends-with'); -module.exports = require('../../../modules/_entry-virtual')('String').endsWith;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').endsWith; diff --git a/node_modules/core-js/library/fn/string/virtual/escape-html.js b/node_modules/core-js/library/fn/string/virtual/escape-html.js index 3342bcec9..18b6c3b87 100644 --- a/node_modules/core-js/library/fn/string/virtual/escape-html.js +++ b/node_modules/core-js/library/fn/string/virtual/escape-html.js @@ -1,2 +1,2 @@ require('../../../modules/core.string.escape-html'); -module.exports = require('../../../modules/_entry-virtual')('String').escapeHTML;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').escapeHTML; diff --git a/node_modules/core-js/library/fn/string/virtual/fixed.js b/node_modules/core-js/library/fn/string/virtual/fixed.js index e830654f2..070ec8735 100644 --- a/node_modules/core-js/library/fn/string/virtual/fixed.js +++ b/node_modules/core-js/library/fn/string/virtual/fixed.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.fixed'); -module.exports = require('../../../modules/_entry-virtual')('String').fixed;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').fixed; diff --git a/node_modules/core-js/library/fn/string/virtual/fontcolor.js b/node_modules/core-js/library/fn/string/virtual/fontcolor.js index cfb9b2c09..f3dab649e 100644 --- a/node_modules/core-js/library/fn/string/virtual/fontcolor.js +++ b/node_modules/core-js/library/fn/string/virtual/fontcolor.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.fontcolor'); -module.exports = require('../../../modules/_entry-virtual')('String').fontcolor;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').fontcolor; diff --git a/node_modules/core-js/library/fn/string/virtual/fontsize.js b/node_modules/core-js/library/fn/string/virtual/fontsize.js index de8f5161a..ef5f0baa4 100644 --- a/node_modules/core-js/library/fn/string/virtual/fontsize.js +++ b/node_modules/core-js/library/fn/string/virtual/fontsize.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.fontsize'); -module.exports = require('../../../modules/_entry-virtual')('String').fontsize;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').fontsize; diff --git a/node_modules/core-js/library/fn/string/virtual/includes.js b/node_modules/core-js/library/fn/string/virtual/includes.js index 1e4793d67..0eff6ebec 100644 --- a/node_modules/core-js/library/fn/string/virtual/includes.js +++ b/node_modules/core-js/library/fn/string/virtual/includes.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.includes'); -module.exports = require('../../../modules/_entry-virtual')('String').includes;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').includes; diff --git a/node_modules/core-js/library/fn/string/virtual/italics.js b/node_modules/core-js/library/fn/string/virtual/italics.js index f8f1d3381..265b56671 100644 --- a/node_modules/core-js/library/fn/string/virtual/italics.js +++ b/node_modules/core-js/library/fn/string/virtual/italics.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.italics'); -module.exports = require('../../../modules/_entry-virtual')('String').italics;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').italics; diff --git a/node_modules/core-js/library/fn/string/virtual/iterator.js b/node_modules/core-js/library/fn/string/virtual/iterator.js index 7efe2f93a..29d4bb2b5 100644 --- a/node_modules/core-js/library/fn/string/virtual/iterator.js +++ b/node_modules/core-js/library/fn/string/virtual/iterator.js @@ -1,2 +1,2 @@ require('../../../modules/core.number.iterator'); -module.exports = require('../../../modules/_iterators').String;
\ No newline at end of file +module.exports = require('../../../modules/_iterators').String; diff --git a/node_modules/core-js/library/fn/string/virtual/link.js b/node_modules/core-js/library/fn/string/virtual/link.js index 4b2eea8a5..7e3014f83 100644 --- a/node_modules/core-js/library/fn/string/virtual/link.js +++ b/node_modules/core-js/library/fn/string/virtual/link.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.link'); -module.exports = require('../../../modules/_entry-virtual')('String').link;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').link; diff --git a/node_modules/core-js/library/fn/string/virtual/match-all.js b/node_modules/core-js/library/fn/string/virtual/match-all.js index 9208873a7..c785a9ffc 100644 --- a/node_modules/core-js/library/fn/string/virtual/match-all.js +++ b/node_modules/core-js/library/fn/string/virtual/match-all.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.match-all'); -module.exports = require('../../../modules/_entry-virtual')('String').matchAll;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').matchAll; diff --git a/node_modules/core-js/library/fn/string/virtual/pad-end.js b/node_modules/core-js/library/fn/string/virtual/pad-end.js index 81e5ac046..ac8876a8e 100644 --- a/node_modules/core-js/library/fn/string/virtual/pad-end.js +++ b/node_modules/core-js/library/fn/string/virtual/pad-end.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.pad-end'); -module.exports = require('../../../modules/_entry-virtual')('String').padEnd;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').padEnd; diff --git a/node_modules/core-js/library/fn/string/virtual/pad-start.js b/node_modules/core-js/library/fn/string/virtual/pad-start.js index 54cf3a59b..6b55e8777 100644 --- a/node_modules/core-js/library/fn/string/virtual/pad-start.js +++ b/node_modules/core-js/library/fn/string/virtual/pad-start.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.pad-start'); -module.exports = require('../../../modules/_entry-virtual')('String').padStart;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').padStart; diff --git a/node_modules/core-js/library/fn/string/virtual/repeat.js b/node_modules/core-js/library/fn/string/virtual/repeat.js index d08cf6a5e..3041c3c8b 100644 --- a/node_modules/core-js/library/fn/string/virtual/repeat.js +++ b/node_modules/core-js/library/fn/string/virtual/repeat.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.repeat'); -module.exports = require('../../../modules/_entry-virtual')('String').repeat;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').repeat; diff --git a/node_modules/core-js/library/fn/string/virtual/small.js b/node_modules/core-js/library/fn/string/virtual/small.js index 201bf9b6a..0061102f1 100644 --- a/node_modules/core-js/library/fn/string/virtual/small.js +++ b/node_modules/core-js/library/fn/string/virtual/small.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.small'); -module.exports = require('../../../modules/_entry-virtual')('String').small;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').small; diff --git a/node_modules/core-js/library/fn/string/virtual/starts-with.js b/node_modules/core-js/library/fn/string/virtual/starts-with.js index f8897d153..f98b59d51 100644 --- a/node_modules/core-js/library/fn/string/virtual/starts-with.js +++ b/node_modules/core-js/library/fn/string/virtual/starts-with.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.starts-with'); -module.exports = require('../../../modules/_entry-virtual')('String').startsWith;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').startsWith; diff --git a/node_modules/core-js/library/fn/string/virtual/strike.js b/node_modules/core-js/library/fn/string/virtual/strike.js index 4572db915..7a5bf81be 100644 --- a/node_modules/core-js/library/fn/string/virtual/strike.js +++ b/node_modules/core-js/library/fn/string/virtual/strike.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.strike'); -module.exports = require('../../../modules/_entry-virtual')('String').strike;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').strike; diff --git a/node_modules/core-js/library/fn/string/virtual/sub.js b/node_modules/core-js/library/fn/string/virtual/sub.js index a13611ecc..e0941c559 100644 --- a/node_modules/core-js/library/fn/string/virtual/sub.js +++ b/node_modules/core-js/library/fn/string/virtual/sub.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.sub'); -module.exports = require('../../../modules/_entry-virtual')('String').sub;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').sub; diff --git a/node_modules/core-js/library/fn/string/virtual/sup.js b/node_modules/core-js/library/fn/string/virtual/sup.js index 07695329c..4d59bb108 100644 --- a/node_modules/core-js/library/fn/string/virtual/sup.js +++ b/node_modules/core-js/library/fn/string/virtual/sup.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.sup'); -module.exports = require('../../../modules/_entry-virtual')('String').sup;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').sup; diff --git a/node_modules/core-js/library/fn/string/virtual/trim-end.js b/node_modules/core-js/library/fn/string/virtual/trim-end.js index 14c25ac84..6209c8055 100644 --- a/node_modules/core-js/library/fn/string/virtual/trim-end.js +++ b/node_modules/core-js/library/fn/string/virtual/trim-end.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.trim-right'); -module.exports = require('../../../modules/_entry-virtual')('String').trimRight;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').trimRight; diff --git a/node_modules/core-js/library/fn/string/virtual/trim-left.js b/node_modules/core-js/library/fn/string/virtual/trim-left.js index aabcfb3f3..383ed4fc5 100644 --- a/node_modules/core-js/library/fn/string/virtual/trim-left.js +++ b/node_modules/core-js/library/fn/string/virtual/trim-left.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.trim-left'); -module.exports = require('../../../modules/_entry-virtual')('String').trimLeft;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').trimLeft; diff --git a/node_modules/core-js/library/fn/string/virtual/trim-right.js b/node_modules/core-js/library/fn/string/virtual/trim-right.js index 14c25ac84..6209c8055 100644 --- a/node_modules/core-js/library/fn/string/virtual/trim-right.js +++ b/node_modules/core-js/library/fn/string/virtual/trim-right.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.trim-right'); -module.exports = require('../../../modules/_entry-virtual')('String').trimRight;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').trimRight; diff --git a/node_modules/core-js/library/fn/string/virtual/trim-start.js b/node_modules/core-js/library/fn/string/virtual/trim-start.js index aabcfb3f3..383ed4fc5 100644 --- a/node_modules/core-js/library/fn/string/virtual/trim-start.js +++ b/node_modules/core-js/library/fn/string/virtual/trim-start.js @@ -1,2 +1,2 @@ require('../../../modules/es7.string.trim-left'); -module.exports = require('../../../modules/_entry-virtual')('String').trimLeft;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').trimLeft; diff --git a/node_modules/core-js/library/fn/string/virtual/trim.js b/node_modules/core-js/library/fn/string/virtual/trim.js index 23fbcbc50..2efea5ca3 100644 --- a/node_modules/core-js/library/fn/string/virtual/trim.js +++ b/node_modules/core-js/library/fn/string/virtual/trim.js @@ -1,2 +1,2 @@ require('../../../modules/es6.string.trim'); -module.exports = require('../../../modules/_entry-virtual')('String').trim;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').trim; diff --git a/node_modules/core-js/library/fn/string/virtual/unescape-html.js b/node_modules/core-js/library/fn/string/virtual/unescape-html.js index 51eb59fc5..ad4e40131 100644 --- a/node_modules/core-js/library/fn/string/virtual/unescape-html.js +++ b/node_modules/core-js/library/fn/string/virtual/unescape-html.js @@ -1,2 +1,2 @@ require('../../../modules/core.string.unescape-html'); -module.exports = require('../../../modules/_entry-virtual')('String').unescapeHTML;
\ No newline at end of file +module.exports = require('../../../modules/_entry-virtual')('String').unescapeHTML; diff --git a/node_modules/core-js/library/fn/symbol/async-iterator.js b/node_modules/core-js/library/fn/symbol/async-iterator.js index aca10f966..951ea8f10 100644 --- a/node_modules/core-js/library/fn/symbol/async-iterator.js +++ b/node_modules/core-js/library/fn/symbol/async-iterator.js @@ -1,2 +1,2 @@ require('../../modules/es7.symbol.async-iterator'); -module.exports = require('../../modules/_wks-ext').f('asyncIterator');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('asyncIterator'); diff --git a/node_modules/core-js/library/fn/symbol/for.js b/node_modules/core-js/library/fn/symbol/for.js index c9e93c139..0e288bb9d 100644 --- a/node_modules/core-js/library/fn/symbol/for.js +++ b/node_modules/core-js/library/fn/symbol/for.js @@ -1,2 +1,2 @@ require('../../modules/es6.symbol'); -module.exports = require('../../modules/_core').Symbol['for'];
\ No newline at end of file +module.exports = require('../../modules/_core').Symbol['for']; diff --git a/node_modules/core-js/library/fn/symbol/has-instance.js b/node_modules/core-js/library/fn/symbol/has-instance.js index f3ec9cf6b..2c8240954 100644 --- a/node_modules/core-js/library/fn/symbol/has-instance.js +++ b/node_modules/core-js/library/fn/symbol/has-instance.js @@ -1,2 +1,2 @@ require('../../modules/es6.function.has-instance'); -module.exports = require('../../modules/_wks-ext').f('hasInstance');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('hasInstance'); diff --git a/node_modules/core-js/library/fn/symbol/index.js b/node_modules/core-js/library/fn/symbol/index.js index 64c0f5f47..ac2d94283 100644 --- a/node_modules/core-js/library/fn/symbol/index.js +++ b/node_modules/core-js/library/fn/symbol/index.js @@ -2,4 +2,4 @@ require('../../modules/es6.symbol'); require('../../modules/es6.object.to-string'); require('../../modules/es7.symbol.async-iterator'); require('../../modules/es7.symbol.observable'); -module.exports = require('../../modules/_core').Symbol;
\ No newline at end of file +module.exports = require('../../modules/_core').Symbol; diff --git a/node_modules/core-js/library/fn/symbol/is-concat-spreadable.js b/node_modules/core-js/library/fn/symbol/is-concat-spreadable.js index 49ed7a1d2..10dcb64a1 100644 --- a/node_modules/core-js/library/fn/symbol/is-concat-spreadable.js +++ b/node_modules/core-js/library/fn/symbol/is-concat-spreadable.js @@ -1 +1 @@ -module.exports = require('../../modules/_wks-ext').f('isConcatSpreadable');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('isConcatSpreadable'); diff --git a/node_modules/core-js/library/fn/symbol/iterator.js b/node_modules/core-js/library/fn/symbol/iterator.js index 503522809..43f7c0812 100644 --- a/node_modules/core-js/library/fn/symbol/iterator.js +++ b/node_modules/core-js/library/fn/symbol/iterator.js @@ -1,3 +1,3 @@ require('../../modules/es6.string.iterator'); require('../../modules/web.dom.iterable'); -module.exports = require('../../modules/_wks-ext').f('iterator');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('iterator'); diff --git a/node_modules/core-js/library/fn/symbol/key-for.js b/node_modules/core-js/library/fn/symbol/key-for.js index d9b595ff1..c7d1a0dc8 100644 --- a/node_modules/core-js/library/fn/symbol/key-for.js +++ b/node_modules/core-js/library/fn/symbol/key-for.js @@ -1,2 +1,2 @@ require('../../modules/es6.symbol'); -module.exports = require('../../modules/_core').Symbol.keyFor;
\ No newline at end of file +module.exports = require('../../modules/_core').Symbol.keyFor; diff --git a/node_modules/core-js/library/fn/symbol/match.js b/node_modules/core-js/library/fn/symbol/match.js index d27db65b6..a5bd3cb0a 100644 --- a/node_modules/core-js/library/fn/symbol/match.js +++ b/node_modules/core-js/library/fn/symbol/match.js @@ -1,2 +1,2 @@ require('../../modules/es6.regexp.match'); -module.exports = require('../../modules/_wks-ext').f('match');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('match'); diff --git a/node_modules/core-js/library/fn/symbol/observable.js b/node_modules/core-js/library/fn/symbol/observable.js index 884cebfdf..f943b32c8 100644 --- a/node_modules/core-js/library/fn/symbol/observable.js +++ b/node_modules/core-js/library/fn/symbol/observable.js @@ -1,2 +1,2 @@ require('../../modules/es7.symbol.observable'); -module.exports = require('../../modules/_wks-ext').f('observable');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('observable'); diff --git a/node_modules/core-js/library/fn/symbol/replace.js b/node_modules/core-js/library/fn/symbol/replace.js index 3ef60f5e9..364e0bbab 100644 --- a/node_modules/core-js/library/fn/symbol/replace.js +++ b/node_modules/core-js/library/fn/symbol/replace.js @@ -1,2 +1,2 @@ require('../../modules/es6.regexp.replace'); -module.exports = require('../../modules/_wks-ext').f('replace');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('replace'); diff --git a/node_modules/core-js/library/fn/symbol/search.js b/node_modules/core-js/library/fn/symbol/search.js index aee84f9e6..c07b40c09 100644 --- a/node_modules/core-js/library/fn/symbol/search.js +++ b/node_modules/core-js/library/fn/symbol/search.js @@ -1,2 +1,2 @@ require('../../modules/es6.regexp.search'); -module.exports = require('../../modules/_wks-ext').f('search');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('search'); diff --git a/node_modules/core-js/library/fn/symbol/species.js b/node_modules/core-js/library/fn/symbol/species.js index a425eb2da..4c5bbefe8 100644 --- a/node_modules/core-js/library/fn/symbol/species.js +++ b/node_modules/core-js/library/fn/symbol/species.js @@ -1 +1 @@ -module.exports = require('../../modules/_wks-ext').f('species');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('species'); diff --git a/node_modules/core-js/library/fn/symbol/split.js b/node_modules/core-js/library/fn/symbol/split.js index 8535932fb..58da2fa9e 100644 --- a/node_modules/core-js/library/fn/symbol/split.js +++ b/node_modules/core-js/library/fn/symbol/split.js @@ -1,2 +1,2 @@ require('../../modules/es6.regexp.split'); -module.exports = require('../../modules/_wks-ext').f('split');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('split'); diff --git a/node_modules/core-js/library/fn/symbol/to-primitive.js b/node_modules/core-js/library/fn/symbol/to-primitive.js index 20c831b85..3a8a2ea5f 100644 --- a/node_modules/core-js/library/fn/symbol/to-primitive.js +++ b/node_modules/core-js/library/fn/symbol/to-primitive.js @@ -1 +1 @@ -module.exports = require('../../modules/_wks-ext').f('toPrimitive');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('toPrimitive'); diff --git a/node_modules/core-js/library/fn/symbol/to-string-tag.js b/node_modules/core-js/library/fn/symbol/to-string-tag.js index 101baf27c..7b6616dc8 100644 --- a/node_modules/core-js/library/fn/symbol/to-string-tag.js +++ b/node_modules/core-js/library/fn/symbol/to-string-tag.js @@ -1,2 +1,2 @@ require('../../modules/es6.object.to-string'); -module.exports = require('../../modules/_wks-ext').f('toStringTag');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('toStringTag'); diff --git a/node_modules/core-js/library/fn/symbol/unscopables.js b/node_modules/core-js/library/fn/symbol/unscopables.js index 6c4146b23..5a0a82328 100644 --- a/node_modules/core-js/library/fn/symbol/unscopables.js +++ b/node_modules/core-js/library/fn/symbol/unscopables.js @@ -1 +1 @@ -module.exports = require('../../modules/_wks-ext').f('unscopables');
\ No newline at end of file +module.exports = require('../../modules/_wks-ext').f('unscopables'); diff --git a/node_modules/core-js/library/fn/system/global.js b/node_modules/core-js/library/fn/system/global.js index c3219d6f3..fd523347b 100644 --- a/node_modules/core-js/library/fn/system/global.js +++ b/node_modules/core-js/library/fn/system/global.js @@ -1,2 +1,2 @@ require('../../modules/es7.system.global'); -module.exports = require('../../modules/_core').System.global;
\ No newline at end of file +module.exports = require('../../modules/_core').System.global; diff --git a/node_modules/core-js/library/fn/system/index.js b/node_modules/core-js/library/fn/system/index.js index eae78ddd6..eebc37b3c 100644 --- a/node_modules/core-js/library/fn/system/index.js +++ b/node_modules/core-js/library/fn/system/index.js @@ -1,2 +1,2 @@ require('../../modules/es7.system.global'); -module.exports = require('../../modules/_core').System;
\ No newline at end of file +module.exports = require('../../modules/_core').System; diff --git a/node_modules/core-js/library/fn/typed/array-buffer.js b/node_modules/core-js/library/fn/typed/array-buffer.js index fe08f7f24..b5416e3a3 100644 --- a/node_modules/core-js/library/fn/typed/array-buffer.js +++ b/node_modules/core-js/library/fn/typed/array-buffer.js @@ -1,3 +1,3 @@ require('../../modules/es6.typed.array-buffer'); require('../../modules/es6.object.to-string'); -module.exports = require('../../modules/_core').ArrayBuffer;
\ No newline at end of file +module.exports = require('../../modules/_core').ArrayBuffer; diff --git a/node_modules/core-js/library/fn/typed/data-view.js b/node_modules/core-js/library/fn/typed/data-view.js index 09dbb38aa..075d39da1 100644 --- a/node_modules/core-js/library/fn/typed/data-view.js +++ b/node_modules/core-js/library/fn/typed/data-view.js @@ -1,3 +1,3 @@ require('../../modules/es6.typed.data-view'); require('../../modules/es6.object.to-string'); -module.exports = require('../../modules/_core').DataView;
\ No newline at end of file +module.exports = require('../../modules/_core').DataView; diff --git a/node_modules/core-js/library/fn/typed/float32-array.js b/node_modules/core-js/library/fn/typed/float32-array.js index 1191fecb9..5b939a70d 100644 --- a/node_modules/core-js/library/fn/typed/float32-array.js +++ b/node_modules/core-js/library/fn/typed/float32-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.float32-array'); -module.exports = require('../../modules/_core').Float32Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Float32Array; diff --git a/node_modules/core-js/library/fn/typed/float64-array.js b/node_modules/core-js/library/fn/typed/float64-array.js index 6073a6824..954799357 100644 --- a/node_modules/core-js/library/fn/typed/float64-array.js +++ b/node_modules/core-js/library/fn/typed/float64-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.float64-array'); -module.exports = require('../../modules/_core').Float64Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Float64Array; diff --git a/node_modules/core-js/library/fn/typed/index.js b/node_modules/core-js/library/fn/typed/index.js index 7babe09d3..90821c0bf 100644 --- a/node_modules/core-js/library/fn/typed/index.js +++ b/node_modules/core-js/library/fn/typed/index.js @@ -10,4 +10,4 @@ require('../../modules/es6.typed.uint32-array'); require('../../modules/es6.typed.float32-array'); require('../../modules/es6.typed.float64-array'); require('../../modules/es6.object.to-string'); -module.exports = require('../../modules/_core');
\ No newline at end of file +module.exports = require('../../modules/_core'); diff --git a/node_modules/core-js/library/fn/typed/int16-array.js b/node_modules/core-js/library/fn/typed/int16-array.js index 0722549d3..b71a7ac77 100644 --- a/node_modules/core-js/library/fn/typed/int16-array.js +++ b/node_modules/core-js/library/fn/typed/int16-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.int16-array'); -module.exports = require('../../modules/_core').Int16Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Int16Array; diff --git a/node_modules/core-js/library/fn/typed/int32-array.js b/node_modules/core-js/library/fn/typed/int32-array.js index 136136221..65659e78b 100644 --- a/node_modules/core-js/library/fn/typed/int32-array.js +++ b/node_modules/core-js/library/fn/typed/int32-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.int32-array'); -module.exports = require('../../modules/_core').Int32Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Int32Array; diff --git a/node_modules/core-js/library/fn/typed/int8-array.js b/node_modules/core-js/library/fn/typed/int8-array.js index edf48c792..019efe8d3 100644 --- a/node_modules/core-js/library/fn/typed/int8-array.js +++ b/node_modules/core-js/library/fn/typed/int8-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.int8-array'); -module.exports = require('../../modules/_core').Int8Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Int8Array; diff --git a/node_modules/core-js/library/fn/typed/uint16-array.js b/node_modules/core-js/library/fn/typed/uint16-array.js index 3ff11550e..b89e4bc73 100644 --- a/node_modules/core-js/library/fn/typed/uint16-array.js +++ b/node_modules/core-js/library/fn/typed/uint16-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.uint16-array'); -module.exports = require('../../modules/_core').Uint16Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Uint16Array; diff --git a/node_modules/core-js/library/fn/typed/uint32-array.js b/node_modules/core-js/library/fn/typed/uint32-array.js index 47bb4c211..823d4d728 100644 --- a/node_modules/core-js/library/fn/typed/uint32-array.js +++ b/node_modules/core-js/library/fn/typed/uint32-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.uint32-array'); -module.exports = require('../../modules/_core').Uint32Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Uint32Array; diff --git a/node_modules/core-js/library/fn/typed/uint8-array.js b/node_modules/core-js/library/fn/typed/uint8-array.js index fd8a4b114..8de769b53 100644 --- a/node_modules/core-js/library/fn/typed/uint8-array.js +++ b/node_modules/core-js/library/fn/typed/uint8-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.uint8-array'); -module.exports = require('../../modules/_core').Uint8Array;
\ No newline at end of file +module.exports = require('../../modules/_core').Uint8Array; diff --git a/node_modules/core-js/library/fn/typed/uint8-clamped-array.js b/node_modules/core-js/library/fn/typed/uint8-clamped-array.js index c688657c5..b823c4bd5 100644 --- a/node_modules/core-js/library/fn/typed/uint8-clamped-array.js +++ b/node_modules/core-js/library/fn/typed/uint8-clamped-array.js @@ -1,2 +1,2 @@ require('../../modules/es6.typed.uint8-clamped-array'); -module.exports = require('../../modules/_core').Uint8ClampedArray;
\ No newline at end of file +module.exports = require('../../modules/_core').Uint8ClampedArray; diff --git a/node_modules/core-js/library/fn/weak-map.js b/node_modules/core-js/library/fn/weak-map.js index 00cac1adb..d210219b8 100644 --- a/node_modules/core-js/library/fn/weak-map.js +++ b/node_modules/core-js/library/fn/weak-map.js @@ -1,4 +1,6 @@ require('../modules/es6.object.to-string'); require('../modules/web.dom.iterable'); require('../modules/es6.weak-map'); -module.exports = require('../modules/_core').WeakMap;
\ No newline at end of file +require('../modules/es7.weak-map.of'); +require('../modules/es7.weak-map.from'); +module.exports = require('../modules/_core').WeakMap; diff --git a/node_modules/core-js/library/fn/weak-map/from.js b/node_modules/core-js/library/fn/weak-map/from.js new file mode 100644 index 000000000..d91a2fb0e --- /dev/null +++ b/node_modules/core-js/library/fn/weak-map/from.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.weak-map'); +require('../../modules/es7.weak-map.from'); +var $WeakMap = require('../../modules/_core').WeakMap; +var $from = $WeakMap.from; +module.exports = function from(source, mapFn, thisArg) { + return $from.call(typeof this === 'function' ? this : $WeakMap, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/library/fn/weak-map/index.js b/node_modules/core-js/library/fn/weak-map/index.js new file mode 100644 index 000000000..c1223dd84 --- /dev/null +++ b/node_modules/core-js/library/fn/weak-map/index.js @@ -0,0 +1,6 @@ +require('../../modules/es6.object.to-string'); +require('../../modules/web.dom.iterable'); +require('../../modules/es6.weak-map'); +require('../../modules/es7.weak-map.of'); +require('../../modules/es7.weak-map.from'); +module.exports = require('../../modules/_core').WeakMap; diff --git a/node_modules/core-js/library/fn/weak-map/of.js b/node_modules/core-js/library/fn/weak-map/of.js new file mode 100644 index 000000000..5e61c1f15 --- /dev/null +++ b/node_modules/core-js/library/fn/weak-map/of.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.weak-map'); +require('../../modules/es7.weak-map.of'); +var $WeakMap = require('../../modules/_core').WeakMap; +var $of = $WeakMap.of; +module.exports = function of() { + return $of.apply(typeof this === 'function' ? this : $WeakMap, arguments); +}; diff --git a/node_modules/core-js/library/fn/weak-set.js b/node_modules/core-js/library/fn/weak-set.js index eef1af2a8..2a1e212e0 100644 --- a/node_modules/core-js/library/fn/weak-set.js +++ b/node_modules/core-js/library/fn/weak-set.js @@ -1,4 +1,6 @@ require('../modules/es6.object.to-string'); require('../modules/web.dom.iterable'); require('../modules/es6.weak-set'); -module.exports = require('../modules/_core').WeakSet;
\ No newline at end of file +require('../modules/es7.weak-set.of'); +require('../modules/es7.weak-set.from'); +module.exports = require('../modules/_core').WeakSet; diff --git a/node_modules/core-js/library/fn/weak-set/from.js b/node_modules/core-js/library/fn/weak-set/from.js new file mode 100644 index 000000000..41da341d2 --- /dev/null +++ b/node_modules/core-js/library/fn/weak-set/from.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.weak-set'); +require('../../modules/es7.weak-set.from'); +var $WeakSet = require('../../modules/_core').WeakSet; +var $from = $WeakSet.from; +module.exports = function from(source, mapFn, thisArg) { + return $from.call(typeof this === 'function' ? this : $WeakSet, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/library/fn/weak-set/index.js b/node_modules/core-js/library/fn/weak-set/index.js new file mode 100644 index 000000000..56dc45b36 --- /dev/null +++ b/node_modules/core-js/library/fn/weak-set/index.js @@ -0,0 +1,6 @@ +require('../../modules/es6.object.to-string'); +require('../../modules/web.dom.iterable'); +require('../../modules/es6.weak-set'); +require('../../modules/es7.weak-set.of'); +require('../../modules/es7.weak-set.from'); +module.exports = require('../../modules/_core').WeakSet; diff --git a/node_modules/core-js/library/fn/weak-set/of.js b/node_modules/core-js/library/fn/weak-set/of.js new file mode 100644 index 000000000..374f02e4b --- /dev/null +++ b/node_modules/core-js/library/fn/weak-set/of.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es6.weak-set'); +require('../../modules/es7.weak-set.of'); +var $WeakSet = require('../../modules/_core').WeakSet; +var $of = $WeakSet.of; +module.exports = function of() { + return $of.apply(typeof this === 'function' ? this : $WeakSet, arguments); +}; diff --git a/node_modules/core-js/library/index.js b/node_modules/core-js/library/index.js index 78b9e3d4b..301caf705 100644 --- a/node_modules/core-js/library/index.js +++ b/node_modules/core-js/library/index.js @@ -13,4 +13,4 @@ require('./modules/core.number.iterator'); require('./modules/core.regexp.escape'); require('./modules/core.string.escape-html'); require('./modules/core.string.unescape-html'); -module.exports = require('./modules/_core');
\ No newline at end of file +module.exports = require('./modules/_core'); diff --git a/node_modules/core-js/library/modules/_a-function.js b/node_modules/core-js/library/modules/_a-function.js index 8c35f4514..a9a5d84ff 100644 --- a/node_modules/core-js/library/modules/_a-function.js +++ b/node_modules/core-js/library/modules/_a-function.js @@ -1,4 +1,4 @@ -module.exports = function(it){ - if(typeof it != 'function')throw TypeError(it + ' is not a function!'); +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_a-number-value.js b/node_modules/core-js/library/modules/_a-number-value.js index 7bcbd7b76..2723de4d0 100644 --- a/node_modules/core-js/library/modules/_a-number-value.js +++ b/node_modules/core-js/library/modules/_a-number-value.js @@ -1,5 +1,5 @@ var cof = require('./_cof'); -module.exports = function(it, msg){ - if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg); +module.exports = function (it, msg) { + if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_add-to-unscopables.js b/node_modules/core-js/library/modules/_add-to-unscopables.js index faf87af36..02ef44ba4 100644 --- a/node_modules/core-js/library/modules/_add-to-unscopables.js +++ b/node_modules/core-js/library/modules/_add-to-unscopables.js @@ -1 +1 @@ -module.exports = function(){ /* empty */ };
\ No newline at end of file +module.exports = function () { /* empty */ }; diff --git a/node_modules/core-js/library/modules/_an-instance.js b/node_modules/core-js/library/modules/_an-instance.js index e4dfad3d0..c0a5f9200 100644 --- a/node_modules/core-js/library/modules/_an-instance.js +++ b/node_modules/core-js/library/modules/_an-instance.js @@ -1,5 +1,5 @@ -module.exports = function(it, Constructor, name, forbiddenField){ - if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){ +module.exports = function (it, Constructor, name, forbiddenField) { + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { throw TypeError(name + ': incorrect invocation!'); } return it; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_an-object.js b/node_modules/core-js/library/modules/_an-object.js index 59a8a3a36..b1c316cd2 100644 --- a/node_modules/core-js/library/modules/_an-object.js +++ b/node_modules/core-js/library/modules/_an-object.js @@ -1,5 +1,5 @@ var isObject = require('./_is-object'); -module.exports = function(it){ - if(!isObject(it))throw TypeError(it + ' is not an object!'); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-copy-within.js b/node_modules/core-js/library/modules/_array-copy-within.js index d901a32f5..d331576c4 100644 --- a/node_modules/core-js/library/modules/_array-copy-within.js +++ b/node_modules/core-js/library/modules/_array-copy-within.js @@ -1,26 +1,26 @@ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 'use strict'; -var toObject = require('./_to-object') - , toIndex = require('./_to-index') - , toLength = require('./_to-length'); +var toObject = require('./_to-object'); +var toAbsoluteIndex = require('./_to-absolute-index'); +var toLength = require('./_to-length'); -module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){ - var O = toObject(this) - , len = toLength(O.length) - , to = toIndex(target, len) - , from = toIndex(start, len) - , end = arguments.length > 2 ? arguments[2] : undefined - , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to) - , inc = 1; - if(from < to && to < from + count){ - inc = -1; +module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { + var O = toObject(this); + var len = toLength(O.length); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : undefined; + var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; from += count - 1; - to += count - 1; + to += count - 1; } - while(count-- > 0){ - if(from in O)O[to] = O[from]; + while (count-- > 0) { + if (from in O) O[to] = O[from]; else delete O[to]; - to += inc; + to += inc; from += inc; } return O; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-fill.js b/node_modules/core-js/library/modules/_array-fill.js index b21bb7edd..0753c36ac 100644 --- a/node_modules/core-js/library/modules/_array-fill.js +++ b/node_modules/core-js/library/modules/_array-fill.js @@ -1,15 +1,15 @@ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 'use strict'; -var toObject = require('./_to-object') - , toIndex = require('./_to-index') - , toLength = require('./_to-length'); -module.exports = function fill(value /*, start = 0, end = @length */){ - var O = toObject(this) - , length = toLength(O.length) - , aLen = arguments.length - , index = toIndex(aLen > 1 ? arguments[1] : undefined, length) - , end = aLen > 2 ? arguments[2] : undefined - , endPos = end === undefined ? length : toIndex(end, length); - while(endPos > index)O[index++] = value; +var toObject = require('./_to-object'); +var toAbsoluteIndex = require('./_to-absolute-index'); +var toLength = require('./_to-length'); +module.exports = function fill(value /* , start = 0, end = @length */) { + var O = toObject(this); + var length = toLength(O.length); + var aLen = arguments.length; + var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); + var end = aLen > 2 ? arguments[2] : undefined; + var endPos = end === undefined ? length : toAbsoluteIndex(end, length); + while (endPos > index) O[index++] = value; return O; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-from-iterable.js b/node_modules/core-js/library/modules/_array-from-iterable.js index b5c454fb0..08be255f0 100644 --- a/node_modules/core-js/library/modules/_array-from-iterable.js +++ b/node_modules/core-js/library/modules/_array-from-iterable.js @@ -1,6 +1,6 @@ var forOf = require('./_for-of'); -module.exports = function(iter, ITERATOR){ +module.exports = function (iter, ITERATOR) { var result = []; forOf(iter, false, result.push, result, ITERATOR); return result; diff --git a/node_modules/core-js/library/modules/_array-includes.js b/node_modules/core-js/library/modules/_array-includes.js index c70b064d1..0ef3efebe 100644 --- a/node_modules/core-js/library/modules/_array-includes.js +++ b/node_modules/core-js/library/modules/_array-includes.js @@ -1,21 +1,23 @@ // false -> Array#indexOf // true -> Array#includes -var toIObject = require('./_to-iobject') - , toLength = require('./_to-length') - , toIndex = require('./_to-index'); -module.exports = function(IS_INCLUDES){ - return function($this, el, fromIndex){ - var O = toIObject($this) - , length = toLength(O.length) - , index = toIndex(fromIndex, length) - , value; +var toIObject = require('./_to-iobject'); +var toLength = require('./_to-length'); +var toAbsoluteIndex = require('./_to-absolute-index'); +module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; // Array#includes uses SameValueZero equality algorithm - if(IS_INCLUDES && el != el)while(length > index){ + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; - if(value != value)return true; - // Array#toIndex ignores holes, Array#includes - not - } else for(;length > index; index++)if(IS_INCLUDES || index in O){ - if(O[index] === el)return IS_INCLUDES || index || 0; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-methods.js b/node_modules/core-js/library/modules/_array-methods.js index 8ffbe1164..ae7f447da 100644 --- a/node_modules/core-js/library/modules/_array-methods.js +++ b/node_modules/core-js/library/modules/_array-methods.js @@ -5,40 +5,40 @@ // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex -var ctx = require('./_ctx') - , IObject = require('./_iobject') - , toObject = require('./_to-object') - , toLength = require('./_to-length') - , asc = require('./_array-species-create'); -module.exports = function(TYPE, $create){ - var IS_MAP = TYPE == 1 - , IS_FILTER = TYPE == 2 - , IS_SOME = TYPE == 3 - , IS_EVERY = TYPE == 4 - , IS_FIND_INDEX = TYPE == 6 - , NO_HOLES = TYPE == 5 || IS_FIND_INDEX - , create = $create || asc; - return function($this, callbackfn, that){ - var O = toObject($this) - , self = IObject(O) - , f = ctx(callbackfn, that, 3) - , length = toLength(self.length) - , index = 0 - , result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined - , val, res; - for(;length > index; index++)if(NO_HOLES || index in self){ +var ctx = require('./_ctx'); +var IObject = require('./_iobject'); +var toObject = require('./_to-object'); +var toLength = require('./_to-length'); +var asc = require('./_array-species-create'); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { val = self[index]; res = f(val, index, O); - if(TYPE){ - if(IS_MAP)result[index] = res; // map - else if(res)switch(TYPE){ - case 3: return true; // some - case 5: return val; // find - case 6: return index; // findIndex - case 2: result.push(val); // filter - } else if(IS_EVERY)return false; // every + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-reduce.js b/node_modules/core-js/library/modules/_array-reduce.js index c807d5443..8596ac70a 100644 --- a/node_modules/core-js/library/modules/_array-reduce.js +++ b/node_modules/core-js/library/modules/_array-reduce.js @@ -1,28 +1,28 @@ -var aFunction = require('./_a-function') - , toObject = require('./_to-object') - , IObject = require('./_iobject') - , toLength = require('./_to-length'); +var aFunction = require('./_a-function'); +var toObject = require('./_to-object'); +var IObject = require('./_iobject'); +var toLength = require('./_to-length'); -module.exports = function(that, callbackfn, aLen, memo, isRight){ +module.exports = function (that, callbackfn, aLen, memo, isRight) { aFunction(callbackfn); - var O = toObject(that) - , self = IObject(O) - , length = toLength(O.length) - , index = isRight ? length - 1 : 0 - , i = isRight ? -1 : 1; - if(aLen < 2)for(;;){ - if(index in self){ + var O = toObject(that); + var self = IObject(O); + var length = toLength(O.length); + var index = isRight ? length - 1 : 0; + var i = isRight ? -1 : 1; + if (aLen < 2) for (;;) { + if (index in self) { memo = self[index]; index += i; break; } index += i; - if(isRight ? index < 0 : length <= index){ + if (isRight ? index < 0 : length <= index) { throw TypeError('Reduce of empty array with no initial value'); } } - for(;isRight ? index >= 0 : length > index; index += i)if(index in self){ + for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { memo = callbackfn(memo, self[index], index, O); } return memo; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-species-constructor.js b/node_modules/core-js/library/modules/_array-species-constructor.js index a715389fd..0771c236d 100644 --- a/node_modules/core-js/library/modules/_array-species-constructor.js +++ b/node_modules/core-js/library/modules/_array-species-constructor.js @@ -1,16 +1,16 @@ -var isObject = require('./_is-object') - , isArray = require('./_is-array') - , SPECIES = require('./_wks')('species'); +var isObject = require('./_is-object'); +var isArray = require('./_is-array'); +var SPECIES = require('./_wks')('species'); -module.exports = function(original){ +module.exports = function (original) { var C; - if(isArray(original)){ + if (isArray(original)) { C = original.constructor; // cross-realm fallback - if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined; - if(isObject(C)){ + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { C = C[SPECIES]; - if(C === null)C = undefined; + if (C === null) C = undefined; } } return C === undefined ? Array : C; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_array-species-create.js b/node_modules/core-js/library/modules/_array-species-create.js index cbd18bc6c..36ed58bd7 100644 --- a/node_modules/core-js/library/modules/_array-species-create.js +++ b/node_modules/core-js/library/modules/_array-species-create.js @@ -1,6 +1,6 @@ // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = require('./_array-species-constructor'); -module.exports = function(original, length){ +module.exports = function (original, length) { return new (speciesConstructor(original))(length); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_bind.js b/node_modules/core-js/library/modules/_bind.js index 1f7b0174b..3cf1e5ae5 100644 --- a/node_modules/core-js/library/modules/_bind.js +++ b/node_modules/core-js/library/modules/_bind.js @@ -1,24 +1,25 @@ 'use strict'; -var aFunction = require('./_a-function') - , isObject = require('./_is-object') - , invoke = require('./_invoke') - , arraySlice = [].slice - , factories = {}; +var aFunction = require('./_a-function'); +var isObject = require('./_is-object'); +var invoke = require('./_invoke'); +var arraySlice = [].slice; +var factories = {}; -var construct = function(F, len, args){ - if(!(len in factories)){ - for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']'; +var construct = function (F, len, args) { + if (!(len in factories)) { + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; + // eslint-disable-next-line no-new-func factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); } return factories[len](F, args); }; -module.exports = Function.bind || function bind(that /*, args... */){ - var fn = aFunction(this) - , partArgs = arraySlice.call(arguments, 1); - var bound = function(/* args... */){ +module.exports = Function.bind || function bind(that /* , ...args */) { + var fn = aFunction(this); + var partArgs = arraySlice.call(arguments, 1); + var bound = function (/* args... */) { var args = partArgs.concat(arraySlice.call(arguments)); return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); }; - if(isObject(fn.prototype))bound.prototype = fn.prototype; + if (isObject(fn.prototype)) bound.prototype = fn.prototype; return bound; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_classof.js b/node_modules/core-js/library/modules/_classof.js index dab3a80f1..d106d5be6 100644 --- a/node_modules/core-js/library/modules/_classof.js +++ b/node_modules/core-js/library/modules/_classof.js @@ -1,17 +1,17 @@ // getting tag from 19.1.3.6 Object.prototype.toString() -var cof = require('./_cof') - , TAG = require('./_wks')('toStringTag') - // ES3 wrong here - , ARG = cof(function(){ return arguments; }()) == 'Arguments'; +var cof = require('./_cof'); +var TAG = require('./_wks')('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error -var tryGet = function(it, key){ +var tryGet = function (it, key) { try { return it[key]; - } catch(e){ /* empty */ } + } catch (e) { /* empty */ } }; -module.exports = function(it){ +module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case @@ -20,4 +20,4 @@ module.exports = function(it){ : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_cof.js b/node_modules/core-js/library/modules/_cof.js index 1dd2779a7..332c0bc0b 100644 --- a/node_modules/core-js/library/modules/_cof.js +++ b/node_modules/core-js/library/modules/_cof.js @@ -1,5 +1,5 @@ var toString = {}.toString; -module.exports = function(it){ +module.exports = function (it) { return toString.call(it).slice(8, -1); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_collection-strong.js b/node_modules/core-js/library/modules/_collection-strong.js index 55e4b6158..68ce63f0e 100644 --- a/node_modules/core-js/library/modules/_collection-strong.js +++ b/node_modules/core-js/library/modules/_collection-strong.js @@ -1,45 +1,47 @@ 'use strict'; -var dP = require('./_object-dp').f - , create = require('./_object-create') - , redefineAll = require('./_redefine-all') - , ctx = require('./_ctx') - , anInstance = require('./_an-instance') - , defined = require('./_defined') - , forOf = require('./_for-of') - , $iterDefine = require('./_iter-define') - , step = require('./_iter-step') - , setSpecies = require('./_set-species') - , DESCRIPTORS = require('./_descriptors') - , fastKey = require('./_meta').fastKey - , SIZE = DESCRIPTORS ? '_s' : 'size'; +var dP = require('./_object-dp').f; +var create = require('./_object-create'); +var redefineAll = require('./_redefine-all'); +var ctx = require('./_ctx'); +var anInstance = require('./_an-instance'); +var forOf = require('./_for-of'); +var $iterDefine = require('./_iter-define'); +var step = require('./_iter-step'); +var setSpecies = require('./_set-species'); +var DESCRIPTORS = require('./_descriptors'); +var fastKey = require('./_meta').fastKey; +var validate = require('./_validate-collection'); +var SIZE = DESCRIPTORS ? '_s' : 'size'; -var getEntry = function(that, key){ +var getEntry = function (that, key) { // fast case - var index = fastKey(key), entry; - if(index !== 'F')return that._i[index]; + var index = fastKey(key); + var entry; + if (index !== 'F') return that._i[index]; // frozen object case - for(entry = that._f; entry; entry = entry.n){ - if(entry.k == key)return entry; + for (entry = that._f; entry; entry = entry.n) { + if (entry.k == key) return entry; } }; module.exports = { - getConstructor: function(wrapper, NAME, IS_MAP, ADDER){ - var C = wrapper(function(that, iterable){ + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type that._i = create(null); // index that._f = undefined; // first entry that._l = undefined; // last entry that[SIZE] = 0; // size - if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); }); redefineAll(C.prototype, { // 23.1.3.1 Map.prototype.clear() // 23.2.3.2 Set.prototype.clear() - clear: function clear(){ - for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){ + clear: function clear() { + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { entry.r = true; - if(entry.p)entry.p = entry.p.n = undefined; + if (entry.p) entry.p = entry.p.n = undefined; delete data[entry.i]; } that._f = that._l = undefined; @@ -47,51 +49,51 @@ module.exports = { }, // 23.1.3.3 Map.prototype.delete(key) // 23.2.3.4 Set.prototype.delete(value) - 'delete': function(key){ - var that = this - , entry = getEntry(that, key); - if(entry){ - var next = entry.n - , prev = entry.p; + 'delete': function (key) { + var that = validate(this, NAME); + var entry = getEntry(that, key); + if (entry) { + var next = entry.n; + var prev = entry.p; delete that._i[entry.i]; entry.r = true; - if(prev)prev.n = next; - if(next)next.p = prev; - if(that._f == entry)that._f = next; - if(that._l == entry)that._l = prev; + if (prev) prev.n = next; + if (next) next.p = prev; + if (that._f == entry) that._f = next; + if (that._l == entry) that._l = prev; that[SIZE]--; } return !!entry; }, // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /*, that = undefined */){ - anInstance(this, C, 'forEach'); - var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3) - , entry; - while(entry = entry ? entry.n : this._f){ + forEach: function forEach(callbackfn /* , that = undefined */) { + validate(this, NAME); + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.n : this._f) { f(entry.v, entry.k, this); // revert to the last existing entry - while(entry && entry.r)entry = entry.p; + while (entry && entry.r) entry = entry.p; } }, // 23.1.3.7 Map.prototype.has(key) // 23.2.3.7 Set.prototype.has(value) - has: function has(key){ - return !!getEntry(this, key); + has: function has(key) { + return !!getEntry(validate(this, NAME), key); } }); - if(DESCRIPTORS)dP(C.prototype, 'size', { - get: function(){ - return defined(this[SIZE]); + if (DESCRIPTORS) dP(C.prototype, 'size', { + get: function () { + return validate(this, NAME)[SIZE]; } }); return C; }, - def: function(that, key, value){ - var entry = getEntry(that, key) - , prev, index; + def: function (that, key, value) { + var entry = getEntry(that, key); + var prev, index; // change existing entry - if(entry){ + if (entry) { entry.v = value; // create new entry } else { @@ -103,40 +105,40 @@ module.exports = { n: undefined, // <- next entry r: false // <- removed }; - if(!that._f)that._f = entry; - if(prev)prev.n = entry; + if (!that._f) that._f = entry; + if (prev) prev.n = entry; that[SIZE]++; // add to index - if(index !== 'F')that._i[index] = entry; + if (index !== 'F') that._i[index] = entry; } return that; }, getEntry: getEntry, - setStrong: function(C, NAME, IS_MAP){ + setStrong: function (C, NAME, IS_MAP) { // add .keys, .values, .entries, [@@iterator] // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - $iterDefine(C, NAME, function(iterated, kind){ - this._t = iterated; // target - this._k = kind; // kind - this._l = undefined; // previous - }, function(){ - var that = this - , kind = that._k - , entry = that._l; + $iterDefine(C, NAME, function (iterated, kind) { + this._t = validate(iterated, NAME); // target + this._k = kind; // kind + this._l = undefined; // previous + }, function () { + var that = this; + var kind = that._k; + var entry = that._l; // revert to the last existing entry - while(entry && entry.r)entry = entry.p; + while (entry && entry.r) entry = entry.p; // get next entry - if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){ + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { // or finish the iteration that._t = undefined; return step(1); } // return step by kind - if(kind == 'keys' )return step(0, entry.k); - if(kind == 'values')return step(0, entry.v); + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); return step(0, [entry.k, entry.v]); - }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); // add [@@species], 23.1.2.2, 23.2.2.2 setSpecies(NAME); } -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_collection-to-json.js b/node_modules/core-js/library/modules/_collection-to-json.js index ce0282f6b..a6ee0029a 100644 --- a/node_modules/core-js/library/modules/_collection-to-json.js +++ b/node_modules/core-js/library/modules/_collection-to-json.js @@ -1,9 +1,9 @@ // https://github.com/DavidBruant/Map-Set.prototype.toJSON -var classof = require('./_classof') - , from = require('./_array-from-iterable'); -module.exports = function(NAME){ - return function toJSON(){ - if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic"); +var classof = require('./_classof'); +var from = require('./_array-from-iterable'); +module.exports = function (NAME) { + return function toJSON() { + if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); return from(this); }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_collection-weak.js b/node_modules/core-js/library/modules/_collection-weak.js index a8597e64d..04d3af5af 100644 --- a/node_modules/core-js/library/modules/_collection-weak.js +++ b/node_modules/core-js/library/modules/_collection-weak.js @@ -1,83 +1,85 @@ 'use strict'; -var redefineAll = require('./_redefine-all') - , getWeak = require('./_meta').getWeak - , anObject = require('./_an-object') - , isObject = require('./_is-object') - , anInstance = require('./_an-instance') - , forOf = require('./_for-of') - , createArrayMethod = require('./_array-methods') - , $has = require('./_has') - , arrayFind = createArrayMethod(5) - , arrayFindIndex = createArrayMethod(6) - , id = 0; +var redefineAll = require('./_redefine-all'); +var getWeak = require('./_meta').getWeak; +var anObject = require('./_an-object'); +var isObject = require('./_is-object'); +var anInstance = require('./_an-instance'); +var forOf = require('./_for-of'); +var createArrayMethod = require('./_array-methods'); +var $has = require('./_has'); +var validate = require('./_validate-collection'); +var arrayFind = createArrayMethod(5); +var arrayFindIndex = createArrayMethod(6); +var id = 0; // fallback for uncaught frozen keys -var uncaughtFrozenStore = function(that){ - return that._l || (that._l = new UncaughtFrozenStore); +var uncaughtFrozenStore = function (that) { + return that._l || (that._l = new UncaughtFrozenStore()); }; -var UncaughtFrozenStore = function(){ +var UncaughtFrozenStore = function () { this.a = []; }; -var findUncaughtFrozen = function(store, key){ - return arrayFind(store.a, function(it){ +var findUncaughtFrozen = function (store, key) { + return arrayFind(store.a, function (it) { return it[0] === key; }); }; UncaughtFrozenStore.prototype = { - get: function(key){ + get: function (key) { var entry = findUncaughtFrozen(this, key); - if(entry)return entry[1]; + if (entry) return entry[1]; }, - has: function(key){ + has: function (key) { return !!findUncaughtFrozen(this, key); }, - set: function(key, value){ + set: function (key, value) { var entry = findUncaughtFrozen(this, key); - if(entry)entry[1] = value; + if (entry) entry[1] = value; else this.a.push([key, value]); }, - 'delete': function(key){ - var index = arrayFindIndex(this.a, function(it){ + 'delete': function (key) { + var index = arrayFindIndex(this.a, function (it) { return it[0] === key; }); - if(~index)this.a.splice(index, 1); + if (~index) this.a.splice(index, 1); return !!~index; } }; module.exports = { - getConstructor: function(wrapper, NAME, IS_MAP, ADDER){ - var C = wrapper(function(that, iterable){ + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type that._i = id++; // collection id that._l = undefined; // leak store for uncaught frozen objects - if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); }); redefineAll(C.prototype, { // 23.3.3.2 WeakMap.prototype.delete(key) // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function(key){ - if(!isObject(key))return false; + 'delete': function (key) { + if (!isObject(key)) return false; var data = getWeak(key); - if(data === true)return uncaughtFrozenStore(this)['delete'](key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); return data && $has(data, this._i) && delete data[this._i]; }, // 23.3.3.4 WeakMap.prototype.has(key) // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key){ - if(!isObject(key))return false; + has: function has(key) { + if (!isObject(key)) return false; var data = getWeak(key); - if(data === true)return uncaughtFrozenStore(this).has(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); return data && $has(data, this._i); } }); return C; }, - def: function(that, key, value){ + def: function (that, key, value) { var data = getWeak(anObject(key), true); - if(data === true)uncaughtFrozenStore(that).set(key, value); + if (data === true) uncaughtFrozenStore(that).set(key, value); else data[that._i] = value; return that; }, ufstore: uncaughtFrozenStore -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_collection.js b/node_modules/core-js/library/modules/_collection.js index 0bdd7fcbb..31a36b87a 100644 --- a/node_modules/core-js/library/modules/_collection.js +++ b/node_modules/core-js/library/modules/_collection.js @@ -1,48 +1,48 @@ 'use strict'; -var global = require('./_global') - , $export = require('./_export') - , meta = require('./_meta') - , fails = require('./_fails') - , hide = require('./_hide') - , redefineAll = require('./_redefine-all') - , forOf = require('./_for-of') - , anInstance = require('./_an-instance') - , isObject = require('./_is-object') - , setToStringTag = require('./_set-to-string-tag') - , dP = require('./_object-dp').f - , each = require('./_array-methods')(0) - , DESCRIPTORS = require('./_descriptors'); +var global = require('./_global'); +var $export = require('./_export'); +var meta = require('./_meta'); +var fails = require('./_fails'); +var hide = require('./_hide'); +var redefineAll = require('./_redefine-all'); +var forOf = require('./_for-of'); +var anInstance = require('./_an-instance'); +var isObject = require('./_is-object'); +var setToStringTag = require('./_set-to-string-tag'); +var dP = require('./_object-dp').f; +var each = require('./_array-methods')(0); +var DESCRIPTORS = require('./_descriptors'); -module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){ - var Base = global[NAME] - , C = Base - , ADDER = IS_MAP ? 'set' : 'add' - , proto = C && C.prototype - , O = {}; - if(!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){ +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { + var Base = global[NAME]; + var C = Base; + var ADDER = IS_MAP ? 'set' : 'add'; + var proto = C && C.prototype; + var O = {}; + if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { new C().entries().next(); - }))){ + }))) { // create collection constructor C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); redefineAll(C.prototype, methods); meta.NEED = true; } else { - C = wrapper(function(target, iterable){ + C = wrapper(function (target, iterable) { anInstance(target, C, NAME, '_c'); - target._c = new Base; - if(iterable != undefined)forOf(iterable, IS_MAP, target[ADDER], target); + target._c = new Base(); + if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); }); - each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','),function(KEY){ + each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { var IS_ADDER = KEY == 'add' || KEY == 'set'; - if(KEY in proto && !(IS_WEAK && KEY == 'clear'))hide(C.prototype, KEY, function(a, b){ + if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { anInstance(this, C, KEY); - if(!IS_ADDER && IS_WEAK && !isObject(a))return KEY == 'get' ? undefined : false; + if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; var result = this._c[KEY](a === 0 ? 0 : a, b); return IS_ADDER ? this : result; }); }); - if('size' in proto)dP(C.prototype, 'size', { - get: function(){ + IS_WEAK || dP(C.prototype, 'size', { + get: function () { return this._c.size; } }); @@ -53,7 +53,7 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){ O[NAME] = C; $export($export.G + $export.W + $export.F, O); - if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP); + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); return C; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_core.js b/node_modules/core-js/library/modules/_core.js index 23d6aedeb..9a4eb934b 100644 --- a/node_modules/core-js/library/modules/_core.js +++ b/node_modules/core-js/library/modules/_core.js @@ -1,2 +1,2 @@ -var core = module.exports = {version: '2.4.0'}; -if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
\ No newline at end of file +var core = module.exports = { version: '2.5.0' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef diff --git a/node_modules/core-js/library/modules/_create-property.js b/node_modules/core-js/library/modules/_create-property.js index 3d1bf7305..fd0ea8c9a 100644 --- a/node_modules/core-js/library/modules/_create-property.js +++ b/node_modules/core-js/library/modules/_create-property.js @@ -1,8 +1,8 @@ 'use strict'; -var $defineProperty = require('./_object-dp') - , createDesc = require('./_property-desc'); +var $defineProperty = require('./_object-dp'); +var createDesc = require('./_property-desc'); -module.exports = function(object, index, value){ - if(index in object)$defineProperty.f(object, index, createDesc(0, value)); +module.exports = function (object, index, value) { + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); else object[index] = value; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_ctx.js b/node_modules/core-js/library/modules/_ctx.js index b52d85ff3..0a100ff3d 100644 --- a/node_modules/core-js/library/modules/_ctx.js +++ b/node_modules/core-js/library/modules/_ctx.js @@ -1,20 +1,20 @@ // optional / simple context binding var aFunction = require('./_a-function'); -module.exports = function(fn, that, length){ +module.exports = function (fn, that, length) { aFunction(fn); - if(that === undefined)return fn; - switch(length){ - case 1: return function(a){ + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { return fn.call(that, a); }; - case 2: return function(a, b){ + case 2: return function (a, b) { return fn.call(that, a, b); }; - case 3: return function(a, b, c){ + case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } - return function(/* ...args */){ + return function (/* ...args */) { return fn.apply(that, arguments); }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_date-to-iso-string.js b/node_modules/core-js/library/modules/_date-to-iso-string.js new file mode 100644 index 000000000..95a02e224 --- /dev/null +++ b/node_modules/core-js/library/modules/_date-to-iso-string.js @@ -0,0 +1,26 @@ +'use strict'; +// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() +var fails = require('./_fails'); +var getTime = Date.prototype.getTime; +var $toISOString = Date.prototype.toISOString; + +var lz = function (num) { + return num > 9 ? num : '0' + num; +}; + +// PhantomJS / old WebKit has a broken implementations +module.exports = (fails(function () { + return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; +}) || !fails(function () { + $toISOString.call(new Date(NaN)); +})) ? function toISOString() { + if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); + var d = this; + var y = d.getUTCFullYear(); + var m = d.getUTCMilliseconds(); + var s = y < 0 ? '-' : y > 9999 ? '+' : ''; + return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + + '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + + 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + + ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; +} : $toISOString; diff --git a/node_modules/core-js/library/modules/_date-to-primitive.js b/node_modules/core-js/library/modules/_date-to-primitive.js index 561079a1b..57c32030c 100644 --- a/node_modules/core-js/library/modules/_date-to-primitive.js +++ b/node_modules/core-js/library/modules/_date-to-primitive.js @@ -1,9 +1,9 @@ 'use strict'; -var anObject = require('./_an-object') - , toPrimitive = require('./_to-primitive') - , NUMBER = 'number'; +var anObject = require('./_an-object'); +var toPrimitive = require('./_to-primitive'); +var NUMBER = 'number'; -module.exports = function(hint){ - if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint'); +module.exports = function (hint) { + if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); return toPrimitive(anObject(this), hint != NUMBER); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_defined.js b/node_modules/core-js/library/modules/_defined.js index cfa476b96..66c7ed323 100644 --- a/node_modules/core-js/library/modules/_defined.js +++ b/node_modules/core-js/library/modules/_defined.js @@ -1,5 +1,5 @@ // 7.2.1 RequireObjectCoercible(argument) -module.exports = function(it){ - if(it == undefined)throw TypeError("Can't call method on " + it); +module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); return it; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_descriptors.js b/node_modules/core-js/library/modules/_descriptors.js index 6ccb7ee24..046974066 100644 --- a/node_modules/core-js/library/modules/_descriptors.js +++ b/node_modules/core-js/library/modules/_descriptors.js @@ -1,4 +1,4 @@ // Thank's IE8 for his funny defineProperty -module.exports = !require('./_fails')(function(){ - return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; -});
\ No newline at end of file +module.exports = !require('./_fails')(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); diff --git a/node_modules/core-js/library/modules/_dom-create.js b/node_modules/core-js/library/modules/_dom-create.js index 909b5ff05..39ca2569d 100644 --- a/node_modules/core-js/library/modules/_dom-create.js +++ b/node_modules/core-js/library/modules/_dom-create.js @@ -1,7 +1,7 @@ -var isObject = require('./_is-object') - , document = require('./_global').document - // in old IE typeof document.createElement is 'object' - , is = isObject(document) && isObject(document.createElement); -module.exports = function(it){ +var isObject = require('./_is-object'); +var document = require('./_global').document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { return is ? document.createElement(it) : {}; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_entry-virtual.js b/node_modules/core-js/library/modules/_entry-virtual.js index 0ec61272e..7a734390a 100644 --- a/node_modules/core-js/library/modules/_entry-virtual.js +++ b/node_modules/core-js/library/modules/_entry-virtual.js @@ -1,5 +1,5 @@ var core = require('./_core'); -module.exports = function(CONSTRUCTOR){ +module.exports = function (CONSTRUCTOR) { var C = core[CONSTRUCTOR]; return (C.virtual || C.prototype); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_enum-bug-keys.js b/node_modules/core-js/library/modules/_enum-bug-keys.js index 928b9fb05..d9ad85514 100644 --- a/node_modules/core-js/library/modules/_enum-bug-keys.js +++ b/node_modules/core-js/library/modules/_enum-bug-keys.js @@ -1,4 +1,4 @@ // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(',');
\ No newline at end of file +).split(','); diff --git a/node_modules/core-js/library/modules/_enum-keys.js b/node_modules/core-js/library/modules/_enum-keys.js index 3bf8069c1..3e7053d13 100644 --- a/node_modules/core-js/library/modules/_enum-keys.js +++ b/node_modules/core-js/library/modules/_enum-keys.js @@ -1,15 +1,15 @@ // all enumerable object keys, includes symbols -var getKeys = require('./_object-keys') - , gOPS = require('./_object-gops') - , pIE = require('./_object-pie'); -module.exports = function(it){ - var result = getKeys(it) - , getSymbols = gOPS.f; - if(getSymbols){ - var symbols = getSymbols(it) - , isEnum = pIE.f - , i = 0 - , key; - while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key); +var getKeys = require('./_object-keys'); +var gOPS = require('./_object-gops'); +var pIE = require('./_object-pie'); +module.exports = function (it) { + var result = getKeys(it); + var getSymbols = gOPS.f; + if (getSymbols) { + var symbols = getSymbols(it); + var isEnum = pIE.f; + var i = 0; + var key; + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); } return result; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_export.js b/node_modules/core-js/library/modules/_export.js index dc084b4cc..299a77fc9 100644 --- a/node_modules/core-js/library/modules/_export.js +++ b/node_modules/core-js/library/modules/_export.js @@ -1,25 +1,25 @@ -var global = require('./_global') - , core = require('./_core') - , ctx = require('./_ctx') - , hide = require('./_hide') - , PROTOTYPE = 'prototype'; +var global = require('./_global'); +var core = require('./_core'); +var ctx = require('./_ctx'); +var hide = require('./_hide'); +var PROTOTYPE = 'prototype'; -var $export = function(type, name, source){ - var IS_FORCED = type & $export.F - , IS_GLOBAL = type & $export.G - , IS_STATIC = type & $export.S - , IS_PROTO = type & $export.P - , IS_BIND = type & $export.B - , IS_WRAP = type & $export.W - , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) - , expProto = exports[PROTOTYPE] - , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] - , key, own, out; - if(IS_GLOBAL)source = name; - for(key in source){ +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var IS_WRAP = type & $export.W; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE]; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; + var key, own, out; + if (IS_GLOBAL) source = name; + for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; - if(own && key in exports)continue; + if (own && key in exports) continue; // export native or passed out = own ? target[key] : source[key]; // prevent global pollution for namespaces @@ -27,11 +27,11 @@ var $export = function(type, name, source){ // bind timers to global for call from export context : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function(C){ - var F = function(a, b, c){ - if(this instanceof C){ - switch(arguments.length){ - case 0: return new C; + : IS_WRAP && target[key] == out ? (function (C) { + var F = function (a, b, c) { + if (this instanceof C) { + switch (arguments.length) { + case 0: return new C(); case 1: return new C(a); case 2: return new C(a, b); } return new C(a, b, c); @@ -42,10 +42,10 @@ var $export = function(type, name, source){ // make static versions for prototype methods })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if(IS_PROTO){ + if (IS_PROTO) { (exports.virtual || (exports.virtual = {}))[key] = out; // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); } } }; @@ -57,5 +57,5 @@ $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe -$export.R = 128; // real proto method for `library` -module.exports = $export;
\ No newline at end of file +$export.R = 128; // real proto method for `library` +module.exports = $export; diff --git a/node_modules/core-js/library/modules/_fails-is-regexp.js b/node_modules/core-js/library/modules/_fails-is-regexp.js index 130436bf9..8eec2e471 100644 --- a/node_modules/core-js/library/modules/_fails-is-regexp.js +++ b/node_modules/core-js/library/modules/_fails-is-regexp.js @@ -1,12 +1,12 @@ var MATCH = require('./_wks')('match'); -module.exports = function(KEY){ +module.exports = function (KEY) { var re = /./; try { '/./'[KEY](re); - } catch(e){ + } catch (e) { try { re[MATCH] = false; return !'/./'[KEY](re); - } catch(f){ /* empty */ } + } catch (f) { /* empty */ } } return true; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_fails.js b/node_modules/core-js/library/modules/_fails.js index 184e5ea84..3b4cdf674 100644 --- a/node_modules/core-js/library/modules/_fails.js +++ b/node_modules/core-js/library/modules/_fails.js @@ -1,7 +1,7 @@ -module.exports = function(exec){ +module.exports = function (exec) { try { return !!exec(); - } catch(e){ + } catch (e) { return true; } -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_fix-re-wks.js b/node_modules/core-js/library/modules/_fix-re-wks.js index d29368ce8..9a62380b3 100644 --- a/node_modules/core-js/library/modules/_fix-re-wks.js +++ b/node_modules/core-js/library/modules/_fix-re-wks.js @@ -1,28 +1,28 @@ 'use strict'; -var hide = require('./_hide') - , redefine = require('./_redefine') - , fails = require('./_fails') - , defined = require('./_defined') - , wks = require('./_wks'); +var hide = require('./_hide'); +var redefine = require('./_redefine'); +var fails = require('./_fails'); +var defined = require('./_defined'); +var wks = require('./_wks'); -module.exports = function(KEY, length, exec){ - var SYMBOL = wks(KEY) - , fns = exec(defined, SYMBOL, ''[KEY]) - , strfn = fns[0] - , rxfn = fns[1]; - if(fails(function(){ +module.exports = function (KEY, length, exec) { + var SYMBOL = wks(KEY); + var fns = exec(defined, SYMBOL, ''[KEY]); + var strfn = fns[0]; + var rxfn = fns[1]; + if (fails(function () { var O = {}; - O[SYMBOL] = function(){ return 7; }; + O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; - })){ + })) { redefine(String.prototype, KEY, strfn); hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function(string, arg){ return rxfn.call(string, this, arg); } + ? function (string, arg) { return rxfn.call(string, this, arg); } // 21.2.5.6 RegExp.prototype[@@match](string) // 21.2.5.9 RegExp.prototype[@@search](string) - : function(string){ return rxfn.call(string, this); } + : function (string) { return rxfn.call(string, this); } ); } -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_flags.js b/node_modules/core-js/library/modules/_flags.js index 054f90886..b6fc324bd 100644 --- a/node_modules/core-js/library/modules/_flags.js +++ b/node_modules/core-js/library/modules/_flags.js @@ -1,13 +1,13 @@ 'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = require('./_an-object'); -module.exports = function(){ - var that = anObject(this) - , result = ''; - if(that.global) result += 'g'; - if(that.ignoreCase) result += 'i'; - if(that.multiline) result += 'm'; - if(that.unicode) result += 'u'; - if(that.sticky) result += 'y'; +module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; return result; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_flatten-into-array.js b/node_modules/core-js/library/modules/_flatten-into-array.js new file mode 100644 index 000000000..1838517ae --- /dev/null +++ b/node_modules/core-js/library/modules/_flatten-into-array.js @@ -0,0 +1,39 @@ +'use strict'; +// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray +var isArray = require('./_is-array'); +var isObject = require('./_is-object'); +var toLength = require('./_to-length'); +var ctx = require('./_ctx'); +var IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable'); + +function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { + var targetIndex = start; + var sourceIndex = 0; + var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; + var element, spreadable; + + while (sourceIndex < sourceLen) { + if (sourceIndex in source) { + element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; + + spreadable = false; + if (isObject(element)) { + spreadable = element[IS_CONCAT_SPREADABLE]; + spreadable = spreadable !== undefined ? !!spreadable : isArray(element); + } + + if (spreadable && depth > 0) { + targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; + } else { + if (targetIndex >= 0x1fffffffffffff) throw TypeError(); + target[targetIndex] = element; + } + + targetIndex++; + } + sourceIndex++; + } + return targetIndex; +} + +module.exports = flattenIntoArray; diff --git a/node_modules/core-js/library/modules/_for-of.js b/node_modules/core-js/library/modules/_for-of.js index b4824fefa..9ed22818b 100644 --- a/node_modules/core-js/library/modules/_for-of.js +++ b/node_modules/core-js/library/modules/_for-of.js @@ -1,25 +1,25 @@ -var ctx = require('./_ctx') - , call = require('./_iter-call') - , isArrayIter = require('./_is-array-iter') - , anObject = require('./_an-object') - , toLength = require('./_to-length') - , getIterFn = require('./core.get-iterator-method') - , BREAK = {} - , RETURN = {}; -var exports = module.exports = function(iterable, entries, fn, that, ITERATOR){ - var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable) - , f = ctx(fn, that, entries ? 2 : 1) - , index = 0 - , length, step, iterator, result; - if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!'); +var ctx = require('./_ctx'); +var call = require('./_iter-call'); +var isArrayIter = require('./_is-array-iter'); +var anObject = require('./_an-object'); +var toLength = require('./_to-length'); +var getIterFn = require('./core.get-iterator-method'); +var BREAK = {}; +var RETURN = {}; +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); + var f = ctx(fn, that, entries ? 2 : 1); + var index = 0; + var length, step, iterator, result; + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); // fast case for arrays with default iterator - if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){ + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); - if(result === BREAK || result === RETURN)return result; - } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){ + if (result === BREAK || result === RETURN) return result; + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { result = call(iterator, f, step.value, entries); - if(result === BREAK || result === RETURN)return result; + if (result === BREAK || result === RETURN) return result; } }; -exports.BREAK = BREAK; -exports.RETURN = RETURN;
\ No newline at end of file +exports.BREAK = BREAK; +exports.RETURN = RETURN; diff --git a/node_modules/core-js/library/modules/_global.js b/node_modules/core-js/library/modules/_global.js index df6efb476..bf85b44a1 100644 --- a/node_modules/core-js/library/modules/_global.js +++ b/node_modules/core-js/library/modules/_global.js @@ -1,4 +1,6 @@ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); -if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
\ No newline at end of file + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef diff --git a/node_modules/core-js/library/modules/_has.js b/node_modules/core-js/library/modules/_has.js index 870b40e71..2a37d8b7a 100644 --- a/node_modules/core-js/library/modules/_has.js +++ b/node_modules/core-js/library/modules/_has.js @@ -1,4 +1,4 @@ var hasOwnProperty = {}.hasOwnProperty; -module.exports = function(it, key){ +module.exports = function (it, key) { return hasOwnProperty.call(it, key); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_hide.js b/node_modules/core-js/library/modules/_hide.js index 4031e8080..cec258a0a 100644 --- a/node_modules/core-js/library/modules/_hide.js +++ b/node_modules/core-js/library/modules/_hide.js @@ -1,8 +1,8 @@ -var dP = require('./_object-dp') - , createDesc = require('./_property-desc'); -module.exports = require('./_descriptors') ? function(object, key, value){ +var dP = require('./_object-dp'); +var createDesc = require('./_property-desc'); +module.exports = require('./_descriptors') ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); -} : function(object, key, value){ +} : function (object, key, value) { object[key] = value; return object; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_html.js b/node_modules/core-js/library/modules/_html.js index 98f5142c4..7daff14ca 100644 --- a/node_modules/core-js/library/modules/_html.js +++ b/node_modules/core-js/library/modules/_html.js @@ -1 +1,2 @@ -module.exports = require('./_global').document && document.documentElement;
\ No newline at end of file +var document = require('./_global').document; +module.exports = document && document.documentElement; diff --git a/node_modules/core-js/library/modules/_ie8-dom-define.js b/node_modules/core-js/library/modules/_ie8-dom-define.js index 18ffd59da..a3805cb7f 100644 --- a/node_modules/core-js/library/modules/_ie8-dom-define.js +++ b/node_modules/core-js/library/modules/_ie8-dom-define.js @@ -1,3 +1,3 @@ -module.exports = !require('./_descriptors') && !require('./_fails')(function(){ - return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; -});
\ No newline at end of file +module.exports = !require('./_descriptors') && !require('./_fails')(function () { + return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7; +}); diff --git a/node_modules/core-js/library/modules/_inherit-if-required.js b/node_modules/core-js/library/modules/_inherit-if-required.js index d3948405b..b95fcd984 100644 --- a/node_modules/core-js/library/modules/_inherit-if-required.js +++ b/node_modules/core-js/library/modules/_inherit-if-required.js @@ -1,8 +1,9 @@ -var isObject = require('./_is-object') - , setPrototypeOf = require('./_set-proto').set; -module.exports = function(that, target, C){ - var P, S = target.constructor; - if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){ +var isObject = require('./_is-object'); +var setPrototypeOf = require('./_set-proto').set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { setPrototypeOf(that, P); } return that; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_invoke.js b/node_modules/core-js/library/modules/_invoke.js index 08e307fd0..6cccebdc1 100644 --- a/node_modules/core-js/library/modules/_invoke.js +++ b/node_modules/core-js/library/modules/_invoke.js @@ -1,7 +1,7 @@ // fast apply, http://jsperf.lnkit.com/fast-apply/5 -module.exports = function(fn, args, that){ +module.exports = function (fn, args, that) { var un = that === undefined; - switch(args.length){ + switch (args.length) { case 0: return un ? fn() : fn.call(that); case 1: return un ? fn(args[0]) @@ -12,5 +12,5 @@ module.exports = function(fn, args, that){ : fn.call(that, args[0], args[1], args[2]); case 4: return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]); - } return fn.apply(that, args); -};
\ No newline at end of file + } return fn.apply(that, args); +}; diff --git a/node_modules/core-js/library/modules/_iobject.js b/node_modules/core-js/library/modules/_iobject.js index b58db4897..2b57c8a07 100644 --- a/node_modules/core-js/library/modules/_iobject.js +++ b/node_modules/core-js/library/modules/_iobject.js @@ -1,5 +1,6 @@ // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = require('./_cof'); -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){ +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_is-array-iter.js b/node_modules/core-js/library/modules/_is-array-iter.js index 8139d71c2..6f67d9052 100644 --- a/node_modules/core-js/library/modules/_is-array-iter.js +++ b/node_modules/core-js/library/modules/_is-array-iter.js @@ -1,8 +1,8 @@ // check on default Array iterator -var Iterators = require('./_iterators') - , ITERATOR = require('./_wks')('iterator') - , ArrayProto = Array.prototype; +var Iterators = require('./_iterators'); +var ITERATOR = require('./_wks')('iterator'); +var ArrayProto = Array.prototype; -module.exports = function(it){ +module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_is-array.js b/node_modules/core-js/library/modules/_is-array.js index b4a3a8ed8..0581dc2e7 100644 --- a/node_modules/core-js/library/modules/_is-array.js +++ b/node_modules/core-js/library/modules/_is-array.js @@ -1,5 +1,5 @@ // 7.2.2 IsArray(argument) var cof = require('./_cof'); -module.exports = Array.isArray || function isArray(arg){ +module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_is-integer.js b/node_modules/core-js/library/modules/_is-integer.js index 22db67edb..0074ae975 100644 --- a/node_modules/core-js/library/modules/_is-integer.js +++ b/node_modules/core-js/library/modules/_is-integer.js @@ -1,6 +1,6 @@ // 20.1.2.3 Number.isInteger(number) -var isObject = require('./_is-object') - , floor = Math.floor; -module.exports = function isInteger(it){ +var isObject = require('./_is-object'); +var floor = Math.floor; +module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_is-object.js b/node_modules/core-js/library/modules/_is-object.js index ee694be2f..dda6e04d2 100644 --- a/node_modules/core-js/library/modules/_is-object.js +++ b/node_modules/core-js/library/modules/_is-object.js @@ -1,3 +1,3 @@ -module.exports = function(it){ +module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_is-regexp.js b/node_modules/core-js/library/modules/_is-regexp.js index 55b2c629c..598d159d5 100644 --- a/node_modules/core-js/library/modules/_is-regexp.js +++ b/node_modules/core-js/library/modules/_is-regexp.js @@ -1,8 +1,8 @@ // 7.2.8 IsRegExp(argument) -var isObject = require('./_is-object') - , cof = require('./_cof') - , MATCH = require('./_wks')('match'); -module.exports = function(it){ +var isObject = require('./_is-object'); +var cof = require('./_cof'); +var MATCH = require('./_wks')('match'); +module.exports = function (it) { var isRegExp; return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_iter-call.js b/node_modules/core-js/library/modules/_iter-call.js index e3565ba9f..a7026e347 100644 --- a/node_modules/core-js/library/modules/_iter-call.js +++ b/node_modules/core-js/library/modules/_iter-call.js @@ -1,12 +1,12 @@ // call something on iterator step with safe closing on error var anObject = require('./_an-object'); -module.exports = function(iterator, fn, value, entries){ +module.exports = function (iterator, fn, value, entries) { try { return entries ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion) - } catch(e){ + } catch (e) { var ret = iterator['return']; - if(ret !== undefined)anObject(ret.call(iterator)); + if (ret !== undefined) anObject(ret.call(iterator)); throw e; } -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_iter-create.js b/node_modules/core-js/library/modules/_iter-create.js index 9a9aa4fbb..04708c83c 100644 --- a/node_modules/core-js/library/modules/_iter-create.js +++ b/node_modules/core-js/library/modules/_iter-create.js @@ -1,13 +1,13 @@ 'use strict'; -var create = require('./_object-create') - , descriptor = require('./_property-desc') - , setToStringTag = require('./_set-to-string-tag') - , IteratorPrototype = {}; +var create = require('./_object-create'); +var descriptor = require('./_property-desc'); +var setToStringTag = require('./_set-to-string-tag'); +var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function(){ return this; }); +require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; }); -module.exports = function(Constructor, NAME, next){ - Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)}); +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_iter-define.js b/node_modules/core-js/library/modules/_iter-define.js index f72a50214..8f68107d8 100644 --- a/node_modules/core-js/library/modules/_iter-define.js +++ b/node_modules/core-js/library/modules/_iter-define.js @@ -1,70 +1,70 @@ 'use strict'; -var LIBRARY = require('./_library') - , $export = require('./_export') - , redefine = require('./_redefine') - , hide = require('./_hide') - , has = require('./_has') - , Iterators = require('./_iterators') - , $iterCreate = require('./_iter-create') - , setToStringTag = require('./_set-to-string-tag') - , getPrototypeOf = require('./_object-gpo') - , ITERATOR = require('./_wks')('iterator') - , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next` - , FF_ITERATOR = '@@iterator' - , KEYS = 'keys' - , VALUES = 'values'; +var LIBRARY = require('./_library'); +var $export = require('./_export'); +var redefine = require('./_redefine'); +var hide = require('./_hide'); +var has = require('./_has'); +var Iterators = require('./_iterators'); +var $iterCreate = require('./_iter-create'); +var setToStringTag = require('./_set-to-string-tag'); +var getPrototypeOf = require('./_object-gpo'); +var ITERATOR = require('./_wks')('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; -var returnThis = function(){ return this; }; +var returnThis = function () { return this; }; -module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){ +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next); - var getMethod = function(kind){ - if(!BUGGY && kind in proto)return proto[kind]; - switch(kind){ - case KEYS: return function keys(){ return new Constructor(this, kind); }; - case VALUES: return function values(){ return new Constructor(this, kind); }; - } return function entries(){ return new Constructor(this, kind); }; + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; }; - var TAG = NAME + ' Iterator' - , DEF_VALUES = DEFAULT == VALUES - , VALUES_BUG = false - , proto = Base.prototype - , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] - , $default = $native || getMethod(DEFAULT) - , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined - , $anyNative = NAME == 'Array' ? proto.entries || $native : $native - , methods, key, IteratorPrototype; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; // Fix native - if($anyNative){ - IteratorPrototype = getPrototypeOf($anyNative.call(new Base)); - if(IteratorPrototype !== Object.prototype){ + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines - if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis); + if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF - if(DEF_VALUES && $native && $native.name !== VALUES){ + if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true; - $default = function values(){ return $native.call(this); }; + $default = function values() { return $native.call(this); }; } // Define iterator - if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){ + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } // Plug for library Iterators[NAME] = $default; - Iterators[TAG] = returnThis; - if(DEFAULT){ + Iterators[TAG] = returnThis; + if (DEFAULT) { methods = { - values: DEF_VALUES ? $default : getMethod(VALUES), - keys: IS_SET ? $default : getMethod(KEYS), + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), entries: $entries }; - if(FORCED)for(key in methods){ - if(!(key in proto))redefine(proto, key, methods[key]); + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } return methods; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_iter-detect.js b/node_modules/core-js/library/modules/_iter-detect.js index 87c7aecf4..5cb34973c 100644 --- a/node_modules/core-js/library/modules/_iter-detect.js +++ b/node_modules/core-js/library/modules/_iter-detect.js @@ -1,21 +1,22 @@ -var ITERATOR = require('./_wks')('iterator') - , SAFE_CLOSING = false; +var ITERATOR = require('./_wks')('iterator'); +var SAFE_CLOSING = false; try { var riter = [7][ITERATOR](); - riter['return'] = function(){ SAFE_CLOSING = true; }; - Array.from(riter, function(){ throw 2; }); -} catch(e){ /* empty */ } + riter['return'] = function () { SAFE_CLOSING = true; }; + // eslint-disable-next-line no-throw-literal + Array.from(riter, function () { throw 2; }); +} catch (e) { /* empty */ } -module.exports = function(exec, skipClosing){ - if(!skipClosing && !SAFE_CLOSING)return false; +module.exports = function (exec, skipClosing) { + if (!skipClosing && !SAFE_CLOSING) return false; var safe = false; try { - var arr = [7] - , iter = arr[ITERATOR](); - iter.next = function(){ return {done: safe = true}; }; - arr[ITERATOR] = function(){ return iter; }; + var arr = [7]; + var iter = arr[ITERATOR](); + iter.next = function () { return { done: safe = true }; }; + arr[ITERATOR] = function () { return iter; }; exec(arr); - } catch(e){ /* empty */ } + } catch (e) { /* empty */ } return safe; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_iter-step.js b/node_modules/core-js/library/modules/_iter-step.js index 6ff0dc518..b0691c883 100644 --- a/node_modules/core-js/library/modules/_iter-step.js +++ b/node_modules/core-js/library/modules/_iter-step.js @@ -1,3 +1,3 @@ -module.exports = function(done, value){ - return {value: value, done: !!done}; -};
\ No newline at end of file +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; diff --git a/node_modules/core-js/library/modules/_iterators.js b/node_modules/core-js/library/modules/_iterators.js index a09954537..f053ebf79 100644 --- a/node_modules/core-js/library/modules/_iterators.js +++ b/node_modules/core-js/library/modules/_iterators.js @@ -1 +1 @@ -module.exports = {};
\ No newline at end of file +module.exports = {}; diff --git a/node_modules/core-js/library/modules/_keyof.js b/node_modules/core-js/library/modules/_keyof.js index 7b63229b0..0786096fd 100644 --- a/node_modules/core-js/library/modules/_keyof.js +++ b/node_modules/core-js/library/modules/_keyof.js @@ -1,10 +1,10 @@ -var getKeys = require('./_object-keys') - , toIObject = require('./_to-iobject'); -module.exports = function(object, el){ - var O = toIObject(object) - , keys = getKeys(O) - , length = keys.length - , index = 0 - , key; - while(length > index)if(O[key = keys[index++]] === el)return key; -};
\ No newline at end of file +var getKeys = require('./_object-keys'); +var toIObject = require('./_to-iobject'); +module.exports = function (object, el) { + var O = toIObject(object); + var keys = getKeys(O); + var length = keys.length; + var index = 0; + var key; + while (length > index) if (O[key = keys[index++]] === el) return key; +}; diff --git a/node_modules/core-js/library/modules/_library.js b/node_modules/core-js/library/modules/_library.js index 73f737c59..ec01c2c14 100644 --- a/node_modules/core-js/library/modules/_library.js +++ b/node_modules/core-js/library/modules/_library.js @@ -1 +1 @@ -module.exports = true;
\ No newline at end of file +module.exports = true; diff --git a/node_modules/core-js/library/modules/_math-expm1.js b/node_modules/core-js/library/modules/_math-expm1.js index 5131aa951..75c685014 100644 --- a/node_modules/core-js/library/modules/_math-expm1.js +++ b/node_modules/core-js/library/modules/_math-expm1.js @@ -5,6 +5,6 @@ module.exports = (!$expm1 || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 // Tor Browser bug || $expm1(-2e-17) != -2e-17 -) ? function expm1(x){ +) ? function expm1(x) { return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; -} : $expm1;
\ No newline at end of file +} : $expm1; diff --git a/node_modules/core-js/library/modules/_math-fround.js b/node_modules/core-js/library/modules/_math-fround.js new file mode 100644 index 000000000..c85eb4b7e --- /dev/null +++ b/node_modules/core-js/library/modules/_math-fround.js @@ -0,0 +1,23 @@ +// 20.2.2.16 Math.fround(x) +var sign = require('./_math-sign'); +var pow = Math.pow; +var EPSILON = pow(2, -52); +var EPSILON32 = pow(2, -23); +var MAX32 = pow(2, 127) * (2 - EPSILON32); +var MIN32 = pow(2, -126); + +var roundTiesToEven = function (n) { + return n + 1 / EPSILON - 1 / EPSILON; +}; + +module.exports = Math.fround || function fround(x) { + var $abs = Math.abs(x); + var $sign = sign(x); + var a, result; + if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; + a = (1 + EPSILON32 / EPSILON) * $abs; + result = a - (a - $abs); + // eslint-disable-next-line no-self-compare + if (result > MAX32 || result != result) return $sign * Infinity; + return $sign * result; +}; diff --git a/node_modules/core-js/library/modules/_math-log1p.js b/node_modules/core-js/library/modules/_math-log1p.js index a92bf463a..16d5f4931 100644 --- a/node_modules/core-js/library/modules/_math-log1p.js +++ b/node_modules/core-js/library/modules/_math-log1p.js @@ -1,4 +1,4 @@ // 20.2.2.20 Math.log1p(x) -module.exports = Math.log1p || function log1p(x){ +module.exports = Math.log1p || function log1p(x) { return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_math-scale.js b/node_modules/core-js/library/modules/_math-scale.js new file mode 100644 index 000000000..ba3cdb20c --- /dev/null +++ b/node_modules/core-js/library/modules/_math-scale.js @@ -0,0 +1,18 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { + if ( + arguments.length === 0 + // eslint-disable-next-line no-self-compare + || x != x + // eslint-disable-next-line no-self-compare + || inLow != inLow + // eslint-disable-next-line no-self-compare + || inHigh != inHigh + // eslint-disable-next-line no-self-compare + || outLow != outLow + // eslint-disable-next-line no-self-compare + || outHigh != outHigh + ) return NaN; + if (x === Infinity || x === -Infinity) return x; + return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; +}; diff --git a/node_modules/core-js/library/modules/_math-sign.js b/node_modules/core-js/library/modules/_math-sign.js index a4848df60..7a46b9d08 100644 --- a/node_modules/core-js/library/modules/_math-sign.js +++ b/node_modules/core-js/library/modules/_math-sign.js @@ -1,4 +1,5 @@ // 20.2.2.28 Math.sign(x) -module.exports = Math.sign || function sign(x){ +module.exports = Math.sign || function sign(x) { + // eslint-disable-next-line no-self-compare return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_meta.js b/node_modules/core-js/library/modules/_meta.js index 7daca0094..2d4b32579 100644 --- a/node_modules/core-js/library/modules/_meta.js +++ b/node_modules/core-js/library/modules/_meta.js @@ -1,53 +1,53 @@ -var META = require('./_uid')('meta') - , isObject = require('./_is-object') - , has = require('./_has') - , setDesc = require('./_object-dp').f - , id = 0; -var isExtensible = Object.isExtensible || function(){ +var META = require('./_uid')('meta'); +var isObject = require('./_is-object'); +var has = require('./_has'); +var setDesc = require('./_object-dp').f; +var id = 0; +var isExtensible = Object.isExtensible || function () { return true; }; -var FREEZE = !require('./_fails')(function(){ +var FREEZE = !require('./_fails')(function () { return isExtensible(Object.preventExtensions({})); }); -var setMeta = function(it){ - setDesc(it, META, {value: { +var setMeta = function (it) { + setDesc(it, META, { value: { i: 'O' + ++id, // object ID w: {} // weak collections IDs - }}); + } }); }; -var fastKey = function(it, create){ +var fastKey = function (it, create) { // return primitive with prefix - if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if(!has(it, META)){ + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { // can't set metadata to uncaught frozen object - if(!isExtensible(it))return 'F'; + if (!isExtensible(it)) return 'F'; // not necessary to add metadata - if(!create)return 'E'; + if (!create) return 'E'; // add missing metadata setMeta(it); // return object ID } return it[META].i; }; -var getWeak = function(it, create){ - if(!has(it, META)){ +var getWeak = function (it, create) { + if (!has(it, META)) { // can't set metadata to uncaught frozen object - if(!isExtensible(it))return true; + if (!isExtensible(it)) return true; // not necessary to add metadata - if(!create)return false; + if (!create) return false; // add missing metadata setMeta(it); // return hash weak collections IDs } return it[META].w; }; // add metadata on freeze-family methods calling -var onFreeze = function(it){ - if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it); +var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); return it; }; var meta = module.exports = { - KEY: META, - NEED: false, - fastKey: fastKey, - getWeak: getWeak, + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, onFreeze: onFreeze -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_metadata.js b/node_modules/core-js/library/modules/_metadata.js index eb5a762d4..759cfc445 100644 --- a/node_modules/core-js/library/modules/_metadata.js +++ b/node_modules/core-js/library/modules/_metadata.js @@ -1,41 +1,41 @@ -var Map = require('./es6.map') - , $export = require('./_export') - , shared = require('./_shared')('metadata') - , store = shared.store || (shared.store = new (require('./es6.weak-map'))); +var Map = require('./es6.map'); +var $export = require('./_export'); +var shared = require('./_shared')('metadata'); +var store = shared.store || (shared.store = new (require('./es6.weak-map'))()); -var getOrCreateMetadataMap = function(target, targetKey, create){ +var getOrCreateMetadataMap = function (target, targetKey, create) { var targetMetadata = store.get(target); - if(!targetMetadata){ - if(!create)return undefined; - store.set(target, targetMetadata = new Map); + if (!targetMetadata) { + if (!create) return undefined; + store.set(target, targetMetadata = new Map()); } var keyMetadata = targetMetadata.get(targetKey); - if(!keyMetadata){ - if(!create)return undefined; - targetMetadata.set(targetKey, keyMetadata = new Map); + if (!keyMetadata) { + if (!create) return undefined; + targetMetadata.set(targetKey, keyMetadata = new Map()); } return keyMetadata; }; -var ordinaryHasOwnMetadata = function(MetadataKey, O, P){ +var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { var metadataMap = getOrCreateMetadataMap(O, P, false); return metadataMap === undefined ? false : metadataMap.has(MetadataKey); }; -var ordinaryGetOwnMetadata = function(MetadataKey, O, P){ +var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { var metadataMap = getOrCreateMetadataMap(O, P, false); return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); }; -var ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P){ +var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); }; -var ordinaryOwnMetadataKeys = function(target, targetKey){ - var metadataMap = getOrCreateMetadataMap(target, targetKey, false) - , keys = []; - if(metadataMap)metadataMap.forEach(function(_, key){ keys.push(key); }); +var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); return keys; }; -var toMetaKey = function(it){ +var toMetaKey = function (it) { return it === undefined || typeof it == 'symbol' ? it : String(it); }; -var exp = function(O){ +var exp = function (O) { $export($export.S, 'Reflect', O); }; @@ -48,4 +48,4 @@ module.exports = { keys: ordinaryOwnMetadataKeys, key: toMetaKey, exp: exp -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_microtask.js b/node_modules/core-js/library/modules/_microtask.js index b0f2a0df0..8a90f7d2e 100644 --- a/node_modules/core-js/library/modules/_microtask.js +++ b/node_modules/core-js/library/modules/_microtask.js @@ -1,47 +1,47 @@ -var global = require('./_global') - , macrotask = require('./_task').set - , Observer = global.MutationObserver || global.WebKitMutationObserver - , process = global.process - , Promise = global.Promise - , isNode = require('./_cof')(process) == 'process'; +var global = require('./_global'); +var macrotask = require('./_task').set; +var Observer = global.MutationObserver || global.WebKitMutationObserver; +var process = global.process; +var Promise = global.Promise; +var isNode = require('./_cof')(process) == 'process'; -module.exports = function(){ +module.exports = function () { var head, last, notify; - var flush = function(){ + var flush = function () { var parent, fn; - if(isNode && (parent = process.domain))parent.exit(); - while(head){ - fn = head.fn; + if (isNode && (parent = process.domain)) parent.exit(); + while (head) { + fn = head.fn; head = head.next; try { fn(); - } catch(e){ - if(head)notify(); + } catch (e) { + if (head) notify(); else last = undefined; throw e; } } last = undefined; - if(parent)parent.enter(); + if (parent) parent.enter(); }; // Node.js - if(isNode){ - notify = function(){ + if (isNode) { + notify = function () { process.nextTick(flush); }; // browsers with MutationObserver - } else if(Observer){ - var toggle = true - , node = document.createTextNode(''); - new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new - notify = function(){ + } else if (Observer) { + var toggle = true; + var node = document.createTextNode(''); + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new + notify = function () { node.data = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise - } else if(Promise && Promise.resolve){ + } else if (Promise && Promise.resolve) { var promise = Promise.resolve(); - notify = function(){ + notify = function () { promise.then(flush); }; // for other environments - macrotask based on: @@ -51,18 +51,18 @@ module.exports = function(){ // - onreadystatechange // - setTimeout } else { - notify = function(){ + notify = function () { // strange IE + webpack dev server bug - use .call(global) macrotask.call(global, flush); }; } - return function(fn){ - var task = {fn: fn, next: undefined}; - if(last)last.next = task; - if(!head){ + return function (fn) { + var task = { fn: fn, next: undefined }; + if (last) last.next = task; + if (!head) { head = task; notify(); } last = task; }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_new-promise-capability.js b/node_modules/core-js/library/modules/_new-promise-capability.js new file mode 100644 index 000000000..82b74a331 --- /dev/null +++ b/node_modules/core-js/library/modules/_new-promise-capability.js @@ -0,0 +1,18 @@ +'use strict'; +// 25.4.1.5 NewPromiseCapability(C) +var aFunction = require('./_a-function'); + +function PromiseCapability(C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aFunction(resolve); + this.reject = aFunction(reject); +} + +module.exports.f = function (C) { + return new PromiseCapability(C); +}; diff --git a/node_modules/core-js/library/modules/_object-assign.js b/node_modules/core-js/library/modules/_object-assign.js index c575aba21..7d4943a2a 100644 --- a/node_modules/core-js/library/modules/_object-assign.js +++ b/node_modules/core-js/library/modules/_object-assign.js @@ -1,33 +1,34 @@ 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) -var getKeys = require('./_object-keys') - , gOPS = require('./_object-gops') - , pIE = require('./_object-pie') - , toObject = require('./_to-object') - , IObject = require('./_iobject') - , $assign = Object.assign; +var getKeys = require('./_object-keys'); +var gOPS = require('./_object-gops'); +var pIE = require('./_object-pie'); +var toObject = require('./_to-object'); +var IObject = require('./_iobject'); +var $assign = Object.assign; // should work with symbols and should have deterministic property order (V8 bug) -module.exports = !$assign || require('./_fails')(function(){ - var A = {} - , B = {} - , S = Symbol() - , K = 'abcdefghijklmnopqrst'; +module.exports = !$assign || require('./_fails')(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; A[S] = 7; - K.split('').forEach(function(k){ B[k] = k; }); + K.split('').forEach(function (k) { B[k] = k; }); return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; -}) ? function assign(target, source){ // eslint-disable-line no-unused-vars - var T = toObject(target) - , aLen = arguments.length - , index = 1 - , getSymbols = gOPS.f - , isEnum = pIE.f; - while(aLen > index){ - var S = IObject(arguments[index++]) - , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S) - , length = keys.length - , j = 0 - , key; - while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key]; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; } return T; -} : $assign;
\ No newline at end of file +} : $assign; diff --git a/node_modules/core-js/library/modules/_object-create.js b/node_modules/core-js/library/modules/_object-create.js index 3379760f9..a76808ea6 100644 --- a/node_modules/core-js/library/modules/_object-create.js +++ b/node_modules/core-js/library/modules/_object-create.js @@ -1,19 +1,19 @@ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = require('./_an-object') - , dPs = require('./_object-dps') - , enumBugKeys = require('./_enum-bug-keys') - , IE_PROTO = require('./_shared-key')('IE_PROTO') - , Empty = function(){ /* empty */ } - , PROTOTYPE = 'prototype'; +var anObject = require('./_an-object'); +var dPs = require('./_object-dps'); +var enumBugKeys = require('./_enum-bug-keys'); +var IE_PROTO = require('./_shared-key')('IE_PROTO'); +var Empty = function () { /* empty */ }; +var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype -var createDict = function(){ +var createDict = function () { // Thrash, waste and sodomy: IE GC bug - var iframe = require('./_dom-create')('iframe') - , i = enumBugKeys.length - , lt = '<' - , gt = '>' - , iframeDocument; + var iframe = require('./_dom-create')('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; iframe.style.display = 'none'; require('./_html').appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url @@ -24,15 +24,15 @@ var createDict = function(){ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; - while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]]; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; -module.exports = Object.create || function create(O, Properties){ +module.exports = Object.create || function create(O, Properties) { var result; - if(O !== null){ + if (O !== null) { Empty[PROTOTYPE] = anObject(O); - result = new Empty; + result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; diff --git a/node_modules/core-js/library/modules/_object-define.js b/node_modules/core-js/library/modules/_object-define.js index f246c4e32..4d131f331 100644 --- a/node_modules/core-js/library/modules/_object-define.js +++ b/node_modules/core-js/library/modules/_object-define.js @@ -1,12 +1,13 @@ -var dP = require('./_object-dp') - , gOPD = require('./_object-gopd') - , ownKeys = require('./_own-keys') - , toIObject = require('./_to-iobject'); +var dP = require('./_object-dp'); +var gOPD = require('./_object-gopd'); +var ownKeys = require('./_own-keys'); +var toIObject = require('./_to-iobject'); -module.exports = function define(target, mixin){ - var keys = ownKeys(toIObject(mixin)) - , length = keys.length - , i = 0, key; - while(length > i)dP.f(target, key = keys[i++], gOPD.f(mixin, key)); +module.exports = function define(target, mixin) { + var keys = ownKeys(toIObject(mixin)); + var length = keys.length; + var i = 0; + var key; + while (length > i) dP.f(target, key = keys[i++], gOPD.f(mixin, key)); return target; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-dp.js b/node_modules/core-js/library/modules/_object-dp.js index e7ca8a463..0340a8308 100644 --- a/node_modules/core-js/library/modules/_object-dp.js +++ b/node_modules/core-js/library/modules/_object-dp.js @@ -1,16 +1,16 @@ -var anObject = require('./_an-object') - , IE8_DOM_DEFINE = require('./_ie8-dom-define') - , toPrimitive = require('./_to-primitive') - , dP = Object.defineProperty; +var anObject = require('./_an-object'); +var IE8_DOM_DEFINE = require('./_ie8-dom-define'); +var toPrimitive = require('./_to-primitive'); +var dP = Object.defineProperty; -exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes){ +exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); - if(IE8_DOM_DEFINE)try { + if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); - } catch(e){ /* empty */ } - if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!'); - if('value' in Attributes)O[P] = Attributes.value; + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; return O; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-dps.js b/node_modules/core-js/library/modules/_object-dps.js index 8cd4147ac..173c338ff 100644 --- a/node_modules/core-js/library/modules/_object-dps.js +++ b/node_modules/core-js/library/modules/_object-dps.js @@ -1,13 +1,13 @@ -var dP = require('./_object-dp') - , anObject = require('./_an-object') - , getKeys = require('./_object-keys'); +var dP = require('./_object-dp'); +var anObject = require('./_an-object'); +var getKeys = require('./_object-keys'); -module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties){ +module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); - var keys = getKeys(Properties) - , length = keys.length - , i = 0 - , P; - while(length > i)dP.f(O, P = keys[i++], Properties[P]); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-forced-pam.js b/node_modules/core-js/library/modules/_object-forced-pam.js index 668a07dc2..71ede9225 100644 --- a/node_modules/core-js/library/modules/_object-forced-pam.js +++ b/node_modules/core-js/library/modules/_object-forced-pam.js @@ -1,7 +1,9 @@ +'use strict'; // Forced replacement prototype accessors methods -module.exports = require('./_library')|| !require('./_fails')(function(){ +module.exports = require('./_library') || !require('./_fails')(function () { var K = Math.random(); // In FF throws only define methods - __defineSetter__.call(null, K, function(){ /* empty */}); + // eslint-disable-next-line no-undef, no-useless-call + __defineSetter__.call(null, K, function () { /* empty */ }); delete require('./_global')[K]; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/_object-gopd.js b/node_modules/core-js/library/modules/_object-gopd.js index 756206aba..555dd31a5 100644 --- a/node_modules/core-js/library/modules/_object-gopd.js +++ b/node_modules/core-js/library/modules/_object-gopd.js @@ -1,16 +1,16 @@ -var pIE = require('./_object-pie') - , createDesc = require('./_property-desc') - , toIObject = require('./_to-iobject') - , toPrimitive = require('./_to-primitive') - , has = require('./_has') - , IE8_DOM_DEFINE = require('./_ie8-dom-define') - , gOPD = Object.getOwnPropertyDescriptor; +var pIE = require('./_object-pie'); +var createDesc = require('./_property-desc'); +var toIObject = require('./_to-iobject'); +var toPrimitive = require('./_to-primitive'); +var has = require('./_has'); +var IE8_DOM_DEFINE = require('./_ie8-dom-define'); +var gOPD = Object.getOwnPropertyDescriptor; -exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P){ +exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); - if(IE8_DOM_DEFINE)try { + if (IE8_DOM_DEFINE) try { return gOPD(O, P); - } catch(e){ /* empty */ } - if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]); -};
\ No newline at end of file + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); +}; diff --git a/node_modules/core-js/library/modules/_object-gopn-ext.js b/node_modules/core-js/library/modules/_object-gopn-ext.js index f4d10b4a1..4abb6ae83 100644 --- a/node_modules/core-js/library/modules/_object-gopn-ext.js +++ b/node_modules/core-js/library/modules/_object-gopn-ext.js @@ -1,19 +1,19 @@ // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window -var toIObject = require('./_to-iobject') - , gOPN = require('./_object-gopn').f - , toString = {}.toString; +var toIObject = require('./_to-iobject'); +var gOPN = require('./_object-gopn').f; +var toString = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; -var getWindowNames = function(it){ +var getWindowNames = function (it) { try { return gOPN(it); - } catch(e){ + } catch (e) { return windowNames.slice(); } }; -module.exports.f = function getOwnPropertyNames(it){ +module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; diff --git a/node_modules/core-js/library/modules/_object-gopn.js b/node_modules/core-js/library/modules/_object-gopn.js index beebf4dac..da82333f6 100644 --- a/node_modules/core-js/library/modules/_object-gopn.js +++ b/node_modules/core-js/library/modules/_object-gopn.js @@ -1,7 +1,7 @@ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) -var $keys = require('./_object-keys-internal') - , hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype'); +var $keys = require('./_object-keys-internal'); +var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype'); -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){ +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-gops.js b/node_modules/core-js/library/modules/_object-gops.js index 8f93d76b1..bc0672905 100644 --- a/node_modules/core-js/library/modules/_object-gops.js +++ b/node_modules/core-js/library/modules/_object-gops.js @@ -1 +1 @@ -exports.f = Object.getOwnPropertySymbols;
\ No newline at end of file +exports.f = Object.getOwnPropertySymbols; diff --git a/node_modules/core-js/library/modules/_object-gpo.js b/node_modules/core-js/library/modules/_object-gpo.js index 535dc6e94..27f2a94e8 100644 --- a/node_modules/core-js/library/modules/_object-gpo.js +++ b/node_modules/core-js/library/modules/_object-gpo.js @@ -1,13 +1,13 @@ // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = require('./_has') - , toObject = require('./_to-object') - , IE_PROTO = require('./_shared-key')('IE_PROTO') - , ObjectProto = Object.prototype; +var has = require('./_has'); +var toObject = require('./_to-object'); +var IE_PROTO = require('./_shared-key')('IE_PROTO'); +var ObjectProto = Object.prototype; -module.exports = Object.getPrototypeOf || function(O){ +module.exports = Object.getPrototypeOf || function (O) { O = toObject(O); - if(has(O, IE_PROTO))return O[IE_PROTO]; - if(typeof O.constructor == 'function' && O instanceof O.constructor){ + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-keys-internal.js b/node_modules/core-js/library/modules/_object-keys-internal.js index e23481d7c..71abdd1a5 100644 --- a/node_modules/core-js/library/modules/_object-keys-internal.js +++ b/node_modules/core-js/library/modules/_object-keys-internal.js @@ -1,17 +1,17 @@ -var has = require('./_has') - , toIObject = require('./_to-iobject') - , arrayIndexOf = require('./_array-includes')(false) - , IE_PROTO = require('./_shared-key')('IE_PROTO'); +var has = require('./_has'); +var toIObject = require('./_to-iobject'); +var arrayIndexOf = require('./_array-includes')(false); +var IE_PROTO = require('./_shared-key')('IE_PROTO'); -module.exports = function(object, names){ - var O = toIObject(object) - , i = 0 - , result = [] - , key; - for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key); +module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys - while(names.length > i)if(has(O, key = names[i++])){ + while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-keys.js b/node_modules/core-js/library/modules/_object-keys.js index 11d4cceed..62f73f91e 100644 --- a/node_modules/core-js/library/modules/_object-keys.js +++ b/node_modules/core-js/library/modules/_object-keys.js @@ -1,7 +1,7 @@ // 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = require('./_object-keys-internal') - , enumBugKeys = require('./_enum-bug-keys'); +var $keys = require('./_object-keys-internal'); +var enumBugKeys = require('./_enum-bug-keys'); -module.exports = Object.keys || function keys(O){ +module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_object-pie.js b/node_modules/core-js/library/modules/_object-pie.js index 13479a171..4cc71072d 100644 --- a/node_modules/core-js/library/modules/_object-pie.js +++ b/node_modules/core-js/library/modules/_object-pie.js @@ -1 +1 @@ -exports.f = {}.propertyIsEnumerable;
\ No newline at end of file +exports.f = {}.propertyIsEnumerable; diff --git a/node_modules/core-js/library/modules/_object-sap.js b/node_modules/core-js/library/modules/_object-sap.js index b76fec5f4..643535e0a 100644 --- a/node_modules/core-js/library/modules/_object-sap.js +++ b/node_modules/core-js/library/modules/_object-sap.js @@ -1,10 +1,10 @@ // most Object methods by ES6 should accept primitives -var $export = require('./_export') - , core = require('./_core') - , fails = require('./_fails'); -module.exports = function(KEY, exec){ - var fn = (core.Object || {})[KEY] || Object[KEY] - , exp = {}; +var $export = require('./_export'); +var core = require('./_core'); +var fails = require('./_fails'); +module.exports = function (KEY, exec) { + var fn = (core.Object || {})[KEY] || Object[KEY]; + var exp = {}; exp[KEY] = exec(fn); - $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp); -};
\ No newline at end of file + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); +}; diff --git a/node_modules/core-js/library/modules/_object-to-array.js b/node_modules/core-js/library/modules/_object-to-array.js index b6fdf05d7..120100d09 100644 --- a/node_modules/core-js/library/modules/_object-to-array.js +++ b/node_modules/core-js/library/modules/_object-to-array.js @@ -1,16 +1,16 @@ -var getKeys = require('./_object-keys') - , toIObject = require('./_to-iobject') - , isEnum = require('./_object-pie').f; -module.exports = function(isEntries){ - return function(it){ - var O = toIObject(it) - , keys = getKeys(O) - , length = keys.length - , i = 0 - , result = [] - , key; - while(length > i)if(isEnum.call(O, key = keys[i++])){ +var getKeys = require('./_object-keys'); +var toIObject = require('./_to-iobject'); +var isEnum = require('./_object-pie').f; +module.exports = function (isEntries) { + return function (it) { + var O = toIObject(it); + var keys = getKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) if (isEnum.call(O, key = keys[i++])) { result.push(isEntries ? [key, O[key]] : O[key]); } return result; }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_own-keys.js b/node_modules/core-js/library/modules/_own-keys.js index 045ce3d58..84faece8f 100644 --- a/node_modules/core-js/library/modules/_own-keys.js +++ b/node_modules/core-js/library/modules/_own-keys.js @@ -1,10 +1,10 @@ // all object keys, includes non-enumerable and symbols -var gOPN = require('./_object-gopn') - , gOPS = require('./_object-gops') - , anObject = require('./_an-object') - , Reflect = require('./_global').Reflect; -module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){ - var keys = gOPN.f(anObject(it)) - , getSymbols = gOPS.f; +var gOPN = require('./_object-gopn'); +var gOPS = require('./_object-gops'); +var anObject = require('./_an-object'); +var Reflect = require('./_global').Reflect; +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { + var keys = gOPN.f(anObject(it)); + var getSymbols = gOPS.f; return getSymbols ? keys.concat(getSymbols(it)) : keys; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_parse-float.js b/node_modules/core-js/library/modules/_parse-float.js index 3d0e65312..acfb350f9 100644 --- a/node_modules/core-js/library/modules/_parse-float.js +++ b/node_modules/core-js/library/modules/_parse-float.js @@ -1,8 +1,8 @@ -var $parseFloat = require('./_global').parseFloat - , $trim = require('./_string-trim').trim; +var $parseFloat = require('./_global').parseFloat; +var $trim = require('./_string-trim').trim; -module.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str){ - var string = $trim(String(str), 3) - , result = $parseFloat(string); +module.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) { + var string = $trim(String(str), 3); + var result = $parseFloat(string); return result === 0 && string.charAt(0) == '-' ? -0 : result; -} : $parseFloat;
\ No newline at end of file +} : $parseFloat; diff --git a/node_modules/core-js/library/modules/_parse-int.js b/node_modules/core-js/library/modules/_parse-int.js index c23ffc09c..ddd7172a9 100644 --- a/node_modules/core-js/library/modules/_parse-int.js +++ b/node_modules/core-js/library/modules/_parse-int.js @@ -1,9 +1,9 @@ -var $parseInt = require('./_global').parseInt - , $trim = require('./_string-trim').trim - , ws = require('./_string-ws') - , hex = /^[\-+]?0[xX]/; +var $parseInt = require('./_global').parseInt; +var $trim = require('./_string-trim').trim; +var ws = require('./_string-ws'); +var hex = /^[-+]?0[xX]/; -module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){ +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { var string = $trim(String(str), 3); return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); -} : $parseInt;
\ No newline at end of file +} : $parseInt; diff --git a/node_modules/core-js/library/modules/_partial.js b/node_modules/core-js/library/modules/_partial.js index 3d411b705..fa0ec5f0a 100644 --- a/node_modules/core-js/library/modules/_partial.js +++ b/node_modules/core-js/library/modules/_partial.js @@ -1,23 +1,25 @@ 'use strict'; -var path = require('./_path') - , invoke = require('./_invoke') - , aFunction = require('./_a-function'); -module.exports = function(/* ...pargs */){ - var fn = aFunction(this) - , length = arguments.length - , pargs = Array(length) - , i = 0 - , _ = path._ - , holder = false; - while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true; - return function(/* ...args */){ - var that = this - , aLen = arguments.length - , j = 0, k = 0, args; - if(!holder && !aLen)return invoke(fn, pargs, that); +var path = require('./_path'); +var invoke = require('./_invoke'); +var aFunction = require('./_a-function'); +module.exports = function (/* ...pargs */) { + var fn = aFunction(this); + var length = arguments.length; + var pargs = Array(length); + var i = 0; + var _ = path._; + var holder = false; + while (length > i) if ((pargs[i] = arguments[i++]) === _) holder = true; + return function (/* ...args */) { + var that = this; + var aLen = arguments.length; + var j = 0; + var k = 0; + var args; + if (!holder && !aLen) return invoke(fn, pargs, that); args = pargs.slice(); - if(holder)for(;length > j; j++)if(args[j] === _)args[j] = arguments[k++]; - while(aLen > k)args.push(arguments[k++]); + if (holder) for (;length > j; j++) if (args[j] === _) args[j] = arguments[k++]; + while (aLen > k) args.push(arguments[k++]); return invoke(fn, args, that); }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_path.js b/node_modules/core-js/library/modules/_path.js index e2b878dc6..2796ebcb9 100644 --- a/node_modules/core-js/library/modules/_path.js +++ b/node_modules/core-js/library/modules/_path.js @@ -1 +1 @@ -module.exports = require('./_core');
\ No newline at end of file +module.exports = require('./_core'); diff --git a/node_modules/core-js/library/modules/_perform.js b/node_modules/core-js/library/modules/_perform.js new file mode 100644 index 000000000..bfc7b296d --- /dev/null +++ b/node_modules/core-js/library/modules/_perform.js @@ -0,0 +1,7 @@ +module.exports = function (exec) { + try { + return { e: false, v: exec() }; + } catch (e) { + return { e: true, v: e }; + } +}; diff --git a/node_modules/core-js/library/modules/_promise-resolve.js b/node_modules/core-js/library/modules/_promise-resolve.js new file mode 100644 index 000000000..83f4d682c --- /dev/null +++ b/node_modules/core-js/library/modules/_promise-resolve.js @@ -0,0 +1,8 @@ +var newPromiseCapability = require('./_new-promise-capability'); + +module.exports = function (C, x) { + var promiseCapability = newPromiseCapability.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; +}; diff --git a/node_modules/core-js/library/modules/_property-desc.js b/node_modules/core-js/library/modules/_property-desc.js index e3f7ab2dc..090593405 100644 --- a/node_modules/core-js/library/modules/_property-desc.js +++ b/node_modules/core-js/library/modules/_property-desc.js @@ -1,8 +1,8 @@ -module.exports = function(bitmap, value){ +module.exports = function (bitmap, value) { return { - enumerable : !(bitmap & 1), + enumerable: !(bitmap & 1), configurable: !(bitmap & 2), - writable : !(bitmap & 4), - value : value + writable: !(bitmap & 4), + value: value }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_redefine-all.js b/node_modules/core-js/library/modules/_redefine-all.js index beeb2eafc..bf8c0ea39 100644 --- a/node_modules/core-js/library/modules/_redefine-all.js +++ b/node_modules/core-js/library/modules/_redefine-all.js @@ -1,7 +1,7 @@ var hide = require('./_hide'); -module.exports = function(target, src, safe){ - for(var key in src){ - if(safe && target[key])target[key] = src[key]; +module.exports = function (target, src, safe) { + for (var key in src) { + if (safe && target[key]) target[key] = src[key]; else hide(target, key, src[key]); } return target; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_redefine.js b/node_modules/core-js/library/modules/_redefine.js index 6bd64530c..fde6108ef 100644 --- a/node_modules/core-js/library/modules/_redefine.js +++ b/node_modules/core-js/library/modules/_redefine.js @@ -1 +1 @@ -module.exports = require('./_hide');
\ No newline at end of file +module.exports = require('./_hide'); diff --git a/node_modules/core-js/library/modules/_replacer.js b/node_modules/core-js/library/modules/_replacer.js index 5360a3d35..c37703dd2 100644 --- a/node_modules/core-js/library/modules/_replacer.js +++ b/node_modules/core-js/library/modules/_replacer.js @@ -1,8 +1,8 @@ -module.exports = function(regExp, replace){ - var replacer = replace === Object(replace) ? function(part){ +module.exports = function (regExp, replace) { + var replacer = replace === Object(replace) ? function (part) { return replace[part]; } : replace; - return function(it){ + return function (it) { return String(it).replace(regExp, replacer); }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_same-value.js b/node_modules/core-js/library/modules/_same-value.js index 8c2b8c7f6..c6d045e83 100644 --- a/node_modules/core-js/library/modules/_same-value.js +++ b/node_modules/core-js/library/modules/_same-value.js @@ -1,4 +1,5 @@ // 7.2.9 SameValue(x, y) -module.exports = Object.is || function is(x, y){ +module.exports = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_set-collection-from.js b/node_modules/core-js/library/modules/_set-collection-from.js new file mode 100644 index 000000000..d5001f93e --- /dev/null +++ b/node_modules/core-js/library/modules/_set-collection-from.js @@ -0,0 +1,28 @@ +'use strict'; +// https://tc39.github.io/proposal-setmap-offrom/ +var $export = require('./_export'); +var aFunction = require('./_a-function'); +var ctx = require('./_ctx'); +var forOf = require('./_for-of'); + +module.exports = function (COLLECTION) { + $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { + var mapFn = arguments[1]; + var mapping, A, n, cb; + aFunction(this); + mapping = mapFn !== undefined; + if (mapping) aFunction(mapFn); + if (source == undefined) return new this(); + A = []; + if (mapping) { + n = 0; + cb = ctx(mapFn, arguments[2], 2); + forOf(source, false, function (nextItem) { + A.push(cb(nextItem, n++)); + }); + } else { + forOf(source, false, A.push, A); + } + return new this(A); + } }); +}; diff --git a/node_modules/core-js/library/modules/_set-collection-of.js b/node_modules/core-js/library/modules/_set-collection-of.js new file mode 100644 index 000000000..dfb25800e --- /dev/null +++ b/node_modules/core-js/library/modules/_set-collection-of.js @@ -0,0 +1,12 @@ +'use strict'; +// https://tc39.github.io/proposal-setmap-offrom/ +var $export = require('./_export'); + +module.exports = function (COLLECTION) { + $export($export.S, COLLECTION, { of: function of() { + var length = arguments.length; + var A = Array(length); + while (length--) A[length] = arguments[length]; + return new this(A); + } }); +}; diff --git a/node_modules/core-js/library/modules/_set-proto.js b/node_modules/core-js/library/modules/_set-proto.js index 8d5dad3fd..c1990622e 100644 --- a/node_modules/core-js/library/modules/_set-proto.js +++ b/node_modules/core-js/library/modules/_set-proto.js @@ -1,25 +1,25 @@ // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ -var isObject = require('./_is-object') - , anObject = require('./_an-object'); -var check = function(O, proto){ +var isObject = require('./_is-object'); +var anObject = require('./_an-object'); +var check = function (O, proto) { anObject(O); - if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!"); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); }; module.exports = { set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line - function(test, buggy, set){ + function (test, buggy, set) { try { set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2); set(test, []); buggy = !(test instanceof Array); - } catch(e){ buggy = true; } - return function setPrototypeOf(O, proto){ + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { check(O, proto); - if(buggy)O.__proto__ = proto; + if (buggy) O.__proto__ = proto; else set(O, proto); return O; }; }({}, false) : undefined), check: check -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_set-species.js b/node_modules/core-js/library/modules/_set-species.js index 4320fa510..1f25fde1e 100644 --- a/node_modules/core-js/library/modules/_set-species.js +++ b/node_modules/core-js/library/modules/_set-species.js @@ -1,14 +1,14 @@ 'use strict'; -var global = require('./_global') - , core = require('./_core') - , dP = require('./_object-dp') - , DESCRIPTORS = require('./_descriptors') - , SPECIES = require('./_wks')('species'); +var global = require('./_global'); +var core = require('./_core'); +var dP = require('./_object-dp'); +var DESCRIPTORS = require('./_descriptors'); +var SPECIES = require('./_wks')('species'); -module.exports = function(KEY){ +module.exports = function (KEY) { var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; - if(DESCRIPTORS && C && !C[SPECIES])dP.f(C, SPECIES, { + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { configurable: true, - get: function(){ return this; } + get: function () { return this; } }); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_set-to-string-tag.js b/node_modules/core-js/library/modules/_set-to-string-tag.js index ffbdddab8..5bd64144f 100644 --- a/node_modules/core-js/library/modules/_set-to-string-tag.js +++ b/node_modules/core-js/library/modules/_set-to-string-tag.js @@ -1,7 +1,7 @@ -var def = require('./_object-dp').f - , has = require('./_has') - , TAG = require('./_wks')('toStringTag'); +var def = require('./_object-dp').f; +var has = require('./_has'); +var TAG = require('./_wks')('toStringTag'); -module.exports = function(it, tag, stat){ - if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag}); -};
\ No newline at end of file +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; diff --git a/node_modules/core-js/library/modules/_shared-key.js b/node_modules/core-js/library/modules/_shared-key.js index 5ed763496..d47fe7a28 100644 --- a/node_modules/core-js/library/modules/_shared-key.js +++ b/node_modules/core-js/library/modules/_shared-key.js @@ -1,5 +1,5 @@ -var shared = require('./_shared')('keys') - , uid = require('./_uid'); -module.exports = function(key){ +var shared = require('./_shared')('keys'); +var uid = require('./_uid'); +module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_shared.js b/node_modules/core-js/library/modules/_shared.js index 3f9e4c891..4d8f927f6 100644 --- a/node_modules/core-js/library/modules/_shared.js +++ b/node_modules/core-js/library/modules/_shared.js @@ -1,6 +1,6 @@ -var global = require('./_global') - , SHARED = '__core-js_shared__' - , store = global[SHARED] || (global[SHARED] = {}); -module.exports = function(key){ +var global = require('./_global'); +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || (global[SHARED] = {}); +module.exports = function (key) { return store[key] || (store[key] = {}); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_species-constructor.js b/node_modules/core-js/library/modules/_species-constructor.js index 7a4d1baf2..0cb4ffb8f 100644 --- a/node_modules/core-js/library/modules/_species-constructor.js +++ b/node_modules/core-js/library/modules/_species-constructor.js @@ -1,8 +1,9 @@ // 7.3.20 SpeciesConstructor(O, defaultConstructor) -var anObject = require('./_an-object') - , aFunction = require('./_a-function') - , SPECIES = require('./_wks')('species'); -module.exports = function(O, D){ - var C = anObject(O).constructor, S; +var anObject = require('./_an-object'); +var aFunction = require('./_a-function'); +var SPECIES = require('./_wks')('species'); +module.exports = function (O, D) { + var C = anObject(O).constructor; + var S; return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_strict-method.js b/node_modules/core-js/library/modules/_strict-method.js index 96b6c6e8a..e68f41bb6 100644 --- a/node_modules/core-js/library/modules/_strict-method.js +++ b/node_modules/core-js/library/modules/_strict-method.js @@ -1,7 +1,9 @@ +'use strict'; var fails = require('./_fails'); -module.exports = function(method, arg){ - return !!method && fails(function(){ - arg ? method.call(null, function(){}, 1) : method.call(null); +module.exports = function (method, arg) { + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); }); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_string-at.js b/node_modules/core-js/library/modules/_string-at.js index ecc0d21cb..88d66bd18 100644 --- a/node_modules/core-js/library/modules/_string-at.js +++ b/node_modules/core-js/library/modules/_string-at.js @@ -1,17 +1,17 @@ -var toInteger = require('./_to-integer') - , defined = require('./_defined'); +var toInteger = require('./_to-integer'); +var defined = require('./_defined'); // true -> String#at // false -> String#codePointAt -module.exports = function(TO_STRING){ - return function(that, pos){ - var s = String(defined(that)) - , i = toInteger(pos) - , l = s.length - , a, b; - if(i < 0 || i >= l)return TO_STRING ? '' : undefined; +module.exports = function (TO_STRING) { + return function (that, pos) { + var s = String(defined(that)); + var i = toInteger(pos); + var l = s.length; + var a, b; + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_string-context.js b/node_modules/core-js/library/modules/_string-context.js index 5f513483f..becf3fbeb 100644 --- a/node_modules/core-js/library/modules/_string-context.js +++ b/node_modules/core-js/library/modules/_string-context.js @@ -1,8 +1,8 @@ // helper for String#{startsWith, endsWith, includes} -var isRegExp = require('./_is-regexp') - , defined = require('./_defined'); +var isRegExp = require('./_is-regexp'); +var defined = require('./_defined'); -module.exports = function(that, searchString, NAME){ - if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!"); +module.exports = function (that, searchString, NAME) { + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); return String(defined(that)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_string-html.js b/node_modules/core-js/library/modules/_string-html.js index 95daf8124..1dcc95bcd 100644 --- a/node_modules/core-js/library/modules/_string-html.js +++ b/node_modules/core-js/library/modules/_string-html.js @@ -1,19 +1,19 @@ -var $export = require('./_export') - , fails = require('./_fails') - , defined = require('./_defined') - , quot = /"/g; +var $export = require('./_export'); +var fails = require('./_fails'); +var defined = require('./_defined'); +var quot = /"/g; // B.2.3.2.1 CreateHTML(string, tag, attribute, value) -var createHTML = function(string, tag, attribute, value) { - var S = String(defined(string)) - , p1 = '<' + tag; - if(attribute !== '')p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; +var createHTML = function (string, tag, attribute, value) { + var S = String(defined(string)); + var p1 = '<' + tag; + if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; return p1 + '>' + S + '</' + tag + '>'; }; -module.exports = function(NAME, exec){ +module.exports = function (NAME, exec) { var O = {}; O[NAME] = exec(createHTML); - $export($export.P + $export.F * fails(function(){ + $export($export.P + $export.F * fails(function () { var test = ''[NAME]('"'); return test !== test.toLowerCase() || test.split('"').length > 3; }), 'String', O); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_string-pad.js b/node_modules/core-js/library/modules/_string-pad.js index dccd155e8..ceb6077f0 100644 --- a/node_modules/core-js/library/modules/_string-pad.js +++ b/node_modules/core-js/library/modules/_string-pad.js @@ -1,16 +1,16 @@ // https://github.com/tc39/proposal-string-pad-start-end -var toLength = require('./_to-length') - , repeat = require('./_string-repeat') - , defined = require('./_defined'); +var toLength = require('./_to-length'); +var repeat = require('./_string-repeat'); +var defined = require('./_defined'); -module.exports = function(that, maxLength, fillString, left){ - var S = String(defined(that)) - , stringLength = S.length - , fillStr = fillString === undefined ? ' ' : String(fillString) - , intMaxLength = toLength(maxLength); - if(intMaxLength <= stringLength || fillStr == '')return S; - var fillLen = intMaxLength - stringLength - , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); - if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen); +module.exports = function (that, maxLength, fillString, left) { + var S = String(defined(that)); + var stringLength = S.length; + var fillStr = fillString === undefined ? ' ' : String(fillString); + var intMaxLength = toLength(maxLength); + if (intMaxLength <= stringLength || fillStr == '') return S; + var fillLen = intMaxLength - stringLength; + var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); return left ? stringFiller + S : S + stringFiller; }; diff --git a/node_modules/core-js/library/modules/_string-repeat.js b/node_modules/core-js/library/modules/_string-repeat.js index 88fd3a2d7..a69b9626b 100644 --- a/node_modules/core-js/library/modules/_string-repeat.js +++ b/node_modules/core-js/library/modules/_string-repeat.js @@ -1,12 +1,12 @@ 'use strict'; -var toInteger = require('./_to-integer') - , defined = require('./_defined'); +var toInteger = require('./_to-integer'); +var defined = require('./_defined'); -module.exports = function repeat(count){ - var str = String(defined(this)) - , res = '' - , n = toInteger(count); - if(n < 0 || n == Infinity)throw RangeError("Count can't be negative"); - for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str; +module.exports = function repeat(count) { + var str = String(defined(this)); + var res = ''; + var n = toInteger(count); + if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; return res; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_string-trim.js b/node_modules/core-js/library/modules/_string-trim.js index d12de1ce4..6b54a81a8 100644 --- a/node_modules/core-js/library/modules/_string-trim.js +++ b/node_modules/core-js/library/modules/_string-trim.js @@ -1,30 +1,30 @@ -var $export = require('./_export') - , defined = require('./_defined') - , fails = require('./_fails') - , spaces = require('./_string-ws') - , space = '[' + spaces + ']' - , non = '\u200b\u0085' - , ltrim = RegExp('^' + space + space + '*') - , rtrim = RegExp(space + space + '*$'); +var $export = require('./_export'); +var defined = require('./_defined'); +var fails = require('./_fails'); +var spaces = require('./_string-ws'); +var space = '[' + spaces + ']'; +var non = '\u200b\u0085'; +var ltrim = RegExp('^' + space + space + '*'); +var rtrim = RegExp(space + space + '*$'); -var exporter = function(KEY, exec, ALIAS){ - var exp = {}; - var FORCE = fails(function(){ +var exporter = function (KEY, exec, ALIAS) { + var exp = {}; + var FORCE = fails(function () { return !!spaces[KEY]() || non[KEY]() != non; }); var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; - if(ALIAS)exp[ALIAS] = fn; + if (ALIAS) exp[ALIAS] = fn; $export($export.P + $export.F * FORCE, 'String', exp); }; // 1 -> String#trimLeft // 2 -> String#trimRight // 3 -> String#trim -var trim = exporter.trim = function(string, TYPE){ +var trim = exporter.trim = function (string, TYPE) { string = String(defined(string)); - if(TYPE & 1)string = string.replace(ltrim, ''); - if(TYPE & 2)string = string.replace(rtrim, ''); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); return string; }; -module.exports = exporter;
\ No newline at end of file +module.exports = exporter; diff --git a/node_modules/core-js/library/modules/_string-ws.js b/node_modules/core-js/library/modules/_string-ws.js index 9713d11db..2c68cf9f4 100644 --- a/node_modules/core-js/library/modules/_string-ws.js +++ b/node_modules/core-js/library/modules/_string-ws.js @@ -1,2 +1,2 @@ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
\ No newline at end of file + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; diff --git a/node_modules/core-js/library/modules/_task.js b/node_modules/core-js/library/modules/_task.js index 06a73f40c..8777a6e28 100644 --- a/node_modules/core-js/library/modules/_task.js +++ b/node_modules/core-js/library/modules/_task.js @@ -1,75 +1,84 @@ -var ctx = require('./_ctx') - , invoke = require('./_invoke') - , html = require('./_html') - , cel = require('./_dom-create') - , global = require('./_global') - , process = global.process - , setTask = global.setImmediate - , clearTask = global.clearImmediate - , MessageChannel = global.MessageChannel - , counter = 0 - , queue = {} - , ONREADYSTATECHANGE = 'onreadystatechange' - , defer, channel, port; -var run = function(){ +var ctx = require('./_ctx'); +var invoke = require('./_invoke'); +var html = require('./_html'); +var cel = require('./_dom-create'); +var global = require('./_global'); +var process = global.process; +var setTask = global.setImmediate; +var clearTask = global.clearImmediate; +var MessageChannel = global.MessageChannel; +var Dispatch = global.Dispatch; +var counter = 0; +var queue = {}; +var ONREADYSTATECHANGE = 'onreadystatechange'; +var defer, channel, port; +var run = function () { var id = +this; - if(queue.hasOwnProperty(id)){ + // eslint-disable-next-line no-prototype-builtins + if (queue.hasOwnProperty(id)) { var fn = queue[id]; delete queue[id]; fn(); } }; -var listener = function(event){ +var listener = function (event) { run.call(event.data); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: -if(!setTask || !clearTask){ - setTask = function setImmediate(fn){ - var args = [], i = 1; - while(arguments.length > i)args.push(arguments[i++]); - queue[++counter] = function(){ +if (!setTask || !clearTask) { + setTask = function setImmediate(fn) { + var args = []; + var i = 1; + while (arguments.length > i) args.push(arguments[i++]); + queue[++counter] = function () { + // eslint-disable-next-line no-new-func invoke(typeof fn == 'function' ? fn : Function(fn), args); }; defer(counter); return counter; }; - clearTask = function clearImmediate(id){ + clearTask = function clearImmediate(id) { delete queue[id]; }; // Node.js 0.8- - if(require('./_cof')(process) == 'process'){ - defer = function(id){ + if (require('./_cof')(process) == 'process') { + defer = function (id) { process.nextTick(ctx(run, id, 1)); }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(ctx(run, id, 1)); + }; // Browsers with MessageChannel, includes WebWorkers - } else if(MessageChannel){ - channel = new MessageChannel; - port = channel.port2; + } else if (MessageChannel) { + channel = new MessageChannel(); + port = channel.port2; channel.port1.onmessage = listener; defer = ctx(port.postMessage, port, 1); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){ - defer = function(id){ + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { + defer = function (id) { global.postMessage(id + '', '*'); }; global.addEventListener('message', listener, false); // IE8- - } else if(ONREADYSTATECHANGE in cel('script')){ - defer = function(id){ - html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){ + } else if (ONREADYSTATECHANGE in cel('script')) { + defer = function (id) { + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { html.removeChild(this); run.call(id); }; }; // Rest old browsers } else { - defer = function(id){ + defer = function (id) { setTimeout(ctx(run, id, 1), 0); }; } } module.exports = { - set: setTask, + set: setTask, clear: clearTask -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_to-absolute-index.js b/node_modules/core-js/library/modules/_to-absolute-index.js new file mode 100644 index 000000000..dfee02e8e --- /dev/null +++ b/node_modules/core-js/library/modules/_to-absolute-index.js @@ -0,0 +1,7 @@ +var toInteger = require('./_to-integer'); +var max = Math.max; +var min = Math.min; +module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); +}; diff --git a/node_modules/core-js/library/modules/_to-index.js b/node_modules/core-js/library/modules/_to-index.js index 4d380ce18..8f51c32d2 100644 --- a/node_modules/core-js/library/modules/_to-index.js +++ b/node_modules/core-js/library/modules/_to-index.js @@ -1,7 +1,10 @@ -var toInteger = require('./_to-integer') - , max = Math.max - , min = Math.min; -module.exports = function(index, length){ - index = toInteger(index); - return index < 0 ? max(index + length, 0) : min(index, length); -};
\ No newline at end of file +// https://tc39.github.io/ecma262/#sec-toindex +var toInteger = require('./_to-integer'); +var toLength = require('./_to-length'); +module.exports = function (it) { + if (it === undefined) return 0; + var number = toInteger(it); + var length = toLength(number); + if (number !== length) throw RangeError('Wrong length!'); + return length; +}; diff --git a/node_modules/core-js/library/modules/_to-integer.js b/node_modules/core-js/library/modules/_to-integer.js index f63baaff8..3d50f97dd 100644 --- a/node_modules/core-js/library/modules/_to-integer.js +++ b/node_modules/core-js/library/modules/_to-integer.js @@ -1,6 +1,6 @@ // 7.1.4 ToInteger -var ceil = Math.ceil - , floor = Math.floor; -module.exports = function(it){ +var ceil = Math.ceil; +var floor = Math.floor; +module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_to-iobject.js b/node_modules/core-js/library/modules/_to-iobject.js index 4eb434620..7614503a2 100644 --- a/node_modules/core-js/library/modules/_to-iobject.js +++ b/node_modules/core-js/library/modules/_to-iobject.js @@ -1,6 +1,6 @@ // to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = require('./_iobject') - , defined = require('./_defined'); -module.exports = function(it){ +var IObject = require('./_iobject'); +var defined = require('./_defined'); +module.exports = function (it) { return IObject(defined(it)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_to-length.js b/node_modules/core-js/library/modules/_to-length.js index 4099e60b5..a9db50173 100644 --- a/node_modules/core-js/library/modules/_to-length.js +++ b/node_modules/core-js/library/modules/_to-length.js @@ -1,6 +1,6 @@ // 7.1.15 ToLength -var toInteger = require('./_to-integer') - , min = Math.min; -module.exports = function(it){ +var toInteger = require('./_to-integer'); +var min = Math.min; +module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_to-object.js b/node_modules/core-js/library/modules/_to-object.js index f2c28b3fb..0efea4c69 100644 --- a/node_modules/core-js/library/modules/_to-object.js +++ b/node_modules/core-js/library/modules/_to-object.js @@ -1,5 +1,5 @@ // 7.1.13 ToObject(argument) var defined = require('./_defined'); -module.exports = function(it){ +module.exports = function (it) { return Object(defined(it)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_to-primitive.js b/node_modules/core-js/library/modules/_to-primitive.js index 16354eed6..de3dd6b19 100644 --- a/node_modules/core-js/library/modules/_to-primitive.js +++ b/node_modules/core-js/library/modules/_to-primitive.js @@ -2,11 +2,11 @@ var isObject = require('./_is-object'); // 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){ - if(!isObject(it))return it; +module.exports = function (it, S) { + if (!isObject(it)) return it; var fn, val; - if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; - if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val; - if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_typed-array.js b/node_modules/core-js/library/modules/_typed-array.js index b072b23b0..30d9c0ba5 100644 --- a/node_modules/core-js/library/modules/_typed-array.js +++ b/node_modules/core-js/library/modules/_typed-array.js @@ -1,285 +1,278 @@ 'use strict'; -if(require('./_descriptors')){ - var LIBRARY = require('./_library') - , global = require('./_global') - , fails = require('./_fails') - , $export = require('./_export') - , $typed = require('./_typed') - , $buffer = require('./_typed-buffer') - , ctx = require('./_ctx') - , anInstance = require('./_an-instance') - , propertyDesc = require('./_property-desc') - , hide = require('./_hide') - , redefineAll = require('./_redefine-all') - , toInteger = require('./_to-integer') - , toLength = require('./_to-length') - , toIndex = require('./_to-index') - , toPrimitive = require('./_to-primitive') - , has = require('./_has') - , same = require('./_same-value') - , classof = require('./_classof') - , isObject = require('./_is-object') - , toObject = require('./_to-object') - , isArrayIter = require('./_is-array-iter') - , create = require('./_object-create') - , getPrototypeOf = require('./_object-gpo') - , gOPN = require('./_object-gopn').f - , getIterFn = require('./core.get-iterator-method') - , uid = require('./_uid') - , wks = require('./_wks') - , createArrayMethod = require('./_array-methods') - , createArrayIncludes = require('./_array-includes') - , speciesConstructor = require('./_species-constructor') - , ArrayIterators = require('./es6.array.iterator') - , Iterators = require('./_iterators') - , $iterDetect = require('./_iter-detect') - , setSpecies = require('./_set-species') - , arrayFill = require('./_array-fill') - , arrayCopyWithin = require('./_array-copy-within') - , $DP = require('./_object-dp') - , $GOPD = require('./_object-gopd') - , dP = $DP.f - , gOPD = $GOPD.f - , RangeError = global.RangeError - , TypeError = global.TypeError - , Uint8Array = global.Uint8Array - , ARRAY_BUFFER = 'ArrayBuffer' - , SHARED_BUFFER = 'Shared' + ARRAY_BUFFER - , BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT' - , PROTOTYPE = 'prototype' - , ArrayProto = Array[PROTOTYPE] - , $ArrayBuffer = $buffer.ArrayBuffer - , $DataView = $buffer.DataView - , arrayForEach = createArrayMethod(0) - , arrayFilter = createArrayMethod(2) - , arraySome = createArrayMethod(3) - , arrayEvery = createArrayMethod(4) - , arrayFind = createArrayMethod(5) - , arrayFindIndex = createArrayMethod(6) - , arrayIncludes = createArrayIncludes(true) - , arrayIndexOf = createArrayIncludes(false) - , arrayValues = ArrayIterators.values - , arrayKeys = ArrayIterators.keys - , arrayEntries = ArrayIterators.entries - , arrayLastIndexOf = ArrayProto.lastIndexOf - , arrayReduce = ArrayProto.reduce - , arrayReduceRight = ArrayProto.reduceRight - , arrayJoin = ArrayProto.join - , arraySort = ArrayProto.sort - , arraySlice = ArrayProto.slice - , arrayToString = ArrayProto.toString - , arrayToLocaleString = ArrayProto.toLocaleString - , ITERATOR = wks('iterator') - , TAG = wks('toStringTag') - , TYPED_CONSTRUCTOR = uid('typed_constructor') - , DEF_CONSTRUCTOR = uid('def_constructor') - , ALL_CONSTRUCTORS = $typed.CONSTR - , TYPED_ARRAY = $typed.TYPED - , VIEW = $typed.VIEW - , WRONG_LENGTH = 'Wrong length!'; - - var $map = createArrayMethod(1, function(O, length){ +if (require('./_descriptors')) { + var LIBRARY = require('./_library'); + var global = require('./_global'); + var fails = require('./_fails'); + var $export = require('./_export'); + var $typed = require('./_typed'); + var $buffer = require('./_typed-buffer'); + var ctx = require('./_ctx'); + var anInstance = require('./_an-instance'); + var propertyDesc = require('./_property-desc'); + var hide = require('./_hide'); + var redefineAll = require('./_redefine-all'); + var toInteger = require('./_to-integer'); + var toLength = require('./_to-length'); + var toIndex = require('./_to-index'); + var toAbsoluteIndex = require('./_to-absolute-index'); + var toPrimitive = require('./_to-primitive'); + var has = require('./_has'); + var classof = require('./_classof'); + var isObject = require('./_is-object'); + var toObject = require('./_to-object'); + var isArrayIter = require('./_is-array-iter'); + var create = require('./_object-create'); + var getPrototypeOf = require('./_object-gpo'); + var gOPN = require('./_object-gopn').f; + var getIterFn = require('./core.get-iterator-method'); + var uid = require('./_uid'); + var wks = require('./_wks'); + var createArrayMethod = require('./_array-methods'); + var createArrayIncludes = require('./_array-includes'); + var speciesConstructor = require('./_species-constructor'); + var ArrayIterators = require('./es6.array.iterator'); + var Iterators = require('./_iterators'); + var $iterDetect = require('./_iter-detect'); + var setSpecies = require('./_set-species'); + var arrayFill = require('./_array-fill'); + var arrayCopyWithin = require('./_array-copy-within'); + var $DP = require('./_object-dp'); + var $GOPD = require('./_object-gopd'); + var dP = $DP.f; + var gOPD = $GOPD.f; + var RangeError = global.RangeError; + var TypeError = global.TypeError; + var Uint8Array = global.Uint8Array; + var ARRAY_BUFFER = 'ArrayBuffer'; + var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; + var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; + var PROTOTYPE = 'prototype'; + var ArrayProto = Array[PROTOTYPE]; + var $ArrayBuffer = $buffer.ArrayBuffer; + var $DataView = $buffer.DataView; + var arrayForEach = createArrayMethod(0); + var arrayFilter = createArrayMethod(2); + var arraySome = createArrayMethod(3); + var arrayEvery = createArrayMethod(4); + var arrayFind = createArrayMethod(5); + var arrayFindIndex = createArrayMethod(6); + var arrayIncludes = createArrayIncludes(true); + var arrayIndexOf = createArrayIncludes(false); + var arrayValues = ArrayIterators.values; + var arrayKeys = ArrayIterators.keys; + var arrayEntries = ArrayIterators.entries; + var arrayLastIndexOf = ArrayProto.lastIndexOf; + var arrayReduce = ArrayProto.reduce; + var arrayReduceRight = ArrayProto.reduceRight; + var arrayJoin = ArrayProto.join; + var arraySort = ArrayProto.sort; + var arraySlice = ArrayProto.slice; + var arrayToString = ArrayProto.toString; + var arrayToLocaleString = ArrayProto.toLocaleString; + var ITERATOR = wks('iterator'); + var TAG = wks('toStringTag'); + var TYPED_CONSTRUCTOR = uid('typed_constructor'); + var DEF_CONSTRUCTOR = uid('def_constructor'); + var ALL_CONSTRUCTORS = $typed.CONSTR; + var TYPED_ARRAY = $typed.TYPED; + var VIEW = $typed.VIEW; + var WRONG_LENGTH = 'Wrong length!'; + + var $map = createArrayMethod(1, function (O, length) { return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); }); - var LITTLE_ENDIAN = fails(function(){ + var LITTLE_ENDIAN = fails(function () { + // eslint-disable-next-line no-undef return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; }); - var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function(){ + var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { new Uint8Array(1).set({}); }); - var strictToLength = function(it, SAME){ - if(it === undefined)throw TypeError(WRONG_LENGTH); - var number = +it - , length = toLength(it); - if(SAME && !same(number, length))throw RangeError(WRONG_LENGTH); - return length; - }; - - var toOffset = function(it, BYTES){ + var toOffset = function (it, BYTES) { var offset = toInteger(it); - if(offset < 0 || offset % BYTES)throw RangeError('Wrong offset!'); + if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); return offset; }; - var validate = function(it){ - if(isObject(it) && TYPED_ARRAY in it)return it; + var validate = function (it) { + if (isObject(it) && TYPED_ARRAY in it) return it; throw TypeError(it + ' is not a typed array!'); }; - var allocate = function(C, length){ - if(!(isObject(C) && TYPED_CONSTRUCTOR in C)){ + var allocate = function (C, length) { + if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { throw TypeError('It is not a typed array constructor!'); } return new C(length); }; - var speciesFromList = function(O, list){ + var speciesFromList = function (O, list) { return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); }; - var fromList = function(C, list){ - var index = 0 - , length = list.length - , result = allocate(C, length); - while(length > index)result[index] = list[index++]; + var fromList = function (C, list) { + var index = 0; + var length = list.length; + var result = allocate(C, length); + while (length > index) result[index] = list[index++]; return result; }; - var addGetter = function(it, key, internal){ - dP(it, key, {get: function(){ return this._d[internal]; }}); + var addGetter = function (it, key, internal) { + dP(it, key, { get: function () { return this._d[internal]; } }); }; - var $from = function from(source /*, mapfn, thisArg */){ - var O = toObject(source) - , aLen = arguments.length - , mapfn = aLen > 1 ? arguments[1] : undefined - , mapping = mapfn !== undefined - , iterFn = getIterFn(O) - , i, length, values, result, step, iterator; - if(iterFn != undefined && !isArrayIter(iterFn)){ - for(iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++){ + var $from = function from(source /* , mapfn, thisArg */) { + var O = toObject(source); + var aLen = arguments.length; + var mapfn = aLen > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iterFn = getIterFn(O); + var i, length, values, result, step, iterator; + if (iterFn != undefined && !isArrayIter(iterFn)) { + for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { values.push(step.value); } O = values; } - if(mapping && aLen > 2)mapfn = ctx(mapfn, arguments[2], 2); - for(i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++){ + if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); + for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { result[i] = mapping ? mapfn(O[i], i) : O[i]; } return result; }; - var $of = function of(/*...items*/){ - var index = 0 - , length = arguments.length - , result = allocate(this, length); - while(length > index)result[index] = arguments[index++]; + var $of = function of(/* ...items */) { + var index = 0; + var length = arguments.length; + var result = allocate(this, length); + while (length > index) result[index] = arguments[index++]; return result; }; // iOS Safari 6.x fails here - var TO_LOCALE_BUG = !!Uint8Array && fails(function(){ arrayToLocaleString.call(new Uint8Array(1)); }); + var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); - var $toLocaleString = function toLocaleString(){ + var $toLocaleString = function toLocaleString() { return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); }; var proto = { - copyWithin: function copyWithin(target, start /*, end */){ + copyWithin: function copyWithin(target, start /* , end */) { return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); }, - every: function every(callbackfn /*, thisArg */){ + every: function every(callbackfn /* , thisArg */) { return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }, - fill: function fill(value /*, start, end */){ // eslint-disable-line no-unused-vars + fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars return arrayFill.apply(validate(this), arguments); }, - filter: function filter(callbackfn /*, thisArg */){ + filter: function filter(callbackfn /* , thisArg */) { return speciesFromList(this, arrayFilter(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined)); }, - find: function find(predicate /*, thisArg */){ + find: function find(predicate /* , thisArg */) { return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }, - findIndex: function findIndex(predicate /*, thisArg */){ + findIndex: function findIndex(predicate /* , thisArg */) { return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }, - forEach: function forEach(callbackfn /*, thisArg */){ + forEach: function forEach(callbackfn /* , thisArg */) { arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }, - indexOf: function indexOf(searchElement /*, fromIndex */){ + indexOf: function indexOf(searchElement /* , fromIndex */) { return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }, - includes: function includes(searchElement /*, fromIndex */){ + includes: function includes(searchElement /* , fromIndex */) { return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }, - join: function join(separator){ // eslint-disable-line no-unused-vars + join: function join(separator) { // eslint-disable-line no-unused-vars return arrayJoin.apply(validate(this), arguments); }, - lastIndexOf: function lastIndexOf(searchElement /*, fromIndex */){ // eslint-disable-line no-unused-vars + lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars return arrayLastIndexOf.apply(validate(this), arguments); }, - map: function map(mapfn /*, thisArg */){ + map: function map(mapfn /* , thisArg */) { return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); }, - reduce: function reduce(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars + reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars return arrayReduce.apply(validate(this), arguments); }, - reduceRight: function reduceRight(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars + reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars return arrayReduceRight.apply(validate(this), arguments); }, - reverse: function reverse(){ - var that = this - , length = validate(that).length - , middle = Math.floor(length / 2) - , index = 0 - , value; - while(index < middle){ - value = that[index]; + reverse: function reverse() { + var that = this; + var length = validate(that).length; + var middle = Math.floor(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; that[index++] = that[--length]; - that[length] = value; + that[length] = value; } return that; }, - some: function some(callbackfn /*, thisArg */){ + some: function some(callbackfn /* , thisArg */) { return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }, - sort: function sort(comparefn){ + sort: function sort(comparefn) { return arraySort.call(validate(this), comparefn); }, - subarray: function subarray(begin, end){ - var O = validate(this) - , length = O.length - , $begin = toIndex(begin, length); + subarray: function subarray(begin, end) { + var O = validate(this); + var length = O.length; + var $begin = toAbsoluteIndex(begin, length); return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( O.buffer, O.byteOffset + $begin * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toIndex(end, length)) - $begin) + toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) ); } }; - var $slice = function slice(start, end){ + var $slice = function slice(start, end) { return speciesFromList(this, arraySlice.call(validate(this), start, end)); }; - var $set = function set(arrayLike /*, offset */){ + var $set = function set(arrayLike /* , offset */) { validate(this); - var offset = toOffset(arguments[1], 1) - , length = this.length - , src = toObject(arrayLike) - , len = toLength(src.length) - , index = 0; - if(len + offset > length)throw RangeError(WRONG_LENGTH); - while(index < len)this[offset + index] = src[index++]; + var offset = toOffset(arguments[1], 1); + var length = this.length; + var src = toObject(arrayLike); + var len = toLength(src.length); + var index = 0; + if (len + offset > length) throw RangeError(WRONG_LENGTH); + while (index < len) this[offset + index] = src[index++]; }; var $iterators = { - entries: function entries(){ + entries: function entries() { return arrayEntries.call(validate(this)); }, - keys: function keys(){ + keys: function keys() { return arrayKeys.call(validate(this)); }, - values: function values(){ + values: function values() { return arrayValues.call(validate(this)); } }; - var isTAIndex = function(target, key){ + var isTAIndex = function (target, key) { return isObject(target) && target[TYPED_ARRAY] && typeof key != 'symbol' && key in target && String(+key) == String(key); }; - var $getDesc = function getOwnPropertyDescriptor(target, key){ + var $getDesc = function getOwnPropertyDescriptor(target, key) { return isTAIndex(target, key = toPrimitive(key, true)) ? propertyDesc(2, target[key]) : gOPD(target, key); }; - var $setDesc = function defineProperty(target, key, desc){ - if(isTAIndex(target, key = toPrimitive(key, true)) + var $setDesc = function defineProperty(target, key, desc) { + if (isTAIndex(target, key = toPrimitive(key, true)) && isObject(desc) && has(desc, 'value') && !has(desc, 'get') @@ -288,36 +281,36 @@ if(require('./_descriptors')){ && !desc.configurable && (!has(desc, 'writable') || desc.writable) && (!has(desc, 'enumerable') || desc.enumerable) - ){ + ) { target[key] = desc.value; return target; - } else return dP(target, key, desc); + } return dP(target, key, desc); }; - if(!ALL_CONSTRUCTORS){ + if (!ALL_CONSTRUCTORS) { $GOPD.f = $getDesc; - $DP.f = $setDesc; + $DP.f = $setDesc; } $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { getOwnPropertyDescriptor: $getDesc, - defineProperty: $setDesc + defineProperty: $setDesc }); - if(fails(function(){ arrayToString.call({}); })){ - arrayToString = arrayToLocaleString = function toString(){ + if (fails(function () { arrayToString.call({}); })) { + arrayToString = arrayToLocaleString = function toString() { return arrayJoin.call(this); - } + }; } var $TypedArrayPrototype$ = redefineAll({}, proto); redefineAll($TypedArrayPrototype$, $iterators); hide($TypedArrayPrototype$, ITERATOR, $iterators.values); redefineAll($TypedArrayPrototype$, { - slice: $slice, - set: $set, - constructor: function(){ /* noop */ }, - toString: arrayToString, + slice: $slice, + set: $set, + constructor: function () { /* noop */ }, + toString: arrayToString, toLocaleString: $toLocaleString }); addGetter($TypedArrayPrototype$, 'buffer', 'b'); @@ -325,65 +318,65 @@ if(require('./_descriptors')){ addGetter($TypedArrayPrototype$, 'byteLength', 'l'); addGetter($TypedArrayPrototype$, 'length', 'e'); dP($TypedArrayPrototype$, TAG, { - get: function(){ return this[TYPED_ARRAY]; } + get: function () { return this[TYPED_ARRAY]; } }); - module.exports = function(KEY, BYTES, wrapper, CLAMPED){ + // eslint-disable-next-line max-statements + module.exports = function (KEY, BYTES, wrapper, CLAMPED) { CLAMPED = !!CLAMPED; - var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array' - , ISNT_UINT8 = NAME != 'Uint8Array' - , GETTER = 'get' + KEY - , SETTER = 'set' + KEY - , TypedArray = global[NAME] - , Base = TypedArray || {} - , TAC = TypedArray && getPrototypeOf(TypedArray) - , FORCED = !TypedArray || !$typed.ABV - , O = {} - , TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; - var getter = function(that, index){ + var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + KEY; + var SETTER = 'set' + KEY; + var TypedArray = global[NAME]; + var Base = TypedArray || {}; + var TAC = TypedArray && getPrototypeOf(TypedArray); + var FORCED = !TypedArray || !$typed.ABV; + var O = {}; + var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; + var getter = function (that, index) { var data = that._d; return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); }; - var setter = function(that, index, value){ + var setter = function (that, index, value) { var data = that._d; - if(CLAMPED)value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; + if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); }; - var addElement = function(that, index){ + var addElement = function (that, index) { dP(that, index, { - get: function(){ + get: function () { return getter(this, index); }, - set: function(value){ + set: function (value) { return setter(this, index, value); }, enumerable: true }); }; - if(FORCED){ - TypedArray = wrapper(function(that, data, $offset, $length){ + if (FORCED) { + TypedArray = wrapper(function (that, data, $offset, $length) { anInstance(that, TypedArray, NAME, '_d'); - var index = 0 - , offset = 0 - , buffer, byteLength, length, klass; - if(!isObject(data)){ - length = strictToLength(data, true) + var index = 0; + var offset = 0; + var buffer, byteLength, length, klass; + if (!isObject(data)) { + length = toIndex(data); byteLength = length * BYTES; - buffer = new $ArrayBuffer(byteLength); - } else if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){ + buffer = new $ArrayBuffer(byteLength); + } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { buffer = data; offset = toOffset($offset, BYTES); var $len = data.byteLength; - if($length === undefined){ - if($len % BYTES)throw RangeError(WRONG_LENGTH); + if ($length === undefined) { + if ($len % BYTES) throw RangeError(WRONG_LENGTH); byteLength = $len - offset; - if(byteLength < 0)throw RangeError(WRONG_LENGTH); + if (byteLength < 0) throw RangeError(WRONG_LENGTH); } else { byteLength = toLength($length) * BYTES; - if(byteLength + offset > $len)throw RangeError(WRONG_LENGTH); + if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); } length = byteLength / BYTES; - } else if(TYPED_ARRAY in data){ + } else if (TYPED_ARRAY in data) { return fromList(TypedArray, data); } else { return $from.call(TypedArray, data); @@ -395,49 +388,54 @@ if(require('./_descriptors')){ e: length, v: new $DataView(buffer) }); - while(index < length)addElement(that, index++); + while (index < length) addElement(that, index++); }); TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); hide(TypedArrayPrototype, 'constructor', TypedArray); - } else if(!$iterDetect(function(iter){ - // V8 works with iterators, but fails in many other cases - // https://code.google.com/p/v8/issues/detail?id=4552 + } else if (!fails(function () { + TypedArray(1); + }) || !fails(function () { + new TypedArray(-1); // eslint-disable-line no-new + }) || !$iterDetect(function (iter) { + new TypedArray(); // eslint-disable-line no-new new TypedArray(null); // eslint-disable-line no-new + new TypedArray(1.5); // eslint-disable-line no-new new TypedArray(iter); // eslint-disable-line no-new - }, true)){ - TypedArray = wrapper(function(that, data, $offset, $length){ + }, true)) { + TypedArray = wrapper(function (that, data, $offset, $length) { anInstance(that, TypedArray, NAME); var klass; // `ws` module bug, temporarily remove validation length for Uint8Array // https://github.com/websockets/ws/pull/645 - if(!isObject(data))return new Base(strictToLength(data, ISNT_UINT8)); - if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){ + if (!isObject(data)) return new Base(toIndex(data)); + if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { return $length !== undefined ? new Base(data, toOffset($offset, BYTES), $length) : $offset !== undefined ? new Base(data, toOffset($offset, BYTES)) : new Base(data); } - if(TYPED_ARRAY in data)return fromList(TypedArray, data); + if (TYPED_ARRAY in data) return fromList(TypedArray, data); return $from.call(TypedArray, data); }); - arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function(key){ - if(!(key in TypedArray))hide(TypedArray, key, Base[key]); + arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { + if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); }); TypedArray[PROTOTYPE] = TypedArrayPrototype; - if(!LIBRARY)TypedArrayPrototype.constructor = TypedArray; + if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; } - var $nativeIterator = TypedArrayPrototype[ITERATOR] - , CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined) - , $iterator = $iterators.values; + var $nativeIterator = TypedArrayPrototype[ITERATOR]; + var CORRECT_ITER_NAME = !!$nativeIterator + && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); + var $iterator = $iterators.values; hide(TypedArray, TYPED_CONSTRUCTOR, true); hide(TypedArrayPrototype, TYPED_ARRAY, NAME); hide(TypedArrayPrototype, VIEW, true); hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); - if(CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)){ + if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { dP(TypedArrayPrototype, TAG, { - get: function(){ return NAME; } + get: function () { return NAME; } }); } @@ -446,34 +444,37 @@ if(require('./_descriptors')){ $export($export.G + $export.W + $export.F * (TypedArray != Base), O); $export($export.S, NAME, { - BYTES_PER_ELEMENT: BYTES, + BYTES_PER_ELEMENT: BYTES + }); + + $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { from: $from, of: $of }); - if(!(BYTES_PER_ELEMENT in TypedArrayPrototype))hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); + if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); $export($export.P, NAME, proto); setSpecies(NAME); - $export($export.P + $export.F * FORCED_SET, NAME, {set: $set}); + $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); - $export($export.P + $export.F * (TypedArrayPrototype.toString != arrayToString), NAME, {toString: arrayToString}); + if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; - $export($export.P + $export.F * fails(function(){ + $export($export.P + $export.F * fails(function () { new TypedArray(1).slice(); - }), NAME, {slice: $slice}); + }), NAME, { slice: $slice }); - $export($export.P + $export.F * (fails(function(){ - return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString() - }) || !fails(function(){ + $export($export.P + $export.F * (fails(function () { + return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); + }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); - })), NAME, {toLocaleString: $toLocaleString}); + })), NAME, { toLocaleString: $toLocaleString }); Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; - if(!LIBRARY && !CORRECT_ITER_NAME)hide(TypedArrayPrototype, ITERATOR, $iterator); + if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); }; -} else module.exports = function(){ /* empty */ };
\ No newline at end of file +} else module.exports = function () { /* empty */ }; diff --git a/node_modules/core-js/library/modules/_typed-buffer.js b/node_modules/core-js/library/modules/_typed-buffer.js index 2129eea40..13ae20862 100644 --- a/node_modules/core-js/library/modules/_typed-buffer.js +++ b/node_modules/core-js/library/modules/_typed-buffer.js @@ -1,74 +1,78 @@ 'use strict'; -var global = require('./_global') - , DESCRIPTORS = require('./_descriptors') - , LIBRARY = require('./_library') - , $typed = require('./_typed') - , hide = require('./_hide') - , redefineAll = require('./_redefine-all') - , fails = require('./_fails') - , anInstance = require('./_an-instance') - , toInteger = require('./_to-integer') - , toLength = require('./_to-length') - , gOPN = require('./_object-gopn').f - , dP = require('./_object-dp').f - , arrayFill = require('./_array-fill') - , setToStringTag = require('./_set-to-string-tag') - , ARRAY_BUFFER = 'ArrayBuffer' - , DATA_VIEW = 'DataView' - , PROTOTYPE = 'prototype' - , WRONG_LENGTH = 'Wrong length!' - , WRONG_INDEX = 'Wrong index!' - , $ArrayBuffer = global[ARRAY_BUFFER] - , $DataView = global[DATA_VIEW] - , Math = global.Math - , RangeError = global.RangeError - , Infinity = global.Infinity - , BaseBuffer = $ArrayBuffer - , abs = Math.abs - , pow = Math.pow - , floor = Math.floor - , log = Math.log - , LN2 = Math.LN2 - , BUFFER = 'buffer' - , BYTE_LENGTH = 'byteLength' - , BYTE_OFFSET = 'byteOffset' - , $BUFFER = DESCRIPTORS ? '_b' : BUFFER - , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH - , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; +var global = require('./_global'); +var DESCRIPTORS = require('./_descriptors'); +var LIBRARY = require('./_library'); +var $typed = require('./_typed'); +var hide = require('./_hide'); +var redefineAll = require('./_redefine-all'); +var fails = require('./_fails'); +var anInstance = require('./_an-instance'); +var toInteger = require('./_to-integer'); +var toLength = require('./_to-length'); +var toIndex = require('./_to-index'); +var gOPN = require('./_object-gopn').f; +var dP = require('./_object-dp').f; +var arrayFill = require('./_array-fill'); +var setToStringTag = require('./_set-to-string-tag'); +var ARRAY_BUFFER = 'ArrayBuffer'; +var DATA_VIEW = 'DataView'; +var PROTOTYPE = 'prototype'; +var WRONG_LENGTH = 'Wrong length!'; +var WRONG_INDEX = 'Wrong index!'; +var $ArrayBuffer = global[ARRAY_BUFFER]; +var $DataView = global[DATA_VIEW]; +var Math = global.Math; +var RangeError = global.RangeError; +// eslint-disable-next-line no-shadow-restricted-names +var Infinity = global.Infinity; +var BaseBuffer = $ArrayBuffer; +var abs = Math.abs; +var pow = Math.pow; +var floor = Math.floor; +var log = Math.log; +var LN2 = Math.LN2; +var BUFFER = 'buffer'; +var BYTE_LENGTH = 'byteLength'; +var BYTE_OFFSET = 'byteOffset'; +var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; +var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; +var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; // IEEE754 conversions based on https://github.com/feross/ieee754 -var packIEEE754 = function(value, mLen, nBytes){ - var buffer = Array(nBytes) - , eLen = nBytes * 8 - mLen - 1 - , eMax = (1 << eLen) - 1 - , eBias = eMax >> 1 - , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0 - , i = 0 - , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0 - , e, m, c; - value = abs(value) - if(value != value || value === Infinity){ +function packIEEE754(value, mLen, nBytes) { + var buffer = Array(nBytes); + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; + var i = 0; + var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; + var e, m, c; + value = abs(value); + // eslint-disable-next-line no-self-compare + if (value != value || value === Infinity) { + // eslint-disable-next-line no-self-compare m = value != value ? 1 : 0; e = eMax; } else { e = floor(log(value) / LN2); - if(value * (c = pow(2, -e)) < 1){ + if (value * (c = pow(2, -e)) < 1) { e--; c *= 2; } - if(e + eBias >= 1){ + if (e + eBias >= 1) { value += rt / c; } else { value += rt * pow(2, 1 - eBias); } - if(value * c >= 2){ + if (value * c >= 2) { e++; c /= 2; } - if(e + eBias >= eMax){ + if (e + eBias >= eMax) { m = 0; e = eMax; - } else if(e + eBias >= 1){ + } else if (e + eBias >= 1) { m = (value * c - 1) * pow(2, mLen); e = e + eBias; } else { @@ -76,109 +80,102 @@ var packIEEE754 = function(value, mLen, nBytes){ e = 0; } } - for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); + for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); e = e << mLen | m; eLen += mLen; - for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); + for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); buffer[--i] |= s * 128; return buffer; -}; -var unpackIEEE754 = function(buffer, mLen, nBytes){ - var eLen = nBytes * 8 - mLen - 1 - , eMax = (1 << eLen) - 1 - , eBias = eMax >> 1 - , nBits = eLen - 7 - , i = nBytes - 1 - , s = buffer[i--] - , e = s & 127 - , m; +} +function unpackIEEE754(buffer, mLen, nBytes) { + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var nBits = eLen - 7; + var i = nBytes - 1; + var s = buffer[i--]; + var e = s & 127; + var m; s >>= 7; - for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); + for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); m = e & (1 << -nBits) - 1; e >>= -nBits; nBits += mLen; - for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); - if(e === 0){ + for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); + if (e === 0) { e = 1 - eBias; - } else if(e === eMax){ + } else if (e === eMax) { return m ? NaN : s ? -Infinity : Infinity; } else { m = m + pow(2, mLen); e = e - eBias; } return (s ? -1 : 1) * m * pow(2, e - mLen); -}; +} -var unpackI32 = function(bytes){ +function unpackI32(bytes) { return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; -}; -var packI8 = function(it){ +} +function packI8(it) { return [it & 0xff]; -}; -var packI16 = function(it){ +} +function packI16(it) { return [it & 0xff, it >> 8 & 0xff]; -}; -var packI32 = function(it){ +} +function packI32(it) { return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; -}; -var packF64 = function(it){ +} +function packF64(it) { return packIEEE754(it, 52, 8); -}; -var packF32 = function(it){ +} +function packF32(it) { return packIEEE754(it, 23, 4); -}; +} -var addGetter = function(C, key, internal){ - dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }}); -}; +function addGetter(C, key, internal) { + dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); +} -var get = function(view, bytes, index, isLittleEndian){ - var numIndex = +index - , intIndex = toInteger(numIndex); - if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b - , start = intIndex + view[$OFFSET] - , pack = store.slice(start, start + bytes); +function get(view, bytes, index, isLittleEndian) { + var numIndex = +index; + var intIndex = toIndex(numIndex); + if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); + var store = view[$BUFFER]._b; + var start = intIndex + view[$OFFSET]; + var pack = store.slice(start, start + bytes); return isLittleEndian ? pack : pack.reverse(); -}; -var set = function(view, bytes, index, conversion, value, isLittleEndian){ - var numIndex = +index - , intIndex = toInteger(numIndex); - if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b - , start = intIndex + view[$OFFSET] - , pack = conversion(+value); - for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; -}; - -var validateArrayBufferArguments = function(that, length){ - anInstance(that, $ArrayBuffer, ARRAY_BUFFER); - var numberLength = +length - , byteLength = toLength(numberLength); - if(numberLength != byteLength)throw RangeError(WRONG_LENGTH); - return byteLength; -}; +} +function set(view, bytes, index, conversion, value, isLittleEndian) { + var numIndex = +index; + var intIndex = toIndex(numIndex); + if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); + var store = view[$BUFFER]._b; + var start = intIndex + view[$OFFSET]; + var pack = conversion(+value); + for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; +} -if(!$typed.ABV){ - $ArrayBuffer = function ArrayBuffer(length){ - var byteLength = validateArrayBufferArguments(this, length); - this._b = arrayFill.call(Array(byteLength), 0); +if (!$typed.ABV) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer, ARRAY_BUFFER); + var byteLength = toIndex(length); + this._b = arrayFill.call(Array(byteLength), 0); this[$LENGTH] = byteLength; }; - $DataView = function DataView(buffer, byteOffset, byteLength){ + $DataView = function DataView(buffer, byteOffset, byteLength) { anInstance(this, $DataView, DATA_VIEW); anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = buffer[$LENGTH] - , offset = toInteger(byteOffset); - if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!'); + var bufferLength = buffer[$LENGTH]; + var offset = toInteger(byteOffset); + if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH); + if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); this[$BUFFER] = buffer; this[$OFFSET] = offset; this[$LENGTH] = byteLength; }; - if(DESCRIPTORS){ + if (DESCRIPTORS) { addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); addGetter($DataView, BUFFER, '_b'); addGetter($DataView, BYTE_LENGTH, '_l'); @@ -186,82 +183,88 @@ if(!$typed.ABV){ } redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset){ + getInt8: function getInt8(byteOffset) { return get(this, 1, byteOffset)[0] << 24 >> 24; }, - getUint8: function getUint8(byteOffset){ + getUint8: function getUint8(byteOffset) { return get(this, 1, byteOffset)[0]; }, - getInt16: function getInt16(byteOffset /*, littleEndian */){ + getInt16: function getInt16(byteOffset /* , littleEndian */) { var bytes = get(this, 2, byteOffset, arguments[1]); return (bytes[1] << 8 | bytes[0]) << 16 >> 16; }, - getUint16: function getUint16(byteOffset /*, littleEndian */){ + getUint16: function getUint16(byteOffset /* , littleEndian */) { var bytes = get(this, 2, byteOffset, arguments[1]); return bytes[1] << 8 | bytes[0]; }, - getInt32: function getInt32(byteOffset /*, littleEndian */){ + getInt32: function getInt32(byteOffset /* , littleEndian */) { return unpackI32(get(this, 4, byteOffset, arguments[1])); }, - getUint32: function getUint32(byteOffset /*, littleEndian */){ + getUint32: function getUint32(byteOffset /* , littleEndian */) { return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; }, - getFloat32: function getFloat32(byteOffset /*, littleEndian */){ + getFloat32: function getFloat32(byteOffset /* , littleEndian */) { return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); }, - getFloat64: function getFloat64(byteOffset /*, littleEndian */){ + getFloat64: function getFloat64(byteOffset /* , littleEndian */) { return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); }, - setInt8: function setInt8(byteOffset, value){ + setInt8: function setInt8(byteOffset, value) { set(this, 1, byteOffset, packI8, value); }, - setUint8: function setUint8(byteOffset, value){ + setUint8: function setUint8(byteOffset, value) { set(this, 1, byteOffset, packI8, value); }, - setInt16: function setInt16(byteOffset, value /*, littleEndian */){ + setInt16: function setInt16(byteOffset, value /* , littleEndian */) { set(this, 2, byteOffset, packI16, value, arguments[2]); }, - setUint16: function setUint16(byteOffset, value /*, littleEndian */){ + setUint16: function setUint16(byteOffset, value /* , littleEndian */) { set(this, 2, byteOffset, packI16, value, arguments[2]); }, - setInt32: function setInt32(byteOffset, value /*, littleEndian */){ + setInt32: function setInt32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packI32, value, arguments[2]); }, - setUint32: function setUint32(byteOffset, value /*, littleEndian */){ + setUint32: function setUint32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packI32, value, arguments[2]); }, - setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){ + setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packF32, value, arguments[2]); }, - setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){ + setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { set(this, 8, byteOffset, packF64, value, arguments[2]); } }); } else { - if(!fails(function(){ - new $ArrayBuffer; // eslint-disable-line no-new - }) || !fails(function(){ - new $ArrayBuffer(.5); // eslint-disable-line no-new - })){ - $ArrayBuffer = function ArrayBuffer(length){ - return new BaseBuffer(validateArrayBufferArguments(this, length)); + if (!fails(function () { + $ArrayBuffer(1); + }) || !fails(function () { + new $ArrayBuffer(-1); // eslint-disable-line no-new + }) || fails(function () { + new $ArrayBuffer(); // eslint-disable-line no-new + new $ArrayBuffer(1.5); // eslint-disable-line no-new + new $ArrayBuffer(NaN); // eslint-disable-line no-new + return $ArrayBuffer.name != ARRAY_BUFFER; + })) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer); + return new BaseBuffer(toIndex(length)); }; var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; - for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){ - if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]); - }; - if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer; + for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { + if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); + } + if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; } // iOS Safari 7.x bug - var view = new $DataView(new $ArrayBuffer(2)) - , $setInt8 = $DataView[PROTOTYPE].setInt8; + var view = new $DataView(new $ArrayBuffer(2)); + var $setInt8 = $DataView[PROTOTYPE].setInt8; view.setInt8(0, 2147483648); view.setInt8(1, 2147483649); - if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], { - setInt8: function setInt8(byteOffset, value){ + if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { + setInt8: function setInt8(byteOffset, value) { $setInt8.call(this, byteOffset, value << 24 >> 24); }, - setUint8: function setUint8(byteOffset, value){ + setUint8: function setUint8(byteOffset, value) { $setInt8.call(this, byteOffset, value << 24 >> 24); } }, true); @@ -270,4 +273,4 @@ setToStringTag($ArrayBuffer, ARRAY_BUFFER); setToStringTag($DataView, DATA_VIEW); hide($DataView[PROTOTYPE], $typed.VIEW, true); exports[ARRAY_BUFFER] = $ArrayBuffer; -exports[DATA_VIEW] = $DataView;
\ No newline at end of file +exports[DATA_VIEW] = $DataView; diff --git a/node_modules/core-js/library/modules/_typed.js b/node_modules/core-js/library/modules/_typed.js index 6ed2ab56d..8747ffd71 100644 --- a/node_modules/core-js/library/modules/_typed.js +++ b/node_modules/core-js/library/modules/_typed.js @@ -1,26 +1,28 @@ -var global = require('./_global') - , hide = require('./_hide') - , uid = require('./_uid') - , TYPED = uid('typed_array') - , VIEW = uid('view') - , ABV = !!(global.ArrayBuffer && global.DataView) - , CONSTR = ABV - , i = 0, l = 9, Typed; +var global = require('./_global'); +var hide = require('./_hide'); +var uid = require('./_uid'); +var TYPED = uid('typed_array'); +var VIEW = uid('view'); +var ABV = !!(global.ArrayBuffer && global.DataView); +var CONSTR = ABV; +var i = 0; +var l = 9; +var Typed; var TypedArrayConstructors = ( 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' ).split(','); -while(i < l){ - if(Typed = global[TypedArrayConstructors[i++]]){ +while (i < l) { + if (Typed = global[TypedArrayConstructors[i++]]) { hide(Typed.prototype, TYPED, true); hide(Typed.prototype, VIEW, true); } else CONSTR = false; } module.exports = { - ABV: ABV, + ABV: ABV, CONSTR: CONSTR, - TYPED: TYPED, - VIEW: VIEW -};
\ No newline at end of file + TYPED: TYPED, + VIEW: VIEW +}; diff --git a/node_modules/core-js/library/modules/_uid.js b/node_modules/core-js/library/modules/_uid.js index 3be4196bb..ffbe7185f 100644 --- a/node_modules/core-js/library/modules/_uid.js +++ b/node_modules/core-js/library/modules/_uid.js @@ -1,5 +1,5 @@ -var id = 0 - , px = Math.random(); -module.exports = function(key){ +var id = 0; +var px = Math.random(); +module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/_validate-collection.js b/node_modules/core-js/library/modules/_validate-collection.js new file mode 100644 index 000000000..cec1ceff7 --- /dev/null +++ b/node_modules/core-js/library/modules/_validate-collection.js @@ -0,0 +1,5 @@ +var isObject = require('./_is-object'); +module.exports = function (it, TYPE) { + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); + return it; +}; diff --git a/node_modules/core-js/library/modules/_wks-define.js b/node_modules/core-js/library/modules/_wks-define.js index e69603286..7284d6ada 100644 --- a/node_modules/core-js/library/modules/_wks-define.js +++ b/node_modules/core-js/library/modules/_wks-define.js @@ -1,9 +1,9 @@ -var global = require('./_global') - , core = require('./_core') - , LIBRARY = require('./_library') - , wksExt = require('./_wks-ext') - , defineProperty = require('./_object-dp').f; -module.exports = function(name){ +var global = require('./_global'); +var core = require('./_core'); +var LIBRARY = require('./_library'); +var wksExt = require('./_wks-ext'); +var defineProperty = require('./_object-dp').f; +module.exports = function (name) { var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); - if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)}); -};
\ No newline at end of file + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); +}; diff --git a/node_modules/core-js/library/modules/_wks-ext.js b/node_modules/core-js/library/modules/_wks-ext.js index 7901def62..13bd83b16 100644 --- a/node_modules/core-js/library/modules/_wks-ext.js +++ b/node_modules/core-js/library/modules/_wks-ext.js @@ -1 +1 @@ -exports.f = require('./_wks');
\ No newline at end of file +exports.f = require('./_wks'); diff --git a/node_modules/core-js/library/modules/_wks.js b/node_modules/core-js/library/modules/_wks.js index 36f7973ae..e33f857a6 100644 --- a/node_modules/core-js/library/modules/_wks.js +++ b/node_modules/core-js/library/modules/_wks.js @@ -1,11 +1,11 @@ -var store = require('./_shared')('wks') - , uid = require('./_uid') - , Symbol = require('./_global').Symbol - , USE_SYMBOL = typeof Symbol == 'function'; +var store = require('./_shared')('wks'); +var uid = require('./_uid'); +var Symbol = require('./_global').Symbol; +var USE_SYMBOL = typeof Symbol == 'function'; -var $exports = module.exports = function(name){ +var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; -$exports.store = store;
\ No newline at end of file +$exports.store = store; diff --git a/node_modules/core-js/library/modules/core.delay.js b/node_modules/core-js/library/modules/core.delay.js index ea031be4a..73712c012 100644 --- a/node_modules/core-js/library/modules/core.delay.js +++ b/node_modules/core-js/library/modules/core.delay.js @@ -1,12 +1,12 @@ -var global = require('./_global') - , core = require('./_core') - , $export = require('./_export') - , partial = require('./_partial'); +var global = require('./_global'); +var core = require('./_core'); +var $export = require('./_export'); +var partial = require('./_partial'); // https://esdiscuss.org/topic/promise-returning-delay-function $export($export.G + $export.F, { - delay: function delay(time){ - return new (core.Promise || global.Promise)(function(resolve){ + delay: function delay(time) { + return new (core.Promise || global.Promise)(function (resolve) { setTimeout(partial.call(resolve, true), time); }); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/core.dict.js b/node_modules/core-js/library/modules/core.dict.js index 88c54e3d7..5422ad30d 100644 --- a/node_modules/core-js/library/modules/core.dict.js +++ b/node_modules/core-js/library/modules/core.dict.js @@ -1,22 +1,22 @@ 'use strict'; -var ctx = require('./_ctx') - , $export = require('./_export') - , createDesc = require('./_property-desc') - , assign = require('./_object-assign') - , create = require('./_object-create') - , getPrototypeOf = require('./_object-gpo') - , getKeys = require('./_object-keys') - , dP = require('./_object-dp') - , keyOf = require('./_keyof') - , aFunction = require('./_a-function') - , forOf = require('./_for-of') - , isIterable = require('./core.is-iterable') - , $iterCreate = require('./_iter-create') - , step = require('./_iter-step') - , isObject = require('./_is-object') - , toIObject = require('./_to-iobject') - , DESCRIPTORS = require('./_descriptors') - , has = require('./_has'); +var ctx = require('./_ctx'); +var $export = require('./_export'); +var createDesc = require('./_property-desc'); +var assign = require('./_object-assign'); +var create = require('./_object-create'); +var getPrototypeOf = require('./_object-gpo'); +var getKeys = require('./_object-keys'); +var dP = require('./_object-dp'); +var keyOf = require('./_keyof'); +var aFunction = require('./_a-function'); +var forOf = require('./_for-of'); +var isIterable = require('./core.is-iterable'); +var $iterCreate = require('./_iter-create'); +var step = require('./_iter-step'); +var isObject = require('./_is-object'); +var toIObject = require('./_to-iobject'); +var DESCRIPTORS = require('./_descriptors'); +var has = require('./_has'); // 0 -> Dict.forEach // 1 -> Dict.map @@ -26,27 +26,27 @@ var ctx = require('./_ctx') // 5 -> Dict.find // 6 -> Dict.findKey // 7 -> Dict.mapPairs -var createDictMethod = function(TYPE){ - var IS_MAP = TYPE == 1 - , IS_EVERY = TYPE == 4; - return function(object, callbackfn, that /* = undefined */){ - var f = ctx(callbackfn, that, 3) - , O = toIObject(object) - , result = IS_MAP || TYPE == 7 || TYPE == 2 - ? new (typeof this == 'function' ? this : Dict) : undefined - , key, val, res; - for(key in O)if(has(O, key)){ +var createDictMethod = function (TYPE) { + var IS_MAP = TYPE == 1; + var IS_EVERY = TYPE == 4; + return function (object, callbackfn, that /* = undefined */) { + var f = ctx(callbackfn, that, 3); + var O = toIObject(object); + var result = IS_MAP || TYPE == 7 || TYPE == 2 + ? new (typeof this == 'function' ? this : Dict)() : undefined; + var key, val, res; + for (key in O) if (has(O, key)) { val = O[key]; res = f(val, key, object); - if(TYPE){ - if(IS_MAP)result[key] = res; // map - else if(res)switch(TYPE){ + if (TYPE) { + if (IS_MAP) result[key] = res; // map + else if (res) switch (TYPE) { case 2: result[key] = val; break; // filter case 3: return true; // some case 5: return val; // find case 6: return key; // findKey case 7: result[res[0]] = res[1]; // mapPairs - } else if(IS_EVERY)return false; // every + } else if (IS_EVERY) return false; // every } } return TYPE == 3 || IS_EVERY ? IS_EVERY : result; @@ -54,39 +54,39 @@ var createDictMethod = function(TYPE){ }; var findKey = createDictMethod(6); -var createDictIter = function(kind){ - return function(it){ +var createDictIter = function (kind) { + return function (it) { return new DictIterator(it, kind); }; }; -var DictIterator = function(iterated, kind){ +var DictIterator = function (iterated, kind) { this._t = toIObject(iterated); // target this._a = getKeys(iterated); // keys this._i = 0; // next index this._k = kind; // kind }; -$iterCreate(DictIterator, 'Dict', function(){ - var that = this - , O = that._t - , keys = that._a - , kind = that._k - , key; +$iterCreate(DictIterator, 'Dict', function () { + var that = this; + var O = that._t; + var keys = that._a; + var kind = that._k; + var key; do { - if(that._i >= keys.length){ + if (that._i >= keys.length) { that._t = undefined; return step(1); } - } while(!has(O, key = keys[that._i++])); - if(kind == 'keys' )return step(0, key); - if(kind == 'values')return step(0, O[key]); + } while (!has(O, key = keys[that._i++])); + if (kind == 'keys') return step(0, key); + if (kind == 'values') return step(0, O[key]); return step(0, [key, O[key]]); }); -function Dict(iterable){ +function Dict(iterable) { var dict = create(null); - if(iterable != undefined){ - if(isIterable(iterable)){ - forOf(iterable, true, function(key, value){ + if (iterable != undefined) { + if (isIterable(iterable)) { + forOf(iterable, true, function (key, value) { dict[key] = value; }); } else assign(dict, iterable); @@ -95,61 +95,63 @@ function Dict(iterable){ } Dict.prototype = null; -function reduce(object, mapfn, init){ +function reduce(object, mapfn, init) { aFunction(mapfn); - var O = toIObject(object) - , keys = getKeys(O) - , length = keys.length - , i = 0 - , memo, key; - if(arguments.length < 3){ - if(!length)throw TypeError('Reduce of empty object with no initial value'); + var O = toIObject(object); + var keys = getKeys(O); + var length = keys.length; + var i = 0; + var memo, key; + if (arguments.length < 3) { + if (!length) throw TypeError('Reduce of empty object with no initial value'); memo = O[keys[i++]]; } else memo = Object(init); - while(length > i)if(has(O, key = keys[i++])){ + while (length > i) if (has(O, key = keys[i++])) { memo = mapfn(memo, O[key], key, object); } return memo; } -function includes(object, el){ - return (el == el ? keyOf(object, el) : findKey(object, function(it){ +function includes(object, el) { + // eslint-disable-next-line no-self-compare + return (el == el ? keyOf(object, el) : findKey(object, function (it) { + // eslint-disable-next-line no-self-compare return it != it; })) !== undefined; } -function get(object, key){ - if(has(object, key))return object[key]; +function get(object, key) { + if (has(object, key)) return object[key]; } -function set(object, key, value){ - if(DESCRIPTORS && key in Object)dP.f(object, key, createDesc(0, value)); +function set(object, key, value) { + if (DESCRIPTORS && key in Object) dP.f(object, key, createDesc(0, value)); else object[key] = value; return object; } -function isDict(it){ +function isDict(it) { return isObject(it) && getPrototypeOf(it) === Dict.prototype; } -$export($export.G + $export.F, {Dict: Dict}); +$export($export.G + $export.F, { Dict: Dict }); $export($export.S, 'Dict', { - keys: createDictIter('keys'), - values: createDictIter('values'), - entries: createDictIter('entries'), - forEach: createDictMethod(0), - map: createDictMethod(1), - filter: createDictMethod(2), - some: createDictMethod(3), - every: createDictMethod(4), - find: createDictMethod(5), - findKey: findKey, + keys: createDictIter('keys'), + values: createDictIter('values'), + entries: createDictIter('entries'), + forEach: createDictMethod(0), + map: createDictMethod(1), + filter: createDictMethod(2), + some: createDictMethod(3), + every: createDictMethod(4), + find: createDictMethod(5), + findKey: findKey, mapPairs: createDictMethod(7), - reduce: reduce, - keyOf: keyOf, + reduce: reduce, + keyOf: keyOf, includes: includes, - has: has, - get: get, - set: set, - isDict: isDict -});
\ No newline at end of file + has: has, + get: get, + set: set, + isDict: isDict +}); diff --git a/node_modules/core-js/library/modules/core.function.part.js b/node_modules/core-js/library/modules/core.function.part.js index ce851ff84..050154f85 100644 --- a/node_modules/core-js/library/modules/core.function.part.js +++ b/node_modules/core-js/library/modules/core.function.part.js @@ -1,7 +1,7 @@ -var path = require('./_path') - , $export = require('./_export'); +var path = require('./_path'); +var $export = require('./_export'); // Placeholder require('./_core')._ = path._ = path._ || {}; -$export($export.P + $export.F, 'Function', {part: require('./_partial')});
\ No newline at end of file +$export($export.P + $export.F, 'Function', { part: require('./_partial') }); diff --git a/node_modules/core-js/library/modules/core.get-iterator-method.js b/node_modules/core-js/library/modules/core.get-iterator-method.js index e2c7ecc3d..9b6fa62a5 100644 --- a/node_modules/core-js/library/modules/core.get-iterator-method.js +++ b/node_modules/core-js/library/modules/core.get-iterator-method.js @@ -1,8 +1,8 @@ -var classof = require('./_classof') - , ITERATOR = require('./_wks')('iterator') - , Iterators = require('./_iterators'); -module.exports = require('./_core').getIteratorMethod = function(it){ - if(it != undefined)return it[ITERATOR] +var classof = require('./_classof'); +var ITERATOR = require('./_wks')('iterator'); +var Iterators = require('./_iterators'); +module.exports = require('./_core').getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/core.get-iterator.js b/node_modules/core-js/library/modules/core.get-iterator.js index c292e1ab1..04568c86c 100644 --- a/node_modules/core-js/library/modules/core.get-iterator.js +++ b/node_modules/core-js/library/modules/core.get-iterator.js @@ -1,7 +1,7 @@ -var anObject = require('./_an-object') - , get = require('./core.get-iterator-method'); -module.exports = require('./_core').getIterator = function(it){ +var anObject = require('./_an-object'); +var get = require('./core.get-iterator-method'); +module.exports = require('./_core').getIterator = function (it) { var iterFn = get(it); - if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!'); + if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!'); return anObject(iterFn.call(it)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/core.is-iterable.js b/node_modules/core-js/library/modules/core.is-iterable.js index b2b01b6bb..388e5e35b 100644 --- a/node_modules/core-js/library/modules/core.is-iterable.js +++ b/node_modules/core-js/library/modules/core.is-iterable.js @@ -1,9 +1,10 @@ -var classof = require('./_classof') - , ITERATOR = require('./_wks')('iterator') - , Iterators = require('./_iterators'); -module.exports = require('./_core').isIterable = function(it){ +var classof = require('./_classof'); +var ITERATOR = require('./_wks')('iterator'); +var Iterators = require('./_iterators'); +module.exports = require('./_core').isIterable = function (it) { var O = Object(it); return O[ITERATOR] !== undefined || '@@iterator' in O + // eslint-disable-next-line no-prototype-builtins || Iterators.hasOwnProperty(classof(O)); -};
\ No newline at end of file +}; diff --git a/node_modules/core-js/library/modules/core.number.iterator.js b/node_modules/core-js/library/modules/core.number.iterator.js index 9700acba0..fa37791eb 100644 --- a/node_modules/core-js/library/modules/core.number.iterator.js +++ b/node_modules/core-js/library/modules/core.number.iterator.js @@ -1,9 +1,9 @@ 'use strict'; -require('./_iter-define')(Number, 'Number', function(iterated){ +require('./_iter-define')(Number, 'Number', function (iterated) { this._l = +iterated; this._i = 0; -}, function(){ - var i = this._i++ - , done = !(i < this._l); - return {done: done, value: done ? undefined : i}; -});
\ No newline at end of file +}, function () { + var i = this._i++; + var done = !(i < this._l); + return { done: done, value: done ? undefined : i }; +}); diff --git a/node_modules/core-js/library/modules/core.object.classof.js b/node_modules/core-js/library/modules/core.object.classof.js index 342c73713..fe16595a5 100644 --- a/node_modules/core-js/library/modules/core.object.classof.js +++ b/node_modules/core-js/library/modules/core.object.classof.js @@ -1,3 +1,3 @@ var $export = require('./_export'); -$export($export.S + $export.F, 'Object', {classof: require('./_classof')});
\ No newline at end of file +$export($export.S + $export.F, 'Object', { classof: require('./_classof') }); diff --git a/node_modules/core-js/library/modules/core.object.define.js b/node_modules/core-js/library/modules/core.object.define.js index d60e9a951..e4e717b58 100644 --- a/node_modules/core-js/library/modules/core.object.define.js +++ b/node_modules/core-js/library/modules/core.object.define.js @@ -1,4 +1,4 @@ -var $export = require('./_export') - , define = require('./_object-define'); +var $export = require('./_export'); +var define = require('./_object-define'); -$export($export.S + $export.F, 'Object', {define: define});
\ No newline at end of file +$export($export.S + $export.F, 'Object', { define: define }); diff --git a/node_modules/core-js/library/modules/core.object.is-object.js b/node_modules/core-js/library/modules/core.object.is-object.js index f2ba059fb..fea80b606 100644 --- a/node_modules/core-js/library/modules/core.object.is-object.js +++ b/node_modules/core-js/library/modules/core.object.is-object.js @@ -1,3 +1,3 @@ var $export = require('./_export'); -$export($export.S + $export.F, 'Object', {isObject: require('./_is-object')});
\ No newline at end of file +$export($export.S + $export.F, 'Object', { isObject: require('./_is-object') }); diff --git a/node_modules/core-js/library/modules/core.object.make.js b/node_modules/core-js/library/modules/core.object.make.js index 3d2a2b5f5..51d47740a 100644 --- a/node_modules/core-js/library/modules/core.object.make.js +++ b/node_modules/core-js/library/modules/core.object.make.js @@ -1,9 +1,9 @@ -var $export = require('./_export') - , define = require('./_object-define') - , create = require('./_object-create'); +var $export = require('./_export'); +var define = require('./_object-define'); +var create = require('./_object-create'); $export($export.S + $export.F, 'Object', { - make: function(proto, mixin){ + make: function (proto, mixin) { return define(create(proto), mixin); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/core.regexp.escape.js b/node_modules/core-js/library/modules/core.regexp.escape.js index 54f832ef8..3ddd748c0 100644 --- a/node_modules/core-js/library/modules/core.regexp.escape.js +++ b/node_modules/core-js/library/modules/core.regexp.escape.js @@ -1,5 +1,5 @@ // https://github.com/benjamingr/RexExp.escape -var $export = require('./_export') - , $re = require('./_replacer')(/[\\^$*+?.()|[\]{}]/g, '\\$&'); +var $export = require('./_export'); +var $re = require('./_replacer')(/[\\^$*+?.()|[\]{}]/g, '\\$&'); -$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }}); +$export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } }); diff --git a/node_modules/core-js/library/modules/core.string.escape-html.js b/node_modules/core-js/library/modules/core.string.escape-html.js index a4b8d2f02..f96788614 100644 --- a/node_modules/core-js/library/modules/core.string.escape-html.js +++ b/node_modules/core-js/library/modules/core.string.escape-html.js @@ -8,4 +8,4 @@ var $re = require('./_replacer')(/[&<>"']/g, { "'": ''' }); -$export($export.P + $export.F, 'String', {escapeHTML: function escapeHTML(){ return $re(this); }});
\ No newline at end of file +$export($export.P + $export.F, 'String', { escapeHTML: function escapeHTML() { return $re(this); } }); diff --git a/node_modules/core-js/library/modules/core.string.unescape-html.js b/node_modules/core-js/library/modules/core.string.unescape-html.js index 413622b94..eb8a6cfbf 100644 --- a/node_modules/core-js/library/modules/core.string.unescape-html.js +++ b/node_modules/core-js/library/modules/core.string.unescape-html.js @@ -1,11 +1,11 @@ 'use strict'; var $export = require('./_export'); var $re = require('./_replacer')(/&(?:amp|lt|gt|quot|apos);/g, { - '&': '&', - '<': '<', - '>': '>', + '&': '&', + '<': '<', + '>': '>', '"': '"', ''': "'" }); -$export($export.P + $export.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }});
\ No newline at end of file +$export($export.P + $export.F, 'String', { unescapeHTML: function unescapeHTML() { return $re(this); } }); diff --git a/node_modules/core-js/library/modules/es5.js b/node_modules/core-js/library/modules/es5.js index dd7ebadf8..ca10612d1 100644 --- a/node_modules/core-js/library/modules/es5.js +++ b/node_modules/core-js/library/modules/es5.js @@ -32,4 +32,4 @@ require('./es6.date.to-json'); require('./es6.parse-int'); require('./es6.parse-float'); require('./es6.string.trim'); -require('./es6.regexp.to-string');
\ No newline at end of file +require('./es6.regexp.to-string'); diff --git a/node_modules/core-js/library/modules/es6.array.copy-within.js b/node_modules/core-js/library/modules/es6.array.copy-within.js index 027f7550e..f866a9591 100644 --- a/node_modules/core-js/library/modules/es6.array.copy-within.js +++ b/node_modules/core-js/library/modules/es6.array.copy-within.js @@ -1,6 +1,6 @@ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) var $export = require('./_export'); -$export($export.P, 'Array', {copyWithin: require('./_array-copy-within')}); +$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') }); -require('./_add-to-unscopables')('copyWithin');
\ No newline at end of file +require('./_add-to-unscopables')('copyWithin'); diff --git a/node_modules/core-js/library/modules/es6.array.every.js b/node_modules/core-js/library/modules/es6.array.every.js index fb0673673..cfd448f5c 100644 --- a/node_modules/core-js/library/modules/es6.array.every.js +++ b/node_modules/core-js/library/modules/es6.array.every.js @@ -1,10 +1,10 @@ 'use strict'; -var $export = require('./_export') - , $every = require('./_array-methods')(4); +var $export = require('./_export'); +var $every = require('./_array-methods')(4); $export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', { // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) - every: function every(callbackfn /* , thisArg */){ + every: function every(callbackfn /* , thisArg */) { return $every(this, callbackfn, arguments[1]); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.fill.js b/node_modules/core-js/library/modules/es6.array.fill.js index f075c0018..ac1714424 100644 --- a/node_modules/core-js/library/modules/es6.array.fill.js +++ b/node_modules/core-js/library/modules/es6.array.fill.js @@ -1,6 +1,6 @@ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) var $export = require('./_export'); -$export($export.P, 'Array', {fill: require('./_array-fill')}); +$export($export.P, 'Array', { fill: require('./_array-fill') }); -require('./_add-to-unscopables')('fill');
\ No newline at end of file +require('./_add-to-unscopables')('fill'); diff --git a/node_modules/core-js/library/modules/es6.array.filter.js b/node_modules/core-js/library/modules/es6.array.filter.js index f60951d37..447ecf403 100644 --- a/node_modules/core-js/library/modules/es6.array.filter.js +++ b/node_modules/core-js/library/modules/es6.array.filter.js @@ -1,10 +1,10 @@ 'use strict'; -var $export = require('./_export') - , $filter = require('./_array-methods')(2); +var $export = require('./_export'); +var $filter = require('./_array-methods')(2); $export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', { // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) - filter: function filter(callbackfn /* , thisArg */){ + filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments[1]); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.find-index.js b/node_modules/core-js/library/modules/es6.array.find-index.js index 530907412..374cadd77 100644 --- a/node_modules/core-js/library/modules/es6.array.find-index.js +++ b/node_modules/core-js/library/modules/es6.array.find-index.js @@ -1,14 +1,14 @@ 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) -var $export = require('./_export') - , $find = require('./_array-methods')(6) - , KEY = 'findIndex' - , forced = true; +var $export = require('./_export'); +var $find = require('./_array-methods')(6); +var KEY = 'findIndex'; +var forced = true; // Shouldn't skip holes -if(KEY in [])Array(1)[KEY](function(){ forced = false; }); +if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { - findIndex: function findIndex(callbackfn/*, that = undefined */){ + findIndex: function findIndex(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); -require('./_add-to-unscopables')(KEY);
\ No newline at end of file +require('./_add-to-unscopables')(KEY); diff --git a/node_modules/core-js/library/modules/es6.array.find.js b/node_modules/core-js/library/modules/es6.array.find.js index 90a9acfbe..4fbe76ce0 100644 --- a/node_modules/core-js/library/modules/es6.array.find.js +++ b/node_modules/core-js/library/modules/es6.array.find.js @@ -1,14 +1,14 @@ 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) -var $export = require('./_export') - , $find = require('./_array-methods')(5) - , KEY = 'find' - , forced = true; +var $export = require('./_export'); +var $find = require('./_array-methods')(5); +var KEY = 'find'; +var forced = true; // Shouldn't skip holes -if(KEY in [])Array(1)[KEY](function(){ forced = false; }); +if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { - find: function find(callbackfn/*, that = undefined */){ + find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); -require('./_add-to-unscopables')(KEY);
\ No newline at end of file +require('./_add-to-unscopables')(KEY); diff --git a/node_modules/core-js/library/modules/es6.array.for-each.js b/node_modules/core-js/library/modules/es6.array.for-each.js index f814fe4ea..525ba0740 100644 --- a/node_modules/core-js/library/modules/es6.array.for-each.js +++ b/node_modules/core-js/library/modules/es6.array.for-each.js @@ -1,11 +1,11 @@ 'use strict'; -var $export = require('./_export') - , $forEach = require('./_array-methods')(0) - , STRICT = require('./_strict-method')([].forEach, true); +var $export = require('./_export'); +var $forEach = require('./_array-methods')(0); +var STRICT = require('./_strict-method')([].forEach, true); $export($export.P + $export.F * !STRICT, 'Array', { // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) - forEach: function forEach(callbackfn /* , thisArg */){ + forEach: function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments[1]); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.from.js b/node_modules/core-js/library/modules/es6.array.from.js index 69e5d4a62..4db38017f 100644 --- a/node_modules/core-js/library/modules/es6.array.from.js +++ b/node_modules/core-js/library/modules/es6.array.from.js @@ -1,33 +1,33 @@ 'use strict'; -var ctx = require('./_ctx') - , $export = require('./_export') - , toObject = require('./_to-object') - , call = require('./_iter-call') - , isArrayIter = require('./_is-array-iter') - , toLength = require('./_to-length') - , createProperty = require('./_create-property') - , getIterFn = require('./core.get-iterator-method'); +var ctx = require('./_ctx'); +var $export = require('./_export'); +var toObject = require('./_to-object'); +var call = require('./_iter-call'); +var isArrayIter = require('./_is-array-iter'); +var toLength = require('./_to-length'); +var createProperty = require('./_create-property'); +var getIterFn = require('./core.get-iterator-method'); -$export($export.S + $export.F * !require('./_iter-detect')(function(iter){ Array.from(iter); }), 'Array', { +$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', { // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) - from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){ - var O = toObject(arrayLike) - , C = typeof this == 'function' ? this : Array - , aLen = arguments.length - , mapfn = aLen > 1 ? arguments[1] : undefined - , mapping = mapfn !== undefined - , index = 0 - , iterFn = getIterFn(O) - , length, result, step, iterator; - if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { + var O = toObject(arrayLike); + var C = typeof this == 'function' ? this : Array; + var aLen = arguments.length; + var mapfn = aLen > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var index = 0; + var iterFn = getIterFn(O); + var length, result, step, iterator; + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); // if object isn't iterable or it's array with default iterator - use simple case - if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){ - for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){ + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); } } else { length = toLength(O.length); - for(result = new C(length); length > index; index++){ + for (result = new C(length); length > index; index++) { createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); } } diff --git a/node_modules/core-js/library/modules/es6.array.index-of.js b/node_modules/core-js/library/modules/es6.array.index-of.js index 903763157..231c92e9c 100644 --- a/node_modules/core-js/library/modules/es6.array.index-of.js +++ b/node_modules/core-js/library/modules/es6.array.index-of.js @@ -1,15 +1,15 @@ 'use strict'; -var $export = require('./_export') - , $indexOf = require('./_array-includes')(false) - , $native = [].indexOf - , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; +var $export = require('./_export'); +var $indexOf = require('./_array-includes')(false); +var $native = [].indexOf; +var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; $export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', { // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) - indexOf: function indexOf(searchElement /*, fromIndex = 0 */){ + indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { return NEGATIVE_ZERO // convert -0 to +0 ? $native.apply(this, arguments) || 0 : $indexOf(this, searchElement, arguments[1]); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.is-array.js b/node_modules/core-js/library/modules/es6.array.is-array.js index cd5d8c192..27ca6fc5b 100644 --- a/node_modules/core-js/library/modules/es6.array.is-array.js +++ b/node_modules/core-js/library/modules/es6.array.is-array.js @@ -1,4 +1,4 @@ // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = require('./_export'); -$export($export.S, 'Array', {isArray: require('./_is-array')});
\ No newline at end of file +$export($export.S, 'Array', { isArray: require('./_is-array') }); diff --git a/node_modules/core-js/library/modules/es6.array.iterator.js b/node_modules/core-js/library/modules/es6.array.iterator.js index 100b344d7..c64e88b1b 100644 --- a/node_modules/core-js/library/modules/es6.array.iterator.js +++ b/node_modules/core-js/library/modules/es6.array.iterator.js @@ -1,28 +1,28 @@ 'use strict'; -var addToUnscopables = require('./_add-to-unscopables') - , step = require('./_iter-step') - , Iterators = require('./_iterators') - , toIObject = require('./_to-iobject'); +var addToUnscopables = require('./_add-to-unscopables'); +var step = require('./_iter-step'); +var Iterators = require('./_iterators'); +var toIObject = require('./_to-iobject'); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() -module.exports = require('./_iter-define')(Array, 'Array', function(iterated, kind){ +module.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() -}, function(){ - var O = this._t - , kind = this._k - , index = this._i++; - if(!O || index >= O.length){ +}, function () { + var O = this._t; + var kind = this._k; + var index = this._i++; + if (!O || index >= O.length) { this._t = undefined; return step(1); } - if(kind == 'keys' )return step(0, index); - if(kind == 'values')return step(0, O[index]); + if (kind == 'keys') return step(0, index); + if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); @@ -31,4 +31,4 @@ Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); -addToUnscopables('entries');
\ No newline at end of file +addToUnscopables('entries'); diff --git a/node_modules/core-js/library/modules/es6.array.join.js b/node_modules/core-js/library/modules/es6.array.join.js index 1bb656538..48e55d2e3 100644 --- a/node_modules/core-js/library/modules/es6.array.join.js +++ b/node_modules/core-js/library/modules/es6.array.join.js @@ -1,12 +1,12 @@ 'use strict'; // 22.1.3.13 Array.prototype.join(separator) -var $export = require('./_export') - , toIObject = require('./_to-iobject') - , arrayJoin = [].join; +var $export = require('./_export'); +var toIObject = require('./_to-iobject'); +var arrayJoin = [].join; // fallback for not array-like strings $export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', { - join: function join(separator){ + join: function join(separator) { return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.last-index-of.js b/node_modules/core-js/library/modules/es6.array.last-index-of.js index 75c1eabfa..1f70e340d 100644 --- a/node_modules/core-js/library/modules/es6.array.last-index-of.js +++ b/node_modules/core-js/library/modules/es6.array.last-index-of.js @@ -1,22 +1,22 @@ 'use strict'; -var $export = require('./_export') - , toIObject = require('./_to-iobject') - , toInteger = require('./_to-integer') - , toLength = require('./_to-length') - , $native = [].lastIndexOf - , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; +var $export = require('./_export'); +var toIObject = require('./_to-iobject'); +var toInteger = require('./_to-integer'); +var toLength = require('./_to-length'); +var $native = [].lastIndexOf; +var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; $export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', { // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) - lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){ + lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 - if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0; - var O = toIObject(this) - , length = toLength(O.length) - , index = length - 1; - if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1])); - if(index < 0)index = length + index; - for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0; + if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; + var O = toIObject(this); + var length = toLength(O.length); + var index = length - 1; + if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); + if (index < 0) index = length + index; + for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; return -1; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.map.js b/node_modules/core-js/library/modules/es6.array.map.js index f70089f3e..1326033f1 100644 --- a/node_modules/core-js/library/modules/es6.array.map.js +++ b/node_modules/core-js/library/modules/es6.array.map.js @@ -1,10 +1,10 @@ 'use strict'; -var $export = require('./_export') - , $map = require('./_array-methods')(1); +var $export = require('./_export'); +var $map = require('./_array-methods')(1); $export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', { // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) - map: function map(callbackfn /* , thisArg */){ + map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments[1]); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.of.js b/node_modules/core-js/library/modules/es6.array.of.js index dd4e1f816..b83e058c1 100644 --- a/node_modules/core-js/library/modules/es6.array.of.js +++ b/node_modules/core-js/library/modules/es6.array.of.js @@ -1,19 +1,19 @@ 'use strict'; -var $export = require('./_export') - , createProperty = require('./_create-property'); +var $export = require('./_export'); +var createProperty = require('./_create-property'); // WebKit Array.of isn't generic -$export($export.S + $export.F * require('./_fails')(function(){ - function F(){} +$export($export.S + $export.F * require('./_fails')(function () { + function F() { /* empty */ } return !(Array.of.call(F) instanceof F); }), 'Array', { // 22.1.2.3 Array.of( ...items) - of: function of(/* ...args */){ - var index = 0 - , aLen = arguments.length - , result = new (typeof this == 'function' ? this : Array)(aLen); - while(aLen > index)createProperty(result, index, arguments[index++]); + of: function of(/* ...args */) { + var index = 0; + var aLen = arguments.length; + var result = new (typeof this == 'function' ? this : Array)(aLen); + while (aLen > index) createProperty(result, index, arguments[index++]); result.length = aLen; return result; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.reduce-right.js b/node_modules/core-js/library/modules/es6.array.reduce-right.js index 0c64d85e8..168e421d8 100644 --- a/node_modules/core-js/library/modules/es6.array.reduce-right.js +++ b/node_modules/core-js/library/modules/es6.array.reduce-right.js @@ -1,10 +1,10 @@ 'use strict'; -var $export = require('./_export') - , $reduce = require('./_array-reduce'); +var $export = require('./_export'); +var $reduce = require('./_array-reduce'); $export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', { // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) - reduceRight: function reduceRight(callbackfn /* , initialValue */){ + reduceRight: function reduceRight(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments[1], true); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.reduce.js b/node_modules/core-js/library/modules/es6.array.reduce.js index 491f7d252..f4e476121 100644 --- a/node_modules/core-js/library/modules/es6.array.reduce.js +++ b/node_modules/core-js/library/modules/es6.array.reduce.js @@ -1,10 +1,10 @@ 'use strict'; -var $export = require('./_export') - , $reduce = require('./_array-reduce'); +var $export = require('./_export'); +var $reduce = require('./_array-reduce'); $export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', { // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) - reduce: function reduce(callbackfn /* , initialValue */){ + reduce: function reduce(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments[1], false); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.slice.js b/node_modules/core-js/library/modules/es6.array.slice.js index 610bd3990..988b75524 100644 --- a/node_modules/core-js/library/modules/es6.array.slice.js +++ b/node_modules/core-js/library/modules/es6.array.slice.js @@ -1,28 +1,28 @@ 'use strict'; -var $export = require('./_export') - , html = require('./_html') - , cof = require('./_cof') - , toIndex = require('./_to-index') - , toLength = require('./_to-length') - , arraySlice = [].slice; +var $export = require('./_export'); +var html = require('./_html'); +var cof = require('./_cof'); +var toAbsoluteIndex = require('./_to-absolute-index'); +var toLength = require('./_to-length'); +var arraySlice = [].slice; // fallback for not array-like ES3 strings and DOM objects -$export($export.P + $export.F * require('./_fails')(function(){ - if(html)arraySlice.call(html); +$export($export.P + $export.F * require('./_fails')(function () { + if (html) arraySlice.call(html); }), 'Array', { - slice: function slice(begin, end){ - var len = toLength(this.length) - , klass = cof(this); + slice: function slice(begin, end) { + var len = toLength(this.length); + var klass = cof(this); end = end === undefined ? len : end; - if(klass == 'Array')return arraySlice.call(this, begin, end); - var start = toIndex(begin, len) - , upTo = toIndex(end, len) - , size = toLength(upTo - start) - , cloned = Array(size) - , i = 0; - for(; i < size; i++)cloned[i] = klass == 'String' + if (klass == 'Array') return arraySlice.call(this, begin, end); + var start = toAbsoluteIndex(begin, len); + var upTo = toAbsoluteIndex(end, len); + var size = toLength(upTo - start); + var cloned = Array(size); + var i = 0; + for (; i < size; i++) cloned[i] = klass == 'String' ? this.charAt(start + i) : this[start + i]; return cloned; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.some.js b/node_modules/core-js/library/modules/es6.array.some.js index fa1095edc..14c5eec26 100644 --- a/node_modules/core-js/library/modules/es6.array.some.js +++ b/node_modules/core-js/library/modules/es6.array.some.js @@ -1,10 +1,10 @@ 'use strict'; -var $export = require('./_export') - , $some = require('./_array-methods')(3); +var $export = require('./_export'); +var $some = require('./_array-methods')(3); $export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', { // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) - some: function some(callbackfn /* , thisArg */){ + some: function some(callbackfn /* , thisArg */) { return $some(this, callbackfn, arguments[1]); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.sort.js b/node_modules/core-js/library/modules/es6.array.sort.js index 7de1fe77f..39817ffae 100644 --- a/node_modules/core-js/library/modules/es6.array.sort.js +++ b/node_modules/core-js/library/modules/es6.array.sort.js @@ -1,23 +1,23 @@ 'use strict'; -var $export = require('./_export') - , aFunction = require('./_a-function') - , toObject = require('./_to-object') - , fails = require('./_fails') - , $sort = [].sort - , test = [1, 2, 3]; +var $export = require('./_export'); +var aFunction = require('./_a-function'); +var toObject = require('./_to-object'); +var fails = require('./_fails'); +var $sort = [].sort; +var test = [1, 2, 3]; -$export($export.P + $export.F * (fails(function(){ +$export($export.P + $export.F * (fails(function () { // IE8- test.sort(undefined); -}) || !fails(function(){ +}) || !fails(function () { // V8 bug test.sort(null); // Old WebKit }) || !require('./_strict-method')($sort)), 'Array', { // 22.1.3.25 Array.prototype.sort(comparefn) - sort: function sort(comparefn){ + sort: function sort(comparefn) { return comparefn === undefined ? $sort.call(toObject(this)) : $sort.call(toObject(this), aFunction(comparefn)); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.array.species.js b/node_modules/core-js/library/modules/es6.array.species.js index d63c738f7..ce0b8917f 100644 --- a/node_modules/core-js/library/modules/es6.array.species.js +++ b/node_modules/core-js/library/modules/es6.array.species.js @@ -1 +1 @@ -require('./_set-species')('Array');
\ No newline at end of file +require('./_set-species')('Array'); diff --git a/node_modules/core-js/library/modules/es6.date.now.js b/node_modules/core-js/library/modules/es6.date.now.js index c3ee5fd7f..65f134e56 100644 --- a/node_modules/core-js/library/modules/es6.date.now.js +++ b/node_modules/core-js/library/modules/es6.date.now.js @@ -1,4 +1,4 @@ // 20.3.3.1 / 15.9.4.4 Date.now() var $export = require('./_export'); -$export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});
\ No newline at end of file +$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); diff --git a/node_modules/core-js/library/modules/es6.date.to-iso-string.js b/node_modules/core-js/library/modules/es6.date.to-iso-string.js index 2426c5898..13b27818c 100644 --- a/node_modules/core-js/library/modules/es6.date.to-iso-string.js +++ b/node_modules/core-js/library/modules/es6.date.to-iso-string.js @@ -1,28 +1,8 @@ -'use strict'; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var $export = require('./_export') - , fails = require('./_fails') - , getTime = Date.prototype.getTime; - -var lz = function(num){ - return num > 9 ? num : '0' + num; -}; +var $export = require('./_export'); +var toISOString = require('./_date-to-iso-string'); // PhantomJS / old WebKit has a broken implementations -$export($export.P + $export.F * (fails(function(){ - return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z'; -}) || !fails(function(){ - new Date(NaN).toISOString(); -})), 'Date', { - toISOString: function toISOString(){ - if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value'); - var d = this - , y = d.getUTCFullYear() - , m = d.getUTCMilliseconds() - , s = y < 0 ? '-' : y > 9999 ? '+' : ''; - return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + - '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + - 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + - ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; - } -});
\ No newline at end of file +$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { + toISOString: toISOString +}); diff --git a/node_modules/core-js/library/modules/es6.date.to-json.js b/node_modules/core-js/library/modules/es6.date.to-json.js index eb419d03f..69b1f3018 100644 --- a/node_modules/core-js/library/modules/es6.date.to-json.js +++ b/node_modules/core-js/library/modules/es6.date.to-json.js @@ -1,14 +1,19 @@ 'use strict'; -var $export = require('./_export') - , toObject = require('./_to-object') - , toPrimitive = require('./_to-primitive'); +var $export = require('./_export'); +var toObject = require('./_to-object'); +var toPrimitive = require('./_to-primitive'); +var toISOString = require('./_date-to-iso-string'); +var classof = require('./_classof'); -$export($export.P + $export.F * require('./_fails')(function(){ - return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1; +$export($export.P + $export.F * require('./_fails')(function () { + return new Date(NaN).toJSON() !== null + || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; }), 'Date', { - toJSON: function toJSON(key){ - var O = toObject(this) - , pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); + // eslint-disable-next-line no-unused-vars + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O); + return typeof pv == 'number' && !isFinite(pv) ? null : + (!('toISOString' in O) && classof(O) == 'Date') ? toISOString.call(O) : O.toISOString(); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.function.bind.js b/node_modules/core-js/library/modules/es6.function.bind.js index 85f103799..38e84e1ac 100644 --- a/node_modules/core-js/library/modules/es6.function.bind.js +++ b/node_modules/core-js/library/modules/es6.function.bind.js @@ -1,4 +1,4 @@ // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) var $export = require('./_export'); -$export($export.P, 'Function', {bind: require('./_bind')});
\ No newline at end of file +$export($export.P, 'Function', { bind: require('./_bind') }); diff --git a/node_modules/core-js/library/modules/es6.function.has-instance.js b/node_modules/core-js/library/modules/es6.function.has-instance.js index ae294b1f1..7556ed9bd 100644 --- a/node_modules/core-js/library/modules/es6.function.has-instance.js +++ b/node_modules/core-js/library/modules/es6.function.has-instance.js @@ -1,13 +1,13 @@ 'use strict'; -var isObject = require('./_is-object') - , getPrototypeOf = require('./_object-gpo') - , HAS_INSTANCE = require('./_wks')('hasInstance') - , FunctionProto = Function.prototype; +var isObject = require('./_is-object'); +var getPrototypeOf = require('./_object-gpo'); +var HAS_INSTANCE = require('./_wks')('hasInstance'); +var FunctionProto = Function.prototype; // 19.2.3.6 Function.prototype[@@hasInstance](V) -if(!(HAS_INSTANCE in FunctionProto))require('./_object-dp').f(FunctionProto, HAS_INSTANCE, {value: function(O){ - if(typeof this != 'function' || !isObject(O))return false; - if(!isObject(this.prototype))return O instanceof this; +if (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) { + if (typeof this != 'function' || !isObject(O)) return false; + if (!isObject(this.prototype)) return O instanceof this; // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while(O = getPrototypeOf(O))if(this.prototype === O)return true; + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; return false; -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es6.map.js b/node_modules/core-js/library/modules/es6.map.js index a166430fc..a282f0222 100644 --- a/node_modules/core-js/library/modules/es6.map.js +++ b/node_modules/core-js/library/modules/es6.map.js @@ -1,17 +1,19 @@ 'use strict'; var strong = require('./_collection-strong'); +var validate = require('./_validate-collection'); +var MAP = 'Map'; // 23.1 Map Objects -module.exports = require('./_collection')('Map', function(get){ - return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +module.exports = require('./_collection')(MAP, function (get) { + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.1.3.6 Map.prototype.get(key) - get: function get(key){ - var entry = strong.getEntry(this, key); + get: function get(key) { + var entry = strong.getEntry(validate(this, MAP), key); return entry && entry.v; }, // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value){ - return strong.def(this, key === 0 ? 0 : key, value); + set: function set(key, value) { + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); } -}, strong, true);
\ No newline at end of file +}, strong, true); diff --git a/node_modules/core-js/library/modules/es6.math.acosh.js b/node_modules/core-js/library/modules/es6.math.acosh.js index 459f11990..8a8989ebb 100644 --- a/node_modules/core-js/library/modules/es6.math.acosh.js +++ b/node_modules/core-js/library/modules/es6.math.acosh.js @@ -1,18 +1,18 @@ // 20.2.2.3 Math.acosh(x) -var $export = require('./_export') - , log1p = require('./_math-log1p') - , sqrt = Math.sqrt - , $acosh = Math.acosh; +var $export = require('./_export'); +var log1p = require('./_math-log1p'); +var sqrt = Math.sqrt; +var $acosh = Math.acosh; $export($export.S + $export.F * !($acosh // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 && Math.floor($acosh(Number.MAX_VALUE)) == 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN + // Tor Browser bug: Math.acosh(Infinity) -> NaN && $acosh(Infinity) == Infinity ), 'Math', { - acosh: function acosh(x){ + acosh: function acosh(x) { return (x = +x) < 1 ? NaN : x > 94906265.62425156 ? Math.log(x) + Math.LN2 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.asinh.js b/node_modules/core-js/library/modules/es6.math.asinh.js index e6a74abb5..ddf466628 100644 --- a/node_modules/core-js/library/modules/es6.math.asinh.js +++ b/node_modules/core-js/library/modules/es6.math.asinh.js @@ -1,10 +1,10 @@ // 20.2.2.5 Math.asinh(x) -var $export = require('./_export') - , $asinh = Math.asinh; +var $export = require('./_export'); +var $asinh = Math.asinh; -function asinh(x){ +function asinh(x) { return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); } -// Tor Browser bug: Math.asinh(0) -> -0 -$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});
\ No newline at end of file +// Tor Browser bug: Math.asinh(0) -> -0 +$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); diff --git a/node_modules/core-js/library/modules/es6.math.atanh.js b/node_modules/core-js/library/modules/es6.math.atanh.js index 94575d9f0..af3c3e809 100644 --- a/node_modules/core-js/library/modules/es6.math.atanh.js +++ b/node_modules/core-js/library/modules/es6.math.atanh.js @@ -1,10 +1,10 @@ // 20.2.2.7 Math.atanh(x) -var $export = require('./_export') - , $atanh = Math.atanh; +var $export = require('./_export'); +var $atanh = Math.atanh; -// Tor Browser bug: Math.atanh(-0) -> 0 +// Tor Browser bug: Math.atanh(-0) -> 0 $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { - atanh: function atanh(x){ + atanh: function atanh(x) { return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.cbrt.js b/node_modules/core-js/library/modules/es6.math.cbrt.js index 7ca7daea8..e45ac4445 100644 --- a/node_modules/core-js/library/modules/es6.math.cbrt.js +++ b/node_modules/core-js/library/modules/es6.math.cbrt.js @@ -1,9 +1,9 @@ // 20.2.2.9 Math.cbrt(x) -var $export = require('./_export') - , sign = require('./_math-sign'); +var $export = require('./_export'); +var sign = require('./_math-sign'); $export($export.S, 'Math', { - cbrt: function cbrt(x){ + cbrt: function cbrt(x) { return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.clz32.js b/node_modules/core-js/library/modules/es6.math.clz32.js index 1ec534bd0..1e4d7e19c 100644 --- a/node_modules/core-js/library/modules/es6.math.clz32.js +++ b/node_modules/core-js/library/modules/es6.math.clz32.js @@ -2,7 +2,7 @@ var $export = require('./_export'); $export($export.S, 'Math', { - clz32: function clz32(x){ + clz32: function clz32(x) { return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.cosh.js b/node_modules/core-js/library/modules/es6.math.cosh.js index 4f2b21552..1e0cffc1a 100644 --- a/node_modules/core-js/library/modules/es6.math.cosh.js +++ b/node_modules/core-js/library/modules/es6.math.cosh.js @@ -1,9 +1,9 @@ // 20.2.2.12 Math.cosh(x) -var $export = require('./_export') - , exp = Math.exp; +var $export = require('./_export'); +var exp = Math.exp; $export($export.S, 'Math', { - cosh: function cosh(x){ + cosh: function cosh(x) { return (exp(x = +x) + exp(-x)) / 2; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.expm1.js b/node_modules/core-js/library/modules/es6.math.expm1.js index 9762b7cd0..da4c90df8 100644 --- a/node_modules/core-js/library/modules/es6.math.expm1.js +++ b/node_modules/core-js/library/modules/es6.math.expm1.js @@ -1,5 +1,5 @@ // 20.2.2.14 Math.expm1(x) -var $export = require('./_export') - , $expm1 = require('./_math-expm1'); +var $export = require('./_export'); +var $expm1 = require('./_math-expm1'); -$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});
\ No newline at end of file +$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); diff --git a/node_modules/core-js/library/modules/es6.math.fround.js b/node_modules/core-js/library/modules/es6.math.fround.js index 01a88862e..9c262f2ec 100644 --- a/node_modules/core-js/library/modules/es6.math.fround.js +++ b/node_modules/core-js/library/modules/es6.math.fround.js @@ -1,26 +1,4 @@ // 20.2.2.16 Math.fround(x) -var $export = require('./_export') - , sign = require('./_math-sign') - , pow = Math.pow - , EPSILON = pow(2, -52) - , EPSILON32 = pow(2, -23) - , MAX32 = pow(2, 127) * (2 - EPSILON32) - , MIN32 = pow(2, -126); +var $export = require('./_export'); -var roundTiesToEven = function(n){ - return n + 1 / EPSILON - 1 / EPSILON; -}; - - -$export($export.S, 'Math', { - fround: function fround(x){ - var $abs = Math.abs(x) - , $sign = sign(x) - , a, result; - if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - if(result > MAX32 || result != result)return $sign * Infinity; - return $sign * result; - } -});
\ No newline at end of file +$export($export.S, 'Math', { fround: require('./_math-fround') }); diff --git a/node_modules/core-js/library/modules/es6.math.hypot.js b/node_modules/core-js/library/modules/es6.math.hypot.js index 508521b69..41ffdb27a 100644 --- a/node_modules/core-js/library/modules/es6.math.hypot.js +++ b/node_modules/core-js/library/modules/es6.math.hypot.js @@ -1,25 +1,25 @@ // 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) -var $export = require('./_export') - , abs = Math.abs; +var $export = require('./_export'); +var abs = Math.abs; $export($export.S, 'Math', { - hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars - var sum = 0 - , i = 0 - , aLen = arguments.length - , larg = 0 - , arg, div; - while(i < aLen){ + hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars + var sum = 0; + var i = 0; + var aLen = arguments.length; + var larg = 0; + var arg, div; + while (i < aLen) { arg = abs(arguments[i++]); - if(larg < arg){ - div = larg / arg; - sum = sum * div * div + 1; + if (larg < arg) { + div = larg / arg; + sum = sum * div * div + 1; larg = arg; - } else if(arg > 0){ - div = arg / larg; + } else if (arg > 0) { + div = arg / larg; sum += div * div; } else sum += arg; } return larg === Infinity ? Infinity : larg * Math.sqrt(sum); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.imul.js b/node_modules/core-js/library/modules/es6.math.imul.js index 7f4111d27..96e683d25 100644 --- a/node_modules/core-js/library/modules/es6.math.imul.js +++ b/node_modules/core-js/library/modules/es6.math.imul.js @@ -1,17 +1,17 @@ // 20.2.2.18 Math.imul(x, y) -var $export = require('./_export') - , $imul = Math.imul; +var $export = require('./_export'); +var $imul = Math.imul; // some WebKit versions fails with big numbers, some has wrong arity -$export($export.S + $export.F * require('./_fails')(function(){ +$export($export.S + $export.F * require('./_fails')(function () { return $imul(0xffffffff, 5) != -5 || $imul.length != 2; }), 'Math', { - imul: function imul(x, y){ - var UINT16 = 0xffff - , xn = +x - , yn = +y - , xl = UINT16 & xn - , yl = UINT16 & yn; + imul: function imul(x, y) { + var UINT16 = 0xffff; + var xn = +x; + var yn = +y; + var xl = UINT16 & xn; + var yl = UINT16 & yn; return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.log10.js b/node_modules/core-js/library/modules/es6.math.log10.js index 791dfc353..9ee8ae68f 100644 --- a/node_modules/core-js/library/modules/es6.math.log10.js +++ b/node_modules/core-js/library/modules/es6.math.log10.js @@ -2,7 +2,7 @@ var $export = require('./_export'); $export($export.S, 'Math', { - log10: function log10(x){ - return Math.log(x) / Math.LN10; + log10: function log10(x) { + return Math.log(x) * Math.LOG10E; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.log1p.js b/node_modules/core-js/library/modules/es6.math.log1p.js index a1de0258d..62959800a 100644 --- a/node_modules/core-js/library/modules/es6.math.log1p.js +++ b/node_modules/core-js/library/modules/es6.math.log1p.js @@ -1,4 +1,4 @@ // 20.2.2.20 Math.log1p(x) var $export = require('./_export'); -$export($export.S, 'Math', {log1p: require('./_math-log1p')});
\ No newline at end of file +$export($export.S, 'Math', { log1p: require('./_math-log1p') }); diff --git a/node_modules/core-js/library/modules/es6.math.log2.js b/node_modules/core-js/library/modules/es6.math.log2.js index c4ba7819c..03d127cba 100644 --- a/node_modules/core-js/library/modules/es6.math.log2.js +++ b/node_modules/core-js/library/modules/es6.math.log2.js @@ -2,7 +2,7 @@ var $export = require('./_export'); $export($export.S, 'Math', { - log2: function log2(x){ + log2: function log2(x) { return Math.log(x) / Math.LN2; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.sign.js b/node_modules/core-js/library/modules/es6.math.sign.js index 5dbee6f66..981f69e56 100644 --- a/node_modules/core-js/library/modules/es6.math.sign.js +++ b/node_modules/core-js/library/modules/es6.math.sign.js @@ -1,4 +1,4 @@ // 20.2.2.28 Math.sign(x) var $export = require('./_export'); -$export($export.S, 'Math', {sign: require('./_math-sign')});
\ No newline at end of file +$export($export.S, 'Math', { sign: require('./_math-sign') }); diff --git a/node_modules/core-js/library/modules/es6.math.sinh.js b/node_modules/core-js/library/modules/es6.math.sinh.js index 5464ae3e6..57606333c 100644 --- a/node_modules/core-js/library/modules/es6.math.sinh.js +++ b/node_modules/core-js/library/modules/es6.math.sinh.js @@ -1,15 +1,15 @@ // 20.2.2.30 Math.sinh(x) -var $export = require('./_export') - , expm1 = require('./_math-expm1') - , exp = Math.exp; +var $export = require('./_export'); +var expm1 = require('./_math-expm1'); +var exp = Math.exp; // V8 near Chromium 38 has a problem with very small numbers -$export($export.S + $export.F * require('./_fails')(function(){ +$export($export.S + $export.F * require('./_fails')(function () { return !Math.sinh(-2e-17) != -2e-17; }), 'Math', { - sinh: function sinh(x){ + sinh: function sinh(x) { return Math.abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.tanh.js b/node_modules/core-js/library/modules/es6.math.tanh.js index d2f10778c..0d3135b0f 100644 --- a/node_modules/core-js/library/modules/es6.math.tanh.js +++ b/node_modules/core-js/library/modules/es6.math.tanh.js @@ -1,12 +1,12 @@ // 20.2.2.33 Math.tanh(x) -var $export = require('./_export') - , expm1 = require('./_math-expm1') - , exp = Math.exp; +var $export = require('./_export'); +var expm1 = require('./_math-expm1'); +var exp = Math.exp; $export($export.S, 'Math', { - tanh: function tanh(x){ - var a = expm1(x = +x) - , b = expm1(-x); + tanh: function tanh(x) { + var a = expm1(x = +x); + var b = expm1(-x); return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.math.trunc.js b/node_modules/core-js/library/modules/es6.math.trunc.js index 2e42563b6..35ddb8086 100644 --- a/node_modules/core-js/library/modules/es6.math.trunc.js +++ b/node_modules/core-js/library/modules/es6.math.trunc.js @@ -2,7 +2,7 @@ var $export = require('./_export'); $export($export.S, 'Math', { - trunc: function trunc(it){ + trunc: function trunc(it) { return (it > 0 ? Math.floor : Math.ceil)(it); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.number.epsilon.js b/node_modules/core-js/library/modules/es6.number.epsilon.js index d25898ccc..34a2ec5fa 100644 --- a/node_modules/core-js/library/modules/es6.number.epsilon.js +++ b/node_modules/core-js/library/modules/es6.number.epsilon.js @@ -1,4 +1,4 @@ // 20.1.2.1 Number.EPSILON var $export = require('./_export'); -$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
\ No newline at end of file +$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); diff --git a/node_modules/core-js/library/modules/es6.number.is-finite.js b/node_modules/core-js/library/modules/es6.number.is-finite.js index c8c42753b..8719da971 100644 --- a/node_modules/core-js/library/modules/es6.number.is-finite.js +++ b/node_modules/core-js/library/modules/es6.number.is-finite.js @@ -1,9 +1,9 @@ // 20.1.2.2 Number.isFinite(number) -var $export = require('./_export') - , _isFinite = require('./_global').isFinite; +var $export = require('./_export'); +var _isFinite = require('./_global').isFinite; $export($export.S, 'Number', { - isFinite: function isFinite(it){ + isFinite: function isFinite(it) { return typeof it == 'number' && _isFinite(it); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.number.is-integer.js b/node_modules/core-js/library/modules/es6.number.is-integer.js index dc0f8f009..f1ab5dc4c 100644 --- a/node_modules/core-js/library/modules/es6.number.is-integer.js +++ b/node_modules/core-js/library/modules/es6.number.is-integer.js @@ -1,4 +1,4 @@ // 20.1.2.3 Number.isInteger(number) var $export = require('./_export'); -$export($export.S, 'Number', {isInteger: require('./_is-integer')});
\ No newline at end of file +$export($export.S, 'Number', { isInteger: require('./_is-integer') }); diff --git a/node_modules/core-js/library/modules/es6.number.is-nan.js b/node_modules/core-js/library/modules/es6.number.is-nan.js index 5fedf8252..01d76ba28 100644 --- a/node_modules/core-js/library/modules/es6.number.is-nan.js +++ b/node_modules/core-js/library/modules/es6.number.is-nan.js @@ -2,7 +2,8 @@ var $export = require('./_export'); $export($export.S, 'Number', { - isNaN: function isNaN(number){ + isNaN: function isNaN(number) { + // eslint-disable-next-line no-self-compare return number != number; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.number.is-safe-integer.js b/node_modules/core-js/library/modules/es6.number.is-safe-integer.js index 92193e2ec..004e7d16f 100644 --- a/node_modules/core-js/library/modules/es6.number.is-safe-integer.js +++ b/node_modules/core-js/library/modules/es6.number.is-safe-integer.js @@ -1,10 +1,10 @@ // 20.1.2.5 Number.isSafeInteger(number) -var $export = require('./_export') - , isInteger = require('./_is-integer') - , abs = Math.abs; +var $export = require('./_export'); +var isInteger = require('./_is-integer'); +var abs = Math.abs; $export($export.S, 'Number', { - isSafeInteger: function isSafeInteger(number){ + isSafeInteger: function isSafeInteger(number) { return isInteger(number) && abs(number) <= 0x1fffffffffffff; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.number.max-safe-integer.js b/node_modules/core-js/library/modules/es6.number.max-safe-integer.js index b9d7f2a77..a4f248f1b 100644 --- a/node_modules/core-js/library/modules/es6.number.max-safe-integer.js +++ b/node_modules/core-js/library/modules/es6.number.max-safe-integer.js @@ -1,4 +1,4 @@ // 20.1.2.6 Number.MAX_SAFE_INTEGER var $export = require('./_export'); -$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
\ No newline at end of file +$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); diff --git a/node_modules/core-js/library/modules/es6.number.min-safe-integer.js b/node_modules/core-js/library/modules/es6.number.min-safe-integer.js index 9a2beeb3c..34df374bc 100644 --- a/node_modules/core-js/library/modules/es6.number.min-safe-integer.js +++ b/node_modules/core-js/library/modules/es6.number.min-safe-integer.js @@ -1,4 +1,4 @@ // 20.1.2.10 Number.MIN_SAFE_INTEGER var $export = require('./_export'); -$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
\ No newline at end of file +$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); diff --git a/node_modules/core-js/library/modules/es6.number.parse-float.js b/node_modules/core-js/library/modules/es6.number.parse-float.js index 7ee14da03..317c43109 100644 --- a/node_modules/core-js/library/modules/es6.number.parse-float.js +++ b/node_modules/core-js/library/modules/es6.number.parse-float.js @@ -1,4 +1,4 @@ -var $export = require('./_export') - , $parseFloat = require('./_parse-float'); +var $export = require('./_export'); +var $parseFloat = require('./_parse-float'); // 20.1.2.12 Number.parseFloat(string) -$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});
\ No newline at end of file +$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); diff --git a/node_modules/core-js/library/modules/es6.number.parse-int.js b/node_modules/core-js/library/modules/es6.number.parse-int.js index 59bf14459..cb48da28d 100644 --- a/node_modules/core-js/library/modules/es6.number.parse-int.js +++ b/node_modules/core-js/library/modules/es6.number.parse-int.js @@ -1,4 +1,4 @@ -var $export = require('./_export') - , $parseInt = require('./_parse-int'); +var $export = require('./_export'); +var $parseInt = require('./_parse-int'); // 20.1.2.13 Number.parseInt(string, radix) -$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});
\ No newline at end of file +$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); diff --git a/node_modules/core-js/library/modules/es6.number.to-fixed.js b/node_modules/core-js/library/modules/es6.number.to-fixed.js index c54970d6a..2bf78af91 100644 --- a/node_modules/core-js/library/modules/es6.number.to-fixed.js +++ b/node_modules/core-js/library/modules/es6.number.to-fixed.js @@ -1,54 +1,54 @@ 'use strict'; -var $export = require('./_export') - , toInteger = require('./_to-integer') - , aNumberValue = require('./_a-number-value') - , repeat = require('./_string-repeat') - , $toFixed = 1..toFixed - , floor = Math.floor - , data = [0, 0, 0, 0, 0, 0] - , ERROR = 'Number.toFixed: incorrect invocation!' - , ZERO = '0'; +var $export = require('./_export'); +var toInteger = require('./_to-integer'); +var aNumberValue = require('./_a-number-value'); +var repeat = require('./_string-repeat'); +var $toFixed = 1.0.toFixed; +var floor = Math.floor; +var data = [0, 0, 0, 0, 0, 0]; +var ERROR = 'Number.toFixed: incorrect invocation!'; +var ZERO = '0'; -var multiply = function(n, c){ - var i = -1 - , c2 = c; - while(++i < 6){ +var multiply = function (n, c) { + var i = -1; + var c2 = c; + while (++i < 6) { c2 += n * data[i]; data[i] = c2 % 1e7; c2 = floor(c2 / 1e7); } }; -var divide = function(n){ - var i = 6 - , c = 0; - while(--i >= 0){ +var divide = function (n) { + var i = 6; + var c = 0; + while (--i >= 0) { c += data[i]; data[i] = floor(c / n); c = (c % n) * 1e7; } }; -var numToString = function(){ - var i = 6 - , s = ''; - while(--i >= 0){ - if(s !== '' || i === 0 || data[i] !== 0){ +var numToString = function () { + var i = 6; + var s = ''; + while (--i >= 0) { + if (s !== '' || i === 0 || data[i] !== 0) { var t = String(data[i]); s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; } } return s; }; -var pow = function(x, n, acc){ +var pow = function (x, n, acc) { return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); }; -var log = function(x){ - var n = 0 - , x2 = x; - while(x2 >= 4096){ +var log = function (x) { + var n = 0; + var x2 = x; + while (x2 >= 4096) { n += 12; x2 /= 4096; } - while(x2 >= 2){ - n += 1; + while (x2 >= 2) { + n += 1; x2 /= 2; } return n; }; @@ -57,39 +57,40 @@ $export($export.P + $export.F * (!!$toFixed && ( 0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || - 1000000000000000128..toFixed(0) !== '1000000000000000128' -) || !require('./_fails')(function(){ + 1000000000000000128.0.toFixed(0) !== '1000000000000000128' +) || !require('./_fails')(function () { // V8 ~ Android 4.3- $toFixed.call({}); })), 'Number', { - toFixed: function toFixed(fractionDigits){ - var x = aNumberValue(this, ERROR) - , f = toInteger(fractionDigits) - , s = '' - , m = ZERO - , e, z, j, k; - if(f < 0 || f > 20)throw RangeError(ERROR); - if(x != x)return 'NaN'; - if(x <= -1e21 || x >= 1e21)return String(x); - if(x < 0){ + toFixed: function toFixed(fractionDigits) { + var x = aNumberValue(this, ERROR); + var f = toInteger(fractionDigits); + var s = ''; + var m = ZERO; + var e, z, j, k; + if (f < 0 || f > 20) throw RangeError(ERROR); + // eslint-disable-next-line no-self-compare + if (x != x) return 'NaN'; + if (x <= -1e21 || x >= 1e21) return String(x); + if (x < 0) { s = '-'; x = -x; } - if(x > 1e-21){ + if (x > 1e-21) { e = log(x * pow(2, 69, 1)) - 69; z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); z *= 0x10000000000000; e = 52 - e; - if(e > 0){ + if (e > 0) { multiply(0, z); j = f; - while(j >= 7){ + while (j >= 7) { multiply(1e7, 0); j -= 7; } multiply(pow(10, j, 1), 0); j = e - 1; - while(j >= 23){ + while (j >= 23) { divide(1 << 23); j -= 23; } @@ -103,11 +104,11 @@ $export($export.P + $export.F * (!!$toFixed && ( m = numToString() + repeat.call(ZERO, f); } } - if(f > 0){ + if (f > 0) { k = m.length; m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); } else { m = s + m; } return m; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.number.to-precision.js b/node_modules/core-js/library/modules/es6.number.to-precision.js index 903dacdf0..0d92527ff 100644 --- a/node_modules/core-js/library/modules/es6.number.to-precision.js +++ b/node_modules/core-js/library/modules/es6.number.to-precision.js @@ -1,18 +1,18 @@ 'use strict'; -var $export = require('./_export') - , $fails = require('./_fails') - , aNumberValue = require('./_a-number-value') - , $toPrecision = 1..toPrecision; +var $export = require('./_export'); +var $fails = require('./_fails'); +var aNumberValue = require('./_a-number-value'); +var $toPrecision = 1.0.toPrecision; -$export($export.P + $export.F * ($fails(function(){ +$export($export.P + $export.F * ($fails(function () { // IE7- return $toPrecision.call(1, undefined) !== '1'; -}) || !$fails(function(){ +}) || !$fails(function () { // V8 ~ Android 4.3- $toPrecision.call({}); })), 'Number', { - toPrecision: function toPrecision(precision){ + toPrecision: function toPrecision(precision) { var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); - return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); + return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.assign.js b/node_modules/core-js/library/modules/es6.object.assign.js index 13eda2cb8..d28085a7e 100644 --- a/node_modules/core-js/library/modules/es6.object.assign.js +++ b/node_modules/core-js/library/modules/es6.object.assign.js @@ -1,4 +1,4 @@ // 19.1.3.1 Object.assign(target, source) var $export = require('./_export'); -$export($export.S + $export.F, 'Object', {assign: require('./_object-assign')});
\ No newline at end of file +$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') }); diff --git a/node_modules/core-js/library/modules/es6.object.create.js b/node_modules/core-js/library/modules/es6.object.create.js index 17e4b2842..70627d69c 100644 --- a/node_modules/core-js/library/modules/es6.object.create.js +++ b/node_modules/core-js/library/modules/es6.object.create.js @@ -1,3 +1,3 @@ -var $export = require('./_export') +var $export = require('./_export'); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -$export($export.S, 'Object', {create: require('./_object-create')});
\ No newline at end of file +$export($export.S, 'Object', { create: require('./_object-create') }); diff --git a/node_modules/core-js/library/modules/es6.object.define-properties.js b/node_modules/core-js/library/modules/es6.object.define-properties.js index 183eec6f5..5ec34214d 100644 --- a/node_modules/core-js/library/modules/es6.object.define-properties.js +++ b/node_modules/core-js/library/modules/es6.object.define-properties.js @@ -1,3 +1,3 @@ var $export = require('./_export'); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) -$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperties: require('./_object-dps')});
\ No newline at end of file +$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') }); diff --git a/node_modules/core-js/library/modules/es6.object.define-property.js b/node_modules/core-js/library/modules/es6.object.define-property.js index 71807cc05..120685825 100644 --- a/node_modules/core-js/library/modules/es6.object.define-property.js +++ b/node_modules/core-js/library/modules/es6.object.define-property.js @@ -1,3 +1,3 @@ var $export = require('./_export'); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) -$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperty: require('./_object-dp').f});
\ No newline at end of file +$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f }); diff --git a/node_modules/core-js/library/modules/es6.object.freeze.js b/node_modules/core-js/library/modules/es6.object.freeze.js index 34b510842..0856ce9d7 100644 --- a/node_modules/core-js/library/modules/es6.object.freeze.js +++ b/node_modules/core-js/library/modules/es6.object.freeze.js @@ -1,9 +1,9 @@ // 19.1.2.5 Object.freeze(O) -var isObject = require('./_is-object') - , meta = require('./_meta').onFreeze; +var isObject = require('./_is-object'); +var meta = require('./_meta').onFreeze; -require('./_object-sap')('freeze', function($freeze){ - return function freeze(it){ +require('./_object-sap')('freeze', function ($freeze) { + return function freeze(it) { return $freeze && isObject(it) ? $freeze(meta(it)) : it; }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js b/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js index 60c69913a..9df214172 100644 --- a/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js +++ b/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js @@ -1,9 +1,9 @@ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) -var toIObject = require('./_to-iobject') - , $getOwnPropertyDescriptor = require('./_object-gopd').f; +var toIObject = require('./_to-iobject'); +var $getOwnPropertyDescriptor = require('./_object-gopd').f; -require('./_object-sap')('getOwnPropertyDescriptor', function(){ - return function getOwnPropertyDescriptor(it, key){ +require('./_object-sap')('getOwnPropertyDescriptor', function () { + return function getOwnPropertyDescriptor(it, key) { return $getOwnPropertyDescriptor(toIObject(it), key); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.get-own-property-names.js b/node_modules/core-js/library/modules/es6.object.get-own-property-names.js index 91dd110d2..172f51c73 100644 --- a/node_modules/core-js/library/modules/es6.object.get-own-property-names.js +++ b/node_modules/core-js/library/modules/es6.object.get-own-property-names.js @@ -1,4 +1,4 @@ // 19.1.2.7 Object.getOwnPropertyNames(O) -require('./_object-sap')('getOwnPropertyNames', function(){ +require('./_object-sap')('getOwnPropertyNames', function () { return require('./_object-gopn-ext').f; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.get-prototype-of.js b/node_modules/core-js/library/modules/es6.object.get-prototype-of.js index b124e28fa..8fe2728c0 100644 --- a/node_modules/core-js/library/modules/es6.object.get-prototype-of.js +++ b/node_modules/core-js/library/modules/es6.object.get-prototype-of.js @@ -1,9 +1,9 @@ // 19.1.2.9 Object.getPrototypeOf(O) -var toObject = require('./_to-object') - , $getPrototypeOf = require('./_object-gpo'); +var toObject = require('./_to-object'); +var $getPrototypeOf = require('./_object-gpo'); -require('./_object-sap')('getPrototypeOf', function(){ - return function getPrototypeOf(it){ +require('./_object-sap')('getPrototypeOf', function () { + return function getPrototypeOf(it) { return $getPrototypeOf(toObject(it)); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.is-extensible.js b/node_modules/core-js/library/modules/es6.object.is-extensible.js index 94bf8a815..5cd4575a5 100644 --- a/node_modules/core-js/library/modules/es6.object.is-extensible.js +++ b/node_modules/core-js/library/modules/es6.object.is-extensible.js @@ -1,8 +1,8 @@ // 19.1.2.11 Object.isExtensible(O) var isObject = require('./_is-object'); -require('./_object-sap')('isExtensible', function($isExtensible){ - return function isExtensible(it){ +require('./_object-sap')('isExtensible', function ($isExtensible) { + return function isExtensible(it) { return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.is-frozen.js b/node_modules/core-js/library/modules/es6.object.is-frozen.js index 4bdfd11b1..0ceeabbb0 100644 --- a/node_modules/core-js/library/modules/es6.object.is-frozen.js +++ b/node_modules/core-js/library/modules/es6.object.is-frozen.js @@ -1,8 +1,8 @@ // 19.1.2.12 Object.isFrozen(O) var isObject = require('./_is-object'); -require('./_object-sap')('isFrozen', function($isFrozen){ - return function isFrozen(it){ +require('./_object-sap')('isFrozen', function ($isFrozen) { + return function isFrozen(it) { return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.is-sealed.js b/node_modules/core-js/library/modules/es6.object.is-sealed.js index d13aa1b06..7fa8ddedd 100644 --- a/node_modules/core-js/library/modules/es6.object.is-sealed.js +++ b/node_modules/core-js/library/modules/es6.object.is-sealed.js @@ -1,8 +1,8 @@ // 19.1.2.13 Object.isSealed(O) var isObject = require('./_is-object'); -require('./_object-sap')('isSealed', function($isSealed){ - return function isSealed(it){ +require('./_object-sap')('isSealed', function ($isSealed) { + return function isSealed(it) { return isObject(it) ? $isSealed ? $isSealed(it) : false : true; }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.is.js b/node_modules/core-js/library/modules/es6.object.is.js index ad2994256..204d7030f 100644 --- a/node_modules/core-js/library/modules/es6.object.is.js +++ b/node_modules/core-js/library/modules/es6.object.is.js @@ -1,3 +1,3 @@ // 19.1.3.10 Object.is(value1, value2) var $export = require('./_export'); -$export($export.S, 'Object', {is: require('./_same-value')});
\ No newline at end of file +$export($export.S, 'Object', { is: require('./_same-value') }); diff --git a/node_modules/core-js/library/modules/es6.object.keys.js b/node_modules/core-js/library/modules/es6.object.keys.js index bf76c07d7..e9dade7de 100644 --- a/node_modules/core-js/library/modules/es6.object.keys.js +++ b/node_modules/core-js/library/modules/es6.object.keys.js @@ -1,9 +1,9 @@ // 19.1.2.14 Object.keys(O) -var toObject = require('./_to-object') - , $keys = require('./_object-keys'); +var toObject = require('./_to-object'); +var $keys = require('./_object-keys'); -require('./_object-sap')('keys', function(){ - return function keys(it){ +require('./_object-sap')('keys', function () { + return function keys(it) { return $keys(toObject(it)); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.prevent-extensions.js b/node_modules/core-js/library/modules/es6.object.prevent-extensions.js index adaff7a79..2f729181f 100644 --- a/node_modules/core-js/library/modules/es6.object.prevent-extensions.js +++ b/node_modules/core-js/library/modules/es6.object.prevent-extensions.js @@ -1,9 +1,9 @@ // 19.1.2.15 Object.preventExtensions(O) -var isObject = require('./_is-object') - , meta = require('./_meta').onFreeze; +var isObject = require('./_is-object'); +var meta = require('./_meta').onFreeze; -require('./_object-sap')('preventExtensions', function($preventExtensions){ - return function preventExtensions(it){ +require('./_object-sap')('preventExtensions', function ($preventExtensions) { + return function preventExtensions(it) { return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.seal.js b/node_modules/core-js/library/modules/es6.object.seal.js index d7e4ea958..12c3f6a3a 100644 --- a/node_modules/core-js/library/modules/es6.object.seal.js +++ b/node_modules/core-js/library/modules/es6.object.seal.js @@ -1,9 +1,9 @@ // 19.1.2.17 Object.seal(O) -var isObject = require('./_is-object') - , meta = require('./_meta').onFreeze; +var isObject = require('./_is-object'); +var meta = require('./_meta').onFreeze; -require('./_object-sap')('seal', function($seal){ - return function seal(it){ +require('./_object-sap')('seal', function ($seal) { + return function seal(it) { return $seal && isObject(it) ? $seal(meta(it)) : it; }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.object.set-prototype-of.js b/node_modules/core-js/library/modules/es6.object.set-prototype-of.js index 5bbe4c068..461dbd2ed 100644 --- a/node_modules/core-js/library/modules/es6.object.set-prototype-of.js +++ b/node_modules/core-js/library/modules/es6.object.set-prototype-of.js @@ -1,3 +1,3 @@ // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = require('./_export'); -$export($export.S, 'Object', {setPrototypeOf: require('./_set-proto').set});
\ No newline at end of file +$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set }); diff --git a/node_modules/core-js/library/modules/es6.parse-float.js b/node_modules/core-js/library/modules/es6.parse-float.js index 5201712b1..cbf50ead5 100644 --- a/node_modules/core-js/library/modules/es6.parse-float.js +++ b/node_modules/core-js/library/modules/es6.parse-float.js @@ -1,4 +1,4 @@ -var $export = require('./_export') - , $parseFloat = require('./_parse-float'); +var $export = require('./_export'); +var $parseFloat = require('./_parse-float'); // 18.2.4 parseFloat(string) -$export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});
\ No newline at end of file +$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); diff --git a/node_modules/core-js/library/modules/es6.parse-int.js b/node_modules/core-js/library/modules/es6.parse-int.js index 5a2bfaff0..7ea358e84 100644 --- a/node_modules/core-js/library/modules/es6.parse-int.js +++ b/node_modules/core-js/library/modules/es6.parse-int.js @@ -1,4 +1,4 @@ -var $export = require('./_export') - , $parseInt = require('./_parse-int'); +var $export = require('./_export'); +var $parseInt = require('./_parse-int'); // 18.2.5 parseInt(string, radix) -$export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});
\ No newline at end of file +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); diff --git a/node_modules/core-js/library/modules/es6.promise.js b/node_modules/core-js/library/modules/es6.promise.js index 262a93af1..78e9791d7 100644 --- a/node_modules/core-js/library/modules/es6.promise.js +++ b/node_modules/core-js/library/modules/es6.promise.js @@ -1,172 +1,158 @@ 'use strict'; -var LIBRARY = require('./_library') - , global = require('./_global') - , ctx = require('./_ctx') - , classof = require('./_classof') - , $export = require('./_export') - , isObject = require('./_is-object') - , aFunction = require('./_a-function') - , anInstance = require('./_an-instance') - , forOf = require('./_for-of') - , speciesConstructor = require('./_species-constructor') - , task = require('./_task').set - , microtask = require('./_microtask')() - , PROMISE = 'Promise' - , TypeError = global.TypeError - , process = global.process - , $Promise = global[PROMISE] - , process = global.process - , isNode = classof(process) == 'process' - , empty = function(){ /* empty */ } - , Internal, GenericPromiseCapability, Wrapper; +var LIBRARY = require('./_library'); +var global = require('./_global'); +var ctx = require('./_ctx'); +var classof = require('./_classof'); +var $export = require('./_export'); +var isObject = require('./_is-object'); +var aFunction = require('./_a-function'); +var anInstance = require('./_an-instance'); +var forOf = require('./_for-of'); +var speciesConstructor = require('./_species-constructor'); +var task = require('./_task').set; +var microtask = require('./_microtask')(); +var newPromiseCapabilityModule = require('./_new-promise-capability'); +var perform = require('./_perform'); +var promiseResolve = require('./_promise-resolve'); +var PROMISE = 'Promise'; +var TypeError = global.TypeError; +var process = global.process; +var $Promise = global[PROMISE]; +var isNode = classof(process) == 'process'; +var empty = function () { /* empty */ }; +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; -var USE_NATIVE = !!function(){ +var USE_NATIVE = !!function () { try { // correct subclassing with @@species support - var promise = $Promise.resolve(1) - , FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function(exec){ exec(empty, empty); }; + var promise = $Promise.resolve(1); + var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) { + exec(empty, empty); + }; // unhandled rejections tracking support, NodeJS Promise without it fails @@species test return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise; - } catch(e){ /* empty */ } + } catch (e) { /* empty */ } }(); // helpers -var sameConstructor = function(a, b){ +var sameConstructor = LIBRARY ? function (a, b) { // with library wrapper special case return a === b || a === $Promise && b === Wrapper; +} : function (a, b) { + return a === b; }; -var isThenable = function(it){ +var isThenable = function (it) { var then; return isObject(it) && typeof (then = it.then) == 'function' ? then : false; }; -var newPromiseCapability = function(C){ - return sameConstructor($Promise, C) - ? new PromiseCapability(C) - : new GenericPromiseCapability(C); -}; -var PromiseCapability = GenericPromiseCapability = function(C){ - var resolve, reject; - this.promise = new C(function($$resolve, $$reject){ - if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); -}; -var perform = function(exec){ - try { - exec(); - } catch(e){ - return {error: e}; - } -}; -var notify = function(promise, isReject){ - if(promise._n)return; +var notify = function (promise, isReject) { + if (promise._n) return; promise._n = true; var chain = promise._c; - microtask(function(){ - var value = promise._v - , ok = promise._s == 1 - , i = 0; - var run = function(reaction){ - var handler = ok ? reaction.ok : reaction.fail - , resolve = reaction.resolve - , reject = reaction.reject - , domain = reaction.domain - , result, then; + microtask(function () { + var value = promise._v; + var ok = promise._s == 1; + var i = 0; + var run = function (reaction) { + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then; try { - if(handler){ - if(!ok){ - if(promise._h == 2)onHandleUnhandled(promise); + if (handler) { + if (!ok) { + if (promise._h == 2) onHandleUnhandled(promise); promise._h = 1; } - if(handler === true)result = value; + if (handler === true) result = value; else { - if(domain)domain.enter(); + if (domain) domain.enter(); result = handler(value); - if(domain)domain.exit(); + if (domain) domain.exit(); } - if(result === reaction.promise){ + if (result === reaction.promise) { reject(TypeError('Promise-chain cycle')); - } else if(then = isThenable(result)){ + } else if (then = isThenable(result)) { then.call(result, resolve, reject); } else resolve(result); } else reject(value); - } catch(e){ + } catch (e) { reject(e); } }; - while(chain.length > i)run(chain[i++]); // variable length - can't use forEach + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach promise._c = []; promise._n = false; - if(isReject && !promise._h)onUnhandled(promise); + if (isReject && !promise._h) onUnhandled(promise); }); }; -var onUnhandled = function(promise){ - task.call(global, function(){ - var value = promise._v - , abrupt, handler, console; - if(isUnhandled(promise)){ - abrupt = perform(function(){ - if(isNode){ +var onUnhandled = function (promise) { + task.call(global, function () { + var value = promise._v; + var unhandled = isUnhandled(promise); + var result, handler, console; + if (unhandled) { + result = perform(function () { + if (isNode) { process.emit('unhandledRejection', value, promise); - } else if(handler = global.onunhandledrejection){ - handler({promise: promise, reason: value}); - } else if((console = global.console) && console.error){ + } else if (handler = global.onunhandledrejection) { + handler({ promise: promise, reason: value }); + } else if ((console = global.console) && console.error) { console.error('Unhandled promise rejection', value); } }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should promise._h = isNode || isUnhandled(promise) ? 2 : 1; } promise._a = undefined; - if(abrupt)throw abrupt.error; + if (unhandled && result.e) throw result.v; }); }; -var isUnhandled = function(promise){ - if(promise._h == 1)return false; - var chain = promise._a || promise._c - , i = 0 - , reaction; - while(chain.length > i){ +var isUnhandled = function (promise) { + if (promise._h == 1) return false; + var chain = promise._a || promise._c; + var i = 0; + var reaction; + while (chain.length > i) { reaction = chain[i++]; - if(reaction.fail || !isUnhandled(reaction.promise))return false; + if (reaction.fail || !isUnhandled(reaction.promise)) return false; } return true; }; -var onHandleUnhandled = function(promise){ - task.call(global, function(){ +var onHandleUnhandled = function (promise) { + task.call(global, function () { var handler; - if(isNode){ + if (isNode) { process.emit('rejectionHandled', promise); - } else if(handler = global.onrejectionhandled){ - handler({promise: promise, reason: promise._v}); + } else if (handler = global.onrejectionhandled) { + handler({ promise: promise, reason: promise._v }); } }); }; -var $reject = function(value){ +var $reject = function (value) { var promise = this; - if(promise._d)return; + if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap promise._v = value; promise._s = 2; - if(!promise._a)promise._a = promise._c.slice(); + if (!promise._a) promise._a = promise._c.slice(); notify(promise, true); }; -var $resolve = function(value){ - var promise = this - , then; - if(promise._d)return; +var $resolve = function (value) { + var promise = this; + var then; + if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap try { - if(promise === value)throw TypeError("Promise can't be resolved itself"); - if(then = isThenable(value)){ - microtask(function(){ - var wrapper = {_w: promise, _d: false}; // wrap + if (promise === value) throw TypeError("Promise can't be resolved itself"); + if (then = isThenable(value)) { + microtask(function () { + var wrapper = { _w: promise, _d: false }; // wrap try { then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); - } catch(e){ + } catch (e) { $reject.call(wrapper, e); } }); @@ -175,25 +161,26 @@ var $resolve = function(value){ promise._s = 1; notify(promise, false); } - } catch(e){ - $reject.call({_w: promise, _d: false}, e); // wrap + } catch (e) { + $reject.call({ _w: promise, _d: false }, e); // wrap } }; // constructor polyfill -if(!USE_NATIVE){ +if (!USE_NATIVE) { // 25.4.3.1 Promise(executor) - $Promise = function Promise(executor){ + $Promise = function Promise(executor) { anInstance(this, $Promise, PROMISE, '_h'); aFunction(executor); Internal.call(this); try { executor(ctx($resolve, this, 1), ctx($reject, this, 1)); - } catch(err){ + } catch (err) { $reject.call(this, err); } }; - Internal = function Promise(executor){ + // eslint-disable-next-line no-unused-vars + Internal = function Promise(executor) { this._c = []; // <- awaiting reactions this._a = undefined; // <- checked in isUnhandled reactions this._s = 0; // <- state @@ -204,30 +191,35 @@ if(!USE_NATIVE){ }; Internal.prototype = require('./_redefine-all')($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) - then: function then(onFulfilled, onRejected){ - var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; + then: function then(onFulfilled, onRejected) { + var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; + reaction.fail = typeof onRejected == 'function' && onRejected; reaction.domain = isNode ? process.domain : undefined; this._c.push(reaction); - if(this._a)this._a.push(reaction); - if(this._s)notify(this, false); + if (this._a) this._a.push(reaction); + if (this._s) notify(this, false); return reaction.promise; }, // 25.4.5.1 Promise.prototype.catch(onRejected) - 'catch': function(onRejected){ + 'catch': function (onRejected) { return this.then(undefined, onRejected); } }); - PromiseCapability = function(){ - var promise = new Internal; + OwnPromiseCapability = function () { + var promise = new Internal(); this.promise = promise; this.resolve = ctx($resolve, promise, 1); - this.reject = ctx($reject, promise, 1); + this.reject = ctx($reject, promise, 1); + }; + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { + return sameConstructor($Promise, C) + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); }; } -$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise}); +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); require('./_set-to-string-tag')($Promise, PROMISE); require('./_set-species')(PROMISE); Wrapper = require('./_core')[PROMISE]; @@ -235,65 +227,62 @@ Wrapper = require('./_core')[PROMISE]; // statics $export($export.S + $export.F * !USE_NATIVE, PROMISE, { // 25.4.4.5 Promise.reject(r) - reject: function reject(r){ - var capability = newPromiseCapability(this) - , $$reject = capability.reject; + reject: function reject(r) { + var capability = newPromiseCapability(this); + var $$reject = capability.reject; $$reject(r); return capability.promise; } }); $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { // 25.4.4.6 Promise.resolve(x) - resolve: function resolve(x){ + resolve: function resolve(x) { // instanceof instead of internal slot check because we should fix it without replacement native Promise core - if(x instanceof $Promise && sameConstructor(x.constructor, this))return x; - var capability = newPromiseCapability(this) - , $$resolve = capability.resolve; - $$resolve(x); - return capability.promise; + if (x instanceof $Promise && sameConstructor(x.constructor, this)) return x; + return promiseResolve(this, x); } }); -$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function(iter){ +$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) { $Promise.all(iter)['catch'](empty); })), PROMISE, { // 25.4.4.1 Promise.all(iterable) - all: function all(iterable){ - var C = this - , capability = newPromiseCapability(C) - , resolve = capability.resolve - , reject = capability.reject; - var abrupt = perform(function(){ - var values = [] - , index = 0 - , remaining = 1; - forOf(iterable, false, function(promise){ - var $index = index++ - , alreadyCalled = false; + all: function all(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var values = []; + var index = 0; + var remaining = 1; + forOf(iterable, false, function (promise) { + var $index = index++; + var alreadyCalled = false; values.push(undefined); remaining++; - C.resolve(promise).then(function(value){ - if(alreadyCalled)return; - alreadyCalled = true; + C.resolve(promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; values[$index] = value; --remaining || resolve(values); }, reject); }); --remaining || resolve(values); }); - if(abrupt)reject(abrupt.error); + if (result.e) reject(result.v); return capability.promise; }, // 25.4.4.4 Promise.race(iterable) - race: function race(iterable){ - var C = this - , capability = newPromiseCapability(C) - , reject = capability.reject; - var abrupt = perform(function(){ - forOf(iterable, false, function(promise){ + race: function race(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var reject = capability.reject; + var result = perform(function () { + forOf(iterable, false, function (promise) { C.resolve(promise).then(capability.resolve, reject); }); }); - if(abrupt)reject(abrupt.error); + if (result.e) reject(result.v); return capability.promise; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.apply.js b/node_modules/core-js/library/modules/es6.reflect.apply.js index 24ea80f51..3b9c03a91 100644 --- a/node_modules/core-js/library/modules/es6.reflect.apply.js +++ b/node_modules/core-js/library/modules/es6.reflect.apply.js @@ -1,16 +1,16 @@ // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) -var $export = require('./_export') - , aFunction = require('./_a-function') - , anObject = require('./_an-object') - , rApply = (require('./_global').Reflect || {}).apply - , fApply = Function.apply; +var $export = require('./_export'); +var aFunction = require('./_a-function'); +var anObject = require('./_an-object'); +var rApply = (require('./_global').Reflect || {}).apply; +var fApply = Function.apply; // MS Edge argumentsList argument is optional -$export($export.S + $export.F * !require('./_fails')(function(){ - rApply(function(){}); +$export($export.S + $export.F * !require('./_fails')(function () { + rApply(function () { /* empty */ }); }), 'Reflect', { - apply: function apply(target, thisArgument, argumentsList){ - var T = aFunction(target) - , L = anObject(argumentsList); + apply: function apply(target, thisArgument, argumentsList) { + var T = aFunction(target); + var L = anObject(argumentsList); return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.construct.js b/node_modules/core-js/library/modules/es6.reflect.construct.js index 96483d708..380addb57 100644 --- a/node_modules/core-js/library/modules/es6.reflect.construct.js +++ b/node_modules/core-js/library/modules/es6.reflect.construct.js @@ -1,33 +1,33 @@ // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) -var $export = require('./_export') - , create = require('./_object-create') - , aFunction = require('./_a-function') - , anObject = require('./_an-object') - , isObject = require('./_is-object') - , fails = require('./_fails') - , bind = require('./_bind') - , rConstruct = (require('./_global').Reflect || {}).construct; +var $export = require('./_export'); +var create = require('./_object-create'); +var aFunction = require('./_a-function'); +var anObject = require('./_an-object'); +var isObject = require('./_is-object'); +var fails = require('./_fails'); +var bind = require('./_bind'); +var rConstruct = (require('./_global').Reflect || {}).construct; // MS Edge supports only 2 arguments and argumentsList argument is optional // FF Nightly sets third argument as `new.target`, but does not create `this` from it -var NEW_TARGET_BUG = fails(function(){ - function F(){} - return !(rConstruct(function(){}, [], F) instanceof F); +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); }); -var ARGS_BUG = !fails(function(){ - rConstruct(function(){}); +var ARGS_BUG = !fails(function () { + rConstruct(function () { /* empty */ }); }); $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { - construct: function construct(Target, args /*, newTarget*/){ + construct: function construct(Target, args /* , newTarget */) { aFunction(Target); anObject(args); var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if(ARGS_BUG && !NEW_TARGET_BUG)return rConstruct(Target, args, newTarget); - if(Target == newTarget){ + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); + if (Target == newTarget) { // w/o altered newTarget, optimization for 0-4 arguments - switch(args.length){ - case 0: return new Target; + switch (args.length) { + case 0: return new Target(); case 1: return new Target(args[0]); case 2: return new Target(args[0], args[1]); case 3: return new Target(args[0], args[1], args[2]); @@ -36,12 +36,12 @@ $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { // w/o altered newTarget, lot of arguments case var $args = [null]; $args.push.apply($args, args); - return new (bind.apply(Target, $args)); + return new (bind.apply(Target, $args))(); } // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype - , instance = create(isObject(proto) ? proto : Object.prototype) - , result = Function.apply.call(Target, instance, args); + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : Object.prototype); + var result = Function.apply.call(Target, instance, args); return isObject(result) ? result : instance; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.define-property.js b/node_modules/core-js/library/modules/es6.reflect.define-property.js index 485d43c45..be7fbde6b 100644 --- a/node_modules/core-js/library/modules/es6.reflect.define-property.js +++ b/node_modules/core-js/library/modules/es6.reflect.define-property.js @@ -1,22 +1,23 @@ // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) -var dP = require('./_object-dp') - , $export = require('./_export') - , anObject = require('./_an-object') - , toPrimitive = require('./_to-primitive'); +var dP = require('./_object-dp'); +var $export = require('./_export'); +var anObject = require('./_an-object'); +var toPrimitive = require('./_to-primitive'); // MS Edge has broken Reflect.defineProperty - throwing instead of returning false -$export($export.S + $export.F * require('./_fails')(function(){ - Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2}); +$export($export.S + $export.F * require('./_fails')(function () { + // eslint-disable-next-line no-undef + Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); }), 'Reflect', { - defineProperty: function defineProperty(target, propertyKey, attributes){ + defineProperty: function defineProperty(target, propertyKey, attributes) { anObject(target); propertyKey = toPrimitive(propertyKey, true); anObject(attributes); try { dP.f(target, propertyKey, attributes); return true; - } catch(e){ + } catch (e) { return false; } } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.delete-property.js b/node_modules/core-js/library/modules/es6.reflect.delete-property.js index 4e8ce2078..0902b38a9 100644 --- a/node_modules/core-js/library/modules/es6.reflect.delete-property.js +++ b/node_modules/core-js/library/modules/es6.reflect.delete-property.js @@ -1,11 +1,11 @@ // 26.1.4 Reflect.deleteProperty(target, propertyKey) -var $export = require('./_export') - , gOPD = require('./_object-gopd').f - , anObject = require('./_an-object'); +var $export = require('./_export'); +var gOPD = require('./_object-gopd').f; +var anObject = require('./_an-object'); $export($export.S, 'Reflect', { - deleteProperty: function deleteProperty(target, propertyKey){ + deleteProperty: function deleteProperty(target, propertyKey) { var desc = gOPD(anObject(target), propertyKey); return desc && !desc.configurable ? false : delete target[propertyKey]; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.enumerate.js b/node_modules/core-js/library/modules/es6.reflect.enumerate.js index abdb132d6..9e7c76a34 100644 --- a/node_modules/core-js/library/modules/es6.reflect.enumerate.js +++ b/node_modules/core-js/library/modules/es6.reflect.enumerate.js @@ -1,26 +1,26 @@ 'use strict'; // 26.1.5 Reflect.enumerate(target) -var $export = require('./_export') - , anObject = require('./_an-object'); -var Enumerate = function(iterated){ +var $export = require('./_export'); +var anObject = require('./_an-object'); +var Enumerate = function (iterated) { this._t = anObject(iterated); // target this._i = 0; // next index - var keys = this._k = [] // keys - , key; - for(key in iterated)keys.push(key); + var keys = this._k = []; // keys + var key; + for (key in iterated) keys.push(key); }; -require('./_iter-create')(Enumerate, 'Object', function(){ - var that = this - , keys = that._k - , key; +require('./_iter-create')(Enumerate, 'Object', function () { + var that = this; + var keys = that._k; + var key; do { - if(that._i >= keys.length)return {value: undefined, done: true}; - } while(!((key = keys[that._i++]) in that._t)); - return {value: key, done: false}; + if (that._i >= keys.length) return { value: undefined, done: true }; + } while (!((key = keys[that._i++]) in that._t)); + return { value: key, done: false }; }); $export($export.S, 'Reflect', { - enumerate: function enumerate(target){ + enumerate: function enumerate(target) { return new Enumerate(target); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.get-own-property-descriptor.js b/node_modules/core-js/library/modules/es6.reflect.get-own-property-descriptor.js index 741a13eba..e1299f906 100644 --- a/node_modules/core-js/library/modules/es6.reflect.get-own-property-descriptor.js +++ b/node_modules/core-js/library/modules/es6.reflect.get-own-property-descriptor.js @@ -1,10 +1,10 @@ // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) -var gOPD = require('./_object-gopd') - , $export = require('./_export') - , anObject = require('./_an-object'); +var gOPD = require('./_object-gopd'); +var $export = require('./_export'); +var anObject = require('./_an-object'); $export($export.S, 'Reflect', { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){ + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { return gOPD.f(anObject(target), propertyKey); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.get-prototype-of.js b/node_modules/core-js/library/modules/es6.reflect.get-prototype-of.js index 4f912d104..28351d410 100644 --- a/node_modules/core-js/library/modules/es6.reflect.get-prototype-of.js +++ b/node_modules/core-js/library/modules/es6.reflect.get-prototype-of.js @@ -1,10 +1,10 @@ // 26.1.8 Reflect.getPrototypeOf(target) -var $export = require('./_export') - , getProto = require('./_object-gpo') - , anObject = require('./_an-object'); +var $export = require('./_export'); +var getProto = require('./_object-gpo'); +var anObject = require('./_an-object'); $export($export.S, 'Reflect', { - getPrototypeOf: function getPrototypeOf(target){ + getPrototypeOf: function getPrototypeOf(target) { return getProto(anObject(target)); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.get.js b/node_modules/core-js/library/modules/es6.reflect.get.js index f8c39f500..a7ee76667 100644 --- a/node_modules/core-js/library/modules/es6.reflect.get.js +++ b/node_modules/core-js/library/modules/es6.reflect.get.js @@ -1,21 +1,21 @@ // 26.1.6 Reflect.get(target, propertyKey [, receiver]) -var gOPD = require('./_object-gopd') - , getPrototypeOf = require('./_object-gpo') - , has = require('./_has') - , $export = require('./_export') - , isObject = require('./_is-object') - , anObject = require('./_an-object'); +var gOPD = require('./_object-gopd'); +var getPrototypeOf = require('./_object-gpo'); +var has = require('./_has'); +var $export = require('./_export'); +var isObject = require('./_is-object'); +var anObject = require('./_an-object'); -function get(target, propertyKey/*, receiver*/){ - var receiver = arguments.length < 3 ? target : arguments[2] - , desc, proto; - if(anObject(target) === receiver)return target[propertyKey]; - if(desc = gOPD.f(target, propertyKey))return has(desc, 'value') +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var desc, proto; + if (anObject(target) === receiver) return target[propertyKey]; + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') ? desc.value : desc.get !== undefined ? desc.get.call(receiver) : undefined; - if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver); + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); } -$export($export.S, 'Reflect', {get: get});
\ No newline at end of file +$export($export.S, 'Reflect', { get: get }); diff --git a/node_modules/core-js/library/modules/es6.reflect.has.js b/node_modules/core-js/library/modules/es6.reflect.has.js index bbb6dbcde..4f5efa992 100644 --- a/node_modules/core-js/library/modules/es6.reflect.has.js +++ b/node_modules/core-js/library/modules/es6.reflect.has.js @@ -2,7 +2,7 @@ var $export = require('./_export'); $export($export.S, 'Reflect', { - has: function has(target, propertyKey){ + has: function has(target, propertyKey) { return propertyKey in target; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.is-extensible.js b/node_modules/core-js/library/modules/es6.reflect.is-extensible.js index ffbc2848e..700f938ac 100644 --- a/node_modules/core-js/library/modules/es6.reflect.is-extensible.js +++ b/node_modules/core-js/library/modules/es6.reflect.is-extensible.js @@ -1,11 +1,11 @@ // 26.1.10 Reflect.isExtensible(target) -var $export = require('./_export') - , anObject = require('./_an-object') - , $isExtensible = Object.isExtensible; +var $export = require('./_export'); +var anObject = require('./_an-object'); +var $isExtensible = Object.isExtensible; $export($export.S, 'Reflect', { - isExtensible: function isExtensible(target){ + isExtensible: function isExtensible(target) { anObject(target); return $isExtensible ? $isExtensible(target) : true; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.own-keys.js b/node_modules/core-js/library/modules/es6.reflect.own-keys.js index a1e5330c2..9f2424ae8 100644 --- a/node_modules/core-js/library/modules/es6.reflect.own-keys.js +++ b/node_modules/core-js/library/modules/es6.reflect.own-keys.js @@ -1,4 +1,4 @@ // 26.1.11 Reflect.ownKeys(target) var $export = require('./_export'); -$export($export.S, 'Reflect', {ownKeys: require('./_own-keys')});
\ No newline at end of file +$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') }); diff --git a/node_modules/core-js/library/modules/es6.reflect.prevent-extensions.js b/node_modules/core-js/library/modules/es6.reflect.prevent-extensions.js index d3dad8ee4..e1037fa19 100644 --- a/node_modules/core-js/library/modules/es6.reflect.prevent-extensions.js +++ b/node_modules/core-js/library/modules/es6.reflect.prevent-extensions.js @@ -1,16 +1,16 @@ // 26.1.12 Reflect.preventExtensions(target) -var $export = require('./_export') - , anObject = require('./_an-object') - , $preventExtensions = Object.preventExtensions; +var $export = require('./_export'); +var anObject = require('./_an-object'); +var $preventExtensions = Object.preventExtensions; $export($export.S, 'Reflect', { - preventExtensions: function preventExtensions(target){ + preventExtensions: function preventExtensions(target) { anObject(target); try { - if($preventExtensions)$preventExtensions(target); + if ($preventExtensions) $preventExtensions(target); return true; - } catch(e){ + } catch (e) { return false; } } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.set-prototype-of.js b/node_modules/core-js/library/modules/es6.reflect.set-prototype-of.js index b79d9b613..5dae90122 100644 --- a/node_modules/core-js/library/modules/es6.reflect.set-prototype-of.js +++ b/node_modules/core-js/library/modules/es6.reflect.set-prototype-of.js @@ -1,15 +1,15 @@ // 26.1.14 Reflect.setPrototypeOf(target, proto) -var $export = require('./_export') - , setProto = require('./_set-proto'); +var $export = require('./_export'); +var setProto = require('./_set-proto'); -if(setProto)$export($export.S, 'Reflect', { - setPrototypeOf: function setPrototypeOf(target, proto){ +if (setProto) $export($export.S, 'Reflect', { + setPrototypeOf: function setPrototypeOf(target, proto) { setProto.check(target, proto); try { setProto.set(target, proto); return true; - } catch(e){ + } catch (e) { return false; } } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.reflect.set.js b/node_modules/core-js/library/modules/es6.reflect.set.js index c6b916a2e..e2a89816c 100644 --- a/node_modules/core-js/library/modules/es6.reflect.set.js +++ b/node_modules/core-js/library/modules/es6.reflect.set.js @@ -1,25 +1,25 @@ // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) -var dP = require('./_object-dp') - , gOPD = require('./_object-gopd') - , getPrototypeOf = require('./_object-gpo') - , has = require('./_has') - , $export = require('./_export') - , createDesc = require('./_property-desc') - , anObject = require('./_an-object') - , isObject = require('./_is-object'); +var dP = require('./_object-dp'); +var gOPD = require('./_object-gopd'); +var getPrototypeOf = require('./_object-gpo'); +var has = require('./_has'); +var $export = require('./_export'); +var createDesc = require('./_property-desc'); +var anObject = require('./_an-object'); +var isObject = require('./_is-object'); -function set(target, propertyKey, V/*, receiver*/){ - var receiver = arguments.length < 4 ? target : arguments[3] - , ownDesc = gOPD.f(anObject(target), propertyKey) - , existingDescriptor, proto; - if(!ownDesc){ - if(isObject(proto = getPrototypeOf(target))){ +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDesc = gOPD.f(anObject(target), propertyKey); + var existingDescriptor, proto; + if (!ownDesc) { + if (isObject(proto = getPrototypeOf(target))) { return set(proto, propertyKey, V, receiver); } ownDesc = createDesc(0); } - if(has(ownDesc, 'value')){ - if(ownDesc.writable === false || !isObject(receiver))return false; + if (has(ownDesc, 'value')) { + if (ownDesc.writable === false || !isObject(receiver)) return false; existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); existingDescriptor.value = V; dP.f(receiver, propertyKey, existingDescriptor); @@ -28,4 +28,4 @@ function set(target, propertyKey, V/*, receiver*/){ return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); } -$export($export.S, 'Reflect', {set: set});
\ No newline at end of file +$export($export.S, 'Reflect', { set: set }); diff --git a/node_modules/core-js/library/modules/es6.regexp.constructor.js b/node_modules/core-js/library/modules/es6.regexp.constructor.js index 7313c52b3..e85e3141a 100644 --- a/node_modules/core-js/library/modules/es6.regexp.constructor.js +++ b/node_modules/core-js/library/modules/es6.regexp.constructor.js @@ -1 +1 @@ -require('./_set-species')('RegExp');
\ No newline at end of file +require('./_set-species')('RegExp'); diff --git a/node_modules/core-js/library/modules/es6.set.js b/node_modules/core-js/library/modules/es6.set.js index a18808818..55b8bdd89 100644 --- a/node_modules/core-js/library/modules/es6.set.js +++ b/node_modules/core-js/library/modules/es6.set.js @@ -1,12 +1,14 @@ 'use strict'; var strong = require('./_collection-strong'); +var validate = require('./_validate-collection'); +var SET = 'Set'; // 23.2 Set Objects -module.exports = require('./_collection')('Set', function(get){ - return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +module.exports = require('./_collection')(SET, function (get) { + return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.2.3.1 Set.prototype.add(value) - add: function add(value){ - return strong.def(this, value = value === 0 ? 0 : value, value); + add: function add(value) { + return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); } -}, strong);
\ No newline at end of file +}, strong); diff --git a/node_modules/core-js/library/modules/es6.string.anchor.js b/node_modules/core-js/library/modules/es6.string.anchor.js index 65db25219..3493e54c0 100644 --- a/node_modules/core-js/library/modules/es6.string.anchor.js +++ b/node_modules/core-js/library/modules/es6.string.anchor.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.2 String.prototype.anchor(name) -require('./_string-html')('anchor', function(createHTML){ - return function anchor(name){ +require('./_string-html')('anchor', function (createHTML) { + return function anchor(name) { return createHTML(this, 'a', 'name', name); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.big.js b/node_modules/core-js/library/modules/es6.string.big.js index aeeb1aba9..38aab3414 100644 --- a/node_modules/core-js/library/modules/es6.string.big.js +++ b/node_modules/core-js/library/modules/es6.string.big.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.3 String.prototype.big() -require('./_string-html')('big', function(createHTML){ - return function big(){ +require('./_string-html')('big', function (createHTML) { + return function big() { return createHTML(this, 'big', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.blink.js b/node_modules/core-js/library/modules/es6.string.blink.js index aef8da2e3..6188d96e3 100644 --- a/node_modules/core-js/library/modules/es6.string.blink.js +++ b/node_modules/core-js/library/modules/es6.string.blink.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.4 String.prototype.blink() -require('./_string-html')('blink', function(createHTML){ - return function blink(){ +require('./_string-html')('blink', function (createHTML) { + return function blink() { return createHTML(this, 'blink', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.bold.js b/node_modules/core-js/library/modules/es6.string.bold.js index 022cdb075..ff3ecb9cb 100644 --- a/node_modules/core-js/library/modules/es6.string.bold.js +++ b/node_modules/core-js/library/modules/es6.string.bold.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.5 String.prototype.bold() -require('./_string-html')('bold', function(createHTML){ - return function bold(){ +require('./_string-html')('bold', function (createHTML) { + return function bold() { return createHTML(this, 'b', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.code-point-at.js b/node_modules/core-js/library/modules/es6.string.code-point-at.js index cf544652a..e39b8c5ea 100644 --- a/node_modules/core-js/library/modules/es6.string.code-point-at.js +++ b/node_modules/core-js/library/modules/es6.string.code-point-at.js @@ -1,9 +1,9 @@ 'use strict'; -var $export = require('./_export') - , $at = require('./_string-at')(false); +var $export = require('./_export'); +var $at = require('./_string-at')(false); $export($export.P, 'String', { // 21.1.3.3 String.prototype.codePointAt(pos) - codePointAt: function codePointAt(pos){ + codePointAt: function codePointAt(pos) { return $at(this, pos); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.ends-with.js b/node_modules/core-js/library/modules/es6.string.ends-with.js index 80baed9ad..065688884 100644 --- a/node_modules/core-js/library/modules/es6.string.ends-with.js +++ b/node_modules/core-js/library/modules/es6.string.ends-with.js @@ -1,20 +1,20 @@ // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 'use strict'; -var $export = require('./_export') - , toLength = require('./_to-length') - , context = require('./_string-context') - , ENDS_WITH = 'endsWith' - , $endsWith = ''[ENDS_WITH]; +var $export = require('./_export'); +var toLength = require('./_to-length'); +var context = require('./_string-context'); +var ENDS_WITH = 'endsWith'; +var $endsWith = ''[ENDS_WITH]; $export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', { - endsWith: function endsWith(searchString /*, endPosition = @length */){ - var that = context(this, searchString, ENDS_WITH) - , endPosition = arguments.length > 1 ? arguments[1] : undefined - , len = toLength(that.length) - , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len) - , search = String(searchString); + endsWith: function endsWith(searchString /* , endPosition = @length */) { + var that = context(this, searchString, ENDS_WITH); + var endPosition = arguments.length > 1 ? arguments[1] : undefined; + var len = toLength(that.length); + var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); + var search = String(searchString); return $endsWith ? $endsWith.call(that, search, end) : that.slice(end - search.length, end) === search; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.fixed.js b/node_modules/core-js/library/modules/es6.string.fixed.js index d017e202a..d4a60f37d 100644 --- a/node_modules/core-js/library/modules/es6.string.fixed.js +++ b/node_modules/core-js/library/modules/es6.string.fixed.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.6 String.prototype.fixed() -require('./_string-html')('fixed', function(createHTML){ - return function fixed(){ +require('./_string-html')('fixed', function (createHTML) { + return function fixed() { return createHTML(this, 'tt', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.fontcolor.js b/node_modules/core-js/library/modules/es6.string.fontcolor.js index d40711f03..f7b95957c 100644 --- a/node_modules/core-js/library/modules/es6.string.fontcolor.js +++ b/node_modules/core-js/library/modules/es6.string.fontcolor.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) -require('./_string-html')('fontcolor', function(createHTML){ - return function fontcolor(color){ +require('./_string-html')('fontcolor', function (createHTML) { + return function fontcolor(color) { return createHTML(this, 'font', 'color', color); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.fontsize.js b/node_modules/core-js/library/modules/es6.string.fontsize.js index ba3ff9809..f4cc20aec 100644 --- a/node_modules/core-js/library/modules/es6.string.fontsize.js +++ b/node_modules/core-js/library/modules/es6.string.fontsize.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.8 String.prototype.fontsize(size) -require('./_string-html')('fontsize', function(createHTML){ - return function fontsize(size){ +require('./_string-html')('fontsize', function (createHTML) { + return function fontsize(size) { return createHTML(this, 'font', 'size', size); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.from-code-point.js b/node_modules/core-js/library/modules/es6.string.from-code-point.js index c8776d871..bece66e29 100644 --- a/node_modules/core-js/library/modules/es6.string.from-code-point.js +++ b/node_modules/core-js/library/modules/es6.string.from-code-point.js @@ -1,23 +1,23 @@ -var $export = require('./_export') - , toIndex = require('./_to-index') - , fromCharCode = String.fromCharCode - , $fromCodePoint = String.fromCodePoint; +var $export = require('./_export'); +var toAbsoluteIndex = require('./_to-absolute-index'); +var fromCharCode = String.fromCharCode; +var $fromCodePoint = String.fromCodePoint; // length should be 1, old FF problem $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { // 21.1.2.2 String.fromCodePoint(...codePoints) - fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars - var res = [] - , aLen = arguments.length - , i = 0 - , code; - while(aLen > i){ + fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars + var res = []; + var aLen = arguments.length; + var i = 0; + var code; + while (aLen > i) { code = +arguments[i++]; - if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point'); + if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); res.push(code < 0x10000 ? fromCharCode(code) : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) ); } return res.join(''); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.includes.js b/node_modules/core-js/library/modules/es6.string.includes.js index c6b4ee2fa..28d17416b 100644 --- a/node_modules/core-js/library/modules/es6.string.includes.js +++ b/node_modules/core-js/library/modules/es6.string.includes.js @@ -1,12 +1,12 @@ // 21.1.3.7 String.prototype.includes(searchString, position = 0) 'use strict'; -var $export = require('./_export') - , context = require('./_string-context') - , INCLUDES = 'includes'; +var $export = require('./_export'); +var context = require('./_string-context'); +var INCLUDES = 'includes'; $export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', { - includes: function includes(searchString /*, position = 0 */){ + includes: function includes(searchString /* , position = 0 */) { return !!~context(this, searchString, INCLUDES) .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.italics.js b/node_modules/core-js/library/modules/es6.string.italics.js index d33efd3c4..ed4cc3bf0 100644 --- a/node_modules/core-js/library/modules/es6.string.italics.js +++ b/node_modules/core-js/library/modules/es6.string.italics.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.9 String.prototype.italics() -require('./_string-html')('italics', function(createHTML){ - return function italics(){ +require('./_string-html')('italics', function (createHTML) { + return function italics() { return createHTML(this, 'i', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.iterator.js b/node_modules/core-js/library/modules/es6.string.iterator.js index ac391ee4e..5d84c7fde 100644 --- a/node_modules/core-js/library/modules/es6.string.iterator.js +++ b/node_modules/core-js/library/modules/es6.string.iterator.js @@ -1,17 +1,17 @@ 'use strict'; -var $at = require('./_string-at')(true); +var $at = require('./_string-at')(true); // 21.1.3.27 String.prototype[@@iterator]() -require('./_iter-define')(String, 'String', function(iterated){ +require('./_iter-define')(String, 'String', function (iterated) { this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() -}, function(){ - var O = this._t - , index = this._i - , point; - if(index >= O.length)return {value: undefined, done: true}; +}, function () { + var O = this._t; + var index = this._i; + var point; + if (index >= O.length) return { value: undefined, done: true }; point = $at(O, index); this._i += point.length; - return {value: point, done: false}; -});
\ No newline at end of file + return { value: point, done: false }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.link.js b/node_modules/core-js/library/modules/es6.string.link.js index 6a75c18a1..d0255edd6 100644 --- a/node_modules/core-js/library/modules/es6.string.link.js +++ b/node_modules/core-js/library/modules/es6.string.link.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.10 String.prototype.link(url) -require('./_string-html')('link', function(createHTML){ - return function link(url){ +require('./_string-html')('link', function (createHTML) { + return function link(url) { return createHTML(this, 'a', 'href', url); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.raw.js b/node_modules/core-js/library/modules/es6.string.raw.js index 1016acfa2..aa40ff6fa 100644 --- a/node_modules/core-js/library/modules/es6.string.raw.js +++ b/node_modules/core-js/library/modules/es6.string.raw.js @@ -1,18 +1,18 @@ -var $export = require('./_export') - , toIObject = require('./_to-iobject') - , toLength = require('./_to-length'); +var $export = require('./_export'); +var toIObject = require('./_to-iobject'); +var toLength = require('./_to-length'); $export($export.S, 'String', { // 21.1.2.4 String.raw(callSite, ...substitutions) - raw: function raw(callSite){ - var tpl = toIObject(callSite.raw) - , len = toLength(tpl.length) - , aLen = arguments.length - , res = [] - , i = 0; - while(len > i){ + raw: function raw(callSite) { + var tpl = toIObject(callSite.raw); + var len = toLength(tpl.length); + var aLen = arguments.length; + var res = []; + var i = 0; + while (len > i) { res.push(String(tpl[i++])); - if(i < aLen)res.push(String(arguments[i])); + if (i < aLen) res.push(String(arguments[i])); } return res.join(''); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.repeat.js b/node_modules/core-js/library/modules/es6.string.repeat.js index a054222d6..08412d91b 100644 --- a/node_modules/core-js/library/modules/es6.string.repeat.js +++ b/node_modules/core-js/library/modules/es6.string.repeat.js @@ -3,4 +3,4 @@ var $export = require('./_export'); $export($export.P, 'String', { // 21.1.3.13 String.prototype.repeat(count) repeat: require('./_string-repeat') -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.small.js b/node_modules/core-js/library/modules/es6.string.small.js index 51b1b30d8..941e4a767 100644 --- a/node_modules/core-js/library/modules/es6.string.small.js +++ b/node_modules/core-js/library/modules/es6.string.small.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.11 String.prototype.small() -require('./_string-html')('small', function(createHTML){ - return function small(){ +require('./_string-html')('small', function (createHTML) { + return function small() { return createHTML(this, 'small', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.starts-with.js b/node_modules/core-js/library/modules/es6.string.starts-with.js index 017805f01..c1723767d 100644 --- a/node_modules/core-js/library/modules/es6.string.starts-with.js +++ b/node_modules/core-js/library/modules/es6.string.starts-with.js @@ -1,18 +1,18 @@ // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 'use strict'; -var $export = require('./_export') - , toLength = require('./_to-length') - , context = require('./_string-context') - , STARTS_WITH = 'startsWith' - , $startsWith = ''[STARTS_WITH]; +var $export = require('./_export'); +var toLength = require('./_to-length'); +var context = require('./_string-context'); +var STARTS_WITH = 'startsWith'; +var $startsWith = ''[STARTS_WITH]; $export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', { - startsWith: function startsWith(searchString /*, position = 0 */){ - var that = context(this, searchString, STARTS_WITH) - , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)) - , search = String(searchString); + startsWith: function startsWith(searchString /* , position = 0 */) { + var that = context(this, searchString, STARTS_WITH); + var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); + var search = String(searchString); return $startsWith ? $startsWith.call(that, search, index) : that.slice(index, index + search.length) === search; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.string.strike.js b/node_modules/core-js/library/modules/es6.string.strike.js index c6287d3a5..66055bc00 100644 --- a/node_modules/core-js/library/modules/es6.string.strike.js +++ b/node_modules/core-js/library/modules/es6.string.strike.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.12 String.prototype.strike() -require('./_string-html')('strike', function(createHTML){ - return function strike(){ +require('./_string-html')('strike', function (createHTML) { + return function strike() { return createHTML(this, 'strike', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.sub.js b/node_modules/core-js/library/modules/es6.string.sub.js index ee18ea7ac..e295a27b0 100644 --- a/node_modules/core-js/library/modules/es6.string.sub.js +++ b/node_modules/core-js/library/modules/es6.string.sub.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.13 String.prototype.sub() -require('./_string-html')('sub', function(createHTML){ - return function sub(){ +require('./_string-html')('sub', function (createHTML) { + return function sub() { return createHTML(this, 'sub', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.sup.js b/node_modules/core-js/library/modules/es6.string.sup.js index a34299881..125a989a7 100644 --- a/node_modules/core-js/library/modules/es6.string.sup.js +++ b/node_modules/core-js/library/modules/es6.string.sup.js @@ -1,7 +1,7 @@ 'use strict'; // B.2.3.14 String.prototype.sup() -require('./_string-html')('sup', function(createHTML){ - return function sup(){ +require('./_string-html')('sup', function (createHTML) { + return function sup() { return createHTML(this, 'sup', '', ''); - } -});
\ No newline at end of file + }; +}); diff --git a/node_modules/core-js/library/modules/es6.string.trim.js b/node_modules/core-js/library/modules/es6.string.trim.js index 35f0fb0b8..02b8a6c69 100644 --- a/node_modules/core-js/library/modules/es6.string.trim.js +++ b/node_modules/core-js/library/modules/es6.string.trim.js @@ -1,7 +1,7 @@ 'use strict'; // 21.1.3.25 String.prototype.trim() -require('./_string-trim')('trim', function($trim){ - return function trim(){ +require('./_string-trim')('trim', function ($trim) { + return function trim() { return $trim(this, 3); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.symbol.js b/node_modules/core-js/library/modules/es6.symbol.js index eae491c5a..f27076e11 100644 --- a/node_modules/core-js/library/modules/es6.symbol.js +++ b/node_modules/core-js/library/modules/es6.symbol.js @@ -1,188 +1,188 @@ 'use strict'; // ECMAScript 6 symbols shim -var global = require('./_global') - , has = require('./_has') - , DESCRIPTORS = require('./_descriptors') - , $export = require('./_export') - , redefine = require('./_redefine') - , META = require('./_meta').KEY - , $fails = require('./_fails') - , shared = require('./_shared') - , setToStringTag = require('./_set-to-string-tag') - , uid = require('./_uid') - , wks = require('./_wks') - , wksExt = require('./_wks-ext') - , wksDefine = require('./_wks-define') - , keyOf = require('./_keyof') - , enumKeys = require('./_enum-keys') - , isArray = require('./_is-array') - , anObject = require('./_an-object') - , toIObject = require('./_to-iobject') - , toPrimitive = require('./_to-primitive') - , createDesc = require('./_property-desc') - , _create = require('./_object-create') - , gOPNExt = require('./_object-gopn-ext') - , $GOPD = require('./_object-gopd') - , $DP = require('./_object-dp') - , $keys = require('./_object-keys') - , gOPD = $GOPD.f - , dP = $DP.f - , gOPN = gOPNExt.f - , $Symbol = global.Symbol - , $JSON = global.JSON - , _stringify = $JSON && $JSON.stringify - , PROTOTYPE = 'prototype' - , HIDDEN = wks('_hidden') - , TO_PRIMITIVE = wks('toPrimitive') - , isEnum = {}.propertyIsEnumerable - , SymbolRegistry = shared('symbol-registry') - , AllSymbols = shared('symbols') - , OPSymbols = shared('op-symbols') - , ObjectProto = Object[PROTOTYPE] - , USE_NATIVE = typeof $Symbol == 'function' - , QObject = global.QObject; +var global = require('./_global'); +var has = require('./_has'); +var DESCRIPTORS = require('./_descriptors'); +var $export = require('./_export'); +var redefine = require('./_redefine'); +var META = require('./_meta').KEY; +var $fails = require('./_fails'); +var shared = require('./_shared'); +var setToStringTag = require('./_set-to-string-tag'); +var uid = require('./_uid'); +var wks = require('./_wks'); +var wksExt = require('./_wks-ext'); +var wksDefine = require('./_wks-define'); +var keyOf = require('./_keyof'); +var enumKeys = require('./_enum-keys'); +var isArray = require('./_is-array'); +var anObject = require('./_an-object'); +var toIObject = require('./_to-iobject'); +var toPrimitive = require('./_to-primitive'); +var createDesc = require('./_property-desc'); +var _create = require('./_object-create'); +var gOPNExt = require('./_object-gopn-ext'); +var $GOPD = require('./_object-gopd'); +var $DP = require('./_object-dp'); +var $keys = require('./_object-keys'); +var gOPD = $GOPD.f; +var dP = $DP.f; +var gOPN = gOPNExt.f; +var $Symbol = global.Symbol; +var $JSON = global.JSON; +var _stringify = $JSON && $JSON.stringify; +var PROTOTYPE = 'prototype'; +var HIDDEN = wks('_hidden'); +var TO_PRIMITIVE = wks('toPrimitive'); +var isEnum = {}.propertyIsEnumerable; +var SymbolRegistry = shared('symbol-registry'); +var AllSymbols = shared('symbols'); +var OPSymbols = shared('op-symbols'); +var ObjectProto = Object[PROTOTYPE]; +var USE_NATIVE = typeof $Symbol == 'function'; +var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDesc = DESCRIPTORS && $fails(function(){ +var setSymbolDesc = DESCRIPTORS && $fails(function () { return _create(dP({}, 'a', { - get: function(){ return dP(this, 'a', {value: 7}).a; } + get: function () { return dP(this, 'a', { value: 7 }).a; } })).a != 7; -}) ? function(it, key, D){ +}) ? function (it, key, D) { var protoDesc = gOPD(ObjectProto, key); - if(protoDesc)delete ObjectProto[key]; + if (protoDesc) delete ObjectProto[key]; dP(it, key, D); - if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc); + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); } : dP; -var wrap = function(tag){ +var wrap = function (tag) { var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); sym._k = tag; return sym; }; -var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){ +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { return typeof it == 'symbol'; -} : function(it){ +} : function (it) { return it instanceof $Symbol; }; -var $defineProperty = function defineProperty(it, key, D){ - if(it === ObjectProto)$defineProperty(OPSymbols, key, D); +var $defineProperty = function defineProperty(it, key, D) { + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); anObject(it); key = toPrimitive(key, true); anObject(D); - if(has(AllSymbols, key)){ - if(!D.enumerable){ - if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {})); + if (has(AllSymbols, key)) { + if (!D.enumerable) { + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); it[HIDDEN][key] = true; } else { - if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false; - D = _create(D, {enumerable: createDesc(0, false)}); + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; + D = _create(D, { enumerable: createDesc(0, false) }); } return setSymbolDesc(it, key, D); } return dP(it, key, D); }; -var $defineProperties = function defineProperties(it, P){ +var $defineProperties = function defineProperties(it, P) { anObject(it); - var keys = enumKeys(P = toIObject(P)) - , i = 0 - , l = keys.length - , key; - while(l > i)$defineProperty(it, key = keys[i++], P[key]); + var keys = enumKeys(P = toIObject(P)); + var i = 0; + var l = keys.length; + var key; + while (l > i) $defineProperty(it, key = keys[i++], P[key]); return it; }; -var $create = function create(it, P){ +var $create = function create(it, P) { return P === undefined ? _create(it) : $defineProperties(_create(it), P); }; -var $propertyIsEnumerable = function propertyIsEnumerable(key){ +var $propertyIsEnumerable = function propertyIsEnumerable(key) { var E = isEnum.call(this, key = toPrimitive(key, true)); - if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false; + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; }; -var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){ - it = toIObject(it); +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { + it = toIObject(it); key = toPrimitive(key, true); - if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return; + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; var D = gOPD(it, key); - if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true; + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; return D; }; -var $getOwnPropertyNames = function getOwnPropertyNames(it){ - var names = gOPN(toIObject(it)) - , result = [] - , i = 0 - , key; - while(names.length > i){ - if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key); +var $getOwnPropertyNames = function getOwnPropertyNames(it) { + var names = gOPN(toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); } return result; }; -var $getOwnPropertySymbols = function getOwnPropertySymbols(it){ - var IS_OP = it === ObjectProto - , names = gOPN(IS_OP ? OPSymbols : toIObject(it)) - , result = [] - , i = 0 - , key; - while(names.length > i){ - if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]); +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { + var IS_OP = it === ObjectProto; + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); } return result; }; // 19.4.1.1 Symbol([description]) -if(!USE_NATIVE){ - $Symbol = function Symbol(){ - if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!'); +if (!USE_NATIVE) { + $Symbol = function Symbol() { + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); var tag = uid(arguments.length > 0 ? arguments[0] : undefined); - var $set = function(value){ - if(this === ObjectProto)$set.call(OPSymbols, value); - if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false; + var $set = function (value) { + if (this === ObjectProto) $set.call(OPSymbols, value); + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDesc(this, tag, createDesc(1, value)); }; - if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set}); + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); return wrap(tag); }; - redefine($Symbol[PROTOTYPE], 'toString', function toString(){ + redefine($Symbol[PROTOTYPE], 'toString', function toString() { return this._k; }); $GOPD.f = $getOwnPropertyDescriptor; - $DP.f = $defineProperty; + $DP.f = $defineProperty; require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames; - require('./_object-pie').f = $propertyIsEnumerable; + require('./_object-pie').f = $propertyIsEnumerable; require('./_object-gops').f = $getOwnPropertySymbols; - if(DESCRIPTORS && !require('./_library')){ + if (DESCRIPTORS && !require('./_library')) { redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); } - wksExt.f = function(name){ + wksExt.f = function (name) { return wrap(wks(name)); - } + }; } -$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol}); +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); -for(var symbols = ( +for (var es6Symbols = ( // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' -).split(','), i = 0; symbols.length > i; )wks(symbols[i++]); +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); -for(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]); +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { // 19.4.2.1 Symbol.for(key) - 'for': function(key){ + 'for': function (key) { return has(SymbolRegistry, key += '') ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key); }, // 19.4.2.5 Symbol.keyFor(sym) - keyFor: function keyFor(key){ - if(isSymbol(key))return keyOf(SymbolRegistry, key); + keyFor: function keyFor(key) { + if (isSymbol(key)) return keyOf(SymbolRegistry, key); throw TypeError(key + ' is not a symbol!'); }, - useSetter: function(){ setter = true; }, - useSimple: function(){ setter = false; } + useSetter: function () { setter = true; }, + useSimple: function () { setter = false; } }); $export($export.S + $export.F * !USE_NATIVE, 'Object', { @@ -201,24 +201,24 @@ $export($export.S + $export.F * !USE_NATIVE, 'Object', { }); // 24.3.2 JSON.stringify(value [, replacer [, space]]) -$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){ +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { var S = $Symbol(); // MS Edge converts symbol values to JSON as {} // WebKit converts symbol values to JSON as null // V8 throws on boxed symbols - return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}'; + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; })), 'JSON', { - stringify: function stringify(it){ - if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined - var args = [it] - , i = 1 - , replacer, $replacer; - while(arguments.length > i)args.push(arguments[i++]); + stringify: function stringify(it) { + if (it === undefined || isSymbol(it)) return; // IE8 returns string on undefined + var args = [it]; + var i = 1; + var replacer, $replacer; + while (arguments.length > i) args.push(arguments[i++]); replacer = args[1]; - if(typeof replacer == 'function')$replacer = replacer; - if($replacer || !isArray(replacer))replacer = function(key, value){ - if($replacer)value = $replacer.call(this, key, value); - if(!isSymbol(value))return value; + if (typeof replacer == 'function') $replacer = replacer; + if ($replacer || !isArray(replacer)) replacer = function (key, value) { + if ($replacer) value = $replacer.call(this, key, value); + if (!isSymbol(value)) return value; }; args[1] = replacer; return _stringify.apply($JSON, args); @@ -232,4 +232,4 @@ setToStringTag($Symbol, 'Symbol'); // 20.2.1.9 Math[@@toStringTag] setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] -setToStringTag(global.JSON, 'JSON', true);
\ No newline at end of file +setToStringTag(global.JSON, 'JSON', true); diff --git a/node_modules/core-js/library/modules/es6.typed.array-buffer.js b/node_modules/core-js/library/modules/es6.typed.array-buffer.js index 9f47082c2..4e9373165 100644 --- a/node_modules/core-js/library/modules/es6.typed.array-buffer.js +++ b/node_modules/core-js/library/modules/es6.typed.array-buffer.js @@ -1,46 +1,46 @@ 'use strict'; -var $export = require('./_export') - , $typed = require('./_typed') - , buffer = require('./_typed-buffer') - , anObject = require('./_an-object') - , toIndex = require('./_to-index') - , toLength = require('./_to-length') - , isObject = require('./_is-object') - , ArrayBuffer = require('./_global').ArrayBuffer - , speciesConstructor = require('./_species-constructor') - , $ArrayBuffer = buffer.ArrayBuffer - , $DataView = buffer.DataView - , $isView = $typed.ABV && ArrayBuffer.isView - , $slice = $ArrayBuffer.prototype.slice - , VIEW = $typed.VIEW - , ARRAY_BUFFER = 'ArrayBuffer'; +var $export = require('./_export'); +var $typed = require('./_typed'); +var buffer = require('./_typed-buffer'); +var anObject = require('./_an-object'); +var toAbsoluteIndex = require('./_to-absolute-index'); +var toLength = require('./_to-length'); +var isObject = require('./_is-object'); +var ArrayBuffer = require('./_global').ArrayBuffer; +var speciesConstructor = require('./_species-constructor'); +var $ArrayBuffer = buffer.ArrayBuffer; +var $DataView = buffer.DataView; +var $isView = $typed.ABV && ArrayBuffer.isView; +var $slice = $ArrayBuffer.prototype.slice; +var VIEW = $typed.VIEW; +var ARRAY_BUFFER = 'ArrayBuffer'; -$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer}); +$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { // 24.1.3.1 ArrayBuffer.isView(arg) - isView: function isView(it){ + isView: function isView(it) { return $isView && $isView(it) || isObject(it) && VIEW in it; } }); -$export($export.P + $export.U + $export.F * require('./_fails')(function(){ +$export($export.P + $export.U + $export.F * require('./_fails')(function () { return !new $ArrayBuffer(2).slice(1, undefined).byteLength; }), ARRAY_BUFFER, { // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) - slice: function slice(start, end){ - if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix - var len = anObject(this).byteLength - , first = toIndex(start, len) - , final = toIndex(end === undefined ? len : end, len) - , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first)) - , viewS = new $DataView(this) - , viewT = new $DataView(result) - , index = 0; - while(first < final){ + slice: function slice(start, end) { + if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix + var len = anObject(this).byteLength; + var first = toAbsoluteIndex(start, len); + var final = toAbsoluteIndex(end === undefined ? len : end, len); + var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first)); + var viewS = new $DataView(this); + var viewT = new $DataView(result); + var index = 0; + while (first < final) { viewT.setUint8(index++, viewS.getUint8(first++)); } return result; } }); -require('./_set-species')(ARRAY_BUFFER);
\ No newline at end of file +require('./_set-species')(ARRAY_BUFFER); diff --git a/node_modules/core-js/library/modules/es6.typed.data-view.js b/node_modules/core-js/library/modules/es6.typed.data-view.js index ee7b88127..d0e23536b 100644 --- a/node_modules/core-js/library/modules/es6.typed.data-view.js +++ b/node_modules/core-js/library/modules/es6.typed.data-view.js @@ -1,4 +1,4 @@ var $export = require('./_export'); $export($export.G + $export.W + $export.F * !require('./_typed').ABV, { DataView: require('./_typed-buffer').DataView -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.float32-array.js b/node_modules/core-js/library/modules/es6.typed.float32-array.js index 2c4c9a699..f49700617 100644 --- a/node_modules/core-js/library/modules/es6.typed.float32-array.js +++ b/node_modules/core-js/library/modules/es6.typed.float32-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Float32', 4, function(init){ - return function Float32Array(data, byteOffset, length){ +require('./_typed-array')('Float32', 4, function (init) { + return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.float64-array.js b/node_modules/core-js/library/modules/es6.typed.float64-array.js index 4b20257f7..85dedcd59 100644 --- a/node_modules/core-js/library/modules/es6.typed.float64-array.js +++ b/node_modules/core-js/library/modules/es6.typed.float64-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Float64', 8, function(init){ - return function Float64Array(data, byteOffset, length){ +require('./_typed-array')('Float64', 8, function (init) { + return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.int16-array.js b/node_modules/core-js/library/modules/es6.typed.int16-array.js index d3f61c564..b20ed0413 100644 --- a/node_modules/core-js/library/modules/es6.typed.int16-array.js +++ b/node_modules/core-js/library/modules/es6.typed.int16-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Int16', 2, function(init){ - return function Int16Array(data, byteOffset, length){ +require('./_typed-array')('Int16', 2, function (init) { + return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.int32-array.js b/node_modules/core-js/library/modules/es6.typed.int32-array.js index df47c1bb0..c7e6ae06f 100644 --- a/node_modules/core-js/library/modules/es6.typed.int32-array.js +++ b/node_modules/core-js/library/modules/es6.typed.int32-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Int32', 4, function(init){ - return function Int32Array(data, byteOffset, length){ +require('./_typed-array')('Int32', 4, function (init) { + return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.int8-array.js b/node_modules/core-js/library/modules/es6.typed.int8-array.js index da4dbf0a2..58ab9f36e 100644 --- a/node_modules/core-js/library/modules/es6.typed.int8-array.js +++ b/node_modules/core-js/library/modules/es6.typed.int8-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Int8', 1, function(init){ - return function Int8Array(data, byteOffset, length){ +require('./_typed-array')('Int8', 1, function (init) { + return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.uint16-array.js b/node_modules/core-js/library/modules/es6.typed.uint16-array.js index cb335773d..992805d63 100644 --- a/node_modules/core-js/library/modules/es6.typed.uint16-array.js +++ b/node_modules/core-js/library/modules/es6.typed.uint16-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Uint16', 2, function(init){ - return function Uint16Array(data, byteOffset, length){ +require('./_typed-array')('Uint16', 2, function (init) { + return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.uint32-array.js b/node_modules/core-js/library/modules/es6.typed.uint32-array.js index 41c9e7b80..5c444246a 100644 --- a/node_modules/core-js/library/modules/es6.typed.uint32-array.js +++ b/node_modules/core-js/library/modules/es6.typed.uint32-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Uint32', 4, function(init){ - return function Uint32Array(data, byteOffset, length){ +require('./_typed-array')('Uint32', 4, function (init) { + return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.uint8-array.js b/node_modules/core-js/library/modules/es6.typed.uint8-array.js index f794f86cf..465cdc806 100644 --- a/node_modules/core-js/library/modules/es6.typed.uint8-array.js +++ b/node_modules/core-js/library/modules/es6.typed.uint8-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Uint8', 1, function(init){ - return function Uint8Array(data, byteOffset, length){ +require('./_typed-array')('Uint8', 1, function (init) { + return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es6.typed.uint8-clamped-array.js b/node_modules/core-js/library/modules/es6.typed.uint8-clamped-array.js index b12304799..a84a1c1ac 100644 --- a/node_modules/core-js/library/modules/es6.typed.uint8-clamped-array.js +++ b/node_modules/core-js/library/modules/es6.typed.uint8-clamped-array.js @@ -1,5 +1,5 @@ -require('./_typed-array')('Uint8', 1, function(init){ - return function Uint8ClampedArray(data, byteOffset, length){ +require('./_typed-array')('Uint8', 1, function (init) { + return function Uint8ClampedArray(data, byteOffset, length) { return init(this, data, byteOffset, length); }; -}, true);
\ No newline at end of file +}, true); diff --git a/node_modules/core-js/library/modules/es6.weak-map.js b/node_modules/core-js/library/modules/es6.weak-map.js index 4109db336..f21556d7c 100644 --- a/node_modules/core-js/library/modules/es6.weak-map.js +++ b/node_modules/core-js/library/modules/es6.weak-map.js @@ -1,56 +1,59 @@ 'use strict'; -var each = require('./_array-methods')(0) - , redefine = require('./_redefine') - , meta = require('./_meta') - , assign = require('./_object-assign') - , weak = require('./_collection-weak') - , isObject = require('./_is-object') - , getWeak = meta.getWeak - , isExtensible = Object.isExtensible - , uncaughtFrozenStore = weak.ufstore - , tmp = {} - , InternalMap; +var each = require('./_array-methods')(0); +var redefine = require('./_redefine'); +var meta = require('./_meta'); +var assign = require('./_object-assign'); +var weak = require('./_collection-weak'); +var isObject = require('./_is-object'); +var fails = require('./_fails'); +var validate = require('./_validate-collection'); +var WEAK_MAP = 'WeakMap'; +var getWeak = meta.getWeak; +var isExtensible = Object.isExtensible; +var uncaughtFrozenStore = weak.ufstore; +var tmp = {}; +var InternalMap; -var wrapper = function(get){ - return function WeakMap(){ +var wrapper = function (get) { + return function WeakMap() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }; var methods = { // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key){ - if(isObject(key)){ + get: function get(key) { + if (isObject(key)) { var data = getWeak(key); - if(data === true)return uncaughtFrozenStore(this).get(key); + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); return data ? data[this._i] : undefined; } }, // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value){ - return weak.def(this, key, value); + set: function set(key, value) { + return weak.def(validate(this, WEAK_MAP), key, value); } }; // 23.3 WeakMap Objects -var $WeakMap = module.exports = require('./_collection')('WeakMap', wrapper, methods, weak, true, true); +var $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true); // IE11 WeakMap frozen keys fix -if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){ - InternalMap = weak.getConstructor(wrapper); +if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); assign(InternalMap.prototype, methods); meta.NEED = true; - each(['delete', 'has', 'get', 'set'], function(key){ - var proto = $WeakMap.prototype - , method = proto[key]; - redefine(proto, key, function(a, b){ + each(['delete', 'has', 'get', 'set'], function (key) { + var proto = $WeakMap.prototype; + var method = proto[key]; + redefine(proto, key, function (a, b) { // store frozen objects on internal weakmap shim - if(isObject(a) && !isExtensible(a)){ - if(!this._f)this._f = new InternalMap; + if (isObject(a) && !isExtensible(a)) { + if (!this._f) this._f = new InternalMap(); var result = this._f[key](a, b); return key == 'set' ? this : result; // store all the rest on native weakmap } return method.call(this, a, b); }); }); -}
\ No newline at end of file +} diff --git a/node_modules/core-js/library/modules/es6.weak-set.js b/node_modules/core-js/library/modules/es6.weak-set.js index 77d01b6ba..18a81e524 100644 --- a/node_modules/core-js/library/modules/es6.weak-set.js +++ b/node_modules/core-js/library/modules/es6.weak-set.js @@ -1,12 +1,14 @@ 'use strict'; var weak = require('./_collection-weak'); +var validate = require('./_validate-collection'); +var WEAK_SET = 'WeakSet'; // 23.4 WeakSet Objects -require('./_collection')('WeakSet', function(get){ - return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +require('./_collection')(WEAK_SET, function (get) { + return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value){ - return weak.def(this, value, true); + add: function add(value) { + return weak.def(validate(this, WEAK_SET), value, true); } -}, weak, false, true);
\ No newline at end of file +}, weak, false, true); diff --git a/node_modules/core-js/library/modules/es7.array.flat-map.js b/node_modules/core-js/library/modules/es7.array.flat-map.js new file mode 100644 index 000000000..2a210cd35 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.array.flat-map.js @@ -0,0 +1,22 @@ +'use strict'; +// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap +var $export = require('./_export'); +var flattenIntoArray = require('./_flatten-into-array'); +var toObject = require('./_to-object'); +var toLength = require('./_to-length'); +var aFunction = require('./_a-function'); +var arraySpeciesCreate = require('./_array-species-create'); + +$export($export.P, 'Array', { + flatMap: function flatMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var sourceLen, A; + aFunction(callbackfn); + sourceLen = toLength(O.length); + A = arraySpeciesCreate(O, 0); + flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); + return A; + } +}); + +require('./_add-to-unscopables')('flatMap'); diff --git a/node_modules/core-js/library/modules/es7.array.flatten.js b/node_modules/core-js/library/modules/es7.array.flatten.js new file mode 100644 index 000000000..9019b2d1c --- /dev/null +++ b/node_modules/core-js/library/modules/es7.array.flatten.js @@ -0,0 +1,21 @@ +'use strict'; +// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten +var $export = require('./_export'); +var flattenIntoArray = require('./_flatten-into-array'); +var toObject = require('./_to-object'); +var toLength = require('./_to-length'); +var toInteger = require('./_to-integer'); +var arraySpeciesCreate = require('./_array-species-create'); + +$export($export.P, 'Array', { + flatten: function flatten(/* depthArg = 1 */) { + var depthArg = arguments[0]; + var O = toObject(this); + var sourceLen = toLength(O.length); + var A = arraySpeciesCreate(O, 0); + flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); + return A; + } +}); + +require('./_add-to-unscopables')('flatten'); diff --git a/node_modules/core-js/library/modules/es7.array.includes.js b/node_modules/core-js/library/modules/es7.array.includes.js index 6d5b00905..1b77f0eb8 100644 --- a/node_modules/core-js/library/modules/es7.array.includes.js +++ b/node_modules/core-js/library/modules/es7.array.includes.js @@ -1,12 +1,12 @@ 'use strict'; // https://github.com/tc39/Array.prototype.includes -var $export = require('./_export') - , $includes = require('./_array-includes')(true); +var $export = require('./_export'); +var $includes = require('./_array-includes')(true); $export($export.P, 'Array', { - includes: function includes(el /*, fromIndex = 0 */){ + includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); -require('./_add-to-unscopables')('includes');
\ No newline at end of file +require('./_add-to-unscopables')('includes'); diff --git a/node_modules/core-js/library/modules/es7.asap.js b/node_modules/core-js/library/modules/es7.asap.js index b762b49ab..d36f7c760 100644 --- a/node_modules/core-js/library/modules/es7.asap.js +++ b/node_modules/core-js/library/modules/es7.asap.js @@ -1,12 +1,12 @@ // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask -var $export = require('./_export') - , microtask = require('./_microtask')() - , process = require('./_global').process - , isNode = require('./_cof')(process) == 'process'; +var $export = require('./_export'); +var microtask = require('./_microtask')(); +var process = require('./_global').process; +var isNode = require('./_cof')(process) == 'process'; $export($export.G, { - asap: function asap(fn){ + asap: function asap(fn) { var domain = isNode && process.domain; microtask(domain ? domain.bind(fn) : fn); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.error.is-error.js b/node_modules/core-js/library/modules/es7.error.is-error.js index d6fe29dc6..ba94f5d13 100644 --- a/node_modules/core-js/library/modules/es7.error.is-error.js +++ b/node_modules/core-js/library/modules/es7.error.is-error.js @@ -1,9 +1,9 @@ // https://github.com/ljharb/proposal-is-error -var $export = require('./_export') - , cof = require('./_cof'); +var $export = require('./_export'); +var cof = require('./_cof'); $export($export.S, 'Error', { - isError: function isError(it){ + isError: function isError(it) { return cof(it) === 'Error'; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.global.js b/node_modules/core-js/library/modules/es7.global.js new file mode 100644 index 000000000..a315fd430 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.global.js @@ -0,0 +1,4 @@ +// https://github.com/tc39/proposal-global +var $export = require('./_export'); + +$export($export.G, { global: require('./_global') }); diff --git a/node_modules/core-js/library/modules/es7.map.from.js b/node_modules/core-js/library/modules/es7.map.from.js new file mode 100644 index 000000000..a60573704 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.map.from.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from +require('./_set-collection-from')('Map'); diff --git a/node_modules/core-js/library/modules/es7.map.of.js b/node_modules/core-js/library/modules/es7.map.of.js new file mode 100644 index 000000000..a2bf1fef7 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.map.of.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of +require('./_set-collection-of')('Map'); diff --git a/node_modules/core-js/library/modules/es7.map.to-json.js b/node_modules/core-js/library/modules/es7.map.to-json.js index 19f9b6d38..95a3569fa 100644 --- a/node_modules/core-js/library/modules/es7.map.to-json.js +++ b/node_modules/core-js/library/modules/es7.map.to-json.js @@ -1,4 +1,4 @@ // https://github.com/DavidBruant/Map-Set.prototype.toJSON -var $export = require('./_export'); +var $export = require('./_export'); -$export($export.P + $export.R, 'Map', {toJSON: require('./_collection-to-json')('Map')});
\ No newline at end of file +$export($export.P + $export.R, 'Map', { toJSON: require('./_collection-to-json')('Map') }); diff --git a/node_modules/core-js/library/modules/es7.math.clamp.js b/node_modules/core-js/library/modules/es7.math.clamp.js new file mode 100644 index 000000000..319cda609 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.clamp.js @@ -0,0 +1,8 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); + +$export($export.S, 'Math', { + clamp: function clamp(x, lower, upper) { + return Math.min(upper, Math.max(lower, x)); + } +}); diff --git a/node_modules/core-js/library/modules/es7.math.deg-per-rad.js b/node_modules/core-js/library/modules/es7.math.deg-per-rad.js new file mode 100644 index 000000000..99b95bba9 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.deg-per-rad.js @@ -0,0 +1,4 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); + +$export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); diff --git a/node_modules/core-js/library/modules/es7.math.degrees.js b/node_modules/core-js/library/modules/es7.math.degrees.js new file mode 100644 index 000000000..6637d915e --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.degrees.js @@ -0,0 +1,9 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); +var RAD_PER_DEG = 180 / Math.PI; + +$export($export.S, 'Math', { + degrees: function degrees(radians) { + return radians * RAD_PER_DEG; + } +}); diff --git a/node_modules/core-js/library/modules/es7.math.fscale.js b/node_modules/core-js/library/modules/es7.math.fscale.js new file mode 100644 index 000000000..ad660a058 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.fscale.js @@ -0,0 +1,10 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); +var scale = require('./_math-scale'); +var fround = require('./_math-fround'); + +$export($export.S, 'Math', { + fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { + return fround(scale(x, inLow, inHigh, outLow, outHigh)); + } +}); diff --git a/node_modules/core-js/library/modules/es7.math.iaddh.js b/node_modules/core-js/library/modules/es7.math.iaddh.js index bb3f3d38d..a331ba9b2 100644 --- a/node_modules/core-js/library/modules/es7.math.iaddh.js +++ b/node_modules/core-js/library/modules/es7.math.iaddh.js @@ -2,10 +2,10 @@ var $export = require('./_export'); $export($export.S, 'Math', { - iaddh: function iaddh(x0, x1, y0, y1){ - var $x0 = x0 >>> 0 - , $x1 = x1 >>> 0 - , $y0 = y0 >>> 0; + iaddh: function iaddh(x0, x1, y0, y1) { + var $x0 = x0 >>> 0; + var $x1 = x1 >>> 0; + var $y0 = y0 >>> 0; return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.math.imulh.js b/node_modules/core-js/library/modules/es7.math.imulh.js index a25da686a..58d19f3ac 100644 --- a/node_modules/core-js/library/modules/es7.math.imulh.js +++ b/node_modules/core-js/library/modules/es7.math.imulh.js @@ -2,15 +2,15 @@ var $export = require('./_export'); $export($export.S, 'Math', { - imulh: function imulh(u, v){ - var UINT16 = 0xffff - , $u = +u - , $v = +v - , u0 = $u & UINT16 - , v0 = $v & UINT16 - , u1 = $u >> 16 - , v1 = $v >> 16 - , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); + imulh: function imulh(u, v) { + var UINT16 = 0xffff; + var $u = +u; + var $v = +v; + var u0 = $u & UINT16; + var v0 = $v & UINT16; + var u1 = $u >> 16; + var v1 = $v >> 16; + var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.math.isubh.js b/node_modules/core-js/library/modules/es7.math.isubh.js index 3814dc29c..de22793c1 100644 --- a/node_modules/core-js/library/modules/es7.math.isubh.js +++ b/node_modules/core-js/library/modules/es7.math.isubh.js @@ -2,10 +2,10 @@ var $export = require('./_export'); $export($export.S, 'Math', { - isubh: function isubh(x0, x1, y0, y1){ - var $x0 = x0 >>> 0 - , $x1 = x1 >>> 0 - , $y0 = y0 >>> 0; + isubh: function isubh(x0, x1, y0, y1) { + var $x0 = x0 >>> 0; + var $x1 = x1 >>> 0; + var $y0 = y0 >>> 0; return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.math.rad-per-deg.js b/node_modules/core-js/library/modules/es7.math.rad-per-deg.js new file mode 100644 index 000000000..6f702596a --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.rad-per-deg.js @@ -0,0 +1,4 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); + +$export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); diff --git a/node_modules/core-js/library/modules/es7.math.radians.js b/node_modules/core-js/library/modules/es7.math.radians.js new file mode 100644 index 000000000..abd9575fe --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.radians.js @@ -0,0 +1,9 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); +var DEG_PER_RAD = Math.PI / 180; + +$export($export.S, 'Math', { + radians: function radians(degrees) { + return degrees * DEG_PER_RAD; + } +}); diff --git a/node_modules/core-js/library/modules/es7.math.scale.js b/node_modules/core-js/library/modules/es7.math.scale.js new file mode 100644 index 000000000..2866dcd7c --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.scale.js @@ -0,0 +1,4 @@ +// https://rwaldron.github.io/proposal-math-extensions/ +var $export = require('./_export'); + +$export($export.S, 'Math', { scale: require('./_math-scale') }); diff --git a/node_modules/core-js/library/modules/es7.math.signbit.js b/node_modules/core-js/library/modules/es7.math.signbit.js new file mode 100644 index 000000000..c25680486 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.math.signbit.js @@ -0,0 +1,7 @@ +// http://jfbastien.github.io/papers/Math.signbit.html +var $export = require('./_export'); + +$export($export.S, 'Math', { signbit: function signbit(x) { + // eslint-disable-next-line no-self-compare + return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; +} }); diff --git a/node_modules/core-js/library/modules/es7.math.umulh.js b/node_modules/core-js/library/modules/es7.math.umulh.js index 0d22cf1ba..3ddfa4685 100644 --- a/node_modules/core-js/library/modules/es7.math.umulh.js +++ b/node_modules/core-js/library/modules/es7.math.umulh.js @@ -2,15 +2,15 @@ var $export = require('./_export'); $export($export.S, 'Math', { - umulh: function umulh(u, v){ - var UINT16 = 0xffff - , $u = +u - , $v = +v - , u0 = $u & UINT16 - , v0 = $v & UINT16 - , u1 = $u >>> 16 - , v1 = $v >>> 16 - , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); + umulh: function umulh(u, v) { + var UINT16 = 0xffff; + var $u = +u; + var $v = +v; + var u0 = $u & UINT16; + var v0 = $v & UINT16; + var u1 = $u >>> 16; + var v1 = $v >>> 16; + var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.define-getter.js b/node_modules/core-js/library/modules/es7.object.define-getter.js index f206e96a2..ffc6203fd 100644 --- a/node_modules/core-js/library/modules/es7.object.define-getter.js +++ b/node_modules/core-js/library/modules/es7.object.define-getter.js @@ -1,12 +1,12 @@ 'use strict'; -var $export = require('./_export') - , toObject = require('./_to-object') - , aFunction = require('./_a-function') - , $defineProperty = require('./_object-dp'); +var $export = require('./_export'); +var toObject = require('./_to-object'); +var aFunction = require('./_a-function'); +var $defineProperty = require('./_object-dp'); // B.2.2.2 Object.prototype.__defineGetter__(P, getter) require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __defineGetter__: function __defineGetter__(P, getter){ - $defineProperty.f(toObject(this), P, {get: aFunction(getter), enumerable: true, configurable: true}); + __defineGetter__: function __defineGetter__(P, getter) { + $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.define-setter.js b/node_modules/core-js/library/modules/es7.object.define-setter.js index c0f7b7000..8ceefdd68 100644 --- a/node_modules/core-js/library/modules/es7.object.define-setter.js +++ b/node_modules/core-js/library/modules/es7.object.define-setter.js @@ -1,12 +1,12 @@ 'use strict'; -var $export = require('./_export') - , toObject = require('./_to-object') - , aFunction = require('./_a-function') - , $defineProperty = require('./_object-dp'); +var $export = require('./_export'); +var toObject = require('./_to-object'); +var aFunction = require('./_a-function'); +var $defineProperty = require('./_object-dp'); // B.2.2.3 Object.prototype.__defineSetter__(P, setter) require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __defineSetter__: function __defineSetter__(P, setter){ - $defineProperty.f(toObject(this), P, {set: aFunction(setter), enumerable: true, configurable: true}); + __defineSetter__: function __defineSetter__(P, setter) { + $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.entries.js b/node_modules/core-js/library/modules/es7.object.entries.js index cfc049dfa..2f83437c8 100644 --- a/node_modules/core-js/library/modules/es7.object.entries.js +++ b/node_modules/core-js/library/modules/es7.object.entries.js @@ -1,9 +1,9 @@ // https://github.com/tc39/proposal-object-values-entries -var $export = require('./_export') - , $entries = require('./_object-to-array')(true); +var $export = require('./_export'); +var $entries = require('./_object-to-array')(true); $export($export.S, 'Object', { - entries: function entries(it){ + entries: function entries(it) { return $entries(it); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.enumerable-entries.js b/node_modules/core-js/library/modules/es7.object.enumerable-entries.js deleted file mode 100644 index 5daa803b1..000000000 --- a/node_modules/core-js/library/modules/es7.object.enumerable-entries.js +++ /dev/null @@ -1,12 +0,0 @@ -// https://github.com/leobalter/object-enumerables -var $export = require('./_export') - , toObject = require('./_to-object'); - -$export($export.S, 'Object', { - enumerableEntries: function enumerableEntries(O){ - var T = toObject(O) - , properties = []; - for(var key in T)properties.push([key, T[key]]); - return properties; - } -});
\ No newline at end of file diff --git a/node_modules/core-js/library/modules/es7.object.enumerable-keys.js b/node_modules/core-js/library/modules/es7.object.enumerable-keys.js deleted file mode 100644 index 791ec1849..000000000 --- a/node_modules/core-js/library/modules/es7.object.enumerable-keys.js +++ /dev/null @@ -1,12 +0,0 @@ -// https://github.com/leobalter/object-enumerables -var $export = require('./_export') - , toObject = require('./_to-object'); - -$export($export.S, 'Object', { - enumerableKeys: function enumerableKeys(O){ - var T = toObject(O) - , properties = []; - for(var key in T)properties.push(key); - return properties; - } -});
\ No newline at end of file diff --git a/node_modules/core-js/library/modules/es7.object.enumerable-values.js b/node_modules/core-js/library/modules/es7.object.enumerable-values.js deleted file mode 100644 index 1d1bfaa72..000000000 --- a/node_modules/core-js/library/modules/es7.object.enumerable-values.js +++ /dev/null @@ -1,12 +0,0 @@ -// https://github.com/leobalter/object-enumerables -var $export = require('./_export') - , toObject = require('./_to-object'); - -$export($export.S, 'Object', { - enumerableValues: function enumerableValues(O){ - var T = toObject(O) - , properties = []; - for(var key in T)properties.push(T[key]); - return properties; - } -});
\ No newline at end of file diff --git a/node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js b/node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js index 0242b7a0c..b1ab72fde 100644 --- a/node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js +++ b/node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js @@ -1,19 +1,22 @@ // https://github.com/tc39/proposal-object-getownpropertydescriptors -var $export = require('./_export') - , ownKeys = require('./_own-keys') - , toIObject = require('./_to-iobject') - , gOPD = require('./_object-gopd') - , createProperty = require('./_create-property'); +var $export = require('./_export'); +var ownKeys = require('./_own-keys'); +var toIObject = require('./_to-iobject'); +var gOPD = require('./_object-gopd'); +var createProperty = require('./_create-property'); $export($export.S, 'Object', { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){ - var O = toIObject(object) - , getDesc = gOPD.f - , keys = ownKeys(O) - , result = {} - , i = 0 - , key; - while(keys.length > i)createProperty(result, key = keys[i++], getDesc(O, key)); + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { + var O = toIObject(object); + var getDesc = gOPD.f; + var keys = ownKeys(O); + var result = {}; + var i = 0; + var key, desc; + while (keys.length > i) { + desc = getDesc(O, key = keys[i++]); + if (desc !== undefined) createProperty(result, key, desc); + } return result; } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.lookup-getter.js b/node_modules/core-js/library/modules/es7.object.lookup-getter.js index ec140345d..f80222916 100644 --- a/node_modules/core-js/library/modules/es7.object.lookup-getter.js +++ b/node_modules/core-js/library/modules/es7.object.lookup-getter.js @@ -1,18 +1,18 @@ 'use strict'; -var $export = require('./_export') - , toObject = require('./_to-object') - , toPrimitive = require('./_to-primitive') - , getPrototypeOf = require('./_object-gpo') - , getOwnPropertyDescriptor = require('./_object-gopd').f; +var $export = require('./_export'); +var toObject = require('./_to-object'); +var toPrimitive = require('./_to-primitive'); +var getPrototypeOf = require('./_object-gpo'); +var getOwnPropertyDescriptor = require('./_object-gopd').f; // B.2.2.4 Object.prototype.__lookupGetter__(P) require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __lookupGetter__: function __lookupGetter__(P){ - var O = toObject(this) - , K = toPrimitive(P, true) - , D; + __lookupGetter__: function __lookupGetter__(P) { + var O = toObject(this); + var K = toPrimitive(P, true); + var D; do { - if(D = getOwnPropertyDescriptor(O, K))return D.get; - } while(O = getPrototypeOf(O)); + if (D = getOwnPropertyDescriptor(O, K)) return D.get; + } while (O = getPrototypeOf(O)); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.lookup-setter.js b/node_modules/core-js/library/modules/es7.object.lookup-setter.js index 539dda824..8bf8b64ea 100644 --- a/node_modules/core-js/library/modules/es7.object.lookup-setter.js +++ b/node_modules/core-js/library/modules/es7.object.lookup-setter.js @@ -1,18 +1,18 @@ 'use strict'; -var $export = require('./_export') - , toObject = require('./_to-object') - , toPrimitive = require('./_to-primitive') - , getPrototypeOf = require('./_object-gpo') - , getOwnPropertyDescriptor = require('./_object-gopd').f; +var $export = require('./_export'); +var toObject = require('./_to-object'); +var toPrimitive = require('./_to-primitive'); +var getPrototypeOf = require('./_object-gpo'); +var getOwnPropertyDescriptor = require('./_object-gopd').f; // B.2.2.5 Object.prototype.__lookupSetter__(P) require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __lookupSetter__: function __lookupSetter__(P){ - var O = toObject(this) - , K = toPrimitive(P, true) - , D; + __lookupSetter__: function __lookupSetter__(P) { + var O = toObject(this); + var K = toPrimitive(P, true); + var D; do { - if(D = getOwnPropertyDescriptor(O, K))return D.set; - } while(O = getPrototypeOf(O)); + if (D = getOwnPropertyDescriptor(O, K)) return D.set; + } while (O = getPrototypeOf(O)); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.object.values.js b/node_modules/core-js/library/modules/es7.object.values.js index 42abd640b..d6f095275 100644 --- a/node_modules/core-js/library/modules/es7.object.values.js +++ b/node_modules/core-js/library/modules/es7.object.values.js @@ -1,9 +1,9 @@ // https://github.com/tc39/proposal-object-values-entries -var $export = require('./_export') - , $values = require('./_object-to-array')(false); +var $export = require('./_export'); +var $values = require('./_object-to-array')(false); $export($export.S, 'Object', { - values: function values(it){ + values: function values(it) { return $values(it); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.observable.js b/node_modules/core-js/library/modules/es7.observable.js index e34fa4f28..7bab53d08 100644 --- a/node_modules/core-js/library/modules/es7.observable.js +++ b/node_modules/core-js/library/modules/es7.observable.js @@ -1,77 +1,77 @@ 'use strict'; // https://github.com/zenparsing/es-observable -var $export = require('./_export') - , global = require('./_global') - , core = require('./_core') - , microtask = require('./_microtask')() - , OBSERVABLE = require('./_wks')('observable') - , aFunction = require('./_a-function') - , anObject = require('./_an-object') - , anInstance = require('./_an-instance') - , redefineAll = require('./_redefine-all') - , hide = require('./_hide') - , forOf = require('./_for-of') - , RETURN = forOf.RETURN; +var $export = require('./_export'); +var global = require('./_global'); +var core = require('./_core'); +var microtask = require('./_microtask')(); +var OBSERVABLE = require('./_wks')('observable'); +var aFunction = require('./_a-function'); +var anObject = require('./_an-object'); +var anInstance = require('./_an-instance'); +var redefineAll = require('./_redefine-all'); +var hide = require('./_hide'); +var forOf = require('./_for-of'); +var RETURN = forOf.RETURN; -var getMethod = function(fn){ +var getMethod = function (fn) { return fn == null ? undefined : aFunction(fn); }; -var cleanupSubscription = function(subscription){ +var cleanupSubscription = function (subscription) { var cleanup = subscription._c; - if(cleanup){ + if (cleanup) { subscription._c = undefined; cleanup(); } }; -var subscriptionClosed = function(subscription){ +var subscriptionClosed = function (subscription) { return subscription._o === undefined; }; -var closeSubscription = function(subscription){ - if(!subscriptionClosed(subscription)){ +var closeSubscription = function (subscription) { + if (!subscriptionClosed(subscription)) { subscription._o = undefined; cleanupSubscription(subscription); } }; -var Subscription = function(observer, subscriber){ +var Subscription = function (observer, subscriber) { anObject(observer); this._c = undefined; this._o = observer; observer = new SubscriptionObserver(this); try { - var cleanup = subscriber(observer) - , subscription = cleanup; - if(cleanup != null){ - if(typeof cleanup.unsubscribe === 'function')cleanup = function(){ subscription.unsubscribe(); }; + var cleanup = subscriber(observer); + var subscription = cleanup; + if (cleanup != null) { + if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); }; else aFunction(cleanup); this._c = cleanup; } - } catch(e){ + } catch (e) { observer.error(e); return; - } if(subscriptionClosed(this))cleanupSubscription(this); + } if (subscriptionClosed(this)) cleanupSubscription(this); }; Subscription.prototype = redefineAll({}, { - unsubscribe: function unsubscribe(){ closeSubscription(this); } + unsubscribe: function unsubscribe() { closeSubscription(this); } }); -var SubscriptionObserver = function(subscription){ +var SubscriptionObserver = function (subscription) { this._s = subscription; }; SubscriptionObserver.prototype = redefineAll({}, { - next: function next(value){ + next: function next(value) { var subscription = this._s; - if(!subscriptionClosed(subscription)){ + if (!subscriptionClosed(subscription)) { var observer = subscription._o; try { var m = getMethod(observer.next); - if(m)return m.call(observer, value); - } catch(e){ + if (m) return m.call(observer, value); + } catch (e) { try { closeSubscription(subscription); } finally { @@ -80,16 +80,16 @@ SubscriptionObserver.prototype = redefineAll({}, { } } }, - error: function error(value){ + error: function error(value) { var subscription = this._s; - if(subscriptionClosed(subscription))throw value; + if (subscriptionClosed(subscription)) throw value; var observer = subscription._o; subscription._o = undefined; try { var m = getMethod(observer.error); - if(!m)throw value; + if (!m) throw value; value = m.call(observer, value); - } catch(e){ + } catch (e) { try { cleanupSubscription(subscription); } finally { @@ -98,15 +98,15 @@ SubscriptionObserver.prototype = redefineAll({}, { } cleanupSubscription(subscription); return value; }, - complete: function complete(value){ + complete: function complete(value) { var subscription = this._s; - if(!subscriptionClosed(subscription)){ + if (!subscriptionClosed(subscription)) { var observer = subscription._o; subscription._o = undefined; try { var m = getMethod(observer.complete); value = m ? m.call(observer, value) : undefined; - } catch(e){ + } catch (e) { try { cleanupSubscription(subscription); } finally { @@ -118,23 +118,23 @@ SubscriptionObserver.prototype = redefineAll({}, { } }); -var $Observable = function Observable(subscriber){ +var $Observable = function Observable(subscriber) { anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber); }; redefineAll($Observable.prototype, { - subscribe: function subscribe(observer){ + subscribe: function subscribe(observer) { return new Subscription(observer, this._f); }, - forEach: function forEach(fn){ + forEach: function forEach(fn) { var that = this; - return new (core.Promise || global.Promise)(function(resolve, reject){ + return new (core.Promise || global.Promise)(function (resolve, reject) { aFunction(fn); var subscription = that.subscribe({ - next : function(value){ + next: function (value) { try { return fn(value); - } catch(e){ + } catch (e) { reject(e); subscription.unsubscribe(); } @@ -147,53 +147,53 @@ redefineAll($Observable.prototype, { }); redefineAll($Observable, { - from: function from(x){ + from: function from(x) { var C = typeof this === 'function' ? this : $Observable; var method = getMethod(anObject(x)[OBSERVABLE]); - if(method){ + if (method) { var observable = anObject(method.call(x)); - return observable.constructor === C ? observable : new C(function(observer){ + return observable.constructor === C ? observable : new C(function (observer) { return observable.subscribe(observer); }); } - return new C(function(observer){ + return new C(function (observer) { var done = false; - microtask(function(){ - if(!done){ + microtask(function () { + if (!done) { try { - if(forOf(x, false, function(it){ + if (forOf(x, false, function (it) { observer.next(it); - if(done)return RETURN; - }) === RETURN)return; - } catch(e){ - if(done)throw e; + if (done) return RETURN; + }) === RETURN) return; + } catch (e) { + if (done) throw e; observer.error(e); return; } observer.complete(); } }); - return function(){ done = true; }; + return function () { done = true; }; }); }, - of: function of(){ - for(var i = 0, l = arguments.length, items = Array(l); i < l;)items[i] = arguments[i++]; - return new (typeof this === 'function' ? this : $Observable)(function(observer){ + of: function of() { + for (var i = 0, l = arguments.length, items = Array(l); i < l;) items[i] = arguments[i++]; + return new (typeof this === 'function' ? this : $Observable)(function (observer) { var done = false; - microtask(function(){ - if(!done){ - for(var i = 0; i < items.length; ++i){ - observer.next(items[i]); - if(done)return; + microtask(function () { + if (!done) { + for (var j = 0; j < items.length; ++j) { + observer.next(items[j]); + if (done) return; } observer.complete(); } }); - return function(){ done = true; }; + return function () { done = true; }; }); } }); -hide($Observable.prototype, OBSERVABLE, function(){ return this; }); +hide($Observable.prototype, OBSERVABLE, function () { return this; }); -$export($export.G, {Observable: $Observable}); +$export($export.G, { Observable: $Observable }); -require('./_set-species')('Observable');
\ No newline at end of file +require('./_set-species')('Observable'); diff --git a/node_modules/core-js/library/modules/es7.promise.finally.js b/node_modules/core-js/library/modules/es7.promise.finally.js new file mode 100644 index 000000000..fa04b6399 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.promise.finally.js @@ -0,0 +1,20 @@ +// https://github.com/tc39/proposal-promise-finally +'use strict'; +var $export = require('./_export'); +var core = require('./_core'); +var global = require('./_global'); +var speciesConstructor = require('./_species-constructor'); +var promiseResolve = require('./_promise-resolve'); + +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { + var C = speciesConstructor(this, core.Promise || global.Promise); + var isFunction = typeof onFinally == 'function'; + return this.then( + isFunction ? function (x) { + return promiseResolve(C, onFinally()).then(function () { return x; }); + } : onFinally, + isFunction ? function (e) { + return promiseResolve(C, onFinally()).then(function () { throw e; }); + } : onFinally + ); +} }); diff --git a/node_modules/core-js/library/modules/es7.promise.try.js b/node_modules/core-js/library/modules/es7.promise.try.js new file mode 100644 index 000000000..e8163720b --- /dev/null +++ b/node_modules/core-js/library/modules/es7.promise.try.js @@ -0,0 +1,12 @@ +'use strict'; +// https://github.com/tc39/proposal-promise-try +var $export = require('./_export'); +var newPromiseCapability = require('./_new-promise-capability'); +var perform = require('./_perform'); + +$export($export.S, 'Promise', { 'try': function (callbackfn) { + var promiseCapability = newPromiseCapability.f(this); + var result = perform(callbackfn); + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); + return promiseCapability.promise; +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.define-metadata.js b/node_modules/core-js/library/modules/es7.reflect.define-metadata.js index c833e4317..ebef52c24 100644 --- a/node_modules/core-js/library/modules/es7.reflect.define-metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.define-metadata.js @@ -1,8 +1,8 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , toMetaKey = metadata.key - , ordinaryDefineOwnMetadata = metadata.set; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var toMetaKey = metadata.key; +var ordinaryDefineOwnMetadata = metadata.set; -metadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){ +metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.delete-metadata.js b/node_modules/core-js/library/modules/es7.reflect.delete-metadata.js index 8a8a8253b..590ed53ce 100644 --- a/node_modules/core-js/library/modules/es7.reflect.delete-metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.delete-metadata.js @@ -1,15 +1,15 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , toMetaKey = metadata.key - , getOrCreateMetadataMap = metadata.map - , store = metadata.store; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var toMetaKey = metadata.key; +var getOrCreateMetadataMap = metadata.map; +var store = metadata.store; -metadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){ - var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]) - , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); - if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false; - if(metadataMap.size)return true; +metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; var targetMetadata = store.get(target); targetMetadata['delete'](targetKey); return !!targetMetadata.size || store['delete'](target); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.get-metadata-keys.js b/node_modules/core-js/library/modules/es7.reflect.get-metadata-keys.js index 58c4dcc23..f344172b5 100644 --- a/node_modules/core-js/library/modules/es7.reflect.get-metadata-keys.js +++ b/node_modules/core-js/library/modules/es7.reflect.get-metadata-keys.js @@ -1,19 +1,19 @@ -var Set = require('./es6.set') - , from = require('./_array-from-iterable') - , metadata = require('./_metadata') - , anObject = require('./_an-object') - , getPrototypeOf = require('./_object-gpo') - , ordinaryOwnMetadataKeys = metadata.keys - , toMetaKey = metadata.key; +var Set = require('./es6.set'); +var from = require('./_array-from-iterable'); +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var getPrototypeOf = require('./_object-gpo'); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; -var ordinaryMetadataKeys = function(O, P){ - var oKeys = ordinaryOwnMetadataKeys(O, P) - , parent = getPrototypeOf(O); - if(parent === null)return oKeys; - var pKeys = ordinaryMetadataKeys(parent, P); +var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; }; -metadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){ +metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.get-metadata.js b/node_modules/core-js/library/modules/es7.reflect.get-metadata.js index 48cd9d674..58c278e98 100644 --- a/node_modules/core-js/library/modules/es7.reflect.get-metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.get-metadata.js @@ -1,17 +1,17 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , getPrototypeOf = require('./_object-gpo') - , ordinaryHasOwnMetadata = metadata.has - , ordinaryGetOwnMetadata = metadata.get - , toMetaKey = metadata.key; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var getPrototypeOf = require('./_object-gpo'); +var ordinaryHasOwnMetadata = metadata.has; +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; -var ordinaryGetMetadata = function(MetadataKey, O, P){ +var ordinaryGetMetadata = function (MetadataKey, O, P) { var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); var parent = getPrototypeOf(O); return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; }; -metadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){ +metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.get-own-metadata-keys.js b/node_modules/core-js/library/modules/es7.reflect.get-own-metadata-keys.js index 93ecfbe5a..03e3201bb 100644 --- a/node_modules/core-js/library/modules/es7.reflect.get-own-metadata-keys.js +++ b/node_modules/core-js/library/modules/es7.reflect.get-own-metadata-keys.js @@ -1,8 +1,8 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , ordinaryOwnMetadataKeys = metadata.keys - , toMetaKey = metadata.key; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; -metadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){ +metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.get-own-metadata.js b/node_modules/core-js/library/modules/es7.reflect.get-own-metadata.js index f1040f919..4a18b0717 100644 --- a/node_modules/core-js/library/modules/es7.reflect.get-own-metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.get-own-metadata.js @@ -1,9 +1,9 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , ordinaryGetOwnMetadata = metadata.get - , toMetaKey = metadata.key; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; -metadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){ +metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { return ordinaryGetOwnMetadata(metadataKey, anObject(target) , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.has-metadata.js b/node_modules/core-js/library/modules/es7.reflect.has-metadata.js index 0ff637865..b934bb4ec 100644 --- a/node_modules/core-js/library/modules/es7.reflect.has-metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.has-metadata.js @@ -1,16 +1,16 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , getPrototypeOf = require('./_object-gpo') - , ordinaryHasOwnMetadata = metadata.has - , toMetaKey = metadata.key; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var getPrototypeOf = require('./_object-gpo'); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; -var ordinaryHasMetadata = function(MetadataKey, O, P){ +var ordinaryHasMetadata = function (MetadataKey, O, P) { var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if(hasOwn)return true; + if (hasOwn) return true; var parent = getPrototypeOf(O); return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; }; -metadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){ +metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.has-own-metadata.js b/node_modules/core-js/library/modules/es7.reflect.has-own-metadata.js index d645ea3fa..512850dd8 100644 --- a/node_modules/core-js/library/modules/es7.reflect.has-own-metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.has-own-metadata.js @@ -1,9 +1,9 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , ordinaryHasOwnMetadata = metadata.has - , toMetaKey = metadata.key; +var metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; -metadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){ +metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { return ordinaryHasOwnMetadata(metadataKey, anObject(target) , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.reflect.metadata.js b/node_modules/core-js/library/modules/es7.reflect.metadata.js index 3a4e3aee0..efb9a9e26 100644 --- a/node_modules/core-js/library/modules/es7.reflect.metadata.js +++ b/node_modules/core-js/library/modules/es7.reflect.metadata.js @@ -1,15 +1,15 @@ -var metadata = require('./_metadata') - , anObject = require('./_an-object') - , aFunction = require('./_a-function') - , toMetaKey = metadata.key - , ordinaryDefineOwnMetadata = metadata.set; +var $metadata = require('./_metadata'); +var anObject = require('./_an-object'); +var aFunction = require('./_a-function'); +var toMetaKey = $metadata.key; +var ordinaryDefineOwnMetadata = $metadata.set; -metadata.exp({metadata: function metadata(metadataKey, metadataValue){ - return function decorator(target, targetKey){ +$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, targetKey) { ordinaryDefineOwnMetadata( metadataKey, metadataValue, (targetKey !== undefined ? anObject : aFunction)(target), toMetaKey(targetKey) ); }; -}});
\ No newline at end of file +} }); diff --git a/node_modules/core-js/library/modules/es7.set.from.js b/node_modules/core-js/library/modules/es7.set.from.js new file mode 100644 index 000000000..26542b664 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.set.from.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from +require('./_set-collection-from')('Set'); diff --git a/node_modules/core-js/library/modules/es7.set.of.js b/node_modules/core-js/library/modules/es7.set.of.js new file mode 100644 index 000000000..2a50ad911 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.set.of.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of +require('./_set-collection-of')('Set'); diff --git a/node_modules/core-js/library/modules/es7.set.to-json.js b/node_modules/core-js/library/modules/es7.set.to-json.js index fd68cb510..95cbcfa51 100644 --- a/node_modules/core-js/library/modules/es7.set.to-json.js +++ b/node_modules/core-js/library/modules/es7.set.to-json.js @@ -1,4 +1,4 @@ // https://github.com/DavidBruant/Map-Set.prototype.toJSON -var $export = require('./_export'); +var $export = require('./_export'); -$export($export.P + $export.R, 'Set', {toJSON: require('./_collection-to-json')('Set')});
\ No newline at end of file +$export($export.P + $export.R, 'Set', { toJSON: require('./_collection-to-json')('Set') }); diff --git a/node_modules/core-js/library/modules/es7.string.at.js b/node_modules/core-js/library/modules/es7.string.at.js index 208654e6c..8b3ab98db 100644 --- a/node_modules/core-js/library/modules/es7.string.at.js +++ b/node_modules/core-js/library/modules/es7.string.at.js @@ -1,10 +1,10 @@ 'use strict'; // https://github.com/mathiasbynens/String.prototype.at -var $export = require('./_export') - , $at = require('./_string-at')(true); +var $export = require('./_export'); +var $at = require('./_string-at')(true); $export($export.P, 'String', { - at: function at(pos){ + at: function at(pos) { return $at(this, pos); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.string.match-all.js b/node_modules/core-js/library/modules/es7.string.match-all.js index cb0099b36..78237036e 100644 --- a/node_modules/core-js/library/modules/es7.string.match-all.js +++ b/node_modules/core-js/library/modules/es7.string.match-all.js @@ -1,30 +1,30 @@ 'use strict'; // https://tc39.github.io/String.prototype.matchAll/ -var $export = require('./_export') - , defined = require('./_defined') - , toLength = require('./_to-length') - , isRegExp = require('./_is-regexp') - , getFlags = require('./_flags') - , RegExpProto = RegExp.prototype; +var $export = require('./_export'); +var defined = require('./_defined'); +var toLength = require('./_to-length'); +var isRegExp = require('./_is-regexp'); +var getFlags = require('./_flags'); +var RegExpProto = RegExp.prototype; -var $RegExpStringIterator = function(regexp, string){ +var $RegExpStringIterator = function (regexp, string) { this._r = regexp; this._s = string; }; -require('./_iter-create')($RegExpStringIterator, 'RegExp String', function next(){ +require('./_iter-create')($RegExpStringIterator, 'RegExp String', function next() { var match = this._r.exec(this._s); - return {value: match, done: match === null}; + return { value: match, done: match === null }; }); $export($export.P, 'String', { - matchAll: function matchAll(regexp){ + matchAll: function matchAll(regexp) { defined(this); - if(!isRegExp(regexp))throw TypeError(regexp + ' is not a regexp!'); - var S = String(this) - , flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp) - , rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags); + if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!'); + var S = String(this); + var flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp); + var rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags); rx.lastIndex = toLength(regexp.lastIndex); return new $RegExpStringIterator(rx, S); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.string.pad-end.js b/node_modules/core-js/library/modules/es7.string.pad-end.js index 8483d82f4..b8ed042f9 100644 --- a/node_modules/core-js/library/modules/es7.string.pad-end.js +++ b/node_modules/core-js/library/modules/es7.string.pad-end.js @@ -1,10 +1,10 @@ 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end -var $export = require('./_export') - , $pad = require('./_string-pad'); +var $export = require('./_export'); +var $pad = require('./_string-pad'); $export($export.P, 'String', { - padEnd: function padEnd(maxLength /*, fillString = ' ' */){ + padEnd: function padEnd(maxLength /* , fillString = ' ' */) { return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.string.pad-start.js b/node_modules/core-js/library/modules/es7.string.pad-start.js index b79b605d2..3173d4690 100644 --- a/node_modules/core-js/library/modules/es7.string.pad-start.js +++ b/node_modules/core-js/library/modules/es7.string.pad-start.js @@ -1,10 +1,10 @@ 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end -var $export = require('./_export') - , $pad = require('./_string-pad'); +var $export = require('./_export'); +var $pad = require('./_string-pad'); $export($export.P, 'String', { - padStart: function padStart(maxLength /*, fillString = ' ' */){ + padStart: function padStart(maxLength /* , fillString = ' ' */) { return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); } -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/es7.string.trim-left.js b/node_modules/core-js/library/modules/es7.string.trim-left.js index e58457714..39a4b47cf 100644 --- a/node_modules/core-js/library/modules/es7.string.trim-left.js +++ b/node_modules/core-js/library/modules/es7.string.trim-left.js @@ -1,7 +1,7 @@ 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim -require('./_string-trim')('trimLeft', function($trim){ - return function trimLeft(){ +require('./_string-trim')('trimLeft', function ($trim) { + return function trimLeft() { return $trim(this, 1); }; -}, 'trimStart');
\ No newline at end of file +}, 'trimStart'); diff --git a/node_modules/core-js/library/modules/es7.string.trim-right.js b/node_modules/core-js/library/modules/es7.string.trim-right.js index 42a9ed33b..7b7c45298 100644 --- a/node_modules/core-js/library/modules/es7.string.trim-right.js +++ b/node_modules/core-js/library/modules/es7.string.trim-right.js @@ -1,7 +1,7 @@ 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim -require('./_string-trim')('trimRight', function($trim){ - return function trimRight(){ +require('./_string-trim')('trimRight', function ($trim) { + return function trimRight() { return $trim(this, 2); }; -}, 'trimEnd');
\ No newline at end of file +}, 'trimEnd'); diff --git a/node_modules/core-js/library/modules/es7.symbol.async-iterator.js b/node_modules/core-js/library/modules/es7.symbol.async-iterator.js index cf9f74a50..f56dc2a8e 100644 --- a/node_modules/core-js/library/modules/es7.symbol.async-iterator.js +++ b/node_modules/core-js/library/modules/es7.symbol.async-iterator.js @@ -1 +1 @@ -require('./_wks-define')('asyncIterator');
\ No newline at end of file +require('./_wks-define')('asyncIterator'); diff --git a/node_modules/core-js/library/modules/es7.symbol.observable.js b/node_modules/core-js/library/modules/es7.symbol.observable.js index 0163bca52..fc9a23761 100644 --- a/node_modules/core-js/library/modules/es7.symbol.observable.js +++ b/node_modules/core-js/library/modules/es7.symbol.observable.js @@ -1 +1 @@ -require('./_wks-define')('observable');
\ No newline at end of file +require('./_wks-define')('observable'); diff --git a/node_modules/core-js/library/modules/es7.system.global.js b/node_modules/core-js/library/modules/es7.system.global.js index 8c2ab82de..310a802ad 100644 --- a/node_modules/core-js/library/modules/es7.system.global.js +++ b/node_modules/core-js/library/modules/es7.system.global.js @@ -1,4 +1,4 @@ -// https://github.com/ljharb/proposal-global +// https://github.com/tc39/proposal-global var $export = require('./_export'); -$export($export.S, 'System', {global: require('./_global')});
\ No newline at end of file +$export($export.S, 'System', { global: require('./_global') }); diff --git a/node_modules/core-js/library/modules/es7.weak-map.from.js b/node_modules/core-js/library/modules/es7.weak-map.from.js new file mode 100644 index 000000000..1a0136576 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.weak-map.from.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from +require('./_set-collection-from')('WeakMap'); diff --git a/node_modules/core-js/library/modules/es7.weak-map.of.js b/node_modules/core-js/library/modules/es7.weak-map.of.js new file mode 100644 index 000000000..52c3f66df --- /dev/null +++ b/node_modules/core-js/library/modules/es7.weak-map.of.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of +require('./_set-collection-of')('WeakMap'); diff --git a/node_modules/core-js/library/modules/es7.weak-set.from.js b/node_modules/core-js/library/modules/es7.weak-set.from.js new file mode 100644 index 000000000..493e5bee0 --- /dev/null +++ b/node_modules/core-js/library/modules/es7.weak-set.from.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from +require('./_set-collection-from')('WeakSet'); diff --git a/node_modules/core-js/library/modules/es7.weak-set.of.js b/node_modules/core-js/library/modules/es7.weak-set.of.js new file mode 100644 index 000000000..5941e72aa --- /dev/null +++ b/node_modules/core-js/library/modules/es7.weak-set.of.js @@ -0,0 +1,2 @@ +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of +require('./_set-collection-of')('WeakSet'); diff --git a/node_modules/core-js/library/modules/web.dom.iterable.js b/node_modules/core-js/library/modules/web.dom.iterable.js index e56371a9d..fc00afac4 100644 --- a/node_modules/core-js/library/modules/web.dom.iterable.js +++ b/node_modules/core-js/library/modules/web.dom.iterable.js @@ -1,13 +1,19 @@ require('./es6.array.iterator'); -var global = require('./_global') - , hide = require('./_hide') - , Iterators = require('./_iterators') - , TO_STRING_TAG = require('./_wks')('toStringTag'); +var global = require('./_global'); +var hide = require('./_hide'); +var Iterators = require('./_iterators'); +var TO_STRING_TAG = require('./_wks')('toStringTag'); -for(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){ - var NAME = collections[i] - , Collection = global[NAME] - , proto = Collection && Collection.prototype; - if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME); +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + + 'TextTrackList,TouchList').split(','); + +for (var i = 0; i < DOMIterables.length; i++) { + var NAME = DOMIterables[i]; + var Collection = global[NAME]; + var proto = Collection && Collection.prototype; + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); Iterators[NAME] = Iterators.Array; -}
\ No newline at end of file +} diff --git a/node_modules/core-js/library/modules/web.immediate.js b/node_modules/core-js/library/modules/web.immediate.js index 5b9463775..70f3e70da 100644 --- a/node_modules/core-js/library/modules/web.immediate.js +++ b/node_modules/core-js/library/modules/web.immediate.js @@ -1,6 +1,6 @@ -var $export = require('./_export') - , $task = require('./_task'); +var $export = require('./_export'); +var $task = require('./_task'); $export($export.G + $export.B, { - setImmediate: $task.set, + setImmediate: $task.set, clearImmediate: $task.clear -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/modules/web.timers.js b/node_modules/core-js/library/modules/web.timers.js index 1a1da57f2..f1c7d047f 100644 --- a/node_modules/core-js/library/modules/web.timers.js +++ b/node_modules/core-js/library/modules/web.timers.js @@ -1,20 +1,21 @@ // ie9- setTimeout & setInterval additional parameters fix -var global = require('./_global') - , $export = require('./_export') - , invoke = require('./_invoke') - , partial = require('./_partial') - , navigator = global.navigator - , MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check -var wrap = function(set){ - return MSIE ? function(fn, time /*, ...args */){ +var global = require('./_global'); +var $export = require('./_export'); +var invoke = require('./_invoke'); +var partial = require('./_partial'); +var navigator = global.navigator; +var MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check +var wrap = function (set) { + return MSIE ? function (fn, time /* , ...args */) { return set(invoke( partial, [].slice.call(arguments, 2), + // eslint-disable-next-line no-new-func typeof fn == 'function' ? fn : Function(fn) ), time); } : set; }; $export($export.G + $export.B + $export.F * MSIE, { - setTimeout: wrap(global.setTimeout), + setTimeout: wrap(global.setTimeout), setInterval: wrap(global.setInterval) -});
\ No newline at end of file +}); diff --git a/node_modules/core-js/library/shim.js b/node_modules/core-js/library/shim.js index 6db125683..d865a2a3e 100644 --- a/node_modules/core-js/library/shim.js +++ b/node_modules/core-js/library/shim.js @@ -136,6 +136,8 @@ require('./modules/es6.reflect.prevent-extensions'); require('./modules/es6.reflect.set'); require('./modules/es6.reflect.set-prototype-of'); require('./modules/es7.array.includes'); +require('./modules/es7.array.flat-map'); +require('./modules/es7.array.flatten'); require('./modules/es7.string.at'); require('./modules/es7.string.pad-start'); require('./modules/es7.string.pad-end'); @@ -153,12 +155,31 @@ require('./modules/es7.object.lookup-getter'); require('./modules/es7.object.lookup-setter'); require('./modules/es7.map.to-json'); require('./modules/es7.set.to-json'); +require('./modules/es7.map.of'); +require('./modules/es7.set.of'); +require('./modules/es7.weak-map.of'); +require('./modules/es7.weak-set.of'); +require('./modules/es7.map.from'); +require('./modules/es7.set.from'); +require('./modules/es7.weak-map.from'); +require('./modules/es7.weak-set.from'); +require('./modules/es7.global'); require('./modules/es7.system.global'); require('./modules/es7.error.is-error'); +require('./modules/es7.math.clamp'); +require('./modules/es7.math.deg-per-rad'); +require('./modules/es7.math.degrees'); +require('./modules/es7.math.fscale'); require('./modules/es7.math.iaddh'); require('./modules/es7.math.isubh'); require('./modules/es7.math.imulh'); +require('./modules/es7.math.rad-per-deg'); +require('./modules/es7.math.radians'); +require('./modules/es7.math.scale'); require('./modules/es7.math.umulh'); +require('./modules/es7.math.signbit'); +require('./modules/es7.promise.finally'); +require('./modules/es7.promise.try'); require('./modules/es7.reflect.define-metadata'); require('./modules/es7.reflect.delete-metadata'); require('./modules/es7.reflect.get-metadata'); @@ -173,4 +194,4 @@ require('./modules/es7.observable'); require('./modules/web.timers'); require('./modules/web.immediate'); require('./modules/web.dom.iterable'); -module.exports = require('./modules/_core');
\ No newline at end of file +module.exports = require('./modules/_core'); diff --git a/node_modules/core-js/library/stage/0.js b/node_modules/core-js/library/stage/0.js index e89a005f0..4aa50704c 100644 --- a/node_modules/core-js/library/stage/0.js +++ b/node_modules/core-js/library/stage/0.js @@ -7,4 +7,4 @@ require('../modules/es7.math.isubh'); require('../modules/es7.math.imulh'); require('../modules/es7.math.umulh'); require('../modules/es7.asap'); -module.exports = require('./1');
\ No newline at end of file +module.exports = require('./1'); diff --git a/node_modules/core-js/library/stage/1.js b/node_modules/core-js/library/stage/1.js index 230fe13ad..5f634d80b 100644 --- a/node_modules/core-js/library/stage/1.js +++ b/node_modules/core-js/library/stage/1.js @@ -1,6 +1,23 @@ -require('../modules/es7.string.trim-left'); -require('../modules/es7.string.trim-right'); +require('../modules/es7.map.of'); +require('../modules/es7.set.of'); +require('../modules/es7.weak-map.of'); +require('../modules/es7.weak-set.of'); +require('../modules/es7.map.from'); +require('../modules/es7.set.from'); +require('../modules/es7.weak-map.from'); +require('../modules/es7.weak-set.from'); +require('../modules/es7.math.clamp'); +require('../modules/es7.math.deg-per-rad'); +require('../modules/es7.math.degrees'); +require('../modules/es7.math.fscale'); +require('../modules/es7.math.rad-per-deg'); +require('../modules/es7.math.radians'); +require('../modules/es7.math.scale'); +require('../modules/es7.math.signbit'); +require('../modules/es7.promise.try'); require('../modules/es7.string.match-all'); require('../modules/es7.symbol.observable'); require('../modules/es7.observable'); +require('../modules/es7.array.flat-map'); +require('../modules/es7.array.flatten'); module.exports = require('./2'); diff --git a/node_modules/core-js/library/stage/2.js b/node_modules/core-js/library/stage/2.js index ba444e1a7..8c08826c2 100644 --- a/node_modules/core-js/library/stage/2.js +++ b/node_modules/core-js/library/stage/2.js @@ -1,3 +1,4 @@ -require('../modules/es7.system.global'); require('../modules/es7.symbol.async-iterator'); +require('../modules/es7.string.trim-left'); +require('../modules/es7.string.trim-right'); module.exports = require('./3'); diff --git a/node_modules/core-js/library/stage/3.js b/node_modules/core-js/library/stage/3.js index c1ea400a9..9afd07fe9 100644 --- a/node_modules/core-js/library/stage/3.js +++ b/node_modules/core-js/library/stage/3.js @@ -1,4 +1,4 @@ -require('../modules/es7.object.get-own-property-descriptors'); -require('../modules/es7.string.pad-start'); -require('../modules/es7.string.pad-end'); +require('../modules/es7.global'); +require('../modules/es7.system.global'); +require('../modules/es7.promise.finally'); module.exports = require('./4'); diff --git a/node_modules/core-js/library/stage/4.js b/node_modules/core-js/library/stage/4.js index 0fb53ddd8..875762a23 100644 --- a/node_modules/core-js/library/stage/4.js +++ b/node_modules/core-js/library/stage/4.js @@ -4,5 +4,8 @@ require('../modules/es7.object.lookup-getter'); require('../modules/es7.object.lookup-setter'); require('../modules/es7.object.values'); require('../modules/es7.object.entries'); +require('../modules/es7.object.get-own-property-descriptors'); require('../modules/es7.array.includes'); +require('../modules/es7.string.pad-start'); +require('../modules/es7.string.pad-end'); module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/stage/index.js b/node_modules/core-js/library/stage/index.js index eb959140c..24dcf2e56 100644 --- a/node_modules/core-js/library/stage/index.js +++ b/node_modules/core-js/library/stage/index.js @@ -1 +1 @@ -module.exports = require('./pre');
\ No newline at end of file +module.exports = require('./pre'); diff --git a/node_modules/core-js/library/stage/pre.js b/node_modules/core-js/library/stage/pre.js index f3bc54d95..ed197a8ba 100644 --- a/node_modules/core-js/library/stage/pre.js +++ b/node_modules/core-js/library/stage/pre.js @@ -7,4 +7,4 @@ require('../modules/es7.reflect.get-own-metadata-keys'); require('../modules/es7.reflect.has-metadata'); require('../modules/es7.reflect.has-own-metadata'); require('../modules/es7.reflect.metadata'); -module.exports = require('./0');
\ No newline at end of file +module.exports = require('./0'); diff --git a/node_modules/core-js/library/web/dom-collections.js b/node_modules/core-js/library/web/dom-collections.js index 2118e3fe6..a138bb9dd 100644 --- a/node_modules/core-js/library/web/dom-collections.js +++ b/node_modules/core-js/library/web/dom-collections.js @@ -1,2 +1,2 @@ require('../modules/web.dom.iterable'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/web/immediate.js b/node_modules/core-js/library/web/immediate.js index 244ebb16f..6866abdeb 100644 --- a/node_modules/core-js/library/web/immediate.js +++ b/node_modules/core-js/library/web/immediate.js @@ -1,2 +1,2 @@ require('../modules/web.immediate'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/web/index.js b/node_modules/core-js/library/web/index.js index 6687d571e..66db256d6 100644 --- a/node_modules/core-js/library/web/index.js +++ b/node_modules/core-js/library/web/index.js @@ -1,4 +1,4 @@ require('../modules/web.timers'); require('../modules/web.immediate'); require('../modules/web.dom.iterable'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); diff --git a/node_modules/core-js/library/web/timers.js b/node_modules/core-js/library/web/timers.js index 2c66f4387..a3f528e4d 100644 --- a/node_modules/core-js/library/web/timers.js +++ b/node_modules/core-js/library/web/timers.js @@ -1,2 +1,2 @@ require('../modules/web.timers'); -module.exports = require('../modules/_core');
\ No newline at end of file +module.exports = require('../modules/_core'); |