HTML is magic.
The HTTP 103 Early Hints informational response lets a browser pre-connect to sites or start preloading resources *even before the server has prepared and sent a final response.
https://t.co/L7v6iw20Lw
CSS can now do math with "how far along am I?"
`progress()` just landed in the last engine. Chrome 138, Safari 26, Firefox 155 (yesterday).
MDN still says Limited; that’s badge lag. 😉
It works now. 🤟
It returns a 0–1 number for how far a value sits between a start and an end ⤵️
Major versions of Firefox now land every two weeks, so Firefox 155 dropped today with web platform features including:
🎉 Fully typed CSS attr()
🎉 CSS progress()
🎉 Promise.allKeyed() and allSettledKeyed()
🎉 Lots of new WebTransport stuff
…And more!
https://t.co/zGtRtYX1uk
Time to grep all projects for
const [isBrowser, setIsBrowser] = useState(false)
useEffect(() => {
setIsBrowser(true)
})
and
export function isBrowser() {
return typeof window !== 'undefined'
}
TypeScript's 𝘴𝘢𝘵𝘪𝘴𝘧𝘪𝘦𝘴 operator has been around for years. Majority of codebases I open still don't use it.
If you’re still using type assertions (as) to validate your objects, you might be accidentally lying to your compiler.
Here is the 30-second breakdown of why 𝘴𝘢𝘵𝘪𝘴𝘧𝘪𝘦𝘴 (introduced in TS 4.9) is a game-changer:
❌ The Problem with as (Type Assertion)
When you use as, you’re telling TypeScript: "Shut up, I know what I’m doing."
- It widens your types.
- it can mask missing properties.
- You lose the specific "literal" types of your values.
✅ The Magic of 𝘴𝘢𝘵𝘪𝘴𝘧𝘪𝘦𝘴
When you use 𝘴𝘢𝘵𝘪𝘴𝘧𝘪𝘦𝘴, you’re telling TypeScript: "Check that this matches the interface, but remember exactly what I put inside."
- It validates the shape.
- It preserves the narrowest possible type.
- You keep your perfect autocomplete and IDE intenseness.
ECMAScript excitement 😉
Congrats to my coworker @acutmore@TechAtBloomberg on advancing Await Dictionary to Stage 3 at @TC39 🎉
Promise.all returns positional results as an array. Promise.allKeyed allows named results inside an object 👍
diffshub[dot]com
Take any public diff from GitHub and virtualize it nearly instantly, no matter how large, with DiffsHub. Built to show off our brand new CodeView component.
To try it out, replace `github` with `diffshub` in your address bar.
New in TanStack Router: more control over dynamic route params.
Use params.parse to accept or skip a candidate, with priority for overlapping dynamic params.
Gap decorations are now in Chromium 149 (stable rollout in 5 days)!
Shoutout to the folks at @MSEdgeDev for the implementation, post, and demos:
https://t.co/mkjspRpIcc
OoooOOooh! Guess what! As of Chrome 149, shape() works in shape-outside!
So you can really *shape* your UI's 😉*
rect() and xywh() are also supported for shape-outside in Chrome 149
*(just let me have my Mom joke)
SECURITY ADVISORY — TanStack npm packages
A supply-chain compromise affecting 42 @tanstack/* packages (84 versions total) was published to npm earlier today at approximately 19:20 and 19:26 UTC. Two malicious versions per package.
Status: ACTIVE — packages are deprecated, npm security engaged, publish path being shut down.
Severity: HIGH — payload exfiltrates AWS, GCP, Kubernetes, and Vault credentials, GitHub tokens, .npmrc contents, and SSH keys.
If you installed any @tanstack/* package between 19:20 and 19:30 UTC today, treat the host as potentially compromised:
• Rotate cloud, GitHub, and SSH credentials immediately
• Audit cloud audit logs for the last several hours
• Pin to a prior known-good version and reinstall from a clean lockfile
Detection — the malicious manifest contains:
"optionalDependencies": {
"@tanstack/setup": "github:tanstack/router#79ac49ee..."
}
Any version with this entry is compromised. The payload is delivered via a git-resolved optionalDependency whose prepare script runs router_init.js (~2.3 MB, smuggled into each tarball at the package root).
Unpublish is blocked by npm policy for most affected packages due to existing third-party dependents. All 84 versions are being deprecated with a SECURITY warning, and npm security has been engaged to pull tarballs at the registry level.
Full technical breakdown, complete package and version list, and rolling status updates:
https://t.co/Zy8qG7PA9f
Credit to the security researcher for responsible disclosure.
📢 Happy to announce that @tan_stack Query now has a lit adapter
🙏 The adapter is v0.1 - your feedback will help us getting the APIs to stable
🙌 Shoutout to Gaurav Chugh for contributing it
https://t.co/JKNXsNTAUs
For the past two months I have been working hard on Ky 2 and now it's finally out.
All bugs fixed. All GitHub issues resolved. Cleaner API, stricter behavior, fewer footguns.
New `baseUrl` option fixes URL handling, `searchParams` option now merges, retries are now more precise by distinguishing failure types, built-in JSON schema validation.
Ky is a tiny JS HTTP client built on top of the built-in Fetch.
https://t.co/vT0spSRYhe
Web platform news 🗞️
Landing in Chrome 148: sticky positioning now works on a per-axis basis
This means you can have sticky elements that track different scroll containers on different axes.
(📽️ from @bramus's article, 🔗⬇️)
hasUAVisualTransition landed in Firefox 149, making it available across all major engines. As well as having a very catchy name, it lets you avoid doubling up on page transitions. Here's how it works: