Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
fix: remove abort controller dep (#152)
Browse files Browse the repository at this point in the history
`AbortController` and `AbortSignal` are in browsers and LTS node so the `abort-controller` and `native-abort-controller` deps aren't required any more.
  • Loading branch information
achingbrain authored Jan 14, 2022
1 parent abd87bf commit 96943cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/dialer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

const tcp = require('net')
const pipe = require('it-pipe')
const AbortController = require('abort-controller')
const { toIterable } = require('./util')
const Mplex = require('../src')

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@
"uint8arrays": "^3.0.0"
},
"dependencies": {
"abort-controller": "^3.0.0",
"abortable-iterator": "^3.0.2",
"bl": "^5.0.0",
"debug": "^4.3.1",
Expand Down
1 change: 0 additions & 1 deletion src/stream.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const abortable = require('abortable-iterator')
const AbortController = require('abort-controller')
const log = require('debug')('libp2p:mplex:stream')
const pushable = require('it-pushable')
const BufferList = require('bl/BufferList')
Expand Down

0 comments on commit 96943cb

Please sign in to comment.