Skip to content

Remove bson@7.2.0 override once Bun stable ships v8 snapshot fix #6

Description

@aek676

bson>=7.3.0 calls v8.startupSnapshot.isBuildingSnapshot() in a static block, which Bun 1.3.14 does not implement — it throws NotImplementedError at import time, breaking mongoose under both bun run and bun test.

Workaround (in place): pinned bson to 7.2.0 via overrides in package.json.

Action: when a stable Bun release >1.3.14 includes the fix, remove the overrides.bson entry (and the //overrides note), run bun install, and verify mongoose loads on 7.3.x.

Upstream:

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions