rahad-media-downloader 2.1.8 → 2.1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/.cache/replit/modules/{nodejs-20:v32-20240401-269b323.res → nodejs-20:v36-20240502-f4453db.res} +1 -1
  2. package/.cache/replit/modules/{replit:v8-20240329-787bc7d.res → replit:v9-20240429-0325cbb.res} +1 -1
  3. package/.cache/typescript/5.3/node_modules/.package-lock.json +60 -0
  4. package/.cache/typescript/5.3/node_modules/@types/cookie/LICENSE +21 -0
  5. package/.cache/typescript/5.3/node_modules/@types/cookie/README.md +15 -0
  6. package/.cache/typescript/5.3/node_modules/@types/cookie/index.d.ts +154 -0
  7. package/.cache/typescript/5.3/node_modules/@types/cookie/package.json +30 -0
  8. package/.cache/typescript/5.3/node_modules/@types/domhandler/LICENSE +21 -0
  9. package/.cache/typescript/5.3/node_modules/@types/domhandler/README.md +92 -0
  10. package/.cache/typescript/5.3/node_modules/@types/domhandler/index.d.ts +73 -0
  11. package/.cache/typescript/5.3/node_modules/@types/domhandler/package.json +25 -0
  12. package/.cache/typescript/5.3/node_modules/@types/domutils/LICENSE +21 -0
  13. package/.cache/typescript/5.3/node_modules/@types/domutils/README.md +15 -0
  14. package/.cache/typescript/5.3/node_modules/@types/domutils/index.d.ts +124 -0
  15. package/.cache/typescript/5.3/node_modules/@types/domutils/package.json +27 -0
  16. package/.cache/typescript/5.3/node_modules/@types/htmlparser2/LICENSE +21 -0
  17. package/.cache/typescript/5.3/node_modules/@types/htmlparser2/README.md +15 -0
  18. package/.cache/typescript/5.3/node_modules/@types/htmlparser2/index.d.ts +120 -0
  19. package/.cache/typescript/5.3/node_modules/@types/htmlparser2/package.json +45 -0
  20. package/.cache/typescript/5.3/node_modules/@types/psl/LICENSE +21 -0
  21. package/.cache/typescript/5.3/node_modules/@types/psl/README.md +52 -0
  22. package/.cache/typescript/5.3/node_modules/@types/psl/index.d.ts +33 -0
  23. package/.cache/typescript/5.3/node_modules/@types/psl/package.json +25 -0
  24. package/.cache/typescript/5.3/node_modules/@types/qs/LICENSE +21 -0
  25. package/.cache/typescript/5.3/node_modules/@types/qs/README.md +15 -0
  26. package/.cache/typescript/5.3/node_modules/@types/qs/index.d.ts +79 -0
  27. package/.cache/typescript/5.3/node_modules/@types/qs/package.json +65 -0
  28. package/.cache/typescript/5.3/node_modules/domelementtype/LICENSE +11 -0
  29. package/.cache/typescript/5.3/node_modules/domelementtype/index.js +15 -0
  30. package/.cache/typescript/5.3/node_modules/domelementtype/package.json +16 -0
  31. package/.cache/typescript/5.3/node_modules/domelementtype/readme.md +1 -0
  32. package/.cache/typescript/5.3/node_modules/domhandler/.travis.yml +6 -0
  33. package/.cache/typescript/5.3/node_modules/domhandler/LICENSE +11 -0
  34. package/.cache/typescript/5.3/node_modules/domhandler/index.js +217 -0
  35. package/.cache/typescript/5.3/node_modules/domhandler/lib/element.js +20 -0
  36. package/.cache/typescript/5.3/node_modules/domhandler/lib/node.js +44 -0
  37. package/.cache/typescript/5.3/node_modules/domhandler/package.json +41 -0
  38. package/.cache/typescript/5.3/node_modules/domhandler/readme.md +116 -0
  39. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/01-basic.json +57 -0
  40. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/02-single_tag_1.json +21 -0
  41. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/03-single_tag_2.json +21 -0
  42. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/04-unescaped_in_script.json +27 -0
  43. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/05-tags_in_comment.json +18 -0
  44. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/06-comment_in_script.json +18 -0
  45. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/07-unescaped_in_style.json +20 -0
  46. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json +20 -0
  47. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/09-unquoted_attrib.json +20 -0
  48. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/10-singular_attribute.json +15 -0
  49. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/11-text_outside_tags.json +40 -0
  50. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/12-text_only.json +11 -0
  51. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/13-comment_in_text.json +19 -0
  52. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json +18 -0
  53. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/15-non-verbose.json +22 -0
  54. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/16-normalize_whitespace.json +47 -0
  55. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/17-xml_namespace.json +18 -0
  56. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/18-enforce_empty_tags.json +16 -0
  57. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/19-ignore_empty_tags.json +20 -0
  58. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/20-template_script_tags.json +20 -0
  59. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/21-conditional_comments.json +15 -0
  60. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/22-lowercase_tags.json +41 -0
  61. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/23-dom-lvl1.json +131 -0
  62. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/24-with-start-indices.json +85 -0
  63. package/.cache/typescript/5.3/node_modules/domhandler/test/cases/25-with-end-indices.json +86 -0
  64. package/.cache/typescript/5.3/node_modules/domhandler/test/tests.js +60 -0
  65. package/.cache/typescript/5.3/package-lock.json +64 -0
  66. package/.cache/typescript/5.3/package.json +1 -1
  67. package/README.md +103 -18
  68. package/index.js +1 -1
  69. package/package.json +34 -4
  70. package/test.js +0 -35
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "Unescaped chars in style",
3
+ "options": {},
4
+ "html": "<style type=\"text/css\">\n body > p\n\t{ font-weight: bold; }</style>",
5
+ "expected": [
6
+ {
7
+ "type": "style",
8
+ "name": "style",
9
+ "attribs": {
10
+ "type": "text/css"
11
+ },
12
+ "children": [
13
+ {
14
+ "data": "\n body > p\n\t{ font-weight: bold; }",
15
+ "type": "text"
16
+ }
17
+ ]
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "Extra spaces in tag",
3
+ "options": {},
4
+ "html": "<font\t\n size='14' \n>the text</\t\nfont\t \n>",
5
+ "expected": [
6
+ {
7
+ "type": "tag",
8
+ "name": "font",
9
+ "attribs": {
10
+ "size": "14"
11
+ },
12
+ "children": [
13
+ {
14
+ "data": "the text",
15
+ "type": "text"
16
+ }
17
+ ]
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "Unquoted attributes",
3
+ "options": {},
4
+ "html": "<font size= 14>the text</font>",
5
+ "expected": [
6
+ {
7
+ "type": "tag",
8
+ "name": "font",
9
+ "attribs": {
10
+ "size": "14"
11
+ },
12
+ "children": [
13
+ {
14
+ "data": "the text",
15
+ "type": "text"
16
+ }
17
+ ]
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "Singular attribute",
3
+ "options": {},
4
+ "html": "<option value='foo' selected>",
5
+ "expected": [
6
+ {
7
+ "type": "tag",
8
+ "name": "option",
9
+ "attribs": {
10
+ "value": "foo",
11
+ "selected": ""
12
+ }
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "Text outside tags",
3
+ "options": {},
4
+ "html": "Line one\n<br>\nline two",
5
+ "expected": [
6
+ {
7
+ "data": "Line one\n",
8
+ "type": "text",
9
+ "prev": null,
10
+ "next": {
11
+ "type": "tag",
12
+ "name": "br",
13
+ "attribs": {}
14
+ }
15
+ },
16
+ {
17
+ "type": "tag",
18
+ "name": "br",
19
+ "attribs": {},
20
+ "prev": {
21
+ "data": "Line one\n",
22
+ "type": "text"
23
+ },
24
+ "next": {
25
+ "data": "\nline two",
26
+ "type": "text"
27
+ }
28
+ },
29
+ {
30
+ "data": "\nline two",
31
+ "type": "text",
32
+ "prev": {
33
+ "type": "tag",
34
+ "name": "br",
35
+ "attribs": {}
36
+ },
37
+ "next": null
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "Only text",
3
+ "options": {},
4
+ "html": "this is the text",
5
+ "expected": [
6
+ {
7
+ "data": "this is the text",
8
+ "type": "text"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "Comment within text",
3
+ "options": {},
4
+ "html": "this is <!-- the comment --> the text",
5
+ "expected": [
6
+ {
7
+ "data": "this is ",
8
+ "type": "text"
9
+ },
10
+ {
11
+ "data": " the comment ",
12
+ "type": "comment"
13
+ },
14
+ {
15
+ "data": " the text",
16
+ "type": "text"
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "Comment within text within script",
3
+ "options": {},
4
+ "html": "<script>this is <!-- the comment --> the text</script>",
5
+ "expected": [
6
+ {
7
+ "type": "script",
8
+ "name": "script",
9
+ "attribs": {},
10
+ "children": [
11
+ {
12
+ "data": "this is <!-- the comment --> the text",
13
+ "type": "text"
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "Option 'verbose' set to 'false'",
3
+ "options": {
4
+ "verbose": false
5
+ },
6
+ "html": "<font\t\n size='14' \n>the text</\t\nfont\t \n>",
7
+ "expected": [
8
+ {
9
+ "type": "tag",
10
+ "name": "font",
11
+ "attribs": {
12
+ "size": "14"
13
+ },
14
+ "children": [
15
+ {
16
+ "data": "the text",
17
+ "type": "text"
18
+ }
19
+ ]
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "Normalize whitespace",
3
+ "options": {
4
+ "normalizeWhitespace": true
5
+ },
6
+ "html": "Line one\n<br>\t \r\n\f <br>\nline two<font><br> x </font>",
7
+ "expected": [
8
+ {
9
+ "data": "Line one ",
10
+ "type": "text"
11
+ },
12
+ {
13
+ "type": "tag",
14
+ "name": "br",
15
+ "attribs": {}
16
+ },
17
+ {
18
+ "data": " ",
19
+ "type": "text"
20
+ },
21
+ {
22
+ "type": "tag",
23
+ "name": "br",
24
+ "attribs": {}
25
+ },
26
+ {
27
+ "data": " line two",
28
+ "type": "text"
29
+ },
30
+ {
31
+ "type": "tag",
32
+ "name": "font",
33
+ "attribs": {},
34
+ "children": [
35
+ {
36
+ "type": "tag",
37
+ "name": "br",
38
+ "attribs": {}
39
+ },
40
+ {
41
+ "data": " x ",
42
+ "type": "text"
43
+ }
44
+ ]
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "XML Namespace",
3
+ "options": {},
4
+ "html": "<ns:tag>text</ns:tag>",
5
+ "expected": [
6
+ {
7
+ "type": "tag",
8
+ "name": "ns:tag",
9
+ "attribs": {},
10
+ "children": [
11
+ {
12
+ "data": "text",
13
+ "type": "text"
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "Enforce empty tags",
3
+ "options": {},
4
+ "html": "<link>text</link>",
5
+ "expected": [
6
+ {
7
+ "type": "tag",
8
+ "name": "link",
9
+ "attribs": {}
10
+ },
11
+ {
12
+ "data": "text",
13
+ "type": "text"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "Ignore empty tags (xml mode)",
3
+ "options": {
4
+ "xmlMode": true
5
+ },
6
+ "html": "<link>text</link>",
7
+ "expected": [
8
+ {
9
+ "type": "tag",
10
+ "name": "link",
11
+ "attribs": {},
12
+ "children": [
13
+ {
14
+ "data": "text",
15
+ "type": "text"
16
+ }
17
+ ]
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "Template script tags",
3
+ "options": {},
4
+ "html": "<script type=\"text/template\"><h1>Heading1</h1></script>",
5
+ "expected": [
6
+ {
7
+ "type": "script",
8
+ "name": "script",
9
+ "attribs": {
10
+ "type": "text/template"
11
+ },
12
+ "children": [
13
+ {
14
+ "data": "<h1>Heading1</h1>",
15
+ "type": "text"
16
+ }
17
+ ]
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "Conditional comments",
3
+ "options": {},
4
+ "html": "<!--[if lt IE 7]> <html class='no-js ie6 oldie' lang='en'> <![endif]--><!--[if lt IE 7]> <html class='no-js ie6 oldie' lang='en'> <![endif]-->",
5
+ "expected": [
6
+ {
7
+ "data": "[if lt IE 7]> <html class='no-js ie6 oldie' lang='en'> <![endif]",
8
+ "type": "comment"
9
+ },
10
+ {
11
+ "data": "[if lt IE 7]> <html class='no-js ie6 oldie' lang='en'> <![endif]",
12
+ "type": "comment"
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "lowercase tags",
3
+ "options": {},
4
+ "html": "<!DOCTYPE html><HTML><TITLE>The Title</title><BODY>Hello world</body></html>",
5
+ "expected": [
6
+ {
7
+ "name": "!doctype",
8
+ "data": "!DOCTYPE html",
9
+ "type": "directive"
10
+ },
11
+ {
12
+ "type": "tag",
13
+ "name": "html",
14
+ "attribs": {},
15
+ "children": [
16
+ {
17
+ "type": "tag",
18
+ "name": "title",
19
+ "attribs": {},
20
+ "children": [
21
+ {
22
+ "data": "The Title",
23
+ "type": "text"
24
+ }
25
+ ]
26
+ },
27
+ {
28
+ "type": "tag",
29
+ "name": "body",
30
+ "attribs": {},
31
+ "children": [
32
+ {
33
+ "data": "Hello world",
34
+ "type": "text"
35
+ }
36
+ ]
37
+ }
38
+ ]
39
+ }
40
+ ]
41
+ }
@@ -0,0 +1,131 @@
1
+ {
2
+ "name": "DOM level 1",
3
+ "options": { "withDomLvl1": true },
4
+ "html": "<div>some stray text<h1>Hello, world.</h1><!-- comment node -->more stray text</div>",
5
+ "expected": [
6
+ {
7
+ "type": "tag",
8
+ "nodeType": 1,
9
+ "name": "div",
10
+ "tagName": "div",
11
+ "attribs": {},
12
+ "nodeValue": null,
13
+ "children": [
14
+ {
15
+ "type": "text",
16
+ "nodeType": 3,
17
+ "tagName": null,
18
+ "data": "some stray text",
19
+ "nodeValue": "some stray text",
20
+ "childNodes": null,
21
+ "firstChild": null,
22
+ "lastChild": null
23
+ },
24
+ {
25
+ "type": "tag",
26
+ "nodeType": 1,
27
+ "name": "h1",
28
+ "tagName": "h1",
29
+ "nodeValue": null,
30
+ "attribs": {},
31
+ "children": [
32
+ {
33
+ "type": "text",
34
+ "nodeType": 3,
35
+ "tagName": null,
36
+ "data": "Hello, world.",
37
+ "nodeValue": "Hello, world.",
38
+ "childNodes": null,
39
+ "firstChild": null,
40
+ "lastChild": null
41
+ }
42
+ ],
43
+ "firstChild": {
44
+ "type": "text",
45
+ "nodeType": 3,
46
+ "tagName": null,
47
+ "data": "Hello, world.",
48
+ "nodeValue": "Hello, world.",
49
+ "childNodes": null,
50
+ "firstChild": null,
51
+ "lastChild": null
52
+ },
53
+ "lastChild": {
54
+ "type": "text",
55
+ "nodeType": 3,
56
+ "tagName": null,
57
+ "data": "Hello, world.",
58
+ "nodeValue": "Hello, world.",
59
+ "childNodes": null,
60
+ "firstChild": null,
61
+ "lastChild": null
62
+ }
63
+ },
64
+ {
65
+ "type": "comment",
66
+ "nodeType": 8,
67
+ "tagName": null,
68
+ "data": " comment node ",
69
+ "nodeValue": " comment node ",
70
+ "childNodes": null,
71
+ "firstChild": null,
72
+ "lastChild": null,
73
+ "prev": {
74
+ "type": "tag",
75
+ "name": "h1",
76
+ "nodeValue": null,
77
+ "attribs": {}
78
+ },
79
+ "previousSibling": {
80
+ "type": "tag",
81
+ "name": "h1",
82
+ "nodeValue": null,
83
+ "attribs": {}
84
+ },
85
+ "next": {
86
+ "type": "text",
87
+ "tagName": null,
88
+ "data": "more stray text"
89
+ },
90
+ "nextSibling": {
91
+ "type": "text",
92
+ "tagName": null,
93
+ "data": "more stray text"
94
+ }
95
+ },
96
+ {
97
+ "type": "text",
98
+ "nodeType": 3,
99
+ "tagName": null,
100
+ "data": "more stray text",
101
+ "nodeValue": "more stray text",
102
+ "childNodes": null,
103
+ "firstChild": null,
104
+ "lastChild": null,
105
+ "next": null,
106
+ "nextSibling": null
107
+ }
108
+ ],
109
+ "firstChild": {
110
+ "type": "text",
111
+ "nodeType": 3,
112
+ "tagName": null,
113
+ "data": "some stray text",
114
+ "nodeValue": "some stray text",
115
+ "childNodes": null,
116
+ "firstChild": null,
117
+ "lastChild": null
118
+ },
119
+ "lastChild": {
120
+ "type": "text",
121
+ "nodeType": 3,
122
+ "tagName": null,
123
+ "data": "more stray text",
124
+ "nodeValue": "more stray text",
125
+ "childNodes": null,
126
+ "firstChild": null,
127
+ "lastChild": null
128
+ }
129
+ }
130
+ ]
131
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "withStartIndices adds correct startIndex properties",
3
+ "options": {"withStartIndices": true},
4
+ "streaming": false,
5
+ "html": "<!DOCTYPE html> <html> <title>The Title</title> <body class='foo'>Hello world <p></p></body> <!-- the comment --> </html> ",
6
+ "expected": [
7
+ {
8
+ "startIndex": 0,
9
+ "name": "!doctype",
10
+ "data": "!DOCTYPE html",
11
+ "type": "directive"
12
+ },
13
+ {
14
+ "type": "text",
15
+ "data": " "
16
+ },
17
+ {
18
+ "startIndex": 16,
19
+ "type": "tag",
20
+ "name": "html",
21
+ "attribs": {},
22
+ "parent": null,
23
+ "children": [
24
+ {
25
+ "startIndex": 22,
26
+ "type": "text",
27
+ "data": " "
28
+ },
29
+ {
30
+ "startIndex": 23,
31
+ "type": "tag",
32
+ "name": "title",
33
+ "attribs": {},
34
+ "children": [
35
+ {
36
+ "startIndex": 30,
37
+ "data": "The Title",
38
+ "type": "text"
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "startIndex": 47,
44
+ "type": "text",
45
+ "data": " "
46
+ },
47
+ {
48
+ "startIndex": 48,
49
+ "type": "tag",
50
+ "name": "body",
51
+ "attribs": {"class": "foo"},
52
+ "children": [
53
+ {
54
+ "startIndex": 66,
55
+ "data": "Hello world ",
56
+ "type": "text"
57
+ },
58
+ {
59
+ "startIndex": 78,
60
+ "type": "tag",
61
+ "name": "p",
62
+ "attribs": {},
63
+ "children": []
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "startIndex": 92,
69
+ "type": "text",
70
+ "data": " "
71
+ },
72
+ {
73
+ "startIndex": 93,
74
+ "type": "comment",
75
+ "data": " the comment "
76
+ },
77
+ {
78
+ "startIndex": 113,
79
+ "type": "text",
80
+ "data": " "
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "withEndIndices adds correct endIndex properties",
3
+ "options": {"withStartIndices": true,"withEndIndices": true},
4
+ "streaming": false,
5
+ "html": "<!DOCTYPE html> <html> <title>The Title</title> <body class='foo'>Hello world <p></p></body> <!-- the comment --> </html> ",
6
+ "expected": [
7
+ {
8
+ "endIndex": null,
9
+ "name": "!doctype",
10
+ "data": "!DOCTYPE html",
11
+ "type": "directive"
12
+ },
13
+ {
14
+ "type": "text",
15
+ "data": " ",
16
+ "endIndex": 15
17
+ },
18
+ {
19
+ "endIndex": 120,
20
+ "type": "tag",
21
+ "name": "html",
22
+ "attribs": {},
23
+ "parent": null,
24
+ "children": [
25
+ {
26
+ "endIndex": 22,
27
+ "type": "text",
28
+ "data": " "
29
+ },
30
+ {
31
+ "endIndex": 46,
32
+ "type": "tag",
33
+ "name": "title",
34
+ "attribs": {},
35
+ "children": [
36
+ {
37
+ "endIndex": 38,
38
+ "data": "The Title",
39
+ "type": "text"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "endIndex": 47,
45
+ "type": "text",
46
+ "data": " "
47
+ },
48
+ {
49
+ "endIndex": 91,
50
+ "type": "tag",
51
+ "name": "body",
52
+ "attribs": {"class": "foo"},
53
+ "children": [
54
+ {
55
+ "endIndex": 77,
56
+ "data": "Hello world ",
57
+ "type": "text"
58
+ },
59
+ {
60
+ "endIndex": 84,
61
+ "type": "tag",
62
+ "name": "p",
63
+ "attribs": {},
64
+ "children": []
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "endIndex": 92,
70
+ "type": "text",
71
+ "data": " "
72
+ },
73
+ {
74
+ "endIndex": 112,
75
+ "type": "comment",
76
+ "data": " the comment "
77
+ },
78
+ {
79
+ "endIndex": 113,
80
+ "type": "text",
81
+ "data": " "
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }