core-js 3.0.0-beta.9 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/es/array/flat-map.js +4 -0
- package/es/array/flat.js +4 -0
- package/es/array/index.js +21 -17
- package/es/array/virtual/flat-map.js +4 -0
- package/es/array/virtual/flat.js +4 -0
- package/es/array/virtual/index.js +7 -2
- package/es/index.js +7 -0
- package/es/instance/bind.js +7 -0
- package/es/instance/code-point-at.js +8 -0
- package/es/instance/concat.js +7 -0
- package/es/instance/copy-within.js +7 -0
- package/es/instance/ends-with.js +8 -0
- package/es/instance/entries.js +7 -0
- package/es/instance/every.js +7 -0
- package/es/instance/fill.js +7 -0
- package/es/instance/filter.js +7 -0
- package/es/instance/find-index.js +7 -0
- package/es/instance/find.js +7 -0
- package/es/instance/flags.js +6 -0
- package/es/instance/flat-map.js +7 -0
- package/es/instance/flat.js +7 -0
- package/es/instance/for-each.js +7 -0
- package/es/instance/includes.js +12 -0
- package/es/instance/index-of.js +7 -0
- package/es/instance/keys.js +7 -0
- package/es/instance/last-index-of.js +7 -0
- package/es/instance/map.js +7 -0
- package/es/instance/pad-end.js +8 -0
- package/es/instance/pad-start.js +8 -0
- package/es/instance/reduce-right.js +7 -0
- package/es/instance/reduce.js +7 -0
- package/es/instance/repeat.js +8 -0
- package/es/instance/reverse.js +7 -0
- package/es/instance/slice.js +7 -0
- package/es/instance/some.js +7 -0
- package/es/instance/sort.js +7 -0
- package/es/instance/splice.js +7 -0
- package/es/instance/starts-with.js +8 -0
- package/es/instance/trim-end.js +8 -0
- package/es/instance/trim-left.js +8 -0
- package/es/instance/trim-right.js +8 -0
- package/es/instance/trim-start.js +8 -0
- package/es/instance/trim.js +8 -0
- package/es/instance/values.js +7 -0
- package/es/object/from-entries.js +4 -0
- package/es/object/index.js +1 -0
- package/es/string/index.js +2 -0
- package/es/string/trim-end.js +3 -0
- package/es/string/trim-left.js +3 -0
- package/es/string/trim-right.js +3 -0
- package/es/string/trim-start.js +3 -0
- package/es/string/virtual/index.js +2 -0
- package/es/string/virtual/trim-end.js +3 -0
- package/es/string/virtual/trim-left.js +3 -0
- package/es/string/virtual/trim-right.js +3 -0
- package/es/string/virtual/trim-start.js +3 -0
- package/features/aggregate-error.js +5 -0
- package/features/array/flat-map.js +1 -4
- package/features/array/flat.js +1 -4
- package/features/array/index.js +0 -4
- package/features/array/virtual/flat-map.js +1 -4
- package/features/array/virtual/flat.js +1 -4
- package/features/array/virtual/index.js +0 -5
- package/features/clear-immediate.js +1 -3
- package/features/index.js +1 -0
- package/features/instance/at.js +8 -0
- package/features/instance/bind.js +1 -0
- package/features/instance/code-point-at.js +1 -0
- package/features/instance/code-points.js +8 -0
- package/features/instance/concat.js +1 -0
- package/features/instance/copy-within.js +1 -0
- package/features/instance/ends-with.js +1 -0
- package/features/instance/entries.js +1 -0
- package/features/instance/every.js +1 -0
- package/features/instance/fill.js +1 -0
- package/features/instance/filter.js +1 -0
- package/features/instance/find-index.js +1 -0
- package/features/instance/find.js +1 -0
- package/features/instance/flags.js +1 -0
- package/features/instance/flat-map.js +1 -0
- package/features/instance/flat.js +1 -0
- package/features/instance/for-each.js +1 -0
- package/features/instance/includes.js +1 -0
- package/features/instance/index-of.js +1 -0
- package/features/instance/keys.js +1 -0
- package/features/instance/last-index-of.js +1 -0
- package/features/instance/map.js +1 -0
- package/features/instance/match-all.js +8 -0
- package/features/instance/pad-end.js +1 -0
- package/features/instance/pad-start.js +1 -0
- package/features/instance/reduce-right.js +1 -0
- package/features/instance/reduce.js +1 -0
- package/features/instance/repeat.js +1 -0
- package/features/instance/replace-all.js +8 -0
- package/features/instance/reverse.js +1 -0
- package/features/instance/slice.js +1 -0
- package/features/instance/some.js +1 -0
- package/features/instance/sort.js +1 -0
- package/features/instance/splice.js +1 -0
- package/features/instance/starts-with.js +1 -0
- package/features/instance/trim-end.js +1 -0
- package/features/instance/trim-left.js +1 -0
- package/features/instance/trim-right.js +1 -0
- package/features/instance/trim-start.js +1 -0
- package/features/instance/trim.js +1 -0
- package/features/instance/values.js +1 -0
- package/features/map/index.js +1 -0
- package/features/map/update.js +4 -0
- package/features/object/from-entries.js +1 -4
- package/features/object/index.js +0 -2
- package/features/promise/any.js +10 -0
- package/features/promise/index.js +2 -0
- package/features/queue-microtask.js +1 -3
- package/features/reflect/delete-property.js +1 -3
- package/features/set-immediate.js +1 -3
- package/features/set-interval.js +1 -3
- package/features/set-timeout.js +1 -3
- package/features/string/index.js +0 -2
- package/features/string/trim-end.js +1 -3
- package/features/string/trim-left.js +1 -3
- package/features/string/trim-right.js +1 -3
- package/features/string/trim-start.js +1 -3
- package/features/string/virtual/index.js +0 -2
- package/features/string/virtual/trim-end.js +1 -3
- package/features/string/virtual/trim-left.js +1 -3
- package/features/string/virtual/trim-right.js +1 -3
- package/features/string/virtual/trim-start.js +1 -3
- package/internals/array-buffer.js +1 -1
- package/internals/export.js +18 -13
- package/internals/global.js +2 -2
- package/internals/internal-state.js +3 -4
- package/internals/microtask.js +7 -4
- package/internals/native-weak-map.js +4 -0
- package/internals/redefine.js +4 -2
- package/internals/shared.js +1 -1
- package/modules/{esnext.array.flat-map.js → es.array.flat-map.js} +0 -0
- package/modules/{esnext.array.flat.js → es.array.flat.js} +0 -0
- package/modules/{esnext.array.unscopables.flat-map.js → es.array.unscopables.flat-map.js} +0 -0
- package/modules/{esnext.array.unscopables.flat.js → es.array.unscopables.flat.js} +0 -0
- package/modules/{esnext.object.from-entries.js → es.object.from-entries.js} +0 -0
- package/modules/es.object.get-own-property-names.js +1 -1
- package/modules/es.promise.js +9 -0
- package/modules/es.string.split.js +2 -2
- package/modules/{esnext.string.trim-end.js → es.string.trim-end.js} +0 -0
- package/modules/{esnext.string.trim-start.js → es.string.trim-start.js} +0 -0
- package/modules/es.weak-map.js +8 -6
- package/modules/esnext.aggregate-error.js +27 -0
- package/modules/esnext.map.delete-all.js +1 -1
- package/modules/esnext.map.every.js +1 -1
- package/modules/esnext.map.filter.js +1 -1
- package/modules/esnext.map.find-key.js +1 -1
- package/modules/esnext.map.find.js +1 -1
- package/modules/esnext.map.group-by.js +8 -3
- package/modules/esnext.map.includes.js +1 -1
- package/modules/esnext.map.key-by.js +5 -2
- package/modules/esnext.map.key-of.js +1 -1
- package/modules/esnext.map.map-keys.js +1 -1
- package/modules/esnext.map.map-values.js +1 -1
- package/modules/esnext.map.merge.js +1 -1
- package/modules/esnext.map.reduce.js +1 -1
- package/modules/esnext.map.some.js +1 -1
- package/modules/esnext.map.update.js +19 -0
- package/modules/esnext.promise.any.js +42 -0
- package/modules/esnext.set.add-all.js +1 -1
- package/modules/esnext.set.delete-all.js +1 -1
- package/modules/esnext.set.every.js +1 -1
- package/modules/esnext.set.filter.js +1 -1
- package/modules/esnext.set.find.js +1 -1
- package/modules/esnext.set.join.js +1 -1
- package/modules/esnext.set.map.js +1 -1
- package/modules/esnext.set.reduce.js +1 -1
- package/modules/esnext.set.some.js +1 -1
- package/modules/esnext.string.match-all.js +2 -2
- package/modules/esnext.string.replace-all.js +13 -4
- package/modules/esnext.weak-map.delete-all.js +1 -1
- package/modules/esnext.weak-set.add-all.js +1 -1
- package/modules/esnext.weak-set.delete-all.js +1 -1
- package/modules/web.immediate.js +2 -1
- package/modules/web.queue-microtask.js +1 -1
- package/modules/web.url.js +1 -1
- package/package.json +1 -1
- package/proposals/collection-methods.js +1 -0
- package/proposals/{richer-keys.js → keys-composition.js} +0 -0
- package/proposals/promise-any.js +2 -0
- package/stable/README.md +1 -0
- package/stable/array/concat.js +1 -0
- package/stable/array/copy-within.js +1 -0
- package/stable/array/entries.js +1 -0
- package/stable/array/every.js +1 -0
- package/stable/array/fill.js +1 -0
- package/stable/array/filter.js +1 -0
- package/stable/array/find-index.js +1 -0
- package/stable/array/find.js +1 -0
- package/stable/array/flat-map.js +1 -0
- package/stable/array/flat.js +1 -0
- package/stable/array/for-each.js +1 -0
- package/stable/array/from.js +1 -0
- package/stable/array/includes.js +1 -0
- package/stable/array/index-of.js +1 -0
- package/stable/array/index.js +1 -0
- package/stable/array/is-array.js +1 -0
- package/stable/array/iterator.js +1 -0
- package/stable/array/join.js +1 -0
- package/stable/array/keys.js +1 -0
- package/stable/array/last-index-of.js +1 -0
- package/stable/array/map.js +1 -0
- package/stable/array/of.js +1 -0
- package/stable/array/reduce-right.js +1 -0
- package/stable/array/reduce.js +1 -0
- package/stable/array/reverse.js +1 -0
- package/stable/array/slice.js +1 -0
- package/stable/array/some.js +1 -0
- package/stable/array/sort.js +1 -0
- package/stable/array/splice.js +1 -0
- package/stable/array/values.js +1 -0
- package/stable/array/virtual/concat.js +1 -0
- package/stable/array/virtual/copy-within.js +1 -0
- package/stable/array/virtual/entries.js +1 -0
- package/stable/array/virtual/every.js +1 -0
- package/stable/array/virtual/fill.js +1 -0
- package/stable/array/virtual/filter.js +1 -0
- package/stable/array/virtual/find-index.js +1 -0
- package/stable/array/virtual/find.js +1 -0
- package/stable/array/virtual/flat-map.js +1 -0
- package/stable/array/virtual/flat.js +1 -0
- package/stable/array/virtual/for-each.js +1 -0
- package/stable/array/virtual/includes.js +1 -0
- package/stable/array/virtual/index-of.js +1 -0
- package/stable/array/virtual/index.js +1 -0
- package/stable/array/virtual/iterator.js +1 -0
- package/stable/array/virtual/join.js +1 -0
- package/stable/array/virtual/keys.js +1 -0
- package/stable/array/virtual/last-index-of.js +1 -0
- package/stable/array/virtual/map.js +1 -0
- package/stable/array/virtual/reduce-right.js +1 -0
- package/stable/array/virtual/reduce.js +1 -0
- package/stable/array/virtual/reverse.js +1 -0
- package/stable/array/virtual/slice.js +1 -0
- package/stable/array/virtual/some.js +1 -0
- package/stable/array/virtual/sort.js +1 -0
- package/stable/array/virtual/splice.js +1 -0
- package/stable/array/virtual/values.js +1 -0
- package/stable/array-buffer/constructor.js +1 -0
- package/stable/array-buffer/index.js +1 -0
- package/stable/array-buffer/is-view.js +1 -0
- package/stable/array-buffer/slice.js +1 -0
- package/stable/clear-immediate.js +3 -0
- package/stable/data-view/index.js +1 -0
- package/stable/date/index.js +1 -0
- package/stable/date/now.js +1 -0
- package/stable/date/to-iso-string.js +1 -0
- package/stable/date/to-json.js +1 -0
- package/stable/date/to-primitive.js +1 -0
- package/stable/date/to-string.js +1 -0
- package/stable/dom-collections/for-each.js +3 -0
- package/stable/dom-collections/index.js +11 -0
- package/stable/dom-collections/iterator.js +3 -0
- package/stable/function/bind.js +1 -0
- package/stable/function/has-instance.js +1 -0
- package/stable/function/index.js +1 -0
- package/stable/function/name.js +1 -0
- package/stable/function/virtual/bind.js +1 -0
- package/stable/function/virtual/index.js +1 -0
- package/stable/global-this.js +3 -0
- package/stable/index.js +4 -0
- package/stable/instance/bind.js +1 -0
- package/stable/instance/code-point-at.js +1 -0
- package/stable/instance/concat.js +1 -0
- package/stable/instance/copy-within.js +1 -0
- package/stable/instance/ends-with.js +1 -0
- package/stable/instance/entries.js +16 -0
- package/stable/instance/every.js +1 -0
- package/stable/instance/fill.js +1 -0
- package/stable/instance/filter.js +1 -0
- package/stable/instance/find-index.js +1 -0
- package/stable/instance/find.js +1 -0
- package/stable/instance/flags.js +1 -0
- package/stable/instance/flat-map.js +1 -0
- package/stable/instance/flat.js +1 -0
- package/stable/instance/for-each.js +16 -0
- package/stable/instance/includes.js +1 -0
- package/stable/instance/index-of.js +1 -0
- package/stable/instance/keys.js +16 -0
- package/stable/instance/last-index-of.js +1 -0
- package/stable/instance/map.js +1 -0
- package/stable/instance/pad-end.js +1 -0
- package/stable/instance/pad-start.js +1 -0
- package/stable/instance/reduce-right.js +1 -0
- package/stable/instance/reduce.js +1 -0
- package/stable/instance/repeat.js +1 -0
- package/stable/instance/reverse.js +1 -0
- package/stable/instance/slice.js +1 -0
- package/stable/instance/some.js +1 -0
- package/stable/instance/sort.js +1 -0
- package/stable/instance/splice.js +1 -0
- package/stable/instance/starts-with.js +1 -0
- package/stable/instance/trim-end.js +1 -0
- package/stable/instance/trim-left.js +1 -0
- package/stable/instance/trim-right.js +1 -0
- package/stable/instance/trim-start.js +1 -0
- package/stable/instance/trim.js +1 -0
- package/stable/instance/values.js +16 -0
- package/stable/json/index.js +1 -0
- package/stable/json/stringify.js +1 -0
- package/stable/json/to-string-tag.js +1 -0
- package/stable/map/index.js +1 -0
- package/stable/math/acosh.js +1 -0
- package/stable/math/asinh.js +1 -0
- package/stable/math/atanh.js +1 -0
- package/stable/math/cbrt.js +1 -0
- package/stable/math/clz32.js +1 -0
- package/stable/math/cosh.js +1 -0
- package/stable/math/expm1.js +1 -0
- package/stable/math/fround.js +1 -0
- package/stable/math/hypot.js +1 -0
- package/stable/math/imul.js +1 -0
- package/stable/math/index.js +1 -0
- package/stable/math/log10.js +1 -0
- package/stable/math/log1p.js +1 -0
- package/stable/math/log2.js +1 -0
- package/stable/math/sign.js +1 -0
- package/stable/math/sinh.js +1 -0
- package/stable/math/tanh.js +1 -0
- package/stable/math/to-string-tag.js +1 -0
- package/stable/math/trunc.js +1 -0
- package/stable/number/constructor.js +1 -0
- package/stable/number/epsilon.js +1 -0
- package/stable/number/index.js +1 -0
- package/stable/number/is-finite.js +1 -0
- package/stable/number/is-integer.js +1 -0
- package/stable/number/is-nan.js +1 -0
- package/stable/number/is-safe-integer.js +1 -0
- package/stable/number/max-safe-integer.js +1 -0
- package/stable/number/min-safe-integer.js +1 -0
- package/stable/number/parse-float.js +1 -0
- package/stable/number/parse-int.js +1 -0
- package/stable/number/to-fixed.js +1 -0
- package/stable/number/to-precision.js +1 -0
- package/stable/number/virtual/index.js +1 -0
- package/stable/number/virtual/to-fixed.js +1 -0
- package/stable/number/virtual/to-precision.js +1 -0
- package/stable/object/assign.js +1 -0
- package/stable/object/create.js +1 -0
- package/stable/object/define-getter.js +1 -0
- package/stable/object/define-properties.js +1 -0
- package/stable/object/define-property.js +1 -0
- package/stable/object/define-setter.js +1 -0
- package/stable/object/entries.js +1 -0
- package/stable/object/freeze.js +1 -0
- package/stable/object/from-entries.js +1 -0
- package/stable/object/get-own-property-descriptor.js +1 -0
- package/stable/object/get-own-property-descriptors.js +1 -0
- package/stable/object/get-own-property-names.js +1 -0
- package/stable/object/get-own-property-symbols.js +1 -0
- package/stable/object/get-prototype-of.js +1 -0
- package/stable/object/index.js +1 -0
- package/stable/object/is-extensible.js +1 -0
- package/stable/object/is-frozen.js +1 -0
- package/stable/object/is-sealed.js +1 -0
- package/stable/object/is.js +1 -0
- package/stable/object/keys.js +1 -0
- package/stable/object/lookup-getter.js +1 -0
- package/stable/object/lookup-setter.js +1 -0
- package/stable/object/prevent-extensions.js +1 -0
- package/stable/object/seal.js +1 -0
- package/stable/object/set-prototype-of.js +1 -0
- package/stable/object/to-string.js +1 -0
- package/stable/object/values.js +1 -0
- package/stable/parse-float.js +1 -0
- package/stable/parse-int.js +1 -0
- package/stable/promise/finally.js +1 -0
- package/stable/promise/index.js +1 -0
- package/stable/queue-microtask.js +1 -0
- package/stable/reflect/apply.js +1 -0
- package/stable/reflect/construct.js +1 -0
- package/stable/reflect/define-property.js +1 -0
- package/stable/reflect/delete-property.js +1 -0
- package/stable/reflect/get-own-property-descriptor.js +1 -0
- package/stable/reflect/get-prototype-of.js +1 -0
- package/stable/reflect/get.js +1 -0
- package/stable/reflect/has.js +1 -0
- package/stable/reflect/index.js +1 -0
- package/stable/reflect/is-extensible.js +1 -0
- package/stable/reflect/own-keys.js +1 -0
- package/stable/reflect/prevent-extensions.js +1 -0
- package/stable/reflect/set-prototype-of.js +1 -0
- package/stable/reflect/set.js +1 -0
- package/stable/regexp/constructor.js +1 -0
- package/stable/regexp/flags.js +1 -0
- package/stable/regexp/index.js +1 -0
- package/stable/regexp/match.js +1 -0
- package/stable/regexp/replace.js +1 -0
- package/stable/regexp/search.js +1 -0
- package/stable/regexp/split.js +1 -0
- package/stable/regexp/to-string.js +1 -0
- package/stable/set/index.js +1 -0
- package/stable/set-immediate.js +3 -0
- package/stable/set-interval.js +3 -0
- package/stable/set-timeout.js +3 -0
- package/stable/string/anchor.js +1 -0
- package/stable/string/big.js +1 -0
- package/stable/string/blink.js +1 -0
- package/stable/string/bold.js +1 -0
- package/stable/string/code-point-at.js +1 -0
- package/stable/string/ends-with.js +1 -0
- package/stable/string/fixed.js +1 -0
- package/stable/string/fontcolor.js +1 -0
- package/stable/string/fontsize.js +1 -0
- package/stable/string/from-code-point.js +1 -0
- package/stable/string/includes.js +1 -0
- package/stable/string/index.js +1 -0
- package/stable/string/italics.js +1 -0
- package/stable/string/iterator.js +1 -0
- package/stable/string/link.js +1 -0
- package/stable/string/match.js +1 -0
- package/stable/string/pad-end.js +1 -0
- package/stable/string/pad-start.js +1 -0
- package/stable/string/raw.js +1 -0
- package/stable/string/repeat.js +1 -0
- package/stable/string/replace.js +1 -0
- package/stable/string/search.js +1 -0
- package/stable/string/small.js +1 -0
- package/stable/string/split.js +1 -0
- package/stable/string/starts-with.js +1 -0
- package/stable/string/strike.js +1 -0
- package/stable/string/sub.js +1 -0
- package/stable/string/sup.js +1 -0
- package/stable/string/trim-end.js +1 -0
- package/stable/string/trim-left.js +1 -0
- package/stable/string/trim-right.js +1 -0
- package/stable/string/trim-start.js +1 -0
- package/stable/string/trim.js +1 -0
- package/stable/string/virtual/anchor.js +1 -0
- package/stable/string/virtual/big.js +1 -0
- package/stable/string/virtual/blink.js +1 -0
- package/stable/string/virtual/bold.js +1 -0
- package/stable/string/virtual/code-point-at.js +1 -0
- package/stable/string/virtual/ends-with.js +1 -0
- package/stable/string/virtual/fixed.js +1 -0
- package/stable/string/virtual/fontcolor.js +1 -0
- package/stable/string/virtual/fontsize.js +1 -0
- package/stable/string/virtual/includes.js +1 -0
- package/stable/string/virtual/index.js +1 -0
- package/stable/string/virtual/italics.js +1 -0
- package/stable/string/virtual/iterator.js +1 -0
- package/stable/string/virtual/link.js +1 -0
- package/stable/string/virtual/pad-end.js +1 -0
- package/stable/string/virtual/pad-start.js +1 -0
- package/stable/string/virtual/repeat.js +1 -0
- package/stable/string/virtual/small.js +1 -0
- package/stable/string/virtual/starts-with.js +1 -0
- package/stable/string/virtual/strike.js +1 -0
- package/stable/string/virtual/sub.js +1 -0
- package/stable/string/virtual/sup.js +1 -0
- package/stable/string/virtual/trim-end.js +1 -0
- package/stable/string/virtual/trim-left.js +1 -0
- package/stable/string/virtual/trim-right.js +1 -0
- package/stable/string/virtual/trim-start.js +1 -0
- package/stable/string/virtual/trim.js +1 -0
- package/stable/symbol/async-iterator.js +1 -0
- package/stable/symbol/description.js +1 -0
- package/stable/symbol/for.js +1 -0
- package/stable/symbol/has-instance.js +1 -0
- package/stable/symbol/index.js +1 -0
- package/stable/symbol/is-concat-spreadable.js +1 -0
- package/stable/symbol/iterator.js +1 -0
- package/stable/symbol/key-for.js +1 -0
- package/stable/symbol/match.js +1 -0
- package/stable/symbol/replace.js +1 -0
- package/stable/symbol/search.js +1 -0
- package/stable/symbol/species.js +1 -0
- package/stable/symbol/split.js +1 -0
- package/stable/symbol/to-primitive.js +1 -0
- package/stable/symbol/to-string-tag.js +1 -0
- package/stable/symbol/unscopables.js +1 -0
- package/stable/typed-array/copy-within.js +1 -0
- package/stable/typed-array/entries.js +1 -0
- package/stable/typed-array/every.js +1 -0
- package/stable/typed-array/fill.js +1 -0
- package/stable/typed-array/filter.js +1 -0
- package/stable/typed-array/find-index.js +1 -0
- package/stable/typed-array/find.js +1 -0
- package/stable/typed-array/float32-array.js +1 -0
- package/stable/typed-array/float64-array.js +1 -0
- package/stable/typed-array/for-each.js +1 -0
- package/stable/typed-array/from.js +1 -0
- package/stable/typed-array/includes.js +1 -0
- package/stable/typed-array/index-of.js +1 -0
- package/stable/typed-array/index.js +1 -0
- package/stable/typed-array/int16-array.js +1 -0
- package/stable/typed-array/int32-array.js +1 -0
- package/stable/typed-array/int8-array.js +1 -0
- package/stable/typed-array/iterator.js +1 -0
- package/stable/typed-array/join.js +1 -0
- package/stable/typed-array/keys.js +1 -0
- package/stable/typed-array/last-index-of.js +1 -0
- package/stable/typed-array/map.js +1 -0
- package/stable/typed-array/of.js +1 -0
- package/stable/typed-array/reduce-right.js +1 -0
- package/stable/typed-array/reduce.js +1 -0
- package/stable/typed-array/reverse.js +1 -0
- package/stable/typed-array/set.js +1 -0
- package/stable/typed-array/slice.js +1 -0
- package/stable/typed-array/some.js +1 -0
- package/stable/typed-array/sort.js +1 -0
- package/stable/typed-array/subarray.js +1 -0
- package/stable/typed-array/to-locale-string.js +1 -0
- package/stable/typed-array/to-string.js +1 -0
- package/stable/typed-array/uint16-array.js +1 -0
- package/stable/typed-array/uint32-array.js +1 -0
- package/stable/typed-array/uint8-array.js +1 -0
- package/stable/typed-array/uint8-clamped-array.js +1 -0
- package/stable/typed-array/values.js +1 -0
- package/stable/url/index.js +1 -0
- package/stable/url/to-json.js +1 -0
- package/stable/url-search-params/index.js +1 -0
- package/stable/weak-map/index.js +1 -0
- package/stable/weak-set/index.js +1 -0
- package/stage/0.js +1 -0
- package/stage/1.js +1 -2
- package/stage/2.js +1 -0
- package/stage/3.js +0 -3
- package/proposals/array-flat-and-flat-map.js +0 -4
- package/proposals/object-from-entries.js +0 -2
- package/proposals/string-trim-start-end.js +0 -2
package/features/array/index.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
module.exports = require('../../es/array');
|
|
2
2
|
|
|
3
|
-
require('../../modules/esnext.array.flat');
|
|
4
|
-
require('../../modules/esnext.array.flat-map');
|
|
5
3
|
require('../../modules/esnext.array.last-item');
|
|
6
4
|
require('../../modules/esnext.array.last-index');
|
|
7
|
-
require('../../modules/esnext.array.unscopables.flat');
|
|
8
|
-
require('../../modules/esnext.array.unscopables.flat-map');
|
|
@@ -1,6 +1 @@
|
|
|
1
1
|
module.exports = require('../../../es/array/virtual');
|
|
2
|
-
|
|
3
|
-
require('../../../modules/esnext.array.flat');
|
|
4
|
-
require('../../../modules/esnext.array.flat-map');
|
|
5
|
-
require('../../../modules/esnext.array.unscopables.flat');
|
|
6
|
-
require('../../../modules/esnext.array.unscopables.flat-map');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var at = require('../string/virtual/at');
|
|
2
|
+
var StringPrototype = String.prototype;
|
|
3
|
+
|
|
4
|
+
module.exports = function (it) {
|
|
5
|
+
var own = it.at;
|
|
6
|
+
return typeof it === 'string' || it === StringPrototype
|
|
7
|
+
|| (it instanceof String && own === StringPrototype.at) ? at : own;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/bind');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/code-point-at');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var codePoints = require('../string/virtual/code-points');
|
|
2
|
+
var StringPrototype = String.prototype;
|
|
3
|
+
|
|
4
|
+
module.exports = function (it) {
|
|
5
|
+
var own = it.codePoints;
|
|
6
|
+
return typeof it === 'string' || it === StringPrototype
|
|
7
|
+
|| (it instanceof String && own === StringPrototype.codePoints) ? codePoints : own;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/concat');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/copy-within');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/ends-with');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../stable/instance/entries');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/every');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/fill');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/filter');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/find-index');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/find');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/flags');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/flat-map');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/flat');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../stable/instance/for-each');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/includes');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/index-of');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../stable/instance/keys');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/last-index-of');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/map');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var matchAll = require('../string/virtual/match-all');
|
|
2
|
+
var StringPrototype = String.prototype;
|
|
3
|
+
|
|
4
|
+
module.exports = function (it) {
|
|
5
|
+
var own = it.matchAll;
|
|
6
|
+
return typeof it === 'string' || it === StringPrototype
|
|
7
|
+
|| (it instanceof String && own === StringPrototype.matchAll) ? matchAll : own;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/pad-end');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/pad-start');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/reduce-right');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/reduce');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/repeat');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var replaceAll = require('../string/virtual/replace-all');
|
|
2
|
+
var StringPrototype = String.prototype;
|
|
3
|
+
|
|
4
|
+
module.exports = function (it) {
|
|
5
|
+
var own = it.replaceAll;
|
|
6
|
+
return typeof it === 'string' || it === StringPrototype
|
|
7
|
+
|| (it instanceof String && own === StringPrototype.replaceAll) ? replaceAll : own;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/reverse');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/slice');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/some');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/sort');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/splice');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/starts-with');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/trim-end');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/trim-left');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/trim-right');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/trim-start');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../es/instance/trim');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../stable/instance/values');
|
package/features/map/index.js
CHANGED
package/features/object/index.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
require('../../modules/es.promise');
|
|
3
|
+
require('../../modules/esnext.aggregate-error');
|
|
4
|
+
require('../../modules/esnext.promise.any');
|
|
5
|
+
var Promise = require('../../internals/path').Promise;
|
|
6
|
+
var $any = Promise.any;
|
|
7
|
+
|
|
8
|
+
module.exports = function any(iterable) {
|
|
9
|
+
return $any.call(typeof this === 'function' ? this : Promise, iterable);
|
|
10
|
+
};
|
package/features/set-interval.js
CHANGED
package/features/set-timeout.js
CHANGED
package/features/string/index.js
CHANGED
|
@@ -3,5 +3,3 @@ module.exports = require('../../es/string');
|
|
|
3
3
|
require('../../modules/esnext.string.at');
|
|
4
4
|
require('../../modules/esnext.string.match-all');
|
|
5
5
|
require('../../modules/esnext.string.replace-all');
|
|
6
|
-
require('../../modules/esnext.string.trim-start');
|
|
7
|
-
require('../../modules/esnext.string.trim-end');
|
|
@@ -3,5 +3,3 @@ module.exports = require('../../../es/string/virtual');
|
|
|
3
3
|
require('../../../modules/esnext.string.at');
|
|
4
4
|
require('../../../modules/esnext.string.match-all');
|
|
5
5
|
require('../../../modules/esnext.string.replace-all');
|
|
6
|
-
require('../../../modules/esnext.string.trim-start');
|
|
7
|
-
require('../../../modules/esnext.string.trim-end');
|
package/internals/export.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
var global = require('../internals/global');
|
|
2
|
+
var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;
|
|
2
3
|
var hide = require('../internals/hide');
|
|
3
4
|
var redefine = require('../internals/redefine');
|
|
4
5
|
var setGlobal = require('../internals/set-global');
|
|
@@ -6,23 +7,24 @@ var copyConstructorProperties = require('../internals/copy-constructor-propertie
|
|
|
6
7
|
var isForced = require('../internals/is-forced');
|
|
7
8
|
|
|
8
9
|
/*
|
|
9
|
-
options.target
|
|
10
|
-
options.global
|
|
11
|
-
options.stat
|
|
12
|
-
options.proto
|
|
13
|
-
options.real
|
|
14
|
-
options.forced
|
|
15
|
-
options.bind
|
|
16
|
-
options.wrap
|
|
17
|
-
options.unsafe
|
|
18
|
-
options.sham
|
|
19
|
-
options.enumerable
|
|
10
|
+
options.target - name of the target object
|
|
11
|
+
options.global - target is the global object
|
|
12
|
+
options.stat - export as static methods of target
|
|
13
|
+
options.proto - export as prototype methods of target
|
|
14
|
+
options.real - real prototype method for the `pure` version
|
|
15
|
+
options.forced - export even if the native feature is available
|
|
16
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
17
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
18
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
19
|
+
options.sham - add a flag to not completely full polyfills
|
|
20
|
+
options.enumerable - export as enumerable property
|
|
21
|
+
options.noTargetGet - prevent calling a getter on target
|
|
20
22
|
*/
|
|
21
23
|
module.exports = function (options, source) {
|
|
22
24
|
var TARGET = options.target;
|
|
23
25
|
var GLOBAL = options.global;
|
|
24
26
|
var STATIC = options.stat;
|
|
25
|
-
var FORCED, target, key, targetProperty, sourceProperty;
|
|
27
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
26
28
|
if (GLOBAL) {
|
|
27
29
|
target = global;
|
|
28
30
|
} else if (STATIC) {
|
|
@@ -31,8 +33,11 @@ module.exports = function (options, source) {
|
|
|
31
33
|
target = (global[TARGET] || {}).prototype;
|
|
32
34
|
}
|
|
33
35
|
if (target) for (key in source) {
|
|
34
|
-
targetProperty = target[key];
|
|
35
36
|
sourceProperty = source[key];
|
|
37
|
+
if (options.noTargetGet) {
|
|
38
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
39
|
+
targetProperty = descriptor && descriptor.value;
|
|
40
|
+
} else targetProperty = target[key];
|
|
36
41
|
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
37
42
|
// contained in target
|
|
38
43
|
if (!FORCED && targetProperty !== undefined) {
|
package/internals/global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2
|
-
module.exports = typeof window
|
|
3
|
-
: typeof self
|
|
2
|
+
module.exports = typeof window == 'object' && window && window.Math == Math ? window
|
|
3
|
+
: typeof self == 'object' && self && self.Math == Math ? self
|
|
4
4
|
// eslint-disable-next-line no-new-func
|
|
5
5
|
: Function('return this')();
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var nativeFunctionToString = require('../internals/function-to-string');
|
|
1
|
+
var NATIVE_WEAK_MAP = require('../internals/native-weak-map');
|
|
3
2
|
var isObject = require('../internals/is-object');
|
|
4
3
|
var hide = require('../internals/hide');
|
|
5
4
|
var objectHas = require('../internals/has');
|
|
6
5
|
var sharedKey = require('../internals/shared-key');
|
|
7
6
|
var hiddenKeys = require('../internals/hidden-keys');
|
|
8
|
-
var WeakMap = global.WeakMap;
|
|
7
|
+
var WeakMap = require('../internals/global').WeakMap;
|
|
9
8
|
var set, get, has;
|
|
10
9
|
|
|
11
10
|
var enforce = function (it) {
|
|
@@ -21,7 +20,7 @@ var getterFor = function (TYPE) {
|
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
22
|
|
|
24
|
-
if (
|
|
23
|
+
if (NATIVE_WEAK_MAP) {
|
|
25
24
|
var store = new WeakMap();
|
|
26
25
|
var wmget = store.get;
|
|
27
26
|
var wmhas = store.has;
|
package/internals/microtask.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
var global = require('../internals/global');
|
|
2
|
+
var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;
|
|
2
3
|
var classof = require('../internals/classof-raw');
|
|
3
4
|
var macrotask = require('../internals/task').set;
|
|
4
5
|
var userAgent = require('../internals/user-agent');
|
|
5
6
|
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
|
6
7
|
var process = global.process;
|
|
7
8
|
var Promise = global.Promise;
|
|
8
|
-
var
|
|
9
|
-
|
|
9
|
+
var IS_NODE = classof(process) == 'process';
|
|
10
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
11
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
12
|
+
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
10
13
|
|
|
11
14
|
var flush, head, last, notify, toggle, node, promise;
|
|
12
15
|
|
|
@@ -14,7 +17,7 @@ var flush, head, last, notify, toggle, node, promise;
|
|
|
14
17
|
if (!queueMicrotask) {
|
|
15
18
|
flush = function () {
|
|
16
19
|
var parent, fn;
|
|
17
|
-
if (
|
|
20
|
+
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
18
21
|
while (head) {
|
|
19
22
|
fn = head.fn;
|
|
20
23
|
head = head.next;
|
|
@@ -30,7 +33,7 @@ if (!queueMicrotask) {
|
|
|
30
33
|
};
|
|
31
34
|
|
|
32
35
|
// Node.js
|
|
33
|
-
if (
|
|
36
|
+
if (IS_NODE) {
|
|
34
37
|
notify = function () {
|
|
35
38
|
process.nextTick(flush);
|
|
36
39
|
};
|
package/internals/redefine.js
CHANGED
|
@@ -15,16 +15,18 @@ require('../internals/shared')('inspectSource', function (it) {
|
|
|
15
15
|
(module.exports = function (O, key, value, options) {
|
|
16
16
|
var unsafe = options ? !!options.unsafe : false;
|
|
17
17
|
var simple = options ? !!options.enumerable : false;
|
|
18
|
+
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
18
19
|
if (typeof value == 'function') {
|
|
19
20
|
if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);
|
|
20
21
|
enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
|
|
21
22
|
}
|
|
22
23
|
if (O === global) {
|
|
23
|
-
|
|
24
|
+
if (simple) O[key] = value;
|
|
25
|
+
else setGlobal(key, value);
|
|
24
26
|
return;
|
|
25
27
|
} else if (!unsafe) {
|
|
26
28
|
delete O[key];
|
|
27
|
-
} else if (O[key]) {
|
|
29
|
+
} else if (!noTargetGet && O[key]) {
|
|
28
30
|
simple = true;
|
|
29
31
|
}
|
|
30
32
|
if (simple) O[key] = value;
|
package/internals/shared.js
CHANGED
|
@@ -6,7 +6,7 @@ var store = global[SHARED] || setGlobal(SHARED, {});
|
|
|
6
6
|
(module.exports = function (key, value) {
|
|
7
7
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
8
8
|
})('versions', []).push({
|
|
9
|
-
version: '3.0.0
|
|
9
|
+
version: '3.0.0',
|
|
10
10
|
mode: require('../internals/is-pure') ? 'pure' : 'global',
|
|
11
11
|
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
12
12
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var nativeGetOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;
|
|
2
|
-
var FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {
|
|
2
|
+
var FAILS_ON_PRIMITIVES = require('../internals/fails')(function () { Object.getOwnPropertyNames(1); });
|
|
3
3
|
|
|
4
4
|
// `Object.getOwnPropertyNames` method
|
|
5
5
|
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
|
package/modules/es.promise.js
CHANGED
|
@@ -27,6 +27,7 @@ var PromiseConstructor = global[PROMISE];
|
|
|
27
27
|
var TypeError = global.TypeError;
|
|
28
28
|
var document = global.document;
|
|
29
29
|
var process = global.process;
|
|
30
|
+
var $fetch = global.fetch;
|
|
30
31
|
var versions = process && process.versions;
|
|
31
32
|
var v8 = versions && versions.v8 || '';
|
|
32
33
|
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
@@ -263,6 +264,14 @@ if (FORCED) {
|
|
|
263
264
|
? new OwnPromiseCapability(C)
|
|
264
265
|
: newGenericPromiseCapability(C);
|
|
265
266
|
};
|
|
267
|
+
|
|
268
|
+
// wrap fetch result
|
|
269
|
+
if (!IS_PURE && typeof $fetch == 'function') $export({ global: true, enumerable: true, forced: true }, {
|
|
270
|
+
// eslint-disable-next-line no-unused-vars
|
|
271
|
+
fetch: function fetch(input) {
|
|
272
|
+
return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));
|
|
273
|
+
}
|
|
274
|
+
});
|
|
266
275
|
}
|
|
267
276
|
|
|
268
277
|
$export({ global: true, wrap: true, forced: FORCED }, { Promise: PromiseConstructor });
|
|
@@ -13,8 +13,8 @@ var arrayPush = [].push;
|
|
|
13
13
|
var min = Math.min;
|
|
14
14
|
var MAX_UINT32 = 0xffffffff;
|
|
15
15
|
|
|
16
|
-
//
|
|
17
|
-
var SUPPORTS_Y = !fails(function () {
|
|
16
|
+
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
|
17
|
+
var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
|
|
18
18
|
|
|
19
19
|
// @@split logic
|
|
20
20
|
require('../internals/fix-regexp-well-known-symbol-logic')(
|
|
File without changes
|
|
File without changes
|