Skip to content

Commit

Permalink
fix content of some entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 29, 2021
1 parent ba97391 commit 92eb5dd
Show file tree
Hide file tree
Showing 183 changed files with 298 additions and 145 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Fixed some cases of typed arrays subclassing logic
- Fixed a minor bug related to string conversion in `RegExp#exec`
- Fixed `Date.prototype.getYear` feature detection
- Fixed content of some entry points
- Some minor optimizations and refactoring
- Deno:
- Added Deno support (sure, after bundling since Deno does not support CommonJS)
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/es/aggregate-error.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require('../modules/es.aggregate-error');
require('../modules/es.array.iterator');
require('../modules/es.string.iterator');
require('../modules/web.dom-collections.iterator');
var path = require('../internals/path');

module.exports = path.AggregateError;
1 change: 1 addition & 0 deletions packages/core-js/es/array/entries.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
var entryUnbind = require('../../internals/entry-unbind');

module.exports = entryUnbind('Array', 'entries');
3 changes: 2 additions & 1 deletion packages/core-js/es/array/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require('../../modules/es.string.iterator');
require('../../modules/es.array.from');
require('../../modules/es.array.is-array');
require('../../modules/es.array.of');
Expand Down Expand Up @@ -28,6 +27,8 @@ require('../../modules/es.array.species');
require('../../modules/es.array.splice');
require('../../modules/es.array.unscopables.flat');
require('../../modules/es.array.unscopables.flat-map');
require('../../modules/es.object.to-string');
require('../../modules/es.string.iterator');
var path = require('../../internals/path');

module.exports = path.Array;
1 change: 1 addition & 0 deletions packages/core-js/es/array/iterator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
var entryUnbind = require('../../internals/entry-unbind');

module.exports = entryUnbind('Array', 'values');
1 change: 1 addition & 0 deletions packages/core-js/es/array/keys.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
var entryUnbind = require('../../internals/entry-unbind');

module.exports = entryUnbind('Array', 'keys');
1 change: 1 addition & 0 deletions packages/core-js/es/array/values.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
var entryUnbind = require('../../internals/entry-unbind');

module.exports = entryUnbind('Array', 'values');
1 change: 1 addition & 0 deletions packages/core-js/es/array/virtual/entries.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../../modules/es.array.iterator');
require('../../../modules/es.object.to-string');
var entryVirtual = require('../../../internals/entry-virtual');

module.exports = entryVirtual('Array').entries;
1 change: 1 addition & 0 deletions packages/core-js/es/array/virtual/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ require('../../../modules/es.array.species');
require('../../../modules/es.array.splice');
require('../../../modules/es.array.unscopables.flat');
require('../../../modules/es.array.unscopables.flat-map');
require('../../../modules/es.object.to-string');
var entryVirtual = require('../../../internals/entry-virtual');

module.exports = entryVirtual('Array');
1 change: 1 addition & 0 deletions packages/core-js/es/array/virtual/iterator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../../modules/es.array.iterator');
require('../../../modules/es.object.to-string');
var entryVirtual = require('../../../internals/entry-virtual');

module.exports = entryVirtual('Array').values;
1 change: 1 addition & 0 deletions packages/core-js/es/array/virtual/keys.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../../modules/es.array.iterator');
require('../../../modules/es.object.to-string');
var entryVirtual = require('../../../internals/entry-virtual');

module.exports = entryVirtual('Array').keys;
1 change: 1 addition & 0 deletions packages/core-js/es/array/virtual/values.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('../../../modules/es.array.iterator');
require('../../../modules/es.object.to-string');
var entryVirtual = require('../../../internals/entry-virtual');

module.exports = entryVirtual('Array').values;
4 changes: 2 additions & 2 deletions packages/core-js/es/escape.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('../modules/es.escape');
var global = require('../internals/global');
var path = require('../internals/path');

module.exports = global.escape;
module.exports = path.escape;
2 changes: 1 addition & 1 deletion packages/core-js/es/map/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('../../modules/es.array.iterator');
require('../../modules/es.map');
require('../../modules/es.object.to-string');
require('../../modules/es.string.iterator');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

module.exports = path.Map;
3 changes: 2 additions & 1 deletion packages/core-js/es/promise/all-settled.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
'use strict';
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.promise.all-settled');
require('../../modules/es.string.iterator');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

var Promise = path.Promise;
Expand Down
3 changes: 2 additions & 1 deletion packages/core-js/es/promise/any.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
'use strict';
require('../../modules/es.aggregate-error');
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.promise.any');
require('../../modules/es.string.iterator');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

var Promise = path.Promise;
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/promise/finally.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.promise.finally');
var entryUnbind = require('../../internals/entry-unbind');
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/es/promise/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
require('../../modules/es.aggregate-error');
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.promise.all-settled');
require('../../modules/es.promise.any');
require('../../modules/es.promise.finally');
require('../../modules/es.string.iterator');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

module.exports = path.Promise;
1 change: 1 addition & 0 deletions packages/core-js/es/reflect/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.object.to-string');
require('../../modules/es.reflect.apply');
require('../../modules/es.reflect.construct');
require('../../modules/es.reflect.define-property');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/reflect/to-string-tag.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.object.to-string');
require('../../modules/es.reflect.to-string-tag');

module.exports = 'Reflect';
3 changes: 3 additions & 0 deletions packages/core-js/es/regexp/constructor.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require('../../modules/es.regexp.constructor');
require('../../modules/es.regexp.dot-all');
require('../../modules/es.regexp.exec');
require('../../modules/es.regexp.sticky');

module.exports = RegExp;
1 change: 1 addition & 0 deletions packages/core-js/es/regexp/match.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.match');
var wellKnownSymbol = require('../../internals/well-known-symbol');

Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/regexp/replace.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.replace');
var wellKnownSymbol = require('../../internals/well-known-symbol');

Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/regexp/search.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.search');
var wellKnownSymbol = require('../../internals/well-known-symbol');

Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/regexp/split.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.split');
var wellKnownSymbol = require('../../internals/well-known-symbol');

Expand Down
4 changes: 2 additions & 2 deletions packages/core-js/es/set/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('../../modules/es.set');
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.set');
require('../../modules/es.string.iterator');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

module.exports = path.Set;
1 change: 1 addition & 0 deletions packages/core-js/es/string/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.object.to-string');
require('../../modules/es.regexp.exec');
require('../../modules/es.string.from-code-point');
require('../../modules/es.string.raw');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/iterator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.object.to-string');
require('../../modules/es.string.iterator');
var Iterators = require('../../internals/iterators');

Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/es/string/match-all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../modules/es.object.to-string');
require('../../modules/es.regexp.exec');
require('../../modules/es.string.match-all');
var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/es/string/replace-all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.replace');
require('../../modules/es.string.replace-all');
var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/es/string/virtual/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../../modules/es.object.to-string');
require('../../../modules/es.regexp.exec');
require('../../../modules/es.string.code-point-at');
require('../../../modules/es.string.ends-with');
require('../../../modules/es.string.includes');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/virtual/iterator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../../modules/es.object.to-string');
require('../../../modules/es.string.iterator');
var Iterators = require('../../../internals/iterators');

Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/es/string/virtual/match-all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../../modules/es.object.to-string');
require('../../../modules/es.regexp.exec');
require('../../../modules/es.string.match-all');
var entryVirtual = require('../../../internals/entry-virtual');

Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/es/string/virtual/replace-all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../../modules/es.regexp.exec');
require('../../../modules/es.string.replace');
require('../../../modules/es.string.replace-all');
var entryVirtual = require('../../../internals/entry-virtual');

Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/es/symbol/is-concat-spreadable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('../../modules/es.symbol.is-concat-spreadable');
require('../../modules/es.array.concat');
require('../../modules/es.symbol.is-concat-spreadable');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');

module.exports = WrappedWellKnownSymbolModule.f('isConcatSpreadable');
5 changes: 3 additions & 2 deletions packages/core-js/es/symbol/iterator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require('../../modules/es.symbol.iterator');
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.string.iterator');
require('../../modules/web.dom-collections.iterator');
require('../../modules/es.symbol.iterator');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');

module.exports = WrappedWellKnownSymbolModule.f('iterator');
2 changes: 2 additions & 0 deletions packages/core-js/es/symbol/match-all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../modules/es.object.to-string');
require('../../modules/es.regexp.exec');
require('../../modules/es.symbol.match-all');
require('../../modules/es.string.match-all');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/symbol/match.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.symbol.match');
require('../../modules/es.string.match');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/symbol/replace.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.symbol.replace');
require('../../modules/es.string.replace');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/symbol/search.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.symbol.search');
require('../../modules/es.string.search');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/symbol/split.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.symbol.split');
require('../../modules/es.string.split');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/symbol/to-primitive.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.date.to-primitive');
require('../../modules/es.symbol.to-primitive');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');

Expand Down
4 changes: 2 additions & 2 deletions packages/core-js/es/symbol/to-string-tag.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require('../../modules/es.symbol.to-string-tag');
require('../../modules/es.object.to-string');
require('../../modules/es.json.to-string-tag');
require('../../modules/es.math.to-string-tag');
require('../../modules/es.object.to-string');
require('../../modules/es.reflect.to-string-tag');
require('../../modules/es.symbol.to-string-tag');
var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');

module.exports = WrappedWellKnownSymbolModule.f('toStringTag');
1 change: 1 addition & 0 deletions packages/core-js/es/typed-array/entries.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require('../../modules/es.object.to-string');
require('../../modules/es.typed-array.iterator');
1 change: 1 addition & 0 deletions packages/core-js/es/typed-array/iterator.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require('../../modules/es.object.to-string');
require('../../modules/es.typed-array.iterator');
1 change: 1 addition & 0 deletions packages/core-js/es/typed-array/keys.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require('../../modules/es.object.to-string');
require('../../modules/es.typed-array.iterator');
3 changes: 2 additions & 1 deletion packages/core-js/es/typed-array/methods.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('../../modules/es.object.to-string');
require('../../modules/es.string.iterator');
require('../../modules/es.typed-array.from');
require('../../modules/es.typed-array.of');
require('../../modules/es.typed-array.copy-within');
Expand All @@ -23,4 +25,3 @@ require('../../modules/es.typed-array.subarray');
require('../../modules/es.typed-array.to-locale-string');
require('../../modules/es.typed-array.to-string');
require('../../modules/es.typed-array.iterator');
require('../../modules/es.object.to-string');
1 change: 1 addition & 0 deletions packages/core-js/es/typed-array/values.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require('../../modules/es.object.to-string');
require('../../modules/es.typed-array.iterator');
4 changes: 2 additions & 2 deletions packages/core-js/es/unescape.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('../modules/es.unescape');
var global = require('../internals/global');
var path = require('../internals/path');

module.exports = global.unescape;
module.exports = path.unescape;
2 changes: 1 addition & 1 deletion packages/core-js/es/weak-map/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.weak-map');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

module.exports = path.WeakMap;
2 changes: 1 addition & 1 deletion packages/core-js/es/weak-set/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.weak-set');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

module.exports = path.WeakSet;
2 changes: 0 additions & 2 deletions packages/core-js/features/async-iterator/as-indexed-pairs.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.string.iterator');
require('../../modules/esnext.async-iterator.constructor');
require('../../modules/esnext.async-iterator.as-indexed-pairs');
require('../../modules/web.dom-collections.iterator');

var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 0 additions & 2 deletions packages/core-js/features/async-iterator/drop.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.string.iterator');
require('../../modules/esnext.async-iterator.constructor');
require('../../modules/esnext.async-iterator.drop');
require('../../modules/web.dom-collections.iterator');

var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 0 additions & 2 deletions packages/core-js/features/async-iterator/every.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.string.iterator');
require('../../modules/esnext.async-iterator.constructor');
require('../../modules/esnext.async-iterator.every');
require('../../modules/web.dom-collections.iterator');

var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 0 additions & 2 deletions packages/core-js/features/async-iterator/filter.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.string.iterator');
require('../../modules/esnext.async-iterator.constructor');
require('../../modules/esnext.async-iterator.filter');
require('../../modules/web.dom-collections.iterator');

var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 0 additions & 2 deletions packages/core-js/features/async-iterator/find.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.string.iterator');
require('../../modules/esnext.async-iterator.constructor');
require('../../modules/esnext.async-iterator.find');
require('../../modules/web.dom-collections.iterator');

var entryUnbind = require('../../internals/entry-unbind');

Expand Down
2 changes: 0 additions & 2 deletions packages/core-js/features/async-iterator/flat-map.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.string.iterator');
require('../../modules/esnext.async-iterator.constructor');
require('../../modules/esnext.async-iterator.flat-map');
require('../../modules/web.dom-collections.iterator');

var entryUnbind = require('../../internals/entry-unbind');

Expand Down
Loading

0 comments on commit 92eb5dd

Please sign in to comment.