lakutata 2.0.4 → 2.0.5

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/helper.cjs CHANGED
@@ -20,9 +20,9 @@ const c = require("./src/lib/helpers/GetObjectPropertyPaths.cjs");
20
20
 
21
21
  const i = require("./src/lib/helpers/GraceExit.cjs");
22
22
 
23
- const l = require("./src/lib/helpers/IsEmptyObject.cjs");
23
+ const n = require("./src/lib/helpers/IsEmptyObject.cjs");
24
24
 
25
- const n = require("./src/lib/helpers/IsExists.cjs");
25
+ const l = require("./src/lib/helpers/IsExists.cjs");
26
26
 
27
27
  const p = require("./vendor/Package.9.cjs");
28
28
 
@@ -40,57 +40,69 @@ const x = require("./src/lib/helpers/IsXML.cjs");
40
40
 
41
41
  const h = require("./src/lib/helpers/NoCase.cjs");
42
42
 
43
- const y = require("./src/lib/helpers/ObjectConstructor.cjs");
43
+ const I = require("./src/lib/helpers/ObjectConstructor.cjs");
44
44
 
45
- const I = require("./src/lib/helpers/ObjectHash.cjs");
45
+ const g = require("./src/lib/helpers/ObjectHash.cjs");
46
46
 
47
- const P = require("./src/lib/helpers/ObjectParentConstructor.cjs");
47
+ const S = require("./src/lib/helpers/ObjectParentConstructor.cjs");
48
48
 
49
- const S = require("./src/lib/helpers/ObjectParentConstructors.cjs");
49
+ const y = require("./src/lib/helpers/ObjectParentConstructors.cjs");
50
50
 
51
- const g = require("./src/lib/helpers/ObjectPrototype.cjs");
51
+ const T = require("./src/lib/helpers/ObjectPrototype.cjs");
52
52
 
53
- const A = require("./src/lib/helpers/SetToArray.cjs");
53
+ const P = require("./src/lib/helpers/SetToArray.cjs");
54
54
 
55
- const O = require("./src/lib/helpers/Templating.cjs");
55
+ const d = require("./src/lib/helpers/Templating.cjs");
56
56
 
57
- const v = require("./src/lib/helpers/UniqueArray.cjs");
57
+ const E = require("./src/lib/helpers/UniqueArray.cjs");
58
58
 
59
- const m = require("./src/lib/helpers/ObjectToMap.cjs");
59
+ const A = require("./src/lib/helpers/ObjectToMap.cjs");
60
60
 
61
- const d = require("./src/lib/helpers/IsPath.cjs");
61
+ const O = require("./src/lib/helpers/IsPath.cjs");
62
62
 
63
- const T = require("./src/lib/helpers/ConvertArrayLikeToIterable.cjs");
63
+ const v = require("./src/lib/helpers/ConvertArrayLikeToIterable.cjs");
64
64
 
65
- const M = require("./src/lib/helpers/ConvertArrayLikeToStream.cjs");
65
+ const H = require("./src/lib/helpers/ConvertArrayLikeToStream.cjs");
66
66
 
67
- const k = require("./src/lib/helpers/MergeSet.cjs");
67
+ const m = require("./src/lib/helpers/MergeSet.cjs");
68
68
 
69
- const C = require("./src/lib/helpers/MergeArray.cjs");
69
+ const M = require("./src/lib/helpers/MergeArray.cjs");
70
70
 
71
- const E = require("./src/lib/helpers/MergeMap.cjs");
71
+ const k = require("./src/lib/helpers/MergeMap.cjs");
72
72
 
73
- const D = require("./src/lib/helpers/SortArray.cjs");
73
+ const C = require("./src/lib/helpers/SortArray.cjs");
74
74
 
75
- const L = require("./src/lib/helpers/SortKeys.cjs");
75
+ const D = require("./src/lib/helpers/SortKeys.cjs");
76
76
 
77
- const N = require("./src/lib/helpers/SortObject.cjs");
77
+ const L = require("./src/lib/helpers/SortObject.cjs");
78
78
 
79
- const G = require("./src/lib/helpers/RandomString.cjs");
79
+ const N = require("./src/lib/helpers/RandomString.cjs");
80
80
 
81
- const H = require("./src/lib/helpers/NonceStr.cjs");
81
+ const G = require("./src/lib/helpers/NonceStr.cjs");
82
82
 
83
- const f = require("./src/lib/helpers/IsAbortError.cjs");
83
+ const U = require("./src/lib/helpers/IsAbortError.cjs");
84
84
 
85
- const U = require("./src/lib/helpers/Glob.cjs");
85
+ const f = require("./src/lib/helpers/Glob.cjs");
86
86
 
87
87
  const V = require("./src/lib/helpers/IPToolkit.cjs");
88
88
 
89
- const K = require("./src/lib/helpers/MD5.cjs");
89
+ const K = require("./src/lib/helpers/HexToUnsigned.cjs");
90
90
 
91
- const w = require("./src/lib/helpers/SHA1.cjs");
91
+ const w = require("./src/lib/helpers/UnsignedToHex.cjs");
92
92
 
93
- const F = require("./src/lib/helpers/SHA256.cjs");
93
+ const F = require("./src/lib/helpers/HexToSigned.cjs");
94
+
95
+ const R = require("./src/lib/helpers/SignedToHex.cjs");
96
+
97
+ const X = require("./src/lib/helpers/HexToIEEE754.cjs");
98
+
99
+ const B = require("./src/lib/helpers/IEEE754ToHex.cjs");
100
+
101
+ const W = require("./src/lib/helpers/MD5.cjs");
102
+
103
+ const _ = require("./src/lib/helpers/SHA1.cjs");
104
+
105
+ const z = require("./src/lib/helpers/SHA256.cjs");
94
106
 
95
107
  require("./vendor/Package.5.cjs");
96
108
 
@@ -148,6 +160,8 @@ require("stream");
148
160
 
149
161
  require("string_decoder");
150
162
 
163
+ require("./src/lib/base/internal/IEEE754.cjs");
164
+
151
165
  require("./vendor/Package.72.cjs");
152
166
 
153
167
  require("node:crypto");
@@ -166,9 +180,9 @@ exports.GetObjectPropertyPaths = c.GetObjectPropertyPaths;
166
180
 
167
181
  exports.GraceExit = i.GraceExit;
168
182
 
169
- exports.IsEmptyObject = l.IsEmptyObject;
183
+ exports.IsEmptyObject = n.IsEmptyObject;
170
184
 
171
- exports.IsExists = n.IsExists;
185
+ exports.IsExists = l.IsExists;
172
186
 
173
187
  exports.IsGlobString = p.IsGlobString;
174
188
 
@@ -192,51 +206,51 @@ exports.ToLower = h.ToLower;
192
206
 
193
207
  exports.ToUpper = h.ToUpper;
194
208
 
195
- exports.ObjectConstructor = y.ObjectConstructor;
209
+ exports.ObjectConstructor = I.ObjectConstructor;
196
210
 
197
- exports.ObjectHash = I.ObjectHash;
211
+ exports.ObjectHash = g.ObjectHash;
198
212
 
199
- exports.ObjectParentConstructor = P.ObjectParentConstructor;
213
+ exports.ObjectParentConstructor = S.ObjectParentConstructor;
200
214
 
201
- exports.ObjectParentConstructors = S.ObjectParentConstructors;
215
+ exports.ObjectParentConstructors = y.ObjectParentConstructors;
202
216
 
203
- exports.ObjectPrototype = g.ObjectPrototype;
217
+ exports.ObjectPrototype = T.ObjectPrototype;
204
218
 
205
- exports.SetToArray = A.SetToArray;
219
+ exports.SetToArray = P.SetToArray;
206
220
 
207
- exports.MissingValueError = O.MissingValueError;
221
+ exports.MissingValueError = d.MissingValueError;
208
222
 
209
- exports.Templating = O.Templating;
223
+ exports.Templating = d.Templating;
210
224
 
211
- exports.UniqueArray = v.UniqueArray;
225
+ exports.UniqueArray = E.UniqueArray;
212
226
 
213
- exports.ObjectToMap = m.ObjectToMap;
227
+ exports.ObjectToMap = A.ObjectToMap;
214
228
 
215
- exports.IsPath = d.IsPath;
229
+ exports.IsPath = O.IsPath;
216
230
 
217
- exports.ConvertArrayLikeToIterable = T.ConvertArrayLikeToIterable;
231
+ exports.ConvertArrayLikeToIterable = v.ConvertArrayLikeToIterable;
218
232
 
219
- exports.ConvertArrayLikeToStream = M.ConvertArrayLikeToStream;
233
+ exports.ConvertArrayLikeToStream = H.ConvertArrayLikeToStream;
220
234
 
221
- exports.MergeSet = k.MergeSet;
235
+ exports.MergeSet = m.MergeSet;
222
236
 
223
- exports.MergeArray = C.MergeArray;
237
+ exports.MergeArray = M.MergeArray;
224
238
 
225
- exports.MergeMap = E.MergeMap;
239
+ exports.MergeMap = k.MergeMap;
226
240
 
227
- exports.SortArray = D.SortArray;
241
+ exports.SortArray = C.SortArray;
228
242
 
229
- exports.SortKeys = L.SortKeys;
243
+ exports.SortKeys = D.SortKeys;
230
244
 
231
- exports.SortObject = N.SortObject;
245
+ exports.SortObject = L.SortObject;
232
246
 
233
- exports.RandomString = G.RandomString;
247
+ exports.RandomString = N.RandomString;
234
248
 
235
- exports.NonceStr = H.NonceStr;
249
+ exports.NonceStr = G.NonceStr;
236
250
 
237
- exports.IsAbortError = f.IsAbortError;
251
+ exports.IsAbortError = U.IsAbortError;
238
252
 
239
- exports.Glob = U.Glob;
253
+ exports.Glob = f.Glob;
240
254
 
241
255
  exports.IP = V.IP;
242
256
 
@@ -244,8 +258,20 @@ exports.IPv4 = V.IPv4;
244
258
 
245
259
  exports.IPv6 = V.IPv6;
246
260
 
247
- exports.MD5 = K.MD5;
261
+ exports.HexToUnsigned = K.HexToUnsigned;
262
+
263
+ exports.UnsignedToHex = w.UnsignedToHex;
264
+
265
+ exports.HexToSigned = F.HexToSigned;
266
+
267
+ exports.SignedToHex = R.SignedToHex;
268
+
269
+ exports.HexToIEEE754 = X.HexToIEEE754;
270
+
271
+ exports.IEEE754ToHex = B.IEEE754ToHex;
272
+
273
+ exports.MD5 = W.MD5;
248
274
 
249
- exports.SHA1 = w.SHA1;
275
+ exports.SHA1 = _.SHA1;
250
276
 
251
- exports.SHA256 = F.SHA256;
277
+ exports.SHA256 = z.SHA256;
package/helper.d.ts CHANGED
@@ -3807,6 +3807,51 @@ declare class IPv6 {
3807
3807
  static parseCIDR(cidr: string): IPv6SubNet | false;
3808
3808
  }
3809
3809
 
3810
+ /**
3811
+ * Hex to unsigned number
3812
+ * @param hex
3813
+ * @constructor
3814
+ */
3815
+ declare function HexToUnsigned(hex: string): number;
3816
+
3817
+ /**
3818
+ * Unsigned number to hex
3819
+ * @param unsignedNumber
3820
+ * @param bits
3821
+ * @constructor
3822
+ */
3823
+ declare function UnsignedToHex(unsignedNumber: number, bits?: 8 | 16 | 32 | 64 | 128): string;
3824
+
3825
+ /**
3826
+ * Hex to signed number
3827
+ * @param hex
3828
+ * @constructor
3829
+ */
3830
+ declare function HexToSigned(hex: string): number;
3831
+
3832
+ /**
3833
+ * Signed number to hex
3834
+ * @param signedNumber
3835
+ * @param bits
3836
+ * @constructor
3837
+ */
3838
+ declare function SignedToHex(signedNumber: number, bits?: 8 | 16 | 32 | 64 | 128): string;
3839
+
3840
+ /**
3841
+ * Hex to IEEE754 number
3842
+ * @param hex
3843
+ * @constructor
3844
+ */
3845
+ declare function HexToIEEE754(hex: string): number;
3846
+
3847
+ /**
3848
+ * IEEE754 number to hex
3849
+ * @param ieee754Number
3850
+ * @param bits
3851
+ * @constructor
3852
+ */
3853
+ declare function IEEE754ToHex(ieee754Number: number, bits?: 32 | 64): string;
3854
+
3810
3855
  /**
3811
3856
  * MD5 Hash
3812
3857
  * @param message
@@ -3828,4 +3873,4 @@ declare function SHA1(message: string): Buffer;
3828
3873
  */
3829
3874
  declare function SHA256(message: string): Buffer;
3830
3875
 
3831
- export { ArrayToSet, As, ConvertArrayLikeToIterable, ConvertArrayLikeToStream, Delay, DevNull, GetObjectNestingDepth, GetObjectPropertyPaths, Glob, GraceExit, IP, type IPBinHex, IPv4, type IPv4SubNet, IPv6, type IPv6Result, type IPv6SubNet, IsAbortError, IsEmptyObject, IsExists, IsGlobString, IsHtml, IsNativeFunction, IsPath, IsPromise, IsPromiseLike, IsSymbol, IsXML, MD5, MergeArray, MergeMap, MergeSet, MissingValueError, NoCase, type NoCaseOptions, NonceStr, ObjectConstructor, ObjectHash, type ObjectHashOptions, ObjectParentConstructor, ObjectParentConstructors, ObjectPrototype, ObjectToMap, RandomString, SHA1, SHA256, SetToArray, SortArray, SortKeys, type SortKeysOptions, SortObject, type SortObjectOptions, type SortOptions, Split, type SplitOptions, Templating, type TemplatingOptions, ToLower, ToUpper, UniqueArray };
3876
+ export { ArrayToSet, As, ConvertArrayLikeToIterable, ConvertArrayLikeToStream, Delay, DevNull, GetObjectNestingDepth, GetObjectPropertyPaths, Glob, GraceExit, HexToIEEE754, HexToSigned, HexToUnsigned, IEEE754ToHex, IP, type IPBinHex, IPv4, type IPv4SubNet, IPv6, type IPv6Result, type IPv6SubNet, IsAbortError, IsEmptyObject, IsExists, IsGlobString, IsHtml, IsNativeFunction, IsPath, IsPromise, IsPromiseLike, IsSymbol, IsXML, MD5, MergeArray, MergeMap, MergeSet, MissingValueError, NoCase, type NoCaseOptions, NonceStr, ObjectConstructor, ObjectHash, type ObjectHashOptions, ObjectParentConstructor, ObjectParentConstructors, ObjectPrototype, ObjectToMap, RandomString, SHA1, SHA256, SetToArray, SignedToHex, SortArray, SortKeys, type SortKeysOptions, SortObject, type SortObjectOptions, type SortOptions, Split, type SplitOptions, Templating, type TemplatingOptions, ToLower, ToUpper, UniqueArray, UnsignedToHex };
package/helper.mjs CHANGED
@@ -80,6 +80,18 @@ export { Glob } from "./src/lib/helpers/Glob.mjs";
80
80
 
81
81
  export { IP, IPv4, IPv6 } from "./src/lib/helpers/IPToolkit.mjs";
82
82
 
83
+ export { HexToUnsigned } from "./src/lib/helpers/HexToUnsigned.mjs";
84
+
85
+ export { UnsignedToHex } from "./src/lib/helpers/UnsignedToHex.mjs";
86
+
87
+ export { HexToSigned } from "./src/lib/helpers/HexToSigned.mjs";
88
+
89
+ export { SignedToHex } from "./src/lib/helpers/SignedToHex.mjs";
90
+
91
+ export { HexToIEEE754 } from "./src/lib/helpers/HexToIEEE754.mjs";
92
+
93
+ export { IEEE754ToHex } from "./src/lib/helpers/IEEE754ToHex.mjs";
94
+
83
95
  export { MD5 } from "./src/lib/helpers/MD5.mjs";
84
96
 
85
97
  export { SHA1 } from "./src/lib/helpers/SHA1.mjs";
@@ -142,6 +154,8 @@ import "stream";
142
154
 
143
155
  import "string_decoder";
144
156
 
157
+ import "./src/lib/base/internal/IEEE754.mjs";
158
+
145
159
  import "./vendor/Package.72.mjs";
146
160
 
147
161
  import "node:crypto";
package/orm.mjs CHANGED
@@ -2,11 +2,11 @@ import "./vendor/Package.4.mjs";
2
2
 
3
3
  import { g as e } from "./vendor/Package.5.mjs";
4
4
 
5
- import { r, F as a, c, d, O as f, P as O, B as _, f as b, R as P, D as E, e as R } from "./vendor/Package.14.mjs";
5
+ import { r, F as a, b as c, c as d, O, P as _, B as b, d as P, R as E, D as R, e as B } from "./vendor/Package.14.mjs";
6
6
 
7
- export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, C as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
7
+ export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, f as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
8
8
 
9
- import { D as B } from "./vendor/Package.15.mjs";
9
+ import { D as F } from "./vendor/Package.15.mjs";
10
10
 
11
11
  import "./vendor/Package.8.mjs";
12
12
 
@@ -50,9 +50,9 @@ import "./vendor/Package.73.mjs";
50
50
 
51
51
  import "fs/promises";
52
52
 
53
- var F = r();
53
+ var C = r();
54
54
 
55
- const D = e(F);
55
+ const D = e(C);
56
56
 
57
57
  var $ = {};
58
58
 
@@ -194,15 +194,15 @@ function ge(e) {
194
194
 
195
195
  me = Oe.Any = ge;
196
196
 
197
- var he = {};
197
+ var be = {};
198
198
 
199
199
  "use strict";
200
200
 
201
- Object.defineProperty(he, "__esModule", {
201
+ Object.defineProperty(be, "__esModule", {
202
202
  value: true
203
203
  });
204
204
 
205
- var be = he.ArrayContainedBy = void 0;
205
+ var he = be.ArrayContainedBy = void 0;
206
206
 
207
207
  const je = a;
208
208
 
@@ -210,7 +210,7 @@ function Pe(e) {
210
210
  return new je.FindOperator("arrayContainedBy", e);
211
211
  }
212
212
 
213
- be = he.ArrayContainedBy = Pe;
213
+ he = be.ArrayContainedBy = Pe;
214
214
 
215
215
  var Me = {};
216
216
 
@@ -443,21 +443,21 @@ var _t = mt.Not = void 0;
443
443
 
444
444
  const gt = a;
445
445
 
446
- function ht(e) {
446
+ function bt(e) {
447
447
  return new gt.FindOperator("not", e);
448
448
  }
449
449
 
450
- _t = mt.Not = ht;
450
+ _t = mt.Not = bt;
451
451
 
452
- var bt = {};
452
+ var ht = {};
453
453
 
454
454
  "use strict";
455
455
 
456
- Object.defineProperty(bt, "__esModule", {
456
+ Object.defineProperty(ht, "__esModule", {
457
457
  value: true
458
458
  });
459
459
 
460
- var jt = bt.Raw = void 0;
460
+ var jt = ht.Raw = void 0;
461
461
 
462
462
  const Pt = a;
463
463
 
@@ -468,7 +468,7 @@ function Mt(e, t) {
468
468
  return new Pt.FindOperator("raw", [], true, true, e, t);
469
469
  }
470
470
 
471
- jt = bt.Raw = Mt;
471
+ jt = ht.Raw = Mt;
472
472
 
473
473
  var Et = {};
474
474
 
@@ -602,7 +602,7 @@ Object.defineProperty(zt, "__esModule", {
602
602
 
603
603
  var Zt = zt.BaseEntity = void 0;
604
604
 
605
- const Jt = f;
605
+ const Jt = O;
606
606
 
607
607
  class BaseEntity {
608
608
  hasId() {
@@ -950,7 +950,7 @@ var or = ar.BSON = void 0;
950
950
  return t.serialize;
951
951
  }
952
952
  });
953
- const r = O;
953
+ const r = _;
954
954
  })(nr);
955
955
 
956
956
  const ir = e(nr);
@@ -989,7 +989,7 @@ Object.defineProperty(lr, "__esModule", {
989
989
 
990
990
  var yr = lr.NotBrackets = void 0;
991
991
 
992
- const pr = _;
992
+ const pr = b;
993
993
 
994
994
  class NotBrackets extends pr.Brackets {
995
995
  constructor() {
@@ -1000,7 +1000,7 @@ class NotBrackets extends pr.Brackets {
1000
1000
 
1001
1001
  yr = lr.NotBrackets = NotBrackets;
1002
1002
 
1003
- var vr = b();
1003
+ var vr = P();
1004
1004
 
1005
1005
  const fr = e(vr);
1006
1006
 
@@ -1014,11 +1014,11 @@ Object.defineProperty(Or, "__esModule", {
1014
1014
 
1015
1015
  var mr = Or.LegacyOracleNamingStrategy = void 0;
1016
1016
 
1017
- const _r = P;
1017
+ const _r = E;
1018
1018
 
1019
- const gr = E;
1019
+ const gr = R;
1020
1020
 
1021
- const hr = R;
1021
+ const br = B;
1022
1022
 
1023
1023
  class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1024
1024
  constructor(e = "hash") {
@@ -1034,12 +1034,12 @@ class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1034
1034
  } else if (this.shortenStrategy === "hash") {
1035
1035
  return this.hashIdentifier(s, this.DEFAULT_COLUMN_PREFIX);
1036
1036
  } else {
1037
- throw new hr.TypeORMError(`Invalid shortenStrategy`);
1037
+ throw new br.TypeORMError(`Invalid shortenStrategy`);
1038
1038
  }
1039
1039
  }
1040
1040
  hashIdentifier(e, t) {
1041
1041
  if (t.length >= this.IDENTIFIER_MAX_SIZE) {
1042
- throw new hr.TypeORMError(`Prefix must be shorter than IDENTIFIER_MAX_SIZE`);
1042
+ throw new br.TypeORMError(`Prefix must be shorter than IDENTIFIER_MAX_SIZE`);
1043
1043
  }
1044
1044
  return t + _r.RandomGenerator.sha1(e).substring(0, this.IDENTIFIER_MAX_SIZE - t.length);
1045
1045
  }
@@ -1054,15 +1054,15 @@ class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1054
1054
 
1055
1055
  mr = Or.LegacyOracleNamingStrategy = LegacyOracleNamingStrategy;
1056
1056
 
1057
- var br = {};
1057
+ var hr = {};
1058
1058
 
1059
1059
  "use strict";
1060
1060
 
1061
- Object.defineProperty(br, "__esModule", {
1061
+ Object.defineProperty(hr, "__esModule", {
1062
1062
  value: true
1063
1063
  });
1064
1064
 
1065
- var jr = br.EntitySchema = void 0;
1065
+ var jr = hr.EntitySchema = void 0;
1066
1066
 
1067
1067
  class EntitySchema {
1068
1068
  constructor(e) {
@@ -1071,7 +1071,7 @@ class EntitySchema {
1071
1071
  }
1072
1072
  }
1073
1073
 
1074
- jr = br.EntitySchema = EntitySchema;
1074
+ jr = hr.EntitySchema = EntitySchema;
1075
1075
 
1076
1076
  var Pr = {};
1077
1077
 
@@ -1101,8 +1101,8 @@ class EntitySchemaOptions {}
1101
1101
 
1102
1102
  Rr = Er.EntitySchemaOptions = EntitySchemaOptions;
1103
1103
 
1104
- const Br = B.DataSource;
1104
+ const Br = F.DataSource;
1105
1105
 
1106
1106
  const Ir = vr.MongoEntityManager;
1107
1107
 
1108
- export { pe as And, me as Any, be as ArrayContainedBy, Ee as ArrayContains, Se as ArrayOverlap, Zt as BaseEntity, we as Between, Br as DataSource, jr as EntitySchema, Mr as EntitySchemaEmbeddedColumnOptions, Rr as EntitySchemaOptions, xe as Equal, De as EqualOperator, rt as ILike, Ke as IsNull, Rt as JsonContains, mr as LegacyOracleNamingStrategy, Ge as LessThan, Ye as LessThanOrEqual, ot as Like, Ir as MongoEntityManager, dt as MoreThan, vt as MoreThanOrEqual, _t as Not, yr as NotBrackets, jt as Raw };
1108
+ export { pe as And, me as Any, he as ArrayContainedBy, Ee as ArrayContains, Se as ArrayOverlap, Zt as BaseEntity, we as Between, Br as DataSource, jr as EntitySchema, Mr as EntitySchemaEmbeddedColumnOptions, Rr as EntitySchemaOptions, xe as Equal, De as EqualOperator, rt as ILike, Ke as IsNull, Rt as JsonContains, mr as LegacyOracleNamingStrategy, Ge as LessThan, Ye as LessThanOrEqual, ot as Like, Ir as MongoEntityManager, dt as MoreThan, vt as MoreThanOrEqual, _t as Not, yr as NotBrackets, jt as Raw };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  import "../../../vendor/Package.5.mjs";
2
2
 
3
- import { r as e, a as t } from "../../../vendor/Package.14.mjs";
3
+ import { r as e, C as t } from "../../../vendor/Package.14.mjs";
4
4
 
5
5
  import "../../../vendor/Package.8.mjs";
6
6
 
@@ -56,7 +56,7 @@ var o = r.Column = void 0;
56
56
 
57
57
  const a = e();
58
58
 
59
- const i = t();
59
+ const i = t;
60
60
 
61
61
  function n(e, t) {
62
62
  return function(r, o) {
@@ -1,6 +1,6 @@
1
1
  import "../../../vendor/Package.5.mjs";
2
2
 
3
- import { r as e, a as r, b as t } from "../../../vendor/Package.14.mjs";
3
+ import { r as e, C as r, a as t } from "../../../vendor/Package.14.mjs";
4
4
 
5
5
  import "../../../vendor/Package.8.mjs";
6
6
 
@@ -56,7 +56,7 @@ var a = o.PrimaryColumn = void 0;
56
56
 
57
57
  const i = e();
58
58
 
59
- const m = r();
59
+ const m = r;
60
60
 
61
61
  const n = t();
62
62
 
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ function t(t, e, o, l, i) {
8
+ let s;
9
+ let n;
10
+ const a = i * 8 - l - 1;
11
+ const h = (1 << a) - 1;
12
+ const f = h >> 1;
13
+ let r = -7;
14
+ let w = o ? i - 1 : 0;
15
+ const M = o ? -1 : 1;
16
+ let c = t[e + w];
17
+ w += M;
18
+ s = c & (1 << -r) - 1;
19
+ c >>= -r;
20
+ r += a;
21
+ while (r > 0) {
22
+ s = s * 256 + t[e + w];
23
+ w += M;
24
+ r -= 8;
25
+ }
26
+ n = s & (1 << -r) - 1;
27
+ s >>= -r;
28
+ r += l;
29
+ while (r > 0) {
30
+ n = n * 256 + t[e + w];
31
+ w += M;
32
+ r -= 8;
33
+ }
34
+ if (s === 0) {
35
+ s = 1 - f;
36
+ } else if (s === h) {
37
+ return n ? NaN : (c ? -1 : 1) * Infinity;
38
+ } else {
39
+ n = n + Math.pow(2, l);
40
+ s = s - f;
41
+ }
42
+ return (c ? -1 : 1) * n * Math.pow(2, s - l);
43
+ }
44
+
45
+ function e(t, e, o, l, i, s) {
46
+ let n;
47
+ let a;
48
+ let h;
49
+ let f = s * 8 - i - 1;
50
+ const r = (1 << f) - 1;
51
+ const w = r >> 1;
52
+ const M = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
53
+ let c = l ? 0 : s - 1;
54
+ const p = l ? 1 : -1;
55
+ const u = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
56
+ e = Math.abs(e);
57
+ if (isNaN(e) || e === Infinity) {
58
+ a = isNaN(e) ? 1 : 0;
59
+ n = r;
60
+ } else {
61
+ n = Math.floor(Math.log(e) / Math.LN2);
62
+ if (e * (h = Math.pow(2, -n)) < 1) {
63
+ n--;
64
+ h *= 2;
65
+ }
66
+ if (n + w >= 1) {
67
+ e += M / h;
68
+ } else {
69
+ e += M * Math.pow(2, 1 - w);
70
+ }
71
+ if (e * h >= 2) {
72
+ n++;
73
+ h /= 2;
74
+ }
75
+ if (n + w >= r) {
76
+ a = 0;
77
+ n = r;
78
+ } else if (n + w >= 1) {
79
+ a = (e * h - 1) * Math.pow(2, i);
80
+ n = n + w;
81
+ } else {
82
+ a = e * Math.pow(2, w - 1) * Math.pow(2, i);
83
+ n = 0;
84
+ }
85
+ }
86
+ while (i >= 8) {
87
+ t[o + c] = a & 255;
88
+ c += p;
89
+ a /= 256;
90
+ i -= 8;
91
+ }
92
+ n = n << i | a;
93
+ f += i;
94
+ while (f > 0) {
95
+ t[o + c] = n & 255;
96
+ c += p;
97
+ n /= 256;
98
+ f -= 8;
99
+ }
100
+ t[o + c - p] |= u * 128;
101
+ }
102
+
103
+ exports.readIEEE754 = t;
104
+
105
+ exports.writeIEEE754 = e;
@@ -0,0 +1,97 @@
1
+ function t(t, e, o, l, i) {
2
+ let n;
3
+ let s;
4
+ const a = i * 8 - l - 1;
5
+ const h = (1 << a) - 1;
6
+ const f = h >> 1;
7
+ let w = -7;
8
+ let M = o ? i - 1 : 0;
9
+ const c = o ? -1 : 1;
10
+ let p = t[e + M];
11
+ M += c;
12
+ n = p & (1 << -w) - 1;
13
+ p >>= -w;
14
+ w += a;
15
+ while (w > 0) {
16
+ n = n * 256 + t[e + M];
17
+ M += c;
18
+ w -= 8;
19
+ }
20
+ s = n & (1 << -w) - 1;
21
+ n >>= -w;
22
+ w += l;
23
+ while (w > 0) {
24
+ s = s * 256 + t[e + M];
25
+ M += c;
26
+ w -= 8;
27
+ }
28
+ if (n === 0) {
29
+ n = 1 - f;
30
+ } else if (n === h) {
31
+ return s ? NaN : (p ? -1 : 1) * Infinity;
32
+ } else {
33
+ s = s + Math.pow(2, l);
34
+ n = n - f;
35
+ }
36
+ return (p ? -1 : 1) * s * Math.pow(2, n - l);
37
+ }
38
+
39
+ function e(t, e, o, l, i, n) {
40
+ let s;
41
+ let a;
42
+ let h;
43
+ let f = n * 8 - i - 1;
44
+ const w = (1 << f) - 1;
45
+ const M = w >> 1;
46
+ const c = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
47
+ let p = l ? 0 : n - 1;
48
+ const N = l ? 1 : -1;
49
+ const r = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
50
+ e = Math.abs(e);
51
+ if (isNaN(e) || e === Infinity) {
52
+ a = isNaN(e) ? 1 : 0;
53
+ s = w;
54
+ } else {
55
+ s = Math.floor(Math.log(e) / Math.LN2);
56
+ if (e * (h = Math.pow(2, -s)) < 1) {
57
+ s--;
58
+ h *= 2;
59
+ }
60
+ if (s + M >= 1) {
61
+ e += c / h;
62
+ } else {
63
+ e += c * Math.pow(2, 1 - M);
64
+ }
65
+ if (e * h >= 2) {
66
+ s++;
67
+ h /= 2;
68
+ }
69
+ if (s + M >= w) {
70
+ a = 0;
71
+ s = w;
72
+ } else if (s + M >= 1) {
73
+ a = (e * h - 1) * Math.pow(2, i);
74
+ s = s + M;
75
+ } else {
76
+ a = e * Math.pow(2, M - 1) * Math.pow(2, i);
77
+ s = 0;
78
+ }
79
+ }
80
+ while (i >= 8) {
81
+ t[o + p] = a & 255;
82
+ p += N;
83
+ a /= 256;
84
+ i -= 8;
85
+ }
86
+ s = s << i | a;
87
+ f += i;
88
+ while (f > 0) {
89
+ t[o + p] = s & 255;
90
+ p += N;
91
+ s /= 256;
92
+ f -= 8;
93
+ }
94
+ t[o + p - N] |= r * 128;
95
+ }
96
+
97
+ export { t as readIEEE754, e as writeIEEE754 };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ const e = require("../base/internal/IEEE754.cjs");
8
+
9
+ function r(r) {
10
+ const t = Buffer.from(r, "hex");
11
+ if (t.length === 8) {
12
+ return e.readIEEE754(Buffer.from(r, "hex"), 0, false, 52, 8);
13
+ } else {
14
+ return e.readIEEE754(Buffer.from(r, "hex"), 0, false, 23, 4);
15
+ }
16
+ }
17
+
18
+ exports.HexToIEEE754 = r;
@@ -0,0 +1,12 @@
1
+ import { readIEEE754 as e } from "../base/internal/IEEE754.mjs";
2
+
3
+ function f(f) {
4
+ const r = Buffer.from(f, "hex");
5
+ if (r.length === 8) {
6
+ return e(Buffer.from(f, "hex"), 0, false, 52, 8);
7
+ } else {
8
+ return e(Buffer.from(f, "hex"), 0, false, 23, 4);
9
+ }
10
+ }
11
+
12
+ export { f as HexToIEEE754 };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ function t(t) {
8
+ if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
9
+ const n = t.length * 4;
10
+ const e = BigInt.asIntN(n, BigInt(`0x${t}`));
11
+ return parseInt(e.toString());
12
+ }
13
+
14
+ exports.HexToSigned = t;
@@ -0,0 +1,8 @@
1
+ function t(t) {
2
+ if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
3
+ const n = t.length * 4;
4
+ const r = BigInt.asIntN(n, BigInt(`0x${t}`));
5
+ return parseInt(r.toString());
6
+ }
7
+
8
+ export { t as HexToSigned };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ function t(t) {
8
+ if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
9
+ const e = BigInt(`0x${t}`);
10
+ return parseInt(e.toString());
11
+ }
12
+
13
+ exports.HexToUnsigned = t;
@@ -0,0 +1,7 @@
1
+ function t(t) {
2
+ if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
3
+ const n = BigInt(`0x${t}`);
4
+ return parseInt(n.toString());
5
+ }
6
+
7
+ export { t as HexToUnsigned };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ const e = require("../base/internal/IEEE754.cjs");
8
+
9
+ function t(t, r = 32) {
10
+ const o = Buffer.alloc(r / 8);
11
+ e.writeIEEE754(o, t, 0, false, o.length === 4 ? 23 : 52, o.length);
12
+ return o.toString("hex").toUpperCase();
13
+ }
14
+
15
+ exports.IEEE754ToHex = t;
@@ -0,0 +1,9 @@
1
+ import { writeIEEE754 as e } from "../base/internal/IEEE754.mjs";
2
+
3
+ function t(t, n = 32) {
4
+ const r = Buffer.alloc(n / 8);
5
+ e(r, t, 0, false, r.length === 4 ? 23 : 52, r.length);
6
+ return r.toString("hex").toUpperCase();
7
+ }
8
+
9
+ export { t as IEEE754ToHex };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ function t(t, e = 32) {
8
+ const n = (BigInt(2) ** BigInt(e) + BigInt(t)).toString(16).toUpperCase();
9
+ return t < 0 ? n : n.slice(1);
10
+ }
11
+
12
+ exports.SignedToHex = t;
@@ -0,0 +1,6 @@
1
+ function t(t, n = 32) {
2
+ const i = (BigInt(2) ** BigInt(n) + BigInt(t)).toString(16).toUpperCase();
3
+ return t < 0 ? i : i.slice(1);
4
+ }
5
+
6
+ export { t as SignedToHex };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, {
4
+ value: "Module"
5
+ });
6
+
7
+ function t(t, e = 32) {
8
+ return BigInt(t).toString(16).toUpperCase().padStart(e / 4, "0");
9
+ }
10
+
11
+ exports.UnsignedToHex = t;
@@ -0,0 +1,5 @@
1
+ function t(t, r = 32) {
2
+ return BigInt(t).toString(16).toUpperCase().padStart(r / 4, "0");
3
+ }
4
+
5
+ export { t as UnsignedToHex };
@@ -29620,26 +29620,24 @@ function bE() {
29620
29620
 
29621
29621
  var NE = {};
29622
29622
 
29623
- var CE;
29623
+ "use strict";
29624
29624
 
29625
- function AE() {
29626
- if (CE) return NE;
29627
- CE = 1;
29628
- "use strict";
29629
- Object.defineProperty(NE, "__esModule", {
29630
- value: true
29631
- });
29632
- NE.ColumnTypeUndefinedError = void 0;
29633
- const e = pp;
29634
- let t = class ColumnTypeUndefinedError extends e.TypeORMError {
29635
- constructor(e, t) {
29636
- super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
29637
- }
29638
- };
29639
- NE.ColumnTypeUndefinedError = t;
29640
- return NE;
29625
+ Object.defineProperty(NE, "__esModule", {
29626
+ value: true
29627
+ });
29628
+
29629
+ var CE = NE.ColumnTypeUndefinedError = void 0;
29630
+
29631
+ const AE = pp;
29632
+
29633
+ class ColumnTypeUndefinedError extends AE.TypeORMError {
29634
+ constructor(e, t) {
29635
+ super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
29636
+ }
29641
29637
  }
29642
29638
 
29639
+ CE = NE.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
29640
+
29643
29641
  var RE = {};
29644
29642
 
29645
29643
  var OE;
@@ -29810,7 +29808,7 @@ function $E() {
29810
29808
  t.__exportStar(EE(), e);
29811
29809
  t.__exportStar(TE(), e);
29812
29810
  t.__exportStar(bE(), e);
29813
- t.__exportStar(AE(), e);
29811
+ t.__exportStar(NE, e);
29814
29812
  t.__exportStar(vE(), e);
29815
29813
  t.__exportStar(IE, e);
29816
29814
  t.__exportStar(PE(), e);
@@ -72365,4 +72363,4 @@ function cF() {
72365
72363
  return S;
72366
72364
  }
72367
72365
 
72368
- export { EB as A, wg as B, xf as C, mb as D, iU as E, Lg as F, EN as G, NN as H, iy as I, fN as J, wb as K, Sb as L, Qb as M, Lb as N, ah as O, O as P, Vg as Q, pb as R, iS as S, bN as T, VS as U, Ab as V, Nb as W, Ib as X, Pb as Y, Hb as Z, rF as _, AE as a, Ah as b, TA as c, kN as d, dp as e, CA as f, rT as g, Ay as h, Dg as i, ty as j, PS as k, aT as l, XA as m, Yb as n, _b as o, sh as p, Ok as q, cF as r, $g as s, kg as t, Dk as u, tS as v, SB as w, gB as x, AB as y, _C as z };
72366
+ export { EB as A, wg as B, NE as C, mb as D, iU as E, Lg as F, EN as G, NN as H, iy as I, fN as J, wb as K, Sb as L, Qb as M, Lb as N, ah as O, O as P, Vg as Q, pb as R, iS as S, bN as T, VS as U, Ab as V, Nb as W, Ib as X, Pb as Y, Hb as Z, rF as _, Ah as a, TA as b, kN as c, CA as d, dp as e, xf as f, rT as g, Ay as h, Dg as i, ty as j, PS as k, aT as l, XA as m, Yb as n, _b as o, sh as p, Ok as q, cF as r, $g as s, kg as t, Dk as u, tS as v, SB as w, gB as x, AB as y, _C as z };