Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 26, 2015
  1. @othiym23

    test: remove 0.10ism in Digest.update()

    othiym23 authored
    It turns out that updating a crypto digest barfs if you pass it a string
    and the encoding `base64`, but it's probably faster just to use Buffers
    except when you need to actually compare as base64-encoded strings
    anyway.
  2. @othiym23

    test: 0.8 / 0.10 compatibility

    othiym23 authored
    - use `readable-stream` to get Readable
    - include hackaround for missing setImmediate
    - explicitly shut down mock registry
Commits on Aug 25, 2015
  1. @othiym23
Commits on Aug 14, 2015
  1. @othiym23 @zkat

    request: set pkgid, statusCode, and code on error

    othiym23 authored zkat committed
  2. @othiym23 @zkat

    request: don't return error as String

    othiym23 authored zkat committed
    This bug has been lurking for a really long time, but was only recently
    exposed by changes to the registry architecture that make it more common
    to return a 404 without a body.
    
    Fixes: #112
Commits on Jul 17, 2015
  1. @othiym23

    6.5.1

    othiym23 authored
  2. @othiym23

    allow semver@5

    othiym23 authored
Commits on Apr 21, 2015
  1. @othiym23

    6.3.3

    othiym23 authored
Commits on Apr 14, 2015
  1. @othiym23

    6.3.2

    othiym23 authored
  2. @othiym23

    6.3.1

    othiym23 authored
Commits on Mar 19, 2015
  1. @othiym23

    6.1.2

    othiym23 authored
  2. @othiym23
  3. @othiym23
  4. @othiym23
Commits on Feb 13, 2015
  1. @othiym23

    6.1.1

    othiym23 authored
  2. @othiym23

    fix typo

    othiym23 authored
  3. @othiym23

    6.1.0

    othiym23 authored
  4. @othiym23
  5. @othiym23
Commits on Feb 7, 2015
  1. @othiym23
Commits on Jan 30, 2015
  1. @othiym23

    6.0.7

    othiym23 authored
  2. @othiym23
  3. @othiym23

    6.0.6

    othiym23 authored
  4. @othiym23

    that colon is important

    othiym23 authored
  5. @othiym23

    6.0.5

    othiym23 authored
  6. @othiym23

    style tweaks

    othiym23 authored
  7. @othiym23

    add some shady ternary logic business

    othiym23 authored
    It's common for corporate network ops to interpose a proxy between
    developers running on the intranet and the big bad public internet. Many
    command-line HTTP clients, like cURL and wget, will use the PROXY and
    HTTPS_PROXY environment variables to figure out there's a proxy in
    action, and where it is. request, used by npm-registry-client,
    also follows this convention when no proxy configuration is passed to it
    with a request.
    
    It's also common for corporate networks to have intranet or DMZ hosts to
    which access should not be proxied. The aforementioned command-line
    utilities will read a comma-delimited, semi-globbed list of these hosts
    from the NOPROXY environment variable. request also gained the ability
    to use this configuration in the not too distant past. It also relies
    upon no proxy information being passed to request -- even if there is
    an object property set to `null`.
    
    But what if you want to override proxy settings at the command line?
    Before this change, there was no way to communicate to
    npm-registry-client that it should tell request not to read the proxy
    configuration from the environment. To get that information into
    npm-registry-client, it now looks for the HTTP proxy to be set to false.
    How the npm CLI gets that information to the client is a bit of movie
    magic that doesn't bear overly close examination (it relies heavily on
    the near-abuse of nopt's flexibility), but it does the trick.
    
    Also include some tests, because this corner of the client is pretty
    terribly underspecified and underdocumented. Let's hope there aren't too
    many more of these edge cases lurking about.
  8. @othiym23

    set options on both agent and `request` (fix #98)

    othiym23 authored
    * ensure keep-alive is enabled
    * create agent lazily
    * only create one HTTP agent and one HTTPS agent
    * only pass HTTPS parameters to HTTPS agent
Commits on Jan 29, 2015
  1. @othiym23

    6.0.4

    othiym23 authored
  2. @othiym23
Commits on Jan 24, 2015
  1. @othiym23

    6.0.3

    othiym23 authored
  2. @othiym23
  3. @othiym23

    6.0.2

    othiym23 authored
  4. @othiym23
Commits on Jan 23, 2015
  1. @othiym23

    6.0.1

    othiym23 authored
Something went wrong with that request. Please try again.