lakutata 2.0.34 → 2.0.35

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 (210) hide show
  1. package/com/cacher.cjs +211 -0
  2. package/com/cacher.d.ts +514 -0
  3. package/com/cacher.mjs +185 -0
  4. package/com/database.cjs +6 -2
  5. package/com/database.mjs +6 -2
  6. package/com/docker.cjs +23 -17
  7. package/com/docker.mjs +19 -13
  8. package/com/entrypoint.cjs +1 -1
  9. package/com/entrypoint.mjs +1 -1
  10. package/com/logger.cjs +6 -2
  11. package/com/logger.mjs +6 -2
  12. package/decorator/ctrl.cjs +1 -1
  13. package/decorator/ctrl.mjs +1 -1
  14. package/decorator/orm.cjs +22 -18
  15. package/decorator/orm.mjs +6 -2
  16. package/helper.cjs +1 -1
  17. package/helper.mjs +1 -1
  18. package/lakutata.cjs +7 -3
  19. package/lakutata.mjs +7 -3
  20. package/orm.cjs +19 -15
  21. package/orm.mjs +15 -11
  22. package/package.json +6 -1
  23. package/provider/database.cjs +6 -2
  24. package/provider/database.mjs +6 -2
  25. package/src/components/Database.cjs +6 -2
  26. package/src/components/Database.mjs +6 -2
  27. package/src/components/Logger.cjs +6 -2
  28. package/src/components/Logger.mjs +6 -2
  29. package/src/components/cacher/Cacher.cjs +193 -0
  30. package/src/components/cacher/Cacher.mjs +183 -0
  31. package/src/components/cacher/options/CacherOptions.cjs +93 -0
  32. package/src/components/cacher/options/CacherOptions.mjs +87 -0
  33. package/src/components/cacher/options/FileCacheOptions.cjs +77 -0
  34. package/src/components/cacher/options/FileCacheOptions.mjs +71 -0
  35. package/src/components/cacher/options/MemcacheCacheOptions.cjs +79 -0
  36. package/src/components/cacher/options/MemcacheCacheOptions.mjs +73 -0
  37. package/src/components/cacher/options/MongoCacheOptions.cjs +83 -0
  38. package/src/components/cacher/options/MongoCacheOptions.mjs +77 -0
  39. package/src/components/cacher/options/MysqlCacheOptions.cjs +83 -0
  40. package/src/components/cacher/options/MysqlCacheOptions.mjs +77 -0
  41. package/src/components/cacher/options/PostgresCacheOptions.cjs +87 -0
  42. package/src/components/cacher/options/PostgresCacheOptions.mjs +81 -0
  43. package/src/components/cacher/options/RedisCacheOptions.cjs +99 -0
  44. package/src/components/cacher/options/RedisCacheOptions.mjs +93 -0
  45. package/src/components/cacher/options/SqliteCacheOptions.cjs +77 -0
  46. package/src/components/cacher/options/SqliteCacheOptions.mjs +71 -0
  47. package/src/components/cacher/types/CacheStoreOptions.cjs +1 -0
  48. package/src/components/cacher/types/CacheStoreOptions.mjs +1 -0
  49. package/src/components/docker/ConnectionOptionsBuilder.cjs +19 -13
  50. package/src/components/docker/ConnectionOptionsBuilder.mjs +19 -13
  51. package/src/components/docker/Docker.cjs +19 -13
  52. package/src/components/docker/Docker.mjs +19 -13
  53. package/src/components/docker/lib/DockerContainer.cjs +26 -20
  54. package/src/components/docker/lib/DockerContainer.mjs +20 -14
  55. package/src/components/docker/lib/DockerContainerTTY.cjs +15 -9
  56. package/src/components/docker/lib/DockerContainerTTY.mjs +15 -9
  57. package/src/components/entrypoint/Entrypoint.cjs +1 -1
  58. package/src/components/entrypoint/Entrypoint.mjs +1 -1
  59. package/src/decorators/ctrl/CLIAction.cjs +1 -1
  60. package/src/decorators/ctrl/CLIAction.mjs +1 -1
  61. package/src/decorators/ctrl/HTTPAction.cjs +1 -1
  62. package/src/decorators/ctrl/HTTPAction.mjs +1 -1
  63. package/src/decorators/ctrl/ServiceAction.cjs +1 -1
  64. package/src/decorators/ctrl/ServiceAction.mjs +1 -1
  65. package/src/decorators/ctrl/http/DELETE.cjs +1 -1
  66. package/src/decorators/ctrl/http/DELETE.mjs +1 -1
  67. package/src/decorators/ctrl/http/GET.cjs +1 -1
  68. package/src/decorators/ctrl/http/GET.mjs +1 -1
  69. package/src/decorators/ctrl/http/HEAD.cjs +1 -1
  70. package/src/decorators/ctrl/http/HEAD.mjs +1 -1
  71. package/src/decorators/ctrl/http/OPTIONS.cjs +1 -1
  72. package/src/decorators/ctrl/http/OPTIONS.mjs +1 -1
  73. package/src/decorators/ctrl/http/PATCH.cjs +1 -1
  74. package/src/decorators/ctrl/http/PATCH.mjs +1 -1
  75. package/src/decorators/ctrl/http/POST.cjs +1 -1
  76. package/src/decorators/ctrl/http/POST.mjs +1 -1
  77. package/src/decorators/ctrl/http/PUT.cjs +1 -1
  78. package/src/decorators/ctrl/http/PUT.mjs +1 -1
  79. package/src/decorators/orm/AfterInsert.cjs +6 -2
  80. package/src/decorators/orm/AfterInsert.mjs +13 -9
  81. package/src/decorators/orm/AfterLoad.cjs +6 -2
  82. package/src/decorators/orm/AfterLoad.mjs +16 -12
  83. package/src/decorators/orm/AfterRecover.cjs +6 -2
  84. package/src/decorators/orm/AfterRecover.mjs +10 -6
  85. package/src/decorators/orm/AfterRemove.cjs +6 -2
  86. package/src/decorators/orm/AfterRemove.mjs +10 -6
  87. package/src/decorators/orm/AfterSoftRemove.cjs +6 -2
  88. package/src/decorators/orm/AfterSoftRemove.mjs +10 -6
  89. package/src/decorators/orm/AfterUpdate.cjs +6 -2
  90. package/src/decorators/orm/AfterUpdate.mjs +14 -10
  91. package/src/decorators/orm/BeforeInsert.cjs +6 -2
  92. package/src/decorators/orm/BeforeInsert.mjs +10 -6
  93. package/src/decorators/orm/BeforeRecover.cjs +13 -9
  94. package/src/decorators/orm/BeforeRecover.mjs +6 -2
  95. package/src/decorators/orm/BeforeRemove.cjs +13 -9
  96. package/src/decorators/orm/BeforeRemove.mjs +6 -2
  97. package/src/decorators/orm/BeforeSoftRemove.cjs +10 -6
  98. package/src/decorators/orm/BeforeSoftRemove.mjs +6 -2
  99. package/src/decorators/orm/BeforeUpdate.cjs +6 -2
  100. package/src/decorators/orm/BeforeUpdate.mjs +11 -7
  101. package/src/decorators/orm/Check.cjs +6 -2
  102. package/src/decorators/orm/Check.mjs +6 -2
  103. package/src/decorators/orm/ChildEntity.cjs +11 -7
  104. package/src/decorators/orm/ChildEntity.mjs +6 -2
  105. package/src/decorators/orm/Column.cjs +23 -19
  106. package/src/decorators/orm/Column.mjs +6 -2
  107. package/src/decorators/orm/CreateDateColumn.cjs +8 -4
  108. package/src/decorators/orm/CreateDateColumn.mjs +6 -2
  109. package/src/decorators/orm/DeleteDateColumn.cjs +6 -2
  110. package/src/decorators/orm/DeleteDateColumn.mjs +6 -2
  111. package/src/decorators/orm/Entity.cjs +6 -2
  112. package/src/decorators/orm/Entity.mjs +12 -8
  113. package/src/decorators/orm/EventSubscriber.cjs +6 -2
  114. package/src/decorators/orm/EventSubscriber.mjs +6 -2
  115. package/src/decorators/orm/Exclusion.cjs +6 -2
  116. package/src/decorators/orm/Exclusion.mjs +12 -8
  117. package/src/decorators/orm/Generated.cjs +10 -6
  118. package/src/decorators/orm/Generated.mjs +12 -8
  119. package/src/decorators/orm/Index.cjs +14 -10
  120. package/src/decorators/orm/Index.mjs +24 -20
  121. package/src/decorators/orm/JoinColumn.cjs +6 -2
  122. package/src/decorators/orm/JoinColumn.mjs +6 -2
  123. package/src/decorators/orm/JoinTable.cjs +6 -2
  124. package/src/decorators/orm/JoinTable.mjs +8 -4
  125. package/src/decorators/orm/ManyToMany.cjs +13 -9
  126. package/src/decorators/orm/ManyToMany.mjs +17 -13
  127. package/src/decorators/orm/ManyToOne.cjs +6 -2
  128. package/src/decorators/orm/ManyToOne.mjs +6 -2
  129. package/src/decorators/orm/ObjectIdColumn.cjs +6 -2
  130. package/src/decorators/orm/ObjectIdColumn.mjs +12 -8
  131. package/src/decorators/orm/OneToMany.cjs +14 -10
  132. package/src/decorators/orm/OneToMany.mjs +6 -2
  133. package/src/decorators/orm/OneToOne.cjs +15 -11
  134. package/src/decorators/orm/OneToOne.mjs +13 -9
  135. package/src/decorators/orm/PrimaryColumn.cjs +6 -2
  136. package/src/decorators/orm/PrimaryColumn.mjs +26 -22
  137. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +6 -2
  138. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +8 -4
  139. package/src/decorators/orm/RelationId.cjs +11 -7
  140. package/src/decorators/orm/RelationId.mjs +12 -8
  141. package/src/decorators/orm/TableInheritance.cjs +6 -2
  142. package/src/decorators/orm/TableInheritance.mjs +10 -6
  143. package/src/decorators/orm/Tree.cjs +6 -2
  144. package/src/decorators/orm/Tree.mjs +6 -2
  145. package/src/decorators/orm/TreeChildren.cjs +6 -2
  146. package/src/decorators/orm/TreeChildren.mjs +17 -13
  147. package/src/decorators/orm/TreeLevelColumn.cjs +6 -2
  148. package/src/decorators/orm/TreeLevelColumn.mjs +6 -2
  149. package/src/decorators/orm/TreeParent.cjs +12 -8
  150. package/src/decorators/orm/TreeParent.mjs +6 -2
  151. package/src/decorators/orm/Unique.cjs +6 -2
  152. package/src/decorators/orm/Unique.mjs +6 -2
  153. package/src/decorators/orm/UpdateDateColumn.cjs +8 -4
  154. package/src/decorators/orm/UpdateDateColumn.mjs +6 -2
  155. package/src/decorators/orm/VersionColumn.cjs +6 -2
  156. package/src/decorators/orm/VersionColumn.mjs +6 -2
  157. package/src/decorators/orm/ViewColumn.cjs +6 -2
  158. package/src/decorators/orm/ViewColumn.mjs +6 -2
  159. package/src/decorators/orm/ViewEntity.cjs +8 -4
  160. package/src/decorators/orm/ViewEntity.mjs +6 -2
  161. package/src/decorators/orm/VirtualColumn.cjs +6 -2
  162. package/src/decorators/orm/VirtualColumn.mjs +10 -6
  163. package/src/lib/base/internal/ControllerEntrypoint.cjs +1 -1
  164. package/src/lib/base/internal/ControllerEntrypoint.mjs +1 -1
  165. package/src/lib/core/Application.cjs +11 -7
  166. package/src/lib/core/Application.mjs +7 -3
  167. package/src/lib/core/Module.cjs +1 -1
  168. package/src/lib/core/Module.mjs +1 -1
  169. package/src/lib/helpers/NonceStr.cjs +1 -1
  170. package/src/lib/helpers/NonceStr.mjs +1 -1
  171. package/src/lib/helpers/ObjectHash.cjs +1 -1
  172. package/src/lib/helpers/ObjectHash.mjs +1 -1
  173. package/src/lib/helpers/RandomString.cjs +1 -1
  174. package/src/lib/helpers/RandomString.mjs +1 -1
  175. package/src/providers/Database.cjs +6 -2
  176. package/src/providers/Database.mjs +6 -2
  177. package/vendor/Package.112.cjs +5498 -5500
  178. package/vendor/Package.112.mjs +5504 -5506
  179. package/vendor/Package.12.cjs +4 -80
  180. package/vendor/Package.12.mjs +4 -74
  181. package/vendor/Package.122.cjs +87 -0
  182. package/vendor/Package.122.mjs +79 -0
  183. package/vendor/Package.13.cjs +1 -1
  184. package/vendor/Package.13.mjs +1 -1
  185. package/vendor/Package.14.cjs +1 -14055
  186. package/vendor/Package.14.mjs +1 -14029
  187. package/vendor/Package.15.cjs +12449 -46635
  188. package/vendor/Package.15.mjs +12435 -46611
  189. package/vendor/Package.16.cjs +3 -0
  190. package/vendor/Package.16.mjs +1 -0
  191. package/vendor/Package.17.cjs +48245 -0
  192. package/vendor/Package.17.mjs +48202 -0
  193. package/vendor/Package.18.cjs +3 -0
  194. package/vendor/Package.18.mjs +1 -0
  195. package/vendor/Package.19.cjs +4466 -0
  196. package/vendor/Package.19.mjs +4442 -0
  197. package/vendor/Package.610.cjs +196 -0
  198. package/vendor/Package.610.mjs +180 -0
  199. package/vendor/Package.62.cjs +1 -1
  200. package/vendor/Package.62.mjs +1 -1
  201. package/vendor/Package.65.cjs +860 -0
  202. package/vendor/Package.65.mjs +832 -0
  203. package/vendor/Package.66.cjs +321 -0
  204. package/vendor/Package.66.mjs +305 -0
  205. package/vendor/Package.67.cjs +341 -0
  206. package/vendor/Package.67.mjs +327 -0
  207. package/vendor/Package.68.cjs +333 -0
  208. package/vendor/Package.68.mjs +315 -0
  209. package/vendor/Package.69.cjs +353 -0
  210. package/vendor/Package.69.mjs +335 -0
@@ -1,85 +1,9 @@
1
1
  "use strict";
2
2
 
3
- require("./Package.5.cjs");
3
+ const e = require("./Package.5.cjs");
4
4
 
5
- const e = require("buffer");
5
+ const s = require("./Package.1.cjs");
6
6
 
7
- require("module");
7
+ const c = e.getAugmentedNamespace(s.tslib_es6);
8
8
 
9
- require("tty");
10
-
11
- const r = e => e && e.__esModule ? e : {
12
- default: e
13
- };
14
-
15
- const t = r(e);
16
-
17
- var n = {
18
- exports: {}
19
- };
20
-
21
- var o = n.exports;
22
-
23
- var u;
24
-
25
- function f() {
26
- if (u) return n.exports;
27
- u = 1;
28
- (function(e, r) {
29
- var n = t.default;
30
- var o = n.Buffer;
31
- function u(e, r) {
32
- for (var t in e) {
33
- r[t] = e[t];
34
- }
35
- }
36
- if (o.from && o.alloc && o.allocUnsafe && o.allocUnsafeSlow) {
37
- e.exports = n;
38
- } else {
39
- u(n, r);
40
- r.Buffer = f;
41
- }
42
- function f(e, r, t) {
43
- return o(e, r, t);
44
- }
45
- f.prototype = Object.create(o.prototype);
46
- u(o, f);
47
- f.from = function(e, r, t) {
48
- if (typeof e === "number") {
49
- throw new TypeError("Argument must not be a number");
50
- }
51
- return o(e, r, t);
52
- };
53
- f.alloc = function(e, r, t) {
54
- if (typeof e !== "number") {
55
- throw new TypeError("Argument must be a number");
56
- }
57
- var n = o(e);
58
- if (r !== undefined) {
59
- if (typeof t === "string") {
60
- n.fill(r, t);
61
- } else {
62
- n.fill(r);
63
- }
64
- } else {
65
- n.fill(0);
66
- }
67
- return n;
68
- };
69
- f.allocUnsafe = function(e) {
70
- if (typeof e !== "number") {
71
- throw new TypeError("Argument must be a number");
72
- }
73
- return o(e);
74
- };
75
- f.allocUnsafeSlow = function(e) {
76
- if (typeof e !== "number") {
77
- throw new TypeError("Argument must be a number");
78
- }
79
- return n.SlowBuffer(e);
80
- };
81
- })(n, n.exports);
82
- return n.exports;
83
- }
84
-
85
- exports.requireSafeBuffer = f;
9
+ exports.require$$0 = c;
@@ -1,77 +1,7 @@
1
- import "./Package.5.mjs";
1
+ import { a } from "./Package.5.mjs";
2
2
 
3
- import r from "buffer";
3
+ import { t as m } from "./Package.1.mjs";
4
4
 
5
- import "module";
5
+ const o = a(m);
6
6
 
7
- import "tty";
8
-
9
- var e = {
10
- exports: {}
11
- };
12
-
13
- var t = e.exports;
14
-
15
- var o;
16
-
17
- function n() {
18
- if (o) return e.exports;
19
- o = 1;
20
- (function(e, t) {
21
- var o = r;
22
- var n = o.Buffer;
23
- function f(r, e) {
24
- for (var t in r) {
25
- e[t] = r[t];
26
- }
27
- }
28
- if (n.from && n.alloc && n.allocUnsafe && n.allocUnsafeSlow) {
29
- e.exports = o;
30
- } else {
31
- f(o, t);
32
- t.Buffer = u;
33
- }
34
- function u(r, e, t) {
35
- return n(r, e, t);
36
- }
37
- u.prototype = Object.create(n.prototype);
38
- f(n, u);
39
- u.from = function(r, e, t) {
40
- if (typeof r === "number") {
41
- throw new TypeError("Argument must not be a number");
42
- }
43
- return n(r, e, t);
44
- };
45
- u.alloc = function(r, e, t) {
46
- if (typeof r !== "number") {
47
- throw new TypeError("Argument must be a number");
48
- }
49
- var o = n(r);
50
- if (e !== undefined) {
51
- if (typeof t === "string") {
52
- o.fill(e, t);
53
- } else {
54
- o.fill(e);
55
- }
56
- } else {
57
- o.fill(0);
58
- }
59
- return o;
60
- };
61
- u.allocUnsafe = function(r) {
62
- if (typeof r !== "number") {
63
- throw new TypeError("Argument must be a number");
64
- }
65
- return n(r);
66
- };
67
- u.allocUnsafeSlow = function(r) {
68
- if (typeof r !== "number") {
69
- throw new TypeError("Argument must be a number");
70
- }
71
- return o.SlowBuffer(r);
72
- };
73
- })(e, e.exports);
74
- return e.exports;
75
- }
76
-
77
- export { n as r };
7
+ export { o as r };
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ require("./Package.5.cjs");
4
+
5
+ require("./Package.13.cjs");
6
+
7
+ const e = require("buffer");
8
+
9
+ require("module");
10
+
11
+ require("tty");
12
+
13
+ const r = e => e && e.__esModule ? e : {
14
+ default: e
15
+ };
16
+
17
+ const t = r(e);
18
+
19
+ var n = {
20
+ exports: {}
21
+ };
22
+
23
+ var o = n.exports;
24
+
25
+ var u;
26
+
27
+ function f() {
28
+ if (u) return n.exports;
29
+ u = 1;
30
+ (function(e, r) {
31
+ var n = t.default;
32
+ var o = n.Buffer;
33
+ function u(e, r) {
34
+ for (var t in e) {
35
+ r[t] = e[t];
36
+ }
37
+ }
38
+ if (o.from && o.alloc && o.allocUnsafe && o.allocUnsafeSlow) {
39
+ e.exports = n;
40
+ } else {
41
+ u(n, r);
42
+ r.Buffer = f;
43
+ }
44
+ function f(e, r, t) {
45
+ return o(e, r, t);
46
+ }
47
+ f.prototype = Object.create(o.prototype);
48
+ u(o, f);
49
+ f.from = function(e, r, t) {
50
+ if (typeof e === "number") {
51
+ throw new TypeError("Argument must not be a number");
52
+ }
53
+ return o(e, r, t);
54
+ };
55
+ f.alloc = function(e, r, t) {
56
+ if (typeof e !== "number") {
57
+ throw new TypeError("Argument must be a number");
58
+ }
59
+ var n = o(e);
60
+ if (r !== undefined) {
61
+ if (typeof t === "string") {
62
+ n.fill(r, t);
63
+ } else {
64
+ n.fill(r);
65
+ }
66
+ } else {
67
+ n.fill(0);
68
+ }
69
+ return n;
70
+ };
71
+ f.allocUnsafe = function(e) {
72
+ if (typeof e !== "number") {
73
+ throw new TypeError("Argument must be a number");
74
+ }
75
+ return o(e);
76
+ };
77
+ f.allocUnsafeSlow = function(e) {
78
+ if (typeof e !== "number") {
79
+ throw new TypeError("Argument must be a number");
80
+ }
81
+ return n.SlowBuffer(e);
82
+ };
83
+ })(n, n.exports);
84
+ return n.exports;
85
+ }
86
+
87
+ exports.requireSafeBuffer = f;
@@ -0,0 +1,79 @@
1
+ import "./Package.5.mjs";
2
+
3
+ import "./Package.13.mjs";
4
+
5
+ import r from "buffer";
6
+
7
+ import "module";
8
+
9
+ import "tty";
10
+
11
+ var e = {
12
+ exports: {}
13
+ };
14
+
15
+ var t = e.exports;
16
+
17
+ var o;
18
+
19
+ function n() {
20
+ if (o) return e.exports;
21
+ o = 1;
22
+ (function(e, t) {
23
+ var o = r;
24
+ var n = o.Buffer;
25
+ function f(r, e) {
26
+ for (var t in r) {
27
+ e[t] = r[t];
28
+ }
29
+ }
30
+ if (n.from && n.alloc && n.allocUnsafe && n.allocUnsafeSlow) {
31
+ e.exports = o;
32
+ } else {
33
+ f(o, t);
34
+ t.Buffer = u;
35
+ }
36
+ function u(r, e, t) {
37
+ return n(r, e, t);
38
+ }
39
+ u.prototype = Object.create(n.prototype);
40
+ f(n, u);
41
+ u.from = function(r, e, t) {
42
+ if (typeof r === "number") {
43
+ throw new TypeError("Argument must not be a number");
44
+ }
45
+ return n(r, e, t);
46
+ };
47
+ u.alloc = function(r, e, t) {
48
+ if (typeof r !== "number") {
49
+ throw new TypeError("Argument must be a number");
50
+ }
51
+ var o = n(r);
52
+ if (e !== undefined) {
53
+ if (typeof t === "string") {
54
+ o.fill(e, t);
55
+ } else {
56
+ o.fill(e);
57
+ }
58
+ } else {
59
+ o.fill(0);
60
+ }
61
+ return o;
62
+ };
63
+ u.allocUnsafe = function(r) {
64
+ if (typeof r !== "number") {
65
+ throw new TypeError("Argument must be a number");
66
+ }
67
+ return n(r);
68
+ };
69
+ u.allocUnsafeSlow = function(r) {
70
+ if (typeof r !== "number") {
71
+ throw new TypeError("Argument must be a number");
72
+ }
73
+ return o.SlowBuffer(r);
74
+ };
75
+ })(e, e.exports);
76
+ return e.exports;
77
+ }
78
+
79
+ export { n as r };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("crypto");
3
+ require("buffer");
@@ -1 +1 @@
1
- import "crypto";
1
+ import "buffer";