core-js-pure 3.19.2 → 3.20.2
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/LICENSE +1 -1
- package/README.md +27 -17
- package/actual/README.md +1 -0
- package/actual/aggregate-error.js +3 -0
- package/actual/array/at.js +3 -0
- package/actual/array/concat.js +3 -0
- package/actual/array/copy-within.js +3 -0
- package/actual/array/entries.js +3 -0
- package/actual/array/every.js +3 -0
- package/actual/array/fill.js +3 -0
- package/actual/array/filter.js +3 -0
- package/actual/array/find-index.js +3 -0
- package/actual/array/find-last-index.js +4 -0
- package/actual/array/find-last.js +4 -0
- package/actual/array/find.js +3 -0
- package/actual/array/flat-map.js +3 -0
- package/actual/array/flat.js +3 -0
- package/actual/array/for-each.js +3 -0
- package/actual/array/from.js +3 -0
- package/actual/array/group-by-to-map.js +6 -0
- package/actual/array/group-by.js +4 -0
- package/actual/array/includes.js +3 -0
- package/actual/array/index-of.js +3 -0
- package/actual/array/index.js +9 -0
- package/actual/array/is-array.js +3 -0
- package/actual/array/iterator.js +3 -0
- package/actual/array/join.js +3 -0
- package/actual/array/keys.js +3 -0
- package/actual/array/last-index-of.js +3 -0
- package/actual/array/map.js +3 -0
- package/actual/array/of.js +3 -0
- package/actual/array/reduce-right.js +3 -0
- package/actual/array/reduce.js +3 -0
- package/actual/array/reverse.js +3 -0
- package/actual/array/slice.js +3 -0
- package/actual/array/some.js +3 -0
- package/actual/array/sort.js +3 -0
- package/actual/array/splice.js +3 -0
- package/actual/array/values.js +3 -0
- package/actual/array/virtual/at.js +3 -0
- package/actual/array/virtual/concat.js +3 -0
- package/actual/array/virtual/copy-within.js +3 -0
- package/actual/array/virtual/entries.js +3 -0
- package/actual/array/virtual/every.js +3 -0
- package/actual/array/virtual/fill.js +3 -0
- package/actual/array/virtual/filter.js +3 -0
- package/actual/array/virtual/find-index.js +3 -0
- package/actual/array/virtual/find-last-index.js +4 -0
- package/actual/array/virtual/find-last.js +4 -0
- package/actual/array/virtual/find.js +3 -0
- package/actual/array/virtual/flat-map.js +3 -0
- package/actual/array/virtual/flat.js +3 -0
- package/actual/array/virtual/for-each.js +3 -0
- package/actual/array/virtual/group-by-to-map.js +6 -0
- package/actual/array/virtual/group-by.js +4 -0
- package/actual/array/virtual/includes.js +3 -0
- package/actual/array/virtual/index-of.js +3 -0
- package/actual/array/virtual/index.js +9 -0
- package/actual/array/virtual/iterator.js +3 -0
- package/actual/array/virtual/join.js +3 -0
- package/actual/array/virtual/keys.js +3 -0
- package/actual/array/virtual/last-index-of.js +3 -0
- package/actual/array/virtual/map.js +3 -0
- package/actual/array/virtual/reduce-right.js +3 -0
- package/actual/array/virtual/reduce.js +3 -0
- package/actual/array/virtual/reverse.js +3 -0
- package/actual/array/virtual/slice.js +3 -0
- package/actual/array/virtual/some.js +3 -0
- package/actual/array/virtual/sort.js +3 -0
- package/actual/array/virtual/splice.js +3 -0
- package/actual/array/virtual/values.js +3 -0
- package/actual/array-buffer/constructor.js +3 -0
- package/actual/array-buffer/index.js +3 -0
- package/actual/array-buffer/is-view.js +3 -0
- package/actual/array-buffer/slice.js +3 -0
- package/actual/clear-immediate.js +3 -0
- package/actual/data-view/index.js +3 -0
- package/actual/date/get-year.js +3 -0
- package/actual/date/index.js +3 -0
- package/actual/date/now.js +3 -0
- package/actual/date/set-year.js +3 -0
- package/actual/date/to-gmt-string.js +3 -0
- package/actual/date/to-iso-string.js +3 -0
- package/actual/date/to-json.js +3 -0
- package/actual/date/to-primitive.js +3 -0
- package/actual/date/to-string.js +3 -0
- package/actual/dom-collections/for-each.js +3 -0
- package/actual/dom-collections/index.js +3 -0
- package/actual/dom-collections/iterator.js +3 -0
- package/actual/dom-exception/constructor.js +3 -0
- package/actual/dom-exception/index.js +3 -0
- package/actual/dom-exception/to-string-tag.js +3 -0
- package/actual/error/constructor.js +3 -0
- package/actual/error/index.js +3 -0
- package/actual/error/to-string.js +3 -0
- package/actual/escape.js +3 -0
- package/actual/function/bind.js +3 -0
- package/actual/function/has-instance.js +3 -0
- package/actual/function/index.js +3 -0
- package/actual/function/name.js +3 -0
- package/actual/function/virtual/bind.js +3 -0
- package/actual/function/virtual/index.js +3 -0
- package/actual/get-iterator-method.js +3 -0
- package/actual/get-iterator.js +3 -0
- package/actual/global-this.js +3 -0
- package/actual/index.js +4 -0
- package/actual/instance/at.js +3 -0
- package/actual/instance/bind.js +3 -0
- package/actual/instance/code-point-at.js +3 -0
- package/actual/instance/concat.js +3 -0
- package/actual/instance/copy-within.js +3 -0
- package/actual/instance/ends-with.js +3 -0
- package/actual/instance/entries.js +3 -0
- package/actual/instance/every.js +3 -0
- package/actual/instance/fill.js +3 -0
- package/actual/instance/filter.js +3 -0
- package/actual/instance/find-index.js +3 -0
- package/actual/instance/find-last-index.js +9 -0
- package/actual/instance/find-last.js +9 -0
- package/actual/instance/find.js +3 -0
- package/actual/instance/flags.js +3 -0
- package/actual/instance/flat-map.js +3 -0
- package/actual/instance/flat.js +3 -0
- package/actual/instance/for-each.js +3 -0
- package/actual/instance/group-by-to-map.js +9 -0
- package/actual/instance/group-by.js +9 -0
- package/actual/instance/includes.js +3 -0
- package/actual/instance/index-of.js +3 -0
- package/actual/instance/keys.js +3 -0
- package/actual/instance/last-index-of.js +3 -0
- package/actual/instance/map.js +3 -0
- package/actual/instance/match-all.js +3 -0
- package/actual/instance/pad-end.js +3 -0
- package/actual/instance/pad-start.js +3 -0
- package/actual/instance/reduce-right.js +3 -0
- package/actual/instance/reduce.js +3 -0
- package/actual/instance/repeat.js +3 -0
- package/actual/instance/replace-all.js +3 -0
- package/actual/instance/reverse.js +3 -0
- package/actual/instance/slice.js +3 -0
- package/actual/instance/some.js +3 -0
- package/actual/instance/sort.js +3 -0
- package/actual/instance/splice.js +3 -0
- package/actual/instance/starts-with.js +3 -0
- package/actual/instance/trim-end.js +3 -0
- package/actual/instance/trim-left.js +3 -0
- package/actual/instance/trim-right.js +3 -0
- package/actual/instance/trim-start.js +3 -0
- package/actual/instance/trim.js +3 -0
- package/actual/instance/values.js +3 -0
- package/actual/is-iterable.js +3 -0
- package/actual/json/index.js +3 -0
- package/actual/json/stringify.js +3 -0
- package/actual/json/to-string-tag.js +3 -0
- package/actual/map/index.js +3 -0
- package/actual/math/acosh.js +3 -0
- package/actual/math/asinh.js +3 -0
- package/actual/math/atanh.js +3 -0
- package/actual/math/cbrt.js +3 -0
- package/actual/math/clz32.js +3 -0
- package/actual/math/cosh.js +3 -0
- package/actual/math/expm1.js +3 -0
- package/actual/math/fround.js +3 -0
- package/actual/math/hypot.js +3 -0
- package/actual/math/imul.js +3 -0
- package/actual/math/index.js +3 -0
- package/actual/math/log10.js +3 -0
- package/actual/math/log1p.js +3 -0
- package/actual/math/log2.js +3 -0
- package/actual/math/sign.js +3 -0
- package/actual/math/sinh.js +3 -0
- package/actual/math/tanh.js +3 -0
- package/actual/math/to-string-tag.js +3 -0
- package/actual/math/trunc.js +3 -0
- package/actual/number/constructor.js +3 -0
- package/actual/number/epsilon.js +3 -0
- package/actual/number/index.js +3 -0
- package/actual/number/is-finite.js +3 -0
- package/actual/number/is-integer.js +3 -0
- package/actual/number/is-nan.js +3 -0
- package/actual/number/is-safe-integer.js +3 -0
- package/actual/number/max-safe-integer.js +3 -0
- package/actual/number/min-safe-integer.js +3 -0
- package/actual/number/parse-float.js +3 -0
- package/actual/number/parse-int.js +3 -0
- package/actual/number/to-exponential.js +3 -0
- package/actual/number/to-fixed.js +3 -0
- package/actual/number/to-precision.js +3 -0
- package/actual/number/virtual/index.js +3 -0
- package/actual/number/virtual/to-exponential.js +3 -0
- package/actual/number/virtual/to-fixed.js +3 -0
- package/actual/number/virtual/to-precision.js +3 -0
- package/actual/object/assign.js +3 -0
- package/actual/object/create.js +3 -0
- package/actual/object/define-getter.js +3 -0
- package/actual/object/define-properties.js +3 -0
- package/actual/object/define-property.js +3 -0
- package/actual/object/define-setter.js +3 -0
- package/actual/object/entries.js +3 -0
- package/actual/object/freeze.js +3 -0
- package/actual/object/from-entries.js +3 -0
- package/actual/object/get-own-property-descriptor.js +3 -0
- package/actual/object/get-own-property-descriptors.js +3 -0
- package/actual/object/get-own-property-names.js +3 -0
- package/actual/object/get-own-property-symbols.js +3 -0
- package/actual/object/get-prototype-of.js +3 -0
- package/actual/object/has-own.js +3 -0
- package/actual/object/index.js +3 -0
- package/actual/object/is-extensible.js +3 -0
- package/actual/object/is-frozen.js +3 -0
- package/actual/object/is-sealed.js +3 -0
- package/actual/object/is.js +3 -0
- package/actual/object/keys.js +3 -0
- package/actual/object/lookup-getter.js +3 -0
- package/actual/object/lookup-setter.js +3 -0
- package/actual/object/prevent-extensions.js +3 -0
- package/actual/object/seal.js +3 -0
- package/actual/object/set-prototype-of.js +3 -0
- package/actual/object/to-string.js +3 -0
- package/actual/object/values.js +3 -0
- package/actual/parse-float.js +3 -0
- package/actual/parse-int.js +3 -0
- package/actual/promise/all-settled.js +3 -0
- package/actual/promise/any.js +3 -0
- package/actual/promise/finally.js +3 -0
- package/actual/promise/index.js +3 -0
- package/actual/queue-microtask.js +3 -0
- package/actual/reflect/apply.js +3 -0
- package/actual/reflect/construct.js +3 -0
- package/actual/reflect/define-property.js +3 -0
- package/actual/reflect/delete-property.js +3 -0
- package/actual/reflect/get-own-property-descriptor.js +3 -0
- package/actual/reflect/get-prototype-of.js +3 -0
- package/actual/reflect/get.js +3 -0
- package/actual/reflect/has.js +3 -0
- package/actual/reflect/index.js +3 -0
- package/actual/reflect/is-extensible.js +3 -0
- package/actual/reflect/own-keys.js +3 -0
- package/actual/reflect/prevent-extensions.js +3 -0
- package/actual/reflect/set-prototype-of.js +3 -0
- package/actual/reflect/set.js +3 -0
- package/actual/reflect/to-string-tag.js +3 -0
- package/actual/regexp/constructor.js +3 -0
- package/actual/regexp/dot-all.js +3 -0
- package/actual/regexp/flags.js +3 -0
- package/actual/regexp/index.js +3 -0
- package/actual/regexp/match.js +3 -0
- package/actual/regexp/replace.js +3 -0
- package/actual/regexp/search.js +3 -0
- package/actual/regexp/split.js +3 -0
- package/actual/regexp/sticky.js +3 -0
- package/actual/regexp/test.js +3 -0
- package/actual/regexp/to-string.js +3 -0
- package/actual/set/index.js +3 -0
- package/actual/set-immediate.js +3 -0
- package/actual/set-interval.js +3 -0
- package/actual/set-timeout.js +3 -0
- package/actual/string/anchor.js +3 -0
- package/actual/string/at.js +3 -0
- package/actual/string/big.js +3 -0
- package/actual/string/blink.js +3 -0
- package/actual/string/bold.js +3 -0
- package/actual/string/code-point-at.js +3 -0
- package/actual/string/ends-with.js +3 -0
- package/actual/string/fixed.js +3 -0
- package/actual/string/fontcolor.js +3 -0
- package/actual/string/fontsize.js +3 -0
- package/actual/string/from-code-point.js +3 -0
- package/actual/string/includes.js +3 -0
- package/actual/string/index.js +3 -0
- package/actual/string/italics.js +3 -0
- package/actual/string/iterator.js +3 -0
- package/actual/string/link.js +3 -0
- package/actual/string/match-all.js +3 -0
- package/actual/string/match.js +3 -0
- package/actual/string/pad-end.js +3 -0
- package/actual/string/pad-start.js +3 -0
- package/actual/string/raw.js +3 -0
- package/actual/string/repeat.js +3 -0
- package/actual/string/replace-all.js +3 -0
- package/actual/string/replace.js +3 -0
- package/actual/string/search.js +3 -0
- package/actual/string/small.js +3 -0
- package/actual/string/split.js +3 -0
- package/actual/string/starts-with.js +3 -0
- package/actual/string/strike.js +3 -0
- package/actual/string/sub.js +3 -0
- package/actual/string/substr.js +3 -0
- package/actual/string/sup.js +3 -0
- package/actual/string/trim-end.js +3 -0
- package/actual/string/trim-left.js +3 -0
- package/actual/string/trim-right.js +3 -0
- package/actual/string/trim-start.js +3 -0
- package/actual/string/trim.js +3 -0
- package/actual/string/virtual/anchor.js +3 -0
- package/actual/string/virtual/at.js +3 -0
- package/actual/string/virtual/big.js +3 -0
- package/actual/string/virtual/blink.js +3 -0
- package/actual/string/virtual/bold.js +3 -0
- package/actual/string/virtual/code-point-at.js +3 -0
- package/actual/string/virtual/ends-with.js +3 -0
- package/actual/string/virtual/fixed.js +3 -0
- package/actual/string/virtual/fontcolor.js +3 -0
- package/actual/string/virtual/fontsize.js +3 -0
- package/actual/string/virtual/includes.js +3 -0
- package/actual/string/virtual/index.js +3 -0
- package/actual/string/virtual/italics.js +3 -0
- package/actual/string/virtual/iterator.js +3 -0
- package/actual/string/virtual/link.js +3 -0
- package/actual/string/virtual/match-all.js +3 -0
- package/actual/string/virtual/pad-end.js +3 -0
- package/actual/string/virtual/pad-start.js +3 -0
- package/actual/string/virtual/repeat.js +3 -0
- package/actual/string/virtual/replace-all.js +3 -0
- package/actual/string/virtual/small.js +3 -0
- package/actual/string/virtual/starts-with.js +3 -0
- package/actual/string/virtual/strike.js +3 -0
- package/actual/string/virtual/sub.js +3 -0
- package/actual/string/virtual/substr.js +3 -0
- package/actual/string/virtual/sup.js +3 -0
- package/actual/string/virtual/trim-end.js +3 -0
- package/actual/string/virtual/trim-left.js +3 -0
- package/actual/string/virtual/trim-right.js +3 -0
- package/actual/string/virtual/trim-start.js +3 -0
- package/actual/string/virtual/trim.js +3 -0
- package/actual/structured-clone.js +3 -0
- package/actual/symbol/async-iterator.js +3 -0
- package/actual/symbol/description.js +3 -0
- package/actual/symbol/for.js +3 -0
- package/actual/symbol/has-instance.js +3 -0
- package/actual/symbol/index.js +3 -0
- package/actual/symbol/is-concat-spreadable.js +3 -0
- package/actual/symbol/iterator.js +3 -0
- package/actual/symbol/key-for.js +3 -0
- package/actual/symbol/match-all.js +3 -0
- package/actual/symbol/match.js +3 -0
- package/actual/symbol/replace.js +3 -0
- package/actual/symbol/search.js +3 -0
- package/actual/symbol/species.js +3 -0
- package/actual/symbol/split.js +3 -0
- package/actual/symbol/to-primitive.js +3 -0
- package/actual/symbol/to-string-tag.js +3 -0
- package/actual/symbol/unscopables.js +3 -0
- package/actual/typed-array/at.js +3 -0
- package/actual/typed-array/copy-within.js +3 -0
- package/actual/typed-array/entries.js +3 -0
- package/actual/typed-array/every.js +3 -0
- package/actual/typed-array/fill.js +3 -0
- package/actual/typed-array/filter.js +3 -0
- package/actual/typed-array/find-index.js +3 -0
- package/actual/typed-array/find-last-index.js +1 -0
- package/actual/typed-array/find-last.js +1 -0
- package/actual/typed-array/find.js +3 -0
- package/actual/typed-array/float32-array.js +4 -0
- package/actual/typed-array/float64-array.js +4 -0
- package/actual/typed-array/for-each.js +3 -0
- package/actual/typed-array/from.js +3 -0
- package/actual/typed-array/includes.js +3 -0
- package/actual/typed-array/index-of.js +3 -0
- package/actual/typed-array/index.js +5 -0
- package/actual/typed-array/int16-array.js +4 -0
- package/actual/typed-array/int32-array.js +4 -0
- package/actual/typed-array/int8-array.js +4 -0
- package/actual/typed-array/iterator.js +3 -0
- package/actual/typed-array/join.js +3 -0
- package/actual/typed-array/keys.js +3 -0
- package/actual/typed-array/last-index-of.js +3 -0
- package/actual/typed-array/map.js +3 -0
- package/actual/typed-array/methods.js +5 -0
- package/actual/typed-array/of.js +3 -0
- package/actual/typed-array/reduce-right.js +3 -0
- package/actual/typed-array/reduce.js +3 -0
- package/actual/typed-array/reverse.js +3 -0
- package/actual/typed-array/set.js +3 -0
- package/actual/typed-array/slice.js +3 -0
- package/actual/typed-array/some.js +3 -0
- package/actual/typed-array/sort.js +3 -0
- package/actual/typed-array/subarray.js +3 -0
- package/actual/typed-array/to-locale-string.js +3 -0
- package/actual/typed-array/to-string.js +3 -0
- package/actual/typed-array/uint16-array.js +4 -0
- package/actual/typed-array/uint32-array.js +4 -0
- package/actual/typed-array/uint8-array.js +4 -0
- package/actual/typed-array/uint8-clamped-array.js +4 -0
- package/actual/typed-array/values.js +3 -0
- package/actual/unescape.js +3 -0
- package/actual/url/index.js +3 -0
- package/actual/url/to-json.js +3 -0
- package/actual/url-search-params/index.js +3 -0
- package/actual/weak-map/index.js +3 -0
- package/actual/weak-set/index.js +3 -0
- package/es/aggregate-error.js +2 -0
- package/es/array-buffer/constructor.js +1 -0
- package/es/data-view/index.js +2 -0
- package/es/error/constructor.js +4 -0
- package/es/error/index.js +5 -0
- package/es/error/to-string.js +4 -0
- package/es/index.js +4 -0
- package/es/number/index.js +1 -0
- package/es/number/to-exponential.js +4 -0
- package/es/number/virtual/index.js +1 -0
- package/es/number/virtual/to-exponential.js +4 -0
- package/es/typed-array/float32-array.js +2 -0
- package/es/typed-array/float64-array.js +2 -0
- package/es/typed-array/int16-array.js +2 -0
- package/es/typed-array/int32-array.js +2 -0
- package/es/typed-array/int8-array.js +2 -0
- package/es/typed-array/uint16-array.js +2 -0
- package/es/typed-array/uint32-array.js +2 -0
- package/es/typed-array/uint8-array.js +2 -0
- package/es/typed-array/uint8-clamped-array.js +2 -0
- package/features/aggregate-error.js +1 -1
- package/features/array/at.js +1 -1
- package/features/array/concat.js +1 -1
- package/features/array/copy-within.js +1 -1
- package/features/array/entries.js +1 -1
- package/features/array/every.js +1 -1
- package/features/array/fill.js +1 -1
- package/features/array/filter.js +1 -1
- package/features/array/find-index.js +1 -1
- package/features/array/find-last-index.js +2 -3
- package/features/array/find-last.js +2 -3
- package/features/array/find.js +1 -1
- package/features/array/flat-map.js +1 -1
- package/features/array/flat.js +1 -1
- package/features/array/for-each.js +1 -1
- package/features/array/from.js +1 -1
- package/features/array/group-by-to-map.js +3 -0
- package/features/array/group-by.js +2 -3
- package/features/array/includes.js +1 -1
- package/features/array/index-of.js +1 -1
- package/features/array/index.js +5 -5
- package/features/array/is-array.js +1 -1
- package/features/array/iterator.js +1 -1
- package/features/array/join.js +1 -1
- package/features/array/keys.js +1 -1
- package/features/array/last-index-of.js +1 -1
- package/features/array/map.js +1 -1
- package/features/array/of.js +1 -1
- package/features/array/reduce-right.js +1 -1
- package/features/array/reduce.js +1 -1
- package/features/array/reverse.js +1 -1
- package/features/array/slice.js +1 -1
- package/features/array/some.js +1 -1
- package/features/array/sort.js +1 -1
- package/features/array/splice.js +1 -1
- package/features/array/to-reversed.js +4 -0
- package/features/array/to-sorted.js +5 -0
- package/features/array/to-spliced.js +4 -0
- package/features/array/values.js +1 -1
- package/features/array/virtual/at.js +1 -1
- package/features/array/virtual/concat.js +1 -1
- package/features/array/virtual/copy-within.js +1 -1
- package/features/array/virtual/entries.js +1 -1
- package/features/array/virtual/every.js +1 -1
- package/features/array/virtual/fill.js +1 -1
- package/features/array/virtual/filter.js +1 -1
- package/features/array/virtual/find-index.js +1 -1
- package/features/array/virtual/find-last-index.js +2 -3
- package/features/array/virtual/find-last.js +2 -3
- package/features/array/virtual/find.js +1 -1
- package/features/array/virtual/flat-map.js +1 -1
- package/features/array/virtual/flat.js +1 -1
- package/features/array/virtual/for-each.js +1 -1
- package/features/array/virtual/group-by-to-map.js +3 -0
- package/features/array/virtual/group-by.js +2 -3
- package/features/array/virtual/includes.js +1 -1
- package/features/array/virtual/index-of.js +1 -1
- package/features/array/virtual/index.js +5 -5
- package/features/array/virtual/iterator.js +1 -1
- package/features/array/virtual/join.js +1 -1
- package/features/array/virtual/keys.js +1 -1
- package/features/array/virtual/last-index-of.js +1 -1
- package/features/array/virtual/map.js +1 -1
- package/features/array/virtual/reduce-right.js +1 -1
- package/features/array/virtual/reduce.js +1 -1
- package/features/array/virtual/reverse.js +1 -1
- package/features/array/virtual/slice.js +1 -1
- package/features/array/virtual/some.js +1 -1
- package/features/array/virtual/sort.js +1 -1
- package/features/array/virtual/splice.js +1 -1
- package/features/array/virtual/to-reversed.js +4 -0
- package/features/array/virtual/to-sorted.js +5 -0
- package/features/array/virtual/to-spliced.js +4 -0
- package/features/array/virtual/values.js +1 -1
- package/features/array/virtual/with.js +4 -0
- package/features/array/with.js +4 -0
- package/features/array-buffer/constructor.js +1 -1
- package/features/array-buffer/index.js +1 -1
- package/features/array-buffer/is-view.js +1 -1
- package/features/array-buffer/slice.js +1 -1
- package/features/clear-immediate.js +1 -1
- package/features/data-view/index.js +1 -1
- package/features/date/get-year.js +1 -1
- package/features/date/index.js +1 -1
- package/features/date/now.js +1 -1
- package/features/date/set-year.js +1 -1
- package/features/date/to-gmt-string.js +1 -1
- package/features/date/to-iso-string.js +1 -1
- package/features/date/to-json.js +1 -1
- package/features/date/to-primitive.js +1 -1
- package/features/date/to-string.js +1 -1
- package/features/dom-collections/for-each.js +1 -1
- package/features/dom-collections/index.js +1 -1
- package/features/dom-collections/iterator.js +1 -1
- package/features/dom-exception/constructor.js +3 -0
- package/features/dom-exception/index.js +3 -0
- package/features/dom-exception/to-string-tag.js +3 -0
- package/features/error/constructor.js +3 -0
- package/features/error/index.js +3 -0
- package/features/error/to-string.js +3 -0
- package/features/escape.js +1 -1
- package/features/function/bind.js +1 -1
- package/features/function/has-instance.js +1 -1
- package/features/function/index.js +4 -1
- package/features/function/is-callable.js +4 -0
- package/features/function/is-constructor.js +4 -0
- package/features/function/name.js +1 -1
- package/features/function/un-this.js +4 -0
- package/features/function/virtual/bind.js +1 -1
- package/features/function/virtual/index.js +2 -1
- package/features/function/virtual/un-this.js +4 -0
- package/features/get-iterator-method.js +1 -1
- package/features/get-iterator.js +1 -1
- package/features/global-this.js +1 -1
- package/features/index.js +22 -0
- package/features/instance/bind.js +1 -1
- package/features/instance/code-point-at.js +1 -1
- package/features/instance/concat.js +1 -1
- package/features/instance/copy-within.js +1 -1
- package/features/instance/ends-with.js +1 -1
- package/features/instance/entries.js +1 -1
- package/features/instance/every.js +1 -1
- package/features/instance/fill.js +1 -1
- package/features/instance/filter.js +1 -1
- package/features/instance/find-index.js +1 -1
- package/features/instance/find-last-index.js +2 -8
- package/features/instance/find-last.js +2 -8
- package/features/instance/find.js +1 -1
- package/features/instance/flags.js +1 -1
- package/features/instance/flat-map.js +1 -1
- package/features/instance/flat.js +1 -1
- package/features/instance/for-each.js +1 -1
- package/features/instance/group-by-to-map.js +3 -0
- package/features/instance/group-by.js +2 -8
- package/features/instance/includes.js +1 -1
- package/features/instance/index-of.js +1 -1
- package/features/instance/keys.js +1 -1
- package/features/instance/last-index-of.js +1 -1
- package/features/instance/map.js +1 -1
- package/features/instance/match-all.js +1 -1
- package/features/instance/pad-end.js +1 -1
- package/features/instance/pad-start.js +1 -1
- package/features/instance/reduce-right.js +1 -1
- package/features/instance/reduce.js +1 -1
- package/features/instance/repeat.js +1 -1
- package/features/instance/replace-all.js +1 -1
- package/features/instance/reverse.js +1 -1
- package/features/instance/slice.js +1 -1
- package/features/instance/some.js +1 -1
- package/features/instance/sort.js +1 -1
- package/features/instance/splice.js +1 -1
- package/features/instance/starts-with.js +1 -1
- package/features/instance/to-reversed.js +9 -0
- package/features/instance/to-sorted.js +9 -0
- package/features/instance/to-spliced.js +9 -0
- package/features/instance/trim-end.js +1 -1
- package/features/instance/trim-left.js +1 -1
- package/features/instance/trim-right.js +1 -1
- package/features/instance/trim-start.js +1 -1
- package/features/instance/trim.js +1 -1
- package/features/instance/un-this.js +9 -0
- package/features/instance/values.js +1 -1
- package/features/instance/with.js +9 -0
- package/features/is-iterable.js +1 -1
- package/features/iterator/index.js +2 -0
- package/features/iterator/to-async.js +8 -0
- package/features/json/index.js +1 -1
- package/features/json/stringify.js +1 -1
- package/features/json/to-string-tag.js +1 -1
- package/features/map/index.js +1 -1
- package/features/math/acosh.js +1 -1
- package/features/math/asinh.js +1 -1
- package/features/math/atanh.js +1 -1
- package/features/math/cbrt.js +1 -1
- package/features/math/clz32.js +1 -1
- package/features/math/cosh.js +1 -1
- package/features/math/expm1.js +1 -1
- package/features/math/fround.js +1 -1
- package/features/math/hypot.js +1 -1
- package/features/math/imul.js +1 -1
- package/features/math/index.js +1 -1
- package/features/math/log10.js +1 -1
- package/features/math/log1p.js +1 -1
- package/features/math/log2.js +1 -1
- package/features/math/sign.js +1 -1
- package/features/math/sinh.js +1 -1
- package/features/math/tanh.js +1 -1
- package/features/math/to-string-tag.js +1 -1
- package/features/math/trunc.js +1 -1
- package/features/number/constructor.js +1 -1
- package/features/number/epsilon.js +1 -1
- package/features/number/index.js +1 -1
- package/features/number/is-finite.js +1 -1
- package/features/number/is-integer.js +1 -1
- package/features/number/is-nan.js +1 -1
- package/features/number/is-safe-integer.js +1 -1
- package/features/number/max-safe-integer.js +1 -1
- package/features/number/min-safe-integer.js +1 -1
- package/features/number/parse-float.js +1 -1
- package/features/number/parse-int.js +1 -1
- package/features/number/to-exponential.js +3 -0
- package/features/number/to-fixed.js +1 -1
- package/features/number/to-precision.js +1 -1
- package/features/number/virtual/index.js +1 -1
- package/features/number/virtual/to-exponential.js +3 -0
- package/features/number/virtual/to-fixed.js +1 -1
- package/features/number/virtual/to-precision.js +1 -1
- package/features/object/assign.js +1 -1
- package/features/object/create.js +1 -1
- package/features/object/define-getter.js +1 -1
- package/features/object/define-properties.js +1 -1
- package/features/object/define-property.js +1 -1
- package/features/object/define-setter.js +1 -1
- package/features/object/entries.js +1 -1
- package/features/object/freeze.js +1 -1
- package/features/object/from-entries.js +1 -1
- package/features/object/get-own-property-descriptor.js +1 -1
- package/features/object/get-own-property-descriptors.js +1 -1
- package/features/object/get-own-property-names.js +1 -1
- package/features/object/get-own-property-symbols.js +1 -1
- package/features/object/get-prototype-of.js +1 -1
- package/features/object/has-own.js +1 -1
- package/features/object/index.js +1 -1
- package/features/object/is-extensible.js +1 -1
- package/features/object/is-frozen.js +1 -1
- package/features/object/is-sealed.js +1 -1
- package/features/object/is.js +1 -1
- package/features/object/keys.js +1 -1
- package/features/object/lookup-getter.js +1 -1
- package/features/object/lookup-setter.js +1 -1
- package/features/object/prevent-extensions.js +1 -1
- package/features/object/seal.js +1 -1
- package/features/object/set-prototype-of.js +1 -1
- package/features/object/to-string.js +1 -1
- package/features/object/values.js +1 -1
- package/features/parse-float.js +1 -1
- package/features/parse-int.js +1 -1
- package/features/promise/all-settled.js +1 -1
- package/features/promise/any.js +1 -1
- package/features/promise/finally.js +1 -1
- package/features/promise/index.js +1 -1
- package/features/queue-microtask.js +1 -1
- package/features/reflect/apply.js +1 -1
- package/features/reflect/construct.js +1 -1
- package/features/reflect/define-property.js +1 -1
- package/features/reflect/delete-property.js +1 -1
- package/features/reflect/get-own-property-descriptor.js +1 -1
- package/features/reflect/get-prototype-of.js +1 -1
- package/features/reflect/get.js +1 -1
- package/features/reflect/has.js +1 -1
- package/features/reflect/index.js +1 -1
- package/features/reflect/is-extensible.js +1 -1
- package/features/reflect/own-keys.js +1 -1
- package/features/reflect/prevent-extensions.js +1 -1
- package/features/reflect/set-prototype-of.js +1 -1
- package/features/reflect/set.js +1 -1
- package/features/regexp/constructor.js +1 -1
- package/features/regexp/dot-all.js +1 -1
- package/features/regexp/flags.js +1 -1
- package/features/regexp/index.js +1 -1
- package/features/regexp/match.js +1 -1
- package/features/regexp/replace.js +1 -1
- package/features/regexp/search.js +1 -1
- package/features/regexp/split.js +1 -1
- package/features/regexp/sticky.js +1 -1
- package/features/regexp/test.js +1 -1
- package/features/regexp/to-string.js +1 -1
- package/features/set/index.js +1 -1
- package/features/set-immediate.js +1 -1
- package/features/set-interval.js +1 -1
- package/features/set-timeout.js +1 -1
- package/features/string/anchor.js +1 -1
- package/features/string/at.js +1 -1
- package/features/string/big.js +1 -1
- package/features/string/blink.js +1 -1
- package/features/string/bold.js +1 -1
- package/features/string/code-point-at.js +1 -1
- package/features/string/cooked.js +4 -0
- package/features/string/ends-with.js +1 -1
- package/features/string/fixed.js +1 -1
- package/features/string/fontcolor.js +1 -1
- package/features/string/fontsize.js +1 -1
- package/features/string/from-code-point.js +1 -1
- package/features/string/includes.js +1 -1
- package/features/string/index.js +3 -3
- package/features/string/italics.js +1 -1
- package/features/string/iterator.js +1 -1
- package/features/string/link.js +1 -1
- package/features/string/match-all.js +1 -1
- package/features/string/match.js +1 -1
- package/features/string/pad-end.js +1 -1
- package/features/string/pad-start.js +1 -1
- package/features/string/raw.js +1 -1
- package/features/string/repeat.js +1 -1
- package/features/string/replace-all.js +1 -1
- package/features/string/replace.js +1 -1
- package/features/string/search.js +1 -1
- package/features/string/small.js +1 -1
- package/features/string/split.js +1 -1
- package/features/string/starts-with.js +1 -1
- package/features/string/strike.js +1 -1
- package/features/string/sub.js +1 -1
- package/features/string/substr.js +1 -1
- package/features/string/sup.js +1 -1
- package/features/string/trim-end.js +1 -1
- package/features/string/trim-left.js +1 -1
- package/features/string/trim-right.js +1 -1
- package/features/string/trim-start.js +1 -1
- package/features/string/trim.js +1 -1
- package/features/string/virtual/anchor.js +1 -1
- package/features/string/virtual/at.js +1 -1
- package/features/string/virtual/big.js +1 -1
- package/features/string/virtual/blink.js +1 -1
- package/features/string/virtual/bold.js +1 -1
- package/features/string/virtual/code-point-at.js +1 -1
- package/features/string/virtual/ends-with.js +1 -1
- package/features/string/virtual/fixed.js +1 -1
- package/features/string/virtual/fontcolor.js +1 -1
- package/features/string/virtual/fontsize.js +1 -1
- package/features/string/virtual/includes.js +1 -1
- package/features/string/virtual/index.js +1 -1
- package/features/string/virtual/italics.js +1 -1
- package/features/string/virtual/iterator.js +1 -1
- package/features/string/virtual/link.js +1 -1
- package/features/string/virtual/match-all.js +1 -1
- package/features/string/virtual/pad-end.js +1 -1
- package/features/string/virtual/pad-start.js +1 -1
- package/features/string/virtual/repeat.js +1 -1
- package/features/string/virtual/replace-all.js +1 -1
- package/features/string/virtual/small.js +1 -1
- package/features/string/virtual/starts-with.js +1 -1
- package/features/string/virtual/strike.js +1 -1
- package/features/string/virtual/sub.js +1 -1
- package/features/string/virtual/substr.js +1 -1
- package/features/string/virtual/sup.js +1 -1
- package/features/string/virtual/trim-end.js +1 -1
- package/features/string/virtual/trim-left.js +1 -1
- package/features/string/virtual/trim-right.js +1 -1
- package/features/string/virtual/trim-start.js +1 -1
- package/features/string/virtual/trim.js +1 -1
- package/features/structured-clone.js +3 -0
- package/features/symbol/async-iterator.js +1 -1
- package/features/symbol/for.js +1 -1
- package/features/symbol/has-instance.js +1 -1
- package/features/symbol/index.js +1 -1
- package/features/symbol/is-concat-spreadable.js +1 -1
- package/features/symbol/iterator.js +1 -1
- package/features/symbol/key-for.js +1 -1
- package/features/symbol/match-all.js +1 -1
- package/features/symbol/match.js +1 -1
- package/features/symbol/replace.js +1 -1
- package/features/symbol/search.js +1 -1
- package/features/symbol/species.js +1 -1
- package/features/symbol/split.js +1 -1
- package/features/symbol/to-primitive.js +1 -1
- package/features/symbol/to-string-tag.js +1 -1
- package/features/symbol/unscopables.js +1 -1
- package/features/typed-array/at.js +1 -1
- package/features/typed-array/copy-within.js +1 -1
- package/features/typed-array/entries.js +1 -1
- package/features/typed-array/every.js +1 -1
- package/features/typed-array/fill.js +1 -1
- package/features/typed-array/filter.js +1 -1
- package/features/typed-array/find-index.js +1 -1
- package/features/typed-array/find-last-index.js +3 -1
- package/features/typed-array/find-last.js +3 -1
- package/features/typed-array/find.js +1 -1
- package/features/typed-array/float32-array.js +1 -1
- package/features/typed-array/float64-array.js +1 -1
- package/features/typed-array/for-each.js +1 -1
- package/features/typed-array/from.js +1 -1
- package/features/typed-array/includes.js +1 -1
- package/features/typed-array/index-of.js +1 -1
- package/features/typed-array/index.js +5 -3
- package/features/typed-array/int16-array.js +1 -1
- package/features/typed-array/int32-array.js +1 -1
- package/features/typed-array/int8-array.js +1 -1
- package/features/typed-array/iterator.js +1 -1
- package/features/typed-array/join.js +1 -1
- package/features/typed-array/keys.js +1 -1
- package/features/typed-array/last-index-of.js +1 -1
- package/features/typed-array/map.js +1 -1
- package/features/typed-array/methods.js +5 -3
- package/features/typed-array/of.js +1 -1
- package/features/typed-array/reduce-right.js +1 -1
- package/features/typed-array/reduce.js +1 -1
- package/features/typed-array/reverse.js +1 -1
- package/features/typed-array/set.js +1 -1
- package/features/typed-array/slice.js +1 -1
- package/features/typed-array/some.js +1 -1
- package/features/typed-array/sort.js +1 -1
- package/features/typed-array/subarray.js +1 -1
- package/features/typed-array/to-locale-string.js +1 -1
- package/features/typed-array/to-reversed.js +1 -0
- package/features/typed-array/to-sorted.js +2 -0
- package/features/typed-array/to-spliced.js +1 -0
- package/features/typed-array/to-string.js +1 -1
- package/features/typed-array/uint16-array.js +1 -1
- package/features/typed-array/uint32-array.js +1 -1
- package/features/typed-array/uint8-array.js +1 -1
- package/features/typed-array/uint8-clamped-array.js +1 -1
- package/features/typed-array/values.js +1 -1
- package/features/typed-array/with.js +1 -0
- package/features/unescape.js +1 -1
- package/features/url/index.js +1 -1
- package/features/url/to-json.js +1 -1
- package/features/url-search-params/index.js +1 -1
- package/features/weak-map/index.js +1 -1
- package/features/weak-set/index.js +1 -1
- package/internals/array-from-constructor-and-list.js +3 -1
- package/internals/array-group-by.js +1 -0
- package/internals/array-to-reversed.js +11 -0
- package/internals/array-to-spliced.js +35 -0
- package/internals/array-with.js +18 -0
- package/internals/async-from-sync-iterator.js +3 -1
- package/internals/async-iterator-create-proxy.js +3 -1
- package/internals/clear-error-stack.js +1 -8
- package/internals/copy-constructor-properties.js +4 -2
- package/internals/create-iterator-constructor.js +2 -2
- package/internals/dom-exception-constants.js +27 -0
- package/internals/error-to-string.js +30 -0
- package/internals/function-uncurry-this.js +2 -2
- package/internals/ie8-dom-define.js +1 -1
- package/internals/is-constructor.js +12 -3
- package/internals/iterator-create-proxy.js +3 -1
- package/internals/math-log10.js +7 -0
- package/internals/native-url.js +1 -0
- package/internals/numeric-range-iterator.js +1 -1
- package/internals/object-create.js +2 -2
- package/internals/object-define-properties.js +2 -1
- package/internals/object-define-property.js +22 -1
- package/internals/queue.js +23 -0
- package/internals/shared.js +2 -2
- package/internals/try-node-require.js +8 -0
- package/internals/v8-prototype-define-bug.js +12 -0
- package/internals/wrap-error-constructor-with-cause.js +60 -0
- package/modules/es.aggregate-error.cause.js +21 -0
- package/modules/es.aggregate-error.js +3 -3
- package/modules/es.array.iterator.js +9 -1
- package/modules/es.error.cause.js +56 -0
- package/modules/es.error.to-string.js +1 -0
- package/modules/es.math.log10.js +2 -6
- package/modules/es.number.to-exponential.js +100 -0
- package/modules/es.number.to-fixed.js +1 -0
- package/modules/es.object.define-properties.js +3 -2
- package/modules/es.object.define-property.js +4 -3
- package/modules/es.promise.finally.js +1 -0
- package/modules/es.promise.js +48 -44
- package/modules/es.string.at-alternative.js +1 -1
- package/modules/es.symbol.js +2 -0
- package/modules/es.weak-map.js +5 -5
- package/modules/esnext.array.group-by-to-map.js +38 -0
- package/modules/esnext.array.group-by.js +1 -2
- package/modules/esnext.array.to-reversed.js +18 -0
- package/modules/esnext.array.to-sorted.js +25 -0
- package/modules/esnext.array.to-spliced.js +20 -0
- package/modules/esnext.array.with.js +15 -0
- package/modules/esnext.function.is-callable.js +29 -0
- package/modules/esnext.function.is-constructor.js +8 -0
- package/modules/esnext.function.un-this.js +11 -0
- package/modules/esnext.iterator.to-async.js +10 -0
- package/modules/esnext.map.merge.js +1 -1
- package/modules/esnext.observable.js +69 -54
- package/modules/esnext.string.at.js +10 -3
- package/modules/esnext.string.cooked.js +30 -0
- package/modules/esnext.typed-array.to-reversed.js +1 -0
- package/modules/esnext.typed-array.to-sorted.js +1 -0
- package/modules/esnext.typed-array.to-spliced.js +1 -0
- package/modules/esnext.typed-array.with.js +1 -0
- package/modules/web.dom-exception.constructor.js +141 -0
- package/modules/web.dom-exception.stack.js +58 -0
- package/modules/web.dom-exception.to-string-tag.js +6 -0
- package/modules/web.structured-clone.js +461 -0
- package/modules/web.url-search-params.js +1 -1
- package/modules/web.url.js +1 -1
- package/package.json +2 -2
- package/postinstall.js +1 -1
- package/proposals/accessible-object-hasownproperty.js +0 -1
- package/proposals/array-flat-map.js +5 -0
- package/proposals/array-from-async.js +1 -0
- package/proposals/array-grouping.js +2 -0
- package/proposals/array-includes.js +3 -0
- package/proposals/array-is-template-object.js +1 -0
- package/proposals/array-last.js +1 -0
- package/proposals/async-iteration.js +2 -0
- package/proposals/change-array-by-copy.js +9 -0
- package/proposals/collection-methods.js +1 -0
- package/proposals/collection-of-from.js +1 -0
- package/proposals/efficient-64-bit-arithmetic.js +1 -0
- package/proposals/error-cause.js +3 -0
- package/proposals/function-is-callable-is-constructor.js +3 -0
- package/proposals/function-un-this.js +2 -0
- package/proposals/global-this.js +1 -0
- package/proposals/index.js +1 -0
- package/proposals/iterator-helpers.js +2 -0
- package/proposals/keys-composition.js +1 -0
- package/proposals/map-update-or-insert.js +1 -0
- package/proposals/map-upsert.js +1 -1
- package/proposals/math-extensions.js +1 -0
- package/proposals/math-signbit.js +1 -0
- package/proposals/number-from-string.js +1 -0
- package/proposals/object-from-entries.js +2 -0
- package/proposals/object-getownpropertydescriptors.js +2 -0
- package/proposals/object-iteration.js +1 -0
- package/proposals/object-values-entries.js +3 -0
- package/proposals/observable.js +1 -0
- package/proposals/promise-all-settled.js +1 -1
- package/proposals/promise-any.js +1 -0
- package/proposals/promise-finally.js +2 -0
- package/proposals/promise-try.js +1 -0
- package/proposals/reflect-metadata.js +1 -0
- package/proposals/regexp-dotall-flag.js +5 -0
- package/proposals/regexp-named-groups.js +4 -0
- package/proposals/relative-indexing-method.js +0 -1
- package/proposals/seeded-random.js +1 -0
- package/proposals/set-methods.js +1 -0
- package/proposals/string-at.js +1 -0
- package/proposals/string-code-points.js +1 -0
- package/proposals/string-cooked.js +2 -0
- package/proposals/string-left-right-trim.js +3 -0
- package/proposals/string-match-all.js +1 -1
- package/proposals/string-padding.js +3 -0
- package/proposals/string-replace-all.js +1 -0
- package/proposals/symbol-description.js +2 -0
- package/proposals/url.js +1 -0
- package/proposals/well-formed-stringify.js +2 -0
- package/stable/dom-exception/constructor.js +6 -0
- package/stable/dom-exception/index.js +7 -0
- package/stable/dom-exception/to-string-tag.js +3 -0
- package/stable/error/constructor.js +3 -0
- package/stable/error/index.js +3 -0
- package/stable/error/to-string.js +3 -0
- package/stable/index.js +8 -0
- package/stable/number/to-exponential.js +3 -0
- package/stable/number/virtual/to-exponential.js +3 -0
- package/stable/structured-clone.js +13 -0
- package/stable/symbol/description.js +3 -1
- package/stage/0.js +2 -0
- package/stage/1.js +1 -2
- package/stage/2.js +2 -0
- package/stage/3.js +1 -0
- package/stage/4.js +2 -0
- package/web/dom-exception.js +7 -0
- package/web/index.js +4 -0
- package/web/structured-clone.js +8 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var parent = require('../../
|
|
1
|
+
var parent = require('../../actual/typed-array');
|
|
2
2
|
require('../../modules/es.map');
|
|
3
3
|
require('../../modules/es.promise');
|
|
4
4
|
require('../../modules/esnext.typed-array.from-async');
|
|
@@ -7,9 +7,11 @@ require('../../modules/esnext.typed-array.at');
|
|
|
7
7
|
// TODO: Remove from `core-js@4`
|
|
8
8
|
require('../../modules/esnext.typed-array.filter-out');
|
|
9
9
|
require('../../modules/esnext.typed-array.filter-reject');
|
|
10
|
-
require('../../modules/esnext.typed-array.find-last');
|
|
11
|
-
require('../../modules/esnext.typed-array.find-last-index');
|
|
12
10
|
require('../../modules/esnext.typed-array.group-by');
|
|
11
|
+
require('../../modules/esnext.typed-array.to-reversed');
|
|
12
|
+
require('../../modules/esnext.typed-array.to-sorted');
|
|
13
|
+
require('../../modules/esnext.typed-array.to-spliced');
|
|
13
14
|
require('../../modules/esnext.typed-array.unique-by');
|
|
15
|
+
require('../../modules/esnext.typed-array.with');
|
|
14
16
|
|
|
15
17
|
module.exports = parent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var parent = require('../../
|
|
1
|
+
var parent = require('../../actual/typed-array/methods');
|
|
2
2
|
require('../../modules/es.map');
|
|
3
3
|
require('../../modules/es.promise');
|
|
4
4
|
require('../../modules/esnext.typed-array.from-async');
|
|
@@ -7,9 +7,11 @@ require('../../modules/esnext.typed-array.at');
|
|
|
7
7
|
// TODO: Remove from `core-js@4`
|
|
8
8
|
require('../../modules/esnext.typed-array.filter-out');
|
|
9
9
|
require('../../modules/esnext.typed-array.filter-reject');
|
|
10
|
-
require('../../modules/esnext.typed-array.find-last');
|
|
11
|
-
require('../../modules/esnext.typed-array.find-last-index');
|
|
12
10
|
require('../../modules/esnext.typed-array.group-by');
|
|
11
|
+
require('../../modules/esnext.typed-array.to-reversed');
|
|
12
|
+
require('../../modules/esnext.typed-array.to-sorted');
|
|
13
|
+
require('../../modules/esnext.typed-array.to-spliced');
|
|
13
14
|
require('../../modules/esnext.typed-array.unique-by');
|
|
15
|
+
require('../../modules/esnext.typed-array.with');
|
|
14
16
|
|
|
15
17
|
module.exports = parent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../../modules/esnext.typed-array.to-reversed');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../../modules/esnext.typed-array.to-spliced');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../../modules/esnext.typed-array.with');
|
package/features/unescape.js
CHANGED
package/features/url/index.js
CHANGED
package/features/url/to-json.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var lengthOfArrayLike = require('../internals/length-of-array-like');
|
|
2
|
+
|
|
1
3
|
module.exports = function (Constructor, list) {
|
|
2
4
|
var index = 0;
|
|
3
|
-
var length = list
|
|
5
|
+
var length = lengthOfArrayLike(list);
|
|
4
6
|
var result = new Constructor(length);
|
|
5
7
|
while (length > index) result[index] = list[index++];
|
|
6
8
|
return result;
|
|
@@ -27,6 +27,7 @@ module.exports = function ($this, callbackfn, that, specificConstructor) {
|
|
|
27
27
|
if (key in target) push(target[key], value);
|
|
28
28
|
else target[key] = [value];
|
|
29
29
|
}
|
|
30
|
+
// TODO: Remove this block from `core-js@4`
|
|
30
31
|
if (specificConstructor) {
|
|
31
32
|
Constructor = specificConstructor(O);
|
|
32
33
|
if (Constructor !== Array) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var lengthOfArrayLike = require('../internals/length-of-array-like');
|
|
2
|
+
|
|
3
|
+
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed
|
|
4
|
+
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed
|
|
5
|
+
module.exports = function (O, C) {
|
|
6
|
+
var len = lengthOfArrayLike(O);
|
|
7
|
+
var A = new C(len);
|
|
8
|
+
var k = 0;
|
|
9
|
+
for (; k < len; k++) A[k] = O[len - k - 1];
|
|
10
|
+
return A;
|
|
11
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var lengthOfArrayLike = require('../internals/length-of-array-like');
|
|
2
|
+
var toAbsoluteIndex = require('../internals/to-absolute-index');
|
|
3
|
+
var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
|
|
4
|
+
|
|
5
|
+
var max = Math.max;
|
|
6
|
+
var min = Math.min;
|
|
7
|
+
|
|
8
|
+
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSpliced
|
|
9
|
+
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced
|
|
10
|
+
module.exports = function (O, C, args) {
|
|
11
|
+
var start = args[0];
|
|
12
|
+
var deleteCount = args[1];
|
|
13
|
+
var len = lengthOfArrayLike(O);
|
|
14
|
+
var actualStart = toAbsoluteIndex(start, len);
|
|
15
|
+
var argumentsLength = args.length;
|
|
16
|
+
var k = 0;
|
|
17
|
+
var insertCount, actualDeleteCount, newLen, A;
|
|
18
|
+
if (argumentsLength === 0) {
|
|
19
|
+
insertCount = actualDeleteCount = 0;
|
|
20
|
+
} else if (argumentsLength === 1) {
|
|
21
|
+
insertCount = 0;
|
|
22
|
+
actualDeleteCount = len - actualStart;
|
|
23
|
+
} else {
|
|
24
|
+
insertCount = argumentsLength - 2;
|
|
25
|
+
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
|
|
26
|
+
}
|
|
27
|
+
newLen = len + insertCount - actualDeleteCount;
|
|
28
|
+
A = new C(newLen);
|
|
29
|
+
|
|
30
|
+
for (; k < actualStart; k++) A[k] = O[k];
|
|
31
|
+
for (; k < actualStart + insertCount; k++) A[k] = args[k - actualStart + 2];
|
|
32
|
+
for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];
|
|
33
|
+
|
|
34
|
+
return A;
|
|
35
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var global = require('../internals/global');
|
|
2
|
+
var lengthOfArrayLike = require('../internals/length-of-array-like');
|
|
3
|
+
var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
|
|
4
|
+
|
|
5
|
+
var RangeError = global.RangeError;
|
|
6
|
+
|
|
7
|
+
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with
|
|
8
|
+
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with
|
|
9
|
+
module.exports = function (O, C, index, value) {
|
|
10
|
+
var len = lengthOfArrayLike(O);
|
|
11
|
+
var relativeIndex = toIntegerOrInfinity(index);
|
|
12
|
+
var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
|
|
13
|
+
if (actualIndex >= len || actualIndex < 0) throw RangeError('Incorrect index');
|
|
14
|
+
var A = new C(len);
|
|
15
|
+
var k = 0;
|
|
16
|
+
for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];
|
|
17
|
+
return A;
|
|
18
|
+
};
|
|
@@ -10,8 +10,9 @@ var AsyncIteratorPrototype = require('../internals/async-iterator-prototype');
|
|
|
10
10
|
|
|
11
11
|
var Promise = getBuiltIn('Promise');
|
|
12
12
|
|
|
13
|
+
var ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator';
|
|
13
14
|
var setInternalState = InternalStateModule.set;
|
|
14
|
-
var getInternalState = InternalStateModule.
|
|
15
|
+
var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR);
|
|
15
16
|
|
|
16
17
|
var asyncFromSyncIteratorContinuation = function (result, resolve, reject) {
|
|
17
18
|
var done = result.done;
|
|
@@ -22,6 +23,7 @@ var asyncFromSyncIteratorContinuation = function (result, resolve, reject) {
|
|
|
22
23
|
|
|
23
24
|
var AsyncFromSyncIterator = function AsyncIterator(iterator) {
|
|
24
25
|
setInternalState(this, {
|
|
26
|
+
type: ASYNC_FROM_SYNC_ITERATOR,
|
|
25
27
|
iterator: anObject(iterator),
|
|
26
28
|
next: iterator.next
|
|
27
29
|
});
|
|
@@ -13,13 +13,15 @@ var AsyncIteratorPrototype = require('../internals/async-iterator-prototype');
|
|
|
13
13
|
|
|
14
14
|
var Promise = getBuiltIn('Promise');
|
|
15
15
|
|
|
16
|
+
var ASYNC_ITERATOR_PROXY = 'AsyncIteratorProxy';
|
|
16
17
|
var setInternalState = InternalStateModule.set;
|
|
17
|
-
var getInternalState = InternalStateModule.
|
|
18
|
+
var getInternalState = InternalStateModule.getterFor(ASYNC_ITERATOR_PROXY);
|
|
18
19
|
|
|
19
20
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
20
21
|
|
|
21
22
|
module.exports = function (nextHandler, IS_ITERATOR) {
|
|
22
23
|
var AsyncIteratorProxy = function AsyncIterator(state) {
|
|
24
|
+
state.type = ASYNC_ITERATOR_PROXY;
|
|
23
25
|
state.next = aCallable(state.iterator.next);
|
|
24
26
|
state.done = false;
|
|
25
27
|
state.ignoreArgument = !IS_ITERATOR;
|
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
var uncurryThis = require('../internals/function-uncurry-this');
|
|
2
|
-
var arraySlice = require('../internals/array-slice-simple');
|
|
3
2
|
|
|
4
3
|
var replace = uncurryThis(''.replace);
|
|
5
|
-
var split = uncurryThis(''.split);
|
|
6
|
-
var join = uncurryThis([].join);
|
|
7
4
|
|
|
8
5
|
var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
|
|
9
6
|
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
10
7
|
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
11
|
-
var IS_FIREFOX_OR_SAFARI_STACK = /@[^\n]*\n/.test(TEST) && !/zxcasd/.test(TEST);
|
|
12
8
|
|
|
13
9
|
module.exports = function (stack, dropEntries) {
|
|
14
|
-
if (typeof stack
|
|
15
|
-
if (IS_V8_OR_CHAKRA_STACK) {
|
|
10
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {
|
|
16
11
|
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
17
|
-
} else if (IS_FIREFOX_OR_SAFARI_STACK) {
|
|
18
|
-
return join(arraySlice(split(stack, '\n'), dropEntries), '\n');
|
|
19
12
|
} return stack;
|
|
20
13
|
};
|
|
@@ -3,12 +3,14 @@ var ownKeys = require('../internals/own-keys');
|
|
|
3
3
|
var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');
|
|
4
4
|
var definePropertyModule = require('../internals/object-define-property');
|
|
5
5
|
|
|
6
|
-
module.exports = function (target, source) {
|
|
6
|
+
module.exports = function (target, source, exceptions) {
|
|
7
7
|
var keys = ownKeys(source);
|
|
8
8
|
var defineProperty = definePropertyModule.f;
|
|
9
9
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
10
10
|
for (var i = 0; i < keys.length; i++) {
|
|
11
11
|
var key = keys[i];
|
|
12
|
-
if (!hasOwn(target, key)
|
|
12
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
13
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
14
|
+
}
|
|
13
15
|
}
|
|
14
16
|
};
|
|
@@ -7,9 +7,9 @@ var Iterators = require('../internals/iterators');
|
|
|
7
7
|
|
|
8
8
|
var returnThis = function () { return this; };
|
|
9
9
|
|
|
10
|
-
module.exports = function (IteratorConstructor, NAME, next) {
|
|
10
|
+
module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
11
11
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
12
|
-
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(
|
|
12
|
+
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
13
13
|
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
14
14
|
Iterators[TO_STRING_TAG] = returnThis;
|
|
15
15
|
return IteratorConstructor;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
|
|
3
|
+
DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
|
|
4
|
+
HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
|
|
5
|
+
WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
|
|
6
|
+
InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
|
|
7
|
+
NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
|
|
8
|
+
NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
|
|
9
|
+
NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
|
|
10
|
+
NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
|
|
11
|
+
InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
|
|
12
|
+
InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
|
|
13
|
+
SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
|
|
14
|
+
InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
|
|
15
|
+
NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
|
|
16
|
+
InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
|
|
17
|
+
ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
|
|
18
|
+
TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
|
|
19
|
+
SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
|
|
20
|
+
NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
|
|
21
|
+
AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
|
|
22
|
+
URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
|
|
23
|
+
QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
|
|
24
|
+
TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
|
|
25
|
+
InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
|
|
26
|
+
DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
|
|
27
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
var DESCRIPTORS = require('../internals/descriptors');
|
|
3
|
+
var fails = require('../internals/fails');
|
|
4
|
+
var anObject = require('../internals/an-object');
|
|
5
|
+
var create = require('../internals/object-create');
|
|
6
|
+
var normalizeStringArgument = require('../internals/normalize-string-argument');
|
|
7
|
+
|
|
8
|
+
var nativeErrorToString = Error.prototype.toString;
|
|
9
|
+
|
|
10
|
+
var INCORRECT_TO_STRING = fails(function () {
|
|
11
|
+
if (DESCRIPTORS) {
|
|
12
|
+
// Chrome 32- incorrectly call accessor
|
|
13
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
14
|
+
var object = create(Object.defineProperty({}, 'name', { get: function () {
|
|
15
|
+
return this === object;
|
|
16
|
+
} }));
|
|
17
|
+
if (nativeErrorToString.call(object) !== 'true') return true;
|
|
18
|
+
}
|
|
19
|
+
// FF10- does not properly handle non-strings
|
|
20
|
+
return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'
|
|
21
|
+
// IE8 does not properly handle defaults
|
|
22
|
+
|| nativeErrorToString.call({}) !== 'Error';
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
module.exports = INCORRECT_TO_STRING ? function toString() {
|
|
26
|
+
var O = anObject(this);
|
|
27
|
+
var name = normalizeStringArgument(O.name, 'Error');
|
|
28
|
+
var message = normalizeStringArgument(O.message);
|
|
29
|
+
return !name ? message : !message ? name : name + ': ' + message;
|
|
30
|
+
} : nativeErrorToString;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var FunctionPrototype = Function.prototype;
|
|
2
2
|
var bind = FunctionPrototype.bind;
|
|
3
3
|
var call = FunctionPrototype.call;
|
|
4
|
-
var
|
|
4
|
+
var uncurryThis = bind && bind.bind(call, call);
|
|
5
5
|
|
|
6
6
|
module.exports = bind ? function (fn) {
|
|
7
|
-
return fn &&
|
|
7
|
+
return fn && uncurryThis(fn);
|
|
8
8
|
} : function (fn) {
|
|
9
9
|
return fn && function () {
|
|
10
10
|
return call.apply(fn, arguments);
|
|
@@ -4,7 +4,7 @@ var createElement = require('../internals/document-create-element');
|
|
|
4
4
|
|
|
5
5
|
// Thank's IE8 for his funny defineProperty
|
|
6
6
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
7
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
7
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
8
8
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
9
9
|
get: function () { return 7; }
|
|
10
10
|
}).a != 7;
|
|
@@ -12,7 +12,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
|
12
12
|
var exec = uncurryThis(constructorRegExp.exec);
|
|
13
13
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
14
14
|
|
|
15
|
-
var isConstructorModern = function (argument) {
|
|
15
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
16
16
|
if (!isCallable(argument)) return false;
|
|
17
17
|
try {
|
|
18
18
|
construct(noop, empty, argument);
|
|
@@ -22,16 +22,25 @@ var isConstructorModern = function (argument) {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var isConstructorLegacy = function (argument) {
|
|
25
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
26
26
|
if (!isCallable(argument)) return false;
|
|
27
27
|
switch (classof(argument)) {
|
|
28
28
|
case 'AsyncFunction':
|
|
29
29
|
case 'GeneratorFunction':
|
|
30
30
|
case 'AsyncGeneratorFunction': return false;
|
|
31
|
+
}
|
|
32
|
+
try {
|
|
31
33
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
32
|
-
|
|
34
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
35
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
36
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
37
|
+
} catch (error) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
33
40
|
};
|
|
34
41
|
|
|
42
|
+
isConstructorLegacy.sham = true;
|
|
43
|
+
|
|
35
44
|
// `IsConstructor` abstract operation
|
|
36
45
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
37
46
|
module.exports = !construct || fails(function () {
|
|
@@ -10,13 +10,15 @@ var InternalStateModule = require('../internals/internal-state');
|
|
|
10
10
|
var getMethod = require('../internals/get-method');
|
|
11
11
|
var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;
|
|
12
12
|
|
|
13
|
+
var ITERATOR_PROXY = 'IteratorProxy';
|
|
13
14
|
var setInternalState = InternalStateModule.set;
|
|
14
|
-
var getInternalState = InternalStateModule.
|
|
15
|
+
var getInternalState = InternalStateModule.getterFor(ITERATOR_PROXY);
|
|
15
16
|
|
|
16
17
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
17
18
|
|
|
18
19
|
module.exports = function (nextHandler, IS_ITERATOR) {
|
|
19
20
|
var IteratorProxy = function Iterator(state) {
|
|
21
|
+
state.type = ITERATOR_PROXY;
|
|
20
22
|
state.next = aCallable(state.iterator.next);
|
|
21
23
|
state.done = false;
|
|
22
24
|
state.ignoreArg = !IS_ITERATOR;
|