Skip navigation
In the next version of Bun
0:00 / 0:39

In the next version of Bun

Bun

@bunjavascript83K followers

Visit on X
407 likesDownloadOriginal post

74,220 views

In the next version of Bun `bun pm diff <package@version> <package@version2>` shows code changes between versions (un-minified)

18 Comments

Comments from the original post on X (Twitter)

  • Bun's profile picture

    @bunjavascript

    JavaScript files use Bun's JS parser to AST diff and reformat it. This makes diffs of minified source code readable, which makes it a little harder for supply chain attacks to hide.

    64 likes

  • forloop's profile picture

    @forloopcodes

    can we have `bun commit -m <commit_message>` and `bun push origin <branch_name>` too

    26 likes

  • Luke Parker's profile picture

    @LukeParkerDev

    lol im ready for claude code to yoink this diff viewer

    8 likes

  • c33gryp's profile picture

    @c33gryp97367

    No one is cracking open 3rd party code like this my guy

    3 likes

  • Blackever's profile picture

    @Blackevercom

    yo should we use or

    2 likes

  • Lislei Sousa's profile picture

    @lislei_sousa

    Small command, big supply chain win. Seeing the actual unminified diff before a package upgrade should make dependency reviews much less blind.

    2 likes

  • Ceoz's profile picture

    @Ceoz_1

    lmao, maybe the zig creator was right

    1 like

  • Mark_hitvdrs's profile picture

    @hitvdrs_rblx

    Bro I cant wait any longer please 😩

    1 like

  • chair's profile picture

    @tablefourthree

    I swear if v1.4 doesn't release today 👊

    1 like

  • Ezhil Sivaraj SR's profile picture

    @EzhilSivaraj

    Eppo da update vidu va Build up kuduthutae irruka release panna maatra

    1 like

  • Rapid's profile picture

    @0xRapid

    Release is on monday 2029

  • Gilang's profile picture

    @mgppap

    wheres the 1.4

  • Alexander Kreidich's profile picture

    @skredikk

    when you already ship it??

  • Donkey Kong's profile picture

    @NBiznich

    When do you expect HTTP3 to be fully functional?

  • Manish Baghel's profile picture

    @ManishBaghelz

    can it also fetch the changelog from npm registry if there's one. Would be great for getting the agents started with a broader understanding without filling up the context unnecessarily with code.

  • Simon's profile picture

    @ItsSyy

    Couldn't a changelog view be the default and the diff behind a flag for deeper digs?

  • Adéwálé's profile picture

    @__adewale

    This is very good for security

  • Evans Maina's profile picture

    @evanssmaina

    its already monday, what time is the release