@apify/utilities 2.28.0 → 2.29.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
@@ -502,6 +502,7 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
502
502
  "llms\\.txt",
503
503
  "llms-full\\.txt",
504
504
  "AGENTS\\.md",
505
+ "CLAUDE\\.md",
505
506
  // All hidden files
506
507
  "(\\..*)",
507
508
  // Username starting with xxx-
@@ -1435,7 +1436,7 @@ function isBadForMongo(obj) {
1435
1436
  __name(isBadForMongo, "isBadForMongo");
1436
1437
  var _JsonVariable = class _JsonVariable {
1437
1438
  constructor(name) {
1438
- this.name = name;
1439
+ __publicField(this, "name", name);
1439
1440
  }
1440
1441
  getToken() {
1441
1442
  return `{{${this.name}}}`;
@@ -1542,7 +1543,7 @@ var CHECK_TYPES = /* @__PURE__ */ ((CHECK_TYPES2) => {
1542
1543
  })(CHECK_TYPES || {});
1543
1544
  var _HealthChecker = class _HealthChecker {
1544
1545
  constructor(options) {
1545
- this.options = options;
1546
+ __publicField(this, "options", options);
1546
1547
  __publicField(this, "checks");
1547
1548
  __publicField(this, "redisPrefix");
1548
1549
  __publicField(this, "redisTtlSecs");
@@ -1743,9 +1744,9 @@ __name(_InvalidVariableError, "InvalidVariableError");
1743
1744
  var InvalidVariableError = _InvalidVariableError;
1744
1745
  var _WebhookPayloadTemplate = class _WebhookPayloadTemplate {
1745
1746
  constructor(template, allowedVariables = null, context = {}) {
1746
- this.template = template;
1747
- this.allowedVariables = allowedVariables;
1748
- this.context = context;
1747
+ __publicField(this, "template", template);
1748
+ __publicField(this, "allowedVariables", allowedVariables);
1749
+ __publicField(this, "context", context);
1749
1750
  __publicField(this, "payload");
1750
1751
  __publicField(this, "replacedVariables", []);
1751
1752
  this.payload = template;
@@ -1972,7 +1973,7 @@ var CodeHashMetaKey = /* @__PURE__ */ ((CodeHashMetaKey2) => {
1972
1973
  })(CodeHashMetaKey || {});
1973
1974
  var _CodeHashManager = class _CodeHashManager {
1974
1975
  constructor(secret) {
1975
- this.secret = secret;
1976
+ __publicField(this, "secret", secret);
1976
1977
  }
1977
1978
  /**
1978
1979
  * Encodes object (e.g. input for actor) to a string hash and uses the `secret` to sign the hash.