Socket
Socket
Sign inDemoInstall

teeny-request

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teeny-request - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

7

build/src/index.js

@@ -22,2 +22,9 @@ 'use strict';

function teenyRequest(reqOpts, callback) {
reqOpts.timeout = reqOpts.timeout || 60000;
reqOpts.gzip = reqOpts.gzip || true;
reqOpts.forever = reqOpts.forever || true;
if (!reqOpts.pool) {
reqOpts.pool = {};
}
reqOpts.pool.maxSockets = reqOpts.pool.maxSockets || Infinity;
const [uri, options] = requestToFetchOptions(reqOpts);

@@ -24,0 +31,0 @@ node_fetch_1.default(uri, options)

4

package.json
{
"name": "teeny-request",
"version": "1.1.4",
"version": "1.1.5",
"description": "Like request, but smaller.",
"main": ".build/src/index.js",
"main": "./build/src/index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "mocha build/test",

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