Comparing version 6.4.2 to 7.0.0
@@ -284,4 +284,3 @@ "use strict"; | ||
}, 'NotFoundError'); | ||
const ConfigurableNotFoundError = clientConfiguration.errors && clientConfiguration.errors.NotFoundError ? clientConfiguration.errors.NotFoundError : _errors.NotFoundError; | ||
throw new ConfigurableNotFoundError(); | ||
throw new _errors.NotFoundError(); | ||
} | ||
@@ -395,4 +394,3 @@ | ||
}, 'NotFoundError'); | ||
const ConfigurableNotFoundError = clientConfiguration.errors && clientConfiguration.errors.NotFoundError ? clientConfiguration.errors.NotFoundError : _errors.NotFoundError; | ||
throw new ConfigurableNotFoundError(); | ||
throw new _errors.NotFoundError(); | ||
} | ||
@@ -399,0 +397,0 @@ |
@@ -18,7 +18,7 @@ { | ||
"get-stack-trace": "^1.0.1", | ||
"pg": "^7.4.3", | ||
"pg": "^7.5.0", | ||
"pg-connection-string": "^2.0.0", | ||
"pretty-hrtime": "^1.0.3", | ||
"roarr": "^2.11.0", | ||
"serialize-error": "^2.1.0", | ||
"roarr": "^2.11.6", | ||
"serialize-error": "^3.0.0", | ||
"ulid": "^2.3.0" | ||
@@ -33,14 +33,14 @@ }, | ||
"@babel/register": "^7.0.0", | ||
"ava": "^1.0.0-beta.8", | ||
"ava": "^1.0.0-rc.1", | ||
"babel-plugin-istanbul": "^5.1.0", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.6.1", | ||
"eslint-config-canonical": "^12.0.0", | ||
"flow-bin": "^0.81.0", | ||
"eslint": "^5.7.0", | ||
"eslint-config-canonical": "^13.0.0", | ||
"flow-bin": "^0.83.0", | ||
"flow-copy-source": "^2.0.2", | ||
"gitdown": "^2.5.3", | ||
"husky": "^1.0.1", | ||
"gitdown": "^2.5.4", | ||
"husky": "^1.1.2", | ||
"nyc": "^13.1.0", | ||
"semantic-release": "^15.9.16", | ||
"sinon": "^6.3.4" | ||
"semantic-release": "^15.10.5", | ||
"sinon": "^7.0.0" | ||
}, | ||
@@ -93,3 +93,3 @@ "engines": { | ||
}, | ||
"version": "6.4.2" | ||
"version": "7.0.0" | ||
} |
@@ -300,5 +300,3 @@ // @flow | ||
const ConfigurableNotFoundError = clientConfiguration.errors && clientConfiguration.errors.NotFoundError ? clientConfiguration.errors.NotFoundError : NotFoundError; | ||
throw new ConfigurableNotFoundError(); | ||
throw new NotFoundError(); | ||
} | ||
@@ -406,5 +404,3 @@ | ||
const ConfigurableNotFoundError = clientConfiguration.errors && clientConfiguration.errors.NotFoundError ? clientConfiguration.errors.NotFoundError : NotFoundError; | ||
throw new ConfigurableNotFoundError(); | ||
throw new NotFoundError(); | ||
} | ||
@@ -411,0 +407,0 @@ |
@@ -27,8 +27,3 @@ // @flow | ||
export type ClientErrorsConfigurationType = {| | ||
+NotFoundError?: Class<Error> | ||
|}; | ||
export type ClientConfigurationType = {| | ||
+errors?: ClientErrorsConfigurationType, | ||
+interceptors?: $ReadOnlyArray<InterceptorType> | ||
@@ -35,0 +30,0 @@ |}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
175500
1789
+ Addedserialize-error@3.0.0(transitive)
- Removedserialize-error@2.1.0(transitive)
Updatedpg@^7.5.0
Updatedroarr@^2.11.6
Updatedserialize-error@^3.0.0