@wdprlib/parser 1.1.1 → 1.1.4
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 +66 -25
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +48 -7
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -31,7 +31,7 @@ var __export = (target, all) => {
|
|
|
31
31
|
var exports_src = {};
|
|
32
32
|
__export(exports_src, {
|
|
33
33
|
tokenize: () => tokenize,
|
|
34
|
-
text: () =>
|
|
34
|
+
text: () => import_ast5.text,
|
|
35
35
|
resolveModules: () => resolveModules,
|
|
36
36
|
resolveListUsers: () => resolveListUsers,
|
|
37
37
|
resolveIncludes: () => resolveIncludes,
|
|
@@ -42,34 +42,35 @@ __export(exports_src, {
|
|
|
42
42
|
parseDateSelector: () => parseDateSelector,
|
|
43
43
|
parseCategory: () => parseCategory,
|
|
44
44
|
parse: () => parse,
|
|
45
|
-
paragraph: () =>
|
|
45
|
+
paragraph: () => import_ast5.paragraph,
|
|
46
46
|
normalizeQuery: () => normalizeQuery,
|
|
47
|
-
listItemSubList: () =>
|
|
48
|
-
listItemElements: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
link: () =>
|
|
51
|
-
lineBreak: () =>
|
|
52
|
-
italics: () =>
|
|
47
|
+
listItemSubList: () => import_ast5.listItemSubList,
|
|
48
|
+
listItemElements: () => import_ast5.listItemElements,
|
|
49
|
+
list: () => import_ast5.list,
|
|
50
|
+
link: () => import_ast5.link,
|
|
51
|
+
lineBreak: () => import_ast5.lineBreak,
|
|
52
|
+
italics: () => import_ast5.italics,
|
|
53
53
|
isListUsersModule: () => isListUsersModule2,
|
|
54
|
-
horizontalRule: () =>
|
|
55
|
-
heading: () =>
|
|
54
|
+
horizontalRule: () => import_ast5.horizontalRule,
|
|
55
|
+
heading: () => import_ast5.heading,
|
|
56
56
|
extractListUsersVariables: () => extractListUsersVariables,
|
|
57
57
|
extractDataRequirements: () => extractDataRequirements,
|
|
58
58
|
createToken: () => createToken,
|
|
59
|
-
createSettings: () =>
|
|
60
|
-
createPosition: () =>
|
|
61
|
-
createPoint: () =>
|
|
62
|
-
container: () =>
|
|
59
|
+
createSettings: () => import_ast6.createSettings,
|
|
60
|
+
createPosition: () => import_ast5.createPosition,
|
|
61
|
+
createPoint: () => import_ast5.createPoint,
|
|
62
|
+
container: () => import_ast5.container,
|
|
63
63
|
compileTemplate: () => compileTemplate,
|
|
64
64
|
compileListUsersTemplate: () => compileListUsersTemplate,
|
|
65
|
-
bold: () =>
|
|
65
|
+
bold: () => import_ast5.bold,
|
|
66
|
+
STYLE_SLOT_PREFIX: () => import_ast4.STYLE_SLOT_PREFIX,
|
|
66
67
|
Parser: () => Parser,
|
|
67
68
|
Lexer: () => Lexer,
|
|
68
|
-
DEFAULT_SETTINGS: () =>
|
|
69
|
+
DEFAULT_SETTINGS: () => import_ast6.DEFAULT_SETTINGS
|
|
69
70
|
});
|
|
70
71
|
module.exports = __toCommonJS(exports_src);
|
|
71
|
-
var
|
|
72
|
-
var
|
|
72
|
+
var import_ast5 = require("@wdprlib/ast");
|
|
73
|
+
var import_ast6 = require("@wdprlib/ast");
|
|
73
74
|
|
|
74
75
|
// packages/parser/src/lexer/tokens.ts
|
|
75
76
|
function createToken(type, value, position, lineStart = false) {
|
|
@@ -5113,6 +5114,10 @@ function parseBibliographyEntry(ctx, startPos) {
|
|
|
5113
5114
|
consumed++;
|
|
5114
5115
|
break;
|
|
5115
5116
|
}
|
|
5117
|
+
contentNodes.push({ element: "line-break" });
|
|
5118
|
+
pos++;
|
|
5119
|
+
consumed++;
|
|
5120
|
+
continue;
|
|
5116
5121
|
}
|
|
5117
5122
|
const inlineCtx = { ...ctx, pos };
|
|
5118
5123
|
const result = parseInlineUntil(inlineCtx, "NEWLINE");
|
|
@@ -5610,6 +5615,11 @@ var linkTripleRule = {
|
|
|
5610
5615
|
break;
|
|
5611
5616
|
}
|
|
5612
5617
|
if (token.type === "NEWLINE") {
|
|
5618
|
+
if (foundPipe) {
|
|
5619
|
+
labelText += " ";
|
|
5620
|
+
} else {
|
|
5621
|
+
target += " ";
|
|
5622
|
+
}
|
|
5613
5623
|
consumed++;
|
|
5614
5624
|
pos++;
|
|
5615
5625
|
continue;
|
|
@@ -6716,7 +6726,15 @@ var footnoteRule = {
|
|
|
6716
6726
|
if (token.type === "NEWLINE") {
|
|
6717
6727
|
pos++;
|
|
6718
6728
|
consumed++;
|
|
6719
|
-
|
|
6729
|
+
let peekPos = pos;
|
|
6730
|
+
let peekConsumed = 0;
|
|
6731
|
+
while (ctx.tokens[peekPos]?.type === "WHITESPACE") {
|
|
6732
|
+
peekPos++;
|
|
6733
|
+
peekConsumed++;
|
|
6734
|
+
}
|
|
6735
|
+
if (ctx.tokens[peekPos]?.type === "NEWLINE") {
|
|
6736
|
+
pos = peekPos;
|
|
6737
|
+
consumed += peekConsumed;
|
|
6720
6738
|
while (ctx.tokens[pos]?.type === "NEWLINE") {
|
|
6721
6739
|
pos++;
|
|
6722
6740
|
consumed++;
|
|
@@ -7213,7 +7231,7 @@ var anchorRule = {
|
|
|
7213
7231
|
consumed++;
|
|
7214
7232
|
}
|
|
7215
7233
|
foundClose = true;
|
|
7216
|
-
|
|
7234
|
+
if (paragraphStrip && ctx.tokens[pos]?.type === "NEWLINE" && ctx.tokens[pos + 1]?.type !== "NEWLINE") {
|
|
7217
7235
|
pos++;
|
|
7218
7236
|
consumed++;
|
|
7219
7237
|
}
|
|
@@ -9563,6 +9581,7 @@ function resolveAndNormalizeQuery(requirement, urlParams) {
|
|
|
9563
9581
|
function parseTagCondition(condition) {
|
|
9564
9582
|
const required = [];
|
|
9565
9583
|
const forbidden = [];
|
|
9584
|
+
const optional = [];
|
|
9566
9585
|
const parts = condition.trim().split(/\s+/);
|
|
9567
9586
|
for (const part of parts) {
|
|
9568
9587
|
if (!part)
|
|
@@ -9576,12 +9595,15 @@ function parseTagCondition(condition) {
|
|
|
9576
9595
|
if (tag)
|
|
9577
9596
|
forbidden.push(tag);
|
|
9578
9597
|
} else {
|
|
9579
|
-
|
|
9598
|
+
optional.push(part);
|
|
9580
9599
|
}
|
|
9581
9600
|
}
|
|
9582
|
-
return { required, forbidden };
|
|
9601
|
+
return { required, forbidden, optional };
|
|
9583
9602
|
}
|
|
9584
9603
|
function evaluateTagCondition(condition, pageTags) {
|
|
9604
|
+
if (condition.required.length === 0 && condition.forbidden.length === 0 && condition.optional.length === 0) {
|
|
9605
|
+
return false;
|
|
9606
|
+
}
|
|
9585
9607
|
const tagSet = new Set(pageTags);
|
|
9586
9608
|
for (const tag of condition.required) {
|
|
9587
9609
|
if (!tagSet.has(tag)) {
|
|
@@ -9593,6 +9615,11 @@ function evaluateTagCondition(condition, pageTags) {
|
|
|
9593
9615
|
return false;
|
|
9594
9616
|
}
|
|
9595
9617
|
}
|
|
9618
|
+
if (condition.optional.length > 0) {
|
|
9619
|
+
if (!condition.optional.some((tag) => tagSet.has(tag))) {
|
|
9620
|
+
return false;
|
|
9621
|
+
}
|
|
9622
|
+
}
|
|
9596
9623
|
return true;
|
|
9597
9624
|
}
|
|
9598
9625
|
// packages/parser/src/parser/rules/block/module/iftags/resolve.ts
|
|
@@ -9728,6 +9755,7 @@ function resolveListUsers(_module, data, compiledTemplate, parse2) {
|
|
|
9728
9755
|
return itemAst.elements;
|
|
9729
9756
|
}
|
|
9730
9757
|
// packages/parser/src/parser/rules/block/module/resolve.ts
|
|
9758
|
+
var import_ast3 = require("@wdprlib/ast");
|
|
9731
9759
|
async function resolveModules(ast, dataProvider, options) {
|
|
9732
9760
|
let listPagesCtx = null;
|
|
9733
9761
|
const listPagesReqs = options.requirements.listPages ?? [];
|
|
@@ -9892,18 +9920,31 @@ function countModulesInElements(elements) {
|
|
|
9892
9920
|
}
|
|
9893
9921
|
function collectStyles(elements) {
|
|
9894
9922
|
const styles = [];
|
|
9895
|
-
const
|
|
9923
|
+
const ctx = { nextSlotId: 0 };
|
|
9924
|
+
const filtered = collectStylesFromElements(elements, styles, ctx);
|
|
9896
9925
|
return { elements: filtered, styles };
|
|
9897
9926
|
}
|
|
9898
|
-
function collectStylesFromElements(elements, styles) {
|
|
9927
|
+
function collectStylesFromElements(elements, styles, ctx) {
|
|
9899
9928
|
const result = [];
|
|
9900
9929
|
for (const element of elements) {
|
|
9901
9930
|
if (element.element === "style") {
|
|
9902
9931
|
styles.push(element.data);
|
|
9903
9932
|
continue;
|
|
9904
9933
|
}
|
|
9905
|
-
|
|
9934
|
+
if (element.element === "if-tags") {
|
|
9935
|
+
const slotId = ctx.nextSlotId++;
|
|
9936
|
+
styles.push(`${import_ast3.STYLE_SLOT_PREFIX}${slotId}`);
|
|
9937
|
+
result.push({
|
|
9938
|
+
element: "if-tags",
|
|
9939
|
+
data: { ...element.data, _styleSlot: slotId }
|
|
9940
|
+
});
|
|
9941
|
+
continue;
|
|
9942
|
+
}
|
|
9943
|
+
const mapped = mapElementChildren(element, (children) => collectStylesFromElements(children, styles, ctx));
|
|
9906
9944
|
result.push(mapped);
|
|
9907
9945
|
}
|
|
9908
9946
|
return result;
|
|
9909
9947
|
}
|
|
9948
|
+
|
|
9949
|
+
// packages/parser/src/parser/rules/block/module/index.ts
|
|
9950
|
+
var import_ast4 = require("@wdprlib/ast");
|
package/dist/index.d.cts
CHANGED
|
@@ -964,4 +964,5 @@ interface ResolveOptions {
|
|
|
964
964
|
* @param options - Resolution options including requirements
|
|
965
965
|
*/
|
|
966
966
|
declare function resolveModules(ast: SyntaxTree3, dataProvider: DataProvider, options: ResolveOptions): Promise<SyntaxTree3>;
|
|
967
|
-
|
|
967
|
+
import { STYLE_SLOT_PREFIX } from "@wdprlib/ast";
|
|
968
|
+
export { tokenize, text, resolveModules, resolveListUsers, resolveIncludes, parseTags, parseParent, parseOrder, parseNumericSelector, parseDateSelector, parseCategory, parse, paragraph, normalizeQuery, listItemSubList, listItemElements, list, link, lineBreak, italics, isListUsersModule, horizontalRule, heading, extractListUsersVariables, extractDataRequirements, createToken, createSettings, createPosition, createPoint, container, compileTemplate, compileListUsersTemplate, bold, WikitextSettings4 as WikitextSettings, WikitextMode, Version2 as Version, VariableMap, VariableContext, UserInfo, TokenType, Token, TocEntry2 as TocEntry, TableRow, TableData, TableCell, TabData, SyntaxTree4 as SyntaxTree, SiteContext, STYLE_SLOT_PREFIX, ResolveOptions, ResolveIncludesOptions, Position2 as Position, Point, ParserOptions, Parser, ParseFunction, PageRef2 as PageRef, PageData, NormalizedTags, NormalizedParent, NormalizedOrder, NormalizedNumericSelector, NormalizedListPagesQuery, NormalizedDateSelector, NormalizedCategory, Module4 as Module, ListUsersVariableContext, ListUsersVariable, ListUsersUserData, ListUsersExternalData, ListUsersDataRequirement, ListUsersDataFetcher, ListUsersCompiledTemplate, ListType, ListPagesVariable, ListPagesQuery, ListPagesExternalData, ListPagesDataRequirement, ListPagesDataFetcher, ListItem, ListData, LinkType, LinkLocation, LinkLabel, LexerOptions, Lexer, IncludeFetcher, ImageSource, HeadingLevel, Heading, HeaderType, FloatAlignment, ExtractionResult, Embed, Element6 as Element, DefinitionListItem, DateItem, DataRequirements, DataProvider, DEFAULT_SETTINGS, ContainerType, ContainerData, CompiledTemplate, CollapsibleData, CodeBlockData2 as CodeBlockData, ClearFloat, AttributeMap, AnchorTarget, Alignment, AlignType };
|
package/dist/index.d.ts
CHANGED
|
@@ -964,4 +964,5 @@ interface ResolveOptions {
|
|
|
964
964
|
* @param options - Resolution options including requirements
|
|
965
965
|
*/
|
|
966
966
|
declare function resolveModules(ast: SyntaxTree3, dataProvider: DataProvider, options: ResolveOptions): Promise<SyntaxTree3>;
|
|
967
|
-
|
|
967
|
+
import { STYLE_SLOT_PREFIX } from "@wdprlib/ast";
|
|
968
|
+
export { tokenize, text, resolveModules, resolveListUsers, resolveIncludes, parseTags, parseParent, parseOrder, parseNumericSelector, parseDateSelector, parseCategory, parse, paragraph, normalizeQuery, listItemSubList, listItemElements, list, link, lineBreak, italics, isListUsersModule, horizontalRule, heading, extractListUsersVariables, extractDataRequirements, createToken, createSettings, createPosition, createPoint, container, compileTemplate, compileListUsersTemplate, bold, WikitextSettings4 as WikitextSettings, WikitextMode, Version2 as Version, VariableMap, VariableContext, UserInfo, TokenType, Token, TocEntry2 as TocEntry, TableRow, TableData, TableCell, TabData, SyntaxTree4 as SyntaxTree, SiteContext, STYLE_SLOT_PREFIX, ResolveOptions, ResolveIncludesOptions, Position2 as Position, Point, ParserOptions, Parser, ParseFunction, PageRef2 as PageRef, PageData, NormalizedTags, NormalizedParent, NormalizedOrder, NormalizedNumericSelector, NormalizedListPagesQuery, NormalizedDateSelector, NormalizedCategory, Module4 as Module, ListUsersVariableContext, ListUsersVariable, ListUsersUserData, ListUsersExternalData, ListUsersDataRequirement, ListUsersDataFetcher, ListUsersCompiledTemplate, ListType, ListPagesVariable, ListPagesQuery, ListPagesExternalData, ListPagesDataRequirement, ListPagesDataFetcher, ListItem, ListData, LinkType, LinkLocation, LinkLabel, LexerOptions, Lexer, IncludeFetcher, ImageSource, HeadingLevel, Heading, HeaderType, FloatAlignment, ExtractionResult, Embed, Element6 as Element, DefinitionListItem, DateItem, DataRequirements, DataProvider, DEFAULT_SETTINGS, ContainerType, ContainerData, CompiledTemplate, CollapsibleData, CodeBlockData2 as CodeBlockData, ClearFloat, AttributeMap, AnchorTarget, Alignment, AlignType };
|
package/dist/index.js
CHANGED
|
@@ -5059,6 +5059,10 @@ function parseBibliographyEntry(ctx, startPos) {
|
|
|
5059
5059
|
consumed++;
|
|
5060
5060
|
break;
|
|
5061
5061
|
}
|
|
5062
|
+
contentNodes.push({ element: "line-break" });
|
|
5063
|
+
pos++;
|
|
5064
|
+
consumed++;
|
|
5065
|
+
continue;
|
|
5062
5066
|
}
|
|
5063
5067
|
const inlineCtx = { ...ctx, pos };
|
|
5064
5068
|
const result = parseInlineUntil(inlineCtx, "NEWLINE");
|
|
@@ -5556,6 +5560,11 @@ var linkTripleRule = {
|
|
|
5556
5560
|
break;
|
|
5557
5561
|
}
|
|
5558
5562
|
if (token.type === "NEWLINE") {
|
|
5563
|
+
if (foundPipe) {
|
|
5564
|
+
labelText += " ";
|
|
5565
|
+
} else {
|
|
5566
|
+
target += " ";
|
|
5567
|
+
}
|
|
5559
5568
|
consumed++;
|
|
5560
5569
|
pos++;
|
|
5561
5570
|
continue;
|
|
@@ -6662,7 +6671,15 @@ var footnoteRule = {
|
|
|
6662
6671
|
if (token.type === "NEWLINE") {
|
|
6663
6672
|
pos++;
|
|
6664
6673
|
consumed++;
|
|
6665
|
-
|
|
6674
|
+
let peekPos = pos;
|
|
6675
|
+
let peekConsumed = 0;
|
|
6676
|
+
while (ctx.tokens[peekPos]?.type === "WHITESPACE") {
|
|
6677
|
+
peekPos++;
|
|
6678
|
+
peekConsumed++;
|
|
6679
|
+
}
|
|
6680
|
+
if (ctx.tokens[peekPos]?.type === "NEWLINE") {
|
|
6681
|
+
pos = peekPos;
|
|
6682
|
+
consumed += peekConsumed;
|
|
6666
6683
|
while (ctx.tokens[pos]?.type === "NEWLINE") {
|
|
6667
6684
|
pos++;
|
|
6668
6685
|
consumed++;
|
|
@@ -7159,7 +7176,7 @@ var anchorRule = {
|
|
|
7159
7176
|
consumed++;
|
|
7160
7177
|
}
|
|
7161
7178
|
foundClose = true;
|
|
7162
|
-
|
|
7179
|
+
if (paragraphStrip && ctx.tokens[pos]?.type === "NEWLINE" && ctx.tokens[pos + 1]?.type !== "NEWLINE") {
|
|
7163
7180
|
pos++;
|
|
7164
7181
|
consumed++;
|
|
7165
7182
|
}
|
|
@@ -9509,6 +9526,7 @@ function resolveAndNormalizeQuery(requirement, urlParams) {
|
|
|
9509
9526
|
function parseTagCondition(condition) {
|
|
9510
9527
|
const required = [];
|
|
9511
9528
|
const forbidden = [];
|
|
9529
|
+
const optional = [];
|
|
9512
9530
|
const parts = condition.trim().split(/\s+/);
|
|
9513
9531
|
for (const part of parts) {
|
|
9514
9532
|
if (!part)
|
|
@@ -9522,12 +9540,15 @@ function parseTagCondition(condition) {
|
|
|
9522
9540
|
if (tag)
|
|
9523
9541
|
forbidden.push(tag);
|
|
9524
9542
|
} else {
|
|
9525
|
-
|
|
9543
|
+
optional.push(part);
|
|
9526
9544
|
}
|
|
9527
9545
|
}
|
|
9528
|
-
return { required, forbidden };
|
|
9546
|
+
return { required, forbidden, optional };
|
|
9529
9547
|
}
|
|
9530
9548
|
function evaluateTagCondition(condition, pageTags) {
|
|
9549
|
+
if (condition.required.length === 0 && condition.forbidden.length === 0 && condition.optional.length === 0) {
|
|
9550
|
+
return false;
|
|
9551
|
+
}
|
|
9531
9552
|
const tagSet = new Set(pageTags);
|
|
9532
9553
|
for (const tag of condition.required) {
|
|
9533
9554
|
if (!tagSet.has(tag)) {
|
|
@@ -9539,6 +9560,11 @@ function evaluateTagCondition(condition, pageTags) {
|
|
|
9539
9560
|
return false;
|
|
9540
9561
|
}
|
|
9541
9562
|
}
|
|
9563
|
+
if (condition.optional.length > 0) {
|
|
9564
|
+
if (!condition.optional.some((tag) => tagSet.has(tag))) {
|
|
9565
|
+
return false;
|
|
9566
|
+
}
|
|
9567
|
+
}
|
|
9542
9568
|
return true;
|
|
9543
9569
|
}
|
|
9544
9570
|
// packages/parser/src/parser/rules/block/module/iftags/resolve.ts
|
|
@@ -9674,6 +9700,7 @@ function resolveListUsers(_module, data, compiledTemplate, parse2) {
|
|
|
9674
9700
|
return itemAst.elements;
|
|
9675
9701
|
}
|
|
9676
9702
|
// packages/parser/src/parser/rules/block/module/resolve.ts
|
|
9703
|
+
import { STYLE_SLOT_PREFIX } from "@wdprlib/ast";
|
|
9677
9704
|
async function resolveModules(ast, dataProvider, options) {
|
|
9678
9705
|
let listPagesCtx = null;
|
|
9679
9706
|
const listPagesReqs = options.requirements.listPages ?? [];
|
|
@@ -9838,21 +9865,34 @@ function countModulesInElements(elements) {
|
|
|
9838
9865
|
}
|
|
9839
9866
|
function collectStyles(elements) {
|
|
9840
9867
|
const styles = [];
|
|
9841
|
-
const
|
|
9868
|
+
const ctx = { nextSlotId: 0 };
|
|
9869
|
+
const filtered = collectStylesFromElements(elements, styles, ctx);
|
|
9842
9870
|
return { elements: filtered, styles };
|
|
9843
9871
|
}
|
|
9844
|
-
function collectStylesFromElements(elements, styles) {
|
|
9872
|
+
function collectStylesFromElements(elements, styles, ctx) {
|
|
9845
9873
|
const result = [];
|
|
9846
9874
|
for (const element of elements) {
|
|
9847
9875
|
if (element.element === "style") {
|
|
9848
9876
|
styles.push(element.data);
|
|
9849
9877
|
continue;
|
|
9850
9878
|
}
|
|
9851
|
-
|
|
9879
|
+
if (element.element === "if-tags") {
|
|
9880
|
+
const slotId = ctx.nextSlotId++;
|
|
9881
|
+
styles.push(`${STYLE_SLOT_PREFIX}${slotId}`);
|
|
9882
|
+
result.push({
|
|
9883
|
+
element: "if-tags",
|
|
9884
|
+
data: { ...element.data, _styleSlot: slotId }
|
|
9885
|
+
});
|
|
9886
|
+
continue;
|
|
9887
|
+
}
|
|
9888
|
+
const mapped = mapElementChildren(element, (children) => collectStylesFromElements(children, styles, ctx));
|
|
9852
9889
|
result.push(mapped);
|
|
9853
9890
|
}
|
|
9854
9891
|
return result;
|
|
9855
9892
|
}
|
|
9893
|
+
|
|
9894
|
+
// packages/parser/src/parser/rules/block/module/index.ts
|
|
9895
|
+
import { STYLE_SLOT_PREFIX as STYLE_SLOT_PREFIX2 } from "@wdprlib/ast";
|
|
9856
9896
|
export {
|
|
9857
9897
|
tokenize,
|
|
9858
9898
|
text,
|
|
@@ -9887,6 +9927,7 @@ export {
|
|
|
9887
9927
|
compileTemplate,
|
|
9888
9928
|
compileListUsersTemplate,
|
|
9889
9929
|
bold,
|
|
9930
|
+
STYLE_SLOT_PREFIX2 as STYLE_SLOT_PREFIX,
|
|
9890
9931
|
Parser,
|
|
9891
9932
|
Lexer,
|
|
9892
9933
|
DEFAULT_SETTINGS2 as DEFAULT_SETTINGS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdprlib/parser",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Parser for Wikidot markup",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ast",
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@braintree/sanitize-url": "^7.1.1",
|
|
42
|
-
"@wdprlib/ast": "1.1.
|
|
42
|
+
"@wdprlib/ast": "1.1.1"
|
|
43
43
|
}
|
|
44
44
|
}
|