Want to dominate the DOM? Ditch appendChild() in favor of append()! The latter is variadic, automatically turns strings into text nodes, and has a shorter name to boot!

#webdev #javascript #dom

#Development #Analyses
When the wrong demos go viral · Pretext reframes how we think about text rendering https://ilo.im/16bs49

_____
#Layout #Canvas #Text #JavaScript #Library #Accessibility #WebPerf #WebDev #Frontend #DOM

You're Looking at the Wrong Pretext Demo

Pretext went viral for its beautiful canvas demos. But the community is showcasing the wrong feature.

Den Odell
axios Compromised on npm - Malicious Versions Drop Remote Access Trojan - StepSecurity

Hijacked maintainer account used to publish poisoned axios releases including 1.14.1 and 0.30.4. The attacker injected a hidden dependency that drops a cross platform RAT. We are actively investigating and will update this post with a full technical analysis.

Атака на axios в npm: как один захваченный аккаунт поставил под угрозу милионы JavaScript-проектов

В экосистеме JavaScript произошёл серьёзный инцидент, который хорошо показывает, насколько опасными стали атаки на open source и цепочки поставок. Исследователи StepSecurity сообщили о компрометации axios — одной из самых популярных HTTP-библиотек в npm (~83 миллионов загрузок в неделю). Злоумышленник получил доступ к аккаунту одного из ведущих мейнтейнеров проекта и опубликовал две вредоносные версии пакета: [email protected] и [email protected] . На первый взгляд это выглядит как обычное обновление зависимости. Но на деле установка этих версий могла привести к заражению системы трояном удалённого доступа.

https://habr.com/ru/companies/first/articles/1017244/

#axios #взлом #javascript #атака #npm #безопасность_вебприложений #безопасность #программирование

Атака на axios в npm: как один захваченный аккаунт поставил под угрозу милионы JavaScript-проектов

В экосистеме JavaScript произошёл серьёзный инцидент, который хорошо показывает, насколько опасными стали атаки на open source и цепочки поставок. Исследователи StepSecurity сообщили о компрометации...

Хабр

Hey does anybody know if it is possible to somehow use the browser dev tools to visualize the objects created by a running javascript and the links between them, while the script is running? Or if there's some tool or library or browser plugin for such a thing?

I want to be able to see in real time the node tree that the new parser I need to build for UTC 1.0 generates as I use and test my little tool so I can get a sense of how it's working-as-coded.

#webdev #javascript

CSS is DOOMed!

Every wall, floor, barrel, and imp is a div — DOOM rendered entirely in CSS. Using 3D transforms, CSS math functions, @property, clip-path, anchor positioning, and SVG filters to build a fully playable 3D first-person shooter in the browser without Canvas or WebGL.

Hello my name is Niels Leenheer
×