@contrail/util 1.0.32 → 1.0.33

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,3 +1,4 @@
1
+ import { replaceAllWithFunction } from "./replaceAllWithFunction/replaceAllWithFunction";
1
2
  export declare class StringUtil {
2
3
  static convertToHyphenCase(entityName: string, transformToLowerCase?: boolean): string;
3
4
  static parseVariables(variableString: string, data: any, quoteStrings?: boolean): string;
@@ -5,5 +6,5 @@ export declare class StringUtil {
5
6
  static convertToTitleCase(str: any): any;
6
7
  static isString(value: any): boolean;
7
8
  static isArray(value: any): boolean;
8
- static replaceAllWithFunction: any;
9
+ static replaceAllWithFunction: typeof replaceAllWithFunction;
9
10
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StringUtil = void 0;
4
- const replaceAllWithFunction_1 = require("./replaceAll/replaceAllWithFunction");
4
+ const replaceAllWithFunction_1 = require("./replaceAllWithFunction/replaceAllWithFunction");
5
5
  class StringUtil {
6
6
  static convertToHyphenCase(entityName, transformToLowerCase = true) {
7
7
  const slugName = entityName === null || entityName === void 0 ? void 0 : entityName.split(/(?=[A-Z])/).join('-');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/util",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "General javascript utilities",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",