Skip to content

feature: support for bun.lock #110

@redbmk

Description

@redbmk

Bun's new lockfile, as of version 1.2, is JSONC instead of binary. It would be cool to be able to convert from bun.lock to package-lock.json.

https://bun.sh/blog/bun-v1.2#introducing-bun-lock

Bun currently doesn't have a bun audit (although may soon) so one workaround would be converting the lockfile first and then using npm audit. Bun does support creating a yarn.lock file but it seems to generate an older version and I've had issues with it working with yarn audit (particularly due to the way it handles overrides - see this comment, although that's from before the jsonc lockfile so it may have changed).

Regardless of audit support, it seems like it'd be a nice addition to synp to be able to go to/from bun.lock

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