diff --git a/packages/core-js/stage/0.js b/packages/core-js/stage/0.js index 7f9b1bbf7548..c9ea9bd6b96f 100644 --- a/packages/core-js/stage/0.js +++ b/packages/core-js/stage/0.js @@ -1,3 +1,5 @@ +var parent = require('./1'); + require('../proposals/efficient-64-bit-arithmetic'); require('../proposals/function-is-callable-is-constructor'); require('../proposals/function-un-this'); @@ -5,6 +7,5 @@ require('../proposals/string-at'); require('../proposals/url'); // TODO: Obsolete versions, remove from `core-js@4`: require('../proposals/array-filtering'); -var parent = require('./1'); module.exports = parent; diff --git a/packages/core-js/stage/1.js b/packages/core-js/stage/1.js index 8125fe06b209..e382cb4df167 100644 --- a/packages/core-js/stage/1.js +++ b/packages/core-js/stage/1.js @@ -1,3 +1,5 @@ +var parent = require('./2'); + require('../proposals/array-filtering-stage-1'); require('../proposals/array-last'); require('../proposals/array-unique'); @@ -19,6 +21,5 @@ require('../proposals/string-cooked'); require('../proposals/array-from-async'); require('../proposals/map-upsert'); require('../proposals/string-replace-all'); -var parent = require('./2'); module.exports = parent; diff --git a/packages/core-js/stage/2.js b/packages/core-js/stage/2.js index c5c64cc8a4f2..b96cfe7cf116 100644 --- a/packages/core-js/stage/2.js +++ b/packages/core-js/stage/2.js @@ -1,3 +1,5 @@ +var parent = require('./3'); + require('../proposals/array-is-template-object'); require('../proposals/decorator-metadata'); require('../proposals/iterator-helpers'); @@ -8,6 +10,5 @@ require('../proposals/well-formed-unicode-strings'); // TODO: Obsolete versions, remove from `core-js@4` require('../proposals/array-grouping'); require('../proposals/decorators'); -var parent = require('./3'); module.exports = parent; diff --git a/packages/core-js/stage/3.js b/packages/core-js/stage/3.js index e2becb28651a..9097f2dbfd7c 100644 --- a/packages/core-js/stage/3.js +++ b/packages/core-js/stage/3.js @@ -1,8 +1,9 @@ +var parent = require('./4'); + require('../proposals/array-from-async-stage-2'); require('../proposals/array-grouping-stage-3-2'); require('../proposals/change-array-by-copy'); // TODO: Obsolete versions, remove from `core-js@4` require('../proposals/array-grouping-stage-3'); -var parent = require('./4'); module.exports = parent; diff --git a/packages/core-js/stage/4.js b/packages/core-js/stage/4.js index fec53bdea778..84ad6da7c94c 100644 --- a/packages/core-js/stage/4.js +++ b/packages/core-js/stage/4.js @@ -8,6 +8,7 @@ require('../proposals/promise-any'); require('../proposals/relative-indexing-method'); require('../proposals/string-match-all'); require('../proposals/string-replace-all-stage-4'); + var path = require('../internals/path'); module.exports = path; diff --git a/packages/core-js/stage/pre.js b/packages/core-js/stage/pre.js index e37249e5b51c..e3a948843798 100644 --- a/packages/core-js/stage/pre.js +++ b/packages/core-js/stage/pre.js @@ -1,4 +1,5 @@ -require('../proposals/reflect-metadata'); var parent = require('./0'); +require('../proposals/reflect-metadata'); + module.exports = parent;