Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.1 to 1.0.2

8

collectionize.js

@@ -134,5 +134,3 @@ (function () {

self.db[self.db.length] = obj;
if (obj && obj.id) {
self.idIndex[obj.id + ''] = obj;
}
_addToIndex(obj);
self.trigger('added', obj);

@@ -190,3 +188,5 @@

function _resetIndex() {
self.idIndex = {};
nativeEach(self.idIndex, function (v, k) {
self.idIndex[k] = null;
});
self.each(function (obj) {

@@ -193,0 +193,0 @@ _addToIndex(obj);

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

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

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