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

ampersand-collection

Package Overview
Dependencies
Maintainers
7
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand-collection - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

18

ampersand-collection.js

@@ -169,4 +169,18 @@ var AmpersandEvents = require('ampersand-events');

if (query == null) return;
var index = this._indexes[indexName || this.mainIndex];
return (index && (index[query] || index[query[this.mainIndex]])) || this._indexes.cid[query] || this._indexes.cid[query.cid];
var collectionMainIndex = this.mainIndex;
var index = this._indexes[indexName || collectionMainIndex];
return (
(
index && (
index[query] || (
query[collectionMainIndex] !== undefined &&
index[query[collectionMainIndex]]
)
)
) ||
this._indexes.cid[query] ||
this._indexes.cid[query.cid]
);
},

@@ -173,0 +187,0 @@

8

package.json
{
"name": "ampersand-collection",
"version": "2.0.1",
"version": "2.0.2",
"author": "Henrik Joreteg <henrik@andyet.net>",

@@ -18,7 +18,7 @@ "bugs": {

"devDependencies": {
"ampersand-state": "^5.0.1",
"jshint": "^2.9.1",
"ampersand-state": "^5.0.3",
"jshint": "^2.9.5",
"phantomjs": "^2.1.7",
"precommit-hook": "^3.0.0",
"tape": "^4.5.1",
"tape": "^4.8.0",
"zuul": "^3.9.0"

@@ -25,0 +25,0 @@ },

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