@thi.ng/hiccup-svg 5.3.3 → 5.3.5
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 +1 -1
- package/README.md +6 -4
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/hiccup-svg)
|
|
6
6
|

|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
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
|
>
|
|
@@ -188,9 +188,11 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.47 KB
|
|
|
188
188
|
- [@thi.ng/color](https://github.com/thi-ng/umbrella/tree/develop/packages/color)
|
|
189
189
|
- [@thi.ng/prefixes](https://github.com/thi-ng/umbrella/tree/develop/packages/prefixes)
|
|
190
190
|
|
|
191
|
+
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
192
|
+
|
|
191
193
|
## Usage examples
|
|
192
194
|
|
|
193
|
-
|
|
195
|
+
16 projects in this repo's
|
|
194
196
|
[/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
|
|
195
197
|
directory are using this package:
|
|
196
198
|
|
|
@@ -220,7 +222,7 @@ directory are using this package:
|
|
|
220
222
|
```ts
|
|
221
223
|
import * as svg from "@thi.ng/hiccup-svg";
|
|
222
224
|
import { serialize } from "@thi.ng/hiccup";
|
|
223
|
-
import * as fs
|
|
225
|
+
import * as fs "node:fs";
|
|
224
226
|
|
|
225
227
|
fs.writeFileSync(
|
|
226
228
|
"hello.svg",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-svg",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.5",
|
|
4
4
|
"description": "SVG element functions for @thi.ng/hiccup & related tooling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.11.
|
|
40
|
-
"@thi.ng/checks": "^3.6.
|
|
41
|
-
"@thi.ng/color": "^5.6.
|
|
42
|
-
"@thi.ng/prefixes": "^2.3.
|
|
39
|
+
"@thi.ng/api": "^8.11.7",
|
|
40
|
+
"@thi.ng/checks": "^3.6.9",
|
|
41
|
+
"@thi.ng/color": "^5.6.51",
|
|
42
|
+
"@thi.ng/prefixes": "^2.3.24"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-extractor": "^7.47.0",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"parent": "@thi.ng/hiccup",
|
|
138
138
|
"year": 2016
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
|
|
141
141
|
}
|