New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

any

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any - npm Package Compare versions

Comparing version 0.1.0 to 0.1.2

bower.json

3

.verbrc.md
# {%= name %} {%= badge("fury") %}
> {%= description %}

@@ -29,3 +28,3 @@

## Install
{%= include("install") %}
{%= include("install-npm", {save: true}) %}

@@ -32,0 +31,0 @@ ## Run tests

@@ -23,2 +23,3 @@ /*!

// object key
if (typeof fn === 'string') {

@@ -45,3 +46,3 @@ if (value.hasOwnProperty(fn)) {

// objects
// object properties/values
} else {

@@ -48,0 +49,0 @@ forOwn(value, function (val, key) {

{
"name": "any",
"description": "Checks if the callback returns a truthy value for any element in a collection, or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection. ",
"version": "0.1.0",
"description": "Returns `true` if a value exists in the given string, array or object, or if a callback is passed checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection.",
"version": "0.1.2",
"homepage": "https://github.com/jonschlinkert/any",

@@ -34,3 +34,3 @@ "author": {

"verb": ">= 0.2.6",
"verb-tag-jscomments": ">= 0.2.0"
"verb-tag-jscomments": "^0.2.2"
},

@@ -87,2 +87,2 @@ "keywords": [

}
}
}
# any [![NPM version](https://badge.fury.io/js/any.svg)](http://badge.fury.io/js/any)
> Returns `true` if a value exists in the given string, array or object, or if a callback is passed checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection.
> Checks if the callback returns a truthy value for any element in a collection, or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection.
## Usage

@@ -30,6 +29,6 @@

## Install
#### Install with [npm](npmjs.org):
#### Install with [npm](npmjs.org)
```bash
npm i any --save-dev
npm i any --save
```

@@ -56,2 +55,2 @@

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 08, 2014._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 04, 2014._
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