682: Whiskey, Security, Antitrust, and Fun with CSS Functions
Episode
57 min
Read time
2 min
AI-Generated Summary
Key Takeaways
- ✓CSS @function syntax: Chrome 139 introduces custom CSS functions using @function with dash-dash naming, result property for return values, and source-order-based precedence where lowest declaration wins, enabling logic abstraction from declarative styles into reusable functions with media query support.
- ✓npm security response: Storybook reduced dependencies working with E18E efficiency group, avoiding the two-hour window when chalk and strip-ansi were compromised through phishing attack. Projects with fewer base-level dependencies face lower risk when supply chain attacks target widely-used terminal formatting libraries.
- ✓Google antitrust outcome: Judge Mehta ruled Google can retain Chrome and continue paying Apple for default search placement, requiring only search index data sharing with competitors and syndication services availability. Forcing Chrome sale would create downstream harms affecting browser investment and web platform development funding.
- ✓CSS if function pattern: The if function consolidates multiple result statements into condition-value pairs separated by semicolons, supporting media and supports queries. This switch-statement-like syntax improves readability when handling ten-plus breakpoints compared to stacked @media blocks with repeated result declarations.
What It Covers
Chris and Dave explore CSS custom functions and if statements, discuss npm security vulnerabilities affecting chalk and strip-ansi packages, analyze Google's antitrust case resolution allowing Chrome retention, and debate authentication challenges for children.
Key Questions Answered
- •CSS @function syntax: Chrome 139 introduces custom CSS functions using @function with dash-dash naming, result property for return values, and source-order-based precedence where lowest declaration wins, enabling logic abstraction from declarative styles into reusable functions with media query support.
- •npm security response: Storybook reduced dependencies working with E18E efficiency group, avoiding the two-hour window when chalk and strip-ansi were compromised through phishing attack. Projects with fewer base-level dependencies face lower risk when supply chain attacks target widely-used terminal formatting libraries.
- •Google antitrust outcome: Judge Mehta ruled Google can retain Chrome and continue paying Apple for default search placement, requiring only search index data sharing with competitors and syndication services availability. Forcing Chrome sale would create downstream harms affecting browser investment and web platform development funding.
- •CSS if function pattern: The if function consolidates multiple result statements into condition-value pairs separated by semicolons, supporting media and supports queries. This switch-statement-like syntax improves readability when handling ten-plus breakpoints compared to stacked @media blocks with repeated result declarations.
Notable Moment
Dave's son performs password resets every single time he logs into any service because he never remembers his credentials, leading Dave to propose RFID badge authentication for children instead of traditional password management systems.
You just read a 3-minute summary of a 54-minute episode.
Get Shop Talk Show summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from Shop Talk Show
712: Lazy Loading the Web with Scott Jehl
Apr 27 · 64 min
Morning Brew Daily
Jerome Powell Ain’t Leavin’ Yet & Movie Tickets Cost $50!?
Apr 30
More from Shop Talk Show
711: Where did Oh My Zsh Come From? And Using Rails in 2026
Apr 20 · 63 min
a16z Podcast
Workday’s Last Workday? AI and the Future of Enterprise Software
Apr 30
More from Shop Talk Show
We summarize every new episode. Want them in your inbox?
712: Lazy Loading the Web with Scott Jehl
711: Where did Oh My Zsh Come From? And Using Rails in 2026
710: Simen Svale from Sanity
709: Slopforking a CMS, Apple Browser Feedback, and Custom Theme CSS
708: People Are Not Friction, Getting Rid of the CMS, and Social RSS Follow Up
Similar Episodes
Related episodes from other podcasts
Morning Brew Daily
Apr 30
Jerome Powell Ain’t Leavin’ Yet & Movie Tickets Cost $50!?
a16z Podcast
Apr 30
Workday’s Last Workday? AI and the Future of Enterprise Software
Masters of Scale
Apr 30
How Poppi’s founders built a new soda brand worth $2 billion
Snacks Daily
Apr 30
🦸♀️ “MAMA Stocks” — Zuck’s Ad/AI machine. Hilary Duff’s anti-Ozempic bet. Bill Ackman’s Influencer IPO. +Refresher surge
The Mel Robbins Podcast
Apr 30
Eat This to Live Longer, Stay Young, and Transform Your Health
This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.
You're clearly into Shop Talk Show.
Every Monday, we deliver AI summaries of the latest episodes from Shop Talk Show and 192+ other podcasts. Free for up to 3 shows.
Start My Monday DigestNo credit card · Unsubscribe anytime