@thi.ng/hiccup-canvas 2.4.4 → 2.4.7

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/color.d.ts +1 -1
  3. package/package.json +13 -14
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.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-canvas@2.4.6) (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.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-canvas@2.4.0) (2023-10-23)
13
19
 
14
20
  #### 🚀 Features
package/color.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { DrawState } from "./api.js";
2
- export declare const resolveColor: (src: string | number | import("@thi.ng/vectors").ReadonlyVec, cssTarget?: Partial<Record<import("@thi.ng/color/api.js").ColorMode, import("@thi.ng/api").Fn<any, string>>> | undefined) => string;
2
+ export declare const resolveColor: (src: string | number | import("@thi.ng/vectors").ReadonlyVec, cssTarget?: Partial<Record<import("@thi.ng/color/api").ColorMode, import("@thi.ng/api").Fn<any, string>>> | undefined) => string;
3
3
  export declare const resolveGradientOrColor: (state: DrawState, v: any) => string | CanvasGradient;
4
4
  export declare const defLinearGradient: (ctx: CanvasRenderingContext2D, { from, to }: any, stops: any[][]) => CanvasGradient;
5
5
  export declare const defRadialGradient: (ctx: CanvasRenderingContext2D, { from, to, r1, r2 }: any, stops: any[][]) => CanvasGradient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-canvas",
3
- "version": "2.4.4",
3
+ "version": "2.4.7",
4
4
  "description": "Hiccup shape tree renderer for vanilla Canvas 2D contexts",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,25 +28,24 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc internal",
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/checks": "^3.4.6",
39
- "@thi.ng/color": "^5.5.28",
40
- "@thi.ng/math": "^5.7.1",
41
- "@thi.ng/pixel": "^4.3.1",
42
- "@thi.ng/vectors": "^7.8.1"
36
+ "@thi.ng/api": "^8.9.8",
37
+ "@thi.ng/checks": "^3.4.8",
38
+ "@thi.ng/color": "^5.5.31",
39
+ "@thi.ng/math": "^5.7.3",
40
+ "@thi.ng/pixel": "^4.3.4",
41
+ "@thi.ng/vectors": "^7.8.4"
43
42
  },
44
43
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.38.0",
46
- "@thi.ng/testament": "^0.3.24",
44
+ "@microsoft/api-extractor": "^7.38.2",
45
+ "@thi.ng/testament": "^0.4.1",
47
46
  "rimraf": "^5.0.5",
48
47
  "tools": "^0.0.1",
49
- "typedoc": "^0.25.2",
48
+ "typedoc": "^0.25.3",
50
49
  "typescript": "^5.2.2"
51
50
  },
52
51
  "keywords": [
@@ -130,5 +129,5 @@
130
129
  ],
131
130
  "year": 2018
132
131
  },
133
- "gitHead": "bfa16829786146bd24df3cdbd44649a45a603e44\n"
132
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
134
133
  }