v3.0.0
Breaking Changes
- Removed the following methods which had been deprecated since v2.0.0.
isContinuous()(Gone for good. UsesegmentLength() === 1instead)hasRange()*appendRange()*subtractRnage()*
It's still possible to access some methods (marked with *) unless you are using TypeScript (these methods were only turned to private methods). They will be there for the time being, although undocumented.
- (TypeScript)
*.d.tsfile included in the package is now ready for--strictNullChecks. This means TypeScript users need to update their compiler to v2.0 or later to use the definition file. (You do not necessarily have to enable--strictNullChecksflag. See this issue for details.)
New
- Added four convenient methods:
min(),max(),shift(), andpop()