Releases: FlorianWendelborn/nullish-math
Releases · FlorianWendelborn/nullish-math
0.3.1: Improve JSDoc
versions/0.3.1 version(0.3.1): Improve JSDoc
0.3.0: Slightly Loosen Types to Ease Usage
nullish-math
will no longer detect if there are arguments that are always null | undefined
. While this slightly increases the chance of bugs it also makes it harder to use the package in more advanced workflows
Breaking Change (Types Only):
NullishMath
is no longer generic, if you previously used NullishMath< ... >
simply change it to NullishMath
0.2.0: Add NullishMath.max, NullishMath.min
version(0.2.0): Add NullishMath.max, NullishMath.min also improve tests
0.1.0: Add Comparison Operators and NullishMath.average
0.0.6: Attempt #2 to Publish Provenance
0.0.5 didn’t publish provenance because:
npm
8 doesn’t seem to support--provenance
- github doesn’t install latest
npm
by default npm
doesn’t fail when passing an unknown parameter to publish (wtf)
0.0.5: Provenance
This release adds support for NPM provenance: https://docs.npmjs.com/generating-provenance-statements
0.0.4: Add Keywords to package.json
No actual runtime changes, just added some metadata
0.0.3: Type Improvements & Implementation Streamlining
Now detects the following anti-patterns:
nm(null)
nm(undefined)
new NullishMath(null)
new NullishMath(undefined)
These are problematic as they’re likely just hiding a bug as they’re basically a static null
and not actually dependent on what gets calculated.
0.0.2: Type Fix for number | null
versions/0.0.2 version(0.0.2): Type Fix for number | null
0.0.1: Initial Release
versions/0.0.1 feature: Rename, Support undefined, Forbid Exclusively Nullish Values