Advertisement ยท 728 ร— 90

Posts by Divyansh Singh

Preview
Components in Markdown Fast, streaming-ready markdown parser with Vue and React component support. Parse Comark content from strings or streams with TypeScript support.

Weโ€™ve been evolving Nuxt Content & MDC into Comark.

It's a fast, streaming-ready Markdown parser with renderer for @vuejs.org, @react.dev, @svelte.dev, HTML and even ANSI terminals.

comark.dev

2 days ago 77 13 6 4

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

2 months ago 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.

2 months ago 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.

2 months ago 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

2 months ago 79 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. ๐Ÿ‘€

4 months ago 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.

5 months ago 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...

5 months ago 181 49 5 11
Advertisement
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...

7 months ago 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.

7 months ago 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.

7 months ago 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.

7 months ago 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.

7 months ago 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

7 months ago 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...

7 months ago 7 4 1 0

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

7 months ago 1 0 0 0
vscode status bar showing the used tsconfig

vscode status bar showing the used tsconfig

It's already there? ๐Ÿ‘€

7 months ago 1 0 1 0
Advertisement

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

7 months ago 3 0 1 0

bsky.app/profile/cass...

7 months ago 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.

8 months ago 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.

8 months ago 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)...

8 months ago 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.

8 months ago 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.

8 months ago 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. ๐Ÿซ 

8 months ago 3 0 1 0
Advertisement

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

8 months ago 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), () => {...})`.

8 months ago 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.

8 months ago 2 0 1 0

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

8 months ago 0 0 1 0

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

8 months ago 2 0 0 0