feat:node-modules
This commit is contained in:
1
node_modules/core-js/internals/README.md
generated
vendored
Normal file
1
node_modules/core-js/internals/README.md
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This folder contains internal parts of `core-js` like helpers.
|
||||
11
node_modules/core-js/internals/a-callable.js
generated
vendored
Normal file
11
node_modules/core-js/internals/a-callable.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var isCallable = require('../internals/is-callable');
|
||||
var tryToString = require('../internals/try-to-string');
|
||||
|
||||
var $TypeError = TypeError;
|
||||
|
||||
// `Assert: IsCallable(argument) is true`
|
||||
module.exports = function (argument) {
|
||||
if (isCallable(argument)) return argument;
|
||||
throw new $TypeError(tryToString(argument) + ' is not a function');
|
||||
};
|
||||
11
node_modules/core-js/internals/a-constructor.js
generated
vendored
Normal file
11
node_modules/core-js/internals/a-constructor.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var isConstructor = require('../internals/is-constructor');
|
||||
var tryToString = require('../internals/try-to-string');
|
||||
|
||||
var $TypeError = TypeError;
|
||||
|
||||
// `Assert: IsConstructor(argument) is true`
|
||||
module.exports = function (argument) {
|
||||
if (isConstructor(argument)) return argument;
|
||||
throw new $TypeError(tryToString(argument) + ' is not a constructor');
|
||||
};
|
||||
9
node_modules/core-js/internals/a-data-view.js
generated
vendored
Normal file
9
node_modules/core-js/internals/a-data-view.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
var classof = require('../internals/classof');
|
||||
|
||||
var $TypeError = TypeError;
|
||||
|
||||
module.exports = function (argument) {
|
||||
if (classof(argument) === 'DataView') return argument;
|
||||
throw new $TypeError('Argument is not a DataView');
|
||||
};
|
||||
8
node_modules/core-js/internals/a-map.js
generated
vendored
Normal file
8
node_modules/core-js/internals/a-map.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
var has = require('../internals/map-helpers').has;
|
||||
|
||||
// Perform ? RequireInternalSlot(M, [[MapData]])
|
||||
module.exports = function (it) {
|
||||
has(it);
|
||||
return it;
|
||||
};
|
||||
10
node_modules/core-js/internals/a-possible-prototype.js
generated
vendored
Normal file
10
node_modules/core-js/internals/a-possible-prototype.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPossiblePrototype = require('../internals/is-possible-prototype');
|
||||
|
||||
var $String = String;
|
||||
var $TypeError = TypeError;
|
||||
|
||||
module.exports = function (argument) {
|
||||
if (isPossiblePrototype(argument)) return argument;
|
||||
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
||||
};
|
||||
8
node_modules/core-js/internals/a-set.js
generated
vendored
Normal file
8
node_modules/core-js/internals/a-set.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
var has = require('../internals/set-helpers').has;
|
||||
|
||||
// Perform ? RequireInternalSlot(M, [[SetData]])
|
||||
module.exports = function (it) {
|
||||
has(it);
|
||||
return it;
|
||||
};
|
||||
7
node_modules/core-js/internals/a-string.js
generated
vendored
Normal file
7
node_modules/core-js/internals/a-string.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
var $TypeError = TypeError;
|
||||
|
||||
module.exports = function (argument) {
|
||||
if (typeof argument == 'string') return argument;
|
||||
throw new $TypeError('Argument is not a string');
|
||||
};
|
||||
8
node_modules/core-js/internals/a-weak-map.js
generated
vendored
Normal file
8
node_modules/core-js/internals/a-weak-map.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
var has = require('../internals/weak-map-helpers').has;
|
||||
|
||||
// Perform ? RequireInternalSlot(M, [[WeakMapData]])
|
||||
module.exports = function (it) {
|
||||
has(it);
|
||||
return it;
|
||||
};
|
||||
8
node_modules/core-js/internals/a-weak-set.js
generated
vendored
Normal file
8
node_modules/core-js/internals/a-weak-set.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
var has = require('../internals/weak-set-helpers').has;
|
||||
|
||||
// Perform ? RequireInternalSlot(M, [[WeakSetData]])
|
||||
module.exports = function (it) {
|
||||
has(it);
|
||||
return it;
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user