@asciidoctor/core 3.0.3 → 4.0.0-alpha.1
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/README.md +42 -10
- package/build/browser/index.js +24154 -0
- package/build/node/index.cjs +24735 -0
- package/{dist/css/asciidoctor.css → data/asciidoctor-default.css} +54 -53
- package/package.json +53 -100
- package/src/abstract_block.js +849 -0
- package/src/abstract_node.js +954 -0
- package/src/attribute_entry.js +12 -0
- package/src/attribute_list.js +380 -0
- package/src/block.js +168 -0
- package/src/browser/asset.js +22 -0
- package/src/browser/reader.js +138 -0
- package/src/browser.js +121 -0
- package/src/callouts.js +85 -0
- package/src/compliance.js +54 -0
- package/src/constants.js +665 -0
- package/src/convert.js +370 -0
- package/src/converter/composite.js +83 -0
- package/src/converter/docbook5.js +1031 -0
- package/src/converter/html5.js +1899 -0
- package/src/converter/manpage.js +935 -0
- package/src/converter/template.js +459 -0
- package/src/converter.js +478 -0
- package/src/data/stylesheet-data.js +2 -0
- package/src/document.js +2134 -0
- package/src/extensions.js +1952 -0
- package/src/footnote.js +28 -0
- package/src/helpers.js +355 -0
- package/src/index.js +138 -0
- package/src/inline.js +158 -0
- package/src/list.js +240 -0
- package/src/load.js +276 -0
- package/src/logging.js +526 -0
- package/src/parser.js +3661 -0
- package/src/path_resolver.js +472 -0
- package/src/reader.js +1755 -0
- package/src/rx.js +829 -0
- package/src/section.js +354 -0
- package/src/stylesheets.js +30 -0
- package/src/substitutors.js +2241 -0
- package/src/syntaxHighlighter/highlightjs.js +90 -0
- package/src/syntaxHighlighter/html_pipeline.js +33 -0
- package/src/syntax_highlighter.js +304 -0
- package/src/table.js +952 -0
- package/src/timings.js +78 -0
- package/types/abstract_block.d.ts +343 -0
- package/types/abstract_node.d.ts +471 -0
- package/types/attribute_entry.d.ts +7 -0
- package/types/attribute_list.d.ts +52 -0
- package/types/block.d.ts +55 -0
- package/types/browser/asset.d.ts +7 -0
- package/types/browser/reader.d.ts +29 -0
- package/types/callouts.d.ts +36 -0
- package/types/compliance.d.ts +23 -0
- package/types/constants.d.ts +268 -0
- package/types/convert.d.ts +34 -0
- package/types/converter/composite.d.ts +20 -0
- package/types/converter/docbook5.d.ts +41 -0
- package/types/converter/html5.d.ts +51 -0
- package/types/converter/manpage.d.ts +59 -0
- package/types/converter/template.d.ts +83 -0
- package/types/converter.d.ts +150 -0
- package/types/data/stylesheet-data.d.ts +2 -0
- package/types/document.d.ts +495 -0
- package/types/extensions.d.ts +876 -0
- package/types/footnote.d.ts +18 -0
- package/types/helpers.d.ts +146 -0
- package/types/index.d.ts +73 -3731
- package/types/inline.d.ts +69 -0
- package/types/list.d.ts +114 -0
- package/types/load.d.ts +39 -0
- package/types/logging.d.ts +187 -0
- package/types/parser.d.ts +114 -0
- package/types/path_resolver.d.ts +103 -0
- package/types/reader.d.ts +184 -0
- package/types/rx.d.ts +513 -0
- package/types/section.d.ts +122 -0
- package/types/stylesheets.d.ts +10 -0
- package/types/substitutors.d.ts +208 -0
- package/types/syntaxHighlighter/highlightjs.d.ts +33 -0
- package/types/syntaxHighlighter/html_pipeline.d.ts +16 -0
- package/types/syntax_highlighter.d.ts +167 -0
- package/types/table.d.ts +231 -0
- package/types/timings.d.ts +25 -0
- package/types/tsconfig.json +9 -0
- package/LICENSE +0 -21
- package/dist/browser/asciidoctor.js +0 -47654
- package/dist/browser/asciidoctor.min.js +0 -1452
- package/dist/graalvm/asciidoctor.js +0 -47402
- package/dist/node/asciidoctor.cjs +0 -21567
- package/dist/node/asciidoctor.js +0 -23037
|
@@ -84,10 +84,10 @@ dl dd{margin-bottom:1.25em}
|
|
|
84
84
|
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
|
|
85
85
|
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
|
|
86
86
|
@media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
|
|
87
|
-
h1{font-size:2.75em}
|
|
88
|
-
h2{font-size:2.3125em}
|
|
89
|
-
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
|
|
90
|
-
h4{font-size:1.4375em}}
|
|
87
|
+
h1{font-size:2.75em}
|
|
88
|
+
h2{font-size:2.3125em}
|
|
89
|
+
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
|
|
90
|
+
h4{font-size:1.4375em}}
|
|
91
91
|
table{background:#fff;margin-bottom:1.25em;border:1px solid #dedede;word-wrap:normal}
|
|
92
92
|
table thead,table tfoot{background:#f7f8f7}
|
|
93
93
|
table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
|
|
@@ -106,7 +106,6 @@ h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title str
|
|
|
106
106
|
:not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
|
|
107
107
|
pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
|
|
108
108
|
pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
|
|
109
|
-
pre>code{display:block}
|
|
110
109
|
pre.nowrap,pre.nowrap pre{white-space:pre;word-wrap:normal}
|
|
111
110
|
em em{font-style:normal}
|
|
112
111
|
strong strong{font-weight:400}
|
|
@@ -130,7 +129,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
|
130
129
|
#content::before{content:none}
|
|
131
130
|
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
|
|
132
131
|
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
|
|
133
|
-
#header>h1:only-child
|
|
132
|
+
#header>h1:only-child{border-bottom:1px solid #dddddf;padding-bottom:8px}
|
|
134
133
|
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:flex;flex-flow:row wrap}
|
|
135
134
|
#header .details span:first-child{margin-left:-.125em}
|
|
136
135
|
#header .details span.email a{color:rgba(0,0,0,.85)}
|
|
@@ -151,20 +150,21 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
|
151
150
|
#toc a:active{text-decoration:underline}
|
|
152
151
|
#toctitle{color:#7a2518;font-size:1.2em}
|
|
153
152
|
@media screen and (min-width:768px){#toctitle{font-size:1.375em}
|
|
154
|
-
body.toc2{padding-left:15em;padding-right:0}
|
|
155
|
-
|
|
156
|
-
#toc.toc2
|
|
157
|
-
#toc.toc2
|
|
158
|
-
#toc.toc2
|
|
159
|
-
#toc.toc2 ul
|
|
160
|
-
|
|
161
|
-
body.toc2.toc-right
|
|
153
|
+
body.toc2{padding-left:15em;padding-right:0}
|
|
154
|
+
body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
|
|
155
|
+
#toc.toc2{margin-top:0!important;background:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
|
|
156
|
+
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
|
|
157
|
+
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
|
|
158
|
+
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
|
|
159
|
+
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
|
|
160
|
+
body.toc2.toc-right{padding-left:0;padding-right:15em}
|
|
161
|
+
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9;left:auto;right:0}}
|
|
162
162
|
@media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
|
|
163
|
-
#toc.toc2{width:20em}
|
|
164
|
-
#toc.toc2 #toctitle{font-size:1.375em}
|
|
165
|
-
#toc.toc2>ul{font-size:.95em}
|
|
166
|
-
#toc.toc2 ul ul{padding-left:1.25em}
|
|
167
|
-
body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
163
|
+
#toc.toc2{width:20em}
|
|
164
|
+
#toc.toc2 #toctitle{font-size:1.375em}
|
|
165
|
+
#toc.toc2>ul{font-size:.95em}
|
|
166
|
+
#toc.toc2 ul ul{padding-left:1.25em}
|
|
167
|
+
body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
168
168
|
#content #toc{border:1px solid #e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;border-radius:4px}
|
|
169
169
|
#content #toc>:first-child{margin-top:0}
|
|
170
170
|
#content #toc>:last-child{margin-bottom:0}
|
|
@@ -173,7 +173,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
|
173
173
|
#content{margin-bottom:.625em}
|
|
174
174
|
.sect1{padding-bottom:.625em}
|
|
175
175
|
@media screen and (min-width:768px){#content{margin-bottom:1.25em}
|
|
176
|
-
.sect1{padding-bottom:1.25em}}
|
|
176
|
+
.sect1{padding-bottom:1.25em}}
|
|
177
177
|
.sect1:last-child{padding-bottom:0}
|
|
178
178
|
.sect1+.sect1{border-top:1px solid #e7e7e9}
|
|
179
179
|
#content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
|
|
@@ -208,6 +208,7 @@ table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
|
|
|
208
208
|
.literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class=highlight],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
|
|
209
209
|
.literalblock.output pre{color:#f7f7f8;background:rgba(0,0,0,.9)}
|
|
210
210
|
.listingblock>.content{position:relative}
|
|
211
|
+
.listingblock pre>code{display:block}
|
|
211
212
|
.listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:inherit;opacity:.5}
|
|
212
213
|
.listingblock:hover code[data-lang]::before{display:block}
|
|
213
214
|
.listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color:inherit;opacity:.5}
|
|
@@ -317,7 +318,7 @@ a.image{text-decoration:none;display:inline-block}
|
|
|
317
318
|
a.image object{pointer-events:none}
|
|
318
319
|
sup.footnote,sup.footnoteref{font-size:.875em;position:static;vertical-align:super}
|
|
319
320
|
sup.footnote a,sup.footnoteref a{text-decoration:none}
|
|
320
|
-
sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
|
|
321
|
+
sup.footnote a:active,sup.footnoteref a:active,#footnotes .footnote a:first-of-type:active{text-decoration:underline}
|
|
321
322
|
#footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}
|
|
322
323
|
#footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em;border-width:1px 0 0}
|
|
323
324
|
#footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;margin-bottom:.2em}
|
|
@@ -387,37 +388,37 @@ p{margin-bottom:1.25rem}
|
|
|
387
388
|
.print-only{display:none!important}
|
|
388
389
|
@page{margin:1.25cm .75cm}
|
|
389
390
|
@media print{*{box-shadow:none!important;text-shadow:none!important}
|
|
390
|
-
html{font-size:80%}
|
|
391
|
-
a{color:inherit!important;text-decoration:underline!important}
|
|
392
|
-
a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
|
|
393
|
-
a[href^="http:"]:not(.bare)::after,a[href^="https:"]:not(.bare)::after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
|
|
394
|
-
abbr[title]{border-bottom:1px dotted}
|
|
395
|
-
abbr[title]::after{content:" (" attr(title) ")"}
|
|
396
|
-
pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
|
|
397
|
-
thead{display:table-header-group}
|
|
398
|
-
svg{max-width:100%}
|
|
399
|
-
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
|
400
|
-
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
|
401
|
-
#header,#content,#footnotes,#footer{max-width:none}
|
|
402
|
-
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
|
403
|
-
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
|
404
|
-
body.book #header{text-align:center}
|
|
405
|
-
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
|
|
406
|
-
body.book #header .details{border:0!important;display:block;padding:0!important}
|
|
407
|
-
body.book #header .details span:first-child{margin-left:0!important}
|
|
408
|
-
body.book #header .details br{display:block}
|
|
409
|
-
body.book #header .details br+span::before{content:none!important}
|
|
410
|
-
body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}
|
|
411
|
-
body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}
|
|
412
|
-
.listingblock code[data-lang]::before{display:block}
|
|
413
|
-
#footer{padding:0 .9375em}
|
|
414
|
-
.hide-on-print{display:none!important}
|
|
415
|
-
.print-only{display:block!important}
|
|
416
|
-
.hide-for-print{display:none!important}
|
|
417
|
-
.show-for-print{display:inherit!important}}
|
|
391
|
+
html{font-size:80%}
|
|
392
|
+
a{color:inherit!important;text-decoration:underline!important}
|
|
393
|
+
a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
|
|
394
|
+
a[href^="http:"]:not(.bare)::after,a[href^="https:"]:not(.bare)::after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
|
|
395
|
+
abbr[title]{border-bottom:1px dotted}
|
|
396
|
+
abbr[title]::after{content:" (" attr(title) ")"}
|
|
397
|
+
pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
|
|
398
|
+
thead{display:table-header-group}
|
|
399
|
+
svg{max-width:100%}
|
|
400
|
+
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
|
401
|
+
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
|
402
|
+
#header,#content,#footnotes,#footer{max-width:none}
|
|
403
|
+
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
|
404
|
+
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
|
405
|
+
body.book #header{text-align:center}
|
|
406
|
+
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
|
|
407
|
+
body.book #header .details{border:0!important;display:block;padding:0!important}
|
|
408
|
+
body.book #header .details span:first-child{margin-left:0!important}
|
|
409
|
+
body.book #header .details br{display:block}
|
|
410
|
+
body.book #header .details br+span::before{content:none!important}
|
|
411
|
+
body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}
|
|
412
|
+
body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}
|
|
413
|
+
.listingblock code[data-lang]::before{display:block}
|
|
414
|
+
#footer{padding:0 .9375em}
|
|
415
|
+
.hide-on-print{display:none!important}
|
|
416
|
+
.print-only{display:block!important}
|
|
417
|
+
.hide-for-print{display:none!important}
|
|
418
|
+
.show-for-print{display:inherit!important}}
|
|
418
419
|
@media amzn-kf8,print{#header>h1:first-child{margin-top:1.25rem}
|
|
419
|
-
.sect1{padding:0!important}
|
|
420
|
-
.sect1+.sect1{border:0}
|
|
421
|
-
#footer{background:none}
|
|
422
|
-
#footer-text{color:rgba(0,0,0,.6);font-size:.9em}}
|
|
420
|
+
.sect1{padding:0!important}
|
|
421
|
+
.sect1+.sect1{border:0}
|
|
422
|
+
#footer{background:none}
|
|
423
|
+
#footer-text{color:rgba(0,0,0,.6);font-size:.9em}}
|
|
423
424
|
@media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}}
|
package/package.json
CHANGED
|
@@ -1,134 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asciidoctor/core",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Asciidoctor
|
|
3
|
+
"version": "4.0.0-alpha.1",
|
|
4
|
+
"description": "Asciidoctor.js: AsciiDoc in JavaScript powered by Asciidoctor",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "
|
|
7
|
-
"
|
|
8
|
-
"
|
|
6
|
+
"main": "build/node/index.cjs",
|
|
7
|
+
"module": "src/index.js",
|
|
8
|
+
"types": "types/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"default": "./dist/node/asciidoctor.cjs",
|
|
17
|
-
"types": "./types/index.d.cts"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"default": "./dist/browser/asciidoctor.js",
|
|
21
|
-
"types": "./types/index.d.ts"
|
|
10
|
+
".": {
|
|
11
|
+
"browser": "./build/browser/index.js",
|
|
12
|
+
"require": "./build/node/index.cjs",
|
|
13
|
+
"import": "./src/index.js",
|
|
14
|
+
"types": "./types/index.d.ts"
|
|
15
|
+
}
|
|
22
16
|
},
|
|
23
|
-
"types": "types/index.d.ts",
|
|
24
17
|
"engines": {
|
|
25
|
-
"node": ">=
|
|
26
|
-
"npm": ">=8"
|
|
18
|
+
"node": ">=24"
|
|
27
19
|
},
|
|
28
|
-
"files": [
|
|
29
|
-
"dist",
|
|
30
|
-
"types/index.d.ts",
|
|
31
|
-
"LICENSE",
|
|
32
|
-
"README.md"
|
|
33
|
-
],
|
|
34
20
|
"scripts": {
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"test
|
|
40
|
-
"test": "node
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"clean:core": "node tasks/clean.cjs core",
|
|
46
|
-
"clean:patch": "node tasks/clean.cjs patch",
|
|
47
|
-
"clean:js": "node tasks/clean.cjs js",
|
|
48
|
-
"dist": "cross-env MINIFY=1 node tasks/dist.cjs",
|
|
49
|
-
"lint": "npm run code:lint",
|
|
50
|
-
"code:lint": "standard 'src/**/*.js' 'spec/**/*.cjs' 'spec/**/*.js' 'tasks/**/*.cjs' 'benchmark/**/*.cjs'",
|
|
51
|
-
"package": "cross-env MINIFY=1 COPY_DIST=1 node tasks/build.cjs && cross-env MINIFY=1 npm run test",
|
|
52
|
-
"examples": "node tasks/examples.cjs",
|
|
53
|
-
"server": "node tasks/server.cjs",
|
|
54
|
-
"benchmark": "node tasks/benchmark.cjs",
|
|
55
|
-
"docs:lint": "documentation lint src/**",
|
|
56
|
-
"docs:build": "documentation build src/** -f html -o build/docs -g",
|
|
57
|
-
"docs:serve": "documentation serve src/** -g -w",
|
|
58
|
-
"docs": "npm run docs:lint && npm run docs:build",
|
|
59
|
-
"travis": "npm run lint && npm run package && npm run docs && npm run examples && npm run test:graalvm"
|
|
21
|
+
"build": "npm run build:data && rollup -c && npm run build:types",
|
|
22
|
+
"build:data": "node scripts/generate-stylesheet-data.js",
|
|
23
|
+
"build:types": "tsc && node scripts/strip-internal.js && node scripts/patch-jsdoc.js",
|
|
24
|
+
"docs": "typedoc --tsconfig tsconfig.docs.json",
|
|
25
|
+
"test": "node --test test/**.test.js",
|
|
26
|
+
"test:coverage": "node --test --experimental-test-coverage --test-coverage-include='src/**' test/**.test.js",
|
|
27
|
+
"test:browser": "vitest run --config vitest.browser.config.js",
|
|
28
|
+
"lint": "biome lint src test",
|
|
29
|
+
"format": "biome format --write src test",
|
|
30
|
+
"check": "biome check src test"
|
|
60
31
|
},
|
|
61
32
|
"repository": {
|
|
62
33
|
"type": "git",
|
|
63
34
|
"url": "https://github.com/asciidoctor/asciidoctor.js.git"
|
|
64
35
|
},
|
|
36
|
+
"files": [
|
|
37
|
+
"src",
|
|
38
|
+
"build/browser",
|
|
39
|
+
"build/node",
|
|
40
|
+
"types",
|
|
41
|
+
"data",
|
|
42
|
+
"README.md"
|
|
43
|
+
],
|
|
65
44
|
"publishConfig": {
|
|
66
45
|
"access": "public"
|
|
67
46
|
},
|
|
68
47
|
"keywords": [
|
|
69
48
|
"asciidoc",
|
|
70
49
|
"asciidoctor",
|
|
71
|
-
"opal",
|
|
72
50
|
"javascript",
|
|
73
51
|
"library"
|
|
74
52
|
],
|
|
75
53
|
"authors": [
|
|
76
54
|
"Dan Allen (https://github.com/mojavelinux)",
|
|
77
|
-
"Guillaume Grossetie (https://github.com/
|
|
78
|
-
"Anthonny Quérouil (https://github.com/anthonny)"
|
|
55
|
+
"Guillaume Grossetie (https://github.com/ggrossetie)"
|
|
79
56
|
],
|
|
80
57
|
"license": "MIT",
|
|
81
58
|
"bugs": {
|
|
82
59
|
"url": "https://github.com/asciidoctor/asciidoctor.js/issues"
|
|
83
60
|
},
|
|
84
61
|
"homepage": "https://github.com/asciidoctor/asciidoctor.js",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"unxhr": "1.2.0"
|
|
62
|
+
"volta": {
|
|
63
|
+
"node": "24.14.1"
|
|
88
64
|
},
|
|
89
65
|
"devDependencies": {
|
|
90
|
-
"@
|
|
91
|
-
"
|
|
92
|
-
"@rollup/plugin-
|
|
93
|
-
"@types/node": "
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"mocha": "10.2.0",
|
|
111
|
-
"mock-http-server": "1.4.5",
|
|
112
|
-
"module-alias": "2.2.3",
|
|
113
|
-
"nunjucks": "3.2.4",
|
|
114
|
-
"opal-compiler": "3.0.0",
|
|
115
|
-
"portfinder": "1.0.32",
|
|
116
|
-
"pug": "3.0.2",
|
|
117
|
-
"puppeteer": "21.7.0",
|
|
118
|
-
"rollup": "~4.9.0",
|
|
119
|
-
"rollup-plugin-dts": "^6.1.0",
|
|
120
|
-
"sinon": "17.0.1",
|
|
121
|
-
"standard": "17.1.0",
|
|
122
|
-
"tsd": "0.30.3",
|
|
123
|
-
"typescript": "5.3.3"
|
|
124
|
-
},
|
|
125
|
-
"standard": {
|
|
126
|
-
"ignore": [
|
|
127
|
-
"src/template-*.js",
|
|
128
|
-
"spec/node/asciidoctor.spec.cjs"
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
"_moduleAliases": {
|
|
132
|
-
"@asciidoctor/core": "build/asciidoctor-node.cjs"
|
|
66
|
+
"@biomejs/biome": "^2.4.13",
|
|
67
|
+
"typedoc": "^0.28.4",
|
|
68
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
69
|
+
"@types/node": "^25.6.0",
|
|
70
|
+
"@vitest/browser": "^4.1.4",
|
|
71
|
+
"@vitest/browser-playwright": "^4.1.4",
|
|
72
|
+
"@vitest/ui": "^4.1.4",
|
|
73
|
+
"@xmldom/xmldom": "^0.9.9",
|
|
74
|
+
"dot": "^1.1.3",
|
|
75
|
+
"ejs": "^5.0.2",
|
|
76
|
+
"handlebars": "^4.7.9",
|
|
77
|
+
"linkedom": "^0.18.12",
|
|
78
|
+
"node-html-parser": "^7.1.0",
|
|
79
|
+
"nunjucks": "^3.2.4",
|
|
80
|
+
"playwright": "^1.59.1",
|
|
81
|
+
"pug": "^3.0.4",
|
|
82
|
+
"rollup": "^4.60.2",
|
|
83
|
+
"typescript": "^6.0.3",
|
|
84
|
+
"vitest": "^4.1.4",
|
|
85
|
+
"xpath": "^0.0.34"
|
|
133
86
|
}
|
|
134
87
|
}
|