gatsby-plugin-s3
gatsby-plugin-s3 copied to clipboard
chore: Upgrade proxy-agent
Context
The current version of proxy-agent
has the package vm2
as a dependency. vm2
has a current vulnerability found here. Unfortunately vm2
is no longer supported. The only mitigation is to upgrade proxy-agent
to a version that no longer relies on vm2
.
I've upgraded this dependency to the latest version.
Difference
The main differences between the old and the new proxy-agent
are:
-
ProxyAgent
is an attribute of the exported package - When creating a new
ProxyAgent
instance we no longer have to pass in the HTTP(S) proxy URL, it is retrieved from the environment variables.
Issues addressed
https://github.com/gatsby-uc/gatsby-plugin-s3/issues/257