Divyansh Singh's Avatar

Divyansh Singh

@brc-dd.dev

Software Engineer | @vuejs.org Core Team | https://vitepress.dev/ Maintainer | Director at https://globalbrains.com

1,079
Followers
403
Following
123
Posts
19.11.2023
Joined
Posts Following

Latest posts by Divyansh Singh @brc-dd.dev

Needs `maxRetries` too, without it fs.rm randomly breaks on Windows.

06.02.2026 14:04 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

For vue, some work is happening there at github.com/hyf0/libvue-rs and github.com/ubugeeei/vize. There were some earlier efforts too - github.com/HerringtonDa..., github.com/phoenix-ru/f..., github.com/zhiyuanzmj/v.... Not sure how stable they are yet though.

19.01.2026 12:55 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

You can enable vue/no-undef-components in eslint and write some custom logic in eslint config to glob components or parse component names from components.d.ts (maybe just some regex would work) and pass those to ignorePatterns option.

15.01.2026 09:49 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
VoidZero infographic. First row including the new logos of the projects, the new "The JavaScript Tooling Company" slogan and the logo.
Second row is showing what frameworks are vite-powered or have Vite support.
Last row includes Vitest including Jest compat, tech supported by vite, 4.1bn+ total NPM downloads, Rolldown powering Vite and the Oxc stack.

VoidZero infographic. First row including the new logos of the projects, the new "The JavaScript Tooling Company" slogan and the logo. Second row is showing what frameworks are vite-powered or have Vite support. Last row includes Vitest including Jest compat, tech supported by vite, 4.1bn+ total NPM downloads, Rolldown powering Vite and the Oxc stack.

New Year. New Look. Same Mission.

Make JavaScript developers more productive than ever before

13.01.2026 10:21 ๐Ÿ‘ 75 ๐Ÿ” 7 ๐Ÿ’ฌ 6 ๐Ÿ“Œ 9

I don't think you can return variables initialized using `await using` from functions. They will be disposed as soon as the `setup()` ends. ๐Ÿ‘€

18.11.2025 16:54 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Notification settings at https://github.com/sponsors/<user>/dashboard/settings showing unchecked "Sponsorship cancelled" option.

Notification settings at https://github.com/sponsors/<user>/dashboard/settings showing unchecked "Sponsorship cancelled" option.

You can also disable them.

01.11.2025 19:03 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Announcing Vite+ Introducing Vite+, a unified toolchain for JavaScript.

The Unified Toolchain for the Web

We are thrilled to announce Vite+: A unified, Rust-powered toolchain and drop-in upgrade for @vite_js.

Read the full vision and learn about our sustainable licensing model (free for individuals, OSS & small businesses).

voidzero.dev/posts/announ...

13.10.2025 17:35 ๐Ÿ‘ 181 ๐Ÿ” 49 ๐Ÿ’ฌ 5 ๐Ÿ“Œ 11
Preview
npm Author Qix Compromised in Major Supply Chain Attack - So... npm author Qixโ€™s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.

๐Ÿšจ Breaking: npm author Qix compromised. Malicious package versions published in projects that typically see hundreds of millions of downloads each week.

Details: socket.dev/blog/npm-aut...

08.09.2025 15:23 ๐Ÿ‘ 31 ๐Ÿ” 25 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 4

High downloads and good reviews don't guarantee safety. All of these "popular" extensions are actually malicious and have fake stats.

08.09.2025 12:19 ๐Ÿ‘ 7 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Also, when the feature is enabled in Supercharge, I cannot even quit the settings of your other menu bar apps like Text Lens or Color Picker from the red traffic light. Clicking it just does nothing. If I disable it, it works fine.

03.09.2025 16:05 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Thanks. Makes sense I guess. BTW it's not just Bitwarden, it's pretty much every app in menu bar. Like if you open preferences of an app and close it, it will quit the app. I've this with Rocket, Laravel Herd, Amazon Q. I guess I can exclude them all.

03.09.2025 16:03 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

The new quit an app when closing its last window algorithm seems to be closing menu bar apps too. I can reliably reproduce this with bitwarden. If I close it from traffic lights, it closes the menu bar app too.

03.09.2025 04:43 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Pinia Store Official Pinia shop for merch.

You have asked me this a lot, so here it is!
Announcing the Pinia Store ๐ŸŽ‰
pinia.store

27.08.2025 06:15 ๐Ÿ‘ 28 ๐Ÿ” 6 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 3
Preview
GitHub - azat-io/actions-up: ๐ŸŒŠ Interactive CLI tool to update GitHub Actions to latest versions with SHA pinning ๐ŸŒŠ Interactive CLI tool to update GitHub Actions to latest versions with SHA pinning - azat-io/actions-up

Released Actions Up for interactive GitHub Actions updates. ๐Ÿ”ผ

It replaces floating version tags with commit SHAs for better security.

Scans all workflows, shows outdated actions, lets you choose what to update, and adds version comments for readability.

github.com/azat-io/acti...

27.08.2025 09:39 ๐Ÿ‘ 6 ๐Ÿ” 4 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Don't think so. Likely the nearest matching one.

26.08.2025 14:10 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
vscode status bar showing the used tsconfig

vscode status bar showing the used tsconfig

It's already there? ๐Ÿ‘€

26.08.2025 10:32 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Run `npm pack` and then install the generated tarball in another project `npm add ../path/to.tgz`.

25.08.2025 05:51 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

bsky.app/profile/cass...

22.08.2025 05:26 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Obviously it would be better if both perf and the pain points can be done in one go (which now I think was your point). But rather than someone porting mdit to native and fixing stuff, I would like something that's not mdit. Most of the things are not fixable without a full rewrite as a new tool.

08.08.2025 13:34 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

And we still have to use mdit because the other alternatives aren't flexible enough to support extensions like vue in markdown.

08.08.2025 13:26 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Yeah most likely. But again, might be better to solve real pain points than chasing perf, like async renderer is not supported (a common issue for syntax highlighters), plugin dx is quite bad (at least for beginners), good ast isn't there (can't generate sourcemaps)...

08.08.2025 13:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

Things have improved in the last 2 years. But time can be better spent to implement new features and tools instead of just porting something that works good.

08.08.2025 13:14 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Yeah I mean you'll need to pass the data (markdown, tokens, config, etc.) between JS (meta framework / plugin) and Rust. That kind of diminishes the gains which weren't too much in the first place.

08.08.2025 13:10 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

There were attempts few years back, but it didn't really translate to better perf. I had tried integrating it in vitepress but the perf difference was negligible, mainly because mdit is already very fast and not really a bottleneck for most cases, that coupled with the serialization overhead. ๐Ÿซ 

08.08.2025 12:09 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Example - vuejs.org/guide/reusab...

01.08.2025 15:17 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

By keep it reactive, I meant something like `computed(() => toValue(x))` and use to derive your returned object. Or maybe something like `watch(() => toValue(x), () => {...})`.

01.08.2025 15:15 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

Not a syntax sugar. It's just a function that accepts ref and getters too. If your function accepts MaybeRefOrGetter, and you keep it reactive and return a reactive value, it will be automatically tracked by Vue. Async or not it doesn't matter.

01.08.2025 15:12 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Found it but not commenting, let others play. How were the first two emojis related to him though? ๐Ÿ˜…

31.07.2025 11:53 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Use some other client, like deck.blue for example.

30.07.2025 11:42 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
latest vitepress docs showing docsearch AI answering a question

latest vitepress docs showing docsearch AI answering a question

VitePress v2-alpha now supports @algolia.com's DocSearch v4 - including the new "Ask AI" feature! โœจ

Try it out:
- vitepress.dev/reference/de...
- docsearch.algolia.com/docs/v4/askai

And a big congrats to Algolia on 10 years of DocSearch! ๐ŸŽ‰

26.07.2025 21:56 ๐Ÿ‘ 7 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0