Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: drop simple-get #443

Merged
merged 7 commits into from
Oct 31, 2023

Conversation

ThaUnknown
Copy link
Member

@ThaUnknown ThaUnknown commented Jan 23, 2023

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)
replaced simple-get with fetch ponyfill, which polyfills fetch only on node
Which issue (if any) does this pull request address?
webtorrent/webtorrent#2445
Is there anything you'd like reviewers to focus on?
imports undici, for the socks agent, which I have mixed feelings on, maybe instead the socks agent should be provided by the users, same as http and https agent?

@github-actions
Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@github-actions github-actions bot added the stale label Mar 25, 2023
@github-actions github-actions bot closed this Apr 2, 2023
@ThaUnknown
Copy link
Member Author

this was abandoned, as native fetch doesn't have an agent parameter unlike node-fetch

@socket-security
Copy link

socket-security bot commented May 26, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

@socket-security
Copy link

socket-security bot commented Sep 3, 2023

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
undici 5.27.0 network, environment +1 1.22 MB ronag

🚮 Removed packages: [email protected]

@ThaUnknown ThaUnknown changed the title perf: drop simple-get BREAKING CHANGE: drop simple-get Sep 3, 2023
@ThaUnknown
Copy link
Member Author

this now works, but imports undici, for the socks agent, which I have mixed feelings on, maybe instead the socks agent should be provided by the users, same as http and https agent?

Copy link
Member

@SilentBot1 SilentBot1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ThaUnknown ThaUnknown merged commit bce64e1 into webtorrent:master Oct 31, 2023
2 checks passed
webtorrent-bot pushed a commit that referenced this pull request Oct 31, 2023
# [11.0.0](v10.0.12...v11.0.0) (2023-10-31)

### Features

* **major:** drop simple-get ([#443](#443)) ([bce64e1](bce64e1))

### BREAKING CHANGES

* **major:** drop simple-get

* perf: drop simple-get

* feat: undici agent and socks

* fix: undici as dev dependency

* feat: require user passed proxy objects for http and ws

* chore: include undici for tests
@webtorrent-bot
Copy link

🎉 This PR is included in version 11.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants