@wdprlib/ast 4.0.2 → 4.1.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/dist/index.cjs +7 -0
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +7 -0
- package/package.json +1 -1
- package/src/build-info.generated.ts +11 -0
- package/src/index.ts +2 -0
package/dist/index.cjs
CHANGED
|
@@ -51,6 +51,7 @@ __export(exports_src, {
|
|
|
51
51
|
createPosition: () => createPosition,
|
|
52
52
|
createPoint: () => createPoint,
|
|
53
53
|
container: () => container,
|
|
54
|
+
buildInfo: () => buildInfo,
|
|
54
55
|
bold: () => bold,
|
|
55
56
|
STYLE_SLOT_PREFIX: () => STYLE_SLOT_PREFIX,
|
|
56
57
|
STYLE_ANCHOR_PREFIX: () => STYLE_ANCHOR_PREFIX,
|
|
@@ -59,6 +60,12 @@ __export(exports_src, {
|
|
|
59
60
|
});
|
|
60
61
|
module.exports = __toCommonJS(exports_src);
|
|
61
62
|
|
|
63
|
+
// packages/ast/src/build-info.generated.ts
|
|
64
|
+
var buildInfo = Object.freeze({
|
|
65
|
+
version: "4.1.0",
|
|
66
|
+
sha: "cc290b0d882de3ed9ea33ec060ddfc8a7b9da59a",
|
|
67
|
+
dirty: false
|
|
68
|
+
});
|
|
62
69
|
// packages/ast/src/position.ts
|
|
63
70
|
function createPoint(line, column, offset) {
|
|
64
71
|
return { line, column, offset };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Build-time package metadata; unavailable Git information is null. */
|
|
2
|
+
declare const buildInfo: Readonly<{
|
|
3
|
+
version: string;
|
|
4
|
+
sha: string | null;
|
|
5
|
+
dirty: boolean | null;
|
|
6
|
+
}>;
|
|
1
7
|
/**
|
|
2
8
|
* Source position tracking for Wikidot markup.
|
|
3
9
|
*
|
|
@@ -1433,4 +1439,4 @@ interface WikitextPageContext {
|
|
|
1433
1439
|
* @group Core
|
|
1434
1440
|
*/
|
|
1435
1441
|
type Version = "wikidot";
|
|
1436
|
-
export { text, paragraph, listItemSubList, listItemElements, list, link, lineBreak, italics, isTruthy, isStringContainerType, isParagraphSafe, isHeaderType, isContainerTypeParagraphSafe, isAlignType, horizontalRule, heading, formatExprValue, evaluateExpression, createSettings, createPosition, createPoint, container, bold, WikitextSettings, WikitextPageFile, WikitextPageContext, WikitextMode, Version, VariableMap, UserData, TocEntry, TableRow, TableOfContentsData, TableData, TableCell, TabData, SyntaxTree, StringContainerType, STYLE_SLOT_PREFIX, STYLE_ANCHOR_PREFIX, Position, Point, ParseResult, PageRef, Module, MathInlineData, MathData, ListType, ListItem, ListData, LinkType, LinkLocation, LinkLabel, LinkData, IncludeData, ImageSource, ImageData, IframeData, IfTagsData, IfExprData, IfCondData, HtmlData, HeadingLevel, Heading, HeaderType, GallerySize, GalleryOrder, GalleryItem, GalleryData, GalleryContent, FootnoteBlockData, FloatAlignment, ExprResult, ExprData, EmbedBlockData, Embed, ElementOf, ElementName, ElementDataMap, ElementData, Element, DiagnosticSeverity, Diagnostic, DefinitionListItem, DateItem, DateData, DEFAULT_SETTINGS, CssLengthUnit, ContainerType, ContainerData, ColorData, CollapsibleData, CodeBlockData, ClearFloat, CSS_LENGTH_UNITS, BibliographyCiteData, BibliographyBlockData, AttributeMap, AnchorTarget, AnchorData, Alignment, AlignType };
|
|
1442
|
+
export { text, paragraph, listItemSubList, listItemElements, list, link, lineBreak, italics, isTruthy, isStringContainerType, isParagraphSafe, isHeaderType, isContainerTypeParagraphSafe, isAlignType, horizontalRule, heading, formatExprValue, evaluateExpression, createSettings, createPosition, createPoint, container, buildInfo, bold, WikitextSettings, WikitextPageFile, WikitextPageContext, WikitextMode, Version, VariableMap, UserData, TocEntry, TableRow, TableOfContentsData, TableData, TableCell, TabData, SyntaxTree, StringContainerType, STYLE_SLOT_PREFIX, STYLE_ANCHOR_PREFIX, Position, Point, ParseResult, PageRef, Module, MathInlineData, MathData, ListType, ListItem, ListData, LinkType, LinkLocation, LinkLabel, LinkData, IncludeData, ImageSource, ImageData, IframeData, IfTagsData, IfExprData, IfCondData, HtmlData, HeadingLevel, Heading, HeaderType, GallerySize, GalleryOrder, GalleryItem, GalleryData, GalleryContent, FootnoteBlockData, FloatAlignment, ExprResult, ExprData, EmbedBlockData, Embed, ElementOf, ElementName, ElementDataMap, ElementData, Element, DiagnosticSeverity, Diagnostic, DefinitionListItem, DateItem, DateData, DEFAULT_SETTINGS, CssLengthUnit, ContainerType, ContainerData, ColorData, CollapsibleData, CodeBlockData, ClearFloat, CSS_LENGTH_UNITS, BibliographyCiteData, BibliographyBlockData, AttributeMap, AnchorTarget, AnchorData, Alignment, AlignType };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Build-time package metadata; unavailable Git information is null. */
|
|
2
|
+
declare const buildInfo: Readonly<{
|
|
3
|
+
version: string;
|
|
4
|
+
sha: string | null;
|
|
5
|
+
dirty: boolean | null;
|
|
6
|
+
}>;
|
|
1
7
|
/**
|
|
2
8
|
* Source position tracking for Wikidot markup.
|
|
3
9
|
*
|
|
@@ -1433,4 +1439,4 @@ interface WikitextPageContext {
|
|
|
1433
1439
|
* @group Core
|
|
1434
1440
|
*/
|
|
1435
1441
|
type Version = "wikidot";
|
|
1436
|
-
export { text, paragraph, listItemSubList, listItemElements, list, link, lineBreak, italics, isTruthy, isStringContainerType, isParagraphSafe, isHeaderType, isContainerTypeParagraphSafe, isAlignType, horizontalRule, heading, formatExprValue, evaluateExpression, createSettings, createPosition, createPoint, container, bold, WikitextSettings, WikitextPageFile, WikitextPageContext, WikitextMode, Version, VariableMap, UserData, TocEntry, TableRow, TableOfContentsData, TableData, TableCell, TabData, SyntaxTree, StringContainerType, STYLE_SLOT_PREFIX, STYLE_ANCHOR_PREFIX, Position, Point, ParseResult, PageRef, Module, MathInlineData, MathData, ListType, ListItem, ListData, LinkType, LinkLocation, LinkLabel, LinkData, IncludeData, ImageSource, ImageData, IframeData, IfTagsData, IfExprData, IfCondData, HtmlData, HeadingLevel, Heading, HeaderType, GallerySize, GalleryOrder, GalleryItem, GalleryData, GalleryContent, FootnoteBlockData, FloatAlignment, ExprResult, ExprData, EmbedBlockData, Embed, ElementOf, ElementName, ElementDataMap, ElementData, Element, DiagnosticSeverity, Diagnostic, DefinitionListItem, DateItem, DateData, DEFAULT_SETTINGS, CssLengthUnit, ContainerType, ContainerData, ColorData, CollapsibleData, CodeBlockData, ClearFloat, CSS_LENGTH_UNITS, BibliographyCiteData, BibliographyBlockData, AttributeMap, AnchorTarget, AnchorData, Alignment, AlignType };
|
|
1442
|
+
export { text, paragraph, listItemSubList, listItemElements, list, link, lineBreak, italics, isTruthy, isStringContainerType, isParagraphSafe, isHeaderType, isContainerTypeParagraphSafe, isAlignType, horizontalRule, heading, formatExprValue, evaluateExpression, createSettings, createPosition, createPoint, container, buildInfo, bold, WikitextSettings, WikitextPageFile, WikitextPageContext, WikitextMode, Version, VariableMap, UserData, TocEntry, TableRow, TableOfContentsData, TableData, TableCell, TabData, SyntaxTree, StringContainerType, STYLE_SLOT_PREFIX, STYLE_ANCHOR_PREFIX, Position, Point, ParseResult, PageRef, Module, MathInlineData, MathData, ListType, ListItem, ListData, LinkType, LinkLocation, LinkLabel, LinkData, IncludeData, ImageSource, ImageData, IframeData, IfTagsData, IfExprData, IfCondData, HtmlData, HeadingLevel, Heading, HeaderType, GallerySize, GalleryOrder, GalleryItem, GalleryData, GalleryContent, FootnoteBlockData, FloatAlignment, ExprResult, ExprData, EmbedBlockData, Embed, ElementOf, ElementName, ElementDataMap, ElementData, Element, DiagnosticSeverity, Diagnostic, DefinitionListItem, DateItem, DateData, DEFAULT_SETTINGS, CssLengthUnit, ContainerType, ContainerData, ColorData, CollapsibleData, CodeBlockData, ClearFloat, CSS_LENGTH_UNITS, BibliographyCiteData, BibliographyBlockData, AttributeMap, AnchorTarget, AnchorData, Alignment, AlignType };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
// packages/ast/src/build-info.generated.ts
|
|
2
|
+
var buildInfo = Object.freeze({
|
|
3
|
+
version: "4.1.0",
|
|
4
|
+
sha: "cc290b0d882de3ed9ea33ec060ddfc8a7b9da59a",
|
|
5
|
+
dirty: false
|
|
6
|
+
});
|
|
1
7
|
// packages/ast/src/position.ts
|
|
2
8
|
function createPoint(line, column, offset) {
|
|
3
9
|
return { line, column, offset };
|
|
@@ -692,6 +698,7 @@ export {
|
|
|
692
698
|
createPosition,
|
|
693
699
|
createPoint,
|
|
694
700
|
container,
|
|
701
|
+
buildInfo,
|
|
695
702
|
bold,
|
|
696
703
|
STYLE_SLOT_PREFIX,
|
|
697
704
|
STYLE_ANCHOR_PREFIX,
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by bun run build:info. Do not edit.
|
|
2
|
+
/** Build-time package metadata; unavailable Git information is null. */
|
|
3
|
+
export const buildInfo: Readonly<{
|
|
4
|
+
version: string;
|
|
5
|
+
sha: string | null;
|
|
6
|
+
dirty: boolean | null;
|
|
7
|
+
}> = Object.freeze({
|
|
8
|
+
version: "4.1.0",
|
|
9
|
+
sha: "cc290b0d882de3ed9ea33ec060ddfc8a7b9da59a",
|
|
10
|
+
dirty: false,
|
|
11
|
+
});
|