:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(startups): require a company email for program applications (#83072)
Joe Martin11502f82d8f5
diff --git a/frontend/package.json b/frontend/package.jsonindex 733f096b0b8b..1d517b3f3b9c 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -216,6 +216,7 @@"fast-equals": "catalog:","fastpriorityqueue": "^0.7.5","fflate": "^0.8.2",+ "free-email-domains": "1.9.90","frimousse": "^0.3.0","fuse.js": "catalog:","hast-util-to-html": "^9.0.5",diff --git a/frontend/src/scenes/startups/StartupProgram.tsx b/frontend/src/scenes/startups/StartupProgram.tsxindex e169270a976f..ac3342c6c6a5 100644--- a/frontend/src/scenes/startups/StartupProgram.tsx+++ b/frontend/src/scenes/startups/StartupProgram.tsx@@ -62,13 +62,16 @@ export function StartupProgram(): JSX.Element {isCurrentlyOnStartupPlan,wasPreviouslyOnStartupPlan,isAdminOrOwner,+ isAnnualPlanCustomer,isYC,isReferralProgram,referrerDisplayName,+ shouldShowEmailDomainBlockedGate,+ user,ycBatchOptions,currentStartupProgramLabel,} = useValues(startupProgramLogic)- const { billing, billingLoading, isAnnualPlanCustomer, accountOwner } = useValues(billingLogic)+ const { billing, billingLoading, accountOwner } = useValues(billingLogic)const { setStartupProgramValue } = useActions(startupProgramLogic)const currentProgramName = currentStartupProgramLabel === StartupProgramLabel.YC ? 'YC Program' : 'Startup Program'@@ -411,6 +414,21 @@ export function StartupProgram(): JSX.Element {Return to PostHog</LemonButton></div>+ ) : shouldShowEmailDomainBlockedGate ? (+ <LemonBanner type="warning">+ <h3 className="mb-2">A company email is required</h3>+ <p>+ You're signed in as {user?.email}, which uses a personal email domain. The+ startup program requires a company email address.+ </p>+ <p>+ Change your account email in settings and verify it, then come back to+ apply.+ </p>+ <LemonButton type="primary" to={urls.settings('user')} className="mt-2">+ Update your email+ </LemonButton>+ </LemonBanner>) : (<Formlogic={startupProgramLogic}diff --git a/frontend/src/scenes/startups/constants.ts b/frontend/src/scenes/startups/constants.tsindex 14e2892b450c..5212181ea253 100644--- a/frontend/src/scenes/startups/constants.ts+++ b/frontend/src/scenes/startups/constants.ts@@ -1,18 +1,10 @@-export const PUBLIC_EMAIL_DOMAINS = [- 'gmail.com',- 'yahoo.com',- 'hotmail.com',- 'outlook.com',- 'aol.com',- 'protonmail.com',- 'icloud.com',- 'mail.com',- 'zoho.com',- 'yandex.com',- 'gmx.com',- 'live.com',- 'mail.ru',-]+import freeEmailDomains from 'free-email-domains'++// Free and disposable email provider domains from the free-email-domains npm package+// (https://github.com/Kikobeats/free-email-domains). Keep the pinned package version in sync+// with the vendored list in the billing repo at billing/utils/data/free_email_domains.txt,+// which enforces the same block server-side.+export const PUBLIC_EMAIL_DOMAINS: ReadonlySet<string> = new Set(freeEmailDomains.map((d) => d.toLowerCase()))export const RAISED_OPTIONS = [{ label: 'Bootstrapped', value: '0' },diff --git a/frontend/src/scenes/startups/startupProgramLogic.test.ts b/frontend/src/scenes/startups/startupProgramLogic.test.tsnew file mode 100644index 000000000000..d0733563da6f--- /dev/null+++ b/frontend/src/scenes/startups/startupProgramLogic.test.ts@@ -0,0 +1,158 @@+/* oxlint-disable react-hooks/rules-of-hooks -- useMocks is a test helper, not a React hook */+import { MOCK_DEFAULT_ORGANIZATION, MOCK_DEFAULT_PROJECT, MOCK_DEFAULT_TEAM, MOCK_DEFAULT_USER } from 'lib/api.mock'++import { expectLogic } from 'kea-test-utils'+import posthog from 'posthog-js'++import { OrganizationMembershipLevel } from 'lib/constants'+import { billingLogic } from 'scenes/billing/billingLogic'+import { userLogic } from 'scenes/userLogic'++import { billingJson } from '~/mocks/fixtures/_billing'+import { useMocks } from '~/mocks/jest'+import { initKeaTests } from '~/test/init'+import { BillingType, OrganizationType, StartupProgramLabel } from '~/types'++import { StartupProgramType, startupProgramLogic } from './startupProgramLogic'++jest.mock('posthog-js')++const blockedEvents = (): any[] =>+ (posthog.capture as jest.Mock).mock.calls.filter(([event]) => event === 'startup program application blocked')++const seedBilling = async (billing: Partial<BillingType> = {}): Promise<void> => {+ useMocks({+ get: {+ '/api/billing': () => [+ 200,+ {+ ...billingJson,+ startup_program_label: null,+ startup_program_label_previous: null,+ is_annual_plan_customer: false,+ ...billing,+ },+ ],+ },+ })+ billingLogic.mount()+ await expectLogic(billingLogic, () => billingLogic.actions.loadBilling()).toFinishAllListeners()+}++const initStartupProgramTest = ({+ email = '[email protected]',+ organization = MOCK_DEFAULT_ORGANIZATION,+}: {+ email?: string+ organization?: OrganizationType+} = {}): void => {+ initKeaTests(true, MOCK_DEFAULT_TEAM, MOCK_DEFAULT_PROJECT, organization)+ userLogic.mount()+ userLogic.actions.loadUserSuccess({ ...MOCK_DEFAULT_USER, email, organization })+}++const mountStartupProgramLogic = async ({+ billing = {},+ email = '[email protected]',+ organization = MOCK_DEFAULT_ORGANIZATION,+ referrer,+}: {+ billing?: Partial<BillingType>+ email?: string+ organization?: OrganizationType+ referrer?: string+} = {}): Promise<ReturnType<typeof startupProgramLogic.build>> => {+ initStartupProgramTest({ email, organization })+ await seedBilling(billing)+ ;(posthog.capture as jest.Mock).mockClear()++ const logic = startupProgramLogic({ referrer })+ logic.mount()+ return logic+}++describe('startupProgramLogic', () => {+ beforeEach(() => {+ jest.clearAllMocks()+ })++ it('captures a blocked form event when the company-email gate is shown', async () => {+ await mountStartupProgramLogic()++ expect(blockedEvents()).toEqual([+ [+ 'startup program application blocked',+ {+ email_domain: 'gmail.com',+ program: StartupProgramType.Startup,+ organization_id: MOCK_DEFAULT_ORGANIZATION.id,+ blocked_at: 'form',+ },+ ],+ ])+ })++ it('captures when the company-email gate becomes visible after billing loads', async () => {+ initStartupProgramTest()+ ;(posthog.capture as jest.Mock).mockClear()++ const logic = startupProgramLogic()+ logic.mount()++ expect(logic.values.shouldShowEmailDomainBlockedGate).toBe(false)+ expect(blockedEvents()).toHaveLength(0)++ await seedBilling()++ expect(logic.values.shouldShowEmailDomainBlockedGate).toBe(true)+ expect(blockedEvents()).toEqual([+ [+ 'startup program application blocked',+ expect.objectContaining({+ blocked_at: 'form',+ email_domain: 'gmail.com',+ }),+ ],+ ])+ })++ it.each([+ [+ 'current startup program gate',+ MOCK_DEFAULT_ORGANIZATION,+ { startup_program_label: StartupProgramLabel.Startup },+ ],+ [+ 'previous startup program gate',+ MOCK_DEFAULT_ORGANIZATION,+ { startup_program_label_previous: StartupProgramLabel.Startup },+ ],+ ['annual-plan gate', MOCK_DEFAULT_ORGANIZATION, { is_annual_plan_customer: true }],+ ['permission gate', { ...MOCK_DEFAULT_ORGANIZATION, membership_level: OrganizationMembershipLevel.Member }, {}],+ ])('does not capture when the %s is shown instead', async (_, organization, billing) => {+ const logic = await mountStartupProgramLogic({+ organization: organization as OrganizationType,+ billing: billing as Partial<BillingType>,+ })++ expect(logic.values.isEmailDomainBlocked).toBe(true)+ expect(blockedEvents()).toHaveLength(0)+ })++ it('captures the YC program when a previous startup-program user can reapply on the YC page', async () => {+ await mountStartupProgramLogic({+ billing: { startup_program_label_previous: StartupProgramLabel.Startup },+ referrer: 'yc',+ })++ expect(blockedEvents()).toEqual([+ [+ 'startup program application blocked',+ expect.objectContaining({+ blocked_at: 'form',+ program: StartupProgramType.YC,+ }),+ ],+ ])+ })+})diff --git a/frontend/src/scenes/startups/startupProgramLogic.ts b/frontend/src/scenes/startups/startupProgramLogic.tsindex 8288c08b737e..45525815e9df 100644--- a/frontend/src/scenes/startups/startupProgramLogic.ts+++ b/frontend/src/scenes/startups/startupProgramLogic.ts@@ -1,6 +1,7 @@-import { MakeLogicType, actions, connect, kea, path, props, reducers, selectors } from 'kea'+import { MakeLogicType, actions, afterMount, connect, kea, path, props, reducers, selectors } from 'kea'import { forms } from 'kea-forms'import type { DeepPartial, DeepPartialMap, FieldName, ValidationErrorType } from 'kea-forms'+import { subscriptions } from 'kea-subscriptions'import posthog from 'posthog-js'import { lemonToast } from '@posthog/lemon-ui'@@ -14,8 +15,7 @@ import { userLogic } from 'scenes/userLogic'import { BillingType } from '~/types'import type { OrganizationType, StartupProgramLabel, UserType } from '../../types'-import { PUBLIC_EMAIL_DOMAINS } from './constants'-import { getYCBatchOptions } from './utils'+import { getEmailDomain, getYCBatchOptions, isPublicEmailDomain } from './utils'export enum StartupProgramType {YC = 'YC',@@ -74,6 +74,7 @@ function validateFunding(raised: string | undefined, isYC: boolean): string | un// Generated by kea-typegen. Update if you're an agent, ignore if you're human.export interface startupProgramLogicValues {billing: BillingType | null // billingLogic+ isAnnualPlanCustomer: boolean // billingLogiccurrentOrganization: OrganizationType | null // organizationLogiccurrentOrganizationId: string // organizationLogicisAdminOrOwner: boolean | null // organizationLogic@@ -82,12 +83,14 @@ export interface startupProgramLogicValues {domainFromEmail: stringformSubmitted: booleanisCurrentlyOnStartupPlan: boolean+ isEmailDomainBlocked: booleanisReferralProgram: booleanisStartupProgramSubmitting: booleanisStartupProgramValid: booleanisYC: booleanreferrer: string | undefinedreferrerDisplayName: string | undefined+ shouldShowEmailDomainBlockedGate: booleanshowStartupProgramErrors: booleanstartupProgram: StartupProgramFormValuesstartupProgramAllErrors: Record<string, any>@@ -98,6 +101,7 @@ export interface startupProgramLogicValues {startupProgramTouched: booleanstartupProgramTouches: Record<string, boolean>startupProgramValidationErrors: DeepPartialMap<StartupProgramFormValues, ValidationErrorType>+ userEmailDomain: stringwasPreviouslyOnStartupPlan: booleanycBatchOptions: {label: string@@ -157,7 +161,19 @@ export interface startupProgramLogicMeta {isCurrentlyOnStartupPlan: (billing: BillingType | null) => booleancurrentStartupProgramLabel: (billing: BillingType | null) => StartupProgramLabel | nullwasPreviouslyOnStartupPlan: (billing: BillingType | null) => boolean- domainFromEmail: (user: UserType | null) => string+ userEmailDomain: (user: UserType | null) => string+ isEmailDomainBlocked: (user: UserType | null) => boolean+ domainFromEmail: (userEmailDomain: string, isEmailDomainBlocked: boolean) => string+ shouldShowEmailDomainBlockedGate: (+ billing: BillingType | null,+ formSubmitted: boolean,+ isAdminOrOwner: boolean | null,+ isAnnualPlanCustomer: boolean,+ isCurrentlyOnStartupPlan: boolean,+ isEmailDomainBlocked: boolean,+ isYC: boolean,+ wasPreviouslyOnStartupPlan: boolean+ ) => boolean}}@@ -168,6 +184,20 @@ export type startupProgramLogicType = MakeLogicType<startupProgramLogicMeta>+function captureBlockedApplicationIfGateShown(values: startupProgramLogicValues, cache: Record<string, any>): void {+ if (!values.shouldShowEmailDomainBlockedGate || cache.blockedApplicationCaptured) {+ return+ }++ cache.blockedApplicationCaptured = true+ posthog.capture('startup program application blocked', {+ email_domain: values.userEmailDomain,+ program: values.isYC ? StartupProgramType.YC : StartupProgramType.Startup,+ organization_id: values.currentOrganizationId,+ blocked_at: 'form',+ })+}+export const startupProgramLogic = kea<startupProgramLogicType>([path(['scenes', 'startups', 'startupProgramLogic']),props({} as StartupProgramLogicProps),@@ -178,7 +208,7 @@ export const startupProgramLogic = kea<startupProgramLogicType>([organizationLogic,['currentOrganization', 'currentOrganizationId', 'isAdminOrOwner'],billingLogic,- ['billing'],+ ['billing', 'isAnnualPlanCustomer'],],})),actions({@@ -226,19 +256,42 @@ export const startupProgramLogic = kea<startupProgramLogicType>([return !!billing?.startup_program_label_previous},],+ userEmailDomain: [(s) => [s.user], (user: UserType | null) => getEmailDomain(user?.email)],+ isEmailDomainBlocked: [(s) => [s.user], (user: UserType | null) => isPublicEmailDomain(user?.email)],domainFromEmail: [- (s) => [s.user],- (user: null | import('~/types').UserType) => {- if (!user?.email) {- return ''- }-- const domain = user.email.split('@')[1]- if (PUBLIC_EMAIL_DOMAINS.includes(domain)) {- return ''- }-- return domain+ (s) => [s.userEmailDomain, s.isEmailDomainBlocked],+ (userEmailDomain: string, isEmailDomainBlocked: boolean) => (isEmailDomainBlocked ? '' : userEmailDomain),+ ],+ shouldShowEmailDomainBlockedGate: [+ (s) => [+ s.billing,+ s.formSubmitted,+ s.isAdminOrOwner,+ s.isAnnualPlanCustomer,+ s.isCurrentlyOnStartupPlan,+ s.isEmailDomainBlocked,+ s.isYC,+ s.wasPreviouslyOnStartupPlan,+ ],+ (+ billing: BillingType | null,+ formSubmitted: boolean,+ isAdminOrOwner: boolean | null,+ isAnnualPlanCustomer: boolean,+ isCurrentlyOnStartupPlan: boolean,+ isEmailDomainBlocked: boolean,+ isYC: boolean,+ wasPreviouslyOnStartupPlan: boolean+ ): boolean => {+ return (+ !!billing &&+ !formSubmitted &&+ isAdminOrOwner === true &&+ !isAnnualPlanCustomer &&+ !isCurrentlyOnStartupPlan &&+ !(wasPreviouslyOnStartupPlan && !isYC) &&+ isEmailDomainBlocked+ )},],ycBatchOptions: [@@ -264,7 +317,7 @@ export const startupProgramLogic = kea<startupProgramLogicType>([// Selector-style errors so that validation recomputes when billing// or isYC change, not only when form values changeerrors: [- (s) => [s.startupProgram, s.billing, s.isYC],+ (s) => [s.startupProgram, s.billing, s.isYC, s.isEmailDomainBlocked],({organization_id,@@ -274,8 +327,15 @@ export const startupProgramLogic = kea<startupProgramLogicType>([yc_proof_screenshot_url,}: StartupProgramFormValues,billing: BillingType | null,- isYC: boolean+ isYC: boolean,+ isEmailDomainBlocked: boolean) => {+ if (isEmailDomainBlocked) {+ return {+ _form: 'The startup program requires a company email address. Update your account email to your company domain, then apply again.',+ }+ }+if (!billing?.has_active_subscription) {return {_form: 'You need to upgrade to a paid plan before submitting your application',@@ -319,10 +379,20 @@ export const startupProgramLogic = kea<startupProgramLogicType>([actions.setFormSubmitted(true)posthog.capture('startup program application submitted', valuesToSubmit)} catch (error: any) {- lemonToast.error(error.detail || 'Failed to submit application')+ // Billing-service validation errors can arrive as an object under error.detail+ const detail = typeof error.detail === 'string' ? error.detail : error.detail?.detail+ lemonToast.error(detail || 'Failed to submit application')throw error}},},})),+ subscriptions(({ values, cache }) => ({+ shouldShowEmailDomainBlockedGate: () => {+ captureBlockedApplicationIfGateShown(values, cache)+ },+ })),+ afterMount(({ values, cache }) => {+ captureBlockedApplicationIfGateShown(values, cache)+ }),])diff --git a/frontend/src/scenes/startups/utils.test.ts b/frontend/src/scenes/startups/utils.test.tsindex 76b2dba12e98..ad14f9177d62 100644--- a/frontend/src/scenes/startups/utils.test.ts+++ b/frontend/src/scenes/startups/utils.test.ts@@ -1,4 +1,4 @@-import { getYCBatchOptions } from './utils'+import { getEmailDomain, getYCBatchOptions, isPublicEmailDomain } from './utils'let mockedToday = '2024-06-01'@@ -75,3 +75,31 @@ describe('getYCBatchOptions()', () => {expect(batchNames2).toContain('Summer 2023') // Current batch})})++describe('isPublicEmailDomain()', () => {+ it.each([+ ['[email protected]', true],+ ['[email protected]', true],+ ['"jane@alias"@gmail.com', true],+ ['[email protected]', true], // disposable domains are part of the list+ ['[email protected]', false],+ ['not-an-email', false],+ ['', false],+ [undefined, false],+ ])('%s → %s', (email, expected) => {+ expect(isPublicEmailDomain(email)).toEqual(expected)+ })+})++describe('getEmailDomain()', () => {+ it.each([+ ['[email protected]', 'posthog.com'],+ ['[email protected]', 'posthog.com'],+ ['"jane@alias"@posthog.com', 'posthog.com'],+ ['not-an-email', ''],+ ['', ''],+ [undefined, ''],+ ])('%s -> %s', (email, expected) => {+ expect(getEmailDomain(email)).toEqual(expected)+ })+})diff --git a/frontend/src/scenes/startups/utils.ts b/frontend/src/scenes/startups/utils.tsindex 51e2e32cabbf..e996796c02a4 100644--- a/frontend/src/scenes/startups/utils.ts+++ b/frontend/src/scenes/startups/utils.ts@@ -2,7 +2,21 @@ import sortBy from 'lodash.sortby'import { dayjs } from 'lib/dayjs'-import { YC_BATCHES } from './constants'+import { PUBLIC_EMAIL_DOMAINS, YC_BATCHES } from './constants'++export function getEmailDomain(email: string | null | undefined): string {+ if (!email) {+ return ''+ }++ const atIndex = email.lastIndexOf('@')+ return atIndex === -1 || atIndex === email.length - 1 ? '' : email.slice(atIndex + 1).toLowerCase()+}++export function isPublicEmailDomain(email: string | null | undefined): boolean {+ const domain = getEmailDomain(email)+ return !!domain && PUBLIC_EMAIL_DOMAINS.has(domain)+}/*** Generates YC batch options for the dropdown, showing relevant batches based on current date.diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 3b4ce998ac82..828f5689d4bb 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -516,7 +516,7 @@ importers:version: 5.3.0jest-image-snapshot:specifier: ^6.4.0- version: 6.4.0([email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])))+ version: 6.4.0([email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])))mockdate:specifier: ^3.0.5version: 3.0.5@@ -1043,6 +1043,9 @@ importers:fflate:specifier: ^0.8.2version: 0.8.2+ free-email-domains:+ specifier: 1.9.90+ version: 1.9.90frimousse:specifier: ^0.3.0version: 0.3.0([email protected])([email protected])@@ -1970,7 +1973,7 @@ importers:version: 3.6.0jest-image-snapshot:specifier: ^6.4.0- version: 6.4.0([email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])))+ version: 6.4.0([email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])))storybook:specifier: 'catalog:'version: 10.4.6(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])@@ -2390,7 +2393,7 @@ importers:version: 8.57.0jest:specifier: '*'- version: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ version: 30.0.5([email protected]([email protected]))kea:specifier: 'catalog:'version: 4.0.0-pre.6(patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected])@@ -3291,7 +3294,7 @@ importers:version: 2.1.1jest:specifier: '*'- version: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ version: 30.0.5([email protected]([email protected]))kea:specifier: 'catalog:'version: 4.0.0-pre.6(patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected])@@ -4413,7 +4416,7 @@ importers:version: 1.2.1jest:specifier: '*'- version: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ version: 30.0.5([email protected]([email protected]))kea:specifier: 'catalog:'version: 4.0.0-pre.6(patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected])@@ -15933,6 +15936,10 @@ packages:react-dom:optional: true+ resolution: {integrity: sha512-BZiEKZV3skIg/PIuPRWTgxt9jynucnOm93CvyjuzbSrH5dKZy+EB84kXUCNCJd46Q6qbztOF7qGtIg/h5piiFA==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}engines: {node: '>= 0.6'}@@ -26706,7 +26713,7 @@ snapshots:- supports-color- ts-node- '@jest/[email protected]([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))':dependencies:'@jest/console': 30.0.5'@jest/pattern': 30.0.1@@ -26721,7 +26728,7 @@ snapshots:exit-x: 0.2.2graceful-fs: 4.2.11jest-changed-files: 30.0.5- jest-config: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))jest-haste-map: 30.0.5jest-message-util: 30.0.5jest-regex-util: 30.0.1@@ -26742,7 +26749,7 @@ snapshots:- supports-color- ts-node- '@jest/[email protected]([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))':+ '@jest/[email protected]([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))':dependencies:'@jest/console': 30.0.5'@jest/pattern': 30.0.1@@ -26757,7 +26764,7 @@ snapshots:exit-x: 0.2.2graceful-fs: 4.2.11jest-changed-files: 30.0.5- jest-config: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ jest-config: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))jest-haste-map: 30.0.5jest-message-util: 30.0.5jest-regex-util: 30.0.1@@ -36557,6 +36564,8 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])+ [email protected]: {}+@@ -37912,15 +37921,15 @@ snapshots:- supports-color- ts-node- [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected])):+ [email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:- '@jest/core': 30.0.5([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ '@jest/core': 30.0.5([email protected](@swc/[email protected])(@types/[email protected])([email protected]))'@jest/test-result': 30.0.5'@jest/types': 30.0.5chalk: 4.1.2exit-x: 0.2.2import-local: 3.2.0- jest-config: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ jest-config: 30.0.5(@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected]))jest-util: 30.0.5jest-validate: 30.0.5yargs: 17.7.2@@ -37931,15 +37940,15 @@ snapshots:- supports-color- ts-node- [email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:- '@jest/core': 30.0.5([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ '@jest/core': 30.0.5([email protected]([email protected]))'@jest/test-result': 30.0.5'@jest/types': 30.0.5chalk: 4.1.2exit-x: 0.2.2import-local: 3.2.0- jest-config: 30.0.5(@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ jest-config: 30.0.5([email protected]([email protected]))jest-util: 30.0.5jest-validate: 30.0.5yargs: 17.7.2@@ -38077,7 +38086,7 @@ snapshots:- babel-plugin-macros- supports-color- [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:'@babel/core': 7.29.0'@jest/get-type': 30.0.1@@ -38106,12 +38115,11 @@ snapshots:optionalDependencies:'@types/node': 22.18.8esbuild-register: 3.6.0([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color- [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected])):+ [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:'@babel/core': 7.29.0'@jest/get-type': 30.0.1@@ -38140,7 +38148,7 @@ snapshots:optionalDependencies:'@types/node': 22.18.8esbuild-register: 3.6.0([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color@@ -38178,7 +38186,7 @@ snapshots:- babel-plugin-macros- supports-color- [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected])):+ [email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:'@babel/core': 7.29.0'@jest/get-type': 30.0.1@@ -38206,13 +38214,12 @@ snapshots:strip-json-comments: 3.1.1optionalDependencies:'@types/node': 25.8.0- esbuild-register: 3.6.0([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color- [email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:'@babel/core': 7.29.0'@jest/get-type': 30.0.1@@ -38239,8 +38246,7 @@ snapshots:slash: 3.0.0strip-json-comments: 3.1.1optionalDependencies:- '@types/node': 25.8.0+ esbuild-register: 3.6.0([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color@@ -39135,12 +39141,12 @@ snapshots:- supports-color- ts-node- [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected])):+ [email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:- '@jest/core': 30.0.5([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ '@jest/core': 30.0.5([email protected](@swc/[email protected])(@types/[email protected])([email protected]))'@jest/types': 30.0.5import-local: 3.2.0- jest-cli: 30.0.5(@types/[email protected])([email protected]([email protected]))([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ jest-cli: 30.0.5(@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected]))transitivePeerDependencies:- '@types/node'- babel-plugin-macros@@ -39148,12 +39154,12 @@ snapshots:- supports-color- ts-node- [email protected](@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected])):dependencies:- '@jest/core': 30.0.5([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ '@jest/core': 30.0.5([email protected]([email protected]))'@jest/types': 30.0.5import-local: 3.2.0- jest-cli: 30.0.5(@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ jest-cli: 30.0.5([email protected]([email protected]))transitivePeerDependencies:- '@types/node'- babel-plugin-macros