@powfix/core-js 0.26.5 → 0.27.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 (126) hide show
  1. package/dist/browser/utils/SearchParamsUtils.cjs +8 -8
  2. package/dist/browser/utils/SearchParamsUtils.js +1 -1
  3. package/dist/{chunk-JE77HYXB.cjs → chunk-QHUNR4O5.cjs} +4 -0
  4. package/dist/{chunk-AQ5VUG5P.js → chunk-S7EYY36U.js} +4 -1
  5. package/dist/node/constants/TransactionManagerLogLevel.cjs +1 -1
  6. package/dist/node/constants/TransactionManagerLogLevel.js +1 -1
  7. package/dist/node/constants/TransactionManagerTimeoutAction.cjs +1 -1
  8. package/dist/node/constants/TransactionManagerTimeoutAction.js +1 -1
  9. package/dist/node/managers/TransactionManager.cjs +7 -7
  10. package/dist/node/managers/TransactionManager.js +1 -1
  11. package/dist/node/services/redis/RedisClient.cjs +4 -4
  12. package/dist/node/services/redis/RedisClient.js +1 -1
  13. package/dist/node/services/redis/RedisPublisher.cjs +2 -2
  14. package/dist/node/services/redis/RedisPublisher.js +1 -1
  15. package/dist/node/services/redis/RedisSubscriber.cjs +1 -1
  16. package/dist/node/services/redis/RedisSubscriber.js +1 -1
  17. package/dist/node/utils/HookUtils.cjs +1 -1
  18. package/dist/node/utils/HookUtils.js +1 -1
  19. package/dist/node/utils/sequelize-utils/SequelizeUtils.cjs +2 -2
  20. package/dist/node/utils/sequelize-utils/SequelizeUtils.js +1 -1
  21. package/dist/shared/constants/COORDINATE.cjs +5 -5
  22. package/dist/shared/constants/COORDINATE.js +1 -1
  23. package/dist/shared/constants/CRUD.cjs +1 -1
  24. package/dist/shared/constants/CRUD.js +1 -1
  25. package/dist/shared/constants/DATE.cjs +1 -1
  26. package/dist/shared/constants/DATE.js +1 -1
  27. package/dist/shared/constants/DISTANCE.cjs +1 -1
  28. package/dist/shared/constants/DISTANCE.js +1 -1
  29. package/dist/shared/constants/DURATION.cjs +1 -1
  30. package/dist/shared/constants/DURATION.js +1 -1
  31. package/dist/shared/constants/NOT_NULL.cjs +1 -1
  32. package/dist/shared/constants/NOT_NULL.js +1 -1
  33. package/dist/shared/features/DedupedTaskManager.cjs +12 -12
  34. package/dist/shared/features/DedupedTaskManager.js +1 -1
  35. package/dist/shared/features/WatchablePromise.cjs +13 -13
  36. package/dist/shared/features/WatchablePromise.js +1 -1
  37. package/dist/shared/interfaces/index.cjs +0 -36
  38. package/dist/shared/interfaces/index.d.ts +4 -4
  39. package/dist/shared/interfaces/index.js +0 -4
  40. package/dist/shared/managers/SessionManager.cjs +4 -4
  41. package/dist/shared/managers/SessionManager.js +1 -1
  42. package/dist/shared/scripts/base64Polyfill.cjs +1 -1
  43. package/dist/shared/scripts/base64Polyfill.js +1 -1
  44. package/dist/shared/services/time/TimeService.cjs +7 -7
  45. package/dist/shared/services/time/TimeService.js +1 -1
  46. package/dist/shared/types/If.d.ts +1 -1
  47. package/dist/shared/types/index.cjs +0 -27
  48. package/dist/shared/types/index.d.ts +3 -3
  49. package/dist/shared/types/index.js +0 -3
  50. package/dist/shared/utils/ArrayUtils.cjs +1 -1
  51. package/dist/shared/utils/ArrayUtils.js +1 -1
  52. package/dist/shared/utils/AxiosUtils.cjs +1 -1
  53. package/dist/shared/utils/AxiosUtils.js +1 -1
  54. package/dist/shared/utils/BooleanUtils.cjs +1 -1
  55. package/dist/shared/utils/BooleanUtils.js +1 -1
  56. package/dist/shared/utils/Calc.cjs +1 -1
  57. package/dist/shared/utils/Calc.js +1 -1
  58. package/dist/shared/utils/CoordinateUtils.cjs +1 -1
  59. package/dist/shared/utils/CoordinateUtils.js +1 -1
  60. package/dist/shared/utils/CyclicCounter.cjs +108 -0
  61. package/dist/shared/utils/CyclicCounter.d.ts +13 -0
  62. package/dist/shared/utils/CyclicCounter.js +108 -0
  63. package/dist/shared/utils/DateUtils.cjs +4 -4
  64. package/dist/shared/utils/DateUtils.js +1 -1
  65. package/dist/shared/utils/Enum.cjs +5 -5
  66. package/dist/shared/utils/Enum.js +1 -1
  67. package/dist/shared/utils/I18nUtils.cjs +1 -1
  68. package/dist/shared/utils/I18nUtils.js +1 -1
  69. package/dist/shared/utils/JuminNumberUtils.cjs +1 -1
  70. package/dist/shared/utils/JuminNumberUtils.js +1 -1
  71. package/dist/shared/utils/NumberUtils.cjs +1 -1
  72. package/dist/shared/utils/NumberUtils.js +1 -1
  73. package/dist/shared/utils/ObjectIdUtils.cjs +1 -1
  74. package/dist/shared/utils/ObjectIdUtils.js +1 -1
  75. package/dist/shared/utils/Point3Utils.cjs +1 -1
  76. package/dist/shared/utils/Point3Utils.js +1 -1
  77. package/dist/shared/utils/RandomUtils.cjs +1 -1
  78. package/dist/shared/utils/RandomUtils.js +1 -1
  79. package/dist/shared/utils/Sequencer.cjs +10 -10
  80. package/dist/shared/utils/Sequencer.js +1 -1
  81. package/dist/shared/utils/StringUtils.cjs +2 -2
  82. package/dist/shared/utils/StringUtils.js +1 -1
  83. package/dist/shared/utils/Uint8ArrayUtils.cjs +1 -1
  84. package/dist/shared/utils/Uint8ArrayUtils.js +1 -1
  85. package/dist/shared/utils/UuidUtils.cjs +1 -1
  86. package/dist/shared/utils/UuidUtils.js +1 -1
  87. package/dist/shared/utils/Validator.cjs +1 -1
  88. package/dist/shared/utils/Validator.js +1 -1
  89. package/dist/shared/utils/global/atob.cjs +1 -1
  90. package/dist/shared/utils/global/atob.js +1 -1
  91. package/dist/shared/utils/global/base64.cjs +1 -1
  92. package/dist/shared/utils/global/base64.js +1 -1
  93. package/dist/shared/utils/global/between.cjs +1 -1
  94. package/dist/shared/utils/global/between.js +1 -1
  95. package/dist/shared/utils/global/btoa.cjs +1 -1
  96. package/dist/shared/utils/global/btoa.js +1 -1
  97. package/dist/shared/utils/global/castArray.cjs +1 -1
  98. package/dist/shared/utils/global/castArray.js +1 -1
  99. package/dist/shared/utils/global/circularDistance.cjs +1 -1
  100. package/dist/shared/utils/global/circularDistance.js +1 -1
  101. package/dist/shared/utils/global/fallbackIfMatch.cjs +1 -1
  102. package/dist/shared/utils/global/fallbackIfMatch.js +1 -1
  103. package/dist/shared/utils/global/fallbackIfNull.cjs +1 -1
  104. package/dist/shared/utils/global/fallbackIfNull.js +1 -1
  105. package/dist/shared/utils/global/fallbackIfNullish.cjs +1 -1
  106. package/dist/shared/utils/global/fallbackIfNullish.js +1 -1
  107. package/dist/shared/utils/global/fallbackIfUndefined.cjs +1 -1
  108. package/dist/shared/utils/global/fallbackIfUndefined.js +1 -1
  109. package/dist/shared/utils/global/firstNonNullish.cjs +1 -1
  110. package/dist/shared/utils/global/firstNonNullish.js +1 -1
  111. package/dist/shared/utils/global/flat.cjs +1 -1
  112. package/dist/shared/utils/global/flat.js +1 -1
  113. package/dist/shared/utils/global/mapIfNotNullish.cjs +1 -1
  114. package/dist/shared/utils/global/mapIfNotNullish.js +1 -1
  115. package/dist/shared/utils/global/processFirstNonNullish.cjs +1 -1
  116. package/dist/shared/utils/global/processFirstNonNullish.js +1 -1
  117. package/dist/shared/utils/global/pureEnum.cjs +1 -1
  118. package/dist/shared/utils/global/pureEnum.js +1 -1
  119. package/dist/shared/utils/global/sleep.cjs +1 -1
  120. package/dist/shared/utils/global/sleep.js +1 -1
  121. package/dist/shared/utils/index.cjs +9 -0
  122. package/dist/shared/utils/index.d.ts +1 -0
  123. package/dist/shared/utils/index.js +1 -0
  124. package/dist/shared/utils/try-catch/TryCatch.cjs +1 -1
  125. package/dist/shared/utils/try-catch/TryCatch.js +1 -1
  126. package/package.json +1 -1
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- import '../../chunk-AQ5VUG5P.js';
20
+ import '../../chunk-S7EYY36U.js';
21
21
  var Point3Utils = /*#__PURE__*/ function() {
22
22
  "use strict";
23
23
  function Point3Utils() {
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
18
18
  if (staticProps) _defineProperties(Constructor, staticProps);
19
19
  return Constructor;
20
20
  }
21
- require('../../chunk-JE77HYXB.cjs');
21
+ require('../../chunk-QHUNR4O5.cjs');
22
22
  var RandomUtils = /*#__PURE__*/ function() {
23
23
  function RandomUtils() {
24
24
  _class_call_check(this, RandomUtils);
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- import '../../chunk-AQ5VUG5P.js';
20
+ import '../../chunk-S7EYY36U.js';
21
21
  var RandomUtils = /*#__PURE__*/ function() {
22
22
  "use strict";
23
23
  function RandomUtils() {
@@ -181,7 +181,7 @@ function _ts_values(o) {
181
181
  };
182
182
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
183
183
  }
184
- var chunkJE77HYXB_cjs = require('../../chunk-JE77HYXB.cjs');
184
+ var chunkQHUNR4O5_cjs = require('../../chunk-QHUNR4O5.cjs');
185
185
  var moment = require('moment');
186
186
  var EventEmitter3 = require('eventemitter3');
187
187
  function _interopDefault(e) {
@@ -209,19 +209,19 @@ var Sequencer = /*#__PURE__*/ function() {
209
209
  function Sequencer(option) {
210
210
  var _this = this;
211
211
  _class_call_check(this, Sequencer);
212
- chunkJE77HYXB_cjs.__publicField(this, "sequences", []);
213
- chunkJE77HYXB_cjs.__publicField(this, "status", 0 /* IDLE */ );
214
- chunkJE77HYXB_cjs.__publicField(this, "minimumExecutionTime", 0);
212
+ chunkQHUNR4O5_cjs.__publicField(this, "sequences", []);
213
+ chunkQHUNR4O5_cjs.__publicField(this, "status", 0 /* IDLE */ );
214
+ chunkQHUNR4O5_cjs.__publicField(this, "minimumExecutionTime", 0);
215
215
  // Reset variables task is done
216
- chunkJE77HYXB_cjs.__publicField(this, "currentSequence", null);
217
- chunkJE77HYXB_cjs.__publicField(this, "startTimestamp", null);
218
- chunkJE77HYXB_cjs.__publicField(this, "endTimestamp", null);
216
+ chunkQHUNR4O5_cjs.__publicField(this, "currentSequence", null);
217
+ chunkQHUNR4O5_cjs.__publicField(this, "startTimestamp", null);
218
+ chunkQHUNR4O5_cjs.__publicField(this, "endTimestamp", null);
219
219
  // Emitter
220
- chunkJE77HYXB_cjs.__publicField(this, "eventEmitter", new EventEmitter3__default.default());
221
- chunkJE77HYXB_cjs.__publicField(this, "pushSequence", function(sequence) {
220
+ chunkQHUNR4O5_cjs.__publicField(this, "eventEmitter", new EventEmitter3__default.default());
221
+ chunkQHUNR4O5_cjs.__publicField(this, "pushSequence", function(sequence) {
222
222
  _this.sequences.push(sequence);
223
223
  });
224
- chunkJE77HYXB_cjs.__publicField(this, "start", function() {
224
+ chunkQHUNR4O5_cjs.__publicField(this, "start", function() {
225
225
  return _async_to_generator(function() {
226
226
  var _this, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _this1, _loop, _iterator, _step, _ret, err;
227
227
  return _ts_generator(this, function(_state) {
@@ -180,7 +180,7 @@ function _ts_values(o) {
180
180
  };
181
181
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
182
182
  }
183
- import { __publicField } from '../../chunk-AQ5VUG5P.js';
183
+ import { __publicField } from '../../chunk-S7EYY36U.js';
184
184
  import moment from 'moment';
185
185
  import EventEmitter3 from 'eventemitter3';
186
186
  var SequencerStatus = /* @__PURE__ */ function(SequencerStatus2) {
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
18
18
  if (staticProps) _defineProperties(Constructor, staticProps);
19
19
  return Constructor;
20
20
  }
21
- var chunkJE77HYXB_cjs = require('../../chunk-JE77HYXB.cjs');
21
+ var chunkQHUNR4O5_cjs = require('../../chunk-QHUNR4O5.cjs');
22
22
  var StringUtils = /*#__PURE__*/ function() {
23
23
  function StringUtils() {
24
24
  _class_call_check(this, StringUtils);
@@ -47,7 +47,7 @@ var StringUtils = /*#__PURE__*/ function() {
47
47
  ]);
48
48
  return StringUtils;
49
49
  }();
50
- chunkJE77HYXB_cjs.__publicField(StringUtils, "levenshteinDistance", function() {
50
+ chunkQHUNR4O5_cjs.__publicField(StringUtils, "levenshteinDistance", function() {
51
51
  var str1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", str2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
52
52
  var track = Array(str2.length + 1).fill(null).map(function() {
53
53
  return Array(str1.length + 1).fill(null);
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- import { __publicField } from '../../chunk-AQ5VUG5P.js';
20
+ import { __publicField } from '../../chunk-S7EYY36U.js';
21
21
  var StringUtils = /*#__PURE__*/ function() {
22
22
  "use strict";
23
23
  function StringUtils() {
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
18
18
  if (staticProps) _defineProperties(Constructor, staticProps);
19
19
  return Constructor;
20
20
  }
21
- require('../../chunk-JE77HYXB.cjs');
21
+ require('../../chunk-QHUNR4O5.cjs');
22
22
  var Uint8ArrayUtils = /*#__PURE__*/ function() {
23
23
  function Uint8ArrayUtils() {
24
24
  _class_call_check(this, Uint8ArrayUtils);
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- import '../../chunk-AQ5VUG5P.js';
20
+ import '../../chunk-S7EYY36U.js';
21
21
  var Uint8ArrayUtils = /*#__PURE__*/ function() {
22
22
  "use strict";
23
23
  function Uint8ArrayUtils() {
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
18
18
  if (staticProps) _defineProperties(Constructor, staticProps);
19
19
  return Constructor;
20
20
  }
21
- require('../../chunk-JE77HYXB.cjs');
21
+ require('../../chunk-QHUNR4O5.cjs');
22
22
  var uuid = require('uuid');
23
23
  var Uint8ArrayUtils = require('./Uint8ArrayUtils');
24
24
  function _interopNamespace(e) {
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- import '../../chunk-AQ5VUG5P.js';
20
+ import '../../chunk-S7EYY36U.js';
21
21
  import * as uuid from 'uuid';
22
22
  import { Uint8ArrayUtils } from './Uint8ArrayUtils.js';
23
23
  var UuidUtils = /*#__PURE__*/ function() {
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
18
18
  if (staticProps) _defineProperties(Constructor, staticProps);
19
19
  return Constructor;
20
20
  }
21
- require('../../chunk-JE77HYXB.cjs');
21
+ require('../../chunk-QHUNR4O5.cjs');
22
22
  var Validator = /*#__PURE__*/ function() {
23
23
  function Validator() {
24
24
  _class_call_check(this, Validator);
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- import '../../chunk-AQ5VUG5P.js';
20
+ import '../../chunk-S7EYY36U.js';
21
21
  var Validator = /*#__PURE__*/ function() {
22
22
  "use strict";
23
23
  function Validator() {
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var base64 = require('base-64');
4
4
  function _interopDefault(e) {
5
5
  return e && e.__esModule ? e : {
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  import base64 from 'base-64';
3
3
  var decode = base64.decode;
4
4
  var atob = decode;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var btoa = require('./btoa');
4
4
  var atob = require('./atob');
5
5
  function encodeBase64(str) {
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  import { btoa } from './btoa.js';
3
3
  import { atob } from './atob.js';
4
4
  function encodeBase64(str) {
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var between = function(value, from, to) {
4
4
  return value >= from && value <= to;
5
5
  };
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  var between = function(value, from, to) {
3
3
  return value >= from && value <= to;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var base64 = require('base-64');
4
4
  function _interopDefault(e) {
5
5
  return e && e.__esModule ? e : {
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  import base64 from 'base-64';
3
3
  var decode = base64.decode, encode = base64.encode;
4
4
  var btoa = encode;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  function castArray(value) {
4
4
  return Array.isArray(value) ? value : [
5
5
  value
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  function castArray(value) {
3
3
  return Array.isArray(value) ? value : [
4
4
  value
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  function circularDistance(value, target, min, max) {
4
4
  var range = max - min;
5
5
  var from = value - min;
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  function circularDistance(value, target, min, max) {
3
3
  var range = max - min;
4
4
  var from = value - min;
@@ -3,7 +3,7 @@ function _type_of(obj) {
3
3
  "@swc/helpers - typeof";
4
4
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
5
5
  }
6
- require('../../../chunk-JE77HYXB.cjs');
6
+ require('../../../chunk-QHUNR4O5.cjs');
7
7
  function fallbackIfMatch(value, condition, fallback) {
8
8
  if ((typeof value === "undefined" ? "undefined" : _type_of(value)) === (typeof condition === "undefined" ? "undefined" : _type_of(condition)) && value === condition) {
9
9
  return fallback;
@@ -2,7 +2,7 @@ function _type_of(obj) {
2
2
  "@swc/helpers - typeof";
3
3
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
4
4
  }
5
- import '../../../chunk-AQ5VUG5P.js';
5
+ import '../../../chunk-S7EYY36U.js';
6
6
  function fallbackIfMatch(value, condition, fallback) {
7
7
  if ((typeof value === "undefined" ? "undefined" : _type_of(value)) === (typeof condition === "undefined" ? "undefined" : _type_of(condition)) && value === condition) {
8
8
  return fallback;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var fallbackIfMatch = require('./fallbackIfMatch');
4
4
  function fallbackIfNull(value, fallback) {
5
5
  return fallbackIfMatch.fallbackIfMatch(value, null, fallback);
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  import { fallbackIfMatch } from './fallbackIfMatch.js';
3
3
  function fallbackIfNull(value, fallback) {
4
4
  return fallbackIfMatch(value, null, fallback);
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  function fallbackIfNullish(value, fallback) {
4
4
  if (value == null) {
5
5
  return fallback;
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  function fallbackIfNullish(value, fallback) {
3
3
  if (value == null) {
4
4
  return fallback;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var fallbackIfMatch = require('./fallbackIfMatch');
4
4
  function fallbackIfUndefined(value, fallback) {
5
5
  return fallbackIfMatch.fallbackIfMatch(value, void 0, fallback);
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  import { fallbackIfMatch } from './fallbackIfMatch.js';
3
3
  function fallbackIfUndefined(value, fallback) {
4
4
  return fallbackIfMatch(value, void 0, fallback);
@@ -24,7 +24,7 @@ function _unsupported_iterable_to_array(o, minLen) {
24
24
  if (n === "Map" || n === "Set") return Array.from(n);
25
25
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
26
26
  }
27
- require('../../../chunk-JE77HYXB.cjs');
27
+ require('../../../chunk-QHUNR4O5.cjs');
28
28
  function firstNonNullish() {
29
29
  for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
30
30
  args[_key] = arguments[_key];
@@ -23,7 +23,7 @@ function _unsupported_iterable_to_array(o, minLen) {
23
23
  if (n === "Map" || n === "Set") return Array.from(n);
24
24
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25
25
  }
26
- import '../../../chunk-AQ5VUG5P.js';
26
+ import '../../../chunk-S7EYY36U.js';
27
27
  function firstNonNullish() {
28
28
  for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
29
29
  args[_key] = arguments[_key];
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  function isBuffer(obj) {
4
4
  return !!(obj && obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj));
5
5
  }
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  function isBuffer(obj) {
3
3
  return !!(obj && obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj));
4
4
  }
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  function mapIfNotNullish(input, callback) {
4
4
  if (input == null) {
5
5
  return input;
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  function mapIfNotNullish(input, callback) {
3
3
  if (input == null) {
4
4
  return input;
@@ -24,7 +24,7 @@ function _unsupported_iterable_to_array(o, minLen) {
24
24
  if (n === "Map" || n === "Set") return Array.from(n);
25
25
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
26
26
  }
27
- require('../../../chunk-JE77HYXB.cjs');
27
+ require('../../../chunk-QHUNR4O5.cjs');
28
28
  var firstNonNullish = require('./firstNonNullish');
29
29
  function processFirstNonNullish(processor) {
30
30
  for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
@@ -23,7 +23,7 @@ function _unsupported_iterable_to_array(o, minLen) {
23
23
  if (n === "Map" || n === "Set") return Array.from(n);
24
24
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25
25
  }
26
- import '../../../chunk-AQ5VUG5P.js';
26
+ import '../../../chunk-S7EYY36U.js';
27
27
  import { firstNonNullish } from './firstNonNullish.js';
28
28
  function processFirstNonNullish(processor) {
29
29
  for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
@@ -45,7 +45,7 @@ function _unsupported_iterable_to_array(o, minLen) {
45
45
  if (n === "Map" || n === "Set") return Array.from(n);
46
46
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
47
47
  }
48
- require('../../../chunk-JE77HYXB.cjs');
48
+ require('../../../chunk-QHUNR4O5.cjs');
49
49
  function pureEnum(e) {
50
50
  return Object.entries(e).filter(function(param) {
51
51
  var _param = _sliced_to_array(param, 2), key = _param[0], value = _param[1];
@@ -44,7 +44,7 @@ function _unsupported_iterable_to_array(o, minLen) {
44
44
  if (n === "Map" || n === "Set") return Array.from(n);
45
45
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
46
46
  }
47
- import '../../../chunk-AQ5VUG5P.js';
47
+ import '../../../chunk-S7EYY36U.js';
48
48
  function pureEnum(e) {
49
49
  return Object.entries(e).filter(function(param) {
50
50
  var _param = _sliced_to_array(param, 2), key = _param[0], value = _param[1];
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- require('../../../chunk-JE77HYXB.cjs');
2
+ require('../../../chunk-QHUNR4O5.cjs');
3
3
  var sleep = function(ms) {
4
4
  return new Promise(function(resolve) {
5
5
  return setTimeout(resolve, ms);
@@ -1,4 +1,4 @@
1
- import '../../../chunk-AQ5VUG5P.js';
1
+ import '../../../chunk-S7EYY36U.js';
2
2
  var sleep = function(ms) {
3
3
  return new Promise(function(resolve) {
4
4
  return setTimeout(resolve, ms);
@@ -8,6 +8,7 @@ var UuidUtils = require('./UuidUtils');
8
8
  var BooleanUtils = require('./BooleanUtils');
9
9
  var Calc = require('./Calc');
10
10
  var CoordinateUtils = require('./CoordinateUtils');
11
+ var CyclicCounter = require('./CyclicCounter');
11
12
  var DateUtils = require('./DateUtils');
12
13
  var Enum = require('./Enum');
13
14
  var Enum_types = require('./Enum.types');
@@ -92,6 +93,14 @@ Object.keys(CoordinateUtils).forEach(function(k) {
92
93
  }
93
94
  });
94
95
  });
96
+ Object.keys(CyclicCounter).forEach(function(k) {
97
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
98
+ enumerable: true,
99
+ get: function get() {
100
+ return CyclicCounter[k];
101
+ }
102
+ });
103
+ });
95
104
  Object.keys(DateUtils).forEach(function(k) {
96
105
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
97
106
  enumerable: true,
@@ -7,6 +7,7 @@ export * from './UuidUtils.js';
7
7
  export * from './BooleanUtils.js';
8
8
  export * from './Calc.js';
9
9
  export * from './CoordinateUtils.js';
10
+ export * from "./CyclicCounter.js";
10
11
  export * from './DateUtils.js';
11
12
  export * from './Enum.js';
12
13
  export * from './Enum.types.js';
@@ -7,6 +7,7 @@ export * from './UuidUtils.js';
7
7
  export * from './BooleanUtils.js';
8
8
  export * from './Calc.js';
9
9
  export * from './CoordinateUtils.js';
10
+ export * from './CyclicCounter.js';
10
11
  export * from './DateUtils.js';
11
12
  export * from './Enum.js';
12
13
  export * from './Enum.types.js';
@@ -138,7 +138,7 @@ function _ts_generator(thisArg, body) {
138
138
  };
139
139
  }
140
140
  }
141
- require('../../../chunk-JE77HYXB.cjs');
141
+ require('../../../chunk-QHUNR4O5.cjs');
142
142
  var TryCatch = /*#__PURE__*/ function() {
143
143
  function TryCatch() {
144
144
  _class_call_check(this, TryCatch);
@@ -137,7 +137,7 @@ function _ts_generator(thisArg, body) {
137
137
  };
138
138
  }
139
139
  }
140
- import '../../../chunk-AQ5VUG5P.js';
140
+ import '../../../chunk-S7EYY36U.js';
141
141
  var TryCatch = /*#__PURE__*/ function() {
142
142
  "use strict";
143
143
  function TryCatch() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powfix/core-js",
3
- "version": "0.26.5",
3
+ "version": "0.27.0",
4
4
  "description": "core package",
5
5
  "author": "Kwon Kyung-Min <powfix@gmail.com>",
6
6
  "private": false,