- fdeed27: resolve vulnerability in IP package
- 5908e84: Remove
net.isIP()
check for TLSservername
- ada656d: Pass
socket_options
toSocksClient
- Updated dependencies [e62863c]
- 1d39f6c: Fix Electron support by using Node.js native URL object
- 7674748: Update
@types/node
to v14.18.45 - Updated dependencies [7674748]
- d99a7c8: Major version bump for all packages
⚠️ This is a breaking change! TheSocksProxyAgent
constructor argument has been split into two arguments.
In version 5.x, the SocksProxyAgent
constructor took a single argument of either (A) a string
, or (B) an object with specific connection
properties.
Now the constructor takes two separate arguments:
- Argument 1: Either (A) a
string
, or (B) a WHATWGURL
object - Argument 2 (optional): An object with standard
http.Agent
properties.
If you were using an object argument in 7.x, you'll need to change the first argument to match the structure of the URL
class, and move
any other options to the second argument.
7.x usage:
const agent = new SocksProxyAgent({
hostname: 'myproxy.mydomain.com',
userId: 'proxyUser',
password: 'proxyPass'
timeout: 1000
});
Updated 8.x usage:
const agent = new SocksProxyAgent(
{
hostname: 'myproxy.mydomain.com'
username: 'proxyUser',
password: 'proxyPass'
},
{
timeout: 1000
}
);
- 4333067: Add support for core
keepAlive: true
- c169ced: Convert mocha tests to jest for all packages
- Updated dependencies [c169ced]
- Updated dependencies [d99a7c8]
- Updated dependencies [4333067]