@base-framework/base 3.7.27 → 3.7.29

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.
@@ -9,33 +9,17 @@ export class HtmlToString {
9
9
  /**
10
10
  * This will create a node string.
11
11
  *
12
+ * Single-pass over attrs array replaces the previous
13
+ * three-pass approach (getInnerContent + getInnerHtml +
14
+ * createAttributes), eliminating intermediate allocations
15
+ * and the unsafe splice-during-forEach pattern.
16
+ *
12
17
  * @param {string} tag
13
18
  * @param {Array<any>} attrs
14
19
  * @param {string} children
15
20
  * @returns {string}
16
21
  */
17
22
  static create(tag: string, attrs?: Array<any>, children?: string): string;
18
- /**
19
- * This will get the inner content.
20
- *
21
- * @param {object} attrs
22
- * @returns {string}
23
- */
24
- static getInnerContent(attrs: object): string;
25
- /**
26
- * This will get the inner html.
27
- *
28
- * @param {object} attrs
29
- * @returns {string}
30
- */
31
- static getInnerHtml(attrs: object): string;
32
- /**
33
- * This will create a text node.
34
- *
35
- * @param {Array<any>} attrs
36
- * @returns {string}
37
- */
38
- static createAttributes(attrs?: Array<any>): string;
39
23
  /**
40
24
  * This will create a text node.
41
25
  *
@@ -109,7 +109,7 @@ export class Route extends BasicData {
109
109
  *
110
110
  * @param {object} values
111
111
  */
112
- setParams(values: object): void;
112
+ setParams(values: object, offset?: number): void;
113
113
  /**
114
114
  * This will get the params.
115
115
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.7.27",
3
+ "version": "3.7.29",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",