@takeshape/util 11.142.6 → 11.143.2

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.
@@ -23,3 +23,7 @@ export declare function base64Decode(str: string): string;
23
23
  export declare function tmpl(str: string, data: Record<string, unknown>, options?: {
24
24
  style: 'singleBrace' | 'doubleBrace';
25
25
  }): string;
26
+ /**
27
+ * Type-aware lower casing.
28
+ */
29
+ export declare function lowerCase<T extends string>(str: T): Lowercase<T>;
@@ -87,3 +87,9 @@ export function tmpl(str, data, options) {
87
87
  return !isNil(value) ? String(value) : '';
88
88
  });
89
89
  }
90
+ /**
91
+ * Type-aware lower casing.
92
+ */
93
+ export function lowerCase(str) {
94
+ return str.toLowerCase();
95
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/util",
3
- "version": "11.142.6",
3
+ "version": "11.143.2",
4
4
  "description": "Shared utilities",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -45,8 +45,8 @@
45
45
  "tiny-invariant": "1.3.3",
46
46
  "uint8array-extras": "1.4.0",
47
47
  "url-parse": "1.5.3",
48
- "@takeshape/prism": "11.142.6",
49
- "@takeshape/routing": "11.142.6"
48
+ "@takeshape/prism": "11.143.2",
49
+ "@takeshape/routing": "11.143.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/classnames": "2.2.11",