@thi.ng/hiccup-markdown 3.2.115 → 3.2.116

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**: 2025-01-04T21:07:38Z
3
+ - **Last updated**: 2025-01-14T12:23:33Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [3.2.116](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-markdown@3.2.116) (2025-01-14)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
17
+
12
18
  ### [3.2.88](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-markdown@3.2.88) (2024-06-21)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -548,7 +548,7 @@ For Node.js REPL:
548
548
  const md = await import("@thi.ng/hiccup-markdown");
549
549
  ```
550
550
 
551
- Package sizes (brotli'd, pre-treeshake): ESM: 4.60 KB
551
+ Package sizes (brotli'd, pre-treeshake): ESM: 4.61 KB
552
552
 
553
553
  ## Dependencies
554
554
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-markdown",
3
- "version": "3.2.115",
3
+ "version": "3.2.116",
4
4
  "description": "Markdown parser & serializer from/to Hiccup format",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -41,16 +41,16 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@thi.ng/api": "^8.11.16",
44
- "@thi.ng/arrays": "^2.10.9",
45
- "@thi.ng/checks": "^3.6.18",
46
- "@thi.ng/defmulti": "^3.0.54",
44
+ "@thi.ng/arrays": "^2.10.10",
45
+ "@thi.ng/checks": "^3.6.19",
46
+ "@thi.ng/defmulti": "^3.0.55",
47
47
  "@thi.ng/emoji": "^1.0.1",
48
48
  "@thi.ng/errors": "^2.5.22",
49
- "@thi.ng/hiccup": "^5.2.22",
50
- "@thi.ng/logger": "^3.0.26",
51
- "@thi.ng/parse": "^2.4.63",
49
+ "@thi.ng/hiccup": "^5.2.23",
50
+ "@thi.ng/logger": "^3.0.27",
51
+ "@thi.ng/parse": "^2.4.64",
52
52
  "@thi.ng/strings": "^3.9.0",
53
- "@thi.ng/text-canvas": "^3.0.49"
53
+ "@thi.ng/text-canvas": "^3.0.50"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@microsoft/api-extractor": "^7.48.1",
@@ -103,5 +103,5 @@
103
103
  ],
104
104
  "year": 2018
105
105
  },
106
- "gitHead": "56c1d57a96565bbcc8c06c73779a619bba0db368\n"
106
+ "gitHead": "6542b842120bef47cc18d45a1b1db68307a7f04b\n"
107
107
  }
package/parse.js CHANGED
@@ -234,7 +234,7 @@ const defTransformContext = (tags, opts, linkRefs, logger) => ({
234
234
  });
235
235
  const transformScope = defmulti(
236
236
  (x, ctx) => {
237
- ctx.logger && ctx.logger.debug(x);
237
+ ctx.logger?.debug(x);
238
238
  return x.id;
239
239
  },
240
240
  {