Comparing version 3.1.0 to 3.1.1
3.1.1 / 2017-03-14 | ||
================== | ||
* fix: avoid duplicate error handler (#8) | ||
3.1.0 / 2017-02-17 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -116,3 +116,5 @@ 'use strict'; | ||
this._readyError = flagOrFunction; | ||
this.emit('error', flagOrFunction); | ||
if (!this._readyCallbacks.length) { | ||
this.emit('error', flagOrFunction); | ||
} | ||
} else { | ||
@@ -119,0 +121,0 @@ this._ready = flagOrFunction; |
{ | ||
"name": "sdk-base", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "a base class for sdk with default error handler", | ||
@@ -38,5 +38,5 @@ "main": "index.js", | ||
"autod": "^2.7.1", | ||
"egg-bin": "^2.2.0", | ||
"egg-ci": "^1.1.0", | ||
"eslint": "^3.15.0", | ||
"egg-bin": "^2.4.0", | ||
"egg-ci": "^1.5.0", | ||
"eslint": "^3.17.1", | ||
"eslint-config-egg": "^3.2.0", | ||
@@ -43,0 +43,0 @@ "pedding": "^1.1.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12052
138