Skip to content

feat: esm#131

Merged
ThaUnknown merged 1 commit into
webtorrent:masterfrom
ThaUnknown:esm
Nov 28, 2022
Merged

feat: esm#131
ThaUnknown merged 1 commit into
webtorrent:masterfrom
ThaUnknown:esm

Conversation

@ThaUnknown
Copy link
Copy Markdown
Member

What is the purpose of this pull request? (put an "X" next to item)

  • Documentation update
  • Bug fix
  • New feature
  • Other, please explain:

What changes did you make? (Give an overview)

  • chore: update docs and package description
  • refactor: switch to esm imports and exports

Which issue (if any) does this pull request address?

Is there anything you'd like reviewers to focus on?

@welcome
Copy link
Copy Markdown

welcome Bot commented Nov 14, 2022

🙌 Thanks for opening this pull request! You're awesome.

@ThaUnknown ThaUnknown mentioned this pull request Nov 14, 2022
27 tasks
@ckcr4lyf
Copy link
Copy Markdown
Contributor

ckcr4lyf commented Nov 15, 2022

Nice one, I had ended up making my own fork because I needed ESM support.

Would you consider adding a types file for Typescript? I think one of the biggest problems is the current types never worked for me in Typescript.

This is my types file: https://github.com/ckcr4lyf/bencode-esm/blob/6b9256a519753252bce44ac568b5adbc255c919c/lib/index.d.ts , to import as a named default https://github.com/ckcr4lyf/qbit-race/blob/2e56bda3372ed022effcb1114fab24f74304c926/src/helpers/torrent.ts#L1

@ThaUnknown
Copy link
Copy Markdown
Member Author

no, this is ESM, make you own PR

@ThaUnknown ThaUnknown enabled auto-merge (squash) November 25, 2022 02:01
@ThaUnknown
Copy link
Copy Markdown
Member Author

force pushed because Semantic Pull Request is trolling

@ThaUnknown ThaUnknown merged commit b111818 into webtorrent:master Nov 28, 2022
@welcome
Copy link
Copy Markdown

welcome Bot commented Nov 28, 2022

🎉 Congrats on getting your first pull request landed!

webtorrent-bot pushed a commit that referenced this pull request Nov 28, 2022
# [3.0.0](v2.0.3...v3.0.0) (2022-11-28)

### Features

* esm ([#131](#131)) ([b111818](b111818))

### BREAKING CHANGES

* ESM only
@webtorrent-bot
Copy link
Copy Markdown

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants