Closed guybedford closed 9 years ago
Landed in bb85f55. Btw, I thought that having ^
means that npm will update minor and patch versions automatically. Isn't it true?
Thanks!
^
for 0.x.x
versions means only auto-update the patch version. And for 0.0.x
it is the same as a full lock. See https://github.com/npm/node-semver#caret-ranges-123-025-004.
Ah, I see. It should be 1.x.x to work this way...
Thanks!
Awesome, thanks for the quick response!
Wouldn't it be a better idea to have bn.js
as a regular dependency rather than a peerDependency? I was under the impression that it was built for plugin-type relationships: http://blog.nodejs.org/2013/02/07/peer-dependencies/
(I'm only writing this because this change somehow bubbled down the dependency chain and broke my browserify install - I assume it's causing problems for quite a few more people too.)
See also:
If it doesn't make sense to update all of these, perhaps
public-encrypt
andbrowserify-rsa
can be reverted to 0.15? I understand the upgrade paths will involve forks often, but it would be nice to minimize ecosystem forks of stable primary releases.