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

flow-enums-runtime

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-enums-runtime - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# 0.0.6
- Update README documentation
# 0.0.5

@@ -2,0 +5,0 @@ - `.members()` on a mirrored enum now returns an iterator (not just an iterable), matching non-mirrored enums

2

index.js

@@ -14,3 +14,3 @@ /**

// Map from an enum object to a set of its values.
// Map from an enum object to a reverse map of its values to names
var reverseMapCache = typeof WeakMap === 'function' ? new WeakMap() : new Map();

@@ -17,0 +17,0 @@

{
"name": "flow-enums-runtime",
"version": "0.0.5",
"version": "0.0.6",
"description": "Runtime to be use with the Flow Enums transform.",

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

flow-enums-runtime
==================
This is the runtime used with the Flow Enums Babel transform.
This is the runtime used with the [Flow Enums](https://flow.org/en/docs/enums/) [Babel transform](https://www.npmjs.com/package/babel-plugin-transform-flow-enums).
Install this package in your regular dependencies, as it is required and used by the output of the Flow Enums transform at runtime.
Read more about how to [enable Flow Enums in your project](https://flow.org/en/docs/enums/enabling-enums/).
### Requirements
This package requires support (either natively or through a polyfill) for [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)
and [Array.prototype.values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/values).
Support for [WeakMap](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) is suggested,
but not required (will fall back to `Map` instead if not present).
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