Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Apr 2, 2024
1 parent 015d2df commit 15bd2db
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,40 +34,40 @@
"sync-labels": "github-label-sync --labels .github/labels.json japa/api-client"
},
"devDependencies": {
"@adonisjs/eslint-config": "^1.2.0",
"@adonisjs/prettier-config": "^1.2.0",
"@adonisjs/tsconfig": "^1.2.0",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@japa/assert": "^2.1.0",
"@japa/runner": "^3.1.1",
"@swc/core": "^1.3.100",
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.3.0",
"@adonisjs/tsconfig": "^1.3.0",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@japa/assert": "^3.0.0",
"@japa/runner": "^3.1.2",
"@swc/core": "^1.4.11",
"@types/cookie": "^0.6.0",
"@types/node": "^20.10.4",
"@types/node": "^20.12.2",
"@types/set-cookie-parser": "^2.4.7",
"c8": "^8.0.1",
"c8": "^9.1.0",
"cheerio": "^1.0.0-rc.12",
"del-cli": "^5.1.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"np": "^9.2.0",
"prettier": "^3.1.1",
"husky": "^9.0.11",
"np": "^10.0.2",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
"tsup": "^8.0.2",
"typescript": "^5.4.3"
},
"dependencies": {
"@poppinss/hooks": "^7.2.2",
"@poppinss/macroable": "^1.0.1",
"@types/superagent": "^4.1.24",
"@poppinss/hooks": "^7.2.3",
"@poppinss/macroable": "^1.0.2",
"@types/superagent": "^8.1.6",
"cookie": "^0.6.0",
"set-cookie-parser": "^2.6.0",
"superagent": "^8.1.2"
},
"peerDependencies": {
"@japa/assert": "^2.0.0",
"@japa/runner": "^3.0.0"
"@japa/assert": "^2.0.0 || ^3.0.0",
"@japa/runner": "^3.1.2"
},
"peerDependenciesMeta": {
"@japa/assert": {
Expand Down
4 changes: 2 additions & 2 deletions src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*/

import { Assert } from '@japa/assert'
import { Response } from 'superagent'
import Macroable from '@poppinss/macroable'
import setCookieParser from 'set-cookie-parser'
import { type HTTPError, Response } from 'superagent'

import { ApiRequest } from './request.js'
import { RequestConfig, ResponseCookie, ResponseCookies, SuperAgentResponseFile } from './types.js'
Expand Down Expand Up @@ -230,7 +230,7 @@ export class ApiResponse extends Macroable {
/**
* Access to response error
*/
error() {
error(): false | HTTPError {
return this.response.error
}

Expand Down

0 comments on commit 15bd2db

Please sign in to comment.