core-js 2.4.1 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +341 -253
- package/Gruntfile.js +2 -1
- package/LICENSE +1 -1
- package/README.md +2289 -0
- package/bower.json +8 -6
- package/build/Gruntfile.ls +4 -2
- package/build/build.ls +5 -5
- package/build/config.js +23 -8
- package/build/index.js +5 -5
- package/client/core.js +7932 -6921
- package/client/core.min.js +5 -5
- package/client/core.min.js.map +1 -1
- package/client/library.js +7418 -6447
- package/client/library.min.js +5 -5
- package/client/library.min.js.map +1 -1
- package/client/shim.js +7549 -6615
- package/client/shim.min.js +5 -5
- package/client/shim.min.js.map +1 -1
- package/core/_.js +1 -1
- package/core/dict.js +1 -1
- package/core/number.js +1 -1
- package/core/regexp.js +1 -1
- package/core/string.js +1 -1
- package/es5/index.js +1 -1
- package/es6/array.js +1 -1
- package/es6/date.js +1 -1
- package/es6/function.js +1 -1
- package/es6/index.js +1 -1
- package/es6/map.js +1 -1
- package/es6/math.js +1 -1
- package/es6/number.js +1 -1
- package/es6/object.js +1 -1
- package/es6/parse-float.js +1 -1
- package/es6/parse-int.js +1 -1
- package/es6/promise.js +1 -1
- package/es6/reflect.js +1 -1
- package/es6/regexp.js +1 -1
- package/es6/set.js +1 -1
- package/es6/string.js +1 -1
- package/es6/symbol.js +1 -1
- package/es6/typed.js +1 -1
- package/es6/weak-map.js +1 -1
- package/es6/weak-set.js +1 -1
- package/es7/array.js +3 -1
- package/es7/error.js +1 -1
- package/es7/global.js +2 -0
- package/es7/index.js +20 -0
- package/es7/map.js +3 -1
- package/es7/math.js +8 -0
- package/es7/object.js +1 -1
- package/es7/observable.js +1 -1
- package/es7/promise.js +3 -0
- package/es7/set.js +3 -1
- package/es7/symbol.js +1 -1
- package/es7/system.js +1 -1
- package/es7/weak-map.js +3 -0
- package/es7/weak-set.js +3 -0
- package/fn/_.js +1 -1
- package/fn/array/concat.js +2 -2
- package/fn/array/copy-within.js +1 -1
- package/fn/array/entries.js +1 -1
- package/fn/array/every.js +1 -1
- package/fn/array/fill.js +1 -1
- package/fn/array/filter.js +1 -1
- package/fn/array/find-index.js +1 -1
- package/fn/array/find.js +1 -1
- package/fn/array/flat-map.js +2 -0
- package/fn/array/flatten.js +2 -0
- package/fn/array/for-each.js +1 -1
- package/fn/array/from.js +1 -1
- package/fn/array/includes.js +1 -1
- package/fn/array/index-of.js +1 -1
- package/fn/array/index.js +3 -1
- package/fn/array/is-array.js +1 -1
- package/fn/array/iterator.js +1 -1
- package/fn/array/join.js +1 -1
- package/fn/array/keys.js +1 -1
- package/fn/array/last-index-of.js +1 -1
- package/fn/array/map.js +1 -1
- package/fn/array/of.js +1 -1
- package/fn/array/pop.js +2 -2
- package/fn/array/push.js +2 -2
- package/fn/array/reduce-right.js +1 -1
- package/fn/array/reduce.js +1 -1
- package/fn/array/reverse.js +2 -2
- package/fn/array/shift.js +2 -2
- package/fn/array/slice.js +1 -1
- package/fn/array/some.js +1 -1
- package/fn/array/sort.js +1 -1
- package/fn/array/splice.js +2 -2
- package/fn/array/unshift.js +2 -2
- package/fn/array/values.js +1 -1
- package/fn/array/virtual/copy-within.js +1 -1
- package/fn/array/virtual/entries.js +1 -1
- package/fn/array/virtual/every.js +1 -1
- package/fn/array/virtual/fill.js +1 -1
- package/fn/array/virtual/filter.js +1 -1
- package/fn/array/virtual/find-index.js +1 -1
- package/fn/array/virtual/find.js +1 -1
- package/fn/array/virtual/flat-map.js +2 -0
- package/fn/array/virtual/flatten.js +2 -0
- package/fn/array/virtual/for-each.js +1 -1
- package/fn/array/virtual/includes.js +1 -1
- package/fn/array/virtual/index-of.js +1 -1
- package/fn/array/virtual/index.js +1 -1
- package/fn/array/virtual/iterator.js +2 -2
- package/fn/array/virtual/join.js +1 -1
- package/fn/array/virtual/keys.js +1 -1
- package/fn/array/virtual/last-index-of.js +1 -1
- package/fn/array/virtual/map.js +1 -1
- package/fn/array/virtual/reduce-right.js +1 -1
- package/fn/array/virtual/reduce.js +1 -1
- package/fn/array/virtual/slice.js +1 -1
- package/fn/array/virtual/some.js +1 -1
- package/fn/array/virtual/sort.js +1 -1
- package/fn/array/virtual/values.js +2 -2
- package/fn/asap.js +1 -1
- package/fn/clear-immediate.js +1 -1
- package/fn/date/index.js +1 -1
- package/fn/date/now.js +1 -1
- package/fn/date/to-iso-string.js +1 -1
- package/fn/date/to-json.js +1 -1
- package/fn/date/to-primitive.js +2 -2
- package/fn/date/to-string.js +3 -3
- package/fn/dict.js +1 -1
- package/fn/dom-collections/index.js +4 -4
- package/fn/dom-collections/iterator.js +1 -1
- package/fn/error/index.js +1 -1
- package/fn/error/is-error.js +1 -1
- package/fn/function/bind.js +1 -1
- package/fn/function/has-instance.js +1 -1
- package/fn/function/name.js +1 -1
- package/fn/function/part.js +1 -1
- package/fn/function/virtual/bind.js +1 -1
- package/fn/function/virtual/index.js +1 -1
- package/fn/function/virtual/part.js +1 -1
- package/fn/get-iterator-method.js +1 -1
- package/fn/get-iterator.js +1 -1
- package/fn/global.js +2 -0
- package/fn/is-iterable.js +1 -1
- package/fn/json/index.js +1 -1
- package/fn/json/stringify.js +4 -4
- package/fn/map/from.js +8 -0
- package/fn/map/index.js +8 -0
- package/fn/map/of.js +8 -0
- package/fn/map.js +3 -1
- package/fn/math/acosh.js +1 -1
- package/fn/math/asinh.js +1 -1
- package/fn/math/atanh.js +1 -1
- package/fn/math/cbrt.js +1 -1
- package/fn/math/clamp.js +2 -0
- package/fn/math/clz32.js +1 -1
- package/fn/math/cosh.js +1 -1
- package/fn/math/deg-per-rad.js +2 -0
- package/fn/math/degrees.js +2 -0
- package/fn/math/expm1.js +1 -1
- package/fn/math/fround.js +1 -1
- package/fn/math/fscale.js +2 -0
- package/fn/math/hypot.js +1 -1
- package/fn/math/iaddh.js +1 -1
- package/fn/math/imul.js +1 -1
- package/fn/math/imulh.js +1 -1
- package/fn/math/index.js +9 -1
- package/fn/math/isubh.js +1 -1
- package/fn/math/log10.js +1 -1
- package/fn/math/log1p.js +1 -1
- package/fn/math/log2.js +1 -1
- package/fn/math/rad-per-deg.js +2 -0
- package/fn/math/radians.js +2 -0
- package/fn/math/scale.js +2 -0
- package/fn/math/sign.js +1 -1
- package/fn/math/signbit.js +3 -0
- package/fn/math/sinh.js +1 -1
- package/fn/math/tanh.js +1 -1
- package/fn/math/trunc.js +1 -1
- package/fn/math/umulh.js +1 -1
- package/fn/number/constructor.js +1 -1
- package/fn/number/epsilon.js +1 -1
- package/fn/number/index.js +1 -1
- package/fn/number/is-finite.js +1 -1
- package/fn/number/is-integer.js +1 -1
- package/fn/number/is-nan.js +1 -1
- package/fn/number/is-safe-integer.js +1 -1
- package/fn/number/iterator.js +2 -2
- package/fn/number/max-safe-integer.js +1 -1
- package/fn/number/min-safe-integer.js +1 -1
- package/fn/number/parse-float.js +1 -1
- package/fn/number/parse-int.js +1 -1
- package/fn/number/to-fixed.js +1 -1
- package/fn/number/to-precision.js +1 -1
- package/fn/number/virtual/index.js +1 -1
- package/fn/number/virtual/iterator.js +1 -1
- package/fn/number/virtual/to-fixed.js +1 -1
- package/fn/number/virtual/to-precision.js +1 -1
- package/fn/object/assign.js +1 -1
- package/fn/object/classof.js +1 -1
- package/fn/object/create.js +2 -2
- package/fn/object/define-getter.js +1 -1
- package/fn/object/define-properties.js +2 -2
- package/fn/object/define-property.js +2 -2
- package/fn/object/define-setter.js +1 -1
- package/fn/object/define.js +1 -1
- package/fn/object/entries.js +1 -1
- package/fn/object/freeze.js +1 -1
- package/fn/object/get-own-property-descriptor.js +2 -2
- package/fn/object/get-own-property-descriptors.js +1 -1
- package/fn/object/get-own-property-names.js +2 -2
- package/fn/object/get-own-property-symbols.js +1 -1
- package/fn/object/get-prototype-of.js +1 -1
- package/fn/object/index.js +1 -1
- package/fn/object/is-extensible.js +1 -1
- package/fn/object/is-frozen.js +1 -1
- package/fn/object/is-object.js +1 -1
- package/fn/object/is-sealed.js +1 -1
- package/fn/object/is.js +1 -1
- package/fn/object/keys.js +1 -1
- package/fn/object/lookup-getter.js +1 -1
- package/fn/object/lookup-setter.js +1 -1
- package/fn/object/make.js +1 -1
- package/fn/object/prevent-extensions.js +1 -1
- package/fn/object/seal.js +1 -1
- package/fn/object/set-prototype-of.js +1 -1
- package/fn/object/values.js +1 -1
- package/fn/observable.js +1 -1
- package/fn/parse-float.js +1 -1
- package/fn/parse-int.js +1 -1
- package/fn/promise/finally.js +4 -0
- package/fn/promise/index.js +7 -0
- package/fn/promise/try.js +8 -0
- package/fn/promise.js +3 -1
- package/fn/reflect/apply.js +1 -1
- package/fn/reflect/construct.js +1 -1
- package/fn/reflect/define-metadata.js +1 -1
- package/fn/reflect/define-property.js +1 -1
- package/fn/reflect/delete-metadata.js +1 -1
- package/fn/reflect/delete-property.js +1 -1
- package/fn/reflect/enumerate.js +1 -1
- package/fn/reflect/get-metadata-keys.js +1 -1
- package/fn/reflect/get-metadata.js +1 -1
- package/fn/reflect/get-own-metadata-keys.js +1 -1
- package/fn/reflect/get-own-metadata.js +1 -1
- package/fn/reflect/get-own-property-descriptor.js +1 -1
- package/fn/reflect/get-prototype-of.js +1 -1
- package/fn/reflect/get.js +1 -1
- package/fn/reflect/has-metadata.js +1 -1
- package/fn/reflect/has-own-metadata.js +1 -1
- package/fn/reflect/has.js +1 -1
- package/fn/reflect/index.js +1 -1
- package/fn/reflect/is-extensible.js +1 -1
- package/fn/reflect/metadata.js +1 -1
- package/fn/reflect/own-keys.js +1 -1
- package/fn/reflect/prevent-extensions.js +1 -1
- package/fn/reflect/set-prototype-of.js +1 -1
- package/fn/reflect/set.js +1 -1
- package/fn/regexp/constructor.js +1 -1
- package/fn/regexp/escape.js +1 -1
- package/fn/regexp/flags.js +2 -2
- package/fn/regexp/index.js +1 -1
- package/fn/regexp/match.js +2 -2
- package/fn/regexp/replace.js +2 -2
- package/fn/regexp/search.js +2 -2
- package/fn/regexp/split.js +2 -2
- package/fn/regexp/to-string.js +2 -2
- package/fn/set/from.js +8 -0
- package/fn/set/index.js +8 -0
- package/fn/set/of.js +8 -0
- package/fn/set-immediate.js +1 -1
- package/fn/set-interval.js +1 -1
- package/fn/set-timeout.js +1 -1
- package/fn/set.js +3 -1
- package/fn/string/anchor.js +1 -1
- package/fn/string/at.js +1 -1
- package/fn/string/big.js +1 -1
- package/fn/string/blink.js +1 -1
- package/fn/string/bold.js +1 -1
- package/fn/string/code-point-at.js +1 -1
- package/fn/string/ends-with.js +1 -1
- package/fn/string/escape-html.js +1 -1
- package/fn/string/fixed.js +1 -1
- package/fn/string/fontcolor.js +1 -1
- package/fn/string/fontsize.js +1 -1
- package/fn/string/from-code-point.js +1 -1
- package/fn/string/includes.js +1 -1
- package/fn/string/italics.js +1 -1
- package/fn/string/iterator.js +2 -2
- package/fn/string/link.js +1 -1
- package/fn/string/match-all.js +1 -1
- package/fn/string/raw.js +1 -1
- package/fn/string/repeat.js +1 -1
- package/fn/string/small.js +1 -1
- package/fn/string/starts-with.js +1 -1
- package/fn/string/strike.js +1 -1
- package/fn/string/sub.js +1 -1
- package/fn/string/sup.js +1 -1
- package/fn/string/trim-end.js +1 -1
- package/fn/string/trim-left.js +1 -1
- package/fn/string/trim-right.js +1 -1
- package/fn/string/trim-start.js +1 -1
- package/fn/string/trim.js +1 -1
- package/fn/string/unescape-html.js +1 -1
- package/fn/string/virtual/anchor.js +1 -1
- package/fn/string/virtual/at.js +1 -1
- package/fn/string/virtual/big.js +1 -1
- package/fn/string/virtual/blink.js +1 -1
- package/fn/string/virtual/bold.js +1 -1
- package/fn/string/virtual/code-point-at.js +1 -1
- package/fn/string/virtual/ends-with.js +1 -1
- package/fn/string/virtual/escape-html.js +1 -1
- package/fn/string/virtual/fixed.js +1 -1
- package/fn/string/virtual/fontcolor.js +1 -1
- package/fn/string/virtual/fontsize.js +1 -1
- package/fn/string/virtual/includes.js +1 -1
- package/fn/string/virtual/italics.js +1 -1
- package/fn/string/virtual/iterator.js +2 -2
- package/fn/string/virtual/link.js +1 -1
- package/fn/string/virtual/match-all.js +1 -1
- package/fn/string/virtual/pad-end.js +1 -1
- package/fn/string/virtual/pad-start.js +1 -1
- package/fn/string/virtual/repeat.js +1 -1
- package/fn/string/virtual/small.js +1 -1
- package/fn/string/virtual/starts-with.js +1 -1
- package/fn/string/virtual/strike.js +1 -1
- package/fn/string/virtual/sub.js +1 -1
- package/fn/string/virtual/sup.js +1 -1
- package/fn/string/virtual/trim-end.js +1 -1
- package/fn/string/virtual/trim-left.js +1 -1
- package/fn/string/virtual/trim-right.js +1 -1
- package/fn/string/virtual/trim-start.js +1 -1
- package/fn/string/virtual/trim.js +1 -1
- package/fn/string/virtual/unescape-html.js +1 -1
- package/fn/symbol/async-iterator.js +1 -1
- package/fn/symbol/for.js +1 -1
- package/fn/symbol/has-instance.js +1 -1
- package/fn/symbol/index.js +1 -1
- package/fn/symbol/is-concat-spreadable.js +1 -1
- package/fn/symbol/iterator.js +1 -1
- package/fn/symbol/key-for.js +1 -1
- package/fn/symbol/match.js +1 -1
- package/fn/symbol/observable.js +1 -1
- package/fn/symbol/replace.js +1 -1
- package/fn/symbol/search.js +1 -1
- package/fn/symbol/species.js +1 -1
- package/fn/symbol/split.js +1 -1
- package/fn/symbol/to-primitive.js +1 -1
- package/fn/symbol/to-string-tag.js +1 -1
- package/fn/symbol/unscopables.js +1 -1
- package/fn/system/global.js +1 -1
- package/fn/system/index.js +1 -1
- package/fn/typed/array-buffer.js +1 -1
- package/fn/typed/data-view.js +1 -1
- package/fn/typed/float32-array.js +1 -1
- package/fn/typed/float64-array.js +1 -1
- package/fn/typed/index.js +1 -1
- package/fn/typed/int16-array.js +1 -1
- package/fn/typed/int32-array.js +1 -1
- package/fn/typed/int8-array.js +1 -1
- package/fn/typed/uint16-array.js +1 -1
- package/fn/typed/uint32-array.js +1 -1
- package/fn/typed/uint8-array.js +1 -1
- package/fn/typed/uint8-clamped-array.js +1 -1
- package/fn/weak-map/from.js +8 -0
- package/fn/weak-map/index.js +6 -0
- package/fn/weak-map/of.js +8 -0
- package/fn/weak-map.js +3 -1
- package/fn/weak-set/from.js +8 -0
- package/fn/weak-set/index.js +6 -0
- package/fn/weak-set/of.js +8 -0
- package/fn/weak-set.js +3 -1
- package/index.js +1 -1
- package/library/core/_.js +1 -1
- package/library/core/dict.js +1 -1
- package/library/core/number.js +1 -1
- package/library/core/regexp.js +1 -1
- package/library/core/string.js +1 -1
- package/library/es5/index.js +1 -1
- package/library/es6/array.js +1 -1
- package/library/es6/date.js +1 -1
- package/library/es6/function.js +1 -1
- package/library/es6/index.js +1 -1
- package/library/es6/map.js +1 -1
- package/library/es6/math.js +1 -1
- package/library/es6/number.js +1 -1
- package/library/es6/object.js +1 -1
- package/library/es6/parse-float.js +1 -1
- package/library/es6/parse-int.js +1 -1
- package/library/es6/promise.js +1 -1
- package/library/es6/reflect.js +1 -1
- package/library/es6/regexp.js +1 -1
- package/library/es6/set.js +1 -1
- package/library/es6/string.js +1 -1
- package/library/es6/symbol.js +1 -1
- package/library/es6/typed.js +1 -1
- package/library/es6/weak-map.js +1 -1
- package/library/es6/weak-set.js +1 -1
- package/library/es7/array.js +3 -1
- package/library/es7/error.js +1 -1
- package/library/es7/global.js +2 -0
- package/library/es7/index.js +20 -0
- package/library/es7/map.js +3 -1
- package/library/es7/math.js +8 -0
- package/library/es7/object.js +1 -1
- package/library/es7/observable.js +1 -1
- package/library/es7/promise.js +3 -0
- package/library/es7/set.js +3 -1
- package/library/es7/symbol.js +1 -1
- package/library/es7/system.js +1 -1
- package/library/es7/weak-map.js +3 -0
- package/library/es7/weak-set.js +3 -0
- package/library/fn/_.js +1 -1
- package/library/fn/array/concat.js +2 -2
- package/library/fn/array/copy-within.js +1 -1
- package/library/fn/array/entries.js +1 -1
- package/library/fn/array/every.js +1 -1
- package/library/fn/array/fill.js +1 -1
- package/library/fn/array/filter.js +1 -1
- package/library/fn/array/find-index.js +1 -1
- package/library/fn/array/find.js +1 -1
- package/library/fn/array/flat-map.js +2 -0
- package/library/fn/array/flatten.js +2 -0
- package/library/fn/array/for-each.js +1 -1
- package/library/fn/array/from.js +1 -1
- package/library/fn/array/includes.js +1 -1
- package/library/fn/array/index-of.js +1 -1
- package/library/fn/array/index.js +3 -1
- package/library/fn/array/is-array.js +1 -1
- package/library/fn/array/iterator.js +1 -1
- package/library/fn/array/join.js +1 -1
- package/library/fn/array/keys.js +1 -1
- package/library/fn/array/last-index-of.js +1 -1
- package/library/fn/array/map.js +1 -1
- package/library/fn/array/of.js +1 -1
- package/library/fn/array/pop.js +2 -2
- package/library/fn/array/push.js +2 -2
- package/library/fn/array/reduce-right.js +1 -1
- package/library/fn/array/reduce.js +1 -1
- package/library/fn/array/reverse.js +2 -2
- package/library/fn/array/shift.js +2 -2
- package/library/fn/array/slice.js +1 -1
- package/library/fn/array/some.js +1 -1
- package/library/fn/array/sort.js +1 -1
- package/library/fn/array/splice.js +2 -2
- package/library/fn/array/unshift.js +2 -2
- package/library/fn/array/values.js +1 -1
- package/library/fn/array/virtual/copy-within.js +1 -1
- package/library/fn/array/virtual/entries.js +1 -1
- package/library/fn/array/virtual/every.js +1 -1
- package/library/fn/array/virtual/fill.js +1 -1
- package/library/fn/array/virtual/filter.js +1 -1
- package/library/fn/array/virtual/find-index.js +1 -1
- package/library/fn/array/virtual/find.js +1 -1
- package/library/fn/array/virtual/flat-map.js +2 -0
- package/library/fn/array/virtual/flatten.js +2 -0
- package/library/fn/array/virtual/for-each.js +1 -1
- package/library/fn/array/virtual/includes.js +1 -1
- package/library/fn/array/virtual/index-of.js +1 -1
- package/library/fn/array/virtual/index.js +1 -1
- package/library/fn/array/virtual/iterator.js +2 -2
- package/library/fn/array/virtual/join.js +1 -1
- package/library/fn/array/virtual/keys.js +1 -1
- package/library/fn/array/virtual/last-index-of.js +1 -1
- package/library/fn/array/virtual/map.js +1 -1
- package/library/fn/array/virtual/reduce-right.js +1 -1
- package/library/fn/array/virtual/reduce.js +1 -1
- package/library/fn/array/virtual/slice.js +1 -1
- package/library/fn/array/virtual/some.js +1 -1
- package/library/fn/array/virtual/sort.js +1 -1
- package/library/fn/array/virtual/values.js +2 -2
- package/library/fn/asap.js +1 -1
- package/library/fn/clear-immediate.js +1 -1
- package/library/fn/date/index.js +1 -1
- package/library/fn/date/now.js +1 -1
- package/library/fn/date/to-iso-string.js +1 -1
- package/library/fn/date/to-json.js +1 -1
- package/library/fn/date/to-primitive.js +2 -2
- package/library/fn/date/to-string.js +3 -3
- package/library/fn/dict.js +1 -1
- package/library/fn/dom-collections/index.js +4 -4
- package/library/fn/dom-collections/iterator.js +1 -1
- package/library/fn/error/index.js +1 -1
- package/library/fn/error/is-error.js +1 -1
- package/library/fn/function/bind.js +1 -1
- package/library/fn/function/has-instance.js +1 -1
- package/library/fn/function/name.js +1 -1
- package/library/fn/function/part.js +1 -1
- package/library/fn/function/virtual/bind.js +1 -1
- package/library/fn/function/virtual/index.js +1 -1
- package/library/fn/function/virtual/part.js +1 -1
- package/library/fn/get-iterator-method.js +1 -1
- package/library/fn/get-iterator.js +1 -1
- package/library/fn/global.js +2 -0
- package/library/fn/is-iterable.js +1 -1
- package/library/fn/json/index.js +1 -1
- package/library/fn/json/stringify.js +4 -4
- package/library/fn/map/from.js +8 -0
- package/library/fn/map/index.js +8 -0
- package/library/fn/map/of.js +8 -0
- package/library/fn/map.js +3 -1
- package/library/fn/math/acosh.js +1 -1
- package/library/fn/math/asinh.js +1 -1
- package/library/fn/math/atanh.js +1 -1
- package/library/fn/math/cbrt.js +1 -1
- package/library/fn/math/clamp.js +2 -0
- package/library/fn/math/clz32.js +1 -1
- package/library/fn/math/cosh.js +1 -1
- package/library/fn/math/deg-per-rad.js +2 -0
- package/library/fn/math/degrees.js +2 -0
- package/library/fn/math/expm1.js +1 -1
- package/library/fn/math/fround.js +1 -1
- package/library/fn/math/fscale.js +2 -0
- package/library/fn/math/hypot.js +1 -1
- package/library/fn/math/iaddh.js +1 -1
- package/library/fn/math/imul.js +1 -1
- package/library/fn/math/imulh.js +1 -1
- package/library/fn/math/index.js +9 -1
- package/library/fn/math/isubh.js +1 -1
- package/library/fn/math/log10.js +1 -1
- package/library/fn/math/log1p.js +1 -1
- package/library/fn/math/log2.js +1 -1
- package/library/fn/math/rad-per-deg.js +2 -0
- package/library/fn/math/radians.js +2 -0
- package/library/fn/math/scale.js +2 -0
- package/library/fn/math/sign.js +1 -1
- package/library/fn/math/signbit.js +3 -0
- package/library/fn/math/sinh.js +1 -1
- package/library/fn/math/tanh.js +1 -1
- package/library/fn/math/trunc.js +1 -1
- package/library/fn/math/umulh.js +1 -1
- package/library/fn/number/constructor.js +1 -1
- package/library/fn/number/epsilon.js +1 -1
- package/library/fn/number/index.js +1 -1
- package/library/fn/number/is-finite.js +1 -1
- package/library/fn/number/is-integer.js +1 -1
- package/library/fn/number/is-nan.js +1 -1
- package/library/fn/number/is-safe-integer.js +1 -1
- package/library/fn/number/iterator.js +2 -2
- package/library/fn/number/max-safe-integer.js +1 -1
- package/library/fn/number/min-safe-integer.js +1 -1
- package/library/fn/number/parse-float.js +1 -1
- package/library/fn/number/parse-int.js +1 -1
- package/library/fn/number/to-fixed.js +1 -1
- package/library/fn/number/to-precision.js +1 -1
- package/library/fn/number/virtual/index.js +1 -1
- package/library/fn/number/virtual/iterator.js +1 -1
- package/library/fn/number/virtual/to-fixed.js +1 -1
- package/library/fn/number/virtual/to-precision.js +1 -1
- package/library/fn/object/assign.js +1 -1
- package/library/fn/object/classof.js +1 -1
- package/library/fn/object/create.js +2 -2
- package/library/fn/object/define-getter.js +1 -1
- package/library/fn/object/define-properties.js +2 -2
- package/library/fn/object/define-property.js +2 -2
- package/library/fn/object/define-setter.js +1 -1
- package/library/fn/object/define.js +1 -1
- package/library/fn/object/entries.js +1 -1
- package/library/fn/object/freeze.js +1 -1
- package/library/fn/object/get-own-property-descriptor.js +2 -2
- package/library/fn/object/get-own-property-descriptors.js +1 -1
- package/library/fn/object/get-own-property-names.js +2 -2
- package/library/fn/object/get-own-property-symbols.js +1 -1
- package/library/fn/object/get-prototype-of.js +1 -1
- package/library/fn/object/index.js +1 -1
- package/library/fn/object/is-extensible.js +1 -1
- package/library/fn/object/is-frozen.js +1 -1
- package/library/fn/object/is-object.js +1 -1
- package/library/fn/object/is-sealed.js +1 -1
- package/library/fn/object/is.js +1 -1
- package/library/fn/object/keys.js +1 -1
- package/library/fn/object/lookup-getter.js +1 -1
- package/library/fn/object/lookup-setter.js +1 -1
- package/library/fn/object/make.js +1 -1
- package/library/fn/object/prevent-extensions.js +1 -1
- package/library/fn/object/seal.js +1 -1
- package/library/fn/object/set-prototype-of.js +1 -1
- package/library/fn/object/values.js +1 -1
- package/library/fn/observable.js +1 -1
- package/library/fn/parse-float.js +1 -1
- package/library/fn/parse-int.js +1 -1
- package/library/fn/promise/finally.js +4 -0
- package/library/fn/promise/index.js +7 -0
- package/library/fn/promise/try.js +8 -0
- package/library/fn/promise.js +3 -1
- package/library/fn/reflect/apply.js +1 -1
- package/library/fn/reflect/construct.js +1 -1
- package/library/fn/reflect/define-metadata.js +1 -1
- package/library/fn/reflect/define-property.js +1 -1
- package/library/fn/reflect/delete-metadata.js +1 -1
- package/library/fn/reflect/delete-property.js +1 -1
- package/library/fn/reflect/enumerate.js +1 -1
- package/library/fn/reflect/get-metadata-keys.js +1 -1
- package/library/fn/reflect/get-metadata.js +1 -1
- package/library/fn/reflect/get-own-metadata-keys.js +1 -1
- package/library/fn/reflect/get-own-metadata.js +1 -1
- package/library/fn/reflect/get-own-property-descriptor.js +1 -1
- package/library/fn/reflect/get-prototype-of.js +1 -1
- package/library/fn/reflect/get.js +1 -1
- package/library/fn/reflect/has-metadata.js +1 -1
- package/library/fn/reflect/has-own-metadata.js +1 -1
- package/library/fn/reflect/has.js +1 -1
- package/library/fn/reflect/index.js +1 -1
- package/library/fn/reflect/is-extensible.js +1 -1
- package/library/fn/reflect/metadata.js +1 -1
- package/library/fn/reflect/own-keys.js +1 -1
- package/library/fn/reflect/prevent-extensions.js +1 -1
- package/library/fn/reflect/set-prototype-of.js +1 -1
- package/library/fn/reflect/set.js +1 -1
- package/library/fn/regexp/constructor.js +1 -1
- package/library/fn/regexp/escape.js +1 -1
- package/library/fn/regexp/flags.js +2 -2
- package/library/fn/regexp/index.js +1 -1
- package/library/fn/regexp/match.js +2 -2
- package/library/fn/regexp/replace.js +2 -2
- package/library/fn/regexp/search.js +2 -2
- package/library/fn/regexp/split.js +2 -2
- package/library/fn/regexp/to-string.js +2 -2
- package/library/fn/set/from.js +8 -0
- package/library/fn/set/index.js +8 -0
- package/library/fn/set/of.js +8 -0
- package/library/fn/set-immediate.js +1 -1
- package/library/fn/set-interval.js +1 -1
- package/library/fn/set-timeout.js +1 -1
- package/library/fn/set.js +3 -1
- package/library/fn/string/anchor.js +1 -1
- package/library/fn/string/at.js +1 -1
- package/library/fn/string/big.js +1 -1
- package/library/fn/string/blink.js +1 -1
- package/library/fn/string/bold.js +1 -1
- package/library/fn/string/code-point-at.js +1 -1
- package/library/fn/string/ends-with.js +1 -1
- package/library/fn/string/escape-html.js +1 -1
- package/library/fn/string/fixed.js +1 -1
- package/library/fn/string/fontcolor.js +1 -1
- package/library/fn/string/fontsize.js +1 -1
- package/library/fn/string/from-code-point.js +1 -1
- package/library/fn/string/includes.js +1 -1
- package/library/fn/string/italics.js +1 -1
- package/library/fn/string/iterator.js +2 -2
- package/library/fn/string/link.js +1 -1
- package/library/fn/string/match-all.js +1 -1
- package/library/fn/string/raw.js +1 -1
- package/library/fn/string/repeat.js +1 -1
- package/library/fn/string/small.js +1 -1
- package/library/fn/string/starts-with.js +1 -1
- package/library/fn/string/strike.js +1 -1
- package/library/fn/string/sub.js +1 -1
- package/library/fn/string/sup.js +1 -1
- package/library/fn/string/trim-end.js +1 -1
- package/library/fn/string/trim-left.js +1 -1
- package/library/fn/string/trim-right.js +1 -1
- package/library/fn/string/trim-start.js +1 -1
- package/library/fn/string/trim.js +1 -1
- package/library/fn/string/unescape-html.js +1 -1
- package/library/fn/string/virtual/anchor.js +1 -1
- package/library/fn/string/virtual/at.js +1 -1
- package/library/fn/string/virtual/big.js +1 -1
- package/library/fn/string/virtual/blink.js +1 -1
- package/library/fn/string/virtual/bold.js +1 -1
- package/library/fn/string/virtual/code-point-at.js +1 -1
- package/library/fn/string/virtual/ends-with.js +1 -1
- package/library/fn/string/virtual/escape-html.js +1 -1
- package/library/fn/string/virtual/fixed.js +1 -1
- package/library/fn/string/virtual/fontcolor.js +1 -1
- package/library/fn/string/virtual/fontsize.js +1 -1
- package/library/fn/string/virtual/includes.js +1 -1
- package/library/fn/string/virtual/italics.js +1 -1
- package/library/fn/string/virtual/iterator.js +2 -2
- package/library/fn/string/virtual/link.js +1 -1
- package/library/fn/string/virtual/match-all.js +1 -1
- package/library/fn/string/virtual/pad-end.js +1 -1
- package/library/fn/string/virtual/pad-start.js +1 -1
- package/library/fn/string/virtual/repeat.js +1 -1
- package/library/fn/string/virtual/small.js +1 -1
- package/library/fn/string/virtual/starts-with.js +1 -1
- package/library/fn/string/virtual/strike.js +1 -1
- package/library/fn/string/virtual/sub.js +1 -1
- package/library/fn/string/virtual/sup.js +1 -1
- package/library/fn/string/virtual/trim-end.js +1 -1
- package/library/fn/string/virtual/trim-left.js +1 -1
- package/library/fn/string/virtual/trim-right.js +1 -1
- package/library/fn/string/virtual/trim-start.js +1 -1
- package/library/fn/string/virtual/trim.js +1 -1
- package/library/fn/string/virtual/unescape-html.js +1 -1
- package/library/fn/symbol/async-iterator.js +1 -1
- package/library/fn/symbol/for.js +1 -1
- package/library/fn/symbol/has-instance.js +1 -1
- package/library/fn/symbol/index.js +1 -1
- package/library/fn/symbol/is-concat-spreadable.js +1 -1
- package/library/fn/symbol/iterator.js +1 -1
- package/library/fn/symbol/key-for.js +1 -1
- package/library/fn/symbol/match.js +1 -1
- package/library/fn/symbol/observable.js +1 -1
- package/library/fn/symbol/replace.js +1 -1
- package/library/fn/symbol/search.js +1 -1
- package/library/fn/symbol/species.js +1 -1
- package/library/fn/symbol/split.js +1 -1
- package/library/fn/symbol/to-primitive.js +1 -1
- package/library/fn/symbol/to-string-tag.js +1 -1
- package/library/fn/symbol/unscopables.js +1 -1
- package/library/fn/system/global.js +1 -1
- package/library/fn/system/index.js +1 -1
- package/library/fn/typed/array-buffer.js +1 -1
- package/library/fn/typed/data-view.js +1 -1
- package/library/fn/typed/float32-array.js +1 -1
- package/library/fn/typed/float64-array.js +1 -1
- package/library/fn/typed/index.js +1 -1
- package/library/fn/typed/int16-array.js +1 -1
- package/library/fn/typed/int32-array.js +1 -1
- package/library/fn/typed/int8-array.js +1 -1
- package/library/fn/typed/uint16-array.js +1 -1
- package/library/fn/typed/uint32-array.js +1 -1
- package/library/fn/typed/uint8-array.js +1 -1
- package/library/fn/typed/uint8-clamped-array.js +1 -1
- package/library/fn/weak-map/from.js +8 -0
- package/library/fn/weak-map/index.js +6 -0
- package/library/fn/weak-map/of.js +8 -0
- package/library/fn/weak-map.js +3 -1
- package/library/fn/weak-set/from.js +8 -0
- package/library/fn/weak-set/index.js +6 -0
- package/library/fn/weak-set/of.js +8 -0
- package/library/fn/weak-set.js +3 -1
- package/library/index.js +1 -1
- package/library/modules/_a-function.js +3 -3
- package/library/modules/_a-number-value.js +3 -3
- package/library/modules/_add-to-unscopables.js +1 -1
- package/library/modules/_an-instance.js +3 -3
- package/library/modules/_an-object.js +3 -3
- package/library/modules/_array-copy-within.js +18 -18
- package/library/modules/_array-fill.js +12 -12
- package/library/modules/_array-from-iterable.js +1 -1
- package/library/modules/_array-includes.js +17 -15
- package/library/modules/_array-methods.js +31 -31
- package/library/modules/_array-reduce.js +15 -15
- package/library/modules/_array-species-constructor.js +9 -9
- package/library/modules/_array-species-create.js +2 -2
- package/library/modules/_bind.js +15 -14
- package/library/modules/_classof.js +8 -8
- package/library/modules/_cof.js +2 -2
- package/library/modules/_collection-strong.js +69 -67
- package/library/modules/_collection-to-json.js +6 -6
- package/library/modules/_collection-weak.js +38 -36
- package/library/modules/_collection.js +31 -31
- package/library/modules/_core.js +2 -2
- package/library/modules/_create-property.js +5 -5
- package/library/modules/_ctx.js +8 -8
- package/library/modules/_date-to-iso-string.js +26 -0
- package/library/modules/_date-to-primitive.js +6 -6
- package/library/modules/_defined.js +3 -3
- package/library/modules/_descriptors.js +3 -3
- package/library/modules/_dom-create.js +6 -6
- package/library/modules/_entry-virtual.js +2 -2
- package/library/modules/_enum-bug-keys.js +1 -1
- package/library/modules/_enum-keys.js +13 -13
- package/library/modules/_export.js +28 -28
- package/library/modules/_fails-is-regexp.js +4 -4
- package/library/modules/_fails.js +3 -3
- package/library/modules/_fix-re-wks.js +16 -16
- package/library/modules/_flags.js +9 -9
- package/library/modules/_flatten-into-array.js +39 -0
- package/library/modules/_for-of.js +20 -20
- package/library/modules/_global.js +4 -2
- package/library/modules/_has.js +2 -2
- package/library/modules/_hide.js +5 -5
- package/library/modules/_html.js +2 -1
- package/library/modules/_ie8-dom-define.js +3 -3
- package/library/modules/_inherit-if-required.js +7 -6
- package/library/modules/_invoke.js +4 -4
- package/library/modules/_iobject.js +3 -2
- package/library/modules/_is-array-iter.js +5 -5
- package/library/modules/_is-array.js +2 -2
- package/library/modules/_is-integer.js +4 -4
- package/library/modules/_is-object.js +2 -2
- package/library/modules/_is-regexp.js +5 -5
- package/library/modules/_iter-call.js +4 -4
- package/library/modules/_iter-create.js +8 -8
- package/library/modules/_iter-define.js +45 -45
- package/library/modules/_iter-detect.js +14 -13
- package/library/modules/_iter-step.js +3 -3
- package/library/modules/_iterators.js +1 -1
- package/library/modules/_keyof.js +10 -10
- package/library/modules/_library.js +1 -1
- package/library/modules/_math-expm1.js +2 -2
- package/library/modules/_math-fround.js +23 -0
- package/library/modules/_math-log1p.js +2 -2
- package/library/modules/_math-scale.js +18 -0
- package/library/modules/_math-sign.js +3 -2
- package/library/modules/_meta.js +26 -26
- package/library/modules/_metadata.js +21 -21
- package/library/modules/_microtask.js +30 -30
- package/library/modules/_new-promise-capability.js +18 -0
- package/library/modules/_object-assign.js +27 -26
- package/library/modules/_object-create.js +16 -16
- package/library/modules/_object-define.js +11 -10
- package/library/modules/_object-dp.js +10 -10
- package/library/modules/_object-dps.js +10 -10
- package/library/modules/_object-forced-pam.js +5 -3
- package/library/modules/_object-gopd.js +12 -12
- package/library/modules/_object-gopn-ext.js +6 -6
- package/library/modules/_object-gopn.js +4 -4
- package/library/modules/_object-gops.js +1 -1
- package/library/modules/_object-gpo.js +8 -8
- package/library/modules/_object-keys-internal.js +12 -12
- package/library/modules/_object-keys.js +4 -4
- package/library/modules/_object-pie.js +1 -1
- package/library/modules/_object-sap.js +8 -8
- package/library/modules/_object-to-array.js +13 -13
- package/library/modules/_own-keys.js +8 -8
- package/library/modules/_parse-float.js +6 -6
- package/library/modules/_parse-int.js +6 -6
- package/library/modules/_partial.js +21 -19
- package/library/modules/_path.js +1 -1
- package/library/modules/_perform.js +7 -0
- package/library/modules/_promise-resolve.js +12 -0
- package/library/modules/_property-desc.js +5 -5
- package/library/modules/_redefine-all.js +4 -4
- package/library/modules/_redefine.js +1 -1
- package/library/modules/_replacer.js +4 -4
- package/library/modules/_same-value.js +3 -2
- package/library/modules/_set-collection-from.js +28 -0
- package/library/modules/_set-collection-of.js +12 -0
- package/library/modules/_set-proto.js +9 -9
- package/library/modules/_set-species.js +9 -9
- package/library/modules/_set-to-string-tag.js +6 -6
- package/library/modules/_shared-key.js +4 -4
- package/library/modules/_shared.js +5 -5
- package/library/modules/_species-constructor.js +7 -6
- package/library/modules/_strict-method.js +6 -4
- package/library/modules/_string-at.js +10 -10
- package/library/modules/_string-context.js +5 -5
- package/library/modules/_string-html.js +11 -11
- package/library/modules/_string-pad.js +12 -12
- package/library/modules/_string-repeat.js +9 -9
- package/library/modules/_string-trim.js +16 -16
- package/library/modules/_string-ws.js +1 -1
- package/library/modules/_task.js +44 -35
- package/library/modules/_to-absolute-index.js +7 -0
- package/library/modules/_to-index.js +10 -7
- package/library/modules/_to-integer.js +4 -4
- package/library/modules/_to-iobject.js +4 -4
- package/library/modules/_to-length.js +4 -4
- package/library/modules/_to-object.js +2 -2
- package/library/modules/_to-primitive.js +6 -6
- package/library/modules/_typed-array.js +242 -241
- package/library/modules/_typed-buffer.js +155 -152
- package/library/modules/_typed.js +16 -14
- package/library/modules/_uid.js +4 -4
- package/library/modules/_user-agent.js +4 -0
- package/library/modules/_validate-collection.js +5 -0
- package/library/modules/_wks-define.js +8 -8
- package/library/modules/_wks-ext.js +1 -1
- package/library/modules/_wks.js +6 -6
- package/library/modules/core.delay.js +7 -7
- package/library/modules/core.dict.js +85 -83
- package/library/modules/core.function.part.js +3 -3
- package/library/modules/core.get-iterator-method.js +6 -6
- package/library/modules/core.get-iterator.js +5 -5
- package/library/modules/core.is-iterable.js +6 -5
- package/library/modules/core.number.iterator.js +6 -6
- package/library/modules/core.object.classof.js +1 -1
- package/library/modules/core.object.define.js +3 -3
- package/library/modules/core.object.is-object.js +1 -1
- package/library/modules/core.object.make.js +5 -5
- package/library/modules/core.regexp.escape.js +3 -3
- package/library/modules/core.string.escape-html.js +1 -1
- package/library/modules/core.string.unescape-html.js +4 -4
- package/library/modules/es5.js +1 -1
- package/library/modules/es6.array.copy-within.js +2 -2
- package/library/modules/es6.array.every.js +4 -4
- package/library/modules/es6.array.fill.js +2 -2
- package/library/modules/es6.array.filter.js +4 -4
- package/library/modules/es6.array.find-index.js +7 -7
- package/library/modules/es6.array.find.js +7 -7
- package/library/modules/es6.array.for-each.js +5 -5
- package/library/modules/es6.array.from.js +22 -22
- package/library/modules/es6.array.index-of.js +6 -6
- package/library/modules/es6.array.is-array.js +1 -1
- package/library/modules/es6.array.iterator.js +13 -13
- package/library/modules/es6.array.join.js +5 -5
- package/library/modules/es6.array.last-index-of.js +15 -15
- package/library/modules/es6.array.map.js +4 -4
- package/library/modules/es6.array.of.js +10 -10
- package/library/modules/es6.array.reduce-right.js +4 -4
- package/library/modules/es6.array.reduce.js +4 -4
- package/library/modules/es6.array.slice.js +19 -19
- package/library/modules/es6.array.some.js +4 -4
- package/library/modules/es6.array.sort.js +10 -10
- package/library/modules/es6.array.species.js +1 -1
- package/library/modules/es6.date.now.js +1 -1
- package/library/modules/es6.date.to-iso-string.js +5 -25
- package/library/modules/es6.date.to-json.js +15 -10
- package/library/modules/es6.function.bind.js +1 -1
- package/library/modules/es6.function.has-instance.js +9 -9
- package/library/modules/es6.map.js +9 -7
- package/library/modules/es6.math.acosh.js +7 -7
- package/library/modules/es6.math.asinh.js +5 -5
- package/library/modules/es6.math.atanh.js +5 -5
- package/library/modules/es6.math.cbrt.js +4 -4
- package/library/modules/es6.math.clz32.js +2 -2
- package/library/modules/es6.math.cosh.js +4 -4
- package/library/modules/es6.math.expm1.js +3 -3
- package/library/modules/es6.math.fround.js +2 -24
- package/library/modules/es6.math.hypot.js +15 -15
- package/library/modules/es6.math.imul.js +10 -10
- package/library/modules/es6.math.log10.js +3 -3
- package/library/modules/es6.math.log1p.js +1 -1
- package/library/modules/es6.math.log2.js +2 -2
- package/library/modules/es6.math.sign.js +1 -1
- package/library/modules/es6.math.sinh.js +6 -6
- package/library/modules/es6.math.tanh.js +7 -7
- package/library/modules/es6.math.trunc.js +2 -2
- package/library/modules/es6.number.epsilon.js +1 -1
- package/library/modules/es6.number.is-finite.js +4 -4
- package/library/modules/es6.number.is-integer.js +1 -1
- package/library/modules/es6.number.is-nan.js +3 -2
- package/library/modules/es6.number.is-safe-integer.js +5 -5
- package/library/modules/es6.number.max-safe-integer.js +1 -1
- package/library/modules/es6.number.min-safe-integer.js +1 -1
- package/library/modules/es6.number.parse-float.js +3 -3
- package/library/modules/es6.number.parse-int.js +3 -3
- package/library/modules/es6.number.to-fixed.js +48 -47
- package/library/modules/es6.number.to-precision.js +9 -9
- package/library/modules/es6.object.assign.js +1 -1
- package/library/modules/es6.object.create.js +2 -2
- package/library/modules/es6.object.define-properties.js +1 -1
- package/library/modules/es6.object.define-property.js +1 -1
- package/library/modules/es6.object.freeze.js +5 -5
- package/library/modules/es6.object.get-own-property-descriptor.js +5 -5
- package/library/modules/es6.object.get-own-property-names.js +2 -2
- package/library/modules/es6.object.get-prototype-of.js +5 -5
- package/library/modules/es6.object.is-extensible.js +3 -3
- package/library/modules/es6.object.is-frozen.js +3 -3
- package/library/modules/es6.object.is-sealed.js +3 -3
- package/library/modules/es6.object.is.js +1 -1
- package/library/modules/es6.object.keys.js +5 -5
- package/library/modules/es6.object.prevent-extensions.js +5 -5
- package/library/modules/es6.object.seal.js +5 -5
- package/library/modules/es6.object.set-prototype-of.js +1 -1
- package/library/modules/es6.parse-float.js +3 -3
- package/library/modules/es6.parse-int.js +3 -3
- package/library/modules/es6.promise.js +137 -163
- package/library/modules/es6.reflect.apply.js +11 -11
- package/library/modules/es6.reflect.construct.js +23 -23
- package/library/modules/es6.reflect.define-property.js +10 -9
- package/library/modules/es6.reflect.delete-property.js +5 -5
- package/library/modules/es6.reflect.enumerate.js +15 -15
- package/library/modules/es6.reflect.get-own-property-descriptor.js +5 -5
- package/library/modules/es6.reflect.get-prototype-of.js +5 -5
- package/library/modules/es6.reflect.get.js +13 -13
- package/library/modules/es6.reflect.has.js +2 -2
- package/library/modules/es6.reflect.is-extensible.js +5 -5
- package/library/modules/es6.reflect.own-keys.js +1 -1
- package/library/modules/es6.reflect.prevent-extensions.js +7 -7
- package/library/modules/es6.reflect.set-prototype-of.js +6 -6
- package/library/modules/es6.reflect.set.js +17 -17
- package/library/modules/es6.regexp.constructor.js +1 -1
- package/library/modules/es6.set.js +7 -5
- package/library/modules/es6.string.anchor.js +4 -4
- package/library/modules/es6.string.big.js +4 -4
- package/library/modules/es6.string.blink.js +4 -4
- package/library/modules/es6.string.bold.js +4 -4
- package/library/modules/es6.string.code-point-at.js +4 -4
- package/library/modules/es6.string.ends-with.js +12 -12
- package/library/modules/es6.string.fixed.js +4 -4
- package/library/modules/es6.string.fontcolor.js +4 -4
- package/library/modules/es6.string.fontsize.js +4 -4
- package/library/modules/es6.string.from-code-point.js +12 -12
- package/library/modules/es6.string.includes.js +5 -5
- package/library/modules/es6.string.italics.js +4 -4
- package/library/modules/es6.string.iterator.js +9 -9
- package/library/modules/es6.string.link.js +4 -4
- package/library/modules/es6.string.raw.js +12 -12
- package/library/modules/es6.string.repeat.js +1 -1
- package/library/modules/es6.string.small.js +4 -4
- package/library/modules/es6.string.starts-with.js +10 -10
- package/library/modules/es6.string.strike.js +4 -4
- package/library/modules/es6.string.sub.js +4 -4
- package/library/modules/es6.string.sup.js +4 -4
- package/library/modules/es6.string.trim.js +3 -3
- package/library/modules/es6.symbol.js +120 -121
- package/library/modules/es6.typed.array-buffer.js +29 -29
- package/library/modules/es6.typed.data-view.js +1 -1
- package/library/modules/es6.typed.float32-array.js +3 -3
- package/library/modules/es6.typed.float64-array.js +3 -3
- package/library/modules/es6.typed.int16-array.js +3 -3
- package/library/modules/es6.typed.int32-array.js +3 -3
- package/library/modules/es6.typed.int8-array.js +3 -3
- package/library/modules/es6.typed.uint16-array.js +3 -3
- package/library/modules/es6.typed.uint32-array.js +3 -3
- package/library/modules/es6.typed.uint8-array.js +3 -3
- package/library/modules/es6.typed.uint8-clamped-array.js +3 -3
- package/library/modules/es6.weak-map.js +31 -28
- package/library/modules/es6.weak-set.js +7 -5
- package/library/modules/es7.array.flat-map.js +22 -0
- package/library/modules/es7.array.flatten.js +21 -0
- package/library/modules/es7.array.includes.js +4 -4
- package/library/modules/es7.asap.js +6 -6
- package/library/modules/es7.error.is-error.js +4 -4
- package/library/modules/es7.global.js +4 -0
- package/library/modules/es7.map.from.js +2 -0
- package/library/modules/es7.map.of.js +2 -0
- package/library/modules/es7.map.to-json.js +2 -2
- package/library/modules/es7.math.clamp.js +8 -0
- package/library/modules/es7.math.deg-per-rad.js +4 -0
- package/library/modules/es7.math.degrees.js +9 -0
- package/library/modules/es7.math.fscale.js +10 -0
- package/library/modules/es7.math.iaddh.js +5 -5
- package/library/modules/es7.math.imulh.js +10 -10
- package/library/modules/es7.math.isubh.js +5 -5
- package/library/modules/es7.math.rad-per-deg.js +4 -0
- package/library/modules/es7.math.radians.js +9 -0
- package/library/modules/es7.math.scale.js +4 -0
- package/library/modules/es7.math.signbit.js +7 -0
- package/library/modules/es7.math.umulh.js +10 -10
- package/library/modules/es7.object.define-getter.js +7 -7
- package/library/modules/es7.object.define-setter.js +7 -7
- package/library/modules/es7.object.entries.js +4 -4
- package/library/modules/es7.object.get-own-property-descriptors.js +17 -14
- package/library/modules/es7.object.lookup-getter.js +12 -12
- package/library/modules/es7.object.lookup-setter.js +12 -12
- package/library/modules/es7.object.values.js +4 -4
- package/library/modules/es7.observable.js +68 -68
- package/library/modules/es7.promise.finally.js +20 -0
- package/library/modules/es7.promise.try.js +12 -0
- package/library/modules/es7.reflect.define-metadata.js +6 -6
- package/library/modules/es7.reflect.delete-metadata.js +11 -11
- package/library/modules/es7.reflect.get-metadata-keys.js +14 -14
- package/library/modules/es7.reflect.get-metadata.js +10 -10
- package/library/modules/es7.reflect.get-own-metadata-keys.js +6 -6
- package/library/modules/es7.reflect.get-own-metadata.js +6 -6
- package/library/modules/es7.reflect.has-metadata.js +9 -9
- package/library/modules/es7.reflect.has-own-metadata.js +6 -6
- package/library/modules/es7.reflect.metadata.js +8 -8
- package/library/modules/es7.set.from.js +2 -0
- package/library/modules/es7.set.of.js +2 -0
- package/library/modules/es7.set.to-json.js +2 -2
- package/library/modules/es7.string.at.js +4 -4
- package/library/modules/es7.string.match-all.js +15 -15
- package/library/modules/es7.string.pad-end.js +7 -5
- package/library/modules/es7.string.pad-start.js +7 -5
- package/library/modules/es7.string.trim-left.js +3 -3
- package/library/modules/es7.string.trim-right.js +3 -3
- package/library/modules/es7.symbol.async-iterator.js +1 -1
- package/library/modules/es7.symbol.observable.js +1 -1
- package/library/modules/es7.system.global.js +2 -2
- package/library/modules/es7.weak-map.from.js +2 -0
- package/library/modules/es7.weak-map.of.js +2 -0
- package/library/modules/es7.weak-set.from.js +2 -0
- package/library/modules/es7.weak-set.of.js +2 -0
- package/library/modules/web.dom.iterable.js +16 -10
- package/library/modules/web.immediate.js +4 -4
- package/library/modules/web.timers.js +16 -16
- package/library/shim.js +22 -1
- package/library/stage/0.js +1 -1
- package/library/stage/1.js +19 -2
- package/library/stage/2.js +2 -1
- package/library/stage/3.js +3 -3
- package/library/stage/4.js +3 -0
- package/library/stage/index.js +1 -1
- package/library/stage/pre.js +1 -1
- package/library/web/dom-collections.js +1 -1
- package/library/web/immediate.js +1 -1
- package/library/web/index.js +1 -1
- package/library/web/timers.js +1 -1
- package/modules/_a-function.js +3 -3
- package/modules/_a-number-value.js +3 -3
- package/modules/_add-to-unscopables.js +5 -5
- package/modules/_an-instance.js +3 -3
- package/modules/_an-object.js +3 -3
- package/modules/_array-copy-within.js +18 -18
- package/modules/_array-fill.js +12 -12
- package/modules/_array-from-iterable.js +1 -1
- package/modules/_array-includes.js +17 -15
- package/modules/_array-methods.js +31 -31
- package/modules/_array-reduce.js +15 -15
- package/modules/_array-species-constructor.js +9 -9
- package/modules/_array-species-create.js +2 -2
- package/modules/_bind.js +15 -14
- package/modules/_classof.js +8 -8
- package/modules/_cof.js +2 -2
- package/modules/_collection-strong.js +69 -67
- package/modules/_collection-to-json.js +6 -6
- package/modules/_collection-weak.js +38 -36
- package/modules/_collection.js +50 -50
- package/modules/_core.js +2 -2
- package/modules/_create-property.js +5 -5
- package/modules/_ctx.js +8 -8
- package/modules/_date-to-iso-string.js +26 -0
- package/modules/_date-to-primitive.js +6 -6
- package/modules/_defined.js +3 -3
- package/modules/_descriptors.js +3 -3
- package/modules/_dom-create.js +6 -6
- package/modules/_entry-virtual.js +2 -2
- package/modules/_enum-bug-keys.js +1 -1
- package/modules/_enum-keys.js +13 -13
- package/modules/_export.js +23 -23
- package/modules/_fails-is-regexp.js +4 -4
- package/modules/_fails.js +3 -3
- package/modules/_fix-re-wks.js +16 -16
- package/modules/_flags.js +9 -9
- package/modules/_flatten-into-array.js +39 -0
- package/modules/_for-of.js +20 -20
- package/modules/_global.js +4 -2
- package/modules/_has.js +2 -2
- package/modules/_hide.js +5 -5
- package/modules/_html.js +2 -1
- package/modules/_ie8-dom-define.js +3 -3
- package/modules/_inherit-if-required.js +7 -6
- package/modules/_invoke.js +4 -4
- package/modules/_iobject.js +3 -2
- package/modules/_is-array-iter.js +5 -5
- package/modules/_is-array.js +2 -2
- package/modules/_is-integer.js +4 -4
- package/modules/_is-object.js +2 -2
- package/modules/_is-regexp.js +5 -5
- package/modules/_iter-call.js +4 -4
- package/modules/_iter-create.js +8 -8
- package/modules/_iter-define.js +45 -45
- package/modules/_iter-detect.js +14 -13
- package/modules/_iter-step.js +3 -3
- package/modules/_iterators.js +1 -1
- package/modules/_keyof.js +10 -10
- package/modules/_library.js +1 -1
- package/modules/_math-expm1.js +2 -2
- package/modules/_math-fround.js +23 -0
- package/modules/_math-log1p.js +2 -2
- package/modules/_math-scale.js +18 -0
- package/modules/_math-sign.js +3 -2
- package/modules/_meta.js +26 -26
- package/modules/_metadata.js +21 -21
- package/modules/_microtask.js +30 -30
- package/modules/_new-promise-capability.js +18 -0
- package/modules/_object-assign.js +27 -26
- package/modules/_object-create.js +16 -16
- package/modules/_object-define.js +11 -10
- package/modules/_object-dp.js +10 -10
- package/modules/_object-dps.js +10 -10
- package/modules/_object-forced-pam.js +5 -3
- package/modules/_object-gopd.js +12 -12
- package/modules/_object-gopn-ext.js +6 -6
- package/modules/_object-gopn.js +4 -4
- package/modules/_object-gops.js +1 -1
- package/modules/_object-gpo.js +8 -8
- package/modules/_object-keys-internal.js +12 -12
- package/modules/_object-keys.js +4 -4
- package/modules/_object-pie.js +1 -1
- package/modules/_object-sap.js +8 -8
- package/modules/_object-to-array.js +13 -13
- package/modules/_own-keys.js +8 -8
- package/modules/_parse-float.js +6 -6
- package/modules/_parse-int.js +6 -6
- package/modules/_partial.js +21 -19
- package/modules/_path.js +1 -1
- package/modules/_perform.js +7 -0
- package/modules/_promise-resolve.js +12 -0
- package/modules/_property-desc.js +5 -5
- package/modules/_redefine-all.js +3 -3
- package/modules/_redefine.js +21 -22
- package/modules/_replacer.js +4 -4
- package/modules/_same-value.js +3 -2
- package/modules/_set-collection-from.js +28 -0
- package/modules/_set-collection-of.js +12 -0
- package/modules/_set-proto.js +9 -9
- package/modules/_set-species.js +8 -8
- package/modules/_set-to-string-tag.js +6 -6
- package/modules/_shared-key.js +4 -4
- package/modules/_shared.js +5 -5
- package/modules/_species-constructor.js +7 -6
- package/modules/_strict-method.js +6 -4
- package/modules/_string-at.js +10 -10
- package/modules/_string-context.js +5 -5
- package/modules/_string-html.js +11 -11
- package/modules/_string-pad.js +12 -12
- package/modules/_string-repeat.js +9 -9
- package/modules/_string-trim.js +16 -16
- package/modules/_string-ws.js +1 -1
- package/modules/_task.js +44 -35
- package/modules/_to-absolute-index.js +7 -0
- package/modules/_to-index.js +10 -7
- package/modules/_to-integer.js +4 -4
- package/modules/_to-iobject.js +4 -4
- package/modules/_to-length.js +4 -4
- package/modules/_to-object.js +2 -2
- package/modules/_to-primitive.js +6 -6
- package/modules/_typed-array.js +242 -241
- package/modules/_typed-buffer.js +155 -152
- package/modules/_typed.js +16 -14
- package/modules/_uid.js +4 -4
- package/modules/_user-agent.js +4 -0
- package/modules/_validate-collection.js +5 -0
- package/modules/_wks-define.js +8 -8
- package/modules/_wks-ext.js +1 -1
- package/modules/_wks.js +6 -6
- package/modules/core.delay.js +7 -7
- package/modules/core.dict.js +85 -83
- package/modules/core.function.part.js +3 -3
- package/modules/core.get-iterator-method.js +6 -6
- package/modules/core.get-iterator.js +5 -5
- package/modules/core.is-iterable.js +6 -5
- package/modules/core.number.iterator.js +6 -6
- package/modules/core.object.classof.js +1 -1
- package/modules/core.object.define.js +3 -3
- package/modules/core.object.is-object.js +1 -1
- package/modules/core.object.make.js +5 -5
- package/modules/core.regexp.escape.js +3 -3
- package/modules/core.string.escape-html.js +1 -1
- package/modules/core.string.unescape-html.js +4 -4
- package/modules/es5.js +1 -1
- package/modules/es6.array.copy-within.js +2 -2
- package/modules/es6.array.every.js +4 -4
- package/modules/es6.array.fill.js +2 -2
- package/modules/es6.array.filter.js +4 -4
- package/modules/es6.array.find-index.js +7 -7
- package/modules/es6.array.find.js +7 -7
- package/modules/es6.array.for-each.js +5 -5
- package/modules/es6.array.from.js +22 -22
- package/modules/es6.array.index-of.js +6 -6
- package/modules/es6.array.is-array.js +1 -1
- package/modules/es6.array.iterator.js +13 -13
- package/modules/es6.array.join.js +5 -5
- package/modules/es6.array.last-index-of.js +15 -15
- package/modules/es6.array.map.js +4 -4
- package/modules/es6.array.of.js +10 -10
- package/modules/es6.array.reduce-right.js +4 -4
- package/modules/es6.array.reduce.js +4 -4
- package/modules/es6.array.slice.js +19 -19
- package/modules/es6.array.some.js +4 -4
- package/modules/es6.array.sort.js +10 -10
- package/modules/es6.array.species.js +1 -1
- package/modules/es6.date.now.js +1 -1
- package/modules/es6.date.to-iso-string.js +5 -25
- package/modules/es6.date.to-json.js +11 -9
- package/modules/es6.date.to-primitive.js +3 -3
- package/modules/es6.date.to-string.js +9 -8
- package/modules/es6.function.bind.js +1 -1
- package/modules/es6.function.has-instance.js +9 -9
- package/modules/es6.function.name.js +8 -17
- package/modules/es6.map.js +9 -7
- package/modules/es6.math.acosh.js +7 -7
- package/modules/es6.math.asinh.js +5 -5
- package/modules/es6.math.atanh.js +5 -5
- package/modules/es6.math.cbrt.js +4 -4
- package/modules/es6.math.clz32.js +2 -2
- package/modules/es6.math.cosh.js +4 -4
- package/modules/es6.math.expm1.js +3 -3
- package/modules/es6.math.fround.js +2 -24
- package/modules/es6.math.hypot.js +15 -15
- package/modules/es6.math.imul.js +10 -10
- package/modules/es6.math.log10.js +3 -3
- package/modules/es6.math.log1p.js +1 -1
- package/modules/es6.math.log2.js +2 -2
- package/modules/es6.math.sign.js +1 -1
- package/modules/es6.math.sinh.js +6 -6
- package/modules/es6.math.tanh.js +7 -7
- package/modules/es6.math.trunc.js +2 -2
- package/modules/es6.number.constructor.js +39 -39
- package/modules/es6.number.epsilon.js +1 -1
- package/modules/es6.number.is-finite.js +4 -4
- package/modules/es6.number.is-integer.js +1 -1
- package/modules/es6.number.is-nan.js +3 -2
- package/modules/es6.number.is-safe-integer.js +5 -5
- package/modules/es6.number.max-safe-integer.js +1 -1
- package/modules/es6.number.min-safe-integer.js +1 -1
- package/modules/es6.number.parse-float.js +3 -3
- package/modules/es6.number.parse-int.js +3 -3
- package/modules/es6.number.to-fixed.js +48 -47
- package/modules/es6.number.to-precision.js +9 -9
- package/modules/es6.object.assign.js +1 -1
- package/modules/es6.object.create.js +2 -2
- package/modules/es6.object.define-properties.js +1 -1
- package/modules/es6.object.define-property.js +1 -1
- package/modules/es6.object.freeze.js +5 -5
- package/modules/es6.object.get-own-property-descriptor.js +5 -5
- package/modules/es6.object.get-own-property-names.js +2 -2
- package/modules/es6.object.get-prototype-of.js +5 -5
- package/modules/es6.object.is-extensible.js +3 -3
- package/modules/es6.object.is-frozen.js +3 -3
- package/modules/es6.object.is-sealed.js +3 -3
- package/modules/es6.object.is.js +1 -1
- package/modules/es6.object.keys.js +5 -5
- package/modules/es6.object.prevent-extensions.js +5 -5
- package/modules/es6.object.seal.js +5 -5
- package/modules/es6.object.set-prototype-of.js +1 -1
- package/modules/es6.object.to-string.js +5 -5
- package/modules/es6.parse-float.js +3 -3
- package/modules/es6.parse-int.js +3 -3
- package/modules/es6.promise.js +137 -163
- package/modules/es6.reflect.apply.js +11 -11
- package/modules/es6.reflect.construct.js +23 -23
- package/modules/es6.reflect.define-property.js +10 -9
- package/modules/es6.reflect.delete-property.js +5 -5
- package/modules/es6.reflect.enumerate.js +15 -15
- package/modules/es6.reflect.get-own-property-descriptor.js +5 -5
- package/modules/es6.reflect.get-prototype-of.js +5 -5
- package/modules/es6.reflect.get.js +13 -13
- package/modules/es6.reflect.has.js +2 -2
- package/modules/es6.reflect.is-extensible.js +5 -5
- package/modules/es6.reflect.own-keys.js +1 -1
- package/modules/es6.reflect.prevent-extensions.js +7 -7
- package/modules/es6.reflect.set-prototype-of.js +6 -6
- package/modules/es6.reflect.set.js +17 -17
- package/modules/es6.regexp.constructor.js +24 -24
- package/modules/es6.regexp.flags.js +2 -2
- package/modules/es6.regexp.match.js +5 -5
- package/modules/es6.regexp.replace.js +5 -5
- package/modules/es6.regexp.search.js +5 -5
- package/modules/es6.regexp.split.js +29 -28
- package/modules/es6.regexp.to-string.js +11 -11
- package/modules/es6.set.js +7 -5
- package/modules/es6.string.anchor.js +4 -4
- package/modules/es6.string.big.js +4 -4
- package/modules/es6.string.blink.js +4 -4
- package/modules/es6.string.bold.js +4 -4
- package/modules/es6.string.code-point-at.js +4 -4
- package/modules/es6.string.ends-with.js +12 -12
- package/modules/es6.string.fixed.js +4 -4
- package/modules/es6.string.fontcolor.js +4 -4
- package/modules/es6.string.fontsize.js +4 -4
- package/modules/es6.string.from-code-point.js +12 -12
- package/modules/es6.string.includes.js +5 -5
- package/modules/es6.string.italics.js +4 -4
- package/modules/es6.string.iterator.js +9 -9
- package/modules/es6.string.link.js +4 -4
- package/modules/es6.string.raw.js +12 -12
- package/modules/es6.string.repeat.js +1 -1
- package/modules/es6.string.small.js +4 -4
- package/modules/es6.string.starts-with.js +10 -10
- package/modules/es6.string.strike.js +4 -4
- package/modules/es6.string.sub.js +4 -4
- package/modules/es6.string.sup.js +4 -4
- package/modules/es6.string.trim.js +3 -3
- package/modules/es6.symbol.js +120 -121
- package/modules/es6.typed.array-buffer.js +29 -29
- package/modules/es6.typed.data-view.js +1 -1
- package/modules/es6.typed.float32-array.js +3 -3
- package/modules/es6.typed.float64-array.js +3 -3
- package/modules/es6.typed.int16-array.js +3 -3
- package/modules/es6.typed.int32-array.js +3 -3
- package/modules/es6.typed.int8-array.js +3 -3
- package/modules/es6.typed.uint16-array.js +3 -3
- package/modules/es6.typed.uint32-array.js +3 -3
- package/modules/es6.typed.uint8-array.js +3 -3
- package/modules/es6.typed.uint8-clamped-array.js +3 -3
- package/modules/es6.weak-map.js +31 -28
- package/modules/es6.weak-set.js +7 -5
- package/modules/es7.array.flat-map.js +22 -0
- package/modules/es7.array.flatten.js +21 -0
- package/modules/es7.array.includes.js +4 -4
- package/modules/es7.asap.js +6 -6
- package/modules/es7.error.is-error.js +4 -4
- package/modules/es7.global.js +4 -0
- package/modules/es7.map.from.js +2 -0
- package/modules/es7.map.of.js +2 -0
- package/modules/es7.map.to-json.js +2 -2
- package/modules/es7.math.clamp.js +8 -0
- package/modules/es7.math.deg-per-rad.js +4 -0
- package/modules/es7.math.degrees.js +9 -0
- package/modules/es7.math.fscale.js +10 -0
- package/modules/es7.math.iaddh.js +5 -5
- package/modules/es7.math.imulh.js +10 -10
- package/modules/es7.math.isubh.js +5 -5
- package/modules/es7.math.rad-per-deg.js +4 -0
- package/modules/es7.math.radians.js +9 -0
- package/modules/es7.math.scale.js +4 -0
- package/modules/es7.math.signbit.js +7 -0
- package/modules/es7.math.umulh.js +10 -10
- package/modules/es7.object.define-getter.js +7 -7
- package/modules/es7.object.define-setter.js +7 -7
- package/modules/es7.object.entries.js +4 -4
- package/modules/es7.object.get-own-property-descriptors.js +17 -14
- package/modules/es7.object.lookup-getter.js +12 -12
- package/modules/es7.object.lookup-setter.js +12 -12
- package/modules/es7.object.values.js +4 -4
- package/modules/es7.observable.js +68 -68
- package/modules/es7.promise.finally.js +20 -0
- package/modules/es7.promise.try.js +12 -0
- package/modules/es7.reflect.define-metadata.js +6 -6
- package/modules/es7.reflect.delete-metadata.js +11 -11
- package/modules/es7.reflect.get-metadata-keys.js +14 -14
- package/modules/es7.reflect.get-metadata.js +10 -10
- package/modules/es7.reflect.get-own-metadata-keys.js +6 -6
- package/modules/es7.reflect.get-own-metadata.js +6 -6
- package/modules/es7.reflect.has-metadata.js +9 -9
- package/modules/es7.reflect.has-own-metadata.js +6 -6
- package/modules/es7.reflect.metadata.js +8 -8
- package/modules/es7.set.from.js +2 -0
- package/modules/es7.set.of.js +2 -0
- package/modules/es7.set.to-json.js +2 -2
- package/modules/es7.string.at.js +4 -4
- package/modules/es7.string.match-all.js +15 -15
- package/modules/es7.string.pad-end.js +7 -5
- package/modules/es7.string.pad-start.js +7 -5
- package/modules/es7.string.trim-left.js +3 -3
- package/modules/es7.string.trim-right.js +3 -3
- package/modules/es7.symbol.async-iterator.js +1 -1
- package/modules/es7.symbol.observable.js +1 -1
- package/modules/es7.system.global.js +2 -2
- package/modules/es7.weak-map.from.js +2 -0
- package/modules/es7.weak-map.of.js +2 -0
- package/modules/es7.weak-set.from.js +2 -0
- package/modules/es7.weak-set.of.js +2 -0
- package/modules/library/_add-to-unscopables.js +1 -1
- package/modules/library/_collection.js +31 -31
- package/modules/library/_export.js +28 -28
- package/modules/library/_library.js +1 -1
- package/modules/library/_path.js +1 -1
- package/modules/library/_redefine-all.js +4 -4
- package/modules/library/_redefine.js +1 -1
- package/modules/library/_set-species.js +9 -9
- package/modules/library/es6.date.to-json.js +19 -0
- package/modules/library/es6.regexp.constructor.js +1 -1
- package/modules/library/web.dom.iterable.js +16 -10
- package/modules/web.dom.iterable.js +55 -19
- package/modules/web.immediate.js +4 -4
- package/modules/web.timers.js +16 -16
- package/package.json +30 -27
- package/shim.js +22 -1
- package/stage/0.js +1 -1
- package/stage/1.js +19 -2
- package/stage/2.js +2 -1
- package/stage/3.js +3 -3
- package/stage/4.js +3 -0
- package/stage/index.js +1 -1
- package/stage/pre.js +1 -1
- package/web/dom-collections.js +1 -1
- package/web/immediate.js +1 -1
- package/web/index.js +1 -1
- package/web/timers.js +1 -1
- package/library/modules/es7.object.enumerable-entries.js +0 -12
- package/library/modules/es7.object.enumerable-keys.js +0 -12
- package/library/modules/es7.object.enumerable-values.js +0 -12
- package/modules/es7.object.enumerable-entries.js +0 -12
- package/modules/es7.object.enumerable-keys.js +0 -12
- package/modules/es7.object.enumerable-values.js +0 -12
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var anObject
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var anObject = require('./_an-object');
|
|
3
|
+
var toPrimitive = require('./_to-primitive');
|
|
4
|
+
var NUMBER = 'number';
|
|
5
5
|
|
|
6
|
-
module.exports = function(hint){
|
|
7
|
-
if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');
|
|
6
|
+
module.exports = function (hint) {
|
|
7
|
+
if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');
|
|
8
8
|
return toPrimitive(anObject(this), hint != NUMBER);
|
|
9
|
-
};
|
|
9
|
+
};
|
package/modules/_defined.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// 7.2.1 RequireObjectCoercible(argument)
|
|
2
|
-
module.exports = function(it){
|
|
3
|
-
if(it == undefined)throw TypeError("Can't call method on " + it);
|
|
2
|
+
module.exports = function (it) {
|
|
3
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
4
4
|
return it;
|
|
5
|
-
};
|
|
5
|
+
};
|
package/modules/_descriptors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Thank's IE8 for his funny defineProperty
|
|
2
|
-
module.exports = !require('./_fails')(function(){
|
|
3
|
-
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
|
|
4
|
-
});
|
|
2
|
+
module.exports = !require('./_fails')(function () {
|
|
3
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
4
|
+
});
|
package/modules/_dom-create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var isObject = require('./_is-object')
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
module.exports = function(it){
|
|
1
|
+
var isObject = require('./_is-object');
|
|
2
|
+
var document = require('./_global').document;
|
|
3
|
+
// typeof document.createElement is 'object' in old IE
|
|
4
|
+
var is = isObject(document) && isObject(document.createElement);
|
|
5
|
+
module.exports = function (it) {
|
|
6
6
|
return is ? document.createElement(it) : {};
|
|
7
|
-
};
|
|
7
|
+
};
|
package/modules/_enum-keys.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// all enumerable object keys, includes symbols
|
|
2
|
-
var getKeys = require('./_object-keys')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
module.exports = function(it){
|
|
6
|
-
var result
|
|
7
|
-
|
|
8
|
-
if(getSymbols){
|
|
9
|
-
var symbols = getSymbols(it)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);
|
|
2
|
+
var getKeys = require('./_object-keys');
|
|
3
|
+
var gOPS = require('./_object-gops');
|
|
4
|
+
var pIE = require('./_object-pie');
|
|
5
|
+
module.exports = function (it) {
|
|
6
|
+
var result = getKeys(it);
|
|
7
|
+
var getSymbols = gOPS.f;
|
|
8
|
+
if (getSymbols) {
|
|
9
|
+
var symbols = getSymbols(it);
|
|
10
|
+
var isEnum = pIE.f;
|
|
11
|
+
var i = 0;
|
|
12
|
+
var key;
|
|
13
|
+
while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
|
|
14
14
|
} return result;
|
|
15
|
-
};
|
|
15
|
+
};
|
package/modules/_export.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var global
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
var global = require('./_global');
|
|
2
|
+
var core = require('./_core');
|
|
3
|
+
var hide = require('./_hide');
|
|
4
|
+
var redefine = require('./_redefine');
|
|
5
|
+
var ctx = require('./_ctx');
|
|
6
|
+
var PROTOTYPE = 'prototype';
|
|
7
7
|
|
|
8
|
-
var $export = function(type, name, source){
|
|
9
|
-
var IS_FORCED = type & $export.F
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
if(IS_GLOBAL)source = name;
|
|
19
|
-
for(key in source){
|
|
8
|
+
var $export = function (type, name, source) {
|
|
9
|
+
var IS_FORCED = type & $export.F;
|
|
10
|
+
var IS_GLOBAL = type & $export.G;
|
|
11
|
+
var IS_STATIC = type & $export.S;
|
|
12
|
+
var IS_PROTO = type & $export.P;
|
|
13
|
+
var IS_BIND = type & $export.B;
|
|
14
|
+
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
|
|
15
|
+
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
|
|
16
|
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
|
17
|
+
var key, own, out, exp;
|
|
18
|
+
if (IS_GLOBAL) source = name;
|
|
19
|
+
for (key in source) {
|
|
20
20
|
// contains in native
|
|
21
21
|
own = !IS_FORCED && target && target[key] !== undefined;
|
|
22
22
|
// export native or passed
|
|
@@ -24,10 +24,10 @@ var $export = function(type, name, source){
|
|
|
24
24
|
// bind timers to global for call from export context
|
|
25
25
|
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
|
26
26
|
// extend global
|
|
27
|
-
if(target)redefine(target, key, out, type & $export.U);
|
|
27
|
+
if (target) redefine(target, key, out, type & $export.U);
|
|
28
28
|
// export
|
|
29
|
-
if(exports[key] != out)hide(exports, key, exp);
|
|
30
|
-
if(IS_PROTO && expProto[key] != out)expProto[key] = out;
|
|
29
|
+
if (exports[key] != out) hide(exports, key, exp);
|
|
30
|
+
if (IS_PROTO && expProto[key] != out) expProto[key] = out;
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
global.core = core;
|
|
@@ -39,5 +39,5 @@ $export.P = 8; // proto
|
|
|
39
39
|
$export.B = 16; // bind
|
|
40
40
|
$export.W = 32; // wrap
|
|
41
41
|
$export.U = 64; // safe
|
|
42
|
-
$export.R = 128; // real proto method for `library`
|
|
43
|
-
module.exports = $export;
|
|
42
|
+
$export.R = 128; // real proto method for `library`
|
|
43
|
+
module.exports = $export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var MATCH = require('./_wks')('match');
|
|
2
|
-
module.exports = function(KEY){
|
|
2
|
+
module.exports = function (KEY) {
|
|
3
3
|
var re = /./;
|
|
4
4
|
try {
|
|
5
5
|
'/./'[KEY](re);
|
|
6
|
-
} catch(e){
|
|
6
|
+
} catch (e) {
|
|
7
7
|
try {
|
|
8
8
|
re[MATCH] = false;
|
|
9
9
|
return !'/./'[KEY](re);
|
|
10
|
-
} catch(f){ /* empty */ }
|
|
10
|
+
} catch (f) { /* empty */ }
|
|
11
11
|
} return true;
|
|
12
|
-
};
|
|
12
|
+
};
|
package/modules/_fails.js
CHANGED
package/modules/_fix-re-wks.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var hide
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var hide = require('./_hide');
|
|
3
|
+
var redefine = require('./_redefine');
|
|
4
|
+
var fails = require('./_fails');
|
|
5
|
+
var defined = require('./_defined');
|
|
6
|
+
var wks = require('./_wks');
|
|
7
7
|
|
|
8
|
-
module.exports = function(KEY, length, exec){
|
|
9
|
-
var SYMBOL
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if(fails(function(){
|
|
8
|
+
module.exports = function (KEY, length, exec) {
|
|
9
|
+
var SYMBOL = wks(KEY);
|
|
10
|
+
var fns = exec(defined, SYMBOL, ''[KEY]);
|
|
11
|
+
var strfn = fns[0];
|
|
12
|
+
var rxfn = fns[1];
|
|
13
|
+
if (fails(function () {
|
|
14
14
|
var O = {};
|
|
15
|
-
O[SYMBOL] = function(){ return 7; };
|
|
15
|
+
O[SYMBOL] = function () { return 7; };
|
|
16
16
|
return ''[KEY](O) != 7;
|
|
17
|
-
})){
|
|
17
|
+
})) {
|
|
18
18
|
redefine(String.prototype, KEY, strfn);
|
|
19
19
|
hide(RegExp.prototype, SYMBOL, length == 2
|
|
20
20
|
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
|
21
21
|
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
|
22
|
-
? function(string, arg){ return rxfn.call(string, this, arg); }
|
|
22
|
+
? function (string, arg) { return rxfn.call(string, this, arg); }
|
|
23
23
|
// 21.2.5.6 RegExp.prototype[@@match](string)
|
|
24
24
|
// 21.2.5.9 RegExp.prototype[@@search](string)
|
|
25
|
-
: function(string){ return rxfn.call(string, this); }
|
|
25
|
+
: function (string) { return rxfn.call(string, this); }
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
};
|
package/modules/_flags.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// 21.2.5.3 get RegExp.prototype.flags
|
|
3
3
|
var anObject = require('./_an-object');
|
|
4
|
-
module.exports = function(){
|
|
5
|
-
var that
|
|
6
|
-
|
|
7
|
-
if(that.global)
|
|
8
|
-
if(that.ignoreCase) result += 'i';
|
|
9
|
-
if(that.multiline)
|
|
10
|
-
if(that.unicode)
|
|
11
|
-
if(that.sticky)
|
|
4
|
+
module.exports = function () {
|
|
5
|
+
var that = anObject(this);
|
|
6
|
+
var result = '';
|
|
7
|
+
if (that.global) result += 'g';
|
|
8
|
+
if (that.ignoreCase) result += 'i';
|
|
9
|
+
if (that.multiline) result += 'm';
|
|
10
|
+
if (that.unicode) result += 'u';
|
|
11
|
+
if (that.sticky) result += 'y';
|
|
12
12
|
return result;
|
|
13
|
-
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
|
|
3
|
+
var isArray = require('./_is-array');
|
|
4
|
+
var isObject = require('./_is-object');
|
|
5
|
+
var toLength = require('./_to-length');
|
|
6
|
+
var ctx = require('./_ctx');
|
|
7
|
+
var IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable');
|
|
8
|
+
|
|
9
|
+
function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
|
10
|
+
var targetIndex = start;
|
|
11
|
+
var sourceIndex = 0;
|
|
12
|
+
var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;
|
|
13
|
+
var element, spreadable;
|
|
14
|
+
|
|
15
|
+
while (sourceIndex < sourceLen) {
|
|
16
|
+
if (sourceIndex in source) {
|
|
17
|
+
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
18
|
+
|
|
19
|
+
spreadable = false;
|
|
20
|
+
if (isObject(element)) {
|
|
21
|
+
spreadable = element[IS_CONCAT_SPREADABLE];
|
|
22
|
+
spreadable = spreadable !== undefined ? !!spreadable : isArray(element);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (spreadable && depth > 0) {
|
|
26
|
+
targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
|
|
27
|
+
} else {
|
|
28
|
+
if (targetIndex >= 0x1fffffffffffff) throw TypeError();
|
|
29
|
+
target[targetIndex] = element;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
targetIndex++;
|
|
33
|
+
}
|
|
34
|
+
sourceIndex++;
|
|
35
|
+
}
|
|
36
|
+
return targetIndex;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
module.exports = flattenIntoArray;
|
package/modules/_for-of.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var ctx
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var exports = module.exports = function(iterable, entries, fn, that, ITERATOR){
|
|
10
|
-
var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
|
|
1
|
+
var ctx = require('./_ctx');
|
|
2
|
+
var call = require('./_iter-call');
|
|
3
|
+
var isArrayIter = require('./_is-array-iter');
|
|
4
|
+
var anObject = require('./_an-object');
|
|
5
|
+
var toLength = require('./_to-length');
|
|
6
|
+
var getIterFn = require('./core.get-iterator-method');
|
|
7
|
+
var BREAK = {};
|
|
8
|
+
var RETURN = {};
|
|
9
|
+
var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
|
|
10
|
+
var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
|
|
11
|
+
var f = ctx(fn, that, entries ? 2 : 1);
|
|
12
|
+
var index = 0;
|
|
13
|
+
var length, step, iterator, result;
|
|
14
|
+
if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
|
|
15
15
|
// fast case for arrays with default iterator
|
|
16
|
-
if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
|
|
16
|
+
if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
|
|
17
17
|
result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
|
|
18
|
-
if(result === BREAK || result === RETURN)return result;
|
|
19
|
-
} else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done;
|
|
18
|
+
if (result === BREAK || result === RETURN) return result;
|
|
19
|
+
} else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
|
|
20
20
|
result = call(iterator, f, step.value, entries);
|
|
21
|
-
if(result === BREAK || result === RETURN)return result;
|
|
21
|
+
if (result === BREAK || result === RETURN) return result;
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
exports.BREAK
|
|
25
|
-
exports.RETURN = RETURN;
|
|
24
|
+
exports.BREAK = BREAK;
|
|
25
|
+
exports.RETURN = RETURN;
|
package/modules/_global.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2
2
|
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
3
|
-
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
4
|
-
|
|
3
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
4
|
+
// eslint-disable-next-line no-new-func
|
|
5
|
+
: Function('return this')();
|
|
6
|
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
package/modules/_has.js
CHANGED
package/modules/_hide.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var dP
|
|
2
|
-
|
|
3
|
-
module.exports = require('./_descriptors') ? function(object, key, value){
|
|
1
|
+
var dP = require('./_object-dp');
|
|
2
|
+
var createDesc = require('./_property-desc');
|
|
3
|
+
module.exports = require('./_descriptors') ? function (object, key, value) {
|
|
4
4
|
return dP.f(object, key, createDesc(1, value));
|
|
5
|
-
} : function(object, key, value){
|
|
5
|
+
} : function (object, key, value) {
|
|
6
6
|
object[key] = value;
|
|
7
7
|
return object;
|
|
8
|
-
};
|
|
8
|
+
};
|
package/modules/_html.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
var document = require('./_global').document;
|
|
2
|
+
module.exports = document && document.documentElement;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports = !require('./_descriptors') && !require('./_fails')(function(){
|
|
2
|
-
return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7;
|
|
3
|
-
});
|
|
1
|
+
module.exports = !require('./_descriptors') && !require('./_fails')(function () {
|
|
2
|
+
return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
3
|
+
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
var isObject
|
|
2
|
-
|
|
3
|
-
module.exports = function(that, target, C){
|
|
4
|
-
var
|
|
5
|
-
|
|
1
|
+
var isObject = require('./_is-object');
|
|
2
|
+
var setPrototypeOf = require('./_set-proto').set;
|
|
3
|
+
module.exports = function (that, target, C) {
|
|
4
|
+
var S = target.constructor;
|
|
5
|
+
var P;
|
|
6
|
+
if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
|
|
6
7
|
setPrototypeOf(that, P);
|
|
7
8
|
} return that;
|
|
8
|
-
};
|
|
9
|
+
};
|
package/modules/_invoke.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// fast apply, http://jsperf.lnkit.com/fast-apply/5
|
|
2
|
-
module.exports = function(fn, args, that){
|
|
2
|
+
module.exports = function (fn, args, that) {
|
|
3
3
|
var un = that === undefined;
|
|
4
|
-
switch(args.length){
|
|
4
|
+
switch (args.length) {
|
|
5
5
|
case 0: return un ? fn()
|
|
6
6
|
: fn.call(that);
|
|
7
7
|
case 1: return un ? fn(args[0])
|
|
@@ -12,5 +12,5 @@ module.exports = function(fn, args, that){
|
|
|
12
12
|
: fn.call(that, args[0], args[1], args[2]);
|
|
13
13
|
case 4: return un ? fn(args[0], args[1], args[2], args[3])
|
|
14
14
|
: fn.call(that, args[0], args[1], args[2], args[3]);
|
|
15
|
-
} return
|
|
16
|
-
};
|
|
15
|
+
} return fn.apply(that, args);
|
|
16
|
+
};
|
package/modules/_iobject.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2
2
|
var cof = require('./_cof');
|
|
3
|
-
|
|
3
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
4
|
+
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
4
5
|
return cof(it) == 'String' ? it.split('') : Object(it);
|
|
5
|
-
};
|
|
6
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// check on default Array iterator
|
|
2
|
-
var Iterators
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var Iterators = require('./_iterators');
|
|
3
|
+
var ITERATOR = require('./_wks')('iterator');
|
|
4
|
+
var ArrayProto = Array.prototype;
|
|
5
5
|
|
|
6
|
-
module.exports = function(it){
|
|
6
|
+
module.exports = function (it) {
|
|
7
7
|
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
8
|
-
};
|
|
8
|
+
};
|
package/modules/_is-array.js
CHANGED
package/modules/_is-integer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// 20.1.2.3 Number.isInteger(number)
|
|
2
|
-
var isObject = require('./_is-object')
|
|
3
|
-
|
|
4
|
-
module.exports = function isInteger(it){
|
|
2
|
+
var isObject = require('./_is-object');
|
|
3
|
+
var floor = Math.floor;
|
|
4
|
+
module.exports = function isInteger(it) {
|
|
5
5
|
return !isObject(it) && isFinite(it) && floor(it) === it;
|
|
6
|
-
};
|
|
6
|
+
};
|
package/modules/_is-object.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports = function(it){
|
|
1
|
+
module.exports = function (it) {
|
|
2
2
|
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
3
|
-
};
|
|
3
|
+
};
|
package/modules/_is-regexp.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// 7.2.8 IsRegExp(argument)
|
|
2
|
-
var isObject = require('./_is-object')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
module.exports = function(it){
|
|
2
|
+
var isObject = require('./_is-object');
|
|
3
|
+
var cof = require('./_cof');
|
|
4
|
+
var MATCH = require('./_wks')('match');
|
|
5
|
+
module.exports = function (it) {
|
|
6
6
|
var isRegExp;
|
|
7
7
|
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
|
|
8
|
-
};
|
|
8
|
+
};
|
package/modules/_iter-call.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// call something on iterator step with safe closing on error
|
|
2
2
|
var anObject = require('./_an-object');
|
|
3
|
-
module.exports = function(iterator, fn, value, entries){
|
|
3
|
+
module.exports = function (iterator, fn, value, entries) {
|
|
4
4
|
try {
|
|
5
5
|
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
|
|
6
6
|
// 7.4.6 IteratorClose(iterator, completion)
|
|
7
|
-
} catch(e){
|
|
7
|
+
} catch (e) {
|
|
8
8
|
var ret = iterator['return'];
|
|
9
|
-
if(ret !== undefined)anObject(ret.call(iterator));
|
|
9
|
+
if (ret !== undefined) anObject(ret.call(iterator));
|
|
10
10
|
throw e;
|
|
11
11
|
}
|
|
12
|
-
};
|
|
12
|
+
};
|
package/modules/_iter-create.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var create
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var create = require('./_object-create');
|
|
3
|
+
var descriptor = require('./_property-desc');
|
|
4
|
+
var setToStringTag = require('./_set-to-string-tag');
|
|
5
|
+
var IteratorPrototype = {};
|
|
6
6
|
|
|
7
7
|
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
|
8
|
-
require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function(){ return this; });
|
|
8
|
+
require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });
|
|
9
9
|
|
|
10
|
-
module.exports = function(Constructor, NAME, next){
|
|
11
|
-
Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});
|
|
10
|
+
module.exports = function (Constructor, NAME, next) {
|
|
11
|
+
Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
|
|
12
12
|
setToStringTag(Constructor, NAME + ' Iterator');
|
|
13
|
-
};
|
|
13
|
+
};
|