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

array-filter-unique

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-filter-unique - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

3

dist/index.js

@@ -5,2 +5,5 @@ "use strict";

function arrayFilterUnique(selector = o => String(o)) {
if (arguments.length > 1) {
throw new Error('array-filter-unique has to be called as a function like `array.filter(arrayFilterUnique(<optional arg>))`');
}
const seen = {};

@@ -7,0 +10,0 @@ return (element) => {

19

package.json
{
"name": "array-filter-unique",
"version": "2.1.0",
"version": "2.2.0",
"description": "JavaScript array.filter() compatible unique filter",

@@ -13,3 +13,3 @@ "license": "MIT",

"engines": {
"node": ">=6"
"node": ">=8"
},

@@ -36,9 +36,10 @@ "scripts": {

"devDependencies": {
"@sindresorhus/tsconfig": "^0.3.0",
"@types/node": "^11.9.0",
"@typescript-eslint/eslint-plugin": "^1.3.0",
"ava": "^1.3.1",
"del-cli": "^1.1.0",
"eslint-config-xo-typescript": "^0.9.0",
"nyc": "^13.3.0",
"@sindresorhus/tsconfig": "^0.4.0",
"@types/node": "^12.0.7",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"ava": "^2.1.0",
"del-cli": "^2.0.0",
"eslint-config-xo-typescript": "^0.15.0",
"nyc": "^14.1.1",
"ts-node": "^8.0.2",

@@ -45,0 +46,0 @@ "typescript": "^3.3.3",

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