superagent 1.8.4 → 1.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/node/index.js CHANGED
@@ -672,7 +672,7 @@ Request.prototype.callback = function(err, res){
672
672
  // Avoid the error which is emitted from 'socket hang up' to cause the fn undefined error on JS runtime.
673
673
  var fn = this._callback || noop;
674
674
  this.clearTimeout();
675
- if (this.called) return console.warn('double callback!');
675
+ if (this.called) return console.warn('superagent: double callback bug. Upgrade to v3.2+ to fix this');
676
676
  this.called = true;
677
677
 
678
678
  if (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superagent",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "elegant & feature rich browser / node HTTP with a fluent API",
5
5
  "scripts": {
6
6
  "prepublish": "make all",