@xyo-network/diviner-forecasting-method-arima 2.84.6 → 2.84.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "2.84.6",
7
+ "version": "2.84.7",
8
8
  "description": "XYO Archivist",
9
9
  "sideeffects": false,
10
10
  "engines": {
@@ -41,13 +41,13 @@
41
41
  "author": "Arie Trouw",
42
42
  "license": "LGPL-3.0-only",
43
43
  "dependencies": {
44
- "@xyo-network/diviner-forecasting-model": "~2.84.6",
45
- "@xyo-network/payload-model": "~2.84.6",
44
+ "@xyo-network/diviner-forecasting-model": "~2.84.7",
45
+ "@xyo-network/payload-model": "~2.84.7",
46
46
  "arima": "^0.2.5"
47
47
  },
48
48
  "devDependencies": {
49
- "@xylabs/ts-scripts-yarn3": "^3.2.19",
50
- "@xylabs/tsconfig": "^3.2.19",
49
+ "@xylabs/ts-scripts-yarn3": "^3.2.24",
50
+ "@xylabs/tsconfig": "^3.2.24",
51
51
  "typescript": "^5.3.3"
52
52
  },
53
53
  "type": "module"
@@ -2,7 +2,7 @@ import { Payload } from '@xyo-network/payload-model'
2
2
 
3
3
  import { arimaForecastingMethod } from '../arima'
4
4
 
5
- const transformer = (payload: Payload) => (payload as Payload<{ data: number }>)?.data || NaN
5
+ const transformer = (payload: Payload) => (payload as Payload<{ data: number }>)?.data || Number.NaN
6
6
 
7
7
  describe('arimaForecasting', () => {
8
8
  it('should forecast', async () => {
@@ -4,7 +4,7 @@ import { seasonalArimaForecastingMethod } from '../seasonalArima'
4
4
 
5
5
  const twoPi = 2 * Math.PI
6
6
 
7
- const transformer = (payload: Payload) => (payload as Payload<{ data: number }>)?.data || NaN
7
+ const transformer = (payload: Payload) => (payload as Payload<{ data: number }>)?.data || Number.NaN
8
8
 
9
9
  describe('seasonalArimaForecasting', () => {
10
10
  it('should forecast', async () => {