@budibase/string-templates 2.1.45 → 2.1.46-alpha.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const HelperFunctionBuiltin: string[];
|
|
2
2
|
export namespace HelperFunctionNames {
|
|
3
3
|
const OBJECT: string;
|
|
4
4
|
const ALL: string;
|
|
5
5
|
const LITERAL: string;
|
|
6
6
|
const JS: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export const LITERAL_MARKER: "%LITERAL%";
|
package/dist/utilities.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export const FIND_HBS_REGEX: RegExp;
|
|
2
|
+
export const FIND_ANY_HBS_REGEX: RegExp;
|
|
3
|
+
export const FIND_TRIPLE_HBS_REGEX: RegExp;
|
|
4
4
|
export function findDoubleHbsInstances(string: any): any;
|
|
5
5
|
export function isAlphaNumeric(char: any): any;
|
|
6
6
|
export function swapStrings(string: any, start: any, length: any, swap: any): any;
|
package/manifest.json
CHANGED
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"length"
|
|
626
626
|
],
|
|
627
627
|
"numArgs": 2,
|
|
628
|
-
"example": "{{ellipsis 'foo bar baz'
|
|
628
|
+
"example": "{{ellipsis 'foo bar baz' 7}} -> foo bar…",
|
|
629
629
|
"description": "<p>Truncates a string to the specified <code>length</code>, and appends it with an elipsis, <code>…</code>.</p>\n"
|
|
630
630
|
},
|
|
631
631
|
"hyphenate": {
|
|
@@ -1219,4 +1219,4 @@
|
|
|
1219
1219
|
"description": "<p>Produce a humanized duration left/until given an amount of time and the type of time measurement.</p>\n"
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
1222
|
-
}
|
|
1222
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/string-templates",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.46-alpha.0",
|
|
4
4
|
"description": "Handlebars wrapper for Budibase templating.",
|
|
5
5
|
"main": "src/index.cjs",
|
|
6
6
|
"module": "dist/bundle.mjs",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
45
45
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
46
46
|
"rollup-plugin-terser": "^7.0.2",
|
|
47
|
-
"typescript": "
|
|
47
|
+
"typescript": "4.7.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1c1f758ab9bbd9b841b1e759a872523aa31f53b4"
|
|
50
50
|
}
|