Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

enum-values

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enum-values - npm Package Compare versions

Comparing version
1.1.6
to
1.1.7
+6
CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
<a name="1.1.7"></a>
## [1.1.7](https://github.com/slavik57/enum-values/compare/v1.1.4...v1.1.7) (2017-08-02)
+2
-1
{
"name": "enum-values",
"version": "1.1.6",
"version": "1.1.7",
"description": "Library for getting the names and values of typescript enum",

@@ -33,4 +33,5 @@ "typings": "index.d.ts",

"mocha": "^2.5.3",
"standard-version": "^4.2.0",
"typescript": "^2.4.2"
}
}

@@ -53,15 +53,2 @@ # enum-values

var namesAndValues2 = EnumValues.getNamesAndValues(StringEnum);
```
## Known issues
Currently the library does not support mixing string and numeric enums.
```javascript
// This enum will not work:
enum MixedEnum {
A = 'A',
1 = 2,
3 = 'B',
C = 4
}
```