ts-data-forge 3.0.1 → 3.0.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.
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/type.mjs +22 -1
- package/dist/type.mjs.map +1 -1
- package/package.json +1 -1
- package/src/index.mts +0 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -58,5 +58,4 @@ export { memoizeFunction } from './others/memoize-function.mjs';
|
|
|
58
58
|
export { tp } from './others/tuple.mjs';
|
|
59
59
|
export { unknownToString } from './others/unknown-to-string.mjs';
|
|
60
60
|
export { createPromise } from './promise/promise.mjs';
|
|
61
|
-
import 'ts-type-forge';
|
|
62
61
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/type.mjs
CHANGED
|
@@ -4,8 +4,22 @@ export { IMapMapped } from './collections/imap-mapped.mjs';
|
|
|
4
4
|
export { IMap } from './collections/imap.mjs';
|
|
5
5
|
export { ISetMapped } from './collections/iset-mapped.mjs';
|
|
6
6
|
export { ISet } from './collections/iset.mjs';
|
|
7
|
+
export { createQueue } from './collections/queue.mjs';
|
|
8
|
+
export { createStack } from './collections/stack.mjs';
|
|
9
|
+
export { expectType } from './expect-type.mjs';
|
|
10
|
+
export { match } from './functional/match.mjs';
|
|
7
11
|
export { Optional } from './functional/optional.mjs';
|
|
12
|
+
export { pipe } from './functional/pipe.mjs';
|
|
8
13
|
export { Result } from './functional/result.mjs';
|
|
14
|
+
export { hasKey } from './guard/has-key.mjs';
|
|
15
|
+
export { isNonEmptyString } from './guard/is-non-empty-string.mjs';
|
|
16
|
+
export { isNonNullObject } from './guard/is-non-null-object.mjs';
|
|
17
|
+
export { isPrimitive } from './guard/is-primitive.mjs';
|
|
18
|
+
export { isRecord } from './guard/is-record.mjs';
|
|
19
|
+
export { isBigint, isBoolean, isNonNullish, isNotBigint, isNotBoolean, isNotNull, isNotNumber, isNotString, isNotSymbol, isNotUndefined, isNull, isNullish, isNumber, isString, isSymbol, isUndefined } from './guard/is-type.mjs';
|
|
20
|
+
export { keyIsIn } from './guard/key-is-in.mjs';
|
|
21
|
+
export { range } from './iterator/range.mjs';
|
|
22
|
+
export { Json } from './json/json.mjs';
|
|
9
23
|
export { FiniteNumber, asFiniteNumber, isFiniteNumber } from './number/branded-types/finite-number.mjs';
|
|
10
24
|
export { Int, asInt, isInt } from './number/branded-types/int.mjs';
|
|
11
25
|
export { Int16, asInt16, isInt16 } from './number/branded-types/int16.mjs';
|
|
@@ -36,6 +50,13 @@ export { Int8, asInt8, isInt8 } from './number/enum/int8.mjs';
|
|
|
36
50
|
export { Uint8, asUint8, isUint8 } from './number/enum/uint8.mjs';
|
|
37
51
|
export { Num } from './number/num.mjs';
|
|
38
52
|
export { TsDataForgeInternals } from './number/refined-number-utils.mjs';
|
|
39
|
-
export { Json } from './json/json.mjs';
|
|
40
53
|
export { Obj } from './object/object.mjs';
|
|
54
|
+
export { castDeepMutable, castMutable } from './others/cast-mutable.mjs';
|
|
55
|
+
export { castDeepReadonly, castReadonly } from './others/cast-readonly.mjs';
|
|
56
|
+
export { ifThen } from './others/if-then.mjs';
|
|
57
|
+
export { mapNullable } from './others/map-nullable.mjs';
|
|
58
|
+
export { memoizeFunction } from './others/memoize-function.mjs';
|
|
59
|
+
export { tp } from './others/tuple.mjs';
|
|
60
|
+
export { unknownToString } from './others/unknown-to-string.mjs';
|
|
61
|
+
export { createPromise } from './promise/promise.mjs';
|
|
41
62
|
//# sourceMappingURL=type.mjs.map
|
package/dist/type.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"type.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
package/src/index.mts
CHANGED