-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move
require
to heads of files, enable some related eslint
rules
- Loading branch information
Showing
740 changed files
with
2,377 additions
and
1,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/core-js-pure/override/modules/es.regexp.constructor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
require('../internals/set-species')('RegExp'); | ||
var setSpecies = require('../internals/set-species'); | ||
|
||
setSpecies('RegExp'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
require('../../modules/es.array-buffer.constructor'); | ||
require('../../modules/es.object.to-string'); | ||
var path = require('../../internals/path'); | ||
|
||
module.exports = require('../../internals/path').ArrayBuffer; | ||
module.exports = path.ArrayBuffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array-buffer.is-view'); | ||
var path = require('../../internals/path'); | ||
|
||
module.exports = require('../../internals/path').ArrayBuffer.isView; | ||
module.exports = path.ArrayBuffer.isView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.concat'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'concat'); | ||
module.exports = entryUnbind('Array', 'concat'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.copy-within'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'copyWithin'); | ||
module.exports = entryUnbind('Array', 'copyWithin'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.iterator'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'entries'); | ||
module.exports = entryUnbind('Array', 'entries'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.every'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'every'); | ||
module.exports = entryUnbind('Array', 'every'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.fill'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'fill'); | ||
module.exports = entryUnbind('Array', 'fill'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.filter'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'filter'); | ||
module.exports = entryUnbind('Array', 'filter'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.find-index'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'findIndex'); | ||
module.exports = entryUnbind('Array', 'findIndex'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.find'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'find'); | ||
module.exports = entryUnbind('Array', 'find'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
require('../../modules/es.array.flat-map'); | ||
require('../../modules/es.array.unscopables.flat-map'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'flatMap'); | ||
module.exports = entryUnbind('Array', 'flatMap'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
require('../../modules/es.array.flat'); | ||
require('../../modules/es.array.unscopables.flat'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'flat'); | ||
module.exports = entryUnbind('Array', 'flat'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.for-each'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'forEach'); | ||
module.exports = entryUnbind('Array', 'forEach'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
require('../../modules/es.string.iterator'); | ||
require('../../modules/es.array.from'); | ||
var path = require('../../internals/path'); | ||
|
||
module.exports = require('../../internals/path').Array.from; | ||
module.exports = path.Array.from; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.includes'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'includes'); | ||
module.exports = entryUnbind('Array', 'includes'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.index-of'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'indexOf'); | ||
module.exports = entryUnbind('Array', 'indexOf'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.is-array'); | ||
var path = require('../../internals/path'); | ||
|
||
module.exports = require('../../internals/path').Array.isArray; | ||
module.exports = path.Array.isArray; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.iterator'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'values'); | ||
module.exports = entryUnbind('Array', 'values'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.join'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'join'); | ||
module.exports = entryUnbind('Array', 'join'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.iterator'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'keys'); | ||
module.exports = entryUnbind('Array', 'keys'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.last-index-of'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'lastIndexOf'); | ||
module.exports = entryUnbind('Array', 'lastIndexOf'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.map'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'map'); | ||
module.exports = entryUnbind('Array', 'map'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.of'); | ||
var path = require('../../internals/path'); | ||
|
||
module.exports = require('../../internals/path').Array.of; | ||
module.exports = path.Array.of; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.reduce-right'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'reduceRight'); | ||
module.exports = entryUnbind('Array', 'reduceRight'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.reduce'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'reduce'); | ||
module.exports = entryUnbind('Array', 'reduce'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.reverse'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'reverse'); | ||
module.exports = entryUnbind('Array', 'reverse'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.slice'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'slice'); | ||
module.exports = entryUnbind('Array', 'slice'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.some'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'some'); | ||
module.exports = entryUnbind('Array', 'some'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.sort'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'sort'); | ||
module.exports = entryUnbind('Array', 'sort'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.splice'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'splice'); | ||
module.exports = entryUnbind('Array', 'splice'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../modules/es.array.iterator'); | ||
var entryUnbind = require('../../internals/entry-unbind'); | ||
|
||
module.exports = require('../../internals/entry-unbind')('Array', 'values'); | ||
module.exports = entryUnbind('Array', 'values'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../../modules/es.array.concat'); | ||
var entryVirtual = require('../../../internals/entry-virtual'); | ||
|
||
module.exports = require('../../../internals/entry-virtual')('Array').concat; | ||
module.exports = entryVirtual('Array').concat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../../modules/es.array.copy-within'); | ||
var entryVirtual = require('../../../internals/entry-virtual'); | ||
|
||
module.exports = require('../../../internals/entry-virtual')('Array').copyWithin; | ||
module.exports = entryVirtual('Array').copyWithin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../../modules/es.array.iterator'); | ||
var entryVirtual = require('../../../internals/entry-virtual'); | ||
|
||
module.exports = require('../../../internals/entry-virtual')('Array').entries; | ||
module.exports = entryVirtual('Array').entries; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../../modules/es.array.every'); | ||
var entryVirtual = require('../../../internals/entry-virtual'); | ||
|
||
module.exports = require('../../../internals/entry-virtual')('Array').every; | ||
module.exports = entryVirtual('Array').every; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require('../../../modules/es.array.fill'); | ||
var entryVirtual = require('../../../internals/entry-virtual'); | ||
|
||
module.exports = require('../../../internals/entry-virtual')('Array').fill; | ||
module.exports = entryVirtual('Array').fill; |
Oops, something went wrong.