Skip to content

Releases: trojs/enum

Add a build step for old systems

21 Feb 14:23
f5b1f98
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: 1.5.2...2.0.0

Test with node 18

08 Jul 11:04
d6b8207
Compare
Choose a tag to compare
Merge pull request #21 from hckrnews/feature/enum-name

Test on node 18

Add docblocks

25 Jan 20:06
14b2daf
Compare
Choose a tag to compare
Merge pull request #20 from hckrnews/feature/enum-name

Add docblocks

Return the enum name in errors

24 Jan 08:04
0caff5f
Compare
Choose a tag to compare
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

21 Jan 09:00
1496975
Compare
Choose a tag to compare
Merge pull request #18 from hckrnews/feature/update-dependencies

Add sonarcloud test coverage

Update dependencies and the readme

21 Jan 08:26
e9f5b55
Compare
Choose a tag to compare
Merge pull request #17 from hckrnews/feature/update-dependencies

Update dependencies and the readme

Fix the github action yml file

02 Dec 14:51
0625c52
Compare
Choose a tag to compare
Merge pull request #16 from hckrnews/feature/update

Fix the github action yml file

Update the dependencies

02 Dec 14:42
ffbbbf3
Compare
Choose a tag to compare
Merge pull request #15 from hckrnews/feature/update

Update the dependencies

Update dependencies

11 Oct 10:39
c389206
Compare
Choose a tag to compare
Merge pull request #14 from hckrnews/feature/local-fetch

Update dependencies

Update dependencies

10 Oct 06:40
1d9140d
Compare
Choose a tag to compare
Merge pull request #13 from hckrnews/feature/local-fetch

Update dependencies