Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.negate

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.negate - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

index.js
/**
* 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 @@ }

7

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc