@apify/utilities 2.33.1 → 2.34.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/cjs/index.cjs CHANGED
@@ -927,6 +927,8 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
927
927
  "core-team",
928
928
  "oss",
929
929
  "open-source",
930
+ "opensource",
931
+ "open-source-software",
930
932
  // Anti-abuse / scam-bait names (frequently used in account fraud)
931
933
  "spam",
932
934
  "scam",
@@ -1691,7 +1693,7 @@ var _RetryableError = class _RetryableError extends Error {
1691
1693
  };
1692
1694
  __name(_RetryableError, "RetryableError");
1693
1695
  var RetryableError = _RetryableError;
1694
- async function retryWithExpBackoff(params = {}) {
1696
+ async function retryWithExpBackoff(params) {
1695
1697
  const { func, expBackoffMillis, expBackoffMaxRepeats } = params;
1696
1698
  if (typeof func !== "function") {
1697
1699
  throw new Error('Parameter "func" should be a function.');