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

enum-plus

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enum-plus - npm Package Versions

2

2.0.2

Diff

Changelog

Source

2.0.2

2025-2-3

Features

  • 🔥 The firstOption of options method supports localization
shijistars
published 2.0.1 •

Changelog

Source

2.0.1

2025-2-2

Features

  • 🔥 Support for enum text localization
    • The Enum method now accepts a localize option that can be used to localize the enum text
    • You can also set the Enum.localize static method to localize all enums in a lower priority
  • 🔥 Add menus method

Breaking Changes

  • 💣 All parameters after the first of the Enum method has been changed to an options object
shijistars
published 2.0.0-alpha.3 •

shijistars
published 2.0.0-alpha.2 •

shijistars
published 2.0.0-beta.1 •

shijistar
published 1.0.3 •

Changelog

Source

1.0.3

2023-11-14

  • 🛠 If an enum is created from array, both the enum.raw or enumItem.raw methods return the original array item
shijistar
published 1.0.2 •

Changelog

Source

1.0.2

2023-07-31

  • 🆕 Added rawType accessor
shijistar
published 1.0.1 •

Changelog

Source

1.0.1

2023-03-09

  • 🆕 Added a new filters method that returns an array of enumerated items that can be passed directly to the Column.filters of the AntDesign Table component as a list of filtered items for the column

  • 1.0.0

2022-10-08

  • 🆕 The first release of enum-plus library
shijistar
published 1.0.0 •

shijistar
published 1.0.0-2 •

2
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