Socket
Socket
Sign inDemoInstall

sift

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sift - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

41

package.json
{
"name": "sift",
"description": "mongodb query style array filtering",
"version": "0.0.1",
"repository": {
},
"engines": {
},
"dependencies": {
},
"devDependencies": {
"vows":"*",
"underscore":"*",
"colors":"*",
"benchmark":"*",
"express":"*",
"validator":"*"
},
"main":"./sift.js",
"scripts": {
"test": "vows --spec"
}
}
"name": "sift",
"description": "mongodb query style array filtering",
"version": "0.0.2",
"repository": {},
"engines": {},
"dependencies": {},
"devDependencies": {
"vows": "*",
"underscore": "*",
"colors": "*",
"benchmark": "*",
"express": "*",
"validator": "*"
},
"main": "./sift.js",
"scripts": {
"test": "vows --spec"
}
}

@@ -173,3 +173,3 @@ ## MongoDB inspired array filtering [![Build Status](https://secure.travis-ci.org/crcn/sift.js.png)](https://secure.travis-ci.org/crcn/sift.js)

Checks if query != value. Note that **$eq can be omitted**. For **$eq**, and **$neq**
Checks if query == value. Note that **$eq can be omitted**. For **$eq**, and **$neq**

@@ -190,3 +190,3 @@ ```javascript

Checks if query == value.
Checks if query != value.

@@ -193,0 +193,0 @@ ```javascript

@@ -299,4 +299,6 @@ /*

for(var i = a.length; i--;) {
var i = a.length, n = i;
for(; i--;) {
if(test(a[i], b)) {

@@ -310,3 +312,3 @@

return false;
return !n || false;

@@ -320,4 +322,5 @@ },

var i = a.length, n = i;
for(var i = a.length; i--;) {
for(; i--;) {

@@ -332,3 +335,3 @@ if(!test(a[i], b)) {

return false;
return !n || false;

@@ -335,0 +338,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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