Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.0.3 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",

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