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

dedupe

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dedupe - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

package.json
{
"name": "dedupe",
"description": "easy deduplication of array values",
"version": "3.0.2",
"version": "3.0.3",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -8,3 +8,3 @@ # dedupe [![Build Status](https://travis-ci.org/seriousManual/dedupe.png)](https://travis-ci.org/seriousManual/dedupe)

````bash
$ npm install dedupe
npm install dedupe
````

@@ -15,2 +15,3 @@

### primitive types
```javascript

@@ -27,4 +28,6 @@ var dedupe = require('dedupe')

### complex types
Here the string representation of the object is used for comparism. Internal `JSON.stringify` is used for serialization.
That means that `{}` is considered egal to `{}`.
That means that `{}` is considered equal to `{}`.
```javascript

@@ -41,3 +44,5 @@ var dedupe = require('dedupe')

### complex types types with custom hasher
You can use a custom hasher to overwrite the default behaviour.
```javascript

@@ -44,0 +49,0 @@ var dedupe = require('dedupe')

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