Skip to content
This repository was archived by the owner on Aug 15, 2018. It is now read-only.
This repository was archived by the owner on Aug 15, 2018. It is now read-only.

是否支持 semver 版本号的 Ranges ?  #1000

@sorrycc

Description

@sorrycc

比如:~1.1.0 适配 1.1.01.1.1 等小版本。详见:https://github.com/npm/node-semver#ranges

感觉是 稳定性便利性 之间的选择。

  1. 如果支持
    可能存在潜在的不稳定因素。比如有可能一个依赖模块的小版本更新会导致出现线上故障。spm 在我接触以来已经出现 3-4 次类似问题导致的安装或使用故障。
  2. 如果不支持
    同时还会下线 publish -funpublish 这些可能出现不稳定因素的现有功能。对于使用者会带来不便,比如 anima-yocto 被 23 个模块支持,一个 bugfix 需要同时更新 23 个依赖他的模块,工作量太大。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions