New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-curl-impersonate

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-curl-impersonate - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "node-curl-impersonate",
"version": "1.1.4",
"version": "1.1.5",
"description": "A wrapper around cURL-impersonate, a binary which can be used to bypass TLS fingerprinting.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -74,3 +74,3 @@ /*

}
validateOptions(options: CurlImpersonateOptions) {

@@ -124,10 +124,2 @@ if (this.validMethods.includes(options.method.toUpperCase())) {

childProcess.on('close', (code) => {
if (code === 0) {
resolve(result);
} else {
reject(new Error(`GET request failed with code ${code}`));
}
});
childProcess.on('error', (err) => {

@@ -152,10 +144,2 @@ reject(err);

childProcess.on('close', (code) => {
if (code === 0) {
resolve(result);
} else {
reject(new Error(`POST request failed with code ${code}`));
}
});
childProcess.on('error', (err) => {

@@ -162,0 +146,0 @@ reject(err);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc