core-js 3.0.0-beta.6 → 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/LICENSE +1 -1
- package/README.md +19 -1
- 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 +8 -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 -3
- package/features/array/flat.js +1 -3
- package/features/array/index.js +0 -2
- package/features/array/virtual/flat-map.js +1 -3
- package/features/array/virtual/flat.js +1 -3
- package/features/array/virtual/index.js +0 -3
- 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/index.js +1 -1
- package/features/set/{is-disjoint-with.js → is-disjoint-from.js} +2 -2
- 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/index.js +4 -285
- package/internals/a-function.js +3 -2
- package/internals/add-to-unscopables.js +3 -1
- package/internals/advance-string-index.js +2 -2
- package/internals/an-instance.js +1 -1
- package/internals/an-object.js +3 -2
- package/internals/array-buffer-view-core.js +12 -6
- package/internals/array-buffer.js +4 -4
- package/internals/array-for-each.js +5 -3
- package/internals/array-from.js +5 -2
- package/internals/array-last-index-of.js +2 -1
- package/internals/{check-array-species-create.js → array-method-has-species-support.js} +2 -2
- package/internals/array-reduce.js +2 -2
- package/internals/collection-delete-all.js +3 -3
- package/internals/collection-from.js +25 -0
- package/internals/collection-of.js +8 -0
- package/internals/collection-strong.js +9 -9
- package/internals/collection-weak.js +4 -4
- package/internals/collection.js +9 -9
- package/internals/create-html.js +11 -0
- package/internals/date-to-primitive.js +3 -2
- package/internals/export.js +18 -13
- package/internals/fix-regexp-well-known-symbol-logic.js +17 -22
- package/internals/{object-forced-pam.js → forced-object-prototype-accessors-methods.js} +4 -4
- package/internals/forced-string-html-method.js +10 -0
- package/internals/forced-string-trim-method.js +11 -0
- package/internals/function-bind.js +5 -5
- package/internals/get-built-in.js +11 -0
- package/internals/get-iterator.js +3 -2
- package/internals/get-map-iterator.js +2 -2
- package/internals/get-set-iterator.js +2 -2
- package/internals/global.js +2 -2
- package/internals/internal-state.js +4 -5
- package/internals/iterate.js +1 -1
- package/internals/math-scale.js +2 -5
- package/internals/microtask.js +11 -8
- package/internals/native-weak-map.js +4 -0
- package/internals/object-assign.js +5 -5
- package/internals/object-create.js +4 -2
- package/internals/object-define-property.js +1 -1
- package/internals/object-set-prototype-of.js +2 -2
- package/internals/object-to-array.js +12 -12
- package/internals/parse-float.js +1 -1
- package/internals/parse-int.js +1 -1
- package/internals/punycode-to-ascii.js +2 -2
- package/internals/redefine.js +4 -2
- package/internals/reflect-metadata.js +10 -10
- package/internals/regexp-exec-abstract.js +2 -2
- package/internals/regexp-exec.js +3 -5
- package/internals/require-object-coercible.js +1 -1
- package/internals/set-species.js +5 -4
- package/internals/shared.js +2 -2
- package/internals/sloppy-array-method.js +10 -0
- package/internals/string-at.js +13 -15
- package/internals/string-pad.js +3 -2
- package/internals/string-repeat.js +1 -1
- package/internals/string-trim.js +6 -20
- package/internals/this-number-value.js +3 -1
- package/internals/to-index.js +1 -1
- package/internals/to-offset.js +1 -1
- package/internals/typed-array-constructor.js +9 -9
- package/internals/typed-array-from.js +12 -6
- package/internals/typed-arrays-constructors-requires-wrappers.js +6 -5
- package/internals/validate-set-prototype-of-arguments.js +3 -1
- package/internals/validate-string-method-arguments.js +3 -2
- package/internals/well-known-symbol.js +3 -2
- package/modules/es.array-buffer.is-view.js +4 -3
- package/modules/es.array.concat.js +11 -8
- package/modules/es.array.every.js +1 -1
- package/modules/es.array.filter.js +1 -3
- package/modules/{esnext.array.flat-map.js → es.array.flat-map.js} +0 -2
- package/modules/{esnext.array.flat.js → es.array.flat.js} +0 -2
- package/modules/es.array.index-of.js +1 -1
- package/modules/es.array.join.js +1 -1
- package/modules/es.array.map.js +1 -3
- package/modules/es.array.reduce-right.js +1 -1
- package/modules/es.array.reduce.js +1 -1
- package/modules/es.array.slice.js +4 -4
- package/modules/es.array.some.js +1 -1
- package/modules/es.array.sort.js +7 -7
- package/modules/es.array.splice.js +9 -5
- package/modules/es.array.unscopables.flat-map.js +3 -0
- package/modules/es.array.unscopables.flat.js +3 -0
- package/modules/es.date.to-json.js +6 -4
- package/modules/es.function.name.js +12 -9
- package/modules/es.math.acosh.js +7 -6
- package/modules/es.math.asinh.js +3 -3
- package/modules/es.math.imul.js +5 -3
- package/modules/es.math.sinh.js +5 -3
- package/modules/es.number.constructor.js +7 -5
- package/modules/es.number.to-fixed.js +1 -1
- package/modules/es.object.define-getter.js +2 -1
- package/modules/es.object.define-setter.js +2 -1
- package/modules/es.object.entries.js +2 -2
- package/modules/es.object.freeze.js +6 -4
- package/modules/{esnext.object.from-entries.js → es.object.from-entries.js} +0 -0
- package/modules/es.object.get-own-property-descriptor.js +7 -5
- package/modules/es.object.get-own-property-names.js +5 -2
- package/modules/es.object.get-prototype-of.js +8 -4
- package/modules/es.object.is-extensible.js +5 -3
- package/modules/es.object.is-frozen.js +5 -3
- package/modules/es.object.is-sealed.js +5 -3
- package/modules/es.object.keys.js +4 -3
- package/modules/es.object.lookup-getter.js +5 -4
- package/modules/es.object.lookup-setter.js +5 -4
- package/modules/es.object.prevent-extensions.js +6 -4
- package/modules/es.object.seal.js +6 -4
- package/modules/es.object.to-string.js +3 -2
- package/modules/es.object.values.js +2 -2
- package/modules/es.promise.finally.js +15 -14
- package/modules/es.promise.js +15 -4
- package/modules/es.reflect.apply.js +5 -3
- package/modules/es.reflect.get.js +3 -3
- package/modules/es.reflect.prevent-extensions.js +3 -2
- package/modules/es.regexp.constructor.js +9 -5
- package/modules/es.regexp.exec.js +1 -5
- package/modules/es.string.anchor.js +6 -3
- package/modules/es.string.big.js +6 -3
- package/modules/es.string.blink.js +6 -3
- package/modules/es.string.bold.js +6 -3
- package/modules/es.string.code-point-at.js +1 -1
- package/modules/es.string.fixed.js +6 -3
- package/modules/es.string.fontcolor.js +6 -3
- package/modules/es.string.fontsize.js +6 -3
- package/modules/es.string.italics.js +6 -3
- package/modules/es.string.iterator.js +2 -2
- package/modules/es.string.link.js +6 -3
- package/modules/es.string.match.js +3 -2
- package/modules/es.string.replace.js +6 -5
- package/modules/es.string.search.js +3 -2
- package/modules/es.string.small.js +6 -3
- package/modules/es.string.split.js +27 -24
- package/modules/es.string.strike.js +6 -3
- package/modules/es.string.sub.js +6 -3
- package/modules/es.string.sup.js +6 -3
- package/modules/es.string.trim-end.js +14 -0
- package/modules/es.string.trim-start.js +14 -0
- package/modules/es.string.trim.js +7 -4
- package/modules/es.symbol.js +11 -11
- package/modules/es.typed-array.fill.js +2 -1
- package/modules/es.typed-array.join.js +2 -1
- package/modules/es.typed-array.set.js +1 -1
- package/modules/es.weak-map.js +8 -6
- package/modules/esnext.aggregate-error.js +27 -0
- package/modules/esnext.array.last-index.js +2 -0
- package/modules/esnext.array.last-item.js +2 -0
- package/modules/esnext.composite-key.js +3 -3
- package/modules/esnext.composite-symbol.js +4 -9
- package/modules/esnext.map.delete-all.js +1 -1
- package/modules/esnext.map.every.js +1 -1
- package/modules/esnext.map.filter.js +3 -3
- package/modules/esnext.map.find-key.js +1 -1
- package/modules/esnext.map.find.js +1 -1
- package/modules/esnext.map.from.js +3 -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 +3 -3
- package/modules/esnext.map.map-values.js +3 -3
- package/modules/esnext.map.merge.js +9 -9
- package/modules/esnext.map.of.js +3 -1
- package/modules/esnext.map.reduce.js +2 -2
- package/modules/esnext.map.some.js +1 -1
- package/modules/esnext.map.update.js +19 -0
- package/modules/esnext.number.from-string.js +8 -8
- package/modules/esnext.promise.all-settled.js +3 -3
- package/modules/esnext.promise.any.js +42 -0
- package/modules/esnext.reflect.define-metadata.js +7 -4
- package/modules/esnext.reflect.delete-metadata.js +13 -11
- package/modules/esnext.reflect.get-metadata-keys.js +7 -4
- package/modules/esnext.reflect.get-metadata.js +7 -4
- package/modules/esnext.reflect.get-own-metadata-keys.js +7 -4
- package/modules/esnext.reflect.get-own-metadata.js +7 -5
- package/modules/esnext.reflect.has-metadata.js +7 -4
- package/modules/esnext.reflect.has-own-metadata.js +7 -5
- package/modules/esnext.reflect.metadata.js +8 -11
- package/modules/esnext.set.add-all.js +1 -1
- package/modules/esnext.set.delete-all.js +1 -1
- package/modules/esnext.set.difference.js +2 -3
- package/modules/esnext.set.every.js +1 -1
- package/modules/esnext.set.filter.js +3 -3
- package/modules/esnext.set.find.js +1 -1
- package/modules/esnext.set.from.js +3 -1
- package/modules/esnext.set.intersection.js +2 -3
- package/modules/esnext.set.is-disjoint-from.js +17 -0
- package/modules/esnext.set.is-subset-of.js +16 -2
- package/modules/esnext.set.is-superset-of.js +0 -2
- package/modules/esnext.set.join.js +1 -1
- package/modules/esnext.set.map.js +3 -3
- package/modules/esnext.set.of.js +3 -1
- package/modules/esnext.set.reduce.js +2 -2
- package/modules/esnext.set.some.js +1 -1
- package/modules/esnext.set.symmetric-difference.js +2 -3
- package/modules/esnext.set.union.js +2 -3
- package/modules/esnext.string.at.js +2 -2
- package/modules/esnext.string.code-points.js +3 -5
- package/modules/esnext.string.match-all.js +3 -3
- package/modules/esnext.string.replace-all.js +14 -5
- package/modules/esnext.weak-map.delete-all.js +1 -1
- package/modules/esnext.weak-map.from.js +3 -1
- package/modules/esnext.weak-map.of.js +3 -1
- package/modules/esnext.weak-set.add-all.js +1 -1
- package/modules/esnext.weak-set.delete-all.js +1 -1
- package/modules/esnext.weak-set.from.js +3 -1
- package/modules/esnext.weak-set.of.js +3 -1
- package/modules/web.immediate.js +2 -1
- package/modules/web.queue-microtask.js +1 -1
- package/modules/web.url-search-params.js +2 -2
- package/modules/web.url.js +5 -5
- package/package.json +6 -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/proposals/set-methods.js +1 -1
- 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/internals/object-statics-accept-primitives.js +0 -11
- package/internals/set-collection-from.js +0 -28
- package/internals/set-collection-of.js +0 -12
- package/internals/set-is-disjoint-or-subset.js +0 -16
- package/internals/strict-method.js +0 -9
- package/internals/string-html.js +0 -21
- package/modules/esnext.set.is-disjoint-with.js +0 -10
- package/modules/esnext.string.trim-left.js +0 -8
- package/modules/esnext.string.trim-right.js +0 -8
- package/proposals/array-flat-and-flat-map.js +0 -2
- package/proposals/object-from-entries.js +0 -2
- package/proposals/string-trim-start-end.js +0 -2
package/index.js
CHANGED
|
@@ -1,286 +1,5 @@
|
|
|
1
|
-
require('./
|
|
2
|
-
require('./
|
|
3
|
-
require('./
|
|
4
|
-
|
|
5
|
-
require('./modules/es.symbol.is-concat-spreadable');
|
|
6
|
-
require('./modules/es.symbol.iterator');
|
|
7
|
-
require('./modules/es.symbol.match');
|
|
8
|
-
require('./modules/es.symbol.replace');
|
|
9
|
-
require('./modules/es.symbol.search');
|
|
10
|
-
require('./modules/es.symbol.species');
|
|
11
|
-
require('./modules/es.symbol.split');
|
|
12
|
-
require('./modules/es.symbol.to-primitive');
|
|
13
|
-
require('./modules/es.symbol.to-string-tag');
|
|
14
|
-
require('./modules/es.symbol.unscopables');
|
|
15
|
-
require('./modules/es.object.assign');
|
|
16
|
-
require('./modules/es.object.create');
|
|
17
|
-
require('./modules/es.object.define-property');
|
|
18
|
-
require('./modules/es.object.define-properties');
|
|
19
|
-
require('./modules/es.object.entries');
|
|
20
|
-
require('./modules/es.object.freeze');
|
|
21
|
-
require('./modules/es.object.get-own-property-descriptor');
|
|
22
|
-
require('./modules/es.object.get-own-property-descriptors');
|
|
23
|
-
require('./modules/es.object.get-own-property-names');
|
|
24
|
-
require('./modules/es.object.get-prototype-of');
|
|
25
|
-
require('./modules/es.object.is');
|
|
26
|
-
require('./modules/es.object.is-extensible');
|
|
27
|
-
require('./modules/es.object.is-frozen');
|
|
28
|
-
require('./modules/es.object.is-sealed');
|
|
29
|
-
require('./modules/es.object.keys');
|
|
30
|
-
require('./modules/es.object.prevent-extensions');
|
|
31
|
-
require('./modules/es.object.seal');
|
|
32
|
-
require('./modules/es.object.set-prototype-of');
|
|
33
|
-
require('./modules/es.object.values');
|
|
34
|
-
require('./modules/es.object.to-string');
|
|
35
|
-
require('./modules/es.object.define-getter');
|
|
36
|
-
require('./modules/es.object.define-setter');
|
|
37
|
-
require('./modules/es.object.lookup-getter');
|
|
38
|
-
require('./modules/es.object.lookup-setter');
|
|
39
|
-
require('./modules/es.function.bind');
|
|
40
|
-
require('./modules/es.function.name');
|
|
41
|
-
require('./modules/es.function.has-instance');
|
|
42
|
-
require('./modules/es.array.from');
|
|
43
|
-
require('./modules/es.array.is-array');
|
|
44
|
-
require('./modules/es.array.of');
|
|
45
|
-
require('./modules/es.array.concat');
|
|
46
|
-
require('./modules/es.array.copy-within');
|
|
47
|
-
require('./modules/es.array.every');
|
|
48
|
-
require('./modules/es.array.fill');
|
|
49
|
-
require('./modules/es.array.filter');
|
|
50
|
-
require('./modules/es.array.find');
|
|
51
|
-
require('./modules/es.array.find-index');
|
|
52
|
-
require('./modules/es.array.for-each');
|
|
53
|
-
require('./modules/es.array.includes');
|
|
54
|
-
require('./modules/es.array.index-of');
|
|
55
|
-
require('./modules/es.array.join');
|
|
56
|
-
require('./modules/es.array.last-index-of');
|
|
57
|
-
require('./modules/es.array.map');
|
|
58
|
-
require('./modules/es.array.reduce');
|
|
59
|
-
require('./modules/es.array.reduce-right');
|
|
60
|
-
require('./modules/es.array.reverse');
|
|
61
|
-
require('./modules/es.array.slice');
|
|
62
|
-
require('./modules/es.array.some');
|
|
63
|
-
require('./modules/es.array.sort');
|
|
64
|
-
require('./modules/es.array.splice');
|
|
65
|
-
require('./modules/es.array.species');
|
|
66
|
-
require('./modules/es.array.iterator');
|
|
67
|
-
require('./modules/es.string.from-code-point');
|
|
68
|
-
require('./modules/es.string.raw');
|
|
69
|
-
require('./modules/es.string.code-point-at');
|
|
70
|
-
require('./modules/es.string.ends-with');
|
|
71
|
-
require('./modules/es.string.includes');
|
|
72
|
-
require('./modules/es.string.match');
|
|
73
|
-
require('./modules/es.string.pad-end');
|
|
74
|
-
require('./modules/es.string.pad-start');
|
|
75
|
-
require('./modules/es.string.repeat');
|
|
76
|
-
require('./modules/es.string.replace');
|
|
77
|
-
require('./modules/es.string.search');
|
|
78
|
-
require('./modules/es.string.split');
|
|
79
|
-
require('./modules/es.string.starts-with');
|
|
80
|
-
require('./modules/es.string.trim');
|
|
81
|
-
require('./modules/es.string.iterator');
|
|
82
|
-
require('./modules/es.string.anchor');
|
|
83
|
-
require('./modules/es.string.big');
|
|
84
|
-
require('./modules/es.string.blink');
|
|
85
|
-
require('./modules/es.string.bold');
|
|
86
|
-
require('./modules/es.string.fixed');
|
|
87
|
-
require('./modules/es.string.fontcolor');
|
|
88
|
-
require('./modules/es.string.fontsize');
|
|
89
|
-
require('./modules/es.string.italics');
|
|
90
|
-
require('./modules/es.string.link');
|
|
91
|
-
require('./modules/es.string.small');
|
|
92
|
-
require('./modules/es.string.strike');
|
|
93
|
-
require('./modules/es.string.sub');
|
|
94
|
-
require('./modules/es.string.sup');
|
|
95
|
-
require('./modules/es.regexp.constructor');
|
|
96
|
-
require('./modules/es.regexp.exec');
|
|
97
|
-
require('./modules/es.regexp.flags');
|
|
98
|
-
require('./modules/es.regexp.to-string');
|
|
99
|
-
require('./modules/es.parse-int');
|
|
100
|
-
require('./modules/es.parse-float');
|
|
101
|
-
require('./modules/es.number.constructor');
|
|
102
|
-
require('./modules/es.number.epsilon');
|
|
103
|
-
require('./modules/es.number.is-finite');
|
|
104
|
-
require('./modules/es.number.is-integer');
|
|
105
|
-
require('./modules/es.number.is-nan');
|
|
106
|
-
require('./modules/es.number.is-safe-integer');
|
|
107
|
-
require('./modules/es.number.max-safe-integer');
|
|
108
|
-
require('./modules/es.number.min-safe-integer');
|
|
109
|
-
require('./modules/es.number.parse-float');
|
|
110
|
-
require('./modules/es.number.parse-int');
|
|
111
|
-
require('./modules/es.number.to-fixed');
|
|
112
|
-
require('./modules/es.number.to-precision');
|
|
113
|
-
require('./modules/es.math.acosh');
|
|
114
|
-
require('./modules/es.math.asinh');
|
|
115
|
-
require('./modules/es.math.atanh');
|
|
116
|
-
require('./modules/es.math.cbrt');
|
|
117
|
-
require('./modules/es.math.clz32');
|
|
118
|
-
require('./modules/es.math.cosh');
|
|
119
|
-
require('./modules/es.math.expm1');
|
|
120
|
-
require('./modules/es.math.fround');
|
|
121
|
-
require('./modules/es.math.hypot');
|
|
122
|
-
require('./modules/es.math.imul');
|
|
123
|
-
require('./modules/es.math.log10');
|
|
124
|
-
require('./modules/es.math.log1p');
|
|
125
|
-
require('./modules/es.math.log2');
|
|
126
|
-
require('./modules/es.math.sign');
|
|
127
|
-
require('./modules/es.math.sinh');
|
|
128
|
-
require('./modules/es.math.tanh');
|
|
129
|
-
require('./modules/es.math.to-string-tag');
|
|
130
|
-
require('./modules/es.math.trunc');
|
|
131
|
-
require('./modules/es.date.now');
|
|
132
|
-
require('./modules/es.date.to-json');
|
|
133
|
-
require('./modules/es.date.to-iso-string');
|
|
134
|
-
require('./modules/es.date.to-string');
|
|
135
|
-
require('./modules/es.date.to-primitive');
|
|
136
|
-
require('./modules/es.json.to-string-tag');
|
|
137
|
-
require('./modules/es.promise');
|
|
138
|
-
require('./modules/es.promise.finally');
|
|
139
|
-
require('./modules/es.map');
|
|
140
|
-
require('./modules/es.set');
|
|
141
|
-
require('./modules/es.weak-map');
|
|
142
|
-
require('./modules/es.weak-set');
|
|
143
|
-
require('./modules/es.array-buffer.constructor');
|
|
144
|
-
require('./modules/es.array-buffer.is-view');
|
|
145
|
-
require('./modules/es.array-buffer.slice');
|
|
146
|
-
require('./modules/es.data-view');
|
|
147
|
-
require('./modules/es.typed-array.int8-array');
|
|
148
|
-
require('./modules/es.typed-array.uint8-array');
|
|
149
|
-
require('./modules/es.typed-array.uint8-clamped-array');
|
|
150
|
-
require('./modules/es.typed-array.int16-array');
|
|
151
|
-
require('./modules/es.typed-array.uint16-array');
|
|
152
|
-
require('./modules/es.typed-array.int32-array');
|
|
153
|
-
require('./modules/es.typed-array.uint32-array');
|
|
154
|
-
require('./modules/es.typed-array.float32-array');
|
|
155
|
-
require('./modules/es.typed-array.float64-array');
|
|
156
|
-
require('./modules/es.typed-array.from');
|
|
157
|
-
require('./modules/es.typed-array.of');
|
|
158
|
-
require('./modules/es.typed-array.copy-within');
|
|
159
|
-
require('./modules/es.typed-array.every');
|
|
160
|
-
require('./modules/es.typed-array.fill');
|
|
161
|
-
require('./modules/es.typed-array.filter');
|
|
162
|
-
require('./modules/es.typed-array.find');
|
|
163
|
-
require('./modules/es.typed-array.find-index');
|
|
164
|
-
require('./modules/es.typed-array.for-each');
|
|
165
|
-
require('./modules/es.typed-array.includes');
|
|
166
|
-
require('./modules/es.typed-array.index-of');
|
|
167
|
-
require('./modules/es.typed-array.iterator');
|
|
168
|
-
require('./modules/es.typed-array.join');
|
|
169
|
-
require('./modules/es.typed-array.last-index-of');
|
|
170
|
-
require('./modules/es.typed-array.map');
|
|
171
|
-
require('./modules/es.typed-array.reduce');
|
|
172
|
-
require('./modules/es.typed-array.reduce-right');
|
|
173
|
-
require('./modules/es.typed-array.reverse');
|
|
174
|
-
require('./modules/es.typed-array.set');
|
|
175
|
-
require('./modules/es.typed-array.slice');
|
|
176
|
-
require('./modules/es.typed-array.some');
|
|
177
|
-
require('./modules/es.typed-array.sort');
|
|
178
|
-
require('./modules/es.typed-array.subarray');
|
|
179
|
-
require('./modules/es.typed-array.to-locale-string');
|
|
180
|
-
require('./modules/es.typed-array.to-string');
|
|
181
|
-
require('./modules/es.reflect.apply');
|
|
182
|
-
require('./modules/es.reflect.construct');
|
|
183
|
-
require('./modules/es.reflect.define-property');
|
|
184
|
-
require('./modules/es.reflect.delete-property');
|
|
185
|
-
require('./modules/es.reflect.get');
|
|
186
|
-
require('./modules/es.reflect.get-own-property-descriptor');
|
|
187
|
-
require('./modules/es.reflect.get-prototype-of');
|
|
188
|
-
require('./modules/es.reflect.has');
|
|
189
|
-
require('./modules/es.reflect.is-extensible');
|
|
190
|
-
require('./modules/es.reflect.own-keys');
|
|
191
|
-
require('./modules/es.reflect.prevent-extensions');
|
|
192
|
-
require('./modules/es.reflect.set');
|
|
193
|
-
require('./modules/es.reflect.set-prototype-of');
|
|
194
|
-
require('./modules/esnext.array.flat');
|
|
195
|
-
require('./modules/esnext.array.flat-map');
|
|
196
|
-
require('./modules/esnext.array.last-index');
|
|
197
|
-
require('./modules/esnext.array.last-item');
|
|
198
|
-
require('./modules/esnext.composite-key');
|
|
199
|
-
require('./modules/esnext.composite-symbol');
|
|
200
|
-
require('./modules/esnext.global-this');
|
|
201
|
-
require('./modules/esnext.map.from');
|
|
202
|
-
require('./modules/esnext.map.group-by');
|
|
203
|
-
require('./modules/esnext.map.key-by');
|
|
204
|
-
require('./modules/esnext.map.of');
|
|
205
|
-
require('./modules/esnext.map.delete-all');
|
|
206
|
-
require('./modules/esnext.map.every');
|
|
207
|
-
require('./modules/esnext.map.filter');
|
|
208
|
-
require('./modules/esnext.map.find');
|
|
209
|
-
require('./modules/esnext.map.find-key');
|
|
210
|
-
require('./modules/esnext.map.includes');
|
|
211
|
-
require('./modules/esnext.map.key-of');
|
|
212
|
-
require('./modules/esnext.map.map-keys');
|
|
213
|
-
require('./modules/esnext.map.map-values');
|
|
214
|
-
require('./modules/esnext.map.merge');
|
|
215
|
-
require('./modules/esnext.map.reduce');
|
|
216
|
-
require('./modules/esnext.map.some');
|
|
217
|
-
require('./modules/esnext.math.clamp');
|
|
218
|
-
require('./modules/esnext.math.deg-per-rad');
|
|
219
|
-
require('./modules/esnext.math.degrees');
|
|
220
|
-
require('./modules/esnext.math.fscale');
|
|
221
|
-
require('./modules/esnext.math.iaddh');
|
|
222
|
-
require('./modules/esnext.math.isubh');
|
|
223
|
-
require('./modules/esnext.math.imulh');
|
|
224
|
-
require('./modules/esnext.math.rad-per-deg');
|
|
225
|
-
require('./modules/esnext.math.radians');
|
|
226
|
-
require('./modules/esnext.math.scale');
|
|
227
|
-
require('./modules/esnext.math.seeded-prng');
|
|
228
|
-
require('./modules/esnext.math.signbit');
|
|
229
|
-
require('./modules/esnext.math.umulh');
|
|
230
|
-
require('./modules/esnext.number.from-string');
|
|
231
|
-
require('./modules/esnext.object.from-entries');
|
|
232
|
-
require('./modules/esnext.observable');
|
|
233
|
-
require('./modules/esnext.promise.all-settled');
|
|
234
|
-
require('./modules/esnext.promise.try');
|
|
235
|
-
require('./modules/esnext.reflect.define-metadata');
|
|
236
|
-
require('./modules/esnext.reflect.delete-metadata');
|
|
237
|
-
require('./modules/esnext.reflect.get-metadata');
|
|
238
|
-
require('./modules/esnext.reflect.get-metadata-keys');
|
|
239
|
-
require('./modules/esnext.reflect.get-own-metadata');
|
|
240
|
-
require('./modules/esnext.reflect.get-own-metadata-keys');
|
|
241
|
-
require('./modules/esnext.reflect.has-metadata');
|
|
242
|
-
require('./modules/esnext.reflect.has-own-metadata');
|
|
243
|
-
require('./modules/esnext.reflect.metadata');
|
|
244
|
-
require('./modules/esnext.set.from');
|
|
245
|
-
require('./modules/esnext.set.of');
|
|
246
|
-
require('./modules/esnext.set.add-all');
|
|
247
|
-
require('./modules/esnext.set.delete-all');
|
|
248
|
-
require('./modules/esnext.set.every');
|
|
249
|
-
require('./modules/esnext.set.difference');
|
|
250
|
-
require('./modules/esnext.set.filter');
|
|
251
|
-
require('./modules/esnext.set.find');
|
|
252
|
-
require('./modules/esnext.set.intersection');
|
|
253
|
-
require('./modules/esnext.set.is-disjoint-with');
|
|
254
|
-
require('./modules/esnext.set.is-subset-of');
|
|
255
|
-
require('./modules/esnext.set.is-superset-of');
|
|
256
|
-
require('./modules/esnext.set.join');
|
|
257
|
-
require('./modules/esnext.set.map');
|
|
258
|
-
require('./modules/esnext.set.reduce');
|
|
259
|
-
require('./modules/esnext.set.some');
|
|
260
|
-
require('./modules/esnext.set.union');
|
|
261
|
-
require('./modules/esnext.set.symmetric-difference');
|
|
262
|
-
require('./modules/esnext.string.at');
|
|
263
|
-
require('./modules/esnext.string.code-points');
|
|
264
|
-
require('./modules/esnext.string.match-all');
|
|
265
|
-
require('./modules/esnext.string.replace-all');
|
|
266
|
-
require('./modules/esnext.string.trim-left');
|
|
267
|
-
require('./modules/esnext.string.trim-right');
|
|
268
|
-
require('./modules/esnext.symbol.dispose');
|
|
269
|
-
require('./modules/esnext.symbol.observable');
|
|
270
|
-
require('./modules/esnext.symbol.pattern-match');
|
|
271
|
-
require('./modules/esnext.weak-map.from');
|
|
272
|
-
require('./modules/esnext.weak-map.of');
|
|
273
|
-
require('./modules/esnext.weak-map.delete-all');
|
|
274
|
-
require('./modules/esnext.weak-set.add-all');
|
|
275
|
-
require('./modules/esnext.weak-set.delete-all');
|
|
276
|
-
require('./modules/esnext.weak-set.from');
|
|
277
|
-
require('./modules/esnext.weak-set.of');
|
|
278
|
-
require('./modules/web.dom-collections.for-each');
|
|
279
|
-
require('./modules/web.dom-collections.iterator');
|
|
280
|
-
require('./modules/web.immediate');
|
|
281
|
-
require('./modules/web.queue-microtask');
|
|
282
|
-
require('./modules/web.timers');
|
|
283
|
-
require('./modules/web.url');
|
|
284
|
-
require('./modules/web.url.to-json');
|
|
285
|
-
require('./modules/web.url-search-params');
|
|
1
|
+
require('./es');
|
|
2
|
+
require('./proposals');
|
|
3
|
+
require('./web');
|
|
4
|
+
|
|
286
5
|
module.exports = require('./internals/path');
|
package/internals/a-function.js
CHANGED
|
@@ -5,7 +5,9 @@ var ArrayPrototype = Array.prototype;
|
|
|
5
5
|
|
|
6
6
|
// Array.prototype[@@unscopables]
|
|
7
7
|
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
|
|
8
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined)
|
|
8
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
9
|
+
hide(ArrayPrototype, UNSCOPABLES, create(null));
|
|
10
|
+
}
|
|
9
11
|
|
|
10
12
|
// add a key to Array.prototype[@@unscopables]
|
|
11
13
|
module.exports = function (key) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var
|
|
2
|
+
var codePointAt = require('../internals/string-at');
|
|
3
3
|
|
|
4
4
|
// `AdvanceStringIndex` abstract operation
|
|
5
5
|
// https://tc39.github.io/ecma262/#sec-advancestringindex
|
|
6
6
|
module.exports = function (S, index, unicode) {
|
|
7
|
-
return index + (unicode ?
|
|
7
|
+
return index + (unicode ? codePointAt(S, index, true).length : 1);
|
|
8
8
|
};
|
package/internals/an-instance.js
CHANGED
package/internals/an-object.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var isObject = require('../internals/is-object');
|
|
2
2
|
|
|
3
3
|
module.exports = function (it) {
|
|
4
|
-
if (!isObject(it))
|
|
5
|
-
|
|
4
|
+
if (!isObject(it)) {
|
|
5
|
+
throw TypeError(String(it) + ' is not an object');
|
|
6
|
+
} return it;
|
|
6
7
|
};
|
|
@@ -51,7 +51,7 @@ var isTypedArray = function (it) {
|
|
|
51
51
|
|
|
52
52
|
var aTypedArray = function (it) {
|
|
53
53
|
if (isTypedArray(it)) return it;
|
|
54
|
-
throw TypeError('Target is not a typed array
|
|
54
|
+
throw TypeError('Target is not a typed array');
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
var aTypedArrayConstructor = function (C) {
|
|
@@ -62,14 +62,16 @@ var aTypedArrayConstructor = function (C) {
|
|
|
62
62
|
if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) {
|
|
63
63
|
return C;
|
|
64
64
|
}
|
|
65
|
-
} throw TypeError('Target is not a typed array constructor
|
|
65
|
+
} throw TypeError('Target is not a typed array constructor');
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
var exportProto = function (KEY, property, forced) {
|
|
69
69
|
if (!DESCRIPTORS) return;
|
|
70
70
|
if (forced) for (var ARRAY in TypedArrayConstructorsList) {
|
|
71
71
|
var TypedArrayConstructor = global[ARRAY];
|
|
72
|
-
if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY))
|
|
72
|
+
if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) {
|
|
73
|
+
delete TypedArrayConstructor.prototype[KEY];
|
|
74
|
+
}
|
|
73
75
|
}
|
|
74
76
|
if (!TypedArrayPrototype[KEY] || forced) {
|
|
75
77
|
redefine(TypedArrayPrototype, KEY, forced ? property
|
|
@@ -83,7 +85,9 @@ var exportStatic = function (KEY, property, forced) {
|
|
|
83
85
|
if (setPrototypeOf) {
|
|
84
86
|
if (forced) for (ARRAY in TypedArrayConstructorsList) {
|
|
85
87
|
TypedArrayConstructor = global[ARRAY];
|
|
86
|
-
if (TypedArrayConstructor && has(TypedArrayConstructor, KEY))
|
|
88
|
+
if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) {
|
|
89
|
+
delete TypedArrayConstructor[KEY];
|
|
90
|
+
}
|
|
87
91
|
}
|
|
88
92
|
if (!TypedArray[KEY] || forced) {
|
|
89
93
|
// V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
|
|
@@ -108,7 +112,7 @@ for (NAME in TypedArrayConstructorsList) {
|
|
|
108
112
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) {
|
|
109
113
|
// eslint-disable-next-line no-shadow
|
|
110
114
|
TypedArray = function TypedArray() {
|
|
111
|
-
throw TypeError('Incorrect invocation
|
|
115
|
+
throw TypeError('Incorrect invocation');
|
|
112
116
|
};
|
|
113
117
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
114
118
|
if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);
|
|
@@ -132,7 +136,9 @@ if (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) {
|
|
|
132
136
|
defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () {
|
|
133
137
|
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
134
138
|
} });
|
|
135
|
-
for (NAME in TypedArrayConstructorsList) if (global[NAME])
|
|
139
|
+
for (NAME in TypedArrayConstructorsList) if (global[NAME]) {
|
|
140
|
+
hide(global[NAME], TYPED_ARRAY_TAG, NAME);
|
|
141
|
+
}
|
|
136
142
|
}
|
|
137
143
|
|
|
138
144
|
// WebKit bug - the same parent prototype for typed arrays and data view
|
|
@@ -19,8 +19,8 @@ var setInternalState = InternalStateModule.set;
|
|
|
19
19
|
var ARRAY_BUFFER = 'ArrayBuffer';
|
|
20
20
|
var DATA_VIEW = 'DataView';
|
|
21
21
|
var PROTOTYPE = 'prototype';
|
|
22
|
-
var WRONG_LENGTH = 'Wrong length
|
|
23
|
-
var WRONG_INDEX = 'Wrong index
|
|
22
|
+
var WRONG_LENGTH = 'Wrong length';
|
|
23
|
+
var WRONG_INDEX = 'Wrong index';
|
|
24
24
|
var NativeArrayBuffer = global[ARRAY_BUFFER];
|
|
25
25
|
var $ArrayBuffer = NativeArrayBuffer;
|
|
26
26
|
var $DataView = global[DATA_VIEW];
|
|
@@ -176,7 +176,7 @@ if (!NATIVE_ARRAY_BUFFER) {
|
|
|
176
176
|
anInstance(buffer, $ArrayBuffer, DATA_VIEW);
|
|
177
177
|
var bufferLength = getInternalState(buffer).byteLength;
|
|
178
178
|
var offset = toInteger(byteOffset);
|
|
179
|
-
if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset
|
|
179
|
+
if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');
|
|
180
180
|
byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
|
|
181
181
|
if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);
|
|
182
182
|
setInternalState(this, {
|
|
@@ -283,7 +283,7 @@ if (!NATIVE_ARRAY_BUFFER) {
|
|
|
283
283
|
setUint8: function setUint8(byteOffset, value) {
|
|
284
284
|
nativeSetInt8.call(this, byteOffset, value << 24 >> 24);
|
|
285
285
|
}
|
|
286
|
-
}, true);
|
|
286
|
+
}, { unsafe: true });
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
setToStringTag($ArrayBuffer, ARRAY_BUFFER);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
1
2
|
var nativeForEach = [].forEach;
|
|
2
3
|
var internalForEach = require('../internals/array-methods')(0);
|
|
3
|
-
|
|
4
|
+
|
|
5
|
+
var SLOPPY_METHOD = require('../internals/sloppy-array-method')('forEach');
|
|
4
6
|
|
|
5
7
|
// `Array.prototype.forEach` method implementation
|
|
6
8
|
// https://tc39.github.io/ecma262/#sec-array.prototype.foreach
|
|
7
|
-
module.exports =
|
|
9
|
+
module.exports = SLOPPY_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
8
10
|
return internalForEach(this, callbackfn, arguments[1]);
|
|
9
|
-
};
|
|
11
|
+
} : nativeForEach;
|
package/internals/array-from.js
CHANGED
|
@@ -21,7 +21,9 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
|
|
|
21
21
|
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
|
|
22
22
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
23
23
|
if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
24
|
-
|
|
24
|
+
iterator = iteratorMethod.call(O);
|
|
25
|
+
result = new C();
|
|
26
|
+
for (;!(step = iterator.next()).done; index++) {
|
|
25
27
|
createProperty(result, index, mapping
|
|
26
28
|
? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true)
|
|
27
29
|
: step.value
|
|
@@ -29,7 +31,8 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
|
|
|
29
31
|
}
|
|
30
32
|
} else {
|
|
31
33
|
length = toLength(O.length);
|
|
32
|
-
|
|
34
|
+
result = new C(length);
|
|
35
|
+
for (;length > index; index++) {
|
|
33
36
|
createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
|
|
34
37
|
}
|
|
35
38
|
}
|
|
@@ -3,8 +3,9 @@ var toIndexedObject = require('../internals/to-indexed-object');
|
|
|
3
3
|
var toInteger = require('../internals/to-integer');
|
|
4
4
|
var toLength = require('../internals/to-length');
|
|
5
5
|
var nativeLastIndexOf = [].lastIndexOf;
|
|
6
|
+
|
|
6
7
|
var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;
|
|
7
|
-
var SLOPPY_METHOD =
|
|
8
|
+
var SLOPPY_METHOD = require('../internals/sloppy-array-method')('lastIndexOf');
|
|
8
9
|
|
|
9
10
|
// `Array.prototype.lastIndexOf` method implementation
|
|
10
11
|
// https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var fails = require('../internals/fails');
|
|
2
2
|
var SPECIES = require('../internals/well-known-symbol')('species');
|
|
3
3
|
|
|
4
|
-
module.exports = function (
|
|
4
|
+
module.exports = function (METHOD_NAME) {
|
|
5
5
|
return !fails(function () {
|
|
6
6
|
var array = [];
|
|
7
7
|
var constructor = array.constructor = {};
|
|
8
8
|
constructor[SPECIES] = function () {
|
|
9
9
|
return { foo: 1 };
|
|
10
10
|
};
|
|
11
|
-
return
|
|
11
|
+
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
12
12
|
});
|
|
13
13
|
};
|
|
@@ -13,7 +13,7 @@ module.exports = function (that, callbackfn, argumentsLength, memo, isRight) {
|
|
|
13
13
|
var length = toLength(O.length);
|
|
14
14
|
var index = isRight ? length - 1 : 0;
|
|
15
15
|
var i = isRight ? -1 : 1;
|
|
16
|
-
if (argumentsLength < 2)
|
|
16
|
+
if (argumentsLength < 2) while (true) {
|
|
17
17
|
if (index in self) {
|
|
18
18
|
memo = self[index];
|
|
19
19
|
index += i;
|
|
@@ -21,7 +21,7 @@ module.exports = function (that, callbackfn, argumentsLength, memo, isRight) {
|
|
|
21
21
|
}
|
|
22
22
|
index += i;
|
|
23
23
|
if (isRight ? index < 0 : length <= index) {
|
|
24
|
-
throw TypeError('Reduce of empty array with no initial value
|
|
24
|
+
throw TypeError('Reduce of empty array with no initial value');
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -6,9 +6,9 @@ var aFunction = require('../internals/a-function');
|
|
|
6
6
|
module.exports = function (/* ...elements */) {
|
|
7
7
|
var collection = anObject(this);
|
|
8
8
|
var remover = aFunction(collection['delete']);
|
|
9
|
-
var
|
|
9
|
+
var allDeleted = true;
|
|
10
10
|
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
11
|
-
|
|
11
|
+
allDeleted = allDeleted && remover.call(collection, arguments[k]);
|
|
12
12
|
}
|
|
13
|
-
return
|
|
13
|
+
return !!allDeleted;
|
|
14
14
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// https://tc39.github.io/proposal-setmap-offrom/
|
|
3
|
+
var aFunction = require('../internals/a-function');
|
|
4
|
+
var bind = require('../internals/bind-context');
|
|
5
|
+
var iterate = require('../internals/iterate');
|
|
6
|
+
|
|
7
|
+
module.exports = function from(source /* , mapFn, thisArg */) {
|
|
8
|
+
var mapFn = arguments[1];
|
|
9
|
+
var mapping, A, n, boundFunction;
|
|
10
|
+
aFunction(this);
|
|
11
|
+
mapping = mapFn !== undefined;
|
|
12
|
+
if (mapping) aFunction(mapFn);
|
|
13
|
+
if (source == undefined) return new this();
|
|
14
|
+
A = [];
|
|
15
|
+
if (mapping) {
|
|
16
|
+
n = 0;
|
|
17
|
+
boundFunction = bind(mapFn, arguments[2], 2);
|
|
18
|
+
iterate(source, function (nextItem) {
|
|
19
|
+
A.push(boundFunction(nextItem, n++));
|
|
20
|
+
});
|
|
21
|
+
} else {
|
|
22
|
+
iterate(source, A.push, A);
|
|
23
|
+
}
|
|
24
|
+
return new this(A);
|
|
25
|
+
};
|
|
@@ -14,11 +14,11 @@ var setInternalState = InternalStateModule.set;
|
|
|
14
14
|
var internalStateGetterFor = InternalStateModule.getterFor;
|
|
15
15
|
|
|
16
16
|
module.exports = {
|
|
17
|
-
getConstructor: function (wrapper,
|
|
17
|
+
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
|
|
18
18
|
var C = wrapper(function (that, iterable) {
|
|
19
|
-
anInstance(that, C,
|
|
19
|
+
anInstance(that, C, CONSTRUCTOR_NAME);
|
|
20
20
|
setInternalState(that, {
|
|
21
|
-
type:
|
|
21
|
+
type: CONSTRUCTOR_NAME,
|
|
22
22
|
index: create(null),
|
|
23
23
|
first: undefined,
|
|
24
24
|
last: undefined,
|
|
@@ -28,7 +28,7 @@ module.exports = {
|
|
|
28
28
|
if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
var getInternalState = internalStateGetterFor(
|
|
31
|
+
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
32
32
|
|
|
33
33
|
var define = function (that, key, value) {
|
|
34
34
|
var state = getInternalState(that);
|
|
@@ -147,13 +147,13 @@ module.exports = {
|
|
|
147
147
|
});
|
|
148
148
|
return C;
|
|
149
149
|
},
|
|
150
|
-
setStrong: function (C,
|
|
151
|
-
var ITERATOR_NAME =
|
|
152
|
-
var getInternalCollectionState = internalStateGetterFor(
|
|
150
|
+
setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {
|
|
151
|
+
var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
|
|
152
|
+
var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
153
153
|
var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
|
|
154
154
|
// add .keys, .values, .entries, [@@iterator]
|
|
155
155
|
// 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
|
|
156
|
-
defineIterator(C,
|
|
156
|
+
defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {
|
|
157
157
|
setInternalState(this, {
|
|
158
158
|
type: ITERATOR_NAME,
|
|
159
159
|
target: iterated,
|
|
@@ -180,6 +180,6 @@ module.exports = {
|
|
|
180
180
|
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
|
|
181
181
|
|
|
182
182
|
// add [@@species], 23.1.2.2, 23.2.2.2
|
|
183
|
-
setSpecies(
|
|
183
|
+
setSpecies(CONSTRUCTOR_NAME);
|
|
184
184
|
}
|
|
185
185
|
};
|
|
@@ -52,18 +52,18 @@ UncaughtFrozenStore.prototype = {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
module.exports = {
|
|
55
|
-
getConstructor: function (wrapper,
|
|
55
|
+
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
|
|
56
56
|
var C = wrapper(function (that, iterable) {
|
|
57
|
-
anInstance(that, C,
|
|
57
|
+
anInstance(that, C, CONSTRUCTOR_NAME);
|
|
58
58
|
setInternalState(that, {
|
|
59
|
-
type:
|
|
59
|
+
type: CONSTRUCTOR_NAME,
|
|
60
60
|
id: id++,
|
|
61
61
|
frozen: undefined
|
|
62
62
|
});
|
|
63
63
|
if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
var getInternalState = internalStateGetterFor(
|
|
66
|
+
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
67
67
|
|
|
68
68
|
var define = function (that, key, value) {
|
|
69
69
|
var state = getInternalState(that);
|