@thi.ng/transducers-stats 2.0.9 → 2.1.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +85 -57
  2. package/package.json +134 -129
package/CHANGELOG.md CHANGED
@@ -1,101 +1,129 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@2.0.8...@thi.ng/transducers-stats@2.0.9) (2021-11-10)
7
-
8
- **Note:** Version bump only for package @thi.ng/transducers-stats
9
-
10
-
11
-
3
+ - **Last updated**: 2021-12-13T10:26:00Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
12
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
13
8
 
14
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@2.0.7...@thi.ng/transducers-stats@2.0.8) (2021-11-03)
15
-
16
- **Note:** Version bump only for package @thi.ng/transducers-stats
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
17
11
 
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.1.0) (2021-11-17)
18
13
 
14
+ #### 🚀 Features
19
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
20
21
 
22
+ #### ♻️ Refactoring
21
23
 
22
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.1.74...@thi.ng/transducers-stats@2.0.0) (2021-10-12)
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
23
30
 
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.0.1) (2021-10-13)
24
32
 
25
- ### Build System
33
+ #### ♻️ Refactoring
26
34
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
28
38
 
39
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.0.0) (2021-10-12)
29
40
 
30
- ### BREAKING CHANGES
41
+ #### 🛑 Breaking changes
31
42
 
32
- * discontinue CommonJS & UMD versions
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
33
55
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
56
+ #### ♻️ Refactoring
40
57
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
58
+ - update imports ([924aa26](https://github.com/thi-ng/umbrella/commit/924aa26))
59
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
60
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
61
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
62
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
45
63
 
64
+ ### [1.1.43](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@1.1.43) (2020-12-07)
46
65
 
66
+ #### ♻️ Refactoring
47
67
 
68
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
48
69
 
70
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@1.1.0) (2019-07-07)
49
71
 
72
+ #### 🚀 Features
50
73
 
51
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.19...@thi.ng/transducers-stats@1.1.0) (2019-07-07)
74
+ - enable TS strict compiler flags (refactor) ([33daa7f](https://github.com/thi-ng/umbrella/commit/33daa7f))
52
75
 
53
- ### Features
76
+ #### ♻️ Refactoring
54
77
 
55
- - **transducers-stats:** enable TS strict compiler flags (refactor) ([33daa7f](https://github.com/thi-ng/umbrella/commit/33daa7f))
78
+ - TS strictNullChecks ([01210fe](https://github.com/thi-ng/umbrella/commit/01210fe))
56
79
 
57
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@0.4.23...@thi.ng/transducers-stats@1.0.0) (2019-01-21)
80
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@1.0.0) (2019-01-21)
58
81
 
59
- ### Build System
82
+ #### 🛑 Breaking changes
60
83
 
61
84
  - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
85
+ - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
86
+ - build scripts now first build ES6 modules in package root, then call
87
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
88
+ - all imports MUST be updated to only refer to package level
89
+ (not individual files anymore). tree shaking in user land will get rid of
90
+ all unused imported symbols.
62
91
 
63
- ### BREAKING CHANGES
64
-
65
- - enabled multi-outputs (ES6 modules, CJS, UMD)
66
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
67
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
68
-
69
- # [0.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@0.3.4...@thi.ng/transducers-stats@0.4.0) (2018-08-24)
70
-
71
- ### Features
92
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@0.4.0) (2018-08-24)
72
93
 
73
- - **transducers-stats:** make xforms iterable if input given ([c9ac981](https://github.com/thi-ng/umbrella/commit/c9ac981))
94
+ #### 🚀 Features
74
95
 
75
- ## [0.3.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@0.3.3...@thi.ng/transducers-stats@0.3.4) (2018-08-08)
96
+ - make xforms iterable if input given ([c9ac981](https://github.com/thi-ng/umbrella/commit/c9ac981))
76
97
 
77
- ## [0.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@0.3.0...@thi.ng/transducers-stats@0.3.1) (2018-07-25)
98
+ ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@0.3.1) (2018-07-25)
78
99
 
79
- ### Bug Fixes
100
+ #### 🩹 Bug fixes
80
101
 
81
- - **transducers-stats:** fix naming of MACD results ([#31](https://github.com/thi-ng/umbrella/issues/31)) ([a322e00](https://github.com/thi-ng/umbrella/commit/a322e00))
102
+ - fix naming of MACD results ([#31](https://github.com/thi-ng/umbrella/issues/31)) ([a322e00](https://github.com/thi-ng/umbrella/commit/a322e00))
82
103
 
83
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@0.2.0...@thi.ng/transducers-stats@0.3.0) (2018-07-25)
104
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@0.3.0) (2018-07-25)
84
105
 
85
- ### Features
106
+ #### 🚀 Features
86
107
 
87
- - **transducers-stats:** add BollingerBand value interface ([c97cb75](https://github.com/thi-ng/umbrella/commit/c97cb75))
88
- - **transducers-stats:** add MACD (fixes [#31](https://github.com/thi-ng/umbrella/issues/31)) ([b92aaa5](https://github.com/thi-ng/umbrella/commit/b92aaa5))
108
+ - add BollingerBand value interface ([c97cb75](https://github.com/thi-ng/umbrella/commit/c97cb75))
109
+ - add MACD (fixes [#31](https://github.com/thi-ng/umbrella/issues/31)) ([b92aaa5](https://github.com/thi-ng/umbrella/commit/b92aaa5))
89
110
 
90
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@0.1.0...@thi.ng/transducers-stats@0.2.0) (2018-07-21)
111
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@0.2.0) (2018-07-21)
91
112
 
92
- ### Features
113
+ #### 🚀 Features
93
114
 
94
- - **transducers-stats:** add stochastic oscillator, refactor ([0b0a7ca](https://github.com/thi-ng/umbrella/commit/0b0a7ca))
115
+ - add stochastic oscillator, refactor ([0b0a7ca](https://github.com/thi-ng/umbrella/commit/0b0a7ca))
116
+ - refactor donchian()
117
+ - add bounds() helper fn
95
118
 
96
- # 0.1.0 (2018-07-20)
119
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@0.1.0) (2018-07-20)
97
120
 
98
- ### Features
121
+ #### 🚀 Features
99
122
 
100
- - **transducers-stats:** add [@thi](https://github.com/thi).ng/transducers-stats package ([7a5812f](https://github.com/thi-ng/umbrella/commit/7a5812f))
101
- - **transducers-stats:** add other xforms ([7df3ce0](https://github.com/thi-ng/umbrella/commit/7df3ce0))
123
+ - add other xforms ([7df3ce0](https://github.com/thi-ng/umbrella/commit/7df3ce0))
124
+ - bollinger()
125
+ - donchian()
126
+ - hma()
127
+ - rsi()
128
+ - sd()
129
+ - add [@thi.ng/transducers-stats](https://github.com/thi-ng/umbrella/tree/main/packages/transducers-stats) package ([7a5812f](https://github.com/thi-ng/umbrella/commit/7a5812f))
package/package.json CHANGED
@@ -1,130 +1,135 @@
1
1
  {
2
- "name": "@thi.ng/transducers-stats",
3
- "version": "2.0.9",
4
- "description": "Transducers for statistical / technical analysis",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/transducers-stats#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/checks": "^3.0.7",
38
- "@thi.ng/dcons": "^3.0.9",
39
- "@thi.ng/errors": "^2.0.6",
40
- "@thi.ng/transducers": "^8.0.8"
41
- },
42
- "devDependencies": {
43
- "@thi.ng/testament": "^0.1.6"
44
- },
45
- "keywords": [
46
- "analysis",
47
- "array",
48
- "bollinger",
49
- "donchian",
50
- "ema",
51
- "macd",
52
- "math",
53
- "moving-average",
54
- "roc",
55
- "sma",
56
- "standard-deviation",
57
- "stochastic",
58
- "trix",
59
- "typescript",
60
- "wma"
61
- ],
62
- "publishConfig": {
63
- "access": "public"
64
- },
65
- "engines": {
66
- "node": ">=12.7"
67
- },
68
- "files": [
69
- "*.js",
70
- "*.d.ts"
71
- ],
72
- "exports": {
73
- ".": {
74
- "import": "./index.js"
75
- },
76
- "./bollinger": {
77
- "import": "./bollinger.js"
78
- },
79
- "./bounds": {
80
- "import": "./bounds.js"
81
- },
82
- "./donchian": {
83
- "import": "./donchian.js"
84
- },
85
- "./dot": {
86
- "import": "./dot.js"
87
- },
88
- "./ema": {
89
- "import": "./ema.js"
90
- },
91
- "./hma": {
92
- "import": "./hma.js"
93
- },
94
- "./macd": {
95
- "import": "./macd.js"
96
- },
97
- "./momentum": {
98
- "import": "./momentum.js"
99
- },
100
- "./mse": {
101
- "import": "./mse.js"
102
- },
103
- "./roc": {
104
- "import": "./roc.js"
105
- },
106
- "./rsi": {
107
- "import": "./rsi.js"
108
- },
109
- "./sd": {
110
- "import": "./sd.js"
111
- },
112
- "./sma": {
113
- "import": "./sma.js"
114
- },
115
- "./stochastic": {
116
- "import": "./stochastic.js"
117
- },
118
- "./trix": {
119
- "import": "./trix.js"
120
- },
121
- "./wma": {
122
- "import": "./wma.js"
123
- }
124
- },
125
- "thi.ng": {
126
- "parent": "@thi.ng/transducers",
127
- "year": 2017
128
- },
129
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
130
- }
2
+ "name": "@thi.ng/transducers-stats",
3
+ "version": "2.1.3",
4
+ "description": "Transducers for statistical / technical analysis",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/transducers-stats#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/checks": "^3.1.3",
38
+ "@thi.ng/dcons": "^3.1.3",
39
+ "@thi.ng/errors": "^2.1.3",
40
+ "@thi.ng/transducers": "^8.1.3"
41
+ },
42
+ "devDependencies": {
43
+ "@microsoft/api-extractor": "^7.19.2",
44
+ "@thi.ng/testament": "^0.2.3",
45
+ "rimraf": "^3.0.2",
46
+ "tools": "^0.0.1",
47
+ "typedoc": "^0.22.10",
48
+ "typescript": "^4.5.3"
49
+ },
50
+ "keywords": [
51
+ "analysis",
52
+ "array",
53
+ "bollinger",
54
+ "donchian",
55
+ "ema",
56
+ "macd",
57
+ "math",
58
+ "moving-average",
59
+ "roc",
60
+ "sma",
61
+ "standard-deviation",
62
+ "stochastic",
63
+ "trix",
64
+ "typescript",
65
+ "wma"
66
+ ],
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "engines": {
71
+ "node": ">=12.7"
72
+ },
73
+ "files": [
74
+ "*.js",
75
+ "*.d.ts"
76
+ ],
77
+ "exports": {
78
+ ".": {
79
+ "import": "./index.js"
80
+ },
81
+ "./bollinger": {
82
+ "import": "./bollinger.js"
83
+ },
84
+ "./bounds": {
85
+ "import": "./bounds.js"
86
+ },
87
+ "./donchian": {
88
+ "import": "./donchian.js"
89
+ },
90
+ "./dot": {
91
+ "import": "./dot.js"
92
+ },
93
+ "./ema": {
94
+ "import": "./ema.js"
95
+ },
96
+ "./hma": {
97
+ "import": "./hma.js"
98
+ },
99
+ "./macd": {
100
+ "import": "./macd.js"
101
+ },
102
+ "./momentum": {
103
+ "import": "./momentum.js"
104
+ },
105
+ "./mse": {
106
+ "import": "./mse.js"
107
+ },
108
+ "./roc": {
109
+ "import": "./roc.js"
110
+ },
111
+ "./rsi": {
112
+ "import": "./rsi.js"
113
+ },
114
+ "./sd": {
115
+ "import": "./sd.js"
116
+ },
117
+ "./sma": {
118
+ "import": "./sma.js"
119
+ },
120
+ "./stochastic": {
121
+ "import": "./stochastic.js"
122
+ },
123
+ "./trix": {
124
+ "import": "./trix.js"
125
+ },
126
+ "./wma": {
127
+ "import": "./wma.js"
128
+ }
129
+ },
130
+ "thi.ng": {
131
+ "parent": "@thi.ng/transducers",
132
+ "year": 2017
133
+ },
134
+ "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
135
+ }