feat:node-modules
This commit is contained in:
15
node_modules/core-js/es/instance/at.js
generated
vendored
Normal file
15
node_modules/core-js/es/instance/at.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var arrayMethod = require('../array/virtual/at');
|
||||
var stringMethod = require('../string/virtual/at');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
var StringPrototype = String.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.at;
|
||||
if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.at)) return arrayMethod;
|
||||
if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.at)) {
|
||||
return stringMethod;
|
||||
} return own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/bind.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/bind.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../function/virtual/bind');
|
||||
|
||||
var FunctionPrototype = Function.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.bind;
|
||||
return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.bind) ? method : own;
|
||||
};
|
||||
11
node_modules/core-js/es/instance/code-point-at.js
generated
vendored
Normal file
11
node_modules/core-js/es/instance/code-point-at.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../string/virtual/code-point-at');
|
||||
|
||||
var StringPrototype = String.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.codePointAt;
|
||||
return typeof it == 'string' || it === StringPrototype
|
||||
|| (isPrototypeOf(StringPrototype, it) && own === StringPrototype.codePointAt) ? method : own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/concat.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/concat.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/concat');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.concat;
|
||||
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/copy-within.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/copy-within.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/copy-within');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.copyWithin;
|
||||
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.copyWithin) ? method : own;
|
||||
};
|
||||
11
node_modules/core-js/es/instance/ends-with.js
generated
vendored
Normal file
11
node_modules/core-js/es/instance/ends-with.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../string/virtual/ends-with');
|
||||
|
||||
var StringPrototype = String.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.endsWith;
|
||||
return typeof it == 'string' || it === StringPrototype
|
||||
|| (isPrototypeOf(StringPrototype, it) && own === StringPrototype.endsWith) ? method : own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/entries.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/entries.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/entries');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.entries;
|
||||
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.entries) ? method : own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/every.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/every.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/every');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.every;
|
||||
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.every) ? method : own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/fill.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/fill.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/fill');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.fill;
|
||||
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own;
|
||||
};
|
||||
10
node_modules/core-js/es/instance/filter.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/filter.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/filter');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.filter;
|
||||
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user