@knapsack/rendering-utils 4.92.11 → 4.92.12--canary.7630.93c4411.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @knapsack/rendering-utils@4.92.8 build /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
2
+ > @knapsack/rendering-utils@4.92.11 build /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
3
3
  > tsc
4
4
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @knapsack/rendering-utils@4.92.8 lint /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
2
+ > @knapsack/rendering-utils@4.92.11 lint /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
3
3
  > eslint ./
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @knapsack/rendering-utils@4.92.8 test /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
2
+ > @knapsack/rendering-utils@4.92.11 test /home/runner/work/app-monorepo/app-monorepo/libs/rendering-utils
3
3
  > ava
4
4
 
5
5
 
@@ -14,29 +14,27 @@
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 (154ms)
18
- ✔ blocksToHtml - single divider-block (153ms)
19
- ✔ blocksToHtml - single text-editor block (152ms)
20
- ✔ blocksToHtml - single code-snippet block (130ms)
21
- ✔ blocksToHtml - single callout block (123ms)
22
- 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}`.
23
- ✔ blocksToHtml - single callout block with error type (115ms)
24
- 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}`.
25
- ✔ blocksToHtml - single image-block with single image (110ms)
26
- ✔ blocksToHtml - single image-block with multiple images (110ms)
27
- ✔ blocksToHtml - single image-block with no images (110ms)
28
- ✔ blocksToHtml - single image-block with empty images array (110ms)
29
- ✔ blocksToHtml - single video block (110ms)
30
- ✔ blocksToHtml - video block with no selected video (110ms)
31
- ✔ blocksToHtml - text-editor with unknown TipTap node type does not throw (109ms)
32
- ✔ blocksToHtml - single files-list block with image files (101ms)
33
- ✔ blocksToHtml - single files-list block with non-image files (101ms)
34
- ✔ blocksToHtml - single files-list block with mixed files (101ms)
35
- ✔ blocksToHtml - single files-list block with empty array (101ms)
36
- ✔ blocksToHtml - single shortcut-tiles block (101ms)
37
- ✔ blocksToHtml - single shortcut-tiles block with empty shortcuts (101ms)
38
- ✔ blocksToHtml - single shortcut-tiles block with no image (101ms)
39
- ✔ blocksToHtml - single shortcut-tiles block with link but no name (101ms)
17
+ ✔ blocksToHtml - empty array (143ms)
18
+ ✔ blocksToHtml - single divider-block (141ms)
19
+ ✔ blocksToHtml - single text-editor block (141ms)
20
+ ✔ blocksToHtml - single code-snippet block (107ms)
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
30
+ ✔ blocksToHtml - single files-list block with image files
31
+ ✔ blocksToHtml - single files-list block with non-image files
32
+ ✔ blocksToHtml - single files-list block with mixed files
33
+ ✔ blocksToHtml - single files-list block with empty array
34
+ ✔ blocksToHtml - single shortcut-tiles block
35
+ ✔ blocksToHtml - single shortcut-tiles block with empty shortcuts
36
+ ✔ blocksToHtml - single shortcut-tiles block with no image
37
+ ✔ blocksToHtml - single shortcut-tiles block with link but no name
40
38
  ✔ blocksToHtml - block with no data
41
39
  ✔ blocksToHtml - file extensions detection for images
42
40
  ✔ blocksToHtml - case insensitive file extension detection
@@ -49,12 +47,14 @@ marked(): mangle parameter is enabled by default, but is deprecated since versio
49
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}`.
50
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}`.
51
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}`.
52
- blocksToHtml - unknown block type throws error (101ms)
53
- ✔ blocksToHtml - single markdown-block with string (169ms)
54
- blocksToHtml - single markdown-block with array (168ms)
55
- ✔ blocksToHtml - single markdown-block with empty string (168ms)
56
- ✔ blocksToHtml - single markdown-block with undefined md (168ms)
57
- ✔ blocksToHtml - multiple different block types (145ms)
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}`.
51
+ ✔ blocksToHtml - unknown block type throws error
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}`.
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 (110ms)
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.11",
4
+ "version": "4.92.12--canary.7630.93c4411.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.11",
29
- "@knapsack/utils": "4.92.11",
28
+ "@knapsack/tiptap-utils": "4.92.12--canary.7630.93c4411.0",
29
+ "@knapsack/utils": "4.92.12--canary.7630.93c4411.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.11",
35
- "@knapsack/prettier-config": "4.92.11",
36
- "@knapsack/test-ava": "4.92.11",
37
- "@knapsack/types": "4.92.11",
38
- "@knapsack/typescript-config-starter": "4.92.11",
34
+ "@knapsack/eslint-config-starter": "4.92.12--canary.7630.93c4411.0",
35
+ "@knapsack/prettier-config": "4.92.12--canary.7630.93c4411.0",
36
+ "@knapsack/test-ava": "4.92.12--canary.7630.93c4411.0",
37
+ "@knapsack/types": "4.92.12--canary.7630.93c4411.0",
38
+ "@knapsack/typescript-config-starter": "4.92.12--canary.7630.93c4411.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": "dd54ad87f260a37f3d9b8f5832fdf4960d40b818"
53
+ "gitHead": "93c4411d33946bc4d4fecf2358c06e3679a2d51e"
54
54
  }