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.1.1 to 1.1.2

10

collectionize.js

@@ -29,5 +29,7 @@ (function () {

if (_.isPlainObject(obj)) {
return eachObject(obj, cb);
} else if (_.isArray(obj) || _.isString(obj)) {
return eachArray(obj, cb);
eachObject(obj, cb);
} else if (_.isArray(obj)) {
obj.forEach(cb);
} else if (_.isString(obj)) {
eachCharacter(obj, cb);
}

@@ -37,3 +39,3 @@ }

function eachArray(obj, cb) {
function eachCharacter(obj, cb) {
var i = 0, max = obj.length;

@@ -40,0 +42,0 @@ for (; i < max; i++) {

2

package.json
{
"name": "collectionize",
"description": "A lightweight JS model/collection library.",
"version": "1.1.1",
"version": "1.1.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