@evlop/commons 1.0.262 → 1.0.263

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.
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAoIA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAoJnE;AAGD,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAgLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAsKnE;AAGD,eAAe,QAAQ,CAAC"}
@@ -7,14 +7,12 @@ const lodash_1 = require("lodash");
7
7
  const he_1 = require("he");
8
8
  const ExpressionHelper_1 = __importDefault(require("./ExpressionHelper"));
9
9
  const inbuiltVariables = ['context', 'data', 'setRuntimeData', 'setState', 'setStates', 'state', 'dispatchAction', 'createAction'];
10
- // Regex to match opening tag in EDL
11
- const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{\{(?:(?!\}\}).)*\}\}|\{\[(?:(?!\]\}).)*\]\}|\{\((?:(?!\)\}).)*\)\}|\{[^\}]*\}))*)\s*(\/)?>/s;
12
10
  // Regex to match closing tag in EDL
13
11
  const closingTagRegex = /<\/([a-zA-Z0-9_]+)>/;
14
- // Regex to match attributes
15
- const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)=("[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\})/sg;
16
- // Regex to split the JSX string into tokens using opening or closing tag regex pattern
17
- const openingOrClosingTagRegex = /(<(?:\/)?(?:[a-zA-Z0-9_]+)(?:(?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))*)\s*(?:\/)?>)/s;
12
+ // Regex to match attributes - now supports valueless attributes
13
+ const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)(?:=("[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))?/sg;
14
+ // Regex to match opening tag in EDL along with attributes
15
+ const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+(?:=(?:"[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))?)*)\s*(\/)?>/s;
18
16
  function generateUniqueId() {
19
17
  return lodash_1.random(1000, 9999999999).toString(36);
20
18
  }
@@ -54,52 +52,97 @@ const stringDelimiters = new Set(['`', '"', "'"]);
54
52
  const openingBrackets = new Set(Object.keys(expressionBracketOpeningClosingPairs));
55
53
  const closingBrackets = new Set(Object.values(expressionBracketOpeningClosingPairs));
56
54
  const allBrackets = new Set([...openingBrackets, ...closingBrackets]);
55
+ const expressionStartSymbol = '{';
56
+ const tagOpenSymbol = '<';
57
+ const tagCloseSymbol = '>';
57
58
  // look for { and go untill }, counting all (, {, } and ), untill all opening braces are matched with closing braces
58
59
  function extractExpressions(inputString) {
59
- const expressions = {};
60
60
  let cleanedString = inputString;
61
- const expressionPositions = [];
62
- const stack = [];
61
+ const tokens = [];
62
+ const expressionBracketsStack = [];
63
63
  let expressionStartPosition = -1;
64
+ // track the position of tag open and close
65
+ let startingTag = null;
64
66
  for (let i = 0; i < inputString.length; i++) {
65
67
  const char = inputString[i];
66
68
  // Start new expression when we find an opening brace
67
- if (char === '{' && stack.length === 0) {
68
- expressionStartPosition = i + 1;
69
- stack.push(char);
70
- continue;
69
+ if (expressionBracketsStack.length === 0) {
70
+ if (char === expressionStartSymbol) {
71
+ expressionStartPosition = i + 1;
72
+ expressionBracketsStack.push(char);
73
+ continue;
74
+ }
75
+ else if (char === tagOpenSymbol) {
76
+ startingTag = {
77
+ type: 'tag_start',
78
+ tagStartType: inputString[i + 1] === '/' ? 'closing' : 'opening',
79
+ index: i,
80
+ };
81
+ tokens.push(startingTag);
82
+ continue;
83
+ }
84
+ else if (char === tagCloseSymbol && startingTag) {
85
+ const closingTag = {
86
+ type: 'tag_end',
87
+ index: i,
88
+ tagEndType: null,
89
+ };
90
+ if (inputString[i - 1] === '/') {
91
+ closingTag.tagEndType = 'selfClosing';
92
+ }
93
+ tokens.push(closingTag);
94
+ startingTag = -1;
95
+ continue;
96
+ }
71
97
  }
72
- if (stack.length === 0)
98
+ if (expressionBracketsStack.length === 0)
73
99
  continue; // if expression has not started yet, skip it
74
100
  if (!allBrackets.has(char))
75
101
  continue; // if the character is not a bracket, skip it
76
102
  if (inputString[i - 1] === '\\')
77
103
  continue; // if the character is escaped, skip it
78
- const lastOpenedBracket = stack[stack.length - 1];
104
+ const lastOpenedBracket = expressionBracketsStack[expressionBracketsStack.length - 1];
79
105
  const requiredClosingBracket = expressionBracketOpeningClosingPairs[lastOpenedBracket];
80
106
  if (char === requiredClosingBracket) {
81
- stack.pop();
82
- if (stack.length === 0) {
83
- expressionPositions.push({ start: expressionStartPosition, end: i - 1 });
107
+ expressionBracketsStack.pop();
108
+ if (expressionBracketsStack.length === 0) {
109
+ tokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
84
110
  }
85
111
  }
86
112
  else if (stringDelimiters.has(lastOpenedBracket)) { // if a string delimiter is opened, we dont care obout other opening brackets
87
113
  continue;
88
114
  }
89
115
  else if (openingBrackets.has(char)) {
90
- stack.push(char);
116
+ expressionBracketsStack.push(char);
91
117
  }
92
118
  }
93
119
  let correctionFactor = 0;
94
- for (const { start, end } of expressionPositions) {
95
- const expression = inputString.slice(start, end + 1);
96
- const uniqueId = generateUniqueId();
97
- expressions[uniqueId] = expression;
98
- const newString = cleanedString.slice(0, start - correctionFactor) + uniqueId + cleanedString.slice(end - correctionFactor + 1);
99
- cleanedString = newString;
100
- correctionFactor += expression.length - uniqueId.length;
120
+ const expressions = {};
121
+ const splitIndexes = [];
122
+ for (const token of tokens) {
123
+ const { type, start, end } = token;
124
+ switch (type) {
125
+ case 'tag_start': {
126
+ const { index } = token;
127
+ splitIndexes.push(index - correctionFactor);
128
+ break;
129
+ }
130
+ case 'tag_end': {
131
+ const { index } = token;
132
+ splitIndexes.push(index - correctionFactor + 1);
133
+ break;
134
+ }
135
+ case 'expression':
136
+ const expression = inputString.slice(start, end + 1);
137
+ const uniqueId = generateUniqueId();
138
+ expressions[uniqueId] = expression;
139
+ const newString = cleanedString.slice(0, start - correctionFactor) + uniqueId + cleanedString.slice(end - correctionFactor + 1);
140
+ cleanedString = newString;
141
+ correctionFactor += expression.length - uniqueId.length;
142
+ break;
143
+ }
101
144
  }
102
- return { expressions, cleanedString };
145
+ return { expressions, cleanedString, tagPositions: splitIndexes };
103
146
  }
104
147
  const asVariableRegex = /:as="([^"]+)"/g;
105
148
  function extractAsVariables(inputString) {
@@ -116,11 +159,11 @@ function parseEDL(_edlString, additionalVariables) {
116
159
  // separate the scripts and extract variables from the edl string
117
160
  const { cleanedString: edlStringWithCodeRemovedFromScript, scriptsById, variables: scriptVariables } = extractScriptsAndVariables(edlString);
118
161
  edlString = edlStringWithCodeRemovedFromScript;
119
- // extract expressions from the edl string
120
- const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved } = extractExpressions(edlString);
121
- edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
122
162
  // remove unnecessary whitespace from the edl string, after code has been removed from the script tags
123
163
  edlString = removeUnnecessaryWhitespace(edlString);
164
+ // extract expressions from the edl string
165
+ const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTagPositions } = extractExpressions(edlString);
166
+ edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
124
167
  // Extract :as variables and include them in the union
125
168
  const asVariables = extractAsVariables(edlString);
126
169
  const variables = lodash_1.union(inbuiltVariables, Array.from(additionalVariables), scriptVariables, asVariables);
@@ -143,7 +186,19 @@ function parseEDL(_edlString, additionalVariables) {
143
186
  const jsxObjects = [];
144
187
  // Initialize an empty stack to keep track of the nested JSX elements
145
188
  const jsxStack = [];
146
- String(edlString).split(openingOrClosingTagRegex).forEach(token => {
189
+ // split the string by tag positions
190
+ const tagPositions = [...edlTagPositions];
191
+ if (tagPositions[0] !== 0)
192
+ tagPositions.unshift(0);
193
+ if (tagPositions[tagPositions.length - 1] !== edlString.length)
194
+ tagPositions.push(edlString.length);
195
+ const tagGroups = [];
196
+ for (let i = 0; i < tagPositions.length - 1; i++) {
197
+ const positionDiff = tagPositions[i + 1] - tagPositions[i];
198
+ // if(positionDiff <= 1) continue;
199
+ tagGroups.push(edlString.substring(tagPositions[i], tagPositions[i + 1]));
200
+ }
201
+ tagGroups.forEach(token => {
147
202
  // If the token is an empty string, skip it
148
203
  if (token.trim() === '') {
149
204
  return;
@@ -183,10 +238,15 @@ function parseEDL(_edlString, additionalVariables) {
183
238
  if (attributeName === 'class') {
184
239
  attributeName = 'className';
185
240
  }
186
- const value = attributeMatch[2].slice(1, -1);
241
+ if (!attributeMatch[2]) {
242
+ lodash_1.set(staticProps, attributeName, true);
243
+ continue;
244
+ }
245
+ const value = attributeMatch[2]?.slice(1, -1);
246
+ const startingBracket = attributeMatch[2]?.[0];
187
247
  // Check if the attribute value is dynamic (enclosed in curly braces) either variable or js expression
188
- const isJavascriptExpressionProp = attributeMatch[2].startsWith("{");
189
- const isTemplateProp = attributeMatch[2].startsWith("`");
248
+ const isJavascriptExpressionProp = startingBracket === '{';
249
+ const isTemplateProp = startingBracket === '`';
190
250
  if (isJavascriptExpressionProp) {
191
251
  const expression = expressionsById[value];
192
252
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":";;;;;AAAA,mCAA2E;AAC3E,2BAAkD;AAClD,0EAAkD;AAElD,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,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AAC;aAC7B;YAED,0EAA0E;YAC1E,IAAI,CAAC,aAAa,EAAE;gBAClB,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC3B;SACF;IAEH,CAAC,CAAC,CAAC;IACH,OAAO,UAAU,CAAC;AACpB,CAAC;AAGD,kBAAe,QAAQ,CAAC"}
@@ -92,6 +92,19 @@ describe('parseEDL', () => {
92
92
  chai_1.expect(result[0].variableProps).to.deep.equal({});
93
93
  chai_1.expect(result[0].sharedPropNames).to.deep.equal([]);
94
94
  });
95
+ it('should parse valueless attributes as boolean props', () => {
96
+ const edlString = '<input type="text" disabled required/>';
97
+ const result = parser_1.default(edlString, new Set());
98
+ chai_1.expect(result).to.be.an('array').with.lengthOf(1);
99
+ chai_1.expect(result[0].tag).to.equal('input');
100
+ chai_1.expect(result[0].staticProps).to.deep.equal({
101
+ type: 'text',
102
+ disabled: true,
103
+ required: true
104
+ });
105
+ chai_1.expect(result[0].variableProps).to.deep.equal({});
106
+ chai_1.expect(result[0].sharedPropNames).to.deep.equal([]);
107
+ });
95
108
  });
96
109
  describe('dynamic props', () => {
97
110
  it('should parse an EDL string with dynamic props', () => {
@@ -292,5 +305,37 @@ describe('parseEDL', () => {
292
305
  chai_1.expect(result[0].variableProps.onClick).to.be.a('function');
293
306
  });
294
307
  });
308
+ // Performance Testing
309
+ describe('performance testing', () => {
310
+ it('should handle parsing large EDL strings efficiently', () => {
311
+ // Generate EDL strings of different lengths
312
+ const generateEDL = (length) => {
313
+ const baseElement = '<div class="item" data-index={index}>Item {index}</div>';
314
+ const repeats = Math.ceil(length / baseElement.length);
315
+ return Array(repeats).fill(baseElement).join('').slice(0, length);
316
+ };
317
+ const testSizes = [100, 1000, 5000, 10000];
318
+ const results = [];
319
+ testSizes.forEach(size => {
320
+ const edlString = generateEDL(size);
321
+ const start = performance.now();
322
+ const result = parser_1.default(edlString, new Set(['index']));
323
+ const end = performance.now();
324
+ results.push({ size, time: end - start });
325
+ // Basic validation of parsed output
326
+ chai_1.expect(result).to.be.an('array');
327
+ chai_1.expect(result.length).to.be.above(0);
328
+ chai_1.expect(result[0].tag).to.equal('div');
329
+ });
330
+ // Log performance results
331
+ console.table(results);
332
+ // Ensure parsing time scales reasonably (not exponentially)
333
+ const [first, last] = [results[0], results[results.length - 1]];
334
+ const timeRatio = last.time / first.time;
335
+ const sizeRatio = last.size / first.size;
336
+ // Time increase should be less than cubic of size increase
337
+ chai_1.expect(timeRatio).to.be.below(Math.pow(sizeRatio, 3));
338
+ });
339
+ });
295
340
  });
296
341
  //# sourceMappingURL=parser.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parser.test.js","sourceRoot":"","sources":["../../../../src/edl/parser.test.ts"],"names":[],"mappings":";;;;;AAAA,sDAAgC;AAChC,+BAA8B;AAG9B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,gBAAgB;IAChB,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;QAC7B,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;YACnE,MAAM,SAAS,GAAG,aAAa,CAAC;YAChC,MAAM,MAAM,GAAG,gBAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;YAE9C,aAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAClD,aAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACtC,aAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAChD,aAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC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AC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YAChE,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;YACzC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;YAEzC,2DAA2D;YAC3D,aAAM,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAoIA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAoJnE;AAGD,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAgLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAsKnE;AAGD,eAAe,QAAQ,CAAC"}
@@ -2,14 +2,12 @@ import { map, random, set, split, toPath, union } from "lodash";
2
2
  import { decode as decodeHtmlEntities } from "he";
3
3
  import ExpressionHelper from "./ExpressionHelper";
4
4
  const inbuiltVariables = ['context', 'data', 'setRuntimeData', 'setState', 'setStates', 'state', 'dispatchAction', 'createAction'];
5
- // Regex to match opening tag in EDL
6
- const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{\{(?:(?!\}\}).)*\}\}|\{\[(?:(?!\]\}).)*\]\}|\{\((?:(?!\)\}).)*\)\}|\{[^\}]*\}))*)\s*(\/)?>/s;
7
5
  // Regex to match closing tag in EDL
8
6
  const closingTagRegex = /<\/([a-zA-Z0-9_]+)>/;
9
- // Regex to match attributes
10
- const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)=("[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\})/sg;
11
- // Regex to split the JSX string into tokens using opening or closing tag regex pattern
12
- const openingOrClosingTagRegex = /(<(?:\/)?(?:[a-zA-Z0-9_]+)(?:(?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))*)\s*(?:\/)?>)/s;
7
+ // Regex to match attributes - now supports valueless attributes
8
+ const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)(?:=("[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))?/sg;
9
+ // Regex to match opening tag in EDL along with attributes
10
+ const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+(?:=(?:"[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))?)*)\s*(\/)?>/s;
13
11
  function generateUniqueId() {
14
12
  return random(1000, 9999999999).toString(36);
15
13
  }
@@ -49,52 +47,97 @@ const stringDelimiters = new Set(['`', '"', "'"]);
49
47
  const openingBrackets = new Set(Object.keys(expressionBracketOpeningClosingPairs));
50
48
  const closingBrackets = new Set(Object.values(expressionBracketOpeningClosingPairs));
51
49
  const allBrackets = new Set([...openingBrackets, ...closingBrackets]);
50
+ const expressionStartSymbol = '{';
51
+ const tagOpenSymbol = '<';
52
+ const tagCloseSymbol = '>';
52
53
  // look for { and go untill }, counting all (, {, } and ), untill all opening braces are matched with closing braces
53
54
  function extractExpressions(inputString) {
54
- const expressions = {};
55
55
  let cleanedString = inputString;
56
- const expressionPositions = [];
57
- const stack = [];
56
+ const tokens = [];
57
+ const expressionBracketsStack = [];
58
58
  let expressionStartPosition = -1;
59
+ // track the position of tag open and close
60
+ let startingTag = null;
59
61
  for (let i = 0; i < inputString.length; i++) {
60
62
  const char = inputString[i];
61
63
  // Start new expression when we find an opening brace
62
- if (char === '{' && stack.length === 0) {
63
- expressionStartPosition = i + 1;
64
- stack.push(char);
65
- continue;
64
+ if (expressionBracketsStack.length === 0) {
65
+ if (char === expressionStartSymbol) {
66
+ expressionStartPosition = i + 1;
67
+ expressionBracketsStack.push(char);
68
+ continue;
69
+ }
70
+ else if (char === tagOpenSymbol) {
71
+ startingTag = {
72
+ type: 'tag_start',
73
+ tagStartType: inputString[i + 1] === '/' ? 'closing' : 'opening',
74
+ index: i,
75
+ };
76
+ tokens.push(startingTag);
77
+ continue;
78
+ }
79
+ else if (char === tagCloseSymbol && startingTag) {
80
+ const closingTag = {
81
+ type: 'tag_end',
82
+ index: i,
83
+ tagEndType: null,
84
+ };
85
+ if (inputString[i - 1] === '/') {
86
+ closingTag.tagEndType = 'selfClosing';
87
+ }
88
+ tokens.push(closingTag);
89
+ startingTag = -1;
90
+ continue;
91
+ }
66
92
  }
67
- if (stack.length === 0)
93
+ if (expressionBracketsStack.length === 0)
68
94
  continue; // if expression has not started yet, skip it
69
95
  if (!allBrackets.has(char))
70
96
  continue; // if the character is not a bracket, skip it
71
97
  if (inputString[i - 1] === '\\')
72
98
  continue; // if the character is escaped, skip it
73
- const lastOpenedBracket = stack[stack.length - 1];
99
+ const lastOpenedBracket = expressionBracketsStack[expressionBracketsStack.length - 1];
74
100
  const requiredClosingBracket = expressionBracketOpeningClosingPairs[lastOpenedBracket];
75
101
  if (char === requiredClosingBracket) {
76
- stack.pop();
77
- if (stack.length === 0) {
78
- expressionPositions.push({ start: expressionStartPosition, end: i - 1 });
102
+ expressionBracketsStack.pop();
103
+ if (expressionBracketsStack.length === 0) {
104
+ tokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
79
105
  }
80
106
  }
81
107
  else if (stringDelimiters.has(lastOpenedBracket)) { // if a string delimiter is opened, we dont care obout other opening brackets
82
108
  continue;
83
109
  }
84
110
  else if (openingBrackets.has(char)) {
85
- stack.push(char);
111
+ expressionBracketsStack.push(char);
86
112
  }
87
113
  }
88
114
  let correctionFactor = 0;
89
- for (const { start, end } of expressionPositions) {
90
- const expression = inputString.slice(start, end + 1);
91
- const uniqueId = generateUniqueId();
92
- expressions[uniqueId] = expression;
93
- const newString = cleanedString.slice(0, start - correctionFactor) + uniqueId + cleanedString.slice(end - correctionFactor + 1);
94
- cleanedString = newString;
95
- correctionFactor += expression.length - uniqueId.length;
115
+ const expressions = {};
116
+ const splitIndexes = [];
117
+ for (const token of tokens) {
118
+ const { type, start, end } = token;
119
+ switch (type) {
120
+ case 'tag_start': {
121
+ const { index } = token;
122
+ splitIndexes.push(index - correctionFactor);
123
+ break;
124
+ }
125
+ case 'tag_end': {
126
+ const { index } = token;
127
+ splitIndexes.push(index - correctionFactor + 1);
128
+ break;
129
+ }
130
+ case 'expression':
131
+ const expression = inputString.slice(start, end + 1);
132
+ const uniqueId = generateUniqueId();
133
+ expressions[uniqueId] = expression;
134
+ const newString = cleanedString.slice(0, start - correctionFactor) + uniqueId + cleanedString.slice(end - correctionFactor + 1);
135
+ cleanedString = newString;
136
+ correctionFactor += expression.length - uniqueId.length;
137
+ break;
138
+ }
96
139
  }
97
- return { expressions, cleanedString };
140
+ return { expressions, cleanedString, tagPositions: splitIndexes };
98
141
  }
99
142
  const asVariableRegex = /:as="([^"]+)"/g;
100
143
  function extractAsVariables(inputString) {
@@ -111,11 +154,11 @@ function parseEDL(_edlString, additionalVariables) {
111
154
  // separate the scripts and extract variables from the edl string
112
155
  const { cleanedString: edlStringWithCodeRemovedFromScript, scriptsById, variables: scriptVariables } = extractScriptsAndVariables(edlString);
113
156
  edlString = edlStringWithCodeRemovedFromScript;
114
- // extract expressions from the edl string
115
- const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved } = extractExpressions(edlString);
116
- edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
117
157
  // remove unnecessary whitespace from the edl string, after code has been removed from the script tags
118
158
  edlString = removeUnnecessaryWhitespace(edlString);
159
+ // extract expressions from the edl string
160
+ const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTagPositions } = extractExpressions(edlString);
161
+ edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
119
162
  // Extract :as variables and include them in the union
120
163
  const asVariables = extractAsVariables(edlString);
121
164
  const variables = union(inbuiltVariables, Array.from(additionalVariables), scriptVariables, asVariables);
@@ -138,7 +181,19 @@ function parseEDL(_edlString, additionalVariables) {
138
181
  const jsxObjects = [];
139
182
  // Initialize an empty stack to keep track of the nested JSX elements
140
183
  const jsxStack = [];
141
- String(edlString).split(openingOrClosingTagRegex).forEach(token => {
184
+ // split the string by tag positions
185
+ const tagPositions = [...edlTagPositions];
186
+ if (tagPositions[0] !== 0)
187
+ tagPositions.unshift(0);
188
+ if (tagPositions[tagPositions.length - 1] !== edlString.length)
189
+ tagPositions.push(edlString.length);
190
+ const tagGroups = [];
191
+ for (let i = 0; i < tagPositions.length - 1; i++) {
192
+ const positionDiff = tagPositions[i + 1] - tagPositions[i];
193
+ // if(positionDiff <= 1) continue;
194
+ tagGroups.push(edlString.substring(tagPositions[i], tagPositions[i + 1]));
195
+ }
196
+ tagGroups.forEach(token => {
142
197
  // If the token is an empty string, skip it
143
198
  if (token.trim() === '') {
144
199
  return;
@@ -178,10 +233,15 @@ function parseEDL(_edlString, additionalVariables) {
178
233
  if (attributeName === 'class') {
179
234
  attributeName = 'className';
180
235
  }
181
- const value = attributeMatch[2].slice(1, -1);
236
+ if (!attributeMatch[2]) {
237
+ set(staticProps, attributeName, true);
238
+ continue;
239
+ }
240
+ const value = attributeMatch[2]?.slice(1, -1);
241
+ const startingBracket = attributeMatch[2]?.[0];
182
242
  // Check if the attribute value is dynamic (enclosed in curly braces) either variable or js expression
183
- const isJavascriptExpressionProp = attributeMatch[2].startsWith("{");
184
- const isTemplateProp = attributeMatch[2].startsWith("`");
243
+ const isJavascriptExpressionProp = startingBracket === '{';
244
+ const isTemplateProp = startingBracket === '`';
185
245
  if (isJavascriptExpressionProp) {
186
246
  const expression = expressionsById[value];
187
247
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAClD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAEnI,oCAAoC;AACpC,MAAM,eAAe,GAAG,qKAAqK,CAAC;AAE9L,oCAAoC;AACpC,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAE9C,4BAA4B;AAC5B,MAAM,cAAc,GAAG,8DAA8D,CAAC;AAEtF,uFAAuF;AACvF,MAAM,wBAAwB,GAAG,+GAA+G,CAAA;AAEhJ,SAAS,gBAAgB;IACvB,OAAO,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,2BAA2B,CAAC,UAAU;IAC7C,OAAO,UAAU;SACd,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,gEAAgE;SAC3F,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,gEAAgE;SAC3F,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,oDAAoD;SAC9E,IAAI,EAAE,CAAC,CAAC,wCAAwC;AACrD,CAAC;AAED,MAAM,cAAc,GAAG,iCAAiC,CAAC;AACzD,MAAM,wBAAwB,GAAG,+CAA+C,CA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OAAO,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;gBAE3C,MAAM,IAAI,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC;gBACxC,MAAM,eAAe,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC;gBAExD,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,uBAAuB,CAAC,SAAS,IAAI,wBAAwB,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1I;YAED,8EAA8E;YAC9E,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;gBACvB,MAAM,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBACjD,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aACtC;iBAAM;gBACL,oFAAoF;gBACpF,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC7B;YAED,0EAA0E;YAC1E,IAAI,CAAC,aAAa,EAAE;gBAClB,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC3B;SACF;IAEH,CAAC,CAAC,CAAC;IACH,OAAO,UAAU,CAAC;AACpB,CAAC;AAGD,eAAe,QAAQ,CAAC"}
@@ -87,6 +87,19 @@ describe('parseEDL', () => {
87
87
  expect(result[0].variableProps).to.deep.equal({});
88
88
  expect(result[0].sharedPropNames).to.deep.equal([]);
89
89
  });
90
+ it('should parse valueless attributes as boolean props', () => {
91
+ const edlString = '<input type="text" disabled required/>';
92
+ const result = parseEDL(edlString, new Set());
93
+ expect(result).to.be.an('array').with.lengthOf(1);
94
+ expect(result[0].tag).to.equal('input');
95
+ expect(result[0].staticProps).to.deep.equal({
96
+ type: 'text',
97
+ disabled: true,
98
+ required: true
99
+ });
100
+ expect(result[0].variableProps).to.deep.equal({});
101
+ expect(result[0].sharedPropNames).to.deep.equal([]);
102
+ });
90
103
  });
91
104
  describe('dynamic props', () => {
92
105
  it('should parse an EDL string with dynamic props', () => {
@@ -287,5 +300,37 @@ describe('parseEDL', () => {
287
300
  expect(result[0].variableProps.onClick).to.be.a('function');
288
301
  });
289
302
  });
303
+ // Performance Testing
304
+ describe('performance testing', () => {
305
+ it('should handle parsing large EDL strings efficiently', () => {
306
+ // Generate EDL strings of different lengths
307
+ const generateEDL = (length) => {
308
+ const baseElement = '<div class="item" data-index={index}>Item {index}</div>';
309
+ const repeats = Math.ceil(length / baseElement.length);
310
+ return Array(repeats).fill(baseElement).join('').slice(0, length);
311
+ };
312
+ const testSizes = [100, 1000, 5000, 10000];
313
+ const results = [];
314
+ testSizes.forEach(size => {
315
+ const edlString = generateEDL(size);
316
+ const start = performance.now();
317
+ const result = parseEDL(edlString, new Set(['index']));
318
+ const end = performance.now();
319
+ results.push({ size, time: end - start });
320
+ // Basic validation of parsed output
321
+ expect(result).to.be.an('array');
322
+ expect(result.length).to.be.above(0);
323
+ expect(result[0].tag).to.equal('div');
324
+ });
325
+ // Log performance results
326
+ console.table(results);
327
+ // Ensure parsing time scales reasonably (not exponentially)
328
+ const [first, last] = [results[0], results[results.length - 1]];
329
+ const timeRatio = last.time / first.time;
330
+ const sizeRatio = last.size / first.size;
331
+ // Time increase should be less than cubic of size increase
332
+ expect(timeRatio).to.be.below(Math.pow(sizeRatio, 3));
333
+ });
334
+ });
290
335
  });
291
336
  //# sourceMappingURL=parser.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parser.test.js","sourceRoot":"","sources":["../../../../src/edl/parser.test.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG9B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,gBAAgB;IAChB,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;QAC7B,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;YACnE,MAA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","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAgLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAsKnE;AAGD,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.262",
3
+ "version": "1.0.263",
4
4
  "description": "",
5
5
  "main": "dist/cjs/main.js",
6
6
  "module": "dist/esm/main.js",
@@ -29,7 +29,7 @@
29
29
  "moment": "^2.29.1"
30
30
  },
31
31
  "scripts": {
32
- "prepack": "npm run build",
32
+ "prepack": "npm run test && npm run build",
33
33
  "docs": "jsdoc -c jsdoc.json",
34
34
  "dev": "tsc --watch",
35
35
  "test": "mocha -r ts-node/register src/**/*.test.ts",