lakutata 2.0.64 → 2.0.65

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.
Files changed (205) hide show
  1. package/com/cacher.d.ts +4 -4
  2. package/com/database.d.ts +2 -2
  3. package/com/docker.d.ts +5 -5
  4. package/com/docker.mjs +1 -1
  5. package/com/entrypoint.d.ts +2 -2
  6. package/com/logger.d.ts +1 -1
  7. package/com/logger.mjs +1 -1
  8. package/com/monitor.d.ts +2 -2
  9. package/decorator/asst.d.ts +1 -1
  10. package/decorator/ctrl.d.ts +4 -4
  11. package/decorator/di.d.ts +3 -3
  12. package/decorator/dto.d.ts +3 -3
  13. package/decorator/orm.d.ts +2 -2
  14. package/decorator/orm.mjs +1 -1
  15. package/helper.d.ts +1 -1
  16. package/helper.mjs +2 -2
  17. package/lakutata.d.ts +10 -10
  18. package/lakutata.mjs +2 -2
  19. package/orm.d.ts +3 -3
  20. package/orm.mjs +15 -15
  21. package/package.json +1 -1
  22. package/provider/database.d.ts +2 -2
  23. package/provider/passwordHash.d.ts +1 -1
  24. package/src/components/Database.mjs +2 -2
  25. package/src/components/Logger.mjs +1 -1
  26. package/src/components/cacher/Cacher.mjs +10 -10
  27. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +3 -3
  28. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +1 -1
  29. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +1 -1
  30. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +1 -1
  31. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +1 -1
  32. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +21 -21
  33. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +8 -8
  34. package/src/components/cacher/options/FileCacheOptions.mjs +2 -2
  35. package/src/components/cacher/options/MemcacheCacheOptions.mjs +2 -2
  36. package/src/components/cacher/options/MongoCacheOptions.mjs +2 -2
  37. package/src/components/cacher/options/MysqlCacheOptions.mjs +2 -2
  38. package/src/components/cacher/options/PostgresCacheOptions.mjs +2 -2
  39. package/src/components/cacher/options/RedisCacheOptions.mjs +2 -2
  40. package/src/components/cacher/options/SqliteCacheOptions.mjs +2 -2
  41. package/src/components/docker/Docker.mjs +5 -5
  42. package/src/components/docker/lib/DockerContainer.mjs +3 -3
  43. package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
  44. package/src/components/docker/lib/DockerImage.mjs +2 -2
  45. package/src/components/docker/options/DockerPruneOptions.mjs +2 -2
  46. package/src/components/docker/options/auth/DockerAuthOptions.mjs +2 -2
  47. package/src/components/docker/options/container/ContainerCommitOptions.mjs +2 -2
  48. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +2 -2
  49. package/src/components/docker/options/container/ContainerExecOptions.mjs +2 -2
  50. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +2 -2
  51. package/src/components/docker/options/container/ContainerKillOptions.mjs +2 -2
  52. package/src/components/docker/options/container/ContainerLogsOptions.mjs +2 -2
  53. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +2 -2
  54. package/src/components/docker/options/container/ContainerSettingOptions.mjs +2 -2
  55. package/src/components/docker/options/container/ContainerStopOptions.mjs +2 -2
  56. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +2 -2
  57. package/src/components/docker/options/image/ImageBuildOptions.mjs +2 -2
  58. package/src/components/docker/options/image/ImageExportOptions.mjs +2 -2
  59. package/src/components/docker/options/image/ImageImportOptions.mjs +2 -2
  60. package/src/components/docker/options/image/ImagePullOptions.mjs +2 -2
  61. package/src/components/docker/options/image/ImagePushOptions.mjs +2 -2
  62. package/src/components/docker/options/image/ImageRemoveOptions.mjs +2 -2
  63. package/src/components/docker/options/image/ImageTagOptions.mjs +2 -2
  64. package/src/components/docker/options/network/NetworkCreateOptions.mjs +2 -2
  65. package/src/components/entrypoint/Entrypoint.mjs +3 -3
  66. package/src/components/entrypoint/lib/AccessControl.mjs +21 -21
  67. package/src/components/entrypoint/lib/AccessControlRule.mjs +2 -2
  68. package/src/components/entrypoint/lib/Controller.mjs +3 -3
  69. package/src/components/monitor/AliveMonitor.mjs +2 -2
  70. package/src/components/monitor/CpuMonitor.mjs +1 -1
  71. package/src/components/monitor/HttpRequestMonitor.mjs +14 -14
  72. package/src/components/monitor/MemoryMonitor.mjs +1 -1
  73. package/src/decorators/di/Configurable.mjs +1 -1
  74. package/src/decorators/dto/Expect.mjs +1 -1
  75. package/src/decorators/dto/IndexSignature.mjs +1 -1
  76. package/src/decorators/orm/AfterInsert.mjs +1 -1
  77. package/src/decorators/orm/AfterLoad.mjs +1 -1
  78. package/src/decorators/orm/AfterRecover.mjs +1 -1
  79. package/src/decorators/orm/AfterRemove.mjs +1 -1
  80. package/src/decorators/orm/AfterSoftRemove.mjs +1 -1
  81. package/src/decorators/orm/AfterUpdate.mjs +1 -1
  82. package/src/decorators/orm/BeforeInsert.mjs +1 -1
  83. package/src/decorators/orm/BeforeRecover.mjs +1 -1
  84. package/src/decorators/orm/BeforeRemove.mjs +1 -1
  85. package/src/decorators/orm/BeforeSoftRemove.mjs +1 -1
  86. package/src/decorators/orm/BeforeUpdate.mjs +1 -1
  87. package/src/decorators/orm/Check.mjs +1 -1
  88. package/src/decorators/orm/ChildEntity.mjs +1 -1
  89. package/src/decorators/orm/Column.mjs +1 -1
  90. package/src/decorators/orm/CreateDateColumn.mjs +1 -1
  91. package/src/decorators/orm/DeleteDateColumn.mjs +1 -1
  92. package/src/decorators/orm/Entity.mjs +1 -1
  93. package/src/decorators/orm/EventSubscriber.mjs +1 -1
  94. package/src/decorators/orm/Exclusion.mjs +1 -1
  95. package/src/decorators/orm/Generated.mjs +1 -1
  96. package/src/decorators/orm/Index.mjs +1 -1
  97. package/src/decorators/orm/JoinColumn.mjs +1 -1
  98. package/src/decorators/orm/JoinTable.mjs +1 -1
  99. package/src/decorators/orm/ManyToMany.mjs +1 -1
  100. package/src/decorators/orm/ManyToOne.mjs +1 -1
  101. package/src/decorators/orm/ObjectIdColumn.mjs +1 -1
  102. package/src/decorators/orm/OneToMany.mjs +1 -1
  103. package/src/decorators/orm/OneToOne.mjs +1 -1
  104. package/src/decorators/orm/PrimaryColumn.mjs +1 -1
  105. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +1 -1
  106. package/src/decorators/orm/RelationId.mjs +1 -1
  107. package/src/decorators/orm/TableInheritance.mjs +1 -1
  108. package/src/decorators/orm/Tree.mjs +1 -1
  109. package/src/decorators/orm/TreeChildren.mjs +1 -1
  110. package/src/decorators/orm/TreeLevelColumn.mjs +1 -1
  111. package/src/decorators/orm/TreeParent.mjs +1 -1
  112. package/src/decorators/orm/Unique.mjs +1 -1
  113. package/src/decorators/orm/UpdateDateColumn.mjs +1 -1
  114. package/src/decorators/orm/VersionColumn.mjs +1 -1
  115. package/src/decorators/orm/ViewColumn.mjs +1 -1
  116. package/src/decorators/orm/ViewEntity.mjs +1 -1
  117. package/src/decorators/orm/VirtualColumn.mjs +1 -1
  118. package/src/lib/base/BaseObject.mjs +1 -1
  119. package/src/lib/base/Context.mjs +10 -10
  120. package/src/lib/base/EventEmitter.mjs +1 -1
  121. package/src/lib/base/internal/ActionOptions.mjs +2 -2
  122. package/src/lib/base/internal/BasicInfo.mjs +10 -10
  123. package/src/lib/base/internal/DataValidator.mjs +2 -2
  124. package/src/lib/base/internal/FlexibleDTO.mjs +2 -2
  125. package/src/lib/base/internal/MethodValidation.mjs +1 -1
  126. package/src/lib/base/internal/ModuleConfigLoader.mjs +1 -1
  127. package/src/lib/base/internal/ObjectConfiguration.mjs +1 -1
  128. package/src/lib/base/internal/ObjectSchemaValidation.mjs +1 -1
  129. package/src/lib/base/internal/ObjectType.mjs +1 -1
  130. package/src/lib/base/internal/PatternManager.mjs +1 -1
  131. package/src/lib/base/internal/StringifyPattern.mjs +1 -1
  132. package/src/lib/context/CLIContext.mjs +5 -5
  133. package/src/lib/context/HTTPContext.mjs +2 -2
  134. package/src/lib/context/ServiceContext.mjs +2 -2
  135. package/src/lib/core/Application.mjs +10 -10
  136. package/src/lib/core/Component.mjs +2 -2
  137. package/src/lib/core/Container.mjs +1 -1
  138. package/src/lib/core/DTO.mjs +1 -1
  139. package/src/lib/core/Module.mjs +2 -2
  140. package/src/lib/core/Provider.mjs +5 -5
  141. package/src/lib/core/Time.mjs +1 -1
  142. package/src/lib/helpers/Glob.mjs +1 -1
  143. package/src/lib/helpers/IsGlobString.mjs +1 -1
  144. package/src/lib/helpers/IsHtml.mjs +5 -5
  145. package/src/lib/helpers/IsSymbol.mjs +1 -1
  146. package/src/lib/helpers/IsXML.mjs +1 -1
  147. package/src/lib/helpers/MD5.mjs +1 -1
  148. package/src/lib/helpers/ObjectHash.mjs +1 -1
  149. package/src/lib/helpers/RandomString.mjs +1 -1
  150. package/src/lib/helpers/SHA1.mjs +3 -3
  151. package/src/lib/helpers/SHA256.mjs +3 -3
  152. package/src/lib/helpers/SortArray.mjs +14 -14
  153. package/src/lib/helpers/Statistics.mjs +59 -59
  154. package/src/lib/helpers/URLBuilder.mjs +34 -34
  155. package/src/lib/ioc/Errors.mjs +8 -8
  156. package/src/lib/ioc/ListModules.mjs +2 -2
  157. package/src/lib/ioc/Utils.mjs +1 -1
  158. package/src/lib/validation/VLD.mjs +1 -1
  159. package/src/options/ApplicationOptions.mjs +2 -2
  160. package/src/options/LoadAnonymousObjectOptions.mjs +3 -3
  161. package/src/options/LoadNamedObjectOptions.mjs +3 -3
  162. package/src/options/LoadObjectOptions.mjs +1 -1
  163. package/src/options/ModuleLoadObjectsOptions.mjs +3 -3
  164. package/src/options/ModuleOptions.mjs +3 -3
  165. package/src/options/OverridableNamedObjectOptions.mjs +2 -2
  166. package/src/options/OverridableObjectOptions.mjs +3 -3
  167. package/src/providers/Database.mjs +2 -2
  168. package/src/providers/PasswordHash.mjs +19 -19
  169. package/vendor/Package.1.mjs +1 -1
  170. package/vendor/Package.12.mjs +5 -5
  171. package/vendor/Package.122.mjs +4380 -4380
  172. package/vendor/Package.13.mjs +4 -4
  173. package/vendor/Package.132.mjs +1 -1
  174. package/vendor/Package.16.mjs +1 -1
  175. package/vendor/Package.17.mjs +5 -5
  176. package/vendor/Package.19.cjs +195 -184
  177. package/vendor/Package.19.mjs +194 -183
  178. package/vendor/Package.2.mjs +114 -114
  179. package/vendor/Package.3.mjs +30 -30
  180. package/vendor/Package.4.mjs +1 -1
  181. package/vendor/Package.5.mjs +1 -1
  182. package/vendor/Package.6.mjs +3 -3
  183. package/vendor/Package.610.mjs +1 -1
  184. package/vendor/Package.611.mjs +11 -11
  185. package/vendor/Package.62.mjs +148 -148
  186. package/vendor/Package.63.mjs +43 -43
  187. package/vendor/Package.64.mjs +1 -1
  188. package/vendor/Package.65.mjs +3 -3
  189. package/vendor/Package.66.mjs +1 -1
  190. package/vendor/Package.67.mjs +1 -1
  191. package/vendor/Package.68.mjs +1 -1
  192. package/vendor/Package.7.mjs +1 -1
  193. package/vendor/Package.9.mjs +36 -36
  194. package/vendor/TypeDef.internal.1.d.ts +1 -1
  195. package/vendor/TypeDef.internal.10.d.ts +1 -1
  196. package/vendor/TypeDef.internal.11.d.ts +2 -2
  197. package/vendor/TypeDef.internal.12.d.ts +2 -2
  198. package/vendor/TypeDef.internal.13.d.ts +6 -6
  199. package/vendor/TypeDef.internal.3.d.ts +3 -3
  200. package/vendor/TypeDef.internal.4.d.ts +2 -2
  201. package/vendor/TypeDef.internal.5.d.ts +2 -2
  202. package/vendor/TypeDef.internal.6.d.ts +2 -2
  203. package/vendor/TypeDef.internal.7.d.ts +1 -1
  204. package/vendor/TypeDef.internal.8.d.ts +1 -1
  205. package/vendor/TypeDef.internal.9.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { __decorate as t, __metadata as e } from "./Package.1.mjs";
1
+ import { _ as t, a as e } from "./Package.1.mjs";
2
2
 
3
3
  import { AsyncConstructor as s } from "../src/lib/base/async-constructor/AsyncConstructor.mjs";
4
4
 
@@ -18,7 +18,7 @@ import { GetObjectIsAutoload as u, GetObjectInjectItemsByPrototype as f } from "
18
18
 
19
19
  import { SetObjectContainerGetter as b } from "../src/lib/base/internal/ObjectContainer.mjs";
20
20
 
21
- import { DTO as y, IsSymbol as g } from "./Package.2.mjs";
21
+ import { D as y, I as g } from "./Package.2.mjs";
22
22
 
23
23
  import { ObjectConstructor as j } from "../src/lib/helpers/ObjectConstructor.mjs";
24
24
 
@@ -28,9 +28,9 @@ import { DevNull as O } from "../src/lib/helpers/DevNull.mjs";
28
28
 
29
29
  import { ObjectParentConstructors as P } from "../src/lib/helpers/ObjectParentConstructors.mjs";
30
30
 
31
- import { DependencyInjectionException as R } from "../src/exceptions/di/DependencyInjectionException.mjs";
31
+ import { DependencyInjectionException as C } from "../src/exceptions/di/DependencyInjectionException.mjs";
32
32
 
33
- import { ConstructorSymbol as C } from "../src/lib/base/internal/ConstructorSymbol.mjs";
33
+ import { ConstructorSymbol as R } from "../src/lib/base/internal/ConstructorSymbol.mjs";
34
34
 
35
35
  import { Expect as S } from "../src/decorators/dto/Expect.mjs";
36
36
 
@@ -50,27 +50,27 @@ import { isClass as L } from "../src/lib/ioc/Utils.mjs";
50
50
 
51
51
  import { IsEmptyObject as k } from "../src/lib/helpers/IsEmptyObject.mjs";
52
52
 
53
- import { AppendObjectWeakRefs as U, GetObjectWeakRefs as x, ClearObjectWeakRefs as D } from "../src/lib/base/internal/ObjectWeakRefs.mjs";
53
+ import { AppendObjectWeakRefs as D, GetObjectWeakRefs as U, ClearObjectWeakRefs as x } from "../src/lib/base/internal/ObjectWeakRefs.mjs";
54
54
 
55
55
  var B;
56
56
 
57
- const F = Symbol("OBJECT_ID");
57
+ const _ = Symbol("OBJECT_ID");
58
58
 
59
- let Y = class LoadObjectOptions extends y {
59
+ let F = class LoadObjectOptions extends y {
60
60
  static {
61
- B = F;
61
+ B = _;
62
62
  }
63
63
  };
64
64
 
65
- t([ S(y.Alternatives(y.String(), y.Symbol()).optional()), e("design:type", Object) ], Y.prototype, B, void 0);
65
+ t([ S(y.Alternatives(y.String(), y.Symbol()).optional()), e("design:type", Object) ], F.prototype, B, void 0);
66
66
 
67
- t([ S(y.Class((() => tt)).required()), e("design:type", Object) ], Y.prototype, "class", void 0);
67
+ t([ S(y.Class((() => tt)).required()), e("design:type", Object) ], F.prototype, "class", void 0);
68
68
 
69
- Y = t([ N(y.Any()) ], Y);
69
+ F = t([ N(y.Any()) ], F);
70
70
 
71
- const _ = Symbol("LAKUTATA.DI.CONTAINER.SYMBOL");
71
+ const G = Symbol("LAKUTATA.DI.CONTAINER.SYMBOL");
72
72
 
73
- const G = Symbol("LAKUTATA.DI.OWNER.SYMBOL");
73
+ const Y = Symbol("LAKUTATA.DI.OWNER.SYMBOL");
74
74
 
75
75
  class Container {
76
76
  #t;
@@ -86,8 +86,8 @@ class Container {
86
86
  strict: false
87
87
  });
88
88
  if (this.parent) this.parent.#e.add(this);
89
- this.#t.register(_, v(this));
90
- if (e) this.#t.register(G, v(new WeakRef(e)));
89
+ this.#t.register(G, v(this));
90
+ if (e) this.#t.register(Y, v(new WeakRef(e)));
91
91
  }
92
92
  async disposer(t) {
93
93
  try {
@@ -117,7 +117,7 @@ class Container {
117
117
  }
118
118
  buildNameAndRegistrationPairFromOptions(t) {
119
119
  const e = {};
120
- const s = t[F] ? t[F] : C(t.class);
120
+ const s = t[_] ? t[_] : R(t.class);
121
121
  const i = {
122
122
  ...t,
123
123
  class: void 0
@@ -138,7 +138,7 @@ class Container {
138
138
  if (L(i) && y.isValid(i, y.Class(tt))) {
139
139
  const t = i;
140
140
  const s = {};
141
- s[C(t)] = I(t, this.buildResolverOptions(t));
141
+ s[R(t)] = I(t, this.buildResolverOptions(t));
142
142
  return e(s);
143
143
  } else {
144
144
  return e({});
@@ -158,7 +158,7 @@ class Container {
158
158
  return i;
159
159
  }
160
160
  owner() {
161
- const t = this.#t.resolve(G, {
161
+ const t = this.#t.resolve(Y, {
162
162
  allowUnregistered: true
163
163
  });
164
164
  return t ? t.deref() : undefined;
@@ -201,7 +201,7 @@ class Container {
201
201
  }
202
202
  }
203
203
  async get(t, e = {}) {
204
- const s = typeof t === "function" ? C(t) : t;
204
+ const s = typeof t === "function" ? R(t) : t;
205
205
  if (!this.#t.hasRegistration(s) && typeof t === "function" && u(w(t))) {
206
206
  await this.load([ {
207
207
  id: s,
@@ -211,7 +211,7 @@ class Container {
211
211
  return (this.#t.getRegistration(s)?.lifetime === "SINGLETON" || this.#t.getRegistration(s)?.lifetime === "MODULE_SINGLETON") && !this.injectionNames.has(s) && this.parent ? await this.parent.get(s, e) : await this.processResolved(this.#t.resolve(s), s, e);
212
212
  }
213
213
  has(t) {
214
- if (typeof t === "function") return this.#t.hasRegistration(C(t));
214
+ if (typeof t === "function") return this.#t.hasRegistration(R(t));
215
215
  return this.#t.hasRegistration(t);
216
216
  }
217
217
  async set(t, e = {}) {
@@ -225,7 +225,7 @@ class Container {
225
225
  await this.load([ {
226
226
  ...s,
227
227
  class: e,
228
- [F]: t
228
+ [_]: t
229
229
  } ]);
230
230
  return await this.get(t);
231
231
  }
@@ -239,12 +239,12 @@ class Container {
239
239
  await this.load([ {
240
240
  ...s,
241
241
  class: e,
242
- [F]: t
242
+ [_]: t
243
243
  } ]);
244
244
  }
245
245
  async build(t, e = {}) {
246
- const s = await this.processResolved(this.#t.build(t, this.buildResolverOptions(t)), C(t), e);
247
- U(this.#t, s);
246
+ const s = await this.processResolved(this.#t.build(t, this.buildResolverOptions(t)), R(t), e);
247
+ D(this.#t, s);
248
248
  return s;
249
249
  }
250
250
  createScope() {
@@ -259,7 +259,7 @@ class Container {
259
259
  await Promise.all(t);
260
260
  await this.#t.dispose();
261
261
  const e = [];
262
- x(this.#t).forEach((t => {
262
+ U(this.#t).forEach((t => {
263
263
  let s = t.deref();
264
264
  if (!s) return;
265
265
  if (s[H]) {
@@ -270,7 +270,7 @@ class Container {
270
270
  }
271
271
  }));
272
272
  await Promise.all(e);
273
- D(this.#t);
273
+ x(this.#t);
274
274
  }
275
275
  async destroy() {
276
276
  if (this.#s) return;
@@ -280,7 +280,7 @@ class Container {
280
280
  }
281
281
  }
282
282
 
283
- t([ M(y.Array(y.Alternatives(Y.Schema(), y.Class((() => tt)), y.Glob()))), e("design:type", Function), e("design:paramtypes", [ Array ]), e("design:returntype", Promise) ], Container.prototype, "load", null);
283
+ t([ M(y.Array(y.Alternatives(F.Schema(), y.Class((() => tt)), y.Glob()))), e("design:type", Function), e("design:paramtypes", [ Array ]), e("design:returntype", Promise) ], Container.prototype, "load", null);
284
284
 
285
285
  const $ = Symbol("OBJECT.TYPE");
286
286
 
@@ -361,7 +361,7 @@ let tt = K = class BaseObject extends s {
361
361
  Reflect.set(this, s, t);
362
362
  return e();
363
363
  })).catch(r);
364
- })).catch((t => r(new R("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, t.message ]))));
364
+ })).catch((t => r(new C("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, t.message ]))));
365
365
  })));
366
366
  }));
367
367
  await Promise.all(e);
@@ -379,7 +379,7 @@ let tt = K = class BaseObject extends s {
379
379
  });
380
380
  await this[X]();
381
381
  }));
382
- this.#i = new Container(t[_], this);
382
+ this.#i = new Container(t[G], this);
383
383
  b(this, this.#i);
384
384
  }
385
385
  static get className() {
@@ -472,4 +472,4 @@ let tt = K = class BaseObject extends s {
472
472
 
473
473
  tt = K = t([ i(), z(q.Object), e("design:paramtypes", [ Object ]) ], tt);
474
474
 
475
- export { tt as BaseObject, Container, z as DefineObjectType, V as GetObjectType, Y as LoadObjectOptions, F as OBJECT_ID, q as ObjectType, J as SetObjectType, H as __destroy, X as __init, Q as anonymousId, _ as containerSymbol, G as ownerSymbol };
475
+ export { tt as B, Container as C, z as D, V as G, F as L, q as O, J as S, X as _, H as a, _ as b, G as c, Q as d, Y as o };
@@ -1,4 +1,4 @@
1
- import { commonjsGlobal as e } from "./Package.5.mjs";
1
+ import { c as e } from "./Package.5.mjs";
2
2
 
3
3
  var t = {};
4
4
 
@@ -39,4 +39,4 @@ function o(e) {
39
39
  return r;
40
40
  }
41
41
 
42
- export { e as commonjsGlobal, o as getAugmentedNamespace, t as getDefaultExportFromCjs };
42
+ export { o as a, e as c, t as g };
@@ -1,6 +1,6 @@
1
- import { commonjsGlobal as M, getDefaultExportFromCjs as z } from "./Package.5.mjs";
1
+ import { c as M, g as z } from "./Package.5.mjs";
2
2
 
3
- import { commonjsRequire as b } from "./Package.7.mjs";
3
+ import { c as b } from "./Package.7.mjs";
4
4
 
5
5
  var p = {
6
6
  exports: {}
@@ -4307,4 +4307,4 @@ var L = p.exports;
4307
4307
 
4308
4308
  const u = z(L);
4309
4309
 
4310
- export { u as MomentTimezone };
4310
+ export { u as M };
@@ -2,7 +2,7 @@ import t from "events";
2
2
 
3
3
  import { promisify as e } from "util";
4
4
 
5
- import { index_default as s } from "./Package.66.mjs";
5
+ import { i as s } from "./Package.66.mjs";
6
6
 
7
7
  import a from "sqlite3";
8
8
 
@@ -1,6 +1,6 @@
1
1
  import t from "events";
2
2
 
3
- import { index_default as s } from "./Package.66.mjs";
3
+ import { i as s } from "./Package.66.mjs";
4
4
 
5
5
  import e from "pg";
6
6
 
@@ -22,12 +22,12 @@ var o = (t, s = {}) => {
22
22
  return a;
23
23
  };
24
24
 
25
- var n = async () => {
25
+ var r = async () => {
26
26
  await a.end();
27
27
  i = void 0;
28
28
  };
29
29
 
30
- var r = class extends t {
30
+ var n = class extends t {
31
31
  ttlSupport;
32
32
  opts;
33
33
  query;
@@ -125,12 +125,12 @@ var r = class extends t {
125
125
  async* iterator(t) {
126
126
  const s = Number.parseInt(String(this.opts.iterationLimit), 10) || 10;
127
127
  async function* e(a, i, o) {
128
- const n = `SELECT * FROM ${i.schema}.${i.table} WHERE key LIKE $1 LIMIT $2 OFFSET $3`;
129
- const r = await o(n, [ `${t ? t + ":" : ""}%`, s, a ]);
130
- if (r.length === 0) {
128
+ const r = `SELECT * FROM ${i.schema}.${i.table} WHERE key LIKE $1 LIMIT $2 OFFSET $3`;
129
+ const n = await o(r, [ `${t ? t + ":" : ""}%`, s, a ]);
130
+ if (n.length === 0) {
131
131
  return;
132
132
  }
133
- for (const t of r) {
133
+ for (const t of n) {
134
134
  a += 1;
135
135
  yield [ t.key, t.value ];
136
136
  }
@@ -144,14 +144,14 @@ var r = class extends t {
144
144
  return e[0].exists;
145
145
  }
146
146
  async disconnect() {
147
- await n();
147
+ await r();
148
148
  }
149
149
  };
150
150
 
151
151
  var c = t => new s({
152
- store: new r(t)
152
+ store: new n(t)
153
153
  });
154
154
 
155
- var h = r;
155
+ var h = n;
156
156
 
157
- export { r as KeyvPostgres, c as createKeyv, h as default };
157
+ export { n as KeyvPostgres, c as createKeyv, h as default };