@thi.ng/hiccup 5.2.6 → 5.2.8

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 +7 -4
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-07-19T14:56:21Z
3
+ - **Last updated**: 2024-08-10T15:03:07Z
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 189 standalone projects, maintained as part
10
+ > This is one of 198 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
  >
@@ -149,7 +149,7 @@ iterable
149
149
  - [@thi.ng/rdom](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom) - Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) compatible
150
150
  - [@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
151
151
  - [@thi.ng/rdom-components](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom-components) - Collection of unstyled, customizable components for [@thi.ng/rdom](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom)
152
- - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers) - Lightweight transducer implementations for ES6 / TypeScript
152
+ - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers) - Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
153
153
  - [@thi.ng/zipper](https://github.com/thi-ng/umbrella/tree/develop/packages/zipper) - Functional tree editing, manipulation & navigation
154
154
 
155
155
  ### Blog posts
@@ -192,9 +192,11 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.19 KB
192
192
  - [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
193
193
  - [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/develop/packages/strings)
194
194
 
195
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
196
+
195
197
  ## Usage examples
196
198
 
197
- 10 projects in this repo's
199
+ 11 projects in this repo's
198
200
  [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
199
201
  directory are using this package:
200
202
 
@@ -202,6 +204,7 @@ directory are using this package:
202
204
  |:-------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------|:------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------|
203
205
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/commit-heatmap.png" width="240"/> | Heatmap visualization of this mono-repo's commits | | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/commit-heatmap) |
204
206
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/commit-table-ssr.png" width="240"/> | Filterable commit log UI w/ minimal server to provide commit history | [Demo](https://demo.thi.ng/umbrella/commit-table-ssr/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/commit-table-ssr) |
207
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/hdiff.avif" width="240"/> | Applying thi.ng/hdiff to generate static HTML diff output | [Demo](https://demo.thi.ng/umbrella/hdiff/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hdiff) |
205
208
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/hdom-canvas/hdom-canvas-shapes-results.png" width="240"/> | Various hdom-canvas shape drawing examples & SVG conversion / export | [Demo](https://demo.thi.ng/umbrella/hdom-canvas-shapes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hdom-canvas-shapes) |
206
209
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/hiccup-css-image-transition.jpg" width="240"/> | Generating pure CSS image transitions | [Demo](https://demo.thi.ng/umbrella/hiccup-css-image-transition/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hiccup-css-image-transition) |
207
210
  | | Hiccup / hdom DOM hydration example | [Demo](https://demo.thi.ng/umbrella/hydrate-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hydrate-basics) |
@@ -393,7 +396,7 @@ for related functionality.
393
396
  ```ts tangle:export/readme-circles.js
394
397
  import { serialize } from "@thi.ng/hiccup";
395
398
  import { repeatedly } from "@thi.ng/transducers";
396
- import { writeFileSync } from "fs";
399
+ import { writeFileSync } "node:fs";
397
400
 
398
401
  // creates an unstyled SVG circle element
399
402
  // we ignore the first arg (an auto-injected context arg)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup",
3
- "version": "5.2.6",
3
+ "version": "5.2.8",
4
4
  "description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,17 +36,17 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.6",
40
- "@thi.ng/checks": "^3.6.8",
41
- "@thi.ng/errors": "^2.5.12",
42
- "@thi.ng/strings": "^3.8.0"
39
+ "@thi.ng/api": "^8.11.8",
40
+ "@thi.ng/checks": "^3.6.10",
41
+ "@thi.ng/errors": "^2.5.14",
42
+ "@thi.ng/strings": "^3.8.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.47.0",
46
- "@thi.ng/atom": "^5.3.6",
45
+ "@microsoft/api-extractor": "^7.47.5",
46
+ "@thi.ng/atom": "^5.3.8",
47
47
  "esbuild": "^0.23.0",
48
- "typedoc": "^0.26.3",
49
- "typescript": "^5.5.3"
48
+ "typedoc": "^0.26.5",
49
+ "typescript": "^5.5.4"
50
50
  },
51
51
  "keywords": [
52
52
  "array",
@@ -128,5 +128,5 @@
128
128
  ],
129
129
  "year": 2016
130
130
  },
131
- "gitHead": "c7aaa453b01a45e5235517db9d2a283b97abac96\n"
131
+ "gitHead": "ec78f98d015e4d214a0b840e72e497407807daf3\n"
132
132
  }