@apify/utilities 2.29.4 → 2.31.0
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 +162 -3
- package/cjs/index.cjs.map +1 -1
- package/cjs/index.d.ts +5 -0
- package/esm/index.d.mts +5 -0
- package/esm/index.mjs +162 -3
- package/esm/index.mjs.map +1 -1
- package/package.json +2 -2
package/cjs/index.cjs
CHANGED
|
@@ -418,14 +418,35 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
|
|
|
418
418
|
"challange",
|
|
419
419
|
"1m-challenge",
|
|
420
420
|
"1m-usd-challenge",
|
|
421
|
+
"contact-sales",
|
|
422
|
+
"creator",
|
|
423
|
+
"creator-plan",
|
|
424
|
+
"request-an-integration",
|
|
425
|
+
"whitepaper",
|
|
426
|
+
"adviser",
|
|
427
|
+
"crawlee",
|
|
428
|
+
"ultimate-scraper",
|
|
429
|
+
"agent-skills",
|
|
421
430
|
// Apify platform resources
|
|
422
431
|
"key-value-store",
|
|
423
432
|
"request-queue",
|
|
424
433
|
"request-queues",
|
|
425
434
|
"builds",
|
|
426
435
|
"schedule",
|
|
436
|
+
"standby",
|
|
437
|
+
"pay-per-event",
|
|
438
|
+
"pay-per-result",
|
|
439
|
+
"pay-per-usage",
|
|
440
|
+
"ppe",
|
|
441
|
+
"ppr",
|
|
442
|
+
"compute-unit",
|
|
443
|
+
"compute-units",
|
|
427
444
|
// AI / LLM related
|
|
445
|
+
"agent",
|
|
446
|
+
"agents",
|
|
447
|
+
"agentic",
|
|
428
448
|
"llms",
|
|
449
|
+
"llm",
|
|
429
450
|
"openai",
|
|
430
451
|
"anthropic",
|
|
431
452
|
"claude",
|
|
@@ -435,6 +456,124 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
|
|
|
435
456
|
"prompts",
|
|
436
457
|
"embeddings",
|
|
437
458
|
"vectors",
|
|
459
|
+
"rag",
|
|
460
|
+
// Agentic protocols / agentic payments / agent identity
|
|
461
|
+
"agentic-commerce",
|
|
462
|
+
"agentic-economy",
|
|
463
|
+
"agentic-payments",
|
|
464
|
+
"a2a",
|
|
465
|
+
"a2b",
|
|
466
|
+
"a2p",
|
|
467
|
+
"ap2",
|
|
468
|
+
"b2a",
|
|
469
|
+
"acp",
|
|
470
|
+
"ucp",
|
|
471
|
+
"mpp",
|
|
472
|
+
"x402",
|
|
473
|
+
"l402",
|
|
474
|
+
"anp",
|
|
475
|
+
"agp",
|
|
476
|
+
"erc-8004",
|
|
477
|
+
"kya",
|
|
478
|
+
"kyapay",
|
|
479
|
+
// Trust / verification / anti-impersonation handles
|
|
480
|
+
// (entries containing 'apify' are already blocked by USERNAME.RESTRICTED_REGEX)
|
|
481
|
+
"official",
|
|
482
|
+
"verified",
|
|
483
|
+
"certified",
|
|
484
|
+
"authorized",
|
|
485
|
+
"partner-official",
|
|
486
|
+
"gold-partner",
|
|
487
|
+
"premium-partner",
|
|
488
|
+
"staff",
|
|
489
|
+
"moderator",
|
|
490
|
+
// Apify subdomain / service names (current and future)
|
|
491
|
+
"console",
|
|
492
|
+
"cli",
|
|
493
|
+
"studio",
|
|
494
|
+
"gateway",
|
|
495
|
+
"workbench",
|
|
496
|
+
"agents-marketplace",
|
|
497
|
+
"agents-store",
|
|
498
|
+
"mcp-server",
|
|
499
|
+
"mcp-servers",
|
|
500
|
+
"mcp-gateway",
|
|
501
|
+
// Region / locale codes (3+ chars only; 1-2 char codes are blocked by USERNAME.MIN_LENGTH)
|
|
502
|
+
"asia",
|
|
503
|
+
"latam",
|
|
504
|
+
"emea",
|
|
505
|
+
"apac",
|
|
506
|
+
"i18n",
|
|
507
|
+
"l10n",
|
|
508
|
+
"localization",
|
|
509
|
+
"localisation",
|
|
510
|
+
// Currency / payment generics (open standards, not company brands)
|
|
511
|
+
"usd",
|
|
512
|
+
"eur",
|
|
513
|
+
"gbp",
|
|
514
|
+
"jpy",
|
|
515
|
+
"cny",
|
|
516
|
+
"usdc",
|
|
517
|
+
"usdt",
|
|
518
|
+
"btc",
|
|
519
|
+
"eth",
|
|
520
|
+
"sol",
|
|
521
|
+
"crypto",
|
|
522
|
+
"fiat",
|
|
523
|
+
"stablecoin",
|
|
524
|
+
"stablecoins",
|
|
525
|
+
"payment",
|
|
526
|
+
"payments",
|
|
527
|
+
"payout",
|
|
528
|
+
"payouts",
|
|
529
|
+
"invoice",
|
|
530
|
+
"invoices",
|
|
531
|
+
// Compliance / certifications
|
|
532
|
+
"soc",
|
|
533
|
+
"soc2",
|
|
534
|
+
"iso",
|
|
535
|
+
"iso-27001",
|
|
536
|
+
"hipaa",
|
|
537
|
+
"ccpa",
|
|
538
|
+
"pci",
|
|
539
|
+
"pci-dss",
|
|
540
|
+
"dpa",
|
|
541
|
+
"dpia",
|
|
542
|
+
"dmca",
|
|
543
|
+
"sla",
|
|
544
|
+
"eula",
|
|
545
|
+
"aml",
|
|
546
|
+
"kyc",
|
|
547
|
+
// Open-source / community roles
|
|
548
|
+
"contributor",
|
|
549
|
+
"contributors",
|
|
550
|
+
"maintainer",
|
|
551
|
+
"maintainers",
|
|
552
|
+
"core-team",
|
|
553
|
+
"oss",
|
|
554
|
+
"open-source",
|
|
555
|
+
// Anti-abuse / scam-bait names (frequently used in account fraud)
|
|
556
|
+
"spam",
|
|
557
|
+
"scam",
|
|
558
|
+
"phishing",
|
|
559
|
+
"malware",
|
|
560
|
+
"hack",
|
|
561
|
+
"hacked",
|
|
562
|
+
"giveaway",
|
|
563
|
+
"airdrop",
|
|
564
|
+
"bitcoin-giveaway",
|
|
565
|
+
"free-credits",
|
|
566
|
+
"free-money",
|
|
567
|
+
// Apify marketing / campaign slugs
|
|
568
|
+
"launch",
|
|
569
|
+
"launches",
|
|
570
|
+
"webinar",
|
|
571
|
+
"webinars",
|
|
572
|
+
"meetup",
|
|
573
|
+
"meetups",
|
|
574
|
+
"summit",
|
|
575
|
+
"conference",
|
|
576
|
+
"conferences",
|
|
438
577
|
// Organizations / workspaces / permissions
|
|
439
578
|
"orgs",
|
|
440
579
|
"workspaces",
|
|
@@ -478,9 +617,6 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
|
|
|
478
617
|
// Brand protection / impersonation prevention
|
|
479
618
|
"brand",
|
|
480
619
|
"branding",
|
|
481
|
-
"verified",
|
|
482
|
-
"apify-support",
|
|
483
|
-
"apify-team",
|
|
484
620
|
"support-team",
|
|
485
621
|
"abuse",
|
|
486
622
|
// Incidents / updates
|
|
@@ -507,6 +643,29 @@ var FORBIDDEN_USERNAMES_REGEXPS = [
|
|
|
507
643
|
"(\\..*)",
|
|
508
644
|
// Username starting with xxx-
|
|
509
645
|
"(xxx-.*)",
|
|
646
|
+
// Usernames containing inappropriate/adult content keywords
|
|
647
|
+
"(.*porn.*)",
|
|
648
|
+
"(.*vagina.*)",
|
|
649
|
+
"(.*dildo.*)",
|
|
650
|
+
"(.*nsfw.*)",
|
|
651
|
+
"(.*hentai.*)",
|
|
652
|
+
"(.*cunt.*)",
|
|
653
|
+
"(.*fuck.*)",
|
|
654
|
+
"(.*shit.*)",
|
|
655
|
+
"(.*bitch.*)",
|
|
656
|
+
"(.*slut.*)",
|
|
657
|
+
"(.*whore.*)",
|
|
658
|
+
"(.*boob.*)",
|
|
659
|
+
"(.*tits.*)",
|
|
660
|
+
// Words that require non-letter boundaries to avoid false positives with
|
|
661
|
+
// legitimate surnames (Dickens, Hancock, Nudelman) and words (Uranus, pussycat, snaked)
|
|
662
|
+
"((.+[^a-z]|)cock([^a-z].+|))",
|
|
663
|
+
"((.+[^a-z]|)dick([^a-z].+|))",
|
|
664
|
+
"((.+[^a-z]|)anus([^a-z].+|))",
|
|
665
|
+
"((.+[^a-z]|)pussy([^a-z].+|))",
|
|
666
|
+
"((.+[^a-z]|)nude([^a-z].+|))",
|
|
667
|
+
"((.+[^a-z]|)penis([^a-z].+|))",
|
|
668
|
+
"((.+[^a-z]|)naked([^a-z].+|))",
|
|
510
669
|
// Username starting with install-cli. (see https://docs.apify.com/cli/docs/installation)
|
|
511
670
|
"(install-cli\\..*)",
|
|
512
671
|
// Strings not starting with letter or number
|