@thi.ng/ramp 3.1.3 → 3.1.4
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 +1 -1
- package/group.d.ts +2 -0
- package/nested.d.ts +2 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/group.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export type GroupImpl<T extends Record<string, any>> = {
|
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
19
|
+
* import { group, hermite, linear } from "@thi.ng/ramp";
|
|
20
|
+
*
|
|
19
21
|
* const example = group({
|
|
20
22
|
* // named, independent child ramps/timelines
|
|
21
23
|
* a: linear([[0.1, 0], [0.5, -10]]),
|
package/nested.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export type NestedImpl<T extends Record<string, any>> = {
|
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
18
|
+
* import { ramp, nested, LINEAR_N, HERMITE_N } from "@thi.ng/ramp";
|
|
19
|
+
*
|
|
18
20
|
* const example = ramp(
|
|
19
21
|
* // nested ramp spec w/ interpolation modes for each key
|
|
20
22
|
* nested({a: LINEAR_N, b: HERMITE_N }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/ramp",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "Extensible keyframe interpolation/tweening of arbitrary, nested types",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.9.
|
|
39
|
-
"@thi.ng/arrays": "^2.8.
|
|
40
|
-
"@thi.ng/compare": "^2.2.
|
|
38
|
+
"@thi.ng/api": "^8.9.26",
|
|
39
|
+
"@thi.ng/arrays": "^2.8.3",
|
|
40
|
+
"@thi.ng/compare": "^2.2.22",
|
|
41
41
|
"@thi.ng/errors": "^2.4.18",
|
|
42
|
-
"@thi.ng/math": "^5.10.
|
|
43
|
-
"@thi.ng/transducers": "^8.9.
|
|
44
|
-
"@thi.ng/vectors": "^7.10.
|
|
42
|
+
"@thi.ng/math": "^5.10.3",
|
|
43
|
+
"@thi.ng/transducers": "^8.9.7",
|
|
44
|
+
"@thi.ng/vectors": "^7.10.12"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"thi.ng": {
|
|
118
118
|
"year": 2019
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
|
|
121
121
|
}
|