#nodejs

6 posts · Last used 12h

Back to Timeline
@lobsters@mastodon.social · 12h ago
0
0
1
@aral@mastodon.ar.al · Feb 27, 2026
🥳 New Kitten Release This one fixes a bug that you would have encountered had you had an asynchronous component (component with asynchronous render method) nested more than one-level deep within synchronous components. (Kitten’s html renderer transparently supports both synchronous and asynchronous render methods.) So, this (taken from my unit test), for example, works correctly now: ```js class AsynchronousOtherName extends KittenComponent { async html () { await new Promise(resolve => setTimeout(resolve, 10)) return kitten.html`Balkan` } } class SynchronousName extends KittenComponent { /* NOT async */ html () { return kitten.html`Aral <${AsynchronousOtherName.connectedTo(this)} />` } } class SynchronousTemplate extends KittenComponent { html ({ SLOT }) { return kitten.html`[Before slot]${SLOT}[After slot]` } } class MyPage extends KittenPage { html () { return kitten.html` <${SynchronousTemplate.connectedTo(this)}> This should render all at once after a short delay.

Hello, <${SynchronousName.connectedTo(this)} />

3
1
3
In reply to
@adhisimon@mastodon.kodesumber.com · Mar 31, 2026
@sakeudeung@gts.sangeunahna.com kayaknya gak akan banyak yang kena karena versi #axios yang kena inject terbatas. Kode-kode yang cukup lama sepertinya malah aman. Kayaknya ya, blm baca lebih detail juga. Lapar. https://github.com/axios/axios/issues/10604 https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan #nodejs #axios #vulnerabiliy #cvs #supplychainattack
1
0
0
@askubuntu@ubuntu.social · Mar 27, 2026
22.04 to 24.04 upgrade is still held up after 17 months #upgrade #nodejs https://askubuntu.com/q/1565191/612
0
0
0
@guiadeti@flipboard.social · Mar 02, 2026
0
0
0
@askubuntu__dup_31630@ubuntu.social · Feb 09, 2026
Electron + Node.js: how to open the Windows 10 virtual keyboard (not the touch keyboard)? #nodejs #electron https://askubuntu.com/q/1563746/612
0
0
0

You've seen all posts