Skip to content

Bump vitest to 5 in packages/trilean once vitest-pool-workers supports it #52

Description

@Mearman

trilean-regex and trilean-sql are on vitest 5, packages/trilean is still on 4.1.x. Its workers project runs through @cloudflare/vitest-pool-workers, whose vitest peer range is ^4.1.0 (0.22.0 is the latest release), and with vitest 5 installed the pool doesn't start: "Failed to start cloudflare-pool worker ... SyntaxError: Unexpected identifier 'file'" on test/workers/trilean.test.ts. Cloudflare's tracking issue is cloudflare/workers-sdk#15618 (open), with a plugin PR at cloudflare/workers-sdk#15500.

Once a workers-pool release supports vitest 5, bump vitest and @vitest/coverage-v8 to 5.x in packages/trilean and bump the pool with them. Until then Dependabot's vitest 5 PR for this directory can't pass CI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions