@knapsack/rendering-utils 4.92.22 → 4.92.23--canary.7683.c7d1bea.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.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +27 -27
- package/package.json +9 -9
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @knapsack/rendering-utils@4.92.
|
|
2
|
+
> @knapsack/rendering-utils@4.92.22 test /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
|
|
3
3
|
> ava
|
|
4
4
|
|
|
5
5
|
|
|
@@ -14,24 +14,26 @@
|
|
|
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 (
|
|
18
|
-
✔ blocksToHtml - single divider-block
|
|
19
|
-
✔ blocksToHtml - single text-editor block
|
|
20
|
-
✔ blocksToHtml - single code-snippet block
|
|
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
|
-
|
|
26
|
-
✔ blocksToHtml - single image-block with
|
|
27
|
-
✔ blocksToHtml - single
|
|
28
|
-
✔ blocksToHtml - video block
|
|
29
|
-
✔ blocksToHtml -
|
|
30
|
-
✔ blocksToHtml -
|
|
31
|
-
✔ blocksToHtml - single files-list block with
|
|
32
|
-
✔ blocksToHtml - single files-list block with
|
|
33
|
-
✔ blocksToHtml - single files-list block with
|
|
34
|
-
✔ blocksToHtml - single
|
|
17
|
+
✔ blocksToHtml - empty array (200ms)
|
|
18
|
+
✔ blocksToHtml - single divider-block (199ms)
|
|
19
|
+
✔ blocksToHtml - single text-editor block (198ms)
|
|
20
|
+
✔ blocksToHtml - single code-snippet block (151ms)
|
|
21
|
+
✔ blocksToHtml - single callout block (133ms)
|
|
22
|
+
✔ blocksToHtml - single callout block with error type (125ms)
|
|
23
|
+
✔ blocksToHtml - single image-block with single image (118ms)
|
|
24
|
+
✔ blocksToHtml - single image-block with multiple images (114ms)
|
|
25
|
+
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}`.
|
|
26
|
+
✔ blocksToHtml - single image-block with no images (114ms)
|
|
27
|
+
✔ blocksToHtml - single image-block with empty images array (114ms)
|
|
28
|
+
✔ blocksToHtml - single video block (114ms)
|
|
29
|
+
✔ blocksToHtml - video block with no selected video (114ms)
|
|
30
|
+
✔ blocksToHtml - text-editor with unknown TipTap node type does not throw (114ms)
|
|
31
|
+
✔ blocksToHtml - single files-list block with image files (101ms)
|
|
32
|
+
✔ blocksToHtml - single files-list block with non-image files (101ms)
|
|
33
|
+
✔ blocksToHtml - single files-list block with mixed files (101ms)
|
|
34
|
+
✔ blocksToHtml - single files-list block with empty array (101ms)
|
|
35
|
+
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}`.
|
|
36
|
+
✔ blocksToHtml - single shortcut-tiles block (101ms)
|
|
35
37
|
✔ blocksToHtml - single shortcut-tiles block with empty shortcuts
|
|
36
38
|
✔ blocksToHtml - single shortcut-tiles block with no image
|
|
37
39
|
✔ blocksToHtml - single shortcut-tiles block with link but no name
|
|
@@ -43,18 +45,16 @@ marked(): mangle parameter is enabled by default, but is deprecated since versio
|
|
|
43
45
|
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}`.
|
|
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}`.
|
|
48
|
+
✔ blocksToHtml - unknown block type throws error
|
|
46
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}`.
|
|
47
50
|
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
51
|
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}`.
|
|
49
52
|
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}`.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
✔ blocksToHtml -
|
|
53
|
-
✔ blocksToHtml - single markdown-block with
|
|
54
|
-
✔ blocksToHtml -
|
|
55
|
-
✔ blocksToHtml - single markdown-block with empty string
|
|
56
|
-
✔ blocksToHtml - single markdown-block with undefined md
|
|
57
|
-
✔ blocksToHtml - multiple different block types
|
|
53
|
+
✔ blocksToHtml - single markdown-block with string (177ms)
|
|
54
|
+
✔ blocksToHtml - single markdown-block with array (176ms)
|
|
55
|
+
✔ blocksToHtml - single markdown-block with empty string (176ms)
|
|
56
|
+
✔ blocksToHtml - single markdown-block with undefined md (176ms)
|
|
57
|
+
✔ blocksToHtml - multiple different block types (140ms)
|
|
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.
|
|
4
|
+
"version": "4.92.23--canary.7683.c7d1bea.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.
|
|
29
|
-
"@knapsack/utils": "4.92.
|
|
28
|
+
"@knapsack/tiptap-utils": "4.92.23--canary.7683.c7d1bea.0",
|
|
29
|
+
"@knapsack/utils": "4.92.23--canary.7683.c7d1bea.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.
|
|
35
|
-
"@knapsack/prettier-config": "4.92.
|
|
36
|
-
"@knapsack/test-ava": "4.92.
|
|
37
|
-
"@knapsack/types": "4.92.
|
|
38
|
-
"@knapsack/typescript-config-starter": "4.92.
|
|
34
|
+
"@knapsack/eslint-config-starter": "4.92.23--canary.7683.c7d1bea.0",
|
|
35
|
+
"@knapsack/prettier-config": "4.92.23--canary.7683.c7d1bea.0",
|
|
36
|
+
"@knapsack/test-ava": "4.92.23--canary.7683.c7d1bea.0",
|
|
37
|
+
"@knapsack/types": "4.92.23--canary.7683.c7d1bea.0",
|
|
38
|
+
"@knapsack/typescript-config-starter": "4.92.23--canary.7683.c7d1bea.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": "
|
|
53
|
+
"gitHead": "c7d1bea104dc27a91410bfebc48c9d89c5f0d99e"
|
|
54
54
|
}
|