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

cloudscraper

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudscraper - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

4

CHANGELOG.md
## Change Log
### 4.1.2 (23/05/2019)
- [#219](https://github.com/codemanki/cloudscraper/pull/219) Remove a few problematic TLSv1.0 ciphers.
### 4.1.1 (11/05/2019)

@@ -3,0 +7,0 @@ - Improve CF challenge security by nullifying VM context's prototype chain.

8

index.js

@@ -7,4 +7,4 @@ 'use strict';

const getDefaultHeaders = require('./lib/headers');
const agentOptions = require('./lib/agent-options');
const brotli = require('./lib/brotli');
const crypto = require('crypto');

@@ -41,4 +41,6 @@ const {

gzip: true,
// Adds secure TLSv1.3 ciphers when using older openssl versions
agentOptions
agentOptions: {
// Removes a few problematic TLSv1.0 ciphers to avoid CAPTCHA
ciphers: crypto.constants.defaultCipherList + ':!ECDHE+SHA:!AES128-SHA'
}
};

@@ -45,0 +47,0 @@

{
"name": "cloudscraper",
"version": "4.1.1",
"version": "4.1.2",
"description": "Bypasses cloudflare's anti-ddos page",

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

@@ -40,2 +40,6 @@ cloudscraper

Support for Brotli encoded responses is enabled by default when using Node.js v10 or later.
If you wish to enable support for older Node.js versions, you may install [brotli](https://npmjs.com/package/brotli).
It is recommended but not required.
Usage

@@ -132,3 +136,7 @@ ============

// Remove Cloudflare's email protection, replace encoded email with decoded versions
decodeEmails: false
decodeEmails: false,
// Support gzip encoded responses (Should be enabled unless using custom headers)
gzip: true,
// Removes a few problematic TLSv1.0 ciphers to avoid CAPTCHA
agentOptions: { ciphers }
};

@@ -135,0 +143,0 @@

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