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

chore: replace err-code with CodeError #413

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

tabcat
Copy link
Contributor

@tabcat tabcat commented Jan 9, 2023

Replaces err-code with CodeError

Related: js-libp2p#1269

Changes

  • removes err-code from dependencies
  • adds @libp2p/interfaces@3.2.0 to dependencies
  • uses CodeError in place of err-code

@tabcat tabcat changed the title refactor: replace err-code with CodeError chore: replace err-code with CodeError Jan 10, 2023
Replaces [err-code](https://github.com/IndigoUnited/js-err-code/blob/master/index.js) with [CodeError](libp2p/js-libp2p-interfaces#314)

Related: [js-libp2p#1269](libp2p/js-libp2p#1269)

Changes

- removes err-code from dependencies
- adds @libp2p/interfaces@3.2.0 to dependencies
- uses CodeError in place of err-code
@wemeetagain wemeetagain merged commit e05d2a0 into libp2p:master Jan 13, 2023
github-actions bot pushed a commit that referenced this pull request Mar 10, 2023
## [7.0.1](v7.0.0...v7.0.1) (2023-03-10)

### Bug Fixes

* correct `KBucketTree` types ([#426](#426)) ([ea8e6d0](ea8e6d0)), closes [/github.com/tristanls/k-bucket/blob/3aa5b4f1dacb835752995a25409ab319d2070b9e/index.js#L413](https://github.com/libp2p//github.com/tristanls/k-bucket/blob/3aa5b4f1dacb835752995a25409ab319d2070b9e/index.js/issues/L413)
* update p-queue types ([#428](#428)) ([f5b85fc](f5b85fc))

### Trivial Changes

* replace err-code with CodeError ([#413](#413)) ([e05d2a0](e05d2a0)), closes [js-libp2p#1269](libp2p/js-libp2p#1269)
* Update .github/workflows/semantic-pull-request.yml [skip ci] ([a70ab3f](a70ab3f))
* Update .github/workflows/semantic-pull-request.yml [skip ci] ([1652c6c](1652c6c))
* Update .github/workflows/semantic-pull-request.yml [skip ci] ([ea13c2a](ea13c2a))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants