Skip to content

Commit

Permalink
change the order of imports
Browse files Browse the repository at this point in the history
some features can depend on previously added features
  • Loading branch information
zloirock committed Oct 17, 2022
1 parent e54087d commit e29fa7c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/core-js/stage/0.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
var parent = require('./1');

require('../proposals/efficient-64-bit-arithmetic');
require('../proposals/function-is-callable-is-constructor');
require('../proposals/function-un-this');
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;
3 changes: 2 additions & 1 deletion packages/core-js/stage/1.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var parent = require('./2');

require('../proposals/array-filtering-stage-1');
require('../proposals/array-last');
require('../proposals/array-unique');
Expand All @@ -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;
3 changes: 2 additions & 1 deletion packages/core-js/stage/2.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var parent = require('./3');

require('../proposals/array-is-template-object');
require('../proposals/decorator-metadata');
require('../proposals/iterator-helpers');
Expand All @@ -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;
3 changes: 2 additions & 1 deletion packages/core-js/stage/3.js
Original file line number Diff line number Diff line change
@@ -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;
1 change: 1 addition & 0 deletions packages/core-js/stage/4.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 2 additions & 1 deletion packages/core-js/stage/pre.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../proposals/reflect-metadata');
var parent = require('./0');

require('../proposals/reflect-metadata');

module.exports = parent;

0 comments on commit e29fa7c

Please sign in to comment.