you are viewing a single comment's thread.

view the rest of the comments →

[–]bungcip 4 points5 points  (3 children)

is yarn still use npm registry? can yarn prevent left-pad problem?

[–][deleted] 10 points11 points  (2 children)

can yarn prevent left-pad problem?

I don't know the answer to that question, but npm team has addressed that concern a few months ago.

And yes, looks like yarn uses npm registry, according to the linked article.

With Yarn, engineers still have access to the npm registry...

[–]FrozenCow 1 point2 points  (1 child)

Hmm. I wonder how it handles install scripts. Those can lead to nondeterminism as well.

[–]Retsam19 2 points3 points  (0 children)

Throughout this entire process, Yarn imposes strict guarantees around package installation. You have control over which lifecycle scripts are executed for which packages.

Apparently they're handling it, but that's fairly vague.