@thi.ng/text-canvas 3.0.8 → 3.0.10
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/package.json +15 -15
- package/plot.d.ts +1 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/text-canvas",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
4
4
|
"description": "Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/arrays": "^2.8.
|
|
41
|
-
"@thi.ng/checks": "^3.5.
|
|
42
|
-
"@thi.ng/errors": "^2.
|
|
43
|
-
"@thi.ng/geom-clip-line": "^2.3.
|
|
44
|
-
"@thi.ng/math": "^5.10.
|
|
45
|
-
"@thi.ng/strings": "^3.7.
|
|
46
|
-
"@thi.ng/text-format": "^2.1.
|
|
47
|
-
"@thi.ng/transducers": "^8.9.
|
|
39
|
+
"@thi.ng/api": "^8.9.30",
|
|
40
|
+
"@thi.ng/arrays": "^2.8.8",
|
|
41
|
+
"@thi.ng/checks": "^3.5.3",
|
|
42
|
+
"@thi.ng/errors": "^2.5.0",
|
|
43
|
+
"@thi.ng/geom-clip-line": "^2.3.76",
|
|
44
|
+
"@thi.ng/math": "^5.10.7",
|
|
45
|
+
"@thi.ng/strings": "^3.7.23",
|
|
46
|
+
"@thi.ng/text-format": "^2.1.8",
|
|
47
|
+
"@thi.ng/transducers": "^8.9.12"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@microsoft/api-extractor": "^7.
|
|
51
|
-
"esbuild": "^0.20.
|
|
50
|
+
"@microsoft/api-extractor": "^7.42.3",
|
|
51
|
+
"esbuild": "^0.20.1",
|
|
52
52
|
"rimraf": "^5.0.5",
|
|
53
53
|
"tslib": "^2.6.2",
|
|
54
|
-
"typedoc": "^0.25.
|
|
55
|
-
"typescript": "^5.
|
|
54
|
+
"typedoc": "^0.25.12",
|
|
55
|
+
"typescript": "^5.4.2"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"4bit",
|
|
@@ -148,5 +148,5 @@
|
|
|
148
148
|
],
|
|
149
149
|
"year": 2020
|
|
150
150
|
},
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "7f3fcbd6c0462b0ce45afa141fe163d1f297fd51\n"
|
|
152
152
|
}
|
package/plot.d.ts
CHANGED
|
@@ -6,12 +6,11 @@ export interface PlotBarsVOpts {
|
|
|
6
6
|
max: number;
|
|
7
7
|
blend?: BlendFn;
|
|
8
8
|
}
|
|
9
|
-
interface PlotSpec {
|
|
9
|
+
export interface PlotSpec {
|
|
10
10
|
data: NumericArray;
|
|
11
11
|
color: number;
|
|
12
12
|
}
|
|
13
13
|
export declare const plotBarChartV: (canv: Canvas, opts: PlotBarsVOpts, ...plots: PlotSpec[]) => Canvas;
|
|
14
14
|
export declare const plotLineChart: (canvas: Canvas, x: number, y: number, height: number, vals: Iterable<number>, min?: number, max?: number, format?: number) => void;
|
|
15
15
|
export declare const lineChartStr: (height: number, vals: Iterable<number>, min?: number, max?: number) => string;
|
|
16
|
-
export {};
|
|
17
16
|
//# sourceMappingURL=plot.d.ts.map
|