@apify/utilities 2.31.0 → 2.31.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/esm/index.mjs CHANGED
@@ -11,7 +11,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
11
11
 
12
12
  // src/utilities.ts
13
13
  import crypto from "crypto";
14
- import { ANONYMOUS_USERNAME, APIFY_ID_REGEX } from "@apify/consts";
15
14
  import log, { LoggerJson, LogLevel } from "@apify/log";
16
15
  function cryptoRandomObjectId(length = 17) {
17
16
  const chars = "abcdefghijklmnopqrstuvwxyzABCEDFGHIJKLMNOPQRSTUVWXYZ0123456789";
@@ -123,1080 +122,6 @@ function weightedAverage(val1, weight1, val2, weight2) {
123
122
  return (val1 * weight1 + val2 * weight2) / (weight1 + weight2);
124
123
  }
125
124
  __name(weightedAverage, "weightedAverage");
126
- var FORBIDDEN_USERNAMES_REGEXPS = [
127
- // App routes
128
- "page-not-found",
129
- "docs",
130
- "terms-of-use",
131
- "about",
132
- "pricing",
133
- "privacy-policy",
134
- "customers",
135
- "request-form",
136
- "request-solution",
137
- "release-notes",
138
- "jobs",
139
- "api-reference",
140
- "video-tutorials",
141
- "acts",
142
- "key-value-stores",
143
- "schedules",
144
- "account",
145
- "sign-up",
146
- "sign-in-discourse",
147
- "admin",
148
- "documentation",
149
- "change-password",
150
- "enroll-account",
151
- "forgot-password",
152
- "reset-password",
153
- "sign-in",
154
- "verify-email",
155
- "live-status",
156
- "browser-info",
157
- "webhooks",
158
- "health-check",
159
- "api",
160
- "change-log",
161
- "dashboard",
162
- "community",
163
- "crawlers",
164
- "ext",
165
- "schemas",
166
- // Various strings
167
- "admin",
168
- "administration",
169
- "crawler",
170
- "act",
171
- "library",
172
- "lib",
173
- "apifier",
174
- "team",
175
- "contact",
176
- "doc",
177
- "documentation",
178
- "for-business",
179
- "for-developers",
180
- "developers",
181
- "business",
182
- "integrations",
183
- "job",
184
- "setting",
185
- "settings",
186
- "privacy",
187
- "policy",
188
- "assets",
189
- "help",
190
- "config",
191
- "configuration",
192
- "terms",
193
- "hiring",
194
- "hire",
195
- "status",
196
- "status-page",
197
- "solutions",
198
- "support",
199
- "market",
200
- "marketplace",
201
- "download",
202
- "downloads",
203
- "username",
204
- "users",
205
- "user",
206
- "login",
207
- "logout",
208
- "signin",
209
- "sign",
210
- "signup",
211
- "sign-out",
212
- "signout",
213
- "plugins",
214
- "plug-ins",
215
- "reset",
216
- "password",
217
- "passwords",
218
- "square",
219
- "profile-photos",
220
- "profiles",
221
- "true",
222
- "false",
223
- "js",
224
- "css",
225
- "img",
226
- "images",
227
- "image",
228
- "partials",
229
- "fonts",
230
- "font",
231
- "dynamic_templates",
232
- "app",
233
- "schedules",
234
- "community",
235
- "storage",
236
- "storages",
237
- "account",
238
- "node_modules",
239
- "bower_components",
240
- "video",
241
- "knowledgebase",
242
- "forum",
243
- "customers",
244
- "blog",
245
- "health-check",
246
- "health",
247
- "anim",
248
- "forum_topics.json",
249
- "forum_categories.json",
250
- "me",
251
- "you",
252
- "him",
253
- "she",
254
- "it",
255
- "external",
256
- "actor",
257
- "crawler",
258
- "scheduler",
259
- "api",
260
- "sdk",
261
- "puppeteer",
262
- "webdriver",
263
- "selenium",
264
- "(selenium.*webdriver)",
265
- "undefined",
266
- "page-analyzer",
267
- "wp-login.php",
268
- "welcome.action",
269
- "echo",
270
- "proxy",
271
- "super-proxy",
272
- "gdpr",
273
- "case-studies",
274
- "use-cases",
275
- "how-to",
276
- "kb",
277
- "cookies",
278
- "cookie-policy",
279
- "cookies-policy",
280
- "powered-by",
281
- "run",
282
- "runs",
283
- "actor",
284
- "actors",
285
- "act",
286
- "acts",
287
- "success-stories",
288
- "roadmap",
289
- "join-marketplace",
290
- "presskit",
291
- "press-kit",
292
- "covid-19",
293
- "covid",
294
- "covid19",
295
- "matfyz",
296
- "ideas",
297
- "public-actors",
298
- "resources",
299
- "partners",
300
- "affiliate",
301
- "industries",
302
- "web-scraping",
303
- "custom-solutions",
304
- "solution-provider",
305
- "alternatives",
306
- "platform",
307
- "freelancers",
308
- "freelancer",
309
- "partner",
310
- "preview",
311
- "templates",
312
- "data-for-generative-ai",
313
- "discord",
314
- "praguecrawl",
315
- "prague-crawl",
316
- "bob",
317
- "ai-agents",
318
- "reel",
319
- "video-reel",
320
- "mcp",
321
- "mcpc",
322
- "model-context-protocol",
323
- "modelcontextprotocol",
324
- // 'apify.com' intentionally unescaped so "." matches any character, also blocking variants like "apify_com" or "apifyxcom"
325
- "apify.com",
326
- "design-kit",
327
- "press-kit",
328
- "scrapers",
329
- "professional-services",
330
- "challenge",
331
- "challange",
332
- "1m-challenge",
333
- "1m-usd-challenge",
334
- "contact-sales",
335
- "creator",
336
- "creator-plan",
337
- "request-an-integration",
338
- "whitepaper",
339
- "adviser",
340
- "crawlee",
341
- "ultimate-scraper",
342
- "agent-skills",
343
- // Apify platform resources
344
- "key-value-store",
345
- "request-queue",
346
- "request-queues",
347
- "builds",
348
- "schedule",
349
- "standby",
350
- "pay-per-event",
351
- "pay-per-result",
352
- "pay-per-usage",
353
- "ppe",
354
- "ppr",
355
- "compute-unit",
356
- "compute-units",
357
- // AI / LLM related
358
- "agent",
359
- "agents",
360
- "agentic",
361
- "llms",
362
- "llm",
363
- "openai",
364
- "anthropic",
365
- "claude",
366
- "copilot",
367
- "mistral",
368
- "prompt",
369
- "prompts",
370
- "embeddings",
371
- "vectors",
372
- "rag",
373
- // Agentic protocols / agentic payments / agent identity
374
- "agentic-commerce",
375
- "agentic-economy",
376
- "agentic-payments",
377
- "a2a",
378
- "a2b",
379
- "a2p",
380
- "ap2",
381
- "b2a",
382
- "acp",
383
- "ucp",
384
- "mpp",
385
- "x402",
386
- "l402",
387
- "anp",
388
- "agp",
389
- "erc-8004",
390
- "kya",
391
- "kyapay",
392
- // Trust / verification / anti-impersonation handles
393
- // (entries containing 'apify' are already blocked by USERNAME.RESTRICTED_REGEX)
394
- "official",
395
- "verified",
396
- "certified",
397
- "authorized",
398
- "partner-official",
399
- "gold-partner",
400
- "premium-partner",
401
- "staff",
402
- "moderator",
403
- // Apify subdomain / service names (current and future)
404
- "console",
405
- "cli",
406
- "studio",
407
- "gateway",
408
- "workbench",
409
- "agents-marketplace",
410
- "agents-store",
411
- "mcp-server",
412
- "mcp-servers",
413
- "mcp-gateway",
414
- // Region / locale codes (3+ chars only; 1-2 char codes are blocked by USERNAME.MIN_LENGTH)
415
- "asia",
416
- "latam",
417
- "emea",
418
- "apac",
419
- "i18n",
420
- "l10n",
421
- "localization",
422
- "localisation",
423
- // Currency / payment generics (open standards, not company brands)
424
- "usd",
425
- "eur",
426
- "gbp",
427
- "jpy",
428
- "cny",
429
- "usdc",
430
- "usdt",
431
- "btc",
432
- "eth",
433
- "sol",
434
- "crypto",
435
- "fiat",
436
- "stablecoin",
437
- "stablecoins",
438
- "payment",
439
- "payments",
440
- "payout",
441
- "payouts",
442
- "invoice",
443
- "invoices",
444
- // Compliance / certifications
445
- "soc",
446
- "soc2",
447
- "iso",
448
- "iso-27001",
449
- "hipaa",
450
- "ccpa",
451
- "pci",
452
- "pci-dss",
453
- "dpa",
454
- "dpia",
455
- "dmca",
456
- "sla",
457
- "eula",
458
- "aml",
459
- "kyc",
460
- // Open-source / community roles
461
- "contributor",
462
- "contributors",
463
- "maintainer",
464
- "maintainers",
465
- "core-team",
466
- "oss",
467
- "open-source",
468
- // Anti-abuse / scam-bait names (frequently used in account fraud)
469
- "spam",
470
- "scam",
471
- "phishing",
472
- "malware",
473
- "hack",
474
- "hacked",
475
- "giveaway",
476
- "airdrop",
477
- "bitcoin-giveaway",
478
- "free-credits",
479
- "free-money",
480
- // Apify marketing / campaign slugs
481
- "launch",
482
- "launches",
483
- "webinar",
484
- "webinars",
485
- "meetup",
486
- "meetups",
487
- "summit",
488
- "conference",
489
- "conferences",
490
- // Organizations / workspaces / permissions
491
- "orgs",
492
- "workspaces",
493
- "tenant",
494
- "tenants",
495
- "permission",
496
- "permissions",
497
- // Auth / security
498
- "saml",
499
- "scim",
500
- "token",
501
- "tokens",
502
- "api-key",
503
- "api-keys",
504
- // Billing / commerce
505
- "coupon",
506
- "coupons",
507
- "discount",
508
- "discounts",
509
- "promos",
510
- "refund",
511
- "refunds",
512
- "credit",
513
- "credits",
514
- "billing-portal",
515
- // Infrastructure / environments
516
- "production",
517
- "canary",
518
- "restricted",
519
- // Communication
520
- "conversations",
521
- "reactions",
522
- "mentions",
523
- // Legal / trust / web standards
524
- "accessibility",
525
- "imprint",
526
- "impressum",
527
- "trust",
528
- "trust-center",
529
- "security-center",
530
- // Brand protection / impersonation prevention
531
- "brand",
532
- "branding",
533
- "support-team",
534
- "abuse",
535
- // Incidents / updates
536
- "outage",
537
- "incident",
538
- "incidents",
539
- "what-is-new",
540
- // Special files
541
- "index",
542
- "index\\.html",
543
- "(favicon\\.[a-z]+)",
544
- "BingSiteAuth.xml",
545
- "(google.+\\.html)",
546
- "robots\\.txt",
547
- "(sitemap\\.[a-z]+)",
548
- "(apple-touch-icon.*)",
549
- "security-whitepaper\\.pdf",
550
- "security\\.txt",
551
- "llms\\.txt",
552
- "llms-full\\.txt",
553
- "AGENTS\\.md",
554
- "CLAUDE\\.md",
555
- // All hidden files
556
- "(\\..*)",
557
- // Username starting with xxx-
558
- "(xxx-.*)",
559
- // Usernames containing inappropriate/adult content keywords
560
- "(.*porn.*)",
561
- "(.*vagina.*)",
562
- "(.*dildo.*)",
563
- "(.*nsfw.*)",
564
- "(.*hentai.*)",
565
- "(.*cunt.*)",
566
- "(.*fuck.*)",
567
- "(.*shit.*)",
568
- "(.*bitch.*)",
569
- "(.*slut.*)",
570
- "(.*whore.*)",
571
- "(.*boob.*)",
572
- "(.*tits.*)",
573
- // Words that require non-letter boundaries to avoid false positives with
574
- // legitimate surnames (Dickens, Hancock, Nudelman) and words (Uranus, pussycat, snaked)
575
- "((.+[^a-z]|)cock([^a-z].+|))",
576
- "((.+[^a-z]|)dick([^a-z].+|))",
577
- "((.+[^a-z]|)anus([^a-z].+|))",
578
- "((.+[^a-z]|)pussy([^a-z].+|))",
579
- "((.+[^a-z]|)nude([^a-z].+|))",
580
- "((.+[^a-z]|)penis([^a-z].+|))",
581
- "((.+[^a-z]|)naked([^a-z].+|))",
582
- // Username starting with install-cli. (see https://docs.apify.com/cli/docs/installation)
583
- "(install-cli\\..*)",
584
- // Strings not starting with letter or number
585
- "([^0-9a-z].*)",
586
- // Strings not ending with letter or number
587
- "(.*[^0-9a-z])",
588
- // Strings where there's more than one underscore, comma or dash in row
589
- "(.*[_.\\-]{2}.*)",
590
- // Reserved usernames from https://github.com/shouldbee/reserved-usernames/blob/master/reserved-usernames.json
591
- "0",
592
- "about",
593
- "access",
594
- "account",
595
- "accounts",
596
- "activate",
597
- "activities",
598
- "activity",
599
- "ad",
600
- "add",
601
- "address",
602
- "adm",
603
- "admin",
604
- "administration",
605
- "administrator",
606
- "ads",
607
- "adult",
608
- "advertising",
609
- "affiliate",
610
- "affiliates",
611
- "ajax",
612
- "all",
613
- "alpha",
614
- "analysis",
615
- "analytics",
616
- "android",
617
- "anon",
618
- "anonymous",
619
- "api",
620
- "app",
621
- "apps",
622
- "archive",
623
- "archives",
624
- "article",
625
- "asct",
626
- "asset",
627
- "atom",
628
- "auth",
629
- "authentication",
630
- "avatar",
631
- "backup",
632
- "balancer-manager",
633
- "banner",
634
- "banners",
635
- "beta",
636
- "billing",
637
- "bin",
638
- "blog",
639
- "blogs",
640
- "board",
641
- "book",
642
- "bookmark",
643
- "bot",
644
- "bots",
645
- "bug",
646
- "business",
647
- "cache",
648
- "cadastro",
649
- "calendar",
650
- "call",
651
- "campaign",
652
- "cancel",
653
- "captcha",
654
- "career",
655
- "careers",
656
- "cart",
657
- "categories",
658
- "category",
659
- "cgi",
660
- "cgi-bin",
661
- "changelog",
662
- "chat",
663
- "check",
664
- "checking",
665
- "checkout",
666
- "client",
667
- "cliente",
668
- "clients",
669
- "code",
670
- "codereview",
671
- "comercial",
672
- "comment",
673
- "comments",
674
- "communities",
675
- "community",
676
- "company",
677
- "compare",
678
- "compras",
679
- "config",
680
- "configuration",
681
- "connect",
682
- "contact",
683
- "contact-us",
684
- "contact_us",
685
- "contactus",
686
- "contest",
687
- "contribute",
688
- "corp",
689
- "create",
690
- "css",
691
- "dashboard",
692
- "data",
693
- "db",
694
- "default",
695
- "delete",
696
- "demo",
697
- "design",
698
- "designer",
699
- "destroy",
700
- "dev",
701
- "devel",
702
- "developer",
703
- "developers",
704
- "diagram",
705
- "diary",
706
- "dict",
707
- "dictionary",
708
- "die",
709
- "dir",
710
- "direct_messages",
711
- "directory",
712
- "dist",
713
- "doc",
714
- "docs",
715
- "documentation",
716
- "domain",
717
- "download",
718
- "downloads",
719
- "ecommerce",
720
- "edit",
721
- "editor",
722
- "edu",
723
- "education",
724
- "email",
725
- "employment",
726
- "empty",
727
- "end",
728
- "enterprise",
729
- "entries",
730
- "entry",
731
- "error",
732
- "errors",
733
- "eval",
734
- "event",
735
- "events",
736
- "exit",
737
- "explore",
738
- "facebook",
739
- "faq",
740
- "favorite",
741
- "favorites",
742
- "feature",
743
- "features",
744
- "feed",
745
- "feedback",
746
- "feeds",
747
- "file",
748
- "files",
749
- "first",
750
- "flash",
751
- "fleet",
752
- "fleets",
753
- "flog",
754
- "follow",
755
- "followers",
756
- "following",
757
- "forgot",
758
- "form",
759
- "forum",
760
- "forums",
761
- "founder",
762
- "free",
763
- "friend",
764
- "friends",
765
- "ftp",
766
- "gadget",
767
- "gadgets",
768
- "game",
769
- "games",
770
- "get",
771
- "gift",
772
- "gifts",
773
- "gist",
774
- "github",
775
- "graph",
776
- "group",
777
- "groups",
778
- "guest",
779
- "guests",
780
- "help",
781
- "home",
782
- "homepage",
783
- "host",
784
- "hosting",
785
- "hostmaster",
786
- "hostname",
787
- "howto",
788
- "hpg",
789
- "html",
790
- "http",
791
- "httpd",
792
- "https",
793
- "i",
794
- "iamges",
795
- "icon",
796
- "icons",
797
- "id",
798
- "idea",
799
- "ideas",
800
- "image",
801
- "images",
802
- "imap",
803
- "img",
804
- "index",
805
- "indice",
806
- "info",
807
- "information",
808
- "inquiry",
809
- "instagram",
810
- "intranet",
811
- "invitations",
812
- "invite",
813
- "ipad",
814
- "iphone",
815
- "irc",
816
- "is",
817
- "issue",
818
- "issues",
819
- "it",
820
- "item",
821
- "items",
822
- "java",
823
- "javascript",
824
- "job",
825
- "jobs",
826
- "join",
827
- "js",
828
- "json",
829
- "jump",
830
- "knowledgebase",
831
- "language",
832
- "languages",
833
- "last",
834
- "ldap-status",
835
- "legal",
836
- "license",
837
- "link",
838
- "links",
839
- "linux",
840
- "list",
841
- "lists",
842
- "log",
843
- "log-in",
844
- "log-out",
845
- "log_in",
846
- "log_out",
847
- "login",
848
- "logout",
849
- "logs",
850
- "m",
851
- "mac",
852
- "mail",
853
- "mail1",
854
- "mail2",
855
- "mail3",
856
- "mail4",
857
- "mail5",
858
- "mailer",
859
- "mailing",
860
- "maintenance",
861
- "manager",
862
- "manual",
863
- "map",
864
- "maps",
865
- "marketing",
866
- "master",
867
- "me",
868
- "media",
869
- "member",
870
- "members",
871
- "message",
872
- "messages",
873
- "messenger",
874
- "microblog",
875
- "microblogs",
876
- "mine",
877
- "mis",
878
- "mob",
879
- "mobile",
880
- "movie",
881
- "movies",
882
- "mp3",
883
- "msg",
884
- "msn",
885
- "music",
886
- "musicas",
887
- "mx",
888
- "my",
889
- "mysql",
890
- "name",
891
- "named",
892
- "nan",
893
- "navi",
894
- "navigation",
895
- "net",
896
- "network",
897
- "new",
898
- "news",
899
- "newsletter",
900
- "nick",
901
- "nickname",
902
- "notes",
903
- "noticias",
904
- "notification",
905
- "notifications",
906
- "notify",
907
- "ns",
908
- "ns1",
909
- "ns10",
910
- "ns2",
911
- "ns3",
912
- "ns4",
913
- "ns5",
914
- "ns6",
915
- "ns7",
916
- "ns8",
917
- "ns9",
918
- "null",
919
- "oauth",
920
- "oauth_clients",
921
- "offer",
922
- "offers",
923
- "official",
924
- "old",
925
- "online",
926
- "openid",
927
- "operator",
928
- "order",
929
- "orders",
930
- "organization",
931
- "organizations",
932
- "overview",
933
- "owner",
934
- "owners",
935
- "page",
936
- "pager",
937
- "pages",
938
- "panel",
939
- "password",
940
- "payment",
941
- "perl",
942
- "phone",
943
- "photo",
944
- "photoalbum",
945
- "photos",
946
- "php",
947
- "phpmyadmin",
948
- "phppgadmin",
949
- "phpredisadmin",
950
- "pic",
951
- "pics",
952
- "ping",
953
- "plan",
954
- "plans",
955
- "plugin",
956
- "plugins",
957
- "policy",
958
- "pop",
959
- "pop3",
960
- "popular",
961
- "portal",
962
- "post",
963
- "postfix",
964
- "postmaster",
965
- "posts",
966
- "pr",
967
- "premium",
968
- "press",
969
- "price",
970
- "pricing",
971
- "privacy",
972
- "privacy-policy",
973
- "privacy_policy",
974
- "privacypolicy",
975
- "private",
976
- "product",
977
- "products",
978
- "profile",
979
- "project",
980
- "projects",
981
- "promo",
982
- "pub",
983
- "public",
984
- "purpose",
985
- "put",
986
- "python",
987
- "query",
988
- "random",
989
- "ranking",
990
- "read",
991
- "readme",
992
- "recent",
993
- "recruit",
994
- "recruitment",
995
- "register",
996
- "registration",
997
- "release",
998
- "remove",
999
- "replies",
1000
- "report",
1001
- "reports",
1002
- "repositories",
1003
- "repository",
1004
- "req",
1005
- "request",
1006
- "requests",
1007
- "reset",
1008
- "roc",
1009
- "root",
1010
- "rss",
1011
- "ruby",
1012
- "rule",
1013
- "sag",
1014
- "sale",
1015
- "sales",
1016
- "sample",
1017
- "samples",
1018
- "save",
1019
- "school",
1020
- "script",
1021
- "scripts",
1022
- "search",
1023
- "secure",
1024
- "security",
1025
- "self",
1026
- "send",
1027
- "server",
1028
- "server-info",
1029
- "server-status",
1030
- "service",
1031
- "services",
1032
- "session",
1033
- "sessions",
1034
- "setting",
1035
- "settings",
1036
- "setup",
1037
- "share",
1038
- "shop",
1039
- "show",
1040
- "sign-in",
1041
- "sign-up",
1042
- "sign_in",
1043
- "sign_up",
1044
- "signin",
1045
- "signout",
1046
- "signup",
1047
- "site",
1048
- "sitemap",
1049
- "sites",
1050
- "smartphone",
1051
- "smtp",
1052
- "soporte",
1053
- "source",
1054
- "spec",
1055
- "special",
1056
- "sql",
1057
- "src",
1058
- "ssh",
1059
- "ssl",
1060
- "ssladmin",
1061
- "ssladministrator",
1062
- "sslwebmaster",
1063
- "staff",
1064
- "stage",
1065
- "staging",
1066
- "start",
1067
- "stat",
1068
- "state",
1069
- "static",
1070
- "stats",
1071
- "status",
1072
- "store",
1073
- "stores",
1074
- "stories",
1075
- "style",
1076
- "styleguide",
1077
- "stylesheet",
1078
- "stylesheets",
1079
- "subdomain",
1080
- "subscribe",
1081
- "subscription",
1082
- "subscriptions",
1083
- "suporte",
1084
- "support",
1085
- "svn",
1086
- "swf",
1087
- "sys",
1088
- "sysadmin",
1089
- "sysadministrator",
1090
- "system",
1091
- "tablet",
1092
- "tablets",
1093
- "tag",
1094
- "talk",
1095
- "task",
1096
- "tasks",
1097
- "team",
1098
- "teams",
1099
- "tech",
1100
- "telnet",
1101
- "term",
1102
- "terms",
1103
- "terms-of-service",
1104
- "terms_of_service",
1105
- "termsofservice",
1106
- "test",
1107
- "test1",
1108
- "test2",
1109
- "test3",
1110
- "teste",
1111
- "testing",
1112
- "tests",
1113
- "theme",
1114
- "themes",
1115
- "thread",
1116
- "threads",
1117
- "tmp",
1118
- "todo",
1119
- "tool",
1120
- "tools",
1121
- "top",
1122
- "topic",
1123
- "topics",
1124
- "tos",
1125
- "tour",
1126
- "translations",
1127
- "trends",
1128
- "tutorial",
1129
- "tux",
1130
- "tv",
1131
- "twitter",
1132
- "undef",
1133
- "unfollow",
1134
- "unsubscribe",
1135
- "update",
1136
- "upload",
1137
- "uploads",
1138
- "url",
1139
- "usage",
1140
- "user",
1141
- "username",
1142
- "users",
1143
- "usuario",
1144
- "vendas",
1145
- "ver",
1146
- "version",
1147
- "video",
1148
- "videos",
1149
- "visitor",
1150
- "watch",
1151
- "weather",
1152
- "web",
1153
- "webhook",
1154
- "webhooks",
1155
- "webmail",
1156
- "webmaster",
1157
- "website",
1158
- "websites",
1159
- "welcome",
1160
- "widget",
1161
- "widgets",
1162
- "wiki",
1163
- "win",
1164
- "windows",
1165
- "word",
1166
- "work",
1167
- "works",
1168
- "workshop",
1169
- "ww",
1170
- "wws",
1171
- "www",
1172
- "www1",
1173
- "www2",
1174
- "www3",
1175
- "www4",
1176
- "www5",
1177
- "www6",
1178
- "www7",
1179
- "wwws",
1180
- "wwww",
1181
- "xfn",
1182
- "xml",
1183
- "xmpp",
1184
- "xpg",
1185
- "xxx",
1186
- "yaml",
1187
- "year",
1188
- "yml",
1189
- "you",
1190
- "yourdomain",
1191
- "yourname",
1192
- "yoursite",
1193
- "yourusername"
1194
- ];
1195
- var FORBIDDEN_REGEXP = new RegExp(`^(${ANONYMOUS_USERNAME}|${FORBIDDEN_USERNAMES_REGEXPS.join("|")})$`, "i");
1196
- function isForbiddenUsername(username) {
1197
- return !!username.match(APIFY_ID_REGEX) || !!username.match(FORBIDDEN_REGEXP);
1198
- }
1199
- __name(isForbiddenUsername, "isForbiddenUsername");
1200
125
  async function sequentializePromises(promises) {
1201
126
  if (!promises.length) return [];
1202
127
  const results = [];
@@ -1559,7 +484,1084 @@ __name(splitFullName, "splitFullName");
1559
484
  function isUrlRelative(url) {
1560
485
  return RELATIVE_URL_REGEX.test(url);
1561
486
  }
1562
- __name(isUrlRelative, "isUrlRelative");
487
+ __name(isUrlRelative, "isUrlRelative");
488
+
489
+ // src/usernames.ts
490
+ import { ANONYMOUS_USERNAME, APIFY_ID_REGEX } from "@apify/consts";
491
+ var FORBIDDEN_USERNAMES_REGEXPS = [
492
+ // App routes
493
+ "page-not-found",
494
+ "docs",
495
+ "terms-of-use",
496
+ "about",
497
+ "pricing",
498
+ "privacy-policy",
499
+ "customers",
500
+ "request-form",
501
+ "request-solution",
502
+ "release-notes",
503
+ "jobs",
504
+ "api-reference",
505
+ "video-tutorials",
506
+ "acts",
507
+ "key-value-stores",
508
+ "schedules",
509
+ "account",
510
+ "sign-up",
511
+ "sign-in-discourse",
512
+ "admin",
513
+ "documentation",
514
+ "change-password",
515
+ "enroll-account",
516
+ "forgot-password",
517
+ "reset-password",
518
+ "sign-in",
519
+ "verify-email",
520
+ "live-status",
521
+ "browser-info",
522
+ "webhooks",
523
+ "health-check",
524
+ "api",
525
+ "change-log",
526
+ "dashboard",
527
+ "community",
528
+ "crawlers",
529
+ "ext",
530
+ "schemas",
531
+ // Various strings
532
+ "admin",
533
+ "administration",
534
+ "crawler",
535
+ "act",
536
+ "library",
537
+ "lib",
538
+ "apifier",
539
+ "team",
540
+ "contact",
541
+ "doc",
542
+ "documentation",
543
+ "for-business",
544
+ "for-developers",
545
+ "developers",
546
+ "business",
547
+ "integrations",
548
+ "job",
549
+ "setting",
550
+ "settings",
551
+ "privacy",
552
+ "policy",
553
+ "assets",
554
+ "help",
555
+ "config",
556
+ "configuration",
557
+ "terms",
558
+ "hiring",
559
+ "hire",
560
+ "status",
561
+ "status-page",
562
+ "solutions",
563
+ "support",
564
+ "market",
565
+ "marketplace",
566
+ "download",
567
+ "downloads",
568
+ "username",
569
+ "users",
570
+ "user",
571
+ "login",
572
+ "logout",
573
+ "signin",
574
+ "sign",
575
+ "signup",
576
+ "sign-out",
577
+ "signout",
578
+ "plugins",
579
+ "plug-ins",
580
+ "reset",
581
+ "password",
582
+ "passwords",
583
+ "square",
584
+ "profile-photos",
585
+ "profiles",
586
+ "true",
587
+ "false",
588
+ "js",
589
+ "css",
590
+ "img",
591
+ "images",
592
+ "image",
593
+ "partials",
594
+ "fonts",
595
+ "font",
596
+ "dynamic_templates",
597
+ "app",
598
+ "schedules",
599
+ "community",
600
+ "storage",
601
+ "storages",
602
+ "account",
603
+ "node_modules",
604
+ "bower_components",
605
+ "video",
606
+ "knowledgebase",
607
+ "forum",
608
+ "customers",
609
+ "blog",
610
+ "health-check",
611
+ "health",
612
+ "anim",
613
+ "forum_topics.json",
614
+ "forum_categories.json",
615
+ "me",
616
+ "you",
617
+ "him",
618
+ "she",
619
+ "it",
620
+ "external",
621
+ "actor",
622
+ "crawler",
623
+ "scheduler",
624
+ "api",
625
+ "sdk",
626
+ "puppeteer",
627
+ "webdriver",
628
+ "selenium",
629
+ "(selenium.*webdriver)",
630
+ "undefined",
631
+ "page-analyzer",
632
+ "wp-login.php",
633
+ "welcome.action",
634
+ "echo",
635
+ "proxy",
636
+ "super-proxy",
637
+ "gdpr",
638
+ "case-studies",
639
+ "use-cases",
640
+ "how-to",
641
+ "kb",
642
+ "cookies",
643
+ "cookie-policy",
644
+ "cookies-policy",
645
+ "powered-by",
646
+ "run",
647
+ "runs",
648
+ "actor",
649
+ "actors",
650
+ "act",
651
+ "acts",
652
+ "success-stories",
653
+ "roadmap",
654
+ "join-marketplace",
655
+ "presskit",
656
+ "press-kit",
657
+ "covid-19",
658
+ "covid",
659
+ "covid19",
660
+ "matfyz",
661
+ "ideas",
662
+ "public-actors",
663
+ "resources",
664
+ "partners",
665
+ "affiliate",
666
+ "industries",
667
+ "web-scraping",
668
+ "custom-solutions",
669
+ "solution-provider",
670
+ "alternatives",
671
+ "platform",
672
+ "freelancers",
673
+ "freelancer",
674
+ "partner",
675
+ "preview",
676
+ "templates",
677
+ "data-for-generative-ai",
678
+ "discord",
679
+ "praguecrawl",
680
+ "prague-crawl",
681
+ "bob",
682
+ "ai-agents",
683
+ "reel",
684
+ "video-reel",
685
+ "mcp",
686
+ "mcpc",
687
+ "model-context-protocol",
688
+ "modelcontextprotocol",
689
+ // 'apify.com' intentionally unescaped so "." matches any character, also blocking variants like "apify_com" or "apifyxcom"
690
+ "apify.com",
691
+ "design-kit",
692
+ "press-kit",
693
+ "scrapers",
694
+ "professional-services",
695
+ "challenge",
696
+ "challange",
697
+ "1m-challenge",
698
+ "1m-usd-challenge",
699
+ "contact-sales",
700
+ "creator",
701
+ "creator-plan",
702
+ "request-an-integration",
703
+ "whitepaper",
704
+ "adviser",
705
+ "crawlee",
706
+ "ultimate-scraper",
707
+ "agent-skills",
708
+ // Apify platform resources
709
+ "key-value-store",
710
+ "request-queue",
711
+ "request-queues",
712
+ "builds",
713
+ "schedule",
714
+ "standby",
715
+ "pay-per-event",
716
+ "pay-per-result",
717
+ "pay-per-usage",
718
+ "ppe",
719
+ "ppr",
720
+ "compute-unit",
721
+ "compute-units",
722
+ // AI / LLM related
723
+ "agent",
724
+ "agents",
725
+ "agentic",
726
+ "llms",
727
+ "llm",
728
+ "openai",
729
+ "anthropic",
730
+ "claude",
731
+ "copilot",
732
+ "mistral",
733
+ "prompt",
734
+ "prompts",
735
+ "embeddings",
736
+ "vectors",
737
+ "rag",
738
+ // Agentic protocols / agentic payments / agent identity
739
+ "agentic-commerce",
740
+ "agentic-economy",
741
+ "agentic-payments",
742
+ "a2a",
743
+ "a2b",
744
+ "a2p",
745
+ "ap2",
746
+ "b2a",
747
+ "acp",
748
+ "ucp",
749
+ "mpp",
750
+ "x402",
751
+ "l402",
752
+ "anp",
753
+ "agp",
754
+ "erc-8004",
755
+ "kya",
756
+ "kyapay",
757
+ // Trust / verification / anti-impersonation handles
758
+ // (entries containing 'apify' are already blocked by USERNAME.RESTRICTED_REGEX)
759
+ "official",
760
+ "verified",
761
+ "certified",
762
+ "authorized",
763
+ "partner-official",
764
+ "gold-partner",
765
+ "premium-partner",
766
+ "staff",
767
+ "moderator",
768
+ // Apify subdomain / service names (current and future)
769
+ "console",
770
+ "cli",
771
+ "studio",
772
+ "gateway",
773
+ "workbench",
774
+ "agents-marketplace",
775
+ "agents-store",
776
+ "mcp-server",
777
+ "mcp-servers",
778
+ "mcp-gateway",
779
+ // Region / locale codes (3+ chars only; 1-2 char codes are blocked by USERNAME.MIN_LENGTH)
780
+ "asia",
781
+ "latam",
782
+ "emea",
783
+ "apac",
784
+ "i18n",
785
+ "l10n",
786
+ "localization",
787
+ "localisation",
788
+ // Currency / payment generics (open standards, not company brands)
789
+ "usd",
790
+ "eur",
791
+ "gbp",
792
+ "jpy",
793
+ "cny",
794
+ "usdc",
795
+ "usdt",
796
+ "btc",
797
+ "eth",
798
+ "sol",
799
+ "crypto",
800
+ "fiat",
801
+ "stablecoin",
802
+ "stablecoins",
803
+ "payment",
804
+ "payments",
805
+ "payout",
806
+ "payouts",
807
+ "invoice",
808
+ "invoices",
809
+ // Compliance / certifications
810
+ "soc",
811
+ "soc2",
812
+ "iso",
813
+ "iso-27001",
814
+ "hipaa",
815
+ "ccpa",
816
+ "pci",
817
+ "pci-dss",
818
+ "dpa",
819
+ "dpia",
820
+ "dmca",
821
+ "sla",
822
+ "eula",
823
+ "aml",
824
+ "kyc",
825
+ // Open-source / community roles
826
+ "contributor",
827
+ "contributors",
828
+ "maintainer",
829
+ "maintainers",
830
+ "core-team",
831
+ "oss",
832
+ "open-source",
833
+ // Anti-abuse / scam-bait names (frequently used in account fraud)
834
+ "spam",
835
+ "scam",
836
+ "phishing",
837
+ "malware",
838
+ "hack",
839
+ "hacked",
840
+ "giveaway",
841
+ "airdrop",
842
+ "bitcoin-giveaway",
843
+ "free-credits",
844
+ "free-money",
845
+ // Apify marketing / campaign slugs
846
+ "launch",
847
+ "launches",
848
+ "webinar",
849
+ "webinars",
850
+ "meetup",
851
+ "meetups",
852
+ "summit",
853
+ "conference",
854
+ "conferences",
855
+ // Organizations / workspaces / permissions
856
+ "orgs",
857
+ "workspaces",
858
+ "tenant",
859
+ "tenants",
860
+ "permission",
861
+ "permissions",
862
+ // Auth / security
863
+ "saml",
864
+ "scim",
865
+ "token",
866
+ "tokens",
867
+ "api-key",
868
+ "api-keys",
869
+ // Billing / commerce
870
+ "coupon",
871
+ "coupons",
872
+ "discount",
873
+ "discounts",
874
+ "promos",
875
+ "refund",
876
+ "refunds",
877
+ "credit",
878
+ "credits",
879
+ "billing-portal",
880
+ // Infrastructure / environments
881
+ "production",
882
+ "canary",
883
+ "restricted",
884
+ // Communication
885
+ "conversations",
886
+ "reactions",
887
+ "mentions",
888
+ // Legal / trust / web standards
889
+ "accessibility",
890
+ "imprint",
891
+ "impressum",
892
+ "trust",
893
+ "trust-center",
894
+ "security-center",
895
+ // Brand protection / impersonation prevention
896
+ "brand",
897
+ "branding",
898
+ "support-team",
899
+ "abuse",
900
+ // Incidents / updates
901
+ "outage",
902
+ "incident",
903
+ "incidents",
904
+ "what-is-new",
905
+ // Special files
906
+ "index",
907
+ "index\\.html",
908
+ "(favicon\\.[a-z]+)",
909
+ "BingSiteAuth.xml",
910
+ "(google.+\\.html)",
911
+ "robots\\.txt",
912
+ "(sitemap\\.[a-z]+)",
913
+ "(apple-touch-icon.*)",
914
+ "security-whitepaper\\.pdf",
915
+ "security\\.txt",
916
+ "llms\\.txt",
917
+ "llms-full\\.txt",
918
+ "AGENTS\\.md",
919
+ "CLAUDE\\.md",
920
+ // All hidden files
921
+ "(\\..*)",
922
+ // Username starting with xxx-
923
+ "(xxx-.*)",
924
+ // Usernames containing inappropriate/adult content keywords
925
+ "(.*porn.*)",
926
+ "(.*vagina.*)",
927
+ "(.*dildo.*)",
928
+ "(.*nsfw.*)",
929
+ "(.*hentai.*)",
930
+ "(.*cunt.*)",
931
+ "(.*fuck.*)",
932
+ "(.*shit.*)",
933
+ "(.*bitch.*)",
934
+ "(.*slut.*)",
935
+ "(.*whore.*)",
936
+ "(.*boob.*)",
937
+ "(.*tits.*)",
938
+ // Words that require non-letter boundaries to avoid false positives with
939
+ // legitimate surnames (Dickens, Hancock, Nudelman) and words (Uranus, pussycat, snaked)
940
+ "((.+[^a-z]|)cock([^a-z].+|))",
941
+ "((.+[^a-z]|)dick([^a-z].+|))",
942
+ "((.+[^a-z]|)anus([^a-z].+|))",
943
+ "((.+[^a-z]|)pussy([^a-z].+|))",
944
+ "((.+[^a-z]|)nude([^a-z].+|))",
945
+ "((.+[^a-z]|)penis([^a-z].+|))",
946
+ "((.+[^a-z]|)naked([^a-z].+|))",
947
+ // Username starting with install-cli. (see https://docs.apify.com/cli/docs/installation)
948
+ "(install-cli\\..*)",
949
+ // Strings not starting with letter or number
950
+ "([^0-9a-z].*)",
951
+ // Strings not ending with letter or number
952
+ "(.*[^0-9a-z])",
953
+ // Strings where there's more than one underscore, comma or dash in row
954
+ "(.*[_.\\-]{2}.*)",
955
+ // Reserved usernames from https://github.com/shouldbee/reserved-usernames/blob/master/reserved-usernames.json
956
+ "0",
957
+ "about",
958
+ "access",
959
+ "account",
960
+ "accounts",
961
+ "activate",
962
+ "activities",
963
+ "activity",
964
+ "ad",
965
+ "add",
966
+ "address",
967
+ "adm",
968
+ "admin",
969
+ "administration",
970
+ "administrator",
971
+ "ads",
972
+ "adult",
973
+ "advertising",
974
+ "affiliate",
975
+ "affiliates",
976
+ "ajax",
977
+ "all",
978
+ "alpha",
979
+ "analysis",
980
+ "analytics",
981
+ "android",
982
+ "anon",
983
+ "anonymous",
984
+ "api",
985
+ "app",
986
+ "apps",
987
+ "archive",
988
+ "archives",
989
+ "article",
990
+ "asct",
991
+ "asset",
992
+ "atom",
993
+ "auth",
994
+ "authentication",
995
+ "avatar",
996
+ "backup",
997
+ "balancer-manager",
998
+ "banner",
999
+ "banners",
1000
+ "beta",
1001
+ "billing",
1002
+ "bin",
1003
+ "blog",
1004
+ "blogs",
1005
+ "board",
1006
+ "book",
1007
+ "bookmark",
1008
+ "bot",
1009
+ "bots",
1010
+ "bug",
1011
+ "business",
1012
+ "cache",
1013
+ "cadastro",
1014
+ "calendar",
1015
+ "call",
1016
+ "campaign",
1017
+ "cancel",
1018
+ "captcha",
1019
+ "career",
1020
+ "careers",
1021
+ "cart",
1022
+ "categories",
1023
+ "category",
1024
+ "cgi",
1025
+ "cgi-bin",
1026
+ "changelog",
1027
+ "chat",
1028
+ "check",
1029
+ "checking",
1030
+ "checkout",
1031
+ "client",
1032
+ "cliente",
1033
+ "clients",
1034
+ "code",
1035
+ "codereview",
1036
+ "comercial",
1037
+ "comment",
1038
+ "comments",
1039
+ "communities",
1040
+ "community",
1041
+ "company",
1042
+ "compare",
1043
+ "compras",
1044
+ "config",
1045
+ "configuration",
1046
+ "connect",
1047
+ "contact",
1048
+ "contact-us",
1049
+ "contact_us",
1050
+ "contactus",
1051
+ "contest",
1052
+ "contribute",
1053
+ "corp",
1054
+ "create",
1055
+ "css",
1056
+ "dashboard",
1057
+ "data",
1058
+ "db",
1059
+ "default",
1060
+ "delete",
1061
+ "demo",
1062
+ "design",
1063
+ "designer",
1064
+ "destroy",
1065
+ "dev",
1066
+ "devel",
1067
+ "developer",
1068
+ "developers",
1069
+ "diagram",
1070
+ "diary",
1071
+ "dict",
1072
+ "dictionary",
1073
+ "die",
1074
+ "dir",
1075
+ "direct_messages",
1076
+ "directory",
1077
+ "dist",
1078
+ "doc",
1079
+ "docs",
1080
+ "documentation",
1081
+ "domain",
1082
+ "download",
1083
+ "downloads",
1084
+ "ecommerce",
1085
+ "edit",
1086
+ "editor",
1087
+ "edu",
1088
+ "education",
1089
+ "email",
1090
+ "employment",
1091
+ "empty",
1092
+ "end",
1093
+ "enterprise",
1094
+ "entries",
1095
+ "entry",
1096
+ "error",
1097
+ "errors",
1098
+ "eval",
1099
+ "event",
1100
+ "events",
1101
+ "exit",
1102
+ "explore",
1103
+ "facebook",
1104
+ "faq",
1105
+ "favorite",
1106
+ "favorites",
1107
+ "feature",
1108
+ "features",
1109
+ "feed",
1110
+ "feedback",
1111
+ "feeds",
1112
+ "file",
1113
+ "files",
1114
+ "first",
1115
+ "flash",
1116
+ "fleet",
1117
+ "fleets",
1118
+ "flog",
1119
+ "follow",
1120
+ "followers",
1121
+ "following",
1122
+ "forgot",
1123
+ "form",
1124
+ "forum",
1125
+ "forums",
1126
+ "founder",
1127
+ "free",
1128
+ "friend",
1129
+ "friends",
1130
+ "ftp",
1131
+ "gadget",
1132
+ "gadgets",
1133
+ "game",
1134
+ "games",
1135
+ "get",
1136
+ "gift",
1137
+ "gifts",
1138
+ "gist",
1139
+ "github",
1140
+ "graph",
1141
+ "group",
1142
+ "groups",
1143
+ "guest",
1144
+ "guests",
1145
+ "help",
1146
+ "home",
1147
+ "homepage",
1148
+ "host",
1149
+ "hosting",
1150
+ "hostmaster",
1151
+ "hostname",
1152
+ "howto",
1153
+ "hpg",
1154
+ "html",
1155
+ "http",
1156
+ "httpd",
1157
+ "https",
1158
+ "i",
1159
+ "iamges",
1160
+ "icon",
1161
+ "icons",
1162
+ "id",
1163
+ "idea",
1164
+ "ideas",
1165
+ "image",
1166
+ "images",
1167
+ "imap",
1168
+ "img",
1169
+ "index",
1170
+ "indice",
1171
+ "info",
1172
+ "information",
1173
+ "inquiry",
1174
+ "instagram",
1175
+ "intranet",
1176
+ "invitations",
1177
+ "invite",
1178
+ "ipad",
1179
+ "iphone",
1180
+ "irc",
1181
+ "is",
1182
+ "issue",
1183
+ "issues",
1184
+ "it",
1185
+ "item",
1186
+ "items",
1187
+ "java",
1188
+ "javascript",
1189
+ "job",
1190
+ "jobs",
1191
+ "join",
1192
+ "js",
1193
+ "json",
1194
+ "jump",
1195
+ "knowledgebase",
1196
+ "language",
1197
+ "languages",
1198
+ "last",
1199
+ "ldap-status",
1200
+ "legal",
1201
+ "license",
1202
+ "link",
1203
+ "links",
1204
+ "linux",
1205
+ "list",
1206
+ "lists",
1207
+ "log",
1208
+ "log-in",
1209
+ "log-out",
1210
+ "log_in",
1211
+ "log_out",
1212
+ "login",
1213
+ "logout",
1214
+ "logs",
1215
+ "m",
1216
+ "mac",
1217
+ "mail",
1218
+ "mail1",
1219
+ "mail2",
1220
+ "mail3",
1221
+ "mail4",
1222
+ "mail5",
1223
+ "mailer",
1224
+ "mailing",
1225
+ "maintenance",
1226
+ "manager",
1227
+ "manual",
1228
+ "map",
1229
+ "maps",
1230
+ "marketing",
1231
+ "master",
1232
+ "me",
1233
+ "media",
1234
+ "member",
1235
+ "members",
1236
+ "message",
1237
+ "messages",
1238
+ "messenger",
1239
+ "microblog",
1240
+ "microblogs",
1241
+ "mine",
1242
+ "mis",
1243
+ "mob",
1244
+ "mobile",
1245
+ "movie",
1246
+ "movies",
1247
+ "mp3",
1248
+ "msg",
1249
+ "msn",
1250
+ "music",
1251
+ "musicas",
1252
+ "mx",
1253
+ "my",
1254
+ "mysql",
1255
+ "name",
1256
+ "named",
1257
+ "nan",
1258
+ "navi",
1259
+ "navigation",
1260
+ "net",
1261
+ "network",
1262
+ "new",
1263
+ "news",
1264
+ "newsletter",
1265
+ "nick",
1266
+ "nickname",
1267
+ "notes",
1268
+ "noticias",
1269
+ "notification",
1270
+ "notifications",
1271
+ "notify",
1272
+ "ns",
1273
+ "ns1",
1274
+ "ns10",
1275
+ "ns2",
1276
+ "ns3",
1277
+ "ns4",
1278
+ "ns5",
1279
+ "ns6",
1280
+ "ns7",
1281
+ "ns8",
1282
+ "ns9",
1283
+ "null",
1284
+ "oauth",
1285
+ "oauth_clients",
1286
+ "offer",
1287
+ "offers",
1288
+ "official",
1289
+ "old",
1290
+ "online",
1291
+ "openid",
1292
+ "operator",
1293
+ "order",
1294
+ "orders",
1295
+ "organization",
1296
+ "organizations",
1297
+ "overview",
1298
+ "owner",
1299
+ "owners",
1300
+ "page",
1301
+ "pager",
1302
+ "pages",
1303
+ "panel",
1304
+ "password",
1305
+ "payment",
1306
+ "perl",
1307
+ "phone",
1308
+ "photo",
1309
+ "photoalbum",
1310
+ "photos",
1311
+ "php",
1312
+ "phpmyadmin",
1313
+ "phppgadmin",
1314
+ "phpredisadmin",
1315
+ "pic",
1316
+ "pics",
1317
+ "ping",
1318
+ "plan",
1319
+ "plans",
1320
+ "plugin",
1321
+ "plugins",
1322
+ "policy",
1323
+ "pop",
1324
+ "pop3",
1325
+ "popular",
1326
+ "portal",
1327
+ "post",
1328
+ "postfix",
1329
+ "postmaster",
1330
+ "posts",
1331
+ "pr",
1332
+ "premium",
1333
+ "press",
1334
+ "price",
1335
+ "pricing",
1336
+ "privacy",
1337
+ "privacy-policy",
1338
+ "privacy_policy",
1339
+ "privacypolicy",
1340
+ "private",
1341
+ "product",
1342
+ "products",
1343
+ "profile",
1344
+ "project",
1345
+ "projects",
1346
+ "promo",
1347
+ "pub",
1348
+ "public",
1349
+ "purpose",
1350
+ "put",
1351
+ "python",
1352
+ "query",
1353
+ "random",
1354
+ "ranking",
1355
+ "read",
1356
+ "readme",
1357
+ "recent",
1358
+ "recruit",
1359
+ "recruitment",
1360
+ "register",
1361
+ "registration",
1362
+ "release",
1363
+ "remove",
1364
+ "replies",
1365
+ "report",
1366
+ "reports",
1367
+ "repositories",
1368
+ "repository",
1369
+ "req",
1370
+ "request",
1371
+ "requests",
1372
+ "reset",
1373
+ "roc",
1374
+ "root",
1375
+ "rss",
1376
+ "ruby",
1377
+ "rule",
1378
+ "sag",
1379
+ "sale",
1380
+ "sales",
1381
+ "sample",
1382
+ "samples",
1383
+ "save",
1384
+ "school",
1385
+ "script",
1386
+ "scripts",
1387
+ "search",
1388
+ "secure",
1389
+ "security",
1390
+ "self",
1391
+ "send",
1392
+ "server",
1393
+ "server-info",
1394
+ "server-status",
1395
+ "service",
1396
+ "services",
1397
+ "session",
1398
+ "sessions",
1399
+ "setting",
1400
+ "settings",
1401
+ "setup",
1402
+ "share",
1403
+ "shop",
1404
+ "show",
1405
+ "sign-in",
1406
+ "sign-up",
1407
+ "sign_in",
1408
+ "sign_up",
1409
+ "signin",
1410
+ "signout",
1411
+ "signup",
1412
+ "site",
1413
+ "sitemap",
1414
+ "sites",
1415
+ "smartphone",
1416
+ "smtp",
1417
+ "soporte",
1418
+ "source",
1419
+ "spec",
1420
+ "special",
1421
+ "sql",
1422
+ "src",
1423
+ "ssh",
1424
+ "ssl",
1425
+ "ssladmin",
1426
+ "ssladministrator",
1427
+ "sslwebmaster",
1428
+ "staff",
1429
+ "stage",
1430
+ "staging",
1431
+ "start",
1432
+ "stat",
1433
+ "state",
1434
+ "static",
1435
+ "stats",
1436
+ "status",
1437
+ "store",
1438
+ "stores",
1439
+ "stories",
1440
+ "style",
1441
+ "styleguide",
1442
+ "stylesheet",
1443
+ "stylesheets",
1444
+ "subdomain",
1445
+ "subscribe",
1446
+ "subscription",
1447
+ "subscriptions",
1448
+ "suporte",
1449
+ "support",
1450
+ "svn",
1451
+ "swf",
1452
+ "sys",
1453
+ "sysadmin",
1454
+ "sysadministrator",
1455
+ "system",
1456
+ "tablet",
1457
+ "tablets",
1458
+ "tag",
1459
+ "talk",
1460
+ "task",
1461
+ "tasks",
1462
+ "team",
1463
+ "teams",
1464
+ "tech",
1465
+ "telnet",
1466
+ "term",
1467
+ "terms",
1468
+ "terms-of-service",
1469
+ "terms_of_service",
1470
+ "termsofservice",
1471
+ "test",
1472
+ "test1",
1473
+ "test2",
1474
+ "test3",
1475
+ "teste",
1476
+ "testing",
1477
+ "tests",
1478
+ "theme",
1479
+ "themes",
1480
+ "thread",
1481
+ "threads",
1482
+ "tmp",
1483
+ "todo",
1484
+ "tool",
1485
+ "tools",
1486
+ "top",
1487
+ "topic",
1488
+ "topics",
1489
+ "tos",
1490
+ "tour",
1491
+ "translations",
1492
+ "trends",
1493
+ "tutorial",
1494
+ "tux",
1495
+ "tv",
1496
+ "twitter",
1497
+ "undef",
1498
+ "unfollow",
1499
+ "unsubscribe",
1500
+ "update",
1501
+ "upload",
1502
+ "uploads",
1503
+ "url",
1504
+ "usage",
1505
+ "user",
1506
+ "username",
1507
+ "users",
1508
+ "usuario",
1509
+ "vendas",
1510
+ "ver",
1511
+ "version",
1512
+ "video",
1513
+ "videos",
1514
+ "visitor",
1515
+ "watch",
1516
+ "weather",
1517
+ "web",
1518
+ "webhook",
1519
+ "webhooks",
1520
+ "webmail",
1521
+ "webmaster",
1522
+ "website",
1523
+ "websites",
1524
+ "welcome",
1525
+ "widget",
1526
+ "widgets",
1527
+ "wiki",
1528
+ "win",
1529
+ "windows",
1530
+ "word",
1531
+ "work",
1532
+ "works",
1533
+ "workshop",
1534
+ "ww",
1535
+ "wws",
1536
+ "www",
1537
+ "www1",
1538
+ "www2",
1539
+ "www3",
1540
+ "www4",
1541
+ "www5",
1542
+ "www6",
1543
+ "www7",
1544
+ "wwws",
1545
+ "wwww",
1546
+ "xfn",
1547
+ "xml",
1548
+ "xmpp",
1549
+ "xpg",
1550
+ "xxx",
1551
+ "yaml",
1552
+ "year",
1553
+ "yml",
1554
+ "you",
1555
+ "yourdomain",
1556
+ "yourname",
1557
+ "yoursite",
1558
+ "yourusername"
1559
+ ];
1560
+ var FORBIDDEN_REGEXP = new RegExp(`^(${ANONYMOUS_USERNAME}|${FORBIDDEN_USERNAMES_REGEXPS.join("|")})$`, "i");
1561
+ function isForbiddenUsername(username) {
1562
+ return !!username.match(APIFY_ID_REGEX) || !!username.match(FORBIDDEN_REGEXP);
1563
+ }
1564
+ __name(isForbiddenUsername, "isForbiddenUsername");
1563
1565
 
1564
1566
  // src/exponential_backoff.ts
1565
1567
  import log2 from "@apify/log";