Age | Commit message (Collapse) | Author |
|
|
|
PR-URL: https://github.com/npm/npm-registry-client/pull/157
Credit: @zkat
Reviewed-By: @iarna
Reviewed-By: @soldair
|
|
Allows installation with npm-package-arg@5.
Credit: @iarna
|
|
|
|
|
|
Fix a bug in fetch where errors on the request object that came after the
response object had been emitted could result in duplicate callbacks and
suppressed error conditions. Ultimately this translates to fixing shasum
mismatches in `npm` when they were associated with an `ECONNRESET` or other
network error.
PR-URL: https://github.com/npm/npm-registry-client/pull/139
Fixes: #14626
Credit: @iarna
Add support for sending anonymous cli metrics.
PR-URL: https://github.com/npm/npm-registry-client/pull/148
Fix support for sending anonymous cli metrics.
Credit: @sisidovski
PR-URL: https://github.com/npm/npm-registry-client/pull/147
|
|
Credit: @iarna
PR-URL: https://github.com/npm/npm-registry-client/pull/129
PR-URL: https://github.com/npm/npm-registry-client/pull/145
|
|
Fixes: #13782
Credit: @benjamincoe
PR-URL: https://github.com/npm/npm/pull/13953
|
|
Allows creating log levels that are empty strings or 0
PR-URL: https://github.com/npm/npmlog/pull/34
Credit: @rwaldron
|
|
* Fix EventEmitter warning spam from error handlers on socket
* Add support for streaming request bodies
* dependency updates
* docs
Credit: @othiym23
Fixes: https://github.com/npm/npm/issues/13656
|
|
Bring in a new npm-registry-client that can use our newer npmlog.
PR-URL: https://github.com/npm/npm/pull/13075
Credit: @iarna
|
|
Adds READABLE_STREAM env var that, if set to `disable`, will make
`readable-stream` use the local native node streams instead.
Credit: @calvinmetcalf
|
|
PR-URL: https://github.com/npm/npm/pull/11666
Credit: @misterbyrne
|
|
Add ability to unref timers.
Internal refactoring of retryForever.
Credit: @tim-kos
|
|
Previously it was only used in tests, but we needed a modern pass through
stream to provide buffering for 0.8 http streams, which have a bug around
backpressure.
|
|
Allow access grants, revocations, and enumerations to be requested for
unscoped packages, because the version of teams and orgs that shipped
for the primary registry changed somewhere along the way to allow orgs
to own unscoped packages.
Credit: @othiym23
PR-URL: https://github.com/npm/npm-registry-client/pull/126
|
|
Restore the ability to do one-shot upgrades from the versions of npm
bundled with Node 0.8 to npm@3, which simplifies using Travis with old
Node and new npm, for compatibility testing purposes. Older versions of
npm repack packages on install, which works poorly with the way npm@3
handles bundledDependencies with flat trees.
Fixes: #9668
PR-URL: https://github.com/npm/npm/pull/9981
|
|
Fixes error when deprecating scoped packages
PR-URL: https://github.com/npm/npm-registry-client/pull/115
PR-URL: https://github.com/npm/npm/pull/9558
|
|
|
|
PR-URL: https://github.com/npm/npm/pull/9011
|
|
|
|
Allow `semver@5`.
|
|
Remove browser artifacts from distribution.
|
|
PR-URL: https://github.com/npm/npm/pull/8735
|
|
|
|
|
|
The npm@<3 dedupe algorithm basically chooses which version of a module
to hoist arbitrarily. Manually install 1.1.13 (streams3) and prune it
where it appears in the tree, and also install 1.0.33 in `request` so
that it continues to work as expected.
|
|
|
|
|
|
* When the registry returns a scoped package name in error messages,
renormalize it back out of URLEncoded format. (@mmalecki)
* Clean up the `npm:` example in the README. (@evilpacket)
|
|
Don't send body with HTTP GET requests, which confuses the keep-alive
agent and triggers all kind of weird behavior. Fixes #7699. All glory to
smikes for finding and fixing this issue.
|
|
|
|
Use `hosted-git-info` directly to ensure that all GitHub URLs are being
run through the same cloning strategy for caching. Fixes #7630.
|
|
* Use `certificate` instead of `cert` when creating HTTPS agent (fixes
npm/npm-registry-client#103).
* Convert code style to match `standard`.
|
|
Fix typo in log message.
|
|
Support logging out of token-based sessions (a registry-2 endpoint).
|
|
* ensure that all request settings are copied onto the agent (fix #7226)
* lazily instantiate agents
* properly handle retry failures on fetch
* allow overriding request's environment-based proxy handling
|
|
client.publish only sets the `access` field on the top-level publish
metadata when it is passed in as a parameter, and the `access` parameter
is now optional instead of required.
|
|
* ensure that version strings pushed to the registry are valid JSON
* remove _etag griblet shoved into the document by CouchDB
|
|
A simple typo fix.
|
|
* support /-/package/:name/access endpoint
* support /-/package/:name/dist-tags endpoint
* mandatory `access` parameter for publishes, with no default (because
the client doesn't know which is appropriate).
* registry client has atypical inheritance, so npm.client.distTags.*
can be in their own little namespace.
|
|
BREAKING CHANGE:
* npm star now works with token-based auth
otherwise:
* npm whoami has been moved out from under the package namespace
* ensure that Keep-Alive requests keep working properly with Node 0.11 /
io.js 1.0.1
* use If-Modified-Since headers in addition to etags
|
|
Some endpoints will return an object property named "error", which is
not the same as the string property containing an error message.
|
|
Deal with numeric defaults better, pass the correct configuration to the
retry module, and deal with registry errors that don't come with an
error message from the registry.
|
|
Send GitHub the JSON accepts header it's looking for when we request a
tarball via an HTML redirect page. The internet is terrible.
Fixes #6729.
|
|
proxy via request and environment variables more transparently
|
|
Allow users to publish modules with the same name as built-in modules.
|
|
* Explicitly pass auth into all calls.
* Reworked the npm-registry-client API for consistency.
* Break registry client dependency on npm's cache.
* Remove getAll logic (moved to lib/cache/update-index.js).
* Decouple config from npm / npmconf.
* Remove bugs and upload because they're unused.
|
|
Retry changed owners; npm-registry-client had an explicit dependency on
0.6.0.
|
|
|