@budibase/string-templates 2.16.0 → 2.16.1

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.
@@ -2,5 +2,5 @@ export function HelperNames(): string[];
2
2
  export function registerMinimum(handlebars: any): void;
3
3
  export function registerAll(handlebars: any): void;
4
4
  export function unregisterAll(handlebars: any): void;
5
- export { getHelperList };
6
- import { getHelperList } from "./list";
5
+ export { getJsHelperList };
6
+ import { getJsHelperList } from "./list";
@@ -1 +1,2 @@
1
- export function getHelperList(): any;
1
+ export function getJsHelperList(): any;
2
+ export const helpersToRemoveForJs: string[];
package/dist/index.d.cts CHANGED
@@ -1 +1 @@
1
- export { isValid, makePropSafe, getManifest, isJSBinding, encodeJSBinding, decodeJSBinding, processStringSync, processObjectSync, processString, processObject, doesContainStrings, doesContainString, disableEscaping, findHBSBlocks, convertToJS, setJSRunner, FIND_ANY_HBS_REGEX };
1
+ export { isValid, makePropSafe, getManifest, isJSBinding, encodeJSBinding, decodeJSBinding, processStringSync, processObjectSync, processString, processObject, doesContainStrings, doesContainString, disableEscaping, findHBSBlocks, convertToJS, setJSRunner, FIND_ANY_HBS_REGEX, helpersToRemoveForJs };
package/dist/index.d.mts CHANGED
@@ -18,3 +18,4 @@ export const findHBSBlocks: (string: string) => string[];
18
18
  export const convertToJS: (hbs: any) => string;
19
19
  export const setJSRunner: (runner: any) => any;
20
20
  export const FIND_ANY_HBS_REGEX: RegExp;
21
+ export const helpersToRemoveForJs: string[];
package/dist/index.d.ts CHANGED
@@ -14,4 +14,5 @@ export function findHBSBlocks(string: string): string[];
14
14
  export function doesContainString(template: string, string: string): boolean;
15
15
  export function convertToJS(hbs: any): string;
16
16
  import { FIND_ANY_HBS_REGEX } from "./utilities";
17
- export { setJSRunner, FIND_ANY_HBS_REGEX };
17
+ import { helpersToRemoveForJs } from "./helpers/list";
18
+ export { setJSRunner, FIND_ANY_HBS_REGEX, helpersToRemoveForJs };