Skip to content

Commit

Permalink
chore: remove undici (#1722)
Browse files Browse the repository at this point in the history
`fetch` is global in node so remove the undici dep.
  • Loading branch information
achingbrain authored Jan 20, 2025
1 parent 8e0cd26 commit cf5a038
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@
"@types/strong-log-transformer": "^1.0.2",
"@types/yargs": "^17.0.0",
"electron": "^33.2.1",
"uint8arrays": "^5.0.1",
"undici": "^6.2.1"
"uint8arrays": "^5.0.1"
},
"browser": {
"fs": false,
Expand Down
1 change: 0 additions & 1 deletion test/utils/echo-server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-env mocha */

import { Buffer } from 'buffer'
import { fetch } from 'undici'
import { expect } from '../../utils/chai.js'
import EchoServer from '../../utils/echo-server.js'

Expand Down

0 comments on commit cf5a038

Please sign in to comment.