Loading video...

Video Failed to Load

Go Home

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

73,883 views • 1 month ago •via X (Twitter)

18 Comments

Bun's profile picture
Bun1 month ago

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.

forloop's profile picture
forloop1 month ago

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

Luke Parker's profile picture
Luke Parker1 month ago

lol im ready for claude code to yoink this diff viewer

c33gryp's profile picture
c33gryp1 month ago

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

Blackever's profile picture
Blackever1 month ago

yo should we use or

Lislei Sousa's profile picture
Lislei Sousa1 month ago

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

Ceoz's profile picture
Ceoz1 month ago

lmao, maybe the zig creator was right

Mark_hitvdrs's profile picture
Mark_hitvdrs1 month ago

Bro I cant wait any longer please 😩

chair's profile picture
chair1 month ago

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

Ezhil Sivaraj SR's profile picture
Ezhil Sivaraj SR1 month ago

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

Rapid's profile picture
Rapid1 month ago

Release is on monday 2029

Gilang's profile picture
Gilang1 month ago

wheres the 1.4

Alexander Kreidich's profile picture
Alexander Kreidich1 month ago

when you already ship it??

Donkey Kong's profile picture
Donkey Kong1 month ago

When do you expect HTTP3 to be fully functional?

Manish Baghel's profile picture
Manish Baghel1 month ago

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
Simon1 month ago

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

Adéwálé's profile picture
Adéwálé1 month ago

This is very good for security

Evans Maina's profile picture
Evans Maina1 month ago

its already monday, what time is the release

Related Videos