@xyo-network/diviner-forecasting-method-arima 2.110.19 → 2.111.1

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.
@@ -56,4 +56,4 @@ export {
56
56
  seasonalArimaForecastingName,
57
57
  seasonalArimaOpts
58
58
  };
59
- //# sourceMappingURL=index.js.map
59
+ //# sourceMappingURL=index.mjs.map
@@ -56,4 +56,4 @@ export {
56
56
  seasonalArimaForecastingName,
57
57
  seasonalArimaOpts
58
58
  };
59
- //# sourceMappingURL=index.js.map
59
+ //# sourceMappingURL=index.mjs.map
@@ -56,4 +56,4 @@ export {
56
56
  seasonalArimaForecastingName,
57
57
  seasonalArimaOpts
58
58
  };
59
- //# sourceMappingURL=index.js.map
59
+ //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "2.110.19",
7
+ "version": "2.111.1",
8
8
  "description": "XYO Archivist",
9
9
  "sideeffects": false,
10
10
  "engines": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "import": {
22
22
  "types": "./dist/browser/index.d.mts",
23
- "default": "./dist/browser/index.js"
23
+ "default": "./dist/browser/index.mjs"
24
24
  }
25
25
  },
26
26
  "node": {
@@ -30,24 +30,24 @@
30
30
  },
31
31
  "import": {
32
32
  "types": "./dist/node/index.d.mts",
33
- "default": "./dist/node/index.js"
33
+ "default": "./dist/node/index.mjs"
34
34
  }
35
35
  }
36
36
  },
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "main": "dist/node/index.cjs",
40
- "module": "dist/node/index.js",
40
+ "module": "dist/node/index.mjs",
41
41
  "author": "Arie Trouw",
42
42
  "license": "LGPL-3.0-only",
43
43
  "dependencies": {
44
- "@xyo-network/diviner-forecasting-model": "^2.110.19",
45
- "@xyo-network/payload-model": "^2.110.19",
44
+ "@xyo-network/diviner-forecasting-model": "^2.111.1",
45
+ "@xyo-network/payload-model": "^2.111.1",
46
46
  "arima": "^0.2.5"
47
47
  },
48
48
  "devDependencies": {
49
- "@xylabs/ts-scripts-yarn3": "^3.14.1",
50
- "@xylabs/tsconfig": "^3.14.1",
49
+ "@xylabs/ts-scripts-yarn3": "^3.15.8",
50
+ "@xylabs/tsconfig": "^3.15.8",
51
51
  "typescript": "^5.5.4"
52
52
  },
53
53
  "type": "module"
@@ -9,7 +9,7 @@ const transformer = (payload: Payload) => (payload as Payload<{ data: number }>)
9
9
  describe('seasonalArimaForecasting', () => {
10
10
  it('should forecast', async () => {
11
11
  const length = 10
12
- const actual: number[] = Array.from({ length }, (_, i) => (i / (length - 1)) * twoPi).map((x) => Math.sin(x) + 1)
12
+ const actual: number[] = Array.from({ length }, (_, i) => (i / (length - 1)) * twoPi).map(x => Math.sin(x) + 1)
13
13
  const payloads = actual.map((data) => {
14
14
  return { data, schema: 'network.xyo.test' }
15
15
  })
@@ -28,7 +28,7 @@ declare interface ARIMAOptions {
28
28
  s?: number
29
29
  method?: ARIMAMethod // ARIMA method (default: 0)
30
30
  optimizer?: OptimizationMethod // optimization method (default: 6)
31
- transpose?: boolean //transpose exogenous array when fitting SARIMAX (default: false)
31
+ transpose?: boolean // transpose exogenous array when fitting SARIMAX (default: false)
32
32
  verbose?: boolean // verbose output (default: true)
33
33
  }
34
34
 
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "typeRoots": []
3
+
4
4
  },
5
5
  "exclude": ["dist", "docs", "packages", "node_modules"],
6
6
  "extends": "@xylabs/tsconfig"
File without changes
File without changes
File without changes