lodash.negate
Advanced tools
Comparing version 3.0.0 to 3.0.1
/** | ||
* lodash 3.0.0 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -9,3 +9,2 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
*/ | ||
var isFunction = require('lodash.isfunction'); | ||
@@ -35,3 +34,3 @@ /** Used as the `TypeError` message for "Functions" methods. */ | ||
function negate(predicate) { | ||
if (!isFunction(predicate)) { | ||
if (typeof predicate != 'function') { | ||
throw new TypeError(FUNC_ERROR_TEXT); | ||
@@ -38,0 +37,0 @@ } |
{ | ||
"name": "lodash.negate", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "The modern build of lodash’s `_.negate` as a module.", | ||
@@ -18,6 +18,3 @@ "homepage": "https://lodash.com/", | ||
"repository": "lodash/lodash", | ||
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, | ||
"dependencies": { | ||
"lodash.isfunction": "^3.0.0" | ||
} | ||
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.negate v3.0.0 | ||
# lodash.negate v3.0.1 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.negate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#negate) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.negate) for more details. | ||
See the [documentation](https://lodash.com/docs#negate) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.negate) for more details. |
0
3902
38
- Removedlodash.isfunction@^3.0.0
- Removedlodash.isfunction@3.0.9(transitive)