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/npm-pick-manifest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.0.1
Choose a base ref
...
head repository: npm/npm-pick-manifest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.1.0
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Jul 9, 2024

  1. feat: improve heuristics when dist-tags.latest is in range (#33)

    Previously, there were two problems.
    
    First problem, even though we heuristically choose the version that best
    suits the stated 'engines' restriction, we were skipping that check when
    the 'defaultTag' (ie, 'latest', typically) version was a semver match.
    
    Second problem, the heuristic was improperly being set for 'staged' and
    'restricted' packages, resulting in failure to sort those versions
    properly.
    
    Only choose the defaultTag version if it both a semver match, _and_
    passes the engines/staged/restricted heuristics, and apply those
    heuristics properly in the sort that comes later, if the defaultTag
    version is not used.
    
    Related-to: npm/rfcs#405
    
    <!-- What / Why -->
    <!-- Describe the request in detail. What it does and why it's being
    changed. -->
    
    
    ## References
    <!-- Examples:
      Related to #0
      Depends on #0
      Blocked by #0
      Fixes #0
      Closes #0
    -->
    isaacs authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    9f5560f View commit details
    Browse the repository at this point in the history
  2. chore: release 9.1.0 (#135)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [9.1.0](v9.0.1...v9.1.0)
    (2024-07-09)
    
    ### Features
    
    *
    [`9f5560f`](9f5560f)
    [#33](#33) improve
    heuristics when dist-tags.latest is in range (#33) (@isaacs)
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    dd05066 View commit details
    Browse the repository at this point in the history
Loading