koa-better-error-handler
Advanced tools
Comparing version 4.0.3 to 5.0.0
{ | ||
"name": "koa-better-error-handler", | ||
"description": "A better error-handler for Lad and Koa. Makes `ctx.throw` awesome (best used with koa-404-handler)", | ||
"version": "4.0.3", | ||
"author": "Nick Baugh <niftylettuce@gmail.com>", | ||
"version": "5.0.0", | ||
"author": { | ||
"name": "Nick Baugh", | ||
"email": "niftylettuce@gmail.com", | ||
"url": "http://niftylettuce.com/" | ||
}, | ||
"bugs": "https://github.com/ladjs/koa-better-error-handler/issues", | ||
@@ -13,3 +17,22 @@ "commitlint": { | ||
"contributors": [ | ||
"Nick Baugh <niftylettuce@gmail.com>" | ||
{ | ||
"name": "Nick Baugh", | ||
"email": "niftylettuce@gmail.com", | ||
"url": "http://niftylettuce.com/" | ||
}, | ||
{ | ||
"name": "Shaun Warman", | ||
"email": "shaunwarman1@gmail.com", | ||
"url": "https://shaunwarman.com/" | ||
}, | ||
{ | ||
"name": "Pablo P Varela", | ||
"email": "yo@pablo.pink", | ||
"url": "https://pablo.pink/" | ||
}, | ||
{ | ||
"name": "Imed Jaberi", | ||
"email": "imed-jaberi@outlook.com", | ||
"url": "https://www.3imed-jaberi.com/" | ||
} | ||
], | ||
@@ -24,3 +47,9 @@ "dependencies": { | ||
"humanize-string": "^2.1.0", | ||
"lodash": "^4.17.15", | ||
"lodash.iserror": "^3.1.1", | ||
"lodash.isfunction": "^3.0.9", | ||
"lodash.isnumber": "^3.0.3", | ||
"lodash.isobject": "^3.0.2", | ||
"lodash.isstring": "^4.0.1", | ||
"lodash.map": "^4.6.0", | ||
"lodash.values": "^4.3.0", | ||
"statuses": "^2.0.0", | ||
@@ -30,17 +59,12 @@ "toidentifier": "^1.0.0" | ||
"devDependencies": { | ||
"@babel/cli": "^7.10.1", | ||
"@babel/core": "^7.10.2", | ||
"@babel/preset-env": "^7.10.2", | ||
"@commitlint/cli": "^8.3.5", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"@koa/router": "^9.0.1", | ||
"ava": "^3.8.2", | ||
"@commitlint/cli": "^9.0.1", | ||
"@commitlint/config-conventional": "^9.0.1", | ||
"@koa/router": "^9.3.1", | ||
"ava": "3.8.2", | ||
"codecov": "^3.7.0", | ||
"cross-env": "^7.0.2", | ||
"eslint": "6.x", | ||
"eslint-config-xo-lass": "^1.0.3", | ||
"eslint-plugin-node": "^11.1.0", | ||
"fixpack": "^3.0.6", | ||
"husky": "^4.2.5", | ||
"koa": "^2.12.0", | ||
"koa": "^2.13.0", | ||
"koa-404-handler": "^0.0.2", | ||
@@ -52,4 +76,5 @@ "koa-basic-auth": "^4.0.0", | ||
"koa-redis": "^4.0.1", | ||
"lint-staged": "^10.2.7", | ||
"nyc": "^15.0.1", | ||
"lint-staged": "^10.2.11", | ||
"lodash": "^4.17.15", | ||
"nyc": "^15.1.0", | ||
"redis": "^3.0.2", | ||
@@ -59,6 +84,6 @@ "remark-cli": "^8.0.0", | ||
"supertest": "^4.0.2", | ||
"xo": "0.25" | ||
"xo": "^0.32.1" | ||
}, | ||
"engines": { | ||
"node": ">=7.6.0" | ||
"node": ">= 12" | ||
}, | ||
@@ -110,3 +135,3 @@ "homepage": "https://github.com/ladjs/koa-better-error-handler", | ||
}, | ||
"main": "lib/index.js", | ||
"main": "index.js", | ||
"prettier": { | ||
@@ -124,9 +149,11 @@ "singleQuote": true, | ||
"scripts": { | ||
"build": "node_modules/.bin/babel src --out-dir lib", | ||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"lint": "xo && remark . -qfo && eslint --no-inline-config -c .lib.eslintrc lib", | ||
"precommit": "lint-staged && npm test", | ||
"test": "npm run build && npm run lint && npm run test-coverage", | ||
"test-coverage": "cross-env NODE_ENV=test nyc ava", | ||
"watch": "node_modules/.bin/babel src --watch --out-dir lib" | ||
"lint": "npm run lint:js", | ||
"lint:js": "xo", | ||
"lint:md": "remark . -qfo", | ||
"precommit": "lint-staged && npm tes-ci", | ||
"pretest-ci": "npm run lint", | ||
"test": "ava", | ||
"test-ci": "npm run test-cov", | ||
"test-cov": "cross-env NODE_ENV=test nyc npm run test" | ||
}, | ||
@@ -138,4 +165,14 @@ "xo": { | ||
"xo-lass" | ||
] | ||
], | ||
"ignore": [ | ||
"examples", | ||
"test" | ||
], | ||
"rules": { | ||
"no-negated-condition": "off", | ||
"unicorn/prevent-abbreviations": "off", | ||
"unicorn/prefer-number-properties": "off", | ||
"unicorn/prefer-set-has": "off" | ||
} | ||
} | ||
} |
@@ -229,3 +229,3 @@ # koa-better-error-handler | ||
[MIT](LICENSE) © Nick Baugh | ||
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/) | ||
@@ -232,0 +232,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
Sorry, the diff of this file is not supported yet
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
24
388
28539
16
12
2
+ Addedlodash.iserror@^3.1.1
+ Addedlodash.isfunction@^3.0.9
+ Addedlodash.isnumber@^3.0.3
+ Addedlodash.isobject@^3.0.2
+ Addedlodash.isstring@^4.0.1
+ Addedlodash.map@^4.6.0
+ Addedlodash.values@^4.3.0
+ Addedlodash.iserror@3.1.1(transitive)
+ Addedlodash.isfunction@3.0.9(transitive)
+ Addedlodash.isnumber@3.0.3(transitive)
+ Addedlodash.isobject@3.0.2(transitive)
+ Addedlodash.isstring@4.0.1(transitive)
+ Addedlodash.map@4.6.0(transitive)
+ Addedlodash.values@4.3.0(transitive)
- Removedlodash@^4.17.15