Sign in

Ambar Mutha

@ambarvm.bsky.social
36 followers 97 following 61 posts

Frontend Eng at VMware github.com/ambarvm

PostsRepliesMedia
Reposted by Ambar Mutha
Express @expressjs.bsky.social · 08/09/2025
The maintainer of one of our dependencies, debug, was the target of a phishing attack resulting in the release of debug@4.4.2 with malware. Supply chain security is all of our responsibilities. Be careful out there, and for today don't update your deps. socket.dev/blog/npm-aut...
socket.dev
npm Author Qix Compromised via Phishing Email in Major Suppl...
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
1135
Ambar Mutha @ambarvm.bsky.social · 11/07/2025
I scored 14/28 on jsdate.wtf and all I got was this lousy text to share on social media.
jsdate.wtf
new Date("wtf")
How well do you know JavaScript's Date class?
000
Reposted by Ambar Mutha
patak @patak.cat · 13/01/2025
Do you know someone working at Microsoft that could help us get the @vitest.dev vs code extension verified back?
1122
Reposted by Ambar Mutha
Rolldown @rolldown.rs · 25/12/2024
And for Vite integration: we are now passing all relevant tests in github.com/rolldown/vite, the temporary fork of Vite that runs on Rolldown instead of esbuild / Rollup. Expect a proper release early 2025!
github.com
GitHub - rolldown/vite: No-bundle Dev Server for Vue 3 Single-File Components
No-bundle Dev Server for Vue 3 Single-File Components - rolldown/vite
514916
Reposted by Ambar Mutha
Dominik 🔮 @tkdodo.eu · 04/12/2024
@juri.dev I remember the nx docs recommend setting `fetch-depth: 0` to make nx-affected work; For us, on a relatively big monorepo, this took 1m40s on CI because it fetches all history😅. We now found out that setting `filter: tree:0` gets that down to 28s while nx affected still works 🤯
6404
Reposted by Ambar Mutha
Gil Tayar @gil.tayar.org · 17/11/2024
In a nice turn of events, a week after I learned about this API I found a use for it at work. Thank you @ambarvm.bsky.social for this piece of info. 🙏 (and did I lose `p-mutex`? Nope - I used it to fake this API when running Vitest tests 😁)
121
Reposted by Ambar Mutha
Ambar Mutha @ambarvm.bsky.social · 10/11/2024
I have used the web locks api for this. developer.mozilla.org/en-US/docs/W... Request lock 🔒 Check if the token is expired with an api call. Refresh if expired. Release lock 🔓
developer.mozilla.org
Web Locks API - Web APIs | MDN
The Web Locks API allows scripts running in one tab or worker to asynchronously acquire a lock, hold it while work is performed, then release it. While held, no other script executing in the same orig...
31049
Reposted by Ambar Mutha
Kent C. Dodds 🌌 @kentcdodds.com · 08/11/2024
Yep kentcdodds.com/blog/dont-sy...
kentcdodds.com
Don't Sync State. Derive It!
How to avoid state synchronization bugs and complexity with derived state.
41259