@knapsack/rendering-utils 4.92.24--canary.b615fc7.0 → 4.92.24--canary.a5b6bdd.0

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.
@@ -14,19 +14,21 @@
14
14
  at convertTipTapJsonToHtml (/home/runner/work/app-monorepo/app-monorepo/libs/tiptap-utils/src/tiptap-utils.ts:27:10)
15
15
  at tiptapToHtmlSafe (/home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils/src/blocks-to-html.ts:43:12)
16
16
  at blockToHtml (/home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils/src/blocks-to-html.ts:59:14)
17
- ✔ blocksToHtml - empty array (132ms)
18
- ✔ blocksToHtml - single divider-block (131ms)
19
- ✔ blocksToHtml - single text-editor block (130ms)
20
- ✔ blocksToHtml - single code-snippet block (105ms)
21
- ✔ blocksToHtml - single callout block
22
- ✔ blocksToHtml - single callout block with error type
23
- ✔ blocksToHtml - single image-block with single image
24
- ✔ blocksToHtml - single image-block with multiple images
25
- ✔ blocksToHtml - single image-block with no images
26
- blocksToHtml - single image-block with empty images array
27
- blocksToHtml - single video block
28
- ✔ blocksToHtml - video block with no selected video
29
- ✔ blocksToHtml - text-editor with unknown TipTap node type does not throw
17
+ ✔ blocksToHtml - empty array (155ms)
18
+ ✔ blocksToHtml - single divider-block (154ms)
19
+ ✔ blocksToHtml - single text-editor block (146ms)
20
+ ✔ blocksToHtml - single code-snippet block (121ms)
21
+ ✔ blocksToHtml - single callout block (114ms)
22
+ ✔ blocksToHtml - single callout block with error type (108ms)
23
+ ✔ blocksToHtml - single image-block with single image (104ms)
24
+ ✔ blocksToHtml - single image-block with multiple images (104ms)
25
+ ✔ blocksToHtml - single image-block with no images (104ms)
26
+ marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
27
+ marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
28
+ ✔ blocksToHtml - single image-block with empty images array (103ms)
29
+ ✔ blocksToHtml - single video block (103ms)
30
+ ✔ blocksToHtml - video block with no selected video (103ms)
31
+ ✔ blocksToHtml - text-editor with unknown TipTap node type does not throw (103ms)
30
32
  ✔ blocksToHtml - single files-list block with image files
31
33
  ✔ blocksToHtml - single files-list block with non-image files
32
34
  ✔ blocksToHtml - single files-list block with mixed files
@@ -44,17 +46,15 @@ marked(): headerIds and headerPrefix parameters enabled by default, but are depr
44
46
  marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
45
47
  marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
46
48
  marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
47
- marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
48
- ✔ blocksToHtml - unknown block type throws error
49
- marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
50
49
  marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
51
50
  marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
52
51
  marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
53
- ✔ blocksToHtml - single markdown-block with string (136ms)
54
- ✔ blocksToHtml - single markdown-block with array (135ms)
55
- ✔ blocksToHtml - single markdown-block with empty string (135ms)
56
- ✔ blocksToHtml - single markdown-block with undefined md (135ms)
57
- ✔ blocksToHtml - multiple different block types (113ms)
52
+ ✔ blocksToHtml - unknown block type throws error
53
+ ✔ blocksToHtml - single markdown-block with string (153ms)
54
+ ✔ blocksToHtml - single markdown-block with array (153ms)
55
+ ✔ blocksToHtml - single markdown-block with empty string (152ms)
56
+ ✔ blocksToHtml - single markdown-block with undefined md (152ms)
57
+ ✔ blocksToHtml - multiple different block types (131ms)
58
58
 
59
59
 
60
60
  31 tests passed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/rendering-utils",
3
3
  "description": "",
4
- "version": "4.92.24--canary.b615fc7.0",
4
+ "version": "4.92.24--canary.a5b6bdd.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -25,17 +25,17 @@
25
25
  "test": "ava"
26
26
  },
27
27
  "dependencies": {
28
- "@knapsack/tiptap-utils": "4.92.24--canary.b615fc7.0",
29
- "@knapsack/utils": "4.92.24--canary.b615fc7.0",
28
+ "@knapsack/tiptap-utils": "4.92.24--canary.a5b6bdd.0",
29
+ "@knapsack/utils": "4.92.24--canary.a5b6bdd.0",
30
30
  "isomorphic-dompurify": "^1.13.0",
31
31
  "marked": "^6.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@knapsack/eslint-config-starter": "4.92.24--canary.b615fc7.0",
35
- "@knapsack/prettier-config": "4.92.24--canary.b615fc7.0",
36
- "@knapsack/test-ava": "4.92.24--canary.b615fc7.0",
37
- "@knapsack/types": "4.92.24--canary.b615fc7.0",
38
- "@knapsack/typescript-config-starter": "4.92.24--canary.b615fc7.0",
34
+ "@knapsack/eslint-config-starter": "4.92.24--canary.a5b6bdd.0",
35
+ "@knapsack/prettier-config": "4.92.24--canary.a5b6bdd.0",
36
+ "@knapsack/test-ava": "4.92.24--canary.a5b6bdd.0",
37
+ "@knapsack/types": "4.92.24--canary.a5b6bdd.0",
38
+ "@knapsack/typescript-config-starter": "4.92.24--canary.a5b6bdd.0",
39
39
  "@types/node": "^22.19.11",
40
40
  "ava": "^6.4.1",
41
41
  "eslint": "^9.20.0",
@@ -50,5 +50,5 @@
50
50
  "directory": "libs/rendering-utils",
51
51
  "type": "git"
52
52
  },
53
- "gitHead": "b615fc7769f7c0cca71b9f9a3e21163af003c38b"
53
+ "gitHead": "a5b6bdd280f7e679800344d5aad4e7e065d17797"
54
54
  }