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

chore: replace err-code with CodeError #240

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

@wemeetagain
Copy link
Member

@tabcat thanks for driving this forward.
Can you re-commit these PRs with one of these conventional commit words? refactor isn't on our list. I think chore makes sense here.
https://github.com/libp2p/js-libp2p-tcp/blob/master/package.json#L99-L120

@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
@tabcat
Copy link
Contributor Author

tabcat commented Jan 10, 2023

Fixed the linter error having to do with duplicate import statements for @libp2p/interfaces/errors

@wemeetagain wemeetagain merged commit 5c44562 into libp2p:master Jan 13, 2023
github-actions bot pushed a commit that referenced this pull request Jan 17, 2023
## [6.0.9](v6.0.8...v6.0.9) (2023-01-17)

### Bug Fixes

* increase default socket close timeout ([#242](#242)) ([a64ba41](a64ba41)), closes [#239](#239)

### Trivial Changes

* replace err-code with CodeError ([#240](#240)) ([5c44562](5c44562)), closes [js-libp2p#1269](libp2p/js-libp2p#1269)
@github-actions
Copy link

🎉 This PR is included in version 6.0.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants