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

@js-bits/enumerate

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-bits/enumerate - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js

@@ -55,1 +55,3 @@ const converters = new Map();

export default enumerate;
// TODO: serialize/deserialize, toJSON, toString

2

package.json
{
"name": "@js-bits/enumerate",
"version": "0.2.0",
"version": "0.2.1",
"description": "Easy to use, Symbol-based enum implementation",

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

# Easy to use, Symbol-based enum implementation
Just list values you need and `enumerate` tag function will create corresponding variables with unique values for your convenience.
Just list values you need and `enumerate` tag function will create corresponding constants with unique values for your convenience.

@@ -107,2 +107,3 @@ ## Installation

- Be careful adding new items to an existing numeric enum. Always append them to the end of the list to avoid changing previous item values.
- Internet Explorer is not supported.
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