@valkyriestudios/utils 12.34.0 → 12.36.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.
package/array/sort.js CHANGED
@@ -4,17 +4,15 @@ exports.sort = sort;
4
4
  exports.default = sort;
5
5
  const is_1 = require("../object/is");
6
6
  const INSERTION_SORT_THRESHOLD = 10;
7
- function partition(arr, low, high) {
7
+ function partitionAsc(arr, low, high) {
8
8
  const pivot = arr[(low + high) >> 1][0];
9
9
  let i = low;
10
10
  let j = high;
11
11
  while (i <= j) {
12
- while (arr[i][0] < pivot) {
12
+ while (arr[i][0] < pivot)
13
13
  i++;
14
- }
15
- while (arr[j][0] > pivot) {
14
+ while (arr[j][0] > pivot)
16
15
  j--;
17
- }
18
16
  if (i <= j) {
19
17
  [arr[i], arr[j]] = [arr[j], arr[i]];
20
18
  i++;
@@ -23,7 +21,7 @@ function partition(arr, low, high) {
23
21
  }
24
22
  return i;
25
23
  }
26
- function quickSort(arr) {
24
+ function quickSortAsc(arr) {
27
25
  const stack = [[0, arr.length - 1]];
28
26
  while (stack.length) {
29
27
  const [low, high] = stack.pop();
@@ -39,7 +37,48 @@ function quickSort(arr) {
39
37
  }
40
38
  }
41
39
  else {
42
- const p = partition(arr, low, high);
40
+ const p = partitionAsc(arr, low, high);
41
+ if (p - 1 > low)
42
+ stack.push([low, p - 1]);
43
+ if (p < high)
44
+ stack.push([p, high]);
45
+ }
46
+ }
47
+ }
48
+ function partitionDesc(arr, low, high) {
49
+ const pivot = arr[(low + high) >> 1][0];
50
+ let i = low;
51
+ let j = high;
52
+ while (i <= j) {
53
+ while (arr[i][0] > pivot)
54
+ i++;
55
+ while (arr[j][0] < pivot)
56
+ j--;
57
+ if (i <= j) {
58
+ [arr[i], arr[j]] = [arr[j], arr[i]];
59
+ i++;
60
+ j--;
61
+ }
62
+ }
63
+ return i;
64
+ }
65
+ function quickSortDesc(arr) {
66
+ const stack = [[0, arr.length - 1]];
67
+ while (stack.length) {
68
+ const [low, high] = stack.pop();
69
+ if (high - low <= INSERTION_SORT_THRESHOLD) {
70
+ for (let i = low + 1; i <= high; i++) {
71
+ const key = arr[i];
72
+ let j = i - 1;
73
+ while (j >= low && arr[j][0] < key[0]) {
74
+ arr[j + 1] = arr[j];
75
+ j--;
76
+ }
77
+ arr[j + 1] = key;
78
+ }
79
+ }
80
+ else {
81
+ const p = partitionDesc(arr, low, high);
43
82
  if (p - 1 > low)
44
83
  stack.push([low, p - 1]);
45
84
  if (p < high)
@@ -60,51 +99,42 @@ function sort(arr, by, dir = 'asc', opts) {
60
99
  const fn = opts.filter_fn;
61
100
  FILTER_FN = (el => (0, is_1.isObject)(el) && fn(el));
62
101
  }
63
- const prepared_arr = [];
64
- const nokey_arr = [];
65
- if (typeof by === 'string') {
66
- const by_s = by.trim();
67
- if (!by_s.length)
68
- throw new Error('Sort by as string should contain content');
69
- for (let i = 0; i < len; i++) {
70
- const el = arr[i];
71
- if (!FILTER_FN(el))
72
- continue;
73
- const key = el?.[by_s];
74
- if (key === undefined) {
75
- nokey_arr.push(el);
76
- }
77
- else {
78
- prepared_arr.push([key, el]);
79
- }
80
- }
102
+ const by_type = typeof by;
103
+ let BY_FN;
104
+ switch (by_type) {
105
+ case 'function':
106
+ BY_FN = by;
107
+ break;
108
+ case 'string':
109
+ if (!by.length)
110
+ throw new Error('Sort by as string should contain content');
111
+ BY_FN = ((val) => val?.[by]);
112
+ break;
113
+ default:
114
+ throw new Error('Sort by should either be a string with content or a function');
81
115
  }
82
- else if (typeof by === 'function') {
83
- for (let i = 0; i < len; i++) {
84
- const el = arr[i];
85
- if (!FILTER_FN(el))
86
- continue;
87
- const key = by(el);
88
- if (key === undefined) {
89
- nokey_arr.push(el);
90
- }
91
- else {
92
- prepared_arr.push([key, el]);
93
- }
116
+ const tosort_arr = [];
117
+ const noval_arr = [];
118
+ for (let i = 0; i < len; i++) {
119
+ const el = arr[i];
120
+ if (FILTER_FN(el)) {
121
+ const val = BY_FN(el);
122
+ if (val === undefined)
123
+ noval_arr.push(el);
124
+ else
125
+ tosort_arr.push([val, el]);
94
126
  }
95
127
  }
96
- else {
97
- throw new Error('Sort by should either be a string with content or a function');
98
- }
99
- quickSort(prepared_arr);
100
128
  if (dir === 'desc')
101
- prepared_arr.reverse();
129
+ quickSortDesc(tosort_arr);
130
+ else
131
+ quickSortAsc(tosort_arr);
102
132
  const rslt = [];
103
133
  if (!NOKEY_HIDE && !NOKEY_AT_END)
104
- rslt.push(...nokey_arr);
105
- for (let i = 0; i < prepared_arr.length; i++)
106
- rslt.push(prepared_arr[i][1]);
134
+ rslt.push(...noval_arr);
135
+ for (let i = 0; i < tosort_arr.length; i++)
136
+ rslt.push(tosort_arr[i][1]);
107
137
  if (!NOKEY_HIDE && NOKEY_AT_END)
108
- rslt.push(...nokey_arr);
138
+ rslt.push(...noval_arr);
109
139
  return rslt;
110
140
  }
@@ -1,2 +1 @@
1
- import { isBoolean } from './is';
2
- export { isBoolean, isBoolean as is };
1
+ export { isBoolean } from './is';
package/boolean/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.is = exports.isBoolean = void 0;
4
- const is_1 = require("./is");
3
+ exports.isBoolean = void 0;
4
+ var is_1 = require("./is");
5
5
  Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return is_1.isBoolean; } });
6
- Object.defineProperty(exports, "is", { enumerable: true, get: function () { return is_1.isBoolean; } });
@@ -1,3 +1,3 @@
1
- import { LRUCache } from './LRU';
2
- import { memoize } from './memoize';
3
- export { LRUCache, LRUCache as LRU, memoize };
1
+ export { memoize } from './memoize';
2
+ export { LRUCache } from './LRU';
3
+ export { LRUCache as LRU } from './LRU';
package/caching/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.memoize = exports.LRU = exports.LRUCache = void 0;
4
- const LRU_1 = require("./LRU");
5
- Object.defineProperty(exports, "LRUCache", { enumerable: true, get: function () { return LRU_1.LRUCache; } });
6
- Object.defineProperty(exports, "LRU", { enumerable: true, get: function () { return LRU_1.LRUCache; } });
7
- const memoize_1 = require("./memoize");
3
+ exports.LRU = exports.LRUCache = exports.memoize = void 0;
4
+ var memoize_1 = require("./memoize");
8
5
  Object.defineProperty(exports, "memoize", { enumerable: true, get: function () { return memoize_1.memoize; } });
6
+ var LRU_1 = require("./LRU");
7
+ Object.defineProperty(exports, "LRUCache", { enumerable: true, get: function () { return LRU_1.LRUCache; } });
8
+ var LRU_2 = require("./LRU");
9
+ Object.defineProperty(exports, "LRU", { enumerable: true, get: function () { return LRU_2.LRUCache; } });
package/date/format.js CHANGED
@@ -178,6 +178,9 @@ function getSpecChain(spec) {
178
178
  spec_cache.set(spec, result);
179
179
  return result;
180
180
  }
181
+ const SPEC_ALIASES = {
182
+ ISO: 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]',
183
+ };
181
184
  function format(val, spec, locale = DEFAULT_LOCALE, zone = DEFAULT_TZ, sow = DEFAULT_SOW) {
182
185
  const n_val = (0, convertToDate_1.convertToDate)(val);
183
186
  if (n_val === null)
@@ -188,7 +191,7 @@ function format(val, spec, locale = DEFAULT_LOCALE, zone = DEFAULT_TZ, sow = DEF
188
191
  throw new TypeError('format: locale must be a string');
189
192
  if (typeof zone !== 'string')
190
193
  throw new TypeError('format: zone must be a string');
191
- const n_spec = getSpecChain(spec);
194
+ const n_spec = getSpecChain(SPEC_ALIASES[spec] || spec);
192
195
  if (!n_spec)
193
196
  return n_val.toISOString();
194
197
  const d = toZone(n_val, zone);
package/date/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { addUTC } from './addUTC';
2
- import { convertToDate } from './convertToDate';
3
- import { diff } from './diff';
4
- import { endOfUTC } from './endOfUTC';
5
- import { format } from './format';
6
- import { isDateFormat } from './isFormat';
7
- import { isDate } from './is';
8
- import { isLeap } from './isLeap';
9
- import { nowUnix } from './nowUnix';
10
- import { nowUnixMs } from './nowUnixMs';
11
- import { setTimeUTC } from './setTimeUTC';
12
- import { startOfUTC } from './startOfUTC';
13
- import { toUnix } from './toUnix';
14
- import { toUTC } from './toUTC';
15
- export { addUTC, convertToDate, diff, endOfUTC, format, isDateFormat as isFormat, isDateFormat, isDate, isDate as is, isLeap, nowUnix, nowUnixMs, setTimeUTC, startOfUTC, toUnix, toUTC };
1
+ export { addUTC } from './addUTC';
2
+ export { convertToDate } from './convertToDate';
3
+ export { diff } from './diff';
4
+ export { endOfUTC } from './endOfUTC';
5
+ export { format } from './format';
6
+ export { isLeap } from './isLeap';
7
+ export { nowUnix } from './nowUnix';
8
+ export { nowUnixMs } from './nowUnixMs';
9
+ export { setTimeUTC } from './setTimeUTC';
10
+ export { startOfUTC } from './startOfUTC';
11
+ export { toUnix } from './toUnix';
12
+ export { toUTC } from './toUTC';
13
+ export { isDateFormat as isFormat } from './isFormat';
14
+ export { isDateFormat } from './isFormat';
15
+ export { isDate } from './is';
package/date/index.js CHANGED
@@ -1,33 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toUTC = exports.toUnix = exports.startOfUTC = exports.setTimeUTC = exports.nowUnixMs = exports.nowUnix = exports.isLeap = exports.is = exports.isDate = exports.isDateFormat = exports.isFormat = exports.format = exports.endOfUTC = exports.diff = exports.convertToDate = exports.addUTC = void 0;
4
- const addUTC_1 = require("./addUTC");
3
+ exports.isDate = exports.isDateFormat = exports.isFormat = exports.toUTC = exports.toUnix = exports.startOfUTC = exports.setTimeUTC = exports.nowUnixMs = exports.nowUnix = exports.isLeap = exports.format = exports.endOfUTC = exports.diff = exports.convertToDate = exports.addUTC = void 0;
4
+ var addUTC_1 = require("./addUTC");
5
5
  Object.defineProperty(exports, "addUTC", { enumerable: true, get: function () { return addUTC_1.addUTC; } });
6
- const convertToDate_1 = require("./convertToDate");
6
+ var convertToDate_1 = require("./convertToDate");
7
7
  Object.defineProperty(exports, "convertToDate", { enumerable: true, get: function () { return convertToDate_1.convertToDate; } });
8
- const diff_1 = require("./diff");
8
+ var diff_1 = require("./diff");
9
9
  Object.defineProperty(exports, "diff", { enumerable: true, get: function () { return diff_1.diff; } });
10
- const endOfUTC_1 = require("./endOfUTC");
10
+ var endOfUTC_1 = require("./endOfUTC");
11
11
  Object.defineProperty(exports, "endOfUTC", { enumerable: true, get: function () { return endOfUTC_1.endOfUTC; } });
12
- const format_1 = require("./format");
12
+ var format_1 = require("./format");
13
13
  Object.defineProperty(exports, "format", { enumerable: true, get: function () { return format_1.format; } });
14
- const isFormat_1 = require("./isFormat");
15
- Object.defineProperty(exports, "isFormat", { enumerable: true, get: function () { return isFormat_1.isDateFormat; } });
16
- Object.defineProperty(exports, "isDateFormat", { enumerable: true, get: function () { return isFormat_1.isDateFormat; } });
17
- const is_1 = require("./is");
18
- Object.defineProperty(exports, "isDate", { enumerable: true, get: function () { return is_1.isDate; } });
19
- Object.defineProperty(exports, "is", { enumerable: true, get: function () { return is_1.isDate; } });
20
- const isLeap_1 = require("./isLeap");
14
+ var isLeap_1 = require("./isLeap");
21
15
  Object.defineProperty(exports, "isLeap", { enumerable: true, get: function () { return isLeap_1.isLeap; } });
22
- const nowUnix_1 = require("./nowUnix");
16
+ var nowUnix_1 = require("./nowUnix");
23
17
  Object.defineProperty(exports, "nowUnix", { enumerable: true, get: function () { return nowUnix_1.nowUnix; } });
24
- const nowUnixMs_1 = require("./nowUnixMs");
18
+ var nowUnixMs_1 = require("./nowUnixMs");
25
19
  Object.defineProperty(exports, "nowUnixMs", { enumerable: true, get: function () { return nowUnixMs_1.nowUnixMs; } });
26
- const setTimeUTC_1 = require("./setTimeUTC");
20
+ var setTimeUTC_1 = require("./setTimeUTC");
27
21
  Object.defineProperty(exports, "setTimeUTC", { enumerable: true, get: function () { return setTimeUTC_1.setTimeUTC; } });
28
- const startOfUTC_1 = require("./startOfUTC");
22
+ var startOfUTC_1 = require("./startOfUTC");
29
23
  Object.defineProperty(exports, "startOfUTC", { enumerable: true, get: function () { return startOfUTC_1.startOfUTC; } });
30
- const toUnix_1 = require("./toUnix");
24
+ var toUnix_1 = require("./toUnix");
31
25
  Object.defineProperty(exports, "toUnix", { enumerable: true, get: function () { return toUnix_1.toUnix; } });
32
- const toUTC_1 = require("./toUTC");
26
+ var toUTC_1 = require("./toUTC");
33
27
  Object.defineProperty(exports, "toUTC", { enumerable: true, get: function () { return toUTC_1.toUTC; } });
28
+ var isFormat_1 = require("./isFormat");
29
+ Object.defineProperty(exports, "isFormat", { enumerable: true, get: function () { return isFormat_1.isDateFormat; } });
30
+ var isFormat_2 = require("./isFormat");
31
+ Object.defineProperty(exports, "isDateFormat", { enumerable: true, get: function () { return isFormat_2.isDateFormat; } });
32
+ var is_1 = require("./is");
33
+ Object.defineProperty(exports, "isDate", { enumerable: true, get: function () { return is_1.isDate; } });
package/deep/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
- import { deepFreeze } from './freeze';
2
- import { deepGet } from './get';
3
- import { deepSeal } from './seal';
4
- import { deepSet } from './set';
5
- export { deepFreeze as freeze, deepFreeze, deepGet as get, deepGet, deepSeal as seal, deepSeal, deepSet as set, deepSet };
1
+ export { deepFreeze as freeze } from './freeze';
2
+ export { deepFreeze } from './freeze';
3
+ export { deepGet as get } from './get';
4
+ export { deepGet } from './get';
5
+ export { deepSeal as seal } from './seal';
6
+ export { deepSeal } from './seal';
7
+ export { deepSet as set } from './set';
8
+ export { deepSet } from './set';
package/deep/index.js CHANGED
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deepSet = exports.set = exports.deepSeal = exports.seal = exports.deepGet = exports.get = exports.deepFreeze = exports.freeze = void 0;
4
- const freeze_1 = require("./freeze");
4
+ var freeze_1 = require("./freeze");
5
5
  Object.defineProperty(exports, "freeze", { enumerable: true, get: function () { return freeze_1.deepFreeze; } });
6
- Object.defineProperty(exports, "deepFreeze", { enumerable: true, get: function () { return freeze_1.deepFreeze; } });
7
- const get_1 = require("./get");
6
+ var freeze_2 = require("./freeze");
7
+ Object.defineProperty(exports, "deepFreeze", { enumerable: true, get: function () { return freeze_2.deepFreeze; } });
8
+ var get_1 = require("./get");
8
9
  Object.defineProperty(exports, "get", { enumerable: true, get: function () { return get_1.deepGet; } });
9
- Object.defineProperty(exports, "deepGet", { enumerable: true, get: function () { return get_1.deepGet; } });
10
- const seal_1 = require("./seal");
10
+ var get_2 = require("./get");
11
+ Object.defineProperty(exports, "deepGet", { enumerable: true, get: function () { return get_2.deepGet; } });
12
+ var seal_1 = require("./seal");
11
13
  Object.defineProperty(exports, "seal", { enumerable: true, get: function () { return seal_1.deepSeal; } });
12
- Object.defineProperty(exports, "deepSeal", { enumerable: true, get: function () { return seal_1.deepSeal; } });
13
- const set_1 = require("./set");
14
+ var seal_2 = require("./seal");
15
+ Object.defineProperty(exports, "deepSeal", { enumerable: true, get: function () { return seal_2.deepSeal; } });
16
+ var set_1 = require("./set");
14
17
  Object.defineProperty(exports, "set", { enumerable: true, get: function () { return set_1.deepSet; } });
15
- Object.defineProperty(exports, "deepSet", { enumerable: true, get: function () { return set_1.deepSet; } });
18
+ var set_2 = require("./set");
19
+ Object.defineProperty(exports, "deepSet", { enumerable: true, get: function () { return set_2.deepSet; } });
@@ -1,3 +1,2 @@
1
- import { isFormData } from './is';
2
- import { toObject } from './toObject';
3
- export { isFormData, isFormData as is, toObject };
1
+ export { toObject } from './toObject';
2
+ export { isFormData } from './is';
package/formdata/index.js CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toObject = exports.is = exports.isFormData = void 0;
4
- const is_1 = require("./is");
5
- Object.defineProperty(exports, "isFormData", { enumerable: true, get: function () { return is_1.isFormData; } });
6
- Object.defineProperty(exports, "is", { enumerable: true, get: function () { return is_1.isFormData; } });
7
- const toObject_1 = require("./toObject");
3
+ exports.isFormData = exports.toObject = void 0;
4
+ var toObject_1 = require("./toObject");
8
5
  Object.defineProperty(exports, "toObject", { enumerable: true, get: function () { return toObject_1.toObject; } });
6
+ var is_1 = require("./is");
7
+ Object.defineProperty(exports, "isFormData", { enumerable: true, get: function () { return is_1.isFormData; } });
@@ -1,8 +1,9 @@
1
- import { debounce } from './debounce';
2
- import { isFunction } from './is';
3
- import { isAsyncFunction } from './isAsync';
4
- import { noop } from './noop';
5
- import { noopresolve } from './noopresolve';
6
- import { noopreturn } from './noopreturn';
7
- import { sleep } from './sleep';
8
- export { debounce, isFunction, isFunction as is, isFunction as isFn, isAsyncFunction, isAsyncFunction as isAsync, isAsyncFunction as isAsyncFn, noop, noopresolve, noopreturn, sleep };
1
+ export { debounce } from './debounce';
2
+ export { noop } from './noop';
3
+ export { noopresolve } from './noopresolve';
4
+ export { noopreturn } from './noopreturn';
5
+ export { sleep } from './sleep';
6
+ export { isFunction } from './is';
7
+ export { isFunction as isFn } from './is';
8
+ export { isAsyncFunction } from './isAsync';
9
+ export { isAsyncFunction as isAsyncFn } from './isAsync';
package/function/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sleep = exports.noopreturn = exports.noopresolve = exports.noop = exports.isAsyncFn = exports.isAsync = exports.isAsyncFunction = exports.isFn = exports.is = exports.isFunction = exports.debounce = void 0;
4
- const debounce_1 = require("./debounce");
3
+ exports.isAsyncFn = exports.isAsyncFunction = exports.isFn = exports.isFunction = exports.sleep = exports.noopreturn = exports.noopresolve = exports.noop = exports.debounce = void 0;
4
+ var debounce_1 = require("./debounce");
5
5
  Object.defineProperty(exports, "debounce", { enumerable: true, get: function () { return debounce_1.debounce; } });
6
- const is_1 = require("./is");
7
- Object.defineProperty(exports, "isFunction", { enumerable: true, get: function () { return is_1.isFunction; } });
8
- Object.defineProperty(exports, "is", { enumerable: true, get: function () { return is_1.isFunction; } });
9
- Object.defineProperty(exports, "isFn", { enumerable: true, get: function () { return is_1.isFunction; } });
10
- const isAsync_1 = require("./isAsync");
11
- Object.defineProperty(exports, "isAsyncFunction", { enumerable: true, get: function () { return isAsync_1.isAsyncFunction; } });
12
- Object.defineProperty(exports, "isAsync", { enumerable: true, get: function () { return isAsync_1.isAsyncFunction; } });
13
- Object.defineProperty(exports, "isAsyncFn", { enumerable: true, get: function () { return isAsync_1.isAsyncFunction; } });
14
- const noop_1 = require("./noop");
6
+ var noop_1 = require("./noop");
15
7
  Object.defineProperty(exports, "noop", { enumerable: true, get: function () { return noop_1.noop; } });
16
- const noopresolve_1 = require("./noopresolve");
8
+ var noopresolve_1 = require("./noopresolve");
17
9
  Object.defineProperty(exports, "noopresolve", { enumerable: true, get: function () { return noopresolve_1.noopresolve; } });
18
- const noopreturn_1 = require("./noopreturn");
10
+ var noopreturn_1 = require("./noopreturn");
19
11
  Object.defineProperty(exports, "noopreturn", { enumerable: true, get: function () { return noopreturn_1.noopreturn; } });
20
- const sleep_1 = require("./sleep");
12
+ var sleep_1 = require("./sleep");
21
13
  Object.defineProperty(exports, "sleep", { enumerable: true, get: function () { return sleep_1.sleep; } });
14
+ var is_1 = require("./is");
15
+ Object.defineProperty(exports, "isFunction", { enumerable: true, get: function () { return is_1.isFunction; } });
16
+ var is_2 = require("./is");
17
+ Object.defineProperty(exports, "isFn", { enumerable: true, get: function () { return is_2.isFunction; } });
18
+ var isAsync_1 = require("./isAsync");
19
+ Object.defineProperty(exports, "isAsyncFunction", { enumerable: true, get: function () { return isAsync_1.isAsyncFunction; } });
20
+ var isAsync_2 = require("./isAsync");
21
+ Object.defineProperty(exports, "isAsyncFn", { enumerable: true, get: function () { return isAsync_2.isAsyncFunction; } });
package/hash/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import { fnv1A } from './fnv1A';
2
- import { guid } from './guid';
3
- export { fnv1A, guid };
1
+ export { fnv1A } from './fnv1A';
2
+ export { guid } from './guid';
package/hash/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.guid = exports.fnv1A = void 0;
4
- const fnv1A_1 = require("./fnv1A");
4
+ var fnv1A_1 = require("./fnv1A");
5
5
  Object.defineProperty(exports, "fnv1A", { enumerable: true, get: function () { return fnv1A_1.fnv1A; } });
6
- const guid_1 = require("./guid");
6
+ var guid_1 = require("./guid");
7
7
  Object.defineProperty(exports, "guid", { enumerable: true, get: function () { return guid_1.guid; } });