@apio/timeframes
Advanced tools
Comparing version 0.1.19 to 0.1.21
@@ -386,3 +386,3 @@ "use strict"; | ||
TimeSerie.internals.combiners.div = (points) => points.reduce((a, b) => a / b, points[0] * points[0]); | ||
TimeSerie.internals.combiners.avg = (points) => (TimeSerie.internals.combiners.sum(points) / points.length); | ||
TimeSerie.internals.combiners.avg = (points) => (TimeSerie.internals.combiners.add(points) / points.length); | ||
/** | ||
@@ -389,0 +389,0 @@ * @class TimeseriesResampler |
@@ -381,3 +381,3 @@ import { createIndex, TimeInterval } from './types'; | ||
TimeSerie.internals.combiners.div = (points) => points.reduce((a, b) => a / b, points[0] * points[0]); | ||
TimeSerie.internals.combiners.avg = (points) => (TimeSerie.internals.combiners.sum(points) / points.length); | ||
TimeSerie.internals.combiners.avg = (points) => (TimeSerie.internals.combiners.add(points) / points.length); | ||
/** | ||
@@ -384,0 +384,0 @@ * @class TimeseriesResampler |
@@ -0,3 +1,7 @@ | ||
# 📦 0.1.2 (27 Oct 2022) | ||
- [220df](https://github.com/fatmatto/timeframes/commit/220df6e85c90cbd893ecb87c3331295f472ede34) chore(release): 0.1.21 | ||
- [db466](https://github.com/fatmatto/timeframes/commit/db46625b9d8b07788a1872b1815864688c3fc366) 📦 Release 0.1.19 standard-version [skip ci] | ||
# 📦 0.1.1 (24 Oct 2022) | ||
- [770b5](https://github.com/fatmatto/timeframes/commit/770b58a8130e9e5c55bcb9cc46c3111c872e6321) chore(release): 0.1.19 | ||
- [ebd32](https://github.com/fatmatto/timeframes/commit/ebd3213ab99057f164f0c997f00023163127ee33) 📦 Release 0.1.17 standard-version [skip ci] | ||
- [724e6](https://github.com/fatmatto/timeframes/commit/724e630b6db8932f92ba8a6fccbbf2a8e105b816) chore(release): 0.1.17 | ||
@@ -4,0 +8,0 @@ - [d20ba](https://github.com/fatmatto/timeframes/commit/d20ba6262105d6230b881452899ffa08f14082c7) 📦 Release 0.1.15 standard-version [skip ci] |
{ | ||
"name": "@apio/timeframes", | ||
"version": "0.1.19", | ||
"version": "0.1.21", | ||
"description": "Library for dealing with timeseries data", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
@@ -419,3 +419,3 @@ import { createIndex, DateLike, FromIndexOptions, Index, Metadata, Point, PointValue, ReindexOptions, ResampleOptions, TimeInterval, TimeseriePointCombiner, TimeseriePointIterator, TimeSeriesOperationOptions } from './types' | ||
TimeSerie.internals.combiners.div = (points: PointValue[]) => points.reduce((a:PointValue, b:PointValue) => a / b, points[0] * points[0]) | ||
TimeSerie.internals.combiners.avg = (points: PointValue[]) => (TimeSerie.internals.combiners.sum(points) / points.length) | ||
TimeSerie.internals.combiners.avg = (points: PointValue[]) => (TimeSerie.internals.combiners.add(points) / points.length) | ||
@@ -422,0 +422,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
410369