upgrade-interactive
makes confusion with dependency versions
#1875
Labels
upgrade-interactive
makes confusion with dependency versions
#1875
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
Command
upgrade-interactive
leads to ayarn.lock
file with dependency versions that don't make sense. After anotherupgrade
, version resolution is fixed.If the current behavior is a bug, please provide the steps to reproduce.
Say you have this
package.json
:Notice that
gulp-sass
has a dependency"node-sass": "^3.4.2"
.yarn install
resolves to ayarn.lock
with this:The latest version of
node-sass
is v3.13.0. So if I proceed with the suggested inyarn upgrade-interactive
, it leads to:package.json
yarn.lock
This two entries of
node-sass
sounds confused whereas both^3.13.0
and^3.4.2
would resolve tov3.13.0
.What is the expected behavior?
The version resolution right after
yarn upgrade-interactive
leading to ayarn.lock
like this:Actually this is what happens after a
yarn upgrade
. But sounds weird the need of this correction, right? I am inferring that ayarn upgrade-interactive
should lead to a deterministicyarn.lock
.Please mention your node.js, yarn and operating system version.
node.js: v7.1.0
yarn: v0.17.2
OS: Arch Linux
The text was updated successfully, but these errors were encountered: