Shiki 1.0: A Powerful Syntax Highlighter — A few months ago, we linked to Shikiji, a fork of Shiki that was created to push the project forward. Happily, the creators of both libraries decided to join forces and Shiki 1.0 was born. It’s a syntax highlighter based on TextMate grammar and themes, the same engine as used by VS Code. The docs are good.
Pine Wu, Anthony Fu
|
Node v21.7.0 (Current) Released — Sometimes minor Node versions have little beyond bug fixes, but other times you get some new features, and 21.7 doesn’t disappoint. Node gains a new
function for formatting text (including with color!), new functions to work with
files, multi-line value support for
files, a
function to more quickly compute digests in one shot (example), and more.
The Node.js Core Team
|
Lydia Hallie Tests Your JavaScript Knowledge — Challenge your core knowledge with 50 interactive quiz questions covering topics like the event loop, scopes and closures, classes and prototypes, garbage collection, and more. After each question, you’ll get an in-depth visual explanation from Lydia to deepen your understanding of fundamental JS concepts.
Frontend Masters sponsor
|
Ultimate Guide to Visual Testing with Playwright — Ultimate or not, this tutorial is pretty thorough and will get you several steps down the road of fetching pages and making visual comparisons, all from JavaScript.
Mike Stop Continues (BrowserCat)
|
How
Scripts Can Be Weaponized — A quick look at a real world example of how npm pre-install and post-install scripts can serve as ways to inject malicious code into open source packages.
Edward Thomson
|
A Few Modern
Commands & Features You Should Be Using
Martin Heinz
|
|
0 Comments