@tstdl/base 0.89.7 → 0.89.8

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/lock/index.d.ts CHANGED
@@ -4,6 +4,4 @@
4
4
  * @module Lock
5
5
  */
6
6
  export * from './lock.js';
7
- export * from './mongo/index.js';
8
7
  export * from './provider.js';
9
- export * from './web/index.js';
package/lock/index.js CHANGED
@@ -4,6 +4,4 @@
4
4
  * @module Lock
5
5
  */
6
6
  export * from './lock.js';
7
- export * from './mongo/index.js';
8
7
  export * from './provider.js';
9
- export * from './web/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.89.7",
3
+ "version": "0.89.8",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -54,6 +54,8 @@
54
54
  "./json-path": "./json-path/index.js",
55
55
  "./key-value-store": "./key-value-store/index.js",
56
56
  "./lock": "./lock/index.js",
57
+ "./lock/mongo": "./lock/mongo/index.js",
58
+ "./lock/web": "./lock/web/index.js",
57
59
  "./logger": "./logger/index.js",
58
60
  "./mail": "./mail/index.js",
59
61
  "./memory": "./memory/index.js",
@@ -106,7 +108,7 @@
106
108
  "luxon": "^3.4",
107
109
  "reflect-metadata": "^0.1",
108
110
  "rxjs": "^7.8",
109
- "type-fest": "^4.3"
111
+ "type-fest": "^4.4"
110
112
  },
111
113
  "devDependencies": {
112
114
  "@mxssfd/typedoc-theme": "1.1",
@@ -121,7 +123,7 @@
121
123
  "@typescript-eslint/parser": "6.7",
122
124
  "concurrently": "8.2",
123
125
  "esbuild": "0.19",
124
- "eslint": "8.50",
126
+ "eslint": "8.51",
125
127
  "eslint-import-resolver-typescript": "3.6",
126
128
  "eslint-plugin-import": "2.28",
127
129
  "tsc-alias": "1.8",
package/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Observable } from 'rxjs';
2
- import type { Except, UnionToIntersection } from 'type-fest';
2
+ import type { Except } from 'type-fest';
3
3
  import type { Signal } from './signals/api.js';
4
4
  export type ObjectLiteral = {};
5
5
  export type PrimitiveTypeMap = {
@@ -131,6 +131,7 @@ export type SimplifyDeep<T> = T extends BuiltIn ? T : T extends readonly any[] ?
131
131
  } : T extends Record ? {
132
132
  [K in keyof T]: SimplifyDeep<T[K]>;
133
133
  } & {} : T;
134
+ export type UnionToIntersection<Union> = (Union extends unknown ? (distributedUnion: Union) => void : never) extends ((mergedIntersection: infer Intersection) => void) ? Intersection : never;
134
135
  export type UnionToTuple<T, Tuple extends any[] = []> = UnionToIntersection<T extends any ? () => T : never> extends () => infer R ? UnionToTuple<Exclude<T, R>, [R, ...Tuple]> : Tuple;
135
136
  export type UndefinableObject<T extends Record> = {
136
137
  [K in keyof T]: T[K] | undefined;