From 55c8e312092c364e6d8f83925ee184c5399ae59a Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Tue, 21 Nov 2017 23:13:32 +0700 Subject: [PATCH] remove `library` folder from GitHub repo --- .gitignore | 1 + library/es/array.js | 24 - library/es/date.js | 6 - library/es/function.js | 4 - library/es/index.js | 147 ------ library/es/map.js | 5 - library/es/math.js | 18 - library/es/number.js | 13 - library/es/object.js | 27 - library/es/parse-float.js | 2 - library/es/parse-int.js | 2 - library/es/promise.js | 5 - library/es/reflect.js | 14 - library/es/regexp.js | 8 - library/es/set.js | 5 - library/es/string.js | 29 -- library/es/symbol.js | 3 - library/es/typed.js | 13 - library/es/weak-map.js | 4 - library/es/weak-set.js | 4 - library/fn/array/concat.js | 4 - library/fn/array/copy-within.js | 2 - library/fn/array/entries.js | 2 - library/fn/array/every.js | 2 - library/fn/array/fill.js | 2 - library/fn/array/filter.js | 2 - library/fn/array/find-index.js | 2 - library/fn/array/find.js | 2 - library/fn/array/flat-map.js | 2 - library/fn/array/flatten.js | 2 - library/fn/array/for-each.js | 2 - library/fn/array/from.js | 3 - library/fn/array/includes.js | 2 - library/fn/array/index-of.js | 2 - library/fn/array/index.js | 26 - library/fn/array/is-array.js | 2 - library/fn/array/iterator.js | 2 - library/fn/array/join.js | 2 - library/fn/array/keys.js | 2 - library/fn/array/last-index-of.js | 2 - library/fn/array/map.js | 2 - library/fn/array/of.js | 2 - library/fn/array/pop.js | 4 - library/fn/array/push.js | 4 - library/fn/array/reduce-right.js | 2 - library/fn/array/reduce.js | 2 - library/fn/array/reverse.js | 4 - library/fn/array/shift.js | 4 - library/fn/array/slice.js | 2 - library/fn/array/some.js | 2 - library/fn/array/sort.js | 2 - library/fn/array/splice.js | 4 - library/fn/array/unshift.js | 4 - library/fn/array/values.js | 2 - library/fn/array/virtual/copy-within.js | 2 - library/fn/array/virtual/entries.js | 2 - library/fn/array/virtual/every.js | 2 - library/fn/array/virtual/fill.js | 2 - library/fn/array/virtual/filter.js | 2 - library/fn/array/virtual/find-index.js | 2 - library/fn/array/virtual/find.js | 2 - library/fn/array/virtual/flat-map.js | 2 - library/fn/array/virtual/flatten.js | 2 - library/fn/array/virtual/for-each.js | 2 - library/fn/array/virtual/includes.js | 2 - library/fn/array/virtual/index-of.js | 2 - library/fn/array/virtual/index.js | 20 - library/fn/array/virtual/iterator.js | 2 - library/fn/array/virtual/join.js | 2 - library/fn/array/virtual/keys.js | 2 - library/fn/array/virtual/last-index-of.js | 2 - library/fn/array/virtual/map.js | 2 - library/fn/array/virtual/reduce-right.js | 2 - library/fn/array/virtual/reduce.js | 2 - library/fn/array/virtual/slice.js | 2 - library/fn/array/virtual/some.js | 2 - library/fn/array/virtual/sort.js | 2 - library/fn/array/virtual/values.js | 2 - library/fn/asap.js | 2 - library/fn/clear-immediate.js | 2 - library/fn/date/index.js | 6 - library/fn/date/now.js | 2 - library/fn/date/to-iso-string.js | 3 - library/fn/date/to-json.js | 2 - library/fn/date/to-primitive.js | 5 - library/fn/date/to-string.js | 5 - library/fn/dom-collections/index.js | 8 - library/fn/dom-collections/iterator.js | 2 - library/fn/function/bind.js | 2 - library/fn/function/has-instance.js | 2 - library/fn/function/index.js | 4 - library/fn/function/name.js | 1 - library/fn/function/virtual/bind.js | 2 - library/fn/function/virtual/index.js | 2 - library/fn/get-iterator-method.js | 3 - library/fn/get-iterator.js | 3 - library/fn/global.js | 2 - library/fn/is-iterable.js | 3 - library/fn/json/index.js | 2 - library/fn/json/stringify.js | 5 - library/fn/map/from.js | 8 - library/fn/map/index.js | 7 - library/fn/map/of.js | 8 - library/fn/math/acosh.js | 2 - library/fn/math/asinh.js | 2 - library/fn/math/atanh.js | 2 - library/fn/math/cbrt.js | 2 - library/fn/math/clamp.js | 2 - library/fn/math/clz32.js | 2 - library/fn/math/cosh.js | 2 - library/fn/math/deg-per-rad.js | 2 - library/fn/math/degrees.js | 2 - library/fn/math/expm1.js | 2 - library/fn/math/fround.js | 2 - library/fn/math/fscale.js | 2 - library/fn/math/hypot.js | 2 - library/fn/math/iaddh.js | 2 - library/fn/math/imul.js | 2 - library/fn/math/imulh.js | 2 - library/fn/math/index.js | 30 -- library/fn/math/isubh.js | 2 - library/fn/math/log10.js | 2 - library/fn/math/log1p.js | 2 - library/fn/math/log2.js | 2 - library/fn/math/rad-per-deg.js | 2 - library/fn/math/radians.js | 2 - library/fn/math/scale.js | 2 - library/fn/math/sign.js | 2 - library/fn/math/signbit.js | 3 - library/fn/math/sinh.js | 2 - library/fn/math/tanh.js | 2 - library/fn/math/trunc.js | 2 - library/fn/math/umulh.js | 2 - library/fn/number/constructor.js | 2 - library/fn/number/epsilon.js | 2 - library/fn/number/index.js | 13 - library/fn/number/is-finite.js | 2 - library/fn/number/is-integer.js | 2 - library/fn/number/is-nan.js | 2 - library/fn/number/is-safe-integer.js | 2 - library/fn/number/max-safe-integer.js | 2 - library/fn/number/min-safe-integer.js | 2 - library/fn/number/parse-float.js | 2 - library/fn/number/parse-int.js | 2 - library/fn/number/to-fixed.js | 2 - library/fn/number/to-precision.js | 2 - library/fn/number/virtual/index.js | 5 - library/fn/number/virtual/to-fixed.js | 2 - library/fn/number/virtual/to-precision.js | 2 - library/fn/object/assign.js | 2 - library/fn/object/create.js | 5 - library/fn/object/define-getter.js | 2 - library/fn/object/define-properties.js | 5 - library/fn/object/define-property.js | 5 - library/fn/object/define-setter.js | 2 - library/fn/object/entries.js | 2 - library/fn/object/freeze.js | 2 - .../fn/object/get-own-property-descriptor.js | 5 - .../fn/object/get-own-property-descriptors.js | 2 - library/fn/object/get-own-property-names.js | 5 - library/fn/object/get-own-property-symbols.js | 2 - library/fn/object/get-prototype-of.js | 2 - library/fn/object/index.js | 26 - library/fn/object/is-extensible.js | 2 - library/fn/object/is-frozen.js | 2 - library/fn/object/is-sealed.js | 2 - library/fn/object/is.js | 2 - library/fn/object/keys.js | 2 - library/fn/object/lookup-getter.js | 2 - library/fn/object/lookup-setter.js | 2 - library/fn/object/prevent-extensions.js | 2 - library/fn/object/seal.js | 2 - library/fn/object/set-prototype-of.js | 2 - library/fn/object/values.js | 2 - library/fn/observable.js | 7 - library/fn/parse-float.js | 2 - library/fn/parse-int.js | 2 - library/fn/promise.js | 7 - library/fn/promise/finally.js | 4 - library/fn/promise/index.js | 7 - library/fn/promise/try.js | 8 - library/fn/reflect/apply.js | 2 - library/fn/reflect/construct.js | 2 - library/fn/reflect/define-metadata.js | 2 - library/fn/reflect/define-property.js | 2 - library/fn/reflect/delete-metadata.js | 2 - library/fn/reflect/delete-property.js | 2 - library/fn/reflect/get-metadata-keys.js | 2 - library/fn/reflect/get-metadata.js | 2 - library/fn/reflect/get-own-metadata-keys.js | 2 - library/fn/reflect/get-own-metadata.js | 2 - .../fn/reflect/get-own-property-descriptor.js | 2 - library/fn/reflect/get-prototype-of.js | 2 - library/fn/reflect/get.js | 2 - library/fn/reflect/has-metadata.js | 2 - library/fn/reflect/has-own-metadata.js | 2 - library/fn/reflect/has.js | 2 - library/fn/reflect/index.js | 23 - library/fn/reflect/is-extensible.js | 2 - library/fn/reflect/metadata.js | 2 - library/fn/reflect/own-keys.js | 2 - library/fn/reflect/prevent-extensions.js | 2 - library/fn/reflect/set-prototype-of.js | 2 - library/fn/reflect/set.js | 2 - library/fn/regexp/constructor.js | 2 - library/fn/regexp/flags.js | 5 - library/fn/regexp/index.js | 7 - library/fn/regexp/match.js | 5 - library/fn/regexp/replace.js | 5 - library/fn/regexp/search.js | 5 - library/fn/regexp/split.js | 5 - library/fn/regexp/to-string.js | 5 - library/fn/set-immediate.js | 2 - library/fn/set-interval.js | 2 - library/fn/set-timeout.js | 2 - library/fn/set/from.js | 8 - library/fn/set/index.js | 7 - library/fn/set/of.js | 8 - library/fn/string/anchor.js | 2 - library/fn/string/at.js | 2 - library/fn/string/big.js | 2 - library/fn/string/blink.js | 2 - library/fn/string/bold.js | 2 - library/fn/string/code-point-at.js | 2 - library/fn/string/ends-with.js | 2 - library/fn/string/fixed.js | 2 - library/fn/string/fontcolor.js | 2 - library/fn/string/fontsize.js | 2 - library/fn/string/from-code-point.js | 2 - library/fn/string/includes.js | 2 - library/fn/string/index.js | 33 -- library/fn/string/italics.js | 2 - library/fn/string/iterator.js | 5 - library/fn/string/link.js | 2 - library/fn/string/match-all.js | 2 - library/fn/string/pad-end.js | 2 - library/fn/string/pad-start.js | 2 - library/fn/string/raw.js | 2 - library/fn/string/repeat.js | 2 - library/fn/string/small.js | 2 - library/fn/string/starts-with.js | 2 - library/fn/string/strike.js | 2 - library/fn/string/sub.js | 2 - library/fn/string/sup.js | 2 - library/fn/string/trim-end.js | 2 - library/fn/string/trim-left.js | 2 - library/fn/string/trim-right.js | 2 - library/fn/string/trim-start.js | 2 - library/fn/string/trim.js | 2 - library/fn/string/virtual/anchor.js | 2 - library/fn/string/virtual/at.js | 2 - library/fn/string/virtual/big.js | 2 - library/fn/string/virtual/blink.js | 2 - library/fn/string/virtual/bold.js | 2 - library/fn/string/virtual/code-point-at.js | 2 - library/fn/string/virtual/ends-with.js | 2 - library/fn/string/virtual/fixed.js | 2 - library/fn/string/virtual/fontcolor.js | 2 - library/fn/string/virtual/fontsize.js | 2 - library/fn/string/virtual/includes.js | 2 - library/fn/string/virtual/index.js | 31 -- library/fn/string/virtual/italics.js | 2 - library/fn/string/virtual/iterator.js | 2 - library/fn/string/virtual/link.js | 2 - library/fn/string/virtual/match-all.js | 2 - library/fn/string/virtual/pad-end.js | 2 - library/fn/string/virtual/pad-start.js | 2 - library/fn/string/virtual/repeat.js | 2 - library/fn/string/virtual/small.js | 2 - library/fn/string/virtual/starts-with.js | 2 - library/fn/string/virtual/strike.js | 2 - library/fn/string/virtual/sub.js | 2 - library/fn/string/virtual/sup.js | 2 - library/fn/string/virtual/trim-end.js | 2 - library/fn/string/virtual/trim-left.js | 2 - library/fn/string/virtual/trim-right.js | 2 - library/fn/string/virtual/trim-start.js | 2 - library/fn/string/virtual/trim.js | 2 - library/fn/symbol/async-iterator.js | 2 - library/fn/symbol/for.js | 2 - library/fn/symbol/has-instance.js | 2 - library/fn/symbol/index.js | 5 - library/fn/symbol/is-concat-spreadable.js | 1 - library/fn/symbol/iterator.js | 3 - library/fn/symbol/key-for.js | 2 - library/fn/symbol/match.js | 2 - library/fn/symbol/observable.js | 2 - library/fn/symbol/replace.js | 2 - library/fn/symbol/search.js | 2 - library/fn/symbol/species.js | 1 - library/fn/symbol/split.js | 2 - library/fn/symbol/to-primitive.js | 1 - library/fn/symbol/to-string-tag.js | 2 - library/fn/symbol/unscopables.js | 1 - library/fn/typed/array-buffer.js | 3 - library/fn/typed/data-view.js | 3 - library/fn/typed/float32-array.js | 2 - library/fn/typed/float64-array.js | 2 - library/fn/typed/index.js | 13 - library/fn/typed/int16-array.js | 2 - library/fn/typed/int32-array.js | 2 - library/fn/typed/int8-array.js | 2 - library/fn/typed/uint16-array.js | 2 - library/fn/typed/uint32-array.js | 2 - library/fn/typed/uint8-array.js | 2 - library/fn/typed/uint8-clamped-array.js | 2 - library/fn/weak-map.js | 6 - library/fn/weak-map/from.js | 8 - library/fn/weak-map/index.js | 6 - library/fn/weak-map/of.js | 8 - library/fn/weak-set.js | 6 - library/fn/weak-set/from.js | 8 - library/fn/weak-set/index.js | 6 - library/fn/weak-set/of.js | 8 - library/index.js | 192 ------- library/modules/_a-function.js | 4 - library/modules/_a-number-value.js | 5 - library/modules/_add-to-unscopables.js | 1 - library/modules/_an-instance.js | 5 - library/modules/_an-object.js | 5 - library/modules/_array-copy-within.js | 26 - library/modules/_array-fill.js | 15 - library/modules/_array-includes.js | 23 - library/modules/_array-methods.js | 44 -- library/modules/_array-reduce.js | 28 - library/modules/_array-species-constructor.js | 16 - library/modules/_array-species-create.js | 6 - library/modules/_bind.js | 25 - library/modules/_classof.js | 23 - library/modules/_cof.js | 5 - library/modules/_collection-strong.js | 144 ------ library/modules/_collection-weak.js | 85 ---- library/modules/_collection.js | 59 --- library/modules/_core.js | 2 - library/modules/_create-property.js | 8 - library/modules/_ctx.js | 20 - library/modules/_date-to-iso-string.js | 26 - library/modules/_date-to-primitive.js | 9 - library/modules/_defined.js | 5 - library/modules/_descriptors.js | 4 - library/modules/_dom-create.js | 7 - library/modules/_entry-virtual.js | 5 - library/modules/_enum-bug-keys.js | 4 - library/modules/_enum-keys.js | 15 - library/modules/_export.js | 61 --- library/modules/_fails-is-regexp.js | 12 - library/modules/_fails.js | 7 - library/modules/_fix-re-wks.js | 28 - library/modules/_flags.js | 13 - library/modules/_flatten-into-array.js | 31 -- library/modules/_for-of.js | 25 - library/modules/_global.js | 6 - library/modules/_has.js | 4 - library/modules/_hide.js | 8 - library/modules/_html.js | 2 - library/modules/_ie8-dom-define.js | 3 - library/modules/_inherit-if-required.js | 9 - library/modules/_invoke.js | 16 - library/modules/_iobject.js | 6 - library/modules/_is-array-iter.js | 8 - library/modules/_is-array.js | 5 - library/modules/_is-integer.js | 6 - library/modules/_is-object.js | 3 - library/modules/_is-regexp.js | 8 - library/modules/_iter-call.js | 12 - library/modules/_iter-create.js | 13 - library/modules/_iter-define.js | 70 --- library/modules/_iter-detect.js | 22 - library/modules/_iter-step.js | 3 - library/modules/_iterators.js | 1 - library/modules/_library.js | 1 - library/modules/_math-expm1.js | 10 - library/modules/_math-fround.js | 23 - library/modules/_math-log1p.js | 4 - library/modules/_math-scale.js | 18 - library/modules/_math-sign.js | 5 - library/modules/_meta.js | 53 -- library/modules/_metadata.js | 51 -- library/modules/_microtask.js | 68 --- library/modules/_new-promise-capability.js | 18 - library/modules/_object-assign.js | 34 -- library/modules/_object-create.js | 41 -- library/modules/_object-dp.js | 16 - library/modules/_object-dps.js | 13 - library/modules/_object-forced-pam.js | 9 - library/modules/_object-gopd.js | 16 - library/modules/_object-gopn-ext.js | 19 - library/modules/_object-gopn.js | 7 - library/modules/_object-gops.js | 1 - library/modules/_object-gpo.js | 13 - library/modules/_object-keys-internal.js | 17 - library/modules/_object-keys.js | 7 - library/modules/_object-pie.js | 1 - library/modules/_object-sap.js | 10 - library/modules/_object-to-array.js | 16 - library/modules/_own-keys.js | 10 - library/modules/_parse-float.js | 8 - library/modules/_parse-int.js | 9 - library/modules/_perform.js | 7 - library/modules/_promise-resolve.js | 12 - library/modules/_property-desc.js | 8 - library/modules/_redefine-all.js | 7 - library/modules/_redefine.js | 1 - library/modules/_same-value.js | 5 - library/modules/_set-collection-from.js | 28 - library/modules/_set-collection-of.js | 12 - library/modules/_set-proto.js | 25 - library/modules/_set-species.js | 14 - library/modules/_set-to-string-tag.js | 7 - library/modules/_shared-key.js | 5 - library/modules/_shared.js | 6 - library/modules/_species-constructor.js | 9 - library/modules/_strict-method.js | 9 - library/modules/_string-at.js | 17 - library/modules/_string-context.js | 8 - library/modules/_string-html.js | 19 - library/modules/_string-pad.js | 16 - library/modules/_string-repeat.js | 12 - library/modules/_string-trim.js | 30 -- library/modules/_string-ws.js | 2 - library/modules/_task.js | 84 --- library/modules/_to-absolute-index.js | 7 - library/modules/_to-index.js | 10 - library/modules/_to-integer.js | 6 - library/modules/_to-iobject.js | 6 - library/modules/_to-length.js | 6 - library/modules/_to-object.js | 5 - library/modules/_to-primitive.js | 12 - library/modules/_typed-array.js | 480 ------------------ library/modules/_typed-buffer.js | 276 ---------- library/modules/_typed.js | 28 - library/modules/_uid.js | 5 - library/modules/_validate-collection.js | 5 - library/modules/_wks-define.js | 9 - library/modules/_wks-ext.js | 1 - library/modules/_wks.js | 11 - library/modules/core.get-iterator-method.js | 8 - library/modules/core.get-iterator.js | 7 - library/modules/core.is-iterable.js | 10 - library/modules/es.array.copy-within.js | 6 - library/modules/es.array.every.js | 10 - library/modules/es.array.fill.js | 6 - library/modules/es.array.filter.js | 10 - library/modules/es.array.find-index.js | 14 - library/modules/es.array.find.js | 14 - library/modules/es.array.for-each.js | 11 - library/modules/es.array.from.js | 37 -- library/modules/es.array.includes.js | 12 - library/modules/es.array.index-of.js | 15 - library/modules/es.array.is-array.js | 4 - library/modules/es.array.iterator.js | 34 -- library/modules/es.array.join.js | 12 - library/modules/es.array.last-index-of.js | 22 - library/modules/es.array.map.js | 10 - library/modules/es.array.of.js | 19 - library/modules/es.array.reduce-right.js | 10 - library/modules/es.array.reduce.js | 10 - library/modules/es.array.slice.js | 28 - library/modules/es.array.some.js | 10 - library/modules/es.array.sort.js | 23 - library/modules/es.array.species.js | 1 - library/modules/es.date.now.js | 4 - library/modules/es.date.to-iso-string.js | 8 - library/modules/es.date.to-json.js | 19 - library/modules/es.date.to-primitive.js | 0 library/modules/es.date.to-string.js | 0 library/modules/es.function.bind.js | 4 - library/modules/es.function.has-instance.js | 13 - library/modules/es.function.name.js | 0 library/modules/es.map.js | 19 - library/modules/es.math.acosh.js | 18 - library/modules/es.math.asinh.js | 10 - library/modules/es.math.atanh.js | 10 - library/modules/es.math.cbrt.js | 9 - library/modules/es.math.clz32.js | 8 - library/modules/es.math.cosh.js | 9 - library/modules/es.math.expm1.js | 5 - library/modules/es.math.fround.js | 4 - library/modules/es.math.hypot.js | 25 - library/modules/es.math.imul.js | 17 - library/modules/es.math.log10.js | 8 - library/modules/es.math.log1p.js | 4 - library/modules/es.math.log2.js | 8 - library/modules/es.math.sign.js | 4 - library/modules/es.math.sinh.js | 15 - library/modules/es.math.tanh.js | 12 - library/modules/es.math.trunc.js | 8 - library/modules/es.number.constructor.js | 0 library/modules/es.number.epsilon.js | 4 - library/modules/es.number.is-finite.js | 9 - library/modules/es.number.is-integer.js | 4 - library/modules/es.number.is-nan.js | 9 - library/modules/es.number.is-safe-integer.js | 10 - library/modules/es.number.max-safe-integer.js | 4 - library/modules/es.number.min-safe-integer.js | 4 - library/modules/es.number.parse-float.js | 4 - library/modules/es.number.parse-int.js | 4 - library/modules/es.number.to-fixed.js | 114 ----- library/modules/es.number.to-precision.js | 18 - library/modules/es.object.assign.js | 4 - library/modules/es.object.create.js | 3 - library/modules/es.object.define-getter.js | 12 - .../modules/es.object.define-properties.js | 3 - library/modules/es.object.define-property.js | 3 - library/modules/es.object.define-setter.js | 12 - library/modules/es.object.entries.js | 9 - library/modules/es.object.freeze.js | 9 - .../es.object.get-own-property-descriptor.js | 9 - .../es.object.get-own-property-descriptors.js | 22 - .../es.object.get-own-property-names.js | 4 - library/modules/es.object.get-prototype-of.js | 9 - library/modules/es.object.is-extensible.js | 8 - library/modules/es.object.is-frozen.js | 8 - library/modules/es.object.is-sealed.js | 8 - library/modules/es.object.is.js | 3 - library/modules/es.object.keys.js | 9 - library/modules/es.object.lookup-getter.js | 18 - library/modules/es.object.lookup-setter.js | 18 - .../modules/es.object.prevent-extensions.js | 9 - library/modules/es.object.seal.js | 9 - library/modules/es.object.set-prototype-of.js | 3 - library/modules/es.object.to-string.js | 0 library/modules/es.object.values.js | 9 - library/modules/es.parse-float.js | 4 - library/modules/es.parse-int.js | 4 - library/modules/es.promise.js | 280 ---------- library/modules/es.reflect.apply.js | 16 - library/modules/es.reflect.construct.js | 47 -- library/modules/es.reflect.define-property.js | 23 - library/modules/es.reflect.delete-property.js | 11 - .../es.reflect.get-own-property-descriptor.js | 10 - .../modules/es.reflect.get-prototype-of.js | 10 - library/modules/es.reflect.get.js | 21 - library/modules/es.reflect.has.js | 8 - library/modules/es.reflect.is-extensible.js | 11 - library/modules/es.reflect.own-keys.js | 4 - .../modules/es.reflect.prevent-extensions.js | 16 - .../modules/es.reflect.set-prototype-of.js | 15 - library/modules/es.reflect.set.js | 31 -- library/modules/es.regexp.constructor.js | 1 - library/modules/es.regexp.flags.js | 0 library/modules/es.regexp.match.js | 0 library/modules/es.regexp.replace.js | 0 library/modules/es.regexp.search.js | 0 library/modules/es.regexp.split.js | 0 library/modules/es.regexp.to-string.js | 0 library/modules/es.set.js | 14 - library/modules/es.string.anchor.js | 7 - library/modules/es.string.big.js | 7 - library/modules/es.string.blink.js | 7 - library/modules/es.string.bold.js | 7 - library/modules/es.string.code-point-at.js | 9 - library/modules/es.string.ends-with.js | 20 - library/modules/es.string.fixed.js | 7 - library/modules/es.string.fontcolor.js | 7 - library/modules/es.string.fontsize.js | 7 - library/modules/es.string.from-code-point.js | 23 - library/modules/es.string.includes.js | 12 - library/modules/es.string.italics.js | 7 - library/modules/es.string.iterator.js | 17 - library/modules/es.string.link.js | 7 - library/modules/es.string.pad-end.js | 10 - library/modules/es.string.pad-start.js | 10 - library/modules/es.string.raw.js | 18 - library/modules/es.string.repeat.js | 6 - library/modules/es.string.small.js | 7 - library/modules/es.string.starts-with.js | 18 - library/modules/es.string.strike.js | 7 - library/modules/es.string.sub.js | 7 - library/modules/es.string.sup.js | 7 - library/modules/es.string.trim.js | 7 - library/modules/es.symbol.js | 234 --------- library/modules/es.typed.array-buffer.js | 46 -- library/modules/es.typed.data-view.js | 4 - library/modules/es.typed.float32-array.js | 5 - library/modules/es.typed.float64-array.js | 5 - library/modules/es.typed.int16-array.js | 5 - library/modules/es.typed.int32-array.js | 5 - library/modules/es.typed.int8-array.js | 5 - library/modules/es.typed.uint16-array.js | 5 - library/modules/es.typed.uint32-array.js | 5 - library/modules/es.typed.uint8-array.js | 5 - .../modules/es.typed.uint8-clamped-array.js | 5 - library/modules/es.weak-map.js | 59 --- library/modules/es.weak-set.js | 14 - library/modules/esnext.array.flat-map.js | 22 - library/modules/esnext.array.flatten.js | 21 - library/modules/esnext.asap.js | 12 - library/modules/esnext.global.js | 4 - library/modules/esnext.map.from.js | 2 - library/modules/esnext.map.of.js | 2 - library/modules/esnext.math.clamp.js | 8 - library/modules/esnext.math.deg-per-rad.js | 4 - library/modules/esnext.math.degrees.js | 9 - library/modules/esnext.math.fscale.js | 10 - library/modules/esnext.math.iaddh.js | 11 - library/modules/esnext.math.imulh.js | 16 - library/modules/esnext.math.isubh.js | 11 - library/modules/esnext.math.rad-per-deg.js | 4 - library/modules/esnext.math.radians.js | 9 - library/modules/esnext.math.scale.js | 4 - library/modules/esnext.math.signbit.js | 7 - library/modules/esnext.math.umulh.js | 16 - library/modules/esnext.observable.js | 199 -------- library/modules/esnext.promise.finally.js | 20 - library/modules/esnext.promise.try.js | 12 - .../modules/esnext.reflect.define-metadata.js | 8 - .../modules/esnext.reflect.delete-metadata.js | 15 - .../esnext.reflect.get-metadata-keys.js | 25 - .../modules/esnext.reflect.get-metadata.js | 17 - .../esnext.reflect.get-own-metadata-keys.js | 8 - .../esnext.reflect.get-own-metadata.js | 9 - .../modules/esnext.reflect.has-metadata.js | 16 - .../esnext.reflect.has-own-metadata.js | 9 - library/modules/esnext.reflect.metadata.js | 15 - library/modules/esnext.set.from.js | 2 - library/modules/esnext.set.of.js | 2 - library/modules/esnext.string.at.js | 10 - library/modules/esnext.string.match-all.js | 30 -- library/modules/esnext.string.trim-left.js | 7 - library/modules/esnext.string.trim-right.js | 7 - .../modules/esnext.symbol.async-iterator.js | 1 - library/modules/esnext.symbol.observable.js | 1 - library/modules/esnext.weak-map.from.js | 2 - library/modules/esnext.weak-map.of.js | 2 - library/modules/esnext.weak-set.from.js | 2 - library/modules/esnext.weak-set.of.js | 2 - library/modules/web.dom.iterable.js | 19 - library/modules/web.immediate.js | 6 - library/modules/web.timers.js | 20 - library/stage/0.js | 7 - library/stage/1.js | 21 - library/stage/2.js | 5 - library/stage/3.js | 4 - library/stage/4.js | 1 - library/stage/index.js | 1 - library/stage/pre.js | 10 - library/web/dom-collections.js | 2 - library/web/immediate.js | 2 - library/web/index.js | 4 - library/web/timers.js | 2 - 641 files changed, 1 insertion(+), 7042 deletions(-) delete mode 100644 library/es/array.js delete mode 100644 library/es/date.js delete mode 100644 library/es/function.js delete mode 100644 library/es/index.js delete mode 100644 library/es/map.js delete mode 100644 library/es/math.js delete mode 100644 library/es/number.js delete mode 100644 library/es/object.js delete mode 100644 library/es/parse-float.js delete mode 100644 library/es/parse-int.js delete mode 100644 library/es/promise.js delete mode 100644 library/es/reflect.js delete mode 100644 library/es/regexp.js delete mode 100644 library/es/set.js delete mode 100644 library/es/string.js delete mode 100644 library/es/symbol.js delete mode 100644 library/es/typed.js delete mode 100644 library/es/weak-map.js delete mode 100644 library/es/weak-set.js delete mode 100644 library/fn/array/concat.js delete mode 100644 library/fn/array/copy-within.js delete mode 100644 library/fn/array/entries.js delete mode 100644 library/fn/array/every.js delete mode 100644 library/fn/array/fill.js delete mode 100644 library/fn/array/filter.js delete mode 100644 library/fn/array/find-index.js delete mode 100644 library/fn/array/find.js delete mode 100644 library/fn/array/flat-map.js delete mode 100644 library/fn/array/flatten.js delete mode 100644 library/fn/array/for-each.js delete mode 100644 library/fn/array/from.js delete mode 100644 library/fn/array/includes.js delete mode 100644 library/fn/array/index-of.js delete mode 100644 library/fn/array/index.js delete mode 100644 library/fn/array/is-array.js delete mode 100644 library/fn/array/iterator.js delete mode 100644 library/fn/array/join.js delete mode 100644 library/fn/array/keys.js delete mode 100644 library/fn/array/last-index-of.js delete mode 100644 library/fn/array/map.js delete mode 100644 library/fn/array/of.js delete mode 100644 library/fn/array/pop.js delete mode 100644 library/fn/array/push.js delete mode 100644 library/fn/array/reduce-right.js delete mode 100644 library/fn/array/reduce.js delete mode 100644 library/fn/array/reverse.js delete mode 100644 library/fn/array/shift.js delete mode 100644 library/fn/array/slice.js delete mode 100644 library/fn/array/some.js delete mode 100644 library/fn/array/sort.js delete mode 100644 library/fn/array/splice.js delete mode 100644 library/fn/array/unshift.js delete mode 100644 library/fn/array/values.js delete mode 100644 library/fn/array/virtual/copy-within.js delete mode 100644 library/fn/array/virtual/entries.js delete mode 100644 library/fn/array/virtual/every.js delete mode 100644 library/fn/array/virtual/fill.js delete mode 100644 library/fn/array/virtual/filter.js delete mode 100644 library/fn/array/virtual/find-index.js delete mode 100644 library/fn/array/virtual/find.js delete mode 100644 library/fn/array/virtual/flat-map.js delete mode 100644 library/fn/array/virtual/flatten.js delete mode 100644 library/fn/array/virtual/for-each.js delete mode 100644 library/fn/array/virtual/includes.js delete mode 100644 library/fn/array/virtual/index-of.js delete mode 100644 library/fn/array/virtual/index.js delete mode 100644 library/fn/array/virtual/iterator.js delete mode 100644 library/fn/array/virtual/join.js delete mode 100644 library/fn/array/virtual/keys.js delete mode 100644 library/fn/array/virtual/last-index-of.js delete mode 100644 library/fn/array/virtual/map.js delete mode 100644 library/fn/array/virtual/reduce-right.js delete mode 100644 library/fn/array/virtual/reduce.js delete mode 100644 library/fn/array/virtual/slice.js delete mode 100644 library/fn/array/virtual/some.js delete mode 100644 library/fn/array/virtual/sort.js delete mode 100644 library/fn/array/virtual/values.js delete mode 100644 library/fn/asap.js delete mode 100644 library/fn/clear-immediate.js delete mode 100644 library/fn/date/index.js delete mode 100644 library/fn/date/now.js delete mode 100644 library/fn/date/to-iso-string.js delete mode 100644 library/fn/date/to-json.js delete mode 100644 library/fn/date/to-primitive.js delete mode 100644 library/fn/date/to-string.js delete mode 100644 library/fn/dom-collections/index.js delete mode 100644 library/fn/dom-collections/iterator.js delete mode 100644 library/fn/function/bind.js delete mode 100644 library/fn/function/has-instance.js delete mode 100644 library/fn/function/index.js delete mode 100644 library/fn/function/name.js delete mode 100644 library/fn/function/virtual/bind.js delete mode 100644 library/fn/function/virtual/index.js delete mode 100644 library/fn/get-iterator-method.js delete mode 100644 library/fn/get-iterator.js delete mode 100644 library/fn/global.js delete mode 100644 library/fn/is-iterable.js delete mode 100644 library/fn/json/index.js delete mode 100644 library/fn/json/stringify.js delete mode 100644 library/fn/map/from.js delete mode 100644 library/fn/map/index.js delete mode 100644 library/fn/map/of.js delete mode 100644 library/fn/math/acosh.js delete mode 100644 library/fn/math/asinh.js delete mode 100644 library/fn/math/atanh.js delete mode 100644 library/fn/math/cbrt.js delete mode 100644 library/fn/math/clamp.js delete mode 100644 library/fn/math/clz32.js delete mode 100644 library/fn/math/cosh.js delete mode 100644 library/fn/math/deg-per-rad.js delete mode 100644 library/fn/math/degrees.js delete mode 100644 library/fn/math/expm1.js delete mode 100644 library/fn/math/fround.js delete mode 100644 library/fn/math/fscale.js delete mode 100644 library/fn/math/hypot.js delete mode 100644 library/fn/math/iaddh.js delete mode 100644 library/fn/math/imul.js delete mode 100644 library/fn/math/imulh.js delete mode 100644 library/fn/math/index.js delete mode 100644 library/fn/math/isubh.js delete mode 100644 library/fn/math/log10.js delete mode 100644 library/fn/math/log1p.js delete mode 100644 library/fn/math/log2.js delete mode 100644 library/fn/math/rad-per-deg.js delete mode 100644 library/fn/math/radians.js delete mode 100644 library/fn/math/scale.js delete mode 100644 library/fn/math/sign.js delete mode 100644 library/fn/math/signbit.js delete mode 100644 library/fn/math/sinh.js delete mode 100644 library/fn/math/tanh.js delete mode 100644 library/fn/math/trunc.js delete mode 100644 library/fn/math/umulh.js delete mode 100644 library/fn/number/constructor.js delete mode 100644 library/fn/number/epsilon.js delete mode 100644 library/fn/number/index.js delete mode 100644 library/fn/number/is-finite.js delete mode 100644 library/fn/number/is-integer.js delete mode 100644 library/fn/number/is-nan.js delete mode 100644 library/fn/number/is-safe-integer.js delete mode 100644 library/fn/number/max-safe-integer.js delete mode 100644 library/fn/number/min-safe-integer.js delete mode 100644 library/fn/number/parse-float.js delete mode 100644 library/fn/number/parse-int.js delete mode 100644 library/fn/number/to-fixed.js delete mode 100644 library/fn/number/to-precision.js delete mode 100644 library/fn/number/virtual/index.js delete mode 100644 library/fn/number/virtual/to-fixed.js delete mode 100644 library/fn/number/virtual/to-precision.js delete mode 100644 library/fn/object/assign.js delete mode 100644 library/fn/object/create.js delete mode 100644 library/fn/object/define-getter.js delete mode 100644 library/fn/object/define-properties.js delete mode 100644 library/fn/object/define-property.js delete mode 100644 library/fn/object/define-setter.js delete mode 100644 library/fn/object/entries.js delete mode 100644 library/fn/object/freeze.js delete mode 100644 library/fn/object/get-own-property-descriptor.js delete mode 100644 library/fn/object/get-own-property-descriptors.js delete mode 100644 library/fn/object/get-own-property-names.js delete mode 100644 library/fn/object/get-own-property-symbols.js delete mode 100644 library/fn/object/get-prototype-of.js delete mode 100644 library/fn/object/index.js delete mode 100644 library/fn/object/is-extensible.js delete mode 100644 library/fn/object/is-frozen.js delete mode 100644 library/fn/object/is-sealed.js delete mode 100644 library/fn/object/is.js delete mode 100644 library/fn/object/keys.js delete mode 100644 library/fn/object/lookup-getter.js delete mode 100644 library/fn/object/lookup-setter.js delete mode 100644 library/fn/object/prevent-extensions.js delete mode 100644 library/fn/object/seal.js delete mode 100644 library/fn/object/set-prototype-of.js delete mode 100644 library/fn/object/values.js delete mode 100644 library/fn/observable.js delete mode 100644 library/fn/parse-float.js delete mode 100644 library/fn/parse-int.js delete mode 100644 library/fn/promise.js delete mode 100644 library/fn/promise/finally.js delete mode 100644 library/fn/promise/index.js delete mode 100644 library/fn/promise/try.js delete mode 100644 library/fn/reflect/apply.js delete mode 100644 library/fn/reflect/construct.js delete mode 100644 library/fn/reflect/define-metadata.js delete mode 100644 library/fn/reflect/define-property.js delete mode 100644 library/fn/reflect/delete-metadata.js delete mode 100644 library/fn/reflect/delete-property.js delete mode 100644 library/fn/reflect/get-metadata-keys.js delete mode 100644 library/fn/reflect/get-metadata.js delete mode 100644 library/fn/reflect/get-own-metadata-keys.js delete mode 100644 library/fn/reflect/get-own-metadata.js delete mode 100644 library/fn/reflect/get-own-property-descriptor.js delete mode 100644 library/fn/reflect/get-prototype-of.js delete mode 100644 library/fn/reflect/get.js delete mode 100644 library/fn/reflect/has-metadata.js delete mode 100644 library/fn/reflect/has-own-metadata.js delete mode 100644 library/fn/reflect/has.js delete mode 100644 library/fn/reflect/index.js delete mode 100644 library/fn/reflect/is-extensible.js delete mode 100644 library/fn/reflect/metadata.js delete mode 100644 library/fn/reflect/own-keys.js delete mode 100644 library/fn/reflect/prevent-extensions.js delete mode 100644 library/fn/reflect/set-prototype-of.js delete mode 100644 library/fn/reflect/set.js delete mode 100644 library/fn/regexp/constructor.js delete mode 100644 library/fn/regexp/flags.js delete mode 100644 library/fn/regexp/index.js delete mode 100644 library/fn/regexp/match.js delete mode 100644 library/fn/regexp/replace.js delete mode 100644 library/fn/regexp/search.js delete mode 100644 library/fn/regexp/split.js delete mode 100644 library/fn/regexp/to-string.js delete mode 100644 library/fn/set-immediate.js delete mode 100644 library/fn/set-interval.js delete mode 100644 library/fn/set-timeout.js delete mode 100644 library/fn/set/from.js delete mode 100644 library/fn/set/index.js delete mode 100644 library/fn/set/of.js delete mode 100644 library/fn/string/anchor.js delete mode 100644 library/fn/string/at.js delete mode 100644 library/fn/string/big.js delete mode 100644 library/fn/string/blink.js delete mode 100644 library/fn/string/bold.js delete mode 100644 library/fn/string/code-point-at.js delete mode 100644 library/fn/string/ends-with.js delete mode 100644 library/fn/string/fixed.js delete mode 100644 library/fn/string/fontcolor.js delete mode 100644 library/fn/string/fontsize.js delete mode 100644 library/fn/string/from-code-point.js delete mode 100644 library/fn/string/includes.js delete mode 100644 library/fn/string/index.js delete mode 100644 library/fn/string/italics.js delete mode 100644 library/fn/string/iterator.js delete mode 100644 library/fn/string/link.js delete mode 100644 library/fn/string/match-all.js delete mode 100644 library/fn/string/pad-end.js delete mode 100644 library/fn/string/pad-start.js delete mode 100644 library/fn/string/raw.js delete mode 100644 library/fn/string/repeat.js delete mode 100644 library/fn/string/small.js delete mode 100644 library/fn/string/starts-with.js delete mode 100644 library/fn/string/strike.js delete mode 100644 library/fn/string/sub.js delete mode 100644 library/fn/string/sup.js delete mode 100644 library/fn/string/trim-end.js delete mode 100644 library/fn/string/trim-left.js delete mode 100644 library/fn/string/trim-right.js delete mode 100644 library/fn/string/trim-start.js delete mode 100644 library/fn/string/trim.js delete mode 100644 library/fn/string/virtual/anchor.js delete mode 100644 library/fn/string/virtual/at.js delete mode 100644 library/fn/string/virtual/big.js delete mode 100644 library/fn/string/virtual/blink.js delete mode 100644 library/fn/string/virtual/bold.js delete mode 100644 library/fn/string/virtual/code-point-at.js delete mode 100644 library/fn/string/virtual/ends-with.js delete mode 100644 library/fn/string/virtual/fixed.js delete mode 100644 library/fn/string/virtual/fontcolor.js delete mode 100644 library/fn/string/virtual/fontsize.js delete mode 100644 library/fn/string/virtual/includes.js delete mode 100644 library/fn/string/virtual/index.js delete mode 100644 library/fn/string/virtual/italics.js delete mode 100644 library/fn/string/virtual/iterator.js delete mode 100644 library/fn/string/virtual/link.js delete mode 100644 library/fn/string/virtual/match-all.js delete mode 100644 library/fn/string/virtual/pad-end.js delete mode 100644 library/fn/string/virtual/pad-start.js delete mode 100644 library/fn/string/virtual/repeat.js delete mode 100644 library/fn/string/virtual/small.js delete mode 100644 library/fn/string/virtual/starts-with.js delete mode 100644 library/fn/string/virtual/strike.js delete mode 100644 library/fn/string/virtual/sub.js delete mode 100644 library/fn/string/virtual/sup.js delete mode 100644 library/fn/string/virtual/trim-end.js delete mode 100644 library/fn/string/virtual/trim-left.js delete mode 100644 library/fn/string/virtual/trim-right.js delete mode 100644 library/fn/string/virtual/trim-start.js delete mode 100644 library/fn/string/virtual/trim.js delete mode 100644 library/fn/symbol/async-iterator.js delete mode 100644 library/fn/symbol/for.js delete mode 100644 library/fn/symbol/has-instance.js delete mode 100644 library/fn/symbol/index.js delete mode 100644 library/fn/symbol/is-concat-spreadable.js delete mode 100644 library/fn/symbol/iterator.js delete mode 100644 library/fn/symbol/key-for.js delete mode 100644 library/fn/symbol/match.js delete mode 100644 library/fn/symbol/observable.js delete mode 100644 library/fn/symbol/replace.js delete mode 100644 library/fn/symbol/search.js delete mode 100644 library/fn/symbol/species.js delete mode 100644 library/fn/symbol/split.js delete mode 100644 library/fn/symbol/to-primitive.js delete mode 100644 library/fn/symbol/to-string-tag.js delete mode 100644 library/fn/symbol/unscopables.js delete mode 100644 library/fn/typed/array-buffer.js delete mode 100644 library/fn/typed/data-view.js delete mode 100644 library/fn/typed/float32-array.js delete mode 100644 library/fn/typed/float64-array.js delete mode 100644 library/fn/typed/index.js delete mode 100644 library/fn/typed/int16-array.js delete mode 100644 library/fn/typed/int32-array.js delete mode 100644 library/fn/typed/int8-array.js delete mode 100644 library/fn/typed/uint16-array.js delete mode 100644 library/fn/typed/uint32-array.js delete mode 100644 library/fn/typed/uint8-array.js delete mode 100644 library/fn/typed/uint8-clamped-array.js delete mode 100644 library/fn/weak-map.js delete mode 100644 library/fn/weak-map/from.js delete mode 100644 library/fn/weak-map/index.js delete mode 100644 library/fn/weak-map/of.js delete mode 100644 library/fn/weak-set.js delete mode 100644 library/fn/weak-set/from.js delete mode 100644 library/fn/weak-set/index.js delete mode 100644 library/fn/weak-set/of.js delete mode 100644 library/index.js delete mode 100644 library/modules/_a-function.js delete mode 100644 library/modules/_a-number-value.js delete mode 100644 library/modules/_add-to-unscopables.js delete mode 100644 library/modules/_an-instance.js delete mode 100644 library/modules/_an-object.js delete mode 100644 library/modules/_array-copy-within.js delete mode 100644 library/modules/_array-fill.js delete mode 100644 library/modules/_array-includes.js delete mode 100644 library/modules/_array-methods.js delete mode 100644 library/modules/_array-reduce.js delete mode 100644 library/modules/_array-species-constructor.js delete mode 100644 library/modules/_array-species-create.js delete mode 100644 library/modules/_bind.js delete mode 100644 library/modules/_classof.js delete mode 100644 library/modules/_cof.js delete mode 100644 library/modules/_collection-strong.js delete mode 100644 library/modules/_collection-weak.js delete mode 100644 library/modules/_collection.js delete mode 100644 library/modules/_core.js delete mode 100644 library/modules/_create-property.js delete mode 100644 library/modules/_ctx.js delete mode 100644 library/modules/_date-to-iso-string.js delete mode 100644 library/modules/_date-to-primitive.js delete mode 100644 library/modules/_defined.js delete mode 100644 library/modules/_descriptors.js delete mode 100644 library/modules/_dom-create.js delete mode 100644 library/modules/_entry-virtual.js delete mode 100644 library/modules/_enum-bug-keys.js delete mode 100644 library/modules/_enum-keys.js delete mode 100644 library/modules/_export.js delete mode 100644 library/modules/_fails-is-regexp.js delete mode 100644 library/modules/_fails.js delete mode 100644 library/modules/_fix-re-wks.js delete mode 100644 library/modules/_flags.js delete mode 100644 library/modules/_flatten-into-array.js delete mode 100644 library/modules/_for-of.js delete mode 100644 library/modules/_global.js delete mode 100644 library/modules/_has.js delete mode 100644 library/modules/_hide.js delete mode 100644 library/modules/_html.js delete mode 100644 library/modules/_ie8-dom-define.js delete mode 100644 library/modules/_inherit-if-required.js delete mode 100644 library/modules/_invoke.js delete mode 100644 library/modules/_iobject.js delete mode 100644 library/modules/_is-array-iter.js delete mode 100644 library/modules/_is-array.js delete mode 100644 library/modules/_is-integer.js delete mode 100644 library/modules/_is-object.js delete mode 100644 library/modules/_is-regexp.js delete mode 100644 library/modules/_iter-call.js delete mode 100644 library/modules/_iter-create.js delete mode 100644 library/modules/_iter-define.js delete mode 100644 library/modules/_iter-detect.js delete mode 100644 library/modules/_iter-step.js delete mode 100644 library/modules/_iterators.js delete mode 100644 library/modules/_library.js delete mode 100644 library/modules/_math-expm1.js delete mode 100644 library/modules/_math-fround.js delete mode 100644 library/modules/_math-log1p.js delete mode 100644 library/modules/_math-scale.js delete mode 100644 library/modules/_math-sign.js delete mode 100644 library/modules/_meta.js delete mode 100644 library/modules/_metadata.js delete mode 100644 library/modules/_microtask.js delete mode 100644 library/modules/_new-promise-capability.js delete mode 100644 library/modules/_object-assign.js delete mode 100644 library/modules/_object-create.js delete mode 100644 library/modules/_object-dp.js delete mode 100644 library/modules/_object-dps.js delete mode 100644 library/modules/_object-forced-pam.js delete mode 100644 library/modules/_object-gopd.js delete mode 100644 library/modules/_object-gopn-ext.js delete mode 100644 library/modules/_object-gopn.js delete mode 100644 library/modules/_object-gops.js delete mode 100644 library/modules/_object-gpo.js delete mode 100644 library/modules/_object-keys-internal.js delete mode 100644 library/modules/_object-keys.js delete mode 100644 library/modules/_object-pie.js delete mode 100644 library/modules/_object-sap.js delete mode 100644 library/modules/_object-to-array.js delete mode 100644 library/modules/_own-keys.js delete mode 100644 library/modules/_parse-float.js delete mode 100644 library/modules/_parse-int.js delete mode 100644 library/modules/_perform.js delete mode 100644 library/modules/_promise-resolve.js delete mode 100644 library/modules/_property-desc.js delete mode 100644 library/modules/_redefine-all.js delete mode 100644 library/modules/_redefine.js delete mode 100644 library/modules/_same-value.js delete mode 100644 library/modules/_set-collection-from.js delete mode 100644 library/modules/_set-collection-of.js delete mode 100644 library/modules/_set-proto.js delete mode 100644 library/modules/_set-species.js delete mode 100644 library/modules/_set-to-string-tag.js delete mode 100644 library/modules/_shared-key.js delete mode 100644 library/modules/_shared.js delete mode 100644 library/modules/_species-constructor.js delete mode 100644 library/modules/_strict-method.js delete mode 100644 library/modules/_string-at.js delete mode 100644 library/modules/_string-context.js delete mode 100644 library/modules/_string-html.js delete mode 100644 library/modules/_string-pad.js delete mode 100644 library/modules/_string-repeat.js delete mode 100644 library/modules/_string-trim.js delete mode 100644 library/modules/_string-ws.js delete mode 100644 library/modules/_task.js delete mode 100644 library/modules/_to-absolute-index.js delete mode 100644 library/modules/_to-index.js delete mode 100644 library/modules/_to-integer.js delete mode 100644 library/modules/_to-iobject.js delete mode 100644 library/modules/_to-length.js delete mode 100644 library/modules/_to-object.js delete mode 100644 library/modules/_to-primitive.js delete mode 100644 library/modules/_typed-array.js delete mode 100644 library/modules/_typed-buffer.js delete mode 100644 library/modules/_typed.js delete mode 100644 library/modules/_uid.js delete mode 100644 library/modules/_validate-collection.js delete mode 100644 library/modules/_wks-define.js delete mode 100644 library/modules/_wks-ext.js delete mode 100644 library/modules/_wks.js delete mode 100644 library/modules/core.get-iterator-method.js delete mode 100644 library/modules/core.get-iterator.js delete mode 100644 library/modules/core.is-iterable.js delete mode 100644 library/modules/es.array.copy-within.js delete mode 100644 library/modules/es.array.every.js delete mode 100644 library/modules/es.array.fill.js delete mode 100644 library/modules/es.array.filter.js delete mode 100644 library/modules/es.array.find-index.js delete mode 100644 library/modules/es.array.find.js delete mode 100644 library/modules/es.array.for-each.js delete mode 100644 library/modules/es.array.from.js delete mode 100644 library/modules/es.array.includes.js delete mode 100644 library/modules/es.array.index-of.js delete mode 100644 library/modules/es.array.is-array.js delete mode 100644 library/modules/es.array.iterator.js delete mode 100644 library/modules/es.array.join.js delete mode 100644 library/modules/es.array.last-index-of.js delete mode 100644 library/modules/es.array.map.js delete mode 100644 library/modules/es.array.of.js delete mode 100644 library/modules/es.array.reduce-right.js delete mode 100644 library/modules/es.array.reduce.js delete mode 100644 library/modules/es.array.slice.js delete mode 100644 library/modules/es.array.some.js delete mode 100644 library/modules/es.array.sort.js delete mode 100644 library/modules/es.array.species.js delete mode 100644 library/modules/es.date.now.js delete mode 100644 library/modules/es.date.to-iso-string.js delete mode 100644 library/modules/es.date.to-json.js delete mode 100644 library/modules/es.date.to-primitive.js delete mode 100644 library/modules/es.date.to-string.js delete mode 100644 library/modules/es.function.bind.js delete mode 100644 library/modules/es.function.has-instance.js delete mode 100644 library/modules/es.function.name.js delete mode 100644 library/modules/es.map.js delete mode 100644 library/modules/es.math.acosh.js delete mode 100644 library/modules/es.math.asinh.js delete mode 100644 library/modules/es.math.atanh.js delete mode 100644 library/modules/es.math.cbrt.js delete mode 100644 library/modules/es.math.clz32.js delete mode 100644 library/modules/es.math.cosh.js delete mode 100644 library/modules/es.math.expm1.js delete mode 100644 library/modules/es.math.fround.js delete mode 100644 library/modules/es.math.hypot.js delete mode 100644 library/modules/es.math.imul.js delete mode 100644 library/modules/es.math.log10.js delete mode 100644 library/modules/es.math.log1p.js delete mode 100644 library/modules/es.math.log2.js delete mode 100644 library/modules/es.math.sign.js delete mode 100644 library/modules/es.math.sinh.js delete mode 100644 library/modules/es.math.tanh.js delete mode 100644 library/modules/es.math.trunc.js delete mode 100644 library/modules/es.number.constructor.js delete mode 100644 library/modules/es.number.epsilon.js delete mode 100644 library/modules/es.number.is-finite.js delete mode 100644 library/modules/es.number.is-integer.js delete mode 100644 library/modules/es.number.is-nan.js delete mode 100644 library/modules/es.number.is-safe-integer.js delete mode 100644 library/modules/es.number.max-safe-integer.js delete mode 100644 library/modules/es.number.min-safe-integer.js delete mode 100644 library/modules/es.number.parse-float.js delete mode 100644 library/modules/es.number.parse-int.js delete mode 100644 library/modules/es.number.to-fixed.js delete mode 100644 library/modules/es.number.to-precision.js delete mode 100644 library/modules/es.object.assign.js delete mode 100644 library/modules/es.object.create.js delete mode 100644 library/modules/es.object.define-getter.js delete mode 100644 library/modules/es.object.define-properties.js delete mode 100644 library/modules/es.object.define-property.js delete mode 100644 library/modules/es.object.define-setter.js delete mode 100644 library/modules/es.object.entries.js delete mode 100644 library/modules/es.object.freeze.js delete mode 100644 library/modules/es.object.get-own-property-descriptor.js delete mode 100644 library/modules/es.object.get-own-property-descriptors.js delete mode 100644 library/modules/es.object.get-own-property-names.js delete mode 100644 library/modules/es.object.get-prototype-of.js delete mode 100644 library/modules/es.object.is-extensible.js delete mode 100644 library/modules/es.object.is-frozen.js delete mode 100644 library/modules/es.object.is-sealed.js delete mode 100644 library/modules/es.object.is.js delete mode 100644 library/modules/es.object.keys.js delete mode 100644 library/modules/es.object.lookup-getter.js delete mode 100644 library/modules/es.object.lookup-setter.js delete mode 100644 library/modules/es.object.prevent-extensions.js delete mode 100644 library/modules/es.object.seal.js delete mode 100644 library/modules/es.object.set-prototype-of.js delete mode 100644 library/modules/es.object.to-string.js delete mode 100644 library/modules/es.object.values.js delete mode 100644 library/modules/es.parse-float.js delete mode 100644 library/modules/es.parse-int.js delete mode 100644 library/modules/es.promise.js delete mode 100644 library/modules/es.reflect.apply.js delete mode 100644 library/modules/es.reflect.construct.js delete mode 100644 library/modules/es.reflect.define-property.js delete mode 100644 library/modules/es.reflect.delete-property.js delete mode 100644 library/modules/es.reflect.get-own-property-descriptor.js delete mode 100644 library/modules/es.reflect.get-prototype-of.js delete mode 100644 library/modules/es.reflect.get.js delete mode 100644 library/modules/es.reflect.has.js delete mode 100644 library/modules/es.reflect.is-extensible.js delete mode 100644 library/modules/es.reflect.own-keys.js delete mode 100644 library/modules/es.reflect.prevent-extensions.js delete mode 100644 library/modules/es.reflect.set-prototype-of.js delete mode 100644 library/modules/es.reflect.set.js delete mode 100644 library/modules/es.regexp.constructor.js delete mode 100644 library/modules/es.regexp.flags.js delete mode 100644 library/modules/es.regexp.match.js delete mode 100644 library/modules/es.regexp.replace.js delete mode 100644 library/modules/es.regexp.search.js delete mode 100644 library/modules/es.regexp.split.js delete mode 100644 library/modules/es.regexp.to-string.js delete mode 100644 library/modules/es.set.js delete mode 100644 library/modules/es.string.anchor.js delete mode 100644 library/modules/es.string.big.js delete mode 100644 library/modules/es.string.blink.js delete mode 100644 library/modules/es.string.bold.js delete mode 100644 library/modules/es.string.code-point-at.js delete mode 100644 library/modules/es.string.ends-with.js delete mode 100644 library/modules/es.string.fixed.js delete mode 100644 library/modules/es.string.fontcolor.js delete mode 100644 library/modules/es.string.fontsize.js delete mode 100644 library/modules/es.string.from-code-point.js delete mode 100644 library/modules/es.string.includes.js delete mode 100644 library/modules/es.string.italics.js delete mode 100644 library/modules/es.string.iterator.js delete mode 100644 library/modules/es.string.link.js delete mode 100644 library/modules/es.string.pad-end.js delete mode 100644 library/modules/es.string.pad-start.js delete mode 100644 library/modules/es.string.raw.js delete mode 100644 library/modules/es.string.repeat.js delete mode 100644 library/modules/es.string.small.js delete mode 100644 library/modules/es.string.starts-with.js delete mode 100644 library/modules/es.string.strike.js delete mode 100644 library/modules/es.string.sub.js delete mode 100644 library/modules/es.string.sup.js delete mode 100644 library/modules/es.string.trim.js delete mode 100644 library/modules/es.symbol.js delete mode 100644 library/modules/es.typed.array-buffer.js delete mode 100644 library/modules/es.typed.data-view.js delete mode 100644 library/modules/es.typed.float32-array.js delete mode 100644 library/modules/es.typed.float64-array.js delete mode 100644 library/modules/es.typed.int16-array.js delete mode 100644 library/modules/es.typed.int32-array.js delete mode 100644 library/modules/es.typed.int8-array.js delete mode 100644 library/modules/es.typed.uint16-array.js delete mode 100644 library/modules/es.typed.uint32-array.js delete mode 100644 library/modules/es.typed.uint8-array.js delete mode 100644 library/modules/es.typed.uint8-clamped-array.js delete mode 100644 library/modules/es.weak-map.js delete mode 100644 library/modules/es.weak-set.js delete mode 100644 library/modules/esnext.array.flat-map.js delete mode 100644 library/modules/esnext.array.flatten.js delete mode 100644 library/modules/esnext.asap.js delete mode 100644 library/modules/esnext.global.js delete mode 100644 library/modules/esnext.map.from.js delete mode 100644 library/modules/esnext.map.of.js delete mode 100644 library/modules/esnext.math.clamp.js delete mode 100644 library/modules/esnext.math.deg-per-rad.js delete mode 100644 library/modules/esnext.math.degrees.js delete mode 100644 library/modules/esnext.math.fscale.js delete mode 100644 library/modules/esnext.math.iaddh.js delete mode 100644 library/modules/esnext.math.imulh.js delete mode 100644 library/modules/esnext.math.isubh.js delete mode 100644 library/modules/esnext.math.rad-per-deg.js delete mode 100644 library/modules/esnext.math.radians.js delete mode 100644 library/modules/esnext.math.scale.js delete mode 100644 library/modules/esnext.math.signbit.js delete mode 100644 library/modules/esnext.math.umulh.js delete mode 100644 library/modules/esnext.observable.js delete mode 100644 library/modules/esnext.promise.finally.js delete mode 100644 library/modules/esnext.promise.try.js delete mode 100644 library/modules/esnext.reflect.define-metadata.js delete mode 100644 library/modules/esnext.reflect.delete-metadata.js delete mode 100644 library/modules/esnext.reflect.get-metadata-keys.js delete mode 100644 library/modules/esnext.reflect.get-metadata.js delete mode 100644 library/modules/esnext.reflect.get-own-metadata-keys.js delete mode 100644 library/modules/esnext.reflect.get-own-metadata.js delete mode 100644 library/modules/esnext.reflect.has-metadata.js delete mode 100644 library/modules/esnext.reflect.has-own-metadata.js delete mode 100644 library/modules/esnext.reflect.metadata.js delete mode 100644 library/modules/esnext.set.from.js delete mode 100644 library/modules/esnext.set.of.js delete mode 100644 library/modules/esnext.string.at.js delete mode 100644 library/modules/esnext.string.match-all.js delete mode 100644 library/modules/esnext.string.trim-left.js delete mode 100644 library/modules/esnext.string.trim-right.js delete mode 100644 library/modules/esnext.symbol.async-iterator.js delete mode 100644 library/modules/esnext.symbol.observable.js delete mode 100644 library/modules/esnext.weak-map.from.js delete mode 100644 library/modules/esnext.weak-map.of.js delete mode 100644 library/modules/esnext.weak-set.from.js delete mode 100644 library/modules/esnext.weak-set.of.js delete mode 100644 library/modules/web.dom.iterable.js delete mode 100644 library/modules/web.immediate.js delete mode 100644 library/modules/web.timers.js delete mode 100644 library/stage/0.js delete mode 100644 library/stage/1.js delete mode 100644 library/stage/2.js delete mode 100644 library/stage/3.js delete mode 100644 library/stage/4.js delete mode 100644 library/stage/index.js delete mode 100644 library/stage/pre.js delete mode 100644 library/web/dom-collections.js delete mode 100644 library/web/immediate.js delete mode 100644 library/web/index.js delete mode 100644 library/web/timers.js diff --git a/.gitignore b/.gitignore index ff8e8f22d4e8..bd579fc0cd56 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,6 @@ node_modules/ *.bak *.swp +library/ tests/bundles/ client/library.* diff --git a/library/es/array.js b/library/es/array.js deleted file mode 100644 index 61ea32cbea76..000000000000 --- a/library/es/array.js +++ /dev/null @@ -1,24 +0,0 @@ -require('../modules/es.string.iterator'); -require('../modules/es.array.includes'); -require('../modules/es.array.is-array'); -require('../modules/es.array.from'); -require('../modules/es.array.of'); -require('../modules/es.array.join'); -require('../modules/es.array.slice'); -require('../modules/es.array.sort'); -require('../modules/es.array.for-each'); -require('../modules/es.array.map'); -require('../modules/es.array.filter'); -require('../modules/es.array.some'); -require('../modules/es.array.every'); -require('../modules/es.array.reduce'); -require('../modules/es.array.reduce-right'); -require('../modules/es.array.index-of'); -require('../modules/es.array.last-index-of'); -require('../modules/es.array.copy-within'); -require('../modules/es.array.fill'); -require('../modules/es.array.find'); -require('../modules/es.array.find-index'); -require('../modules/es.array.species'); -require('../modules/es.array.iterator'); -module.exports = require('../modules/_core').Array; diff --git a/library/es/date.js b/library/es/date.js deleted file mode 100644 index 0d3c9afa4bda..000000000000 --- a/library/es/date.js +++ /dev/null @@ -1,6 +0,0 @@ -require('../modules/es.date.now'); -require('../modules/es.date.to-json'); -require('../modules/es.date.to-iso-string'); -require('../modules/es.date.to-string'); -require('../modules/es.date.to-primitive'); -module.exports = Date; diff --git a/library/es/function.js b/library/es/function.js deleted file mode 100644 index ba35c2e436f2..000000000000 --- a/library/es/function.js +++ /dev/null @@ -1,4 +0,0 @@ -require('../modules/es.function.bind'); -require('../modules/es.function.name'); -require('../modules/es.function.has-instance'); -module.exports = require('../modules/_core').Function; diff --git a/library/es/index.js b/library/es/index.js deleted file mode 100644 index 81c4e9d8c396..000000000000 --- a/library/es/index.js +++ /dev/null @@ -1,147 +0,0 @@ -require('../modules/es.symbol'); -require('../modules/es.object.create'); -require('../modules/es.object.define-property'); -require('../modules/es.object.define-properties'); -require('../modules/es.object.get-own-property-descriptor'); -require('../modules/es.object.get-own-property-descriptors'); -require('../modules/es.object.get-prototype-of'); -require('../modules/es.object.keys'); -require('../modules/es.object.values'); -require('../modules/es.object.entries'); -require('../modules/es.object.get-own-property-names'); -require('../modules/es.object.freeze'); -require('../modules/es.object.seal'); -require('../modules/es.object.prevent-extensions'); -require('../modules/es.object.is-frozen'); -require('../modules/es.object.is-sealed'); -require('../modules/es.object.is-extensible'); -require('../modules/es.object.assign'); -require('../modules/es.object.is'); -require('../modules/es.object.set-prototype-of'); -require('../modules/es.object.to-string'); -require('../modules/es.object.define-getter'); -require('../modules/es.object.define-setter'); -require('../modules/es.object.lookup-getter'); -require('../modules/es.object.lookup-setter'); -require('../modules/es.function.bind'); -require('../modules/es.function.name'); -require('../modules/es.function.has-instance'); -require('../modules/es.parse-int'); -require('../modules/es.parse-float'); -require('../modules/es.number.constructor'); -require('../modules/es.number.to-fixed'); -require('../modules/es.number.to-precision'); -require('../modules/es.number.epsilon'); -require('../modules/es.number.is-finite'); -require('../modules/es.number.is-integer'); -require('../modules/es.number.is-nan'); -require('../modules/es.number.is-safe-integer'); -require('../modules/es.number.max-safe-integer'); -require('../modules/es.number.min-safe-integer'); -require('../modules/es.number.parse-float'); -require('../modules/es.number.parse-int'); -require('../modules/es.math.acosh'); -require('../modules/es.math.asinh'); -require('../modules/es.math.atanh'); -require('../modules/es.math.cbrt'); -require('../modules/es.math.clz32'); -require('../modules/es.math.cosh'); -require('../modules/es.math.expm1'); -require('../modules/es.math.fround'); -require('../modules/es.math.hypot'); -require('../modules/es.math.imul'); -require('../modules/es.math.log10'); -require('../modules/es.math.log1p'); -require('../modules/es.math.log2'); -require('../modules/es.math.sign'); -require('../modules/es.math.sinh'); -require('../modules/es.math.tanh'); -require('../modules/es.math.trunc'); -require('../modules/es.string.from-code-point'); -require('../modules/es.string.raw'); -require('../modules/es.string.trim'); -require('../modules/es.string.iterator'); -require('../modules/es.string.code-point-at'); -require('../modules/es.string.ends-with'); -require('../modules/es.string.includes'); -require('../modules/es.string.repeat'); -require('../modules/es.string.starts-with'); -require('../modules/es.string.pad-start'); -require('../modules/es.string.pad-end'); -require('../modules/es.string.anchor'); -require('../modules/es.string.big'); -require('../modules/es.string.blink'); -require('../modules/es.string.bold'); -require('../modules/es.string.fixed'); -require('../modules/es.string.fontcolor'); -require('../modules/es.string.fontsize'); -require('../modules/es.string.italics'); -require('../modules/es.string.link'); -require('../modules/es.string.small'); -require('../modules/es.string.strike'); -require('../modules/es.string.sub'); -require('../modules/es.string.sup'); -require('../modules/es.date.now'); -require('../modules/es.date.to-json'); -require('../modules/es.date.to-iso-string'); -require('../modules/es.date.to-string'); -require('../modules/es.date.to-primitive'); -require('../modules/es.array.includes'); -require('../modules/es.array.is-array'); -require('../modules/es.array.from'); -require('../modules/es.array.of'); -require('../modules/es.array.join'); -require('../modules/es.array.slice'); -require('../modules/es.array.sort'); -require('../modules/es.array.for-each'); -require('../modules/es.array.map'); -require('../modules/es.array.filter'); -require('../modules/es.array.some'); -require('../modules/es.array.every'); -require('../modules/es.array.reduce'); -require('../modules/es.array.reduce-right'); -require('../modules/es.array.index-of'); -require('../modules/es.array.last-index-of'); -require('../modules/es.array.copy-within'); -require('../modules/es.array.fill'); -require('../modules/es.array.find'); -require('../modules/es.array.find-index'); -require('../modules/es.array.species'); -require('../modules/es.array.iterator'); -require('../modules/es.regexp.constructor'); -require('../modules/es.regexp.to-string'); -require('../modules/es.regexp.flags'); -require('../modules/es.regexp.match'); -require('../modules/es.regexp.replace'); -require('../modules/es.regexp.search'); -require('../modules/es.regexp.split'); -require('../modules/es.promise'); -require('../modules/es.map'); -require('../modules/es.set'); -require('../modules/es.weak-map'); -require('../modules/es.weak-set'); -require('../modules/es.typed.array-buffer'); -require('../modules/es.typed.data-view'); -require('../modules/es.typed.int8-array'); -require('../modules/es.typed.uint8-array'); -require('../modules/es.typed.uint8-clamped-array'); -require('../modules/es.typed.int16-array'); -require('../modules/es.typed.uint16-array'); -require('../modules/es.typed.int32-array'); -require('../modules/es.typed.uint32-array'); -require('../modules/es.typed.float32-array'); -require('../modules/es.typed.float64-array'); -require('../modules/es.reflect.apply'); -require('../modules/es.reflect.construct'); -require('../modules/es.reflect.define-property'); -require('../modules/es.reflect.delete-property'); -require('../modules/es.reflect.get'); -require('../modules/es.reflect.get-own-property-descriptor'); -require('../modules/es.reflect.get-prototype-of'); -require('../modules/es.reflect.has'); -require('../modules/es.reflect.is-extensible'); -require('../modules/es.reflect.own-keys'); -require('../modules/es.reflect.prevent-extensions'); -require('../modules/es.reflect.set'); -require('../modules/es.reflect.set-prototype-of'); -module.exports = require('../modules/_core'); diff --git a/library/es/map.js b/library/es/map.js deleted file mode 100644 index 3a0e9a33f57f..000000000000 --- a/library/es/map.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/es.string.iterator'); -require('../modules/web.dom.iterable'); -require('../modules/es.map'); -module.exports = require('../modules/_core').Map; diff --git a/library/es/math.js b/library/es/math.js deleted file mode 100644 index 31f58b337b0e..000000000000 --- a/library/es/math.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../modules/es.math.acosh'); -require('../modules/es.math.asinh'); -require('../modules/es.math.atanh'); -require('../modules/es.math.cbrt'); -require('../modules/es.math.clz32'); -require('../modules/es.math.cosh'); -require('../modules/es.math.expm1'); -require('../modules/es.math.fround'); -require('../modules/es.math.hypot'); -require('../modules/es.math.imul'); -require('../modules/es.math.log10'); -require('../modules/es.math.log1p'); -require('../modules/es.math.log2'); -require('../modules/es.math.sign'); -require('../modules/es.math.sinh'); -require('../modules/es.math.tanh'); -require('../modules/es.math.trunc'); -module.exports = require('../modules/_core').Math; diff --git a/library/es/number.js b/library/es/number.js deleted file mode 100644 index 4f0cb187e788..000000000000 --- a/library/es/number.js +++ /dev/null @@ -1,13 +0,0 @@ -require('../modules/es.number.constructor'); -require('../modules/es.number.to-fixed'); -require('../modules/es.number.to-precision'); -require('../modules/es.number.epsilon'); -require('../modules/es.number.is-finite'); -require('../modules/es.number.is-integer'); -require('../modules/es.number.is-nan'); -require('../modules/es.number.is-safe-integer'); -require('../modules/es.number.max-safe-integer'); -require('../modules/es.number.min-safe-integer'); -require('../modules/es.number.parse-float'); -require('../modules/es.number.parse-int'); -module.exports = require('../modules/_core').Number; diff --git a/library/es/object.js b/library/es/object.js deleted file mode 100644 index 5ea7e6d6b524..000000000000 --- a/library/es/object.js +++ /dev/null @@ -1,27 +0,0 @@ -require('../modules/es.symbol'); -require('../modules/es.object.create'); -require('../modules/es.object.define-property'); -require('../modules/es.object.define-properties'); -require('../modules/es.object.get-own-property-descriptor'); -require('../modules/es.object.get-own-property-descriptors'); -require('../modules/es.object.get-prototype-of'); -require('../modules/es.object.keys'); -require('../modules/es.object.values'); -require('../modules/es.object.entries'); -require('../modules/es.object.get-own-property-names'); -require('../modules/es.object.freeze'); -require('../modules/es.object.seal'); -require('../modules/es.object.prevent-extensions'); -require('../modules/es.object.is-frozen'); -require('../modules/es.object.is-sealed'); -require('../modules/es.object.is-extensible'); -require('../modules/es.object.assign'); -require('../modules/es.object.is'); -require('../modules/es.object.set-prototype-of'); -require('../modules/es.object.to-string'); -require('../modules/es.object.define-getter'); -require('../modules/es.object.define-setter'); -require('../modules/es.object.lookup-getter'); -require('../modules/es.object.lookup-setter'); - -module.exports = require('../modules/_core').Object; diff --git a/library/es/parse-float.js b/library/es/parse-float.js deleted file mode 100644 index fe9581fa8cbc..000000000000 --- a/library/es/parse-float.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/es.parse-float'); -module.exports = require('../modules/_core').parseFloat; diff --git a/library/es/parse-int.js b/library/es/parse-int.js deleted file mode 100644 index 60a21c2b998b..000000000000 --- a/library/es/parse-int.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/es.parse-int'); -module.exports = require('../modules/_core').parseInt; diff --git a/library/es/promise.js b/library/es/promise.js deleted file mode 100644 index d2bdfe23f929..000000000000 --- a/library/es/promise.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/es.string.iterator'); -require('../modules/web.dom.iterable'); -require('../modules/es.promise'); -module.exports = require('../modules/_core').Promise; diff --git a/library/es/reflect.js b/library/es/reflect.js deleted file mode 100644 index 3ad24ac087bc..000000000000 --- a/library/es/reflect.js +++ /dev/null @@ -1,14 +0,0 @@ -require('../modules/es.reflect.apply'); -require('../modules/es.reflect.construct'); -require('../modules/es.reflect.define-property'); -require('../modules/es.reflect.delete-property'); -require('../modules/es.reflect.get'); -require('../modules/es.reflect.get-own-property-descriptor'); -require('../modules/es.reflect.get-prototype-of'); -require('../modules/es.reflect.has'); -require('../modules/es.reflect.is-extensible'); -require('../modules/es.reflect.own-keys'); -require('../modules/es.reflect.prevent-extensions'); -require('../modules/es.reflect.set'); -require('../modules/es.reflect.set-prototype-of'); -module.exports = require('../modules/_core').Reflect; diff --git a/library/es/regexp.js b/library/es/regexp.js deleted file mode 100644 index 3b31a4bb6ee5..000000000000 --- a/library/es/regexp.js +++ /dev/null @@ -1,8 +0,0 @@ -require('../modules/es.regexp.constructor'); -require('../modules/es.regexp.to-string'); -require('../modules/es.regexp.flags'); -require('../modules/es.regexp.match'); -require('../modules/es.regexp.replace'); -require('../modules/es.regexp.search'); -require('../modules/es.regexp.split'); -module.exports = require('../modules/_core').RegExp; diff --git a/library/es/set.js b/library/es/set.js deleted file mode 100644 index 8eddb0679f65..000000000000 --- a/library/es/set.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/es.string.iterator'); -require('../modules/web.dom.iterable'); -require('../modules/es.set'); -module.exports = require('../modules/_core').Set; diff --git a/library/es/string.js b/library/es/string.js deleted file mode 100644 index 6b289c29a2b6..000000000000 --- a/library/es/string.js +++ /dev/null @@ -1,29 +0,0 @@ -require('../modules/es.string.from-code-point'); -require('../modules/es.string.raw'); -require('../modules/es.string.trim'); -require('../modules/es.string.iterator'); -require('../modules/es.string.code-point-at'); -require('../modules/es.string.ends-with'); -require('../modules/es.string.includes'); -require('../modules/es.string.repeat'); -require('../modules/es.string.starts-with'); -require('../modules/es.string.pad-start'); -require('../modules/es.string.pad-end'); -require('../modules/es.string.anchor'); -require('../modules/es.string.big'); -require('../modules/es.string.blink'); -require('../modules/es.string.bold'); -require('../modules/es.string.fixed'); -require('../modules/es.string.fontcolor'); -require('../modules/es.string.fontsize'); -require('../modules/es.string.italics'); -require('../modules/es.string.link'); -require('../modules/es.string.small'); -require('../modules/es.string.strike'); -require('../modules/es.string.sub'); -require('../modules/es.string.sup'); -require('../modules/es.regexp.match'); -require('../modules/es.regexp.replace'); -require('../modules/es.regexp.search'); -require('../modules/es.regexp.split'); -module.exports = require('../modules/_core').String; diff --git a/library/es/symbol.js b/library/es/symbol.js deleted file mode 100644 index bb1bb92ff8ab..000000000000 --- a/library/es/symbol.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../modules/es.symbol'); -require('../modules/es.object.to-string'); -module.exports = require('../modules/_core').Symbol; diff --git a/library/es/typed.js b/library/es/typed.js deleted file mode 100644 index 38cf1541f3b1..000000000000 --- a/library/es/typed.js +++ /dev/null @@ -1,13 +0,0 @@ -require('../modules/es.typed.array-buffer'); -require('../modules/es.typed.data-view'); -require('../modules/es.typed.int8-array'); -require('../modules/es.typed.uint8-array'); -require('../modules/es.typed.uint8-clamped-array'); -require('../modules/es.typed.int16-array'); -require('../modules/es.typed.uint16-array'); -require('../modules/es.typed.int32-array'); -require('../modules/es.typed.uint32-array'); -require('../modules/es.typed.float32-array'); -require('../modules/es.typed.float64-array'); -require('../modules/es.object.to-string'); -module.exports = require('../modules/_core'); diff --git a/library/es/weak-map.js b/library/es/weak-map.js deleted file mode 100644 index 008cbc71239a..000000000000 --- a/library/es/weak-map.js +++ /dev/null @@ -1,4 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/es.array.iterator'); -require('../modules/es.weak-map'); -module.exports = require('../modules/_core').WeakMap; diff --git a/library/es/weak-set.js b/library/es/weak-set.js deleted file mode 100644 index 408917b22481..000000000000 --- a/library/es/weak-set.js +++ /dev/null @@ -1,4 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/web.dom.iterable'); -require('../modules/es.weak-set'); -module.exports = require('../modules/_core').WeakSet; diff --git a/library/fn/array/concat.js b/library/fn/array/concat.js deleted file mode 100644 index 11f6e3428964..000000000000 --- a/library/fn/array/concat.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.concat, arguments); -}; diff --git a/library/fn/array/copy-within.js b/library/fn/array/copy-within.js deleted file mode 100644 index 12bf408b28b4..000000000000 --- a/library/fn/array/copy-within.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.copy-within'); -module.exports = require('../../modules/_core').Array.copyWithin; diff --git a/library/fn/array/entries.js b/library/fn/array/entries.js deleted file mode 100644 index 66684b5ae847..000000000000 --- a/library/fn/array/entries.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.iterator'); -module.exports = require('../../modules/_core').Array.entries; diff --git a/library/fn/array/every.js b/library/fn/array/every.js deleted file mode 100644 index bd572180331f..000000000000 --- a/library/fn/array/every.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.every'); -module.exports = require('../../modules/_core').Array.every; diff --git a/library/fn/array/fill.js b/library/fn/array/fill.js deleted file mode 100644 index 1a9799c97a12..000000000000 --- a/library/fn/array/fill.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.fill'); -module.exports = require('../../modules/_core').Array.fill; diff --git a/library/fn/array/filter.js b/library/fn/array/filter.js deleted file mode 100644 index 759eb40f4a5d..000000000000 --- a/library/fn/array/filter.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.filter'); -module.exports = require('../../modules/_core').Array.filter; diff --git a/library/fn/array/find-index.js b/library/fn/array/find-index.js deleted file mode 100644 index 8b55af7d865d..000000000000 --- a/library/fn/array/find-index.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.find-index'); -module.exports = require('../../modules/_core').Array.findIndex; diff --git a/library/fn/array/find.js b/library/fn/array/find.js deleted file mode 100644 index cff3b58f8bad..000000000000 --- a/library/fn/array/find.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.find'); -module.exports = require('../../modules/_core').Array.find; diff --git a/library/fn/array/flat-map.js b/library/fn/array/flat-map.js deleted file mode 100644 index 37a05213d038..000000000000 --- a/library/fn/array/flat-map.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.array.flat-map'); -module.exports = require('../../modules/_core').Array.flatMap; diff --git a/library/fn/array/flatten.js b/library/fn/array/flatten.js deleted file mode 100644 index 444a08613dbb..000000000000 --- a/library/fn/array/flatten.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.array.flatten'); -module.exports = require('../../modules/_core').Array.flatten; diff --git a/library/fn/array/for-each.js b/library/fn/array/for-each.js deleted file mode 100644 index 88ed11f0b955..000000000000 --- a/library/fn/array/for-each.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.for-each'); -module.exports = require('../../modules/_core').Array.forEach; diff --git a/library/fn/array/from.js b/library/fn/array/from.js deleted file mode 100644 index ee768e48b9e2..000000000000 --- a/library/fn/array/from.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../../modules/es.string.iterator'); -require('../../modules/es.array.from'); -module.exports = require('../../modules/_core').Array.from; diff --git a/library/fn/array/includes.js b/library/fn/array/includes.js deleted file mode 100644 index e4b78c6f4e3e..000000000000 --- a/library/fn/array/includes.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.includes'); -module.exports = require('../../modules/_core').Array.includes; diff --git a/library/fn/array/index-of.js b/library/fn/array/index-of.js deleted file mode 100644 index 886712bfb58f..000000000000 --- a/library/fn/array/index-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.index-of'); -module.exports = require('../../modules/_core').Array.indexOf; diff --git a/library/fn/array/index.js b/library/fn/array/index.js deleted file mode 100644 index ec092ae17b20..000000000000 --- a/library/fn/array/index.js +++ /dev/null @@ -1,26 +0,0 @@ -require('../../modules/es.string.iterator'); -require('../../modules/es.array.is-array'); -require('../../modules/es.array.from'); -require('../../modules/es.array.of'); -require('../../modules/es.array.join'); -require('../../modules/es.array.slice'); -require('../../modules/es.array.sort'); -require('../../modules/es.array.for-each'); -require('../../modules/es.array.map'); -require('../../modules/es.array.filter'); -require('../../modules/es.array.some'); -require('../../modules/es.array.every'); -require('../../modules/es.array.reduce'); -require('../../modules/es.array.reduce-right'); -require('../../modules/es.array.index-of'); -require('../../modules/es.array.last-index-of'); -require('../../modules/es.array.copy-within'); -require('../../modules/es.array.fill'); -require('../../modules/es.array.find'); -require('../../modules/es.array.find-index'); -require('../../modules/es.array.species'); -require('../../modules/es.array.iterator'); -require('../../modules/es.array.includes'); -require('../../modules/esnext.array.flat-map'); -require('../../modules/esnext.array.flatten'); -module.exports = require('../../modules/_core').Array; diff --git a/library/fn/array/is-array.js b/library/fn/array/is-array.js deleted file mode 100644 index d29d91dd3676..000000000000 --- a/library/fn/array/is-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.is-array'); -module.exports = require('../../modules/_core').Array.isArray; diff --git a/library/fn/array/iterator.js b/library/fn/array/iterator.js deleted file mode 100644 index 1c5efe2d023c..000000000000 --- a/library/fn/array/iterator.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.iterator'); -module.exports = require('../../modules/_core').Array.values; diff --git a/library/fn/array/join.js b/library/fn/array/join.js deleted file mode 100644 index 5bcbcd280321..000000000000 --- a/library/fn/array/join.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.join'); -module.exports = require('../../modules/_core').Array.join; diff --git a/library/fn/array/keys.js b/library/fn/array/keys.js deleted file mode 100644 index 3c6a5850570b..000000000000 --- a/library/fn/array/keys.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.iterator'); -module.exports = require('../../modules/_core').Array.keys; diff --git a/library/fn/array/last-index-of.js b/library/fn/array/last-index-of.js deleted file mode 100644 index ee6f755eee15..000000000000 --- a/library/fn/array/last-index-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.last-index-of'); -module.exports = require('../../modules/_core').Array.lastIndexOf; diff --git a/library/fn/array/map.js b/library/fn/array/map.js deleted file mode 100644 index 2dd862cc2a6f..000000000000 --- a/library/fn/array/map.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.map'); -module.exports = require('../../modules/_core').Array.map; diff --git a/library/fn/array/of.js b/library/fn/array/of.js deleted file mode 100644 index 0bf3cb82d6de..000000000000 --- a/library/fn/array/of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.of'); -module.exports = require('../../modules/_core').Array.of; diff --git a/library/fn/array/pop.js b/library/fn/array/pop.js deleted file mode 100644 index 55e7fe7a70e8..000000000000 --- a/library/fn/array/pop.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.pop, arguments); -}; diff --git a/library/fn/array/push.js b/library/fn/array/push.js deleted file mode 100644 index 5e61e5079f17..000000000000 --- a/library/fn/array/push.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.push, arguments); -}; diff --git a/library/fn/array/reduce-right.js b/library/fn/array/reduce-right.js deleted file mode 100644 index 0d90805acad6..000000000000 --- a/library/fn/array/reduce-right.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.reduce-right'); -module.exports = require('../../modules/_core').Array.reduceRight; diff --git a/library/fn/array/reduce.js b/library/fn/array/reduce.js deleted file mode 100644 index 1f421187b7bb..000000000000 --- a/library/fn/array/reduce.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.reduce'); -module.exports = require('../../modules/_core').Array.reduce; diff --git a/library/fn/array/reverse.js b/library/fn/array/reverse.js deleted file mode 100644 index 3226b310028c..000000000000 --- a/library/fn/array/reverse.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.reverse, arguments); -}; diff --git a/library/fn/array/shift.js b/library/fn/array/shift.js deleted file mode 100644 index 9dad2f0c5d8b..000000000000 --- a/library/fn/array/shift.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.shift, arguments); -}; diff --git a/library/fn/array/slice.js b/library/fn/array/slice.js deleted file mode 100644 index e30d406b3117..000000000000 --- a/library/fn/array/slice.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.slice'); -module.exports = require('../../modules/_core').Array.slice; diff --git a/library/fn/array/some.js b/library/fn/array/some.js deleted file mode 100644 index 931c509eb124..000000000000 --- a/library/fn/array/some.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.some'); -module.exports = require('../../modules/_core').Array.some; diff --git a/library/fn/array/sort.js b/library/fn/array/sort.js deleted file mode 100644 index 0f2bf52413a5..000000000000 --- a/library/fn/array/sort.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.sort'); -module.exports = require('../../modules/_core').Array.sort; diff --git a/library/fn/array/splice.js b/library/fn/array/splice.js deleted file mode 100644 index 8849bb163172..000000000000 --- a/library/fn/array/splice.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.splice, arguments); -}; diff --git a/library/fn/array/unshift.js b/library/fn/array/unshift.js deleted file mode 100644 index 9691917fdc3b..000000000000 --- a/library/fn/array/unshift.js +++ /dev/null @@ -1,4 +0,0 @@ -// for a legacy code and future fixes -module.exports = function () { - return Function.call.apply(Array.prototype.unshift, arguments); -}; diff --git a/library/fn/array/values.js b/library/fn/array/values.js deleted file mode 100644 index 1c5efe2d023c..000000000000 --- a/library/fn/array/values.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.array.iterator'); -module.exports = require('../../modules/_core').Array.values; diff --git a/library/fn/array/virtual/copy-within.js b/library/fn/array/virtual/copy-within.js deleted file mode 100644 index 3fe62b499c63..000000000000 --- a/library/fn/array/virtual/copy-within.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.copy-within'); -module.exports = require('../../../modules/_entry-virtual')('Array').copyWithin; diff --git a/library/fn/array/virtual/entries.js b/library/fn/array/virtual/entries.js deleted file mode 100644 index 9b721680ab2f..000000000000 --- a/library/fn/array/virtual/entries.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.iterator'); -module.exports = require('../../../modules/_entry-virtual')('Array').entries; diff --git a/library/fn/array/virtual/every.js b/library/fn/array/virtual/every.js deleted file mode 100644 index 92291ae370e9..000000000000 --- a/library/fn/array/virtual/every.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.every'); -module.exports = require('../../../modules/_entry-virtual')('Array').every; diff --git a/library/fn/array/virtual/fill.js b/library/fn/array/virtual/fill.js deleted file mode 100644 index cb64e3978b18..000000000000 --- a/library/fn/array/virtual/fill.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.fill'); -module.exports = require('../../../modules/_entry-virtual')('Array').fill; diff --git a/library/fn/array/virtual/filter.js b/library/fn/array/virtual/filter.js deleted file mode 100644 index 3d66d2a08825..000000000000 --- a/library/fn/array/virtual/filter.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.filter'); -module.exports = require('../../../modules/_entry-virtual')('Array').filter; diff --git a/library/fn/array/virtual/find-index.js b/library/fn/array/virtual/find-index.js deleted file mode 100644 index b4a31862ceab..000000000000 --- a/library/fn/array/virtual/find-index.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.find-index'); -module.exports = require('../../../modules/_entry-virtual')('Array').findIndex; diff --git a/library/fn/array/virtual/find.js b/library/fn/array/virtual/find.js deleted file mode 100644 index 852117d9b846..000000000000 --- a/library/fn/array/virtual/find.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.find'); -module.exports = require('../../../modules/_entry-virtual')('Array').find; diff --git a/library/fn/array/virtual/flat-map.js b/library/fn/array/virtual/flat-map.js deleted file mode 100644 index 69717149c59b..000000000000 --- a/library/fn/array/virtual/flat-map.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.array.flat-map'); -module.exports = require('../../../modules/_entry-virtual')('Array').flatMap; diff --git a/library/fn/array/virtual/flatten.js b/library/fn/array/virtual/flatten.js deleted file mode 100644 index 1f4c0c091860..000000000000 --- a/library/fn/array/virtual/flatten.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.array.flatten'); -module.exports = require('../../../modules/_entry-virtual')('Array').flatten; diff --git a/library/fn/array/virtual/for-each.js b/library/fn/array/virtual/for-each.js deleted file mode 100644 index a45ed6d31f97..000000000000 --- a/library/fn/array/virtual/for-each.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.for-each'); -module.exports = require('../../../modules/_entry-virtual')('Array').forEach; diff --git a/library/fn/array/virtual/includes.js b/library/fn/array/virtual/includes.js deleted file mode 100644 index 17dc11672ba6..000000000000 --- a/library/fn/array/virtual/includes.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.includes'); -module.exports = require('../../../modules/_entry-virtual')('Array').includes; diff --git a/library/fn/array/virtual/index-of.js b/library/fn/array/virtual/index-of.js deleted file mode 100644 index 5e6b035d1bc5..000000000000 --- a/library/fn/array/virtual/index-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.index-of'); -module.exports = require('../../../modules/_entry-virtual')('Array').indexOf; diff --git a/library/fn/array/virtual/index.js b/library/fn/array/virtual/index.js deleted file mode 100644 index 0203c66e9316..000000000000 --- a/library/fn/array/virtual/index.js +++ /dev/null @@ -1,20 +0,0 @@ -require('../../../modules/es.array.join'); -require('../../../modules/es.array.slice'); -require('../../../modules/es.array.sort'); -require('../../../modules/es.array.for-each'); -require('../../../modules/es.array.map'); -require('../../../modules/es.array.filter'); -require('../../../modules/es.array.some'); -require('../../../modules/es.array.every'); -require('../../../modules/es.array.reduce'); -require('../../../modules/es.array.reduce-right'); -require('../../../modules/es.array.index-of'); -require('../../../modules/es.array.last-index-of'); -require('../../../modules/es.string.iterator'); -require('../../../modules/es.array.iterator'); -require('../../../modules/es.array.copy-within'); -require('../../../modules/es.array.fill'); -require('../../../modules/es.array.find'); -require('../../../modules/es.array.find-index'); -require('../../../modules/es.array.includes'); -module.exports = require('../../../modules/_entry-virtual')('Array'); diff --git a/library/fn/array/virtual/iterator.js b/library/fn/array/virtual/iterator.js deleted file mode 100644 index a5b9f864b0d0..000000000000 --- a/library/fn/array/virtual/iterator.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.iterator'); -module.exports = require('../../../modules/_iterators').Array; diff --git a/library/fn/array/virtual/join.js b/library/fn/array/virtual/join.js deleted file mode 100644 index 962c627ce5d2..000000000000 --- a/library/fn/array/virtual/join.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.join'); -module.exports = require('../../../modules/_entry-virtual')('Array').join; diff --git a/library/fn/array/virtual/keys.js b/library/fn/array/virtual/keys.js deleted file mode 100644 index f1835e20003f..000000000000 --- a/library/fn/array/virtual/keys.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.iterator'); -module.exports = require('../../../modules/_entry-virtual')('Array').keys; diff --git a/library/fn/array/virtual/last-index-of.js b/library/fn/array/virtual/last-index-of.js deleted file mode 100644 index 21220c004e55..000000000000 --- a/library/fn/array/virtual/last-index-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.last-index-of'); -module.exports = require('../../../modules/_entry-virtual')('Array').lastIndexOf; diff --git a/library/fn/array/virtual/map.js b/library/fn/array/virtual/map.js deleted file mode 100644 index a63b6a212278..000000000000 --- a/library/fn/array/virtual/map.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.map'); -module.exports = require('../../../modules/_entry-virtual')('Array').map; diff --git a/library/fn/array/virtual/reduce-right.js b/library/fn/array/virtual/reduce-right.js deleted file mode 100644 index bb332cf81ede..000000000000 --- a/library/fn/array/virtual/reduce-right.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.reduce-right'); -module.exports = require('../../../modules/_entry-virtual')('Array').reduceRight; diff --git a/library/fn/array/virtual/reduce.js b/library/fn/array/virtual/reduce.js deleted file mode 100644 index 5012572294ef..000000000000 --- a/library/fn/array/virtual/reduce.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.reduce'); -module.exports = require('../../../modules/_entry-virtual')('Array').reduce; diff --git a/library/fn/array/virtual/slice.js b/library/fn/array/virtual/slice.js deleted file mode 100644 index 4e8c5b9ced86..000000000000 --- a/library/fn/array/virtual/slice.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.slice'); -module.exports = require('../../../modules/_entry-virtual')('Array').slice; diff --git a/library/fn/array/virtual/some.js b/library/fn/array/virtual/some.js deleted file mode 100644 index 10653220dfbc..000000000000 --- a/library/fn/array/virtual/some.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.some'); -module.exports = require('../../../modules/_entry-virtual')('Array').some; diff --git a/library/fn/array/virtual/sort.js b/library/fn/array/virtual/sort.js deleted file mode 100644 index 27a23a99552f..000000000000 --- a/library/fn/array/virtual/sort.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.sort'); -module.exports = require('../../../modules/_entry-virtual')('Array').sort; diff --git a/library/fn/array/virtual/values.js b/library/fn/array/virtual/values.js deleted file mode 100644 index a5b9f864b0d0..000000000000 --- a/library/fn/array/virtual/values.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.array.iterator'); -module.exports = require('../../../modules/_iterators').Array; diff --git a/library/fn/asap.js b/library/fn/asap.js deleted file mode 100644 index ce6c4845b244..000000000000 --- a/library/fn/asap.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/esnext.asap'); -module.exports = require('../modules/_core').asap; diff --git a/library/fn/clear-immediate.js b/library/fn/clear-immediate.js deleted file mode 100644 index 7bfce0e908b2..000000000000 --- a/library/fn/clear-immediate.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.immediate'); -module.exports = require('../modules/_core').clearImmediate; diff --git a/library/fn/date/index.js b/library/fn/date/index.js deleted file mode 100644 index 08f573c3ca7a..000000000000 --- a/library/fn/date/index.js +++ /dev/null @@ -1,6 +0,0 @@ -require('../../modules/es.date.now'); -require('../../modules/es.date.to-json'); -require('../../modules/es.date.to-iso-string'); -require('../../modules/es.date.to-string'); -require('../../modules/es.date.to-primitive'); -module.exports = require('../../modules/_core').Date; diff --git a/library/fn/date/now.js b/library/fn/date/now.js deleted file mode 100644 index c72bc0cb9080..000000000000 --- a/library/fn/date/now.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.date.now'); -module.exports = require('../../modules/_core').Date.now; diff --git a/library/fn/date/to-iso-string.js b/library/fn/date/to-iso-string.js deleted file mode 100644 index ea08c18a5e25..000000000000 --- a/library/fn/date/to-iso-string.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../../modules/es.date.to-json'); -require('../../modules/es.date.to-iso-string'); -module.exports = require('../../modules/_core').Date.toISOString; diff --git a/library/fn/date/to-json.js b/library/fn/date/to-json.js deleted file mode 100644 index c165b80db7fb..000000000000 --- a/library/fn/date/to-json.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.date.to-json'); -module.exports = require('../../modules/_core').Date.toJSON; diff --git a/library/fn/date/to-primitive.js b/library/fn/date/to-primitive.js deleted file mode 100644 index 2fc2d016bfb3..000000000000 --- a/library/fn/date/to-primitive.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.date.to-primitive'); -var toPrimitive = require('../../modules/_date-to-primitive'); -module.exports = function (it, hint) { - return toPrimitive.call(it, hint); -}; diff --git a/library/fn/date/to-string.js b/library/fn/date/to-string.js deleted file mode 100644 index 039e19132c54..000000000000 --- a/library/fn/date/to-string.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.date.to-string'); -var $toString = Date.prototype.toString; -module.exports = function toString(it) { - return $toString.call(it); -}; diff --git a/library/fn/dom-collections/index.js b/library/fn/dom-collections/index.js deleted file mode 100644 index 79c5f5fb1ae6..000000000000 --- a/library/fn/dom-collections/index.js +++ /dev/null @@ -1,8 +0,0 @@ -require('../../modules/web.dom.iterable'); -var $iterators = require('../../modules/es.array.iterator'); -module.exports = { - keys: $iterators.keys, - values: $iterators.values, - entries: $iterators.entries, - iterator: $iterators.values -}; diff --git a/library/fn/dom-collections/iterator.js b/library/fn/dom-collections/iterator.js deleted file mode 100644 index 26c846ca63a1..000000000000 --- a/library/fn/dom-collections/iterator.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/web.dom.iterable'); -module.exports = require('../../modules/_core').Array.values; diff --git a/library/fn/function/bind.js b/library/fn/function/bind.js deleted file mode 100644 index 0c6c0cfc5248..000000000000 --- a/library/fn/function/bind.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.function.bind'); -module.exports = require('../../modules/_core').Function.bind; diff --git a/library/fn/function/has-instance.js b/library/fn/function/has-instance.js deleted file mode 100644 index 5e48a714394e..000000000000 --- a/library/fn/function/has-instance.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.function.has-instance'); -module.exports = Function[require('../../modules/_wks')('hasInstance')]; diff --git a/library/fn/function/index.js b/library/fn/function/index.js deleted file mode 100644 index cc8c1cb413d4..000000000000 --- a/library/fn/function/index.js +++ /dev/null @@ -1,4 +0,0 @@ -require('../../modules/es.function.bind'); -require('../../modules/es.function.name'); -require('../../modules/es.function.has-instance'); -module.exports = require('../../modules/_core').Function; diff --git a/library/fn/function/name.js b/library/fn/function/name.js deleted file mode 100644 index 43344dbd290e..000000000000 --- a/library/fn/function/name.js +++ /dev/null @@ -1 +0,0 @@ -require('../../modules/es.function.name'); diff --git a/library/fn/function/virtual/bind.js b/library/fn/function/virtual/bind.js deleted file mode 100644 index f50e83324834..000000000000 --- a/library/fn/function/virtual/bind.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.function.bind'); -module.exports = require('../../../modules/_entry-virtual')('Function').bind; diff --git a/library/fn/function/virtual/index.js b/library/fn/function/virtual/index.js deleted file mode 100644 index a1f47cfa8f9f..000000000000 --- a/library/fn/function/virtual/index.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.function.bind'); -module.exports = require('../../../modules/_entry-virtual')('Function'); diff --git a/library/fn/get-iterator-method.js b/library/fn/get-iterator-method.js deleted file mode 100644 index 4c125d1ab0ef..000000000000 --- a/library/fn/get-iterator-method.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../modules/web.dom.iterable'); -require('../modules/es.string.iterator'); -module.exports = require('../modules/core.get-iterator-method'); diff --git a/library/fn/get-iterator.js b/library/fn/get-iterator.js deleted file mode 100644 index 5e8033226658..000000000000 --- a/library/fn/get-iterator.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../modules/web.dom.iterable'); -require('../modules/es.string.iterator'); -module.exports = require('../modules/core.get-iterator'); diff --git a/library/fn/global.js b/library/fn/global.js deleted file mode 100644 index 7ecb58a96b54..000000000000 --- a/library/fn/global.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/esnext.global'); -module.exports = require('../modules/_core').global; diff --git a/library/fn/is-iterable.js b/library/fn/is-iterable.js deleted file mode 100644 index 63b069b67621..000000000000 --- a/library/fn/is-iterable.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../modules/web.dom.iterable'); -require('../modules/es.string.iterator'); -module.exports = require('../modules/core.is-iterable'); diff --git a/library/fn/json/index.js b/library/fn/json/index.js deleted file mode 100644 index 2d5681dcae08..000000000000 --- a/library/fn/json/index.js +++ /dev/null @@ -1,2 +0,0 @@ -var core = require('../../modules/_core'); -module.exports = core.JSON || (core.JSON = { stringify: JSON.stringify }); diff --git a/library/fn/json/stringify.js b/library/fn/json/stringify.js deleted file mode 100644 index 401aadb79905..000000000000 --- a/library/fn/json/stringify.js +++ /dev/null @@ -1,5 +0,0 @@ -var core = require('../../modules/_core'); -var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); -module.exports = function stringify(it) { // eslint-disable-line no-unused-vars - return $JSON.stringify.apply($JSON, arguments); -}; diff --git a/library/fn/map/from.js b/library/fn/map/from.js deleted file mode 100644 index e43984eb9167..000000000000 --- a/library/fn/map/from.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.map'); -require('../../modules/esnext.map.from'); -var $Map = require('../../modules/_core').Map; -var $from = $Map.from; -module.exports = function from(source, mapFn, thisArg) { - return $from.call(typeof this === 'function' ? this : $Map, source, mapFn, thisArg); -}; diff --git a/library/fn/map/index.js b/library/fn/map/index.js deleted file mode 100644 index 9b56abe53f5f..000000000000 --- a/library/fn/map/index.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../../modules/es.object.to-string'); -require('../../modules/es.string.iterator'); -require('../../modules/web.dom.iterable'); -require('../../modules/es.map'); -require('../../modules/esnext.map.of'); -require('../../modules/esnext.map.from'); -module.exports = require('../../modules/_core').Map; diff --git a/library/fn/map/of.js b/library/fn/map/of.js deleted file mode 100644 index 44e3c6865393..000000000000 --- a/library/fn/map/of.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.map'); -require('../../modules/esnext.map.of'); -var $Map = require('../../modules/_core').Map; -var $of = $Map.of; -module.exports = function of() { - return $of.apply(typeof this === 'function' ? this : $Map, arguments); -}; diff --git a/library/fn/math/acosh.js b/library/fn/math/acosh.js deleted file mode 100644 index c099c05580d0..000000000000 --- a/library/fn/math/acosh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.acosh'); -module.exports = require('../../modules/_core').Math.acosh; diff --git a/library/fn/math/asinh.js b/library/fn/math/asinh.js deleted file mode 100644 index c1e70e0287cc..000000000000 --- a/library/fn/math/asinh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.asinh'); -module.exports = require('../../modules/_core').Math.asinh; diff --git a/library/fn/math/atanh.js b/library/fn/math/atanh.js deleted file mode 100644 index 47cd47d4b0b6..000000000000 --- a/library/fn/math/atanh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.atanh'); -module.exports = require('../../modules/_core').Math.atanh; diff --git a/library/fn/math/cbrt.js b/library/fn/math/cbrt.js deleted file mode 100644 index 519101bf0b39..000000000000 --- a/library/fn/math/cbrt.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.cbrt'); -module.exports = require('../../modules/_core').Math.cbrt; diff --git a/library/fn/math/clamp.js b/library/fn/math/clamp.js deleted file mode 100644 index 8c1175bcfea9..000000000000 --- a/library/fn/math/clamp.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.clamp'); -module.exports = require('../../modules/_core').Math.clamp; diff --git a/library/fn/math/clz32.js b/library/fn/math/clz32.js deleted file mode 100644 index 5df8301b51f7..000000000000 --- a/library/fn/math/clz32.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.clz32'); -module.exports = require('../../modules/_core').Math.clz32; diff --git a/library/fn/math/cosh.js b/library/fn/math/cosh.js deleted file mode 100644 index 9b5325d27508..000000000000 --- a/library/fn/math/cosh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.cosh'); -module.exports = require('../../modules/_core').Math.cosh; diff --git a/library/fn/math/deg-per-rad.js b/library/fn/math/deg-per-rad.js deleted file mode 100644 index fa725f3827d2..000000000000 --- a/library/fn/math/deg-per-rad.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.deg-per-rad'); -module.exports = Math.PI / 180; diff --git a/library/fn/math/degrees.js b/library/fn/math/degrees.js deleted file mode 100644 index 2ecd7f52088f..000000000000 --- a/library/fn/math/degrees.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.degrees'); -module.exports = require('../../modules/_core').Math.degrees; diff --git a/library/fn/math/expm1.js b/library/fn/math/expm1.js deleted file mode 100644 index b6c4b9f22b7f..000000000000 --- a/library/fn/math/expm1.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.expm1'); -module.exports = require('../../modules/_core').Math.expm1; diff --git a/library/fn/math/fround.js b/library/fn/math/fround.js deleted file mode 100644 index ccd560bad8e1..000000000000 --- a/library/fn/math/fround.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.fround'); -module.exports = require('../../modules/_core').Math.fround; diff --git a/library/fn/math/fscale.js b/library/fn/math/fscale.js deleted file mode 100644 index 7a5b531a3096..000000000000 --- a/library/fn/math/fscale.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.fscale'); -module.exports = require('../../modules/_core').Math.fscale; diff --git a/library/fn/math/hypot.js b/library/fn/math/hypot.js deleted file mode 100644 index 5a03adff7ee0..000000000000 --- a/library/fn/math/hypot.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.hypot'); -module.exports = require('../../modules/_core').Math.hypot; diff --git a/library/fn/math/iaddh.js b/library/fn/math/iaddh.js deleted file mode 100644 index 32ede8260655..000000000000 --- a/library/fn/math/iaddh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.iaddh'); -module.exports = require('../../modules/_core').Math.iaddh; diff --git a/library/fn/math/imul.js b/library/fn/math/imul.js deleted file mode 100644 index 74cb1c34a596..000000000000 --- a/library/fn/math/imul.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.imul'); -module.exports = require('../../modules/_core').Math.imul; diff --git a/library/fn/math/imulh.js b/library/fn/math/imulh.js deleted file mode 100644 index 8c3a3caa5d91..000000000000 --- a/library/fn/math/imulh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.imulh'); -module.exports = require('../../modules/_core').Math.imulh; diff --git a/library/fn/math/index.js b/library/fn/math/index.js deleted file mode 100644 index b7a7a0f132a4..000000000000 --- a/library/fn/math/index.js +++ /dev/null @@ -1,30 +0,0 @@ -require('../../modules/es.math.acosh'); -require('../../modules/es.math.asinh'); -require('../../modules/es.math.atanh'); -require('../../modules/es.math.cbrt'); -require('../../modules/es.math.clz32'); -require('../../modules/es.math.cosh'); -require('../../modules/es.math.expm1'); -require('../../modules/es.math.fround'); -require('../../modules/es.math.hypot'); -require('../../modules/es.math.imul'); -require('../../modules/es.math.log10'); -require('../../modules/es.math.log1p'); -require('../../modules/es.math.log2'); -require('../../modules/es.math.sign'); -require('../../modules/es.math.sinh'); -require('../../modules/es.math.tanh'); -require('../../modules/es.math.trunc'); -require('../../modules/esnext.math.clamp'); -require('../../modules/esnext.math.deg-per-rad'); -require('../../modules/esnext.math.degrees'); -require('../../modules/esnext.math.fscale'); -require('../../modules/esnext.math.iaddh'); -require('../../modules/esnext.math.isubh'); -require('../../modules/esnext.math.imulh'); -require('../../modules/esnext.math.rad-per-deg'); -require('../../modules/esnext.math.radians'); -require('../../modules/esnext.math.scale'); -require('../../modules/esnext.math.umulh'); -require('../../modules/esnext.math.signbit'); -module.exports = require('../../modules/_core').Math; diff --git a/library/fn/math/isubh.js b/library/fn/math/isubh.js deleted file mode 100644 index 5e12d7caa0df..000000000000 --- a/library/fn/math/isubh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.isubh'); -module.exports = require('../../modules/_core').Math.isubh; diff --git a/library/fn/math/log10.js b/library/fn/math/log10.js deleted file mode 100644 index de9aefe7ebec..000000000000 --- a/library/fn/math/log10.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.log10'); -module.exports = require('../../modules/_core').Math.log10; diff --git a/library/fn/math/log1p.js b/library/fn/math/log1p.js deleted file mode 100644 index 349f8188136d..000000000000 --- a/library/fn/math/log1p.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.log1p'); -module.exports = require('../../modules/_core').Math.log1p; diff --git a/library/fn/math/log2.js b/library/fn/math/log2.js deleted file mode 100644 index 5f635e09c53c..000000000000 --- a/library/fn/math/log2.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.log2'); -module.exports = require('../../modules/_core').Math.log2; diff --git a/library/fn/math/rad-per-deg.js b/library/fn/math/rad-per-deg.js deleted file mode 100644 index d93f247b4e13..000000000000 --- a/library/fn/math/rad-per-deg.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.rad-per-deg'); -module.exports = 180 / Math.PI; diff --git a/library/fn/math/radians.js b/library/fn/math/radians.js deleted file mode 100644 index abf2a0b8550d..000000000000 --- a/library/fn/math/radians.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.radians'); -module.exports = require('../../modules/_core').Math.radians; diff --git a/library/fn/math/scale.js b/library/fn/math/scale.js deleted file mode 100644 index e54a611918f9..000000000000 --- a/library/fn/math/scale.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.scale'); -module.exports = require('../../modules/_core').Math.scale; diff --git a/library/fn/math/sign.js b/library/fn/math/sign.js deleted file mode 100644 index 2543debaa3e2..000000000000 --- a/library/fn/math/sign.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.sign'); -module.exports = require('../../modules/_core').Math.sign; diff --git a/library/fn/math/signbit.js b/library/fn/math/signbit.js deleted file mode 100644 index 3fe5a2897a88..000000000000 --- a/library/fn/math/signbit.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../../modules/esnext.math.signbit'); - -module.exports = require('../../modules/_core').Math.signbit; diff --git a/library/fn/math/sinh.js b/library/fn/math/sinh.js deleted file mode 100644 index daea48bad292..000000000000 --- a/library/fn/math/sinh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.sinh'); -module.exports = require('../../modules/_core').Math.sinh; diff --git a/library/fn/math/tanh.js b/library/fn/math/tanh.js deleted file mode 100644 index 579860ffe667..000000000000 --- a/library/fn/math/tanh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.tanh'); -module.exports = require('../../modules/_core').Math.tanh; diff --git a/library/fn/math/trunc.js b/library/fn/math/trunc.js deleted file mode 100644 index bfe71d8d020f..000000000000 --- a/library/fn/math/trunc.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.math.trunc'); -module.exports = require('../../modules/_core').Math.trunc; diff --git a/library/fn/math/umulh.js b/library/fn/math/umulh.js deleted file mode 100644 index 6a9622d109ca..000000000000 --- a/library/fn/math/umulh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.math.umulh'); -module.exports = require('../../modules/_core').Math.umulh; diff --git a/library/fn/number/constructor.js b/library/fn/number/constructor.js deleted file mode 100644 index 659aeae46f08..000000000000 --- a/library/fn/number/constructor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.constructor'); -module.exports = Number; diff --git a/library/fn/number/epsilon.js b/library/fn/number/epsilon.js deleted file mode 100644 index 0b81ee9b4c4a..000000000000 --- a/library/fn/number/epsilon.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.epsilon'); -module.exports = Math.pow(2, -52); diff --git a/library/fn/number/index.js b/library/fn/number/index.js deleted file mode 100644 index 965e5775765c..000000000000 --- a/library/fn/number/index.js +++ /dev/null @@ -1,13 +0,0 @@ -require('../../modules/es.number.constructor'); -require('../../modules/es.number.epsilon'); -require('../../modules/es.number.is-finite'); -require('../../modules/es.number.is-integer'); -require('../../modules/es.number.is-nan'); -require('../../modules/es.number.is-safe-integer'); -require('../../modules/es.number.max-safe-integer'); -require('../../modules/es.number.min-safe-integer'); -require('../../modules/es.number.parse-float'); -require('../../modules/es.number.parse-int'); -require('../../modules/es.number.to-fixed'); -require('../../modules/es.number.to-precision'); -module.exports = require('../../modules/_core').Number; diff --git a/library/fn/number/is-finite.js b/library/fn/number/is-finite.js deleted file mode 100644 index 79455cd03d72..000000000000 --- a/library/fn/number/is-finite.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.is-finite'); -module.exports = require('../../modules/_core').Number.isFinite; diff --git a/library/fn/number/is-integer.js b/library/fn/number/is-integer.js deleted file mode 100644 index d26d2d026832..000000000000 --- a/library/fn/number/is-integer.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.is-integer'); -module.exports = require('../../modules/_core').Number.isInteger; diff --git a/library/fn/number/is-nan.js b/library/fn/number/is-nan.js deleted file mode 100644 index c36ebb077a52..000000000000 --- a/library/fn/number/is-nan.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.is-nan'); -module.exports = require('../../modules/_core').Number.isNaN; diff --git a/library/fn/number/is-safe-integer.js b/library/fn/number/is-safe-integer.js deleted file mode 100644 index 1ff3b51dc4f8..000000000000 --- a/library/fn/number/is-safe-integer.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.is-safe-integer'); -module.exports = require('../../modules/_core').Number.isSafeInteger; diff --git a/library/fn/number/max-safe-integer.js b/library/fn/number/max-safe-integer.js deleted file mode 100644 index 887e8d6f7c60..000000000000 --- a/library/fn/number/max-safe-integer.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.max-safe-integer'); -module.exports = 0x1fffffffffffff; diff --git a/library/fn/number/min-safe-integer.js b/library/fn/number/min-safe-integer.js deleted file mode 100644 index 20cdb104f265..000000000000 --- a/library/fn/number/min-safe-integer.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.min-safe-integer'); -module.exports = -0x1fffffffffffff; diff --git a/library/fn/number/parse-float.js b/library/fn/number/parse-float.js deleted file mode 100644 index 91ce4ec0d86e..000000000000 --- a/library/fn/number/parse-float.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.parse-float'); -module.exports = parseFloat; diff --git a/library/fn/number/parse-int.js b/library/fn/number/parse-int.js deleted file mode 100644 index 77f7c59c41cb..000000000000 --- a/library/fn/number/parse-int.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.parse-int'); -module.exports = parseInt; diff --git a/library/fn/number/to-fixed.js b/library/fn/number/to-fixed.js deleted file mode 100644 index ecacc98da888..000000000000 --- a/library/fn/number/to-fixed.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.to-fixed'); -module.exports = require('../../modules/_core').Number.toFixed; diff --git a/library/fn/number/to-precision.js b/library/fn/number/to-precision.js deleted file mode 100644 index f811f9bc23ac..000000000000 --- a/library/fn/number/to-precision.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.number.to-precision'); -module.exports = require('../../modules/_core').Number.toPrecision; diff --git a/library/fn/number/virtual/index.js b/library/fn/number/virtual/index.js deleted file mode 100644 index 44cd83f350bc..000000000000 --- a/library/fn/number/virtual/index.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../../modules/es.number.to-fixed'); -require('../../../modules/es.number.to-precision'); -var $Number = require('../../../modules/_entry-virtual')('Number'); -$Number.iterator = require('../../../modules/_iterators').Number; -module.exports = $Number; diff --git a/library/fn/number/virtual/to-fixed.js b/library/fn/number/virtual/to-fixed.js deleted file mode 100644 index b6d780cdc057..000000000000 --- a/library/fn/number/virtual/to-fixed.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.number.to-fixed'); -module.exports = require('../../../modules/_entry-virtual')('Number').toFixed; diff --git a/library/fn/number/virtual/to-precision.js b/library/fn/number/virtual/to-precision.js deleted file mode 100644 index 145267d99404..000000000000 --- a/library/fn/number/virtual/to-precision.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.number.to-precision'); -module.exports = require('../../../modules/_entry-virtual')('Number').toPrecision; diff --git a/library/fn/object/assign.js b/library/fn/object/assign.js deleted file mode 100644 index c94d509cf03b..000000000000 --- a/library/fn/object/assign.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.assign'); -module.exports = require('../../modules/_core').Object.assign; diff --git a/library/fn/object/create.js b/library/fn/object/create.js deleted file mode 100644 index c21aa2c704a8..000000000000 --- a/library/fn/object/create.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.object.create'); -var $Object = require('../../modules/_core').Object; -module.exports = function create(P, D) { - return $Object.create(P, D); -}; diff --git a/library/fn/object/define-getter.js b/library/fn/object/define-getter.js deleted file mode 100644 index aa40abc89c13..000000000000 --- a/library/fn/object/define-getter.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.define-getter'); -module.exports = require('../../modules/_core').Object.__defineGetter__; diff --git a/library/fn/object/define-properties.js b/library/fn/object/define-properties.js deleted file mode 100644 index 33fab2c9b7e1..000000000000 --- a/library/fn/object/define-properties.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.object.define-properties'); -var $Object = require('../../modules/_core').Object; -module.exports = function defineProperties(T, D) { - return $Object.defineProperties(T, D); -}; diff --git a/library/fn/object/define-property.js b/library/fn/object/define-property.js deleted file mode 100644 index 6570362d49d9..000000000000 --- a/library/fn/object/define-property.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.object.define-property'); -var $Object = require('../../modules/_core').Object; -module.exports = function defineProperty(it, key, desc) { - return $Object.defineProperty(it, key, desc); -}; diff --git a/library/fn/object/define-setter.js b/library/fn/object/define-setter.js deleted file mode 100644 index b7cad01874cf..000000000000 --- a/library/fn/object/define-setter.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.define-setter'); -module.exports = require('../../modules/_core').Object.__defineSetter__; diff --git a/library/fn/object/entries.js b/library/fn/object/entries.js deleted file mode 100644 index 73b1f31e006e..000000000000 --- a/library/fn/object/entries.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.entries'); -module.exports = require('../../modules/_core').Object.entries; diff --git a/library/fn/object/freeze.js b/library/fn/object/freeze.js deleted file mode 100644 index c2b0c2347162..000000000000 --- a/library/fn/object/freeze.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.freeze'); -module.exports = require('../../modules/_core').Object.freeze; diff --git a/library/fn/object/get-own-property-descriptor.js b/library/fn/object/get-own-property-descriptor.js deleted file mode 100644 index 9276aecd7e54..000000000000 --- a/library/fn/object/get-own-property-descriptor.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.object.get-own-property-descriptor'); -var $Object = require('../../modules/_core').Object; -module.exports = function getOwnPropertyDescriptor(it, key) { - return $Object.getOwnPropertyDescriptor(it, key); -}; diff --git a/library/fn/object/get-own-property-descriptors.js b/library/fn/object/get-own-property-descriptors.js deleted file mode 100644 index 51020f381633..000000000000 --- a/library/fn/object/get-own-property-descriptors.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.get-own-property-descriptors'); -module.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors; diff --git a/library/fn/object/get-own-property-names.js b/library/fn/object/get-own-property-names.js deleted file mode 100644 index c2d751d5bf5a..000000000000 --- a/library/fn/object/get-own-property-names.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.object.get-own-property-names'); -var $Object = require('../../modules/_core').Object; -module.exports = function getOwnPropertyNames(it) { - return $Object.getOwnPropertyNames(it); -}; diff --git a/library/fn/object/get-own-property-symbols.js b/library/fn/object/get-own-property-symbols.js deleted file mode 100644 index 1fb1724750dd..000000000000 --- a/library/fn/object/get-own-property-symbols.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.symbol'); -module.exports = require('../../modules/_core').Object.getOwnPropertySymbols; diff --git a/library/fn/object/get-prototype-of.js b/library/fn/object/get-prototype-of.js deleted file mode 100644 index d562d1ba84b8..000000000000 --- a/library/fn/object/get-prototype-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.get-prototype-of'); -module.exports = require('../../modules/_core').Object.getPrototypeOf; diff --git a/library/fn/object/index.js b/library/fn/object/index.js deleted file mode 100644 index 5eed03ea43cf..000000000000 --- a/library/fn/object/index.js +++ /dev/null @@ -1,26 +0,0 @@ -require('../../modules/es.symbol'); -require('../../modules/es.object.create'); -require('../../modules/es.object.define-property'); -require('../../modules/es.object.define-properties'); -require('../../modules/es.object.get-own-property-descriptor'); -require('../../modules/es.object.get-own-property-descriptors'); -require('../../modules/es.object.get-prototype-of'); -require('../../modules/es.object.keys'); -require('../../modules/es.object.values'); -require('../../modules/es.object.entries'); -require('../../modules/es.object.get-own-property-names'); -require('../../modules/es.object.freeze'); -require('../../modules/es.object.seal'); -require('../../modules/es.object.prevent-extensions'); -require('../../modules/es.object.is-frozen'); -require('../../modules/es.object.is-sealed'); -require('../../modules/es.object.is-extensible'); -require('../../modules/es.object.assign'); -require('../../modules/es.object.is'); -require('../../modules/es.object.set-prototype-of'); -require('../../modules/es.object.to-string'); -require('../../modules/es.object.define-getter'); -require('../../modules/es.object.define-setter'); -require('../../modules/es.object.lookup-getter'); -require('../../modules/es.object.lookup-setter'); -module.exports = require('../../modules/_core').Object; diff --git a/library/fn/object/is-extensible.js b/library/fn/object/is-extensible.js deleted file mode 100644 index 53ff3bffd6e8..000000000000 --- a/library/fn/object/is-extensible.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.is-extensible'); -module.exports = require('../../modules/_core').Object.isExtensible; diff --git a/library/fn/object/is-frozen.js b/library/fn/object/is-frozen.js deleted file mode 100644 index 2a39dc13254e..000000000000 --- a/library/fn/object/is-frozen.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.is-frozen'); -module.exports = require('../../modules/_core').Object.isFrozen; diff --git a/library/fn/object/is-sealed.js b/library/fn/object/is-sealed.js deleted file mode 100644 index 9abe85f96c34..000000000000 --- a/library/fn/object/is-sealed.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.is-sealed'); -module.exports = require('../../modules/_core').Object.isSealed; diff --git a/library/fn/object/is.js b/library/fn/object/is.js deleted file mode 100644 index 5060d6f83fa6..000000000000 --- a/library/fn/object/is.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.is'); -module.exports = require('../../modules/_core').Object.is; diff --git a/library/fn/object/keys.js b/library/fn/object/keys.js deleted file mode 100644 index 01382f986fc6..000000000000 --- a/library/fn/object/keys.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.keys'); -module.exports = require('../../modules/_core').Object.keys; diff --git a/library/fn/object/lookup-getter.js b/library/fn/object/lookup-getter.js deleted file mode 100644 index 590e16e5c205..000000000000 --- a/library/fn/object/lookup-getter.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.lookup-setter'); -module.exports = require('../../modules/_core').Object.__lookupGetter__; diff --git a/library/fn/object/lookup-setter.js b/library/fn/object/lookup-setter.js deleted file mode 100644 index 8420ee28fcf8..000000000000 --- a/library/fn/object/lookup-setter.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.lookup-setter'); -module.exports = require('../../modules/_core').Object.__lookupSetter__; diff --git a/library/fn/object/prevent-extensions.js b/library/fn/object/prevent-extensions.js deleted file mode 100644 index c1de695e23e1..000000000000 --- a/library/fn/object/prevent-extensions.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.prevent-extensions'); -module.exports = require('../../modules/_core').Object.preventExtensions; diff --git a/library/fn/object/seal.js b/library/fn/object/seal.js deleted file mode 100644 index dd1715eada11..000000000000 --- a/library/fn/object/seal.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.seal'); -module.exports = require('../../modules/_core').Object.seal; diff --git a/library/fn/object/set-prototype-of.js b/library/fn/object/set-prototype-of.js deleted file mode 100644 index 1446f1314492..000000000000 --- a/library/fn/object/set-prototype-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.set-prototype-of'); -module.exports = require('../../modules/_core').Object.setPrototypeOf; diff --git a/library/fn/object/values.js b/library/fn/object/values.js deleted file mode 100644 index 2a80307721d2..000000000000 --- a/library/fn/object/values.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.values'); -module.exports = require('../../modules/_core').Object.values; diff --git a/library/fn/observable.js b/library/fn/observable.js deleted file mode 100644 index d303263c064b..000000000000 --- a/library/fn/observable.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/es.string.iterator'); -require('../modules/web.dom.iterable'); -require('../modules/es.promise'); -require('../modules/esnext.symbol.observable'); -require('../modules/esnext.observable'); -module.exports = require('../modules/_core').Observable; diff --git a/library/fn/parse-float.js b/library/fn/parse-float.js deleted file mode 100644 index fe9581fa8cbc..000000000000 --- a/library/fn/parse-float.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/es.parse-float'); -module.exports = require('../modules/_core').parseFloat; diff --git a/library/fn/parse-int.js b/library/fn/parse-int.js deleted file mode 100644 index 60a21c2b998b..000000000000 --- a/library/fn/parse-int.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/es.parse-int'); -module.exports = require('../modules/_core').parseInt; diff --git a/library/fn/promise.js b/library/fn/promise.js deleted file mode 100644 index 5b05195a5467..000000000000 --- a/library/fn/promise.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/es.string.iterator'); -require('../modules/web.dom.iterable'); -require('../modules/es.promise'); -require('../modules/esnext.promise.finally'); -require('../modules/esnext.promise.try'); -module.exports = require('../modules/_core').Promise; diff --git a/library/fn/promise/finally.js b/library/fn/promise/finally.js deleted file mode 100644 index 47d8248764a1..000000000000 --- a/library/fn/promise/finally.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; -require('../../modules/es.promise'); -require('../../modules/esnext.promise.finally'); -module.exports = require('../../modules/_core').Promise['finally']; diff --git a/library/fn/promise/index.js b/library/fn/promise/index.js deleted file mode 100644 index c51939577ec0..000000000000 --- a/library/fn/promise/index.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../../modules/es.object.to-string'); -require('../../modules/es.string.iterator'); -require('../../modules/web.dom.iterable'); -require('../../modules/es.promise'); -require('../../modules/esnext.promise.finally'); -require('../../modules/esnext.promise.try'); -module.exports = require('../../modules/_core').Promise; diff --git a/library/fn/promise/try.js b/library/fn/promise/try.js deleted file mode 100644 index 80a09b642356..000000000000 --- a/library/fn/promise/try.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.promise'); -require('../../modules/esnext.promise.try'); -var $Promise = require('../../modules/_core').Promise; -var $try = $Promise['try']; -module.exports = { 'try': function (callbackfn) { - return $try.call(typeof this === 'function' ? this : $Promise, callbackfn); -} }['try']; diff --git a/library/fn/reflect/apply.js b/library/fn/reflect/apply.js deleted file mode 100644 index 3149e72bc010..000000000000 --- a/library/fn/reflect/apply.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.apply'); -module.exports = require('../../modules/_core').Reflect.apply; diff --git a/library/fn/reflect/construct.js b/library/fn/reflect/construct.js deleted file mode 100644 index 7118bd3c839c..000000000000 --- a/library/fn/reflect/construct.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.construct'); -module.exports = require('../../modules/_core').Reflect.construct; diff --git a/library/fn/reflect/define-metadata.js b/library/fn/reflect/define-metadata.js deleted file mode 100644 index ea8383ebe7b4..000000000000 --- a/library/fn/reflect/define-metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.define-metadata'); -module.exports = require('../../modules/_core').Reflect.defineMetadata; diff --git a/library/fn/reflect/define-property.js b/library/fn/reflect/define-property.js deleted file mode 100644 index 1ea321ddc77f..000000000000 --- a/library/fn/reflect/define-property.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.define-property'); -module.exports = require('../../modules/_core').Reflect.defineProperty; diff --git a/library/fn/reflect/delete-metadata.js b/library/fn/reflect/delete-metadata.js deleted file mode 100644 index 7a6810767619..000000000000 --- a/library/fn/reflect/delete-metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.delete-metadata'); -module.exports = require('../../modules/_core').Reflect.deleteMetadata; diff --git a/library/fn/reflect/delete-property.js b/library/fn/reflect/delete-property.js deleted file mode 100644 index ffed10d13f45..000000000000 --- a/library/fn/reflect/delete-property.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.delete-property'); -module.exports = require('../../modules/_core').Reflect.deleteProperty; diff --git a/library/fn/reflect/get-metadata-keys.js b/library/fn/reflect/get-metadata-keys.js deleted file mode 100644 index 921223de9639..000000000000 --- a/library/fn/reflect/get-metadata-keys.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.get-metadata-keys'); -module.exports = require('../../modules/_core').Reflect.getMetadataKeys; diff --git a/library/fn/reflect/get-metadata.js b/library/fn/reflect/get-metadata.js deleted file mode 100644 index a0bece1da1b7..000000000000 --- a/library/fn/reflect/get-metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.get-metadata'); -module.exports = require('../../modules/_core').Reflect.getMetadata; diff --git a/library/fn/reflect/get-own-metadata-keys.js b/library/fn/reflect/get-own-metadata-keys.js deleted file mode 100644 index 54792da3824c..000000000000 --- a/library/fn/reflect/get-own-metadata-keys.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.get-own-metadata-keys'); -module.exports = require('../../modules/_core').Reflect.getOwnMetadataKeys; diff --git a/library/fn/reflect/get-own-metadata.js b/library/fn/reflect/get-own-metadata.js deleted file mode 100644 index fafd82aef5f9..000000000000 --- a/library/fn/reflect/get-own-metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.get-own-metadata'); -module.exports = require('../../modules/_core').Reflect.getOwnMetadata; diff --git a/library/fn/reflect/get-own-property-descriptor.js b/library/fn/reflect/get-own-property-descriptor.js deleted file mode 100644 index 8a3158cff9db..000000000000 --- a/library/fn/reflect/get-own-property-descriptor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.get-own-property-descriptor'); -module.exports = require('../../modules/_core').Reflect.getOwnPropertyDescriptor; diff --git a/library/fn/reflect/get-prototype-of.js b/library/fn/reflect/get-prototype-of.js deleted file mode 100644 index 5ce112dd59d7..000000000000 --- a/library/fn/reflect/get-prototype-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.get-prototype-of'); -module.exports = require('../../modules/_core').Reflect.getPrototypeOf; diff --git a/library/fn/reflect/get.js b/library/fn/reflect/get.js deleted file mode 100644 index 8f6083373aa2..000000000000 --- a/library/fn/reflect/get.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.get'); -module.exports = require('../../modules/_core').Reflect.get; diff --git a/library/fn/reflect/has-metadata.js b/library/fn/reflect/has-metadata.js deleted file mode 100644 index defb650ec5ea..000000000000 --- a/library/fn/reflect/has-metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.has-metadata'); -module.exports = require('../../modules/_core').Reflect.hasMetadata; diff --git a/library/fn/reflect/has-own-metadata.js b/library/fn/reflect/has-own-metadata.js deleted file mode 100644 index dd210838430e..000000000000 --- a/library/fn/reflect/has-own-metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.has-own-metadata'); -module.exports = require('../../modules/_core').Reflect.hasOwnMetadata; diff --git a/library/fn/reflect/has.js b/library/fn/reflect/has.js deleted file mode 100644 index 0fea99a106e5..000000000000 --- a/library/fn/reflect/has.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.has'); -module.exports = require('../../modules/_core').Reflect.has; diff --git a/library/fn/reflect/index.js b/library/fn/reflect/index.js deleted file mode 100644 index ca5869ee9911..000000000000 --- a/library/fn/reflect/index.js +++ /dev/null @@ -1,23 +0,0 @@ -require('../../modules/es.reflect.apply'); -require('../../modules/es.reflect.construct'); -require('../../modules/es.reflect.define-property'); -require('../../modules/es.reflect.delete-property'); -require('../../modules/es.reflect.get'); -require('../../modules/es.reflect.get-own-property-descriptor'); -require('../../modules/es.reflect.get-prototype-of'); -require('../../modules/es.reflect.has'); -require('../../modules/es.reflect.is-extensible'); -require('../../modules/es.reflect.own-keys'); -require('../../modules/es.reflect.prevent-extensions'); -require('../../modules/es.reflect.set'); -require('../../modules/es.reflect.set-prototype-of'); -require('../../modules/esnext.reflect.define-metadata'); -require('../../modules/esnext.reflect.delete-metadata'); -require('../../modules/esnext.reflect.get-metadata'); -require('../../modules/esnext.reflect.get-metadata-keys'); -require('../../modules/esnext.reflect.get-own-metadata'); -require('../../modules/esnext.reflect.get-own-metadata-keys'); -require('../../modules/esnext.reflect.has-metadata'); -require('../../modules/esnext.reflect.has-own-metadata'); -require('../../modules/esnext.reflect.metadata'); -module.exports = require('../../modules/_core').Reflect; diff --git a/library/fn/reflect/is-extensible.js b/library/fn/reflect/is-extensible.js deleted file mode 100644 index 982214c1a767..000000000000 --- a/library/fn/reflect/is-extensible.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.is-extensible'); -module.exports = require('../../modules/_core').Reflect.isExtensible; diff --git a/library/fn/reflect/metadata.js b/library/fn/reflect/metadata.js deleted file mode 100644 index c76cc61c08fa..000000000000 --- a/library/fn/reflect/metadata.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.reflect.metadata'); -module.exports = require('../../modules/_core').Reflect.metadata; diff --git a/library/fn/reflect/own-keys.js b/library/fn/reflect/own-keys.js deleted file mode 100644 index c1390c998a30..000000000000 --- a/library/fn/reflect/own-keys.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.own-keys'); -module.exports = require('../../modules/_core').Reflect.ownKeys; diff --git a/library/fn/reflect/prevent-extensions.js b/library/fn/reflect/prevent-extensions.js deleted file mode 100644 index 135970cb8ca2..000000000000 --- a/library/fn/reflect/prevent-extensions.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.prevent-extensions'); -module.exports = require('../../modules/_core').Reflect.preventExtensions; diff --git a/library/fn/reflect/set-prototype-of.js b/library/fn/reflect/set-prototype-of.js deleted file mode 100644 index 95216072594a..000000000000 --- a/library/fn/reflect/set-prototype-of.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.set-prototype-of'); -module.exports = require('../../modules/_core').Reflect.setPrototypeOf; diff --git a/library/fn/reflect/set.js b/library/fn/reflect/set.js deleted file mode 100644 index 4e82d0eb4173..000000000000 --- a/library/fn/reflect/set.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.reflect.set'); -module.exports = require('../../modules/_core').Reflect.set; diff --git a/library/fn/regexp/constructor.js b/library/fn/regexp/constructor.js deleted file mode 100644 index 26c818575197..000000000000 --- a/library/fn/regexp/constructor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.regexp.constructor'); -module.exports = RegExp; diff --git a/library/fn/regexp/flags.js b/library/fn/regexp/flags.js deleted file mode 100644 index 3f2b1e7f8389..000000000000 --- a/library/fn/regexp/flags.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.regexp.flags'); -var flags = require('../../modules/_flags'); -module.exports = function (it) { - return flags.call(it); -}; diff --git a/library/fn/regexp/index.js b/library/fn/regexp/index.js deleted file mode 100644 index 7b611a77f894..000000000000 --- a/library/fn/regexp/index.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../../modules/es.regexp.constructor'); -require('../../modules/es.regexp.to-string'); -require('../../modules/es.regexp.flags'); -require('../../modules/es.regexp.match'); -require('../../modules/es.regexp.replace'); -require('../../modules/es.regexp.search'); -require('../../modules/es.regexp.split'); diff --git a/library/fn/regexp/match.js b/library/fn/regexp/match.js deleted file mode 100644 index 52a1316ed89b..000000000000 --- a/library/fn/regexp/match.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.regexp.match'); -var MATCH = require('../../modules/_wks')('match'); -module.exports = function (it, str) { - return RegExp.prototype[MATCH].call(it, str); -}; diff --git a/library/fn/regexp/replace.js b/library/fn/regexp/replace.js deleted file mode 100644 index d9571fee9945..000000000000 --- a/library/fn/regexp/replace.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.regexp.replace'); -var REPLACE = require('../../modules/_wks')('replace'); -module.exports = function (it, str, replacer) { - return RegExp.prototype[REPLACE].call(it, str, replacer); -}; diff --git a/library/fn/regexp/search.js b/library/fn/regexp/search.js deleted file mode 100644 index 62eac0fd80da..000000000000 --- a/library/fn/regexp/search.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.regexp.search'); -var SEARCH = require('../../modules/_wks')('search'); -module.exports = function (it, str) { - return RegExp.prototype[SEARCH].call(it, str); -}; diff --git a/library/fn/regexp/split.js b/library/fn/regexp/split.js deleted file mode 100644 index 689fd64fc910..000000000000 --- a/library/fn/regexp/split.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.regexp.split'); -var SPLIT = require('../../modules/_wks')('split'); -module.exports = function (it, str, limit) { - return RegExp.prototype[SPLIT].call(it, str, limit); -}; diff --git a/library/fn/regexp/to-string.js b/library/fn/regexp/to-string.js deleted file mode 100644 index e583262849c6..000000000000 --- a/library/fn/regexp/to-string.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; -require('../../modules/es.regexp.to-string'); -module.exports = function toString(it) { - return RegExp.prototype.toString.call(it); -}; diff --git a/library/fn/set-immediate.js b/library/fn/set-immediate.js deleted file mode 100644 index 07a8dac8eb15..000000000000 --- a/library/fn/set-immediate.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.immediate'); -module.exports = require('../modules/_core').setImmediate; diff --git a/library/fn/set-interval.js b/library/fn/set-interval.js deleted file mode 100644 index f41b45cbf9d9..000000000000 --- a/library/fn/set-interval.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.timers'); -module.exports = require('../modules/_core').setInterval; diff --git a/library/fn/set-timeout.js b/library/fn/set-timeout.js deleted file mode 100644 index b94a15481d7c..000000000000 --- a/library/fn/set-timeout.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.timers'); -module.exports = require('../modules/_core').setTimeout; diff --git a/library/fn/set/from.js b/library/fn/set/from.js deleted file mode 100644 index edb4b3c1421f..000000000000 --- a/library/fn/set/from.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.set'); -require('../../modules/esnext.set.from'); -var $Set = require('../../modules/_core').Set; -var $from = $Set.from; -module.exports = function from(source, mapFn, thisArg) { - return $from.call(typeof this === 'function' ? this : $Set, source, mapFn, thisArg); -}; diff --git a/library/fn/set/index.js b/library/fn/set/index.js deleted file mode 100644 index 499f09c55116..000000000000 --- a/library/fn/set/index.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../../modules/es.object.to-string'); -require('../../modules/es.string.iterator'); -require('../../modules/web.dom.iterable'); -require('../../modules/es.set'); -require('../../modules/esnext.set.of'); -require('../../modules/esnext.set.from'); -module.exports = require('../../modules/_core').Set; diff --git a/library/fn/set/of.js b/library/fn/set/of.js deleted file mode 100644 index 99544d3ff679..000000000000 --- a/library/fn/set/of.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.set'); -require('../../modules/esnext.set.of'); -var $Set = require('../../modules/_core').Set; -var $of = $Set.of; -module.exports = function of() { - return $of.apply(typeof this === 'function' ? this : $Set, arguments); -}; diff --git a/library/fn/string/anchor.js b/library/fn/string/anchor.js deleted file mode 100644 index af553b1fa37c..000000000000 --- a/library/fn/string/anchor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.anchor'); -module.exports = require('../../modules/_core').String.anchor; diff --git a/library/fn/string/at.js b/library/fn/string/at.js deleted file mode 100644 index 89f91f152859..000000000000 --- a/library/fn/string/at.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.string.at'); -module.exports = require('../../modules/_core').String.at; diff --git a/library/fn/string/big.js b/library/fn/string/big.js deleted file mode 100644 index f7bc60a9c843..000000000000 --- a/library/fn/string/big.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.big'); -module.exports = require('../../modules/_core').String.big; diff --git a/library/fn/string/blink.js b/library/fn/string/blink.js deleted file mode 100644 index ec4bcb39eee9..000000000000 --- a/library/fn/string/blink.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.blink'); -module.exports = require('../../modules/_core').String.blink; diff --git a/library/fn/string/bold.js b/library/fn/string/bold.js deleted file mode 100644 index 0045fcdd4963..000000000000 --- a/library/fn/string/bold.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.bold'); -module.exports = require('../../modules/_core').String.bold; diff --git a/library/fn/string/code-point-at.js b/library/fn/string/code-point-at.js deleted file mode 100644 index dbae472696fe..000000000000 --- a/library/fn/string/code-point-at.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.code-point-at'); -module.exports = require('../../modules/_core').String.codePointAt; diff --git a/library/fn/string/ends-with.js b/library/fn/string/ends-with.js deleted file mode 100644 index b7f35a265727..000000000000 --- a/library/fn/string/ends-with.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.ends-with'); -module.exports = require('../../modules/_core').String.endsWith; diff --git a/library/fn/string/fixed.js b/library/fn/string/fixed.js deleted file mode 100644 index 6e3b1bfd1f61..000000000000 --- a/library/fn/string/fixed.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.fixed'); -module.exports = require('../../modules/_core').String.fixed; diff --git a/library/fn/string/fontcolor.js b/library/fn/string/fontcolor.js deleted file mode 100644 index f6a478e93c11..000000000000 --- a/library/fn/string/fontcolor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.fontcolor'); -module.exports = require('../../modules/_core').String.fontcolor; diff --git a/library/fn/string/fontsize.js b/library/fn/string/fontsize.js deleted file mode 100644 index b4ff89d5ac57..000000000000 --- a/library/fn/string/fontsize.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.fontsize'); -module.exports = require('../../modules/_core').String.fontsize; diff --git a/library/fn/string/from-code-point.js b/library/fn/string/from-code-point.js deleted file mode 100644 index 3019085893c2..000000000000 --- a/library/fn/string/from-code-point.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.from-code-point'); -module.exports = require('../../modules/_core').String.fromCodePoint; diff --git a/library/fn/string/includes.js b/library/fn/string/includes.js deleted file mode 100644 index c7b9ef857a84..000000000000 --- a/library/fn/string/includes.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.includes'); -module.exports = require('../../modules/_core').String.includes; diff --git a/library/fn/string/index.js b/library/fn/string/index.js deleted file mode 100644 index 0b953523d086..000000000000 --- a/library/fn/string/index.js +++ /dev/null @@ -1,33 +0,0 @@ -require('../../modules/es.string.from-code-point'); -require('../../modules/es.string.raw'); -require('../../modules/es.string.trim'); -require('../../modules/es.string.iterator'); -require('../../modules/es.string.code-point-at'); -require('../../modules/es.string.ends-with'); -require('../../modules/es.string.includes'); -require('../../modules/es.string.repeat'); -require('../../modules/es.string.starts-with'); -require('../../modules/es.string.pad-start'); -require('../../modules/es.string.pad-end'); -require('../../modules/es.regexp.match'); -require('../../modules/es.regexp.replace'); -require('../../modules/es.regexp.search'); -require('../../modules/es.regexp.split'); -require('../../modules/es.string.anchor'); -require('../../modules/es.string.big'); -require('../../modules/es.string.blink'); -require('../../modules/es.string.bold'); -require('../../modules/es.string.fixed'); -require('../../modules/es.string.fontcolor'); -require('../../modules/es.string.fontsize'); -require('../../modules/es.string.italics'); -require('../../modules/es.string.link'); -require('../../modules/es.string.small'); -require('../../modules/es.string.strike'); -require('../../modules/es.string.sub'); -require('../../modules/es.string.sup'); -require('../../modules/esnext.string.at'); -require('../../modules/esnext.string.trim-left'); -require('../../modules/esnext.string.trim-right'); -require('../../modules/esnext.string.match-all'); -module.exports = require('../../modules/_core').String; diff --git a/library/fn/string/italics.js b/library/fn/string/italics.js deleted file mode 100644 index d7ff7bbc9b6c..000000000000 --- a/library/fn/string/italics.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.italics'); -module.exports = require('../../modules/_core').String.italics; diff --git a/library/fn/string/iterator.js b/library/fn/string/iterator.js deleted file mode 100644 index a87b4edbdc43..000000000000 --- a/library/fn/string/iterator.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.string.iterator'); -var get = require('../../modules/_iterators').String; -module.exports = function (it) { - return get.call(it); -}; diff --git a/library/fn/string/link.js b/library/fn/string/link.js deleted file mode 100644 index 450ca7fc8c07..000000000000 --- a/library/fn/string/link.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.link'); -module.exports = require('../../modules/_core').String.link; diff --git a/library/fn/string/match-all.js b/library/fn/string/match-all.js deleted file mode 100644 index 806d7bd47c38..000000000000 --- a/library/fn/string/match-all.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.string.match-all'); -module.exports = require('../../modules/_core').String.matchAll; diff --git a/library/fn/string/pad-end.js b/library/fn/string/pad-end.js deleted file mode 100644 index 3a62f7797825..000000000000 --- a/library/fn/string/pad-end.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.pad-end'); -module.exports = require('../../modules/_core').String.padEnd; diff --git a/library/fn/string/pad-start.js b/library/fn/string/pad-start.js deleted file mode 100644 index 505d1fa15f77..000000000000 --- a/library/fn/string/pad-start.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.pad-start'); -module.exports = require('../../modules/_core').String.padStart; diff --git a/library/fn/string/raw.js b/library/fn/string/raw.js deleted file mode 100644 index 826ee0d143bc..000000000000 --- a/library/fn/string/raw.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.raw'); -module.exports = require('../../modules/_core').String.raw; diff --git a/library/fn/string/repeat.js b/library/fn/string/repeat.js deleted file mode 100644 index b7ac9890128b..000000000000 --- a/library/fn/string/repeat.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.repeat'); -module.exports = require('../../modules/_core').String.repeat; diff --git a/library/fn/string/small.js b/library/fn/string/small.js deleted file mode 100644 index 4fe2251c0e18..000000000000 --- a/library/fn/string/small.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.small'); -module.exports = require('../../modules/_core').String.small; diff --git a/library/fn/string/starts-with.js b/library/fn/string/starts-with.js deleted file mode 100644 index f3e4c6cb1655..000000000000 --- a/library/fn/string/starts-with.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.starts-with'); -module.exports = require('../../modules/_core').String.startsWith; diff --git a/library/fn/string/strike.js b/library/fn/string/strike.js deleted file mode 100644 index f5e761ed74e2..000000000000 --- a/library/fn/string/strike.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.strike'); -module.exports = require('../../modules/_core').String.strike; diff --git a/library/fn/string/sub.js b/library/fn/string/sub.js deleted file mode 100644 index 48107ea81817..000000000000 --- a/library/fn/string/sub.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.sub'); -module.exports = require('../../modules/_core').String.sub; diff --git a/library/fn/string/sup.js b/library/fn/string/sup.js deleted file mode 100644 index c9b93513b8ba..000000000000 --- a/library/fn/string/sup.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.sup'); -module.exports = require('../../modules/_core').String.sup; diff --git a/library/fn/string/trim-end.js b/library/fn/string/trim-end.js deleted file mode 100644 index a2807cbf5e09..000000000000 --- a/library/fn/string/trim-end.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.string.trim-right'); -module.exports = require('../../modules/_core').String.trimRight; diff --git a/library/fn/string/trim-left.js b/library/fn/string/trim-left.js deleted file mode 100644 index a7a11cd127b5..000000000000 --- a/library/fn/string/trim-left.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.string.trim-left'); -module.exports = require('../../modules/_core').String.trimLeft; diff --git a/library/fn/string/trim-right.js b/library/fn/string/trim-right.js deleted file mode 100644 index a2807cbf5e09..000000000000 --- a/library/fn/string/trim-right.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.string.trim-right'); -module.exports = require('../../modules/_core').String.trimRight; diff --git a/library/fn/string/trim-start.js b/library/fn/string/trim-start.js deleted file mode 100644 index a7a11cd127b5..000000000000 --- a/library/fn/string/trim-start.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.string.trim-left'); -module.exports = require('../../modules/_core').String.trimLeft; diff --git a/library/fn/string/trim.js b/library/fn/string/trim.js deleted file mode 100644 index 37dfebca437a..000000000000 --- a/library/fn/string/trim.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.string.trim'); -module.exports = require('../../modules/_core').String.trim; diff --git a/library/fn/string/virtual/anchor.js b/library/fn/string/virtual/anchor.js deleted file mode 100644 index b6e1dddb91b1..000000000000 --- a/library/fn/string/virtual/anchor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.anchor'); -module.exports = require('../../../modules/_entry-virtual')('String').anchor; diff --git a/library/fn/string/virtual/at.js b/library/fn/string/virtual/at.js deleted file mode 100644 index db9e4d072fc7..000000000000 --- a/library/fn/string/virtual/at.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.string.at'); -module.exports = require('../../../modules/_entry-virtual')('String').at; diff --git a/library/fn/string/virtual/big.js b/library/fn/string/virtual/big.js deleted file mode 100644 index 6ae75c82ebd0..000000000000 --- a/library/fn/string/virtual/big.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.big'); -module.exports = require('../../../modules/_entry-virtual')('String').big; diff --git a/library/fn/string/virtual/blink.js b/library/fn/string/virtual/blink.js deleted file mode 100644 index 130842fa05be..000000000000 --- a/library/fn/string/virtual/blink.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.blink'); -module.exports = require('../../../modules/_entry-virtual')('String').blink; diff --git a/library/fn/string/virtual/bold.js b/library/fn/string/virtual/bold.js deleted file mode 100644 index 48972a0332fc..000000000000 --- a/library/fn/string/virtual/bold.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.bold'); -module.exports = require('../../../modules/_entry-virtual')('String').bold; diff --git a/library/fn/string/virtual/code-point-at.js b/library/fn/string/virtual/code-point-at.js deleted file mode 100644 index 4f7e5407936e..000000000000 --- a/library/fn/string/virtual/code-point-at.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.code-point-at'); -module.exports = require('../../../modules/_entry-virtual')('String').codePointAt; diff --git a/library/fn/string/virtual/ends-with.js b/library/fn/string/virtual/ends-with.js deleted file mode 100644 index 1bcd579ad1cf..000000000000 --- a/library/fn/string/virtual/ends-with.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.ends-with'); -module.exports = require('../../../modules/_entry-virtual')('String').endsWith; diff --git a/library/fn/string/virtual/fixed.js b/library/fn/string/virtual/fixed.js deleted file mode 100644 index abe84df16633..000000000000 --- a/library/fn/string/virtual/fixed.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.fixed'); -module.exports = require('../../../modules/_entry-virtual')('String').fixed; diff --git a/library/fn/string/virtual/fontcolor.js b/library/fn/string/virtual/fontcolor.js deleted file mode 100644 index 4bb92249b2f7..000000000000 --- a/library/fn/string/virtual/fontcolor.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.fontcolor'); -module.exports = require('../../../modules/_entry-virtual')('String').fontcolor; diff --git a/library/fn/string/virtual/fontsize.js b/library/fn/string/virtual/fontsize.js deleted file mode 100644 index b3cd57ede4a6..000000000000 --- a/library/fn/string/virtual/fontsize.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.fontsize'); -module.exports = require('../../../modules/_entry-virtual')('String').fontsize; diff --git a/library/fn/string/virtual/includes.js b/library/fn/string/virtual/includes.js deleted file mode 100644 index 7891f4332158..000000000000 --- a/library/fn/string/virtual/includes.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.includes'); -module.exports = require('../../../modules/_entry-virtual')('String').includes; diff --git a/library/fn/string/virtual/index.js b/library/fn/string/virtual/index.js deleted file mode 100644 index 4fe32b274b0b..000000000000 --- a/library/fn/string/virtual/index.js +++ /dev/null @@ -1,31 +0,0 @@ -require('../../../modules/es.string.trim'); -require('../../../modules/es.string.iterator'); -require('../../../modules/es.string.code-point-at'); -require('../../../modules/es.string.ends-with'); -require('../../../modules/es.string.includes'); -require('../../../modules/es.string.repeat'); -require('../../../modules/es.string.starts-with'); -require('../../../modules/es.string.pad-start'); -require('../../../modules/es.string.pad-end'); -require('../../../modules/es.regexp.match'); -require('../../../modules/es.regexp.replace'); -require('../../../modules/es.regexp.search'); -require('../../../modules/es.regexp.split'); -require('../../../modules/es.string.anchor'); -require('../../../modules/es.string.big'); -require('../../../modules/es.string.blink'); -require('../../../modules/es.string.bold'); -require('../../../modules/es.string.fixed'); -require('../../../modules/es.string.fontcolor'); -require('../../../modules/es.string.fontsize'); -require('../../../modules/es.string.italics'); -require('../../../modules/es.string.link'); -require('../../../modules/es.string.small'); -require('../../../modules/es.string.strike'); -require('../../../modules/es.string.sub'); -require('../../../modules/es.string.sup'); -require('../../../modules/esnext.string.at'); -require('../../../modules/esnext.string.trim-left'); -require('../../../modules/esnext.string.trim-right'); -require('../../../modules/esnext.string.match-all'); -module.exports = require('../../../modules/_entry-virtual')('String'); diff --git a/library/fn/string/virtual/italics.js b/library/fn/string/virtual/italics.js deleted file mode 100644 index d82031a25cbb..000000000000 --- a/library/fn/string/virtual/italics.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.italics'); -module.exports = require('../../../modules/_entry-virtual')('String').italics; diff --git a/library/fn/string/virtual/iterator.js b/library/fn/string/virtual/iterator.js deleted file mode 100644 index 03f0f03fc65e..000000000000 --- a/library/fn/string/virtual/iterator.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.iterator'); -module.exports = require('../../../modules/_iterators').String; diff --git a/library/fn/string/virtual/link.js b/library/fn/string/virtual/link.js deleted file mode 100644 index 3298ec0b1146..000000000000 --- a/library/fn/string/virtual/link.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.link'); -module.exports = require('../../../modules/_entry-virtual')('String').link; diff --git a/library/fn/string/virtual/match-all.js b/library/fn/string/virtual/match-all.js deleted file mode 100644 index 01c88ddba0c8..000000000000 --- a/library/fn/string/virtual/match-all.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.string.match-all'); -module.exports = require('../../../modules/_entry-virtual')('String').matchAll; diff --git a/library/fn/string/virtual/pad-end.js b/library/fn/string/virtual/pad-end.js deleted file mode 100644 index f94b4162f425..000000000000 --- a/library/fn/string/virtual/pad-end.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.pad-end'); -module.exports = require('../../../modules/_entry-virtual')('String').padEnd; diff --git a/library/fn/string/virtual/pad-start.js b/library/fn/string/virtual/pad-start.js deleted file mode 100644 index e17417ca8ecf..000000000000 --- a/library/fn/string/virtual/pad-start.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.pad-start'); -module.exports = require('../../../modules/_entry-virtual')('String').padStart; diff --git a/library/fn/string/virtual/repeat.js b/library/fn/string/virtual/repeat.js deleted file mode 100644 index d8008e4d17a9..000000000000 --- a/library/fn/string/virtual/repeat.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.repeat'); -module.exports = require('../../../modules/_entry-virtual')('String').repeat; diff --git a/library/fn/string/virtual/small.js b/library/fn/string/virtual/small.js deleted file mode 100644 index a1815e12e728..000000000000 --- a/library/fn/string/virtual/small.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.small'); -module.exports = require('../../../modules/_entry-virtual')('String').small; diff --git a/library/fn/string/virtual/starts-with.js b/library/fn/string/virtual/starts-with.js deleted file mode 100644 index dc17f219446b..000000000000 --- a/library/fn/string/virtual/starts-with.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.starts-with'); -module.exports = require('../../../modules/_entry-virtual')('String').startsWith; diff --git a/library/fn/string/virtual/strike.js b/library/fn/string/virtual/strike.js deleted file mode 100644 index 5e94a6adc685..000000000000 --- a/library/fn/string/virtual/strike.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.strike'); -module.exports = require('../../../modules/_entry-virtual')('String').strike; diff --git a/library/fn/string/virtual/sub.js b/library/fn/string/virtual/sub.js deleted file mode 100644 index a6f16e72b2d0..000000000000 --- a/library/fn/string/virtual/sub.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.sub'); -module.exports = require('../../../modules/_entry-virtual')('String').sub; diff --git a/library/fn/string/virtual/sup.js b/library/fn/string/virtual/sup.js deleted file mode 100644 index 79a57faeb623..000000000000 --- a/library/fn/string/virtual/sup.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.sup'); -module.exports = require('../../../modules/_entry-virtual')('String').sup; diff --git a/library/fn/string/virtual/trim-end.js b/library/fn/string/virtual/trim-end.js deleted file mode 100644 index a7e015926f7b..000000000000 --- a/library/fn/string/virtual/trim-end.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.string.trim-right'); -module.exports = require('../../../modules/_entry-virtual')('String').trimRight; diff --git a/library/fn/string/virtual/trim-left.js b/library/fn/string/virtual/trim-left.js deleted file mode 100644 index 0b8f8f18d049..000000000000 --- a/library/fn/string/virtual/trim-left.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.string.trim-left'); -module.exports = require('../../../modules/_entry-virtual')('String').trimLeft; diff --git a/library/fn/string/virtual/trim-right.js b/library/fn/string/virtual/trim-right.js deleted file mode 100644 index a7e015926f7b..000000000000 --- a/library/fn/string/virtual/trim-right.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.string.trim-right'); -module.exports = require('../../../modules/_entry-virtual')('String').trimRight; diff --git a/library/fn/string/virtual/trim-start.js b/library/fn/string/virtual/trim-start.js deleted file mode 100644 index 0b8f8f18d049..000000000000 --- a/library/fn/string/virtual/trim-start.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/esnext.string.trim-left'); -module.exports = require('../../../modules/_entry-virtual')('String').trimLeft; diff --git a/library/fn/string/virtual/trim.js b/library/fn/string/virtual/trim.js deleted file mode 100644 index 6aea06752ac9..000000000000 --- a/library/fn/string/virtual/trim.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../../modules/es.string.trim'); -module.exports = require('../../../modules/_entry-virtual')('String').trim; diff --git a/library/fn/symbol/async-iterator.js b/library/fn/symbol/async-iterator.js deleted file mode 100644 index 715213cc97b4..000000000000 --- a/library/fn/symbol/async-iterator.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.symbol.async-iterator'); -module.exports = require('../../modules/_wks-ext').f('asyncIterator'); diff --git a/library/fn/symbol/for.js b/library/fn/symbol/for.js deleted file mode 100644 index b75fefe3b659..000000000000 --- a/library/fn/symbol/for.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.symbol'); -module.exports = require('../../modules/_core').Symbol['for']; diff --git a/library/fn/symbol/has-instance.js b/library/fn/symbol/has-instance.js deleted file mode 100644 index 04c077d3c678..000000000000 --- a/library/fn/symbol/has-instance.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.function.has-instance'); -module.exports = require('../../modules/_wks-ext').f('hasInstance'); diff --git a/library/fn/symbol/index.js b/library/fn/symbol/index.js deleted file mode 100644 index d4e7c77f89f8..000000000000 --- a/library/fn/symbol/index.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../../modules/es.symbol'); -require('../../modules/es.object.to-string'); -require('../../modules/esnext.symbol.async-iterator'); -require('../../modules/esnext.symbol.observable'); -module.exports = require('../../modules/_core').Symbol; diff --git a/library/fn/symbol/is-concat-spreadable.js b/library/fn/symbol/is-concat-spreadable.js deleted file mode 100644 index 10dcb64a175c..000000000000 --- a/library/fn/symbol/is-concat-spreadable.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../modules/_wks-ext').f('isConcatSpreadable'); diff --git a/library/fn/symbol/iterator.js b/library/fn/symbol/iterator.js deleted file mode 100644 index 14c7cf8639eb..000000000000 --- a/library/fn/symbol/iterator.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../../modules/es.string.iterator'); -require('../../modules/web.dom.iterable'); -module.exports = require('../../modules/_wks-ext').f('iterator'); diff --git a/library/fn/symbol/key-for.js b/library/fn/symbol/key-for.js deleted file mode 100644 index 0fdedf250d7b..000000000000 --- a/library/fn/symbol/key-for.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.symbol'); -module.exports = require('../../modules/_core').Symbol.keyFor; diff --git a/library/fn/symbol/match.js b/library/fn/symbol/match.js deleted file mode 100644 index 8c58483402e5..000000000000 --- a/library/fn/symbol/match.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.regexp.match'); -module.exports = require('../../modules/_wks-ext').f('match'); diff --git a/library/fn/symbol/observable.js b/library/fn/symbol/observable.js deleted file mode 100644 index b0f652528c68..000000000000 --- a/library/fn/symbol/observable.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/esnext.symbol.observable'); -module.exports = require('../../modules/_wks-ext').f('observable'); diff --git a/library/fn/symbol/replace.js b/library/fn/symbol/replace.js deleted file mode 100644 index 182d522bf586..000000000000 --- a/library/fn/symbol/replace.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.regexp.replace'); -module.exports = require('../../modules/_wks-ext').f('replace'); diff --git a/library/fn/symbol/search.js b/library/fn/symbol/search.js deleted file mode 100644 index c42b00847ce5..000000000000 --- a/library/fn/symbol/search.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.regexp.search'); -module.exports = require('../../modules/_wks-ext').f('search'); diff --git a/library/fn/symbol/species.js b/library/fn/symbol/species.js deleted file mode 100644 index 4c5bbefe8918..000000000000 --- a/library/fn/symbol/species.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../modules/_wks-ext').f('species'); diff --git a/library/fn/symbol/split.js b/library/fn/symbol/split.js deleted file mode 100644 index 440fa8fd0859..000000000000 --- a/library/fn/symbol/split.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.regexp.split'); -module.exports = require('../../modules/_wks-ext').f('split'); diff --git a/library/fn/symbol/to-primitive.js b/library/fn/symbol/to-primitive.js deleted file mode 100644 index 3a8a2ea5f268..000000000000 --- a/library/fn/symbol/to-primitive.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../modules/_wks-ext').f('toPrimitive'); diff --git a/library/fn/symbol/to-string-tag.js b/library/fn/symbol/to-string-tag.js deleted file mode 100644 index 9c0284e4ffa7..000000000000 --- a/library/fn/symbol/to-string-tag.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.object.to-string'); -module.exports = require('../../modules/_wks-ext').f('toStringTag'); diff --git a/library/fn/symbol/unscopables.js b/library/fn/symbol/unscopables.js deleted file mode 100644 index 5a0a8232887f..000000000000 --- a/library/fn/symbol/unscopables.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../modules/_wks-ext').f('unscopables'); diff --git a/library/fn/typed/array-buffer.js b/library/fn/typed/array-buffer.js deleted file mode 100644 index c84f7e4d1731..000000000000 --- a/library/fn/typed/array-buffer.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../../modules/es.typed.array-buffer'); -require('../../modules/es.object.to-string'); -module.exports = require('../../modules/_core').ArrayBuffer; diff --git a/library/fn/typed/data-view.js b/library/fn/typed/data-view.js deleted file mode 100644 index 16cb4e6b02f5..000000000000 --- a/library/fn/typed/data-view.js +++ /dev/null @@ -1,3 +0,0 @@ -require('../../modules/es.typed.data-view'); -require('../../modules/es.object.to-string'); -module.exports = require('../../modules/_core').DataView; diff --git a/library/fn/typed/float32-array.js b/library/fn/typed/float32-array.js deleted file mode 100644 index ca5983a56fae..000000000000 --- a/library/fn/typed/float32-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.float32-array'); -module.exports = require('../../modules/_core').Float32Array; diff --git a/library/fn/typed/float64-array.js b/library/fn/typed/float64-array.js deleted file mode 100644 index 00421a551b78..000000000000 --- a/library/fn/typed/float64-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.float64-array'); -module.exports = require('../../modules/_core').Float64Array; diff --git a/library/fn/typed/index.js b/library/fn/typed/index.js deleted file mode 100644 index 5d8232f3cde9..000000000000 --- a/library/fn/typed/index.js +++ /dev/null @@ -1,13 +0,0 @@ -require('../../modules/es.typed.array-buffer'); -require('../../modules/es.typed.data-view'); -require('../../modules/es.typed.int8-array'); -require('../../modules/es.typed.uint8-array'); -require('../../modules/es.typed.uint8-clamped-array'); -require('../../modules/es.typed.int16-array'); -require('../../modules/es.typed.uint16-array'); -require('../../modules/es.typed.int32-array'); -require('../../modules/es.typed.uint32-array'); -require('../../modules/es.typed.float32-array'); -require('../../modules/es.typed.float64-array'); -require('../../modules/es.object.to-string'); -module.exports = require('../../modules/_core'); diff --git a/library/fn/typed/int16-array.js b/library/fn/typed/int16-array.js deleted file mode 100644 index f296e21e96a2..000000000000 --- a/library/fn/typed/int16-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.int16-array'); -module.exports = require('../../modules/_core').Int16Array; diff --git a/library/fn/typed/int32-array.js b/library/fn/typed/int32-array.js deleted file mode 100644 index d57faf16384b..000000000000 --- a/library/fn/typed/int32-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.int32-array'); -module.exports = require('../../modules/_core').Int32Array; diff --git a/library/fn/typed/int8-array.js b/library/fn/typed/int8-array.js deleted file mode 100644 index 83d7f9c11f8e..000000000000 --- a/library/fn/typed/int8-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.int8-array'); -module.exports = require('../../modules/_core').Int8Array; diff --git a/library/fn/typed/uint16-array.js b/library/fn/typed/uint16-array.js deleted file mode 100644 index 8ac7cb0dec16..000000000000 --- a/library/fn/typed/uint16-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.uint16-array'); -module.exports = require('../../modules/_core').Uint16Array; diff --git a/library/fn/typed/uint32-array.js b/library/fn/typed/uint32-array.js deleted file mode 100644 index ea8d7fd5546a..000000000000 --- a/library/fn/typed/uint32-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.uint32-array'); -module.exports = require('../../modules/_core').Uint32Array; diff --git a/library/fn/typed/uint8-array.js b/library/fn/typed/uint8-array.js deleted file mode 100644 index 88f50719c9d6..000000000000 --- a/library/fn/typed/uint8-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.uint8-array'); -module.exports = require('../../modules/_core').Uint8Array; diff --git a/library/fn/typed/uint8-clamped-array.js b/library/fn/typed/uint8-clamped-array.js deleted file mode 100644 index ff2c80683e6a..000000000000 --- a/library/fn/typed/uint8-clamped-array.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es.typed.uint8-clamped-array'); -module.exports = require('../../modules/_core').Uint8ClampedArray; diff --git a/library/fn/weak-map.js b/library/fn/weak-map.js deleted file mode 100644 index c5e0d6d191ae..000000000000 --- a/library/fn/weak-map.js +++ /dev/null @@ -1,6 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/web.dom.iterable'); -require('../modules/es.weak-map'); -require('../modules/esnext.weak-map.of'); -require('../modules/esnext.weak-map.from'); -module.exports = require('../modules/_core').WeakMap; diff --git a/library/fn/weak-map/from.js b/library/fn/weak-map/from.js deleted file mode 100644 index eca2d5a0193a..000000000000 --- a/library/fn/weak-map/from.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.weak-map'); -require('../../modules/esnext.weak-map.from'); -var $WeakMap = require('../../modules/_core').WeakMap; -var $from = $WeakMap.from; -module.exports = function from(source, mapFn, thisArg) { - return $from.call(typeof this === 'function' ? this : $WeakMap, source, mapFn, thisArg); -}; diff --git a/library/fn/weak-map/index.js b/library/fn/weak-map/index.js deleted file mode 100644 index 75c191439ea2..000000000000 --- a/library/fn/weak-map/index.js +++ /dev/null @@ -1,6 +0,0 @@ -require('../../modules/es.object.to-string'); -require('../../modules/web.dom.iterable'); -require('../../modules/es.weak-map'); -require('../../modules/esnext.weak-map.of'); -require('../../modules/esnext.weak-map.from'); -module.exports = require('../../modules/_core').WeakMap; diff --git a/library/fn/weak-map/of.js b/library/fn/weak-map/of.js deleted file mode 100644 index 9bd4a03b6bdc..000000000000 --- a/library/fn/weak-map/of.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.weak-map'); -require('../../modules/esnext.weak-map.of'); -var $WeakMap = require('../../modules/_core').WeakMap; -var $of = $WeakMap.of; -module.exports = function of() { - return $of.apply(typeof this === 'function' ? this : $WeakMap, arguments); -}; diff --git a/library/fn/weak-set.js b/library/fn/weak-set.js deleted file mode 100644 index 9063c25fc921..000000000000 --- a/library/fn/weak-set.js +++ /dev/null @@ -1,6 +0,0 @@ -require('../modules/es.object.to-string'); -require('../modules/web.dom.iterable'); -require('../modules/es.weak-set'); -require('../modules/esnext.weak-set.of'); -require('../modules/esnext.weak-set.from'); -module.exports = require('../modules/_core').WeakSet; diff --git a/library/fn/weak-set/from.js b/library/fn/weak-set/from.js deleted file mode 100644 index 92a197333b3e..000000000000 --- a/library/fn/weak-set/from.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.weak-set'); -require('../../modules/esnext.weak-set.from'); -var $WeakSet = require('../../modules/_core').WeakSet; -var $from = $WeakSet.from; -module.exports = function from(source, mapFn, thisArg) { - return $from.call(typeof this === 'function' ? this : $WeakSet, source, mapFn, thisArg); -}; diff --git a/library/fn/weak-set/index.js b/library/fn/weak-set/index.js deleted file mode 100644 index 7b10bf421a6f..000000000000 --- a/library/fn/weak-set/index.js +++ /dev/null @@ -1,6 +0,0 @@ -require('../../modules/es.object.to-string'); -require('../../modules/web.dom.iterable'); -require('../../modules/es.weak-set'); -require('../../modules/esnext.weak-set.of'); -require('../../modules/esnext.weak-set.from'); -module.exports = require('../../modules/_core').WeakSet; diff --git a/library/fn/weak-set/of.js b/library/fn/weak-set/of.js deleted file mode 100644 index 62903fc65263..000000000000 --- a/library/fn/weak-set/of.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -require('../../modules/es.weak-set'); -require('../../modules/esnext.weak-set.of'); -var $WeakSet = require('../../modules/_core').WeakSet; -var $of = $WeakSet.of; -module.exports = function of() { - return $of.apply(typeof this === 'function' ? this : $WeakSet, arguments); -}; diff --git a/library/index.js b/library/index.js deleted file mode 100644 index 760354d04773..000000000000 --- a/library/index.js +++ /dev/null @@ -1,192 +0,0 @@ -require('./modules/es.symbol'); -require('./modules/es.object.create'); -require('./modules/es.object.define-property'); -require('./modules/es.object.define-properties'); -require('./modules/es.object.get-own-property-descriptor'); -require('./modules/es.object.get-own-property-descriptors'); -require('./modules/es.object.get-prototype-of'); -require('./modules/es.object.keys'); -require('./modules/es.object.values'); -require('./modules/es.object.entries'); -require('./modules/es.object.get-own-property-names'); -require('./modules/es.object.freeze'); -require('./modules/es.object.seal'); -require('./modules/es.object.prevent-extensions'); -require('./modules/es.object.is-frozen'); -require('./modules/es.object.is-sealed'); -require('./modules/es.object.is-extensible'); -require('./modules/es.object.assign'); -require('./modules/es.object.is'); -require('./modules/es.object.set-prototype-of'); -require('./modules/es.object.to-string'); -require('./modules/es.object.define-getter'); -require('./modules/es.object.define-setter'); -require('./modules/es.object.lookup-getter'); -require('./modules/es.object.lookup-setter'); -require('./modules/es.function.bind'); -require('./modules/es.function.name'); -require('./modules/es.function.has-instance'); -require('./modules/es.parse-int'); -require('./modules/es.parse-float'); -require('./modules/es.number.constructor'); -require('./modules/es.number.to-fixed'); -require('./modules/es.number.to-precision'); -require('./modules/es.number.epsilon'); -require('./modules/es.number.is-finite'); -require('./modules/es.number.is-integer'); -require('./modules/es.number.is-nan'); -require('./modules/es.number.is-safe-integer'); -require('./modules/es.number.max-safe-integer'); -require('./modules/es.number.min-safe-integer'); -require('./modules/es.number.parse-float'); -require('./modules/es.number.parse-int'); -require('./modules/es.math.acosh'); -require('./modules/es.math.asinh'); -require('./modules/es.math.atanh'); -require('./modules/es.math.cbrt'); -require('./modules/es.math.clz32'); -require('./modules/es.math.cosh'); -require('./modules/es.math.expm1'); -require('./modules/es.math.fround'); -require('./modules/es.math.hypot'); -require('./modules/es.math.imul'); -require('./modules/es.math.log10'); -require('./modules/es.math.log1p'); -require('./modules/es.math.log2'); -require('./modules/es.math.sign'); -require('./modules/es.math.sinh'); -require('./modules/es.math.tanh'); -require('./modules/es.math.trunc'); -require('./modules/es.string.from-code-point'); -require('./modules/es.string.raw'); -require('./modules/es.string.trim'); -require('./modules/es.string.iterator'); -require('./modules/es.string.code-point-at'); -require('./modules/es.string.ends-with'); -require('./modules/es.string.includes'); -require('./modules/es.string.repeat'); -require('./modules/es.string.starts-with'); -require('./modules/es.string.pad-start'); -require('./modules/es.string.pad-end'); -require('./modules/es.string.anchor'); -require('./modules/es.string.big'); -require('./modules/es.string.blink'); -require('./modules/es.string.bold'); -require('./modules/es.string.fixed'); -require('./modules/es.string.fontcolor'); -require('./modules/es.string.fontsize'); -require('./modules/es.string.italics'); -require('./modules/es.string.link'); -require('./modules/es.string.small'); -require('./modules/es.string.strike'); -require('./modules/es.string.sub'); -require('./modules/es.string.sup'); -require('./modules/es.date.now'); -require('./modules/es.date.to-json'); -require('./modules/es.date.to-iso-string'); -require('./modules/es.date.to-string'); -require('./modules/es.date.to-primitive'); -require('./modules/es.array.includes'); -require('./modules/es.array.is-array'); -require('./modules/es.array.from'); -require('./modules/es.array.of'); -require('./modules/es.array.join'); -require('./modules/es.array.slice'); -require('./modules/es.array.sort'); -require('./modules/es.array.for-each'); -require('./modules/es.array.map'); -require('./modules/es.array.filter'); -require('./modules/es.array.some'); -require('./modules/es.array.every'); -require('./modules/es.array.reduce'); -require('./modules/es.array.reduce-right'); -require('./modules/es.array.index-of'); -require('./modules/es.array.last-index-of'); -require('./modules/es.array.copy-within'); -require('./modules/es.array.fill'); -require('./modules/es.array.find'); -require('./modules/es.array.find-index'); -require('./modules/es.array.species'); -require('./modules/es.array.iterator'); -require('./modules/es.regexp.constructor'); -require('./modules/es.regexp.to-string'); -require('./modules/es.regexp.flags'); -require('./modules/es.regexp.match'); -require('./modules/es.regexp.replace'); -require('./modules/es.regexp.search'); -require('./modules/es.regexp.split'); -require('./modules/es.promise'); -require('./modules/es.map'); -require('./modules/es.set'); -require('./modules/es.weak-map'); -require('./modules/es.weak-set'); -require('./modules/es.typed.array-buffer'); -require('./modules/es.typed.data-view'); -require('./modules/es.typed.int8-array'); -require('./modules/es.typed.uint8-array'); -require('./modules/es.typed.uint8-clamped-array'); -require('./modules/es.typed.int16-array'); -require('./modules/es.typed.uint16-array'); -require('./modules/es.typed.int32-array'); -require('./modules/es.typed.uint32-array'); -require('./modules/es.typed.float32-array'); -require('./modules/es.typed.float64-array'); -require('./modules/es.reflect.apply'); -require('./modules/es.reflect.construct'); -require('./modules/es.reflect.define-property'); -require('./modules/es.reflect.delete-property'); -require('./modules/es.reflect.get'); -require('./modules/es.reflect.get-own-property-descriptor'); -require('./modules/es.reflect.get-prototype-of'); -require('./modules/es.reflect.has'); -require('./modules/es.reflect.is-extensible'); -require('./modules/es.reflect.own-keys'); -require('./modules/es.reflect.prevent-extensions'); -require('./modules/es.reflect.set'); -require('./modules/es.reflect.set-prototype-of'); -require('./modules/esnext.array.flat-map'); -require('./modules/esnext.array.flatten'); -require('./modules/esnext.string.at'); -require('./modules/esnext.string.trim-left'); -require('./modules/esnext.string.trim-right'); -require('./modules/esnext.string.match-all'); -require('./modules/esnext.symbol.async-iterator'); -require('./modules/esnext.symbol.observable'); -require('./modules/esnext.map.of'); -require('./modules/esnext.set.of'); -require('./modules/esnext.weak-map.of'); -require('./modules/esnext.weak-set.of'); -require('./modules/esnext.map.from'); -require('./modules/esnext.set.from'); -require('./modules/esnext.weak-map.from'); -require('./modules/esnext.weak-set.from'); -require('./modules/esnext.global'); -require('./modules/esnext.math.clamp'); -require('./modules/esnext.math.deg-per-rad'); -require('./modules/esnext.math.degrees'); -require('./modules/esnext.math.fscale'); -require('./modules/esnext.math.iaddh'); -require('./modules/esnext.math.isubh'); -require('./modules/esnext.math.imulh'); -require('./modules/esnext.math.rad-per-deg'); -require('./modules/esnext.math.radians'); -require('./modules/esnext.math.scale'); -require('./modules/esnext.math.umulh'); -require('./modules/esnext.math.signbit'); -require('./modules/esnext.promise.finally'); -require('./modules/esnext.promise.try'); -require('./modules/esnext.reflect.define-metadata'); -require('./modules/esnext.reflect.delete-metadata'); -require('./modules/esnext.reflect.get-metadata'); -require('./modules/esnext.reflect.get-metadata-keys'); -require('./modules/esnext.reflect.get-own-metadata'); -require('./modules/esnext.reflect.get-own-metadata-keys'); -require('./modules/esnext.reflect.has-metadata'); -require('./modules/esnext.reflect.has-own-metadata'); -require('./modules/esnext.reflect.metadata'); -require('./modules/esnext.asap'); -require('./modules/esnext.observable'); -require('./modules/web.timers'); -require('./modules/web.immediate'); -require('./modules/web.dom.iterable'); -module.exports = require('./modules/_core'); diff --git a/library/modules/_a-function.js b/library/modules/_a-function.js deleted file mode 100644 index a9a5d84ff431..000000000000 --- a/library/modules/_a-function.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; -}; diff --git a/library/modules/_a-number-value.js b/library/modules/_a-number-value.js deleted file mode 100644 index 2723de4d0e10..000000000000 --- a/library/modules/_a-number-value.js +++ /dev/null @@ -1,5 +0,0 @@ -var cof = require('./_cof'); -module.exports = function (it, msg) { - if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); - return +it; -}; diff --git a/library/modules/_add-to-unscopables.js b/library/modules/_add-to-unscopables.js deleted file mode 100644 index 02ef44ba4ce8..000000000000 --- a/library/modules/_add-to-unscopables.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = function () { /* empty */ }; diff --git a/library/modules/_an-instance.js b/library/modules/_an-instance.js deleted file mode 100644 index c0a5f9200c15..000000000000 --- a/library/modules/_an-instance.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = function (it, Constructor, name, forbiddenField) { - if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { - throw TypeError(name + ': incorrect invocation!'); - } return it; -}; diff --git a/library/modules/_an-object.js b/library/modules/_an-object.js deleted file mode 100644 index b1c316cd2bac..000000000000 --- a/library/modules/_an-object.js +++ /dev/null @@ -1,5 +0,0 @@ -var isObject = require('./_is-object'); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; diff --git a/library/modules/_array-copy-within.js b/library/modules/_array-copy-within.js deleted file mode 100644 index d331576c4644..000000000000 --- a/library/modules/_array-copy-within.js +++ /dev/null @@ -1,26 +0,0 @@ -// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) -'use strict'; -var toObject = require('./_to-object'); -var toAbsoluteIndex = require('./_to-absolute-index'); -var toLength = require('./_to-length'); - -module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; -}; diff --git a/library/modules/_array-fill.js b/library/modules/_array-fill.js deleted file mode 100644 index 0753c36aca03..000000000000 --- a/library/modules/_array-fill.js +++ /dev/null @@ -1,15 +0,0 @@ -// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) -'use strict'; -var toObject = require('./_to-object'); -var toAbsoluteIndex = require('./_to-absolute-index'); -var toLength = require('./_to-length'); -module.exports = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var aLen = arguments.length; - var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); - var end = aLen > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; -}; diff --git a/library/modules/_array-includes.js b/library/modules/_array-includes.js deleted file mode 100644 index 0ef3efebedec..000000000000 --- a/library/modules/_array-includes.js +++ /dev/null @@ -1,23 +0,0 @@ -// false -> Array#indexOf -// true -> Array#includes -var toIObject = require('./_to-iobject'); -var toLength = require('./_to-length'); -var toAbsoluteIndex = require('./_to-absolute-index'); -module.exports = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; diff --git a/library/modules/_array-methods.js b/library/modules/_array-methods.js deleted file mode 100644 index ae7f447da3c8..000000000000 --- a/library/modules/_array-methods.js +++ /dev/null @@ -1,44 +0,0 @@ -// 0 -> Array#forEach -// 1 -> Array#map -// 2 -> Array#filter -// 3 -> Array#some -// 4 -> Array#every -// 5 -> Array#find -// 6 -> Array#findIndex -var ctx = require('./_ctx'); -var IObject = require('./_iobject'); -var toObject = require('./_to-object'); -var toLength = require('./_to-length'); -var asc = require('./_array-species-create'); -module.exports = function (TYPE, $create) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - var create = $create || asc; - return function ($this, callbackfn, that) { - var O = toObject($this); - var self = IObject(O); - var f = ctx(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; - var val, res; - for (;length > index; index++) if (NO_HOLES || index in self) { - val = self[index]; - res = f(val, index, O); - if (TYPE) { - if (IS_MAP) result[index] = res; // map - else if (res) switch (TYPE) { - case 3: return true; // some - case 5: return val; // find - case 6: return index; // findIndex - case 2: result.push(val); // filter - } else if (IS_EVERY) return false; // every - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; - }; -}; diff --git a/library/modules/_array-reduce.js b/library/modules/_array-reduce.js deleted file mode 100644 index 8596ac70ad19..000000000000 --- a/library/modules/_array-reduce.js +++ /dev/null @@ -1,28 +0,0 @@ -var aFunction = require('./_a-function'); -var toObject = require('./_to-object'); -var IObject = require('./_iobject'); -var toLength = require('./_to-length'); - -module.exports = function (that, callbackfn, aLen, memo, isRight) { - aFunction(callbackfn); - var O = toObject(that); - var self = IObject(O); - var length = toLength(O.length); - var index = isRight ? length - 1 : 0; - var i = isRight ? -1 : 1; - if (aLen < 2) for (;;) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (isRight ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; -}; diff --git a/library/modules/_array-species-constructor.js b/library/modules/_array-species-constructor.js deleted file mode 100644 index 0771c236d0b2..000000000000 --- a/library/modules/_array-species-constructor.js +++ /dev/null @@ -1,16 +0,0 @@ -var isObject = require('./_is-object'); -var isArray = require('./_is-array'); -var SPECIES = require('./_wks')('species'); - -module.exports = function (original) { - var C; - if (isArray(original)) { - C = original.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return C === undefined ? Array : C; -}; diff --git a/library/modules/_array-species-create.js b/library/modules/_array-species-create.js deleted file mode 100644 index 36ed58bd79c8..000000000000 --- a/library/modules/_array-species-create.js +++ /dev/null @@ -1,6 +0,0 @@ -// 9.4.2.3 ArraySpeciesCreate(originalArray, length) -var speciesConstructor = require('./_array-species-constructor'); - -module.exports = function (original, length) { - return new (speciesConstructor(original))(length); -}; diff --git a/library/modules/_bind.js b/library/modules/_bind.js deleted file mode 100644 index 3cf1e5ae5343..000000000000 --- a/library/modules/_bind.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; -var aFunction = require('./_a-function'); -var isObject = require('./_is-object'); -var invoke = require('./_invoke'); -var arraySlice = [].slice; -var factories = {}; - -var construct = function (F, len, args) { - if (!(len in factories)) { - for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func - factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); - } return factories[len](F, args); -}; - -module.exports = Function.bind || function bind(that /* , ...args */) { - var fn = aFunction(this); - var partArgs = arraySlice.call(arguments, 1); - var bound = function (/* args... */) { - var args = partArgs.concat(arraySlice.call(arguments)); - return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); - }; - if (isObject(fn.prototype)) bound.prototype = fn.prototype; - return bound; -}; diff --git a/library/modules/_classof.js b/library/modules/_classof.js deleted file mode 100644 index d106d5be62cf..000000000000 --- a/library/modules/_classof.js +++ /dev/null @@ -1,23 +0,0 @@ -// getting tag from 19.1.3.6 Object.prototype.toString() -var cof = require('./_cof'); -var TAG = require('./_wks')('toStringTag'); -// ES3 wrong here -var ARG = cof(function () { return arguments; }()) == 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (e) { /* empty */ } -}; - -module.exports = function (it) { - var O, T, B; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T - // builtinTag case - : ARG ? cof(O) - // ES3 arguments fallback - : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; -}; diff --git a/library/modules/_cof.js b/library/modules/_cof.js deleted file mode 100644 index 332c0bc0b963..000000000000 --- a/library/modules/_cof.js +++ /dev/null @@ -1,5 +0,0 @@ -var toString = {}.toString; - -module.exports = function (it) { - return toString.call(it).slice(8, -1); -}; diff --git a/library/modules/_collection-strong.js b/library/modules/_collection-strong.js deleted file mode 100644 index 68ce63f0e068..000000000000 --- a/library/modules/_collection-strong.js +++ /dev/null @@ -1,144 +0,0 @@ -'use strict'; -var dP = require('./_object-dp').f; -var create = require('./_object-create'); -var redefineAll = require('./_redefine-all'); -var ctx = require('./_ctx'); -var anInstance = require('./_an-instance'); -var forOf = require('./_for-of'); -var $iterDefine = require('./_iter-define'); -var step = require('./_iter-step'); -var setSpecies = require('./_set-species'); -var DESCRIPTORS = require('./_descriptors'); -var fastKey = require('./_meta').fastKey; -var validate = require('./_validate-collection'); -var SIZE = DESCRIPTORS ? '_s' : 'size'; - -var getEntry = function (that, key) { - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return that._i[index]; - // frozen object case - for (entry = that._f; entry; entry = entry.n) { - if (entry.k == key) return entry; - } -}; - -module.exports = { - getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, NAME, '_i'); - that._t = NAME; // collection type - that._i = create(null); // index - that._f = undefined; // first entry - that._l = undefined; // last entry - that[SIZE] = 0; // size - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - }); - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { - entry.r = true; - if (entry.p) entry.p = entry.p.n = undefined; - delete data[entry.i]; - } - that._f = that._l = undefined; - that[SIZE] = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = validate(this, NAME); - var entry = getEntry(that, key); - if (entry) { - var next = entry.n; - var prev = entry.p; - delete that._i[entry.i]; - entry.r = true; - if (prev) prev.n = next; - if (next) next.p = prev; - if (that._f == entry) that._f = next; - if (that._l == entry) that._l = prev; - that[SIZE]--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - validate(this, NAME); - var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.n : this._f) { - f(entry.v, entry.k, this); - // revert to the last existing entry - while (entry && entry.r) entry = entry.p; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(validate(this, NAME), key); - } - }); - if (DESCRIPTORS) dP(C.prototype, 'size', { - get: function () { - return validate(this, NAME)[SIZE]; - } - }); - return C; - }, - def: function (that, key, value) { - var entry = getEntry(that, key); - var prev, index; - // change existing entry - if (entry) { - entry.v = value; - // create new entry - } else { - that._l = entry = { - i: index = fastKey(key, true), // <- index - k: key, // <- key - v: value, // <- value - p: prev = that._l, // <- previous entry - n: undefined, // <- next entry - r: false // <- removed - }; - if (!that._f) that._f = entry; - if (prev) prev.n = entry; - that[SIZE]++; - // add to index - if (index !== 'F') that._i[index] = entry; - } return that; - }, - getEntry: getEntry, - setStrong: function (C, NAME, IS_MAP) { - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - $iterDefine(C, NAME, function (iterated, kind) { - this._t = validate(iterated, NAME); // target - this._k = kind; // kind - this._l = undefined; // previous - }, function () { - var that = this; - var kind = that._k; - var entry = that._l; - // revert to the last existing entry - while (entry && entry.r) entry = entry.p; - // get next entry - if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { - // or finish the iteration - that._t = undefined; - return step(1); - } - // return step by kind - if (kind == 'keys') return step(0, entry.k); - if (kind == 'values') return step(0, entry.v); - return step(0, [entry.k, entry.v]); - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(NAME); - } -}; diff --git a/library/modules/_collection-weak.js b/library/modules/_collection-weak.js deleted file mode 100644 index 04d3af5afe5e..000000000000 --- a/library/modules/_collection-weak.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; -var redefineAll = require('./_redefine-all'); -var getWeak = require('./_meta').getWeak; -var anObject = require('./_an-object'); -var isObject = require('./_is-object'); -var anInstance = require('./_an-instance'); -var forOf = require('./_for-of'); -var createArrayMethod = require('./_array-methods'); -var $has = require('./_has'); -var validate = require('./_validate-collection'); -var arrayFind = createArrayMethod(5); -var arrayFindIndex = createArrayMethod(6); -var id = 0; - -// fallback for uncaught frozen keys -var uncaughtFrozenStore = function (that) { - return that._l || (that._l = new UncaughtFrozenStore()); -}; -var UncaughtFrozenStore = function () { - this.a = []; -}; -var findUncaughtFrozen = function (store, key) { - return arrayFind(store.a, function (it) { - return it[0] === key; - }); -}; -UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.a.push([key, value]); - }, - 'delete': function (key) { - var index = arrayFindIndex(this.a, function (it) { - return it[0] === key; - }); - if (~index) this.a.splice(index, 1); - return !!~index; - } -}; - -module.exports = { - getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, NAME, '_i'); - that._t = NAME; // collection type - that._i = id++; // collection id - that._l = undefined; // leak store for uncaught frozen objects - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - }); - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - if (!isObject(key)) return false; - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); - return data && $has(data, this._i) && delete data[this._i]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - if (!isObject(key)) return false; - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); - return data && $has(data, this._i); - } - }); - return C; - }, - def: function (that, key, value) { - var data = getWeak(anObject(key), true); - if (data === true) uncaughtFrozenStore(that).set(key, value); - else data[that._i] = value; - return that; - }, - ufstore: uncaughtFrozenStore -}; diff --git a/library/modules/_collection.js b/library/modules/_collection.js deleted file mode 100644 index 31a36b87a456..000000000000 --- a/library/modules/_collection.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; -var global = require('./_global'); -var $export = require('./_export'); -var meta = require('./_meta'); -var fails = require('./_fails'); -var hide = require('./_hide'); -var redefineAll = require('./_redefine-all'); -var forOf = require('./_for-of'); -var anInstance = require('./_an-instance'); -var isObject = require('./_is-object'); -var setToStringTag = require('./_set-to-string-tag'); -var dP = require('./_object-dp').f; -var each = require('./_array-methods')(0); -var DESCRIPTORS = require('./_descriptors'); - -module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { - var Base = global[NAME]; - var C = Base; - var ADDER = IS_MAP ? 'set' : 'add'; - var proto = C && C.prototype; - var O = {}; - if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { - new C().entries().next(); - }))) { - // create collection constructor - C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); - redefineAll(C.prototype, methods); - meta.NEED = true; - } else { - C = wrapper(function (target, iterable) { - anInstance(target, C, NAME, '_c'); - target._c = new Base(); - if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); - }); - each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { - var IS_ADDER = KEY == 'add' || KEY == 'set'; - if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { - anInstance(this, C, KEY); - if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; - var result = this._c[KEY](a === 0 ? 0 : a, b); - return IS_ADDER ? this : result; - }); - }); - IS_WEAK || dP(C.prototype, 'size', { - get: function () { - return this._c.size; - } - }); - } - - setToStringTag(C, NAME); - - O[NAME] = C; - $export($export.G + $export.W + $export.F, O); - - if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); - - return C; -}; diff --git a/library/modules/_core.js b/library/modules/_core.js deleted file mode 100644 index 32d351c0a679..000000000000 --- a/library/modules/_core.js +++ /dev/null @@ -1,2 +0,0 @@ -var core = module.exports = { version: '2.5.1' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef diff --git a/library/modules/_create-property.js b/library/modules/_create-property.js deleted file mode 100644 index fd0ea8c9a7b0..000000000000 --- a/library/modules/_create-property.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -var $defineProperty = require('./_object-dp'); -var createDesc = require('./_property-desc'); - -module.exports = function (object, index, value) { - if (index in object) $defineProperty.f(object, index, createDesc(0, value)); - else object[index] = value; -}; diff --git a/library/modules/_ctx.js b/library/modules/_ctx.js deleted file mode 100644 index 0a100ff3d6c9..000000000000 --- a/library/modules/_ctx.js +++ /dev/null @@ -1,20 +0,0 @@ -// optional / simple context binding -var aFunction = require('./_a-function'); -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; diff --git a/library/modules/_date-to-iso-string.js b/library/modules/_date-to-iso-string.js deleted file mode 100644 index 95a02e224e3b..000000000000 --- a/library/modules/_date-to-iso-string.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; -// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var fails = require('./_fails'); -var getTime = Date.prototype.getTime; -var $toISOString = Date.prototype.toISOString; - -var lz = function (num) { - return num > 9 ? num : '0' + num; -}; - -// PhantomJS / old WebKit has a broken implementations -module.exports = (fails(function () { - return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; -}) || !fails(function () { - $toISOString.call(new Date(NaN)); -})) ? function toISOString() { - if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); - var d = this; - var y = d.getUTCFullYear(); - var m = d.getUTCMilliseconds(); - var s = y < 0 ? '-' : y > 9999 ? '+' : ''; - return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + - '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + - 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + - ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; -} : $toISOString; diff --git a/library/modules/_date-to-primitive.js b/library/modules/_date-to-primitive.js deleted file mode 100644 index 57c32030c82f..000000000000 --- a/library/modules/_date-to-primitive.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -var anObject = require('./_an-object'); -var toPrimitive = require('./_to-primitive'); -var NUMBER = 'number'; - -module.exports = function (hint) { - if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); - return toPrimitive(anObject(this), hint != NUMBER); -}; diff --git a/library/modules/_defined.js b/library/modules/_defined.js deleted file mode 100644 index 66c7ed323c4b..000000000000 --- a/library/modules/_defined.js +++ /dev/null @@ -1,5 +0,0 @@ -// 7.2.1 RequireObjectCoercible(argument) -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; diff --git a/library/modules/_descriptors.js b/library/modules/_descriptors.js deleted file mode 100644 index 046974066d33..000000000000 --- a/library/modules/_descriptors.js +++ /dev/null @@ -1,4 +0,0 @@ -// Thank's IE8 for his funny defineProperty -module.exports = !require('./_fails')(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); diff --git a/library/modules/_dom-create.js b/library/modules/_dom-create.js deleted file mode 100644 index 39ca2569d709..000000000000 --- a/library/modules/_dom-create.js +++ /dev/null @@ -1,7 +0,0 @@ -var isObject = require('./_is-object'); -var document = require('./_global').document; -// typeof document.createElement is 'object' in old IE -var is = isObject(document) && isObject(document.createElement); -module.exports = function (it) { - return is ? document.createElement(it) : {}; -}; diff --git a/library/modules/_entry-virtual.js b/library/modules/_entry-virtual.js deleted file mode 100644 index 7a734390a7d5..000000000000 --- a/library/modules/_entry-virtual.js +++ /dev/null @@ -1,5 +0,0 @@ -var core = require('./_core'); -module.exports = function (CONSTRUCTOR) { - var C = core[CONSTRUCTOR]; - return (C.virtual || C.prototype); -}; diff --git a/library/modules/_enum-bug-keys.js b/library/modules/_enum-bug-keys.js deleted file mode 100644 index d9ad85514ac6..000000000000 --- a/library/modules/_enum-bug-keys.js +++ /dev/null @@ -1,4 +0,0 @@ -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); diff --git a/library/modules/_enum-keys.js b/library/modules/_enum-keys.js deleted file mode 100644 index 3e7053d135c4..000000000000 --- a/library/modules/_enum-keys.js +++ /dev/null @@ -1,15 +0,0 @@ -// all enumerable object keys, includes symbols -var getKeys = require('./_object-keys'); -var gOPS = require('./_object-gops'); -var pIE = require('./_object-pie'); -module.exports = function (it) { - var result = getKeys(it); - var getSymbols = gOPS.f; - if (getSymbols) { - var symbols = getSymbols(it); - var isEnum = pIE.f; - var i = 0; - var key; - while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); - } return result; -}; diff --git a/library/modules/_export.js b/library/modules/_export.js deleted file mode 100644 index 299a77fc9eec..000000000000 --- a/library/modules/_export.js +++ /dev/null @@ -1,61 +0,0 @@ -var global = require('./_global'); -var core = require('./_core'); -var ctx = require('./_ctx'); -var hide = require('./_hide'); -var PROTOTYPE = 'prototype'; - -var $export = function (type, name, source) { - var IS_FORCED = type & $export.F; - var IS_GLOBAL = type & $export.G; - var IS_STATIC = type & $export.S; - var IS_PROTO = type & $export.P; - var IS_BIND = type & $export.B; - var IS_WRAP = type & $export.W; - var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); - var expProto = exports[PROTOTYPE]; - var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; - var key, own, out; - if (IS_GLOBAL) source = name; - for (key in source) { - // contains in native - own = !IS_FORCED && target && target[key] !== undefined; - if (own && key in exports) continue; - // export native or passed - out = own ? target[key] : source[key]; - // prevent global pollution for namespaces - exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] - // bind timers to global for call from export context - : IS_BIND && own ? ctx(out, global) - // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function (C) { - var F = function (a, b, c) { - if (this instanceof C) { - switch (arguments.length) { - case 0: return new C(); - case 1: return new C(a); - case 2: return new C(a, b); - } return new C(a, b, c); - } return C.apply(this, arguments); - }; - F[PROTOTYPE] = C[PROTOTYPE]; - return F; - // make static versions for prototype methods - })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if (IS_PROTO) { - (exports.virtual || (exports.virtual = {}))[key] = out; - // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); - } - } -}; -// type bitmap -$export.F = 1; // forced -$export.G = 2; // global -$export.S = 4; // static -$export.P = 8; // proto -$export.B = 16; // bind -$export.W = 32; // wrap -$export.U = 64; // safe -$export.R = 128; // real proto method for `library` -module.exports = $export; diff --git a/library/modules/_fails-is-regexp.js b/library/modules/_fails-is-regexp.js deleted file mode 100644 index 8eec2e4715cb..000000000000 --- a/library/modules/_fails-is-regexp.js +++ /dev/null @@ -1,12 +0,0 @@ -var MATCH = require('./_wks')('match'); -module.exports = function (KEY) { - var re = /./; - try { - '/./'[KEY](re); - } catch (e) { - try { - re[MATCH] = false; - return !'/./'[KEY](re); - } catch (f) { /* empty */ } - } return true; -}; diff --git a/library/modules/_fails.js b/library/modules/_fails.js deleted file mode 100644 index 3b4cdf6740b3..000000000000 --- a/library/modules/_fails.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } -}; diff --git a/library/modules/_fix-re-wks.js b/library/modules/_fix-re-wks.js deleted file mode 100644 index 9a62380b39a7..000000000000 --- a/library/modules/_fix-re-wks.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; -var hide = require('./_hide'); -var redefine = require('./_redefine'); -var fails = require('./_fails'); -var defined = require('./_defined'); -var wks = require('./_wks'); - -module.exports = function (KEY, length, exec) { - var SYMBOL = wks(KEY); - var fns = exec(defined, SYMBOL, ''[KEY]); - var strfn = fns[0]; - var rxfn = fns[1]; - if (fails(function () { - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - })) { - redefine(String.prototype, KEY, strfn); - hide(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return rxfn.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return rxfn.call(string, this); } - ); - } -}; diff --git a/library/modules/_flags.js b/library/modules/_flags.js deleted file mode 100644 index b6fc324bdfde..000000000000 --- a/library/modules/_flags.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; -// 21.2.5.3 get RegExp.prototype.flags -var anObject = require('./_an-object'); -module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; -}; diff --git a/library/modules/_flatten-into-array.js b/library/modules/_flatten-into-array.js deleted file mode 100644 index 78676c98ae7e..000000000000 --- a/library/modules/_flatten-into-array.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; -// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray -var isArray = require('./_is-array'); -var toLength = require('./_to-length'); -var ctx = require('./_ctx'); - -function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { - var targetIndex = start; - var sourceIndex = 0; - var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; - var element; - - while (sourceIndex < sourceLen) { - if (sourceIndex in source) { - element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - - if (isArray(element) && depth > 0) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; - } else { - if (targetIndex >= 0x1fffffffffffff) throw TypeError(); - target[targetIndex] = element; - } - - targetIndex++; - } - sourceIndex++; - } - return targetIndex; -} - -module.exports = flattenIntoArray; diff --git a/library/modules/_for-of.js b/library/modules/_for-of.js deleted file mode 100644 index 9ed22818b5d7..000000000000 --- a/library/modules/_for-of.js +++ /dev/null @@ -1,25 +0,0 @@ -var ctx = require('./_ctx'); -var call = require('./_iter-call'); -var isArrayIter = require('./_is-array-iter'); -var anObject = require('./_an-object'); -var toLength = require('./_to-length'); -var getIterFn = require('./core.get-iterator-method'); -var BREAK = {}; -var RETURN = {}; -var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { - var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); - var f = ctx(fn, that, entries ? 2 : 1); - var index = 0; - var length, step, iterator, result; - if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); - // fast case for arrays with default iterator - if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { - result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); - if (result === BREAK || result === RETURN) return result; - } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { - result = call(iterator, f, step.value, entries); - if (result === BREAK || result === RETURN) return result; - } -}; -exports.BREAK = BREAK; -exports.RETURN = RETURN; diff --git a/library/modules/_global.js b/library/modules/_global.js deleted file mode 100644 index bf85b44a107b..000000000000 --- a/library/modules/_global.js +++ /dev/null @@ -1,6 +0,0 @@ -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : typeof self != 'undefined' && self.Math == Math ? self - // eslint-disable-next-line no-new-func - : Function('return this')(); -if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef diff --git a/library/modules/_has.js b/library/modules/_has.js deleted file mode 100644 index 2a37d8b7adf0..000000000000 --- a/library/modules/_has.js +++ /dev/null @@ -1,4 +0,0 @@ -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; diff --git a/library/modules/_hide.js b/library/modules/_hide.js deleted file mode 100644 index cec258a0ad2b..000000000000 --- a/library/modules/_hide.js +++ /dev/null @@ -1,8 +0,0 @@ -var dP = require('./_object-dp'); -var createDesc = require('./_property-desc'); -module.exports = require('./_descriptors') ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; diff --git a/library/modules/_html.js b/library/modules/_html.js deleted file mode 100644 index 7daff14ca8e3..000000000000 --- a/library/modules/_html.js +++ /dev/null @@ -1,2 +0,0 @@ -var document = require('./_global').document; -module.exports = document && document.documentElement; diff --git a/library/modules/_ie8-dom-define.js b/library/modules/_ie8-dom-define.js deleted file mode 100644 index a3805cb7fe17..000000000000 --- a/library/modules/_ie8-dom-define.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = !require('./_descriptors') && !require('./_fails')(function () { - return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7; -}); diff --git a/library/modules/_inherit-if-required.js b/library/modules/_inherit-if-required.js deleted file mode 100644 index b95fcd984547..000000000000 --- a/library/modules/_inherit-if-required.js +++ /dev/null @@ -1,9 +0,0 @@ -var isObject = require('./_is-object'); -var setPrototypeOf = require('./_set-proto').set; -module.exports = function (that, target, C) { - var S = target.constructor; - var P; - if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { - setPrototypeOf(that, P); - } return that; -}; diff --git a/library/modules/_invoke.js b/library/modules/_invoke.js deleted file mode 100644 index 6cccebdc12ea..000000000000 --- a/library/modules/_invoke.js +++ /dev/null @@ -1,16 +0,0 @@ -// fast apply, http://jsperf.lnkit.com/fast-apply/5 -module.exports = function (fn, args, that) { - var un = that === undefined; - switch (args.length) { - case 0: return un ? fn() - : fn.call(that); - case 1: return un ? fn(args[0]) - : fn.call(that, args[0]); - case 2: return un ? fn(args[0], args[1]) - : fn.call(that, args[0], args[1]); - case 3: return un ? fn(args[0], args[1], args[2]) - : fn.call(that, args[0], args[1], args[2]); - case 4: return un ? fn(args[0], args[1], args[2], args[3]) - : fn.call(that, args[0], args[1], args[2], args[3]); - } return fn.apply(that, args); -}; diff --git a/library/modules/_iobject.js b/library/modules/_iobject.js deleted file mode 100644 index 2b57c8a07c07..000000000000 --- a/library/modules/_iobject.js +++ /dev/null @@ -1,6 +0,0 @@ -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = require('./_cof'); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); -}; diff --git a/library/modules/_is-array-iter.js b/library/modules/_is-array-iter.js deleted file mode 100644 index 6f67d90522e9..000000000000 --- a/library/modules/_is-array-iter.js +++ /dev/null @@ -1,8 +0,0 @@ -// check on default Array iterator -var Iterators = require('./_iterators'); -var ITERATOR = require('./_wks')('iterator'); -var ArrayProto = Array.prototype; - -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); -}; diff --git a/library/modules/_is-array.js b/library/modules/_is-array.js deleted file mode 100644 index 0581dc2e79b2..000000000000 --- a/library/modules/_is-array.js +++ /dev/null @@ -1,5 +0,0 @@ -// 7.2.2 IsArray(argument) -var cof = require('./_cof'); -module.exports = Array.isArray || function isArray(arg) { - return cof(arg) == 'Array'; -}; diff --git a/library/modules/_is-integer.js b/library/modules/_is-integer.js deleted file mode 100644 index 0074ae975a3d..000000000000 --- a/library/modules/_is-integer.js +++ /dev/null @@ -1,6 +0,0 @@ -// 20.1.2.3 Number.isInteger(number) -var isObject = require('./_is-object'); -var floor = Math.floor; -module.exports = function isInteger(it) { - return !isObject(it) && isFinite(it) && floor(it) === it; -}; diff --git a/library/modules/_is-object.js b/library/modules/_is-object.js deleted file mode 100644 index dda6e04d2730..000000000000 --- a/library/modules/_is-object.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; diff --git a/library/modules/_is-regexp.js b/library/modules/_is-regexp.js deleted file mode 100644 index 598d159d5fce..000000000000 --- a/library/modules/_is-regexp.js +++ /dev/null @@ -1,8 +0,0 @@ -// 7.2.8 IsRegExp(argument) -var isObject = require('./_is-object'); -var cof = require('./_cof'); -var MATCH = require('./_wks')('match'); -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); -}; diff --git a/library/modules/_iter-call.js b/library/modules/_iter-call.js deleted file mode 100644 index a7026e3474bb..000000000000 --- a/library/modules/_iter-call.js +++ /dev/null @@ -1,12 +0,0 @@ -// call something on iterator step with safe closing on error -var anObject = require('./_an-object'); -module.exports = function (iterator, fn, value, entries) { - try { - return entries ? fn(anObject(value)[0], value[1]) : fn(value); - // 7.4.6 IteratorClose(iterator, completion) - } catch (e) { - var ret = iterator['return']; - if (ret !== undefined) anObject(ret.call(iterator)); - throw e; - } -}; diff --git a/library/modules/_iter-create.js b/library/modules/_iter-create.js deleted file mode 100644 index 04708c83cc38..000000000000 --- a/library/modules/_iter-create.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; -var create = require('./_object-create'); -var descriptor = require('./_property-desc'); -var setToStringTag = require('./_set-to-string-tag'); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); -}; diff --git a/library/modules/_iter-define.js b/library/modules/_iter-define.js deleted file mode 100644 index 8f68107d8e9b..000000000000 --- a/library/modules/_iter-define.js +++ /dev/null @@ -1,70 +0,0 @@ -'use strict'; -var LIBRARY = require('./_library'); -var $export = require('./_export'); -var redefine = require('./_redefine'); -var hide = require('./_hide'); -var has = require('./_has'); -var Iterators = require('./_iterators'); -var $iterCreate = require('./_iter-create'); -var setToStringTag = require('./_set-to-string-tag'); -var getPrototypeOf = require('./_object-gpo'); -var ITERATOR = require('./_wks')('iterator'); -var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` -var FF_ITERATOR = '@@iterator'; -var KEYS = 'keys'; -var VALUES = 'values'; - -var returnThis = function () { return this; }; - -module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { - $iterCreate(Constructor, NAME, next); - var getMethod = function (kind) { - if (!BUGGY && kind in proto) return proto[kind]; - switch (kind) { - case KEYS: return function keys() { return new Constructor(this, kind); }; - case VALUES: return function values() { return new Constructor(this, kind); }; - } return function entries() { return new Constructor(this, kind); }; - }; - var TAG = NAME + ' Iterator'; - var DEF_VALUES = DEFAULT == VALUES; - var VALUES_BUG = false; - var proto = Base.prototype; - var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; - var $default = $native || getMethod(DEFAULT); - var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; - var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; - var methods, key, IteratorPrototype; - // Fix native - if ($anyNative) { - IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); - if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { - // Set @@toStringTag to native iterators - setToStringTag(IteratorPrototype, TAG, true); - // fix for some old engines - if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); - } - } - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEF_VALUES && $native && $native.name !== VALUES) { - VALUES_BUG = true; - $default = function values() { return $native.call(this); }; - } - // Define iterator - if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { - hide(proto, ITERATOR, $default); - } - // Plug for library - Iterators[NAME] = $default; - Iterators[TAG] = returnThis; - if (DEFAULT) { - methods = { - values: DEF_VALUES ? $default : getMethod(VALUES), - keys: IS_SET ? $default : getMethod(KEYS), - entries: $entries - }; - if (FORCED) for (key in methods) { - if (!(key in proto)) redefine(proto, key, methods[key]); - } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); - } - return methods; -}; diff --git a/library/modules/_iter-detect.js b/library/modules/_iter-detect.js deleted file mode 100644 index 5cb34973ce93..000000000000 --- a/library/modules/_iter-detect.js +++ /dev/null @@ -1,22 +0,0 @@ -var ITERATOR = require('./_wks')('iterator'); -var SAFE_CLOSING = false; - -try { - var riter = [7][ITERATOR](); - riter['return'] = function () { SAFE_CLOSING = true; }; - // eslint-disable-next-line no-throw-literal - Array.from(riter, function () { throw 2; }); -} catch (e) { /* empty */ } - -module.exports = function (exec, skipClosing) { - if (!skipClosing && !SAFE_CLOSING) return false; - var safe = false; - try { - var arr = [7]; - var iter = arr[ITERATOR](); - iter.next = function () { return { done: safe = true }; }; - arr[ITERATOR] = function () { return iter; }; - exec(arr); - } catch (e) { /* empty */ } - return safe; -}; diff --git a/library/modules/_iter-step.js b/library/modules/_iter-step.js deleted file mode 100644 index b0691c883d96..000000000000 --- a/library/modules/_iter-step.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; diff --git a/library/modules/_iterators.js b/library/modules/_iterators.js deleted file mode 100644 index f053ebf7976e..000000000000 --- a/library/modules/_iterators.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = {}; diff --git a/library/modules/_library.js b/library/modules/_library.js deleted file mode 100644 index ec01c2c14166..000000000000 --- a/library/modules/_library.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = true; diff --git a/library/modules/_math-expm1.js b/library/modules/_math-expm1.js deleted file mode 100644 index 75c685014b66..000000000000 --- a/library/modules/_math-expm1.js +++ /dev/null @@ -1,10 +0,0 @@ -// 20.2.2.14 Math.expm1(x) -var $expm1 = Math.expm1; -module.exports = (!$expm1 - // Old FF bug - || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 - // Tor Browser bug - || $expm1(-2e-17) != -2e-17 -) ? function expm1(x) { - return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; -} : $expm1; diff --git a/library/modules/_math-fround.js b/library/modules/_math-fround.js deleted file mode 100644 index c85eb4b7ea5c..000000000000 --- a/library/modules/_math-fround.js +++ /dev/null @@ -1,23 +0,0 @@ -// 20.2.2.16 Math.fround(x) -var sign = require('./_math-sign'); -var pow = Math.pow; -var EPSILON = pow(2, -52); -var EPSILON32 = pow(2, -23); -var MAX32 = pow(2, 127) * (2 - EPSILON32); -var MIN32 = pow(2, -126); - -var roundTiesToEven = function (n) { - return n + 1 / EPSILON - 1 / EPSILON; -}; - -module.exports = Math.fround || function fround(x) { - var $abs = Math.abs(x); - var $sign = sign(x); - var a, result; - if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - // eslint-disable-next-line no-self-compare - if (result > MAX32 || result != result) return $sign * Infinity; - return $sign * result; -}; diff --git a/library/modules/_math-log1p.js b/library/modules/_math-log1p.js deleted file mode 100644 index 16d5f49311ff..000000000000 --- a/library/modules/_math-log1p.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.2.2.20 Math.log1p(x) -module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); -}; diff --git a/library/modules/_math-scale.js b/library/modules/_math-scale.js deleted file mode 100644 index ba3cdb20c629..000000000000 --- a/library/modules/_math-scale.js +++ /dev/null @@ -1,18 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { - if ( - arguments.length === 0 - // eslint-disable-next-line no-self-compare - || x != x - // eslint-disable-next-line no-self-compare - || inLow != inLow - // eslint-disable-next-line no-self-compare - || inHigh != inHigh - // eslint-disable-next-line no-self-compare - || outLow != outLow - // eslint-disable-next-line no-self-compare - || outHigh != outHigh - ) return NaN; - if (x === Infinity || x === -Infinity) return x; - return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; -}; diff --git a/library/modules/_math-sign.js b/library/modules/_math-sign.js deleted file mode 100644 index 7a46b9d08856..000000000000 --- a/library/modules/_math-sign.js +++ /dev/null @@ -1,5 +0,0 @@ -// 20.2.2.28 Math.sign(x) -module.exports = Math.sign || function sign(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; -}; diff --git a/library/modules/_meta.js b/library/modules/_meta.js deleted file mode 100644 index 2d4b32579993..000000000000 --- a/library/modules/_meta.js +++ /dev/null @@ -1,53 +0,0 @@ -var META = require('./_uid')('meta'); -var isObject = require('./_is-object'); -var has = require('./_has'); -var setDesc = require('./_object-dp').f; -var id = 0; -var isExtensible = Object.isExtensible || function () { - return true; -}; -var FREEZE = !require('./_fails')(function () { - return isExtensible(Object.preventExtensions({})); -}); -var setMeta = function (it) { - setDesc(it, META, { value: { - i: 'O' + ++id, // object ID - w: {} // weak collections IDs - } }); -}; -var fastKey = function (it, create) { - // return primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMeta(it); - // return object ID - } return it[META].i; -}; -var getWeak = function (it, create) { - if (!has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMeta(it); - // return hash weak collections IDs - } return it[META].w; -}; -// add metadata on freeze-family methods calling -var onFreeze = function (it) { - if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); - return it; -}; -var meta = module.exports = { - KEY: META, - NEED: false, - fastKey: fastKey, - getWeak: getWeak, - onFreeze: onFreeze -}; diff --git a/library/modules/_metadata.js b/library/modules/_metadata.js deleted file mode 100644 index be79988a1ffe..000000000000 --- a/library/modules/_metadata.js +++ /dev/null @@ -1,51 +0,0 @@ -var Map = require('./es.map'); -var $export = require('./_export'); -var shared = require('./_shared')('metadata'); -var store = shared.store || (shared.store = new (require('./es.weak-map'))()); - -var getOrCreateMetadataMap = function (target, targetKey, create) { - var targetMetadata = store.get(target); - if (!targetMetadata) { - if (!create) return undefined; - store.set(target, targetMetadata = new Map()); - } - var keyMetadata = targetMetadata.get(targetKey); - if (!keyMetadata) { - if (!create) return undefined; - targetMetadata.set(targetKey, keyMetadata = new Map()); - } return keyMetadata; -}; -var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? false : metadataMap.has(MetadataKey); -}; -var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); -}; -var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { - getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); -}; -var ordinaryOwnMetadataKeys = function (target, targetKey) { - var metadataMap = getOrCreateMetadataMap(target, targetKey, false); - var keys = []; - if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); - return keys; -}; -var toMetaKey = function (it) { - return it === undefined || typeof it == 'symbol' ? it : String(it); -}; -var exp = function (O) { - $export($export.S, 'Reflect', O); -}; - -module.exports = { - store: store, - map: getOrCreateMetadataMap, - has: ordinaryHasOwnMetadata, - get: ordinaryGetOwnMetadata, - set: ordinaryDefineOwnMetadata, - keys: ordinaryOwnMetadataKeys, - key: toMetaKey, - exp: exp -}; diff --git a/library/modules/_microtask.js b/library/modules/_microtask.js deleted file mode 100644 index 8a90f7d2ea98..000000000000 --- a/library/modules/_microtask.js +++ /dev/null @@ -1,68 +0,0 @@ -var global = require('./_global'); -var macrotask = require('./_task').set; -var Observer = global.MutationObserver || global.WebKitMutationObserver; -var process = global.process; -var Promise = global.Promise; -var isNode = require('./_cof')(process) == 'process'; - -module.exports = function () { - var head, last, notify; - - var flush = function () { - var parent, fn; - if (isNode && (parent = process.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (e) { - if (head) notify(); - else last = undefined; - throw e; - } - } last = undefined; - if (parent) parent.enter(); - }; - - // Node.js - if (isNode) { - notify = function () { - process.nextTick(flush); - }; - // browsers with MutationObserver - } else if (Observer) { - var toggle = true; - var node = document.createTextNode(''); - new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new - notify = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise && Promise.resolve) { - var promise = Promise.resolve(); - notify = function () { - promise.then(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout - } else { - notify = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global, flush); - }; - } - - return function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify(); - } last = task; - }; -}; diff --git a/library/modules/_new-promise-capability.js b/library/modules/_new-promise-capability.js deleted file mode 100644 index 82b74a33150d..000000000000 --- a/library/modules/_new-promise-capability.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; -// 25.4.1.5 NewPromiseCapability(C) -var aFunction = require('./_a-function'); - -function PromiseCapability(C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); -} - -module.exports.f = function (C) { - return new PromiseCapability(C); -}; diff --git a/library/modules/_object-assign.js b/library/modules/_object-assign.js deleted file mode 100644 index 7d4943a2a9b5..000000000000 --- a/library/modules/_object-assign.js +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; -// 19.1.2.1 Object.assign(target, source, ...) -var getKeys = require('./_object-keys'); -var gOPS = require('./_object-gops'); -var pIE = require('./_object-pie'); -var toObject = require('./_to-object'); -var IObject = require('./_iobject'); -var $assign = Object.assign; - -// should work with symbols and should have deterministic property order (V8 bug) -module.exports = !$assign || require('./_fails')(function () { - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var S = Symbol(); - var K = 'abcdefghijklmnopqrst'; - A[S] = 7; - K.split('').forEach(function (k) { B[k] = k; }); - return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; -}) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = toObject(target); - var aLen = arguments.length; - var index = 1; - var getSymbols = gOPS.f; - var isEnum = pIE.f; - while (aLen > index) { - var S = IObject(arguments[index++]); - var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; - } return T; -} : $assign; diff --git a/library/modules/_object-create.js b/library/modules/_object-create.js deleted file mode 100644 index a76808ea618f..000000000000 --- a/library/modules/_object-create.js +++ /dev/null @@ -1,41 +0,0 @@ -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = require('./_an-object'); -var dPs = require('./_object-dps'); -var enumBugKeys = require('./_enum-bug-keys'); -var IE_PROTO = require('./_shared-key')('IE_PROTO'); -var Empty = function () { /* empty */ }; -var PROTOTYPE = 'prototype'; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var createDict = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = require('./_dom-create')('iframe'); - var i = enumBugKeys.length; - var lt = '<'; - var gt = '>'; - var iframeDocument; - iframe.style.display = 'none'; - require('./_html').appendChild(iframe); - iframe.src = 'javascript:'; // eslint-disable-line no-script-url - // createDict = iframe.contentWindow.Object; - // html.removeChild(iframe); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); - iframeDocument.close(); - createDict = iframeDocument.F; - while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; - return createDict(); -}; - -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - Empty[PROTOTYPE] = anObject(O); - result = new Empty(); - Empty[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = createDict(); - return Properties === undefined ? result : dPs(result, Properties); -}; diff --git a/library/modules/_object-dp.js b/library/modules/_object-dp.js deleted file mode 100644 index 0340a8308d11..000000000000 --- a/library/modules/_object-dp.js +++ /dev/null @@ -1,16 +0,0 @@ -var anObject = require('./_an-object'); -var IE8_DOM_DEFINE = require('./_ie8-dom-define'); -var toPrimitive = require('./_to-primitive'); -var dP = Object.defineProperty; - -exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return dP(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; diff --git a/library/modules/_object-dps.js b/library/modules/_object-dps.js deleted file mode 100644 index 173c338ff91d..000000000000 --- a/library/modules/_object-dps.js +++ /dev/null @@ -1,13 +0,0 @@ -var dP = require('./_object-dp'); -var anObject = require('./_an-object'); -var getKeys = require('./_object-keys'); - -module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = getKeys(Properties); - var length = keys.length; - var i = 0; - var P; - while (length > i) dP.f(O, P = keys[i++], Properties[P]); - return O; -}; diff --git a/library/modules/_object-forced-pam.js b/library/modules/_object-forced-pam.js deleted file mode 100644 index 71ede9225ab3..000000000000 --- a/library/modules/_object-forced-pam.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -// Forced replacement prototype accessors methods -module.exports = require('./_library') || !require('./_fails')(function () { - var K = Math.random(); - // In FF throws only define methods - // eslint-disable-next-line no-undef, no-useless-call - __defineSetter__.call(null, K, function () { /* empty */ }); - delete require('./_global')[K]; -}); diff --git a/library/modules/_object-gopd.js b/library/modules/_object-gopd.js deleted file mode 100644 index 555dd31a5bc0..000000000000 --- a/library/modules/_object-gopd.js +++ /dev/null @@ -1,16 +0,0 @@ -var pIE = require('./_object-pie'); -var createDesc = require('./_property-desc'); -var toIObject = require('./_to-iobject'); -var toPrimitive = require('./_to-primitive'); -var has = require('./_has'); -var IE8_DOM_DEFINE = require('./_ie8-dom-define'); -var gOPD = Object.getOwnPropertyDescriptor; - -exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) { - O = toIObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return gOPD(O, P); - } catch (e) { /* empty */ } - if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); -}; diff --git a/library/modules/_object-gopn-ext.js b/library/modules/_object-gopn-ext.js deleted file mode 100644 index 4abb6ae83c4f..000000000000 --- a/library/modules/_object-gopn-ext.js +++ /dev/null @@ -1,19 +0,0 @@ -// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window -var toIObject = require('./_to-iobject'); -var gOPN = require('./_object-gopn').f; -var toString = {}.toString; - -var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - -var getWindowNames = function (it) { - try { - return gOPN(it); - } catch (e) { - return windowNames.slice(); - } -}; - -module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); -}; diff --git a/library/modules/_object-gopn.js b/library/modules/_object-gopn.js deleted file mode 100644 index da82333f60ec..000000000000 --- a/library/modules/_object-gopn.js +++ /dev/null @@ -1,7 +0,0 @@ -// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) -var $keys = require('./_object-keys-internal'); -var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype'); - -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return $keys(O, hiddenKeys); -}; diff --git a/library/modules/_object-gops.js b/library/modules/_object-gops.js deleted file mode 100644 index bc0672905641..000000000000 --- a/library/modules/_object-gops.js +++ /dev/null @@ -1 +0,0 @@ -exports.f = Object.getOwnPropertySymbols; diff --git a/library/modules/_object-gpo.js b/library/modules/_object-gpo.js deleted file mode 100644 index 27f2a94e8869..000000000000 --- a/library/modules/_object-gpo.js +++ /dev/null @@ -1,13 +0,0 @@ -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = require('./_has'); -var toObject = require('./_to-object'); -var IE_PROTO = require('./_shared-key')('IE_PROTO'); -var ObjectProto = Object.prototype; - -module.exports = Object.getPrototypeOf || function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectProto : null; -}; diff --git a/library/modules/_object-keys-internal.js b/library/modules/_object-keys-internal.js deleted file mode 100644 index 71abdd1a5356..000000000000 --- a/library/modules/_object-keys-internal.js +++ /dev/null @@ -1,17 +0,0 @@ -var has = require('./_has'); -var toIObject = require('./_to-iobject'); -var arrayIndexOf = require('./_array-includes')(false); -var IE_PROTO = require('./_shared-key')('IE_PROTO'); - -module.exports = function (object, names) { - var O = toIObject(object); - var i = 0; - var result = []; - var key; - for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~arrayIndexOf(result, key) || result.push(key); - } - return result; -}; diff --git a/library/modules/_object-keys.js b/library/modules/_object-keys.js deleted file mode 100644 index 62f73f91eee9..000000000000 --- a/library/modules/_object-keys.js +++ /dev/null @@ -1,7 +0,0 @@ -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = require('./_object-keys-internal'); -var enumBugKeys = require('./_enum-bug-keys'); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; diff --git a/library/modules/_object-pie.js b/library/modules/_object-pie.js deleted file mode 100644 index 4cc71072d361..000000000000 --- a/library/modules/_object-pie.js +++ /dev/null @@ -1 +0,0 @@ -exports.f = {}.propertyIsEnumerable; diff --git a/library/modules/_object-sap.js b/library/modules/_object-sap.js deleted file mode 100644 index 13249c3b6e76..000000000000 --- a/library/modules/_object-sap.js +++ /dev/null @@ -1,10 +0,0 @@ -// most Object methods by ES2015+ should accept primitives -var $export = require('./_export'); -var core = require('./_core'); -var fails = require('./_fails'); -module.exports = function (KEY, exec) { - var fn = (core.Object || {})[KEY] || Object[KEY]; - var exp = {}; - exp[KEY] = exec(fn); - $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); -}; diff --git a/library/modules/_object-to-array.js b/library/modules/_object-to-array.js deleted file mode 100644 index 120100d09190..000000000000 --- a/library/modules/_object-to-array.js +++ /dev/null @@ -1,16 +0,0 @@ -var getKeys = require('./_object-keys'); -var toIObject = require('./_to-iobject'); -var isEnum = require('./_object-pie').f; -module.exports = function (isEntries) { - return function (it) { - var O = toIObject(it); - var keys = getKeys(O); - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) if (isEnum.call(O, key = keys[i++])) { - result.push(isEntries ? [key, O[key]] : O[key]); - } return result; - }; -}; diff --git a/library/modules/_own-keys.js b/library/modules/_own-keys.js deleted file mode 100644 index 84faece8f44f..000000000000 --- a/library/modules/_own-keys.js +++ /dev/null @@ -1,10 +0,0 @@ -// all object keys, includes non-enumerable and symbols -var gOPN = require('./_object-gopn'); -var gOPS = require('./_object-gops'); -var anObject = require('./_an-object'); -var Reflect = require('./_global').Reflect; -module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { - var keys = gOPN.f(anObject(it)); - var getSymbols = gOPS.f; - return getSymbols ? keys.concat(getSymbols(it)) : keys; -}; diff --git a/library/modules/_parse-float.js b/library/modules/_parse-float.js deleted file mode 100644 index acfb350f934c..000000000000 --- a/library/modules/_parse-float.js +++ /dev/null @@ -1,8 +0,0 @@ -var $parseFloat = require('./_global').parseFloat; -var $trim = require('./_string-trim').trim; - -module.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) { - var string = $trim(String(str), 3); - var result = $parseFloat(string); - return result === 0 && string.charAt(0) == '-' ? -0 : result; -} : $parseFloat; diff --git a/library/modules/_parse-int.js b/library/modules/_parse-int.js deleted file mode 100644 index ddd7172a987b..000000000000 --- a/library/modules/_parse-int.js +++ /dev/null @@ -1,9 +0,0 @@ -var $parseInt = require('./_global').parseInt; -var $trim = require('./_string-trim').trim; -var ws = require('./_string-ws'); -var hex = /^[-+]?0[xX]/; - -module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { - var string = $trim(String(str), 3); - return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); -} : $parseInt; diff --git a/library/modules/_perform.js b/library/modules/_perform.js deleted file mode 100644 index bfc7b296da95..000000000000 --- a/library/modules/_perform.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = function (exec) { - try { - return { e: false, v: exec() }; - } catch (e) { - return { e: true, v: e }; - } -}; diff --git a/library/modules/_promise-resolve.js b/library/modules/_promise-resolve.js deleted file mode 100644 index c3cac7646da8..000000000000 --- a/library/modules/_promise-resolve.js +++ /dev/null @@ -1,12 +0,0 @@ -var anObject = require('./_an-object'); -var isObject = require('./_is-object'); -var newPromiseCapability = require('./_new-promise-capability'); - -module.exports = function (C, x) { - anObject(C); - if (isObject(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; -}; diff --git a/library/modules/_property-desc.js b/library/modules/_property-desc.js deleted file mode 100644 index 090593405ff9..000000000000 --- a/library/modules/_property-desc.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; diff --git a/library/modules/_redefine-all.js b/library/modules/_redefine-all.js deleted file mode 100644 index bf8c0ea39eb8..000000000000 --- a/library/modules/_redefine-all.js +++ /dev/null @@ -1,7 +0,0 @@ -var hide = require('./_hide'); -module.exports = function (target, src, safe) { - for (var key in src) { - if (safe && target[key]) target[key] = src[key]; - else hide(target, key, src[key]); - } return target; -}; diff --git a/library/modules/_redefine.js b/library/modules/_redefine.js deleted file mode 100644 index fde6108efd5d..000000000000 --- a/library/modules/_redefine.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./_hide'); diff --git a/library/modules/_same-value.js b/library/modules/_same-value.js deleted file mode 100644 index c6d045e831b7..000000000000 --- a/library/modules/_same-value.js +++ /dev/null @@ -1,5 +0,0 @@ -// 7.2.9 SameValue(x, y) -module.exports = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; -}; diff --git a/library/modules/_set-collection-from.js b/library/modules/_set-collection-from.js deleted file mode 100644 index d5001f93e996..000000000000 --- a/library/modules/_set-collection-from.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; -// https://tc39.github.io/proposal-setmap-offrom/ -var $export = require('./_export'); -var aFunction = require('./_a-function'); -var ctx = require('./_ctx'); -var forOf = require('./_for-of'); - -module.exports = function (COLLECTION) { - $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { - var mapFn = arguments[1]; - var mapping, A, n, cb; - aFunction(this); - mapping = mapFn !== undefined; - if (mapping) aFunction(mapFn); - if (source == undefined) return new this(); - A = []; - if (mapping) { - n = 0; - cb = ctx(mapFn, arguments[2], 2); - forOf(source, false, function (nextItem) { - A.push(cb(nextItem, n++)); - }); - } else { - forOf(source, false, A.push, A); - } - return new this(A); - } }); -}; diff --git a/library/modules/_set-collection-of.js b/library/modules/_set-collection-of.js deleted file mode 100644 index f559af3fc27d..000000000000 --- a/library/modules/_set-collection-of.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -// https://tc39.github.io/proposal-setmap-offrom/ -var $export = require('./_export'); - -module.exports = function (COLLECTION) { - $export($export.S, COLLECTION, { of: function of() { - var length = arguments.length; - var A = new Array(length); - while (length--) A[length] = arguments[length]; - return new this(A); - } }); -}; diff --git a/library/modules/_set-proto.js b/library/modules/_set-proto.js deleted file mode 100644 index c1990622ec9d..000000000000 --- a/library/modules/_set-proto.js +++ /dev/null @@ -1,25 +0,0 @@ -// Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ -var isObject = require('./_is-object'); -var anObject = require('./_an-object'); -var check = function (O, proto) { - anObject(O); - if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); -}; -module.exports = { - set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line - function (test, buggy, set) { - try { - set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2); - set(test, []); - buggy = !(test instanceof Array); - } catch (e) { buggy = true; } - return function setPrototypeOf(O, proto) { - check(O, proto); - if (buggy) O.__proto__ = proto; - else set(O, proto); - return O; - }; - }({}, false) : undefined), - check: check -}; diff --git a/library/modules/_set-species.js b/library/modules/_set-species.js deleted file mode 100644 index 1f25fde1e318..000000000000 --- a/library/modules/_set-species.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -var global = require('./_global'); -var core = require('./_core'); -var dP = require('./_object-dp'); -var DESCRIPTORS = require('./_descriptors'); -var SPECIES = require('./_wks')('species'); - -module.exports = function (KEY) { - var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; - if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { - configurable: true, - get: function () { return this; } - }); -}; diff --git a/library/modules/_set-to-string-tag.js b/library/modules/_set-to-string-tag.js deleted file mode 100644 index 5bd64144f0dd..000000000000 --- a/library/modules/_set-to-string-tag.js +++ /dev/null @@ -1,7 +0,0 @@ -var def = require('./_object-dp').f; -var has = require('./_has'); -var TAG = require('./_wks')('toStringTag'); - -module.exports = function (it, tag, stat) { - if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); -}; diff --git a/library/modules/_shared-key.js b/library/modules/_shared-key.js deleted file mode 100644 index d47fe7a28128..000000000000 --- a/library/modules/_shared-key.js +++ /dev/null @@ -1,5 +0,0 @@ -var shared = require('./_shared')('keys'); -var uid = require('./_uid'); -module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); -}; diff --git a/library/modules/_shared.js b/library/modules/_shared.js deleted file mode 100644 index 4d8f927f6d6a..000000000000 --- a/library/modules/_shared.js +++ /dev/null @@ -1,6 +0,0 @@ -var global = require('./_global'); -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || (global[SHARED] = {}); -module.exports = function (key) { - return store[key] || (store[key] = {}); -}; diff --git a/library/modules/_species-constructor.js b/library/modules/_species-constructor.js deleted file mode 100644 index 0cb4ffb8fc8f..000000000000 --- a/library/modules/_species-constructor.js +++ /dev/null @@ -1,9 +0,0 @@ -// 7.3.20 SpeciesConstructor(O, defaultConstructor) -var anObject = require('./_an-object'); -var aFunction = require('./_a-function'); -var SPECIES = require('./_wks')('species'); -module.exports = function (O, D) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); -}; diff --git a/library/modules/_strict-method.js b/library/modules/_strict-method.js deleted file mode 100644 index e68f41bb62c8..000000000000 --- a/library/modules/_strict-method.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -var fails = require('./_fails'); - -module.exports = function (method, arg) { - return !!method && fails(function () { - // eslint-disable-next-line no-useless-call - arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); - }); -}; diff --git a/library/modules/_string-at.js b/library/modules/_string-at.js deleted file mode 100644 index 88d66bd18eb2..000000000000 --- a/library/modules/_string-at.js +++ /dev/null @@ -1,17 +0,0 @@ -var toInteger = require('./_to-integer'); -var defined = require('./_defined'); -// true -> String#at -// false -> String#codePointAt -module.exports = function (TO_STRING) { - return function (that, pos) { - var s = String(defined(that)); - var i = toInteger(pos); - var l = s.length; - var a, b; - if (i < 0 || i >= l) return TO_STRING ? '' : undefined; - a = s.charCodeAt(i); - return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff - ? TO_STRING ? s.charAt(i) : a - : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; - }; -}; diff --git a/library/modules/_string-context.js b/library/modules/_string-context.js deleted file mode 100644 index becf3fbebea9..000000000000 --- a/library/modules/_string-context.js +++ /dev/null @@ -1,8 +0,0 @@ -// helper for String#{startsWith, endsWith, includes} -var isRegExp = require('./_is-regexp'); -var defined = require('./_defined'); - -module.exports = function (that, searchString, NAME) { - if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); - return String(defined(that)); -}; diff --git a/library/modules/_string-html.js b/library/modules/_string-html.js deleted file mode 100644 index 1dcc95bcd659..000000000000 --- a/library/modules/_string-html.js +++ /dev/null @@ -1,19 +0,0 @@ -var $export = require('./_export'); -var fails = require('./_fails'); -var defined = require('./_defined'); -var quot = /"/g; -// B.2.3.2.1 CreateHTML(string, tag, attribute, value) -var createHTML = function (string, tag, attribute, value) { - var S = String(defined(string)); - var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; - return p1 + '>' + S + ''; -}; -module.exports = function (NAME, exec) { - var O = {}; - O[NAME] = exec(createHTML); - $export($export.P + $export.F * fails(function () { - var test = ''[NAME]('"'); - return test !== test.toLowerCase() || test.split('"').length > 3; - }), 'String', O); -}; diff --git a/library/modules/_string-pad.js b/library/modules/_string-pad.js deleted file mode 100644 index ceb6077f055c..000000000000 --- a/library/modules/_string-pad.js +++ /dev/null @@ -1,16 +0,0 @@ -// https://github.com/tc39/proposal-string-pad-start-end -var toLength = require('./_to-length'); -var repeat = require('./_string-repeat'); -var defined = require('./_defined'); - -module.exports = function (that, maxLength, fillString, left) { - var S = String(defined(that)); - var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : String(fillString); - var intMaxLength = toLength(maxLength); - if (intMaxLength <= stringLength || fillStr == '') return S; - var fillLen = intMaxLength - stringLength; - var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); - return left ? stringFiller + S : S + stringFiller; -}; diff --git a/library/modules/_string-repeat.js b/library/modules/_string-repeat.js deleted file mode 100644 index a69b9626b7d9..000000000000 --- a/library/modules/_string-repeat.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -var toInteger = require('./_to-integer'); -var defined = require('./_defined'); - -module.exports = function repeat(count) { - var str = String(defined(this)); - var res = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); - for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; - return res; -}; diff --git a/library/modules/_string-trim.js b/library/modules/_string-trim.js deleted file mode 100644 index 6b54a81a848c..000000000000 --- a/library/modules/_string-trim.js +++ /dev/null @@ -1,30 +0,0 @@ -var $export = require('./_export'); -var defined = require('./_defined'); -var fails = require('./_fails'); -var spaces = require('./_string-ws'); -var space = '[' + spaces + ']'; -var non = '\u200b\u0085'; -var ltrim = RegExp('^' + space + space + '*'); -var rtrim = RegExp(space + space + '*$'); - -var exporter = function (KEY, exec, ALIAS) { - var exp = {}; - var FORCE = fails(function () { - return !!spaces[KEY]() || non[KEY]() != non; - }); - var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; - if (ALIAS) exp[ALIAS] = fn; - $export($export.P + $export.F * FORCE, 'String', exp); -}; - -// 1 -> String#trimLeft -// 2 -> String#trimRight -// 3 -> String#trim -var trim = exporter.trim = function (string, TYPE) { - string = String(defined(string)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; -}; - -module.exports = exporter; diff --git a/library/modules/_string-ws.js b/library/modules/_string-ws.js deleted file mode 100644 index 2c68cf9f4bae..000000000000 --- a/library/modules/_string-ws.js +++ /dev/null @@ -1,2 +0,0 @@ -module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; diff --git a/library/modules/_task.js b/library/modules/_task.js deleted file mode 100644 index 8777a6e28baf..000000000000 --- a/library/modules/_task.js +++ /dev/null @@ -1,84 +0,0 @@ -var ctx = require('./_ctx'); -var invoke = require('./_invoke'); -var html = require('./_html'); -var cel = require('./_dom-create'); -var global = require('./_global'); -var process = global.process; -var setTask = global.setImmediate; -var clearTask = global.clearImmediate; -var MessageChannel = global.MessageChannel; -var Dispatch = global.Dispatch; -var counter = 0; -var queue = {}; -var ONREADYSTATECHANGE = 'onreadystatechange'; -var defer, channel, port; -var run = function () { - var id = +this; - // eslint-disable-next-line no-prototype-builtins - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } -}; -var listener = function (event) { - run.call(event.data); -}; -// Node.js 0.9+ & IE10+ has setImmediate, otherwise: -if (!setTask || !clearTask) { - setTask = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func - invoke(typeof fn == 'function' ? fn : Function(fn), args); - }; - defer(counter); - return counter; - }; - clearTask = function clearImmediate(id) { - delete queue[id]; - }; - // Node.js 0.8- - if (require('./_cof')(process) == 'process') { - defer = function (id) { - process.nextTick(ctx(run, id, 1)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(ctx(run, id, 1)); - }; - // Browsers with MessageChannel, includes WebWorkers - } else if (MessageChannel) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = ctx(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { - defer = function (id) { - global.postMessage(id + '', '*'); - }; - global.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in cel('script')) { - defer = function (id) { - html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { - html.removeChild(this); - run.call(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(ctx(run, id, 1), 0); - }; - } -} -module.exports = { - set: setTask, - clear: clearTask -}; diff --git a/library/modules/_to-absolute-index.js b/library/modules/_to-absolute-index.js deleted file mode 100644 index dfee02e8e25c..000000000000 --- a/library/modules/_to-absolute-index.js +++ /dev/null @@ -1,7 +0,0 @@ -var toInteger = require('./_to-integer'); -var max = Math.max; -var min = Math.min; -module.exports = function (index, length) { - index = toInteger(index); - return index < 0 ? max(index + length, 0) : min(index, length); -}; diff --git a/library/modules/_to-index.js b/library/modules/_to-index.js deleted file mode 100644 index 8f51c32d26fc..000000000000 --- a/library/modules/_to-index.js +++ /dev/null @@ -1,10 +0,0 @@ -// https://tc39.github.io/ecma262/#sec-toindex -var toInteger = require('./_to-integer'); -var toLength = require('./_to-length'); -module.exports = function (it) { - if (it === undefined) return 0; - var number = toInteger(it); - var length = toLength(number); - if (number !== length) throw RangeError('Wrong length!'); - return length; -}; diff --git a/library/modules/_to-integer.js b/library/modules/_to-integer.js deleted file mode 100644 index 3d50f97dd80a..000000000000 --- a/library/modules/_to-integer.js +++ /dev/null @@ -1,6 +0,0 @@ -// 7.1.4 ToInteger -var ceil = Math.ceil; -var floor = Math.floor; -module.exports = function (it) { - return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); -}; diff --git a/library/modules/_to-iobject.js b/library/modules/_to-iobject.js deleted file mode 100644 index 7614503a2e7b..000000000000 --- a/library/modules/_to-iobject.js +++ /dev/null @@ -1,6 +0,0 @@ -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = require('./_iobject'); -var defined = require('./_defined'); -module.exports = function (it) { - return IObject(defined(it)); -}; diff --git a/library/modules/_to-length.js b/library/modules/_to-length.js deleted file mode 100644 index a9db50173557..000000000000 --- a/library/modules/_to-length.js +++ /dev/null @@ -1,6 +0,0 @@ -// 7.1.15 ToLength -var toInteger = require('./_to-integer'); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; diff --git a/library/modules/_to-object.js b/library/modules/_to-object.js deleted file mode 100644 index 0efea4c69656..000000000000 --- a/library/modules/_to-object.js +++ /dev/null @@ -1,5 +0,0 @@ -// 7.1.13 ToObject(argument) -var defined = require('./_defined'); -module.exports = function (it) { - return Object(defined(it)); -}; diff --git a/library/modules/_to-primitive.js b/library/modules/_to-primitive.js deleted file mode 100644 index de3dd6b19d11..000000000000 --- a/library/modules/_to-primitive.js +++ /dev/null @@ -1,12 +0,0 @@ -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = require('./_is-object'); -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); -}; diff --git a/library/modules/_typed-array.js b/library/modules/_typed-array.js deleted file mode 100644 index f47ec8a24ee8..000000000000 --- a/library/modules/_typed-array.js +++ /dev/null @@ -1,480 +0,0 @@ -'use strict'; -if (require('./_descriptors')) { - var LIBRARY = require('./_library'); - var global = require('./_global'); - var fails = require('./_fails'); - var $export = require('./_export'); - var $typed = require('./_typed'); - var $buffer = require('./_typed-buffer'); - var ctx = require('./_ctx'); - var anInstance = require('./_an-instance'); - var propertyDesc = require('./_property-desc'); - var hide = require('./_hide'); - var redefineAll = require('./_redefine-all'); - var toInteger = require('./_to-integer'); - var toLength = require('./_to-length'); - var toIndex = require('./_to-index'); - var toAbsoluteIndex = require('./_to-absolute-index'); - var toPrimitive = require('./_to-primitive'); - var has = require('./_has'); - var classof = require('./_classof'); - var isObject = require('./_is-object'); - var toObject = require('./_to-object'); - var isArrayIter = require('./_is-array-iter'); - var create = require('./_object-create'); - var getPrototypeOf = require('./_object-gpo'); - var gOPN = require('./_object-gopn').f; - var getIterFn = require('./core.get-iterator-method'); - var uid = require('./_uid'); - var wks = require('./_wks'); - var createArrayMethod = require('./_array-methods'); - var createArrayIncludes = require('./_array-includes'); - var speciesConstructor = require('./_species-constructor'); - var ArrayIterators = require('./es.array.iterator'); - var Iterators = require('./_iterators'); - var $iterDetect = require('./_iter-detect'); - var setSpecies = require('./_set-species'); - var arrayFill = require('./_array-fill'); - var arrayCopyWithin = require('./_array-copy-within'); - var $DP = require('./_object-dp'); - var $GOPD = require('./_object-gopd'); - var dP = $DP.f; - var gOPD = $GOPD.f; - var RangeError = global.RangeError; - var TypeError = global.TypeError; - var Uint8Array = global.Uint8Array; - var ARRAY_BUFFER = 'ArrayBuffer'; - var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; - var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; - var PROTOTYPE = 'prototype'; - var ArrayProto = Array[PROTOTYPE]; - var $ArrayBuffer = $buffer.ArrayBuffer; - var $DataView = $buffer.DataView; - var arrayForEach = createArrayMethod(0); - var arrayFilter = createArrayMethod(2); - var arraySome = createArrayMethod(3); - var arrayEvery = createArrayMethod(4); - var arrayFind = createArrayMethod(5); - var arrayFindIndex = createArrayMethod(6); - var arrayIncludes = createArrayIncludes(true); - var arrayIndexOf = createArrayIncludes(false); - var arrayValues = ArrayIterators.values; - var arrayKeys = ArrayIterators.keys; - var arrayEntries = ArrayIterators.entries; - var arrayLastIndexOf = ArrayProto.lastIndexOf; - var arrayReduce = ArrayProto.reduce; - var arrayReduceRight = ArrayProto.reduceRight; - var arrayJoin = ArrayProto.join; - var arraySort = ArrayProto.sort; - var arraySlice = ArrayProto.slice; - var arrayToString = ArrayProto.toString; - var arrayToLocaleString = ArrayProto.toLocaleString; - var ITERATOR = wks('iterator'); - var TAG = wks('toStringTag'); - var TYPED_CONSTRUCTOR = uid('typed_constructor'); - var DEF_CONSTRUCTOR = uid('def_constructor'); - var ALL_CONSTRUCTORS = $typed.CONSTR; - var TYPED_ARRAY = $typed.TYPED; - var VIEW = $typed.VIEW; - var WRONG_LENGTH = 'Wrong length!'; - - var $map = createArrayMethod(1, function (O, length) { - return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); - }); - - var LITTLE_ENDIAN = fails(function () { - // eslint-disable-next-line no-undef - return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; - }); - - var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { - new Uint8Array(1).set({}); - }); - - var toOffset = function (it, BYTES) { - var offset = toInteger(it); - if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); - return offset; - }; - - var validate = function (it) { - if (isObject(it) && TYPED_ARRAY in it) return it; - throw TypeError(it + ' is not a typed array!'); - }; - - var allocate = function (C, length) { - if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { - throw TypeError('It is not a typed array constructor!'); - } return new C(length); - }; - - var speciesFromList = function (O, list) { - return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); - }; - - var fromList = function (C, list) { - var index = 0; - var length = list.length; - var result = allocate(C, length); - while (length > index) result[index] = list[index++]; - return result; - }; - - var addGetter = function (it, key, internal) { - dP(it, key, { get: function () { return this._d[internal]; } }); - }; - - var $from = function from(source /* , mapfn, thisArg */) { - var O = toObject(source); - var aLen = arguments.length; - var mapfn = aLen > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iterFn = getIterFn(O); - var i, length, values, result, step, iterator; - if (iterFn != undefined && !isArrayIter(iterFn)) { - for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { - values.push(step.value); - } O = values; - } - if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); - for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { - result[i] = mapping ? mapfn(O[i], i) : O[i]; - } - return result; - }; - - var $of = function of(/* ...items */) { - var index = 0; - var length = arguments.length; - var result = allocate(this, length); - while (length > index) result[index] = arguments[index++]; - return result; - }; - - // iOS Safari 6.x fails here - var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); - - var $toLocaleString = function toLocaleString() { - return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); - }; - - var proto = { - copyWithin: function copyWithin(target, start /* , end */) { - return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); - }, - every: function every(callbackfn /* , thisArg */) { - return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars - return arrayFill.apply(validate(this), arguments); - }, - filter: function filter(callbackfn /* , thisArg */) { - return speciesFromList(this, arrayFilter(validate(this), callbackfn, - arguments.length > 1 ? arguments[1] : undefined)); - }, - find: function find(predicate /* , thisArg */) { - return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }, - findIndex: function findIndex(predicate /* , thisArg */) { - return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }, - forEach: function forEach(callbackfn /* , thisArg */) { - arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - indexOf: function indexOf(searchElement /* , fromIndex */) { - return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }, - includes: function includes(searchElement /* , fromIndex */) { - return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }, - join: function join(separator) { // eslint-disable-line no-unused-vars - return arrayJoin.apply(validate(this), arguments); - }, - lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars - return arrayLastIndexOf.apply(validate(this), arguments); - }, - map: function map(mapfn /* , thisArg */) { - return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); - }, - reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars - return arrayReduce.apply(validate(this), arguments); - }, - reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars - return arrayReduceRight.apply(validate(this), arguments); - }, - reverse: function reverse() { - var that = this; - var length = validate(that).length; - var middle = Math.floor(length / 2); - var index = 0; - var value; - while (index < middle) { - value = that[index]; - that[index++] = that[--length]; - that[length] = value; - } return that; - }, - some: function some(callbackfn /* , thisArg */) { - return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - sort: function sort(comparefn) { - return arraySort.call(validate(this), comparefn); - }, - subarray: function subarray(begin, end) { - var O = validate(this); - var length = O.length; - var $begin = toAbsoluteIndex(begin, length); - return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( - O.buffer, - O.byteOffset + $begin * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) - ); - } - }; - - var $slice = function slice(start, end) { - return speciesFromList(this, arraySlice.call(validate(this), start, end)); - }; - - var $set = function set(arrayLike /* , offset */) { - validate(this); - var offset = toOffset(arguments[1], 1); - var length = this.length; - var src = toObject(arrayLike); - var len = toLength(src.length); - var index = 0; - if (len + offset > length) throw RangeError(WRONG_LENGTH); - while (index < len) this[offset + index] = src[index++]; - }; - - var $iterators = { - entries: function entries() { - return arrayEntries.call(validate(this)); - }, - keys: function keys() { - return arrayKeys.call(validate(this)); - }, - values: function values() { - return arrayValues.call(validate(this)); - } - }; - - var isTAIndex = function (target, key) { - return isObject(target) - && target[TYPED_ARRAY] - && typeof key != 'symbol' - && key in target - && String(+key) == String(key); - }; - var $getDesc = function getOwnPropertyDescriptor(target, key) { - return isTAIndex(target, key = toPrimitive(key, true)) - ? propertyDesc(2, target[key]) - : gOPD(target, key); - }; - var $setDesc = function defineProperty(target, key, desc) { - if (isTAIndex(target, key = toPrimitive(key, true)) - && isObject(desc) - && has(desc, 'value') - && !has(desc, 'get') - && !has(desc, 'set') - // TODO: add validation descriptor w/o calling accessors - && !desc.configurable - && (!has(desc, 'writable') || desc.writable) - && (!has(desc, 'enumerable') || desc.enumerable) - ) { - target[key] = desc.value; - return target; - } return dP(target, key, desc); - }; - - if (!ALL_CONSTRUCTORS) { - $GOPD.f = $getDesc; - $DP.f = $setDesc; - } - - $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { - getOwnPropertyDescriptor: $getDesc, - defineProperty: $setDesc - }); - - if (fails(function () { arrayToString.call({}); })) { - arrayToString = arrayToLocaleString = function toString() { - return arrayJoin.call(this); - }; - } - - var $TypedArrayPrototype$ = redefineAll({}, proto); - redefineAll($TypedArrayPrototype$, $iterators); - hide($TypedArrayPrototype$, ITERATOR, $iterators.values); - redefineAll($TypedArrayPrototype$, { - slice: $slice, - set: $set, - constructor: function () { /* noop */ }, - toString: arrayToString, - toLocaleString: $toLocaleString - }); - addGetter($TypedArrayPrototype$, 'buffer', 'b'); - addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); - addGetter($TypedArrayPrototype$, 'byteLength', 'l'); - addGetter($TypedArrayPrototype$, 'length', 'e'); - dP($TypedArrayPrototype$, TAG, { - get: function () { return this[TYPED_ARRAY]; } - }); - - // eslint-disable-next-line max-statements - module.exports = function (KEY, BYTES, wrapper, CLAMPED) { - CLAMPED = !!CLAMPED; - var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; - var GETTER = 'get' + KEY; - var SETTER = 'set' + KEY; - var TypedArray = global[NAME]; - var Base = TypedArray || {}; - var TAC = TypedArray && getPrototypeOf(TypedArray); - var FORCED = !TypedArray || !$typed.ABV; - var O = {}; - var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; - var getter = function (that, index) { - var data = that._d; - return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); - }; - var setter = function (that, index, value) { - var data = that._d; - if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; - data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); - }; - var addElement = function (that, index) { - dP(that, index, { - get: function () { - return getter(this, index); - }, - set: function (value) { - return setter(this, index, value); - }, - enumerable: true - }); - }; - if (FORCED) { - TypedArray = wrapper(function (that, data, $offset, $length) { - anInstance(that, TypedArray, NAME, '_d'); - var index = 0; - var offset = 0; - var buffer, byteLength, length, klass; - if (!isObject(data)) { - length = toIndex(data); - byteLength = length * BYTES; - buffer = new $ArrayBuffer(byteLength); - } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { - buffer = data; - offset = toOffset($offset, BYTES); - var $len = data.byteLength; - if ($length === undefined) { - if ($len % BYTES) throw RangeError(WRONG_LENGTH); - byteLength = $len - offset; - if (byteLength < 0) throw RangeError(WRONG_LENGTH); - } else { - byteLength = toLength($length) * BYTES; - if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); - } - length = byteLength / BYTES; - } else if (TYPED_ARRAY in data) { - return fromList(TypedArray, data); - } else { - return $from.call(TypedArray, data); - } - hide(that, '_d', { - b: buffer, - o: offset, - l: byteLength, - e: length, - v: new $DataView(buffer) - }); - while (index < length) addElement(that, index++); - }); - TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); - hide(TypedArrayPrototype, 'constructor', TypedArray); - } else if (!fails(function () { - TypedArray(1); - }) || !fails(function () { - new TypedArray(-1); // eslint-disable-line no-new - }) || !$iterDetect(function (iter) { - new TypedArray(); // eslint-disable-line no-new - new TypedArray(null); // eslint-disable-line no-new - new TypedArray(1.5); // eslint-disable-line no-new - new TypedArray(iter); // eslint-disable-line no-new - }, true)) { - TypedArray = wrapper(function (that, data, $offset, $length) { - anInstance(that, TypedArray, NAME); - var klass; - // `ws` module bug, temporarily remove validation length for Uint8Array - // https://github.com/websockets/ws/pull/645 - if (!isObject(data)) return new Base(toIndex(data)); - if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { - return $length !== undefined - ? new Base(data, toOffset($offset, BYTES), $length) - : $offset !== undefined - ? new Base(data, toOffset($offset, BYTES)) - : new Base(data); - } - if (TYPED_ARRAY in data) return fromList(TypedArray, data); - return $from.call(TypedArray, data); - }); - arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { - if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); - }); - TypedArray[PROTOTYPE] = TypedArrayPrototype; - if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; - } - var $nativeIterator = TypedArrayPrototype[ITERATOR]; - var CORRECT_ITER_NAME = !!$nativeIterator - && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); - var $iterator = $iterators.values; - hide(TypedArray, TYPED_CONSTRUCTOR, true); - hide(TypedArrayPrototype, TYPED_ARRAY, NAME); - hide(TypedArrayPrototype, VIEW, true); - hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); - - if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { - dP(TypedArrayPrototype, TAG, { - get: function () { return NAME; } - }); - } - - O[NAME] = TypedArray; - - $export($export.G + $export.W + $export.F * (TypedArray != Base), O); - - $export($export.S, NAME, { - BYTES_PER_ELEMENT: BYTES - }); - - $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { - from: $from, - of: $of - }); - - if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); - - $export($export.P, NAME, proto); - - setSpecies(NAME); - - $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); - - $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); - - if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; - - $export($export.P + $export.F * fails(function () { - new TypedArray(1).slice(); - }), NAME, { slice: $slice }); - - $export($export.P + $export.F * (fails(function () { - return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); - }) || !fails(function () { - TypedArrayPrototype.toLocaleString.call([1, 2]); - })), NAME, { toLocaleString: $toLocaleString }); - - Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; - if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); - }; -} else module.exports = function () { /* empty */ }; diff --git a/library/modules/_typed-buffer.js b/library/modules/_typed-buffer.js deleted file mode 100644 index c24cef38c2e6..000000000000 --- a/library/modules/_typed-buffer.js +++ /dev/null @@ -1,276 +0,0 @@ -'use strict'; -var global = require('./_global'); -var DESCRIPTORS = require('./_descriptors'); -var LIBRARY = require('./_library'); -var $typed = require('./_typed'); -var hide = require('./_hide'); -var redefineAll = require('./_redefine-all'); -var fails = require('./_fails'); -var anInstance = require('./_an-instance'); -var toInteger = require('./_to-integer'); -var toLength = require('./_to-length'); -var toIndex = require('./_to-index'); -var gOPN = require('./_object-gopn').f; -var dP = require('./_object-dp').f; -var arrayFill = require('./_array-fill'); -var setToStringTag = require('./_set-to-string-tag'); -var ARRAY_BUFFER = 'ArrayBuffer'; -var DATA_VIEW = 'DataView'; -var PROTOTYPE = 'prototype'; -var WRONG_LENGTH = 'Wrong length!'; -var WRONG_INDEX = 'Wrong index!'; -var $ArrayBuffer = global[ARRAY_BUFFER]; -var $DataView = global[DATA_VIEW]; -var Math = global.Math; -var RangeError = global.RangeError; -// eslint-disable-next-line no-shadow-restricted-names -var Infinity = global.Infinity; -var BaseBuffer = $ArrayBuffer; -var abs = Math.abs; -var pow = Math.pow; -var floor = Math.floor; -var log = Math.log; -var LN2 = Math.LN2; -var BUFFER = 'buffer'; -var BYTE_LENGTH = 'byteLength'; -var BYTE_OFFSET = 'byteOffset'; -var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; -var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; -var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; - -// IEEE754 conversions based on https://github.com/feross/ieee754 -function packIEEE754(value, mLen, nBytes) { - var buffer = new Array(nBytes); - var eLen = nBytes * 8 - mLen - 1; - var eMax = (1 << eLen) - 1; - var eBias = eMax >> 1; - var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; - var i = 0; - var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; - var e, m, c; - value = abs(value); - // eslint-disable-next-line no-self-compare - if (value != value || value === Infinity) { - // eslint-disable-next-line no-self-compare - m = value != value ? 1 : 0; - e = eMax; - } else { - e = floor(log(value) / LN2); - if (value * (c = pow(2, -e)) < 1) { - e--; - c *= 2; - } - if (e + eBias >= 1) { - value += rt / c; - } else { - value += rt * pow(2, 1 - eBias); - } - if (value * c >= 2) { - e++; - c /= 2; - } - if (e + eBias >= eMax) { - m = 0; - e = eMax; - } else if (e + eBias >= 1) { - m = (value * c - 1) * pow(2, mLen); - e = e + eBias; - } else { - m = value * pow(2, eBias - 1) * pow(2, mLen); - e = 0; - } - } - for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); - e = e << mLen | m; - eLen += mLen; - for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); - buffer[--i] |= s * 128; - return buffer; -} -function unpackIEEE754(buffer, mLen, nBytes) { - var eLen = nBytes * 8 - mLen - 1; - var eMax = (1 << eLen) - 1; - var eBias = eMax >> 1; - var nBits = eLen - 7; - var i = nBytes - 1; - var s = buffer[i--]; - var e = s & 127; - var m; - s >>= 7; - for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); - m = e & (1 << -nBits) - 1; - e >>= -nBits; - nBits += mLen; - for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); - if (e === 0) { - e = 1 - eBias; - } else if (e === eMax) { - return m ? NaN : s ? -Infinity : Infinity; - } else { - m = m + pow(2, mLen); - e = e - eBias; - } return (s ? -1 : 1) * m * pow(2, e - mLen); -} - -function unpackI32(bytes) { - return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; -} -function packI8(it) { - return [it & 0xff]; -} -function packI16(it) { - return [it & 0xff, it >> 8 & 0xff]; -} -function packI32(it) { - return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; -} -function packF64(it) { - return packIEEE754(it, 52, 8); -} -function packF32(it) { - return packIEEE754(it, 23, 4); -} - -function addGetter(C, key, internal) { - dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); -} - -function get(view, bytes, index, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b; - var start = intIndex + view[$OFFSET]; - var pack = store.slice(start, start + bytes); - return isLittleEndian ? pack : pack.reverse(); -} -function set(view, bytes, index, conversion, value, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b; - var start = intIndex + view[$OFFSET]; - var pack = conversion(+value); - for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; -} - -if (!$typed.ABV) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer, ARRAY_BUFFER); - var byteLength = toIndex(length); - this._b = arrayFill.call(new Array(byteLength), 0); - this[$LENGTH] = byteLength; - }; - - $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance(this, $DataView, DATA_VIEW); - anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = buffer[$LENGTH]; - var offset = toInteger(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); - byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); - this[$BUFFER] = buffer; - this[$OFFSET] = offset; - this[$LENGTH] = byteLength; - }; - - if (DESCRIPTORS) { - addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); - addGetter($DataView, BUFFER, '_b'); - addGetter($DataView, BYTE_LENGTH, '_l'); - addGetter($DataView, BYTE_OFFSET, '_o'); - } - - redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset) { - return get(this, 1, byteOffset)[0] << 24 >> 24; - }, - getUint8: function getUint8(byteOffset) { - return get(this, 1, byteOffset)[0]; - }, - getInt16: function getInt16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return (bytes[1] << 8 | bytes[0]) << 16 >> 16; - }, - getUint16: function getUint16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return bytes[1] << 8 | bytes[0]; - }, - getInt32: function getInt32(byteOffset /* , littleEndian */) { - return unpackI32(get(this, 4, byteOffset, arguments[1])); - }, - getUint32: function getUint32(byteOffset /* , littleEndian */) { - return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; - }, - getFloat32: function getFloat32(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); - }, - getFloat64: function getFloat64(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); - }, - setInt8: function setInt8(byteOffset, value) { - set(this, 1, byteOffset, packI8, value); - }, - setUint8: function setUint8(byteOffset, value) { - set(this, 1, byteOffset, packI8, value); - }, - setInt16: function setInt16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packI16, value, arguments[2]); - }, - setUint16: function setUint16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packI16, value, arguments[2]); - }, - setInt32: function setInt32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packI32, value, arguments[2]); - }, - setUint32: function setUint32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packI32, value, arguments[2]); - }, - setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packF32, value, arguments[2]); - }, - setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { - set(this, 8, byteOffset, packF64, value, arguments[2]); - } - }); -} else { - if (!fails(function () { - $ArrayBuffer(1); - }) || !fails(function () { - new $ArrayBuffer(-1); // eslint-disable-line no-new - }) || fails(function () { - new $ArrayBuffer(); // eslint-disable-line no-new - new $ArrayBuffer(1.5); // eslint-disable-line no-new - new $ArrayBuffer(NaN); // eslint-disable-line no-new - return $ArrayBuffer.name != ARRAY_BUFFER; - })) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer); - return new BaseBuffer(toIndex(length)); - }; - var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; - for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { - if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); - } - if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; - } - // iOS Safari 7.x bug - var view = new $DataView(new $ArrayBuffer(2)); - var $setInt8 = $DataView[PROTOTYPE].setInt8; - view.setInt8(0, 2147483648); - view.setInt8(1, 2147483649); - if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { - setInt8: function setInt8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - }, - setUint8: function setUint8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - } - }, true); -} -setToStringTag($ArrayBuffer, ARRAY_BUFFER); -setToStringTag($DataView, DATA_VIEW); -hide($DataView[PROTOTYPE], $typed.VIEW, true); -exports[ARRAY_BUFFER] = $ArrayBuffer; -exports[DATA_VIEW] = $DataView; diff --git a/library/modules/_typed.js b/library/modules/_typed.js deleted file mode 100644 index 8747ffd71b32..000000000000 --- a/library/modules/_typed.js +++ /dev/null @@ -1,28 +0,0 @@ -var global = require('./_global'); -var hide = require('./_hide'); -var uid = require('./_uid'); -var TYPED = uid('typed_array'); -var VIEW = uid('view'); -var ABV = !!(global.ArrayBuffer && global.DataView); -var CONSTR = ABV; -var i = 0; -var l = 9; -var Typed; - -var TypedArrayConstructors = ( - 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' -).split(','); - -while (i < l) { - if (Typed = global[TypedArrayConstructors[i++]]) { - hide(Typed.prototype, TYPED, true); - hide(Typed.prototype, VIEW, true); - } else CONSTR = false; -} - -module.exports = { - ABV: ABV, - CONSTR: CONSTR, - TYPED: TYPED, - VIEW: VIEW -}; diff --git a/library/modules/_uid.js b/library/modules/_uid.js deleted file mode 100644 index ffbe7185fcc7..000000000000 --- a/library/modules/_uid.js +++ /dev/null @@ -1,5 +0,0 @@ -var id = 0; -var px = Math.random(); -module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); -}; diff --git a/library/modules/_validate-collection.js b/library/modules/_validate-collection.js deleted file mode 100644 index cec1ceff722f..000000000000 --- a/library/modules/_validate-collection.js +++ /dev/null @@ -1,5 +0,0 @@ -var isObject = require('./_is-object'); -module.exports = function (it, TYPE) { - if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); - return it; -}; diff --git a/library/modules/_wks-define.js b/library/modules/_wks-define.js deleted file mode 100644 index 7284d6adaf52..000000000000 --- a/library/modules/_wks-define.js +++ /dev/null @@ -1,9 +0,0 @@ -var global = require('./_global'); -var core = require('./_core'); -var LIBRARY = require('./_library'); -var wksExt = require('./_wks-ext'); -var defineProperty = require('./_object-dp').f; -module.exports = function (name) { - var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); - if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); -}; diff --git a/library/modules/_wks-ext.js b/library/modules/_wks-ext.js deleted file mode 100644 index 13bd83b16a11..000000000000 --- a/library/modules/_wks-ext.js +++ /dev/null @@ -1 +0,0 @@ -exports.f = require('./_wks'); diff --git a/library/modules/_wks.js b/library/modules/_wks.js deleted file mode 100644 index e33f857a6950..000000000000 --- a/library/modules/_wks.js +++ /dev/null @@ -1,11 +0,0 @@ -var store = require('./_shared')('wks'); -var uid = require('./_uid'); -var Symbol = require('./_global').Symbol; -var USE_SYMBOL = typeof Symbol == 'function'; - -var $exports = module.exports = function (name) { - return store[name] || (store[name] = - USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); -}; - -$exports.store = store; diff --git a/library/modules/core.get-iterator-method.js b/library/modules/core.get-iterator-method.js deleted file mode 100644 index 9b6fa62a56e3..000000000000 --- a/library/modules/core.get-iterator-method.js +++ /dev/null @@ -1,8 +0,0 @@ -var classof = require('./_classof'); -var ITERATOR = require('./_wks')('iterator'); -var Iterators = require('./_iterators'); -module.exports = require('./_core').getIteratorMethod = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; -}; diff --git a/library/modules/core.get-iterator.js b/library/modules/core.get-iterator.js deleted file mode 100644 index 04568c86c8be..000000000000 --- a/library/modules/core.get-iterator.js +++ /dev/null @@ -1,7 +0,0 @@ -var anObject = require('./_an-object'); -var get = require('./core.get-iterator-method'); -module.exports = require('./_core').getIterator = function (it) { - var iterFn = get(it); - if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!'); - return anObject(iterFn.call(it)); -}; diff --git a/library/modules/core.is-iterable.js b/library/modules/core.is-iterable.js deleted file mode 100644 index 388e5e35b088..000000000000 --- a/library/modules/core.is-iterable.js +++ /dev/null @@ -1,10 +0,0 @@ -var classof = require('./_classof'); -var ITERATOR = require('./_wks')('iterator'); -var Iterators = require('./_iterators'); -module.exports = require('./_core').isIterable = function (it) { - var O = Object(it); - return O[ITERATOR] !== undefined - || '@@iterator' in O - // eslint-disable-next-line no-prototype-builtins - || Iterators.hasOwnProperty(classof(O)); -}; diff --git a/library/modules/es.array.copy-within.js b/library/modules/es.array.copy-within.js deleted file mode 100644 index f866a959120b..000000000000 --- a/library/modules/es.array.copy-within.js +++ /dev/null @@ -1,6 +0,0 @@ -// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) -var $export = require('./_export'); - -$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') }); - -require('./_add-to-unscopables')('copyWithin'); diff --git a/library/modules/es.array.every.js b/library/modules/es.array.every.js deleted file mode 100644 index cfd448f5c5e8..000000000000 --- a/library/modules/es.array.every.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $every = require('./_array-methods')(4); - -$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', { - // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) - every: function every(callbackfn /* , thisArg */) { - return $every(this, callbackfn, arguments[1]); - } -}); diff --git a/library/modules/es.array.fill.js b/library/modules/es.array.fill.js deleted file mode 100644 index ac17144249bd..000000000000 --- a/library/modules/es.array.fill.js +++ /dev/null @@ -1,6 +0,0 @@ -// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) -var $export = require('./_export'); - -$export($export.P, 'Array', { fill: require('./_array-fill') }); - -require('./_add-to-unscopables')('fill'); diff --git a/library/modules/es.array.filter.js b/library/modules/es.array.filter.js deleted file mode 100644 index 447ecf4036a2..000000000000 --- a/library/modules/es.array.filter.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $filter = require('./_array-methods')(2); - -$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', { - // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments[1]); - } -}); diff --git a/library/modules/es.array.find-index.js b/library/modules/es.array.find-index.js deleted file mode 100644 index 374cadd77d31..000000000000 --- a/library/modules/es.array.find-index.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) -var $export = require('./_export'); -var $find = require('./_array-methods')(6); -var KEY = 'findIndex'; -var forced = true; -// Shouldn't skip holes -if (KEY in []) Array(1)[KEY](function () { forced = false; }); -$export($export.P + $export.F * forced, 'Array', { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); -require('./_add-to-unscopables')(KEY); diff --git a/library/modules/es.array.find.js b/library/modules/es.array.find.js deleted file mode 100644 index 4fbe76ce00a3..000000000000 --- a/library/modules/es.array.find.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) -var $export = require('./_export'); -var $find = require('./_array-methods')(5); -var KEY = 'find'; -var forced = true; -// Shouldn't skip holes -if (KEY in []) Array(1)[KEY](function () { forced = false; }); -$export($export.P + $export.F * forced, 'Array', { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); -require('./_add-to-unscopables')(KEY); diff --git a/library/modules/es.array.for-each.js b/library/modules/es.array.for-each.js deleted file mode 100644 index 525ba0740d35..000000000000 --- a/library/modules/es.array.for-each.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $forEach = require('./_array-methods')(0); -var STRICT = require('./_strict-method')([].forEach, true); - -$export($export.P + $export.F * !STRICT, 'Array', { - // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) - forEach: function forEach(callbackfn /* , thisArg */) { - return $forEach(this, callbackfn, arguments[1]); - } -}); diff --git a/library/modules/es.array.from.js b/library/modules/es.array.from.js deleted file mode 100644 index 4db38017f465..000000000000 --- a/library/modules/es.array.from.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; -var ctx = require('./_ctx'); -var $export = require('./_export'); -var toObject = require('./_to-object'); -var call = require('./_iter-call'); -var isArrayIter = require('./_is-array-iter'); -var toLength = require('./_to-length'); -var createProperty = require('./_create-property'); -var getIterFn = require('./core.get-iterator-method'); - -$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', { - // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) - from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; - var aLen = arguments.length; - var mapfn = aLen > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var index = 0; - var iterFn = getIterFn(O); - var length, result, step, iterator; - if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); - // if object isn't iterable or it's array with default iterator - use simple case - if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { - for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { - createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); - } - } else { - length = toLength(O.length); - for (result = new C(length); length > index; index++) { - createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); - } - } - result.length = index; - return result; - } -}); diff --git a/library/modules/es.array.includes.js b/library/modules/es.array.includes.js deleted file mode 100644 index 6524e3e17990..000000000000 --- a/library/modules/es.array.includes.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -// 22.1.3.11 Array.prototype.includes(searchElement [ , fromIndex ]) -var $export = require('./_export'); -var $includes = require('./_array-includes')(true); - -$export($export.P, 'Array', { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -require('./_add-to-unscopables')('includes'); diff --git a/library/modules/es.array.index-of.js b/library/modules/es.array.index-of.js deleted file mode 100644 index 231c92e9c572..000000000000 --- a/library/modules/es.array.index-of.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $indexOf = require('./_array-includes')(false); -var $native = [].indexOf; -var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; - -$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', { - // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - return NEGATIVE_ZERO - // convert -0 to +0 - ? $native.apply(this, arguments) || 0 - : $indexOf(this, searchElement, arguments[1]); - } -}); diff --git a/library/modules/es.array.is-array.js b/library/modules/es.array.is-array.js deleted file mode 100644 index 27ca6fc5bbb5..000000000000 --- a/library/modules/es.array.is-array.js +++ /dev/null @@ -1,4 +0,0 @@ -// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) -var $export = require('./_export'); - -$export($export.S, 'Array', { isArray: require('./_is-array') }); diff --git a/library/modules/es.array.iterator.js b/library/modules/es.array.iterator.js deleted file mode 100644 index c64e88b1b2e7..000000000000 --- a/library/modules/es.array.iterator.js +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; -var addToUnscopables = require('./_add-to-unscopables'); -var step = require('./_iter-step'); -var Iterators = require('./_iterators'); -var toIObject = require('./_to-iobject'); - -// 22.1.3.4 Array.prototype.entries() -// 22.1.3.13 Array.prototype.keys() -// 22.1.3.29 Array.prototype.values() -// 22.1.3.30 Array.prototype[@@iterator]() -module.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) { - this._t = toIObject(iterated); // target - this._i = 0; // next index - this._k = kind; // kind -// 22.1.5.2.1 %ArrayIteratorPrototype%.next() -}, function () { - var O = this._t; - var kind = this._k; - var index = this._i++; - if (!O || index >= O.length) { - this._t = undefined; - return step(1); - } - if (kind == 'keys') return step(0, index); - if (kind == 'values') return step(0, O[index]); - return step(0, [index, O[index]]); -}, 'values'); - -// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) -Iterators.Arguments = Iterators.Array; - -addToUnscopables('keys'); -addToUnscopables('values'); -addToUnscopables('entries'); diff --git a/library/modules/es.array.join.js b/library/modules/es.array.join.js deleted file mode 100644 index 48e55d2e3c98..000000000000 --- a/library/modules/es.array.join.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -// 22.1.3.13 Array.prototype.join(separator) -var $export = require('./_export'); -var toIObject = require('./_to-iobject'); -var arrayJoin = [].join; - -// fallback for not array-like strings -$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', { - join: function join(separator) { - return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); - } -}); diff --git a/library/modules/es.array.last-index-of.js b/library/modules/es.array.last-index-of.js deleted file mode 100644 index 1f70e340d83d..000000000000 --- a/library/modules/es.array.last-index-of.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toIObject = require('./_to-iobject'); -var toInteger = require('./_to-integer'); -var toLength = require('./_to-length'); -var $native = [].lastIndexOf; -var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; - -$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', { - // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) - lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; - var O = toIObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; - return -1; - } -}); diff --git a/library/modules/es.array.map.js b/library/modules/es.array.map.js deleted file mode 100644 index 1326033f1fb1..000000000000 --- a/library/modules/es.array.map.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $map = require('./_array-methods')(1); - -$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', { - // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments[1]); - } -}); diff --git a/library/modules/es.array.of.js b/library/modules/es.array.of.js deleted file mode 100644 index b83e058c16a8..000000000000 --- a/library/modules/es.array.of.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var createProperty = require('./_create-property'); - -// WebKit Array.of isn't generic -$export($export.S + $export.F * require('./_fails')(function () { - function F() { /* empty */ } - return !(Array.of.call(F) instanceof F); -}), 'Array', { - // 22.1.2.3 Array.of( ...items) - of: function of(/* ...args */) { - var index = 0; - var aLen = arguments.length; - var result = new (typeof this == 'function' ? this : Array)(aLen); - while (aLen > index) createProperty(result, index, arguments[index++]); - result.length = aLen; - return result; - } -}); diff --git a/library/modules/es.array.reduce-right.js b/library/modules/es.array.reduce-right.js deleted file mode 100644 index 168e421d88a8..000000000000 --- a/library/modules/es.array.reduce-right.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $reduce = require('./_array-reduce'); - -$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', { - // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) - reduceRight: function reduceRight(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments[1], true); - } -}); diff --git a/library/modules/es.array.reduce.js b/library/modules/es.array.reduce.js deleted file mode 100644 index f4e4761212c1..000000000000 --- a/library/modules/es.array.reduce.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $reduce = require('./_array-reduce'); - -$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', { - // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) - reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments[1], false); - } -}); diff --git a/library/modules/es.array.slice.js b/library/modules/es.array.slice.js deleted file mode 100644 index bdd496ecbb2d..000000000000 --- a/library/modules/es.array.slice.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var html = require('./_html'); -var cof = require('./_cof'); -var toAbsoluteIndex = require('./_to-absolute-index'); -var toLength = require('./_to-length'); -var arraySlice = [].slice; - -// fallback for not array-like ES3 strings and DOM objects -$export($export.P + $export.F * require('./_fails')(function () { - if (html) arraySlice.call(html); -}), 'Array', { - slice: function slice(begin, end) { - var len = toLength(this.length); - var klass = cof(this); - end = end === undefined ? len : end; - if (klass == 'Array') return arraySlice.call(this, begin, end); - var start = toAbsoluteIndex(begin, len); - var upTo = toAbsoluteIndex(end, len); - var size = toLength(upTo - start); - var cloned = new Array(size); - var i = 0; - for (; i < size; i++) cloned[i] = klass == 'String' - ? this.charAt(start + i) - : this[start + i]; - return cloned; - } -}); diff --git a/library/modules/es.array.some.js b/library/modules/es.array.some.js deleted file mode 100644 index 14c5eec268e2..000000000000 --- a/library/modules/es.array.some.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $some = require('./_array-methods')(3); - -$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', { - // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) - some: function some(callbackfn /* , thisArg */) { - return $some(this, callbackfn, arguments[1]); - } -}); diff --git a/library/modules/es.array.sort.js b/library/modules/es.array.sort.js deleted file mode 100644 index 39817ffae80f..000000000000 --- a/library/modules/es.array.sort.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var aFunction = require('./_a-function'); -var toObject = require('./_to-object'); -var fails = require('./_fails'); -var $sort = [].sort; -var test = [1, 2, 3]; - -$export($export.P + $export.F * (fails(function () { - // IE8- - test.sort(undefined); -}) || !fails(function () { - // V8 bug - test.sort(null); - // Old WebKit -}) || !require('./_strict-method')($sort)), 'Array', { - // 22.1.3.25 Array.prototype.sort(comparefn) - sort: function sort(comparefn) { - return comparefn === undefined - ? $sort.call(toObject(this)) - : $sort.call(toObject(this), aFunction(comparefn)); - } -}); diff --git a/library/modules/es.array.species.js b/library/modules/es.array.species.js deleted file mode 100644 index ce0b8917f7ad..000000000000 --- a/library/modules/es.array.species.js +++ /dev/null @@ -1 +0,0 @@ -require('./_set-species')('Array'); diff --git a/library/modules/es.date.now.js b/library/modules/es.date.now.js deleted file mode 100644 index 65f134e562be..000000000000 --- a/library/modules/es.date.now.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.3.3.1 / 15.9.4.4 Date.now() -var $export = require('./_export'); - -$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); diff --git a/library/modules/es.date.to-iso-string.js b/library/modules/es.date.to-iso-string.js deleted file mode 100644 index 13b27818cc9e..000000000000 --- a/library/modules/es.date.to-iso-string.js +++ /dev/null @@ -1,8 +0,0 @@ -// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var $export = require('./_export'); -var toISOString = require('./_date-to-iso-string'); - -// PhantomJS / old WebKit has a broken implementations -$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { - toISOString: toISOString -}); diff --git a/library/modules/es.date.to-json.js b/library/modules/es.date.to-json.js deleted file mode 100644 index 69b1f3018e74..000000000000 --- a/library/modules/es.date.to-json.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toObject = require('./_to-object'); -var toPrimitive = require('./_to-primitive'); -var toISOString = require('./_date-to-iso-string'); -var classof = require('./_classof'); - -$export($export.P + $export.F * require('./_fails')(function () { - return new Date(NaN).toJSON() !== null - || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; -}), 'Date', { - // eslint-disable-next-line no-unused-vars - toJSON: function toJSON(key) { - var O = toObject(this); - var pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : - (!('toISOString' in O) && classof(O) == 'Date') ? toISOString.call(O) : O.toISOString(); - } -}); diff --git a/library/modules/es.date.to-primitive.js b/library/modules/es.date.to-primitive.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.date.to-string.js b/library/modules/es.date.to-string.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.function.bind.js b/library/modules/es.function.bind.js deleted file mode 100644 index 38e84e1acdee..000000000000 --- a/library/modules/es.function.bind.js +++ /dev/null @@ -1,4 +0,0 @@ -// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) -var $export = require('./_export'); - -$export($export.P, 'Function', { bind: require('./_bind') }); diff --git a/library/modules/es.function.has-instance.js b/library/modules/es.function.has-instance.js deleted file mode 100644 index 7556ed9bd305..000000000000 --- a/library/modules/es.function.has-instance.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; -var isObject = require('./_is-object'); -var getPrototypeOf = require('./_object-gpo'); -var HAS_INSTANCE = require('./_wks')('hasInstance'); -var FunctionProto = Function.prototype; -// 19.2.3.6 Function.prototype[@@hasInstance](V) -if (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) { - if (typeof this != 'function' || !isObject(O)) return false; - if (!isObject(this.prototype)) return O instanceof this; - // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf(O)) if (this.prototype === O) return true; - return false; -} }); diff --git a/library/modules/es.function.name.js b/library/modules/es.function.name.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.map.js b/library/modules/es.map.js deleted file mode 100644 index a282f0222c74..000000000000 --- a/library/modules/es.map.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; -var strong = require('./_collection-strong'); -var validate = require('./_validate-collection'); -var MAP = 'Map'; - -// 23.1 Map Objects -module.exports = require('./_collection')(MAP, function (get) { - return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = strong.getEntry(validate(this, MAP), key); - return entry && entry.v; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); - } -}, strong, true); diff --git a/library/modules/es.math.acosh.js b/library/modules/es.math.acosh.js deleted file mode 100644 index 8a8989ebb30b..000000000000 --- a/library/modules/es.math.acosh.js +++ /dev/null @@ -1,18 +0,0 @@ -// 20.2.2.3 Math.acosh(x) -var $export = require('./_export'); -var log1p = require('./_math-log1p'); -var sqrt = Math.sqrt; -var $acosh = Math.acosh; - -$export($export.S + $export.F * !($acosh - // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 - && Math.floor($acosh(Number.MAX_VALUE)) == 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN - && $acosh(Infinity) == Infinity -), 'Math', { - acosh: function acosh(x) { - return (x = +x) < 1 ? NaN : x > 94906265.62425156 - ? Math.log(x) + Math.LN2 - : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); - } -}); diff --git a/library/modules/es.math.asinh.js b/library/modules/es.math.asinh.js deleted file mode 100644 index ddf466628c54..000000000000 --- a/library/modules/es.math.asinh.js +++ /dev/null @@ -1,10 +0,0 @@ -// 20.2.2.5 Math.asinh(x) -var $export = require('./_export'); -var $asinh = Math.asinh; - -function asinh(x) { - return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); -} - -// Tor Browser bug: Math.asinh(0) -> -0 -$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); diff --git a/library/modules/es.math.atanh.js b/library/modules/es.math.atanh.js deleted file mode 100644 index af3c3e809211..000000000000 --- a/library/modules/es.math.atanh.js +++ /dev/null @@ -1,10 +0,0 @@ -// 20.2.2.7 Math.atanh(x) -var $export = require('./_export'); -var $atanh = Math.atanh; - -// Tor Browser bug: Math.atanh(-0) -> 0 -$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { - atanh: function atanh(x) { - return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; - } -}); diff --git a/library/modules/es.math.cbrt.js b/library/modules/es.math.cbrt.js deleted file mode 100644 index e45ac4445f64..000000000000 --- a/library/modules/es.math.cbrt.js +++ /dev/null @@ -1,9 +0,0 @@ -// 20.2.2.9 Math.cbrt(x) -var $export = require('./_export'); -var sign = require('./_math-sign'); - -$export($export.S, 'Math', { - cbrt: function cbrt(x) { - return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); - } -}); diff --git a/library/modules/es.math.clz32.js b/library/modules/es.math.clz32.js deleted file mode 100644 index 1e4d7e19c59c..000000000000 --- a/library/modules/es.math.clz32.js +++ /dev/null @@ -1,8 +0,0 @@ -// 20.2.2.11 Math.clz32(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { - clz32: function clz32(x) { - return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; - } -}); diff --git a/library/modules/es.math.cosh.js b/library/modules/es.math.cosh.js deleted file mode 100644 index 1e0cffc1a899..000000000000 --- a/library/modules/es.math.cosh.js +++ /dev/null @@ -1,9 +0,0 @@ -// 20.2.2.12 Math.cosh(x) -var $export = require('./_export'); -var exp = Math.exp; - -$export($export.S, 'Math', { - cosh: function cosh(x) { - return (exp(x = +x) + exp(-x)) / 2; - } -}); diff --git a/library/modules/es.math.expm1.js b/library/modules/es.math.expm1.js deleted file mode 100644 index da4c90df8905..000000000000 --- a/library/modules/es.math.expm1.js +++ /dev/null @@ -1,5 +0,0 @@ -// 20.2.2.14 Math.expm1(x) -var $export = require('./_export'); -var $expm1 = require('./_math-expm1'); - -$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); diff --git a/library/modules/es.math.fround.js b/library/modules/es.math.fround.js deleted file mode 100644 index 9c262f2ec75a..000000000000 --- a/library/modules/es.math.fround.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.2.2.16 Math.fround(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { fround: require('./_math-fround') }); diff --git a/library/modules/es.math.hypot.js b/library/modules/es.math.hypot.js deleted file mode 100644 index 41ffdb27a28e..000000000000 --- a/library/modules/es.math.hypot.js +++ /dev/null @@ -1,25 +0,0 @@ -// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) -var $export = require('./_export'); -var abs = Math.abs; - -$export($export.S, 'Math', { - hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars - var sum = 0; - var i = 0; - var aLen = arguments.length; - var larg = 0; - var arg, div; - while (i < aLen) { - arg = abs(arguments[i++]); - if (larg < arg) { - div = larg / arg; - sum = sum * div * div + 1; - larg = arg; - } else if (arg > 0) { - div = arg / larg; - sum += div * div; - } else sum += arg; - } - return larg === Infinity ? Infinity : larg * Math.sqrt(sum); - } -}); diff --git a/library/modules/es.math.imul.js b/library/modules/es.math.imul.js deleted file mode 100644 index 96e683d25d43..000000000000 --- a/library/modules/es.math.imul.js +++ /dev/null @@ -1,17 +0,0 @@ -// 20.2.2.18 Math.imul(x, y) -var $export = require('./_export'); -var $imul = Math.imul; - -// some WebKit versions fails with big numbers, some has wrong arity -$export($export.S + $export.F * require('./_fails')(function () { - return $imul(0xffffffff, 5) != -5 || $imul.length != 2; -}), 'Math', { - imul: function imul(x, y) { - var UINT16 = 0xffff; - var xn = +x; - var yn = +y; - var xl = UINT16 & xn; - var yl = UINT16 & yn; - return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); - } -}); diff --git a/library/modules/es.math.log10.js b/library/modules/es.math.log10.js deleted file mode 100644 index 9ee8ae68f589..000000000000 --- a/library/modules/es.math.log10.js +++ /dev/null @@ -1,8 +0,0 @@ -// 20.2.2.21 Math.log10(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { - log10: function log10(x) { - return Math.log(x) * Math.LOG10E; - } -}); diff --git a/library/modules/es.math.log1p.js b/library/modules/es.math.log1p.js deleted file mode 100644 index 62959800ac0b..000000000000 --- a/library/modules/es.math.log1p.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.2.2.20 Math.log1p(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { log1p: require('./_math-log1p') }); diff --git a/library/modules/es.math.log2.js b/library/modules/es.math.log2.js deleted file mode 100644 index 03d127cba7c8..000000000000 --- a/library/modules/es.math.log2.js +++ /dev/null @@ -1,8 +0,0 @@ -// 20.2.2.22 Math.log2(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { - log2: function log2(x) { - return Math.log(x) / Math.LN2; - } -}); diff --git a/library/modules/es.math.sign.js b/library/modules/es.math.sign.js deleted file mode 100644 index 981f69e566b8..000000000000 --- a/library/modules/es.math.sign.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.2.2.28 Math.sign(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { sign: require('./_math-sign') }); diff --git a/library/modules/es.math.sinh.js b/library/modules/es.math.sinh.js deleted file mode 100644 index 57606333c8c6..000000000000 --- a/library/modules/es.math.sinh.js +++ /dev/null @@ -1,15 +0,0 @@ -// 20.2.2.30 Math.sinh(x) -var $export = require('./_export'); -var expm1 = require('./_math-expm1'); -var exp = Math.exp; - -// V8 near Chromium 38 has a problem with very small numbers -$export($export.S + $export.F * require('./_fails')(function () { - return !Math.sinh(-2e-17) != -2e-17; -}), 'Math', { - sinh: function sinh(x) { - return Math.abs(x = +x) < 1 - ? (expm1(x) - expm1(-x)) / 2 - : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); - } -}); diff --git a/library/modules/es.math.tanh.js b/library/modules/es.math.tanh.js deleted file mode 100644 index 0d3135b0fa5d..000000000000 --- a/library/modules/es.math.tanh.js +++ /dev/null @@ -1,12 +0,0 @@ -// 20.2.2.33 Math.tanh(x) -var $export = require('./_export'); -var expm1 = require('./_math-expm1'); -var exp = Math.exp; - -$export($export.S, 'Math', { - tanh: function tanh(x) { - var a = expm1(x = +x); - var b = expm1(-x); - return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); - } -}); diff --git a/library/modules/es.math.trunc.js b/library/modules/es.math.trunc.js deleted file mode 100644 index 35ddb8086fec..000000000000 --- a/library/modules/es.math.trunc.js +++ /dev/null @@ -1,8 +0,0 @@ -// 20.2.2.34 Math.trunc(x) -var $export = require('./_export'); - -$export($export.S, 'Math', { - trunc: function trunc(it) { - return (it > 0 ? Math.floor : Math.ceil)(it); - } -}); diff --git a/library/modules/es.number.constructor.js b/library/modules/es.number.constructor.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.number.epsilon.js b/library/modules/es.number.epsilon.js deleted file mode 100644 index 34a2ec5fa78d..000000000000 --- a/library/modules/es.number.epsilon.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.1.2.1 Number.EPSILON -var $export = require('./_export'); - -$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); diff --git a/library/modules/es.number.is-finite.js b/library/modules/es.number.is-finite.js deleted file mode 100644 index 8719da97168a..000000000000 --- a/library/modules/es.number.is-finite.js +++ /dev/null @@ -1,9 +0,0 @@ -// 20.1.2.2 Number.isFinite(number) -var $export = require('./_export'); -var _isFinite = require('./_global').isFinite; - -$export($export.S, 'Number', { - isFinite: function isFinite(it) { - return typeof it == 'number' && _isFinite(it); - } -}); diff --git a/library/modules/es.number.is-integer.js b/library/modules/es.number.is-integer.js deleted file mode 100644 index f1ab5dc4c891..000000000000 --- a/library/modules/es.number.is-integer.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.1.2.3 Number.isInteger(number) -var $export = require('./_export'); - -$export($export.S, 'Number', { isInteger: require('./_is-integer') }); diff --git a/library/modules/es.number.is-nan.js b/library/modules/es.number.is-nan.js deleted file mode 100644 index 01d76ba28a07..000000000000 --- a/library/modules/es.number.is-nan.js +++ /dev/null @@ -1,9 +0,0 @@ -// 20.1.2.4 Number.isNaN(number) -var $export = require('./_export'); - -$export($export.S, 'Number', { - isNaN: function isNaN(number) { - // eslint-disable-next-line no-self-compare - return number != number; - } -}); diff --git a/library/modules/es.number.is-safe-integer.js b/library/modules/es.number.is-safe-integer.js deleted file mode 100644 index 004e7d16f5f2..000000000000 --- a/library/modules/es.number.is-safe-integer.js +++ /dev/null @@ -1,10 +0,0 @@ -// 20.1.2.5 Number.isSafeInteger(number) -var $export = require('./_export'); -var isInteger = require('./_is-integer'); -var abs = Math.abs; - -$export($export.S, 'Number', { - isSafeInteger: function isSafeInteger(number) { - return isInteger(number) && abs(number) <= 0x1fffffffffffff; - } -}); diff --git a/library/modules/es.number.max-safe-integer.js b/library/modules/es.number.max-safe-integer.js deleted file mode 100644 index a4f248f1b11c..000000000000 --- a/library/modules/es.number.max-safe-integer.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.1.2.6 Number.MAX_SAFE_INTEGER -var $export = require('./_export'); - -$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); diff --git a/library/modules/es.number.min-safe-integer.js b/library/modules/es.number.min-safe-integer.js deleted file mode 100644 index 34df374bce77..000000000000 --- a/library/modules/es.number.min-safe-integer.js +++ /dev/null @@ -1,4 +0,0 @@ -// 20.1.2.10 Number.MIN_SAFE_INTEGER -var $export = require('./_export'); - -$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); diff --git a/library/modules/es.number.parse-float.js b/library/modules/es.number.parse-float.js deleted file mode 100644 index 317c43109188..000000000000 --- a/library/modules/es.number.parse-float.js +++ /dev/null @@ -1,4 +0,0 @@ -var $export = require('./_export'); -var $parseFloat = require('./_parse-float'); -// 20.1.2.12 Number.parseFloat(string) -$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); diff --git a/library/modules/es.number.parse-int.js b/library/modules/es.number.parse-int.js deleted file mode 100644 index cb48da28d2e8..000000000000 --- a/library/modules/es.number.parse-int.js +++ /dev/null @@ -1,4 +0,0 @@ -var $export = require('./_export'); -var $parseInt = require('./_parse-int'); -// 20.1.2.13 Number.parseInt(string, radix) -$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); diff --git a/library/modules/es.number.to-fixed.js b/library/modules/es.number.to-fixed.js deleted file mode 100644 index 2bf78af91596..000000000000 --- a/library/modules/es.number.to-fixed.js +++ /dev/null @@ -1,114 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toInteger = require('./_to-integer'); -var aNumberValue = require('./_a-number-value'); -var repeat = require('./_string-repeat'); -var $toFixed = 1.0.toFixed; -var floor = Math.floor; -var data = [0, 0, 0, 0, 0, 0]; -var ERROR = 'Number.toFixed: incorrect invocation!'; -var ZERO = '0'; - -var multiply = function (n, c) { - var i = -1; - var c2 = c; - while (++i < 6) { - c2 += n * data[i]; - data[i] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } -}; -var divide = function (n) { - var i = 6; - var c = 0; - while (--i >= 0) { - c += data[i]; - data[i] = floor(c / n); - c = (c % n) * 1e7; - } -}; -var numToString = function () { - var i = 6; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || data[i] !== 0) { - var t = String(data[i]); - s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; - } - } return s; -}; -var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); -}; -var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; -}; - -$export($export.P + $export.F * (!!$toFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' -) || !require('./_fails')(function () { - // V8 ~ Android 4.3- - $toFixed.call({}); -})), 'Number', { - toFixed: function toFixed(fractionDigits) { - var x = aNumberValue(this, ERROR); - var f = toInteger(fractionDigits); - var s = ''; - var m = ZERO; - var e, z, j, k; - if (f < 0 || f > 20) throw RangeError(ERROR); - // eslint-disable-next-line no-self-compare - if (x != x) return 'NaN'; - if (x <= -1e21 || x >= 1e21) return String(x); - if (x < 0) { - s = '-'; - x = -x; - } - if (x > 1e-21) { - e = log(x * pow(2, 69, 1)) - 69; - z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(0, z); - j = f; - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - multiply(pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - divide(1 << j); - multiply(1, 1); - divide(2); - m = numToString(); - } else { - multiply(0, z); - multiply(1 << -e, 0); - m = numToString() + repeat.call(ZERO, f); - } - } - if (f > 0) { - k = m.length; - m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); - } else { - m = s + m; - } return m; - } -}); diff --git a/library/modules/es.number.to-precision.js b/library/modules/es.number.to-precision.js deleted file mode 100644 index 0d92527ffbcd..000000000000 --- a/library/modules/es.number.to-precision.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $fails = require('./_fails'); -var aNumberValue = require('./_a-number-value'); -var $toPrecision = 1.0.toPrecision; - -$export($export.P + $export.F * ($fails(function () { - // IE7- - return $toPrecision.call(1, undefined) !== '1'; -}) || !$fails(function () { - // V8 ~ Android 4.3- - $toPrecision.call({}); -})), 'Number', { - toPrecision: function toPrecision(precision) { - var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); - return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); - } -}); diff --git a/library/modules/es.object.assign.js b/library/modules/es.object.assign.js deleted file mode 100644 index d28085a7e4e0..000000000000 --- a/library/modules/es.object.assign.js +++ /dev/null @@ -1,4 +0,0 @@ -// 19.1.3.1 Object.assign(target, source) -var $export = require('./_export'); - -$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') }); diff --git a/library/modules/es.object.create.js b/library/modules/es.object.create.js deleted file mode 100644 index 70627d69cecd..000000000000 --- a/library/modules/es.object.create.js +++ /dev/null @@ -1,3 +0,0 @@ -var $export = require('./_export'); -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -$export($export.S, 'Object', { create: require('./_object-create') }); diff --git a/library/modules/es.object.define-getter.js b/library/modules/es.object.define-getter.js deleted file mode 100644 index ffc6203fd1d4..000000000000 --- a/library/modules/es.object.define-getter.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toObject = require('./_to-object'); -var aFunction = require('./_a-function'); -var $defineProperty = require('./_object-dp'); - -// B.2.2.2 Object.prototype.__defineGetter__(P, getter) -require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __defineGetter__: function __defineGetter__(P, getter) { - $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); - } -}); diff --git a/library/modules/es.object.define-properties.js b/library/modules/es.object.define-properties.js deleted file mode 100644 index 5ec34214d114..000000000000 --- a/library/modules/es.object.define-properties.js +++ /dev/null @@ -1,3 +0,0 @@ -var $export = require('./_export'); -// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) -$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') }); diff --git a/library/modules/es.object.define-property.js b/library/modules/es.object.define-property.js deleted file mode 100644 index 120685825600..000000000000 --- a/library/modules/es.object.define-property.js +++ /dev/null @@ -1,3 +0,0 @@ -var $export = require('./_export'); -// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) -$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f }); diff --git a/library/modules/es.object.define-setter.js b/library/modules/es.object.define-setter.js deleted file mode 100644 index 8ceefdd68e30..000000000000 --- a/library/modules/es.object.define-setter.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toObject = require('./_to-object'); -var aFunction = require('./_a-function'); -var $defineProperty = require('./_object-dp'); - -// B.2.2.3 Object.prototype.__defineSetter__(P, setter) -require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __defineSetter__: function __defineSetter__(P, setter) { - $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); - } -}); diff --git a/library/modules/es.object.entries.js b/library/modules/es.object.entries.js deleted file mode 100644 index f0f17596b5e0..000000000000 --- a/library/modules/es.object.entries.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.5 Object.entries(O) -var $export = require('./_export'); -var $entries = require('./_object-to-array')(true); - -$export($export.S, 'Object', { - entries: function entries(O) { - return $entries(O); - } -}); diff --git a/library/modules/es.object.freeze.js b/library/modules/es.object.freeze.js deleted file mode 100644 index 0856ce9d7976..000000000000 --- a/library/modules/es.object.freeze.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.5 Object.freeze(O) -var isObject = require('./_is-object'); -var meta = require('./_meta').onFreeze; - -require('./_object-sap')('freeze', function ($freeze) { - return function freeze(it) { - return $freeze && isObject(it) ? $freeze(meta(it)) : it; - }; -}); diff --git a/library/modules/es.object.get-own-property-descriptor.js b/library/modules/es.object.get-own-property-descriptor.js deleted file mode 100644 index 9df214172fba..000000000000 --- a/library/modules/es.object.get-own-property-descriptor.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) -var toIObject = require('./_to-iobject'); -var $getOwnPropertyDescriptor = require('./_object-gopd').f; - -require('./_object-sap')('getOwnPropertyDescriptor', function () { - return function getOwnPropertyDescriptor(it, key) { - return $getOwnPropertyDescriptor(toIObject(it), key); - }; -}); diff --git a/library/modules/es.object.get-own-property-descriptors.js b/library/modules/es.object.get-own-property-descriptors.js deleted file mode 100644 index 6227cbad93e2..000000000000 --- a/library/modules/es.object.get-own-property-descriptors.js +++ /dev/null @@ -1,22 +0,0 @@ -// 19.1.2.8 Object.getOwnPropertyDescriptors(O) -var $export = require('./_export'); -var ownKeys = require('./_own-keys'); -var toIObject = require('./_to-iobject'); -var gOPD = require('./_object-gopd'); -var createProperty = require('./_create-property'); - -$export($export.S, 'Object', { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIObject(object); - var getDesc = gOPD.f; - var keys = ownKeys(O); - var result = {}; - var i = 0; - var key, desc; - while (keys.length > i) { - desc = getDesc(O, key = keys[i++]); - if (desc !== undefined) createProperty(result, key, desc); - } - return result; - } -}); diff --git a/library/modules/es.object.get-own-property-names.js b/library/modules/es.object.get-own-property-names.js deleted file mode 100644 index 172f51c730f7..000000000000 --- a/library/modules/es.object.get-own-property-names.js +++ /dev/null @@ -1,4 +0,0 @@ -// 19.1.2.7 Object.getOwnPropertyNames(O) -require('./_object-sap')('getOwnPropertyNames', function () { - return require('./_object-gopn-ext').f; -}); diff --git a/library/modules/es.object.get-prototype-of.js b/library/modules/es.object.get-prototype-of.js deleted file mode 100644 index 8fe2728c0f1f..000000000000 --- a/library/modules/es.object.get-prototype-of.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.9 Object.getPrototypeOf(O) -var toObject = require('./_to-object'); -var $getPrototypeOf = require('./_object-gpo'); - -require('./_object-sap')('getPrototypeOf', function () { - return function getPrototypeOf(it) { - return $getPrototypeOf(toObject(it)); - }; -}); diff --git a/library/modules/es.object.is-extensible.js b/library/modules/es.object.is-extensible.js deleted file mode 100644 index 5cd4575a517b..000000000000 --- a/library/modules/es.object.is-extensible.js +++ /dev/null @@ -1,8 +0,0 @@ -// 19.1.2.11 Object.isExtensible(O) -var isObject = require('./_is-object'); - -require('./_object-sap')('isExtensible', function ($isExtensible) { - return function isExtensible(it) { - return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; - }; -}); diff --git a/library/modules/es.object.is-frozen.js b/library/modules/es.object.is-frozen.js deleted file mode 100644 index 0ceeabbb0175..000000000000 --- a/library/modules/es.object.is-frozen.js +++ /dev/null @@ -1,8 +0,0 @@ -// 19.1.2.12 Object.isFrozen(O) -var isObject = require('./_is-object'); - -require('./_object-sap')('isFrozen', function ($isFrozen) { - return function isFrozen(it) { - return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; - }; -}); diff --git a/library/modules/es.object.is-sealed.js b/library/modules/es.object.is-sealed.js deleted file mode 100644 index 7fa8ddedd542..000000000000 --- a/library/modules/es.object.is-sealed.js +++ /dev/null @@ -1,8 +0,0 @@ -// 19.1.2.13 Object.isSealed(O) -var isObject = require('./_is-object'); - -require('./_object-sap')('isSealed', function ($isSealed) { - return function isSealed(it) { - return isObject(it) ? $isSealed ? $isSealed(it) : false : true; - }; -}); diff --git a/library/modules/es.object.is.js b/library/modules/es.object.is.js deleted file mode 100644 index 204d7030f922..000000000000 --- a/library/modules/es.object.is.js +++ /dev/null @@ -1,3 +0,0 @@ -// 19.1.3.10 Object.is(value1, value2) -var $export = require('./_export'); -$export($export.S, 'Object', { is: require('./_same-value') }); diff --git a/library/modules/es.object.keys.js b/library/modules/es.object.keys.js deleted file mode 100644 index e9dade7de3af..000000000000 --- a/library/modules/es.object.keys.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.14 Object.keys(O) -var toObject = require('./_to-object'); -var $keys = require('./_object-keys'); - -require('./_object-sap')('keys', function () { - return function keys(it) { - return $keys(toObject(it)); - }; -}); diff --git a/library/modules/es.object.lookup-getter.js b/library/modules/es.object.lookup-getter.js deleted file mode 100644 index f80222916446..000000000000 --- a/library/modules/es.object.lookup-getter.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toObject = require('./_to-object'); -var toPrimitive = require('./_to-primitive'); -var getPrototypeOf = require('./_object-gpo'); -var getOwnPropertyDescriptor = require('./_object-gopd').f; - -// B.2.2.4 Object.prototype.__lookupGetter__(P) -require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __lookupGetter__: function __lookupGetter__(P) { - var O = toObject(this); - var K = toPrimitive(P, true); - var D; - do { - if (D = getOwnPropertyDescriptor(O, K)) return D.get; - } while (O = getPrototypeOf(O)); - } -}); diff --git a/library/modules/es.object.lookup-setter.js b/library/modules/es.object.lookup-setter.js deleted file mode 100644 index 8bf8b64eab9d..000000000000 --- a/library/modules/es.object.lookup-setter.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var toObject = require('./_to-object'); -var toPrimitive = require('./_to-primitive'); -var getPrototypeOf = require('./_object-gpo'); -var getOwnPropertyDescriptor = require('./_object-gopd').f; - -// B.2.2.5 Object.prototype.__lookupSetter__(P) -require('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', { - __lookupSetter__: function __lookupSetter__(P) { - var O = toObject(this); - var K = toPrimitive(P, true); - var D; - do { - if (D = getOwnPropertyDescriptor(O, K)) return D.set; - } while (O = getPrototypeOf(O)); - } -}); diff --git a/library/modules/es.object.prevent-extensions.js b/library/modules/es.object.prevent-extensions.js deleted file mode 100644 index 2f729181f44e..000000000000 --- a/library/modules/es.object.prevent-extensions.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.15 Object.preventExtensions(O) -var isObject = require('./_is-object'); -var meta = require('./_meta').onFreeze; - -require('./_object-sap')('preventExtensions', function ($preventExtensions) { - return function preventExtensions(it) { - return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; - }; -}); diff --git a/library/modules/es.object.seal.js b/library/modules/es.object.seal.js deleted file mode 100644 index 12c3f6a3ad88..000000000000 --- a/library/modules/es.object.seal.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.17 Object.seal(O) -var isObject = require('./_is-object'); -var meta = require('./_meta').onFreeze; - -require('./_object-sap')('seal', function ($seal) { - return function seal(it) { - return $seal && isObject(it) ? $seal(meta(it)) : it; - }; -}); diff --git a/library/modules/es.object.set-prototype-of.js b/library/modules/es.object.set-prototype-of.js deleted file mode 100644 index 461dbd2ed69b..000000000000 --- a/library/modules/es.object.set-prototype-of.js +++ /dev/null @@ -1,3 +0,0 @@ -// 19.1.3.19 Object.setPrototypeOf(O, proto) -var $export = require('./_export'); -$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set }); diff --git a/library/modules/es.object.to-string.js b/library/modules/es.object.to-string.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.object.values.js b/library/modules/es.object.values.js deleted file mode 100644 index 90c069b07791..000000000000 --- a/library/modules/es.object.values.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.21 Object.values(O) -var $export = require('./_export'); -var $values = require('./_object-to-array')(false); - -$export($export.S, 'Object', { - values: function values(O) { - return $values(O); - } -}); diff --git a/library/modules/es.parse-float.js b/library/modules/es.parse-float.js deleted file mode 100644 index cbf50ead51bf..000000000000 --- a/library/modules/es.parse-float.js +++ /dev/null @@ -1,4 +0,0 @@ -var $export = require('./_export'); -var $parseFloat = require('./_parse-float'); -// 18.2.4 parseFloat(string) -$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); diff --git a/library/modules/es.parse-int.js b/library/modules/es.parse-int.js deleted file mode 100644 index 7ea358e84754..000000000000 --- a/library/modules/es.parse-int.js +++ /dev/null @@ -1,4 +0,0 @@ -var $export = require('./_export'); -var $parseInt = require('./_parse-int'); -// 18.2.5 parseInt(string, radix) -$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); diff --git a/library/modules/es.promise.js b/library/modules/es.promise.js deleted file mode 100644 index 4315f6faaeee..000000000000 --- a/library/modules/es.promise.js +++ /dev/null @@ -1,280 +0,0 @@ -'use strict'; -var LIBRARY = require('./_library'); -var global = require('./_global'); -var ctx = require('./_ctx'); -var classof = require('./_classof'); -var $export = require('./_export'); -var isObject = require('./_is-object'); -var aFunction = require('./_a-function'); -var anInstance = require('./_an-instance'); -var forOf = require('./_for-of'); -var speciesConstructor = require('./_species-constructor'); -var task = require('./_task').set; -var microtask = require('./_microtask')(); -var newPromiseCapabilityModule = require('./_new-promise-capability'); -var perform = require('./_perform'); -var promiseResolve = require('./_promise-resolve'); -var PROMISE = 'Promise'; -var TypeError = global.TypeError; -var process = global.process; -var $Promise = global[PROMISE]; -var isNode = classof(process) == 'process'; -var empty = function () { /* empty */ }; -var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; -var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; - -var USE_NATIVE = !!function () { - try { - // correct subclassing with @@species support - var promise = $Promise.resolve(1); - var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) { - exec(empty, empty); - }; - // unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise; - } catch (e) { /* empty */ } -}(); - -// helpers -var isThenable = function (it) { - var then; - return isObject(it) && typeof (then = it.then) == 'function' ? then : false; -}; -var notify = function (promise, isReject) { - if (promise._n) return; - promise._n = true; - var chain = promise._c; - microtask(function () { - var value = promise._v; - var ok = promise._s == 1; - var i = 0; - var run = function (reaction) { - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then; - try { - if (handler) { - if (!ok) { - if (promise._h == 2) onHandleUnhandled(promise); - promise._h = 1; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); - if (domain) domain.exit(); - } - if (result === reaction.promise) { - reject(TypeError('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (e) { - reject(e); - } - }; - while (chain.length > i) run(chain[i++]); // variable length - can't use forEach - promise._c = []; - promise._n = false; - if (isReject && !promise._h) onUnhandled(promise); - }); -}; -var onUnhandled = function (promise) { - task.call(global, function () { - var value = promise._v; - var unhandled = isUnhandled(promise); - var result, handler, console; - if (unhandled) { - result = perform(function () { - if (isNode) { - process.emit('unhandledRejection', value, promise); - } else if (handler = global.onunhandledrejection) { - handler({ promise: promise, reason: value }); - } else if ((console = global.console) && console.error) { - console.error('Unhandled promise rejection', value); - } - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - promise._h = isNode || isUnhandled(promise) ? 2 : 1; - } promise._a = undefined; - if (unhandled && result.e) throw result.v; - }); -}; -var isUnhandled = function (promise) { - if (promise._h == 1) return false; - var chain = promise._a || promise._c; - var i = 0; - var reaction; - while (chain.length > i) { - reaction = chain[i++]; - if (reaction.fail || !isUnhandled(reaction.promise)) return false; - } return true; -}; -var onHandleUnhandled = function (promise) { - task.call(global, function () { - var handler; - if (isNode) { - process.emit('rejectionHandled', promise); - } else if (handler = global.onrejectionhandled) { - handler({ promise: promise, reason: promise._v }); - } - }); -}; -var $reject = function (value) { - var promise = this; - if (promise._d) return; - promise._d = true; - promise = promise._w || promise; // unwrap - promise._v = value; - promise._s = 2; - if (!promise._a) promise._a = promise._c.slice(); - notify(promise, true); -}; -var $resolve = function (value) { - var promise = this; - var then; - if (promise._d) return; - promise._d = true; - promise = promise._w || promise; // unwrap - try { - if (promise === value) throw TypeError("Promise can't be resolved itself"); - if (then = isThenable(value)) { - microtask(function () { - var wrapper = { _w: promise, _d: false }; // wrap - try { - then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); - } catch (e) { - $reject.call(wrapper, e); - } - }); - } else { - promise._v = value; - promise._s = 1; - notify(promise, false); - } - } catch (e) { - $reject.call({ _w: promise, _d: false }, e); // wrap - } -}; - -// constructor polyfill -if (!USE_NATIVE) { - // 25.4.3.1 Promise(executor) - $Promise = function Promise(executor) { - anInstance(this, $Promise, PROMISE, '_h'); - aFunction(executor); - Internal.call(this); - try { - executor(ctx($resolve, this, 1), ctx($reject, this, 1)); - } catch (err) { - $reject.call(this, err); - } - }; - // eslint-disable-next-line no-unused-vars - Internal = function Promise(executor) { - this._c = []; // <- awaiting reactions - this._a = undefined; // <- checked in isUnhandled reactions - this._s = 0; // <- state - this._d = false; // <- done - this._v = undefined; // <- value - this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled - this._n = false; // <- notify - }; - Internal.prototype = require('./_redefine-all')($Promise.prototype, { - // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) - then: function then(onFulfilled, onRejected) { - var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = isNode ? process.domain : undefined; - this._c.push(reaction); - if (this._a) this._a.push(reaction); - if (this._s) notify(this, false); - return reaction.promise; - }, - // 25.4.5.1 Promise.prototype.catch(onRejected) - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - this.promise = promise; - this.resolve = ctx($resolve, promise, 1); - this.reject = ctx($reject, promise, 1); - }; - newPromiseCapabilityModule.f = newPromiseCapability = function (C) { - return C === $Promise || C === Wrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; -} - -$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); -require('./_set-to-string-tag')($Promise, PROMISE); -require('./_set-species')(PROMISE); -Wrapper = require('./_core')[PROMISE]; - -// statics -$export($export.S + $export.F * !USE_NATIVE, PROMISE, { - // 25.4.4.5 Promise.reject(r) - reject: function reject(r) { - var capability = newPromiseCapability(this); - var $$reject = capability.reject; - $$reject(r); - return capability.promise; - } -}); -$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { - // 25.4.4.6 Promise.resolve(x) - resolve: function resolve(x) { - return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); - } -}); -$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) { - $Promise.all(iter)['catch'](empty); -})), PROMISE, { - // 25.4.4.1 Promise.all(iterable) - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var index = 0; - var remaining = 1; - forOf(iterable, false, function (promise) { - var $index = index++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[$index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - }, - // 25.4.4.4 Promise.race(iterable) - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - forOf(iterable, false, function (promise) { - C.resolve(promise).then(capability.resolve, reject); - }); - }); - if (result.e) reject(result.v); - return capability.promise; - } -}); diff --git a/library/modules/es.reflect.apply.js b/library/modules/es.reflect.apply.js deleted file mode 100644 index 3b9c03a91726..000000000000 --- a/library/modules/es.reflect.apply.js +++ /dev/null @@ -1,16 +0,0 @@ -// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) -var $export = require('./_export'); -var aFunction = require('./_a-function'); -var anObject = require('./_an-object'); -var rApply = (require('./_global').Reflect || {}).apply; -var fApply = Function.apply; -// MS Edge argumentsList argument is optional -$export($export.S + $export.F * !require('./_fails')(function () { - rApply(function () { /* empty */ }); -}), 'Reflect', { - apply: function apply(target, thisArgument, argumentsList) { - var T = aFunction(target); - var L = anObject(argumentsList); - return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); - } -}); diff --git a/library/modules/es.reflect.construct.js b/library/modules/es.reflect.construct.js deleted file mode 100644 index 380addb57bad..000000000000 --- a/library/modules/es.reflect.construct.js +++ /dev/null @@ -1,47 +0,0 @@ -// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) -var $export = require('./_export'); -var create = require('./_object-create'); -var aFunction = require('./_a-function'); -var anObject = require('./_an-object'); -var isObject = require('./_is-object'); -var fails = require('./_fails'); -var bind = require('./_bind'); -var rConstruct = (require('./_global').Reflect || {}).construct; - -// MS Edge supports only 2 arguments and argumentsList argument is optional -// FF Nightly sets third argument as `new.target`, but does not create `this` from it -var NEW_TARGET_BUG = fails(function () { - function F() { /* empty */ } - return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); -}); -var ARGS_BUG = !fails(function () { - rConstruct(function () { /* empty */ }); -}); - -$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { - construct: function construct(Target, args /* , newTarget */) { - aFunction(Target); - anObject(args); - var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); - if (Target == newTarget) { - // w/o altered newTarget, optimization for 0-4 arguments - switch (args.length) { - case 0: return new Target(); - case 1: return new Target(args[0]); - case 2: return new Target(args[0], args[1]); - case 3: return new Target(args[0], args[1], args[2]); - case 4: return new Target(args[0], args[1], args[2], args[3]); - } - // w/o altered newTarget, lot of arguments case - var $args = [null]; - $args.push.apply($args, args); - return new (bind.apply(Target, $args))(); - } - // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype; - var instance = create(isObject(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); - return isObject(result) ? result : instance; - } -}); diff --git a/library/modules/es.reflect.define-property.js b/library/modules/es.reflect.define-property.js deleted file mode 100644 index be7fbde6bd9d..000000000000 --- a/library/modules/es.reflect.define-property.js +++ /dev/null @@ -1,23 +0,0 @@ -// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) -var dP = require('./_object-dp'); -var $export = require('./_export'); -var anObject = require('./_an-object'); -var toPrimitive = require('./_to-primitive'); - -// MS Edge has broken Reflect.defineProperty - throwing instead of returning false -$export($export.S + $export.F * require('./_fails')(function () { - // eslint-disable-next-line no-undef - Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); -}), 'Reflect', { - defineProperty: function defineProperty(target, propertyKey, attributes) { - anObject(target); - propertyKey = toPrimitive(propertyKey, true); - anObject(attributes); - try { - dP.f(target, propertyKey, attributes); - return true; - } catch (e) { - return false; - } - } -}); diff --git a/library/modules/es.reflect.delete-property.js b/library/modules/es.reflect.delete-property.js deleted file mode 100644 index 0902b38a9b6c..000000000000 --- a/library/modules/es.reflect.delete-property.js +++ /dev/null @@ -1,11 +0,0 @@ -// 26.1.4 Reflect.deleteProperty(target, propertyKey) -var $export = require('./_export'); -var gOPD = require('./_object-gopd').f; -var anObject = require('./_an-object'); - -$export($export.S, 'Reflect', { - deleteProperty: function deleteProperty(target, propertyKey) { - var desc = gOPD(anObject(target), propertyKey); - return desc && !desc.configurable ? false : delete target[propertyKey]; - } -}); diff --git a/library/modules/es.reflect.get-own-property-descriptor.js b/library/modules/es.reflect.get-own-property-descriptor.js deleted file mode 100644 index e1299f906f98..000000000000 --- a/library/modules/es.reflect.get-own-property-descriptor.js +++ /dev/null @@ -1,10 +0,0 @@ -// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) -var gOPD = require('./_object-gopd'); -var $export = require('./_export'); -var anObject = require('./_an-object'); - -$export($export.S, 'Reflect', { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - return gOPD.f(anObject(target), propertyKey); - } -}); diff --git a/library/modules/es.reflect.get-prototype-of.js b/library/modules/es.reflect.get-prototype-of.js deleted file mode 100644 index 28351d410fca..000000000000 --- a/library/modules/es.reflect.get-prototype-of.js +++ /dev/null @@ -1,10 +0,0 @@ -// 26.1.8 Reflect.getPrototypeOf(target) -var $export = require('./_export'); -var getProto = require('./_object-gpo'); -var anObject = require('./_an-object'); - -$export($export.S, 'Reflect', { - getPrototypeOf: function getPrototypeOf(target) { - return getProto(anObject(target)); - } -}); diff --git a/library/modules/es.reflect.get.js b/library/modules/es.reflect.get.js deleted file mode 100644 index a7ee766673ae..000000000000 --- a/library/modules/es.reflect.get.js +++ /dev/null @@ -1,21 +0,0 @@ -// 26.1.6 Reflect.get(target, propertyKey [, receiver]) -var gOPD = require('./_object-gopd'); -var getPrototypeOf = require('./_object-gpo'); -var has = require('./_has'); -var $export = require('./_export'); -var isObject = require('./_is-object'); -var anObject = require('./_an-object'); - -function get(target, propertyKey /* , receiver */) { - var receiver = arguments.length < 3 ? target : arguments[2]; - var desc, proto; - if (anObject(target) === receiver) return target[propertyKey]; - if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') - ? desc.value - : desc.get !== undefined - ? desc.get.call(receiver) - : undefined; - if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); -} - -$export($export.S, 'Reflect', { get: get }); diff --git a/library/modules/es.reflect.has.js b/library/modules/es.reflect.has.js deleted file mode 100644 index 4f5efa99294b..000000000000 --- a/library/modules/es.reflect.has.js +++ /dev/null @@ -1,8 +0,0 @@ -// 26.1.9 Reflect.has(target, propertyKey) -var $export = require('./_export'); - -$export($export.S, 'Reflect', { - has: function has(target, propertyKey) { - return propertyKey in target; - } -}); diff --git a/library/modules/es.reflect.is-extensible.js b/library/modules/es.reflect.is-extensible.js deleted file mode 100644 index 700f938ac778..000000000000 --- a/library/modules/es.reflect.is-extensible.js +++ /dev/null @@ -1,11 +0,0 @@ -// 26.1.10 Reflect.isExtensible(target) -var $export = require('./_export'); -var anObject = require('./_an-object'); -var $isExtensible = Object.isExtensible; - -$export($export.S, 'Reflect', { - isExtensible: function isExtensible(target) { - anObject(target); - return $isExtensible ? $isExtensible(target) : true; - } -}); diff --git a/library/modules/es.reflect.own-keys.js b/library/modules/es.reflect.own-keys.js deleted file mode 100644 index 9f2424ae8dae..000000000000 --- a/library/modules/es.reflect.own-keys.js +++ /dev/null @@ -1,4 +0,0 @@ -// 26.1.11 Reflect.ownKeys(target) -var $export = require('./_export'); - -$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') }); diff --git a/library/modules/es.reflect.prevent-extensions.js b/library/modules/es.reflect.prevent-extensions.js deleted file mode 100644 index e1037fa19480..000000000000 --- a/library/modules/es.reflect.prevent-extensions.js +++ /dev/null @@ -1,16 +0,0 @@ -// 26.1.12 Reflect.preventExtensions(target) -var $export = require('./_export'); -var anObject = require('./_an-object'); -var $preventExtensions = Object.preventExtensions; - -$export($export.S, 'Reflect', { - preventExtensions: function preventExtensions(target) { - anObject(target); - try { - if ($preventExtensions) $preventExtensions(target); - return true; - } catch (e) { - return false; - } - } -}); diff --git a/library/modules/es.reflect.set-prototype-of.js b/library/modules/es.reflect.set-prototype-of.js deleted file mode 100644 index 5dae90122b56..000000000000 --- a/library/modules/es.reflect.set-prototype-of.js +++ /dev/null @@ -1,15 +0,0 @@ -// 26.1.14 Reflect.setPrototypeOf(target, proto) -var $export = require('./_export'); -var setProto = require('./_set-proto'); - -if (setProto) $export($export.S, 'Reflect', { - setPrototypeOf: function setPrototypeOf(target, proto) { - setProto.check(target, proto); - try { - setProto.set(target, proto); - return true; - } catch (e) { - return false; - } - } -}); diff --git a/library/modules/es.reflect.set.js b/library/modules/es.reflect.set.js deleted file mode 100644 index e2a89816c3f3..000000000000 --- a/library/modules/es.reflect.set.js +++ /dev/null @@ -1,31 +0,0 @@ -// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) -var dP = require('./_object-dp'); -var gOPD = require('./_object-gopd'); -var getPrototypeOf = require('./_object-gpo'); -var has = require('./_has'); -var $export = require('./_export'); -var createDesc = require('./_property-desc'); -var anObject = require('./_an-object'); -var isObject = require('./_is-object'); - -function set(target, propertyKey, V /* , receiver */) { - var receiver = arguments.length < 4 ? target : arguments[3]; - var ownDesc = gOPD.f(anObject(target), propertyKey); - var existingDescriptor, proto; - if (!ownDesc) { - if (isObject(proto = getPrototypeOf(target))) { - return set(proto, propertyKey, V, receiver); - } - ownDesc = createDesc(0); - } - if (has(ownDesc, 'value')) { - if (ownDesc.writable === false || !isObject(receiver)) return false; - existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); - existingDescriptor.value = V; - dP.f(receiver, propertyKey, existingDescriptor); - return true; - } - return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); -} - -$export($export.S, 'Reflect', { set: set }); diff --git a/library/modules/es.regexp.constructor.js b/library/modules/es.regexp.constructor.js deleted file mode 100644 index e85e3141a2ad..000000000000 --- a/library/modules/es.regexp.constructor.js +++ /dev/null @@ -1 +0,0 @@ -require('./_set-species')('RegExp'); diff --git a/library/modules/es.regexp.flags.js b/library/modules/es.regexp.flags.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.regexp.match.js b/library/modules/es.regexp.match.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.regexp.replace.js b/library/modules/es.regexp.replace.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.regexp.search.js b/library/modules/es.regexp.search.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.regexp.split.js b/library/modules/es.regexp.split.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.regexp.to-string.js b/library/modules/es.regexp.to-string.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/library/modules/es.set.js b/library/modules/es.set.js deleted file mode 100644 index 55b8bdd89b66..000000000000 --- a/library/modules/es.set.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -var strong = require('./_collection-strong'); -var validate = require('./_validate-collection'); -var SET = 'Set'; - -// 23.2 Set Objects -module.exports = require('./_collection')(SET, function (get) { - return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); - } -}, strong); diff --git a/library/modules/es.string.anchor.js b/library/modules/es.string.anchor.js deleted file mode 100644 index 3493e54c023e..000000000000 --- a/library/modules/es.string.anchor.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.2 String.prototype.anchor(name) -require('./_string-html')('anchor', function (createHTML) { - return function anchor(name) { - return createHTML(this, 'a', 'name', name); - }; -}); diff --git a/library/modules/es.string.big.js b/library/modules/es.string.big.js deleted file mode 100644 index 38aab3414a58..000000000000 --- a/library/modules/es.string.big.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.3 String.prototype.big() -require('./_string-html')('big', function (createHTML) { - return function big() { - return createHTML(this, 'big', '', ''); - }; -}); diff --git a/library/modules/es.string.blink.js b/library/modules/es.string.blink.js deleted file mode 100644 index 6188d96e3258..000000000000 --- a/library/modules/es.string.blink.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.4 String.prototype.blink() -require('./_string-html')('blink', function (createHTML) { - return function blink() { - return createHTML(this, 'blink', '', ''); - }; -}); diff --git a/library/modules/es.string.bold.js b/library/modules/es.string.bold.js deleted file mode 100644 index ff3ecb9cb7e8..000000000000 --- a/library/modules/es.string.bold.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.5 String.prototype.bold() -require('./_string-html')('bold', function (createHTML) { - return function bold() { - return createHTML(this, 'b', '', ''); - }; -}); diff --git a/library/modules/es.string.code-point-at.js b/library/modules/es.string.code-point-at.js deleted file mode 100644 index e39b8c5eaa20..000000000000 --- a/library/modules/es.string.code-point-at.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $at = require('./_string-at')(false); -$export($export.P, 'String', { - // 21.1.3.3 String.prototype.codePointAt(pos) - codePointAt: function codePointAt(pos) { - return $at(this, pos); - } -}); diff --git a/library/modules/es.string.ends-with.js b/library/modules/es.string.ends-with.js deleted file mode 100644 index 06568888407a..000000000000 --- a/library/modules/es.string.ends-with.js +++ /dev/null @@ -1,20 +0,0 @@ -// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) -'use strict'; -var $export = require('./_export'); -var toLength = require('./_to-length'); -var context = require('./_string-context'); -var ENDS_WITH = 'endsWith'; -var $endsWith = ''[ENDS_WITH]; - -$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', { - endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = context(this, searchString, ENDS_WITH); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = toLength(that.length); - var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); - var search = String(searchString); - return $endsWith - ? $endsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; - } -}); diff --git a/library/modules/es.string.fixed.js b/library/modules/es.string.fixed.js deleted file mode 100644 index d4a60f37d701..000000000000 --- a/library/modules/es.string.fixed.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.6 String.prototype.fixed() -require('./_string-html')('fixed', function (createHTML) { - return function fixed() { - return createHTML(this, 'tt', '', ''); - }; -}); diff --git a/library/modules/es.string.fontcolor.js b/library/modules/es.string.fontcolor.js deleted file mode 100644 index f7b95957ccb0..000000000000 --- a/library/modules/es.string.fontcolor.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.7 String.prototype.fontcolor(color) -require('./_string-html')('fontcolor', function (createHTML) { - return function fontcolor(color) { - return createHTML(this, 'font', 'color', color); - }; -}); diff --git a/library/modules/es.string.fontsize.js b/library/modules/es.string.fontsize.js deleted file mode 100644 index f4cc20aec27b..000000000000 --- a/library/modules/es.string.fontsize.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.8 String.prototype.fontsize(size) -require('./_string-html')('fontsize', function (createHTML) { - return function fontsize(size) { - return createHTML(this, 'font', 'size', size); - }; -}); diff --git a/library/modules/es.string.from-code-point.js b/library/modules/es.string.from-code-point.js deleted file mode 100644 index bece66e292df..000000000000 --- a/library/modules/es.string.from-code-point.js +++ /dev/null @@ -1,23 +0,0 @@ -var $export = require('./_export'); -var toAbsoluteIndex = require('./_to-absolute-index'); -var fromCharCode = String.fromCharCode; -var $fromCodePoint = String.fromCodePoint; - -// length should be 1, old FF problem -$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { - // 21.1.2.2 String.fromCodePoint(...codePoints) - fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars - var res = []; - var aLen = arguments.length; - var i = 0; - var code; - while (aLen > i) { - code = +arguments[i++]; - if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); - res.push(code < 0x10000 - ? fromCharCode(code) - : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) - ); - } return res.join(''); - } -}); diff --git a/library/modules/es.string.includes.js b/library/modules/es.string.includes.js deleted file mode 100644 index 28d17416b53c..000000000000 --- a/library/modules/es.string.includes.js +++ /dev/null @@ -1,12 +0,0 @@ -// 21.1.3.7 String.prototype.includes(searchString, position = 0) -'use strict'; -var $export = require('./_export'); -var context = require('./_string-context'); -var INCLUDES = 'includes'; - -$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', { - includes: function includes(searchString /* , position = 0 */) { - return !!~context(this, searchString, INCLUDES) - .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); - } -}); diff --git a/library/modules/es.string.italics.js b/library/modules/es.string.italics.js deleted file mode 100644 index ed4cc3bf0f50..000000000000 --- a/library/modules/es.string.italics.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.9 String.prototype.italics() -require('./_string-html')('italics', function (createHTML) { - return function italics() { - return createHTML(this, 'i', '', ''); - }; -}); diff --git a/library/modules/es.string.iterator.js b/library/modules/es.string.iterator.js deleted file mode 100644 index 5d84c7fde4d4..000000000000 --- a/library/modules/es.string.iterator.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; -var $at = require('./_string-at')(true); - -// 21.1.3.27 String.prototype[@@iterator]() -require('./_iter-define')(String, 'String', function (iterated) { - this._t = String(iterated); // target - this._i = 0; // next index -// 21.1.5.2.1 %StringIteratorPrototype%.next() -}, function () { - var O = this._t; - var index = this._i; - var point; - if (index >= O.length) return { value: undefined, done: true }; - point = $at(O, index); - this._i += point.length; - return { value: point, done: false }; -}); diff --git a/library/modules/es.string.link.js b/library/modules/es.string.link.js deleted file mode 100644 index d0255edd68ab..000000000000 --- a/library/modules/es.string.link.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.10 String.prototype.link(url) -require('./_string-html')('link', function (createHTML) { - return function link(url) { - return createHTML(this, 'a', 'href', url); - }; -}); diff --git a/library/modules/es.string.pad-end.js b/library/modules/es.string.pad-end.js deleted file mode 100644 index 68e3435e3188..000000000000 --- a/library/modules/es.string.pad-end.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -// 21.1.3.13 String.prototype.padEnd(maxLength [ , fillString ]) -var $export = require('./_export'); -var $pad = require('./_string-pad'); - -$export($export.P, 'String', { - padEnd: function padEnd(maxLength /* , fillString = ' ' */) { - return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); - } -}); diff --git a/library/modules/es.string.pad-start.js b/library/modules/es.string.pad-start.js deleted file mode 100644 index 75584fbb6e08..000000000000 --- a/library/modules/es.string.pad-start.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -// 21.1.3.14 String.prototype.padStart(maxLength [ , fillString ]) -var $export = require('./_export'); -var $pad = require('./_string-pad'); - -$export($export.P, 'String', { - padStart: function padStart(maxLength /* , fillString = ' ' */) { - return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); - } -}); diff --git a/library/modules/es.string.raw.js b/library/modules/es.string.raw.js deleted file mode 100644 index aa40ff6fae01..000000000000 --- a/library/modules/es.string.raw.js +++ /dev/null @@ -1,18 +0,0 @@ -var $export = require('./_export'); -var toIObject = require('./_to-iobject'); -var toLength = require('./_to-length'); - -$export($export.S, 'String', { - // 21.1.2.4 String.raw(callSite, ...substitutions) - raw: function raw(callSite) { - var tpl = toIObject(callSite.raw); - var len = toLength(tpl.length); - var aLen = arguments.length; - var res = []; - var i = 0; - while (len > i) { - res.push(String(tpl[i++])); - if (i < aLen) res.push(String(arguments[i])); - } return res.join(''); - } -}); diff --git a/library/modules/es.string.repeat.js b/library/modules/es.string.repeat.js deleted file mode 100644 index 08412d91be6d..000000000000 --- a/library/modules/es.string.repeat.js +++ /dev/null @@ -1,6 +0,0 @@ -var $export = require('./_export'); - -$export($export.P, 'String', { - // 21.1.3.13 String.prototype.repeat(count) - repeat: require('./_string-repeat') -}); diff --git a/library/modules/es.string.small.js b/library/modules/es.string.small.js deleted file mode 100644 index 941e4a767780..000000000000 --- a/library/modules/es.string.small.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.11 String.prototype.small() -require('./_string-html')('small', function (createHTML) { - return function small() { - return createHTML(this, 'small', '', ''); - }; -}); diff --git a/library/modules/es.string.starts-with.js b/library/modules/es.string.starts-with.js deleted file mode 100644 index c1723767de5f..000000000000 --- a/library/modules/es.string.starts-with.js +++ /dev/null @@ -1,18 +0,0 @@ -// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) -'use strict'; -var $export = require('./_export'); -var toLength = require('./_to-length'); -var context = require('./_string-context'); -var STARTS_WITH = 'startsWith'; -var $startsWith = ''[STARTS_WITH]; - -$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = context(this, searchString, STARTS_WITH); - var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return $startsWith - ? $startsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; - } -}); diff --git a/library/modules/es.string.strike.js b/library/modules/es.string.strike.js deleted file mode 100644 index 66055bc00a19..000000000000 --- a/library/modules/es.string.strike.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.12 String.prototype.strike() -require('./_string-html')('strike', function (createHTML) { - return function strike() { - return createHTML(this, 'strike', '', ''); - }; -}); diff --git a/library/modules/es.string.sub.js b/library/modules/es.string.sub.js deleted file mode 100644 index e295a27b056a..000000000000 --- a/library/modules/es.string.sub.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.13 String.prototype.sub() -require('./_string-html')('sub', function (createHTML) { - return function sub() { - return createHTML(this, 'sub', '', ''); - }; -}); diff --git a/library/modules/es.string.sup.js b/library/modules/es.string.sup.js deleted file mode 100644 index 125a989a79ab..000000000000 --- a/library/modules/es.string.sup.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// B.2.3.14 String.prototype.sup() -require('./_string-html')('sup', function (createHTML) { - return function sup() { - return createHTML(this, 'sup', '', ''); - }; -}); diff --git a/library/modules/es.string.trim.js b/library/modules/es.string.trim.js deleted file mode 100644 index 02b8a6c695a9..000000000000 --- a/library/modules/es.string.trim.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// 21.1.3.25 String.prototype.trim() -require('./_string-trim')('trim', function ($trim) { - return function trim() { - return $trim(this, 3); - }; -}); diff --git a/library/modules/es.symbol.js b/library/modules/es.symbol.js deleted file mode 100644 index 88d7fe92f4a6..000000000000 --- a/library/modules/es.symbol.js +++ /dev/null @@ -1,234 +0,0 @@ -'use strict'; -// ECMAScript 6 symbols shim -var global = require('./_global'); -var has = require('./_has'); -var DESCRIPTORS = require('./_descriptors'); -var $export = require('./_export'); -var redefine = require('./_redefine'); -var META = require('./_meta').KEY; -var $fails = require('./_fails'); -var shared = require('./_shared'); -var setToStringTag = require('./_set-to-string-tag'); -var uid = require('./_uid'); -var wks = require('./_wks'); -var wksExt = require('./_wks-ext'); -var wksDefine = require('./_wks-define'); -var enumKeys = require('./_enum-keys'); -var isArray = require('./_is-array'); -var anObject = require('./_an-object'); -var toIObject = require('./_to-iobject'); -var toPrimitive = require('./_to-primitive'); -var createDesc = require('./_property-desc'); -var _create = require('./_object-create'); -var gOPNExt = require('./_object-gopn-ext'); -var $GOPD = require('./_object-gopd'); -var $DP = require('./_object-dp'); -var $keys = require('./_object-keys'); -var gOPD = $GOPD.f; -var dP = $DP.f; -var gOPN = gOPNExt.f; -var $Symbol = global.Symbol; -var $JSON = global.JSON; -var _stringify = $JSON && $JSON.stringify; -var PROTOTYPE = 'prototype'; -var HIDDEN = wks('_hidden'); -var TO_PRIMITIVE = wks('toPrimitive'); -var isEnum = {}.propertyIsEnumerable; -var SymbolRegistry = shared('symbol-registry'); -var AllSymbols = shared('symbols'); -var OPSymbols = shared('op-symbols'); -var ObjectProto = Object[PROTOTYPE]; -var USE_NATIVE = typeof $Symbol == 'function'; -var QObject = global.QObject; -// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 -var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; - -// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDesc = DESCRIPTORS && $fails(function () { - return _create(dP({}, 'a', { - get: function () { return dP(this, 'a', { value: 7 }).a; } - })).a != 7; -}) ? function (it, key, D) { - var protoDesc = gOPD(ObjectProto, key); - if (protoDesc) delete ObjectProto[key]; - dP(it, key, D); - if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); -} : dP; - -var wrap = function (tag) { - var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); - sym._k = tag; - return sym; -}; - -var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - return it instanceof $Symbol; -}; - -var $defineProperty = function defineProperty(it, key, D) { - if (it === ObjectProto) $defineProperty(OPSymbols, key, D); - anObject(it); - key = toPrimitive(key, true); - anObject(D); - if (has(AllSymbols, key)) { - if (!D.enumerable) { - if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); - it[HIDDEN][key] = true; - } else { - if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; - D = _create(D, { enumerable: createDesc(0, false) }); - } return setSymbolDesc(it, key, D); - } return dP(it, key, D); -}; -var $defineProperties = function defineProperties(it, P) { - anObject(it); - var keys = enumKeys(P = toIObject(P)); - var i = 0; - var l = keys.length; - var key; - while (l > i) $defineProperty(it, key = keys[i++], P[key]); - return it; -}; -var $create = function create(it, P) { - return P === undefined ? _create(it) : $defineProperties(_create(it), P); -}; -var $propertyIsEnumerable = function propertyIsEnumerable(key) { - var E = isEnum.call(this, key = toPrimitive(key, true)); - if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; - return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; -}; -var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { - it = toIObject(it); - key = toPrimitive(key, true); - if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; - var D = gOPD(it, key); - if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; - return D; -}; -var $getOwnPropertyNames = function getOwnPropertyNames(it) { - var names = gOPN(toIObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); - } return result; -}; -var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { - var IS_OP = it === ObjectProto; - var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); - } return result; -}; - -// 19.4.1.1 Symbol([description]) -if (!USE_NATIVE) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); - var tag = uid(arguments.length > 0 ? arguments[0] : undefined); - var $set = function (value) { - if (this === ObjectProto) $set.call(OPSymbols, value); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDesc(this, tag, createDesc(1, value)); - }; - if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); - return wrap(tag); - }; - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return this._k; - }); - - $GOPD.f = $getOwnPropertyDescriptor; - $DP.f = $defineProperty; - require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames; - require('./_object-pie').f = $propertyIsEnumerable; - require('./_object-gops').f = $getOwnPropertySymbols; - - if (DESCRIPTORS && !require('./_library')) { - redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); - } - - wksExt.f = function (name) { - return wrap(wks(name)); - }; -} - -$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); - -for (var es6Symbols = ( - // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 - 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' -).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); - -for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); - -$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { - // 19.4.2.1 Symbol.for(key) - 'for': function (key) { - return has(SymbolRegistry, key += '') - ? SymbolRegistry[key] - : SymbolRegistry[key] = $Symbol(key); - }, - // 19.4.2.5 Symbol.keyFor(sym) - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { setter = true; }, - useSimple: function () { setter = false; } -}); - -$export($export.S + $export.F * !USE_NATIVE, 'Object', { - // 19.1.2.2 Object.create(O [, Properties]) - create: $create, - // 19.1.2.4 Object.defineProperty(O, P, Attributes) - defineProperty: $defineProperty, - // 19.1.2.3 Object.defineProperties(O, Properties) - defineProperties: $defineProperties, - // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) - getOwnPropertyDescriptor: $getOwnPropertyDescriptor, - // 19.1.2.7 Object.getOwnPropertyNames(O) - getOwnPropertyNames: $getOwnPropertyNames, - // 19.1.2.8 Object.getOwnPropertySymbols(O) - getOwnPropertySymbols: $getOwnPropertySymbols -}); - -// 24.3.2 JSON.stringify(value [, replacer [, space]]) -$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { - var S = $Symbol(); - // MS Edge converts symbol values to JSON as {} - // WebKit converts symbol values to JSON as null - // V8 throws on boxed symbols - return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; -})), 'JSON', { - stringify: function stringify(it) { - if (it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - var args = [it]; - var i = 1; - var replacer, $replacer; - while (arguments.length > i) args.push(arguments[i++]); - replacer = args[1]; - if (typeof replacer == 'function') $replacer = replacer; - if ($replacer || !isArray(replacer)) replacer = function (key, value) { - if ($replacer) value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return _stringify.apply($JSON, args); - } -}); - -// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) -$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); -// 19.4.3.5 Symbol.prototype[@@toStringTag] -setToStringTag($Symbol, 'Symbol'); -// 20.2.1.9 Math[@@toStringTag] -setToStringTag(Math, 'Math', true); -// 24.3.3 JSON[@@toStringTag] -setToStringTag(global.JSON, 'JSON', true); diff --git a/library/modules/es.typed.array-buffer.js b/library/modules/es.typed.array-buffer.js deleted file mode 100644 index 4e9373165a4c..000000000000 --- a/library/modules/es.typed.array-buffer.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; -var $export = require('./_export'); -var $typed = require('./_typed'); -var buffer = require('./_typed-buffer'); -var anObject = require('./_an-object'); -var toAbsoluteIndex = require('./_to-absolute-index'); -var toLength = require('./_to-length'); -var isObject = require('./_is-object'); -var ArrayBuffer = require('./_global').ArrayBuffer; -var speciesConstructor = require('./_species-constructor'); -var $ArrayBuffer = buffer.ArrayBuffer; -var $DataView = buffer.DataView; -var $isView = $typed.ABV && ArrayBuffer.isView; -var $slice = $ArrayBuffer.prototype.slice; -var VIEW = $typed.VIEW; -var ARRAY_BUFFER = 'ArrayBuffer'; - -$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); - -$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { - // 24.1.3.1 ArrayBuffer.isView(arg) - isView: function isView(it) { - return $isView && $isView(it) || isObject(it) && VIEW in it; - } -}); - -$export($export.P + $export.U + $export.F * require('./_fails')(function () { - return !new $ArrayBuffer(2).slice(1, undefined).byteLength; -}), ARRAY_BUFFER, { - // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) - slice: function slice(start, end) { - if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix - var len = anObject(this).byteLength; - var first = toAbsoluteIndex(start, len); - var final = toAbsoluteIndex(end === undefined ? len : end, len); - var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first)); - var viewS = new $DataView(this); - var viewT = new $DataView(result); - var index = 0; - while (first < final) { - viewT.setUint8(index++, viewS.getUint8(first++)); - } return result; - } -}); - -require('./_set-species')(ARRAY_BUFFER); diff --git a/library/modules/es.typed.data-view.js b/library/modules/es.typed.data-view.js deleted file mode 100644 index d0e23536b68f..000000000000 --- a/library/modules/es.typed.data-view.js +++ /dev/null @@ -1,4 +0,0 @@ -var $export = require('./_export'); -$export($export.G + $export.W + $export.F * !require('./_typed').ABV, { - DataView: require('./_typed-buffer').DataView -}); diff --git a/library/modules/es.typed.float32-array.js b/library/modules/es.typed.float32-array.js deleted file mode 100644 index f49700617c68..000000000000 --- a/library/modules/es.typed.float32-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Float32', 4, function (init) { - return function Float32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.float64-array.js b/library/modules/es.typed.float64-array.js deleted file mode 100644 index 85dedcd597dc..000000000000 --- a/library/modules/es.typed.float64-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Float64', 8, function (init) { - return function Float64Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.int16-array.js b/library/modules/es.typed.int16-array.js deleted file mode 100644 index b20ed0413e00..000000000000 --- a/library/modules/es.typed.int16-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Int16', 2, function (init) { - return function Int16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.int32-array.js b/library/modules/es.typed.int32-array.js deleted file mode 100644 index c7e6ae06ff37..000000000000 --- a/library/modules/es.typed.int32-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Int32', 4, function (init) { - return function Int32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.int8-array.js b/library/modules/es.typed.int8-array.js deleted file mode 100644 index 58ab9f36e24c..000000000000 --- a/library/modules/es.typed.int8-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Int8', 1, function (init) { - return function Int8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.uint16-array.js b/library/modules/es.typed.uint16-array.js deleted file mode 100644 index 992805d6311e..000000000000 --- a/library/modules/es.typed.uint16-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Uint16', 2, function (init) { - return function Uint16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.uint32-array.js b/library/modules/es.typed.uint32-array.js deleted file mode 100644 index 5c444246aee2..000000000000 --- a/library/modules/es.typed.uint32-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Uint32', 4, function (init) { - return function Uint32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.uint8-array.js b/library/modules/es.typed.uint8-array.js deleted file mode 100644 index 465cdc806a52..000000000000 --- a/library/modules/es.typed.uint8-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Uint8', 1, function (init) { - return function Uint8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); diff --git a/library/modules/es.typed.uint8-clamped-array.js b/library/modules/es.typed.uint8-clamped-array.js deleted file mode 100644 index a84a1c1ac216..000000000000 --- a/library/modules/es.typed.uint8-clamped-array.js +++ /dev/null @@ -1,5 +0,0 @@ -require('./_typed-array')('Uint8', 1, function (init) { - return function Uint8ClampedArray(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}, true); diff --git a/library/modules/es.weak-map.js b/library/modules/es.weak-map.js deleted file mode 100644 index f21556d7c960..000000000000 --- a/library/modules/es.weak-map.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; -var each = require('./_array-methods')(0); -var redefine = require('./_redefine'); -var meta = require('./_meta'); -var assign = require('./_object-assign'); -var weak = require('./_collection-weak'); -var isObject = require('./_is-object'); -var fails = require('./_fails'); -var validate = require('./_validate-collection'); -var WEAK_MAP = 'WeakMap'; -var getWeak = meta.getWeak; -var isExtensible = Object.isExtensible; -var uncaughtFrozenStore = weak.ufstore; -var tmp = {}; -var InternalMap; - -var wrapper = function (get) { - return function WeakMap() { - return get(this, arguments.length > 0 ? arguments[0] : undefined); - }; -}; - -var methods = { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - if (isObject(key)) { - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); - return data ? data[this._i] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return weak.def(validate(this, WEAK_MAP), key, value); - } -}; - -// 23.3 WeakMap Objects -var $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true); - -// IE11 WeakMap frozen keys fix -if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { - InternalMap = weak.getConstructor(wrapper, WEAK_MAP); - assign(InternalMap.prototype, methods); - meta.NEED = true; - each(['delete', 'has', 'get', 'set'], function (key) { - var proto = $WeakMap.prototype; - var method = proto[key]; - redefine(proto, key, function (a, b) { - // store frozen objects on internal weakmap shim - if (isObject(a) && !isExtensible(a)) { - if (!this._f) this._f = new InternalMap(); - var result = this._f[key](a, b); - return key == 'set' ? this : result; - // store all the rest on native weakmap - } return method.call(this, a, b); - }); - }); -} diff --git a/library/modules/es.weak-set.js b/library/modules/es.weak-set.js deleted file mode 100644 index 18a81e524320..000000000000 --- a/library/modules/es.weak-set.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -var weak = require('./_collection-weak'); -var validate = require('./_validate-collection'); -var WEAK_SET = 'WeakSet'; - -// 23.4 WeakSet Objects -require('./_collection')(WEAK_SET, function (get) { - return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return weak.def(validate(this, WEAK_SET), value, true); - } -}, weak, false, true); diff --git a/library/modules/esnext.array.flat-map.js b/library/modules/esnext.array.flat-map.js deleted file mode 100644 index 7705f80da977..000000000000 --- a/library/modules/esnext.array.flat-map.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; -// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap -var $export = require('./_export'); -var flattenIntoArray = require('./_flatten-into-array'); -var toObject = require('./_to-object'); -var toLength = require('./_to-length'); -var aFunction = require('./_a-function'); -var arraySpeciesCreate = require('./_array-species-create'); - -$export($export.P, 'Array', { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen, A; - aFunction(callbackfn); - sourceLen = toLength(O.length); - A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); - return A; - } -}); - -require('./_add-to-unscopables')('flatMap'); diff --git a/library/modules/esnext.array.flatten.js b/library/modules/esnext.array.flatten.js deleted file mode 100644 index 68ca63dc3b53..000000000000 --- a/library/modules/esnext.array.flatten.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; -// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten -var $export = require('./_export'); -var flattenIntoArray = require('./_flatten-into-array'); -var toObject = require('./_to-object'); -var toLength = require('./_to-length'); -var toInteger = require('./_to-integer'); -var arraySpeciesCreate = require('./_array-species-create'); - -$export($export.P, 'Array', { - flatten: function flatten(/* depthArg = 1 */) { - var depthArg = arguments[0]; - var O = toObject(this); - var sourceLen = toLength(O.length); - var A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); - return A; - } -}); - -require('./_add-to-unscopables')('flatten'); diff --git a/library/modules/esnext.asap.js b/library/modules/esnext.asap.js deleted file mode 100644 index d36f7c760879..000000000000 --- a/library/modules/esnext.asap.js +++ /dev/null @@ -1,12 +0,0 @@ -// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask -var $export = require('./_export'); -var microtask = require('./_microtask')(); -var process = require('./_global').process; -var isNode = require('./_cof')(process) == 'process'; - -$export($export.G, { - asap: function asap(fn) { - var domain = isNode && process.domain; - microtask(domain ? domain.bind(fn) : fn); - } -}); diff --git a/library/modules/esnext.global.js b/library/modules/esnext.global.js deleted file mode 100644 index a315fd430025..000000000000 --- a/library/modules/esnext.global.js +++ /dev/null @@ -1,4 +0,0 @@ -// https://github.com/tc39/proposal-global -var $export = require('./_export'); - -$export($export.G, { global: require('./_global') }); diff --git a/library/modules/esnext.map.from.js b/library/modules/esnext.map.from.js deleted file mode 100644 index a60573704e6b..000000000000 --- a/library/modules/esnext.map.from.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from -require('./_set-collection-from')('Map'); diff --git a/library/modules/esnext.map.of.js b/library/modules/esnext.map.of.js deleted file mode 100644 index a2bf1fef7070..000000000000 --- a/library/modules/esnext.map.of.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of -require('./_set-collection-of')('Map'); diff --git a/library/modules/esnext.math.clamp.js b/library/modules/esnext.math.clamp.js deleted file mode 100644 index 319cda60997c..000000000000 --- a/library/modules/esnext.math.clamp.js +++ /dev/null @@ -1,8 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); - -$export($export.S, 'Math', { - clamp: function clamp(x, lower, upper) { - return Math.min(upper, Math.max(lower, x)); - } -}); diff --git a/library/modules/esnext.math.deg-per-rad.js b/library/modules/esnext.math.deg-per-rad.js deleted file mode 100644 index 99b95bba9f2c..000000000000 --- a/library/modules/esnext.math.deg-per-rad.js +++ /dev/null @@ -1,4 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); - -$export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); diff --git a/library/modules/esnext.math.degrees.js b/library/modules/esnext.math.degrees.js deleted file mode 100644 index 6637d915eabb..000000000000 --- a/library/modules/esnext.math.degrees.js +++ /dev/null @@ -1,9 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); -var RAD_PER_DEG = 180 / Math.PI; - -$export($export.S, 'Math', { - degrees: function degrees(radians) { - return radians * RAD_PER_DEG; - } -}); diff --git a/library/modules/esnext.math.fscale.js b/library/modules/esnext.math.fscale.js deleted file mode 100644 index ad660a05888c..000000000000 --- a/library/modules/esnext.math.fscale.js +++ /dev/null @@ -1,10 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); -var scale = require('./_math-scale'); -var fround = require('./_math-fround'); - -$export($export.S, 'Math', { - fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { - return fround(scale(x, inLow, inHigh, outLow, outHigh)); - } -}); diff --git a/library/modules/esnext.math.iaddh.js b/library/modules/esnext.math.iaddh.js deleted file mode 100644 index a331ba9b26fa..000000000000 --- a/library/modules/esnext.math.iaddh.js +++ /dev/null @@ -1,11 +0,0 @@ -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = require('./_export'); - -$export($export.S, 'Math', { - iaddh: function iaddh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; - } -}); diff --git a/library/modules/esnext.math.imulh.js b/library/modules/esnext.math.imulh.js deleted file mode 100644 index 58d19f3ac33b..000000000000 --- a/library/modules/esnext.math.imulh.js +++ /dev/null @@ -1,16 +0,0 @@ -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = require('./_export'); - -$export($export.S, 'Math', { - imulh: function imulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >> 16; - var v1 = $v >> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); - } -}); diff --git a/library/modules/esnext.math.isubh.js b/library/modules/esnext.math.isubh.js deleted file mode 100644 index de22793c1bfd..000000000000 --- a/library/modules/esnext.math.isubh.js +++ /dev/null @@ -1,11 +0,0 @@ -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = require('./_export'); - -$export($export.S, 'Math', { - isubh: function isubh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; - } -}); diff --git a/library/modules/esnext.math.rad-per-deg.js b/library/modules/esnext.math.rad-per-deg.js deleted file mode 100644 index 6f702596a9ab..000000000000 --- a/library/modules/esnext.math.rad-per-deg.js +++ /dev/null @@ -1,4 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); - -$export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); diff --git a/library/modules/esnext.math.radians.js b/library/modules/esnext.math.radians.js deleted file mode 100644 index abd9575fee3f..000000000000 --- a/library/modules/esnext.math.radians.js +++ /dev/null @@ -1,9 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); -var DEG_PER_RAD = Math.PI / 180; - -$export($export.S, 'Math', { - radians: function radians(degrees) { - return degrees * DEG_PER_RAD; - } -}); diff --git a/library/modules/esnext.math.scale.js b/library/modules/esnext.math.scale.js deleted file mode 100644 index 2866dcd7ce9f..000000000000 --- a/library/modules/esnext.math.scale.js +++ /dev/null @@ -1,4 +0,0 @@ -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = require('./_export'); - -$export($export.S, 'Math', { scale: require('./_math-scale') }); diff --git a/library/modules/esnext.math.signbit.js b/library/modules/esnext.math.signbit.js deleted file mode 100644 index c2568048633b..000000000000 --- a/library/modules/esnext.math.signbit.js +++ /dev/null @@ -1,7 +0,0 @@ -// http://jfbastien.github.io/papers/Math.signbit.html -var $export = require('./_export'); - -$export($export.S, 'Math', { signbit: function signbit(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; -} }); diff --git a/library/modules/esnext.math.umulh.js b/library/modules/esnext.math.umulh.js deleted file mode 100644 index 3ddfa4685be3..000000000000 --- a/library/modules/esnext.math.umulh.js +++ /dev/null @@ -1,16 +0,0 @@ -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = require('./_export'); - -$export($export.S, 'Math', { - umulh: function umulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >>> 16; - var v1 = $v >>> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); - } -}); diff --git a/library/modules/esnext.observable.js b/library/modules/esnext.observable.js deleted file mode 100644 index 6dcb2c8f2afa..000000000000 --- a/library/modules/esnext.observable.js +++ /dev/null @@ -1,199 +0,0 @@ -'use strict'; -// https://github.com/zenparsing/es-observable -var $export = require('./_export'); -var global = require('./_global'); -var core = require('./_core'); -var microtask = require('./_microtask')(); -var OBSERVABLE = require('./_wks')('observable'); -var aFunction = require('./_a-function'); -var anObject = require('./_an-object'); -var anInstance = require('./_an-instance'); -var redefineAll = require('./_redefine-all'); -var hide = require('./_hide'); -var forOf = require('./_for-of'); -var RETURN = forOf.RETURN; - -var getMethod = function (fn) { - return fn == null ? undefined : aFunction(fn); -}; - -var cleanupSubscription = function (subscription) { - var cleanup = subscription._c; - if (cleanup) { - subscription._c = undefined; - cleanup(); - } -}; - -var subscriptionClosed = function (subscription) { - return subscription._o === undefined; -}; - -var closeSubscription = function (subscription) { - if (!subscriptionClosed(subscription)) { - subscription._o = undefined; - cleanupSubscription(subscription); - } -}; - -var Subscription = function (observer, subscriber) { - anObject(observer); - this._c = undefined; - this._o = observer; - observer = new SubscriptionObserver(this); - try { - var cleanup = subscriber(observer); - var subscription = cleanup; - if (cleanup != null) { - if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); }; - else aFunction(cleanup); - this._c = cleanup; - } - } catch (e) { - observer.error(e); - return; - } if (subscriptionClosed(this)) cleanupSubscription(this); -}; - -Subscription.prototype = redefineAll({}, { - unsubscribe: function unsubscribe() { closeSubscription(this); } -}); - -var SubscriptionObserver = function (subscription) { - this._s = subscription; -}; - -SubscriptionObserver.prototype = redefineAll({}, { - next: function next(value) { - var subscription = this._s; - if (!subscriptionClosed(subscription)) { - var observer = subscription._o; - try { - var m = getMethod(observer.next); - if (m) return m.call(observer, value); - } catch (e) { - try { - closeSubscription(subscription); - } finally { - throw e; - } - } - } - }, - error: function error(value) { - var subscription = this._s; - if (subscriptionClosed(subscription)) throw value; - var observer = subscription._o; - subscription._o = undefined; - try { - var m = getMethod(observer.error); - if (!m) throw value; - value = m.call(observer, value); - } catch (e) { - try { - cleanupSubscription(subscription); - } finally { - throw e; - } - } cleanupSubscription(subscription); - return value; - }, - complete: function complete(value) { - var subscription = this._s; - if (!subscriptionClosed(subscription)) { - var observer = subscription._o; - subscription._o = undefined; - try { - var m = getMethod(observer.complete); - value = m ? m.call(observer, value) : undefined; - } catch (e) { - try { - cleanupSubscription(subscription); - } finally { - throw e; - } - } cleanupSubscription(subscription); - return value; - } - } -}); - -var $Observable = function Observable(subscriber) { - anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber); -}; - -redefineAll($Observable.prototype, { - subscribe: function subscribe(observer) { - return new Subscription(observer, this._f); - }, - forEach: function forEach(fn) { - var that = this; - return new (core.Promise || global.Promise)(function (resolve, reject) { - aFunction(fn); - var subscription = that.subscribe({ - next: function (value) { - try { - return fn(value); - } catch (e) { - reject(e); - subscription.unsubscribe(); - } - }, - error: reject, - complete: resolve - }); - }); - } -}); - -redefineAll($Observable, { - from: function from(x) { - var C = typeof this === 'function' ? this : $Observable; - var method = getMethod(anObject(x)[OBSERVABLE]); - if (method) { - var observable = anObject(method.call(x)); - return observable.constructor === C ? observable : new C(function (observer) { - return observable.subscribe(observer); - }); - } - return new C(function (observer) { - var done = false; - microtask(function () { - if (!done) { - try { - if (forOf(x, false, function (it) { - observer.next(it); - if (done) return RETURN; - }) === RETURN) return; - } catch (e) { - if (done) throw e; - observer.error(e); - return; - } observer.complete(); - } - }); - return function () { done = true; }; - }); - }, - of: function of() { - for (var i = 0, l = arguments.length, items = new Array(l); i < l;) items[i] = arguments[i++]; - return new (typeof this === 'function' ? this : $Observable)(function (observer) { - var done = false; - microtask(function () { - if (!done) { - for (var j = 0; j < items.length; ++j) { - observer.next(items[j]); - if (done) return; - } observer.complete(); - } - }); - return function () { done = true; }; - }); - } -}); - -hide($Observable.prototype, OBSERVABLE, function () { return this; }); - -$export($export.G, { Observable: $Observable }); - -require('./_set-species')('Observable'); diff --git a/library/modules/esnext.promise.finally.js b/library/modules/esnext.promise.finally.js deleted file mode 100644 index fa04b63998f1..000000000000 --- a/library/modules/esnext.promise.finally.js +++ /dev/null @@ -1,20 +0,0 @@ -// https://github.com/tc39/proposal-promise-finally -'use strict'; -var $export = require('./_export'); -var core = require('./_core'); -var global = require('./_global'); -var speciesConstructor = require('./_species-constructor'); -var promiseResolve = require('./_promise-resolve'); - -$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { - var C = speciesConstructor(this, core.Promise || global.Promise); - var isFunction = typeof onFinally == 'function'; - return this.then( - isFunction ? function (x) { - return promiseResolve(C, onFinally()).then(function () { return x; }); - } : onFinally, - isFunction ? function (e) { - return promiseResolve(C, onFinally()).then(function () { throw e; }); - } : onFinally - ); -} }); diff --git a/library/modules/esnext.promise.try.js b/library/modules/esnext.promise.try.js deleted file mode 100644 index e8163720b67c..000000000000 --- a/library/modules/esnext.promise.try.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -// https://github.com/tc39/proposal-promise-try -var $export = require('./_export'); -var newPromiseCapability = require('./_new-promise-capability'); -var perform = require('./_perform'); - -$export($export.S, 'Promise', { 'try': function (callbackfn) { - var promiseCapability = newPromiseCapability.f(this); - var result = perform(callbackfn); - (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); - return promiseCapability.promise; -} }); diff --git a/library/modules/esnext.reflect.define-metadata.js b/library/modules/esnext.reflect.define-metadata.js deleted file mode 100644 index ebef52c24dfe..000000000000 --- a/library/modules/esnext.reflect.define-metadata.js +++ /dev/null @@ -1,8 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var toMetaKey = metadata.key; -var ordinaryDefineOwnMetadata = metadata.set; - -metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); -} }); diff --git a/library/modules/esnext.reflect.delete-metadata.js b/library/modules/esnext.reflect.delete-metadata.js deleted file mode 100644 index 590ed53ce349..000000000000 --- a/library/modules/esnext.reflect.delete-metadata.js +++ /dev/null @@ -1,15 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var toMetaKey = metadata.key; -var getOrCreateMetadataMap = metadata.map; -var store = metadata.store; - -metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); - var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); - if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; - if (metadataMap.size) return true; - var targetMetadata = store.get(target); - targetMetadata['delete'](targetKey); - return !!targetMetadata.size || store['delete'](target); -} }); diff --git a/library/modules/esnext.reflect.get-metadata-keys.js b/library/modules/esnext.reflect.get-metadata-keys.js deleted file mode 100644 index 74eb1f121818..000000000000 --- a/library/modules/esnext.reflect.get-metadata-keys.js +++ /dev/null @@ -1,25 +0,0 @@ -var Set = require('./es.set'); -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var getPrototypeOf = require('./_object-gpo'); -var forOf = require('./_for-of'); -var ordinaryOwnMetadataKeys = metadata.keys; -var toMetaKey = metadata.key; - -var from = function (iter) { - var result = []; - forOf(iter, false, result.push, result); - return result; -}; - -var ordinaryMetadataKeys = function (O, P) { - var oKeys = ordinaryOwnMetadataKeys(O, P); - var parent = getPrototypeOf(O); - if (parent === null) return oKeys; - var pKeys = ordinaryMetadataKeys(parent, P); - return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; -}; - -metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { - return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); -} }); diff --git a/library/modules/esnext.reflect.get-metadata.js b/library/modules/esnext.reflect.get-metadata.js deleted file mode 100644 index 58c278e98ed9..000000000000 --- a/library/modules/esnext.reflect.get-metadata.js +++ /dev/null @@ -1,17 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var getPrototypeOf = require('./_object-gpo'); -var ordinaryHasOwnMetadata = metadata.has; -var ordinaryGetOwnMetadata = metadata.get; -var toMetaKey = metadata.key; - -var ordinaryGetMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; -}; - -metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { - return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); diff --git a/library/modules/esnext.reflect.get-own-metadata-keys.js b/library/modules/esnext.reflect.get-own-metadata-keys.js deleted file mode 100644 index 03e3201bbea9..000000000000 --- a/library/modules/esnext.reflect.get-own-metadata-keys.js +++ /dev/null @@ -1,8 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var ordinaryOwnMetadataKeys = metadata.keys; -var toMetaKey = metadata.key; - -metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { - return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); -} }); diff --git a/library/modules/esnext.reflect.get-own-metadata.js b/library/modules/esnext.reflect.get-own-metadata.js deleted file mode 100644 index 4a18b07176a6..000000000000 --- a/library/modules/esnext.reflect.get-own-metadata.js +++ /dev/null @@ -1,9 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var ordinaryGetOwnMetadata = metadata.get; -var toMetaKey = metadata.key; - -metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { - return ordinaryGetOwnMetadata(metadataKey, anObject(target) - , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); diff --git a/library/modules/esnext.reflect.has-metadata.js b/library/modules/esnext.reflect.has-metadata.js deleted file mode 100644 index b934bb4ecb78..000000000000 --- a/library/modules/esnext.reflect.has-metadata.js +++ /dev/null @@ -1,16 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var getPrototypeOf = require('./_object-gpo'); -var ordinaryHasOwnMetadata = metadata.has; -var toMetaKey = metadata.key; - -var ordinaryHasMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return true; - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; -}; - -metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { - return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); diff --git a/library/modules/esnext.reflect.has-own-metadata.js b/library/modules/esnext.reflect.has-own-metadata.js deleted file mode 100644 index 512850dd8fe3..000000000000 --- a/library/modules/esnext.reflect.has-own-metadata.js +++ /dev/null @@ -1,9 +0,0 @@ -var metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var ordinaryHasOwnMetadata = metadata.has; -var toMetaKey = metadata.key; - -metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { - return ordinaryHasOwnMetadata(metadataKey, anObject(target) - , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); diff --git a/library/modules/esnext.reflect.metadata.js b/library/modules/esnext.reflect.metadata.js deleted file mode 100644 index efb9a9e26610..000000000000 --- a/library/modules/esnext.reflect.metadata.js +++ /dev/null @@ -1,15 +0,0 @@ -var $metadata = require('./_metadata'); -var anObject = require('./_an-object'); -var aFunction = require('./_a-function'); -var toMetaKey = $metadata.key; -var ordinaryDefineOwnMetadata = $metadata.set; - -$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { - return function decorator(target, targetKey) { - ordinaryDefineOwnMetadata( - metadataKey, metadataValue, - (targetKey !== undefined ? anObject : aFunction)(target), - toMetaKey(targetKey) - ); - }; -} }); diff --git a/library/modules/esnext.set.from.js b/library/modules/esnext.set.from.js deleted file mode 100644 index 26542b6644f5..000000000000 --- a/library/modules/esnext.set.from.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from -require('./_set-collection-from')('Set'); diff --git a/library/modules/esnext.set.of.js b/library/modules/esnext.set.of.js deleted file mode 100644 index 2a50ad911a8d..000000000000 --- a/library/modules/esnext.set.of.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of -require('./_set-collection-of')('Set'); diff --git a/library/modules/esnext.string.at.js b/library/modules/esnext.string.at.js deleted file mode 100644 index 8b3ab98db42a..000000000000 --- a/library/modules/esnext.string.at.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -// https://github.com/mathiasbynens/String.prototype.at -var $export = require('./_export'); -var $at = require('./_string-at')(true); - -$export($export.P, 'String', { - at: function at(pos) { - return $at(this, pos); - } -}); diff --git a/library/modules/esnext.string.match-all.js b/library/modules/esnext.string.match-all.js deleted file mode 100644 index 78237036e8f9..000000000000 --- a/library/modules/esnext.string.match-all.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; -// https://tc39.github.io/String.prototype.matchAll/ -var $export = require('./_export'); -var defined = require('./_defined'); -var toLength = require('./_to-length'); -var isRegExp = require('./_is-regexp'); -var getFlags = require('./_flags'); -var RegExpProto = RegExp.prototype; - -var $RegExpStringIterator = function (regexp, string) { - this._r = regexp; - this._s = string; -}; - -require('./_iter-create')($RegExpStringIterator, 'RegExp String', function next() { - var match = this._r.exec(this._s); - return { value: match, done: match === null }; -}); - -$export($export.P, 'String', { - matchAll: function matchAll(regexp) { - defined(this); - if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!'); - var S = String(this); - var flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp); - var rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags); - rx.lastIndex = toLength(regexp.lastIndex); - return new $RegExpStringIterator(rx, S); - } -}); diff --git a/library/modules/esnext.string.trim-left.js b/library/modules/esnext.string.trim-left.js deleted file mode 100644 index 39a4b47cfa7d..000000000000 --- a/library/modules/esnext.string.trim-left.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// https://github.com/sebmarkbage/ecmascript-string-left-right-trim -require('./_string-trim')('trimLeft', function ($trim) { - return function trimLeft() { - return $trim(this, 1); - }; -}, 'trimStart'); diff --git a/library/modules/esnext.string.trim-right.js b/library/modules/esnext.string.trim-right.js deleted file mode 100644 index 7b7c4529880a..000000000000 --- a/library/modules/esnext.string.trim-right.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -// https://github.com/sebmarkbage/ecmascript-string-left-right-trim -require('./_string-trim')('trimRight', function ($trim) { - return function trimRight() { - return $trim(this, 2); - }; -}, 'trimEnd'); diff --git a/library/modules/esnext.symbol.async-iterator.js b/library/modules/esnext.symbol.async-iterator.js deleted file mode 100644 index f56dc2a8eb76..000000000000 --- a/library/modules/esnext.symbol.async-iterator.js +++ /dev/null @@ -1 +0,0 @@ -require('./_wks-define')('asyncIterator'); diff --git a/library/modules/esnext.symbol.observable.js b/library/modules/esnext.symbol.observable.js deleted file mode 100644 index fc9a23761a49..000000000000 --- a/library/modules/esnext.symbol.observable.js +++ /dev/null @@ -1 +0,0 @@ -require('./_wks-define')('observable'); diff --git a/library/modules/esnext.weak-map.from.js b/library/modules/esnext.weak-map.from.js deleted file mode 100644 index 1a0136576135..000000000000 --- a/library/modules/esnext.weak-map.from.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from -require('./_set-collection-from')('WeakMap'); diff --git a/library/modules/esnext.weak-map.of.js b/library/modules/esnext.weak-map.of.js deleted file mode 100644 index 52c3f66dfce3..000000000000 --- a/library/modules/esnext.weak-map.of.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of -require('./_set-collection-of')('WeakMap'); diff --git a/library/modules/esnext.weak-set.from.js b/library/modules/esnext.weak-set.from.js deleted file mode 100644 index 493e5bee0322..000000000000 --- a/library/modules/esnext.weak-set.from.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from -require('./_set-collection-from')('WeakSet'); diff --git a/library/modules/esnext.weak-set.of.js b/library/modules/esnext.weak-set.of.js deleted file mode 100644 index 5941e72aab9e..000000000000 --- a/library/modules/esnext.weak-set.of.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of -require('./_set-collection-of')('WeakSet'); diff --git a/library/modules/web.dom.iterable.js b/library/modules/web.dom.iterable.js deleted file mode 100644 index 3062a8937d9d..000000000000 --- a/library/modules/web.dom.iterable.js +++ /dev/null @@ -1,19 +0,0 @@ -require('./es.array.iterator'); -var global = require('./_global'); -var hide = require('./_hide'); -var Iterators = require('./_iterators'); -var TO_STRING_TAG = require('./_wks')('toStringTag'); - -var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + - 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + - 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + - 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + - 'TextTrackList,TouchList').split(','); - -for (var i = 0; i < DOMIterables.length; i++) { - var NAME = DOMIterables[i]; - var Collection = global[NAME]; - var proto = Collection && Collection.prototype; - if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); - Iterators[NAME] = Iterators.Array; -} diff --git a/library/modules/web.immediate.js b/library/modules/web.immediate.js deleted file mode 100644 index 70f3e70daa42..000000000000 --- a/library/modules/web.immediate.js +++ /dev/null @@ -1,6 +0,0 @@ -var $export = require('./_export'); -var $task = require('./_task'); -$export($export.G + $export.B, { - setImmediate: $task.set, - clearImmediate: $task.clear -}); diff --git a/library/modules/web.timers.js b/library/modules/web.timers.js deleted file mode 100644 index de2e0d9eef28..000000000000 --- a/library/modules/web.timers.js +++ /dev/null @@ -1,20 +0,0 @@ -// ie9- setTimeout & setInterval additional parameters fix -var global = require('./_global'); -var $export = require('./_export'); -var navigator = global.navigator; -var slice = [].slice; -var MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check -var wrap = function (set) { - return function (fn, time /* , ...args */) { - var boundArgs = arguments.length > 2; - var args = boundArgs ? slice.call(arguments, 2) : false; - return set(boundArgs ? function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); - } : fn, time); - }; -}; -$export($export.G + $export.B + $export.F * MSIE, { - setTimeout: wrap(global.setTimeout), - setInterval: wrap(global.setInterval) -}); diff --git a/library/stage/0.js b/library/stage/0.js deleted file mode 100644 index b3afb140264b..000000000000 --- a/library/stage/0.js +++ /dev/null @@ -1,7 +0,0 @@ -require('../modules/esnext.string.at'); -require('../modules/esnext.math.iaddh'); -require('../modules/esnext.math.isubh'); -require('../modules/esnext.math.imulh'); -require('../modules/esnext.math.umulh'); -require('../modules/esnext.asap'); -module.exports = require('./1'); diff --git a/library/stage/1.js b/library/stage/1.js deleted file mode 100644 index b04263c952a6..000000000000 --- a/library/stage/1.js +++ /dev/null @@ -1,21 +0,0 @@ -require('../modules/esnext.map.of'); -require('../modules/esnext.set.of'); -require('../modules/esnext.weak-map.of'); -require('../modules/esnext.weak-set.of'); -require('../modules/esnext.map.from'); -require('../modules/esnext.set.from'); -require('../modules/esnext.weak-map.from'); -require('../modules/esnext.weak-set.from'); -require('../modules/esnext.math.clamp'); -require('../modules/esnext.math.deg-per-rad'); -require('../modules/esnext.math.degrees'); -require('../modules/esnext.math.fscale'); -require('../modules/esnext.math.rad-per-deg'); -require('../modules/esnext.math.radians'); -require('../modules/esnext.math.scale'); -require('../modules/esnext.math.signbit'); -require('../modules/esnext.promise.try'); -require('../modules/esnext.string.match-all'); -require('../modules/esnext.symbol.observable'); -require('../modules/esnext.observable'); -module.exports = require('./2'); diff --git a/library/stage/2.js b/library/stage/2.js deleted file mode 100644 index 7ccde2f2a06d..000000000000 --- a/library/stage/2.js +++ /dev/null @@ -1,5 +0,0 @@ -require('../modules/esnext.array.flat-map'); -require('../modules/esnext.array.flatten'); -require('../modules/esnext.string.trim-left'); -require('../modules/esnext.string.trim-right'); -module.exports = require('./3'); diff --git a/library/stage/3.js b/library/stage/3.js deleted file mode 100644 index ef44a5430233..000000000000 --- a/library/stage/3.js +++ /dev/null @@ -1,4 +0,0 @@ -require('../modules/esnext.global'); -require('../modules/esnext.promise.finally'); -require('../modules/esnext.symbol.async-iterator'); -module.exports = require('./4'); diff --git a/library/stage/4.js b/library/stage/4.js deleted file mode 100644 index 9d30f194a38c..000000000000 --- a/library/stage/4.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../modules/_core'); diff --git a/library/stage/index.js b/library/stage/index.js deleted file mode 100644 index 24dcf2e56422..000000000000 --- a/library/stage/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./pre'); diff --git a/library/stage/pre.js b/library/stage/pre.js deleted file mode 100644 index 8c0a13c73cbd..000000000000 --- a/library/stage/pre.js +++ /dev/null @@ -1,10 +0,0 @@ -require('../modules/esnext.reflect.define-metadata'); -require('../modules/esnext.reflect.delete-metadata'); -require('../modules/esnext.reflect.get-metadata'); -require('../modules/esnext.reflect.get-metadata-keys'); -require('../modules/esnext.reflect.get-own-metadata'); -require('../modules/esnext.reflect.get-own-metadata-keys'); -require('../modules/esnext.reflect.has-metadata'); -require('../modules/esnext.reflect.has-own-metadata'); -require('../modules/esnext.reflect.metadata'); -module.exports = require('./0'); diff --git a/library/web/dom-collections.js b/library/web/dom-collections.js deleted file mode 100644 index a138bb9ddab3..000000000000 --- a/library/web/dom-collections.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.dom.iterable'); -module.exports = require('../modules/_core'); diff --git a/library/web/immediate.js b/library/web/immediate.js deleted file mode 100644 index 6866abdeb5b2..000000000000 --- a/library/web/immediate.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.immediate'); -module.exports = require('../modules/_core'); diff --git a/library/web/index.js b/library/web/index.js deleted file mode 100644 index 66db256d6ce7..000000000000 --- a/library/web/index.js +++ /dev/null @@ -1,4 +0,0 @@ -require('../modules/web.timers'); -require('../modules/web.immediate'); -require('../modules/web.dom.iterable'); -module.exports = require('../modules/_core'); diff --git a/library/web/timers.js b/library/web/timers.js deleted file mode 100644 index a3f528e4dcec..000000000000 --- a/library/web/timers.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../modules/web.timers'); -module.exports = require('../modules/_core');