@thi.ng/text-canvas 3.0.3 → 3.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-22T23:15:26Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
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/README.md CHANGED
@@ -86,7 +86,7 @@ For Node.js REPL:
86
86
  const textCanvas = await import("@thi.ng/text-canvas");
87
87
  ```
88
88
 
89
- Package sizes (brotli'd, pre-treeshake): ESM: 6.27 KB
89
+ Package sizes (brotli'd, pre-treeshake): ESM: 6.24 KB
90
90
 
91
91
  ## Dependencies
92
92
 
package/image.d.ts CHANGED
@@ -17,6 +17,10 @@ export declare const blit: (dest: Canvas, src: Canvas, x?: number, y?: number) =
17
17
  *
18
18
  * @example
19
19
  * ```ts
20
+ * import {
21
+ * blitMask, canvas, canvasFromText, clear, formatCanvas
22
+ * } from "@thi.ng/text-canvas";
23
+ *
20
24
  * // source canvas
21
25
  * const a = canvasFromText([
22
26
  * "###==###",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/text-canvas",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,15 +35,15 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.25",
39
- "@thi.ng/arrays": "^2.8.2",
38
+ "@thi.ng/api": "^8.9.26",
39
+ "@thi.ng/arrays": "^2.8.3",
40
40
  "@thi.ng/checks": "^3.5.0",
41
41
  "@thi.ng/errors": "^2.4.18",
42
- "@thi.ng/geom-clip-line": "^2.3.69",
43
- "@thi.ng/math": "^5.10.2",
44
- "@thi.ng/strings": "^3.7.16",
45
- "@thi.ng/text-format": "^2.1.2",
46
- "@thi.ng/transducers": "^8.9.6"
42
+ "@thi.ng/geom-clip-line": "^2.3.70",
43
+ "@thi.ng/math": "^5.10.3",
44
+ "@thi.ng/strings": "^3.7.17",
45
+ "@thi.ng/text-format": "^2.1.3",
46
+ "@thi.ng/transducers": "^8.9.7"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@microsoft/api-extractor": "^7.40.1",
@@ -147,5 +147,5 @@
147
147
  ],
148
148
  "year": 2020
149
149
  },
150
- "gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n"
150
+ "gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
151
151
  }