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

set-component

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

set-component - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

14

build/build.js

@@ -258,3 +258,4 @@ /**

Set.prototype.values = function(){
Set.prototype.values =
Set.prototype.toJSON = function(){
return this.vals;

@@ -346,3 +347,14 @@ };

/**
* Check if the set is empty.
*
* @return {Boolean}
* @api public
*/
Set.prototype.isEmpty = function(){
return 0 == this.vals.length;
};
});

@@ -349,0 +361,0 @@ require.alias("component-indexof/index.js", "set/deps/indexof/index.js");

2

component.json
{
"name": "set",
"version": "0.0.2",
"version": "0.0.3",
"description": "set container",

@@ -5,0 +5,0 @@ "keywords": ["set"],

0.0.3 / 2012-09-18
==================
* add .toJSON()
* add .isEmpty()
0.0.2 / 2012-09-18

@@ -3,0 +9,0 @@ ==================

@@ -62,3 +62,4 @@

Set.prototype.values = function(){
Set.prototype.values =
Set.prototype.toJSON = function(){
return this.vals;

@@ -150,1 +151,12 @@ };

/**
* Check if the set is empty.
*
* @return {Boolean}
* @api public
*/
Set.prototype.isEmpty = function(){
return 0 == this.vals.length;
};
{
"name": "set-component",
"version": "0.0.2",
"version": "0.0.3",
"description": "Set container",

@@ -5,0 +5,0 @@ "keywords": ["set"],

@@ -54,2 +54,4 @@

Aliased as `.toJSON()`.
### Set#size()

@@ -63,2 +65,6 @@

### Set#isEmpty()
Check if the set is empty.
### Set#union(set)

@@ -65,0 +71,0 @@

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