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

@cedx/enum

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cedx/enum - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

CHANGELOG.md
# Changelog
This file contains highlights of what changes on each version of the [Enums for JS](https://github.com/cedx/enum.js) library.
## Version 1.2.0
- Replaced the [Codacy](https://www.codacy.com) code coverage service by the [Coveralls](https://coveralls.io) one.
- Updated the package dependencies.
## Version 1.1.0

@@ -5,0 +9,0 @@ - Non-scalar values are excluded from the iteration of enumerable properties.

6

package.json

@@ -10,3 +10,3 @@ {

"repository": "cedx/enum.js",
"version": "1.1.0",
"version": "1.2.0",

@@ -20,3 +20,3 @@ "jsnext:main": "./src/index",

"babel-register": "^6.18.0",
"codacy-coverage": "^2.0.0",
"coveralls": "^2.11.15",
"del": "^2.2.2",

@@ -44,3 +44,3 @@ "esdoc": "^0.4.8",

"scripts": {
"coverage": "codacy-coverage < var/lcov.info",
"coverage": "cat var/lcov.info | coveralls",
"prepublish": "gulp build",

@@ -47,0 +47,0 @@ "test": "gulp test"

# Enums for JS
![Release](https://img.shields.io/npm/v/@cedx/enum.svg) ![License](https://img.shields.io/npm/l/@cedx/enum.svg) ![Downloads](https://img.shields.io/npm/dt/@cedx/enum.svg) ![Dependencies](https://img.shields.io/david/cedx/enum.js.svg) ![Code quality](https://img.shields.io/codacy/grade/ff5ef8040fb6456b934f8bac502747f5.svg) ![Build](https://img.shields.io/travis/cedx/enum.js.svg)
![Release](https://img.shields.io/npm/v/@cedx/enum.svg) ![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg) ![Dependencies](https://img.shields.io/david/cedx/enum.js.svg) ![Coverage](https://img.shields.io/coveralls/cedx/enum.js.svg) ![Build](https://img.shields.io/travis/cedx/enum.js.svg)

@@ -71,8 +71,8 @@ Yet another implementation of enumerated types for [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript).

## See Also
- [API Reference](http://dev.belin.io/enum.js)
- [Code Quality](https://www.codacy.com/app/cedx/enum-js)
- [Continuous Integration](https://travis-ci.org/cedx/enum.js)
## See also
- [API reference](https://cedx.github.io/enum.js)
- [Code coverage](https://coveralls.io/github/cedx/enum.js)
- [Continuous integration](https://travis-ci.org/cedx/enum.js)
## License
[Enums for JS](https://github.com/cedx/enum.js) is distributed under the Apache License, version 2.0.

@@ -12,4 +12,4 @@ /**

static create(typeDef) {
/* eslint require-jsdoc: "off" */
let enumType = class {
/* eslint-disable require-jsdoc */
constructor() { throw new TypeError('This type is not instantiable.'); }

@@ -20,2 +20,3 @@ static isDefined(value) { return Enum.isDefined(enumType, value); }

static getValues() { return Enum.getValues(enumType); }
/* eslint-enable require-jsdoc */
};

@@ -22,0 +23,0 @@

Sorry, the diff of this file is not supported yet

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