npm audit fix

This commit is contained in:
Timothy Clem
2019-09-30 10:04:01 -07:00
parent caa2e9e5b6
commit 63b90beb0c
7411 changed files with 1868644 additions and 6 deletions

22
node_modules/lodash/_baseSetToString.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
var constant = require('./constant'),
defineProperty = require('./_defineProperty'),
identity = require('./identity');
/**
* The base implementation of `setToString` without support for hot loop shorting.
*
* @private
* @param {Function} func The function to modify.
* @param {Function} string The `toString` result.
* @returns {Function} Returns `func`.
*/
var baseSetToString = !defineProperty ? identity : function(func, string) {
return defineProperty(func, 'toString', {
'configurable': true,
'enumerable': false,
'value': constant(string),
'writable': true
});
};
module.exports = baseSetToString;