@asciidoctor/core 4.0.0-alpha.4 → 4.0.0-alpha.5
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/build/browser/index.js +1 -1
- package/build/node/index.cjs +1 -1
- package/package.json +2 -2
- package/types/index.d.cts +8 -8
- package/types/index.d.ts +8 -8
package/build/browser/index.js
CHANGED
package/build/node/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const node_fs = require('node:fs');
|
|
|
5
5
|
const path = require('node:path');
|
|
6
6
|
|
|
7
7
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
8
|
-
var version = "4.0.0-alpha.
|
|
8
|
+
var version = "4.0.0-alpha.5";
|
|
9
9
|
const packageJson = {
|
|
10
10
|
version: version};
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asciidoctor/core",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.5",
|
|
4
4
|
"description": "Asciidoctor.js: AsciiDoc in JavaScript powered by Asciidoctor",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/node/index.cjs",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
23
|
+
"node": ">=20"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "npm run build:data && rollup -c && npm run build:types",
|
package/types/index.d.cts
CHANGED
|
@@ -27,14 +27,14 @@ export function load(input: string | string[] | Buffer, options?: any): Promise<
|
|
|
27
27
|
* @returns {Promise<Document>} - the parsed Document
|
|
28
28
|
*/
|
|
29
29
|
export function loadFile(filename: string, options?: any): Promise<Document>;
|
|
30
|
-
export type ProcessorDslInterface
|
|
31
|
-
export type DocumentProcessorDslInterface
|
|
32
|
-
export type SyntaxProcessorDslInterface
|
|
33
|
-
export type IncludeProcessorDslInterface
|
|
34
|
-
export type DocinfoProcessorDslInterface
|
|
35
|
-
export type BlockProcessorDslInterface
|
|
36
|
-
export type MacroProcessorDslInterface
|
|
37
|
-
export type InlineMacroProcessorDslInterface
|
|
30
|
+
export type { ProcessorDslInterface } from './extensions.js';
|
|
31
|
+
export type { DocumentProcessorDslInterface } from './extensions.js';
|
|
32
|
+
export type { SyntaxProcessorDslInterface } from './extensions.js';
|
|
33
|
+
export type { IncludeProcessorDslInterface } from './extensions.js';
|
|
34
|
+
export type { DocinfoProcessorDslInterface } from './extensions.js';
|
|
35
|
+
export type { BlockProcessorDslInterface } from './extensions.js';
|
|
36
|
+
export type { MacroProcessorDslInterface } from './extensions.js';
|
|
37
|
+
export type { InlineMacroProcessorDslInterface } from './extensions.js';
|
|
38
38
|
import { Document } from './document.js';
|
|
39
39
|
import { convert } from './convert.js';
|
|
40
40
|
import { convertFile } from './convert.js';
|
package/types/index.d.ts
CHANGED
|
@@ -26,14 +26,14 @@ export function load(input: string | string[] | Buffer, options?: any): Promise<
|
|
|
26
26
|
* @returns {Promise<Document>} - the parsed Document
|
|
27
27
|
*/
|
|
28
28
|
export function loadFile(filename: string, options?: any): Promise<Document>;
|
|
29
|
-
export type ProcessorDslInterface
|
|
30
|
-
export type DocumentProcessorDslInterface
|
|
31
|
-
export type SyntaxProcessorDslInterface
|
|
32
|
-
export type IncludeProcessorDslInterface
|
|
33
|
-
export type DocinfoProcessorDslInterface
|
|
34
|
-
export type BlockProcessorDslInterface
|
|
35
|
-
export type MacroProcessorDslInterface
|
|
36
|
-
export type InlineMacroProcessorDslInterface
|
|
29
|
+
export type { ProcessorDslInterface } from './extensions.js';
|
|
30
|
+
export type { DocumentProcessorDslInterface } from './extensions.js';
|
|
31
|
+
export type { SyntaxProcessorDslInterface } from './extensions.js';
|
|
32
|
+
export type { IncludeProcessorDslInterface } from './extensions.js';
|
|
33
|
+
export type { DocinfoProcessorDslInterface } from './extensions.js';
|
|
34
|
+
export type { BlockProcessorDslInterface } from './extensions.js';
|
|
35
|
+
export type { MacroProcessorDslInterface } from './extensions.js';
|
|
36
|
+
export type { InlineMacroProcessorDslInterface } from './extensions.js';
|
|
37
37
|
import { Document } from './document.js';
|
|
38
38
|
import { convert } from './convert.js';
|
|
39
39
|
import { convertFile } from './convert.js';
|