Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:12:25 -07:00
parent 39e2b943dc
commit a3710bba34
116 changed files with 710 additions and 706 deletions

View File

@@ -1,4 +1,4 @@
var identity = require('./identity'),
var castFunction = require('./_castFunction'),
partial = require('./partial');
/**
@@ -24,8 +24,7 @@ var identity = require('./identity'),
* // => '<p>fred, barney, &amp; pebbles</p>'
*/
function wrap(value, wrapper) {
wrapper = wrapper == null ? identity : wrapper;
return partial(wrapper, value);
return partial(castFunction(wrapper), value);
}
module.exports = wrap;