flora-errors
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -107,4 +107,4 @@ 'use strict'; | ||
Object.keys(err.info).forEach((key) => { | ||
if (!has(error, key) && | ||
has(err.info, key)) error[key] = err.info[key]; | ||
if (!has(error, key) | ||
&& has(err.info, key)) error[key] = err.info[key]; | ||
}); | ||
@@ -111,0 +111,0 @@ } |
{ | ||
"name": "flora-errors", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "Error definitions for Flora", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "grunt test", | ||
"bamboo": "mocha -R mocha-bamboo-reporter", | ||
"test": "mocha", | ||
"lint": "eslint index.js" | ||
@@ -32,17 +33,10 @@ }, | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=8" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.1.2", | ||
"eslint": "^4.19.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"grunt": "^1.0.1", | ||
"grunt-cli": "^1.2.0", | ||
"grunt-contrib-clean": "^1.0.0", | ||
"grunt-eslint": "^20.1.0", | ||
"grunt-mocha-istanbul": "^5.0.1", | ||
"grunt-mocha-test": "^0.13.2", | ||
"istanbul": "^0.4.2", | ||
"load-grunt-tasks": "^3.4.0", | ||
"@types/chai": "^4.1.2", | ||
"chai": "^4.1.7", | ||
"eslint": "^5.8.0", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-plugin-import": "^2.7.0", | ||
"mocha": "^5.0.4", | ||
@@ -49,0 +43,0 @@ "mocha-bamboo-reporter": "^1.1.0" |
@@ -1,3 +0,2 @@ | ||
Flora Errors | ||
============ | ||
# Flora Errors | ||
@@ -14,6 +13,4 @@ [![Build Status](https://travis-ci.org/godmodelabs/flora-errors.svg?branch=master)](https://travis-ci.org/godmodelabs/flora-errors) | ||
## Error classes | ||
Error classes | ||
------------- | ||
### RequestError | ||
@@ -54,6 +51,4 @@ | ||
## License | ||
License | ||
------- | ||
[MIT](LICENSE) |
Sorry, the diff of this file is not supported yet
7
7625
8
105
53