Skip to content

Commit

Permalink
refactor: replace node-fetch with undici
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jun 6, 2023
1 parent 6162d97 commit a08e62e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
"github-label-sync": "^2.2.0",
"husky": "^8.0.1",
"mrm": "^4.1.6",
"node-fetch": "^2.6.11",
"np": "^7.6.2",
"prettier": "^2.7.1",
"reflect-metadata": "^0.1.13",
"supertest": "^6.3.0",
"typescript": "^4.8.4"
"typescript": "^4.8.4",
"undici": "^5.22.1"
},
"peerDependencies": {
"@adonisjs/application": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/body-parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import 'reflect-metadata'
import { join } from 'path'
import { tmpdir } from 'os'
import fetch from 'node-fetch'
import { fetch } from 'undici'
import supertest from 'supertest'
import { test } from '@japa/runner'
import { createServer } from 'http'
Expand Down

0 comments on commit a08e62e

Please sign in to comment.