@thi.ng/hdom-canvas 4.1.37 → 4.1.38

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 +1 -1
  2. package/README.md +9 -19
  3. package/package.json +16 -13
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-30T22:27:37Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![hdom-canvas](https://media.thi.ng/umbrella/banners-20220914/thing-hdom-canvas.svg?dc7ee1b9)
3
+ # ![@thi.ng/hdom-canvas](https://media.thi.ng/umbrella/banners-20220914/thing-hdom-canvas.svg?dc7ee1b9)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/hdom-canvas.svg)](https://www.npmjs.com/package/@thi.ng/hdom-canvas)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/hdom-canvas.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -23,13 +23,11 @@ This project is part of the
23
23
  - [SVG conversion](#svg-conversion)
24
24
  - [Supported shape types](#supported-shape-types)
25
25
  - [Authors](#authors)
26
- - [Maintainer](#maintainer)
27
- - [Contributors](#contributors)
28
26
  - [License](#license)
29
27
 
30
28
  ## About
31
29
 
32
- [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom) component wrapper for declarative canvas scenegraphs.
30
+ @thi.ng/hdom component wrapper for declarative canvas scenegraphs
33
31
 
34
32
  This package provides a [re-usable canvas
35
33
  component](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom-canvas/src/index.ts#L66),
@@ -56,7 +54,7 @@ package for better re-usability, also outside without hdom.
56
54
  - [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom) - Functional, polymorphic API for 2D geometry types & SVG generation
57
55
  - [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom) - Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors
58
56
  - [@thi.ng/hiccup-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-canvas) - Hiccup shape tree renderer for vanilla Canvas 2D contexts
59
- - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom)
57
+ - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & related tooling
60
58
  - [@thi.ng/rdom-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom-canvas) - [@thi.ng/rdom](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom) component wrapper for [@thi.ng/hiccup-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-canvas) and declarative canvas drawing
61
59
 
62
60
  ## Installation
@@ -75,11 +73,8 @@ ES module import:
75
73
 
76
74
  For Node.js REPL:
77
75
 
78
- ```text
79
- # with flag only for < v16
80
- node --experimental-repl-await
81
-
82
- > const hdomCanvas = await import("@thi.ng/hdom-canvas");
76
+ ```js
77
+ const hdomCanvas = await import("@thi.ng/hdom-canvas");
83
78
  ```
84
79
 
85
80
  Package sizes (brotli'd, pre-treeshake): ESM: 824 bytes
@@ -288,13 +283,8 @@ transformations.
288
283
 
289
284
  ## Authors
290
285
 
291
- ### Maintainer
292
-
293
- - Karsten Schmidt ([@postspectacular](https://github.com/postspectacular))
294
-
295
- ### Contributors
296
-
297
- - Arthur Carabott ([@acarabott](https://github.com/acarabott))
286
+ - [Karsten Schmidt](https://thi.ng) (Main author)
287
+ - [Arthur Carabott](https://github.com/acarabott)
298
288
 
299
289
  If this project contributes to an academic publication, please cite it as:
300
290
 
@@ -309,4 +299,4 @@ If this project contributes to an academic publication, please cite it as:
309
299
 
310
300
  ## License
311
301
 
312
- &copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
302
+ &copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-canvas",
3
- "version": "4.1.37",
3
+ "version": "4.1.38",
4
4
  "description": "@thi.ng/hdom component wrapper for declarative canvas scenegraphs",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -21,7 +21,10 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
+ "contributors": [
26
+ "Arthur Carabott (https://github.com/acarabott)"
27
+ ],
25
28
  "license": "Apache-2.0",
26
29
  "scripts": {
27
30
  "build": "yarn clean && tsc --declaration",
@@ -34,20 +37,20 @@
34
37
  "test": "testament test"
35
38
  },
36
39
  "dependencies": {
37
- "@thi.ng/api": "^8.5.1",
38
- "@thi.ng/checks": "^3.3.4",
39
- "@thi.ng/diff": "^5.1.18",
40
- "@thi.ng/errors": "^2.2.5",
41
- "@thi.ng/hdom": "^9.1.27",
42
- "@thi.ng/hiccup-canvas": "^2.1.37"
40
+ "@thi.ng/api": "^8.6.0",
41
+ "@thi.ng/checks": "^3.3.5",
42
+ "@thi.ng/diff": "^5.1.19",
43
+ "@thi.ng/errors": "^2.2.6",
44
+ "@thi.ng/hdom": "^9.2.0",
45
+ "@thi.ng/hiccup-canvas": "^2.1.38"
43
46
  },
44
47
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.33.5",
46
- "@thi.ng/testament": "^0.3.6",
48
+ "@microsoft/api-extractor": "^7.33.7",
49
+ "@thi.ng/testament": "^0.3.7",
47
50
  "rimraf": "^3.0.2",
48
51
  "tools": "^0.0.1",
49
- "typedoc": "^0.23.20",
50
- "typescript": "^4.8.4"
52
+ "typedoc": "^0.23.22",
53
+ "typescript": "^4.9.4"
51
54
  },
52
55
  "keywords": [
53
56
  "array",
@@ -89,5 +92,5 @@
89
92
  ],
90
93
  "year": 2018
91
94
  },
92
- "gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n"
95
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
93
96
  }