bower-registry-client
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -34,3 +34,3 @@ var parseUrl = require('url').parse; | ||
if (response.statusCode === 403) { | ||
return callback(createError('Not authorized', 'EFORBIDDEN')); | ||
return callback(createError(response.body, 'EFORBIDDEN')); | ||
} | ||
@@ -40,3 +40,3 @@ | ||
if (response.statusCode !== 204) { | ||
return callback(createError('Unknown error: ' + response.statusCode + ', ' + response.body, 'EUNKNOWN')); | ||
return callback(createError(response.body, 'EUNKNOWN')); | ||
} | ||
@@ -43,0 +43,0 @@ |
{ | ||
"name": "bower-registry-client", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Provides easy interaction with the Bower registry", | ||
@@ -5,0 +5,0 @@ "author": "Twitter", |
@@ -200,2 +200,3 @@ var RegistryClient = require('../Client'); | ||
it('should return no result', function (next) { | ||
this.timeout(10000); | ||
this.registry.lookup('', function (err, entry) { | ||
@@ -202,0 +203,0 @@ expect(err).to.not.be.ok(); |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
95051
1740
1