Skip to content

Commit

Permalink
use bl@5's isBufferList to detect buffer list
Browse files Browse the repository at this point in the history
`instanceof` doesn't work when using different instances of the
BufferList class, for example when different versions of buffer list are
used.

This commit upgrades to bl@5 which adds `isBufferList` which should work
across versions of `bl`.

I also moved `bl` to a peer dependency so it's easier for consumers to
match the bl version, and bumped the version to 6.0.0 because npm
doesn't install peer dependencies by default which could break consumers
without a bl dependency.

fixes #104
  • Loading branch information
Caleb ツ Everett committed Apr 11, 2022
1 parent a2b7765 commit 019bc55
Show file tree
Hide file tree
Showing 4 changed files with 323 additions and 393 deletions.
Loading

0 comments on commit 019bc55

Please sign in to comment.