I have finally released version 1.0 of hyperguard library that I have written 4 years ago, but has been sitting in version 0.1, 0.2, and finally 0.3 without any update since.

Version 1 improved the API, and some refactoring was made to remove the reliance of the `any` type.

Anyways, check it out. https://github.com/shovon/hyperguard

#TypeScript #JavaScript #NodeJS #BunJS #Deno #ECMA262 #ECMAScript

GitHub - shovon/hyperguard: Supercharge your TypeScript type guards with this dead simple object validation library

Supercharge your TypeScript type guards with this dead simple object validation library - shovon/hyperguard

GitHub
@commanderred
Tatsächlich bewegen wir uns sogar auf ein einigermaßen vereinfachtes #ECMAScript zu. Selbst das etwas eigene #Nodejs versteht jetzt wohl Import Maps mit http imports, `node:` imports, ES-Modules, und viel mehr. Zusätzlich gibt es jetzt mit Wasm auch ein Host-Unabhängiges FFI, was wenige Sprachen von sich behaupten können.

I did a transition from Date to Temporal API on the backend side of one of my projects. The nice one is when you already use Intl.DateTimeFormat, you don't have to change anything in this area. Intl accepts both, Date and Temporal values.

#ecmascript #temporal #node_js

ESupgrade is finally on feature parity with Baseline 2025, with 2026 up next.

Special thanks to @mdn for maintaining detailed browser compatibility data and @developers for the #Baseline initiative!

Moreover, thanks to all the projects that have already adopted the pre-commit hook and help to stop bugs.

https://github.com/codingjoe/esupgrade

#JavaScript #ECMAScript #Browser #OpenSource #AI #TypeScript

GitHub - codingjoe/esupgrade: Auto-upgrade your JavaScript syntax

Auto-upgrade your JavaScript syntax. Contribute to codingjoe/esupgrade development by creating an account on GitHub.

GitHub

Wenn du aus der Java-Welt kommst, wirken Begriffe wie JavaScript, TypeScript, Angular, React, Vue, Node.js oder npm am Anfang schnell wie ein einziger großer Themenblock. Genau da entsteht oft die eigentliche Verwirrung. Alles klingt ähnlich, vieles taucht im gleic...

https://magicmarcy.de/angular-react-vue-und-mehr-so-ordnest-du-die-frontend-begriffe-endlich-richtig-ein

#Coding #JavaScript #Angular #TypeScript #React #Node #Vite #Webpack #ESLint #Maven #Paketmanager #ECMAScript #Programming

Angular, React, Vue und mehr: So ordnest du die Frontend-Begriffe endlich richtig ein | magicmarcy.de

Wenn du aus der Java-Welt kommst, wirken Begriffe wie JavaScript, TypeScript, Angular, React, Vue, Node.js oder npm am Anfang schnell wie ein einziger großer Themenblock. Genau da entsteht oft die eigentliche Verwirrung. Alles klingt ähnlich, vieles taucht im gleichen Projekt auf, aber nicht alles ist dasselbe. Manche Begriffe beschreiben eine Sprache, andere ein Framework, wieder andere eine Laufzeit oder ein Werkzeug.

magicmarcy.de
GitHub - standard/standard: 🌟 JavaScript Style Guide, with linter & automatic code fixer

🌟 JavaScript Style Guide, with linter & automatic code fixer - standard/standard

GitHub
🚀 Lost your original code? Stop squinting at minified bundles.
**sourcemap-extract** instantly restores your original JS/CSS files from source maps. Built on the latest ECMA-426 standard.
✨ Why use it:
• 📦 Zero install: npx sourcemap-extract -o ./src dist/bundle.js.map
• 🛡️ Safe: Built-in directory traversal protection
• 🧹 Clean: Auto-strips Webpack/Vite/Turbopack noise
Includes Node.js API.
👉 Star it: https://github.com/AnandPilania/sourcemap-extract #WebDev #nodejs #ecmascript #javascript #reverseengineering #npx
GitHub - AnandPilania/sourcemap-extract: Restore original source files from JavaScript/CSS source maps. Implements ECMA-426 (1st edition, December 2024).

Restore original source files from JavaScript/CSS source maps. Implements ECMA-426 (1st edition, December 2024). - AnandPilania/sourcemap-extract

GitHub
Soon We Can Finally Banish JavaScript to the ShadowRealm | CSS-Tricks

The proposed ShadowRealm API introduces a new kind of realm specifically designed for isolation, and only that.

CSS-Tricks

Soon we can finally banish JavaScript to the ShadowRealm. @Wilto walks through the TC39 ShadowRealm proposal, which creates isolated execution contexts with their own pristine globals while running on the same thread as the host. With just two methods, evaluate() and importValue(), ShadowRealms could sandbox third-party scripts, ads, and test suites without polluting the main realm. Currently at Stage 2.7, not yet in browsers. #js #ecmascript

https://css-tricks.com/soon-we-can-finally-banish-javascript-to-the-shadowrealm/

Скоро мы наконец сможем отправить JavaScript в ShadowRealm. Мэт Маркиз разбирает предложение TC39 ShadowRealm, создающее изолированные контексты исполнения с собственными глобальными объектами в том же потоке, что и основной хост. Двух методов evaluate() и importValue() достаточно, чтобы изолировать сторонние скрипты, рекламу и тесты без загрязнения основного окружения. Сейчас на стадии 2.7, в браузерах пока нет. #js #ecmascript

https://css-tricks.com/soon-we-can-finally-banish-javascript-to-the-shadowrealm/