@curveball/bodyparser
Advanced tools
Comparing version 0.4.14 to 0.5.0
Changelog | ||
========= | ||
0.5.0 (2022-09-03) | ||
------------------ | ||
* Upgraded from `@curveball/core` to `@curveball/kernel`. | ||
0.4.14 (2021-02-18) | ||
@@ -5,0 +11,0 @@ ------------------- |
@@ -1,2 +0,2 @@ | ||
import { Middleware } from '@curveball/core'; | ||
import { Middleware } from '@curveball/kernel'; | ||
export default function bodyParser(): Middleware; |
{ | ||
"name": "@curveball/bodyparser", | ||
"version": "0.4.14", | ||
"version": "0.5.0", | ||
"description": "A curveball middleware for parsing JSON and Text bodies.", | ||
@@ -8,3 +8,4 @@ "main": "dist/index.js", | ||
"prepublishOnly": "make build", | ||
"test": "make lint test", | ||
"test": "make test", | ||
"lint": "make lint", | ||
"tsc": "tsc" | ||
@@ -41,15 +42,15 @@ }, | ||
"devDependencies": { | ||
"@curveball/core": "^0.16.2", | ||
"@curveball/kernel": "^0.20.0", | ||
"@types/chai": "^4.2.15", | ||
"@types/mocha": "^8.2.1", | ||
"@types/node": "^10.17.53", | ||
"@types/sinon": "^9.0.10", | ||
"@typescript-eslint/eslint-plugin": "^4.15.1", | ||
"@typescript-eslint/parser": "^4.15.1", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^14.18.26", | ||
"@types/sinon": "^10.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.36.1", | ||
"@typescript-eslint/parser": "^5.36.1", | ||
"chai": "^4.3.0", | ||
"eslint": "^7.20.0", | ||
"mocha": "^8.3.0", | ||
"eslint": "^8.23.0", | ||
"mocha": "^10.0.0", | ||
"nyc": "^15.1.0", | ||
"sinon": "^9.2.4", | ||
"ts-node": "^9.1.1", | ||
"sinon": "^14.0.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.1.5" | ||
@@ -63,6 +64,2 @@ }, | ||
}, | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
"@curveball/core": ">=0.16.2 <1" | ||
}, | ||
"mocha": { | ||
@@ -76,3 +73,6 @@ "require": "ts-node/register", | ||
] | ||
}, | ||
"peerDependencies": { | ||
"@curveball/kernel": ">=0.20.0 <1" | ||
} | ||
} |
@@ -31,3 +31,3 @@ Curveball Body Parser | ||
```typescript | ||
import { Application } from '@curveball/curveball'; | ||
import { Application } from '@curveball/core'; | ||
import bodyParser from '@curveball/bodyparser'; | ||
@@ -53,2 +53,2 @@ | ||
[1]: https://github.com/curveball/ | ||
[1]: https://github.com/curveball/core |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
8862