Skip to content

Commit

Permalink
chore: bump up Hono v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed Sep 27, 2022
1 parent a4346c2 commit b8e90d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/jest": "^29.0.1",
"@types/node": "^18.7.16",
"@types/supertest": "^2.0.12",
"hono": "^2.1.4",
"hono": "^2.2.1",
"jest": "^29.0.3",
"np": "^7.6.2",
"rimraf": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion test/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Basic', () => {
it('Should return 302 response - POST /posts', async () => {
const res = await request(server).post('/posts')
expect(res.status).toBe(302)
expect(res.headers['location']).toMatch(/.+\/posts$/)
expect(res.headers['location']).toBe('/posts')
})

it('Should return 201 response - DELETE /posts/123', async () => {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2016,10 +2016,10 @@ hexoid@1.0.0:
resolved "https://registry.yarnpkg.com/hexoid/-/hexoid-1.0.0.tgz#ad10c6573fb907de23d9ec63a711267d9dc9bc18"
integrity sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==

hono@^2.1.4:
version "2.1.4"
resolved "https://registry.yarnpkg.com/hono/-/hono-2.1.4.tgz#fd9d47f1bbf1ead0b346225b6e17adad8a0ac129"
integrity sha512-x4mNdB7YoMBMHe8rDyXgKcAjK4/lerUY4PBaEYu+XCz1AilxtZAKLDtUer4ptaZ4T6RYreo5ksZuA3bQdOUEug==
hono@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/hono/-/hono-2.2.1.tgz#eafdc140cbc896977979820b6215f55c8753dfbd"
integrity sha512-tlawHM4uOMt41jibUF0fRYxUs3vibKzO1Ihuk/MohpUrkRc4fQo1n9+jLRKIC/8d0lLLW/CPWR/iItcf2HUv3A==

hosted-git-info@^2.1.4:
version "2.8.9"
Expand Down

0 comments on commit b8e90d7

Please sign in to comment.