@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 +7 -6
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +7 -6
- package/esm/index.mjs.map +1 -1
- package/package.json +5 -5
package/esm/index.mjs
CHANGED
|
@@ -415,6 +415,7 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
|
|
|
415
415
|
"llms\\.txt",
|
|
416
416
|
"llms-full\\.txt",
|
|
417
417
|
"AGENTS\\.md",
|
|
418
|
+
"CLAUDE\\.md",
|
|
418
419
|
// All hidden files
|
|
419
420
|
"(\\..*)",
|
|
420
421
|
// Username starting with xxx-
|
|
@@ -1348,7 +1349,7 @@ function isBadForMongo(obj) {
|
|
|
1348
1349
|
__name(isBadForMongo, "isBadForMongo");
|
|
1349
1350
|
var _JsonVariable = class _JsonVariable {
|
|
1350
1351
|
constructor(name) {
|
|
1351
|
-
this
|
|
1352
|
+
__publicField(this, "name", name);
|
|
1352
1353
|
}
|
|
1353
1354
|
getToken() {
|
|
1354
1355
|
return `{{${this.name}}}`;
|
|
@@ -1455,7 +1456,7 @@ var CHECK_TYPES = /* @__PURE__ */ ((CHECK_TYPES2) => {
|
|
|
1455
1456
|
})(CHECK_TYPES || {});
|
|
1456
1457
|
var _HealthChecker = class _HealthChecker {
|
|
1457
1458
|
constructor(options) {
|
|
1458
|
-
this
|
|
1459
|
+
__publicField(this, "options", options);
|
|
1459
1460
|
__publicField(this, "checks");
|
|
1460
1461
|
__publicField(this, "redisPrefix");
|
|
1461
1462
|
__publicField(this, "redisTtlSecs");
|
|
@@ -1656,9 +1657,9 @@ __name(_InvalidVariableError, "InvalidVariableError");
|
|
|
1656
1657
|
var InvalidVariableError = _InvalidVariableError;
|
|
1657
1658
|
var _WebhookPayloadTemplate = class _WebhookPayloadTemplate {
|
|
1658
1659
|
constructor(template, allowedVariables = null, context = {}) {
|
|
1659
|
-
this
|
|
1660
|
-
this
|
|
1661
|
-
this
|
|
1660
|
+
__publicField(this, "template", template);
|
|
1661
|
+
__publicField(this, "allowedVariables", allowedVariables);
|
|
1662
|
+
__publicField(this, "context", context);
|
|
1662
1663
|
__publicField(this, "payload");
|
|
1663
1664
|
__publicField(this, "replacedVariables", []);
|
|
1664
1665
|
this.payload = template;
|
|
@@ -1885,7 +1886,7 @@ var CodeHashMetaKey = /* @__PURE__ */ ((CodeHashMetaKey2) => {
|
|
|
1885
1886
|
})(CodeHashMetaKey || {});
|
|
1886
1887
|
var _CodeHashManager = class _CodeHashManager {
|
|
1887
1888
|
constructor(secret) {
|
|
1888
|
-
this
|
|
1889
|
+
__publicField(this, "secret", secret);
|
|
1889
1890
|
}
|
|
1890
1891
|
/**
|
|
1891
1892
|
* Encodes object (e.g. input for actor) to a string hash and uses the `secret` to sign the hash.
|