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

sync-request-curl

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sync-request-curl - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

2

dist/cjs/request.js

@@ -38,3 +38,3 @@ "use strict";

curl.setOpt(node_libcurl_1.Curl.option.FOLLOWLOCATION, options.followRedirects === undefined || options.followRedirects);
curl.setOpt(node_libcurl_1.Curl.option.MAXREDIRS, options.maxRedirects || Number.MAX_SAFE_INTEGER);
curl.setOpt(node_libcurl_1.Curl.option.MAXREDIRS, options.maxRedirects || -1);
curl.setOpt(node_libcurl_1.Curl.option.SSL_VERIFYPEER, !options.insecure);

@@ -41,0 +41,0 @@ // Query string parameters

@@ -36,3 +36,3 @@ import { Curl, Easy } from 'node-libcurl';

curl.setOpt(Curl.option.FOLLOWLOCATION, options.followRedirects === undefined || options.followRedirects);
curl.setOpt(Curl.option.MAXREDIRS, options.maxRedirects || Number.MAX_SAFE_INTEGER);
curl.setOpt(Curl.option.MAXREDIRS, options.maxRedirects || -1);
curl.setOpt(Curl.option.SSL_VERIFYPEER, !options.insecure);

@@ -39,0 +39,0 @@ // Query string parameters

@@ -7,3 +7,3 @@ {

},
"version": "1.5.3",
"version": "1.5.4",
"files": [

@@ -10,0 +10,0 @@ "dist"

@@ -196,3 +196,3 @@ # sync-request-curl

<td><pre>2000</pre></td>
<td><code>0</code><br/>(never times out)</td>
<td><code>0</code><br/>(no timeout)</td>
</tr>

@@ -202,3 +202,3 @@ <tr>

<td>
Whether redirects (status code 302) should be followed automatically
Sets whether redirects (status code 302) should be followed automatically
</td>

@@ -212,3 +212,3 @@ <td><pre>false</pre></td>

<td><pre>3</pre></td>
<td><code>Number.MAX_SAFE_INTEGER</code></td>
<td><code>-1</code><br/>(no limit)</td>
</tr>

@@ -215,0 +215,0 @@

Sorry, the diff of this file is not supported yet

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