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

collect.js

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collect.js - npm Package Compare versions

Comparing version 3.0.32 to 3.0.33

5

dist/index.js

@@ -86,4 +86,7 @@ 'use strict';

module.exports = function collect(collection) {
module.exports = function (collection) {
return new Collection(collection);
};
module.exports.default = function (collection) {
return new Collection(collection);
};

4

index.d.ts
type Operator = "===" | "==" | "!==" | "!=" | "<>" | ">" | "<" | ">=" | "<="
interface CollectionInstance<Item> {
items: Item[] | Object
/**

@@ -865,2 +863,4 @@ * The unique method returns all of the unique items in the collection.

macro(name: string, fn: Function): void;
[macroFn: string]: Function;
}

@@ -867,0 +867,0 @@

{
"name": "collect.js",
"version": "3.0.32",
"version": "3.0.33",
"description": "Convenient and dependency free wrapper for working with arrays and objects.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -84,4 +84,3 @@ function Collection(collection) {

module.exports = function collect(collection) {
return new Collection(collection);
};
module.exports = collection => new Collection(collection);
module.exports.default = collection => new Collection(collection);

Sorry, the diff of this file is not supported yet

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