@thi.ng/rdom-canvas 0.5.81 → 0.5.83

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-03-27T09:53:45Z
3
+ - **Last updated**: 2024-04-11T12:32:44Z
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
@@ -7,7 +7,7 @@
7
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
  > [!NOTE]
10
- > This is one of 190 standalone projects, maintained as part
10
+ > This is one of 192 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -109,7 +109,13 @@ README](https://github.com/thi-ng/umbrella/blob/develop/packages/hiccup-canvas/R
109
109
  yarn add @thi.ng/rdom-canvas
110
110
  ```
111
111
 
112
- ES module import:
112
+ ESM import:
113
+
114
+ ```ts
115
+ import * as rc from "@thi.ng/rdom-canvas";
116
+ ```
117
+
118
+ Browser ESM import:
113
119
 
114
120
  ```html
115
121
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/rdom-canvas"></script>
@@ -117,12 +123,6 @@ ES module import:
117
123
 
118
124
  [Skypack documentation](https://docs.skypack.dev/)
119
125
 
120
- For Node.js REPL:
121
-
122
- ```js
123
- const rdomCanvas = await import("@thi.ng/rdom-canvas");
124
- ```
125
-
126
126
  Package sizes (brotli'd, pre-treeshake): ESM: 694 bytes
127
127
 
128
128
  ## Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rdom-canvas",
3
- "version": "0.5.81",
3
+ "version": "0.5.83",
4
4
  "description": "@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,13 +36,13 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.9.31",
40
- "@thi.ng/associative": "^6.3.54",
41
- "@thi.ng/canvas": "^0.2.14",
42
- "@thi.ng/checks": "^3.5.5",
43
- "@thi.ng/hiccup-canvas": "^2.5.33",
44
- "@thi.ng/rdom": "^1.1.21",
45
- "@thi.ng/rstream": "^8.3.19"
39
+ "@thi.ng/api": "^8.10.1",
40
+ "@thi.ng/associative": "^6.3.56",
41
+ "@thi.ng/canvas": "^0.2.16",
42
+ "@thi.ng/checks": "^3.6.1",
43
+ "@thi.ng/hiccup-canvas": "^2.5.35",
44
+ "@thi.ng/rdom": "^1.2.0",
45
+ "@thi.ng/rstream": "^8.4.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@microsoft/api-extractor": "^7.43.0",
@@ -92,5 +92,5 @@
92
92
  "status": "alpha",
93
93
  "year": 2020
94
94
  },
95
- "gitHead": "ce5ae2a322d50a7ce8ecccbd94fa55c496ba04fd\n"
95
+ "gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
96
96
  }