New upstream version 12.0.9
This commit is contained in:
parent
9314e91d66
commit
466d5c5265
1604 changed files with 15082 additions and 0 deletions
19
core-js/LICENSE
Normal file
19
core-js/LICENSE
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Copyright (c) 2014-2019 Denis Pushkarev
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
58
core-js/README.md
Normal file
58
core-js/README.md
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# core-js
|
||||||
|
|
||||||
|
[![Sponsors on Open Collective](https://opencollective.com/core-js/sponsors/badge.svg)](#sponsors) [![Backers on Open Collective](https://opencollective.com/core-js/backers/badge.svg)](#backers) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zloirock/core-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![npm downloads](https://img.shields.io/npm/dm/core-js.svg)](http://npm-stat.com/charts.html?package=core-js&author=&from=2014-11-18) [![Build Status](https://travis-ci.org/zloirock/core-js.svg)](https://travis-ci.org/zloirock/core-js) [![devDependency status](https://david-dm.org/zloirock/core-js/dev-status.svg)](https://david-dm.org/zloirock/core-js?type=dev)
|
||||||
|
|
||||||
|
> Modular standard library for JavaScript. Includes polyfills for [ECMAScript up to 2019](https://github.com/zloirock/core-js#ecmascript): [promises](https://github.com/zloirock/core-js#ecmascript-promise), [symbols](https://github.com/zloirock/core-js#ecmascript-symbol), [collections](https://github.com/zloirock/core-js#ecmascript-collections), iterators, [typed arrays](https://github.com/zloirock/core-js#ecmascript-typed-arrays), many other features, [ECMAScript proposals](https://github.com/zloirock/core-js#ecmascript-proposals), [some cross-platform WHATWG / W3C features and proposals](#web-standards) like [`URL`](https://github.com/zloirock/core-js#url-and-urlsearchparams). You can load only required features or use it without global namespace pollution.
|
||||||
|
|
||||||
|
## As advertising: the author is looking for a good job -)
|
||||||
|
|
||||||
|
## [core-js@3, babel and a look into the future](https://github.com/zloirock/core-js/tree/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md)
|
||||||
|
|
||||||
|
## Raising funds
|
||||||
|
|
||||||
|
`core-js` isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer [**on Open Collective**](https://opencollective.com/core-js) or [**on Patreon**](https://www.patreon.com/zloirock) if you are interested in `core-js`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/core-js/sponsor/0/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/0/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/1/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/1/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/2/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/2/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/3/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/3/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/4/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/4/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/5/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/5/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/6/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/6/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/7/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/7/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/8/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/8/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/9/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/9/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/10/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/10/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/11/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/11/avatar.svg"></a>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/core-js#backers" target="_blank"><img src="https://opencollective.com/core-js/backers.svg?width=890"></a>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[*Example*](http://goo.gl/a2xexl):
|
||||||
|
```js
|
||||||
|
import 'core-js'; // <- at the top of your entry point
|
||||||
|
|
||||||
|
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
||||||
|
[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5]
|
||||||
|
Promise.resolve(32).then(x => console.log(x)); // => 32
|
||||||
|
```
|
||||||
|
|
||||||
|
*You can load only required features*:
|
||||||
|
```js
|
||||||
|
import 'core-js/features/array/from'; // <- at the top of your entry point
|
||||||
|
import 'core-js/features/array/flat'; // <- at the top of your entry point
|
||||||
|
import 'core-js/features/set'; // <- at the top of your entry point
|
||||||
|
import 'core-js/features/promise'; // <- at the top of your entry point
|
||||||
|
|
||||||
|
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
||||||
|
[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5]
|
||||||
|
Promise.resolve(32).then(x => console.log(x)); // => 32
|
||||||
|
```
|
||||||
|
|
||||||
|
*Or use it without global namespace pollution*:
|
||||||
|
```js
|
||||||
|
import from from 'core-js-pure/features/array/from';
|
||||||
|
import flat from 'core-js-pure/features/array/flat';
|
||||||
|
import Set from 'core-js-pure/features/set';
|
||||||
|
import Promise from 'core-js-pure/features/promise';
|
||||||
|
|
||||||
|
from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
||||||
|
flat([1, [2, 3], [4, [5]]], 2); // => [1, 2, 3, 4, 5]
|
||||||
|
Promise.resolve(32).then(x => console.log(x)); // => 32
|
||||||
|
```
|
||||||
|
|
||||||
|
**It's a global version (first 2 examples), for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md).**
|
16
core-js/configurator.js
Normal file
16
core-js/configurator.js
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
var isArray = require('./internals/is-array');
|
||||||
|
var isForced = require('./internals/is-forced');
|
||||||
|
var data = isForced.data;
|
||||||
|
var normalize = isForced.normalize;
|
||||||
|
|
||||||
|
var setAggressivenessLevel = function (object, constant) {
|
||||||
|
if (isArray(object)) for (var i = 0; i < object.length; i++) data[normalize(object[i])] = constant;
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = function (options) {
|
||||||
|
if (typeof options == 'object') {
|
||||||
|
setAggressivenessLevel(options.useNative, isForced.NATIVE);
|
||||||
|
setAggressivenessLevel(options.usePolyfill, isForced.POLYFILL);
|
||||||
|
setAggressivenessLevel(options.useFeatureDetection, null);
|
||||||
|
}
|
||||||
|
};
|
1
core-js/es/README.md
Normal file
1
core-js/es/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This folder contains entry points for [stable ECMAScript features](https://github.com/zloirock/core-js/tree/v3#ecmascript) with dependencies.
|
5
core-js/es/array-buffer/constructor.js
Normal file
5
core-js/es/array-buffer/constructor.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../modules/es.array-buffer.constructor');
|
||||||
|
require('../../modules/es.object.to-string');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.ArrayBuffer;
|
7
core-js/es/array-buffer/index.js
Normal file
7
core-js/es/array-buffer/index.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
require('../../modules/es.array-buffer.constructor');
|
||||||
|
require('../../modules/es.array-buffer.is-view');
|
||||||
|
require('../../modules/es.array-buffer.slice');
|
||||||
|
require('../../modules/es.object.to-string');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.ArrayBuffer;
|
4
core-js/es/array-buffer/is-view.js
Normal file
4
core-js/es/array-buffer/is-view.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array-buffer.is-view');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.ArrayBuffer.isView;
|
1
core-js/es/array-buffer/slice.js
Normal file
1
core-js/es/array-buffer/slice.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require('../../modules/es.array-buffer.slice');
|
4
core-js/es/array/concat.js
Normal file
4
core-js/es/array/concat.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.concat');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'concat');
|
4
core-js/es/array/copy-within.js
Normal file
4
core-js/es/array/copy-within.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.copy-within');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'copyWithin');
|
4
core-js/es/array/entries.js
Normal file
4
core-js/es/array/entries.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.iterator');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'entries');
|
4
core-js/es/array/every.js
Normal file
4
core-js/es/array/every.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.every');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'every');
|
4
core-js/es/array/fill.js
Normal file
4
core-js/es/array/fill.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.fill');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'fill');
|
4
core-js/es/array/filter.js
Normal file
4
core-js/es/array/filter.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.filter');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'filter');
|
4
core-js/es/array/find-index.js
Normal file
4
core-js/es/array/find-index.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.find-index');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'findIndex');
|
4
core-js/es/array/find.js
Normal file
4
core-js/es/array/find.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.find');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'find');
|
5
core-js/es/array/flat-map.js
Normal file
5
core-js/es/array/flat-map.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../modules/es.array.flat-map');
|
||||||
|
require('../../modules/es.array.unscopables.flat-map');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'flatMap');
|
5
core-js/es/array/flat.js
Normal file
5
core-js/es/array/flat.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../modules/es.array.flat');
|
||||||
|
require('../../modules/es.array.unscopables.flat');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'flat');
|
4
core-js/es/array/for-each.js
Normal file
4
core-js/es/array/for-each.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.for-each');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'forEach');
|
5
core-js/es/array/from.js
Normal file
5
core-js/es/array/from.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../modules/es.string.iterator');
|
||||||
|
require('../../modules/es.array.from');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Array.from;
|
4
core-js/es/array/includes.js
Normal file
4
core-js/es/array/includes.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.includes');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'includes');
|
4
core-js/es/array/index-of.js
Normal file
4
core-js/es/array/index-of.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.index-of');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'indexOf');
|
33
core-js/es/array/index.js
Normal file
33
core-js/es/array/index.js
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
require('../../modules/es.string.iterator');
|
||||||
|
require('../../modules/es.array.from');
|
||||||
|
require('../../modules/es.array.is-array');
|
||||||
|
require('../../modules/es.array.of');
|
||||||
|
require('../../modules/es.array.concat');
|
||||||
|
require('../../modules/es.array.copy-within');
|
||||||
|
require('../../modules/es.array.every');
|
||||||
|
require('../../modules/es.array.fill');
|
||||||
|
require('../../modules/es.array.filter');
|
||||||
|
require('../../modules/es.array.find');
|
||||||
|
require('../../modules/es.array.find-index');
|
||||||
|
require('../../modules/es.array.flat');
|
||||||
|
require('../../modules/es.array.flat-map');
|
||||||
|
require('../../modules/es.array.for-each');
|
||||||
|
require('../../modules/es.array.includes');
|
||||||
|
require('../../modules/es.array.index-of');
|
||||||
|
require('../../modules/es.array.iterator');
|
||||||
|
require('../../modules/es.array.join');
|
||||||
|
require('../../modules/es.array.last-index-of');
|
||||||
|
require('../../modules/es.array.map');
|
||||||
|
require('../../modules/es.array.reduce');
|
||||||
|
require('../../modules/es.array.reduce-right');
|
||||||
|
require('../../modules/es.array.reverse');
|
||||||
|
require('../../modules/es.array.slice');
|
||||||
|
require('../../modules/es.array.some');
|
||||||
|
require('../../modules/es.array.sort');
|
||||||
|
require('../../modules/es.array.species');
|
||||||
|
require('../../modules/es.array.splice');
|
||||||
|
require('../../modules/es.array.unscopables.flat');
|
||||||
|
require('../../modules/es.array.unscopables.flat-map');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Array;
|
4
core-js/es/array/is-array.js
Normal file
4
core-js/es/array/is-array.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.is-array');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Array.isArray;
|
4
core-js/es/array/iterator.js
Normal file
4
core-js/es/array/iterator.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.iterator');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'values');
|
4
core-js/es/array/join.js
Normal file
4
core-js/es/array/join.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.join');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'join');
|
4
core-js/es/array/keys.js
Normal file
4
core-js/es/array/keys.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.iterator');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'keys');
|
4
core-js/es/array/last-index-of.js
Normal file
4
core-js/es/array/last-index-of.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.last-index-of');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'lastIndexOf');
|
4
core-js/es/array/map.js
Normal file
4
core-js/es/array/map.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.map');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'map');
|
4
core-js/es/array/of.js
Normal file
4
core-js/es/array/of.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.of');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Array.of;
|
4
core-js/es/array/reduce-right.js
Normal file
4
core-js/es/array/reduce-right.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.reduce-right');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'reduceRight');
|
4
core-js/es/array/reduce.js
Normal file
4
core-js/es/array/reduce.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.reduce');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'reduce');
|
4
core-js/es/array/reverse.js
Normal file
4
core-js/es/array/reverse.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.reverse');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'reverse');
|
4
core-js/es/array/slice.js
Normal file
4
core-js/es/array/slice.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.slice');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'slice');
|
4
core-js/es/array/some.js
Normal file
4
core-js/es/array/some.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.some');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'some');
|
4
core-js/es/array/sort.js
Normal file
4
core-js/es/array/sort.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.sort');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'sort');
|
4
core-js/es/array/splice.js
Normal file
4
core-js/es/array/splice.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.splice');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'splice');
|
4
core-js/es/array/values.js
Normal file
4
core-js/es/array/values.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.array.iterator');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Array', 'values');
|
4
core-js/es/array/virtual/concat.js
Normal file
4
core-js/es/array/virtual/concat.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.concat');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').concat;
|
4
core-js/es/array/virtual/copy-within.js
Normal file
4
core-js/es/array/virtual/copy-within.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.copy-within');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').copyWithin;
|
4
core-js/es/array/virtual/entries.js
Normal file
4
core-js/es/array/virtual/entries.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.iterator');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').entries;
|
4
core-js/es/array/virtual/every.js
Normal file
4
core-js/es/array/virtual/every.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.every');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').every;
|
4
core-js/es/array/virtual/fill.js
Normal file
4
core-js/es/array/virtual/fill.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.fill');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').fill;
|
4
core-js/es/array/virtual/filter.js
Normal file
4
core-js/es/array/virtual/filter.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.filter');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').filter;
|
4
core-js/es/array/virtual/find-index.js
Normal file
4
core-js/es/array/virtual/find-index.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.find-index');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').findIndex;
|
4
core-js/es/array/virtual/find.js
Normal file
4
core-js/es/array/virtual/find.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.find');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').find;
|
5
core-js/es/array/virtual/flat-map.js
Normal file
5
core-js/es/array/virtual/flat-map.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../../modules/es.array.flat-map');
|
||||||
|
require('../../../modules/es.array.unscopables.flat-map');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').flatMap;
|
5
core-js/es/array/virtual/flat.js
Normal file
5
core-js/es/array/virtual/flat.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../../modules/es.array.flat');
|
||||||
|
require('../../../modules/es.array.unscopables.flat');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').flat;
|
4
core-js/es/array/virtual/for-each.js
Normal file
4
core-js/es/array/virtual/for-each.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.for-each');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').forEach;
|
4
core-js/es/array/virtual/includes.js
Normal file
4
core-js/es/array/virtual/includes.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.includes');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').includes;
|
4
core-js/es/array/virtual/index-of.js
Normal file
4
core-js/es/array/virtual/index-of.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.index-of');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').indexOf;
|
29
core-js/es/array/virtual/index.js
Normal file
29
core-js/es/array/virtual/index.js
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
require('../../../modules/es.array.concat');
|
||||||
|
require('../../../modules/es.array.copy-within');
|
||||||
|
require('../../../modules/es.array.every');
|
||||||
|
require('../../../modules/es.array.fill');
|
||||||
|
require('../../../modules/es.array.filter');
|
||||||
|
require('../../../modules/es.array.find');
|
||||||
|
require('../../../modules/es.array.find-index');
|
||||||
|
require('../../../modules/es.array.flat');
|
||||||
|
require('../../../modules/es.array.flat-map');
|
||||||
|
require('../../../modules/es.array.for-each');
|
||||||
|
require('../../../modules/es.array.includes');
|
||||||
|
require('../../../modules/es.array.index-of');
|
||||||
|
require('../../../modules/es.array.iterator');
|
||||||
|
require('../../../modules/es.array.join');
|
||||||
|
require('../../../modules/es.array.last-index-of');
|
||||||
|
require('../../../modules/es.array.map');
|
||||||
|
require('../../../modules/es.array.reduce');
|
||||||
|
require('../../../modules/es.array.reduce-right');
|
||||||
|
require('../../../modules/es.array.reverse');
|
||||||
|
require('../../../modules/es.array.slice');
|
||||||
|
require('../../../modules/es.array.some');
|
||||||
|
require('../../../modules/es.array.sort');
|
||||||
|
require('../../../modules/es.array.species');
|
||||||
|
require('../../../modules/es.array.splice');
|
||||||
|
require('../../../modules/es.array.unscopables.flat');
|
||||||
|
require('../../../modules/es.array.unscopables.flat-map');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array');
|
4
core-js/es/array/virtual/iterator.js
Normal file
4
core-js/es/array/virtual/iterator.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.iterator');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').values;
|
4
core-js/es/array/virtual/join.js
Normal file
4
core-js/es/array/virtual/join.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.join');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').join;
|
4
core-js/es/array/virtual/keys.js
Normal file
4
core-js/es/array/virtual/keys.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.iterator');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').keys;
|
4
core-js/es/array/virtual/last-index-of.js
Normal file
4
core-js/es/array/virtual/last-index-of.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.last-index-of');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').lastIndexOf;
|
4
core-js/es/array/virtual/map.js
Normal file
4
core-js/es/array/virtual/map.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.map');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').map;
|
4
core-js/es/array/virtual/reduce-right.js
Normal file
4
core-js/es/array/virtual/reduce-right.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.reduce-right');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').reduceRight;
|
4
core-js/es/array/virtual/reduce.js
Normal file
4
core-js/es/array/virtual/reduce.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.reduce');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').reduce;
|
4
core-js/es/array/virtual/reverse.js
Normal file
4
core-js/es/array/virtual/reverse.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.reverse');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').reverse;
|
4
core-js/es/array/virtual/slice.js
Normal file
4
core-js/es/array/virtual/slice.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.slice');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').slice;
|
4
core-js/es/array/virtual/some.js
Normal file
4
core-js/es/array/virtual/some.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.some');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').some;
|
4
core-js/es/array/virtual/sort.js
Normal file
4
core-js/es/array/virtual/sort.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.sort');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').sort;
|
4
core-js/es/array/virtual/splice.js
Normal file
4
core-js/es/array/virtual/splice.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.splice');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').splice;
|
4
core-js/es/array/virtual/values.js
Normal file
4
core-js/es/array/virtual/values.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.array.iterator');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Array').values;
|
5
core-js/es/data-view/index.js
Normal file
5
core-js/es/data-view/index.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../modules/es.data-view');
|
||||||
|
require('../../modules/es.object.to-string');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.DataView;
|
8
core-js/es/date/index.js
Normal file
8
core-js/es/date/index.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
require('../../modules/es.date.now');
|
||||||
|
require('../../modules/es.date.to-json');
|
||||||
|
require('../../modules/es.date.to-iso-string');
|
||||||
|
require('../../modules/es.date.to-string');
|
||||||
|
require('../../modules/es.date.to-primitive');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Date;
|
4
core-js/es/date/now.js
Normal file
4
core-js/es/date/now.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.date.now');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Date.now;
|
5
core-js/es/date/to-iso-string.js
Normal file
5
core-js/es/date/to-iso-string.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
require('../../modules/es.date.to-iso-string');
|
||||||
|
require('../../modules/es.date.to-json');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Date', 'toISOString');
|
4
core-js/es/date/to-json.js
Normal file
4
core-js/es/date/to-json.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.date.to-json');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Date', 'toJSON');
|
6
core-js/es/date/to-primitive.js
Normal file
6
core-js/es/date/to-primitive.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
require('../../modules/es.date.to-primitive');
|
||||||
|
var toPrimitive = require('../../internals/date-to-primitive');
|
||||||
|
|
||||||
|
module.exports = function (it, hint) {
|
||||||
|
return toPrimitive.call(it, hint);
|
||||||
|
};
|
6
core-js/es/date/to-string.js
Normal file
6
core-js/es/date/to-string.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
require('../../modules/es.date.to-string');
|
||||||
|
var dateToString = Date.prototype.toString;
|
||||||
|
|
||||||
|
module.exports = function toString(it) {
|
||||||
|
return dateToString.call(it);
|
||||||
|
};
|
4
core-js/es/function/bind.js
Normal file
4
core-js/es/function/bind.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.function.bind');
|
||||||
|
var entryUnbind = require('../../internals/entry-unbind');
|
||||||
|
|
||||||
|
module.exports = entryUnbind('Function', 'bind');
|
4
core-js/es/function/has-instance.js
Normal file
4
core-js/es/function/has-instance.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../modules/es.function.has-instance');
|
||||||
|
var wellKnownSymbol = require('../../internals/well-known-symbol');
|
||||||
|
|
||||||
|
module.exports = Function[wellKnownSymbol('hasInstance')];
|
6
core-js/es/function/index.js
Normal file
6
core-js/es/function/index.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
require('../../modules/es.function.bind');
|
||||||
|
require('../../modules/es.function.name');
|
||||||
|
require('../../modules/es.function.has-instance');
|
||||||
|
var path = require('../../internals/path');
|
||||||
|
|
||||||
|
module.exports = path.Function;
|
1
core-js/es/function/name.js
Normal file
1
core-js/es/function/name.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require('../../modules/es.function.name');
|
4
core-js/es/function/virtual/bind.js
Normal file
4
core-js/es/function/virtual/bind.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.function.bind');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Function').bind;
|
4
core-js/es/function/virtual/index.js
Normal file
4
core-js/es/function/virtual/index.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require('../../../modules/es.function.bind');
|
||||||
|
var entryVirtual = require('../../../internals/entry-virtual');
|
||||||
|
|
||||||
|
module.exports = entryVirtual('Function');
|
205
core-js/es/index.js
Normal file
205
core-js/es/index.js
Normal file
|
@ -0,0 +1,205 @@
|
||||||
|
require('../modules/es.symbol');
|
||||||
|
require('../modules/es.symbol.async-iterator');
|
||||||
|
require('../modules/es.symbol.description');
|
||||||
|
require('../modules/es.symbol.has-instance');
|
||||||
|
require('../modules/es.symbol.is-concat-spreadable');
|
||||||
|
require('../modules/es.symbol.iterator');
|
||||||
|
require('../modules/es.symbol.match');
|
||||||
|
require('../modules/es.symbol.match-all');
|
||||||
|
require('../modules/es.symbol.replace');
|
||||||
|
require('../modules/es.symbol.search');
|
||||||
|
require('../modules/es.symbol.species');
|
||||||
|
require('../modules/es.symbol.split');
|
||||||
|
require('../modules/es.symbol.to-primitive');
|
||||||
|
require('../modules/es.symbol.to-string-tag');
|
||||||
|
require('../modules/es.symbol.unscopables');
|
||||||
|
require('../modules/es.object.assign');
|
||||||
|
require('../modules/es.object.create');
|
||||||
|
require('../modules/es.object.define-property');
|
||||||
|
require('../modules/es.object.define-properties');
|
||||||
|
require('../modules/es.object.entries');
|
||||||
|
require('../modules/es.object.freeze');
|
||||||
|
require('../modules/es.object.from-entries');
|
||||||
|
require('../modules/es.object.get-own-property-descriptor');
|
||||||
|
require('../modules/es.object.get-own-property-descriptors');
|
||||||
|
require('../modules/es.object.get-own-property-names');
|
||||||
|
require('../modules/es.object.get-prototype-of');
|
||||||
|
require('../modules/es.object.is');
|
||||||
|
require('../modules/es.object.is-extensible');
|
||||||
|
require('../modules/es.object.is-frozen');
|
||||||
|
require('../modules/es.object.is-sealed');
|
||||||
|
require('../modules/es.object.keys');
|
||||||
|
require('../modules/es.object.prevent-extensions');
|
||||||
|
require('../modules/es.object.seal');
|
||||||
|
require('../modules/es.object.set-prototype-of');
|
||||||
|
require('../modules/es.object.values');
|
||||||
|
require('../modules/es.object.to-string');
|
||||||
|
require('../modules/es.object.define-getter');
|
||||||
|
require('../modules/es.object.define-setter');
|
||||||
|
require('../modules/es.object.lookup-getter');
|
||||||
|
require('../modules/es.object.lookup-setter');
|
||||||
|
require('../modules/es.function.bind');
|
||||||
|
require('../modules/es.function.name');
|
||||||
|
require('../modules/es.function.has-instance');
|
||||||
|
require('../modules/es.array.from');
|
||||||
|
require('../modules/es.array.is-array');
|
||||||
|
require('../modules/es.array.of');
|
||||||
|
require('../modules/es.array.concat');
|
||||||
|
require('../modules/es.array.copy-within');
|
||||||
|
require('../modules/es.array.every');
|
||||||
|
require('../modules/es.array.fill');
|
||||||
|
require('../modules/es.array.filter');
|
||||||
|
require('../modules/es.array.find');
|
||||||
|
require('../modules/es.array.find-index');
|
||||||
|
require('../modules/es.array.flat');
|
||||||
|
require('../modules/es.array.flat-map');
|
||||||
|
require('../modules/es.array.for-each');
|
||||||
|
require('../modules/es.array.includes');
|
||||||
|
require('../modules/es.array.index-of');
|
||||||
|
require('../modules/es.array.join');
|
||||||
|
require('../modules/es.array.last-index-of');
|
||||||
|
require('../modules/es.array.map');
|
||||||
|
require('../modules/es.array.reduce');
|
||||||
|
require('../modules/es.array.reduce-right');
|
||||||
|
require('../modules/es.array.reverse');
|
||||||
|
require('../modules/es.array.slice');
|
||||||
|
require('../modules/es.array.some');
|
||||||
|
require('../modules/es.array.sort');
|
||||||
|
require('../modules/es.array.splice');
|
||||||
|
require('../modules/es.array.species');
|
||||||
|
require('../modules/es.array.unscopables.flat');
|
||||||
|
require('../modules/es.array.unscopables.flat-map');
|
||||||
|
require('../modules/es.array.iterator');
|
||||||
|
require('../modules/es.string.from-code-point');
|
||||||
|
require('../modules/es.string.raw');
|
||||||
|
require('../modules/es.string.code-point-at');
|
||||||
|
require('../modules/es.string.ends-with');
|
||||||
|
require('../modules/es.string.includes');
|
||||||
|
require('../modules/es.string.match');
|
||||||
|
require('../modules/es.string.match-all');
|
||||||
|
require('../modules/es.string.pad-end');
|
||||||
|
require('../modules/es.string.pad-start');
|
||||||
|
require('../modules/es.string.repeat');
|
||||||
|
require('../modules/es.string.replace');
|
||||||
|
require('../modules/es.string.search');
|
||||||
|
require('../modules/es.string.split');
|
||||||
|
require('../modules/es.string.starts-with');
|
||||||
|
require('../modules/es.string.trim');
|
||||||
|
require('../modules/es.string.trim-start');
|
||||||
|
require('../modules/es.string.trim-end');
|
||||||
|
require('../modules/es.string.iterator');
|
||||||
|
require('../modules/es.string.anchor');
|
||||||
|
require('../modules/es.string.big');
|
||||||
|
require('../modules/es.string.blink');
|
||||||
|
require('../modules/es.string.bold');
|
||||||
|
require('../modules/es.string.fixed');
|
||||||
|
require('../modules/es.string.fontcolor');
|
||||||
|
require('../modules/es.string.fontsize');
|
||||||
|
require('../modules/es.string.italics');
|
||||||
|
require('../modules/es.string.link');
|
||||||
|
require('../modules/es.string.small');
|
||||||
|
require('../modules/es.string.strike');
|
||||||
|
require('../modules/es.string.sub');
|
||||||
|
require('../modules/es.string.sup');
|
||||||
|
require('../modules/es.regexp.constructor');
|
||||||
|
require('../modules/es.regexp.exec');
|
||||||
|
require('../modules/es.regexp.flags');
|
||||||
|
require('../modules/es.regexp.to-string');
|
||||||
|
require('../modules/es.parse-int');
|
||||||
|
require('../modules/es.parse-float');
|
||||||
|
require('../modules/es.number.constructor');
|
||||||
|
require('../modules/es.number.epsilon');
|
||||||
|
require('../modules/es.number.is-finite');
|
||||||
|
require('../modules/es.number.is-integer');
|
||||||
|
require('../modules/es.number.is-nan');
|
||||||
|
require('../modules/es.number.is-safe-integer');
|
||||||
|
require('../modules/es.number.max-safe-integer');
|
||||||
|
require('../modules/es.number.min-safe-integer');
|
||||||
|
require('../modules/es.number.parse-float');
|
||||||
|
require('../modules/es.number.parse-int');
|
||||||
|
require('../modules/es.number.to-fixed');
|
||||||
|
require('../modules/es.number.to-precision');
|
||||||
|
require('../modules/es.math.acosh');
|
||||||
|
require('../modules/es.math.asinh');
|
||||||
|
require('../modules/es.math.atanh');
|
||||||
|
require('../modules/es.math.cbrt');
|
||||||
|
require('../modules/es.math.clz32');
|
||||||
|
require('../modules/es.math.cosh');
|
||||||
|
require('../modules/es.math.expm1');
|
||||||
|
require('../modules/es.math.fround');
|
||||||
|
require('../modules/es.math.hypot');
|
||||||
|
require('../modules/es.math.imul');
|
||||||
|
require('../modules/es.math.log10');
|
||||||
|
require('../modules/es.math.log1p');
|
||||||
|
require('../modules/es.math.log2');
|
||||||
|
require('../modules/es.math.sign');
|
||||||
|
require('../modules/es.math.sinh');
|
||||||
|
require('../modules/es.math.tanh');
|
||||||
|
require('../modules/es.math.to-string-tag');
|
||||||
|
require('../modules/es.math.trunc');
|
||||||
|
require('../modules/es.date.now');
|
||||||
|
require('../modules/es.date.to-json');
|
||||||
|
require('../modules/es.date.to-iso-string');
|
||||||
|
require('../modules/es.date.to-string');
|
||||||
|
require('../modules/es.date.to-primitive');
|
||||||
|
require('../modules/es.json.to-string-tag');
|
||||||
|
require('../modules/es.promise');
|
||||||
|
require('../modules/es.promise.all-settled');
|
||||||
|
require('../modules/es.promise.finally');
|
||||||
|
require('../modules/es.map');
|
||||||
|
require('../modules/es.set');
|
||||||
|
require('../modules/es.weak-map');
|
||||||
|
require('../modules/es.weak-set');
|
||||||
|
require('../modules/es.array-buffer.constructor');
|
||||||
|
require('../modules/es.array-buffer.is-view');
|
||||||
|
require('../modules/es.array-buffer.slice');
|
||||||
|
require('../modules/es.data-view');
|
||||||
|
require('../modules/es.typed-array.int8-array');
|
||||||
|
require('../modules/es.typed-array.uint8-array');
|
||||||
|
require('../modules/es.typed-array.uint8-clamped-array');
|
||||||
|
require('../modules/es.typed-array.int16-array');
|
||||||
|
require('../modules/es.typed-array.uint16-array');
|
||||||
|
require('../modules/es.typed-array.int32-array');
|
||||||
|
require('../modules/es.typed-array.uint32-array');
|
||||||
|
require('../modules/es.typed-array.float32-array');
|
||||||
|
require('../modules/es.typed-array.float64-array');
|
||||||
|
require('../modules/es.typed-array.from');
|
||||||
|
require('../modules/es.typed-array.of');
|
||||||
|
require('../modules/es.typed-array.copy-within');
|
||||||
|
require('../modules/es.typed-array.every');
|
||||||
|
require('../modules/es.typed-array.fill');
|
||||||
|
require('../modules/es.typed-array.filter');
|
||||||
|
require('../modules/es.typed-array.find');
|
||||||
|
require('../modules/es.typed-array.find-index');
|
||||||
|
require('../modules/es.typed-array.for-each');
|
||||||
|
require('../modules/es.typed-array.includes');
|
||||||
|
require('../modules/es.typed-array.index-of');
|
||||||
|
require('../modules/es.typed-array.iterator');
|
||||||
|
require('../modules/es.typed-array.join');
|
||||||
|
require('../modules/es.typed-array.last-index-of');
|
||||||
|
require('../modules/es.typed-array.map');
|
||||||
|
require('../modules/es.typed-array.reduce');
|
||||||
|
require('../modules/es.typed-array.reduce-right');
|
||||||
|
require('../modules/es.typed-array.reverse');
|
||||||
|
require('../modules/es.typed-array.set');
|
||||||
|
require('../modules/es.typed-array.slice');
|
||||||
|
require('../modules/es.typed-array.some');
|
||||||
|
require('../modules/es.typed-array.sort');
|
||||||
|
require('../modules/es.typed-array.subarray');
|
||||||
|
require('../modules/es.typed-array.to-locale-string');
|
||||||
|
require('../modules/es.typed-array.to-string');
|
||||||
|
require('../modules/es.reflect.apply');
|
||||||
|
require('../modules/es.reflect.construct');
|
||||||
|
require('../modules/es.reflect.define-property');
|
||||||
|
require('../modules/es.reflect.delete-property');
|
||||||
|
require('../modules/es.reflect.get');
|
||||||
|
require('../modules/es.reflect.get-own-property-descriptor');
|
||||||
|
require('../modules/es.reflect.get-prototype-of');
|
||||||
|
require('../modules/es.reflect.has');
|
||||||
|
require('../modules/es.reflect.is-extensible');
|
||||||
|
require('../modules/es.reflect.own-keys');
|
||||||
|
require('../modules/es.reflect.prevent-extensions');
|
||||||
|
require('../modules/es.reflect.set');
|
||||||
|
require('../modules/es.reflect.set-prototype-of');
|
||||||
|
|
||||||
|
module.exports = require('../internals/path');
|
8
core-js/es/instance/bind.js
Normal file
8
core-js/es/instance/bind.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var bind = require('../function/virtual/bind');
|
||||||
|
|
||||||
|
var FunctionPrototype = Function.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.bind;
|
||||||
|
return it === FunctionPrototype || (it instanceof Function && own === FunctionPrototype.bind) ? bind : own;
|
||||||
|
};
|
9
core-js/es/instance/code-point-at.js
Normal file
9
core-js/es/instance/code-point-at.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
var codePointAt = require('../string/virtual/code-point-at');
|
||||||
|
|
||||||
|
var StringPrototype = String.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.codePointAt;
|
||||||
|
return typeof it === 'string' || it === StringPrototype
|
||||||
|
|| (it instanceof String && own === StringPrototype.codePointAt) ? codePointAt : own;
|
||||||
|
};
|
8
core-js/es/instance/concat.js
Normal file
8
core-js/es/instance/concat.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var concat = require('../array/virtual/concat');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.concat;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.concat) ? concat : own;
|
||||||
|
};
|
8
core-js/es/instance/copy-within.js
Normal file
8
core-js/es/instance/copy-within.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var copyWithin = require('../array/virtual/copy-within');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.copyWithin;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.copyWithin) ? copyWithin : own;
|
||||||
|
};
|
9
core-js/es/instance/ends-with.js
Normal file
9
core-js/es/instance/ends-with.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
var endsWith = require('../string/virtual/ends-with');
|
||||||
|
|
||||||
|
var StringPrototype = String.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.endsWith;
|
||||||
|
return typeof it === 'string' || it === StringPrototype
|
||||||
|
|| (it instanceof String && own === StringPrototype.endsWith) ? endsWith : own;
|
||||||
|
};
|
8
core-js/es/instance/entries.js
Normal file
8
core-js/es/instance/entries.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var entries = require('../array/virtual/entries');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.entries;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.entries) ? entries : own;
|
||||||
|
};
|
8
core-js/es/instance/every.js
Normal file
8
core-js/es/instance/every.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var every = require('../array/virtual/every');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.every;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.every) ? every : own;
|
||||||
|
};
|
8
core-js/es/instance/fill.js
Normal file
8
core-js/es/instance/fill.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var fill = require('../array/virtual/fill');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.fill;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.fill) ? fill : own;
|
||||||
|
};
|
8
core-js/es/instance/filter.js
Normal file
8
core-js/es/instance/filter.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var filter = require('../array/virtual/filter');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.filter;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.filter) ? filter : own;
|
||||||
|
};
|
8
core-js/es/instance/find-index.js
Normal file
8
core-js/es/instance/find-index.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var findIndex = require('../array/virtual/find-index');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.findIndex;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.findIndex) ? findIndex : own;
|
||||||
|
};
|
8
core-js/es/instance/find.js
Normal file
8
core-js/es/instance/find.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var find = require('../array/virtual/find');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.find;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.find) ? find : own;
|
||||||
|
};
|
7
core-js/es/instance/flags.js
Normal file
7
core-js/es/instance/flags.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
var flags = require('../regexp/flags');
|
||||||
|
|
||||||
|
var RegExpPrototype = RegExp.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
return (it === RegExpPrototype || it instanceof RegExp) && !('flags' in it) ? flags(it) : it.flags;
|
||||||
|
};
|
8
core-js/es/instance/flat-map.js
Normal file
8
core-js/es/instance/flat-map.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var flatMap = require('../array/virtual/flat-map');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.flatMap;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.flatMap) ? flatMap : own;
|
||||||
|
};
|
8
core-js/es/instance/flat.js
Normal file
8
core-js/es/instance/flat.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var flat = require('../array/virtual/flat');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.flat;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.flat) ? flat : own;
|
||||||
|
};
|
8
core-js/es/instance/for-each.js
Normal file
8
core-js/es/instance/for-each.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var forEach = require('../array/virtual/for-each');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.forEach;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.forEach) ? forEach : own;
|
||||||
|
};
|
13
core-js/es/instance/includes.js
Normal file
13
core-js/es/instance/includes.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
var arrayIncludes = require('../array/virtual/includes');
|
||||||
|
var stringIncludes = require('../string/virtual/includes');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
var StringPrototype = String.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.includes;
|
||||||
|
if (it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.includes)) return arrayIncludes;
|
||||||
|
if (typeof it === 'string' || it === StringPrototype || (it instanceof String && own === StringPrototype.includes)) {
|
||||||
|
return stringIncludes;
|
||||||
|
} return own;
|
||||||
|
};
|
8
core-js/es/instance/index-of.js
Normal file
8
core-js/es/instance/index-of.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var indexOf = require('../array/virtual/index-of');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.indexOf;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.indexOf) ? indexOf : own;
|
||||||
|
};
|
8
core-js/es/instance/keys.js
Normal file
8
core-js/es/instance/keys.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var keys = require('../array/virtual/keys');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.keys;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.keys) ? keys : own;
|
||||||
|
};
|
8
core-js/es/instance/last-index-of.js
Normal file
8
core-js/es/instance/last-index-of.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var lastIndexOf = require('../array/virtual/last-index-of');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.lastIndexOf;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.lastIndexOf) ? lastIndexOf : own;
|
||||||
|
};
|
8
core-js/es/instance/map.js
Normal file
8
core-js/es/instance/map.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
var map = require('../array/virtual/map');
|
||||||
|
|
||||||
|
var ArrayPrototype = Array.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.map;
|
||||||
|
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.map) ? map : own;
|
||||||
|
};
|
9
core-js/es/instance/match-all.js
Normal file
9
core-js/es/instance/match-all.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
var matchAll = require('../string/virtual/match-all');
|
||||||
|
|
||||||
|
var StringPrototype = String.prototype;
|
||||||
|
|
||||||
|
module.exports = function (it) {
|
||||||
|
var own = it.matchAll;
|
||||||
|
return typeof it === 'string' || it === StringPrototype
|
||||||
|
|| (it instanceof String && own === StringPrototype.matchAll) ? matchAll : own;
|
||||||
|
};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue