🚨 ACTIVE SUPPLY CHAIN ATTACK If you haven't removed `actions-cool/issue-helper` from your GitHub actions, it's back. And the latest release still points to the malicious commit, same as 4 months ago. www.stepsecurity.io/blog/actions...
Haoqun Jiang
Haoqun Jiang
@haoqun.dev
@vuejs.org core team member. @vite.dev core team emeritus. Worked on JS tooling. Learning new things. https://haoqun.dev/
457 followers1K following84 posts
It's always great to see a years-old issue finally get fixed! This, plus content mappers, I'd say TypeScript 7.1 might even have a bigger impact on the tooling ecosystem than 7.0 github.com/microsoft/Ty...
docs.zizmor.sh/audits/ It's always interesting to read the rules in an auditing/linting tool's documentation. Surprised by how many footguns exist in common GitHub Actions usage patterns.
I spent the last two weeks vibe-coding a port of Vue’s style compiler to LightningCSS, and I’m seeing ~2.4–5× speedups in most cases: npmx.dev/package/@lig... Pretty happy with where the architecture and performance have landed.
One more reason to use @pnpm.io and @npmx.dev: trust policy downgrade becomes visible and preventable
🚨 Active supply chain attack on axios@1.14.1. The latest version pulls in plain-crypto-js@4.2.1 -- a brand-new package that didn't exist before today. We're still investigating. If you use axios, pin your version and audit your lockfile. socket.dev/blog/axios-n...
Haoqun Jiang reposted
@pnpm.io getting better by the day pnpm.io/blog/release... I still can't believe that a one-person package manager is doing better than npm CLI, owned by a corporate, where the resources of the two projects are incomparable. Draw your own conclusions.
Apple forgot to turn off sourcemaps when shipping their new App Store website lol github.com/rxliuli/apps...
Haoqun Jiang reposted
Published an article about mitigating supply chain attacks with pnpm pnpm.io/supply-chain...
Haoqun Jiang reposted
some thoughts about the bloat introduced by edge-case first libraries
Haoqun Jiang reposted
We encourage everyone to migrate from using npm publish tokens to trusted publisher! github.com/e18e/ecosyst...
😈 I removed all CI npm tokens and switched to using trusted publishing. github.blog/changelog/20...
Wow, this was unexpected. I've got mixed feelings, but huge congrats to the team!
I am delighted to announce that @vercel.com are investing in Nuxt! they are backing our vision of the open web, hiring me as well as other core team members (@atinux.com, @pi0.io + @antfu.me), to continue to work full time on Nuxt we remain independent — and our vision and ethos are not changing 💚
Finally. I wish the community could migrate from the `packageManager` field to `devEngines` following this - always pinning versions is good in theory but way too cumbersome in practice.
📌 Just hours ago, the Node.js TSC officially voted to stop distributing Corepack. Future Node.js releases (i.e. 25+) won’t include it, but it will remain available separately. socket.dev/blog/node-js... #nodejs #javascript
Haoqun Jiang reposted
😮💨 Still paying down the tech debt that accumulated during the transition from non-scoped packages to scoped ones… I’m lucky to have subscribed to @lirantal.com’s Node.js security newsletter. It’s always informative! - www.alxndrsn.com/2024-08-01-n... - www.nodejs-security.com/newsletter/n...
Can't believe scoped packages wasn't a free feature of npm until 2017-03-22 blog.npmjs.org/post/1587182...
Haoqun Jiang reposted
Speeding up the JavaScript ecosystem part 11 is here! This time we're looking at: Extending Rust tools with JavaScript plugins marvinh.dev/blog/speedin...
Looks like Reka UI, the rebranded Radix Vue component library, has just got officially released 👀 It's such a cool name. Can't wait to try it out!
#TIL So this is the fastest way to import an ES module in the Node.js REPL… How did I never know about the `_` (underscore) auto-assignment in the REPL?! nodejs.org/api/repl.htm... So many wasted keystrokes over the years!
In my experience this new default doesn't break many projects. But it might slow down some native packages a bit. For example, packages like esbuild, lightningcss-cli try to optimize their binaries in the postinstall scripts; these will no longer be executed by default: github.com/evanw/esbuil...
@acemarke.dev Hi Mark, I just noticed that the Bluesky link on your GitHub profile is invalid since you changed your handle. Just wanted to give you a heads-up in case you'd like to update it
📢 App Version 1.96 is rolling out now (1/6) In this release: a notifications Mentions tab, reserving your default username when you verify your account with a domain, and other improvements!
@acemarke.dev Hi Mark, I just noticed that the Bluesky link on your GitHub profile is invalid since you changed your handle. Just wanted to give you a heads-up in case you'd like to update it
📢 App Version 1.96 is rolling out now (1/6) In this release: a notifications Mentions tab, reserving your default username when you verify your account with a domain, and other improvements!
And in case you still want that username, you can temporarily change your handle back and forth to reserve it. This feature was introduced about a month ago: bsky.app/profile/bsky...
📢 App Version 1.96 is rolling out now (1/6) In this release: a notifications Mentions tab, reserving your default username when you verify your account with a domain, and other improvements!
The discoveries are really cool, though
The gift that keeps on giving: predictors.fail This is IMO a great example of why **process isolation is the only path to confidentiality on modern CPUs**. Site- (or origin-) process isolation continues to be the path. Also note: the CPU is **not** the problem here IMO, it's doing exactly its job.
Haoqun Jiang reposted
Vite 6.0.9 / 5.4.12 / 4.5.6 has been released with *breaking changes* due to security issues. I recommend upgrading it. Some users may need to update the config options. Please check github.com/vitejs/vite/... if you encountered any errors.
I forked Bun's internal allowlist for those who need the protection from this new default but don't want to bother reviewing every dependency one-by-one: github.com/haoqunjiang/...
Big changes in @pnpm.io 10.0.0: Lifecycle scripts are now blocked by default to combat supply chain attacks. This change is widely supported but comes with some friction. socket.dev/blog/pnpm-10... #NodeJS #pnpm #JavaScript
Trying to make configuring ESLint + Vue + TypeScript a bit easier with a few helper functions, but I'm afraid it might be too intrusive: github.com/vuejs/eslint... What's your opinion about this API?
Haoqun Jiang reposted
pnpm can block lifecycle scripts of dependencies during installation. This is an opt-in feature though. Should we block them by default? github.com/orgs/pnpm/di...
SCOTUSblog IS HERE!!! I’ve been missing them since they left X. As I don’t use TikTok, I’ve had no easy way to follow them (well, I don’t feel like checking websites regularly for updates). So glad to see this account again on a social network!
Good morning! We're expecting more opinions from the Supreme Court today at 10 EST. Follow along for live updates, a thread: