feat:node-modules
This commit is contained in:
15
node_modules/core-js/full/instance/at.js
generated
vendored
Normal file
15
node_modules/core-js/full/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;
|
||||
};
|
||||
4
node_modules/core-js/full/instance/bind.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/bind.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/bind');
|
||||
|
||||
module.exports = parent;
|
||||
4
node_modules/core-js/full/instance/code-point-at.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/code-point-at.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/code-point-at');
|
||||
|
||||
module.exports = parent;
|
||||
11
node_modules/core-js/full/instance/code-points.js
generated
vendored
Normal file
11
node_modules/core-js/full/instance/code-points.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-points');
|
||||
|
||||
var StringPrototype = String.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.codePoints;
|
||||
return typeof it == 'string' || it === StringPrototype
|
||||
|| (isPrototypeOf(StringPrototype, it) && own === StringPrototype.codePoints) ? method : own;
|
||||
};
|
||||
4
node_modules/core-js/full/instance/concat.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/concat.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/concat');
|
||||
|
||||
module.exports = parent;
|
||||
4
node_modules/core-js/full/instance/copy-within.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/copy-within.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/copy-within');
|
||||
|
||||
module.exports = parent;
|
||||
10
node_modules/core-js/full/instance/demethodize.js
generated
vendored
Normal file
10
node_modules/core-js/full/instance/demethodize.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../function/virtual/demethodize');
|
||||
|
||||
var FunctionPrototype = Function.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it.demethodize;
|
||||
return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.demethodize) ? method : own;
|
||||
};
|
||||
4
node_modules/core-js/full/instance/ends-with.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/ends-with.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/ends-with');
|
||||
|
||||
module.exports = parent;
|
||||
4
node_modules/core-js/full/instance/entries.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/entries.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/entries');
|
||||
|
||||
module.exports = parent;
|
||||
4
node_modules/core-js/full/instance/every.js
generated
vendored
Normal file
4
node_modules/core-js/full/instance/every.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
var parent = require('../../actual/instance/every');
|
||||
|
||||
module.exports = parent;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user