@fgv/ts-utils 4.0.2 → 4.2.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.
- package/CHANGELOG.json +36 -0
- package/CHANGELOG.md +22 -1
- package/dist/ts-utils.d.ts +553 -54
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +23 -8
- package/lib/index.js.map +1 -1
- package/lib/packlets/base/index.js +17 -7
- package/lib/packlets/base/index.js.map +1 -1
- package/lib/packlets/base/mapResults.js +6 -7
- package/lib/packlets/base/mapResults.js.map +1 -1
- package/lib/packlets/base/result.js +7 -7
- package/lib/packlets/base/result.js.map +1 -1
- package/lib/packlets/base/utils.js +11 -12
- package/lib/packlets/base/utils.js.map +1 -1
- package/lib/packlets/collections/common.d.ts +6 -0
- package/lib/packlets/collections/common.d.ts.map +1 -0
- package/lib/packlets/collections/common.js +24 -0
- package/lib/packlets/collections/common.js.map +1 -0
- package/lib/packlets/collections/index.d.ts +8 -0
- package/lib/packlets/collections/index.d.ts.map +1 -0
- package/lib/packlets/collections/index.js +68 -0
- package/lib/packlets/collections/index.js.map +1 -0
- package/lib/packlets/collections/readonlyResultMap.d.ts +58 -0
- package/lib/packlets/collections/readonlyResultMap.d.ts.map +1 -0
- package/lib/packlets/collections/readonlyResultMap.js +24 -0
- package/lib/packlets/collections/readonlyResultMap.js.map +1 -0
- package/lib/packlets/collections/resultMap.d.ts +155 -0
- package/lib/packlets/collections/resultMap.d.ts.map +1 -0
- package/lib/packlets/collections/resultMap.js +216 -0
- package/lib/packlets/collections/resultMap.js.map +1 -0
- package/lib/packlets/collections/resultMapValidator.d.ts +82 -0
- package/lib/packlets/collections/resultMapValidator.d.ts.map +1 -0
- package/lib/packlets/collections/resultMapValidator.js +104 -0
- package/lib/packlets/collections/resultMapValidator.js.map +1 -0
- package/lib/packlets/collections/utils.d.ts +69 -0
- package/lib/packlets/collections/utils.d.ts.map +1 -0
- package/lib/packlets/collections/utils.js +116 -0
- package/lib/packlets/collections/utils.js.map +1 -0
- package/lib/packlets/collections/validatingResultMap.d.ts +66 -0
- package/lib/packlets/collections/validatingResultMap.d.ts.map +1 -0
- package/lib/packlets/collections/validatingResultMap.js +93 -0
- package/lib/packlets/collections/validatingResultMap.js.map +1 -0
- package/lib/packlets/conversion/baseConverter.d.ts +7 -3
- package/lib/packlets/conversion/baseConverter.d.ts.map +1 -1
- package/lib/packlets/conversion/baseConverter.js +10 -0
- package/lib/packlets/conversion/baseConverter.js.map +1 -1
- package/lib/packlets/conversion/converter.d.ts +19 -3
- package/lib/packlets/conversion/converter.d.ts.map +1 -1
- package/lib/packlets/conversion/converter.js.map +1 -1
- package/lib/packlets/conversion/converters.d.ts +42 -42
- package/lib/packlets/conversion/converters.d.ts.map +1 -1
- package/lib/packlets/conversion/converters.js +30 -30
- package/lib/packlets/conversion/converters.js.map +1 -1
- package/lib/packlets/conversion/defaultingConverter.d.ts +6 -2
- package/lib/packlets/conversion/defaultingConverter.d.ts.map +1 -1
- package/lib/packlets/conversion/defaultingConverter.js +7 -0
- package/lib/packlets/conversion/defaultingConverter.js.map +1 -1
- package/lib/packlets/conversion/index.js +17 -7
- package/lib/packlets/conversion/index.js.map +1 -1
- package/lib/packlets/conversion/objectConverter.d.ts +3 -3
- package/lib/packlets/conversion/objectConverter.d.ts.map +1 -1
- package/lib/packlets/conversion/objectConverter.js.map +1 -1
- package/lib/packlets/validation/field.d.ts +1 -1
- package/lib/packlets/validation/field.d.ts.map +1 -1
- package/lib/packlets/validation/field.js.map +1 -1
- package/lib/packlets/validation/genericValidator.d.ts +6 -2
- package/lib/packlets/validation/genericValidator.d.ts.map +1 -1
- package/lib/packlets/validation/genericValidator.js +19 -2
- package/lib/packlets/validation/genericValidator.js.map +1 -1
- package/lib/packlets/validation/index.js +17 -7
- package/lib/packlets/validation/index.js.map +1 -1
- package/lib/packlets/validation/traits.d.ts.map +1 -1
- package/lib/packlets/validation/traits.js +2 -0
- package/lib/packlets/validation/traits.js.map +1 -1
- package/lib/packlets/validation/validator.d.ts +18 -1
- package/lib/packlets/validation/validator.d.ts.map +1 -1
- package/lib/packlets/validation/validator.js.map +1 -1
- package/lib/packlets/validation/validatorBase.d.ts +1 -1
- package/lib/packlets/validation/validatorBase.d.ts.map +1 -1
- package/lib/packlets/validation/validatorBase.js.map +1 -1
- package/lib/packlets/validation/validators.js +7 -7
- package/lib/packlets/validation/validators.js.map +1 -1
- package/package.json +18 -19
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgv/ts-utils",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "4.2.0",
|
|
6
|
+
"tag": "@fgv/ts-utils_v4.2.0",
|
|
7
|
+
"date": "Mon, 20 Jan 2025 09:46:53 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "add collections packlet and ResultMap class"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "add withFormattedError on validator and converter"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"comment": "clean up type inconsistencies, relax some constraints"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"version": "4.1.0",
|
|
24
|
+
"tag": "@fgv/ts-utils_v4.1.0",
|
|
25
|
+
"date": "Thu, 09 Jan 2025 05:33:39 GMT",
|
|
26
|
+
"comments": {
|
|
27
|
+
"none": [
|
|
28
|
+
{
|
|
29
|
+
"comment": "update dependencies"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"version": "4.0.2",
|
|
36
|
+
"tag": "@fgv/ts-utils_v4.0.2",
|
|
37
|
+
"date": "Tue, 14 May 2024 14:45:53 GMT",
|
|
38
|
+
"comments": {}
|
|
39
|
+
},
|
|
4
40
|
{
|
|
5
41
|
"version": "4.0.1",
|
|
6
42
|
"tag": "@fgv/ts-utils_v4.0.1",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# Change Log - @fgv/ts-utils
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 20 Jan 2025 09:46:53 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.2.0
|
|
6
|
+
Mon, 20 Jan 2025 09:46:53 GMT
|
|
7
|
+
|
|
8
|
+
### Updates
|
|
9
|
+
|
|
10
|
+
- add collections packlet and ResultMap class
|
|
11
|
+
- add withFormattedError on validator and converter
|
|
12
|
+
- clean up type inconsistencies, relax some constraints
|
|
13
|
+
|
|
14
|
+
## 4.1.0
|
|
15
|
+
Thu, 09 Jan 2025 05:33:39 GMT
|
|
16
|
+
|
|
17
|
+
### Updates
|
|
18
|
+
|
|
19
|
+
- update dependencies
|
|
20
|
+
|
|
21
|
+
## 4.0.2
|
|
22
|
+
Tue, 14 May 2024 14:45:53 GMT
|
|
23
|
+
|
|
24
|
+
_Version update only_
|
|
4
25
|
|
|
5
26
|
## 4.0.1
|
|
6
27
|
Tue, 14 May 2024 05:02:20 GMT
|