@thi.ng/text-canvas 3.0.55 → 3.0.56

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**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-13T16:03:11Z
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.
package/api.d.ts CHANGED
@@ -41,7 +41,7 @@ export interface ImageOpts {
41
41
  chars: string | NumOrString[];
42
42
  /**
43
43
  * Format to apply to each pixel. If a function is given, it will be called
44
- * for each pixel value, normalized to [0..1] interval (and after gamma
44
+ * for each pixel value, normalized to `[0,1]` interval (and after gamma
45
45
  * correction). The function MUST return a valid format ID.
46
46
  */
47
47
  format: number | FnN;
package/bars.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Visualizes given values (in `[min..max]`interval) as vertical bar chart.
2
+ * Visualizes given values (in `[min,max]` interval) as vertical bar chart.
3
3
  * Returns array of line strings.
4
4
  *
5
5
  * @param height
@@ -18,7 +18,7 @@ export declare const barChartVLines: (height: number, vals: Iterable<number>, mi
18
18
  */
19
19
  export declare const barChartVStr: (height: number, vals: Iterable<number>, min?: number, max?: number) => string;
20
20
  /**
21
- * Visualizes given values (in `[min..max]`interval) as horizontal bar chart.
21
+ * Visualizes given values (in `[min,max]` interval) as horizontal bar chart.
22
22
  * Returns array of line strings.
23
23
  *
24
24
  * @param height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/text-canvas",
3
- "version": "3.0.55",
3
+ "version": "3.0.56",
4
4
  "description": "Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,20 +39,20 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/arrays": "^2.10.14",
44
- "@thi.ng/checks": "^3.6.22",
45
- "@thi.ng/errors": "^2.5.25",
46
- "@thi.ng/geom-clip-line": "^2.3.121",
47
- "@thi.ng/math": "^5.11.19",
48
- "@thi.ng/strings": "^3.9.4",
49
- "@thi.ng/text-format": "^2.2.24",
50
- "@thi.ng/transducers": "^9.2.17"
42
+ "@thi.ng/api": "^8.11.20",
43
+ "@thi.ng/arrays": "^2.10.15",
44
+ "@thi.ng/checks": "^3.6.23",
45
+ "@thi.ng/errors": "^2.5.26",
46
+ "@thi.ng/geom-clip-line": "^2.3.122",
47
+ "@thi.ng/math": "^5.11.20",
48
+ "@thi.ng/strings": "^3.9.5",
49
+ "@thi.ng/text-format": "^2.2.25",
50
+ "@thi.ng/transducers": "^9.2.18"
51
51
  },
52
52
  "devDependencies": {
53
- "esbuild": "^0.24.2",
53
+ "esbuild": "^0.25.0",
54
54
  "tslib": "^2.8.1",
55
- "typedoc": "^0.27.6",
55
+ "typedoc": "^0.27.7",
56
56
  "typescript": "^5.7.3"
57
57
  },
58
58
  "keywords": [
@@ -150,5 +150,5 @@
150
150
  ],
151
151
  "year": 2020
152
152
  },
153
- "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
153
+ "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
154
154
  }