core-js 2.2.2 → 2.5.0
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 +345 -249
- package/Gruntfile.js +2 -1
- package/README.md +472 -165
- package/bower.json +1 -1
- package/build/Gruntfile.ls +4 -2
- package/build/build.ls +3 -3
- package/build/config.js +30 -5
- package/build/index.js +4 -4
- package/client/core.js +7975 -6662
- package/client/core.min.js +5 -5
- package/client/core.min.js.map +1 -1
- package/client/library.js +7489 -6225
- package/client/library.min.js +5 -5
- package/client/library.min.js.map +1 -1
- package/client/shim.js +7634 -6357
- 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/asap.js +2 -0
- package/es7/error.js +1 -1
- package/es7/global.js +2 -0
- package/es7/index.js +24 -0
- package/es7/map.js +3 -1
- package/es7/math.js +8 -0
- package/es7/object.js +1 -1
- package/es7/observable.js +7 -0
- package/es7/promise.js +3 -0
- package/es7/set.js +3 -1
- package/es7/symbol.js +3 -0
- 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 +1 -1
- 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 +1 -1
- package/fn/asap.js +2 -0
- 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 +4 -4
- 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 +7 -0
- 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 +1 -1
- 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 +2 -0
- package/fn/symbol/for.js +1 -1
- package/fn/symbol/has-instance.js +2 -1
- package/fn/symbol/index.js +3 -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 +2 -0
- 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/asap.js +2 -0
- package/library/es7/error.js +1 -1
- package/library/es7/global.js +2 -0
- package/library/es7/index.js +24 -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 +7 -0
- package/library/es7/promise.js +3 -0
- package/library/es7/set.js +3 -1
- package/library/es7/symbol.js +3 -0
- 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 +1 -1
- 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 +1 -1
- package/library/fn/asap.js +2 -0
- 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 +4 -4
- 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 +7 -0
- 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 +1 -1
- 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 +2 -0
- package/library/fn/symbol/for.js +1 -1
- package/library/fn/symbol/has-instance.js +2 -1
- package/library/fn/symbol/index.js +3 -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 +2 -0
- 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 +5 -5
- 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 +28 -28
- package/library/modules/_array-species-constructor.js +16 -0
- package/library/modules/_array-species-create.js +5 -15
- 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 -68
- 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 +8 -8
- package/library/modules/_ctx.js +8 -8
- package/library/modules/_date-to-iso-string.js +26 -0
- package/library/modules/_date-to-primitive.js +9 -9
- 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 +4 -4
- 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 +23 -17
- 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 +9 -8
- 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 +64 -54
- package/library/modules/_new-promise-capability.js +18 -0
- package/library/modules/_object-assign.js +27 -26
- package/library/modules/_object-create.js +41 -40
- package/library/modules/_object-define.js +11 -10
- package/library/modules/_object-dp.js +10 -10
- package/library/modules/_object-dps.js +13 -13
- package/library/modules/_object-forced-pam.js +9 -7
- package/library/modules/_object-gopd.js +16 -16
- package/library/modules/_object-gopn-ext.js +6 -6
- package/library/modules/_object-gopn.js +7 -7
- package/library/modules/_object-gops.js +1 -1
- package/library/modules/_object-gpo.js +13 -13
- package/library/modules/_object-keys-internal.js +17 -17
- package/library/modules/_object-keys.js +7 -7
- 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 +8 -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 +5 -5
- package/library/modules/_shared.js +5 -5
- package/library/modules/_species-constructor.js +7 -6
- package/library/modules/_strict-method.js +9 -7
- 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 -13
- package/library/modules/_string-repeat.js +9 -9
- package/library/modules/_string-trim.js +16 -16
- package/library/modules/_string-ws.js +2 -2
- 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 -243
- package/library/modules/_typed-buffer.js +155 -154
- package/library/modules/_typed.js +16 -14
- package/library/modules/_uid.js +4 -4
- package/library/modules/_validate-collection.js +5 -0
- package/library/modules/_wks-define.js +9 -0
- package/library/modules/_wks-ext.js +1 -0
- package/library/modules/_wks.js +9 -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 +10 -10
- package/library/modules/es6.array.fill.js +2 -2
- package/library/modules/es6.array.filter.js +10 -10
- 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 +11 -11
- package/library/modules/es6.array.from.js +22 -22
- package/library/modules/es6.array.index-of.js +15 -15
- package/library/modules/es6.array.is-array.js +4 -4
- package/library/modules/es6.array.iterator.js +13 -13
- package/library/modules/es6.array.join.js +12 -12
- package/library/modules/es6.array.last-index-of.js +22 -22
- package/library/modules/es6.array.map.js +10 -10
- package/library/modules/es6.array.of.js +10 -10
- package/library/modules/es6.array.reduce-right.js +10 -10
- package/library/modules/es6.array.reduce.js +10 -10
- package/library/modules/es6.array.slice.js +28 -28
- package/library/modules/es6.array.some.js +10 -10
- package/library/modules/es6.array.sort.js +23 -23
- package/library/modules/es6.array.species.js +1 -1
- package/library/modules/es6.date.now.js +4 -4
- package/library/modules/es6.date.to-iso-string.js +8 -28
- package/library/modules/es6.date.to-json.js +15 -10
- package/library/modules/es6.function.bind.js +4 -4
- 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 +114 -114
- package/library/modules/es6.number.to-precision.js +18 -18
- package/library/modules/es6.object.assign.js +1 -1
- package/library/modules/es6.object.create.js +3 -3
- package/library/modules/es6.object.define-properties.js +3 -3
- package/library/modules/es6.object.define-property.js +3 -3
- 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 +4 -4
- package/library/modules/es6.parse-int.js +4 -4
- package/library/modules/es6.promise.js +146 -159
- package/library/modules/es6.reflect.apply.js +14 -7
- package/library/modules/es6.reflect.construct.js +29 -20
- 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 +143 -143
- package/library/modules/es6.typed.array-buffer.js +29 -30
- 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 -29
- 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 +12 -0
- 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 +12 -12
- package/library/modules/es7.object.define-setter.js +12 -12
- 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 +18 -18
- package/library/modules/es7.object.lookup-setter.js +18 -18
- package/library/modules/es7.object.values.js +4 -4
- package/library/modules/es7.observable.js +199 -0
- 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 +30 -30
- package/library/modules/es7.string.pad-end.js +4 -4
- package/library/modules/es7.string.pad-start.js +4 -4
- 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 -0
- package/library/modules/es7.symbol.observable.js +1 -0
- 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 +11 -10
- package/library/shim.js +26 -1
- package/library/stage/0.js +2 -1
- package/library/stage/1.js +22 -4
- package/library/stage/2.js +4 -1
- package/library/stage/3.js +4 -6
- package/library/stage/4.js +6 -1
- package/library/stage/index.js +1 -1
- package/library/stage/pre.js +10 -10
- 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 +5 -5
- 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 +28 -28
- package/modules/_array-species-constructor.js +16 -0
- package/modules/_array-species-create.js +5 -15
- package/modules/_bind.js +15 -14
- package/modules/_classof.js +8 -8
- package/modules/_cof.js +2 -2
- package/modules/_collection-strong.js +69 -68
- 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 +8 -8
- package/modules/_ctx.js +8 -8
- package/modules/_date-to-iso-string.js +26 -0
- package/modules/_date-to-primitive.js +9 -9
- 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 +4 -4
- 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 +23 -17
- 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 +9 -8
- 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 +64 -54
- package/modules/_new-promise-capability.js +18 -0
- package/modules/_object-assign.js +27 -26
- package/modules/_object-create.js +41 -40
- package/modules/_object-define.js +11 -10
- package/modules/_object-dp.js +10 -10
- package/modules/_object-dps.js +13 -13
- package/modules/_object-forced-pam.js +9 -7
- package/modules/_object-gopd.js +16 -16
- package/modules/_object-gopn-ext.js +6 -6
- package/modules/_object-gopn.js +7 -7
- package/modules/_object-gops.js +1 -1
- package/modules/_object-gpo.js +13 -13
- package/modules/_object-keys-internal.js +17 -17
- package/modules/_object-keys.js +7 -7
- 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 +8 -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 +5 -5
- package/modules/_shared.js +5 -5
- package/modules/_species-constructor.js +7 -6
- package/modules/_strict-method.js +9 -7
- 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 -13
- package/modules/_string-repeat.js +9 -9
- package/modules/_string-trim.js +16 -16
- package/modules/_string-ws.js +2 -2
- 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 -243
- package/modules/_typed-buffer.js +155 -154
- package/modules/_typed.js +16 -14
- package/modules/_uid.js +4 -4
- package/modules/_validate-collection.js +5 -0
- package/modules/_wks-define.js +9 -0
- package/modules/_wks-ext.js +1 -0
- package/modules/_wks.js +9 -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 +10 -10
- package/modules/es6.array.fill.js +2 -2
- package/modules/es6.array.filter.js +10 -10
- package/modules/es6.array.find-index.js +7 -7
- package/modules/es6.array.find.js +7 -7
- package/modules/es6.array.for-each.js +11 -11
- package/modules/es6.array.from.js +22 -22
- package/modules/es6.array.index-of.js +15 -15
- package/modules/es6.array.is-array.js +4 -4
- package/modules/es6.array.iterator.js +13 -13
- package/modules/es6.array.join.js +12 -12
- package/modules/es6.array.last-index-of.js +22 -22
- package/modules/es6.array.map.js +10 -10
- package/modules/es6.array.of.js +10 -10
- package/modules/es6.array.reduce-right.js +10 -10
- package/modules/es6.array.reduce.js +10 -10
- package/modules/es6.array.slice.js +28 -28
- package/modules/es6.array.some.js +10 -10
- package/modules/es6.array.sort.js +23 -23
- package/modules/es6.array.species.js +1 -1
- package/modules/es6.date.now.js +4 -4
- package/modules/es6.date.to-iso-string.js +8 -28
- package/modules/es6.date.to-json.js +11 -9
- package/modules/es6.date.to-primitive.js +4 -4
- package/modules/es6.date.to-string.js +9 -8
- package/modules/es6.function.bind.js +4 -4
- package/modules/es6.function.has-instance.js +9 -9
- package/modules/es6.function.name.js +12 -12
- 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 +114 -114
- package/modules/es6.number.to-precision.js +18 -18
- package/modules/es6.object.assign.js +1 -1
- package/modules/es6.object.create.js +3 -3
- package/modules/es6.object.define-properties.js +3 -3
- package/modules/es6.object.define-property.js +3 -3
- 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 +4 -4
- package/modules/es6.parse-int.js +4 -4
- package/modules/es6.promise.js +146 -159
- package/modules/es6.reflect.apply.js +14 -7
- package/modules/es6.reflect.construct.js +29 -20
- 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 +25 -25
- 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 +143 -143
- package/modules/es6.typed.array-buffer.js +29 -30
- 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 -29
- 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 +12 -0
- 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 +12 -12
- package/modules/es7.object.define-setter.js +12 -12
- 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 +18 -18
- package/modules/es7.object.lookup-setter.js +18 -18
- package/modules/es7.object.values.js +4 -4
- package/modules/es7.observable.js +199 -0
- 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 +30 -30
- package/modules/es7.string.pad-end.js +4 -4
- package/modules/es7.string.pad-start.js +4 -4
- 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 -0
- package/modules/es7.symbol.observable.js +1 -0
- 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 +11 -10
- package/package.json +17 -14
- package/shim.js +26 -1
- package/stage/0.js +2 -1
- package/stage/1.js +22 -4
- package/stage/2.js +4 -1
- package/stage/3.js +4 -6
- package/stage/4.js +6 -1
- package/stage/index.js +1 -1
- package/stage/pre.js +10 -10
- 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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// 26.1.8 Reflect.getPrototypeOf(target)
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var getProto = require('./_object-gpo');
|
|
4
|
+
var anObject = require('./_an-object');
|
|
5
5
|
|
|
6
6
|
$export($export.S, 'Reflect', {
|
|
7
|
-
getPrototypeOf: function getPrototypeOf(target){
|
|
7
|
+
getPrototypeOf: function getPrototypeOf(target) {
|
|
8
8
|
return getProto(anObject(target));
|
|
9
9
|
}
|
|
10
|
-
});
|
|
10
|
+
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
// 26.1.6 Reflect.get(target, propertyKey [, receiver])
|
|
2
|
-
var gOPD
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
var gOPD = require('./_object-gopd');
|
|
3
|
+
var getPrototypeOf = require('./_object-gpo');
|
|
4
|
+
var has = require('./_has');
|
|
5
|
+
var $export = require('./_export');
|
|
6
|
+
var isObject = require('./_is-object');
|
|
7
|
+
var anObject = require('./_an-object');
|
|
8
8
|
|
|
9
|
-
function get(target, propertyKey
|
|
10
|
-
var receiver = arguments.length < 3 ? target : arguments[2]
|
|
11
|
-
|
|
12
|
-
if(anObject(target) === receiver)return target[propertyKey];
|
|
13
|
-
if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')
|
|
9
|
+
function get(target, propertyKey /* , receiver */) {
|
|
10
|
+
var receiver = arguments.length < 3 ? target : arguments[2];
|
|
11
|
+
var desc, proto;
|
|
12
|
+
if (anObject(target) === receiver) return target[propertyKey];
|
|
13
|
+
if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
|
|
14
14
|
? desc.value
|
|
15
15
|
: desc.get !== undefined
|
|
16
16
|
? desc.get.call(receiver)
|
|
17
17
|
: undefined;
|
|
18
|
-
if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);
|
|
18
|
+
if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
$export($export.S, 'Reflect', {get: get});
|
|
21
|
+
$export($export.S, 'Reflect', { get: get });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// 26.1.10 Reflect.isExtensible(target)
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var anObject = require('./_an-object');
|
|
4
|
+
var $isExtensible = Object.isExtensible;
|
|
5
5
|
|
|
6
6
|
$export($export.S, 'Reflect', {
|
|
7
|
-
isExtensible: function isExtensible(target){
|
|
7
|
+
isExtensible: function isExtensible(target) {
|
|
8
8
|
anObject(target);
|
|
9
9
|
return $isExtensible ? $isExtensible(target) : true;
|
|
10
10
|
}
|
|
11
|
-
});
|
|
11
|
+
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// 26.1.12 Reflect.preventExtensions(target)
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var anObject = require('./_an-object');
|
|
4
|
+
var $preventExtensions = Object.preventExtensions;
|
|
5
5
|
|
|
6
6
|
$export($export.S, 'Reflect', {
|
|
7
|
-
preventExtensions: function preventExtensions(target){
|
|
7
|
+
preventExtensions: function preventExtensions(target) {
|
|
8
8
|
anObject(target);
|
|
9
9
|
try {
|
|
10
|
-
if($preventExtensions)$preventExtensions(target);
|
|
10
|
+
if ($preventExtensions) $preventExtensions(target);
|
|
11
11
|
return true;
|
|
12
|
-
} catch(e){
|
|
12
|
+
} catch (e) {
|
|
13
13
|
return false;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
});
|
|
16
|
+
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// 26.1.14 Reflect.setPrototypeOf(target, proto)
|
|
2
|
-
var $export
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var setProto = require('./_set-proto');
|
|
4
4
|
|
|
5
|
-
if(setProto)$export($export.S, 'Reflect', {
|
|
6
|
-
setPrototypeOf: function setPrototypeOf(target, proto){
|
|
5
|
+
if (setProto) $export($export.S, 'Reflect', {
|
|
6
|
+
setPrototypeOf: function setPrototypeOf(target, proto) {
|
|
7
7
|
setProto.check(target, proto);
|
|
8
8
|
try {
|
|
9
9
|
setProto.set(target, proto);
|
|
10
10
|
return true;
|
|
11
|
-
} catch(e){
|
|
11
|
+
} catch (e) {
|
|
12
12
|
return false;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
});
|
|
15
|
+
});
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
|
|
2
|
-
var dP
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
var dP = require('./_object-dp');
|
|
3
|
+
var gOPD = require('./_object-gopd');
|
|
4
|
+
var getPrototypeOf = require('./_object-gpo');
|
|
5
|
+
var has = require('./_has');
|
|
6
|
+
var $export = require('./_export');
|
|
7
|
+
var createDesc = require('./_property-desc');
|
|
8
|
+
var anObject = require('./_an-object');
|
|
9
|
+
var isObject = require('./_is-object');
|
|
10
10
|
|
|
11
|
-
function set(target, propertyKey, V
|
|
12
|
-
var receiver = arguments.length < 4 ? target : arguments[3]
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
if(!ownDesc){
|
|
16
|
-
if(isObject(proto = getPrototypeOf(target))){
|
|
11
|
+
function set(target, propertyKey, V /* , receiver */) {
|
|
12
|
+
var receiver = arguments.length < 4 ? target : arguments[3];
|
|
13
|
+
var ownDesc = gOPD.f(anObject(target), propertyKey);
|
|
14
|
+
var existingDescriptor, proto;
|
|
15
|
+
if (!ownDesc) {
|
|
16
|
+
if (isObject(proto = getPrototypeOf(target))) {
|
|
17
17
|
return set(proto, propertyKey, V, receiver);
|
|
18
18
|
}
|
|
19
19
|
ownDesc = createDesc(0);
|
|
20
20
|
}
|
|
21
|
-
if(has(ownDesc, 'value')){
|
|
22
|
-
if(ownDesc.writable === false || !isObject(receiver))return false;
|
|
21
|
+
if (has(ownDesc, 'value')) {
|
|
22
|
+
if (ownDesc.writable === false || !isObject(receiver)) return false;
|
|
23
23
|
existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);
|
|
24
24
|
existingDescriptor.value = V;
|
|
25
25
|
dP.f(receiver, propertyKey, existingDescriptor);
|
|
@@ -28,4 +28,4 @@ function set(target, propertyKey, V/*, receiver*/){
|
|
|
28
28
|
return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
$export($export.S, 'Reflect', {set: set});
|
|
31
|
+
$export($export.S, 'Reflect', { set: set });
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
var global
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
var global = require('./_global');
|
|
2
|
+
var inheritIfRequired = require('./_inherit-if-required');
|
|
3
|
+
var dP = require('./_object-dp').f;
|
|
4
|
+
var gOPN = require('./_object-gopn').f;
|
|
5
|
+
var isRegExp = require('./_is-regexp');
|
|
6
|
+
var $flags = require('./_flags');
|
|
7
|
+
var $RegExp = global.RegExp;
|
|
8
|
+
var Base = $RegExp;
|
|
9
|
+
var proto = $RegExp.prototype;
|
|
10
|
+
var re1 = /a/g;
|
|
11
|
+
var re2 = /a/g;
|
|
12
|
+
// "new" creates a new object, old webkit buggy here
|
|
13
|
+
var CORRECT_NEW = new $RegExp(re1) !== re1;
|
|
14
14
|
|
|
15
|
-
if(require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function(){
|
|
15
|
+
if (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {
|
|
16
16
|
re2[require('./_wks')('match')] = false;
|
|
17
17
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
18
18
|
return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
|
|
19
|
-
}))){
|
|
20
|
-
$RegExp = function RegExp(p, f){
|
|
21
|
-
var tiRE = this instanceof $RegExp
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
}))) {
|
|
20
|
+
$RegExp = function RegExp(p, f) {
|
|
21
|
+
var tiRE = this instanceof $RegExp;
|
|
22
|
+
var piRE = isRegExp(p);
|
|
23
|
+
var fiU = f === undefined;
|
|
24
24
|
return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
|
|
25
25
|
: inheritIfRequired(CORRECT_NEW
|
|
26
26
|
? new Base(piRE && !fiU ? p.source : p, f)
|
|
27
27
|
: Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
|
|
28
28
|
, tiRE ? this : proto, $RegExp);
|
|
29
29
|
};
|
|
30
|
-
var proxy = function(key){
|
|
30
|
+
var proxy = function (key) {
|
|
31
31
|
key in $RegExp || dP($RegExp, key, {
|
|
32
32
|
configurable: true,
|
|
33
|
-
get: function(){ return Base[key]; },
|
|
34
|
-
set: function(it){ Base[key] = it; }
|
|
33
|
+
get: function () { return Base[key]; },
|
|
34
|
+
set: function (it) { Base[key] = it; }
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
|
-
for(var keys = gOPN(Base), i = 0; keys.length > i;
|
|
37
|
+
for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
|
|
38
38
|
proto.constructor = $RegExp;
|
|
39
39
|
$RegExp.prototype = proto;
|
|
40
40
|
require('./_redefine')(global, 'RegExp', $RegExp);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
require('./_set-species')('RegExp');
|
|
43
|
+
require('./_set-species')('RegExp');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// 21.2.5.3 get RegExp.prototype.flags()
|
|
2
|
-
if(require('./_descriptors') && /./g.flags != 'g')require('./_object-dp').f(RegExp.prototype, 'flags', {
|
|
2
|
+
if (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {
|
|
3
3
|
configurable: true,
|
|
4
4
|
get: require('./_flags')
|
|
5
|
-
});
|
|
5
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @@match logic
|
|
2
|
-
require('./_fix-re-wks')('match', 1, function(defined, MATCH, $match){
|
|
2
|
+
require('./_fix-re-wks')('match', 1, function (defined, MATCH, $match) {
|
|
3
3
|
// 21.1.3.11 String.prototype.match(regexp)
|
|
4
|
-
return [function match(regexp){
|
|
4
|
+
return [function match(regexp) {
|
|
5
5
|
'use strict';
|
|
6
|
-
var O
|
|
7
|
-
|
|
6
|
+
var O = defined(this);
|
|
7
|
+
var fn = regexp == undefined ? undefined : regexp[MATCH];
|
|
8
8
|
return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
|
|
9
9
|
}, $match];
|
|
10
|
-
});
|
|
10
|
+
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @@replace logic
|
|
2
|
-
require('./_fix-re-wks')('replace', 2, function(defined, REPLACE, $replace){
|
|
2
|
+
require('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {
|
|
3
3
|
// 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
|
|
4
|
-
return [function replace(searchValue, replaceValue){
|
|
4
|
+
return [function replace(searchValue, replaceValue) {
|
|
5
5
|
'use strict';
|
|
6
|
-
var O
|
|
7
|
-
|
|
6
|
+
var O = defined(this);
|
|
7
|
+
var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
8
8
|
return fn !== undefined
|
|
9
9
|
? fn.call(searchValue, O, replaceValue)
|
|
10
10
|
: $replace.call(String(O), searchValue, replaceValue);
|
|
11
11
|
}, $replace];
|
|
12
|
-
});
|
|
12
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @@search logic
|
|
2
|
-
require('./_fix-re-wks')('search', 1, function(defined, SEARCH, $search){
|
|
2
|
+
require('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search) {
|
|
3
3
|
// 21.1.3.15 String.prototype.search(regexp)
|
|
4
|
-
return [function search(regexp){
|
|
4
|
+
return [function search(regexp) {
|
|
5
5
|
'use strict';
|
|
6
|
-
var O
|
|
7
|
-
|
|
6
|
+
var O = defined(this);
|
|
7
|
+
var fn = regexp == undefined ? undefined : regexp[SEARCH];
|
|
8
8
|
return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
|
|
9
9
|
}, $search];
|
|
10
|
-
});
|
|
10
|
+
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// @@split logic
|
|
2
|
-
require('./_fix-re-wks')('split', 2, function(defined, SPLIT, $split){
|
|
2
|
+
require('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split) {
|
|
3
3
|
'use strict';
|
|
4
|
-
var isRegExp
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if(
|
|
4
|
+
var isRegExp = require('./_is-regexp');
|
|
5
|
+
var _split = $split;
|
|
6
|
+
var $push = [].push;
|
|
7
|
+
var $SPLIT = 'split';
|
|
8
|
+
var LENGTH = 'length';
|
|
9
|
+
var LAST_INDEX = 'lastIndex';
|
|
10
|
+
if (
|
|
11
11
|
'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
|
|
12
12
|
'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
|
|
13
13
|
'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
|
|
14
14
|
'.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
|
|
15
15
|
'.'[$SPLIT](/()()/)[LENGTH] > 1 ||
|
|
16
16
|
''[$SPLIT](/.?/)[LENGTH]
|
|
17
|
-
){
|
|
17
|
+
) {
|
|
18
18
|
var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group
|
|
19
19
|
// based on es5-shim implementation, need to rework it
|
|
20
|
-
$split = function(separator, limit){
|
|
20
|
+
$split = function (separator, limit) {
|
|
21
21
|
var string = String(this);
|
|
22
|
-
if(separator === undefined && limit === 0)return [];
|
|
22
|
+
if (separator === undefined && limit === 0) return [];
|
|
23
23
|
// If `separator` is not a regex, use native split
|
|
24
|
-
if(!isRegExp(separator))return _split.call(string, separator, limit);
|
|
24
|
+
if (!isRegExp(separator)) return _split.call(string, separator, limit);
|
|
25
25
|
var output = [];
|
|
26
26
|
var flags = (separator.ignoreCase ? 'i' : '') +
|
|
27
27
|
(separator.multiline ? 'm' : '') +
|
|
@@ -33,38 +33,39 @@ require('./_fix-re-wks')('split', 2, function(defined, SPLIT, $split){
|
|
|
33
33
|
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
34
34
|
var separator2, match, lastIndex, lastLength, i;
|
|
35
35
|
// Doesn't need flags gy, but they don't hurt
|
|
36
|
-
if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
|
|
37
|
-
while(match = separatorCopy.exec(string)){
|
|
36
|
+
if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
|
|
37
|
+
while (match = separatorCopy.exec(string)) {
|
|
38
38
|
// `separatorCopy.lastIndex` is not reliable cross-browser
|
|
39
39
|
lastIndex = match.index + match[0][LENGTH];
|
|
40
|
-
if(lastIndex > lastLastIndex){
|
|
40
|
+
if (lastIndex > lastLastIndex) {
|
|
41
41
|
output.push(string.slice(lastLastIndex, match.index));
|
|
42
42
|
// Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
// eslint-disable-next-line no-loop-func
|
|
44
|
+
if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () {
|
|
45
|
+
for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined;
|
|
45
46
|
});
|
|
46
|
-
if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));
|
|
47
|
+
if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
|
|
47
48
|
lastLength = match[0][LENGTH];
|
|
48
49
|
lastLastIndex = lastIndex;
|
|
49
|
-
if(output[LENGTH] >= splitLimit)break;
|
|
50
|
+
if (output[LENGTH] >= splitLimit) break;
|
|
50
51
|
}
|
|
51
|
-
if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
|
|
52
|
+
if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
|
|
52
53
|
}
|
|
53
|
-
if(lastLastIndex === string[LENGTH]){
|
|
54
|
-
if(lastLength || !separatorCopy.test(''))output.push('');
|
|
54
|
+
if (lastLastIndex === string[LENGTH]) {
|
|
55
|
+
if (lastLength || !separatorCopy.test('')) output.push('');
|
|
55
56
|
} else output.push(string.slice(lastLastIndex));
|
|
56
57
|
return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
|
|
57
58
|
};
|
|
58
59
|
// Chakra, V8
|
|
59
|
-
} else if('0'[$SPLIT](undefined, 0)[LENGTH]){
|
|
60
|
-
$split = function(separator, limit){
|
|
60
|
+
} else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
|
|
61
|
+
$split = function (separator, limit) {
|
|
61
62
|
return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
65
|
// 21.1.3.17 String.prototype.split(separator, limit)
|
|
65
|
-
return [function split(separator, limit){
|
|
66
|
-
var O
|
|
67
|
-
|
|
66
|
+
return [function split(separator, limit) {
|
|
67
|
+
var O = defined(this);
|
|
68
|
+
var fn = separator == undefined ? undefined : separator[SPLIT];
|
|
68
69
|
return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);
|
|
69
70
|
}, $split];
|
|
70
|
-
});
|
|
71
|
+
});
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
require('./es6.regexp.flags');
|
|
3
|
-
var anObject
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var define = function(fn){
|
|
10
|
-
require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
// 21.2.5.14 RegExp.prototype.toString()
|
|
14
|
-
if(require('./_fails')(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){
|
|
15
|
-
define(function toString(){
|
|
16
|
-
var R = anObject(this);
|
|
17
|
-
return '/'.concat(R.source, '/',
|
|
18
|
-
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
|
|
19
|
-
});
|
|
20
|
-
// FF44- RegExp#toString has a wrong name
|
|
21
|
-
} else if($toString.name != TO_STRING){
|
|
22
|
-
define(function toString(){
|
|
23
|
-
return $toString.call(this);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
1
|
+
'use strict';
|
|
2
|
+
require('./es6.regexp.flags');
|
|
3
|
+
var anObject = require('./_an-object');
|
|
4
|
+
var $flags = require('./_flags');
|
|
5
|
+
var DESCRIPTORS = require('./_descriptors');
|
|
6
|
+
var TO_STRING = 'toString';
|
|
7
|
+
var $toString = /./[TO_STRING];
|
|
8
|
+
|
|
9
|
+
var define = function (fn) {
|
|
10
|
+
require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
// 21.2.5.14 RegExp.prototype.toString()
|
|
14
|
+
if (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
|
15
|
+
define(function toString() {
|
|
16
|
+
var R = anObject(this);
|
|
17
|
+
return '/'.concat(R.source, '/',
|
|
18
|
+
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
|
|
19
|
+
});
|
|
20
|
+
// FF44- RegExp#toString has a wrong name
|
|
21
|
+
} else if ($toString.name != TO_STRING) {
|
|
22
|
+
define(function toString() {
|
|
23
|
+
return $toString.call(this);
|
|
24
|
+
});
|
|
25
|
+
}
|
package/modules/es6.set.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
var strong = require('./_collection-strong');
|
|
3
|
+
var validate = require('./_validate-collection');
|
|
4
|
+
var SET = 'Set';
|
|
3
5
|
|
|
4
6
|
// 23.2 Set Objects
|
|
5
|
-
module.exports = require('./_collection')(
|
|
6
|
-
return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
7
|
+
module.exports = require('./_collection')(SET, function (get) {
|
|
8
|
+
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
7
9
|
}, {
|
|
8
10
|
// 23.2.3.1 Set.prototype.add(value)
|
|
9
|
-
add: function add(value){
|
|
10
|
-
return strong.def(this, value = value === 0 ? 0 : value, value);
|
|
11
|
+
add: function add(value) {
|
|
12
|
+
return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);
|
|
11
13
|
}
|
|
12
|
-
}, strong);
|
|
14
|
+
}, strong);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.2 String.prototype.anchor(name)
|
|
3
|
-
require('./_string-html')('anchor', function(createHTML){
|
|
4
|
-
return function anchor(name){
|
|
3
|
+
require('./_string-html')('anchor', function (createHTML) {
|
|
4
|
+
return function anchor(name) {
|
|
5
5
|
return createHTML(this, 'a', 'name', name);
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.3 String.prototype.big()
|
|
3
|
-
require('./_string-html')('big', function(createHTML){
|
|
4
|
-
return function big(){
|
|
3
|
+
require('./_string-html')('big', function (createHTML) {
|
|
4
|
+
return function big() {
|
|
5
5
|
return createHTML(this, 'big', '', '');
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.4 String.prototype.blink()
|
|
3
|
-
require('./_string-html')('blink', function(createHTML){
|
|
4
|
-
return function blink(){
|
|
3
|
+
require('./_string-html')('blink', function (createHTML) {
|
|
4
|
+
return function blink() {
|
|
5
5
|
return createHTML(this, 'blink', '', '');
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.5 String.prototype.bold()
|
|
3
|
-
require('./_string-html')('bold', function(createHTML){
|
|
4
|
-
return function bold(){
|
|
3
|
+
require('./_string-html')('bold', function (createHTML) {
|
|
4
|
+
return function bold() {
|
|
5
5
|
return createHTML(this, 'b', '', '');
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $at = require('./_string-at')(false);
|
|
4
4
|
$export($export.P, 'String', {
|
|
5
5
|
// 21.1.3.3 String.prototype.codePointAt(pos)
|
|
6
|
-
codePointAt: function codePointAt(pos){
|
|
6
|
+
codePointAt: function codePointAt(pos) {
|
|
7
7
|
return $at(this, pos);
|
|
8
8
|
}
|
|
9
|
-
});
|
|
9
|
+
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
|
|
2
2
|
'use strict';
|
|
3
|
-
var $export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
var $export = require('./_export');
|
|
4
|
+
var toLength = require('./_to-length');
|
|
5
|
+
var context = require('./_string-context');
|
|
6
|
+
var ENDS_WITH = 'endsWith';
|
|
7
|
+
var $endsWith = ''[ENDS_WITH];
|
|
8
8
|
|
|
9
9
|
$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {
|
|
10
|
-
endsWith: function endsWith(searchString
|
|
11
|
-
var that = context(this, searchString, ENDS_WITH)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
11
|
+
var that = context(this, searchString, ENDS_WITH);
|
|
12
|
+
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
13
|
+
var len = toLength(that.length);
|
|
14
|
+
var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);
|
|
15
|
+
var search = String(searchString);
|
|
16
16
|
return $endsWith
|
|
17
17
|
? $endsWith.call(that, search, end)
|
|
18
18
|
: that.slice(end - search.length, end) === search;
|
|
19
19
|
}
|
|
20
|
-
});
|
|
20
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.6 String.prototype.fixed()
|
|
3
|
-
require('./_string-html')('fixed', function(createHTML){
|
|
4
|
-
return function fixed(){
|
|
3
|
+
require('./_string-html')('fixed', function (createHTML) {
|
|
4
|
+
return function fixed() {
|
|
5
5
|
return createHTML(this, 'tt', '', '');
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.7 String.prototype.fontcolor(color)
|
|
3
|
-
require('./_string-html')('fontcolor', function(createHTML){
|
|
4
|
-
return function fontcolor(color){
|
|
3
|
+
require('./_string-html')('fontcolor', function (createHTML) {
|
|
4
|
+
return function fontcolor(color) {
|
|
5
5
|
return createHTML(this, 'font', 'color', color);
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
// B.2.3.8 String.prototype.fontsize(size)
|
|
3
|
-
require('./_string-html')('fontsize', function(createHTML){
|
|
4
|
-
return function fontsize(size){
|
|
3
|
+
require('./_string-html')('fontsize', function (createHTML) {
|
|
4
|
+
return function fontsize(size) {
|
|
5
5
|
return createHTML(this, 'font', 'size', size);
|
|
6
|
-
}
|
|
7
|
-
});
|
|
6
|
+
};
|
|
7
|
+
});
|