@lionweb/textgen-utils 0.7.2-beta.3 → 0.7.2-beta.5
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.
- package/dist/general.d.ts +1 -1
- package/dist/general.js +1 -1
- package/package.json +2 -2
- package/src/general.ts +1 -1
package/dist/general.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const withFirstLower: (str: string) => string;
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const withFirstUpper: (str: string) => string;
|
|
13
13
|
/**
|
|
14
|
-
* @return a function that takes one string argument, and returns that argument wrapped between `left` and `right`, provided `condition` is true.
|
|
14
|
+
* @return a function that takes one string argument, and returns that argument wrapped between `left()` and `right`, provided `condition` is true.
|
|
15
15
|
* @param condition boolean
|
|
16
16
|
* @param left thunk returning a string
|
|
17
17
|
* @param right string
|
package/dist/general.js
CHANGED
|
@@ -35,7 +35,7 @@ export const withFirstLower = withFirstCased((ch) => ch.toLowerCase());
|
|
|
35
35
|
*/
|
|
36
36
|
export const withFirstUpper = withFirstCased((ch) => ch.toUpperCase());
|
|
37
37
|
/**
|
|
38
|
-
* @return a function that takes one string argument, and returns that argument wrapped between `left` and `right`, provided `condition` is true.
|
|
38
|
+
* @return a function that takes one string argument, and returns that argument wrapped between `left()` and `right`, provided `condition` is true.
|
|
39
39
|
* @param condition boolean
|
|
40
40
|
* @param left thunk returning a string
|
|
41
41
|
* @param right string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lionweb/textgen-utils",
|
|
3
|
-
"version": "0.7.2-beta.
|
|
3
|
+
"version": "0.7.2-beta.5",
|
|
4
4
|
"description": "Utilities for text generation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"release": "npm publish"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@lionweb/ts-utils": "0.7.2-beta.
|
|
30
|
+
"@lionweb/ts-utils": "0.7.2-beta.5",
|
|
31
31
|
"littoral-templates": "0.5.1"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/general.ts
CHANGED
|
@@ -44,7 +44,7 @@ export const withFirstUpper = withFirstCased((ch) => ch.toUpperCase())
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* @return a function that takes one string argument, and returns that argument wrapped between `left` and `right`, provided `condition` is true.
|
|
47
|
+
* @return a function that takes one string argument, and returns that argument wrapped between `left()` and `right`, provided `condition` is true.
|
|
48
48
|
* @param condition boolean
|
|
49
49
|
* @param left thunk returning a string
|
|
50
50
|
* @param right string
|