Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/node-semver
base: 093b40f8a7cb67946527b739fe8f8974c888e2a0
Choose a base ref
...
head repository: npm/node-semver
compare: e79ac3a450e8bb504e78b8159e3efc70895699b8
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 22, 2021

  1. fix(subset): check any as superset

    Adds short-circuit check if superset is `*`.
    
    PR-URL: #375
    Credit: @jameschensmith
    Close: #375
    Reviewed-by: @isaacs
    James Chen-Smith authored and isaacs committed Mar 22, 2021
    Copy the full SHA
    15ed208 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Correctly handle prereleases/ANY ranges in subset

    An "ANY" range (ie, `""`, `*`, etc.) does not include prerelease
    versions except when `includePrerelease` flag is set.
    
    Also, merely looking at the max/min boundaries of any ranges ignores the
    fact that the sub range maybe including prerelease versions that are
    excluded from the super range.  For example, `>=1.2.3-pre.0` is _not_ a
    subset of `>=1.0.0`, because it inludes `1.2.3-pre.0`, `1.2.3-pre.1`,
    and so on.
    
    PR-URL: #377
    Credit: @isaacs
    Close: #377
    Reviewed-by: @wraithgar
    isaacs committed Mar 23, 2021
    Copy the full SHA
    0ce87d6 View commit details
    Browse the repository at this point in the history
  2. 7.3.5

    isaacs committed Mar 23, 2021
    Copy the full SHA
    e79ac3a View commit details
    Browse the repository at this point in the history