Releases: maddin1502/ts-lib-extended
Releases · maddin1502/ts-lib-extended
revised types
- removed most any's
- improved comments/documentation
- breaking change: removed generic from Enumerable type (it's not possible to differ between numeric and heterogeneous enum)
- breaking change: optimized EventArgs (EventArgs, especially CancelEventArgs, can now be created without parameters)
- updated dependencies (fixed vulnerabilites)
- cleaned, optimized, simplified, fixed typings
- new: scoping core
type shapes
- anylike
- methodlike
- objectlike
updated packages and worksapce
- node 20
- target = ES2020
- latest dependencies
- updated scripts
- improved code comments
- improved github workflows
- code coverage
EmptyObject
added type for empty objects
Fixes
- extended test: 100% coverage
- fixed esm structure: fixes import issues with vite and vitest
- fixed enumerableObject: fixes issue with enums with more than 10 items
internal refactorings
- ESM
- new test framework: Vitest
- Github ci/cd actions
- optimized linting and typescript options
enumobject for key/value extraction
Gain keys and values from enum instances. Works with string, numeric and mixed enums (properly ignoring the numeric index reverse lookup entries for numeric enums)
extended enum types
- generic enumerable defaults to any
- added type for value type extraction (the enum instance itself)
- added type for base value type extraction (string, number, ...)
fixed vulnerabilities & optimized eslint
- updated packages
- optimized eslint config
- linting scripts
internal optimizations
- fixed eslint settings
- moved jest config to ts file
- used latest typescript
- updated readme