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/hosted-git-info
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.7.1
Choose a base ref
...
head repository: npm/hosted-git-info
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.8.0
Choose a head ref
  • 13 commits
  • 14 files changed
  • 5 contributors

Commits on Jan 25, 2019

  1. comittish -> committish (#42)

    Seems some of the instances did not get replaced in #c4aa65618ec8b5eeb77ab2893a918746f0deeaf8
    
    Credit: @OiYouYeahYou
    OiYouYeahYou authored and aeschright committed Jan 25, 2019
    Configuration menu
    Copy the full SHA
    067fd7f View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2019

  1. update package-lock.json

    isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    5476dce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1942b17 View commit details
    Browse the repository at this point in the history
  3. fix(cache): Switch to lru-cache to save ourselves from unlimited memo…

    …ry consumption
    
    PR-URL: #38
    Credit: @iarna
    Close: #38
    Reviewed-by: @isaacs
    iarna authored and isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    e518222 View commit details
    Browse the repository at this point in the history
  4. fix: do not allow invalid gist urls

    Gists are either name/hex{32}, or just /hex{32}.
    
    If someone omits the project, and just specifies a name, then that is an
    error and should be treated as such.
    
    Also, eliminate some dead code paths and bring the tests up to 100%.
    isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    d5cf830 View commit details
    Browse the repository at this point in the history
  5. fix(gitlab): Do not URL encode slashes in project name for GitLab htt…

    …ps URL
    
    PR-URL: #47
    Credit: @mterrel
    Close: #47
    Reviewed-by: @isaacs
    mterrel authored and isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    cbf04f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cca4ddd View commit details
    Browse the repository at this point in the history
  7. test: turn off --esm

    isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    b681019 View commit details
    Browse the repository at this point in the history
  8. fix(git-host): disallow URI-encoded slash (%2F) in path

    PR-URL: #44
    Credit: @ybiquitous
    Close: #44
    Reviewed-by: @isaacs
    ybiquitous authored and isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    3776fa5 View commit details
    Browse the repository at this point in the history
  9. inline util._extend, rather than requiring util

    Related:
    - #25
    - #40
    
    This removes the require('util') fallback for Object.assign, without
    dropping support for node v4 (which will happen on the next major,
    likely along with 6), but gets bundle sizes down in the meantime.
    isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    a5a91ac View commit details
    Browse the repository at this point in the history
  10. feat: give these objects a name

    It's much less friendly to use this library (and those that depend on
    it, like npm-package-arg) when it's not clear whether the returned value
    is a member of a class (which likely has some useful methods) or just an
    object full of data that the user is expected to know what to do with.
    
    This is especially vexing since some of this sort of data is saved to
    various lock and config files, so _sometimes_ a thing that looks
    suspiciously like a GitHost object actually is just a plain old JS
    object.
    isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    60abaea View commit details
    Browse the repository at this point in the history
  11. fix: Allow slashes in gitlab project section

    Technically these are called groups and subgroups in GitLab parlance,
    but effectively, it means that a GitLab project url can have a path with
    unlimited portions, like company/property/team/component.git.
    
    This allows passing in unlimited path portions in the full url, and
    avoids encoding the `project` section akin to how `path` is treated as
    of 3776fa5 #44
    
    Fix #46
    Fix #43
    isaacs committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    bbcf7b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2019

  1. chore(release): 2.8.0

    isaacs committed Aug 5, 2019
    Configuration menu
    Copy the full SHA
    8973221 View commit details
    Browse the repository at this point in the history
Loading