@aidc-toolkit/utility 1.0.24-beta → 1.0.25-beta

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/dist/index.cjs CHANGED
@@ -477,7 +477,7 @@ var postProcessor = {
477
477
  return value;
478
478
  }
479
479
  };
480
- var PATH_KEY = Symbol("i18next/PATH_KEY");
480
+ var PATH_KEY = /* @__PURE__ */ Symbol("i18next/PATH_KEY");
481
481
  function createProxy() {
482
482
  const state = [];
483
483
  const handler = /* @__PURE__ */ Object.create(null);
@@ -2462,10 +2462,10 @@ var Transformer = class _Transformer {
2462
2462
  }
2463
2463
  }
2464
2464
  /**
2465
- * Get a transformer, constructing it if necessary. The type returned is {@link IdentityTransformer} if tweak is
2466
- * undefined, {@link EncryptionTransformer} if tweak is defined. Note that although an {@link EncryptionTransformer}
2467
- * with a zero tweak operates as an {@link IdentityTransformer}, {@link EncryptionTransformer} is still the type
2468
- * returned if a zero tweak is explicitly specified.
2465
+ * Get a transformer, constructing it if necessary. The type returned is {@linkcode IdentityTransformer} if tweak is
2466
+ * undefined, {@linkcode EncryptionTransformer} if tweak is defined. Note that although an {@linkcode
2467
+ * EncryptionTransformer} with a zero tweak operates as an {@linkcode IdentityTransformer}, {@linkcode
2468
+ * EncryptionTransformer} is still the type returned if a zero tweak is explicitly specified.
2469
2469
  *
2470
2470
  * @param domain
2471
2471
  * Domain.
@@ -2474,7 +2474,7 @@ var Transformer = class _Transformer {
2474
2474
  * Tweak.
2475
2475
  *
2476
2476
  * @returns
2477
- * {@link IdentityTransformer} if tweak is undefined, {@link EncryptionTransformer} if tweak is defined.
2477
+ * {@linkcode IdentityTransformer} if tweak is undefined, {@linkcode EncryptionTransformer} if tweak is defined.
2478
2478
  */
2479
2479
  static get(domain, tweak) {
2480
2480
  const domainN = BigInt(domain);
@@ -2990,7 +2990,7 @@ var CharacterSetValidator = class _CharacterSetValidator {
2990
2990
  * set.
2991
2991
  *
2992
2992
  * @param exclusionSupport
2993
- * Exclusions supported by the character set. All character sets implicitly support {@link Exclusions.None}.
2993
+ * Exclusions supported by the character set. All character sets implicitly support {@linkcode Exclusions.None}.
2994
2994
  */
2995
2995
  constructor(characterSet, ...exclusionSupport) {
2996
2996
  this._characterSet = characterSet;
@@ -3195,7 +3195,7 @@ var CharacterSetCreator = class _CharacterSetCreator extends CharacterSetValidat
3195
3195
  */
3196
3196
  _characterSetSizeMinusOneN;
3197
3197
  /**
3198
- * Domains for every length for every supported {@link Exclusions}.
3198
+ * Domains for every length for every supported {@linkcode Exclusions}.
3199
3199
  */
3200
3200
  _exclusionDomains;
3201
3201
  /**
@@ -3210,7 +3210,7 @@ var CharacterSetCreator = class _CharacterSetCreator extends CharacterSetValidat
3210
3210
  * set.
3211
3211
  *
3212
3212
  * @param exclusionSupport
3213
- * Exclusions supported by the character set. All character sets implicitly support {@link Exclusions.None}.
3213
+ * Exclusions supported by the character set. All character sets implicitly support {@linkcode Exclusions.None}.
3214
3214
  */
3215
3215
  constructor(characterSet, ...exclusionSupport) {
3216
3216
  super(characterSet, ...exclusionSupport);
@@ -3307,7 +3307,7 @@ var CharacterSetCreator = class _CharacterSetCreator extends CharacterSetValidat
3307
3307
  return shift;
3308
3308
  }
3309
3309
  /**
3310
- * Validate that a length is less than or equal to {@link MAXIMUM_STRING_LENGTH}. If not, an error is thrown.
3310
+ * Validate that a length is less than or equal to {@linkcode MAXIMUM_STRING_LENGTH}. If not, an error is thrown.
3311
3311
  *
3312
3312
  * @param length
3313
3313
  * Length.
@@ -3340,7 +3340,8 @@ var CharacterSetCreator = class _CharacterSetCreator extends CharacterSetValidat
3340
3340
  * Numeric value(s) of the string(s).
3341
3341
  *
3342
3342
  * @param exclusion
3343
- * String(s) to be excluded from the range of outputs. See {@link Exclusions} for possible values and their meaning.
3343
+ * String(s) to be excluded from the range of outputs. See {@linkcode Exclusions} for possible values and their
3344
+ * meaning.
3344
3345
  *
3345
3346
  * @param tweak
3346
3347
  * If provided, the numerical value of the string(s) is/are "tweaked" using an {@link EncryptionTransformer |
@@ -3362,7 +3363,7 @@ var CharacterSetCreator = class _CharacterSetCreator extends CharacterSetValidat
3362
3363
  if (length !== 0) {
3363
3364
  let convertValue = transformedValue;
3364
3365
  if (exclusion === Exclusions.AllNumeric && convertValue >= allZerosValue) {
3365
- convertValue = convertValue + this.allNumericShift(true, length, convertValue - allZerosValue);
3366
+ convertValue += this.allNumericShift(true, length, convertValue - allZerosValue);
3366
3367
  }
3367
3368
  for (let position = length - 1; position > 0; position--) {
3368
3369
  const nextConvertValue = convertValue / this._characterSetSizeN;
@@ -3381,7 +3382,7 @@ var CharacterSetCreator = class _CharacterSetCreator extends CharacterSetValidat
3381
3382
  * String.
3382
3383
  *
3383
3384
  * @param exclusion
3384
- * Strings excluded from the range of inputs. See {@link Exclusions} for possible values and their meaning.
3385
+ * Strings excluded from the range of inputs. See {@linkcode Exclusions} for possible values and their meaning.
3385
3386
  *
3386
3387
  * @param tweak
3387
3388
  * If provided, the numerical value of the string was "tweaked" using an {@link EncryptionTransformer | encryption