@thi.ng/text-canvas 2.6.16 → 2.6.18

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.6.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/text-canvas@2.6.17) (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.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/text-canvas@2.6.0) (2023-08-24)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -68,7 +68,7 @@ For Node.js REPL:
68
68
  const textCanvas = await import("@thi.ng/text-canvas");
69
69
  ```
70
70
 
71
- Package sizes (brotli'd, pre-treeshake): ESM: 5.41 KB
71
+ Package sizes (brotli'd, pre-treeshake): ESM: 5.51 KB
72
72
 
73
73
  ## Dependencies
74
74
 
package/canvas.js CHANGED
@@ -12,6 +12,13 @@ import { transduce } from "@thi.ng/transducers/transduce";
12
12
  import { STYLE_ASCII } from "./api.js";
13
13
  import { charCode, intersectRect } from "./utils.js";
14
14
  let Canvas = Canvas_1 = class Canvas {
15
+ data;
16
+ size;
17
+ stride;
18
+ format;
19
+ defaultFormat;
20
+ styles;
21
+ clipRects;
15
22
  constructor(width, height, format = NONE, style = STYLE_ASCII) {
16
23
  this.size = [width, height];
17
24
  this.stride = [1, this.width];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/text-canvas",
3
- "version": "2.6.16",
3
+ "version": "2.6.18",
4
4
  "description": "Text based canvas, drawing, tables with arbitrary formatting (incl. ANSI/HTML)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,29 +28,28 @@
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/api": "^8.9.6",
38
- "@thi.ng/arrays": "^2.7.2",
39
- "@thi.ng/checks": "^3.4.6",
40
- "@thi.ng/errors": "^2.4.0",
41
- "@thi.ng/geom-clip-line": "^2.3.43",
42
- "@thi.ng/math": "^5.7.1",
43
- "@thi.ng/strings": "^3.6.4",
44
- "@thi.ng/text-format": "^1.4.15",
45
- "@thi.ng/transducers": "^8.8.8"
36
+ "@thi.ng/api": "^8.9.8",
37
+ "@thi.ng/arrays": "^2.7.4",
38
+ "@thi.ng/checks": "^3.4.8",
39
+ "@thi.ng/errors": "^2.4.2",
40
+ "@thi.ng/geom-clip-line": "^2.3.45",
41
+ "@thi.ng/math": "^5.7.3",
42
+ "@thi.ng/strings": "^3.6.6",
43
+ "@thi.ng/text-format": "^1.4.17",
44
+ "@thi.ng/transducers": "^8.8.10"
46
45
  },
47
46
  "devDependencies": {
48
- "@microsoft/api-extractor": "^7.38.0",
49
- "@thi.ng/testament": "^0.3.24",
47
+ "@microsoft/api-extractor": "^7.38.2",
48
+ "@thi.ng/testament": "^0.4.1",
50
49
  "rimraf": "^5.0.5",
51
50
  "tools": "^0.0.1",
52
51
  "tslib": "^2.6.2",
53
- "typedoc": "^0.25.2",
52
+ "typedoc": "^0.25.3",
54
53
  "typescript": "^5.2.2"
55
54
  },
56
55
  "keywords": [
@@ -139,5 +138,5 @@
139
138
  ],
140
139
  "year": 2020
141
140
  },
142
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
141
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
143
142
  }