Comparing version 1.1.13 to 1.1.14
@@ -13,9 +13,9 @@ 'use strict'; | ||
function createError() { | ||
var _ref = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
let code = _ref.code; | ||
let message = _ref.message; | ||
let cause = _ref.cause; | ||
let root_error_id = _ref.root_error_id; | ||
let stack_from = _ref.stack_from; | ||
let code = _ref.code, | ||
message = _ref.message, | ||
cause = _ref.cause, | ||
root_error_id = _ref.root_error_id, | ||
stack_from = _ref.stack_from; | ||
@@ -22,0 +22,0 @@ const error = new Error(message !== null ? message : undefined); |
@@ -58,3 +58,3 @@ 'use strict'; | ||
const details = has_annotate ? this.annotate() : (0, _util.format)(' %j', this.output.payload); | ||
return `Error: ${ this.code } ${ this.message }:\n${ details }`; | ||
return `Error: ${this.code} ${this.message}:\n${details}`; | ||
} |
@@ -5,2 +5,3 @@ { | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
@@ -10,39 +11,48 @@ "test": "NODE_ENV=test mocha", | ||
"lint": "eslint --cache .", | ||
"build": "rm -rf dist && babel src --out-dir dist", | ||
"build": "rm -rf dist && babel src --out-dir dist && cp src/index.d.ts dist", | ||
"update-npmignore": "npmignore", | ||
"version": "npm run update-npmignore && git add .npmignore", | ||
"commit": "git-cz", | ||
"prepublish": "npm run build", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
"semantic-release": "semantic-release" | ||
}, | ||
"dependencies": { | ||
"boom": "3.0.0" | ||
"boom": "5.2.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "6.9.0", | ||
"babel-core": "6.9.0", | ||
"babel-eslint": "6.0.4", | ||
"babel-plugin-transform-strict-mode": "6.8.0", | ||
"babel-preset-es2015-node4": "2.1.0", | ||
"commitizen": "2.8.1", | ||
"cz-conventional-changelog": "1.1.6", | ||
"eslint": "2.11.0", | ||
"eslint-config-springworks": "7.0.3", | ||
"eslint-plugin-import": "1.8.1", | ||
"eslint-plugin-mocha": "2.2.0", | ||
"eslint-plugin-springworks": "2.0.1", | ||
"istanbul": "0.4.3", | ||
"joi": "8.2.1", | ||
"mocha": "2.5.3", | ||
"npmignore": "0.2.0", | ||
"semantic-release": "4.3.5", | ||
"should": "8.4.0" | ||
"babel-cli": "^6.16.0", | ||
"babel-core": "^6.20.0", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-transform-strict-mode": "^6.18.0", | ||
"babel-preset-es2015-node4": "^2.1.1", | ||
"eslint": "^4.3.0", | ||
"eslint-config-springworks": "^7.0.7", | ||
"eslint-plugin-import": "^2.1.0", | ||
"eslint-plugin-mocha": "^4.8.0", | ||
"eslint-plugin-springworks": "^2.0.1", | ||
"istanbul": "^0.4.5", | ||
"joi": "^10.1.0", | ||
"mocha": "^3.2.0", | ||
"npmignore": "^0.2.0", | ||
"semantic-release": "^15.9.5", | ||
"should": "^11.1.2" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
"pre-git": { | ||
"commit-msg": "conventional" | ||
} | ||
}, | ||
"release": { | ||
"analyzeCommits": { | ||
"preset": "angular", | ||
"parserOpts": { | ||
"noteKeywords": [ | ||
"BREAKING CHANGE", | ||
"BREAKING CHANGES", | ||
"BREAKING" | ||
] | ||
} | ||
} | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=6" | ||
}, | ||
@@ -59,3 +69,3 @@ "repository": { | ||
"homepage": "https://github.com/Springworks/fel#readme", | ||
"version": "1.1.13" | ||
} | ||
"version": "1.1.14" | ||
} |
# fel | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/Springworks/fel.svg)](https://greenkeeper.io/) | ||
Exports the `createError` function that creates an error. | ||
@@ -4,0 +6,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12050
16
8
126
59
1
+ Addedboom@5.2.0(transitive)
+ Addedhoek@4.3.1(transitive)
- Removedboom@3.0.0(transitive)
- Removedhoek@3.0.4(transitive)
Updatedboom@5.2.0