Socket
Socket
Sign inDemoInstall

unordered-set

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unordered-set - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

2

index.js

@@ -18,3 +18,3 @@ exports.add = add

function remove (list, item) {
if (!has(list, item)) return item
if (!has(list, item)) return null

@@ -21,0 +21,0 @@ var last = list.pop()

{
"name": "unordered-set",
"version": "1.1.0",
"version": "2.0.0",
"description": "A couple of functions that make it easy to maintain an unordered set as an array in an efficient way",

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

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