@fgv/ts-utils 2.1.1-alpha.0 → 2.1.1-alpha.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.
- package/dist/ts-utils.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/dist/ts-utils.d.ts
CHANGED
|
@@ -1526,7 +1526,7 @@ declare type LogLevel = 'detail' | 'info' | 'warning' | 'error' | 'silent';
|
|
|
1526
1526
|
* for other conversion options.
|
|
1527
1527
|
* @public
|
|
1528
1528
|
*/
|
|
1529
|
-
declare class ObjectConverter<T, TC = unknown> extends BaseConverter<T, TC> {
|
|
1529
|
+
export declare class ObjectConverter<T, TC = unknown> extends BaseConverter<T, TC> {
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Fields converted by this {@link Conversion.ObjectConverter | ObjectConverter}.
|
|
1532
1532
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Conversion from './packlets/conversion';
|
|
2
2
|
import * as Validation from './packlets/validation';
|
|
3
|
-
import { Converter, Converters } from './packlets/conversion';
|
|
3
|
+
import { Converter, Converters, ObjectConverter } from './packlets/conversion';
|
|
4
4
|
import { Validator, Validators } from './packlets/validation';
|
|
5
5
|
export * from './packlets/base';
|
|
6
|
-
export { Conversion, Converter, Converters, Validation, Validator, Validators };
|
|
6
|
+
export { Conversion, Converter, Converters, ObjectConverter, Validation, Validator, Validators };
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAE9D,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -47,13 +47,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
47
47
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
48
48
|
};
|
|
49
49
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.Validators = exports.Validation = exports.Converters = exports.Conversion = void 0;
|
|
50
|
+
exports.Validators = exports.Validation = exports.ObjectConverter = exports.Converters = exports.Conversion = void 0;
|
|
51
51
|
const Conversion = __importStar(require("./packlets/conversion"));
|
|
52
52
|
exports.Conversion = Conversion;
|
|
53
53
|
const Validation = __importStar(require("./packlets/validation"));
|
|
54
54
|
exports.Validation = Validation;
|
|
55
55
|
const conversion_1 = require("./packlets/conversion");
|
|
56
56
|
Object.defineProperty(exports, "Converters", { enumerable: true, get: function () { return conversion_1.Converters; } });
|
|
57
|
+
Object.defineProperty(exports, "ObjectConverter", { enumerable: true, get: function () { return conversion_1.ObjectConverter; } });
|
|
57
58
|
const validation_1 = require("./packlets/validation");
|
|
58
59
|
Object.defineProperty(exports, "Validators", { enumerable: true, get: function () { return validation_1.Validators; } });
|
|
59
60
|
__exportStar(require("./packlets/base"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,kEAAoD;AAO3C,gCAAU;AANnB,kEAAoD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,kEAAoD;AAO3C,gCAAU;AANnB,kEAAoD;AAMS,gCAAU;AAJvE,sDAA+E;AAI/C,2FAJZ,uBAAU,OAIY;AAAE,gGAJZ,4BAAe,OAIY;AAH3D,sDAA8D;AAGsB,2FAHhE,uBAAU,OAGgE;AAD9F,kDAAgC","sourcesContent":["/*\n * Copyright (c) 2020 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\nimport * as Conversion from './packlets/conversion';\nimport * as Validation from './packlets/validation';\n\nimport { Converter, Converters, ObjectConverter } from './packlets/conversion';\nimport { Validator, Validators } from './packlets/validation';\n\nexport * from './packlets/base';\nexport { Conversion, Converter, Converters, ObjectConverter, Validation, Validator, Validators };\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgv/ts-utils",
|
|
3
|
-
"version": "2.1.1-alpha.
|
|
3
|
+
"version": "2.1.1-alpha.1",
|
|
4
4
|
"description": "Assorted Typescript Utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "dist/ts-utils.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"bugs": {
|
|
27
27
|
"url": "https://github.com/ErikFortune/fgv/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://github.com/ErikFortune/fgv#readme",
|
|
29
|
+
"homepage": "https://github.com/ErikFortune/fgv/tree/main/libraries/ts-utils#readme",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@jest/expect-utils": "^29.7.0",
|
|
32
32
|
"@microsoft/api-documenter": "^7.23.17",
|