Back to News
Advertisement
Advertisement

⚑ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 74 words in the discussion.

Trending Topics

#npm#hooks#https#github#com#composer#package#approach#arrived#similar

Discussion (2 Comments)Read Original on HackerNews

captn3m0β€’about 14 hours ago
I arrived at a similar model for NPM using hooks in pnpm: https://github.com/captn3m0/npm-sec-feed. I love the work Packagist/Composer is doing in the space.

I’m now a firm believer that every package manager needs to support hooks globally.

Composer also supports conflicts which results in this amazing approach of having a meta-package conflict with insecure packages: https://github.com/Roave/SecurityAdvisories.

Can’t happen in Node, sadly because of language differences.

moebrowneβ€’about 19 hours ago
I appreciate Composers slower but deliberate, well thought out approach to supply chain attack mitigations.