@tsed/core 7.70.2 → 7.71.0

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 (154) hide show
  1. package/.barrelsby.json +5 -0
  2. package/jest.config.js +3 -3
  3. package/lib/browser/core.umd.min.js +1 -1
  4. package/lib/browser/core.umd.min.js.map +1 -1
  5. package/lib/cjs/decorators/configurable.js +2 -2
  6. package/lib/cjs/decorators/configurable.js.map +1 -1
  7. package/lib/cjs/decorators/enumerable.js +2 -2
  8. package/lib/cjs/decorators/enumerable.js.map +1 -1
  9. package/lib/cjs/decorators/notConfigurable.js +2 -2
  10. package/lib/cjs/decorators/notConfigurable.js.map +1 -1
  11. package/lib/cjs/decorators/notEnumerable.js +2 -2
  12. package/lib/cjs/decorators/notEnumerable.js.map +1 -1
  13. package/lib/cjs/decorators/readOnly.js +2 -2
  14. package/lib/cjs/decorators/readOnly.js.map +1 -1
  15. package/lib/cjs/decorators/storeFn.js +2 -2
  16. package/lib/cjs/decorators/storeFn.js.map +1 -1
  17. package/lib/cjs/decorators/storeMerge.js +2 -2
  18. package/lib/cjs/decorators/storeMerge.js.map +1 -1
  19. package/lib/cjs/decorators/storeSet.js +2 -2
  20. package/lib/cjs/decorators/storeSet.js.map +1 -1
  21. package/lib/cjs/decorators/writable.js +2 -2
  22. package/lib/cjs/decorators/writable.js.map +1 -1
  23. package/lib/cjs/domain/AnyToPromise.js +9 -9
  24. package/lib/cjs/domain/AnyToPromise.js.map +1 -1
  25. package/lib/cjs/domain/Metadata.js +8 -8
  26. package/lib/cjs/domain/Metadata.js.map +1 -1
  27. package/lib/cjs/domain/Store.js +28 -28
  28. package/lib/cjs/domain/Store.js.map +1 -1
  29. package/lib/cjs/errors/UnsupportedDecoratorType.js +5 -5
  30. package/lib/cjs/errors/UnsupportedDecoratorType.js.map +1 -1
  31. package/lib/cjs/index.js +85 -85
  32. package/lib/cjs/index.js.map +1 -1
  33. package/lib/cjs/utils/decorators/decorateMethodsOf.js +11 -11
  34. package/lib/cjs/utils/decorators/decorateMethodsOf.js.map +1 -1
  35. package/lib/cjs/utils/decorators/decoratorArgs.js +2 -2
  36. package/lib/cjs/utils/decorators/decoratorArgs.js.map +1 -1
  37. package/lib/cjs/utils/decorators/decoratorTypeOf.js +4 -4
  38. package/lib/cjs/utils/decorators/decoratorTypeOf.js.map +1 -1
  39. package/lib/cjs/utils/decorators/inheritedDescriptorOf.js +2 -2
  40. package/lib/cjs/utils/decorators/inheritedDescriptorOf.js.map +1 -1
  41. package/lib/cjs/utils/decorators/useMethodDecorators.js +3 -3
  42. package/lib/cjs/utils/decorators/useMethodDecorators.js.map +1 -1
  43. package/lib/cjs/utils/objects/ancestorsOf.js +6 -6
  44. package/lib/cjs/utils/objects/ancestorsOf.js.map +1 -1
  45. package/lib/cjs/utils/objects/cleanObject.js +2 -2
  46. package/lib/cjs/utils/objects/cleanObject.js.map +1 -1
  47. package/lib/cjs/utils/objects/createInstance.js +2 -2
  48. package/lib/cjs/utils/objects/createInstance.js.map +1 -1
  49. package/lib/cjs/utils/objects/deepClone.js +12 -12
  50. package/lib/cjs/utils/objects/deepClone.js.map +1 -1
  51. package/lib/cjs/utils/objects/deepMerge.js +8 -8
  52. package/lib/cjs/utils/objects/deepMerge.js.map +1 -1
  53. package/lib/cjs/utils/objects/getClassOrSymbol.js +3 -3
  54. package/lib/cjs/utils/objects/getClassOrSymbol.js.map +1 -1
  55. package/lib/cjs/utils/objects/getConstructorArgNames.js +2 -2
  56. package/lib/cjs/utils/objects/getConstructorArgNames.js.map +1 -1
  57. package/lib/cjs/utils/objects/getEnumerableKeys.js +3 -3
  58. package/lib/cjs/utils/objects/getEnumerableKeys.js.map +1 -1
  59. package/lib/cjs/utils/objects/getValue.js +6 -6
  60. package/lib/cjs/utils/objects/getValue.js.map +1 -1
  61. package/lib/cjs/utils/objects/isArrowFn.js +2 -2
  62. package/lib/cjs/utils/objects/isArrowFn.js.map +1 -1
  63. package/lib/cjs/utils/objects/isClass.js +16 -16
  64. package/lib/cjs/utils/objects/isClass.js.map +1 -1
  65. package/lib/cjs/utils/objects/isCollection.js +2 -2
  66. package/lib/cjs/utils/objects/isCollection.js.map +1 -1
  67. package/lib/cjs/utils/objects/isEmpty.js +2 -2
  68. package/lib/cjs/utils/objects/isEmpty.js.map +1 -1
  69. package/lib/cjs/utils/objects/isEnumerable.js +4 -4
  70. package/lib/cjs/utils/objects/isEnumerable.js.map +1 -1
  71. package/lib/cjs/utils/objects/isInheritedFrom.js +7 -7
  72. package/lib/cjs/utils/objects/isInheritedFrom.js.map +1 -1
  73. package/lib/cjs/utils/objects/isMongooseObject.js +2 -2
  74. package/lib/cjs/utils/objects/isMongooseObject.js.map +1 -1
  75. package/lib/cjs/utils/objects/isPlainObject.js +2 -2
  76. package/lib/cjs/utils/objects/isPlainObject.js.map +1 -1
  77. package/lib/cjs/utils/objects/isPrimitive.js +5 -5
  78. package/lib/cjs/utils/objects/isPrimitive.js.map +1 -1
  79. package/lib/cjs/utils/objects/isSerializable.js +6 -6
  80. package/lib/cjs/utils/objects/isSerializable.js.map +1 -1
  81. package/lib/cjs/utils/objects/methodsOf.js +6 -6
  82. package/lib/cjs/utils/objects/methodsOf.js.map +1 -1
  83. package/lib/cjs/utils/objects/objectKeys.js +2 -2
  84. package/lib/cjs/utils/objects/objectKeys.js.map +1 -1
  85. package/lib/cjs/utils/objects/primitiveOf.js +6 -6
  86. package/lib/cjs/utils/objects/primitiveOf.js.map +1 -1
  87. package/lib/cjs/utils/objects/prototypeOf.js +2 -2
  88. package/lib/cjs/utils/objects/prototypeOf.js.map +1 -1
  89. package/lib/cjs/utils/objects/setValue.js +2 -2
  90. package/lib/cjs/utils/objects/setValue.js.map +1 -1
  91. package/lib/cjs/utils/objects/toMap.js +4 -4
  92. package/lib/cjs/utils/objects/toMap.js.map +1 -1
  93. package/lib/cjs/utils/objects/toStringConstructor.js +2 -2
  94. package/lib/cjs/utils/objects/toStringConstructor.js.map +1 -1
  95. package/lib/cjs/utils/proxyDelegation.js +2 -2
  96. package/lib/cjs/utils/proxyDelegation.js.map +1 -1
  97. package/lib/esm/decorators/configurable.js.map +1 -1
  98. package/lib/esm/decorators/enumerable.js.map +1 -1
  99. package/lib/esm/decorators/notConfigurable.js.map +1 -1
  100. package/lib/esm/decorators/notEnumerable.js.map +1 -1
  101. package/lib/esm/decorators/readOnly.js.map +1 -1
  102. package/lib/esm/decorators/storeFn.js.map +1 -1
  103. package/lib/esm/decorators/storeMerge.js.map +1 -1
  104. package/lib/esm/decorators/storeSet.js.map +1 -1
  105. package/lib/esm/decorators/writable.js.map +1 -1
  106. package/lib/esm/domain/AnyToPromise.js.map +1 -1
  107. package/lib/esm/domain/Metadata.js.map +1 -1
  108. package/lib/esm/domain/Store.js.map +1 -1
  109. package/lib/esm/errors/UnsupportedDecoratorType.js.map +1 -1
  110. package/lib/esm/index.js +4 -4
  111. package/lib/esm/index.js.map +1 -1
  112. package/lib/esm/utils/decorators/decorateMethodsOf.js.map +1 -1
  113. package/lib/esm/utils/decorators/decoratorArgs.js.map +1 -1
  114. package/lib/esm/utils/decorators/decoratorTypeOf.js.map +1 -1
  115. package/lib/esm/utils/decorators/inheritedDescriptorOf.js.map +1 -1
  116. package/lib/esm/utils/decorators/useMethodDecorators.js.map +1 -1
  117. package/lib/esm/utils/objects/ancestorsOf.js.map +1 -1
  118. package/lib/esm/utils/objects/cleanObject.js.map +1 -1
  119. package/lib/esm/utils/objects/createInstance.js.map +1 -1
  120. package/lib/esm/utils/objects/deepClone.js.map +1 -1
  121. package/lib/esm/utils/objects/deepMerge.js.map +1 -1
  122. package/lib/esm/utils/objects/getClassOrSymbol.js.map +1 -1
  123. package/lib/esm/utils/objects/getConstructorArgNames.js.map +1 -1
  124. package/lib/esm/utils/objects/getEnumerableKeys.js.map +1 -1
  125. package/lib/esm/utils/objects/getValue.js.map +1 -1
  126. package/lib/esm/utils/objects/isArrowFn.js.map +1 -1
  127. package/lib/esm/utils/objects/isClass.js.map +1 -1
  128. package/lib/esm/utils/objects/isCollection.js.map +1 -1
  129. package/lib/esm/utils/objects/isEmpty.js.map +1 -1
  130. package/lib/esm/utils/objects/isEnumerable.js.map +1 -1
  131. package/lib/esm/utils/objects/isInheritedFrom.js.map +1 -1
  132. package/lib/esm/utils/objects/isMongooseObject.js.map +1 -1
  133. package/lib/esm/utils/objects/isPlainObject.js.map +1 -1
  134. package/lib/esm/utils/objects/isPrimitive.js.map +1 -1
  135. package/lib/esm/utils/objects/isSerializable.js.map +1 -1
  136. package/lib/esm/utils/objects/methodsOf.js.map +1 -1
  137. package/lib/esm/utils/objects/objectKeys.js.map +1 -1
  138. package/lib/esm/utils/objects/primitiveOf.js.map +1 -1
  139. package/lib/esm/utils/objects/prototypeOf.js.map +1 -1
  140. package/lib/esm/utils/objects/setValue.js.map +1 -1
  141. package/lib/esm/utils/objects/toMap.js.map +1 -1
  142. package/lib/esm/utils/objects/toStringConstructor.js.map +1 -1
  143. package/lib/esm/utils/proxyDelegation.js.map +1 -1
  144. package/lib/types/decorators/storeFn.d.ts +2 -2
  145. package/lib/types/domain/Store.d.ts +1 -1
  146. package/lib/types/index.d.ts +83 -83
  147. package/lib/types/interfaces/MetadataTypes.d.ts +1 -1
  148. package/lib/types/utils/decorators/decoratorArgs.d.ts +1 -1
  149. package/lib/types/utils/decorators/decoratorTypeOf.d.ts +1 -1
  150. package/lib/types/utils/decorators/useDecorators.d.ts +1 -1
  151. package/lib/types/utils/decorators/useMethodDecorators.d.ts +1 -1
  152. package/lib/types/utils/objects/constructorOf.d.ts +1 -1
  153. package/lib/types/utils/objects/methodsOf.d.ts +1 -1
  154. package/package.json +9 -6
package/lib/cjs/index.js CHANGED
@@ -1,89 +1,89 @@
1
1
  "use strict";
2
- /**
3
- * @file Automatically generated by barrelsby.
4
- */
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  const tslib_1 = require("tslib");
7
- tslib_1.__exportStar(require("./decorators/configurable"), exports);
8
- tslib_1.__exportStar(require("./decorators/deprecated"), exports);
9
- tslib_1.__exportStar(require("./decorators/enumerable"), exports);
10
- tslib_1.__exportStar(require("./decorators/notConfigurable"), exports);
11
- tslib_1.__exportStar(require("./decorators/notEnumerable"), exports);
12
- tslib_1.__exportStar(require("./decorators/readOnly"), exports);
13
- tslib_1.__exportStar(require("./decorators/storeFn"), exports);
14
- tslib_1.__exportStar(require("./decorators/storeMerge"), exports);
15
- tslib_1.__exportStar(require("./decorators/storeSet"), exports);
16
- tslib_1.__exportStar(require("./decorators/writable"), exports);
17
- tslib_1.__exportStar(require("./domain/AnyToPromise"), exports);
18
- tslib_1.__exportStar(require("./domain/DecoratorTypes"), exports);
19
- tslib_1.__exportStar(require("./domain/Env"), exports);
20
- tslib_1.__exportStar(require("./domain/Hooks"), exports);
21
- tslib_1.__exportStar(require("./domain/Metadata"), exports);
22
- tslib_1.__exportStar(require("./domain/Store"), exports);
23
- tslib_1.__exportStar(require("./domain/Type"), exports);
24
- tslib_1.__exportStar(require("./errors/UnsupportedDecoratorType"), exports);
25
- tslib_1.__exportStar(require("./interfaces/AnyDecorator"), exports);
26
- tslib_1.__exportStar(require("./interfaces/DecoratorParameters"), exports);
27
- tslib_1.__exportStar(require("./interfaces/MetadataTypes"), exports);
28
- tslib_1.__exportStar(require("./interfaces/ValueOf"), exports);
29
- tslib_1.__exportStar(require("./utils/catchError"), exports);
30
- tslib_1.__exportStar(require("./utils/getRandomId"), exports);
31
- tslib_1.__exportStar(require("./utils/proxyDelegation"), exports);
32
- tslib_1.__exportStar(require("./utils/uniq"), exports);
33
- tslib_1.__exportStar(require("./utils/decorators/decorateMethodsOf"), exports);
34
- tslib_1.__exportStar(require("./utils/decorators/decoratorArgs"), exports);
35
- tslib_1.__exportStar(require("./utils/decorators/decoratorTypeOf"), exports);
36
- tslib_1.__exportStar(require("./utils/decorators/inheritedDescriptorOf"), exports);
37
- tslib_1.__exportStar(require("./utils/decorators/useDecorators"), exports);
38
- tslib_1.__exportStar(require("./utils/decorators/useMethodDecorators"), exports);
39
- tslib_1.__exportStar(require("./utils/http/getHostInfoFromPort"), exports);
40
- tslib_1.__exportStar(require("./utils/imports/importPackage"), exports);
41
- tslib_1.__exportStar(require("./utils/objects/ancestorOf"), exports);
42
- tslib_1.__exportStar(require("./utils/objects/ancestorsOf"), exports);
43
- tslib_1.__exportStar(require("./utils/objects/classOf"), exports);
44
- tslib_1.__exportStar(require("./utils/objects/cleanObject"), exports);
45
- tslib_1.__exportStar(require("./utils/objects/constructorOf"), exports);
46
- tslib_1.__exportStar(require("./utils/objects/createInstance"), exports);
47
- tslib_1.__exportStar(require("./utils/objects/deepClone"), exports);
48
- tslib_1.__exportStar(require("./utils/objects/deepMerge"), exports);
49
- tslib_1.__exportStar(require("./utils/objects/descriptorOf"), exports);
50
- tslib_1.__exportStar(require("./utils/objects/getClassOrSymbol"), exports);
51
- tslib_1.__exportStar(require("./utils/objects/getConstructorArgNames"), exports);
52
- tslib_1.__exportStar(require("./utils/objects/getEnumerableKeys"), exports);
53
- tslib_1.__exportStar(require("./utils/objects/getValue"), exports);
54
- tslib_1.__exportStar(require("./utils/objects/hasJsonMethod"), exports);
55
- tslib_1.__exportStar(require("./utils/objects/isArray"), exports);
56
- tslib_1.__exportStar(require("./utils/objects/isArrowFn"), exports);
57
- tslib_1.__exportStar(require("./utils/objects/isBoolean"), exports);
58
- tslib_1.__exportStar(require("./utils/objects/isBuffer"), exports);
59
- tslib_1.__exportStar(require("./utils/objects/isClass"), exports);
60
- tslib_1.__exportStar(require("./utils/objects/isCollection"), exports);
61
- tslib_1.__exportStar(require("./utils/objects/isDate"), exports);
62
- tslib_1.__exportStar(require("./utils/objects/isEmpty"), exports);
63
- tslib_1.__exportStar(require("./utils/objects/isEnumerable"), exports);
64
- tslib_1.__exportStar(require("./utils/objects/isFunction"), exports);
65
- tslib_1.__exportStar(require("./utils/objects/isInheritedFrom"), exports);
66
- tslib_1.__exportStar(require("./utils/objects/isMomentObject"), exports);
67
- tslib_1.__exportStar(require("./utils/objects/isMongooseObject"), exports);
68
- tslib_1.__exportStar(require("./utils/objects/isNil"), exports);
69
- tslib_1.__exportStar(require("./utils/objects/isNumber"), exports);
70
- tslib_1.__exportStar(require("./utils/objects/isObject"), exports);
71
- tslib_1.__exportStar(require("./utils/objects/isObservable"), exports);
72
- tslib_1.__exportStar(require("./utils/objects/isPlainObject"), exports);
73
- tslib_1.__exportStar(require("./utils/objects/isPrimitive"), exports);
74
- tslib_1.__exportStar(require("./utils/objects/isPromise"), exports);
75
- tslib_1.__exportStar(require("./utils/objects/isProtectedKey"), exports);
76
- tslib_1.__exportStar(require("./utils/objects/isRegExp"), exports);
77
- tslib_1.__exportStar(require("./utils/objects/isSerializable"), exports);
78
- tslib_1.__exportStar(require("./utils/objects/isStream"), exports);
79
- tslib_1.__exportStar(require("./utils/objects/isString"), exports);
80
- tslib_1.__exportStar(require("./utils/objects/isSymbol"), exports);
81
- tslib_1.__exportStar(require("./utils/objects/methodsOf"), exports);
82
- tslib_1.__exportStar(require("./utils/objects/nameOf"), exports);
83
- tslib_1.__exportStar(require("./utils/objects/objectKeys"), exports);
84
- tslib_1.__exportStar(require("./utils/objects/primitiveOf"), exports);
85
- tslib_1.__exportStar(require("./utils/objects/prototypeOf"), exports);
86
- tslib_1.__exportStar(require("./utils/objects/setValue"), exports);
87
- tslib_1.__exportStar(require("./utils/objects/toMap"), exports);
88
- tslib_1.__exportStar(require("./utils/objects/toStringConstructor"), exports);
4
+ /**
5
+ * @file Automatically generated by @tsed/barrels.
6
+ */
7
+ tslib_1.__exportStar(require("./decorators/configurable.js"), exports);
8
+ tslib_1.__exportStar(require("./decorators/deprecated.js"), exports);
9
+ tslib_1.__exportStar(require("./decorators/enumerable.js"), exports);
10
+ tslib_1.__exportStar(require("./decorators/notConfigurable.js"), exports);
11
+ tslib_1.__exportStar(require("./decorators/notEnumerable.js"), exports);
12
+ tslib_1.__exportStar(require("./decorators/readOnly.js"), exports);
13
+ tslib_1.__exportStar(require("./decorators/storeFn.js"), exports);
14
+ tslib_1.__exportStar(require("./decorators/storeMerge.js"), exports);
15
+ tslib_1.__exportStar(require("./decorators/storeSet.js"), exports);
16
+ tslib_1.__exportStar(require("./decorators/writable.js"), exports);
17
+ tslib_1.__exportStar(require("./domain/AnyToPromise.js"), exports);
18
+ tslib_1.__exportStar(require("./domain/DecoratorTypes.js"), exports);
19
+ tslib_1.__exportStar(require("./domain/Env.js"), exports);
20
+ tslib_1.__exportStar(require("./domain/Hooks.js"), exports);
21
+ tslib_1.__exportStar(require("./domain/Metadata.js"), exports);
22
+ tslib_1.__exportStar(require("./domain/Store.js"), exports);
23
+ tslib_1.__exportStar(require("./domain/Type.js"), exports);
24
+ tslib_1.__exportStar(require("./errors/UnsupportedDecoratorType.js"), exports);
25
+ tslib_1.__exportStar(require("./interfaces/AnyDecorator.js"), exports);
26
+ tslib_1.__exportStar(require("./interfaces/DecoratorParameters.js"), exports);
27
+ tslib_1.__exportStar(require("./interfaces/MetadataTypes.js"), exports);
28
+ tslib_1.__exportStar(require("./interfaces/ValueOf.js"), exports);
29
+ tslib_1.__exportStar(require("./utils/catchError.js"), exports);
30
+ tslib_1.__exportStar(require("./utils/decorators/decorateMethodsOf.js"), exports);
31
+ tslib_1.__exportStar(require("./utils/decorators/decoratorArgs.js"), exports);
32
+ tslib_1.__exportStar(require("./utils/decorators/decoratorTypeOf.js"), exports);
33
+ tslib_1.__exportStar(require("./utils/decorators/inheritedDescriptorOf.js"), exports);
34
+ tslib_1.__exportStar(require("./utils/decorators/useDecorators.js"), exports);
35
+ tslib_1.__exportStar(require("./utils/decorators/useMethodDecorators.js"), exports);
36
+ tslib_1.__exportStar(require("./utils/getRandomId.js"), exports);
37
+ tslib_1.__exportStar(require("./utils/http/getHostInfoFromPort.js"), exports);
38
+ tslib_1.__exportStar(require("./utils/imports/importPackage.js"), exports);
39
+ tslib_1.__exportStar(require("./utils/objects/ancestorOf.js"), exports);
40
+ tslib_1.__exportStar(require("./utils/objects/ancestorsOf.js"), exports);
41
+ tslib_1.__exportStar(require("./utils/objects/classOf.js"), exports);
42
+ tslib_1.__exportStar(require("./utils/objects/cleanObject.js"), exports);
43
+ tslib_1.__exportStar(require("./utils/objects/constructorOf.js"), exports);
44
+ tslib_1.__exportStar(require("./utils/objects/createInstance.js"), exports);
45
+ tslib_1.__exportStar(require("./utils/objects/deepClone.js"), exports);
46
+ tslib_1.__exportStar(require("./utils/objects/deepMerge.js"), exports);
47
+ tslib_1.__exportStar(require("./utils/objects/descriptorOf.js"), exports);
48
+ tslib_1.__exportStar(require("./utils/objects/getClassOrSymbol.js"), exports);
49
+ tslib_1.__exportStar(require("./utils/objects/getConstructorArgNames.js"), exports);
50
+ tslib_1.__exportStar(require("./utils/objects/getEnumerableKeys.js"), exports);
51
+ tslib_1.__exportStar(require("./utils/objects/getValue.js"), exports);
52
+ tslib_1.__exportStar(require("./utils/objects/hasJsonMethod.js"), exports);
53
+ tslib_1.__exportStar(require("./utils/objects/isArray.js"), exports);
54
+ tslib_1.__exportStar(require("./utils/objects/isArrowFn.js"), exports);
55
+ tslib_1.__exportStar(require("./utils/objects/isBoolean.js"), exports);
56
+ tslib_1.__exportStar(require("./utils/objects/isBuffer.js"), exports);
57
+ tslib_1.__exportStar(require("./utils/objects/isClass.js"), exports);
58
+ tslib_1.__exportStar(require("./utils/objects/isCollection.js"), exports);
59
+ tslib_1.__exportStar(require("./utils/objects/isDate.js"), exports);
60
+ tslib_1.__exportStar(require("./utils/objects/isEmpty.js"), exports);
61
+ tslib_1.__exportStar(require("./utils/objects/isEnumerable.js"), exports);
62
+ tslib_1.__exportStar(require("./utils/objects/isFunction.js"), exports);
63
+ tslib_1.__exportStar(require("./utils/objects/isInheritedFrom.js"), exports);
64
+ tslib_1.__exportStar(require("./utils/objects/isMomentObject.js"), exports);
65
+ tslib_1.__exportStar(require("./utils/objects/isMongooseObject.js"), exports);
66
+ tslib_1.__exportStar(require("./utils/objects/isNil.js"), exports);
67
+ tslib_1.__exportStar(require("./utils/objects/isNumber.js"), exports);
68
+ tslib_1.__exportStar(require("./utils/objects/isObject.js"), exports);
69
+ tslib_1.__exportStar(require("./utils/objects/isObservable.js"), exports);
70
+ tslib_1.__exportStar(require("./utils/objects/isPlainObject.js"), exports);
71
+ tslib_1.__exportStar(require("./utils/objects/isPrimitive.js"), exports);
72
+ tslib_1.__exportStar(require("./utils/objects/isPromise.js"), exports);
73
+ tslib_1.__exportStar(require("./utils/objects/isProtectedKey.js"), exports);
74
+ tslib_1.__exportStar(require("./utils/objects/isRegExp.js"), exports);
75
+ tslib_1.__exportStar(require("./utils/objects/isSerializable.js"), exports);
76
+ tslib_1.__exportStar(require("./utils/objects/isStream.js"), exports);
77
+ tslib_1.__exportStar(require("./utils/objects/isString.js"), exports);
78
+ tslib_1.__exportStar(require("./utils/objects/isSymbol.js"), exports);
79
+ tslib_1.__exportStar(require("./utils/objects/methodsOf.js"), exports);
80
+ tslib_1.__exportStar(require("./utils/objects/nameOf.js"), exports);
81
+ tslib_1.__exportStar(require("./utils/objects/objectKeys.js"), exports);
82
+ tslib_1.__exportStar(require("./utils/objects/primitiveOf.js"), exports);
83
+ tslib_1.__exportStar(require("./utils/objects/prototypeOf.js"), exports);
84
+ tslib_1.__exportStar(require("./utils/objects/setValue.js"), exports);
85
+ tslib_1.__exportStar(require("./utils/objects/toMap.js"), exports);
86
+ tslib_1.__exportStar(require("./utils/objects/toStringConstructor.js"), exports);
87
+ tslib_1.__exportStar(require("./utils/proxyDelegation.js"), exports);
88
+ tslib_1.__exportStar(require("./utils/uniq.js"), exports);
89
89
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oEAA0C;AAC1C,kEAAwC;AACxC,kEAAwC;AACxC,uEAA6C;AAC7C,qEAA2C;AAC3C,gEAAsC;AACtC,+DAAqC;AACrC,kEAAwC;AACxC,gEAAsC;AACtC,gEAAsC;AACtC,gEAAs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ethodsOf = void 0;
4
- const Store_1 = require("../../domain/Store");
5
- const classOf_1 = require("../objects/classOf");
6
- const descriptorOf_1 = require("../objects/descriptorOf");
7
- const methodsOf_1 = require("../objects/methodsOf");
8
- const prototypeOf_1 = require("../objects/prototypeOf");
4
+ const Store_js_1 = require("../../domain/Store.js");
5
+ const classOf_js_1 = require("../objects/classOf.js");
6
+ const descriptorOf_js_1 = require("../objects/descriptorOf.js");
7
+ const methodsOf_js_1 = require("../objects/methodsOf.js");
8
+ const prototypeOf_js_1 = require("../objects/prototypeOf.js");
9
9
  function decorateMethodsOf(klass, decorator) {
10
- (0, methodsOf_1.methodsOf)(klass).forEach(({ target, propertyKey }) => {
11
- const proto = (0, prototypeOf_1.prototypeOf)(klass);
12
- if (target !== (0, classOf_1.classOf)(klass)) {
10
+ (0, methodsOf_js_1.methodsOf)(klass).forEach(({ target, propertyKey }) => {
11
+ const proto = (0, prototypeOf_js_1.prototypeOf)(klass);
12
+ if (target !== (0, classOf_js_1.classOf)(klass)) {
13
13
  Object.defineProperty(proto, propertyKey, {
14
14
  writable: true,
15
15
  configurable: true,
16
16
  value(...args) {
17
- return (0, prototypeOf_1.prototypeOf)(target)[propertyKey].apply(this, args);
17
+ return (0, prototypeOf_js_1.prototypeOf)(target)[propertyKey].apply(this, args);
18
18
  }
19
19
  });
20
- Store_1.Store.mergeStoreMethodFrom(klass, target, propertyKey);
20
+ Store_js_1.Store.mergeStoreMethodFrom(klass, target, propertyKey);
21
21
  }
22
- const newDescriptor = decorator(proto, propertyKey, (0, descriptorOf_1.descriptorOf)(klass, propertyKey));
22
+ const newDescriptor = decorator(proto, propertyKey, (0, descriptorOf_js_1.descriptorOf)(klass, propertyKey));
23
23
  if (newDescriptor) {
24
24
  Object.defineProperty(proto, propertyKey, newDescriptor);
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"decorateMethodsOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decorateMethodsOf.ts"],"names":[],"mappings":";;;AAAA,8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C,OAAO,CAAC,CAAC,EAAC,MAAM,EAAE,WAAW,EAAC,EAAE,EAAE;QACjD,MAAM,KAAK,GAAG,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;QAEjC,IAAI,MAAM,KAAK,IAAA,oBAAO,EAAC,KAAK,CAAC,EAAE;YAC7B,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE;gBACxC,QAAQ,EAAE,IAAI;gBACd,YAAY,EAAE,IAAI;gBAClB,KAAK,CAAC,GAAG,IAAW;oBAClB,OAAO,IAAA,4BAAW,EAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC5D,CAAC;aACF,CAAC,CAAC;YAEH,gBAAK,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;SACxD;QAED,MAAM,aAAa,GAAG,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC;QAEtF,IAAI,aAAa,EAAE;YACjB,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;SAC1D;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAtBD,8CAsBC"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.decoratorArgs = void 0;
4
- const descriptorOf_1 = require("../objects/descriptorOf");
4
+ const descriptorOf_js_1 = require("../objects/descriptorOf.js");
5
5
  function decoratorArgs(target, propertyKey) {
6
- return [target, propertyKey, (0, descriptorOf_1.descriptorOf)(target, propertyKey)];
6
+ return [target, propertyKey, (0, descriptorOf_js_1.descriptorOf)(target, propertyKey)];
7
7
  }
8
8
  exports.decoratorArgs = decoratorArgs;
9
9
  //# sourceMappingURL=decoratorArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"decoratorArgs.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decoratorArgs.ts"],"names":[],"mappings":";;;AACA,0DAAqD;AAErD,SAAgB,aAAa,CAAC,MAAW,EAAE,WAAmB;IAC5D,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,2BAAY,EAAC,MAAM,EAAE,WAAW,CAAE,CAAC,CAAC;AACnE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"decoratorArgs.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decoratorArgs.ts"],"names":[],"mappings":";;;AACA,gEAAwD;AAExD,SAAgB,aAAa,CAAC,MAAW,EAAE,WAAmB;IAC5D,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,MAAM,EAAE,WAAW,CAAE,CAAC,CAAC;AACnE,CAAC;AAFD,sCAEC"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.decoratorTypeOf = void 0;
4
- const DecoratorTypes_1 = require("../../domain/DecoratorTypes");
5
- const classOf_1 = require("../objects/classOf");
4
+ const DecoratorTypes_js_1 = require("../../domain/DecoratorTypes.js");
5
+ const classOf_js_1 = require("../objects/classOf.js");
6
6
  function decoratorTypeOf(args) {
7
7
  const [target, propertyKey, descriptor] = args;
8
8
  const staticType = (type) => {
9
- return target !== (0, classOf_1.classOf)(target) ? type : `${type}.static`;
9
+ return target !== (0, classOf_js_1.classOf)(target) ? type : `${type}.static`;
10
10
  };
11
11
  if (typeof descriptor === "number") {
12
12
  return propertyKey ? staticType("parameter") : "parameter.constructor";
@@ -17,7 +17,7 @@ function decoratorTypeOf(args) {
17
17
  if ((propertyKey && descriptor === undefined) || descriptor) {
18
18
  return staticType("property");
19
19
  }
20
- return DecoratorTypes_1.DecoratorTypes.CLASS;
20
+ return DecoratorTypes_js_1.DecoratorTypes.CLASS;
21
21
  }
22
22
  exports.decoratorTypeOf = decoratorTypeOf;
23
23
  //# sourceMappingURL=decoratorTypeOf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"decoratorTypeOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decoratorTypeOf.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAC3D,gDAA2C;AAE3C,SAAgB,eAAe,CAAC,IAAW;IACzC,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC;IAE/C,MAAM,UAAU,GAAG,CAAC,IAAY,EAAO,EAAE;QACvC,OAAO,MAAM,KAAK,IAAA,iBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,SAAS,CAAC;IAC9D,CAAC,CAAC;IAEF,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;QAClC,OAAO,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC;KACxE;IAED,IAAI,UAAU,IAAI,UAAU,CAAC,KAAK,EAAE;QAClC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC;KAC7B;IAED,IAAI,CAAC,WAAW,IAAI,UAAU,KAAK,SAAS,CAAC,IAAI,UAAU,EAAE;QAC3D,OAAO,UAAU,CAAC,UAAU,CAAC,CAAC;KAC/B;IAED,OAAO,+BAAc,CAAC,KAAK,CAAC;AAC9B,CAAC;AApBD,0CAoBC"}
1
+ {"version":3,"file":"decoratorTypeOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decoratorTypeOf.ts"],"names":[],"mappings":";;;AAAA,sEAA8D;AAC9D,sDAA8C;AAE9C,SAAgB,eAAe,CAAC,IAAW;IACzC,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC;IAE/C,MAAM,UAAU,GAAG,CAAC,IAAY,EAAO,EAAE;QACvC,OAAO,MAAM,KAAK,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,SAAS,CAAC;IAC9D,CAAC,CAAC;IAEF,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;QAClC,OAAO,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC;KACxE;IAED,IAAI,UAAU,IAAI,UAAU,CAAC,KAAK,EAAE;QAClC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC;KAC7B;IAED,IAAI,CAAC,WAAW,IAAI,UAAU,KAAK,SAAS,CAAC,IAAI,UAAU,EAAE;QAC3D,OAAO,UAAU,CAAC,UAAU,CAAC,CAAC;KAC/B;IAED,OAAO,kCAAc,CAAC,KAAK,CAAC;AAC9B,CAAC;AApBD,0CAoBC"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.inheritedDescriptorOf = void 0;
4
- const ancestorsOf_1 = require("../objects/ancestorsOf");
4
+ const ancestorsOf_js_1 = require("../objects/ancestorsOf.js");
5
5
  function inheritedDescriptorOf(target, propertyKey) {
6
- for (const klass of (0, ancestorsOf_1.ancestorsOf)(target)) {
6
+ for (const klass of (0, ancestorsOf_js_1.ancestorsOf)(target)) {
7
7
  const descriptor = Object.getOwnPropertyDescriptor((klass && klass.prototype) || klass, propertyKey);
8
8
  if (descriptor) {
9
9
  return descriptor;
@@ -1 +1 @@
1
- {"version":3,"file":"inheritedDescriptorOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/inheritedDescriptorOf.ts"],"names":[],"mappings":";;;AAAA,wDAAmD;AAEnD,SAAgB,qBAAqB,CAAC,MAAW,EAAE,WAAmB;IACpE,KAAK,MAAM,KAAK,IAAI,IAAA,yBAAW,EAAC,MAAM,CAAC,EAAE;QACvC,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,KAAK,EAAE,WAAW,CAAE,CAAC;QAEtG,IAAI,UAAU,EAAE;YACd,OAAO,UAAU,CAAC;SACnB;KACF;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAVD,sDAUC"}
1
+ {"version":3,"file":"inheritedDescriptorOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/inheritedDescriptorOf.ts"],"names":[],"mappings":";;;AAAA,8DAAsD;AAEtD,SAAgB,qBAAqB,CAAC,MAAW,EAAE,WAAmB;IACpE,KAAK,MAAM,KAAK,IAAI,IAAA,4BAAW,EAAC,MAAM,CAAC,EAAE;QACvC,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,KAAK,EAAE,WAAW,CAAE,CAAC;QAEtG,IAAI,UAAU,EAAE;YACd,OAAO,UAAU,CAAC;SACnB;KACF;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAVD,sDAUC"}
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useMethodDecorators = exports.useMethodDecorator = void 0;
4
- const descriptorOf_1 = require("../objects/descriptorOf");
4
+ const descriptorOf_js_1 = require("../objects/descriptorOf.js");
5
5
  function useMethodDecorator(decorator) {
6
- return (target, propertyKey) => decorator(target, propertyKey, (0, descriptorOf_1.descriptorOf)(target, propertyKey));
6
+ return (target, propertyKey) => decorator(target, propertyKey, (0, descriptorOf_js_1.descriptorOf)(target, propertyKey));
7
7
  }
8
8
  exports.useMethodDecorator = useMethodDecorator;
9
9
  function useMethodDecorators(...decorators) {
10
10
  return (target, propertyKey) => {
11
- decorators.filter(Boolean).forEach((decorator) => decorator(target, propertyKey, (0, descriptorOf_1.descriptorOf)(target, propertyKey)));
11
+ decorators.filter(Boolean).forEach((decorator) => decorator(target, propertyKey, (0, descriptorOf_js_1.descriptorOf)(target, propertyKey)));
12
12
  };
13
13
  }
14
14
  exports.useMethodDecorators = useMethodDecorators;
@@ -1 +1 @@
1
- {"version":3,"file":"useMethodDecorators.js","sourceRoot":"","sources":["../../../../src/utils/decorators/useMethodDecorators.ts"],"names":[],"mappings":";;;AACA,0DAAqD;AAErD,SAAgB,kBAAkB,CAAC,SAAuB;IACxD,OAAO,CAAC,MAAW,EAAE,WAA4B,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,2BAAY,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;AAC1H,CAAC;AAFD,gDAEC;AAED,SAAgB,mBAAmB,CAAC,GAAG,UAA0B;IAC/D,OAAO,CAAC,MAAW,EAAE,WAA4B,EAAE,EAAE;QACnD,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,2BAAY,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACvH,CAAC,CAAC;AACJ,CAAC;AAJD,kDAIC"}
1
+ {"version":3,"file":"useMethodDecorators.js","sourceRoot":"","sources":["../../../../src/utils/decorators/useMethodDecorators.ts"],"names":[],"mappings":";;;AACA,gEAAwD;AAExD,SAAgB,kBAAkB,CAAC,SAAuB;IACxD,OAAO,CAAC,MAAW,EAAE,WAA4B,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;AAC1H,CAAC;AAFD,gDAEC;AAED,SAAgB,mBAAmB,CAAC,GAAG,UAA0B;IAC/D,OAAO,CAAC,MAAW,EAAE,WAA4B,EAAE,EAAE;QACnD,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACvH,CAAC,CAAC;AACJ,CAAC;AAJD,kDAIC"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ancestorsOf = void 0;
4
- const classOf_1 = require("./classOf");
5
- const ancestorOf_1 = require("./ancestorOf");
6
- const nameOf_1 = require("./nameOf");
4
+ const classOf_js_1 = require("./classOf.js");
5
+ const ancestorOf_js_1 = require("./ancestorOf.js");
6
+ const nameOf_js_1 = require("./nameOf.js");
7
7
  /**
8
8
  *
9
9
  * @param target
@@ -11,10 +11,10 @@ const nameOf_1 = require("./nameOf");
11
11
  */
12
12
  function ancestorsOf(target) {
13
13
  const classes = [];
14
- let currentTarget = (0, classOf_1.classOf)(target);
15
- while (currentTarget && (0, nameOf_1.nameOf)(currentTarget) !== "") {
14
+ let currentTarget = (0, classOf_js_1.classOf)(target);
15
+ while (currentTarget && (0, nameOf_js_1.nameOf)(currentTarget) !== "") {
16
16
  classes.unshift(currentTarget);
17
- currentTarget = (0, ancestorOf_1.getInheritedClass)(currentTarget);
17
+ currentTarget = (0, ancestorOf_js_1.getInheritedClass)(currentTarget);
18
18
  }
19
19
  return classes;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ancestorsOf.js","sourceRoot":"","sources":["../../../../src/utils/objects/ancestorsOf.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAClC,6CAA+C;AAC/C,qCAAgC;AAEhC;;;;GAIG;AACH,SAAgB,WAAW,CAAC,MAAW;IACrC,MAAM,OAAO,GAAG,EAAE,CAAC;IAEnB,IAAI,aAAa,GAAG,IAAA,iBAAO,EAAC,MAAM,CAAC,CAAC;IAEpC,OAAO,aAAa,IAAI,IAAA,eAAM,EAAC,aAAa,CAAC,KAAK,EAAE,EAAE;QACpD,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC/B,aAAa,GAAG,IAAA,8BAAiB,EAAC,aAAa,CAAC,CAAC;KAClD;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAXD,kCAWC"}
1
+ {"version":3,"file":"ancestorsOf.js","sourceRoot":"","sources":["../../../../src/utils/objects/ancestorsOf.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AACrC,mDAAkD;AAClD,2CAAmC;AAEnC;;;;GAIG;AACH,SAAgB,WAAW,CAAC,MAAW;IACrC,MAAM,OAAO,GAAG,EAAE,CAAC;IAEnB,IAAI,aAAa,GAAG,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC;IAEpC,OAAO,aAAa,IAAI,IAAA,kBAAM,EAAC,aAAa,CAAC,KAAK,EAAE,EAAE;QACpD,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC/B,aAAa,GAAG,IAAA,iCAAiB,EAAC,aAAa,CAAC,CAAC;KAClD;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAXD,kCAWC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cleanObject = void 0;
4
- const isProtectedKey_1 = require("./isProtectedKey");
4
+ const isProtectedKey_js_1 = require("./isProtectedKey.js");
5
5
  /**
6
6
  * Remove undefined value
7
7
  * @param obj
@@ -9,7 +9,7 @@ const isProtectedKey_1 = require("./isProtectedKey");
9
9
  */
10
10
  function cleanObject(obj, ignore = []) {
11
11
  return Object.entries(obj).reduce((obj, [key, value]) => {
12
- if ((0, isProtectedKey_1.isProtectedKey)(key) || ignore.includes(key)) {
12
+ if ((0, isProtectedKey_js_1.isProtectedKey)(key) || ignore.includes(key)) {
13
13
  return obj;
14
14
  }
15
15
  return value === undefined
@@ -1 +1 @@
1
- {"version":3,"file":"cleanObject.js","sourceRoot":"","sources":["../../../../src/utils/objects/cleanObject.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAChD;;;;GAIG;AACH,SAAgB,WAAW,CAAC,GAAQ,EAAE,SAAmB,EAAE;IACzD,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACtD,IAAI,IAAA,+BAAc,EAAC,GAAG,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC/C,OAAO,GAAG,CAAC;SACZ;QAED,OAAO,KAAK,KAAK,SAAS;YACxB,CAAC,CAAC,GAAG;YACL,CAAC,CAAC;gBACE,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE,KAAK;aACb,CAAC;IACR,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC;AAbD,kCAaC"}
1
+ {"version":3,"file":"cleanObject.js","sourceRoot":"","sources":["../../../../src/utils/objects/cleanObject.ts"],"names":[],"mappings":";;;AAAA,2DAAmD;AACnD;;;;GAIG;AACH,SAAgB,WAAW,CAAC,GAAQ,EAAE,SAAmB,EAAE;IACzD,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACtD,IAAI,IAAA,kCAAc,EAAC,GAAG,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC/C,OAAO,GAAG,CAAC;SACZ;QAED,OAAO,KAAK,KAAK,SAAS;YACxB,CAAC,CAAC,GAAG;YACL,CAAC,CAAC;gBACE,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE,KAAK;aACb,CAAC;IACR,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC;AAbD,kCAaC"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createInstance = void 0;
4
- const classOf_1 = require("./classOf");
4
+ const classOf_js_1 = require("./classOf.js");
5
5
  function createInstance(obj) {
6
- return obj ? ((0, classOf_1.classOf)(obj) !== Object ? Object.create(obj) : {}) : {};
6
+ return obj ? ((0, classOf_js_1.classOf)(obj) !== Object ? Object.create(obj) : {}) : {};
7
7
  }
8
8
  exports.createInstance = createInstance;
9
9
  //# sourceMappingURL=createInstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createInstance.js","sourceRoot":"","sources":["../../../../src/utils/objects/createInstance.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAElC,SAAgB,cAAc,CAAC,GAAQ;IACrC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,iBAAO,EAAC,GAAG,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACxE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"createInstance.js","sourceRoot":"","sources":["../../../../src/utils/objects/createInstance.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AAErC,SAAgB,cAAc,CAAC,GAAQ;IACrC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,oBAAO,EAAC,GAAG,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACxE,CAAC;AAFD,wCAEC"}
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deepClone = void 0;
4
- const isDate_1 = require("./isDate");
5
- const isFunction_1 = require("./isFunction");
6
- const isNil_1 = require("./isNil");
7
- const isPrimitive_1 = require("./isPrimitive");
8
- const isSymbol_1 = require("./isSymbol");
9
- const isRegExp_1 = require("./isRegExp");
10
- const classOf_1 = require("./classOf");
11
- const isBasicType = (source) => (0, isNil_1.isNil)(source) || (0, isPrimitive_1.isPrimitive)(source) || (0, isSymbol_1.isSymbol)(source) || (0, isFunction_1.isFunction)(source);
4
+ const isDate_js_1 = require("./isDate.js");
5
+ const isFunction_js_1 = require("./isFunction.js");
6
+ const isNil_js_1 = require("./isNil.js");
7
+ const isPrimitive_js_1 = require("./isPrimitive.js");
8
+ const isSymbol_js_1 = require("./isSymbol.js");
9
+ const isRegExp_js_1 = require("./isRegExp.js");
10
+ const classOf_js_1 = require("./classOf.js");
11
+ const isBasicType = (source) => (0, isNil_js_1.isNil)(source) || (0, isPrimitive_js_1.isPrimitive)(source) || (0, isSymbol_js_1.isSymbol)(source) || (0, isFunction_js_1.isFunction)(source);
12
12
  /**
13
13
  * Return a cloned value
14
14
  * @param source
@@ -28,12 +28,12 @@ const deepClone = (source, stack = new WeakMap()) => {
28
28
  return Buffer.isBuffer(source)
29
29
  ? Buffer.from(source)
30
30
  : // adds support for all kind of TypedArray such as Int8Array, Uint8Array, etc
31
- new ((0, classOf_1.classOf)(source))(source.buffer.slice(0), source.byteOffset, source.byteLength);
31
+ new ((0, classOf_js_1.classOf)(source))(source.buffer.slice(0), source.byteOffset, source.byteLength);
32
32
  }
33
- if ((0, isDate_1.isDate)(source)) {
33
+ if ((0, isDate_js_1.isDate)(source)) {
34
34
  return new Date(source);
35
35
  }
36
- if ((0, isRegExp_1.isRegExp)(source)) {
36
+ if ((0, isRegExp_js_1.isRegExp)(source)) {
37
37
  return new RegExp(source);
38
38
  }
39
39
  if (Array.isArray(source)) {
@@ -60,7 +60,7 @@ const deepClone = (source, stack = new WeakMap()) => {
60
60
  // respects property descriptors and the prototype chain more explicitly, which is important for objects with getter/setter.
61
61
  const descriptor = Object.getOwnPropertyDescriptor(source, key);
62
62
  if (descriptor) {
63
- if (!(0, isFunction_1.isFunction)(descriptor.value)) {
63
+ if (!(0, isFunction_js_1.isFunction)(descriptor.value)) {
64
64
  Object.defineProperty(clone, key, {
65
65
  ...descriptor,
66
66
  value: (0, exports.deepClone)(descriptor.value, stack)
@@ -1 +1 @@
1
- {"version":3,"file":"deepClone.js","sourceRoot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CAAC;AArEW,QAAA,SAAS,aAqEpB"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deepMerge = exports.mergeReducerBuilder = void 0;
4
- const createInstance_1 = require("./createInstance");
5
- const isFunction_1 = require("./isFunction");
6
- const isPrimitive_1 = require("./isPrimitive");
7
- const isSymbol_1 = require("./isSymbol");
8
- const objectKeys_1 = require("./objectKeys");
4
+ const createInstance_js_1 = require("./createInstance.js");
5
+ const isFunction_js_1 = require("./isFunction.js");
6
+ const isPrimitive_js_1 = require("./isPrimitive.js");
7
+ const isSymbol_js_1 = require("./isSymbol.js");
8
+ const objectKeys_js_1 = require("./objectKeys.js");
9
9
  function mergeReducerBuilder(cb) {
10
10
  return (collection, value, options) => {
11
11
  const index = collection.findIndex((item) => cb(item, value));
@@ -28,7 +28,7 @@ function getReducer({ reducers, parentKey }) {
28
28
  return reducers["default"] || defaultReducer;
29
29
  }
30
30
  function shouldReturnObj(obj, source) {
31
- return (0, isPrimitive_1.isPrimitive)(obj) || (0, isSymbol_1.isSymbol)(obj) || (0, isFunction_1.isFunction)(obj) || source === undefined;
31
+ return (0, isPrimitive_js_1.isPrimitive)(obj) || (0, isSymbol_js_1.isSymbol)(obj) || (0, isFunction_js_1.isFunction)(obj) || source === undefined;
32
32
  }
33
33
  function shouldReturnSource(obj, source) {
34
34
  return obj === undefined || obj === null || (obj === "" && source !== "");
@@ -44,7 +44,7 @@ function deepMerge(source, obj, options = {}) {
44
44
  const reducer = getReducer(options);
45
45
  return [].concat(obj).reduce((out, value) => reducer(out, value, options), [...source]);
46
46
  }
47
- return [...(0, objectKeys_1.objectKeys)(source), ...(0, objectKeys_1.objectKeys)(obj)].reduce((out, key) => {
47
+ return [...(0, objectKeys_js_1.objectKeys)(source), ...(0, objectKeys_js_1.objectKeys)(obj)].reduce((out, key) => {
48
48
  const src = source && source[key];
49
49
  const value = deepMerge(src, obj && obj[key], {
50
50
  ...options,
@@ -57,7 +57,7 @@ function deepMerge(source, obj, options = {}) {
57
57
  ...out,
58
58
  [key]: value
59
59
  };
60
- }, (0, createInstance_1.createInstance)(source));
60
+ }, (0, createInstance_js_1.createInstance)(source));
61
61
  }
62
62
  exports.deepMerge = deepMerge;
63
63
  //# sourceMappingURL=deepMerge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deepMerge.js","sourceRoot":"","sources":["../../../../src/utils/objects/deepMerge.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAChD,6CAAwC;AACxC,+CAA0C;AAC1C,yCAAoC;AACpC,6CAAwC;AAWxC,SAAgB,mBAAmB,CAAC,EAAyB;IAC3D,OAAO,CAAC,UAAiB,EAAE,KAAU,EAAE,OAAyB,EAAE,EAAE;QAClE,MAAM,KAAK,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QAE9D,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;YAChB,OAAO,CAAC,GAAG,UAAU,EAAE,KAAK,CAAC,CAAC;SAC/B;QAED,UAAU,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;QAEjE,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC;AAZD,kDAYC;AAED,MAAM,cAAc,GAAG,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;AAE9D,SAAS,UAAU,CAAC,EAAC,QAAQ,EAAE,SAAS,EAAmB;IACzD,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,cAAc,CAAC;KACvB;IAED,IAAI,SAAS,IAAI,QAAQ,CAAC,SAAS,CAAC,EAAE;QACpC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;KAC5B;IAED,OAAO,QAAQ,CAAC,SA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AC,CAAC,MAAM,CAAC,CAAC,GAAQ,EAAE,GAAW,EAAE,EAAE;QAClF,MAAM,GAAG,GAAG,MAAM,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC;QAClC,MAAM,KAAK,GAAG,SAAS,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE;YAC5C,GAAG,OAAO;YACV,SAAS,EAAE,GAAG;SACf,CAAC,CAAC;QAEH,IAAI,OAAO,CAAC,mBAAmB,IAAI,KAAK,KAAK,SAAS,EAAE;YACtD,OAAO,GAAG,CAAC;SACZ;QAED,OAAO;YACL,GAAG,GAAG;YACN,CAAC,GAAG,CAAC,EAAE,KAAK;SACb,CAAC;IACJ,CAAC,EAAE,IAAA,kCAAc,EAAC,MAAM,CAAC,CAAC,CAAC;AAC7B,CAAC;AA/BD,8BA+BC"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getClassOrSymbol = void 0;
4
- const classOf_1 = require("./classOf");
5
- const isClass_1 = require("./isClass");
4
+ const classOf_js_1 = require("./classOf.js");
5
+ const isClass_js_1 = require("./isClass.js");
6
6
  function getClassOrSymbol(target) {
7
- return (0, isClass_1.isClass)(target) ? (0, classOf_1.classOf)(target) : target;
7
+ return (0, isClass_js_1.isClass)(target) ? (0, classOf_js_1.classOf)(target) : target;
8
8
  }
9
9
  exports.getClassOrSymbol = getClassOrSymbol;
10
10
  //# sourceMappingURL=getClassOrSymbol.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getClassOrSymbol.js","sourceRoot":"","sources":["../../../../src/utils/objects/getClassOrSymbol.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAClC,uCAAkC;AAElC,SAAgB,gBAAgB,CAAC,MAAW;IAC1C,OAAO,IAAA,iBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAA,iBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACpD,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getClassOrSymbol.js","sourceRoot":"","sources":["../../../../src/utils/objects/getClassOrSymbol.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AACrC,6CAAqC;AAErC,SAAgB,gBAAgB,CAAC,MAAW;IAC1C,OAAO,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACpD,CAAC;AAFD,4CAEC"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getConstructorArgNames = void 0;
4
- const toStringConstructor_1 = require("./toStringConstructor");
4
+ const toStringConstructor_js_1 = require("./toStringConstructor.js");
5
5
  function getConstructorArgNames(target) {
6
- return (0, toStringConstructor_1.toStringConstructor)(target)
6
+ return (0, toStringConstructor_js_1.toStringConstructor)(target)
7
7
  .split("constructor(")[1]
8
8
  .split(")")[0]
9
9
  .split(", ")
@@ -1 +1 @@
1
- {"version":3,"file":"getConstructorArgNames.js","sourceRoot":"","sources":["../../../../src/utils/objects/getConstructorArgNames.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAE1D,SAAgB,sBAAsB,CAAC,MAAW;IAChD,OAAO,IAAA,yCAAmB,EAAC,MAAM,CAAC;SAC/B,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SACxB,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACb,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAC1B,CAAC;AAPD,wDAOC"}
1
+ {"version":3,"file":"getConstructorArgNames.js","sourceRoot":"","sources":["../../../../src/utils/objects/getConstructorArgNames.ts"],"names":[],"mappings":";;;AAAA,qEAA6D;AAE7D,SAAgB,sBAAsB,CAAC,MAAW;IAChD,OAAO,IAAA,4CAAmB,EAAC,MAAM,CAAC;SAC/B,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SACxB,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACb,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAC1B,CAAC;AAPD,wDAOC"}