@apify/utilities 2.31.2 → 2.32.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
@@ -796,7 +796,10 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
796
796
  "key-value-store",
797
797
  "request-queue",
798
798
  "request-queues",
799
+ "build",
799
800
  "builds",
801
+ "dataset",
802
+ "datasets",
800
803
  "schedule",
801
804
  "standby",
802
805
  "pay-per-event",
@@ -817,6 +820,10 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
817
820
  "claude",
818
821
  "copilot",
819
822
  "mistral",
823
+ "gemini",
824
+ "llama",
825
+ "chatbot",
826
+ "chatgpt",
820
827
  "prompt",
821
828
  "prompts",
822
829
  "embeddings",
@@ -852,6 +859,7 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
852
859
  "premium-partner",
853
860
  "staff",
854
861
  "moderator",
862
+ "apify-admin",
855
863
  // Apify subdomain / service names (current and future)
856
864
  "console",
857
865
  "cli",
@@ -893,6 +901,7 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
893
901
  "payouts",
894
902
  "invoice",
895
903
  "invoices",
904
+ "wallet",
896
905
  // Compliance / certifications
897
906
  "soc",
898
907
  "soc2",
@@ -940,10 +949,15 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
940
949
  "conference",
941
950
  "conferences",
942
951
  // Organizations / workspaces / permissions
952
+ "org",
943
953
  "orgs",
954
+ "organisation",
955
+ "workspace",
944
956
  "workspaces",
945
957
  "tenant",
946
958
  "tenants",
959
+ "role",
960
+ "roles",
947
961
  "permission",
948
962
  "permissions",
949
963
  // Auth / security
@@ -951,8 +965,12 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
951
965
  "scim",
952
966
  "token",
953
967
  "tokens",
968
+ "apikey",
954
969
  "api-key",
955
970
  "api-keys",
971
+ "keys",
972
+ "secret",
973
+ "secrets",
956
974
  // Billing / commerce
957
975
  "coupon",
958
976
  "coupons",
@@ -966,12 +984,19 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
966
984
  "billing-portal",
967
985
  // Infrastructure / environments
968
986
  "production",
987
+ "prod",
969
988
  "canary",
989
+ "internal",
970
990
  "restricted",
971
991
  // Communication
972
992
  "conversations",
973
993
  "reactions",
974
994
  "mentions",
995
+ "channel",
996
+ "channels",
997
+ "inbox",
998
+ "no-reply",
999
+ "noreply",
975
1000
  // Legal / trust / web standards
976
1001
  "accessibility",
977
1002
  "imprint",
@@ -989,6 +1014,7 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
989
1014
  "incident",
990
1015
  "incidents",
991
1016
  "what-is-new",
1017
+ "whatsnew",
992
1018
  // Special files
993
1019
  "index",
994
1020
  "index\\.html",
@@ -1004,28 +1030,31 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
1004
1030
  "llms-full\\.txt",
1005
1031
  "AGENTS\\.md",
1006
1032
  "CLAUDE\\.md",
1033
+ "auth\\.md",
1007
1034
  // All hidden files
1008
1035
  "(\\..*)",
1009
1036
  // Username starting with xxx-
1010
1037
  "(xxx-.*)",
1011
- // Usernames containing inappropriate/adult content keywords
1012
- "(.*porn.*)",
1013
- "(.*vagina.*)",
1014
- "(.*dildo.*)",
1015
- "(.*nsfw.*)",
1016
- "(.*hentai.*)",
1017
- "(.*cunt.*)",
1018
- "(.*fuck.*)",
1019
- "(.*shit.*)",
1020
- "(.*bitch.*)",
1021
- "(.*slut.*)",
1022
- "(.*whore.*)",
1023
- "(.*boob.*)",
1024
- "(.*tits.*)",
1025
- // Words that require non-letter boundaries to avoid false positives with
1026
- // legitimate surnames (Dickens, Hancock, Nudelman) and words (Uranus, pussycat, snaked)
1038
+ // Usernames containing inappropriate/adult content keywords.
1039
+ // Each entry requires non-letter boundaries on both sides so the keyword only
1040
+ // matches as a whole word — this avoids false positives like Akshit (shit),
1041
+ // Hancock (cock), Nudelman (nude), Uranus (anus), pussycat (pussy),
1042
+ // snaked (naked), scunthorpe (cunt), christoph-dick-media (dick — legitimate
1043
+ // German surname, not blocked), etc.
1044
+ "((.+[^a-z]|)porn([^a-z].+|))",
1045
+ "((.+[^a-z]|)vagina([^a-z].+|))",
1046
+ "((.+[^a-z]|)dildo([^a-z].+|))",
1047
+ "((.+[^a-z]|)nsfw([^a-z].+|))",
1048
+ "((.+[^a-z]|)hentai([^a-z].+|))",
1049
+ "((.+[^a-z]|)cunt([^a-z].+|))",
1050
+ "((.+[^a-z]|)fuck([^a-z].+|))",
1051
+ "((.+[^a-z]|)shit([^a-z].+|))",
1052
+ "((.+[^a-z]|)bitch([^a-z].+|))",
1053
+ "((.+[^a-z]|)slut([^a-z].+|))",
1054
+ "((.+[^a-z]|)whore([^a-z].+|))",
1055
+ "((.+[^a-z]|)boob([^a-z].+|))",
1056
+ "((.+[^a-z]|)tits([^a-z].+|))",
1027
1057
  "((.+[^a-z]|)cock([^a-z].+|))",
1028
- "((.+[^a-z]|)dick([^a-z].+|))",
1029
1058
  "((.+[^a-z]|)anus([^a-z].+|))",
1030
1059
  "((.+[^a-z]|)pussy([^a-z].+|))",
1031
1060
  "((.+[^a-z]|)nude([^a-z].+|))",