@curveball/problem
Advanced tools
Comparing version 0.5.0 to 1.0.0
{ | ||
"name": "@curveball/problem", | ||
"version": "0.5.0", | ||
"version": "1.0.0", | ||
"description": "A middleware for converting errors into application/problem+json", | ||
"type": "module", | ||
"exports": { | ||
"require": "./cjs/index.js", | ||
"import": "./esm/index.js" | ||
}, | ||
"main": "cjs/index.js", | ||
"exports": "./dist/index.js", | ||
"homepage": "https://github.com/curveball/problem#readme", | ||
@@ -26,3 +22,4 @@ "bugs": { | ||
"exception", | ||
"rfc7807" | ||
"rfc7807", | ||
"rfc9457" | ||
], | ||
@@ -37,3 +34,4 @@ "author": "Evert Pot (https://evertpot.com/)", | ||
"tsc": "tsc", | ||
"start": "make start" | ||
"start": "make start", | ||
"build": "make build" | ||
}, | ||
@@ -45,25 +43,27 @@ "repository": { | ||
"peerDependencies": { | ||
"@curveball/kernel": ">=0.21.0 <1" | ||
"@curveball/kernel": "^1" | ||
}, | ||
"devDependencies": { | ||
"@curveball/kernel": ">=0.21.0 <1", | ||
"@curveball/kernel": "^1.0.0", | ||
"@types/chai": "^4.2.15", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^14.18.26", | ||
"@types/sinon": "^10.0.6", | ||
"@typescript-eslint/eslint-plugin": "^5.36.1", | ||
"@typescript-eslint/parser": "^5.36.1", | ||
"chai": "^4.3.0", | ||
"@types/node": "^18.19.8", | ||
"@types/sinon": "^17.0.3", | ||
"@typescript-eslint/eslint-plugin": "^6.19.0", | ||
"@typescript-eslint/parser": "^6.19.0", | ||
"chai": "^5.0.0", | ||
"eslint": "^8.23.0", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"sinon": "^15.0.1", | ||
"sinon": "^17.0.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.5.4" | ||
"typescript": "^5.3.3" | ||
}, | ||
"engines": { | ||
"node": ">= 18" | ||
}, | ||
"files": [ | ||
"package.json", | ||
"README.md", | ||
"esm", | ||
"cjs", | ||
"dist", | ||
"LICENSE", | ||
@@ -70,0 +70,0 @@ "src" |
@@ -6,3 +6,3 @@ Curveball Problem Middleware | ||
exception and turns them into `application/problem+json` responses, as defined | ||
in [RFC7807][1]. | ||
in [RFC9457][1]. | ||
@@ -84,4 +84,4 @@ By default any exception turns into a non-descript 500 Internal Server Error. | ||
[1]: https://tools.ietf.org/html/rfc7807 | ||
[1]: https://tools.ietf.org/html/rfc9457 | ||
[2]: https://github.com/curveball/ | ||
[3]: https://github.com/curveball/http-errors |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1
11817
8
150