Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-curl-impersonate

Package Overview
Dependencies
Maintainers
0
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.5.3 to 1.5.4

7

dist/index.js

@@ -11,2 +11,3 @@ /*

import * as path from 'path';
import * as fs from "fs";
const __dirname = import.meta.dirname;

@@ -41,2 +42,8 @@ export class CurlImpersonate {

this.setProperBinary();
if (this.binary) {
if (!fs.existsSync(path.join(__dirname, '..', 'bin', this.binary))) {
throw new Error("Binary not found! Please check your installation.");
}
fs.chmodSync(path.join(__dirname, '..', 'bin', this.binary), 0o755);
}
this.checkIfPresetAndMerge();

@@ -43,0 +50,0 @@ let headers = this.convertHeaderObjectToCURL();

2

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

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

Sorry, the diff of this file is not supported yet

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