@dereekb/util 12.1.0 → 12.1.1

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/index.esm.js CHANGED
@@ -8044,20 +8044,57 @@ $$8({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
8044
8044
  }
8045
8045
  });
8046
8046
 
8047
+ /**
8048
+ * Trims leading and trailing whitespace from a string.
8049
+ * @param input The string to trim.
8050
+ * @returns The trimmed string.
8051
+ */
8047
8052
  function stringTrimFunction(input) {
8048
8053
  return input.trim();
8049
8054
  }
8055
+ /**
8056
+ * Converts a string to uppercase.
8057
+ * @param input The string to convert.
8058
+ * @returns The uppercase string.
8059
+ */
8050
8060
  function stringToUppercaseFunction(input) {
8051
8061
  return input.toUpperCase();
8052
8062
  }
8063
+ /**
8064
+ * Converts a string to lowercase.
8065
+ * @param input The string to convert.
8066
+ * @returns The lowercase string.
8067
+ */
8053
8068
  function stringToLowercaseFunction(input) {
8054
8069
  return input.toLowerCase();
8055
8070
  }
8071
+ /**
8072
+ * Normalizes a `TransformStringFunctionConfigInput` into a `TransformStringFunctionConfig` object.
8073
+ * If the input is a function, it's wrapped into a config object with that function as the `transform` property.
8074
+ * If the input is undefined, it returns undefined.
8075
+ *
8076
+ * @template S The specific string type, defaults to `string`.
8077
+ * @param config The configuration input to normalize.
8078
+ * @returns A `TransformStringFunctionConfig` object, or `undefined` if the input config is undefined.
8079
+ */
8056
8080
  function transformStringFunctionConfig(config) {
8057
8081
  return config ? typeof config === 'function' ? {
8058
8082
  transform: config
8059
8083
  } : config : undefined;
8060
8084
  }
8085
+ /**
8086
+ * Creates a string transformation function based on the provided configuration.
8087
+ * The resulting function will apply transformations in a specific order:
8088
+ * 1. Trimming (if `config.trim` is true).
8089
+ * 2. Custom `config.transform` function (if provided).
8090
+ * 3. Uppercase conversion (if `config.toUppercase` is true and no `config.transform`).
8091
+ * 4. Lowercase conversion (if `config.toLowercase` is true and no `config.transform` or `config.toUppercase`).
8092
+ * If no transformations are specified, the identity function is returned.
8093
+ *
8094
+ * @template S The specific string type, defaults to `string`.
8095
+ * @param config The `TransformStringFunctionConfig` detailing the transformations.
8096
+ * @returns A `TransformStringFunction` that applies the configured transformations.
8097
+ */
8061
8098
  function transformStringFunction(config) {
8062
8099
  let baseTransform;
8063
8100
  if (config.transform) {
@@ -8084,28 +8121,28 @@ function addPrefix(prefix, input) {
8084
8121
  return addPrefixFunction(prefix)(input);
8085
8122
  }
8086
8123
  /**
8087
- * Creates an AddPrefixFunction
8088
- *
8089
- * @param input
8090
- * @param replacement
8091
- * @param is
8092
- * @returns
8124
+ * Creates a function that adds a configured prefix to the input string if it does not exist on that string.
8125
+ * @param prefix The prefix to add.
8126
+ * @returns A function that adds the prefix to a string.
8093
8127
  */
8094
8128
  function addPrefixFunction(prefix) {
8095
8129
  return input => {
8096
8130
  return input.startsWith(prefix) ? input : prefix + input;
8097
8131
  };
8098
8132
  }
8133
+ /**
8134
+ * Adds a suffix to a string if it does not already end with that suffix.
8135
+ * @param suffix The suffix to add.
8136
+ * @param input The string to modify.
8137
+ * @returns The modified string.
8138
+ */
8099
8139
  function addSuffix(suffix, input) {
8100
8140
  return addSuffixFunction(suffix)(input);
8101
8141
  }
8102
8142
  /**
8103
- * Creates an AddSuffixFunction
8104
- *
8105
- * @param input
8106
- * @param replacement
8107
- * @param is
8108
- * @returns
8143
+ * Creates a function that adds a configured suffix to the input string if it does not exist on that string.
8144
+ * @param suffix The suffix to add.
8145
+ * @returns A function that adds the suffix to a string.
8109
8146
  */
8110
8147
  function addSuffixFunction(suffix) {
8111
8148
  return input => {
@@ -8113,10 +8150,10 @@ function addSuffixFunction(suffix) {
8113
8150
  };
8114
8151
  }
8115
8152
  /**
8116
- *
8117
- * @param minLength
8118
- * @param padCharacter
8119
- * @returns
8153
+ * Pads the start of a string to a minimum length.
8154
+ * @param minLength The minimum length of the string.
8155
+ * @param padCharacter The character to use for padding.
8156
+ * @returns A function that pads the start of a string.
8120
8157
  */
8121
8158
  function padStartFunction(minLength, padCharacter) {
8122
8159
  return input => input.padStart(minLength, padCharacter);
@@ -11057,7 +11094,8 @@ const MS_IN_HOUR = MS_IN_MINUTE * 60;
11057
11094
  */
11058
11095
  const MS_IN_DAY = MS_IN_HOUR * HOURS_IN_DAY;
11059
11096
  /**
11060
- * Retrieves the MonthOfYear value (1-12) from the input Date.
11097
+ * Retrieves the MonthOfYear value (1-12) from the input Date in the current system timezone.
11098
+ *
11061
11099
  * Converts JavaScript's 0-based month (0-11) to a 1-based month (1-12).
11062
11100
  *
11063
11101
  * @param date - The date to extract the month from
@@ -11066,6 +11104,17 @@ const MS_IN_DAY = MS_IN_HOUR * HOURS_IN_DAY;
11066
11104
  function monthOfYearFromDate(date) {
11067
11105
  return monthOfYearFromDateMonth(date.getMonth());
11068
11106
  }
11107
+ /**
11108
+ * Retrieves the MonthOfYear value (1-12) from the input Date in the UTC timezone.
11109
+ *
11110
+ * Converts JavaScript's 0-based month (0-11) to a 1-based month (1-12).
11111
+ *
11112
+ * @param date - The date to extract the month from
11113
+ * @returns The month of year as a number from 1-12
11114
+ */
11115
+ function monthOfYearFromUTCDate(date) {
11116
+ return monthOfYearFromDateMonth(date.getUTCMonth());
11117
+ }
11069
11118
  /**
11070
11119
  * Converts a JavaScript Date month (0-11) to a MonthOfYear (1-12).
11071
11120
  *
@@ -14864,19 +14913,27 @@ function makeTimer(duration, startImmediately = true) {
14864
14913
  let currentDuration = duration;
14865
14914
  const promiseRef = promiseReference();
14866
14915
  const getDurationRemaining = () => {
14916
+ let result;
14867
14917
  switch (state) {
14868
14918
  case 'complete':
14869
- return 0;
14919
+ result = 0;
14920
+ break;
14870
14921
  case 'running':
14871
- return Math.max(0, currentDuration - (new Date().getTime() - startedAt.getTime()));
14922
+ result = Math.max(0, currentDuration - (new Date().getTime() - startedAt.getTime()));
14923
+ break;
14872
14924
  case 'paused':
14873
- return null;
14925
+ result = null;
14926
+ break;
14874
14927
  }
14928
+ return result;
14929
+ };
14930
+ const completeNow = () => {
14931
+ state = 'complete';
14932
+ promiseRef.resolve();
14875
14933
  };
14876
14934
  const checkComplete = () => {
14877
14935
  if (state !== 'complete' && getDurationRemaining() === 0) {
14878
- state = 'complete';
14879
- promiseRef.resolve();
14936
+ completeNow();
14880
14937
  }
14881
14938
  };
14882
14939
  const enqueueCheck = () => {
@@ -14913,9 +14970,9 @@ function makeTimer(duration, startImmediately = true) {
14913
14970
  };
14914
14971
  const destroy = () => {
14915
14972
  checkComplete();
14916
- if (state === 'running') {
14973
+ if (state !== 'complete') {
14974
+ state = 'cancelled';
14917
14975
  promiseRef.reject(new TimerCancelledError());
14918
- state = 'complete';
14919
14976
  }
14920
14977
  };
14921
14978
  if (startImmediately) {
@@ -14944,6 +15001,7 @@ function makeTimer(duration, startImmediately = true) {
14944
15001
  get durationRemaining() {
14945
15002
  return getDurationRemaining();
14946
15003
  },
15004
+ completeNow,
14947
15005
  start,
14948
15006
  stop,
14949
15007
  reset,
@@ -15473,6 +15531,12 @@ function readableStreamToBuffer(stream) {
15473
15531
  });
15474
15532
  }
15475
15533
 
15534
+ /**
15535
+ * Joins the host and port into a string.
15536
+ *
15537
+ * @param config
15538
+ * @returns
15539
+ */
15476
15540
  function joinHostAndPort(config) {
15477
15541
  if (config) {
15478
15542
  return `${config.host}:${config.port}`;
@@ -15861,43 +15925,95 @@ function typedServiceRegistry(config) {
15861
15925
  return instance;
15862
15926
  }
15863
15927
 
15928
+ /**
15929
+ * Base error class for storage-related issues.
15930
+ */
15864
15931
  class StoredDataError extends BaseError {
15932
+ /**
15933
+ * Creates an instance of StoredDataError.
15934
+ * @param message Optional error message.
15935
+ */
15865
15936
  constructor(message) {
15866
15937
  super(message);
15867
15938
  }
15868
15939
  }
15940
+ /**
15941
+ * Error thrown when requested data does not exist in storage.
15942
+ */
15869
15943
  class DataDoesNotExistError extends StoredDataError {
15944
+ /**
15945
+ * Creates an instance of DataDoesNotExistError.
15946
+ * @param message Optional error message.
15947
+ */
15870
15948
  constructor(message) {
15871
15949
  super(message);
15872
15950
  }
15873
15951
  }
15952
+ /**
15953
+ * Error thrown when data exists in storage but is considered expired.
15954
+ *
15955
+ * @template T The type of the data that is expired.
15956
+ */
15874
15957
  class DataIsExpiredError extends StoredDataError {
15958
+ /**
15959
+ * Creates an instance of DataIsExpiredError.
15960
+ * @param data The expired data, including metadata.
15961
+ * @param message Optional error message. If not provided, a default message will be used.
15962
+ */
15875
15963
  constructor(data, message) {
15876
- super(message);
15964
+ super(message != null ? message : 'Data has expired.');
15877
15965
  this.data = void 0;
15878
15966
  this.data = data;
15879
15967
  }
15880
15968
  }
15881
15969
 
15970
+ /**
15971
+ * A StorageObject implementation that stores data in memory.
15972
+ * This is not persistent and will be cleared when the JavaScript context is lost.
15973
+ */
15882
15974
  class MemoryStorageInstance {
15883
15975
  constructor() {
15884
15976
  this._length = 0;
15885
15977
  this._storage = {};
15886
15978
  }
15979
+ /**
15980
+ * The number of items stored.
15981
+ */
15887
15982
  get length() {
15888
15983
  return this._length;
15889
15984
  }
15985
+ /**
15986
+ * Returns the key at the given index.
15987
+ * @param index The index of the key to retrieve.
15988
+ * @returns The key string if found, otherwise null.
15989
+ */
15890
15990
  key(index) {
15891
15991
  var _Object$keys$index;
15892
15992
  return (_Object$keys$index = Object.keys(this._storage)[index]) != null ? _Object$keys$index : null;
15893
15993
  }
15994
+ /**
15995
+ * Checks if a key exists in the storage.
15996
+ * @param key The key to check.
15997
+ * @returns True if the key exists, false otherwise.
15998
+ */
15894
15999
  hasKey(key) {
15895
16000
  return objectHasKey(this._storage, key);
15896
16001
  }
16002
+ /**
16003
+ * Retrieves an item from storage.
16004
+ * @param key The key of the item to retrieve.
16005
+ * @returns The item string if found, otherwise null or undefined.
16006
+ */
15897
16007
  getItem(key) {
15898
16008
  var _this$_storage$key;
15899
16009
  return (_this$_storage$key = this._storage[key]) != null ? _this$_storage$key : null;
15900
16010
  }
16011
+ /**
16012
+ * Sets an item in storage.
16013
+ * If the item is null or undefined, the key will be removed.
16014
+ * @param key The key of the item to set.
16015
+ * @param item The item string to store.
16016
+ */
15901
16017
  setItem(key, item) {
15902
16018
  if (item == null) {
15903
16019
  this.removeItem(key);
@@ -15908,17 +16024,28 @@ class MemoryStorageInstance {
15908
16024
  this._storage[key] = String(item);
15909
16025
  }
15910
16026
  }
16027
+ /**
16028
+ * Removes an item from storage.
16029
+ * @param key The key of the item to remove.
16030
+ */
15911
16031
  removeItem(key) {
15912
16032
  if (this.hasKey(key)) {
15913
16033
  delete this._storage[key]; // Remove the property
15914
16034
  this._length = this._length - 1;
15915
16035
  }
15916
16036
  }
16037
+ /**
16038
+ * Clears all items from the storage.
16039
+ */
15917
16040
  clear() {
15918
16041
  this._storage = {};
15919
16042
  this._length = 0;
15920
16043
  }
15921
16044
  }
16045
+ /**
16046
+ * A shared, global instance of MemoryStorageInstance.
16047
+ * Useful for singleton-like access to an in-memory store throughout an application.
16048
+ */
15922
16049
  const SHARED_MEMORY_STORAGE = new MemoryStorageInstance();
15923
16050
 
15924
16051
  /**
@@ -15931,8 +16058,21 @@ class SimpleStorageObject {}
15931
16058
  * Has the same interface as localStorage for the web.
15932
16059
  */
15933
16060
  class StorageObject extends SimpleStorageObject {}
16061
+ /**
16062
+ * Extended synchronous Class/Interface for storing string values with additional properties.
16063
+ */
15934
16064
  class FullStorageObject extends StorageObject {}
16065
+ /**
16066
+ * Utility class for working with StorageObject instances.
16067
+ */
15935
16068
  class StorageObjectUtility {
16069
+ /**
16070
+ * Retrieves all keys from a StorageObject, optionally filtering by a prefix.
16071
+ *
16072
+ * @param storageObject The StorageObject to retrieve keys from.
16073
+ * @param prefix Optional prefix to filter keys by.
16074
+ * @returns An array of StoredDataStorageKey.
16075
+ */
15936
16076
  static allKeysFromStorageObject(storageObject, prefix) {
15937
16077
  const length = storageObject.length;
15938
16078
  let result;
@@ -16266,29 +16406,46 @@ function findBestSplitStringTreeChildMatchPath(tree, value) {
16266
16406
 
16267
16407
  /*eslint @typescript-eslint/no-explicit-any:"off"*/
16268
16408
  // any is used with intent here, as the recursive TreeNode value requires its use to terminate.
16409
+ /**
16410
+ * Implementation for expandTreeFunction. Creates a function that can expand a single value into a tree structure.
16411
+ *
16412
+ * This factory function takes a configuration object that specifies how to retrieve children for any given value (`getChildren`)
16413
+ * and optionally, how to construct the nodes themselves (`makeNode`). If `makeNode` is not provided, a default node structure is used.
16414
+ * The returned function recursively builds a tree from a root value.
16415
+ *
16416
+ * @template T The type of the value being processed at each node.
16417
+ * @template N The type of the TreeNode to be created. Defaults to TreeNode<T, any> if not specified by ExpandTreeWithNodeBuilder.
16418
+ * @param config An ExpandTree<T> or ExpandTreeWithNodeBuilder<T, N> configuration object.
16419
+ * @returns An ExpandTreeFunction<T, N> that takes a root value and returns its corresponding tree structure.
16420
+ */
16269
16421
  function expandTreeFunction(config) {
16270
16422
  var _config$makeNode;
16271
- const makeNode = (_config$makeNode = config.makeNode) != null ? _config$makeNode : node => node;
16423
+ const makeNodeFromConfig = (_config$makeNode = config.makeNode) != null ? _config$makeNode : basicNode => basicNode;
16272
16424
  const expandFn = (value, parent) => {
16273
16425
  const depth = parent ? parent.depth + 1 : 0;
16274
- const treeNode = {
16426
+ const treeNodeWithoutChildren = {
16275
16427
  depth,
16276
16428
  parent,
16277
16429
  value
16278
16430
  };
16279
- const node = makeNode(treeNode);
16431
+ // Use Omit<N, 'children'> here as makeNodeFromConfig returns the node without children initially.
16432
+ // The children are attached in the next step.
16433
+ const node = makeNodeFromConfig(treeNodeWithoutChildren); // Cast is necessary because children are added after
16280
16434
  const childrenValues = config.getChildren(value);
16281
16435
  node.children = childrenValues ? childrenValues.map(x => expandFn(x, node)) : undefined;
16282
16436
  return node;
16283
16437
  };
16284
- return root => expandFn(root);
16438
+ return rootValue => expandFn(rootValue);
16285
16439
  }
16286
16440
  /**
16287
- * Convenience function for expanding multiple values into trees then merging them together into a single array.
16441
+ * Convenience function for expanding multiple root values into an array of trees.
16442
+ * Each value in the input array is treated as a root for a new tree.
16288
16443
  *
16289
- * @param values
16290
- * @param expandFn
16291
- * @returns
16444
+ * @template T The type of the input values.
16445
+ * @template N The type of the TreeNode in the resulting trees. Must extend TreeNode<T, N>.
16446
+ * @param values An array of root values of type T to expand.
16447
+ * @param expandFn An ExpandTreeFunction<T, N> used to expand each value into a tree.
16448
+ * @returns An array of N, where each N is the root node of an expanded tree.
16292
16449
  */
16293
16450
  function expandTrees(values, expandFn) {
16294
16451
  return values.map(expandFn);
@@ -16310,6 +16467,18 @@ function flattenTree(tree) {
16310
16467
  function flattenTreeToArray(tree, array) {
16311
16468
  return flattenTreeToArrayFunction()(tree, array);
16312
16469
  }
16470
+ /**
16471
+ * Implementation for flattenTreeToArrayFunction.
16472
+ *
16473
+ * This function serves as a factory to produce a flattening function. The produced function
16474
+ * will traverse a tree and collect either the nodes themselves or a mapped value from each node
16475
+ * into an array.
16476
+ *
16477
+ * @template N The type of the tree node, must extend TreeNode.
16478
+ * @template V The type of the values to be collected in the output array.
16479
+ * @param mapNodeFn An optional function to transform each node N to a value V. If omitted, nodes are cast to V (effectively N if V is N).
16480
+ * @returns A FlattenTreeFunction<N, V> that performs the tree flattening.
16481
+ */
16313
16482
  function flattenTreeToArrayFunction(mapNodeFn) {
16314
16483
  const mapNode = mapNodeFn != null ? mapNodeFn : x => x;
16315
16484
  const flattenFn = (tree, array = []) => {
@@ -16337,11 +16506,17 @@ function flattenTrees(trees, flattenFn) {
16337
16506
  /*eslint @typescript-eslint/no-explicit-any:"off"*/
16338
16507
  // any is used with intent here, as the recursive TreeNode value requires its use to terminate.
16339
16508
  /**
16340
- * Creates an ExpandFlattenTree function.
16509
+ * Creates an ExpandFlattenTreeFunction by composing an expansion function and a flattening function.
16341
16510
  *
16342
- * @param expand
16343
- * @param flatten
16344
- * @returns
16511
+ * This higher-order function takes a function to expand an array of values `T` into a list of trees (`N[]` where `N` is a TreeNode)
16512
+ * and another function to flatten these trees into a single array of values `V`.
16513
+ *
16514
+ * @template T The type of the initial input values.
16515
+ * @template V The type of the values in the final flattened output array.
16516
+ * @template N The type of the intermediate tree nodes. Must extend TreeNode with value T and children of type N.
16517
+ * @param expand An ExpandTreeFunction (values: T[]) => N[] that converts an array of T into an array of tree nodes N.
16518
+ * @param flatten A FlattenTreeFunction (tree: N, array?: V[]) => V[] that flattens a tree of N nodes into an array of V values.
16519
+ * @returns An ExpandFlattenTreeFunction (values: T[]) => V[] that performs the combined expansion and flattening.
16345
16520
  */
16346
16521
  function expandFlattenTreeFunction(expand, flatten) {
16347
16522
  return values => {
@@ -16353,9 +16528,9 @@ function expandFlattenTreeFunction(expand, flatten) {
16353
16528
  /**
16354
16529
  * Reduces an array of booleans with the logical AND operation.
16355
16530
  *
16356
- * @param array - Array of boolean values to reduce
16357
- * @param emptyArrayValue - Value to return if the array is empty (default: undefined which becomes false)
16358
- * @returns The result of ANDing all boolean values in the array
16531
+ * @param array - Array of boolean values to reduce.
16532
+ * @param emptyArrayValue - Value to return if the array is empty. If not provided and the array is empty, a TypeError will be thrown.
16533
+ * @returns The result of ANDing all boolean values in the array.
16359
16534
  */
16360
16535
  function reduceBooleansWithAnd(array, emptyArrayValue) {
16361
16536
  return reduceBooleansWithAndFn(emptyArrayValue)(array);
@@ -16363,9 +16538,9 @@ function reduceBooleansWithAnd(array, emptyArrayValue) {
16363
16538
  /**
16364
16539
  * Reduces an array of booleans with the logical OR operation.
16365
16540
  *
16366
- * @param array - Array of boolean values to reduce
16367
- * @param emptyArrayValue - Value to return if the array is empty (default: undefined which becomes false)
16368
- * @returns The result of ORing all boolean values in the array
16541
+ * @param array - Array of boolean values to reduce.
16542
+ * @param emptyArrayValue - Value to return if the array is empty. If not provided and the array is empty, a TypeError will be thrown.
16543
+ * @returns The result of ORing all boolean values in the array.
16369
16544
  */
16370
16545
  function reduceBooleansWithOr(array, emptyArrayValue) {
16371
16546
  return reduceBooleansWithOrFn(emptyArrayValue)(array);
@@ -16373,8 +16548,8 @@ function reduceBooleansWithOr(array, emptyArrayValue) {
16373
16548
  /**
16374
16549
  * Creates a function that reduces an array of booleans with the logical AND operation.
16375
16550
  *
16376
- * @param emptyArrayValue - Value to return if the array is empty (default: undefined which becomes false)
16377
- * @returns A function that takes an array of booleans and returns the result of ANDing them
16551
+ * @param emptyArrayValue - Value to return if the array is empty. If not provided and the array is empty, the returned function will throw a TypeError.
16552
+ * @returns A function that takes an array of booleans and returns the result of ANDing them.
16378
16553
  */
16379
16554
  function reduceBooleansWithAndFn(emptyArrayValue) {
16380
16555
  return reduceBooleansFn((a, b) => a && b, emptyArrayValue);
@@ -16382,8 +16557,8 @@ function reduceBooleansWithAndFn(emptyArrayValue) {
16382
16557
  /**
16383
16558
  * Creates a function that reduces an array of booleans with the logical OR operation.
16384
16559
  *
16385
- * @param emptyArrayValue - Value to return if the array is empty (default: undefined which becomes false)
16386
- * @returns A function that takes an array of booleans and returns the result of ORing them
16560
+ * @param emptyArrayValue - Value to return if the array is empty. If not provided and the array is empty, the returned function will throw a TypeError.
16561
+ * @returns A function that takes an array of booleans and returns the result of ORing them.
16387
16562
  */
16388
16563
  function reduceBooleansWithOrFn(emptyArrayValue) {
16389
16564
  return reduceBooleansFn((a, b) => a || b, emptyArrayValue);
@@ -16391,9 +16566,9 @@ function reduceBooleansWithOrFn(emptyArrayValue) {
16391
16566
  /**
16392
16567
  * Creates a function that reduces an array of booleans using a custom reduce function.
16393
16568
  *
16394
- * @param reduceFn - Function that takes two boolean values and returns a single boolean
16395
- * @param emptyArrayValue - Value to return if the array is empty (default: undefined which uses the standard reduce behavior)
16396
- * @returns A function that takes an array of booleans and returns the result of reducing them
16569
+ * @param reduceFn - Function that takes two boolean values and returns a single boolean.
16570
+ * @param emptyArrayValue - Value to return if the array is empty. If not provided and the array is empty, the returned function will throw a TypeError because `Array.prototype.reduce` on an empty array without an initial value throws.
16571
+ * @returns A function that takes an array of booleans and returns the result of reducing them.
16397
16572
  */
16398
16573
  function reduceBooleansFn(reduceFn, emptyArrayValue) {
16399
16574
  const rFn = array => Boolean(array.reduce(reduceFn));
@@ -16406,8 +16581,8 @@ function reduceBooleansFn(reduceFn, emptyArrayValue) {
16406
16581
  /**
16407
16582
  * Creates a new BooleanFactory that generates random boolean values based on chance.
16408
16583
  *
16409
- * @param config - Configuration for the boolean factory, including the chance of returning true
16410
- * @returns A factory function that generates random boolean values
16584
+ * @param config - Configuration for the boolean factory, including the chance of returning true.
16585
+ * @returns A factory function (`BooleanFactory`) that generates random boolean values based on the configured chance.
16411
16586
  */
16412
16587
  function booleanFactory(config) {
16413
16588
  const {
@@ -16423,8 +16598,8 @@ function booleanFactory(config) {
16423
16598
  /**
16424
16599
  * Returns a random boolean based on the specified chance.
16425
16600
  *
16426
- * @param chance - Number between 0 and 100 representing the percentage chance of returning true (default: 50)
16427
- * @returns A random boolean value with the specified probability of being true
16601
+ * @param chance - Number between 0.0 and 100.0 representing the percentage chance of returning true (default: 50, i.e., 50%).
16602
+ * @returns A random boolean value with the specified probability of being true.
16428
16603
  */
16429
16604
  function randomBoolean(chance = 50) {
16430
16605
  return booleanFactory({
@@ -16463,15 +16638,38 @@ class DestroyFunctionObject {
16463
16638
  }
16464
16639
  }
16465
16640
 
16641
+ /**
16642
+ * Decodes a list of hashed string values using a provided list of potential original values and a hash function.
16643
+ *
16644
+ * @param hashedValues An array of hashed strings to decode.
16645
+ * @param decodeValues An array of potential original string values.
16646
+ * @param hashFn A function that takes a string and returns its hashed representation.
16647
+ * @returns An array of decoded strings. Values that cannot be decoded are filtered out.
16648
+ */
16466
16649
  function decodeHashedValues(hashedValues, decodeValues, hashFn) {
16467
16650
  const hashDecodeMap = makeHashDecodeMap(decodeValues, hashFn);
16468
16651
  return decodeHashedValuesWithDecodeMap(hashedValues, hashDecodeMap);
16469
16652
  }
16653
+ /**
16654
+ * Creates a `HashDecodeMap` from a list of potential original string values and a hash function.
16655
+ * The map's keys are the hashed versions of the `decodeValues`, and the values are the original `decodeValues`.
16656
+ *
16657
+ * @param decodeValues An array of potential original string values.
16658
+ * @param hashFn A function that takes a string and returns its hashed representation.
16659
+ * @returns A `HashDecodeMap` for decoding hashed values.
16660
+ */
16470
16661
  function makeHashDecodeMap(decodeValues, hashFn) {
16471
16662
  const keyValuePairs = decodeValues.map(x => [hashFn(x), x]);
16472
16663
  const map = new Map(keyValuePairs);
16473
16664
  return map;
16474
16665
  }
16666
+ /**
16667
+ * Decodes a list of hashed string values using a pre-built `HashDecodeMap`.
16668
+ *
16669
+ * @param hashedValues An array of hashed strings to decode.
16670
+ * @param decodeMap A `HashDecodeMap` to use for looking up original values.
16671
+ * @returns An array of decoded strings. Values that cannot be decoded are filtered out.
16672
+ */
16475
16673
  function decodeHashedValuesWithDecodeMap(hashedValues, decodeMap) {
16476
16674
  const values = hashedValues.map(x => decodeMap.get(x));
16477
16675
  return filterMaybeArrayValues(values);
@@ -16589,4 +16787,4 @@ async function iterateFilteredPages(inputPage, loadFn, iterFn) {
16589
16787
  return count;
16590
16788
  }
16591
16789
 
16592
- export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanStringKeyArrayUtility, BooleanStringKeyArrayUtilityInstance, CATCH_ALL_HANDLE_RESULT_KEY, CUT_VALUE_TO_ZERO_PRECISION, DASH_CHARACTER_PREFIX_INSTANCE, DATE_NOW_VALUE, DEFAULT_CUT_STRING_END_TEXT, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FullStorageObject, HAS_PORT_NUMBER_REGEX, HAS_WEBSITE_DOMAIN_NAME_REGEX, HOURS_IN_DAY, HTTP_OR_HTTPS_REGEX, HashSet, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MINUTE_OF_DAY_MAXMIMUM, MINUTE_OF_DAY_MINIUMUM, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, NUMBER_STRING_DENCODER_64, NUMBER_STRING_DENCODER_64_DEFAULT_NEGATIVE_PREFIX, NUMBER_STRING_DENCODER_64_DIGITS, PHONE_EXTENSION_NUMBER_REGEX, PRIMATIVE_KEY_DENCODER_VALUE, PageCalculator, PropertyDescriptorUtility, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, SPLIT_STRING_TREE_NODE_ROOT_VALUE, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TimeAM, TimerCancelledError, TypedServiceRegistryInstance, UNLOADED_PAGE, UNSET_INDEX_NUMBER, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEBSITE_TLD_DETECTION_REGEX, WEB_PROTOCOL_PREFIX_REGEX, ZIP_CODE_STRING_REGEX, addHttpToUrl, addLatLngPoints, addMilliseconds, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, addToSplitStringTree, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, allowValueOnceFilter, applyBestFit, applySplitStringTreeWithMultipleValues, applyToMultipleFields, approximateTimerEndDate, areEqualContext, areEqualPOJOValues, areEqualPOJOValuesUsingPojoFilter, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asMinuteOfDay, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, booleanKeyArrayUtility, boundNumber, boundNumberFunction, boundToRectangle, build, cachedGetter, calculateExpirationDate, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, characterPrefixSuffixInstance, checkAnyHaveExpired, checkAtleastOneNotExpired, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, compareWithMappedValuesFunction, computeNextFractionalHour, computeNextFreeIndexFunction, computeNextFreeIndexOnSortedValuesFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertParticipantToEmailParticipantString, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cutString, cutStringFunction, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromDateOrTimeNumber, dateFromLogicalDate, dateFromMinuteOfDay, dateToHoursAndMinutes, dateToMinuteOfDay, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, diffLatLngBoundPoints, diffLatLngPoints, dollarAmountString, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringCharactersFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandTreeFunction, expandTrees, expirationDetails, exponentialPromiseRateLimiter, extendLatLngBound, filterAndMapFunction, filterEmptyArrayValues, filterEmptyValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterKeysOnPOJOFunction, filterMaybeArrayFunction, filterMaybeArrayValues, filterMaybeValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterTuplesOnPOJOFunction, filterUndefinedValues, filterUniqueByIndex, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findBestSplitStringTreeChildMatch, findBestSplitStringTreeChildMatchPath, findBestSplitStringTreeMatch, findBestSplitStringTreeMatchPath, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenTrees, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getBaseLog, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasPortNumber, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hasWebsiteTopLevelDomain, hashSetForIndexed, hourToFractionalHour, hoursAndMinutesToString, idBatchFactory, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexRefMap, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualDate, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isKnownHttpWebsiteProtocol, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isMinuteOfDay, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotFalse, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPast, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStandardInternetAccessibleWebsiteUrl, isStringOrTrue, isThrottled, isTrueBooleanKeyArray, isUTCDateString, isUnderThreshold, isUniqueKeyedFunction, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterableToSet, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, labeledValueMap, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeTimer, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectKeysFunction, mapObjectKeysToLowercase, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, minutesToHoursAndMinutes, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, numberStringDencoder, numberStringDencoderDecodedNumberValueFunction, numberStringDencoderEncodedStringValueFunction, numberStringDencoderFunction, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, objectToTuples, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, padStartFunction, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readPortNumber, readUniqueModelKey, readWebsiteProtocol, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeValuesAtIndexesFromArrayCopy, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, resetPeriodPromiseRateLimiter, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, separateValues, separateValuesToSets, sequentialIncrementingNumberStringModelIdFactory, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, slashPathFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathStartTypeFactory, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, splitStringTreeFactory, startOfDayForSystemDateInUTC, startOfDayForUTCDateInUTC, stepsFromIndex, stepsFromIndexFunction, stringCharactersToIndexRecord, stringContains, stringFactoryFromFactory, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, timePeriodCounter, timer, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toMinuteOfDay, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, toggleTimerRunning, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, tryWithPromiseFactoriesFunction, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, unixTimeNumberForNow, unixTimeNumberFromDate, unixTimeNumberFromDateOrTimeNumber, unixTimeNumberToDate, updateMaybeValue, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
16790
+ export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanStringKeyArrayUtility, BooleanStringKeyArrayUtilityInstance, CATCH_ALL_HANDLE_RESULT_KEY, CUT_VALUE_TO_ZERO_PRECISION, DASH_CHARACTER_PREFIX_INSTANCE, DATE_NOW_VALUE, DEFAULT_CUT_STRING_END_TEXT, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FullStorageObject, HAS_PORT_NUMBER_REGEX, HAS_WEBSITE_DOMAIN_NAME_REGEX, HOURS_IN_DAY, HTTP_OR_HTTPS_REGEX, HashSet, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MINUTE_OF_DAY_MAXMIMUM, MINUTE_OF_DAY_MINIUMUM, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, NUMBER_STRING_DENCODER_64, NUMBER_STRING_DENCODER_64_DEFAULT_NEGATIVE_PREFIX, NUMBER_STRING_DENCODER_64_DIGITS, PHONE_EXTENSION_NUMBER_REGEX, PRIMATIVE_KEY_DENCODER_VALUE, PageCalculator, PropertyDescriptorUtility, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, SPLIT_STRING_TREE_NODE_ROOT_VALUE, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TimeAM, TimerCancelledError, TypedServiceRegistryInstance, UNLOADED_PAGE, UNSET_INDEX_NUMBER, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEBSITE_TLD_DETECTION_REGEX, WEB_PROTOCOL_PREFIX_REGEX, ZIP_CODE_STRING_REGEX, addHttpToUrl, addLatLngPoints, addMilliseconds, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, addToSplitStringTree, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, allowValueOnceFilter, applyBestFit, applySplitStringTreeWithMultipleValues, applyToMultipleFields, approximateTimerEndDate, areEqualContext, areEqualPOJOValues, areEqualPOJOValuesUsingPojoFilter, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asMinuteOfDay, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, booleanKeyArrayUtility, boundNumber, boundNumberFunction, boundToRectangle, build, cachedGetter, calculateExpirationDate, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, characterPrefixSuffixInstance, checkAnyHaveExpired, checkAtleastOneNotExpired, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, compareWithMappedValuesFunction, computeNextFractionalHour, computeNextFreeIndexFunction, computeNextFreeIndexOnSortedValuesFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertParticipantToEmailParticipantString, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cutString, cutStringFunction, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromDateOrTimeNumber, dateFromLogicalDate, dateFromMinuteOfDay, dateToHoursAndMinutes, dateToMinuteOfDay, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, diffLatLngBoundPoints, diffLatLngPoints, dollarAmountString, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringCharactersFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandTreeFunction, expandTrees, expirationDetails, exponentialPromiseRateLimiter, extendLatLngBound, filterAndMapFunction, filterEmptyArrayValues, filterEmptyValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterKeysOnPOJOFunction, filterMaybeArrayFunction, filterMaybeArrayValues, filterMaybeValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterTuplesOnPOJOFunction, filterUndefinedValues, filterUniqueByIndex, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findBestSplitStringTreeChildMatch, findBestSplitStringTreeChildMatchPath, findBestSplitStringTreeMatch, findBestSplitStringTreeMatchPath, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenTrees, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getBaseLog, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasPortNumber, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hasWebsiteTopLevelDomain, hashSetForIndexed, hourToFractionalHour, hoursAndMinutesToString, idBatchFactory, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexRefMap, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualDate, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isKnownHttpWebsiteProtocol, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isMinuteOfDay, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotFalse, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPast, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStandardInternetAccessibleWebsiteUrl, isStringOrTrue, isThrottled, isTrueBooleanKeyArray, isUTCDateString, isUnderThreshold, isUniqueKeyedFunction, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterableToSet, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, labeledValueMap, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeTimer, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectKeysFunction, mapObjectKeysToLowercase, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, minutesToHoursAndMinutes, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, monthOfYearFromUTCDate, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, numberStringDencoder, numberStringDencoderDecodedNumberValueFunction, numberStringDencoderEncodedStringValueFunction, numberStringDencoderFunction, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, objectToTuples, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, padStartFunction, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readPortNumber, readUniqueModelKey, readWebsiteProtocol, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeValuesAtIndexesFromArrayCopy, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, resetPeriodPromiseRateLimiter, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, separateValues, separateValuesToSets, sequentialIncrementingNumberStringModelIdFactory, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, slashPathFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathStartTypeFactory, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, splitStringTreeFactory, startOfDayForSystemDateInUTC, startOfDayForUTCDateInUTC, stepsFromIndex, stepsFromIndexFunction, stringCharactersToIndexRecord, stringContains, stringFactoryFromFactory, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, timePeriodCounter, timer, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toMinuteOfDay, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, toggleTimerRunning, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, tryWithPromiseFactoriesFunction, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, unixTimeNumberForNow, unixTimeNumberFromDate, unixTimeNumberFromDateOrTimeNumber, unixTimeNumberToDate, updateMaybeValue, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util",
3
- "version": "12.1.0",
3
+ "version": "12.1.1",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./src/index.d.ts",