Releases: trojs/enum
Releases · trojs/enum
Add a build step for old systems
What's Changed
- Add build process for old systems by @pieter-pon in #22
Need for e.g. Typescript with a lack of full modern ES Module support
Breaking change:
Changed from
import Enum from '@hckrnews/enum'
to
import { Enum } from '@hckrnews/enum'
New Contributors
- @pieter-pon made their first contribution in #22
Full Changelog: 1.5.2...2.0.0
Test with node 18
Merge pull request #21 from hckrnews/feature/enum-name Test on node 18
Add docblocks
Merge pull request #20 from hckrnews/feature/enum-name Add docblocks
Return the enum name in errors
class Encoding extends Enum {
static 'utf-8' = 'UTF-8'
}
try {
Encoding.fromKey('UTF-8')
} catch (error) {
console.log(error.message) // Invalid Encoding key UTF-8
}
Add sonarcloud test coverage
Merge pull request #18 from hckrnews/feature/update-dependencies Add sonarcloud test coverage
Update dependencies and the readme
Merge pull request #17 from hckrnews/feature/update-dependencies Update dependencies and the readme
Fix the github action yml file
Merge pull request #16 from hckrnews/feature/update Fix the github action yml file
Update the dependencies
Merge pull request #15 from hckrnews/feature/update Update the dependencies
Update dependencies
Merge pull request #14 from hckrnews/feature/local-fetch Update dependencies
Update dependencies
Merge pull request #13 from hckrnews/feature/local-fetch Update dependencies