@thi.ng/ramp 2.1.82 → 2.1.84

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-10-30T14:31:56Z
3
+ - **Last updated**: 2023-11-09T10:28:19Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.83](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@2.1.83) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
17
+
12
18
  ### [2.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/ramp@2.1.10) (2022-05-02)
13
19
 
14
20
  #### 🩹 Bug fixes
package/README.md CHANGED
@@ -51,7 +51,7 @@ For Node.js REPL:
51
51
  const ramp = await import("@thi.ng/ramp");
52
52
  ```
53
53
 
54
- Package sizes (brotli'd, pre-treeshake): ESM: 992 bytes
54
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.06 KB
55
55
 
56
56
  ## Dependencies
57
57
 
package/aramp.js CHANGED
@@ -3,6 +3,7 @@ import { compareNumAsc } from "@thi.ng/compare/numeric";
3
3
  import { absDiff } from "@thi.ng/math/abs";
4
4
  import { clamp } from "@thi.ng/math/interval";
5
5
  export class ARamp {
6
+ stops;
6
7
  constructor(stops = [
7
8
  [0, 0],
8
9
  [1, 1],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/ramp",
3
- "version": "2.1.82",
3
+ "version": "2.1.84",
4
4
  "description": "Parametric (non-)linearly interpolated 1D lookup tables for remapping values",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,24 +28,23 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
29
29
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
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",
31
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
33
32
  "pub": "yarn npm publish --access public",
34
- "test": "testament test"
33
+ "test": "bun test"
35
34
  },
36
35
  "dependencies": {
37
- "@thi.ng/arrays": "^2.7.2",
38
- "@thi.ng/compare": "^2.2.2",
39
- "@thi.ng/math": "^5.7.1",
40
- "@thi.ng/transducers": "^8.8.8",
41
- "@thi.ng/vectors": "^7.8.2"
36
+ "@thi.ng/arrays": "^2.7.4",
37
+ "@thi.ng/compare": "^2.2.4",
38
+ "@thi.ng/math": "^5.7.3",
39
+ "@thi.ng/transducers": "^8.8.10",
40
+ "@thi.ng/vectors": "^7.8.4"
42
41
  },
43
42
  "devDependencies": {
44
- "@microsoft/api-extractor": "^7.38.0",
45
- "@thi.ng/testament": "^0.3.24",
43
+ "@microsoft/api-extractor": "^7.38.2",
44
+ "@thi.ng/testament": "^0.4.1",
46
45
  "rimraf": "^5.0.5",
47
46
  "tools": "^0.0.1",
48
- "typedoc": "^0.25.2",
47
+ "typedoc": "^0.25.3",
49
48
  "typescript": "^5.2.2"
50
49
  },
51
50
  "keywords": [
@@ -94,5 +93,5 @@
94
93
  "thi.ng": {
95
94
  "year": 2019
96
95
  },
97
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
96
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
98
97
  }