You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

collectionize

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collectionize - npm Package Compare versions

Comparing version

to
0.3.3

8

collectionize.js

@@ -64,5 +64,4 @@ (function () {

}
arr.splice(newIndex, 0, arr.splice(oldIndex, 1)[0]);
return arr;
}

@@ -149,3 +148,3 @@

self.move = function (oldIndex, newIndex) {
self.db = arrayMove(self.db, oldIndex, newIndex);
arrayMove(self.db, oldIndex, newIndex);
self.trigger('moved');

@@ -190,4 +189,3 @@ };

self.remove = function (query) {
var removed = self.filter(query);
self.db = self.reject(query);
var removed = _.remove(self.db, query);
nativeEach(removed, function (obj) {

@@ -194,0 +192,0 @@ self.trigger('removed', obj);

{
"name": "collectionize",
"description": "A lightweight JS model/collection library.",
"version": "0.3.2",
"version": "0.3.3",
"repository": "https://github.com/andrewchilds/collectionize.git",

@@ -6,0 +6,0 @@ "author": {