For example:
2.0.0
of package-name
installed.2.1.2
npm install package-name@latest
is 4.3.0
How can I install the most recent package that does not have breaking changes?
Use npm install package-name@"<next-major.0.0"
For example:
npm install package-name@"<3.0.0"
would install the latest right before 3.0.0 (e.g. 2.11.1)