You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

es6set-operations

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

es6set-operations - npm Package Compare versions

Comparing version

to
0.0.4

4

lib/index.js

@@ -5,3 +5,3 @@ var Set = require('es6-set');

function intersection(set, other) {
return new Set(other.toArray().filter(function(value) {
return new Set(toArray(other).filter(function(value) {
return set.has(value);

@@ -14,3 +14,3 @@ }));

function difference(set, other) {
return new Set(other.toArray().filter(function(value) {
return new Set(toArray(other).filter(function(value) {
return !set.has(value);

@@ -17,0 +17,0 @@ }));

{
"name": "es6set-operations",
"version": "0.0.3",
"version": "0.0.4",
"description": "Set operations for ES6 sets",

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