@thi.ng/ramp 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.
- package/CHANGELOG.md +63 -39
- package/package.json +90 -85
package/CHANGELOG.md
CHANGED
|
@@ -1,68 +1,92 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/ramp@2.0.8...@thi.ng/ramp@2.0.9) (2021-11-10)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @thi.ng/ramp
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/ramp@2.0.7...@thi.ng/ramp@2.0.8) (2021-11-04)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @thi.ng/ramp
|
|
17
|
-
|
|
18
|
-
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
4
|
+
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
19
5
|
|
|
6
|
+
All notable changes to this project will be documented in this file.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
20
8
|
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
21
11
|
|
|
22
|
-
## [2.0
|
|
12
|
+
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@2.1.0) (2021-11-17)
|
|
23
13
|
|
|
24
|
-
|
|
14
|
+
#### 🚀 Features
|
|
25
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
|
|
26
21
|
|
|
22
|
+
#### ♻️ Refactoring
|
|
27
23
|
|
|
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.
|
|
28
30
|
|
|
31
|
+
### [2.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@2.0.9) (2021-11-10)
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
#### ♻️ Refactoring
|
|
31
34
|
|
|
35
|
+
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
|
|
32
36
|
|
|
33
|
-
###
|
|
37
|
+
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@2.0.1) (2021-10-13)
|
|
34
38
|
|
|
35
|
-
|
|
39
|
+
#### ♻️ Refactoring
|
|
36
40
|
|
|
41
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
42
|
+
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
43
|
+
- add .js suffix for all relative imports
|
|
37
44
|
|
|
38
|
-
|
|
45
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@2.0.0) (2021-10-12)
|
|
39
46
|
|
|
40
|
-
|
|
47
|
+
#### 🛑 Breaking changes
|
|
41
48
|
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
-
|
|
49
|
+
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
50
|
+
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
51
|
+
- only ESM modules will be published from now on
|
|
52
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
53
|
+
- i.e. launch NodeJS via:
|
|
54
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
55
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
56
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
57
|
+
Also:
|
|
58
|
+
- normalize/restructure/reorg all package.json files
|
|
59
|
+
- cleanup all build scripts, remove obsolete
|
|
60
|
+
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
48
61
|
|
|
49
|
-
|
|
50
|
-
- normalize/restructure/reorg all package.json files
|
|
51
|
-
- cleanup all build scripts, remove obsolete
|
|
52
|
-
- switch from mocha to @thi.ng/testament for all tests
|
|
62
|
+
#### ♻️ Refactoring
|
|
53
63
|
|
|
64
|
+
- update imports (transducers) ([6de47ec](https://github.com/thi-ng/umbrella/commit/6de47ec))
|
|
65
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
66
|
+
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
67
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
68
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
54
69
|
|
|
70
|
+
### [0.1.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@0.1.39) (2020-12-07)
|
|
55
71
|
|
|
72
|
+
#### ♻️ Refactoring
|
|
56
73
|
|
|
74
|
+
- update type-only imports ([97a4e43](https://github.com/thi-ng/umbrella/commit/97a4e43))
|
|
75
|
+
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
57
76
|
|
|
77
|
+
### [0.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@0.1.2) (2020-02-25)
|
|
58
78
|
|
|
59
|
-
|
|
79
|
+
#### ♻️ Refactoring
|
|
60
80
|
|
|
61
|
-
|
|
81
|
+
- update imports ([9fac422](https://github.com/thi-ng/umbrella/commit/9fac422))
|
|
62
82
|
|
|
63
|
-
|
|
83
|
+
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@0.1.0) (2020-01-24)
|
|
64
84
|
|
|
65
|
-
|
|
85
|
+
#### 🚀 Features
|
|
66
86
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
87
|
+
- add ARamp.bounds(), factory fns, optimize timeIndex(), add benchmarks ([83d3670](https://github.com/thi-ng/umbrella/commit/83d3670))
|
|
88
|
+
- add linear()/hermite() factory fns
|
|
89
|
+
- add RampBounds & ARamp.bounds() to obtain min/max values
|
|
90
|
+
- switch to binary search if num stops >= 256
|
|
91
|
+
- update deps / readme
|
|
92
|
+
- import as new pkg ([d58ba4e](https://github.com/thi-ng/umbrella/commit/d58ba4e))
|
package/package.json
CHANGED
|
@@ -1,91 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/ramp",
|
|
3
|
+
"version": "2.1.3",
|
|
4
|
+
"description": "Parametric interpolated 1D lookup tables for remapping values",
|
|
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/ramp#readme",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
12
18
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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/arrays": "^2.1.2",
|
|
38
|
+
"@thi.ng/compare": "^2.1.2",
|
|
39
|
+
"@thi.ng/math": "^5.1.2",
|
|
40
|
+
"@thi.ng/transducers": "^8.1.2",
|
|
41
|
+
"@thi.ng/vectors": "^7.3.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
45
|
+
"@thi.ng/testament": "^0.2.2",
|
|
46
|
+
"rimraf": "^3.0.2",
|
|
47
|
+
"tools": "^0.0.1",
|
|
48
|
+
"typedoc": "^0.22.9",
|
|
49
|
+
"typescript": "^4.5.2"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"1d",
|
|
53
|
+
"animation",
|
|
54
|
+
"datastructure",
|
|
55
|
+
"envelope",
|
|
56
|
+
"hermite",
|
|
57
|
+
"interpolation",
|
|
58
|
+
"interval",
|
|
59
|
+
"keyframe",
|
|
60
|
+
"linear",
|
|
61
|
+
"lut",
|
|
62
|
+
"timeline",
|
|
63
|
+
"typescript"
|
|
64
|
+
],
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=12.7"
|
|
70
|
+
},
|
|
71
|
+
"files": [
|
|
72
|
+
"*.js",
|
|
73
|
+
"*.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"exports": {
|
|
76
|
+
".": {
|
|
77
|
+
"import": "./index.js"
|
|
35
78
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"@thi.ng/compare": "^2.0.8",
|
|
39
|
-
"@thi.ng/math": "^5.0.8",
|
|
40
|
-
"@thi.ng/transducers": "^8.0.8",
|
|
41
|
-
"@thi.ng/vectors": "^7.1.1"
|
|
79
|
+
"./api": {
|
|
80
|
+
"import": "./api.js"
|
|
42
81
|
},
|
|
43
|
-
"
|
|
44
|
-
|
|
82
|
+
"./aramp": {
|
|
83
|
+
"import": "./aramp.js"
|
|
45
84
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
"animation",
|
|
49
|
-
"datastructure",
|
|
50
|
-
"envelope",
|
|
51
|
-
"hermite",
|
|
52
|
-
"interpolation",
|
|
53
|
-
"interval",
|
|
54
|
-
"keyframe",
|
|
55
|
-
"linear",
|
|
56
|
-
"lut",
|
|
57
|
-
"timeline",
|
|
58
|
-
"typescript"
|
|
59
|
-
],
|
|
60
|
-
"publishConfig": {
|
|
61
|
-
"access": "public"
|
|
85
|
+
"./hermite": {
|
|
86
|
+
"import": "./hermite.js"
|
|
62
87
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"import": "./index.js"
|
|
73
|
-
},
|
|
74
|
-
"./api": {
|
|
75
|
-
"import": "./api.js"
|
|
76
|
-
},
|
|
77
|
-
"./aramp": {
|
|
78
|
-
"import": "./aramp.js"
|
|
79
|
-
},
|
|
80
|
-
"./hermite": {
|
|
81
|
-
"import": "./hermite.js"
|
|
82
|
-
},
|
|
83
|
-
"./linear": {
|
|
84
|
-
"import": "./linear.js"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"thi.ng": {
|
|
88
|
-
"year": 2019
|
|
89
|
-
},
|
|
90
|
-
"gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
|
|
91
|
-
}
|
|
88
|
+
"./linear": {
|
|
89
|
+
"import": "./linear.js"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"thi.ng": {
|
|
93
|
+
"year": 2019
|
|
94
|
+
},
|
|
95
|
+
"gitHead": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
|
|
96
|
+
}
|