Socket
Socket
Sign inDemoInstall

array-uniq

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 1.0.0

3

index.js
'use strict';
// we have 3 implementations for unique, written in increasing order of efficiency
// there's 3 implementations written in increasing order of efficiency

@@ -40,3 +40,2 @@ // 1 - no Set type is defined

// export the relevant implementation
if ('Set' in global) {

@@ -43,0 +42,0 @@ if (typeof Set.prototype.forEach === 'function') {

{
"name": "array-uniq",
"version": "0.1.1",
"version": "1.0.0",
"description": "Create an array without duplicates",

@@ -33,4 +33,5 @@ "license": "MIT",

"es6-set": "^0.1.0",
"mocha": "*"
"mocha": "*",
"require-uncached": "^1.0.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc