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

@mintlab/kitchen-sink

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintlab/kitchen-sink - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

9

array.js

@@ -39,2 +39,10 @@ const expose = require('./expose');

function toggleItem(array, item) {
if(array.includes(item)) {
return array.filter(thisId => thisId !== item);
}
return [...array, item];
}
module.exports = expose({

@@ -44,2 +52,3 @@ asArray,

isPopulatedArray,
toggleItem,
});

2

index.js

@@ -7,2 +7,3 @@ // Modules exposed in the entry file are for DLL pre-builds.

isPopulatedArray,
toggleItem,
} = require('./array');

@@ -60,3 +61,4 @@ const dictionary = require('./dictionary');

removeFromArray,
toggleItem,
unique,
});

2

package.json
{
"name": "@mintlab/kitchen-sink",
"version": "2.2.0",
"version": "2.3.0",
"license": "EUPL-1.1",

@@ -5,0 +5,0 @@ "description": "Mintlab utility functions.",

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