diff --git a/packages/core-js/actual/array/virtual/group-by-to-map.js b/packages/core-js/actual/array/virtual/group-by-to-map.js index 4a5617f23577..617aaa30135b 100644 --- a/packages/core-js/actual/array/virtual/group-by-to-map.js +++ b/packages/core-js/actual/array/virtual/group-by-to-map.js @@ -2,6 +2,6 @@ require('../../../modules/es.map'); require('../../../modules/es.object.to-string'); require('../../../modules/esnext.array.group-by-to-map'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').groupByToMap; +module.exports = getBuiltInPrototypeMethod('Array', 'groupByToMap'); diff --git a/packages/core-js/actual/array/virtual/group-by.js b/packages/core-js/actual/array/virtual/group-by.js index b058b6280155..af7eb764e45f 100644 --- a/packages/core-js/actual/array/virtual/group-by.js +++ b/packages/core-js/actual/array/virtual/group-by.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/esnext.array.group-by'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').groupBy; +module.exports = getBuiltInPrototypeMethod('Array', 'groupBy'); diff --git a/packages/core-js/actual/array/virtual/group-to-map.js b/packages/core-js/actual/array/virtual/group-to-map.js index 43af1f1cac30..6cfad20977c3 100644 --- a/packages/core-js/actual/array/virtual/group-to-map.js +++ b/packages/core-js/actual/array/virtual/group-to-map.js @@ -2,6 +2,6 @@ require('../../../modules/es.map'); require('../../../modules/es.object.to-string'); require('../../../modules/esnext.array.group-to-map'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').groupToMap; +module.exports = getBuiltInPrototypeMethod('Array', 'groupToMap'); diff --git a/packages/core-js/actual/array/virtual/group.js b/packages/core-js/actual/array/virtual/group.js index 48ab38d19781..ab3beace3707 100644 --- a/packages/core-js/actual/array/virtual/group.js +++ b/packages/core-js/actual/array/virtual/group.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/esnext.array.group'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').group; +module.exports = getBuiltInPrototypeMethod('Array', 'group'); diff --git a/packages/core-js/es/array/virtual/at.js b/packages/core-js/es/array/virtual/at.js index 7f8bdae15242..20d5030c7786 100644 --- a/packages/core-js/es/array/virtual/at.js +++ b/packages/core-js/es/array/virtual/at.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.at'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').at; +module.exports = getBuiltInPrototypeMethod('Array', 'at'); diff --git a/packages/core-js/es/array/virtual/concat.js b/packages/core-js/es/array/virtual/concat.js index 391fd1c52090..17763b495aba 100644 --- a/packages/core-js/es/array/virtual/concat.js +++ b/packages/core-js/es/array/virtual/concat.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.concat'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').concat; +module.exports = getBuiltInPrototypeMethod('Array', 'concat'); diff --git a/packages/core-js/es/array/virtual/copy-within.js b/packages/core-js/es/array/virtual/copy-within.js index cb8ec29480d2..1540c356aa93 100644 --- a/packages/core-js/es/array/virtual/copy-within.js +++ b/packages/core-js/es/array/virtual/copy-within.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.copy-within'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').copyWithin; +module.exports = getBuiltInPrototypeMethod('Array', 'copyWithin'); diff --git a/packages/core-js/es/array/virtual/entries.js b/packages/core-js/es/array/virtual/entries.js index c75a455619d0..c38f703971ca 100644 --- a/packages/core-js/es/array/virtual/entries.js +++ b/packages/core-js/es/array/virtual/entries.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.iterator'); require('../../../modules/es.object.to-string'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').entries; +module.exports = getBuiltInPrototypeMethod('Array', 'entries'); diff --git a/packages/core-js/es/array/virtual/every.js b/packages/core-js/es/array/virtual/every.js index 3023e3903a2d..d36202895fa5 100644 --- a/packages/core-js/es/array/virtual/every.js +++ b/packages/core-js/es/array/virtual/every.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.every'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').every; +module.exports = getBuiltInPrototypeMethod('Array', 'every'); diff --git a/packages/core-js/es/array/virtual/fill.js b/packages/core-js/es/array/virtual/fill.js index d1a53aa270ca..0799890486fa 100644 --- a/packages/core-js/es/array/virtual/fill.js +++ b/packages/core-js/es/array/virtual/fill.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.fill'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').fill; +module.exports = getBuiltInPrototypeMethod('Array', 'fill'); diff --git a/packages/core-js/es/array/virtual/filter.js b/packages/core-js/es/array/virtual/filter.js index 40af958a27a2..e30806a96495 100644 --- a/packages/core-js/es/array/virtual/filter.js +++ b/packages/core-js/es/array/virtual/filter.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.filter'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').filter; +module.exports = getBuiltInPrototypeMethod('Array', 'filter'); diff --git a/packages/core-js/es/array/virtual/find-index.js b/packages/core-js/es/array/virtual/find-index.js index 73e9f0b54603..797c3a80d3e5 100644 --- a/packages/core-js/es/array/virtual/find-index.js +++ b/packages/core-js/es/array/virtual/find-index.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.find-index'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').findIndex; +module.exports = getBuiltInPrototypeMethod('Array', 'findIndex'); diff --git a/packages/core-js/es/array/virtual/find-last-index.js b/packages/core-js/es/array/virtual/find-last-index.js index e7a7b7cd4bd0..b0a1cc738198 100644 --- a/packages/core-js/es/array/virtual/find-last-index.js +++ b/packages/core-js/es/array/virtual/find-last-index.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.find-last-index'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').findLastIndex; +module.exports = getBuiltInPrototypeMethod('Array', 'findLastIndex'); diff --git a/packages/core-js/es/array/virtual/find-last.js b/packages/core-js/es/array/virtual/find-last.js index 3bacf22c9419..7c55df653a0d 100644 --- a/packages/core-js/es/array/virtual/find-last.js +++ b/packages/core-js/es/array/virtual/find-last.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.find-last'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').findLast; +module.exports = getBuiltInPrototypeMethod('Array', 'findLast'); diff --git a/packages/core-js/es/array/virtual/find.js b/packages/core-js/es/array/virtual/find.js index d59355a21eee..9b91c0af2a12 100644 --- a/packages/core-js/es/array/virtual/find.js +++ b/packages/core-js/es/array/virtual/find.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.find'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').find; +module.exports = getBuiltInPrototypeMethod('Array', 'find'); diff --git a/packages/core-js/es/array/virtual/flat-map.js b/packages/core-js/es/array/virtual/flat-map.js index 9a19797bb973..505a05a37fc4 100644 --- a/packages/core-js/es/array/virtual/flat-map.js +++ b/packages/core-js/es/array/virtual/flat-map.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.flat-map'); require('../../../modules/es.array.unscopables.flat-map'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').flatMap; +module.exports = getBuiltInPrototypeMethod('Array', 'flatMap'); diff --git a/packages/core-js/es/array/virtual/flat.js b/packages/core-js/es/array/virtual/flat.js index 501e20366ce4..8e327b6b446b 100644 --- a/packages/core-js/es/array/virtual/flat.js +++ b/packages/core-js/es/array/virtual/flat.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.flat'); require('../../../modules/es.array.unscopables.flat'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').flat; +module.exports = getBuiltInPrototypeMethod('Array', 'flat'); diff --git a/packages/core-js/es/array/virtual/for-each.js b/packages/core-js/es/array/virtual/for-each.js index 6d00c13effda..adb777b6bdaf 100644 --- a/packages/core-js/es/array/virtual/for-each.js +++ b/packages/core-js/es/array/virtual/for-each.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.for-each'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').forEach; +module.exports = getBuiltInPrototypeMethod('Array', 'forEach'); diff --git a/packages/core-js/es/array/virtual/includes.js b/packages/core-js/es/array/virtual/includes.js index 63172b672413..f4ec86f50977 100644 --- a/packages/core-js/es/array/virtual/includes.js +++ b/packages/core-js/es/array/virtual/includes.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.includes'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').includes; +module.exports = getBuiltInPrototypeMethod('Array', 'includes'); diff --git a/packages/core-js/es/array/virtual/index-of.js b/packages/core-js/es/array/virtual/index-of.js index c04061133597..f30a3f255689 100644 --- a/packages/core-js/es/array/virtual/index-of.js +++ b/packages/core-js/es/array/virtual/index-of.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.index-of'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').indexOf; +module.exports = getBuiltInPrototypeMethod('Array', 'indexOf'); diff --git a/packages/core-js/es/array/virtual/iterator.js b/packages/core-js/es/array/virtual/iterator.js index 2408e27c5637..5a8b3d4c4f14 100644 --- a/packages/core-js/es/array/virtual/iterator.js +++ b/packages/core-js/es/array/virtual/iterator.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.iterator'); require('../../../modules/es.object.to-string'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').values; +module.exports = getBuiltInPrototypeMethod('Array', 'values'); diff --git a/packages/core-js/es/array/virtual/join.js b/packages/core-js/es/array/virtual/join.js index 807f8759595f..a60ddd8ca6ee 100644 --- a/packages/core-js/es/array/virtual/join.js +++ b/packages/core-js/es/array/virtual/join.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.join'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').join; +module.exports = getBuiltInPrototypeMethod('Array', 'join'); diff --git a/packages/core-js/es/array/virtual/keys.js b/packages/core-js/es/array/virtual/keys.js index 451e2ad20511..f4f40de3b0dc 100644 --- a/packages/core-js/es/array/virtual/keys.js +++ b/packages/core-js/es/array/virtual/keys.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.iterator'); require('../../../modules/es.object.to-string'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').keys; +module.exports = getBuiltInPrototypeMethod('Array', 'keys'); diff --git a/packages/core-js/es/array/virtual/last-index-of.js b/packages/core-js/es/array/virtual/last-index-of.js index cf1e187ac2c8..3bbe2eccb5db 100644 --- a/packages/core-js/es/array/virtual/last-index-of.js +++ b/packages/core-js/es/array/virtual/last-index-of.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.last-index-of'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').lastIndexOf; +module.exports = getBuiltInPrototypeMethod('Array', 'lastIndexOf'); diff --git a/packages/core-js/es/array/virtual/map.js b/packages/core-js/es/array/virtual/map.js index 30ec7413cbf5..4596b9845ef8 100644 --- a/packages/core-js/es/array/virtual/map.js +++ b/packages/core-js/es/array/virtual/map.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.map'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').map; +module.exports = getBuiltInPrototypeMethod('Array', 'map'); diff --git a/packages/core-js/es/array/virtual/push.js b/packages/core-js/es/array/virtual/push.js index bbed429399a3..f28af7dede96 100644 --- a/packages/core-js/es/array/virtual/push.js +++ b/packages/core-js/es/array/virtual/push.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.push'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').push; +module.exports = getBuiltInPrototypeMethod('Array', 'push'); diff --git a/packages/core-js/es/array/virtual/reduce-right.js b/packages/core-js/es/array/virtual/reduce-right.js index ee64e3a4f501..2560648f8838 100644 --- a/packages/core-js/es/array/virtual/reduce-right.js +++ b/packages/core-js/es/array/virtual/reduce-right.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.reduce-right'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').reduceRight; +module.exports = getBuiltInPrototypeMethod('Array', 'reduceRight'); diff --git a/packages/core-js/es/array/virtual/reduce.js b/packages/core-js/es/array/virtual/reduce.js index 4f1fcd156055..7d8902101c0d 100644 --- a/packages/core-js/es/array/virtual/reduce.js +++ b/packages/core-js/es/array/virtual/reduce.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.reduce'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').reduce; +module.exports = getBuiltInPrototypeMethod('Array', 'reduce'); diff --git a/packages/core-js/es/array/virtual/reverse.js b/packages/core-js/es/array/virtual/reverse.js index df24a5681c8d..c74765059292 100644 --- a/packages/core-js/es/array/virtual/reverse.js +++ b/packages/core-js/es/array/virtual/reverse.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.reverse'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').reverse; +module.exports = getBuiltInPrototypeMethod('Array', 'reverse'); diff --git a/packages/core-js/es/array/virtual/slice.js b/packages/core-js/es/array/virtual/slice.js index aa8cc29ddd71..8650e1d5f68a 100644 --- a/packages/core-js/es/array/virtual/slice.js +++ b/packages/core-js/es/array/virtual/slice.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.slice'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').slice; +module.exports = getBuiltInPrototypeMethod('Array', 'slice'); diff --git a/packages/core-js/es/array/virtual/some.js b/packages/core-js/es/array/virtual/some.js index f2d1afd9eb38..e8d332758925 100644 --- a/packages/core-js/es/array/virtual/some.js +++ b/packages/core-js/es/array/virtual/some.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.some'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').some; +module.exports = getBuiltInPrototypeMethod('Array', 'some'); diff --git a/packages/core-js/es/array/virtual/sort.js b/packages/core-js/es/array/virtual/sort.js index 06fe53958d0e..c09054c3c2dc 100644 --- a/packages/core-js/es/array/virtual/sort.js +++ b/packages/core-js/es/array/virtual/sort.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.sort'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').sort; +module.exports = getBuiltInPrototypeMethod('Array', 'sort'); diff --git a/packages/core-js/es/array/virtual/splice.js b/packages/core-js/es/array/virtual/splice.js index 2080b6a3f0a4..60e2f3ada7e3 100644 --- a/packages/core-js/es/array/virtual/splice.js +++ b/packages/core-js/es/array/virtual/splice.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.splice'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').splice; +module.exports = getBuiltInPrototypeMethod('Array', 'splice'); diff --git a/packages/core-js/es/array/virtual/to-reversed.js b/packages/core-js/es/array/virtual/to-reversed.js index bdc2af45b921..fd982124126d 100644 --- a/packages/core-js/es/array/virtual/to-reversed.js +++ b/packages/core-js/es/array/virtual/to-reversed.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.to-reversed'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').toReversed; +module.exports = getBuiltInPrototypeMethod('Array', 'toReversed'); diff --git a/packages/core-js/es/array/virtual/to-sorted.js b/packages/core-js/es/array/virtual/to-sorted.js index 26650ac2285f..5cb7fa224ac2 100644 --- a/packages/core-js/es/array/virtual/to-sorted.js +++ b/packages/core-js/es/array/virtual/to-sorted.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.sort'); require('../../../modules/es.array.to-sorted'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').toSorted; +module.exports = getBuiltInPrototypeMethod('Array', 'toSorted'); diff --git a/packages/core-js/es/array/virtual/to-spliced.js b/packages/core-js/es/array/virtual/to-spliced.js index 7ac12cc943c6..0ab0bafd2235 100644 --- a/packages/core-js/es/array/virtual/to-spliced.js +++ b/packages/core-js/es/array/virtual/to-spliced.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.to-spliced'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').toSpliced; +module.exports = getBuiltInPrototypeMethod('Array', 'toSpliced'); diff --git a/packages/core-js/es/array/virtual/unshift.js b/packages/core-js/es/array/virtual/unshift.js index 0bdb8e2ea730..8f1038dfb189 100644 --- a/packages/core-js/es/array/virtual/unshift.js +++ b/packages/core-js/es/array/virtual/unshift.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.unshift'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').unshift; +module.exports = getBuiltInPrototypeMethod('Array', 'unshift'); diff --git a/packages/core-js/es/array/virtual/values.js b/packages/core-js/es/array/virtual/values.js index 2408e27c5637..5a8b3d4c4f14 100644 --- a/packages/core-js/es/array/virtual/values.js +++ b/packages/core-js/es/array/virtual/values.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.array.iterator'); require('../../../modules/es.object.to-string'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').values; +module.exports = getBuiltInPrototypeMethod('Array', 'values'); diff --git a/packages/core-js/es/array/virtual/with.js b/packages/core-js/es/array/virtual/with.js index 3a03b00d7f8d..c5da88a1041c 100644 --- a/packages/core-js/es/array/virtual/with.js +++ b/packages/core-js/es/array/virtual/with.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.array.with'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array')['with']; +module.exports = getBuiltInPrototypeMethod('Array', 'with'); diff --git a/packages/core-js/es/function/virtual/bind.js b/packages/core-js/es/function/virtual/bind.js index 839eafbca530..46bf50228c82 100644 --- a/packages/core-js/es/function/virtual/bind.js +++ b/packages/core-js/es/function/virtual/bind.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.function.bind'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Function').bind; +module.exports = getBuiltInPrototypeMethod('Function', 'bind'); diff --git a/packages/core-js/es/number/virtual/to-exponential.js b/packages/core-js/es/number/virtual/to-exponential.js index effce95f5fed..16c701a0ebc0 100644 --- a/packages/core-js/es/number/virtual/to-exponential.js +++ b/packages/core-js/es/number/virtual/to-exponential.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.number.to-exponential'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Number').toExponential; +module.exports = getBuiltInPrototypeMethod('Number', 'toExponential'); diff --git a/packages/core-js/es/number/virtual/to-fixed.js b/packages/core-js/es/number/virtual/to-fixed.js index 52f9041da4e3..13f923c87350 100644 --- a/packages/core-js/es/number/virtual/to-fixed.js +++ b/packages/core-js/es/number/virtual/to-fixed.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.number.to-fixed'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Number').toFixed; +module.exports = getBuiltInPrototypeMethod('Number', 'toFixed'); diff --git a/packages/core-js/es/number/virtual/to-precision.js b/packages/core-js/es/number/virtual/to-precision.js index ab15e2556b43..3f14005915a5 100644 --- a/packages/core-js/es/number/virtual/to-precision.js +++ b/packages/core-js/es/number/virtual/to-precision.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.number.to-precision'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Number').toPrecision; +module.exports = getBuiltInPrototypeMethod('Number', 'toPrecision'); diff --git a/packages/core-js/es/string/virtual/anchor.js b/packages/core-js/es/string/virtual/anchor.js index 33470c2ddf71..fc4dce9b4f38 100644 --- a/packages/core-js/es/string/virtual/anchor.js +++ b/packages/core-js/es/string/virtual/anchor.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.anchor'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').anchor; +module.exports = getBuiltInPrototypeMethod('String', 'anchor'); diff --git a/packages/core-js/es/string/virtual/at.js b/packages/core-js/es/string/virtual/at.js index f257fc6aa9d3..bea638a2d9ac 100644 --- a/packages/core-js/es/string/virtual/at.js +++ b/packages/core-js/es/string/virtual/at.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.at-alternative'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').at; +module.exports = getBuiltInPrototypeMethod('String', 'at'); diff --git a/packages/core-js/es/string/virtual/big.js b/packages/core-js/es/string/virtual/big.js index c708b3ff76c7..07d2c7cd0309 100644 --- a/packages/core-js/es/string/virtual/big.js +++ b/packages/core-js/es/string/virtual/big.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.big'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').big; +module.exports = getBuiltInPrototypeMethod('String', 'big'); diff --git a/packages/core-js/es/string/virtual/blink.js b/packages/core-js/es/string/virtual/blink.js index a9834096a2cc..dddf5b070740 100644 --- a/packages/core-js/es/string/virtual/blink.js +++ b/packages/core-js/es/string/virtual/blink.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.blink'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').blink; +module.exports = getBuiltInPrototypeMethod('String', 'blink'); diff --git a/packages/core-js/es/string/virtual/bold.js b/packages/core-js/es/string/virtual/bold.js index 500d47b144bd..7c74a78f57a6 100644 --- a/packages/core-js/es/string/virtual/bold.js +++ b/packages/core-js/es/string/virtual/bold.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.bold'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').bold; +module.exports = getBuiltInPrototypeMethod('String', 'bold'); diff --git a/packages/core-js/es/string/virtual/code-point-at.js b/packages/core-js/es/string/virtual/code-point-at.js index f60463248310..593ef4ca1f05 100644 --- a/packages/core-js/es/string/virtual/code-point-at.js +++ b/packages/core-js/es/string/virtual/code-point-at.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.code-point-at'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').codePointAt; +module.exports = getBuiltInPrototypeMethod('String', 'codePointAt'); diff --git a/packages/core-js/es/string/virtual/ends-with.js b/packages/core-js/es/string/virtual/ends-with.js index e18687e871a0..a45a986d7a6e 100644 --- a/packages/core-js/es/string/virtual/ends-with.js +++ b/packages/core-js/es/string/virtual/ends-with.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.ends-with'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').endsWith; +module.exports = getBuiltInPrototypeMethod('String', 'endsWith'); diff --git a/packages/core-js/es/string/virtual/fixed.js b/packages/core-js/es/string/virtual/fixed.js index e2c97d177665..bbde9c3abcbc 100644 --- a/packages/core-js/es/string/virtual/fixed.js +++ b/packages/core-js/es/string/virtual/fixed.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.fixed'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').fixed; +module.exports = getBuiltInPrototypeMethod('String', 'fixed'); diff --git a/packages/core-js/es/string/virtual/fontcolor.js b/packages/core-js/es/string/virtual/fontcolor.js index c45a91734020..d5f95685da31 100644 --- a/packages/core-js/es/string/virtual/fontcolor.js +++ b/packages/core-js/es/string/virtual/fontcolor.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.fontcolor'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').fontcolor; +module.exports = getBuiltInPrototypeMethod('String', 'fontcolor'); diff --git a/packages/core-js/es/string/virtual/fontsize.js b/packages/core-js/es/string/virtual/fontsize.js index 71045277f292..82839207d20b 100644 --- a/packages/core-js/es/string/virtual/fontsize.js +++ b/packages/core-js/es/string/virtual/fontsize.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.fontsize'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').fontsize; +module.exports = getBuiltInPrototypeMethod('String', 'fontsize'); diff --git a/packages/core-js/es/string/virtual/includes.js b/packages/core-js/es/string/virtual/includes.js index 9cbfac934a30..b75490a73380 100644 --- a/packages/core-js/es/string/virtual/includes.js +++ b/packages/core-js/es/string/virtual/includes.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.includes'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').includes; +module.exports = getBuiltInPrototypeMethod('String', 'includes'); diff --git a/packages/core-js/es/string/virtual/is-well-formed.js b/packages/core-js/es/string/virtual/is-well-formed.js index af7b7c8b087d..620db5edf768 100644 --- a/packages/core-js/es/string/virtual/is-well-formed.js +++ b/packages/core-js/es/string/virtual/is-well-formed.js @@ -1,4 +1,5 @@ 'use strict'; require('../../../modules/es.string.is-well-formed'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = require('../../../internals/entry-virtual')('String').isWellFormed; +module.exports = getBuiltInPrototypeMethod('String', 'isWellFormed'); diff --git a/packages/core-js/es/string/virtual/italics.js b/packages/core-js/es/string/virtual/italics.js index 6b329e2c2cba..59866c12e2db 100644 --- a/packages/core-js/es/string/virtual/italics.js +++ b/packages/core-js/es/string/virtual/italics.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.italics'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').italics; +module.exports = getBuiltInPrototypeMethod('String', 'italics'); diff --git a/packages/core-js/es/string/virtual/link.js b/packages/core-js/es/string/virtual/link.js index 5a8b92546247..f3e9c313725c 100644 --- a/packages/core-js/es/string/virtual/link.js +++ b/packages/core-js/es/string/virtual/link.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.link'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').link; +module.exports = getBuiltInPrototypeMethod('String', 'link'); diff --git a/packages/core-js/es/string/virtual/match-all.js b/packages/core-js/es/string/virtual/match-all.js index c8da052c7496..ef1e92ed31aa 100644 --- a/packages/core-js/es/string/virtual/match-all.js +++ b/packages/core-js/es/string/virtual/match-all.js @@ -2,6 +2,6 @@ require('../../../modules/es.object.to-string'); require('../../../modules/es.regexp.exec'); require('../../../modules/es.string.match-all'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').matchAll; +module.exports = getBuiltInPrototypeMethod('String', 'matchAll'); diff --git a/packages/core-js/es/string/virtual/pad-end.js b/packages/core-js/es/string/virtual/pad-end.js index 7fadc528710b..e76542bce742 100644 --- a/packages/core-js/es/string/virtual/pad-end.js +++ b/packages/core-js/es/string/virtual/pad-end.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.pad-end'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').padEnd; +module.exports = getBuiltInPrototypeMethod('String', 'padEnd'); diff --git a/packages/core-js/es/string/virtual/pad-start.js b/packages/core-js/es/string/virtual/pad-start.js index 8e2002e22cc9..56aa70d9bd63 100644 --- a/packages/core-js/es/string/virtual/pad-start.js +++ b/packages/core-js/es/string/virtual/pad-start.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.pad-start'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').padStart; +module.exports = getBuiltInPrototypeMethod('String', 'padStart'); diff --git a/packages/core-js/es/string/virtual/repeat.js b/packages/core-js/es/string/virtual/repeat.js index 33a626d86f6e..b8d857be5cbb 100644 --- a/packages/core-js/es/string/virtual/repeat.js +++ b/packages/core-js/es/string/virtual/repeat.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.repeat'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').repeat; +module.exports = getBuiltInPrototypeMethod('String', 'repeat'); diff --git a/packages/core-js/es/string/virtual/replace-all.js b/packages/core-js/es/string/virtual/replace-all.js index 47ce5e6fe39f..aeebb9746f73 100644 --- a/packages/core-js/es/string/virtual/replace-all.js +++ b/packages/core-js/es/string/virtual/replace-all.js @@ -2,6 +2,6 @@ require('../../../modules/es.regexp.exec'); require('../../../modules/es.string.replace'); require('../../../modules/es.string.replace-all'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').replaceAll; +module.exports = getBuiltInPrototypeMethod('String', 'replaceAll'); diff --git a/packages/core-js/es/string/virtual/small.js b/packages/core-js/es/string/virtual/small.js index edb8ba2ed3da..401b13a4642f 100644 --- a/packages/core-js/es/string/virtual/small.js +++ b/packages/core-js/es/string/virtual/small.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.small'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').small; +module.exports = getBuiltInPrototypeMethod('String', 'small'); diff --git a/packages/core-js/es/string/virtual/starts-with.js b/packages/core-js/es/string/virtual/starts-with.js index e03aecba4d33..d4dbe8614803 100644 --- a/packages/core-js/es/string/virtual/starts-with.js +++ b/packages/core-js/es/string/virtual/starts-with.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.starts-with'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').startsWith; +module.exports = getBuiltInPrototypeMethod('String', 'startsWith'); diff --git a/packages/core-js/es/string/virtual/strike.js b/packages/core-js/es/string/virtual/strike.js index 72d169b4f557..a0b769c98fb7 100644 --- a/packages/core-js/es/string/virtual/strike.js +++ b/packages/core-js/es/string/virtual/strike.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.strike'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').strike; +module.exports = getBuiltInPrototypeMethod('String', 'strike'); diff --git a/packages/core-js/es/string/virtual/sub.js b/packages/core-js/es/string/virtual/sub.js index fa89525dc3cd..c710755a9c4d 100644 --- a/packages/core-js/es/string/virtual/sub.js +++ b/packages/core-js/es/string/virtual/sub.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.sub'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').sub; +module.exports = getBuiltInPrototypeMethod('String', 'sub'); diff --git a/packages/core-js/es/string/virtual/substr.js b/packages/core-js/es/string/virtual/substr.js index 8a6a3f99cd44..61a2217dbfce 100644 --- a/packages/core-js/es/string/virtual/substr.js +++ b/packages/core-js/es/string/virtual/substr.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.substr'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').substr; +module.exports = getBuiltInPrototypeMethod('String', 'substr'); diff --git a/packages/core-js/es/string/virtual/sup.js b/packages/core-js/es/string/virtual/sup.js index 661982f5b5d9..0707bc010f3e 100644 --- a/packages/core-js/es/string/virtual/sup.js +++ b/packages/core-js/es/string/virtual/sup.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.sup'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').sup; +module.exports = getBuiltInPrototypeMethod('String', 'sup'); diff --git a/packages/core-js/es/string/virtual/to-well-formed.js b/packages/core-js/es/string/virtual/to-well-formed.js index 19a56f38405e..87d6275796b5 100644 --- a/packages/core-js/es/string/virtual/to-well-formed.js +++ b/packages/core-js/es/string/virtual/to-well-formed.js @@ -1,4 +1,5 @@ 'use strict'; require('../../../modules/es.string.to-well-formed'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = require('../../../internals/entry-virtual')('String').toWellFormed; +module.exports = getBuiltInPrototypeMethod('String', 'toWellFormed'); diff --git a/packages/core-js/es/string/virtual/trim-end.js b/packages/core-js/es/string/virtual/trim-end.js index 029b9fff84c5..bd013aa6d745 100644 --- a/packages/core-js/es/string/virtual/trim-end.js +++ b/packages/core-js/es/string/virtual/trim-end.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.trim-end'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').trimRight; +module.exports = getBuiltInPrototypeMethod('String', 'trimRight'); diff --git a/packages/core-js/es/string/virtual/trim-left.js b/packages/core-js/es/string/virtual/trim-left.js index 0f76c06f3b10..3987da84d3fb 100644 --- a/packages/core-js/es/string/virtual/trim-left.js +++ b/packages/core-js/es/string/virtual/trim-left.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.trim-start'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').trimLeft; +module.exports = getBuiltInPrototypeMethod('String', 'trimLeft'); diff --git a/packages/core-js/es/string/virtual/trim-right.js b/packages/core-js/es/string/virtual/trim-right.js index 029b9fff84c5..bd013aa6d745 100644 --- a/packages/core-js/es/string/virtual/trim-right.js +++ b/packages/core-js/es/string/virtual/trim-right.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.trim-end'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').trimRight; +module.exports = getBuiltInPrototypeMethod('String', 'trimRight'); diff --git a/packages/core-js/es/string/virtual/trim-start.js b/packages/core-js/es/string/virtual/trim-start.js index 0f76c06f3b10..3987da84d3fb 100644 --- a/packages/core-js/es/string/virtual/trim-start.js +++ b/packages/core-js/es/string/virtual/trim-start.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.trim-start'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').trimLeft; +module.exports = getBuiltInPrototypeMethod('String', 'trimLeft'); diff --git a/packages/core-js/es/string/virtual/trim.js b/packages/core-js/es/string/virtual/trim.js index cefbd15ef183..02e9b22897a2 100644 --- a/packages/core-js/es/string/virtual/trim.js +++ b/packages/core-js/es/string/virtual/trim.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/es.string.trim'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').trim; +module.exports = getBuiltInPrototypeMethod('String', 'trim'); diff --git a/packages/core-js/full/array/virtual/filter-out.js b/packages/core-js/full/array/virtual/filter-out.js index 7c98ac31aa33..8bf9a24c3d29 100644 --- a/packages/core-js/full/array/virtual/filter-out.js +++ b/packages/core-js/full/array/virtual/filter-out.js @@ -1,6 +1,6 @@ 'use strict'; // TODO: Remove from `core-js@4` require('../../../modules/esnext.array.filter-out'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').filterOut; +module.exports = getBuiltInPrototypeMethod('Array', 'filterOut'); diff --git a/packages/core-js/full/array/virtual/filter-reject.js b/packages/core-js/full/array/virtual/filter-reject.js index e97cfc947bfc..094f90dfa9c2 100644 --- a/packages/core-js/full/array/virtual/filter-reject.js +++ b/packages/core-js/full/array/virtual/filter-reject.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/esnext.array.filter-reject'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').filterReject; +module.exports = getBuiltInPrototypeMethod('Array', 'filterReject'); diff --git a/packages/core-js/full/array/virtual/unique-by.js b/packages/core-js/full/array/virtual/unique-by.js index f22ad307fd19..d9c0282bacb6 100644 --- a/packages/core-js/full/array/virtual/unique-by.js +++ b/packages/core-js/full/array/virtual/unique-by.js @@ -1,6 +1,6 @@ 'use strict'; require('../../../modules/es.map'); require('../../../modules/esnext.array.unique-by'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Array').uniqueBy; +module.exports = getBuiltInPrototypeMethod('Array', 'uniqueBy'); diff --git a/packages/core-js/full/function/virtual/demethodize.js b/packages/core-js/full/function/virtual/demethodize.js index 97330d10b908..47318a472596 100644 --- a/packages/core-js/full/function/virtual/demethodize.js +++ b/packages/core-js/full/function/virtual/demethodize.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/esnext.function.demethodize'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Function').demethodize; +module.exports = getBuiltInPrototypeMethod('Function', 'demethodize'); diff --git a/packages/core-js/full/function/virtual/un-this.js b/packages/core-js/full/function/virtual/un-this.js index 7752c78829f3..671c1891e89c 100644 --- a/packages/core-js/full/function/virtual/un-this.js +++ b/packages/core-js/full/function/virtual/un-this.js @@ -1,5 +1,5 @@ 'use strict'; require('../../../modules/esnext.function.un-this'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('Function').unThis; +module.exports = getBuiltInPrototypeMethod('Function', 'unThis'); diff --git a/packages/core-js/full/string/virtual/at.js b/packages/core-js/full/string/virtual/at.js index 0767ece88a73..68c432c4f028 100644 --- a/packages/core-js/full/string/virtual/at.js +++ b/packages/core-js/full/string/virtual/at.js @@ -2,6 +2,6 @@ require('../../../actual/string/virtual/at'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.string.at'); -var entryVirtual = require('../../../internals/entry-virtual'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = entryVirtual('String').at; +module.exports = getBuiltInPrototypeMethod('String', 'at'); diff --git a/packages/core-js/full/string/virtual/code-points.js b/packages/core-js/full/string/virtual/code-points.js index 08a32501db81..4fa3ce4dc740 100644 --- a/packages/core-js/full/string/virtual/code-points.js +++ b/packages/core-js/full/string/virtual/code-points.js @@ -1,5 +1,6 @@ 'use strict'; require('../../../modules/es.object.to-string'); require('../../../modules/esnext.string.code-points'); +var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method'); -module.exports = require('../../../internals/entry-virtual')('String').codePoints; +module.exports = getBuiltInPrototypeMethod('String', 'codePoints');