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

ampersand-collection-filterable

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand-collection-filterable - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

18

ampersand-collection-filterable.js

@@ -1,8 +0,7 @@

var _debounce = require('amp-debounce'),
_filter = require('amp-filter'),
_union = require('amp-union'),
_difference = require('amp-difference'),
_each = require('amp-each'),
raf = require('component-raf'),
debug = require('debug')('ampersand-collection-filterable');
var _debounce = require('lodash.debounce');
var _filter = require('lodash.filter');
var _union = require('lodash.union');
var _difference = require('lodash.difference');
var _each = require('lodash.foreach');
var debug = require('debug')('ampersand-collection-filterable');

@@ -13,8 +12,5 @@ module.exports = {

if (this._filtersListening === false) {
// this.listenTo(this, 'add sync remove reset', this._refilter);
this.listenTo(this, 'add', _debounce(this._refilterForAdd));
this.listenTo(this, 'remove', _debounce(this._refilterForRemove));
this.listenTo(this, 'reset sync', _debounce(this._refilterAll));
this._filtersListening = true;

@@ -73,3 +69,3 @@ }

_lengthChanged: function() {
raf(function() {
process.nextTick(function() {
this.trigger('change:length', this.length);

@@ -76,0 +72,0 @@ }.bind(this));

@@ -5,3 +5,3 @@ {

"author": "Lucas Hrabovsky <hrabovsky.lucas@gmail.com>",
"version": "0.0.1",
"version": "0.1.0",
"bugs": "https://github.com/mongodb-js/ampersand-collection-filterable/issues",

@@ -33,23 +33,22 @@ "homepage": "https://github.com/mongodb-js/ampersand-collection-filterable",

"dependencies": {
"amp-debounce": "^1.0.1",
"amp-difference": "^1.0.1",
"amp-each": "^1.0.1",
"amp-filter": "^1.0.1",
"amp-union": "^1.0.0",
"component-raf": "^1.2.0",
"debug": "^2.1.2"
"debug": "^2.1.3",
"lodash.debounce": "^3.0.3",
"lodash.difference": "^3.1.0",
"lodash.filter": "^3.1.0",
"lodash.foreach": "^3.0.3",
"lodash.union": "^3.1.0"
},
"devDependencies": {
"ampersand-collection": "^1.4.1",
"ampersand-state": "^4.4.5",
"dependency-check": "^2.2.2",
"ampersand-collection": "^1.4.5",
"ampersand-state": "^4.5.3",
"dependency-check": "^2.4.0",
"esformatter-braces": "^1.0.0",
"esformatter-quotes": "^1.0.0",
"esformatter-quotes": "^1.0.1",
"esformatter-semicolons": "^1.0.3",
"jsfmt": "^0.4.1",
"jshint": "^2.6.3",
"mocha": "^2.1.0",
"phantomjs": "^1.9.15",
"zuul": "^1.19.0"
"jshint": "^2.7.0",
"mocha": "^2.2.4",
"phantomjs": "^1.9.16",
"zuul": "^2.1.1"
}
}
# ampersand-collection-filterable
[![build status](https://secure.travis-ci.org/imlucas/ampersand-collection-filterable.png)](http://travis-ci.org/imlucas/ampersand-collection-filterable)
[![build status](https://secure.travis-ci.org/mongodb-js/ampersand-collection-filterable.png)](http://travis-ci.org/mongodb-js/ampersand-collection-filterable)

@@ -5,0 +5,0 @@ Simple filterable ampersand collections

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