Skip to content

Consider locking down dependencies to patch versions only #1470

Description

@kevlarr

Our project relies on Mirage locked to 0.4.0 which has a dependency of "ember-lodash": "^4.17.3"

My coworker built awhile ago, so npm install pulled in Mirage with ember-lodash version 4.18.0. Building today, npm install pulled the same version of Mirage but with ember-lodash version 4.19.4 instead, which itself pulled another dependency that is incompatible with Ember 2.11 (requiring 2.13+).

Using "^xx.yy.zz" versioning for all dependencies in package.json effectively means that patch versions of Mirage will update minor versions of dependencies, which is against expectation.

I propose that dependencies be versioned to allow flexibility at the patch level only, eg."~xx.yy.zz".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions