Socket
Socket
Sign inDemoInstall

teeny-request

Package Overview
Dependencies
Maintainers
4
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 5.3.0 to 5.3.1

2

build/src/index.js

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

function requestToFetchOptions(reqOpts) {
var options = __assign(__assign({ method: reqOpts.method || 'GET' }, (reqOpts.timeout && { timeout: reqOpts.timeout })), (reqOpts.gzip && { compress: reqOpts.gzip }));
var options = __assign(__assign({ method: reqOpts.method || 'GET' }, (reqOpts.timeout && { timeout: reqOpts.timeout })), (typeof reqOpts.gzip === 'boolean' && { compress: reqOpts.gzip }));
if (typeof reqOpts.json === 'object') {

@@ -64,0 +64,0 @@ // Add Content-type: application/json header

# Changelog
### [5.3.1](https://www.github.com/googleapis/teeny-request/compare/v5.3.0...v5.3.1) (2019-10-29)
### Bug Fixes
* correctly set compress/gzip option when false ([#95](https://www.github.com/googleapis/teeny-request/issues/95)) ([72ef307](https://www.github.com/googleapis/teeny-request/commit/72ef307364de542af3ef8581572b1897fca2bcf4))
## [5.3.0](https://www.github.com/googleapis/teeny-request/compare/v5.2.1...v5.3.0) (2019-10-09)

@@ -4,0 +11,0 @@

{
"name": "teeny-request",
"version": "5.3.0",
"version": "5.3.1",
"description": "Like request, but smaller.",

@@ -50,3 +50,3 @@ "main": "./build/src/index.js",

"@types/uuid": "^3.4.4",
"c8": "^5.0.1",
"c8": "^6.0.0",
"codecov": "^3.1.0",

@@ -53,0 +53,0 @@ "gts": "^1.0.0",

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