News for hackers. Stuff that matters.
Re:A one-line package broke `npm create-react-app` by joepie91_ on Sunday April 26, 2020 @04:01PM (#22989735)
> If I npm install is-promise I'll get something like "^1.2.1" in my package.json not the exact "1.2.1". This means that the next time someone installs my CLI I don't know exactly what code they're getting (unless I shrinkwrap which is uncommon).

Yes, this is by design. If this weren't the case, the ecosystem would be an absolute minefield of non-updated transitive dependencies with unpatched security issues.

There are no comments on this comment yet.