Skip to content

Commit a3a9336

Browse files
authored
fix: set @types/cobody as a dependency (#164)
To switch to @koa/bodyparser we have to [awkwardly](https://github.com/seek-oss/skuba/pull/1605/files/163bb4c83bc5a99dc239427638e7b4ab5fd8970c#diff-39451b878c65c8e692521921cfd21ca3c8c1a7367bb5845570f7a0c5202b522eR36) declare a dependency on `@types/cobody` or resort to using `skipLibCheck` as this library is [referencing types](https://github.com/koajs/bodyparser/blob/031348a2d469dd288dc21cd10d8de280d9936f2c/src/body-parser.types.ts#L1) it whilst declaring it as a devDependency. This PR sets @types/cobody as a dependency. ## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary.
1 parent 135bb85 commit a3a9336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
],
4747
"license": "MIT",
4848
"devDependencies": {
49-
"@types/co-body": "^6.1.0",
5049
"@types/jest": "^29.5.0",
5150
"@types/koa": "^2.13.6",
5251
"@types/lodash.merge": "^4.6.7",
@@ -65,6 +64,7 @@
6564
"xo": "^0.54.2"
6665
},
6766
"dependencies": {
67+
"@types/co-body": "^6.1.0",
6868
"co-body": "^6.1.0",
6969
"lodash.merge": "^4.6.2",
7070
"type-is": "^1.6.18"

0 commit comments

Comments
 (0)