ts-data-forge 2.1.3 → 3.0.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/index.d.mts CHANGED
@@ -9,4 +9,5 @@ export * from './number/index.mjs';
9
9
  export * from './object/index.mjs';
10
10
  export * from './others/index.mjs';
11
11
  export * from './promise/index.mjs';
12
+ export * from './type.mjs';
12
13
  //# sourceMappingURL=index.d.mts.map
@@ -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;AACpC,cAAc,YAAY,CAAC"}
package/dist/index.mjs CHANGED
@@ -58,4 +58,5 @@ 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';
61
62
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -24,4 +24,4 @@ declare global {
24
24
  type ArgStrPositive = WithSmallInt<IntersectBrand<PositiveNumber, Str>>;
25
25
  }
26
26
  }
27
- //# sourceMappingURL=entry-point.d.mts.map
27
+ //# sourceMappingURL=type.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.mts","sourceRoot":"","sources":["../src/type.mts"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAEvB,cAAc,aAAa,CAAC;AAE5B,OAAO,CAAC,MAAM,CAAC;IACb,KAAK,gBAAgB,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;IAElD;;OAEG;IACH,KAAK,aAAa,GAAG,SAAS,CAAC;IAO/B,UAAU,QAAQ,CAAC;QACjB,KAAK,GAAG,GAAG,MAAM,CAAC;QAClB,KAAK,UAAU,GAAG,QAAQ,CAAC;QAC3B,KAAK,GAAG,GAAG,QAAQ,CAAC;QAEpB,KAAK,eAAe,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;QAChC,KAAK,sBAAsB,GAAG,UAAU,GAAG,CAAC,CAAC,CAAC;QAC9C,KAAK,eAAe,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;QAEhC,KAAK,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QAChC,KAAK,aAAa,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;QAC9C,KAAK,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QAEhC,KAAK,kBAAkB,GAAG,YAAY,CACpC,mBAAmB,CAAC,aAAa,GAAG,GAAG,CAAC,CACzC,CAAC;QACF,KAAK,yBAAyB,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;QACvD,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;QAEhD,KAAK,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC;QACxE,KAAK,qBAAqB,GAAG,YAAY,CACvC,cAAc,CAAC,cAAc,EAAE,UAAU,CAAC,CAC3C,CAAC;QACF,KAAK,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC;KACzE;CACF"}
@@ -4,22 +4,8 @@ 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';
11
7
  export { Optional } from './functional/optional.mjs';
12
- export { pipe } from './functional/pipe.mjs';
13
8
  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';
23
9
  export { FiniteNumber, asFiniteNumber, isFiniteNumber } from './number/branded-types/finite-number.mjs';
24
10
  export { Int, asInt, isInt } from './number/branded-types/int.mjs';
25
11
  export { Int16, asInt16, isInt16 } from './number/branded-types/int16.mjs';
@@ -50,13 +36,6 @@ export { Int8, asInt8, isInt8 } from './number/enum/int8.mjs';
50
36
  export { Uint8, asUint8, isUint8 } from './number/enum/uint8.mjs';
51
37
  export { Num } from './number/num.mjs';
52
38
  export { TsDataForgeInternals } from './number/refined-number-utils.mjs';
39
+ export { Json } from './json/json.mjs';
53
40
  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';
62
- //# sourceMappingURL=entry-point.mjs.map
41
+ //# sourceMappingURL=type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-data-forge",
3
- "version": "2.1.3",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "typescript",
@@ -21,13 +21,13 @@
21
21
  "exports": {
22
22
  ".": {
23
23
  "import": {
24
- "types": "./dist/entry-point.d.mts",
25
- "default": "./dist/entry-point.mjs"
24
+ "types": "./dist/type.d.mts",
25
+ "default": "./dist/index.mjs"
26
26
  }
27
27
  }
28
28
  },
29
- "module": "./dist/entry-point.mjs",
30
- "types": "./dist/entry-point.d.mts",
29
+ "module": "./dist/index.mjs",
30
+ "types": "./dist/type.d.mts",
31
31
  "files": [
32
32
  "src",
33
33
  "dist",
package/src/index.mts CHANGED
@@ -9,3 +9,4 @@ export * from './number/index.mjs';
9
9
  export * from './object/index.mjs';
10
10
  export * from './others/index.mjs';
11
11
  export * from './promise/index.mjs';
12
+ export * from './type.mjs';
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry-point.d.mts","sourceRoot":"","sources":["../src/entry-point.mts"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAEvB,cAAc,aAAa,CAAC;AAE5B,OAAO,CAAC,MAAM,CAAC;IACb,KAAK,gBAAgB,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;IAElD;;OAEG;IACH,KAAK,aAAa,GAAG,SAAS,CAAC;IAO/B,UAAU,QAAQ,CAAC;QACjB,KAAK,GAAG,GAAG,MAAM,CAAC;QAClB,KAAK,UAAU,GAAG,QAAQ,CAAC;QAC3B,KAAK,GAAG,GAAG,QAAQ,CAAC;QAEpB,KAAK,eAAe,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;QAChC,KAAK,sBAAsB,GAAG,UAAU,GAAG,CAAC,CAAC,CAAC;QAC9C,KAAK,eAAe,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;QAEhC,KAAK,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QAChC,KAAK,aAAa,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;QAC9C,KAAK,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QAEhC,KAAK,kBAAkB,GAAG,YAAY,CACpC,mBAAmB,CAAC,aAAa,GAAG,GAAG,CAAC,CACzC,CAAC;QACF,KAAK,yBAAyB,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;QACvD,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;QAEhD,KAAK,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC;QACxE,KAAK,qBAAqB,GAAG,YAAY,CACvC,cAAc,CAAC,cAAc,EAAE,UAAU,CAAC,CAC3C,CAAC;QACF,KAAK,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC;KACzE;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry-point.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
File without changes