All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.5 - 2024-04-26
- Publishing process
1.1.4 - 2024-04-25
- Publishing on NPM and JSR via GitHub Actions
1.1.3 - 2024-04-25
- support for deno
1.1.2 - 2024-04-03
- tests
- calculation for EstimatedTimeEnroute
1.1.1 - 2024-03-22
- method toFormattedString(), so that output with fractions has a fixed size of 2.
1.1.0 - 2024-03-22
- This CHANGELOG file.
- localization and formatting byte units.
- method: setTotalCount(value: number): void
- constructor signature: constructor(totalCount?: number | null, locale?: string | null, unit?: string | null)
- method signature (added options): on(eventName: string, callback: Function, options: { updateIntervalMSThreshold?: number } | undefined = undefined): void
1.0.0 - 2024-03-21
- constructor: constructor(totalCount: number | null = null).
- method: calculateEstimatedTimeEnroute(): {hours: number, minutes: number, seconds: number} | null
- method: calculateEstimatedTimeOfArrival(): Date | null
- method: incrementCounter()
- method: on(eventName: string, callback: Function): void
- method: setCounter(value: number): void
- method: toFormattedString(format: string = Progress.DEFAULT_TO_STRING_FORMAT): string
- property: Counter: number
- property: ElapsedTime: { y: number, m: number, d: number, h: number, i: number, s: number, f: number }
- property: PercentageCompleted: number | null
- property: StartTime: Date
- property: TotalCount: number | null