Socket
Socket
Sign inDemoInstall

wreck

Package Overview
Dependencies
2
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.4.0 to 12.5.0

4

lib/index.js

@@ -171,2 +171,6 @@ 'use strict';

if (options.ciphers !== undefined) {
uri.ciphers = options.ciphers;
}
this.emit('request', uri, options);

@@ -173,0 +177,0 @@

2

package.json
{
"name": "wreck",
"description": "HTTP Client Utilities",
"version": "12.4.0",
"version": "12.5.0",
"repository": "git://github.com/hapijs/wreck",

@@ -6,0 +6,0 @@ "main": "lib/index",

@@ -83,3 +83,4 @@ ![wreck Logo](https://raw.github.com/hapijs/wreck/master/images/wreck.png)

agent: null, // Node Core http.Agent
secureProtocol: 'SSLv3_method' // The SSL method to use
secureProtocol: 'SSLv3_method', // The SSL method to use
ciphers: 'DES-CBC3-SHA' // The TLS ciphers to support
};

@@ -146,2 +147,5 @@

for possible [SSL_METHODS](http://www.openssl.org/docs/ssl/ssl.html#DEALING_WITH_PROTOCOL_METHODS).
- `ciphers` - [TLS](https://nodejs.org/api/tls.html#tls_modifying_the_default_tls_cipher_suite) list of TLS ciphers to override node's default.
The possible values depend on your installation of OpenSSL. Read the official OpenSSL docs
for possible [TLS_CIPHERS](https://www.openssl.org/docs/man1.0.2/apps/ciphers.html#CIPHER-LIST-FORMAT).
- `callback` - The optional callback function using the signature `function (err, response)` where:

@@ -148,0 +152,0 @@ - `err` - Any error that may have occurred during the handling of the request.

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc