@thi.ng/hiccup-markdown 3.2.80 → 3.2.82

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 -3
  3. package/package.json +14 -13
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-08T14:59:29Z
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 191 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
  >
@@ -528,7 +528,13 @@ More info [here](http://thi.ng/hiccup-markdown).
528
528
  yarn add @thi.ng/hiccup-markdown
529
529
  ```
530
530
 
531
- ES module import:
531
+ ESM import:
532
+
533
+ ```ts
534
+ import * as md from "@thi.ng/hiccup-markdown";
535
+ ```
536
+
537
+ Browser ESM import:
532
538
 
533
539
  ```html
534
540
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/hiccup-markdown"></script>
@@ -539,7 +545,7 @@ ES module import:
539
545
  For Node.js REPL:
540
546
 
541
547
  ```js
542
- const hiccupMarkdown = await import("@thi.ng/hiccup-markdown");
548
+ const md = await import("@thi.ng/hiccup-markdown");
543
549
  ```
544
550
 
545
551
  Package sizes (brotli'd, pre-treeshake): ESM: 4.62 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-markdown",
3
- "version": "3.2.80",
3
+ "version": "3.2.82",
4
4
  "description": "Markdown parser & serializer from/to Hiccup format",
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.9.31",
40
- "@thi.ng/arrays": "^2.9.0",
41
- "@thi.ng/checks": "^3.5.5",
42
- "@thi.ng/defmulti": "^3.0.34",
43
- "@thi.ng/emoji": "^0.1.34",
44
- "@thi.ng/errors": "^2.5.2",
45
- "@thi.ng/hiccup": "^5.1.26",
46
- "@thi.ng/logger": "^3.0.7",
47
- "@thi.ng/parse": "^2.4.37",
48
- "@thi.ng/strings": "^3.7.28",
49
- "@thi.ng/text-canvas": "^3.0.16"
39
+ "@thi.ng/api": "^8.10.0",
40
+ "@thi.ng/arrays": "^2.9.2",
41
+ "@thi.ng/checks": "^3.6.0",
42
+ "@thi.ng/defmulti": "^3.0.35",
43
+ "@thi.ng/emoji": "^0.1.35",
44
+ "@thi.ng/errors": "^2.5.3",
45
+ "@thi.ng/hiccup": "^5.1.27",
46
+ "@thi.ng/logger": "^3.0.8",
47
+ "@thi.ng/parse": "^2.4.38",
48
+ "@thi.ng/strings": "^3.7.29",
49
+ "@thi.ng/text-canvas": "^3.0.18"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@microsoft/api-extractor": "^7.43.0",
@@ -93,11 +93,12 @@
93
93
  }
94
94
  },
95
95
  "thi.ng": {
96
+ "alias": "md",
96
97
  "parent": "@thi.ng/hiccup",
97
98
  "related": [
98
99
  "markdown-table"
99
100
  ],
100
101
  "year": 2018
101
102
  },
102
- "gitHead": "db5f5a5d1b223a8e6b4999d67836678038fd3560\n"
103
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
103
104
  }