-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add function to return proxy agent dispatcher for compatibility with latest octokit
packages
#1547
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was unfamiliar with undici, so I had to do some research :)
Overall I'm happy to ✅ — my only question is really on the necessity of bumping the major version of the package, but I'll defer to your judgment there!
}, | ||
"dependencies": { | ||
"tunnel": "^0.0.6" | ||
"tunnel": "^0.0.6", | ||
"undici": "^5.25.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When updating today, I noticed that size of my action bloated by 15k lines because undici
was included as a dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same for me. I've raised a ticket for the issue #1621
@@ -3,6 +3,7 @@ | |||
import * as http from 'http' | |||
import * as httpm from '../lib/' | |||
import * as pm from '../lib/proxy' | |||
import {ProxyAgent} from 'undici' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line causes the "lightweight" client size to increase 3x times by 1Mb of code.
Add function to return proxy agent dispatcher for compatibility with latest
octokit
packages.Octokit docs