New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

enum

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enum - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

enum-2.5.0.js

11

dist/enum.js

@@ -347,2 +347,13 @@ "use strict";

Enum.prototype[Symbol.iterator] = function () {
var _this = this;
var index = 0;
return {
next: function () {
return index < _this.enums.length ? { done: false, value: _this.enums[index++] } : { done: true };
}
};
};
return Enum;

@@ -349,0 +360,0 @@ })();

2

package.json
{
"author": "adrai",
"name": "enum",
"version": "2.4.0",
"version": "2.5.0",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -16,5 +16,2 @@ # Introduction

# Dependencies
No dependencies!
# Download

@@ -25,4 +22,4 @@ Releases for a browser are available for download from GitHub.

|:------------|:----------------|:---------|
| `enum-2.3.0.js` | *uncompressed, with comments* | [Download](https://raw.github.com/adrai/enum/master/enum-2.3.0.js) |
| `enum-2.3.0.min.js` | *compressed, without comments* | [Download](https://raw.github.com/adrai/enum/master/enum-2.3.0.min.js) |
| `enum-2.4.0.js` | *uncompressed, with comments* | [Download](https://raw.github.com/adrai/enum/master/enum-2.4.0.js) |
| `enum-2.4.0.min.js` | *compressed, without comments* | [Download](https://raw.github.com/adrai/enum/master/enum-2.4.0.min.js) |

@@ -144,2 +141,6 @@ # Installation (node.js)

// check if it's defined
myEnum.isDefined(myEnum.A) // returns true
myEnum.isDefined('A') // returns true
myEnum.isDefined(1) // returns true

@@ -209,3 +210,3 @@ // compare

Copyright (c) 2015 Adriano Raiano, Christoph Hermann
Copyright (c) 2016 Adriano Raiano, Christoph Hermann

@@ -212,0 +213,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

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