Ambar Mutha
@ambarvm.bsky.social
๐ค 36
๐ฅ 96
๐ 60
Frontend Eng at VMware
https://github.com/ambarvm/
reposted by
Ambar Mutha
Express
5 months ago
The maintainer of one of our dependencies, debug, was the target of a phishing attack resulting in the release of
[email protected]
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...
loading . . .
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.
https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack
1
13
6
I scored 14/28 on
jsdate.wtf
and all I got was this lousy text to share on social media.
loading . . .
new Date("wtf")
How well do you know JavaScript's Date class?
https://jsdate.wtf
7 months ago
0
0
0
reposted by
Ambar Mutha
patak
about 1 year ago
Do you know someone working at Microsoft that could help us get the
@vitest.dev
vs code extension verified back?
add a skeleton here at some point
1
13
2
reposted by
Ambar Mutha
Rolldown
about 1 year ago
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!
loading . . .
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
https://github.com/rolldown/vite
5
149
16
reposted by
Ambar Mutha
Dominik ๐ฎ
about 1 year ago
@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 ๐คฏ
6
40
4
reposted by
Ambar Mutha
Gil Tayar
about 1 year ago
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 ๐)
add a skeleton here at some point
1
2
1
reposted by
Ambar Mutha
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 ๐
loading . . .
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...
https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API
over 1 year ago
3
105
13
reposted by
Ambar Mutha
Kent C. Dodds ๐
over 1 year ago
Yep
kentcdodds.com/blog/dont-sy...
add a skeleton here at some point
4
127
9
you reached the end!!
feeds!
log in